@vunk/plus 1.3.2 → 1.3.5

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.
@@ -263,6 +263,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
263
263
  type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
264
264
  default: import("@vunk/shared").AnyFunc;
265
265
  };
266
+ retryTimes: {
267
+ type: NumberConstructor;
268
+ default: number;
269
+ };
266
270
  }>, {
267
271
  props: import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
268
272
  enable: {
@@ -281,11 +285,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
281
285
  type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
282
286
  default: import("@vunk/shared").AnyFunc;
283
287
  };
288
+ retryTimes: {
289
+ type: NumberConstructor;
290
+ default: number;
291
+ };
284
292
  }>> & Readonly<{
285
293
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
286
294
  }> & {}>;
287
295
  emit: (event: "update:status", ...args: any[]) => void;
288
296
  theDef: import("vue").ShallowRef<import("@vunk/shared/promise").Deferred<any> | undefined, import("@vunk/shared/promise").Deferred<any> | undefined>;
297
+ retryTimes: number;
289
298
  processingDef: {
290
299
  _ref: import("vue").ShallowRef<unknown, unknown>;
291
300
  readonly value: unknown;
@@ -311,6 +320,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
311
320
  type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
312
321
  default: import("@vunk/shared").AnyFunc;
313
322
  };
323
+ retryTimes: {
324
+ type: NumberConstructor;
325
+ default: number;
326
+ };
314
327
  }>> & Readonly<{
315
328
  "onUpdate:status"?: ((...args: any[]) => any) | undefined;
316
329
  }>, {
@@ -318,6 +331,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
318
331
  pause: boolean;
319
332
  enable: boolean;
320
333
  status: import("../../broadcasting-markdown").ParagraphStatus;
334
+ retryTimes: number;
321
335
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
322
336
  VkTypingMarkdown: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
323
337
  source: {
@@ -481,7 +495,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
481
495
  })>;
482
496
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
483
497
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
484
- CustomSpeechView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
498
+ HowlerSpeechView: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
485
499
  data: {
486
500
  type: import("vue").PropType<import("../../broadcasting-markdown/src/types").Paragraph>;
487
501
  default: () => {};
@@ -1080,7 +1094,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1080
1094
  __epPropKey: true;
1081
1095
  };
1082
1096
  readonly disabled: BooleanConstructor;
1083
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
1097
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
1084
1098
  readonly icon: {
1085
1099
  readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
1086
1100
  readonly required: false;
@@ -1106,7 +1120,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1106
1120
  }, {
1107
1121
  ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
1108
1122
  size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
1109
- type: import("vue").ComputedRef<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger">;
1123
+ type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
1110
1124
  disabled: import("vue").ComputedRef<boolean>;
1111
1125
  shouldAddSpace: import("vue").ComputedRef<boolean>;
1112
1126
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1118,7 +1132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1118
1132
  readonly disabled: boolean;
1119
1133
  readonly round: boolean;
1120
1134
  readonly dark: boolean;
1121
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
1135
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
1122
1136
  readonly bg: boolean;
1123
1137
  readonly loading: boolean;
1124
1138
  readonly autofocus: boolean;
@@ -1142,7 +1156,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1142
1156
  __epPropKey: true;
1143
1157
  };
1144
1158
  readonly disabled: BooleanConstructor;
1145
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
1159
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
1146
1160
  readonly icon: {
1147
1161
  readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
1148
1162
  readonly required: false;
@@ -1168,7 +1182,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1168
1182
  }, {
1169
1183
  ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
1170
1184
  size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
1171
- type: import("vue").ComputedRef<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger">;
1185
+ type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
1172
1186
  disabled: import("vue").ComputedRef<boolean>;
1173
1187
  shouldAddSpace: import("vue").ComputedRef<boolean>;
1174
1188
  }, {}, {}, {}, {
@@ -1178,7 +1192,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1178
1192
  readonly disabled: boolean;
1179
1193
  readonly round: boolean;
1180
1194
  readonly dark: boolean;
1181
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
1195
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
1182
1196
  readonly bg: boolean;
1183
1197
  readonly loading: boolean;
1184
1198
  readonly autofocus: boolean;
@@ -1199,7 +1213,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1199
1213
  __epPropKey: true;
1200
1214
  };
1201
1215
  readonly disabled: BooleanConstructor;
