@vunk/form 1.4.12 → 2.0.0

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.
Files changed (86) hide show
  1. package/components/form/index.cjs +34 -6
  2. package/components/form/index.mjs +35 -7
  3. package/components/form/src/ctx.d.ts +8 -1
  4. package/components/form/src/index.vue.d.ts +31 -0
  5. package/components/form-item-renderer/index.cjs +33 -20
  6. package/components/form-item-renderer/index.d.ts +0 -1
  7. package/components/form-item-renderer/index.mjs +35 -20
  8. package/components/form-item-renderer/src/index.vue.d.ts +4 -4
  9. package/components/form-item-renderer/src/types.d.ts +0 -1
  10. package/components/form-item-renderer-template/index.cjs +2 -2
  11. package/components/form-item-renderer-template/index.mjs +3 -3
  12. package/components/form-item-renderer-template/src/types.d.ts +44 -0
  13. package/components/input-collection/index.cjs +56 -40
  14. package/components/input-collection/index.mjs +57 -41
  15. package/components/input-collection/src/ctx.d.ts +7 -0
  16. package/components/input-collection/src/index.vue.d.ts +20 -0
  17. package/components/input-number/src/ctx.d.ts +1 -1
  18. package/components/input-number/src/index.vue.d.ts +2 -2
  19. package/components/renderer-data/index.cjs +41 -0
  20. package/components/renderer-data/index.d.ts +4 -0
  21. package/components/renderer-data/index.mjs +35 -0
  22. package/components/{templates-mapbox → renderer-data}/src/ctx.d.ts +3 -2
  23. package/components/renderer-data/src/index.vue.d.ts +20 -0
  24. package/components/renderer-data/src/types.d.ts +1 -0
  25. package/components/select/index.css +5 -0
  26. package/components/slider/src/index.vue.d.ts +1 -1
  27. package/components/template-instances-provider/index.cjs +16 -6
  28. package/components/template-instances-provider/index.mjs +17 -7
  29. package/components/template-instances-provider/src/index.vue.d.ts +14 -2
  30. package/components/templates-default/index.cjs +40 -146
  31. package/components/templates-default/index.mjs +41 -147
  32. package/components/templates-default/src/index.vue.d.ts +0 -2
  33. package/components/templates-element-plus/index.cjs +8 -8
  34. package/components/templates-element-plus/index.mjs +9 -9
  35. package/components/templates-esri/index.cjs +5 -5
  36. package/components/templates-esri/index.mjs +6 -6
  37. package/components/templates-variant/index.cjs +7 -7
  38. package/components/templates-variant/index.mjs +8 -8
  39. package/composables/index.cjs +46 -0
  40. package/composables/index.d.ts +3 -0
  41. package/composables/index.mjs +44 -2
  42. package/composables/useComputedReadonly.d.ts +4 -0
  43. package/composables/useForm.d.ts +1 -4
  44. package/composables/useRendererData.d.ts +13 -0
  45. package/composables/useTemplateInstances.d.ts +3 -0
  46. package/index.css +5 -9
  47. package/package.json +6 -19
  48. package/components/form-item-renderer/src/symbols.d.ts +0 -3
  49. package/components/geoinput/index.cjs +0 -95
  50. package/components/geoinput/index.d.ts +0 -4
  51. package/components/geoinput/index.mjs +0 -89
  52. package/components/geoinput/src/ctx.d.ts +0 -240
  53. package/components/geoinput/src/index.vue.d.ts +0 -546
  54. package/components/geoinput/src/types.d.ts +0 -12
  55. package/components/geoinput-read/index.cjs +0 -304
  56. package/components/geoinput-read/index.css +0 -8
  57. package/components/geoinput-read/index.d.ts +0 -5
  58. package/components/geoinput-read/index.mjs +0 -297
  59. package/components/geoinput-read/src/append.vue.d.ts +0 -341
  60. package/components/geoinput-read/src/core.vue.d.ts +0 -667
  61. package/components/geoinput-read/src/ctx.d.ts +0 -211
  62. package/components/geoinput-read/src/index.vue.d.ts +0 -1219
  63. package/components/geoinput-read/src/types.d.ts +0 -3
  64. package/components/templates-mapbox/index.cjs +0 -65
  65. package/components/templates-mapbox/index.d.ts +0 -4
  66. package/components/templates-mapbox/index.mjs +0 -59
  67. package/components/templates-mapbox/src/index.vue.d.ts +0 -43
  68. package/components/templates-mapbox/src/types.d.ts +0 -3
  69. package/shared/const/index.d.ts +0 -4
  70. package/shared/element-plus/ctx.d.ts +0 -26
  71. package/shared/element-plus/index.d.ts +0 -3
  72. package/shared/element-plus/instances.d.ts +0 -202
  73. package/shared/element-plus/version.d.ts +0 -1
  74. package/shared/form/index.d.ts +0 -18
  75. package/shared/helper/index.d.ts +0 -4
  76. package/shared/index.d.ts +0 -2
  77. package/shared/infer-prop/index.d.ts +0 -17
  78. package/shared/progress-it/index.d.ts +0 -16
  79. package/shared/rules/index.d.ts +0 -35
  80. package/shared/types/form/checkbox.d.ts +0 -13
  81. package/shared/types/form/index.d.ts +0 -2
  82. package/shared/types/form/radio.d.ts +0 -8
  83. package/shared/types/index.d.ts +0 -2
  84. package/shared/types/source/index.d.ts +0 -21
  85. package/shared/types/source-manager/index.d.ts +0 -6
  86. package/shared/upload/index.d.ts +0 -7
