@vunk/form 2.16.4 → 2.16.6
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/select/index.cjs +14 -9
- package/components/select/index.mjs +8 -3
- package/package.json +1 -1
- package/shared/element-plus/ctx.d.ts +12 -11
- package/shared/element-plus/index.cjs +2 -132
- package/shared/element-plus/index.mjs +2 -130
- package/shared/element-plus/instances.d.ts +2 -99
- package/components/api-tables-select/index.d.ts +0 -4
- package/components/api-tables-select/src/ctx.d.ts +0 -375
- package/components/api-tables-select/src/index.vue.d.ts +0 -1340
- package/components/api-tables-select/src/types.d.ts +0 -19
- package/components/button/index.d.ts +0 -4
- package/components/button/src/ctx.d.ts +0 -193
- package/components/button/src/index.vue.d.ts +0 -851
- package/components/button/src/types.d.ts +0 -13
- package/components/card-input-collection/index.d.ts +0 -4
- package/components/card-input-collection/src/core.vue.d.ts +0 -1125
- package/components/card-input-collection/src/ctx.d.ts +0 -154
- package/components/card-input-collection/src/index.vue.d.ts +0 -287
- package/components/card-input-collection/src/types.d.ts +0 -17
- package/components/cascader/index.d.ts +0 -6
- package/components/cascader/src/ctx.d.ts +0 -343
- package/components/cascader/src/index.vue.d.ts +0 -775
- package/components/cascader/src/types.d.ts +0 -19
- package/components/cascader/src/use.d.ts +0 -5
- package/components/checkbox/index.d.ts +0 -5
- package/components/checkbox/src/ctx.d.ts +0 -146
- package/components/checkbox/src/index.vue.d.ts +0 -1353
- package/components/checkbox/src/types.d.ts +0 -8
- package/components/color-picker/index.d.ts +0 -4
- package/components/color-picker/src/ctx.d.ts +0 -179
- package/components/color-picker/src/index.vue.d.ts +0 -398
- package/components/color-picker/src/types.d.ts +0 -7
- package/components/date-picker/index.d.ts +0 -5
- package/components/date-picker/src/ctx.d.ts +0 -364
- package/components/date-picker/src/index.vue.d.ts +0 -1665
- package/components/date-picker/src/types.d.ts +0 -20
- package/components/date-picker-range/index.d.ts +0 -4
- package/components/date-picker-range/src/ctx.d.ts +0 -372
- package/components/date-picker-range/src/index.vue.d.ts +0 -808
- package/components/date-picker-range/src/types.d.ts +0 -12
- package/components/dialog/index.d.ts +0 -4
- package/components/dialog/src/ctx.d.ts +0 -174
- package/components/dialog/src/index.vue.d.ts +0 -1180
- package/components/dialog/src/types.d.ts +0 -1
- package/components/dialog-input-collection/index.d.ts +0 -4
- package/components/dialog-input-collection/src/ctx.d.ts +0 -141
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +0 -6430
- package/components/dialog-input-collection/src/index.vue.d.ts +0 -7773
- package/components/dialog-input-collection/src/layout.vue.d.ts +0 -85
- package/components/dialog-input-collection/src/types.d.ts +0 -28
- package/components/download-plus/index.d.ts +0 -4
- package/components/download-plus/src/api.d.ts +0 -13
- package/components/download-plus/src/const.d.ts +0 -9
- package/components/download-plus/src/ctx.d.ts +0 -125
- package/components/download-plus/src/index.vue.d.ts +0 -1495
- package/components/download-plus/src/types.d.ts +0 -17
- package/components/editable-text/index.d.ts +0 -4
- package/components/editable-text/src/ctx.d.ts +0 -128
- package/components/editable-text/src/index.vue.d.ts +0 -3389
- package/components/editable-text/src/types.d.ts +0 -1
- package/components/esri-input-geojson/index.d.ts +0 -6
- package/components/esri-input-geojson/src/append.vue.d.ts +0 -1200
- package/components/esri-input-geojson/src/const.d.ts +0 -12
- package/components/esri-input-geojson/src/ctx.d.ts +0 -351
- package/components/esri-input-geojson/src/default-view.vue.d.ts +0 -133
- package/components/esri-input-geojson/src/index.vue.d.ts +0 -1488
- package/components/esri-input-geojson/src/types.d.ts +0 -22
- package/components/esri-input-geojson/src/viewer.vue.d.ts +0 -427
- package/components/fieldset/index.d.ts +0 -4
- package/components/fieldset/src/ctx.d.ts +0 -16
- package/components/fieldset/src/index.vue.d.ts +0 -32
- package/components/fieldset/src/types.d.ts +0 -1
- package/components/fieldset/src/use.d.ts +0 -5
- package/components/form/index.d.ts +0 -5
- package/components/form/src/ctx.d.ts +0 -139
- package/components/form/src/index.vue.d.ts +0 -4027
- package/components/form/src/types.d.ts +0 -25
- package/components/form/src/utils.d.ts +0 -15
- package/components/form-item/index.d.ts +0 -5
- package/components/form-item/src/core.vue.d.ts +0 -1874
- package/components/form-item/src/ctx.d.ts +0 -103
- package/components/form-item/src/index.vue.d.ts +0 -214
- package/components/form-item/src/types.d.ts +0 -10
- package/components/form-item-renderer/index.d.ts +0 -4
- package/components/form-item-renderer/src/core.vue.d.ts +0 -38
- package/components/form-item-renderer/src/ctx.d.ts +0 -16
- package/components/form-item-renderer/src/index.vue.d.ts +0 -93
- package/components/form-item-renderer/src/types.d.ts +0 -5
- package/components/form-item-renderer/src/utils.d.ts +0 -5
- package/components/form-item-renderer-template/index.d.ts +0 -4
- package/components/form-item-renderer-template/src/ctx.d.ts +0 -7
- package/components/form-item-renderer-template/src/index.vue.d.ts +0 -16
- package/components/form-item-renderer-template/src/types.d.ts +0 -55
- package/components/forms-provider/index.d.ts +0 -6
- package/components/forms-provider/src/core.d.ts +0 -6
- package/components/forms-provider/src/index.vue.d.ts +0 -2
- package/components/forms-provider/src/segment.vue.d.ts +0 -9
- package/components/forms-provider/src/types.d.ts +0 -10
- package/components/forms-provider/src/view.vue.d.ts +0 -7
- package/components/information/index.d.ts +0 -4
- package/components/information/src/ctx.d.ts +0 -16
- package/components/information/src/index.vue.d.ts +0 -27
- package/components/information/src/types.d.ts +0 -3
- package/components/information-collection/index.d.ts +0 -4
- package/components/information-collection/src/ctx.d.ts +0 -143
- package/components/information-collection/src/index.vue.d.ts +0 -296
- package/components/information-collection/src/types.d.ts +0 -6
- package/components/information-renderer/index.d.ts +0 -73
- package/components/information-tag/index.d.ts +0 -4
- package/components/information-tag/src/ctx.d.ts +0 -64
- package/components/information-tag/src/index.vue.d.ts +0 -134
- package/components/information-tag/src/types.d.ts +0 -1
- package/components/information-templates-default/index.d.ts +0 -4
- package/components/information-templates-default/src/ctx.d.ts +0 -2
- package/components/information-templates-default/src/index.vue.d.ts +0 -2
- package/components/information-templates-default/src/types.d.ts +0 -1
- package/components/input/index.d.ts +0 -5
- package/components/input/src/ctx.d.ts +0 -280
- package/components/input/src/index.vue.d.ts +0 -1268
- package/components/input/src/types.d.ts +0 -13
- package/components/input-array/index.d.ts +0 -5
- package/components/input-array/src/ctx.d.ts +0 -136
- package/components/input-array/src/form-template.vue.d.ts +0 -901
- package/components/input-array/src/index.vue.d.ts +0 -889
- package/components/input-array/src/types.d.ts +0 -7
- package/components/input-collection/index.d.ts +0 -4
- package/components/input-collection/src/core.vue.d.ts +0 -1203
- package/components/input-collection/src/ctx.d.ts +0 -154
- package/components/input-collection/src/index.vue.d.ts +0 -296
- package/components/input-collection/src/types.d.ts +0 -29
- package/components/input-file/index.d.ts +0 -5
- package/components/input-file/src/ctx.d.ts +0 -46
- package/components/input-file/src/index.vue.d.ts +0 -112
- package/components/input-file/src/template.vue.d.ts +0 -125
- package/components/input-file/src/types.d.ts +0 -8
- package/components/input-link/index.d.ts +0 -4
- package/components/input-link/src/ctx.d.ts +0 -284
- package/components/input-link/src/index.vue.d.ts +0 -602
- package/components/input-link/src/types.d.ts +0 -7
- package/components/input-number/index.d.ts +0 -4
- package/components/input-number/src/ctx.d.ts +0 -221
- package/components/input-number/src/index.vue.d.ts +0 -910
- package/components/input-number/src/types.d.ts +0 -12
- package/components/input-tag/index.d.ts +0 -5
- package/components/input-tag/src/ctx.d.ts +0 -244
- package/components/input-tag/src/index.vue.d.ts +0 -1050
- package/components/input-tag/src/types.d.ts +0 -22
- package/components/monaco-editor/index.d.ts +0 -4
- package/components/monaco-editor/src/ctx.d.ts +0 -111
- package/components/monaco-editor/src/index.vue.d.ts +0 -297
- package/components/monaco-editor/src/types.d.ts +0 -7
- package/components/radio/index.d.ts +0 -4
- package/components/radio/src/ctx.d.ts +0 -165
- package/components/radio/src/index.vue.d.ts +0 -1488
- package/components/radio/src/option.vue.d.ts +0 -901
- package/components/radio/src/types.d.ts +0 -8
- package/components/radio/src/wraper.vue.d.ts +0 -337
- package/components/renderer-data/index.d.ts +0 -4
- package/components/renderer-data/src/ctx.d.ts +0 -12
- package/components/renderer-data/src/index.vue.d.ts +0 -20
- package/components/renderer-data/src/types.d.ts +0 -1
- package/components/select/index.d.ts +0 -5
- package/components/select/src/core.vue.d.ts +0 -1070
- package/components/select/src/ctx.d.ts +0 -238
- package/components/select/src/index.vue.d.ts +0 -639
- package/components/select/src/options.vue.d.ts +0 -24
- package/components/select/src/types.d.ts +0 -13
- package/components/slider/index.d.ts +0 -4
- package/components/slider/src/ctx.d.ts +0 -248
- package/components/slider/src/index.vue.d.ts +0 -579
- package/components/slider/src/types.d.ts +0 -7
- package/components/switch/index.d.ts +0 -4
- package/components/switch/src/ctx.d.ts +0 -201
- package/components/switch/src/index.vue.d.ts +0 -882
- package/components/switch/src/types.d.ts +0 -7
- package/components/tables-select/index.d.ts +0 -5
- package/components/tables-select/src/ctx.d.ts +0 -421
- package/components/tables-select/src/index.vue.d.ts +0 -5510
- package/components/tables-select/src/types.d.ts +0 -9
- package/components/template-instances-provider/index.d.ts +0 -3
- package/components/template-instances-provider/src/index.vue.d.ts +0 -6
- package/components/templates-default/index.d.ts +0 -4
- package/components/templates-default/src/ctx.d.ts +0 -19
- package/components/templates-default/src/index.vue.d.ts +0 -187
- package/components/templates-default/src/types.d.ts +0 -55
- package/components/templates-element-plus/index.d.ts +0 -4
- package/components/templates-element-plus/src/ctx.d.ts +0 -9
- package/components/templates-element-plus/src/index.vue.d.ts +0 -301
- package/components/templates-element-plus/src/types.d.ts +0 -13
- package/components/templates-esri/index.d.ts +0 -4
- package/components/templates-esri/src/ctx.d.ts +0 -11
- package/components/templates-esri/src/index.vue.d.ts +0 -43
- package/components/templates-esri/src/types.d.ts +0 -2
- package/components/templates-layout/index.d.ts +0 -4
- package/components/templates-layout/src/ctx.d.ts +0 -9
- package/components/templates-layout/src/index.vue.d.ts +0 -446
- package/components/templates-layout/src/types.d.ts +0 -32
- package/components/templates-variant/index.d.ts +0 -4
- package/components/templates-variant/src/ctx.d.ts +0 -11
- package/components/templates-variant/src/index.vue.d.ts +0 -43
- package/components/templates-variant/src/types.d.ts +0 -2
- package/components/upload/index.d.ts +0 -5
- package/components/upload/src/ctx.d.ts +0 -291
- package/components/upload/src/file.vue.d.ts +0 -913
- package/components/upload/src/index.vue.d.ts +0 -2347
- package/components/upload/src/types.d.ts +0 -13
- package/components/upload/src/wraper.vue.d.ts +0 -590
- package/components/upload-plus/index.d.ts +0 -6
- package/components/upload-plus/src/api.d.ts +0 -38
- package/components/upload-plus/src/const.d.ts +0 -9
- package/components/upload-plus/src/ctx.d.ts +0 -144
- package/components/upload-plus/src/index.vue.d.ts +0 -1813
- package/components/upload-plus/src/types.d.ts +0 -32
- package/components/van-cascader/index.d.ts +0 -4
- package/components/van-cascader/src/ctx.d.ts +0 -330
- package/components/van-cascader/src/index.vue.d.ts +0 -1241
- package/components/van-cascader/src/types.d.ts +0 -1
- package/components/var-datetime-picker/index.d.ts +0 -4
- package/components/var-datetime-picker/src/const.d.ts +0 -10
- package/components/var-datetime-picker/src/ctx.d.ts +0 -108
- package/components/var-datetime-picker/src/index.vue.d.ts +0 -1622
- package/components/var-datetime-picker/src/types.d.ts +0 -22
- package/components/vditor/index.d.ts +0 -4
- package/components/vditor/src/ctx.d.ts +0 -118
- package/components/vditor/src/index.vue.d.ts +0 -412
- package/components/vditor/src/types.d.ts +0 -7
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var formItem = require('@vunk/form/components/form-item');
|
|
7
|
-
var elementPlus = require('
|
|
7
|
+
var elementPlus = require('element-plus');
|
|
8
8
|
var utilsVue = require('@vunk/core/shared/utils-vue');
|
|
9
|
-
var elementPlus$1 = require('element-plus');
|
|
9
|
+
var elementPlus$1 = require('@vunk/form/shared/element-plus');
|
|
10
10
|
var utilsObject = require('@vunk/core/shared/utils-object');
|
|
11
11
|
var composables = require('@vunk/form/composables');
|
|
12
12
|
var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
|
|
@@ -14,6 +14,11 @@ var _pluginVue_exportHelper = require('../_plugin-vue_export-helper.cjs');
|
|
|
14
14
|
const props = {
|
|
15
15
|
...formItem._VkfFormItemCtx.props,
|
|
16
16
|
...elementPlus.selectProps,
|
|
17
|
+
props: {
|
|
18
|
+
// For Type
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => ({})
|
|
21
|
+
},
|
|
17
22
|
options: {
|
|
18
23
|
type: Array,
|
|
19
24
|
default: () => []
|
|
@@ -86,7 +91,7 @@ var _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
86
91
|
const ItemView = item => {
|
|
87
92
|
let _slot;
|
|
88
93
|
const isGroup = props.optionChildrenProp && Array.isArray(item[props.optionChildrenProp]) && item[props.optionChildrenProp].length > 0;
|
|
89
|
-
return isGroup ? vue.createVNode(elementPlus
|
|
94
|
+
return isGroup ? vue.createVNode(elementPlus.ElOptionGroup, {
|
|
90
95
|
"label": item.label,
|
|
91
96
|
"key": item.value || item.label,
|
|
92
97
|
"disabled": item.disabled
|
|
@@ -94,7 +99,7 @@ var _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
94
99
|
"key": childOption.value
|
|
95
100
|
}, childOption), null))) ? _slot : {
|
|
96
101
|
default: () => [_slot]
|
|
97
|
-
}) : vue.createVNode(elementPlus
|
|
102
|
+
}) : vue.createVNode(elementPlus.ElOption, {
|
|
98
103
|
"key": item.value,
|
|
99
104
|
"value": item.value,
|
|
100
105
|
"class": item.class,
|
|
@@ -116,19 +121,18 @@ var _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
116
121
|
var Options = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main$2, [["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/select/src/options.vue"]]);
|
|
117
122
|
|
|
118
123
|
var _sfc_main$1 = vue.defineComponent({
|
|
119
|
-
name: "VkfSelect",
|
|
120
124
|
components: {
|
|
121
125
|
VkfFormItem: formItem.VkfFormItem,
|
|
122
|
-
ElSelect: elementPlus
|
|
123
|
-
ElOption: elementPlus
|
|
126
|
+
ElSelect: elementPlus.ElSelect,
|
|
127
|
+
ElOption: elementPlus.ElOption,
|
|
124
128
|
Options
|
|
125
129
|
},
|
|
126
130
|
props,
|
|
127
131
|
emits,
|
|
128
132
|
setup(props2, { emit }) {
|
|
129
133
|
const formItemBindProps = formItem._VkfFormItemCtx.createBindProps(props2);
|
|
130
|
-
const selectBindProps = elementPlus.createSelectBindProps(props2, ["disabled", "modelValue"]);
|
|
131
|
-
const selectOnEmits = elementPlus.createSelectOnEmits(emit, ["update:modelValue"]);
|
|
134
|
+
const selectBindProps = elementPlus$1.createSelectBindProps(props2, ["disabled", "modelValue"]);
|
|
135
|
+
const selectOnEmits = elementPlus$1.createSelectOnEmits(emit, ["update:modelValue"]);
|
|
132
136
|
const readonly = composables.useComputedReadonly(props2);
|
|
133
137
|
const theModelValue = vue.computed({
|
|
134
138
|
get: () => {
|
|
@@ -258,6 +262,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
258
262
|
var Core = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/select/src/core.vue"]]);
|
|
259
263
|
|
|
260
264
|
var _sfc_main = vue.defineComponent({
|
|
265
|
+
name: "VkfSelect",
|
|
261
266
|
props,
|
|
262
267
|
emits,
|
|
263
268
|
setup(props2, { emit, slots }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, createVNode, mergeProps, isVNode, computed, ref, watch, nextTick, resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, toHandlers, createSlots, renderSlot, renderList, resolveDynamicComponent, createCommentVNode, h } from 'vue';
|
|
2
2
|
import { _VkfFormItemCtx, VkfFormItem } from '@vunk/form/components/form-item';
|
|
3
|
-
import { selectProps, selectEmits,
|
|
3
|
+
import { selectProps, selectEmits, ElOptionGroup, ElOption, ElSelect } from 'element-plus';
|
|
4
4
|
import { bindPropsFactory, onEmitsFactory, vOn } from '@vunk/core/shared/utils-vue';
|
|
5
|
-
import {
|
|
5
|
+
import { createSelectBindProps, createSelectOnEmits } from '@vunk/form/shared/element-plus';
|
|
6
6
|
import { isNotEmptyObject, isPlainObject } from '@vunk/core/shared/utils-object';
|
|
7
7
|
import { useComputedReadonly } from '@vunk/form/composables';
|
|
8
8
|
import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
@@ -10,6 +10,11 @@ import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
|
|
|
10
10
|
const props = {
|
|
11
11
|
..._VkfFormItemCtx.props,
|
|
12
12
|
...selectProps,
|
|
13
|
+
props: {
|
|
14
|
+
// For Type
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => ({})
|
|
17
|
+
},
|
|
13
18
|
options: {
|
|
14
19
|
type: Array,
|
|
15
20
|
default: () => []
|
|
@@ -112,7 +117,6 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
112
117
|
var Options = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/select/src/options.vue"]]);
|
|
113
118
|
|
|
114
119
|
var _sfc_main$1 = defineComponent({
|
|
115
|
-
name: "VkfSelect",
|
|
116
120
|
components: {
|
|
117
121
|
VkfFormItem,
|
|
118
122
|
ElSelect,
|
|
@@ -254,6 +258,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
254
258
|
var Core = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "/home/runner/work/private-vunk-form/private-vunk-form/packages/components/select/src/core.vue"]]);
|
|
255
259
|
|
|
256
260
|
var _sfc_main = defineComponent({
|
|
261
|
+
name: "VkfSelect",
|
|
257
262
|
props,
|
|
258
263
|
emits,
|
|
259
264
|
setup(props2, { emit, slots }) {
|
package/package.json
CHANGED
|
@@ -24,17 +24,18 @@ export declare const createSwitchOnEmits: <T2 extends import("@vunk/core").AnyFu
|
|
|
24
24
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
25
25
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
26
26
|
}[P]; };
|
|
27
|
-
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<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"multiple", 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<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"multiple", 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<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"multiple", 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<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2>]: T2[k]; }[P]; }>;
|
|
28
|
-
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", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"remove-tag", KE> | Exclude<"visible-change", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "remove-tag" | "visible-change"]: {
|
|
29
|
-
|
|
27
|
+
export declare const createSelectBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"offset", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"options", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placement", keyof T2> | Extract<"loading", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", 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<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"appendTo", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"offset", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"suffixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"automaticDropdown", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"allowCreate", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"remote", keyof T2>, KE> | Exclude<Extract<"loadingText", keyof T2>, KE> | Exclude<Extract<"noMatchText", keyof T2>, KE> | Exclude<Extract<"noDataText", keyof T2>, KE> | Exclude<Extract<"remoteMethod", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"multipleLimit", keyof T2>, KE> | Exclude<Extract<"defaultFirstOption", keyof T2>, KE> | Exclude<Extract<"reserveKeyword", keyof T2>, KE> | Exclude<Extract<"valueKey", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"fitInputWidth", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"remoteShowSuffix", keyof T2>, KE> | Exclude<Extract<"showArrow", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> : Extract<"offset", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"options", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placement", keyof T2> | Extract<"loading", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", 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<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"appendTo", keyof T2>]: { [k in Extract<"offset", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"props", keyof T2> | Extract<"options", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"suffixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"multiple", keyof T2> | Extract<"placement", keyof T2> | Extract<"loading", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"automaticDropdown", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"allowCreate", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", 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<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"fitInputWidth", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"remoteShowSuffix", keyof T2> | Extract<"showArrow", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"appendTo", keyof T2>]: T2[k]; }[P]; }>;
|
|
28
|
+
export declare const createSelectOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "change" | "focus" | "blur" | "popup-scroll" | "remove-tag" | "visible-change")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"popup-scroll", KE> | Exclude<"remove-tag", KE> | Exclude<"visible-change", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "popup-scroll" | "remove-tag" | "visible-change"]: {
|
|
29
|
+
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
30
30
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
"popup-scroll": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
32
|
+
"remove-tag": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
33
|
+
"visible-change": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
34
34
|
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
35
35
|
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
36
|
+
clear: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
36
37
|
}[P]; };
|
|
37
|
-
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<"name", keyof T2> | Extract<"readonly", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"
|
|
38
|
+
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<"name", keyof T2> | Extract<"readonly", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"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", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"prefixIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"popperOptions", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"showNow", keyof T2>, KE> | Exclude<Extract<"showConfirm", keyof T2>, KE> | Exclude<Extract<"showFooter", keyof T2>, KE> | Exclude<Extract<"showWeekNumber", keyof T2>, KE> | Exclude<Extract<"disabledDate", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"shortcuts", keyof T2>, KE> | Exclude<Extract<"arrowControl", keyof T2>, KE> | Exclude<Extract<"unlinkPanels", keyof T2>, KE> | Exclude<Extract<"disabledHours", keyof T2>, KE> | Exclude<Extract<"disabledMinutes", keyof T2>, KE> | Exclude<Extract<"disabledSeconds", keyof T2>, KE> | Exclude<Extract<"format", keyof T2>, KE> | Exclude<Extract<"valueFormat", keyof T2>, KE> | Exclude<Extract<"dateFormat", keyof T2>, KE> | Exclude<Extract<"timeFormat", keyof T2>, KE> | Exclude<Extract<"editable", keyof T2>, KE> | Exclude<Extract<"rangeSeparator", keyof T2>, KE> | Exclude<Extract<"startPlaceholder", keyof T2>, KE> | Exclude<Extract<"endPlaceholder", keyof T2>, KE> | Exclude<Extract<"defaultValue", keyof T2>, KE> | Exclude<Extract<"defaultTime", keyof T2>, KE> | Exclude<Extract<"isRange", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"readonly", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"name", keyof T2> | Extract<"readonly", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"prefixIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"popperOptions", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"showNow", keyof T2> | Extract<"showConfirm", keyof T2> | Extract<"showFooter", keyof T2> | Extract<"showWeekNumber", keyof T2> | Extract<"disabledDate", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"shortcuts", keyof T2> | Extract<"arrowControl", keyof T2> | Extract<"unlinkPanels", 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<"rangeSeparator", keyof T2> | Extract<"startPlaceholder", keyof T2> | Extract<"endPlaceholder", keyof T2> | Extract<"defaultValue", keyof T2> | Extract<"defaultTime", keyof T2> | Extract<"isRange", keyof T2>]: T2[k]; }[P]; }>;
|
|
38
39
|
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", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"keydown", KE> | Exclude<"visible-change", KE> | Exclude<"calendar-change", KE> | Exclude<"panel-change", KE> : "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change"]: {
|
|
39
40
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
40
41
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -64,7 +65,7 @@ export declare const createCheckboxGroupOnEmits: <T2 extends import("@vunk/core"
|
|
|
64
65
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
65
66
|
}[P]; };
|
|
66
67
|
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", keyof T2>, KE> | Exclude<Extract<"name", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"beforeUpload", keyof T2>, KE> | Exclude<Extract<"beforeRemove", keyof T2>, KE> | Exclude<Extract<"onRemove", keyof T2>, KE> | Exclude<Extract<"onChange", keyof T2>, KE> | Exclude<Extract<"onPreview", keyof T2>, KE> | Exclude<Extract<"onSuccess", keyof T2>, KE> | Exclude<Extract<"onProgress", keyof T2>, KE> | Exclude<Extract<"onError", keyof T2>, KE> | Exclude<Extract<"onExceed", keyof T2>, KE> | Exclude<Extract<"crossorigin", keyof T2>, KE> | Exclude<Extract<"action", keyof T2>, KE> | Exclude<Extract<"headers", keyof T2>, KE> | Exclude<Extract<"method", keyof T2>, KE> | Exclude<Extract<"drag", keyof T2>, KE> | Exclude<Extract<"withCredentials", keyof T2>, KE> | Exclude<Extract<"showFileList", keyof T2>, KE> | Exclude<Extract<"accept", keyof T2>, KE> | Exclude<Extract<"fileList", keyof T2>, KE> | Exclude<Extract<"autoUpload", keyof T2>, KE> | Exclude<Extract<"listType", keyof T2>, KE> | Exclude<Extract<"httpRequest", keyof T2>, KE> | Exclude<Extract<"limit", keyof T2>, KE> : 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>]: { [k in 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>]: T2[k]; }[P]; }>;
|
|
67
|
-
export declare const createColorPickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"
|
|
68
|
+
export declare const createColorPickerBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"appendTo", 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", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"appendTo", keyof T2>, KE> | Exclude<Extract<"showAlpha", keyof T2>, KE> | Exclude<Extract<"colorFormat", keyof T2>, KE> | Exclude<Extract<"predefine", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"showAlpha", keyof T2> | Extract<"colorFormat", keyof T2> | Extract<"predefine", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"appendTo", keyof T2> | Extract<"showAlpha", keyof T2> | Extract<"colorFormat", keyof T2> | Extract<"predefine", keyof T2>]: T2[k]; }[P]; }>;
|
|
68
69
|
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", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"activeChange", KE> : "update:modelValue" | "change" | "focus" | "blur" | "activeChange"]: {
|
|
69
70
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
70
71
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -72,11 +73,11 @@ export declare const createColorPickerOnEmits: <T2 extends import("@vunk/core").
|
|
|
72
73
|
focus: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
73
74
|
blur: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
74
75
|
}[P]; };
|
|
75
|
-
export declare const createButtonBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"tag", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"icon", keyof T2> | Extract<"link", keyof T2> | Extract<"circle", keyof T2> | Extract<"text", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"
|
|
76
|
+
export declare const createButtonBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"tag", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"icon", keyof T2> | Extract<"link", keyof T2> | Extract<"circle", keyof T2> | Extract<"text", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"loading", keyof T2> | Extract<"nativeType", keyof T2> | Extract<"loadingIcon", keyof T2> | Extract<"plain", keyof T2> | Extract<"bg", keyof T2> | Extract<"round", keyof T2> | Extract<"color", keyof T2> | Extract<"dark", keyof T2> | Extract<"autoInsertSpace", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"tag", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"icon", keyof T2>, KE> | Exclude<Extract<"link", keyof T2>, KE> | Exclude<Extract<"circle", keyof T2>, KE> | Exclude<Extract<"text", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"loading", keyof T2>, KE> | Exclude<Extract<"nativeType", keyof T2>, KE> | Exclude<Extract<"loadingIcon", keyof T2>, KE> | Exclude<Extract<"plain", keyof T2>, KE> | Exclude<Extract<"bg", keyof T2>, KE> | Exclude<Extract<"round", keyof T2>, KE> | Exclude<Extract<"color", keyof T2>, KE> | Exclude<Extract<"dark", keyof T2>, KE> | Exclude<Extract<"autoInsertSpace", keyof T2>, KE> : Extract<"tag", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"icon", keyof T2> | Extract<"link", keyof T2> | Extract<"circle", keyof T2> | Extract<"text", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"loading", keyof T2> | Extract<"nativeType", keyof T2> | Extract<"loadingIcon", keyof T2> | Extract<"plain", keyof T2> | Extract<"bg", keyof T2> | Extract<"round", keyof T2> | Extract<"color", keyof T2> | Extract<"dark", keyof T2> | Extract<"autoInsertSpace", keyof T2>]: { [k in Extract<"tag", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"icon", keyof T2> | Extract<"link", keyof T2> | Extract<"circle", keyof T2> | Extract<"text", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"loading", keyof T2> | Extract<"nativeType", keyof T2> | Extract<"loadingIcon", keyof T2> | Extract<"plain", keyof T2> | Extract<"bg", keyof T2> | Extract<"round", keyof T2> | Extract<"color", keyof T2> | Extract<"dark", keyof T2> | Extract<"autoInsertSpace", keyof T2>]: T2[k]; }[P]; }>;
|
|
76
77
|
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"]: {
|
|
77
78
|
click: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
78
79
|
}[P]; };
|
|
79
|
-
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<"options", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"
|
|
80
|
+
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<"options", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"props", keyof T2>, KE> | Exclude<Extract<"options", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"placement", keyof T2>, KE> | Exclude<Extract<"emptyValues", keyof T2>, KE> | Exclude<Extract<"valueOnClear", keyof T2>, KE> | Exclude<Extract<"effect", keyof T2>, KE> | Exclude<Extract<"filterable", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"popperStyle", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"persistent", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"fallbackPlacements", keyof T2>, KE> | Exclude<Extract<"separator", keyof T2>, KE> | Exclude<Extract<"showAllLevels", keyof T2>, KE> | Exclude<Extract<"maxCollapseTagsTooltipHeight", keyof T2>, KE> | Exclude<Extract<"debounce", keyof T2>, KE> | Exclude<Extract<"beforeFilter", keyof T2>, KE> | Exclude<Extract<"showCheckedStrategy", keyof T2>, KE> | Exclude<Extract<"checkOnClickNode", keyof T2>, KE> | Exclude<Extract<"showPrefix", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"props", keyof T2> | Extract<"options", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"props", keyof T2> | Extract<"options", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"placement", keyof T2> | Extract<"emptyValues", keyof T2> | Extract<"valueOnClear", keyof T2> | Extract<"effect", keyof T2> | Extract<"filterable", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"popperStyle", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"teleported", keyof T2> | Extract<"persistent", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"fallbackPlacements", keyof T2> | Extract<"separator", keyof T2> | Extract<"showAllLevels", keyof T2> | Extract<"maxCollapseTagsTooltipHeight", keyof T2> | Extract<"debounce", keyof T2> | Extract<"beforeFilter", keyof T2> | Extract<"showCheckedStrategy", keyof T2> | Extract<"checkOnClickNode", keyof T2> | Extract<"showPrefix", keyof T2>]: T2[k]; }[P]; }>;
|
|
80
81
|
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", KE> | Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"visibleChange", KE> | Exclude<"expandChange", KE> | Exclude<"removeTag", KE> : "clear" | "update:modelValue" | "change" | "focus" | "blur" | "visibleChange" | "expandChange" | "removeTag"]: {
|
|
81
82
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
82
83
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -93,7 +94,7 @@ export declare const createSliderOnEmits: <T2 extends import("@vunk/core").AnyFu
|
|
|
93
94
|
input: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
94
95
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
95
96
|
}[P]; };
|
|
96
|
-
export declare const createInputTagBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"trigger", keyof T2> | Extract<"max", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"
|
|
97
|
+
export declare const createInputTagBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"trigger", keyof T2> | Extract<"max", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"draggable", keyof T2> | Extract<"delimiter", keyof T2> | Extract<"saveOnBlur", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> | Exclude<Extract<"trigger", keyof T2>, KE> | Exclude<Extract<"max", keyof T2>, KE> | Exclude<Extract<"maxlength", keyof T2>, KE> | Exclude<Extract<"minlength", keyof T2>, KE> | Exclude<Extract<"ariaLabel", keyof T2>, KE> | Exclude<Extract<"id", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"autocomplete", keyof T2>, KE> | Exclude<Extract<"placeholder", keyof T2>, KE> | Exclude<Extract<"clearable", keyof T2>, KE> | Exclude<Extract<"clearIcon", keyof T2>, KE> | Exclude<Extract<"tabindex", keyof T2>, KE> | Exclude<Extract<"validateEvent", keyof T2>, KE> | Exclude<Extract<"autofocus", keyof T2>, KE> | Exclude<Extract<"collapseTags", keyof T2>, KE> | Exclude<Extract<"collapseTagsTooltip", keyof T2>, KE> | Exclude<Extract<"maxCollapseTags", keyof T2>, KE> | Exclude<Extract<"tagType", keyof T2>, KE> | Exclude<Extract<"tagEffect", keyof T2>, KE> | Exclude<Extract<"draggable", keyof T2>, KE> | Exclude<Extract<"delimiter", keyof T2>, KE> | Exclude<Extract<"saveOnBlur", keyof T2>, KE> : Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"trigger", keyof T2> | Extract<"max", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"draggable", keyof T2> | Extract<"delimiter", keyof T2> | Extract<"saveOnBlur", keyof T2>]: { [k in Extract<"size", keyof T2> | Extract<"disabled", keyof T2> | Extract<"readonly", keyof T2> | Extract<"trigger", keyof T2> | Extract<"max", keyof T2> | Extract<"maxlength", keyof T2> | Extract<"minlength", keyof T2> | Extract<"ariaLabel", keyof T2> | Extract<"id", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"autocomplete", keyof T2> | Extract<"placeholder", keyof T2> | Extract<"clearable", keyof T2> | Extract<"clearIcon", keyof T2> | Extract<"tabindex", keyof T2> | Extract<"validateEvent", keyof T2> | Extract<"autofocus", keyof T2> | Extract<"collapseTags", keyof T2> | Extract<"collapseTagsTooltip", keyof T2> | Extract<"maxCollapseTags", keyof T2> | Extract<"tagType", keyof T2> | Extract<"tagEffect", keyof T2> | Extract<"draggable", keyof T2> | Extract<"delimiter", keyof T2> | Extract<"saveOnBlur", keyof T2>]: T2[k]; }[P]; }>;
|
|
97
98
|
export declare const createInputTagOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "remove-tag" | "add-tag")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"clear", KE> | Exclude<"update:modelValue", KE> | Exclude<"input", KE> | Exclude<"change", KE> | Exclude<"focus", KE> | Exclude<"blur", KE> | Exclude<"remove-tag", KE> | Exclude<"add-tag", KE> : "clear" | "update:modelValue" | "input" | "change" | "focus" | "blur" | "remove-tag" | "add-tag"]: {
|
|
98
99
|
"update:modelValue": (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
99
100
|
change: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
@@ -2,50 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var elementPlus = require('element-plus');
|
|
4
4
|
var utilsVue = require('@vunk/core/shared/utils-vue');
|
|
5
|
-
var vue = require('vue');
|
|
6
|
-
|
|
7
|
-
/*! Element Plus Icons Vue v2.3.1 */
|
|
8
|
-
|
|
9
|
-
var arrow_down_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
name: "ArrowDown",
|
|
11
|
-
__name: "arrow-down",
|
|
12
|
-
setup(__props) {
|
|
13
|
-
return (_ctx, _cache) => (vue.openBlock(), vue.createElementBlock("svg", {
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
-
viewBox: "0 0 1024 1024"
|
|
16
|
-
}, [
|
|
17
|
-
vue.createElementVNode("path", {
|
|
18
|
-
fill: "currentColor",
|
|
19
|
-
d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
|
|
20
|
-
})
|
|
21
|
-
]));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
// src/components/arrow-down.vue
|
|
26
|
-
var arrow_down_default = arrow_down_vue_vue_type_script_setup_true_lang_default;
|
|
27
|
-
var circle_close_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
|
|
28
|
-
name: "CircleClose",
|
|
29
|
-
__name: "circle-close",
|
|
30
|
-
setup(__props) {
|
|
31
|
-
return (_ctx, _cache) => (vue.openBlock(), vue.createElementBlock("svg", {
|
|
32
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
-
viewBox: "0 0 1024 1024"
|
|
34
|
-
}, [
|
|
35
|
-
vue.createElementVNode("path", {
|
|
36
|
-
fill: "currentColor",
|
|
37
|
-
d: "m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"
|
|
38
|
-
}),
|
|
39
|
-
vue.createElementVNode("path", {
|
|
40
|
-
fill: "currentColor",
|
|
41
|
-
d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"
|
|
42
|
-
})
|
|
43
|
-
]));
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
// src/components/circle-close.vue
|
|
48
|
-
var circle_close_default = circle_close_vue_vue_type_script_setup_true_lang_default;
|
|
49
5
|
|
|
50
6
|
const datePickerProps = {
|
|
51
7
|
...elementPlus.timePickerDefaultProps,
|
|
@@ -64,90 +20,6 @@ const datePickerEmits = {
|
|
|
64
20
|
"visible-change": null,
|
|
65
21
|
"keydown": null
|
|
66
22
|
};
|
|
67
|
-
const selectProps = {
|
|
68
|
-
name: String,
|
|
69
|
-
id: String,
|
|
70
|
-
modelValue: {
|
|
71
|
-
type: [Array, String, Number, Boolean, Object],
|
|
72
|
-
default: void 0
|
|
73
|
-
},
|
|
74
|
-
autocomplete: {
|
|
75
|
-
type: String,
|
|
76
|
-
default: "off"
|
|
77
|
-
},
|
|
78
|
-
automaticDropdown: Boolean,
|
|
79
|
-
size: {
|
|
80
|
-
type: String
|
|
81
|
-
},
|
|
82
|
-
effect: {
|
|
83
|
-
type: String,
|
|
84
|
-
default: "light"
|
|
85
|
-
},
|
|
86
|
-
disabled: Boolean,
|
|
87
|
-
clearable: Boolean,
|
|
88
|
-
filterable: Boolean,
|
|
89
|
-
allowCreate: Boolean,
|
|
90
|
-
loading: Boolean,
|
|
91
|
-
popperClass: {
|
|
92
|
-
type: String,
|
|
93
|
-
default: ""
|
|
94
|
-
},
|
|
95
|
-
remote: Boolean,
|
|
96
|
-
loadingText: String,
|
|
97
|
-
noMatchText: String,
|
|
98
|
-
noDataText: String,
|
|
99
|
-
remoteMethod: Function,
|
|
100
|
-
filterMethod: Function,
|
|
101
|
-
multiple: Boolean,
|
|
102
|
-
multipleLimit: {
|
|
103
|
-
type: Number,
|
|
104
|
-
default: 0
|
|
105
|
-
},
|
|
106
|
-
placeholder: {
|
|
107
|
-
type: String
|
|
108
|
-
},
|
|
109
|
-
defaultFirstOption: Boolean,
|
|
110
|
-
reserveKeyword: {
|
|
111
|
-
type: Boolean,
|
|
112
|
-
default: true
|
|
113
|
-
},
|
|
114
|
-
valueKey: {
|
|
115
|
-
type: String,
|
|
116
|
-
default: "value"
|
|
117
|
-
},
|
|
118
|
-
collapseTags: Boolean,
|
|
119
|
-
collapseTagsTooltip: {
|
|
120
|
-
type: Boolean,
|
|
121
|
-
default: false
|
|
122
|
-
},
|
|
123
|
-
teleported: elementPlus.useTooltipContentProps.teleported,
|
|
124
|
-
persistent: {
|
|
125
|
-
type: Boolean,
|
|
126
|
-
default: true
|
|
127
|
-
},
|
|
128
|
-
clearIcon: {
|
|
129
|
-
type: [String, Object],
|
|
130
|
-
default: circle_close_default
|
|
131
|
-
},
|
|
132
|
-
fitInputWidth: {
|
|
133
|
-
type: Boolean,
|
|
134
|
-
default: false
|
|
135
|
-
},
|
|
136
|
-
suffixIcon: {
|
|
137
|
-
type: [String, Object],
|
|
138
|
-
default: arrow_down_default
|
|
139
|
-
},
|
|
140
|
-
tagType: { ...elementPlus.tagProps.type, default: "info" }
|
|
141
|
-
};
|
|
142
|
-
const selectEmits = {
|
|
143
|
-
"update:modelValue": null,
|
|
144
|
-
"change": null,
|
|
145
|
-
"remove-tag": null,
|
|
146
|
-
"clear": null,
|
|
147
|
-
"visible-change": null,
|
|
148
|
-
"focus": null,
|
|
149
|
-
"blur": null
|
|
150
|
-
};
|
|
151
23
|
|
|
152
24
|
const createInputBindProps = utilsVue.bindPropsFactory(elementPlus.inputProps);
|
|
153
25
|
const createInputOnEmits = utilsVue.onEmitsFactory(elementPlus.inputEmits);
|
|
@@ -156,8 +28,8 @@ const createFormOnEmits = utilsVue.onEmitsFactory(elementPlus.formEmits);
|
|
|
156
28
|
const createFormItemBindProps = utilsVue.bindPropsFactory(elementPlus.formItemProps);
|
|
157
29
|
const createSwitchBindProps = utilsVue.bindPropsFactory(elementPlus.switchProps);
|
|
158
30
|
const createSwitchOnEmits = utilsVue.onEmitsFactory(elementPlus.switchEmits);
|
|
159
|
-
const createSelectBindProps = utilsVue.bindPropsFactory(selectProps);
|
|
160
|
-
const createSelectOnEmits = utilsVue.onEmitsFactory(selectEmits);
|
|
31
|
+
const createSelectBindProps = utilsVue.bindPropsFactory(elementPlus.selectProps);
|
|
32
|
+
const createSelectOnEmits = utilsVue.onEmitsFactory(elementPlus.selectEmits);
|
|
161
33
|
const createDatePickerBindProps = utilsVue.bindPropsFactory(datePickerProps);
|
|
162
34
|
const createDatePickerOnEmits = utilsVue.onEmitsFactory(datePickerEmits);
|
|
163
35
|
const createInputNumberBindProps = utilsVue.bindPropsFactory(elementPlus.inputNumberProps);
|
|
@@ -320,5 +192,3 @@ exports.createUploadBindProps = createUploadBindProps;
|
|
|
320
192
|
exports.datePickerEmits = datePickerEmits;
|
|
321
193
|
exports.datePickerProps = datePickerProps;
|
|
322
194
|
exports.isGte2_6_0 = isGte2_6_0;
|
|
323
|
-
exports.selectEmits = selectEmits;
|
|
324
|
-
exports.selectProps = selectProps;
|