jky-component-lib 0.0.64 → 0.0.65

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.
@@ -88,7 +88,7 @@ declare function getFormInstance(): ({
88
88
  validateOnRuleChange: boolean;
89
89
  }> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
90
90
  onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
91
- }>, "labelWidth" | "labelPosition" | "showMessage" | "validate" | "clearValidate" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
91
+ }>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
92
92
  validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
93
93
  validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
94
94
  resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
@@ -195,7 +195,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
195
195
  validateOnRuleChange: boolean;
196
196
  }> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
197
197
  onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
198
- }>, "labelWidth" | "labelPosition" | "showMessage" | "validate" | "clearValidate" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
198
+ }>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
199
199
  validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
200
200
  validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
201
201
  resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
@@ -293,7 +293,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
293
293
  validateOnRuleChange: boolean;
294
294
  }> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
295
295
  onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
296
- }>, "labelWidth" | "labelPosition" | "showMessage" | "validate" | "clearValidate" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
296
+ }>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
297
297
  validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
298
298
  validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
299
299
  resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
@@ -327,16 +327,20 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
327
327
  }) => any) | undefined;
328
328
  }>, {
329
329
  size: import('element-plus').ComponentSize;
330
- labelWidth: string | number;
330
+ grid: import('./types').GridConfig;
331
+ inline: boolean;
331
332
  labelPosition: "left" | "right" | "top";
332
- showFooter: boolean;
333
+ labelWidth: string | number;
333
334
  showTitle: boolean;
334
335
  gutter: number;
335
336
  defaultSpan: number;
336
337
  responsive: boolean;
337
338
  watchDeep: boolean;
339
+ showFooter: boolean;
340
+ footerClass: string;
338
341
  submitText: string;
339
342
  cancelText: string;
343
+ showCount: number;
340
344
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
341
345
  formRef: ({
342
346
  $: import('vue').ComponentInternalInstance;
@@ -423,7 +427,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
423
427
  validateOnRuleChange: boolean;
424
428
  }> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
425
429
  onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
426
- }>, "labelWidth" | "labelPosition" | "showMessage" | "validate" | "clearValidate" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
430
+ }>, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "fields" | "setInitialValues"> & import('vue').ShallowUnwrapRef<{
427
431
  validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
428
432
  validateField: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
429
433
  resetFields: (props?: import('element-plus/es/utils').Arrayable<import('element-plus').FormItemProp>) => void;
@@ -49,18 +49,14 @@ var __async = (__this, __arguments, generator) => {
49
49
  step((generator = generator.apply(__this, __arguments)).next());
50
50
  });
51
51
  };
52
- import { defineComponent, useModel, ref, computed, useAttrs, watch, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, unref, mergeProps, withCtx, Fragment, renderList, createBlock, createTextVNode, mergeModels } from "vue";
53
- import { ElForm, ElButton } from "element-plus";
52
+ import { defineComponent, useModel, provide, ref, useAttrs, computed, watch, openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createVNode, unref, mergeProps, withCtx, Fragment, renderList, createBlock, createElementVNode, createTextVNode, mergeModels } from "vue";
53
+ import { ElForm, ElFormItem, ElButton } from "element-plus";
54
54
  import _sfc_main$1 from "./FormItem.vue.js";
55
55
  /* empty css */
56
56
  const _hoisted_1 = {
57
57
  key: 0,
58
58
  class: "jky-form__title mb-4 text-xl font-semibold"
59
59
  };
