element-less 0.0.55 → 0.0.56
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 +22 -22
- package/custom/aceEditor/index.d.ts +50 -72
- package/custom/aceEditor/src/aceEditor.vue.d.ts +2 -2
- package/custom/button-search/index.d.ts +1 -3
- package/custom/caption/index.d.ts +7 -12
- package/custom/container/index.d.ts +18 -23
- package/custom/container/src/container.vue.d.ts +26 -26
- package/custom/data-modal/index.d.ts +71 -105
- package/custom/data-modal/src/dataModal.vue.d.ts +2 -2
- package/custom/dynamic/create/index.d.ts +31 -37
- package/custom/dynamic/create/src/create.vue.d.ts +23 -23
- package/custom/dynamic/designer/index.d.ts +65 -89
- package/custom/dynamic/designer/src/designer.d.ts +1 -1
- package/custom/dynamic/designer/src/designer.vue.d.ts +2 -2
- package/custom/dynamic/designer/src/innerItem.vue.d.ts +2 -2
- package/custom/dynamic/designerView/index.d.ts +64 -91
- package/custom/dynamic/designerView/src/designerView.d.ts +1 -1
- package/custom/dynamic/designerView/src/designerView.vue.d.ts +2 -2
- package/custom/dynamic/render/index.d.ts +118 -156
- package/custom/dynamic/render/src/form.vue.d.ts +8 -8
- package/custom/dynamic/render/src/innerObjectArray.vue.d.ts +6 -6
- package/custom/dynamic/render/src/render.d.ts +1 -1
- package/custom/dynamic/render/src/render.vue.d.ts +2 -2
- package/custom/dynamic/render/src/renderAsync.vue.d.ts +2 -2
- package/custom/form-node/index.d.ts +49 -65
- package/custom/form-node/src/formNode.vue.d.ts +12 -12
- package/custom/inputTag/index.d.ts +55 -81
- package/custom/inputTag/src/inputTag.vue.d.ts +2 -2
- package/custom/jsonEditor/index.d.ts +46 -63
- package/custom/jsonEditor/src/jsonEditor.vue.d.ts +2 -2
- package/custom/jsonViewer/index.d.ts +3 -3
- package/custom/list/index.d.ts +23 -50
- package/custom/list/src/list.vue.d.ts +1 -1
- package/custom/mdEditor/index.d.ts +51 -72
- package/custom/mdEditor/src/mdEditor.vue.d.ts +2 -2
- package/custom/mdPreview/index.d.ts +3 -4
- package/custom/menu-context/index.d.ts +8 -14
- package/custom/menu-dropdown/index.d.ts +7 -12
- package/custom/menu-tool/index.d.ts +13 -17
- package/custom/qrCode/index.d.ts +1 -1
- package/custom/stampBadge/src/stampBadge.d.ts +2 -2
- package/custom/tipTabEditor/index.d.ts +17 -17
- package/custom/uEditor/index.d.ts +56 -76
- package/custom/uEditor/src/uEditor.vue.d.ts +2 -2
- package/custom/wangEditor/index.d.ts +52 -71
- package/custom/wangEditor/src/wangEditor.vue.d.ts +2 -2
- package/custom/waterFall/index.d.ts +21 -33
- package/custom/waterFall/src/lib/components/LazyImg.vue.d.ts +3 -3
- package/custom/waterFall/src/lib/components/Waterfall.vue.d.ts +1 -1
- package/custom/waterFall/src/waterFall.vue.d.ts +18 -18
- package/custom/workFlow/index.d.ts +31 -37
- package/custom/workFlow/src/nodeItem.vue.d.ts +23 -23
- package/custom/workFlow/src/workFlow.vue.d.ts +23 -23
- package/element-less.cjs +1 -1
- package/element-less.iife.js +1 -1
- package/element-less.js +1 -1
- package/element-less.umd.cjs +1 -1
- package/elementui/autocomplete/index.d.ts +190 -272
- package/elementui/autocomplete/src/autocomplete.vue.d.ts +33 -24
- package/elementui/cascader/index.d.ts +336 -568
- package/elementui/cascader/src/cascader.vue.d.ts +44 -38
- package/elementui/checkbox/src/checkboxButton.vue.d.ts +20 -20
- package/elementui/col/index.d.ts +12 -23
- package/elementui/collapse-transition/index.d.ts +3 -5
- package/elementui/date-picker/index.d.ts +147 -273
- package/elementui/date-picker/src/datePicker.vue.d.ts +11 -17
- package/elementui/date-picker-range/index.d.ts +148 -263
- package/elementui/date-picker-range/src/datePickerRange.vue.d.ts +11 -17
- package/elementui/dialog/index.d.ts +55 -78
- package/elementui/dialog/src/dialog.d.ts +1 -1
- package/elementui/dialog/src/dialog.vue.d.ts +4 -4
- package/elementui/drawer/src/drawer.d.ts +1 -1
- package/elementui/dropdown/src/dropdown.d.ts +5 -10
- package/elementui/dropdown/src/dropdown.vue.d.ts +15 -24
- package/elementui/form/index.d.ts +33 -51
- package/elementui/form/src/form.d.ts +2 -2
- package/elementui/form/src/form.vue.d.ts +6 -6
- package/elementui/form-item/index.d.ts +44 -60
- package/elementui/form-item/src/formItem.d.ts +1 -1
- package/elementui/form-item/src/formItem.vue.d.ts +2 -2
- package/elementui/form-query/index.d.ts +41 -62
- package/elementui/form-query/src/formQuery.d.ts +2 -2
- package/elementui/form-query/src/formQuery.vue.d.ts +12 -12
- package/elementui/image/index.d.ts +32 -63
- package/elementui/image/src/image.d.ts +1 -1
- package/elementui/image/src/image.vue.d.ts +2 -2
- package/elementui/image-viewer/index.d.ts +18 -44
- package/elementui/input/index.d.ts +130 -144
- package/elementui/input/src/input.vue.d.ts +20 -8
- package/elementui/input-number/index.d.ts +120 -106
- package/elementui/input-number/src/inputNumber.vue.d.ts +35 -8
- package/elementui/input-range/index.d.ts +134 -139
- package/elementui/input-range/src/inputRange.vue.d.ts +19 -7
- package/elementui/menu/index.d.ts +43 -74
- package/elementui/menu/src/menu.vue.d.ts +8 -8
- package/elementui/menu-item/index.d.ts +25 -17
- package/elementui/menu-item/src/menuItem.d.ts +6 -1
- package/elementui/menu-item/src/menuItem.vue.d.ts +12 -3
- package/elementui/menu-sub/index.d.ts +35 -18
- package/elementui/option/index.d.ts +4 -7
- package/elementui/option-group/index.d.ts +3 -3
- package/elementui/radio/index.d.ts +146 -210
- package/elementui/radio/src/radio.vue.d.ts +6 -6
- package/elementui/radio/src/radioButton.vue.d.ts +6 -6
- package/elementui/row/index.d.ts +10 -15
- package/elementui/row/src/row.d.ts +1 -1
- package/elementui/row/src/row.vue.d.ts +2 -2
- package/elementui/segmented/index.d.ts +65 -103
- package/elementui/segmented/src/segmented.vue.d.ts +2 -2
- package/elementui/select/index.d.ts +147 -214
- package/elementui/select/src/select.vue.d.ts +14 -14
- package/elementui/slider/index.d.ts +73 -109
- package/elementui/slider/src/slider.vue.d.ts +4 -4
- package/elementui/switch/index.d.ts +83 -90
- package/elementui/switch/src/switch.vue.d.ts +2 -2
- package/elementui/table/index.d.ts +560 -157
- package/elementui/table/src/table.d.ts +100 -2
- package/elementui/table/src/table.vue.d.ts +222 -9
- package/elementui/table-column/index.d.ts +2826 -1071
- package/elementui/table-column/src/tableColumn.d.ts +57 -1
- package/elementui/table-column/src/tableColumn.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnBool.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnCheckbox.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnEnum.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnExpand.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnHeader.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnImage.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnOperate.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnSelect.vue.d.ts +123 -2
- package/elementui/tabs/index.d.ts +26 -51
- package/elementui/tabs/src/tabs.d.ts +1 -1
- package/elementui/tabs/src/tabs.vue.d.ts +2 -2
- package/elementui/textarea/index.d.ts +127 -129
- package/elementui/textarea/src/textarea.vue.d.ts +19 -7
- package/elementui/time-picker/index.d.ts +146 -300
- package/elementui/time-picker/src/timePicker.vue.d.ts +11 -17
- package/elementui/time-picker-range/index.d.ts +146 -300
- package/elementui/time-picker-range/src/timePickerRange.vue.d.ts +11 -17
- package/elementui/tree/index.d.ts +78 -122
- package/elementui/tree/src/tree.vue.d.ts +2 -2
- package/elementui/tree-select/index.d.ts +78 -122
- package/elementui/tree-select/src/treeSelect.vue.d.ts +2 -2
- package/elementui/upload/index.d.ts +96 -173
- package/elementui/upload/src/upload.vue.d.ts +3 -3
- package/{index-Cq22uiU6.js → index-2Bv7b5DP.js} +1148 -173
- package/index-RWIh1MgW.cjs +1 -0
- package/{inner-D_TOWSnX.cjs → inner-Co-EBslN.cjs} +1 -1
- package/{inner-5raiqvV9.js → inner-YAACwdSB.js} +5 -5
- package/{innerItem-Dv-k9-hq.js → innerItem-CnFsIpmO.js} +2 -2
- package/{innerItem-Z3u_Vb2-.cjs → innerItem-DUKhrCqv.cjs} +1 -1
- package/{mode-csharp-C7-qcIxF.cjs → mode-csharp-B4dXOitJ.cjs} +1 -1
- package/{mode-csharp-B4qO7qua.js → mode-csharp-C1pDB4Xs.js} +14 -14
- package/{mode-css-DAJHsPLS.cjs → mode-css-BIt_d2L7.cjs} +1 -1
- package/{mode-css-dZ58GUD7.js → mode-css-DHYwb__9.js} +22 -22
- package/{mode-javascript-CSrmSf1p.js → mode-javascript-BVS0PFpM.js} +34 -36
- package/mode-javascript-D8Gt8Zho.cjs +1 -0
- package/{mode-json-DID92rCD.js → mode-json-BoxRotGl.js} +10 -10
- package/{mode-json-D7hktw_F.cjs → mode-json-DmFbbAPv.cjs} +1 -1
- package/{mode-mysql-De1qi-Np.cjs → mode-mysql-C0U6L5uL.cjs} +1 -1
- package/{mode-mysql-CdVTKrqg.js → mode-mysql-KyUsrQNc.js} +8 -8
- package/package.json +1 -1
- package/props/formItemProps.d.ts +2 -10
- package/props/formProps.d.ts +2 -2
- package/style.css +1 -1
- package/index-BtRcXC3w.cjs +0 -1
- package/mode-javascript-BhNO7LKR.cjs +0 -1
|
@@ -36,7 +36,7 @@ export declare const ElsFormQuery: {
|
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
|
-
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "
|
|
39
|
+
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
40
40
|
labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
41
|
inlineMessage: BooleanConstructor;
|
|
42
42
|
statusIcon: BooleanConstructor;
|
|
@@ -45,7 +45,7 @@ export declare const ElsFormQuery: {
|
|
|
45
45
|
scrollToError: BooleanConstructor;
|
|
46
46
|
scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
47
47
|
size: {
|
|
48
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
48
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
@@ -136,13 +136,13 @@ export declare const ElsFormQuery: {
|
|
|
136
136
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
137
137
|
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
138
138
|
}, string, {
|
|
139
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
140
139
|
labelWidth: string | number;
|
|
141
140
|
labelPosition: "left" | "right" | "top";
|
|
142
141
|
requireAsteriskPosition: "left" | "right";
|
|
143
142
|
labelSuffix: string;
|
|
144
143
|
showMessage: boolean;
|
|
145
144
|
validateOnRuleChange: boolean;
|
|
145
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
146
146
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
147
147
|
beforeCreate?: (() => void) | (() => void)[];
|
|
148
148
|
created?: (() => void) | (() => void)[];
|
|
@@ -164,16 +164,16 @@ export declare const ElsFormQuery: {
|
|
|
164
164
|
$nextTick: typeof import('vue').nextTick;
|
|
165
165
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
166
166
|
} & Readonly<{
|
|
167
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
168
167
|
labelWidth: string | number;
|
|
169
168
|
labelPosition: "left" | "right" | "top";
|
|
170
169
|
requireAsteriskPosition: "left" | "right";
|
|
171
170
|
labelSuffix: string;
|
|
172
171
|
showMessage: boolean;
|
|
173
172
|
validateOnRuleChange: boolean;
|
|
173
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
174
174
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
175
175
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
176
|
-
}>, "labelPosition" | "labelWidth" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "clearValidate" | "validateField" | "resetFields" | "validate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> &
|
|
176
|
+
}>, "labelPosition" | "labelWidth" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "clearValidate" | "validateField" | "resetFields" | "validate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & {
|
|
177
177
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
178
178
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
179
179
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -182,7 +182,7 @@ export declare const ElsFormQuery: {
|
|
|
182
182
|
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
183
183
|
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
184
184
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
185
|
-
}
|
|
185
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
186
186
|
$slots: {
|
|
187
187
|
default?: (props: {}) => any;
|
|
188
188
|
};
|
|
@@ -231,7 +231,7 @@ export declare const ElsFormQuery: {
|
|
|
231
231
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
232
232
|
__epPropKey: true;
|
|
233
233
|
};
|
|
234
|
-
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "
|
|
234
|
+
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
235
235
|
labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
236
236
|
inlineMessage: BooleanConstructor;
|
|
237
237
|
statusIcon: BooleanConstructor;
|
|
@@ -240,7 +240,7 @@ export declare const ElsFormQuery: {
|
|
|
240
240
|
scrollToError: BooleanConstructor;
|
|
241
241
|
scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
242
242
|
size: {
|
|
243
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
243
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
244
244
|
readonly required: false;
|
|
245
245
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
246
246
|
__epPropKey: true;
|
|
@@ -319,7 +319,7 @@ export declare const ElsFormQuery: {
|
|
|
319
319
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
320
320
|
__epPropKey: true;
|
|
321
321
|
};
|
|
322
|
-
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "
|
|
322
|
+
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
323
323
|
labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
324
324
|
inlineMessage: BooleanConstructor;
|
|
325
325
|
statusIcon: BooleanConstructor;
|
|
@@ -328,7 +328,7 @@ export declare const ElsFormQuery: {
|
|
|
328
328
|
scrollToError: BooleanConstructor;
|
|
329
329
|
scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
330
330
|
size: {
|
|
331
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
331
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
332
332
|
readonly required: false;
|
|
333
333
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
334
334
|
__epPropKey: true;
|
|
@@ -375,58 +375,37 @@ export declare const ElsFormQuery: {
|
|
|
375
375
|
default?(_: {}): any;
|
|
376
376
|
};
|
|
377
377
|
}) & import('vue').ObjectPlugin & {
|
|
378
|
-
setPropsDefaults: (defaults:
|
|
379
|
-
required
|
|
380
|
-
labelPosition
|
|
381
|
-
inlineMessage
|
|
382
|
-
showMessage
|
|
383
|
-
modelValue
|
|
384
|
-
collapse
|
|
385
|
-
requireAsteriskPosition
|
|
386
|
-
labelSuffix
|
|
387
|
-
inline
|
|
388
|
-
statusIcon
|
|
389
|
-
validateOnRuleChange
|
|
390
|
-
hideRequiredAsterisk
|
|
391
|
-
scrollToError
|
|
392
|
-
scrollIntoViewOptions
|
|
393
|
-
disabled
|
|
394
|
-
autoReadData
|
|
395
|
-
parameterType
|
|
396
|
-
|
|
397
|
-
readonly
|
|
398
|
-
readonly
|
|
399
|
-
readonly
|
|
400
|
-
readonly
|
|
401
|
-
readonly
|
|
402
|
-
readonly
|
|
403
|
-
readonly
|
|
404
|
-
readonly
|
|
405
|
-
readonly
|
|
406
|
-
readonly
|
|
407
|
-
readonly
|
|
408
|
-
|
|
409
|
-
readonly scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | null)[], unknown, unknown>;
|
|
410
|
-
readonly disabled: boolean;
|
|
411
|
-
readonly autoReadData: boolean;
|
|
412
|
-
readonly parameterType: string;
|
|
413
|
-
readonly labelPosition?: string | undefined;
|
|
414
|
-
readonly labelWidth?: string | undefined;
|
|
415
|
-
readonly rules?: Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>> | undefined;
|
|
416
|
-
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | undefined;
|
|
417
|
-
readonly saveUrl?: string | undefined;
|
|
418
|
-
readonly beforeSave?: Function | undefined;
|
|
419
|
-
readonly afterSave?: Function | undefined;
|
|
420
|
-
readonly collapseMoreLabel?: string | undefined;
|
|
421
|
-
readonly inputWidth?: string | undefined;
|
|
422
|
-
readonly model?: Record<string, any> | undefined;
|
|
423
|
-
readonly tableRef?: string | undefined;
|
|
424
|
-
readonly defaultQuery?: import('../..').IQueryInfo[] | undefined;
|
|
425
|
-
readonly queryData?: object | undefined;
|
|
426
|
-
readonly onSearch?: ((...args: any[]) => any) | undefined;
|
|
427
|
-
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
428
|
-
readonly "onUpdate:queryData"?: ((...args: any[]) => any) | undefined;
|
|
429
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "required" | "labelPosition" | "inlineMessage" | "showMessage" | "modelValue" | "collapse" | "requireAsteriskPosition" | "labelSuffix" | "inline" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "disabled" | "autoReadData" | "parameterType">>) => void;
|
|
378
|
+
setPropsDefaults: (defaults: {
|
|
379
|
+
required?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(StringConstructor | BooleanConstructor)[], unknown, unknown> | (() => string | boolean) | undefined;
|
|
380
|
+
labelPosition?: string | (() => string) | undefined;
|
|
381
|
+
inlineMessage?: boolean | (() => boolean) | undefined;
|
|
382
|
+
showMessage?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
383
|
+
modelValue?: string | (() => string | Record<string, any>) | null | undefined;
|
|
384
|
+
collapse?: boolean | (() => boolean) | undefined;
|
|
385
|
+
requireAsteriskPosition?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "left" | "right", unknown> | (() => "left" | "right") | undefined;
|
|
386
|
+
labelSuffix?: string | (() => string) | undefined;
|
|
387
|
+
inline?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
388
|
+
statusIcon?: boolean | (() => boolean) | undefined;
|
|
389
|
+
validateOnRuleChange?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
390
|
+
hideRequiredAsterisk?: boolean | (() => boolean) | undefined;
|
|
391
|
+
scrollToError?: boolean | (() => boolean) | undefined;
|
|
392
|
+
scrollIntoViewOptions?: boolean | (() => boolean | ScrollIntoViewOptions) | undefined;
|
|
393
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
394
|
+
autoReadData?: boolean | (() => boolean) | undefined;
|
|
395
|
+
parameterType?: string | (() => string) | undefined;
|
|
396
|
+
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown> | (() => "" | "small" | "default" | "large") | undefined;
|
|
397
|
+
readonly labelWidth?: string | (() => string) | undefined;
|
|
398
|
+
readonly rules?: (() => Partial<Record<string, Record<string, any> | import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemRule>>>) | undefined;
|
|
399
|
+
readonly saveUrl?: string | (() => string) | undefined;
|
|
400
|
+
readonly beforeSave?: Function | (() => Function) | undefined;
|
|
401
|
+
readonly afterSave?: Function | (() => Function) | undefined;
|
|
402
|
+
readonly collapseMoreLabel?: string | (() => string) | undefined;
|
|
403
|
+
readonly inputWidth?: string | (() => string) | undefined;
|
|
404
|
+
readonly model?: (() => Record<string, any>) | undefined;
|
|
405
|
+
readonly tableRef?: string | (() => string) | undefined;
|
|
406
|
+
readonly defaultQuery?: (() => import('../..').IQueryInfo[]) | undefined;
|
|
407
|
+
readonly queryData?: (() => object) | undefined;
|
|
408
|
+
}) => void;
|
|
430
409
|
} & Record<string, any>;
|
|
431
410
|
export default ElsFormQuery;
|
|
432
411
|
export * from './src/formQuery';
|
|
@@ -38,7 +38,7 @@ export declare const formQueryProps: {
|
|
|
38
38
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
39
|
__epPropKey: true;
|
|
40
40
|
};
|
|
41
|
-
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "
|
|
41
|
+
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
42
42
|
labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
43
43
|
inlineMessage: BooleanConstructor;
|
|
44
44
|
statusIcon: BooleanConstructor;
|
|
@@ -47,7 +47,7 @@ export declare const formQueryProps: {
|
|
|
47
47
|
scrollToError: BooleanConstructor;
|
|
48
48
|
scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
49
49
|
size: {
|
|
50
|
-
readonly type: PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
50
|
+
readonly type: PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
51
51
|
readonly required: false;
|
|
52
52
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
53
|
__epPropKey: true;
|
|
@@ -60,13 +60,13 @@ declare function __VLS_template(): {
|
|
|
60
60
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
61
|
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
62
62
|
}, string, {
|
|
63
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
64
63
|
labelWidth: string | number;
|
|
65
64
|
labelPosition: "left" | "right" | "top";
|
|
66
65
|
requireAsteriskPosition: "left" | "right";
|
|
67
66
|
labelSuffix: string;
|
|
68
67
|
showMessage: boolean;
|
|
69
68
|
validateOnRuleChange: boolean;
|
|
69
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
70
70
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
71
71
|
beforeCreate?: (() => void) | (() => void)[];
|
|
72
72
|
created?: (() => void) | (() => void)[];
|
|
@@ -88,16 +88,16 @@ declare function __VLS_template(): {
|
|
|
88
88
|
$nextTick: typeof nextTick;
|
|
89
89
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
90
90
|
} & Readonly<{
|
|
91
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
92
91
|
labelWidth: string | number;
|
|
93
92
|
labelPosition: "left" | "right" | "top";
|
|
94
93
|
requireAsteriskPosition: "left" | "right";
|
|
95
94
|
labelSuffix: string;
|
|
96
95
|
showMessage: boolean;
|
|
97
96
|
validateOnRuleChange: boolean;
|
|
97
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
98
98
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
99
99
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
100
|
-
}>, "labelPosition" | "labelWidth" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "clearValidate" | "validateField" | "resetFields" | "validate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> &
|
|
100
|
+
}>, "labelPosition" | "labelWidth" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "clearValidate" | "validateField" | "resetFields" | "validate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & {
|
|
101
101
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
102
102
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
103
103
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -106,7 +106,7 @@ declare function __VLS_template(): {
|
|
|
106
106
|
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
107
107
|
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
108
108
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
109
|
-
}
|
|
109
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
110
110
|
$slots: {
|
|
111
111
|
default?: (props: {}) => any;
|
|
112
112
|
};
|
|
@@ -152,7 +152,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
152
152
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
153
|
__epPropKey: true;
|
|
154
154
|
};
|
|
155
|
-
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "
|
|
155
|
+
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
156
156
|
labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
157
157
|
inlineMessage: BooleanConstructor;
|
|
158
158
|
statusIcon: BooleanConstructor;
|
|
@@ -161,7 +161,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
161
161
|
scrollToError: BooleanConstructor;
|
|
162
162
|
scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
163
163
|
size: {
|
|
164
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
164
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
165
165
|
readonly required: false;
|
|
166
166
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
167
167
|
__epPropKey: true;
|
|
@@ -218,7 +218,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
218
218
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
219
219
|
__epPropKey: true;
|
|
220
220
|
};
|
|
221
|
-
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "
|
|
221
|
+
requireAsteriskPosition: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
222
222
|
labelSuffix: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
223
223
|
inlineMessage: BooleanConstructor;
|
|
224
224
|
statusIcon: BooleanConstructor;
|
|
@@ -227,7 +227,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
227
227
|
scrollToError: BooleanConstructor;
|
|
228
228
|
scrollIntoViewOptions: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions) | (((new (...args: any[]) => boolean | ScrollIntoViewOptions) | (() => boolean | ScrollIntoViewOptions)) | null)[], unknown, unknown, true, boolean>;
|
|
229
229
|
size: {
|
|
230
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
230
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
231
231
|
readonly required: false;
|
|
232
232
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
233
233
|
__epPropKey: true;
|
|
@@ -307,13 +307,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
307
307
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
308
308
|
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
309
309
|
}, string, {
|
|
310
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
311
310
|
labelWidth: string | number;
|
|
312
311
|
labelPosition: "left" | "right" | "top";
|
|
313
312
|
requireAsteriskPosition: "left" | "right";
|
|
314
313
|
labelSuffix: string;
|
|
315
314
|
showMessage: boolean;
|
|
316
315
|
validateOnRuleChange: boolean;
|
|
316
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
317
317
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
318
318
|
beforeCreate?: (() => void) | (() => void)[];
|
|
319
319
|
created?: (() => void) | (() => void)[];
|
|
@@ -335,16 +335,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
335
335
|
$nextTick: typeof nextTick;
|
|
336
336
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
337
337
|
} & Readonly<{
|
|
338
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
339
338
|
labelWidth: string | number;
|
|
340
339
|
labelPosition: "left" | "right" | "top";
|
|
341
340
|
requireAsteriskPosition: "left" | "right";
|
|
342
341
|
labelSuffix: string;
|
|
343
342
|
showMessage: boolean;
|
|
344
343
|
validateOnRuleChange: boolean;
|
|
344
|
+
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
345
345
|
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
346
346
|
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
347
|
-
}>, "labelPosition" | "labelWidth" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "clearValidate" | "validateField" | "resetFields" | "validate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> &
|
|
347
|
+
}>, "labelPosition" | "labelWidth" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "clearValidate" | "validateField" | "resetFields" | "validate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & {
|
|
348
348
|
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
349
349
|
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
350
350
|
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
@@ -353,7 +353,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
353
353
|
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
354
354
|
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
355
355
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
356
|
-
}
|
|
356
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
357
357
|
$slots: {
|
|
358
358
|
default?: (props: {}) => any;
|
|
359
359
|
};
|
|
@@ -35,7 +35,7 @@ export declare const ElsImage: {
|
|
|
35
35
|
separator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
36
36
|
onSwitch: FunctionConstructor;
|
|
37
37
|
src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
38
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "
|
|
38
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
39
39
|
loading: {
|
|
40
40
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
41
41
|
readonly required: false;
|
|
@@ -134,7 +134,7 @@ export declare const ElsImage: {
|
|
|
134
134
|
separator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
135
135
|
onSwitch: FunctionConstructor;
|
|
136
136
|
src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
137
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "
|
|
137
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
138
138
|
loading: {
|
|
139
139
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
140
140
|
readonly required: false;
|
|
@@ -228,7 +228,7 @@ export declare const ElsImage: {
|
|
|
228
228
|
separator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
229
229
|
onSwitch: FunctionConstructor;
|
|
230
230
|
src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
231
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "
|
|
231
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
232
232
|
loading: {
|
|
233
233
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
234
234
|
readonly required: false;
|
|
@@ -291,66 +291,35 @@ export declare const ElsImage: {
|
|
|
291
291
|
viewer?(_: {}): any;
|
|
292
292
|
};
|
|
293
293
|
}) & import('vue').ObjectPlugin & {
|
|
294
|
-
setPropsDefaults: (defaults:
|
|
295
|
-
lazy
|
|
296
|
-
isPreview
|
|
297
|
-
previewTeleported
|
|
298
|
-
hideOnClickModal
|
|
299
|
-
separator
|
|
300
|
-
src
|
|
301
|
-
fit
|
|
302
|
-
previewSrcList
|
|
303
|
-
initialIndex
|
|
304
|
-
infinite
|
|
305
|
-
closeOnPressEscape
|
|
306
|
-
zoomRate
|
|
307
|
-
scale
|
|
308
|
-
minScale
|
|
309
|
-
maxScale
|
|
310
|
-
showProgress
|
|
311
|
-
|
|
312
|
-
readonly
|
|
313
|
-
readonly
|
|
314
|
-
readonly
|
|
315
|
-
readonly
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
321
|
-
readonly
|
|
322
|
-
|
|
323
|
-
readonly zoomRate: number;
|
|
324
|
-
readonly scale: number;
|
|
325
|
-
readonly minScale: number;
|
|
326
|
-
readonly maxScale: number;
|
|
327
|
-
readonly showProgress: boolean;
|
|
328
|
-
readonly zIndex?: number | undefined;
|
|
329
|
-
readonly url?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(StringConstructor | {
|
|
330
|
-
(arrayLength: number): string[];
|
|
331
|
-
(...items: string[]): string[];
|
|
332
|
-
new (arrayLength: number): string[];
|
|
333
|
-
new (...items: string[]): string[];
|
|
334
|
-
isArray(arg: any): arg is any[];
|
|
335
|
-
readonly prototype: any[];
|
|
336
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
337
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
338
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
339
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
340
|
-
of<T>(...items: T[]): T[];
|
|
341
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
342
|
-
})[], unknown, unknown> | undefined;
|
|
343
|
-
readonly width?: string | undefined;
|
|
344
|
-
readonly loading?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
345
|
-
readonly height?: string | undefined;
|
|
346
|
-
readonly thumbnailUrl?: string | undefined;
|
|
347
|
-
readonly previewUrls?: string[] | undefined;
|
|
348
|
-
readonly emptyDesc?: string | undefined;
|
|
349
|
-
readonly onSwitch?: Function | undefined;
|
|
350
|
-
readonly scrollContainer?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | null)[], unknown, unknown>;
|
|
351
|
-
readonly crossorigin?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | null)[], unknown, unknown> | undefined;
|
|
352
|
-
readonly onPreview?: ((...args: any[]) => any) | undefined;
|
|
353
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "lazy" | "isPreview" | "previewTeleported" | "hideOnClickModal" | "separator" | "src" | "fit" | "previewSrcList" | "initialIndex" | "infinite" | "closeOnPressEscape" | "zoomRate" | "scale" | "minScale" | "maxScale" | "showProgress">>) => void;
|
|
294
|
+
setPropsDefaults: (defaults: {
|
|
295
|
+
lazy?: boolean | (() => boolean) | undefined;
|
|
296
|
+
isPreview?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
297
|
+
previewTeleported?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
298
|
+
hideOnClickModal?: boolean | (() => boolean) | undefined;
|
|
299
|
+
separator?: string | (() => string) | undefined;
|
|
300
|
+
src?: string | (() => string) | undefined;
|
|
301
|
+
fit?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown> | (() => "" | "fill" | "none" | "contain" | "cover" | "scale-down") | undefined;
|
|
302
|
+
previewSrcList?: (() => string[]) | undefined;
|
|
303
|
+
initialIndex?: number | (() => number) | undefined;
|
|
304
|
+
infinite?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
305
|
+
closeOnPressEscape?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
306
|
+
zoomRate?: number | (() => number) | undefined;
|
|
307
|
+
scale?: number | (() => number) | undefined;
|
|
308
|
+
minScale?: number | (() => number) | undefined;
|
|
309
|
+
maxScale?: number | (() => number) | undefined;
|
|
310
|
+
showProgress?: boolean | (() => boolean) | undefined;
|
|
311
|
+
readonly zIndex?: number | (() => number) | undefined;
|
|
312
|
+
readonly url?: string | (() => string | string[]) | undefined;
|
|
313
|
+
readonly width?: string | (() => string) | undefined;
|
|
314
|
+
readonly loading?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | (() => "lazy" | "eager") | undefined;
|
|
315
|
+
readonly height?: string | (() => string) | undefined;
|
|
316
|
+
readonly thumbnailUrl?: string | (() => string) | undefined;
|
|
317
|
+
readonly previewUrls?: (() => string[]) | undefined;
|
|
318
|
+
readonly emptyDesc?: string | (() => string) | undefined;
|
|
319
|
+
readonly onSwitch?: Function | (() => Function) | undefined;
|
|
320
|
+
readonly scrollContainer?: string | (() => string | HTMLElement) | undefined;
|
|
321
|
+
readonly crossorigin?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | null)[], unknown, unknown> | (() => "" | "anonymous" | "use-credentials") | undefined;
|
|
322
|
+
}) => void;
|
|
354
323
|
} & Record<string, any>;
|
|
355
324
|
export default ElsImage;
|
|
356
325
|
export * from './src/image';
|
|
@@ -36,7 +36,7 @@ export declare const imageProps: {
|
|
|
36
36
|
separator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
37
37
|
onSwitch: FunctionConstructor;
|
|
38
38
|
src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
39
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "
|
|
39
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
40
40
|
loading: {
|
|
41
41
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
42
42
|
readonly required: false;
|
|
@@ -45,7 +45,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
45
45
|
separator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
46
46
|
onSwitch: FunctionConstructor;
|
|
47
47
|
src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
48
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "
|
|
48
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
49
49
|
loading: {
|
|
50
50
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
51
51
|
readonly required: false;
|
|
@@ -118,7 +118,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
118
118
|
separator: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
119
119
|
onSwitch: FunctionConstructor;
|
|
120
120
|
src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
121
|
-
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "
|
|
121
|
+
fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
|
|
122
122
|
loading: {
|
|
123
123
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
|
|
124
124
|
readonly required: false;
|
|
@@ -185,50 +185,24 @@ export declare const ElsImageViewer: {
|
|
|
185
185
|
showProgress: boolean;
|
|
186
186
|
urlList: string[];
|
|
187
187
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin & {
|
|
188
|
-
setPropsDefaults: (defaults:
|
|
189
|
-
teleported
|
|
190
|
-
hideOnClickModal
|
|
191
|
-
separator
|
|
192
|
-
initialIndex
|
|
193
|
-
infinite
|
|
194
|
-
closeOnPressEscape
|
|
195
|
-
zoomRate
|
|
196
|
-
scale
|
|
197
|
-
minScale
|
|
198
|
-
maxScale
|
|
199
|
-
showProgress
|
|
200
|
-
urlList
|
|
201
|
-
|
|
202
|
-
readonly
|
|
203
|
-
readonly
|
|
204
|
-
readonly
|
|
205
|
-
|
|
206
|
-
readonly infinite: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
207
|
-
readonly closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
208
|
-
readonly zoomRate: number;
|
|
209
|
-
readonly scale: number;
|
|
210
|
-
readonly minScale: number;
|
|
211
|
-
readonly maxScale: number;
|
|
212
|
-
readonly showProgress: boolean;
|
|
213
|
-
readonly urlList: string[];
|
|
214
|
-
readonly zIndex?: number | undefined;
|
|
215
|
-
readonly url?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(StringConstructor | {
|
|
216
|
-
(arrayLength: number): string[];
|
|
217
|
-
(...items: string[]): string[];
|
|
218
|
-
new (arrayLength: number): string[];
|
|
219
|
-
new (...items: string[]): string[];
|
|
220
|
-
isArray(arg: any): arg is any[];
|
|
221
|
-
readonly prototype: any[];
|
|
222
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
223
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
224
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
225
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
226
|
-
of<T>(...items: T[]): T[];
|
|
227
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
228
|
-
})[], unknown, unknown> | undefined;
|
|
229
|
-
readonly crossorigin?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | null)[], unknown, unknown> | undefined;
|
|
230
|
-
readonly currentUrl?: string | undefined;
|
|
231
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "teleported" | "hideOnClickModal" | "separator" | "initialIndex" | "infinite" | "closeOnPressEscape" | "zoomRate" | "scale" | "minScale" | "maxScale" | "showProgress" | "urlList">>) => void;
|
|
188
|
+
setPropsDefaults: (defaults: {
|
|
189
|
+
teleported?: boolean | (() => boolean) | undefined;
|
|
190
|
+
hideOnClickModal?: boolean | (() => boolean) | undefined;
|
|
191
|
+
separator?: string | (() => string) | undefined;
|
|
192
|
+
initialIndex?: number | (() => number) | undefined;
|
|
193
|
+
infinite?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
194
|
+
closeOnPressEscape?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
195
|
+
zoomRate?: number | (() => number) | undefined;
|
|
196
|
+
scale?: number | (() => number) | undefined;
|
|
197
|
+
minScale?: number | (() => number) | undefined;
|
|
198
|
+
maxScale?: number | (() => number) | undefined;
|
|
199
|
+
showProgress?: boolean | (() => boolean) | undefined;
|
|
200
|
+
urlList?: (() => string[]) | undefined;
|
|
201
|
+
readonly zIndex?: number | (() => number) | undefined;
|
|
202
|
+
readonly url?: string | (() => string | string[]) | undefined;
|
|
203
|
+
readonly crossorigin?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | ((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | null)[], unknown, unknown> | (() => "" | "anonymous" | "use-credentials") | undefined;
|
|
204
|
+
readonly currentUrl?: string | (() => string) | undefined;
|
|
205
|
+
}) => void;
|
|
232
206
|
} & Record<string, any>;
|
|
233
207
|
export default ElsImageViewer;
|
|
234
208
|
export * from './src/imageViewer';
|