1202
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
1216
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
1203
1217
  readonly icon: {
1204
1218
  readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
1205
1219
  readonly required: false;
@@ -1225,7 +1239,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1225
1239
  }, {
1226
1240
  ref: import("vue").Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
1227
1241
  size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
1228
- type: import("vue").ComputedRef<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger">;
1242
+ type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
1229
1243
  disabled: import("vue").ComputedRef<boolean>;
1230
1244
  shouldAddSpace: import("vue").ComputedRef<boolean>;
1231
1245
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1237,7 +1251,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1237
1251
  readonly disabled: boolean;
1238
1252
  readonly round: boolean;
1239
1253
  readonly dark: boolean;
1240
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
1254
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
1241
1255
  readonly bg: boolean;
1242
1256
  readonly loading: boolean;
1243
1257
  readonly autofocus: boolean;
@@ -1261,9 +1275,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1261
1275
  readonly validator: ((val: unknown) => boolean) | undefined;
1262
1276
  __epPropKey: true;
1263
1277
  };
1264
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
1278
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
1265
1279
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
1266
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
1280
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
1267
1281
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
1268
1282
  P: {};
1269
1283
  B: {};
@@ -1278,9 +1292,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1278
1292
  readonly validator: ((val: unknown) => boolean) | undefined;
1279
1293
  __epPropKey: true;
1280
1294
  };
1281
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
1295
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
1282
1296
  }>>, {}, {}, {}, {}, {
1283
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
1297
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
1284
1298
  }>;
1285
1299
  __isFragment?: undefined;
1286
1300
  __isTeleport?: undefined;
@@ -1292,9 +1306,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1292
1306
  readonly validator: ((val: unknown) => boolean) | undefined;
1293
1307
  __epPropKey: true;
1294
1308
  };