60
- const _hoisted_2 = {
61
- key: 1,
62
- class: "jky-form__footer mt-6 flex justify-end gap-2"
63
- };
64
60
  const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, {
65
61
  name: "JkyForm",
66
62
  inheritAttrs: false
@@ -74,15 +70,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
74
70
  gutter: { default: 0 },
75
71
  defaultSpan: { default: 24 },
76
72
  responsive: { type: Boolean, default: true },
73
+ grid: { type: [Boolean, Object], default: false },
77
74
  className: {},
78
75
  readonly: { type: Boolean },
79
76
  disabled: { type: Boolean },
80
77
  watchDeep: { type: Boolean, default: true },
81
- showFooter: { type: Boolean, default: false },
78
+ showFooter: { type: Boolean, default: true },
79
+ footerClass: { default: "" },
82
80
  submitText: { default: "提交" },
83
81
  cancelText: { default: "取消" },
84
82
  submitDisabled: { type: Boolean },
85
83
  cancelDisabled: { type: Boolean },
84
+ showCount: { default: 999 },
86
85
  onValidate: {},
87
86
  onSubmit: {},
88
87
  onReset: {},
@@ -92,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
92
91
  requireAsteriskPosition: {},
93
92
  labelWidth: { default: "100" },
94
93
  labelSuffix: {},
95
- inline: { type: Boolean },
94
+ inline: { type: Boolean, default: false },
96
95
  inlineMessage: { type: Boolean },
97
96
  statusIcon: { type: Boolean },
98
97
  showMessage: { type: Boolean },
@@ -110,57 +109,83 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
110
109
  const props = __props;
111
110
  const emit = __emit;
112
111
  const modelValue = useModel(__props, "modelValue");
112
+ provide("formModel", modelValue);
113
113
  const formRef = ref();
114
+ const attrs = useAttrs();
115
+ const JKY_FORM_PROPS = [
116
+ "modelValue",
117
+ "items",
118
+ "showTitle",
119
+ "title",
120
+ "gutter",
121
+ "defaultSpan",
122
+ "responsive",
123
+ "readonly",
124
+ "disabled",
125
+ "watchDeep",
126
+ "showFooter",
127
+ "footerClass",
128
+ "submitText",
129
+ "cancelText",
130
+ "submitDisabled",
131
+ "cancelDisabled",
132
+ "onValidate",
133
+ "onSubmit",
134
+ "onReset",
135
+ "className",
136
+ "grid",
137
+ "showCount"
138
+ ];
139
+ const elFormProps = computed(() => {
140
+ const formProps = Object.fromEntries(
141
+ Object.entries(props).filter(([key]) => !JKY_FORM_PROPS.includes(key))
142
+ );
143
+ const _a = attrs, { class: _, style } = _a, restAttrs = __objRest(_a, ["class", "style"]);
144
+ return __spreadValues(__spreadValues({}, formProps), restAttrs);
145
+ });
114
146
  const formClass = computed(() => {
115
147
  return [
116
- "jky-form"
148
+ "jky-form",
149
+ attrs.class
117
150
  ].filter(Boolean).join(" ");
118
151
  });
119
- const attrs = useAttrs();
120
- const elFormProps = computed(() => {
121
- const _a = props, {
122
- modelValue: modelValue2,
123
- items,
124
- showTitle,
125
- title,
126
- gutter,
127
- defaultSpan,
128
- responsive,
129
- readonly,
130
- disabled,
131
- watchDeep,
132
- showFooter,
133
- submitText,
134
- cancelText,
135
- submitDisabled,
136
- cancelDisabled,
137
- onValidate,
138
- onSubmit,
139
- onReset
140
- } = _a, rest = __objRest(_a, [
141
- // JkyForm 自己的 props(不传递给 ElForm)
142
- "modelValue",
143
- "items",
144
- "showTitle",
145
- "title",
146
- "gutter",
147
- "defaultSpan",
148
- "responsive",
149
- "readonly",
150
- "disabled",
151
- "watchDeep",
152
- "showFooter",
153
- "submitText",
154
- "cancelText",
155
- "submitDisabled",
156
- "cancelDisabled",
157
- "onValidate",
158
- "onSubmit",
159
- "onReset"
160
- ]);
161
- const _b = rest, { model } = _b, formProps = __objRest(_b, ["model"]);
162
- return __spreadValues(__spreadValues({}, formProps), attrs);
152
+ const _elFormClass = computed(() => {
153
+ const classes = [];
154
+ if (props.inline && props.grid) {
155
+ classes.push("jky-form--grid");
156
+ }
157
+ return classes;
158
+ });
159
+ const _gridStyle = computed(() => {
160
+ if (!props.inline || !props.grid || typeof props.grid === "boolean") {
161
+ return {};
162
+ }
163
+ const style = {};
164
+ const breakpoints = ["xs", "sm", "md", "lg", "xl", "2xl", "3xl"];
165
+ breakpoints.forEach((breakpoint) => {
166
+ const columns = props.grid[breakpoint];
167
+ if (columns !== void 0) {
168
+ style[`--jky-form-grid-cols-${breakpoint}`] = columns;
169
+ }
170
+ });
171
+ return style;
172
+ });
173
+ const showAllItems = ref(false);
174
+ const visibleItems = computed(() => {
175
+ if (!props.items || props.items.length <= props.showCount) {
176
+ return props.items;
177
+ }
178
+ if (showAllItems.value) {
179
+ return props.items;
180
+ }
181
+ return props.items.slice(0, props.showCount);
163
182
  });
183
+ const showMoreButton = computed(() => {
184
+ return props.items && props.items.length > props.showCount;
185
+ });
186
+ function toggleShowMore() {
187
+ showAllItems.value = !showAllItems.value;
188
+ }
164
189
  watch(
165
190
  () => props.modelValue,
166
191
  (newVal, oldVal) => {
@@ -227,11 +252,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
227
252
  __props.showTitle && __props.title ? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
228
253
  createVNode(unref(ElForm), mergeProps({
229
254
  ref_key: "formRef",
230
- ref: formRef,
231
- model: modelValue.value
232
- }, elFormProps.value), {
255
+ ref: formRef
256
+ }, elFormProps.value, {
257
+ model: modelValue.value,
258
+ class: _elFormClass.value,
259
+ style: _gridStyle.value
260
+ }), {
233
261
  default: withCtx(() => [
234
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
262
+ (openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item) => {
235
263
  return openBlock(), createBlock(_sfc_main$1, {
236
264
  key: item.field,
237
265
  field: item.field,
@@ -240,32 +268,54 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
240
268
  readonly: __props.readonly,
241
269
  disabled: __props.disabled
242
270
  }, null, 8, ["field", "config", "model", "readonly", "disabled"]);
243
- }), 128))
271
+ }), 128)),
272
+ showMoreButton.value || props.showFooter ? (openBlock(), createBlock(unref(ElFormItem), {
273
+ key: 0,
274
+ "label-width": 0
275
+ }, {
276
+ default: withCtx(() => [
277
+ createElementVNode("div", {
278
+ class: normalizeClass(["w-full flex gap-2", [props.grid && props.inline ? "justify-center" : "justify-end", props.footerClass]])
279
+ }, [
280
+ showMoreButton.value ? (openBlock(), createBlock(unref(ElButton), {
281
+ key: 0,
282
+ type: "primary",
283
+ onClick: toggleShowMore
284
+ }, {
285
+ default: withCtx(() => [
286
+ createTextVNode(toDisplayString(showAllItems.value ? "收起" : `展开 (${props.items.length - props.showCount})`), 1)
287
+ ]),
288
+ _: 1
289
+ })) : createCommentVNode("", true),
290
+ props.showFooter ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
291
+ createVNode(unref(ElButton), {
292
+ disabled: __props.cancelDisabled || __props.disabled,
293
+ onClick: handleCancel
294
+ }, {
295
+ default: withCtx(() => [
296
+ createTextVNode(toDisplayString(__props.cancelText), 1)
297
+ ]),
298
+ _: 1
299
+ }, 8, ["disabled"]),
300
+ createVNode(unref(ElButton), {
301
+ type: "primary",
302
+ disabled: __props.submitDisabled || __props.disabled,
303
+ loading: false,
304
+ onClick: handleSubmit
305
+ }, {
306
+ default: withCtx(() => [
307
+ createTextVNode(toDisplayString(__props.submitText), 1)
308
+ ]),
309
+ _: 1
310
+ }, 8, ["disabled"])
311
+ ], 64)) : createCommentVNode("", true)
312
+ ], 2)
313
+ ]),
314
+ _: 1
315
+ })) : createCommentVNode("", true)
244
316
  ]),
