@vunk/form 1.1.61 → 1.1.63
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.
|
@@ -34,8 +34,8 @@ const props = __spreadProps(__spreadValues(__spreadValues({}, _VkfFormItemCtx.pr
|
|
|
34
34
|
default: ""
|
|
35
35
|
},
|
|
36
36
|
preview: {
|
|
37
|
-
type:
|
|
38
|
-
default:
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: false
|
|
39
39
|
},
|
|
40
40
|
beforeUpload: {
|
|
41
41
|
type: Function,
|
|
@@ -561,8 +561,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
561
561
|
listType: _ctx.listType,
|
|
562
562
|
disabled: _ctx.readonly || _ctx.disabled,
|
|
563
563
|
onPreview: _ctx.onPreview,
|
|
564
|
+
preview: _ctx.preview,
|
|
564
565
|
onRemove: _ctx.handleRemove
|
|
565
|
-
}, null, 8, ["file", "listType", "disabled", "onPreview", "onRemove"])
|
|
566
|
+
}, null, 8, ["file", "listType", "disabled", "onPreview", "preview", "onRemove"])
|
|
566
567
|
]),
|
|
567
568
|
default: withCtx(() => [
|
|
568
569
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
preview: {
|
|
13
|
-
type:
|
|
14
|
-
default:
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
beforeUpload: {
|
|
17
17
|
type: FunctionConstructor;
|
|
@@ -229,8 +229,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
229
|
default: string;
|
|
230
230
|
};
|
|
231
231
|
preview: {
|
|
232
|
-
type:
|
|
233
|
-
default:
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: boolean;
|
|
234
234
|
};
|
|
235
235
|
beforeUpload: {
|
|
236
236
|
type: FunctionConstructor;
|
|
@@ -420,7 +420,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
420
420
|
autoUpload: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
421
421
|
listType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "text" | "picture" | "picture-card", unknown>;
|
|
422
422
|
httpRequest: import("element-plus").UploadRequestHandler;
|
|
423
|
-
preview:
|
|
423
|
+
preview: boolean;
|
|
424
424
|
tip: string;
|
|
425
425
|
}>;
|
|
426
426
|
export default _default;
|
|
@@ -259,9 +259,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
259
259
|
"model-value": _ctx.modelValue,
|
|
260
260
|
onFocus: _ctx.inputBlur,
|
|
261
261
|
type: _ctx.type,
|
|
262
|
-
readonly:
|
|
262
|
+
readonly: true,
|
|
263
263
|
"value-format": _ctx.valueFormat
|
|
264
|
-
}, null, 8, ["model-value", "onFocus", "type", "
|
|
264
|
+
}, null, 8, ["model-value", "onFocus", "type", "value-format"])
|
|
265
265
|
], 32),
|
|
266
266
|
createVNode(_component_Popup, {
|
|
267
267
|
position: "bottom",
|
package/package.json
CHANGED
package/shared/const/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Media } from '@vunk/core';
|
|
2
2
|
import { AllTemplatesSource } from '@vunk/form/shared';
|
|
3
3
|
export declare const CORE_FORM_TEMPLATE_OPTIONS: Media<AllTemplatesSource['templateType']>[];
|
|
4
|
-
export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfInput" | "
|
|
4
|
+
export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfButton" | "VkfInput" | "VkfDatePicker" | "VkfSelect" | "VkfSwitch" | "VkfInputNumber" | "VkfRadio" | "VkfCheckbox" | "VkfUpload" | "VkfColorPicker" | "VkfCascader" | "VkfInputLink" | "VkfSlider" | "Component" | "ElRow" | "ElCol" | "VkfFlex" | "ElDivider" | "ElLink" | "VkfGeoinput" | "VkfEsriInputGeojson">>;
|