1295
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
1309
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
1296
1310
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
1297
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
1311
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
1298
1312
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
1299
1313
  $slots: {
1300
1314
  default?(_: {}): any;
@@ -1852,8 +1866,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1852
1866
  }>> & Readonly<{
1853
1867
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1854
1868
  }>, {
1855
- title: string;
1856
1869
  modelValue: boolean;
1870
+ title: string;
1857
1871
  contentRef: import("@vunk/shared").AnyFunc;
1858
1872
  }, {}, {
1859
1873
  ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<{
@@ -1,6 +1,6 @@
1
+ import { useRecorder } from '@vunk/plus/composables/recorder';
1
2
  import { ElButton, ElMessage } from 'element-plus';
2
- import Recorder from 'recorder-core';
3
- import { defineComponent, ref, shallowRef, onUnmounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, Teleport, createElementVNode, toDisplayString, normalizeClass, mergeProps, withCtx } from 'vue';
3
+ import { defineComponent, ref, onUnmounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, Teleport, createElementVNode, toDisplayString, normalizeClass, mergeProps, withCtx } from 'vue';
4
4
  import 'recorder-core/src/engine/mp3';
5
5
  import 'recorder-core/src/engine/wav';
6
6
  import 'recorder-core/src/engine/mp3-engine';
@@ -70,52 +70,40 @@ var _sfc_main = defineComponent({
70
70
  props,
71
71
  emits,
72
72
  setup(props2, { emit }) {
73
- const supported = ref(false);
74
- const recording = ref(false);
75
73
  const recordingNode = ref();
76
- const wave = shallowRef();
74
+ const { openOrStart, recording, recorder, wave } = useRecorder({
75
+ waveViewRef: recordingNode,
76
+ defaultOptions: {
77
+ onProcess
78
+ }
79
+ });
77
80
  const blobUrl = ref("");
78
81
  let pressTimer = null;
79
- const rec = new Recorder({
80
- // mp3格式,指定采样率hz、比特率kbps
81
- type: "wav",
82
- sampleRate: 16e3,
83
- bitRate: 16,
84
- onProcess
85
- });
86
- const recOpen = () => {
87
- return new Promise((resolve, reject) => {
88
- rec.open(() => {
89
- supported.value = true;
90
- if (Recorder.WaveView) {
91
- wave.value = Recorder.WaveView({
92
- elem: recordingNode.value
93
- });
82
+ const isDragging = ref(false);
83
+ const startRecording = async () => {
84
+ try {
85
+ await openOrStart({
86
+ // 授权时, 取消弹窗
87
+ openThen: () => {
88
+ isDragging.value = false;
89
+ return false;
94
90
  }
95
- resolve(true);
96
- }, (msg, isUserNotAllow) => {
97
- ElMessage.error(`${isUserNotAllow ? "\u7528\u6237\u672A\u6388\u6743, " : ""}\u65E0\u6CD5\u5F55\u97F3:${msg}`);
98
- reject(new Error(msg));
99
91
  });
100
- });
101
- };
102
- const startRecording = async () => {
103
- await recOpen();
104
- if (!supported.value)
92
+ } catch (e) {
93
+ ElMessage.error(`\u5F55\u97F3\u5931\u8D25:${e}`);
105
94
  return;
106
- rec.start();
95
+ }
107
96
  recording.value = true;
108
97
  };
109
- const isDragging = ref(false);
110
98
  const dragPosition = ref({ x: 0, y: 0 });
111
99
  const cancelZone = ref(false);
112
100
  const isTextZone = ref(false);
113
101
  let isMouseDown = false;
114
102
  const stopRecording = () => {
115
103
  const theTextZone = isTextZone.value;
116
- rec.stop(async (blob) => {
104
+ recorder.stop(async (blob) => {
117
105
  blobUrl.value = (window.URL || webkitURL).createObjectURL(blob);
118
- rec.close();
106
+ recorder.close();
119
107
  recording.value = false;
120
108
  emit("submit", {
121
109
  blob,
@@ -189,7 +177,7 @@ var _sfc_main = defineComponent({
189
177
  clearTimeout(pressTimer);
190
178
  if (isDragging.value) {
191
179
  if (cancelZone.value) {
192
- rec.close();
180
+ recorder.close();
193
181
  } else {
194
182
  stopRecording();
195
183
  }
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
78
78
  __epPropKey: true;
79
79
  };
80
80
  readonly disabled: BooleanConstructor;
81
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
81
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
82
82
  readonly icon: {
83
83
  readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
84
84
  readonly required: false;
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
104
104
  }, {
105
105
  ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
106
106
  size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
107
- type: import("vue").ComputedRef<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger">;
107
+ type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
108
108
  disabled: import("vue").ComputedRef<boolean>;
109
109
  shouldAddSpace: import("vue").ComputedRef<boolean>;
110
110
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
116
116
  readonly disabled: boolean;
117
117
  readonly round: boolean;
118
118
  readonly dark: boolean;
119
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
119
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
120
120
  readonly bg: boolean;
121
121
  readonly loading: boolean;
122
122
  readonly autofocus: boolean;
@@ -140,7 +140,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
140
140
  __epPropKey: true;
141
141
  };
142
142
  readonly disabled: BooleanConstructor;
143
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
143
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
144
144
  readonly icon: {
145
145
  readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
146
146
  readonly required: false;
@@ -166,7 +166,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
166
166
  }, {
167
167
  ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
168
168
  size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
169
- type: import("vue").ComputedRef<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger">;
169
+ type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
170
170
  disabled: import("vue").ComputedRef<boolean>;
171
171
  shouldAddSpace: import("vue").ComputedRef<boolean>;
172
172
  }, {}, {}, {}, {
@@ -176,7 +176,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
176
176
  readonly disabled: boolean;
177
177
  readonly round: boolean;
178
178
  readonly dark: boolean;
179
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
179
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
180
180
  readonly bg: boolean;
181
181
  readonly loading: boolean;
182
182
  readonly autofocus: boolean;
@@ -197,7 +197,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
197
197
  __epPropKey: true;
198
198
  };
199
199
  readonly disabled: BooleanConstructor;
200
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
200
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
201
201
  readonly icon: {
202
202
  readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
203
203
  readonly required: false;
@@ -223,7 +223,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
223
223
  }, {
224
224
  ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
225
225
  size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
226
- type: import("vue").ComputedRef<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger">;
226
+ type: import("vue").ComputedRef<"" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger">;
227
227
  disabled: import("vue").ComputedRef<boolean>;
228
228
  shouldAddSpace: import("vue").ComputedRef<boolean>;
229
229
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -235,7 +235,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
235
235
  readonly disabled: boolean;
236
236
  readonly round: boolean;
237
237
  readonly dark: boolean;
238
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
238
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
239
239
  readonly bg: boolean;
240
240
  readonly loading: boolean;
241
241
  readonly autofocus: boolean;
@@ -259,9 +259,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
259
259
  readonly validator: ((val: unknown) => boolean) | undefined;
260
260
  __epPropKey: true;
261
261
  };
262
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
262
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
263
263
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
264
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
264
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
265
265
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
266
266
  P: {};
267
267
  B: {};
@@ -276,9 +276,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
276
276
  readonly validator: ((val: unknown) => boolean) | undefined;
277
277
  __epPropKey: true;
278
278
  };
279
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
279
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
280
280
  }>>, {}, {}, {}, {}, {
281
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
281
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
282
282
  }>;
283
283
  __isFragment?: undefined;
284
284
  __isTeleport?: undefined;
@@ -290,9 +290,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
290
290
  readonly validator: ((val: unknown) => boolean) | undefined;
291
291
  __epPropKey: true;
292
292
  };
293
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "", boolean>;
293
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown, "", boolean>;
294
294
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
295
- readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
295
+ readonly type: import("element-plus").ButtonType<StringConstructor, "" | "default" | "info" | "success" | "text" | "warning" | "primary" | "danger", unknown>;
296
296
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
297
297
  $slots: {
298
298
  default?(_: {}): any;
@@ -175,14 +175,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
175
175
  });
176
176
  };
177
177
  const sendRender = () => {
178
- return createVNode(Tooltip, {
179
- "title": props2.modelValue ? "\u70B9\u51FB\u53D1\u9001" : "\u8BF7\u8F93\u5165\u5185\u5BB9"
180
- }, {
181
- default: () => [createVNode(SendButton, {
182
- "type": "text",
183
- "icon": createVNode(SendOutlined, null, null)
184
- }, null)]
185
- });
178
+ return createVNode(SendButton, {
179
+ "type": "text",
180
+ "icon": createVNode(SendOutlined, null, null)
181
+ }, null);
186
182
  };
187
183
  const sendAction = () => loading.value ? loadingRender() : sendRender();
188
184
  return createVNode("div", {
@@ -31,8 +31,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
31
  }>> & Readonly<{
32
32
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
33
  }>, {
34
- title: string;
35
34
  modelValue: boolean;
35
+ title: string;
36
36
  contentRef: AnyFunc;
37
37
  }, {}, {
38
38
  ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<{
@@ -552,8 +552,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
552
552
  }>> & Readonly<{
553
553
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
554
554
  }>, {
555
- title: string;
556
555
  modelValue: boolean;
556
+ title: string;
557
557
  contentRef: import("@vunk/shared").AnyFunc;
558
558
  }, {}, {
559
559
  ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<{
@@ -12,8 +12,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
12
  default: boolean;
13
13
  };
14
14
  }>> & Readonly<{
15
- onStop?: ((_: Blob) => any) | undefined;
16
15
  onStart?: ((...args: any[]) => any) | undefined;
16
+ onStop?: ((_: Blob) => any) | undefined;
17
17
  }>, {
18
18
  disabled: boolean;
19
19
  }, {}, {
@@ -222,7 +222,7 @@ export declare const props: {
222
222
  validator: (val: ("ascending" | "descending" | null)[]) => boolean;
223
223
  };
224
224
  };
225
- export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"load", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"start", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"align", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"fixed", keyof T2>, KE> | Exclude<Extract<"small", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"filters", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"load", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"modules", keyof T2>, KE> | Exclude<Extract<"start", keyof T2>, KE> | Exclude<Extract<"fit", keyof T2>, KE> | Exclude<Extract<"background", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"height", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"align", keyof T2>, KE> | Exclude<Extract<"index", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"renderHeader", keyof T2>, KE> | Exclude<Extract<"sortMethod", keyof T2>, KE> | Exclude<Extract<"sortBy", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"selectable", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"filteredValue", keyof T2>, KE> | Exclude<Extract<"sortOrders", keyof T2>, KE> | Exclude<Extract<"labelClassName", keyof T2>, KE> | Exclude<Extract<"property", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"minWidth", keyof T2>, KE> | Exclude<Extract<"sortable", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"columnKey", keyof T2>, KE> | Exclude<Extract<"headerAlign", keyof T2>, KE> | Exclude<Extract<"showOverflowTooltip", keyof T2>, KE> | Exclude<Extract<"reserveSelection", keyof T2>, KE> | Exclude<Extract<"filterPlacement", keyof T2>, KE> | Exclude<Extract<"filterMultiple", keyof T2>, KE> | Exclude<Extract<"showTooltipWhenOverflow", keyof T2>, KE> | Exclude<Extract<"rowKey", keyof T2>, KE> | Exclude<Extract<"summaryMethod", keyof T2>, KE> | Exclude<Extract<"rowClassName", keyof T2>, KE> | Exclude<Extract<"rowStyle", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"cellStyle", keyof T2>, KE> | Exclude<Extract<"headerRowClassName", keyof T2>, KE> | Exclude<Extract<"headerRowStyle", keyof T2>, KE> | Exclude<Extract<"headerCellClassName", keyof T2>, KE> | Exclude<Extract<"headerCellStyle", keyof T2>, KE> | Exclude<Extract<"expandRowKeys", keyof T2>, KE> | Exclude<Extract<"defaultSort", keyof T2>, KE> | Exclude<Extract<"tooltipOptions", keyof T2>, KE> | Exclude<Extract<"spanMethod", keyof T2>, KE> | Exclude<Extract<"treeProps", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"stripe", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"showHeader", keyof T2>, KE> | Exclude<Extract<"showSummary", keyof T2>, KE> | Exclude<Extract<"sumText", keyof T2>, KE> | Exclude<Extract<"highlightCurrentRow", keyof T2>, KE> | Exclude<Extract<"currentRowKey", keyof T2>, KE> | Exclude<Extract<"emptyText", keyof T2>, KE> | Exclude<Extract<"defaultExpandAll", keyof T2>, KE> | Exclude<Extract<"tooltipEffect", keyof T2>, KE> | Exclude<Extract<"selectOnIndeterminate", keyof T2>, KE> | Exclude<Extract<"indent", keyof T2>, KE> | Exclude<Extract<"lazy", keyof T2>, KE> | Exclude<Extract<"tableLayout", keyof T2>, KE> | Exclude<Extract<"scrollbarAlwaysOn", keyof T2>, KE> | Exclude<Extract<"flexible", keyof T2>, KE> | Exclude<Extract<"appendFilterPanelTo", keyof T2>, KE> | Exclude<Extract<"scrollbarTabindex", keyof T2>, KE> | Exclude<Extract<"pageSize", keyof T2>, KE> | Exclude<Extract<"defaultPageSize", keyof T2>, KE> | Exclude<Extract<"total", keyof T2>, KE> | Exclude<Extract<"pageCount", keyof T2>, KE> | Exclude<Extract<"pagerCount", keyof T2>, KE> | Exclude<Extract<"currentPage", keyof T2>, KE> | Exclude<Extract<"defaultCurrentPage", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"pageSizes", keyof T2>, KE> | Exclude<Extract<"prevText", keyof T2>, KE> | Exclude<Extract<"prevIcon", keyof T2>, KE> | Exclude<Extract<"nextText", keyof T2>, KE> | Exclude<Extract<"nextIcon", keyof T2>, KE> | Exclude<Extract<"hideOnSinglePage", keyof T2>, KE> | Exclude<Extract<"appendSizeTo", keyof T2>, KE> | Exclude<Extract<"columns", keyof T2>, KE> | Exclude<Extract<"tableClass", keyof T2>, KE> | Exclude<Extract<"tableStyle", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"load", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"start", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"align", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"size", keyof T2> | Extract<"label", keyof T2> | Extract<"load", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"start", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"align", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2>]: T2[k]; }[P]; }>;
225
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"size", keyof T2> | Extract<"start", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"load", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"align", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2>)[]>(propsArg: T2, excludes?: EX | undefined) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"fixed", keyof T2>, KE> | Exclude<Extract<"small", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"filters", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"start", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"modules", keyof T2>, KE> | Exclude<Extract<"load", keyof T2>, KE> | Exclude<Extract<"fit", keyof T2>, KE> | Exclude<Extract<"background", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"height", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"align", keyof T2>, KE> | Exclude<Extract<"index", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"renderHeader", keyof T2>, KE> | Exclude<Extract<"sortMethod", keyof T2>, KE> | Exclude<Extract<"sortBy", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"selectable", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"filteredValue", keyof T2>, KE> | Exclude<Extract<"sortOrders", keyof T2>, KE> | Exclude<Extract<"labelClassName", keyof T2>, KE> | Exclude<Extract<"property", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"minWidth", keyof T2>, KE> | Exclude<Extract<"sortable", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"columnKey", keyof T2>, KE> | Exclude<Extract<"headerAlign", keyof T2>, KE> | Exclude<Extract<"showOverflowTooltip", keyof T2>, KE> | Exclude<Extract<"reserveSelection", keyof T2>, KE> | Exclude<Extract<"filterPlacement", keyof T2>, KE> | Exclude<Extract<"filterMultiple", keyof T2>, KE> | Exclude<Extract<"showTooltipWhenOverflow", keyof T2>, KE> | Exclude<Extract<"rowKey", keyof T2>, KE> | Exclude<Extract<"summaryMethod", keyof T2>, KE> | Exclude<Extract<"rowClassName", keyof T2>, KE> | Exclude<Extract<"rowStyle", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"cellStyle", keyof T2>, KE> | Exclude<Extract<"headerRowClassName", keyof T2>, KE> | Exclude<Extract<"headerRowStyle", keyof T2>, KE> | Exclude<Extract<"headerCellClassName", keyof T2>, KE> | Exclude<Extract<"headerCellStyle", keyof T2>, KE> | Exclude<Extract<"expandRowKeys", keyof T2>, KE> | Exclude<Extract<"defaultSort", keyof T2>, KE> | Exclude<Extract<"tooltipOptions", keyof T2>, KE> | Exclude<Extract<"spanMethod", keyof T2>, KE> | Exclude<Extract<"treeProps", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"stripe", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"showHeader", keyof T2>, KE> | Exclude<Extract<"showSummary", keyof T2>, KE> | Exclude<Extract<"sumText", keyof T2>, KE> | Exclude<Extract<"highlightCurrentRow", keyof T2>, KE> | Exclude<Extract<"currentRowKey", keyof T2>, KE> | Exclude<Extract<"emptyText", keyof T2>, KE> | Exclude<Extract<"defaultExpandAll", keyof T2>, KE> | Exclude<Extract<"tooltipEffect", keyof T2>, KE> | Exclude<Extract<"selectOnIndeterminate", keyof T2>, KE> | Exclude<Extract<"indent", keyof T2>, KE> | Exclude<Extract<"lazy", keyof T2>, KE> | Exclude<Extract<"tableLayout", keyof T2>, KE> | Exclude<Extract<"scrollbarAlwaysOn", keyof T2>, KE> | Exclude<Extract<"flexible", keyof T2>, KE> | Exclude<Extract<"appendFilterPanelTo", keyof T2>, KE> | Exclude<Extract<"scrollbarTabindex", keyof T2>, KE> | Exclude<Extract<"pageSize", keyof T2>, KE> | Exclude<Extract<"defaultPageSize", keyof T2>, KE> | Exclude<Extract<"total", keyof T2>, KE> | Exclude<Extract<"pageCount", keyof T2>, KE> | Exclude<Extract<"pagerCount", keyof T2>, KE> | Exclude<Extract<"currentPage", keyof T2>, KE> | Exclude<Extract<"defaultCurrentPage", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"pageSizes", keyof T2>, KE> | Exclude<Extract<"prevText", keyof T2>, KE> | Exclude<Extract<"prevIcon", keyof T2>, KE> | Exclude<Extract<"nextText", keyof T2>, KE> | Exclude<Extract<"nextIcon", keyof T2>, KE> | Exclude<Extract<"hideOnSinglePage", keyof T2>, KE> | Exclude<Extract<"appendSizeTo", keyof T2>, KE> | Exclude<Extract<"columns", keyof T2>, KE> | Exclude<Extract<"tableClass", keyof T2>, KE> | Exclude<Extract<"tableStyle", keyof T2>, KE> : Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"size", keyof T2> | Extract<"start", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"load", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"align", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2>]: { [k in Extract<"type", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"disabled", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"size", keyof T2> | Extract<"start", keyof T2> | Extract<"elRef", keyof T2> | Extract<"modules", keyof T2> | Extract<"load", keyof T2> | Extract<"fit", keyof T2> | Extract<"background", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"height", keyof T2> | Extract<"width", keyof T2> | Extract<"align", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"appendSizeTo", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2>]: T2[k]; }[P]; }>;
226
226
  export declare const emits: {
227
227
  'update:start': (val: number) => boolean;
228
228
  select: null;
@@ -493,9 +493,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
493
493
  small: boolean;
494
494
  disabled: boolean;
495
495
  data: any[];
496
+ start: number;
496
497
  elRef: import("@vunk/core").AnyFunc;
497
498
  modules: "pagination"[];
498
- start: number;
499
499
  fit: boolean;
500
500
  background: boolean;
501
501
  align: string;