245
317
  _: 1
246
- }, 16, ["model"]),
247
- props.showFooter ? (openBlock(), createElementBlock("div", _hoisted_2, [
248
- createVNode(unref(ElButton), {
249
- disabled: __props.cancelDisabled || __props.disabled,
250
- onClick: handleCancel
251
- }, {
252
- default: withCtx(() => [
253
- createTextVNode(toDisplayString(__props.cancelText), 1)
254
- ]),
255
- _: 1
256
- }, 8, ["disabled"]),
257
- createVNode(unref(ElButton), {
258
- type: "primary",
259
- disabled: __props.submitDisabled || __props.disabled,
260
- loading: false,
261
- onClick: handleSubmit
262
- }, {
263
- default: withCtx(() => [
264
- createTextVNode(toDisplayString(__props.submitText), 1)
265
- ]),
266
- _: 1
267
- }, 8, ["disabled"])
268
- ])) : createCommentVNode("", true)
318
+ }, 16, ["model", "class", "style"])
269
319
  ], 2);
270
320
  };
271
321
  }
@@ -51,10 +51,12 @@ var __async = (__this, __arguments, generator) => {
51
51
  };
52
52
  import { defineComponent, ref, watch, computed, openBlock, createElementBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, resolveDynamicComponent, Fragment, createTextVNode, toDisplayString, createCommentVNode, createSlots, h } from "vue";