@@ -1,3 +0,0 @@
1
- import { __VmControlDraw } from '@vumap/core/components/control-draw';
2
- export type EditStyle = __VmControlDraw.StyleLayer;
3
- export {};
@@ -1,65 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var vue = require('vue');
6
- var geoinput = require('@vunk/form/components/geoinput');
7
- var formItemRendererTemplate = require('@vunk/form/components/form-item-renderer-template');
8
- var core = require('@vunk/core');
9
- var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
10
-
11
- const props = {
12
- data: {
13
- type: Object,
14
- default: () => ({})
15
- }
16
- };
17
- const emits = {
18
- setData: (data) => data
19
- };
20
-
21
- var _sfc_main = vue.defineComponent({
22
- name: "VkfTemplatesMapbox",
23
- components: {
24
- VkfGeoinput: geoinput.VkfGeoinput,
25
- VkfFormItemRendererTemplate: formItemRendererTemplate.VkfFormItemRendererTemplate
26
- },
27
- emits,
28
- props,
29
- setup() {
30
- return {
31
- getValue: core.getValue
32
- };
33
- }
34
- });
35
-
36
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
37
- const _component_VkfGeoinput = vue.resolveComponent("VkfGeoinput");
38
- const _component_VkfFormItemRendererTemplate = vue.resolveComponent("VkfFormItemRendererTemplate");
39
- return vue.openBlock(), vue.createBlock(_component_VkfFormItemRendererTemplate, { type: "VkfGeoinput" }, {
40
- default: vue.withCtx(({ data: props, templateIf }) => [
41
- templateIf(_ctx.data) ? (vue.openBlock(), vue.createBlock(_component_VkfGeoinput, vue.mergeProps({ key: 0 }, props, {
42
- "model-value": _ctx.getValue(_ctx.data, props.prop),
43
- "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
44
- k: props.prop,
45
- v: $event
46
- })
47
- }), null, 16, ["model-value", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
48
- ]),
49
- _: 1
50
- /* STABLE */
51
- });
52
- }
53
- var VkfTemplatesMapbox = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/templates-mapbox/src/index.vue"]]);
54
-
55
- var types = /*#__PURE__*/Object.freeze({
56
- __proto__: null
57
- });
58
-
59
- VkfTemplatesMapbox.install = (app) => {
60
- app.component(VkfTemplatesMapbox.name, VkfTemplatesMapbox);
61
- };
62
-
63
- exports.VkfTemplatesMapbox = VkfTemplatesMapbox;
64
- exports.__VkfTemplatesMapbox = types;
65
- exports.default = VkfTemplatesMapbox;
@@ -1,4 +0,0 @@
1
- import VkfTemplatesMapbox from './src/index.vue';
2
- export * as __VkfTemplatesMapbox from './src/types';
3
- export { VkfTemplatesMapbox, };
4
- export default VkfTemplatesMapbox;
@@ -1,59 +0,0 @@
1
- import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, mergeProps, createCommentVNode } from 'vue';
2
- import { VkfGeoinput } from '@vunk/form/components/geoinput';
3
- import { VkfFormItemRendererTemplate } from '@vunk/form/components/form-item-renderer-template';
4
- import { getValue } from '@vunk/core';
5
- import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
6
-
7
- const props = {
8
- data: {
9
- type: Object,
10
- default: () => ({})
11
- }
12
- };
13
- const emits = {
14
- setData: (data) => data
15
- };
16
-
17
- var _sfc_main = defineComponent({
18
- name: "VkfTemplatesMapbox",
19
- components: {
20
- VkfGeoinput,
21
- VkfFormItemRendererTemplate
22
- },
23
- emits,
24
- props,
25
- setup() {
26
- return {
27
- getValue
28
- };
29
- }
30
- });
31
-
32
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
33
- const _component_VkfGeoinput = resolveComponent("VkfGeoinput");
34
- const _component_VkfFormItemRendererTemplate = resolveComponent("VkfFormItemRendererTemplate");
35
- return openBlock(), createBlock(_component_VkfFormItemRendererTemplate, { type: "VkfGeoinput" }, {
36
- default: withCtx(({ data: props, templateIf }) => [
37
- templateIf(_ctx.data) ? (openBlock(), createBlock(_component_VkfGeoinput, mergeProps({ key: 0 }, props, {
38
- "model-value": _ctx.getValue(_ctx.data, props.prop),
39
- "onUpdate:modelValue": ($event) => _ctx.$emit("setData", {
40
- k: props.prop,
41
- v: $event
42
- })
43
- }), null, 16, ["model-value", "onUpdate:modelValue"])) : createCommentVNode("v-if", true)
44
- ]),
45
- _: 1
46
- /* STABLE */
47
- });
48
- }
49
- var VkfTemplatesMapbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/templates-mapbox/src/index.vue"]]);
50
-
51
- var types = /*#__PURE__*/Object.freeze({
52
- __proto__: null
53
- });
54
-
55
- VkfTemplatesMapbox.install = (app) => {
56
- app.component(VkfTemplatesMapbox.name, VkfTemplatesMapbox);
57
- };
58
-
59
- export { VkfTemplatesMapbox, types as __VkfTemplatesMapbox, VkfTemplatesMapbox as default };
@@ -1,43 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- data: {
3
- type: import("vue").PropType<import("@vunk/core").NormalObject>;
4
- default: () => {};
5
- };
6
- }>, {
7
- getValue: (obj: any, k: any, intoUndefined?: import("@vunk/core").IntoUndefined, safe?: boolean) => any;
8
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- setData: (data: import("@vunk/core").SetDataEvent) => import("@vunk/core").SetDataEvent;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- data: {
12
- type: import("vue").PropType<import("@vunk/core").NormalObject>;
13
- default: () => {};
14
- };
15
- }>> & Readonly<{
16
- onSetData?: (data: import("@vunk/core").SetDataEvent) => any;
17
- }>, {
18
- data: import("@vunk/core").NormalObject;
19
- }, {}, {
20
- VkfGeoinput: {
21
- new (...args: any[]): any;
22
- __isFragment?: never;
23
- __isTeleport?: never;
24
- __isSuspense?: never;
25
- } & 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, {
26
- [x: string]: any;
27
- [x: symbol]: any;
28
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
29
- install(app: import("vue").App): void;
30
- };
31
- VkfFormItemRendererTemplate: {
32
- new (...args: any[]): any;
33
- __isFragment?: never;
34
- __isTeleport?: never;
35
- __isSuspense?: never;
36
- } & 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, {
37
- [x: string]: any;
38
- [x: symbol]: any;
39
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
40
- install(app: import("vue").App): void;
41
- };
42
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
- export default _default;
@@ -1,3 +0,0 @@
1
- import { __VkfGeoinput } from '@vunk/form/components/geoinput';
2
- export type Source<P extends string = string> = __VkfGeoinput.Source<P>;
3
- export {};
@@ -1,4 +0,0 @@
1
- import { Media } from '@vunk/core';
2
- import { AllTemplatesSource } from '@vunk/form/shared';
3
- export declare const CORE_FORM_TEMPLATE_OPTIONS: Media<AllTemplatesSource['templateType']>[];
4
- export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfInput" | "VkfInputNumber" | "VkfSelect" | "VkfRadio" | "VkfCheckbox" | "VkfSwitch" | "VkfColorPicker" | "VkfUpload" | "VkfDatePicker" | "VkfButton" | "VkfCascader" | "VkfInputLink" | "ElRow" | "ElCol" | "VkfFlex" | "ElDivider" | "ElLink" | "VkfGeoinput" | "VkfEsriInputGeojson" | "VkfDatePickerRange" | "Component" | "VkfSlider">>;
@@ -1,26 +0,0 @@
1
- export declare const createInputBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"id", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"rows", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"resize", keyof T2> | Extract<"autosize", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"formatter", keyof T2> | Extract<"parser", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"form", keyof T2> | Extract<"clearable", keyof T2> | Extract<"showPassword", keyof T2> | Extract<"showWordLimit", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"containerRole", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"inputStyle", keyof T2> | Extract<"autofocus", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "readonly" | "id" | "maxlength" | "minlength" | "rows" | "ariaLabel" | "modelValue" | "resize" | "autosize" | "autocomplete" | "formatter" | "parser" | "placeholder" | "form" | "clearable" | "showPassword" | "showWordLimit" | "suffixIcon" | "prefixIcon" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "autofocus", keyof T2>]: T2[k]; }[P]; }>;
2
- export declare const createInputOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend", KE> : "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: { [k in "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "mouseleave" | "mouseenter" | "keydown" | "compositionstart" | "compositionupdate" | "compositionend"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
3
- export declare const createFormBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"model", keyof T2> | Extract<"rules", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"requireAsteriskPosition", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"labelSuffix", keyof T2> | Extract<"inline", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"statusIcon", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"validateOnRuleChange", keyof T2> | Extract<"hideRequiredAsterisk", keyof T2> | Extract<"scrollToError", keyof T2> | Extract<"scrollIntoViewOptions", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "size" | "disabled", keyof T2>, KE> : Extract<"model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "size" | "disabled", keyof T2>]: { [k in Extract<"model" | "rules" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "scrollIntoViewOptions" | "size" | "disabled", keyof T2>]: T2[k]; }[P]; }>;
4
- export declare const createFormOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "validate"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"validate", KE> : "validate"]: { [k in "validate"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
5
- export declare const createFormItemBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"required", keyof T2> | Extract<"rules", keyof T2> | Extract<"labelPosition", keyof T2> | Extract<"labelWidth", keyof T2> | Extract<"inlineMessage", keyof T2> | Extract<"showMessage", keyof T2> | Extract<"size", keyof T2> | Extract<"prop", keyof T2> | Extract<"label", keyof T2> | Extract<"error", keyof T2> | Extract<"validateStatus", keyof T2> | Extract<"for", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"required" | "rules" | "labelPosition" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>, KE> : Extract<"required" | "rules" | "labelPosition" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>]: { [k in Extract<"required" | "rules" | "labelPosition" | "labelWidth" | "inlineMessage" | "showMessage" | "size" | "prop" | "label" | "error" | "validateStatus" | "for", keyof T2>]: T2[k]; }[P]; }>;
6
- export declare const createSwitchBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"loading", keyof T2> | Extract<"width", keyof T2> | Extract<"inlinePrompt", keyof T2> | Extract<"inactiveActionIcon", keyof T2> | Extract<"activeActionIcon", keyof T2> | Extract<"activeIcon", keyof T2> | Extract<"inactiveIcon", keyof T2> | Extract<"activeText", keyof T2> | Extract<"inactiveText", keyof T2> | Extract<"activeValue", keyof T2> | Extract<"inactiveValue", keyof T2> | Extract<"beforeChange", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "loading" | "width" | "inlinePrompt" | "inactiveActionIcon" | "activeActionIcon" | "activeIcon" | "inactiveIcon" | "activeText" | "inactiveText" | "activeValue" | "inactiveValue" | "beforeChange", keyof T2>]: T2[k]; }[P]; }>;
7
- export declare const createSwitchOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change", KE> : "update:modelValue" | "input" | "change"]: { [k in "update:modelValue" | "input" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
8
- export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"multiple", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"loading", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"remote", keyof T2> | Extract<"loadingText", keyof T2> | Extract<"noMatchText", keyof T2> | Extract<"noDataText", keyof T2> | Extract<"remoteMethod", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"multipleLimit", keyof T2> | Extract<"defaultFirstOption", keyof T2> | Extract<"reserveKeyword", keyof T2> | Extract<"valueKey", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "name" | "multiple" | "id" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>, KE> : Extract<"size" | "disabled" | "name" | "multiple" | "id" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: { [k in Extract<"size" | "disabled" | "name" | "multiple" | "id" | "modelValue" | "autocomplete" | "placeholder" | "clearable" | "suffixIcon" | "loading" | "automaticDropdown" | "effect" | "filterable" | "allowCreate" | "popperClass" | "remote" | "loadingText" | "noMatchText" | "noDataText" | "remoteMethod" | "filterMethod" | "multipleLimit" | "defaultFirstOption" | "reserveKeyword" | "valueKey" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "clearIcon" | "fitInputWidth" | "tagType", keyof T2>]: T2[k]; }[P]; }>;
9
- export declare const createSelectOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change"]: { [k in "clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
10
- export declare const createDatePickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"name", keyof T2> | Extract<"placement", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"showNow", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"disabledHours", keyof T2> | Extract<"disabledMinutes", keyof T2> | Extract<"disabledSeconds", keyof T2> | Extract<"format", keyof T2> | Extract<"valueFormat", keyof T2> | Extract<"dateFormat", keyof T2> | Extract<"timeFormat", keyof T2> | Extract<"editable", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "readonly" | "name" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "readonly" | "name" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "readonly" | "name" | "placement" | "id" | "ariaLabel" | "modelValue" | "placeholder" | "clearable" | "prefixIcon" | "tabindex" | "validateEvent" | "popperClass" | "clearIcon" | "showNow" | "emptyValues" | "valueOnClear" | "disabledDate" | "cellClassName" | "shortcuts" | "arrowControl" | "unlinkPanels" | "fallbackPlacements" | "disabledHours" | "disabledMinutes" | "disabledSeconds" | "format" | "valueFormat" | "dateFormat" | "timeFormat" | "editable" | "popperOptions" | "rangeSeparator" | "startPlaceholder" | "endPlaceholder" | "defaultValue" | "defaultTime" | "isRange", keyof T2>]: T2[k]; }[P]; }>;
11
- export declare const createDatePickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change", KE> : "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
12
- export declare const createInputNumberBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"precision", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"step", keyof T2> | Extract<"stepStrictly", keyof T2> | Extract<"controls", keyof T2> | Extract<"controlsPosition", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "readonly" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>, KE> : Extract<"size" | "disabled" | "readonly" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>]: { [k in Extract<"size" | "disabled" | "readonly" | "name" | "id" | "precision" | "ariaLabel" | "modelValue" | "placeholder" | "validateEvent" | "min" | "max" | "valueOnClear" | "step" | "stepStrictly" | "controls" | "controlsPosition", keyof T2>]: T2[k]; }[P]; }>;
13
- export declare const createInputNumberOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change" | "focus" | "blur")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change" | "focus" | "blur", KE> : "update:modelValue" | "input" | "change" | "focus" | "blur"]: { [k in "update:modelValue" | "input" | "change" | "focus" | "blur"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
14
- export declare const createRadioGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"textColor", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"fill" | "size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>, KE> : Extract<"fill" | "size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>]: { [k in Extract<"fill" | "size" | "disabled" | "name" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "textColor", keyof T2>]: T2[k]; }[P]; }>;
15
- export declare const createRadioGroupOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change", KE> : "update:modelValue" | "change"]: { [k in "update:modelValue" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
16
- export declare const createCheckboxGroupBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"fill", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"tag", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"textColor", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"fill" | "size" | "disabled" | "tag" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>, KE> : Extract<"fill" | "size" | "disabled" | "tag" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>]: { [k in Extract<"fill" | "size" | "disabled" | "tag" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "textColor", keyof T2>]: T2[k]; }[P]; }>;
17
- export declare const createCheckboxGroupOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change", KE> : "update:modelValue" | "change"]: { [k in "update:modelValue" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
18
- export declare const createUploadBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"data", keyof T2> | Extract<"multiple", keyof T2> | Extract<"beforeUpload", keyof T2> | Extract<"beforeRemove", keyof T2> | Extract<"onRemove", keyof T2> | Extract<"onChange", keyof T2> | Extract<"onPreview", keyof T2> | Extract<"onSuccess", keyof T2> | Extract<"onProgress", keyof T2> | Extract<"onError", keyof T2> | Extract<"onExceed", keyof T2> | Extract<"crossorigin", keyof T2> | Extract<"action", keyof T2> | Extract<"headers", keyof T2> | Extract<"method", keyof T2> | Extract<"drag", keyof T2> | Extract<"withCredentials", keyof T2> | Extract<"showFileList", keyof T2> | Extract<"accept", keyof T2> | Extract<"fileList", keyof T2> | Extract<"autoUpload", keyof T2> | Extract<"listType", keyof T2> | Extract<"httpRequest", keyof T2> | Extract<"limit", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit", keyof T2>, KE> : Extract<"disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit", keyof T2>]: { [k in Extract<"disabled" | "name" | "data" | "multiple" | "beforeUpload" | "beforeRemove" | "onRemove" | "onChange" | "onPreview" | "onSuccess" | "onProgress" | "onError" | "onExceed" | "crossorigin" | "action" | "headers" | "method" | "drag" | "withCredentials" | "showFileList" | "accept" | "fileList" | "autoUpload" | "listType" | "httpRequest" | "limit", keyof T2>]: T2[k]; }[P]; }>;
19
- export declare const createColorPickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"showAlpha", keyof T2> | Extract<"colorFormat", keyof T2> | Extract<"predefine", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>, KE> : Extract<"size" | "disabled" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>]: { [k in Extract<"size" | "disabled" | "id" | "ariaLabel" | "modelValue" | "tabindex" | "validateEvent" | "popperClass" | "teleported" | "showAlpha" | "colorFormat" | "predefine", keyof T2>]: T2[k]; }[P]; }>;
20
- export declare const createColorPickerOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "focus" | "blur" | "activeChange")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "change" | "focus" | "blur" | "activeChange", KE> : "update:modelValue" | "change" | "focus" | "blur" | "activeChange"]: { [k in "update:modelValue" | "change" | "focus" | "blur" | "activeChange"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
21
- export declare const createButtonBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"tag", keyof T2> | Extract<"text", keyof T2> | Extract<"link", keyof T2> | Extract<"dark", keyof T2> | Extract<"icon", keyof T2> | Extract<"circle", keyof T2> | Extract<"plain", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"loading", keyof T2> | Extract<"nativeType", keyof T2> | Extract<"loadingIcon", keyof T2> | Extract<"bg", keyof T2> | Extract<"round", keyof T2> | Extract<"color", keyof T2> | Extract<"autoInsertSpace", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type" | "size" | "disabled" | "tag" | "text" | "link" | "dark" | "icon" | "circle" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>, KE> : Extract<"type" | "size" | "disabled" | "tag" | "text" | "link" | "dark" | "icon" | "circle" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>]: { [k in Extract<"type" | "size" | "disabled" | "tag" | "text" | "link" | "dark" | "icon" | "circle" | "plain" | "autofocus" | "loading" | "nativeType" | "loadingIcon" | "bg" | "round" | "color" | "autoInsertSpace", keyof T2>]: T2[k]; }[P]; }>;
22
- export declare const createButtonOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "click"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"click", KE> : "click"]: { [k in "click"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
23
- export declare const createCascaderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"props", keyof T2> | Extract<"placement", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"options", keyof T2> | Extract<"filterable", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"tagEffect", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect", keyof T2>, KE> : Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect", keyof T2>]: { [k in Extract<"size" | "disabled" | "props" | "placement" | "modelValue" | "placeholder" | "clearable" | "validateEvent" | "options" | "filterable" | "popperClass" | "filterMethod" | "collapseTags" | "collapseTagsTooltip" | "teleported" | "persistent" | "tagType" | "emptyValues" | "valueOnClear" | "fallbackPlacements" | "separator" | "showAllLevels" | "maxCollapseTags" | "debounce" | "beforeFilter" | "tagEffect", keyof T2>]: T2[k]; }[P]; }>;
24
- export declare const createCascaderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: { [k in "clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
25
- export declare const createSliderBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"placement", keyof T2> | Extract<"vertical", keyof T2> | Extract<"id", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"min", keyof T2> | Extract<"max", keyof T2> | Extract<"step", keyof T2> | Extract<"debounce", keyof T2> | Extract<"showInput", keyof T2> | Extract<"showInputControls", keyof T2> | Extract<"inputSize", keyof T2> | Extract<"showStops", keyof T2> | Extract<"showTooltip", keyof T2> | Extract<"formatTooltip", keyof T2> | Extract<"range", keyof T2> | Extract<"height", keyof T2> | Extract<"rangeStartLabel", keyof T2> | Extract<"rangeEndLabel", keyof T2> | Extract<"formatValueText", keyof T2> | Extract<"tooltipClass", keyof T2> | Extract<"marks", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size" | "disabled" | "placement" | "vertical" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "step" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>, KE> : Extract<"size" | "disabled" | "placement" | "vertical" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "step" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>]: { [k in Extract<"size" | "disabled" | "placement" | "vertical" | "id" | "ariaLabel" | "modelValue" | "validateEvent" | "min" | "max" | "step" | "debounce" | "showInput" | "showInputControls" | "inputSize" | "showStops" | "showTooltip" | "formatTooltip" | "range" | "height" | "rangeStartLabel" | "rangeEndLabel" | "formatValueText" | "tooltipClass" | "marks", keyof T2>]: T2[k]; }[P]; }>;
26
- export declare const createSliderOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "input" | "change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue" | "input" | "change", KE> : "update:modelValue" | "input" | "change"]: { [k in "update:modelValue" | "input" | "change"]: (...e: import("@vunk/core").RestParameters<T2>) => void; }[P]; };
@@ -1,3 +0,0 @@
1
- export * from './ctx';
2
- export * from './instances';
3
- export * from './version';
@@ -1,202 +0,0 @@
1
- import { ComponentSize, DatePickType } from 'element-plus';
2
- import { PropType, Component } from 'vue';
3
- export declare const datePickerProps: {
4
- type: {
5
- type: PropType<DatePickType>;
6
- default: string;
7
- };
8
- showNow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
9
- ariaLabel: StringConstructor;
10
- emptyValues: ArrayConstructor;
11
- valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
12
- disabledDate: {
13
- readonly type: import("vue").PropType<Function>;
14
- readonly required: false;
15
- readonly validator: ((val: unknown) => boolean) | undefined;
16
- __epPropKey: true;
17
- };
18
- cellClassName: {
19
- readonly type: import("vue").PropType<Function>;
20
- readonly required: false;
21
- readonly validator: ((val: unknown) => boolean) | undefined;
22
- __epPropKey: true;
23
- };
24
- shortcuts: import("element-plus/es/utils").EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
25
- arrowControl: BooleanConstructor;
26
- tabindex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
27
- validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
28
- unlinkPanels: BooleanConstructor;
29
- placement: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], import("element-plus").Placement, unknown, "bottom", boolean>;
30
- fallbackPlacements: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]) | ((new (...args: any[]) => import("element-plus").Placement[]) | (() => import("element-plus").Placement[]))[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
31
- disabledHours: {
32
- readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledHours>;
33
- readonly required: false;
34
- readonly validator: ((val: unknown) => boolean) | undefined;
35
- __epPropKey: true;
36
- };
37
- disabledMinutes: {
38
- readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledMinutes>;
39
- readonly required: false;
40
- readonly validator: ((val: unknown) => boolean) | undefined;
41
- __epPropKey: true;
42
- };
43
- disabledSeconds: {
44
- readonly type: import("vue").PropType<import("element-plus/es/components/time-picker/src/props/shared").GetDisabledSeconds>;
45
- readonly required: false;
46
- readonly validator: ((val: unknown) => boolean) | undefined;
47
- __epPropKey: true;
48
- };
49
- id: {
50
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
51
- readonly required: false;
52
- readonly validator: ((val: unknown) => boolean) | undefined;
53
- __epPropKey: true;
54
- };
55
- name: {
56
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>>;
57
- readonly required: false;
58
- readonly validator: ((val: unknown) => boolean) | undefined;
59
- __epPropKey: true;
60
- };
61
- popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
62
- format: StringConstructor;
63
- valueFormat: StringConstructor;
64
- dateFormat: StringConstructor;
65
- timeFormat: StringConstructor;
66
- clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
67
- clearIcon: {
68
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>>;
69
- readonly required: false;
70
- readonly validator: ((val: unknown) => boolean) | undefined;
71
- __epPropKey: true;
72
- };
73
- editable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
74
- prefixIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, "", boolean>;
75
- size: {
76
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
77
- readonly required: false;
78
- readonly validator: ((val: unknown) => boolean) | undefined;
79
- __epPropKey: true;
80
- };
81
- readonly: BooleanConstructor;
82
- disabled: BooleanConstructor;
83
- placeholder: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
84
- popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
85
- modelValue: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => string | number | string[] | Date | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType))[], unknown, unknown, "", boolean>;
86
- rangeSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
87
- startPlaceholder: StringConstructor;
88
- endPlaceholder: StringConstructor;
89
- defaultValue: {
90
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
91
- readonly required: false;
92
- readonly validator: ((val: unknown) => boolean) | undefined;
93
- __epPropKey: true;
94
- };
95
- defaultTime: {
96
- readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import("element-plus").SingleOrRange<Date>))[], unknown, unknown>>;
97
- readonly required: false;
98
- readonly validator: ((val: unknown) => boolean) | undefined;
99
- __epPropKey: true;
100
- };
101
- isRange: BooleanConstructor;
102
- };
103
- export declare const datePickerEmits: {
104
- 'update:modelValue': any;
105
- change: any;
106
- focus: any;
107
- blur: any;
108
- 'calendar-change': any;
109
- 'panel-change': any;
110
- 'visible-change': any;
111
- keydown: any;
112
- };
113
- export declare const selectProps: {
114
- name: StringConstructor;
115
- id: StringConstructor;
116
- modelValue: {
117
- type: (ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor | ArrayConstructor)[];
118
- default: any;
119
- };
120
- autocomplete: {
121
- type: StringConstructor;
122
- default: string;
123
- };
124
- automaticDropdown: BooleanConstructor;
125
- size: {
126
- type: PropType<ComponentSize>;
127
- };
128
- effect: {
129
- type: PropType<"light" | "dark" | string>;
130
- default: string;
131
- };
132
- disabled: BooleanConstructor;
133
- clearable: BooleanConstructor;
134
- filterable: BooleanConstructor;
135
- allowCreate: BooleanConstructor;
136
- loading: BooleanConstructor;
137
- popperClass: {
138
- type: StringConstructor;
139
- default: string;
140
- };
141
- remote: BooleanConstructor;
142
- loadingText: StringConstructor;
143
- noMatchText: StringConstructor;
144
- noDataText: StringConstructor;
145
- remoteMethod: FunctionConstructor;
146
- filterMethod: FunctionConstructor;
147
- multiple: BooleanConstructor;
148
- multipleLimit: {
149
- type: NumberConstructor;
150
- default: number;
151
- };
152
- placeholder: {
153
- type: StringConstructor;
154
- };
155
- defaultFirstOption: BooleanConstructor;
156
- reserveKeyword: {
157
- type: BooleanConstructor;
158
- default: boolean;
159
- };
160
- valueKey: {
161
- type: StringConstructor;
162
- default: string;
163
- };
164
- collapseTags: BooleanConstructor;
165
- collapseTagsTooltip: {
166
- type: BooleanConstructor;
167
- default: boolean;
168
- };
169
- teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
170
- persistent: {
171
- type: BooleanConstructor;
172
- default: boolean;
173
- };
174
- clearIcon: {
175
- type: PropType<string | Component>;
176
- default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
177
- };
178
- fitInputWidth: {
179
- type: BooleanConstructor;
180
- default: boolean;
181
- };
182
- suffixIcon: {
183
- type: PropType<string | Component>;
184
- default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
185
- };
186
- tagType: {
187
- default: string;
188
- type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
189
- required: false;
190
- validator: ((val: unknown) => boolean) | undefined;
191
- __epPropKey: true;
192
- };
193
- };
194
- export declare const selectEmits: {
195
- 'update:modelValue': any;
196
- change: any;
197
- 'remove-tag': any;
198
- clear: any;
199
- 'visible-change': any;
200
- focus: any;
201
- blur: any;
202
- };
@@ -1 +0,0 @@
1
- export declare const isGte2_6_0: boolean;
@@ -1,18 +0,0 @@
1
- import { Func, NormalObject } from '@vunk/core';
2
- /**
3
- * 表单验证失败, 处理方式
4
- * 消息提示
5
- * @param err Record<string, {message: string}[]>
6
- */
7
- export declare const validateCatch: (err: any, init?: {
8
- prefix?: string;
9
- suffix?: string;
10
- }) => void;
11
- /**
12
- * 根据 templateIf 生成 显隐函数
13
- * @param templateIfRaw
14
- * @returns
15
- */
16
- export declare const genTemplateIfFunc: Func<[
17
- any
18
- ], (e?: NormalObject) => boolean>;
@@ -1,4 +0,0 @@
1
- export {};
2
- export declare const createDefaultSlots: <T>(o: T | T[]) => {
3
- default: T[];
4
- };
package/shared/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './types';
2
- export * from './const';
@@ -1,17 +0,0 @@
1
- import { __VkfTemplatesDefault } from '@vunk/form/components/templates-default';
2
- export interface PropInfo {
3
- prop?: string | string[];
4
- type: string;
5
- precision?: number;
6
- }
7
- export type InferPropInfo = (item: __VkfTemplatesDefault.CoreSource) => Partial<PropInfo>;
8
- export declare const propInfoAction: {
9
- VkfSelect: InferPropInfo;
10
- VkfRadio: InferPropInfo;
11
- VkfCheckbox: InferPropInfo;
12
- VkfColorPicker: InferPropInfo;
13
- VkfInputNumber: InferPropInfo;
14
- VkfSwitch: InferPropInfo;
15
- VkfUpload: InferPropInfo;
16
- VkfDatePicker: InferPropInfo;
17
- };
@@ -1,16 +0,0 @@
1
- /**
2
- * ref: https://github1s.com/Envov/progress-it/blob/master/src/index.ts#L1-L61
3
- *
4
- */
5
- export type Effect = (percent: number, state: boolean | 'fail') => void;
6
- export type Setter = (newState: boolean | 'fail') => Setter;
7
- type progress = (effect: Effect, option?: Partial<IProgressPotions>) => (initState: boolean) => (newState: boolean | 'fail') => Setter;
8
- type IProgressPotions = {
9
- percent: number;
10
- interval: number;
11
- speed: number;
12
- timeLine: number;
13
- timer: number | undefined;
14
- };
15
- declare const progress: progress;
16
- export default progress;
@@ -1,35 +0,0 @@
1
- export declare const PATTERN: {
2
- /**
3
- * 由数字、26个英文字母或者下划线以及中文组成的字符串
4
- */
5
- normal: RegExp;
6
- /**
7
- * 只能由 中文 和 英文 组成
8
- */
9
- normalName: RegExp;
10
- /**
11
- * 只能由数字、字母、下划线组成, 且不能以下划线和数字开头
12
- */
13
- code: RegExp;
14
- /**
15
- * 只能由数字或字母组成, 且不能以数字开头
16
- */
17
- strictCode: RegExp;
18
- /**
19
- * 只能由字母、数字或特殊字符组成,且长度在8到16之间
20
- */
21
- password: RegExp;
22
- /**
23
- * 要求密码必须同时包含至少一个小写字母、大写字母和数字,且长度在8到16之间。
24
- */
25
- strictPassword: RegExp;
26
- /**
27
- * 正确的手机号码
28
- */
29
- phone: RegExp;
30
- };
31
- export declare const PATTERN_OPTIONS: {
32
- label: string;
33
- value: RegExp;
34
- title: string;
35
- }[];