@vunk/form 2.19.16 → 2.19.18
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/components/monaco-editor/index.cjs +1 -1
- package/components/monaco-editor/index.mjs +26 -22
- package/components/monaco-editor/src/ctx.d.ts +5 -5
- package/components/monaco-editor/src/index.vue.d.ts +10 -12
- package/components/upload-plus/index.cjs +15 -15
- package/components/upload-plus/index.mjs +1272 -1274
- package/components/upload-plus/src/index.vue.d.ts +46 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@vunk/form/components/form-item"),t=require("@vunk/plus/components/monaco-editor"),o=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("@vunk/form/components/form-item"),t=require("@vunk/plus/components/monaco-editor"),o=require("vue"),m=require("@vunk/form/composables"),u=require("../_plugin-vue_export-helper-BHFhmbuH.js"),f={...r._VkfFormItemCtx.props,...t._VkMonacoEditorCtx.props,readonly:{type:Boolean,default:void 0},height:{type:String},maxHeight:null,autoHeight:{type:Boolean,default:!0}},_={...t._VkMonacoEditorCtx.emits},k=o.defineComponent({name:"VkfMonacoEditor",components:{VkMonacoEditor:t.VkMonacoEditor,VkfFormItem:r.VkfFormItem},props:f,emits:_,setup(e,{emit:n}){const s=t._VkMonacoEditorCtx.createBindProps(e,["readOnly","defaultOptions"]),a=t._VkMonacoEditorCtx.createOnEmits(n),c=r._VkfFormItemCtx.createBindProps(e),i=m.useComputedReadonly(e);return{formItemBindProps:c,readonly:i,coreProps:s,coreEmits:a}}});function V(e,n,s,a,c,i){const l=o.resolveComponent("VkMonacoEditor"),p=o.resolveComponent("VkfFormItem");return o.openBlock(),o.createBlock(p,o.normalizeProps(o.guardReactiveProps(e.formItemBindProps)),{default:o.withCtx(()=>[o.createVNode(l,o.mergeProps({"read-only":e.readonly},e.coreProps,{"default-options":{scrollBeyondLastLine:!1,...e.defaultOptions}},o.toHandlers(e.coreEmits)),null,16,["read-only","default-options"])]),_:1},16)}const d=u._export_sfc(k,[["render",V]]),E=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.VkfMonacoEditor=d;exports.__VkfMonacoEditor=E;exports.default=d;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import { _VkfFormItemCtx as
|
|
1
|
+
import { _VkfFormItemCtx as p, VkfFormItem as d } from "@vunk/form/components/form-item";
|
|
2
2
|
import { _VkMonacoEditorCtx as e, VkMonacoEditor as l } from "@vunk/plus/components/monaco-editor";
|
|
3
|
-
import { defineComponent as f, resolveComponent as
|
|
4
|
-
import { useComputedReadonly as
|
|
3
|
+
import { defineComponent as f, resolveComponent as i, openBlock as u, createBlock as _, normalizeProps as y, guardReactiveProps as k, withCtx as V, createVNode as E, mergeProps as P, toHandlers as B } from "vue";
|
|
4
|
+
import { useComputedReadonly as g } from "@vunk/form/composables";
|
|
5
5
|
import { _ as M } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
-
const
|
|
7
|
-
...
|
|
6
|
+
const h = {
|
|
7
|
+
...p.props,
|
|
8
8
|
...e.props,
|
|
9
9
|
readonly: {
|
|
10
10
|
type: Boolean,
|
|
11
11
|
default: void 0
|
|
12
12
|
},
|
|
13
13
|
height: {
|
|
14
|
-
type: String
|
|
15
|
-
|
|
14
|
+
type: String
|
|
15
|
+
},
|
|
16
|
+
maxHeight: null,
|
|
17
|
+
autoHeight: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !0
|
|
16
20
|
}
|
|
17
21
|
}, C = {
|
|
18
22
|
...e.emits
|
|
@@ -22,10 +26,10 @@ const B = {
|
|
|
22
26
|
VkMonacoEditor: l,
|
|
23
27
|
VkfFormItem: d
|
|
24
28
|
},
|
|
25
|
-
props:
|
|
29
|
+
props: h,
|
|
26
30
|
emits: C,
|
|
27
31
|
setup(o, { emit: t }) {
|
|
28
|
-
const r = e.createBindProps(o, ["readOnly"]), n = e.createOnEmits(t), s =
|
|
32
|
+
const r = e.createBindProps(o, ["readOnly", "defaultOptions"]), n = e.createOnEmits(t), s = p.createBindProps(o), a = g(o);
|
|
29
33
|
return {
|
|
30
34
|
formItemBindProps: s,
|
|
31
35
|
readonly: a,
|
|
@@ -34,25 +38,25 @@ const B = {
|
|
|
34
38
|
};
|
|
35
39
|
}
|
|
36
40
|
});
|
|
37
|
-
function
|
|
38
|
-
const
|
|
39
|
-
return
|
|
41
|
+
function O(o, t, r, n, s, a) {
|
|
42
|
+
const m = i("VkMonacoEditor"), c = i("VkfFormItem");
|
|
43
|
+
return u(), _(c, y(k(o.formItemBindProps)), {
|
|
40
44
|
default: V(() => [
|
|
41
|
-
E(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
45
|
+
E(m, P({ "read-only": o.readonly }, o.coreProps, {
|
|
46
|
+
"default-options": {
|
|
47
|
+
scrollBeyondLastLine: !1,
|
|
48
|
+
...o.defaultOptions
|
|
49
|
+
}
|
|
50
|
+
}, B(o.coreEmits)), null, 16, ["read-only", "default-options"])
|
|
47
51
|
]),
|
|
48
52
|
_: 1
|
|
49
53
|
}, 16);
|
|
50
54
|
}
|
|
51
|
-
const
|
|
55
|
+
const S = /* @__PURE__ */ M(I, [["render", O]]), j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
52
56
|
__proto__: null
|
|
53
57
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
54
58
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
S as VkfMonacoEditor,
|
|
60
|
+
j as __VkfMonacoEditor,
|
|
61
|
+
S as default
|
|
58
62
|
};
|
|
@@ -5,7 +5,11 @@ export declare const props: {
|
|
|
5
5
|
};
|
|
6
6
|
height: {
|
|
7
7
|
type: StringConstructor;
|
|
8
|
-
|
|
8
|
+
};
|
|
9
|
+
maxHeight: null;
|
|
10
|
+
autoHeight: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
9
13
|
};
|
|
10
14
|
modelValue: {
|
|
11
15
|
type: StringConstructor;
|
|
@@ -19,10 +23,6 @@ export declare const props: {
|
|
|
19
23
|
type: BooleanConstructor;
|
|
20
24
|
default: boolean;
|
|
21
25
|
};
|
|
22
|
-
autoHeight: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
26
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
27
27
|
labelPosition: {
|
|
28
28
|
type: import("vue").PropType<"left" | "right" | "top" | "start" | "end">;
|
|
@@ -7,7 +7,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
7
7
|
};
|
|
8
8
|
height: {
|
|
9
9
|
type: StringConstructor;
|
|
10
|
-
|
|
10
|
+
};
|
|
11
|
+
maxHeight: null;
|
|
12
|
+
autoHeight: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
11
15
|
};
|
|
12
16
|
modelValue: {
|
|
13
17
|
type: StringConstructor;
|
|
@@ -21,10 +25,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
25
|
type: BooleanConstructor;
|
|
22
26
|
default: boolean;
|
|
23
27
|
};
|
|
24
|
-
autoHeight: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
28
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
29
29
|
labelPosition: {
|
|
30
30
|
type: import("vue").PropType<"left" | "right" | "top" | "start" | "end">;
|
|
@@ -93,7 +93,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
93
93
|
readonly: import("vue").ComputedRef<boolean>;
|
|
94
94
|
coreProps: import("vue").ComputedRef<{
|
|
95
95
|
modelValue: string;
|
|
96
|
-
defaultOptions: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
97
96
|
autoHeight: boolean;
|
|
98
97
|
}>;
|
|
99
98
|
coreEmits: {};
|
|
@@ -107,7 +106,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
107
106
|
};
|
|
108
107
|
height: {
|
|
109
108
|
type: StringConstructor;
|
|
110
|
-
|
|
109
|
+
};
|
|
110
|
+
maxHeight: null;
|
|
111
|
+
autoHeight: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
111
114
|
};
|
|
112
115
|
modelValue: {
|
|
113
116
|
type: StringConstructor;
|
|
@@ -121,10 +124,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
121
124
|
type: BooleanConstructor;
|
|
122
125
|
default: boolean;
|
|
123
126
|
};
|
|
124
|
-
autoHeight: {
|
|
125
|
-
type: BooleanConstructor;
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
127
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
129
128
|
labelPosition: {
|
|
130
129
|
type: import("vue").PropType<"left" | "right" | "top" | "start" | "end">;
|
|
@@ -205,7 +204,6 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
205
204
|
inlineMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
206
205
|
showMessage: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
207
206
|
modelValue: string;
|
|
208
|
-
height: string;
|
|
209
207
|
defaultOptions: import("monaco-editor").editor.IStandaloneEditorConstructionOptions;
|
|
210
208
|
readOnly: boolean;
|
|
211
209
|
autoHeight: boolean;
|