@vunk/form 1.2.2 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/button/src/index.vue.d.ts +282 -6
- package/components/cascader/src/ctx.d.ts +1 -1
- package/components/cascader/src/index.vue.d.ts +13672 -8
- package/components/checkbox/src/ctx.d.ts +1 -1
- package/components/checkbox/src/index.vue.d.ts +906 -10
- package/components/color-picker/src/index.vue.d.ts +10950 -7
- package/components/date-picker/src/ctx.d.ts +1 -1
- package/components/date-picker/src/index.vue.d.ts +225 -11
- package/components/date-picker-range/src/ctx.d.ts +1 -1
- package/components/date-picker-range/src/index.vue.d.ts +24 -12
- package/components/download-plus/index.cjs +4 -4
- package/components/download-plus/index.mjs +4 -4
- package/components/download-plus/src/index.vue.d.ts +822 -8
- package/components/esri-input-geojson/src/append.vue.d.ts +2232 -5
- package/components/esri-input-geojson/src/ctx.d.ts +1 -1
- package/components/esri-input-geojson/src/default-view.vue.d.ts +3 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +723 -23
- package/components/esri-input-geojson/src/viewer.vue.d.ts +141 -10
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +373 -39
- package/components/form-item/index.cjs +3 -4
- package/components/form-item/index.mjs +3 -4
- package/components/form-item/src/index.vue.d.ts +185 -5
- package/components/form-item-renderer/src/index.vue.d.ts +5 -5
- package/components/form-item-renderer-template/src/index.vue.d.ts +4 -4
- package/components/geoinput/src/index.vue.d.ts +40 -17
- package/components/geoinput-read/src/append.vue.d.ts +379 -2
- package/components/geoinput-read/src/core.vue.d.ts +176 -14
- package/components/geoinput-read/src/ctx.d.ts +1 -1
- package/components/geoinput-read/src/index.vue.d.ts +743 -15
- package/components/geoinput-update/src/append.vue.d.ts +2231 -5
- package/components/geoinput-update/src/ctx.d.ts +1 -1
- package/components/geoinput-update/src/index.vue.d.ts +814 -20
- package/components/input/index.cjs +2 -2
- package/components/input/index.mjs +2 -2
- package/components/input/src/index.vue.d.ts +479 -13
- package/components/input-link/src/index.vue.d.ts +25 -13
- package/components/input-number/src/ctx.d.ts +1 -1
- package/components/input-number/src/index.vue.d.ts +1579 -12
- package/components/monaco-editor/index.cjs +83 -0
- package/components/monaco-editor/index.css +3 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/index.mjs +77 -0
- package/components/monaco-editor/src/ctx.d.ts +70 -0
- package/components/monaco-editor/src/index.vue.d.ts +209 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/src/index.vue.d.ts +444 -10
- package/components/select/src/ctx.d.ts +3 -3
- package/components/select/src/index.vue.d.ts +12944 -31
- package/components/slider/index.cjs +3 -3
- package/components/slider/index.mjs +3 -3
- package/components/slider/src/index.vue.d.ts +25 -12
- package/components/switch/src/index.vue.d.ts +319 -8
- package/components/templates-default/index.cjs +41 -26
- package/components/templates-default/index.mjs +41 -26
- package/components/templates-default/src/index.vue.d.ts +162 -7
- package/components/templates-element-plus/src/index.vue.d.ts +193 -6
- package/components/templates-esri/src/index.vue.d.ts +30 -7
- package/components/templates-layout/src/index.vue.d.ts +148 -6
- package/components/templates-mapbox/src/index.vue.d.ts +30 -7
- package/components/templates-variant/src/index.vue.d.ts +30 -7
- package/components/upload/index.cjs +2 -2
- package/components/upload/index.mjs +2 -2
- package/components/upload/src/ctx.d.ts +1 -1
- package/components/upload/src/file.vue.d.ts +263 -6
- package/components/upload/src/index.vue.d.ts +2366 -9
- package/components/upload-plus/index.cjs +19 -20
- package/components/upload-plus/index.mjs +19 -20
- package/components/upload-plus/src/index.vue.d.ts +874 -12
- package/components/van-cascader/src/index.vue.d.ts +13048 -11
- package/components/var-datetime-picker/src/index.vue.d.ts +624 -10
- package/components/vditor/index.cjs +43 -408
- package/components/vditor/index.mjs +44 -409
- package/components/vditor/src/ctx.d.ts +52 -6
- package/components/vditor/src/index.vue.d.ts +274 -16
- package/components/vditor/src/types.d.ts +7 -9
- package/composables/useSourceManager.d.ts +1 -1
- package/index.css +4 -13
- package/package.json +9 -4
- package/shared/element-plus/ctx.d.ts +3 -3
- package/shared/element-plus/instances.d.ts +2 -2
- package/components/vditor/index.css +0 -12
- package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
- package/components/vditor/src/handle-value.vue.d.ts +0 -18
- package/components/vditor/src/use.d.ts +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormItemRule } from 'element-plus';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
type: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
@@ -151,7 +151,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
151
151
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
152
152
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
153
153
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
154
|
-
}
|
|
154
|
+
}>, {
|
|
155
155
|
coreProps: import("vue").ComputedRef<{}>;
|
|
156
156
|
coreEmits: {};
|
|
157
157
|
createAppendEl: (url?: string) => () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -159,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
}>;
|
|
160
160
|
rules: import("vue").ComputedRef<FormItemRule[]>;
|
|
161
161
|
readonly: import("vue").ComputedRef<boolean>;
|
|
162
|
-
},
|
|
162
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
163
163
|
"update:modelValue": (value: string) => boolean;
|
|
164
164
|
input: (value: string) => boolean;
|
|
165
165
|
change: (value: string) => boolean;
|
|
@@ -324,20 +324,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
324
324
|
validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
325
325
|
inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
|
|
326
326
|
autofocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
327
|
-
}>> & {
|
|
328
|
-
|
|
327
|
+
}>> & Readonly<{
|
|
328
|
+
onClear?: () => any;
|
|
329
329
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
330
|
+
onInput?: (value: string) => any;
|
|
331
|
+
onChange?: (value: string) => any;
|
|
330
332
|
onFocus?: (evt: FocusEvent) => any;
|
|
331
333
|
onBlur?: (evt: FocusEvent) => any;
|
|
332
334
|
onKeydown?: (evt: Event | KeyboardEvent) => any;
|
|
333
|
-
|
|
334
|
-
onClear?: () => any;
|
|
335
|
-
onMouseleave?: (evt: MouseEvent) => any;
|
|
336
|
-
onMouseenter?: (evt: MouseEvent) => any;
|
|
335
|
+
onCompositionend?: (evt: CompositionEvent) => any;
|
|
337
336
|
onCompositionstart?: (evt: CompositionEvent) => any;
|
|
338
337
|
onCompositionupdate?: (evt: CompositionEvent) => any;
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
onMouseenter?: (evt: MouseEvent) => any;
|
|
339
|
+
onMouseleave?: (evt: MouseEvent) => any;
|
|
340
|
+
}>, {
|
|
341
341
|
disabled: boolean;
|
|
342
342
|
type: string;
|
|
343
343
|
autofocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -363,11 +363,23 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
363
363
|
showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
364
364
|
containerRole: string;
|
|
365
365
|
inputStyle: import("vue").StyleValue;
|
|
366
|
-
inputSlots:
|
|
366
|
+
inputSlots: import("@vunk/form/components/input/src/types").InputSlots;
|
|
367
367
|
rows: number;
|
|
368
368
|
uploadUrl: string;
|
|
369
369
|
referenceUrl: string;
|
|
370
370
|
referenceOnly: boolean;
|
|
371
371
|
referenceLabel: string;
|
|
372
|
-
}, {}
|
|
372
|
+
}, {}, {
|
|
373
|
+
VkfInput: {
|
|
374
|
+
new (...args: any[]): any;
|
|
375
|
+
__isFragment?: never;
|
|
376
|
+
__isTeleport?: never;
|
|
377
|
+
__isSuspense?: never;
|
|
378
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<Record<string | symbol, any>>>, Record<string | symbol, any>, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
379
|
+
[x: string]: any;
|
|
380
|
+
[x: symbol]: any;
|
|
381
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
382
|
+
install(app: import("vue").App): void;
|
|
383
|
+
};
|
|
384
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
373
385
|
export default _default;
|
|
@@ -79,7 +79,7 @@ export declare const props: {
|
|
|
79
79
|
inlineMessage: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
80
80
|
showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
81
81
|
};
|
|
82
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"required", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"
|
|
82
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"required", keyof T2> | Extract<"name", keyof T2> | Extract<"formItemSize", keyof T2> | Extract<"formItemSlots", keyof T2> | Extract<"elRef", keyof T2> | Extract<"inline", keyof T2> | Extract<"readonly", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"label", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"prop", keyof T2> | Extract<"rules", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"id", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"controls", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controlsPosition", keyof T2> | Extract<"precision", keyof T2> | Extract<"unit", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "min" | "max" | "id" | "valueOnClear" | "placeholder" | "validateEvent" | "modelValue" | "controls" | "ariaLabel" | "step" | "stepStrictly" | "controlsPosition" | "precision" | "unit", keyof T2>, KE> : Extract<"size" | "disabled" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "min" | "max" | "id" | "valueOnClear" | "placeholder" | "validateEvent" | "modelValue" | "controls" | "ariaLabel" | "step" | "stepStrictly" | "controlsPosition" | "precision" | "unit", keyof T2>]: { [k in Extract<"size" | "disabled" | "required" | "name" | "formItemSize" | "formItemSlots" | "elRef" | "inline" | "readonly" | "labelPosition" | "label" | "labelWidth" | "prop" | "rules" | "error" | "validateStatus" | "for" | "inlineMessage" | "showMessage" | "min" | "max" | "id" | "valueOnClear" | "placeholder" | "validateEvent" | "modelValue" | "controls" | "ariaLabel" | "step" | "stepStrictly" | "controlsPosition" | "precision" | "unit", keyof T2>]: T2[k]; }[P]; }>;
|
|
83
83
|
export declare const emits: {
|
|
84
84
|
change: (cur: number | undefined, prev: number | undefined) => boolean;
|
|
85
85
|
blur: (e: FocusEvent) => boolean;
|