53
53
  import { Plus as plus_default, CircleCloseFilled as circle_close_filled_default, CircleCheckFilled as circle_check_filled_default, WarningFilled as warning_filled_default, QuestionFilled as question_filled_default } from "../node_modules/@element-plus/icons-vue/dist/index.js";
54
- import { ElFormItem, ElDivider, ElInput, ElUpload, ElButton, ElIcon, ElInputNumber, ElRate, ElColorPicker, ElTreeSelect, ElCascader, ElSlider, ElSwitch, ElCheckboxGroup, ElCheckbox, ElRadioGroup, ElRadio, ElTimeSelect, ElTimePicker, ElDatePicker, ElAutocomplete, ElSelect, ElTooltip } from "element-plus";
54
+ import { ElFormItem, ElDivider, ElInput, ElUpload, ElButton, ElIcon, ElInputNumber, ElRate, ElTransfer, ElSelectV2, ElMention, ElInputTag, ElColorPickerPanel, ElColorPicker, ElTreeSelect, ElCascader, ElSlider, ElSwitch, ElCheckboxGroup, ElCheckbox, ElRadioGroup, ElRadio, ElTimeSelect, ElTimePicker, ElDatePicker, ElAutocomplete, ElSelect, ElTooltip } from "element-plus";
55
55
  import { JkyAddInput } from "../add-input/index.js";
56
56
  import { JkyCodeMirrorEditor } from "../code-mirror-editor/index.js";
57
57
  import { JkyRichEditor } from "../rich-editor/index.js";
58
+ import _sfc_main$1 from "./SelectTable.vue.js";
59
+ /* empty css */
58
60
  const _hoisted_1 = {
59
61
  key: 0,
60
62
  style: { "display": "none" }
@@ -209,7 +211,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
209
211
  default: () => props.config.children || null
210
212
  });
211
213
  }
