@vunk/plus 0.0.3 → 0.0.4
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.
|
@@ -22,13 +22,13 @@ const createBindProps = bindPropsFactory(props);
|
|
|
22
22
|
const emits = {
|
|
23
23
|
"update:modelValue": null
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const createOnEmits = onEmitsFactory(emits);
|
|
26
26
|
|
|
27
27
|
var ctx = /*#__PURE__*/Object.freeze({
|
|
28
28
|
__proto__: null,
|
|
29
29
|
createBindProps: createBindProps,
|
|
30
|
+
createOnEmits: createOnEmits,
|
|
30
31
|
emits: emits,
|
|
31
|
-
onEmits: onEmits,
|
|
32
32
|
props: props
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -18,6 +18,6 @@ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObj
|
|
|
18
18
|
export declare const emits: {
|
|
19
19
|
'update:modelValue': any;
|
|
20
20
|
};
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "update:modelValue"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> : "update:modelValue"]: {
|
|
22
22
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
23
23
|
}[P]; };
|