212
- const commonProps = __spreadValues({
214
+ const commonProps = __spreadProps(__spreadValues({
213
215
  // use `undefined` to fix placeholder issue
214
216
  "modelValue": modelValue.value || void 0,
215
217
  "onUpdate:modelValue": (val) => {
@@ -218,7 +220,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
218
220
  "placeholder": props.config.placeholder || void 0,
219
221
  "disabled": props.disabled,
220
222
  "clearable": props.config.clearable
221
- }, componentProps.value);
223
+ }, componentProps.value), {
224
+ "class": ["w-full min-w-25", componentProps.value.class]
225
+ });
222
226
  switch (type) {
223
227
  case "input":
224
228
  return h(ElInput, __spreadProps(__spreadValues({}, commonProps), {
@@ -315,6 +319,54 @@ const _sfc_main = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({
315
319
  }
316
320
  case "color-picker":
317
321
  return h(ElColorPicker, __spreadValues(__spreadValues({}, commonProps), componentProps.value));
322
+ // 颜色选择器面板
323
+ case "color-picker-panel":
324
+ return h(ElColorPickerPanel, __spreadValues(__spreadValues({}, commonProps), componentProps.value));
325
+ // 标签输入框
326
+ case "input-tag": {
327
+ const inputTagProps = __spreadValues(__spreadProps(__spreadValues({}, commonProps), {
328
+ "modelValue": modelValue.value || [],
329
+ "onUpdate:modelValue": (val) => {
330
+ props.model[props.field] = val;
331
+ }
332
+ }), componentProps.value);
333
+ return h(ElInputTag, inputTagProps);
334
+ }
335
+ // 提及组件
336
+ case "mention": {
337
+ const mentionProps = __spreadValues(__spreadProps(__spreadValues({}, commonProps), {
338
+ "modelValue": modelValue.value || "",
339
+ "onUpdate:modelValue": (val) => {
340
+ props.model[props.field] = val;
341
+ }
342
+ }), componentProps.value);
343
+ return h(ElMention, mentionProps);
344
+ }
345
+ // 虚拟化选择器
346
+ case "select-v2": {
347
+ const selectV2Props = __spreadValues(__spreadProps(__spreadValues({}, commonProps), {
348
+ "modelValue": modelValue.value,
349
+ "onUpdate:modelValue": (val) => {
350
+ props.model[props.field] = val;
351
+ },
352
+ "options": componentProps.value.options || []
353
+ }), componentProps.value);
354
+ return h(ElSelectV2, selectV2Props);
355
+ }
356
+ // 穿梭框
357
+ case "transfer": {
358
+ const transferProps = __spreadValues(__spreadProps(__spreadValues({}, commonProps), {
359
+ "modelValue": modelValue.value || [],
360
+ "onUpdate:modelValue": (val) => {
361
+ props.model[props.field] = val;
362
+ },
363
+ "data": componentProps.value.data || []
364
+ }), componentProps.value);
365
+ return h(ElTransfer, transferProps);
366
+ }
367
+ // 表格选择器
368
+ case "select-table":
369
+ return h(_sfc_main$1, __spreadValues(__spreadValues({}, commonProps), componentProps.value));
318
370
  case "rate":
319
371
  return h(ElRate, __spreadValues(__spreadValues({}, commonProps), componentProps.value));
320
372
  case "input-number": {
@@ -0,0 +1,38 @@
1
+ import { SelectTableProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SelectTableProps>, {
3
+ multiple: boolean;
4
+ labelField: string;
5
+ idField: string;
6
+ readonly: boolean;
7
+ disabled: boolean;
8
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (value: string | number | (string | number)[]) => any;
10
+ change: (value: string | number | (string | number)[], selectedData: any[]) => any;
11
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SelectTableProps>, {
12
+ multiple: boolean;
13
+ labelField: string;
14
+ idField: string;
15
+ readonly: boolean;
16
+ disabled: boolean;
17
+ }>>> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
19
+ onChange?: ((value: string | number | (string | number)[], selectedData: any[]) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
24
+ default: D[K];
25
+ }> : P[K];
26
+ };
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToOption<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ type __VLS_PrettifyLocal<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};