vft 0.0.151 → 0.0.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/es/components/affix/affix.vue.d.ts +1 -1
  2. package/es/components/affix/index.d.ts +2 -2
  3. package/es/components/autocomplete/autocomplete.vue.d.ts +6 -6
  4. package/es/components/autocomplete/index.d.ts +17 -17
  5. package/es/components/button/use-button.js +3 -3
  6. package/es/components/carousel/carousel.vue.d.ts +1 -1
  7. package/es/components/carousel/index.d.ts +19 -19
  8. package/es/components/checkbox/checkbox-button.vue.d.ts +1 -1
  9. package/es/components/checkbox/checkbox-group.vue.d.ts +1 -1
  10. package/es/components/checkbox/checkbox.vue.d.ts +1 -1
  11. package/es/components/checkbox/index.d.ts +10 -10
  12. package/es/components/color-picker/color-picker.vue.d.ts +1 -1
  13. package/es/components/color-picker/index.d.ts +1 -1
  14. package/es/components/date-picker/date-picker.d.ts +1 -1
  15. package/es/components/date-picker/index.d.ts +2 -2
  16. package/es/components/dialog/dialog.vue.d.ts +1 -1
  17. package/es/components/dialog/index.d.ts +2 -2
  18. package/es/components/drawer/drawer.vue.d.ts +1 -1
  19. package/es/components/drawer/index.d.ts +2 -2
  20. package/es/components/dropdown/dropdown.vue.d.ts +1 -1
  21. package/es/components/dropdown/index.d.ts +19 -19
  22. package/es/components/icon/icon.vue2.js +20 -21
  23. package/es/components/index.js +113 -113
  24. package/es/components/input/index.d.ts +12 -12
  25. package/es/components/input/input.vue.d.ts +4 -4
  26. package/es/components/input-number/index.d.ts +3 -3
  27. package/es/components/input-number/input-number.vue.d.ts +3 -3
  28. package/es/components/modal/index.d.ts +11 -11
  29. package/es/components/modal/modal.vue.d.ts +1 -1
  30. package/es/components/multiple-tabs/multiple-tabs.vue2.js +97 -67
  31. package/es/components/popconfirm/index.d.ts +11 -11
  32. package/es/components/popconfirm/popconfirm.vue.d.ts +1 -1
  33. package/es/components/progress/index.d.ts +4 -4
  34. package/es/components/radio/index.d.ts +6 -6
  35. package/es/components/radio/radio-group.vue.d.ts +1 -1
  36. package/es/components/radio/radio.vue.d.ts +1 -1
  37. package/es/components/search/index.d.ts +8 -8
  38. package/es/components/search/search.vue.d.ts +2 -2
  39. package/es/components/select/index.d.ts +8 -8
  40. package/es/components/select/select.vue.d.ts +4 -4
  41. package/es/components/select/useSelect.d.ts +1 -1
  42. package/es/components/side-menu/side-menu.vue2.js +44 -44
  43. package/es/components/slider/index.d.ts +1 -1
  44. package/es/components/slider/slider.vue.d.ts +1 -1
  45. package/es/components/switch/index.d.ts +3 -3
  46. package/es/components/switch/switch.vue.d.ts +3 -3
  47. package/es/components/table/index.d.ts +17 -17
  48. package/es/components/table/table.vue.d.ts +2 -2
  49. package/es/components/tabs/tabs.vue2.js +4 -4
  50. package/es/components/time-picker/common/picker.vue.d.ts +4 -4
  51. package/es/components/time-picker/index.d.ts +2 -2
  52. package/es/components/time-picker/time-picker.d.ts +1 -1
  53. package/es/components/time-select/time-select.vue.d.ts +3 -3
  54. package/es/components/tree/index.d.ts +16 -16
  55. package/es/components/upload/index.d.ts +12 -12
  56. package/es/index.js +113 -113
  57. package/es/package.json.d.ts +1 -1
  58. package/es/package.json.js +1 -1
  59. package/lib/components/affix/affix.vue.d.ts +1 -1
  60. package/lib/components/affix/index.d.ts +2 -2
  61. package/lib/components/autocomplete/autocomplete.vue.d.ts +6 -6
  62. package/lib/components/autocomplete/index.d.ts +17 -17
  63. package/lib/components/button/use-button.cjs +1 -1
  64. package/lib/components/carousel/carousel.vue.d.ts +1 -1
  65. package/lib/components/carousel/index.d.ts +19 -19
  66. package/lib/components/checkbox/checkbox-button.vue.d.ts +1 -1
  67. package/lib/components/checkbox/checkbox-group.vue.d.ts +1 -1
  68. package/lib/components/checkbox/checkbox.vue.d.ts +1 -1
  69. package/lib/components/checkbox/index.d.ts +10 -10
  70. package/lib/components/color-picker/color-picker.vue.d.ts +1 -1
  71. package/lib/components/color-picker/index.d.ts +1 -1
  72. package/lib/components/date-picker/date-picker.d.ts +1 -1
  73. package/lib/components/date-picker/index.d.ts +2 -2
  74. package/lib/components/dialog/dialog.vue.d.ts +1 -1
  75. package/lib/components/dialog/index.d.ts +2 -2
  76. package/lib/components/drawer/drawer.vue.d.ts +1 -1
  77. package/lib/components/drawer/index.d.ts +2 -2
  78. package/lib/components/dropdown/dropdown.vue.d.ts +1 -1
  79. package/lib/components/dropdown/index.d.ts +19 -19
  80. package/lib/components/icon/icon.vue2.cjs +1 -1
  81. package/lib/components/index.cjs +1 -1
  82. package/lib/components/input/index.d.ts +12 -12
  83. package/lib/components/input/input.vue.d.ts +4 -4
  84. package/lib/components/input-number/index.d.ts +3 -3
  85. package/lib/components/input-number/input-number.vue.d.ts +3 -3
  86. package/lib/components/modal/index.d.ts +11 -11
  87. package/lib/components/modal/modal.vue.d.ts +1 -1
  88. package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
  89. package/lib/components/popconfirm/index.d.ts +11 -11
  90. package/lib/components/popconfirm/popconfirm.vue.d.ts +1 -1
  91. package/lib/components/progress/index.d.ts +4 -4
  92. package/lib/components/radio/index.d.ts +6 -6
  93. package/lib/components/radio/radio-group.vue.d.ts +1 -1
  94. package/lib/components/radio/radio.vue.d.ts +1 -1
  95. package/lib/components/search/index.d.ts +8 -8
  96. package/lib/components/search/search.vue.d.ts +2 -2
  97. package/lib/components/select/index.d.ts +8 -8
  98. package/lib/components/select/select.vue.d.ts +4 -4
  99. package/lib/components/select/useSelect.d.ts +1 -1
  100. package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
  101. package/lib/components/slider/index.d.ts +1 -1
  102. package/lib/components/slider/slider.vue.d.ts +1 -1
  103. package/lib/components/switch/index.d.ts +3 -3
  104. package/lib/components/switch/switch.vue.d.ts +3 -3
  105. package/lib/components/table/index.d.ts +17 -17
  106. package/lib/components/table/table.vue.d.ts +2 -2
  107. package/lib/components/tabs/tabs.vue2.cjs +1 -1
  108. package/lib/components/time-picker/common/picker.vue.d.ts +4 -4
  109. package/lib/components/time-picker/index.d.ts +2 -2
  110. package/lib/components/time-picker/time-picker.d.ts +1 -1
  111. package/lib/components/time-select/time-select.vue.d.ts +3 -3
  112. package/lib/components/tree/index.d.ts +16 -16
  113. package/lib/components/upload/index.d.ts +12 -12
  114. package/lib/index.cjs +1 -1
  115. package/lib/package.json.cjs +1 -1
  116. package/lib/package.json.d.ts +1 -1
  117. package/package.json +4 -4
  118. package/web-types.json +1 -1
@@ -56,11 +56,11 @@ export declare const VftInputNumber: import("vft/es/utils").SFCWithInstall<impor
56
56
  focus: () => void;
57
57
  blur: () => void;
58
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- blur: (e: FocusEvent) => void;
60
- focus: (e: FocusEvent) => void;
61
59
  "update:modelValue": (val: number | undefined) => void;
62
60
  change: (cur: number | undefined, prev: number | undefined) => void;
63
61
  input: (val: number | null | undefined) => void;
62
+ blur: (e: FocusEvent) => void;
63
+ focus: (e: FocusEvent) => void;
64
64
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
65
65
  id: {
66
66
  type: globalThis.PropType<string>;
@@ -114,9 +114,9 @@ export declare const VftInputNumber: import("vft/es/utils").SFCWithInstall<impor
114
114
  type: globalThis.PropType<boolean>;
115
115
  };
116
116
  }>> & {
117
+ onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
117
118
  onInput?: ((val: number | null | undefined) => any) | undefined;
118
119
  onBlur?: ((e: FocusEvent) => any) | undefined;
119
- onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
120
120
  onFocus?: ((e: FocusEvent) => any) | undefined;
121
121
  "onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
122
122
  }, {}, {}>> & Record<string, any>;
@@ -74,15 +74,15 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
74
74
  /** @description remove focus the input component */
75
75
  blur: () => void;
76
76
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
- blur: (e: FocusEvent) => void;
78
- focus: (e: FocusEvent) => void;
79
77
  "update:modelValue": (val: number | undefined) => void;
80
78
  change: (cur: number | undefined, prev: number | undefined) => void;
81
79
  input: (val: number | null | undefined) => void;
80
+ blur: (e: FocusEvent) => void;
81
+ focus: (e: FocusEvent) => void;
82
82
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputNumberProps>>> & {
83
+ onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
83
84
  onInput?: ((val: number | null | undefined) => any) | undefined;
84
85
  onBlur?: ((e: FocusEvent) => any) | undefined;
85
- onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
86
86
  onFocus?: ((e: FocusEvent) => any) | undefined;
87
87
  "onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
88
88
  }, {}, {}>;
@@ -38,11 +38,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
38
38
  type: globalThis.PropType<boolean>;
39
39
  default: boolean;
40
40
  };
41
- closeOnPressEscape: {
41
+ draggable: {
42
42
  type: globalThis.PropType<boolean>;
43
43
  default: boolean;
44
44
  };
45
- draggable: {
45
+ closeOnPressEscape: {
46
46
  type: globalThis.PropType<boolean>;
47
47
  default: boolean;
48
48
  };
@@ -151,11 +151,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
151
151
  type: globalThis.PropType<boolean>;
152
152
  default: boolean;
153
153
  };
154
- closeOnPressEscape: {
154
+ draggable: {
155
155
  type: globalThis.PropType<boolean>;
156
156
  default: boolean;
157
157
  };
158
- draggable: {
158
+ closeOnPressEscape: {
159
159
  type: globalThis.PropType<boolean>;
160
160
  default: boolean;
161
161
  };
@@ -232,8 +232,8 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
232
232
  trapFocus: boolean;
233
233
  customClass: string;
234
234
  showClose: boolean;
235
- closeOnPressEscape: boolean;
236
235
  draggable: boolean;
236
+ closeOnPressEscape: boolean;
237
237
  alignCenter: boolean;
238
238
  appendToBody: boolean;
239
239
  destroyOnClose: boolean;
@@ -290,11 +290,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
290
290
  type: globalThis.PropType<boolean>;
291
291
  default: boolean;
292
292
  };
293
- closeOnPressEscape: {
293
+ draggable: {
294
294
  type: globalThis.PropType<boolean>;
295
295
  default: boolean;
296
296
  };
297
- draggable: {
297
+ closeOnPressEscape: {
298
298
  type: globalThis.PropType<boolean>;
299
299
  default: boolean;
300
300
  };
@@ -371,8 +371,8 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
371
371
  trapFocus: boolean;
372
372
  customClass: string;
373
373
  showClose: boolean;
374
- closeOnPressEscape: boolean;
375
374
  draggable: boolean;
375
+ closeOnPressEscape: boolean;
376
376
  alignCenter: boolean;
377
377
  appendToBody: boolean;
378
378
  destroyOnClose: boolean;
@@ -426,11 +426,11 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
426
426
  type: globalThis.PropType<boolean>;
427
427
  default: boolean;
428
428
  };
429
- closeOnPressEscape: {
429
+ draggable: {
430
430
  type: globalThis.PropType<boolean>;
431
431
  default: boolean;
432
432
  };
433
- draggable: {
433
+ closeOnPressEscape: {
434
434
  type: globalThis.PropType<boolean>;
435
435
  default: boolean;
436
436
  };
@@ -509,8 +509,8 @@ export declare const VftModal: import("vft/es/utils").SFCWithInstall<{
509
509
  trapFocus: boolean;
510
510
  customClass: string;
511
511
  showClose: boolean;
512
- closeOnPressEscape: boolean;
513
512
  draggable: boolean;
513
+ closeOnPressEscape: boolean;
514
514
  alignCenter: boolean;
515
515
  appendToBody: boolean;
516
516
  destroyOnClose: boolean;
@@ -56,8 +56,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
56
56
  trapFocus: boolean;
57
57
  customClass: string;
58
58
  showClose: boolean;
59
- closeOnPressEscape: boolean;
60
59
  draggable: boolean;
60
+ closeOnPressEscape: boolean;
61
61
  alignCenter: boolean;
62
62
  appendToBody: boolean;
63
63
  destroyOnClose: boolean;
@@ -1,7 +1,7 @@
1
- import { defineComponent as y, getCurrentInstance as A, ref as d, computed as g, watchEffect as E, unref as p, openBlock as I, createElementBlock as N, normalizeClass as V, normalizeStyle as z, createVNode as D } from "vue";
2
- import { useRouterHelper as H, getRouterKeyPath as T, listenerRouteChange as K } from "@vft/router";
3
- import { useMultipleTabStore as W, useTabs as U } from "@vft/store";
4
- import { useRefs as $ } from "@vft/use";
1
+ import { defineComponent as P, getCurrentInstance as D, ref as x, computed as y, watchEffect as H, unref as r, openBlock as h, createElementBlock as R, normalizeClass as K, normalizeStyle as W, createVNode as C, withCtx as S, Fragment as $, renderList as F, createBlock as U } from "vue";
2
+ import { useRouterHelper as j, getRouterKeyPath as f, listenerRouteChange as q } from "@vft/router";
3
+ import { useMultipleTabStore as G, useTabs as J } from "@vft/store";
4
+ import { useRefs as L } from "@vft/use";
5
5
  import "../alert/index.js";
6
6
  import "../avatar/index.js";
7
7
  import "../backtop/index.js";
@@ -64,7 +64,7 @@ import "../slider/index.js";
64
64
  import "../space/index.js";
65
65
  import "../switch/index.js";
66
66
  import "../table/index.js";
67
- import { VftTabs as j } from "../tabs/index.js";
67
+ import { VftTabs as O, VftTabPane as Q } from "../tabs/index.js";
68
68
  import "../tag/index.js";
69
69
  import "../time-picker/index.js";
70
70
  import "../tooltip/index.js";
@@ -88,24 +88,25 @@ import "../md-container/index.js";
88
88
  import "../md-tabs/index.js";
89
89
  import "../md-vue-playground/index.js";
90
90
  import "@vueuse/core";
91
- import { generateCssVars as R } from "../../utils/ns-cover.js";
91
+ import { generateCssVars as _ } from "../../utils/ns-cover.js";
92
92
  import "lodash";
93
- import { useNamespace as q } from "../../hooks/use-namespace/index.js";
93
+ import { useNamespace as X } from "../../hooks/use-namespace/index.js";
94
94
  import "@popperjs/core";
95
95
  import "../../hooks/use-z-index/index.js";
96
96
  import "../message/index.js";
97
97
  import "../infinite-scroll/index.js";
98
98
  import "../progress-i/index.js";
99
- import F from "hotkeys-js";
100
- import { onBeforeRouteLeave as G } from "vue-router";
101
- import { initAffixTabs as J, useTabsDrag as O } from "./use/use-multiple-tabs.js";
102
- const C = (
99
+ import Y from "hotkeys-js";
100
+ import { onBeforeRouteLeave as Z } from "vue-router";
101
+ import tt from "./tab-content.vue2.js";
102
+ import { initAffixTabs as et, useTabsDrag as ot } from "./use/use-multiple-tabs.js";
103
+ const k = (
103
104
  /* hoist-static*/
104
- q("multiple-tabs")
105
- ), Q = y({
106
- name: C.b()
107
- }), Fe = /* @__PURE__ */ y({
108
- ...Q,
105
+ X("multiple-tabs")
106
+ ), rt = P({
107
+ name: k.b()
108
+ }), Ze = /* @__PURE__ */ P({
109
+ ...rt,
109
110
  props: {
110
111
  tabsStyle: {},
111
112
  contextMenuStyle: {},
@@ -113,55 +114,55 @@ const C = (
113
114
  fixTabCount: {},
114
115
  fixExtraScrollWidth: {}
115
116
  },
116
- setup(u) {
117
- const n = A().appContext.config.globalProperties.$router, i = J(n);
118
- u.canDrag && O(i);
119
- const a = W(), r = d(""), m = d(0), c = d(), { go: h } = H(n), f = g(() => a.getTabList.filter((t) => {
117
+ setup(d) {
118
+ const l = D().appContext.config.globalProperties.$router, i = et(l);
119
+ d.canDrag && ot(i);
120
+ const u = G(), m = x(""), a = x(0), b = x(), { go: v } = j(l), c = y(() => u.getTabList.filter((t) => {
120
121
  var e;
121
122
  return !((e = t.meta) != null && e.hideTab);
122
123
  }));
123
- E(() => {
124
+ H(() => {
124
125
  var t;
125
- if (r.value) {
126
- const e = f.value.findIndex((o) => T(o) === r.value);
127
- e === -1 ? m.value = ((t = f.value) == null ? void 0 : t.length) - 1 : m.value = e, m.value = m.value < (i == null ? void 0 : i.length) ? (i == null ? void 0 : i.length) - 1 : m.value;
126
+ if (m.value) {
127
+ const e = c.value.findIndex((o) => f(o) === m.value);
128
+ e === -1 ? a.value = ((t = c.value) == null ? void 0 : t.length) - 1 : a.value = e, a.value = a.value < (i == null ? void 0 : i.length) ? (i == null ? void 0 : i.length) - 1 : a.value;
128
129
  }
129
- }), G(() => {
130
- c.value = p(n.currentRoute);
131
- }), K((t) => {
132
- var x;
133
- if (!t || (x = t.meta) != null && x.hasTokenToRoot)
130
+ }), Z(() => {
131
+ b.value = r(l.currentRoute);
132
+ }), q((t) => {
133
+ var g;
134
+ if (!t || (g = t.meta) != null && g.hasTokenToRoot)
134
135
  return;
135
- const { meta: e = {} } = t, { currentActivePath: o, hideTab: l } = e, s = l ? o : null, v = T(t);
136
- if (r.value !== v && (r.value = v), s) {
137
- let b = n.getRoutes().find((_) => _.path === o);
138
- b && a.addTab(
139
- b,
140
- p(c),
141
- m.value,
136
+ const { meta: e = {} } = t, { currentActivePath: o, hideTab: n } = e, p = n ? o : null, s = f(t);
137
+ if (m.value !== s && (m.value = s), p) {
138
+ let T = l.getRoutes().find((z) => z.path === o);
139
+ T && u.addTab(
140
+ T,
141
+ r(b),
142
+ a.value,
142
143
  t
143
144
  );
144
145
  } else
145
- a.addTab(p(t), p(c), m.value);
146
+ u.addTab(r(t), r(b), a.value);
146
147
  });
147
- function S(t) {
148
- var l, s;
149
- if (r.value === t.paneName)
148
+ function w(t) {
149
+ var n, p;
150
+ if (m.value === t.paneName)
150
151
  return;
151
- const e = f.value[t.attrs.index];
152
- r.value = t.paneName;
153
- const o = (s = (l = e == null ? void 0 : e.meta) == null ? void 0 : l.hideActiveRoute) == null ? void 0 : s.fullPath;
154
- h(o || e.fullPath || e.path);
152
+ const e = c.value[t.attrs.index];
153
+ m.value = t.paneName;
154
+ const o = (p = (n = e == null ? void 0 : e.meta) == null ? void 0 : n.hideActiveRoute) == null ? void 0 : p.fullPath;
155
+ v(o || e.fullPath || e.path);
155
156
  }
156
- function P(t) {
157
- a.closeTabByKey(t, n);
157
+ function B(t) {
158
+ u.closeTabByKey(t, l);
158
159
  }
159
- const { refs: w, setRefs: Y } = $();
160
- function k(t) {
160
+ const { refs: M, setRefs: V } = L();
161
+ function A(t) {
161
162
  const e = t.pane.attrs.index, o = t.event;
162
- w.value[e].handleContext(o);
163
+ M.value[e].handleContext(o);
163
164
  }
164
- const B = g(() => ({ ...R({
165
+ const E = y(() => ({ ..._({
165
166
  padding: "4px 0 0",
166
167
  "border-bottom": "none",
167
168
  "header-height": "26px",
@@ -174,35 +175,64 @@ const C = (
174
175
  "header-margin": "0 0 0 8px",
175
176
  "item-border-radius": "5px 5px 0 0",
176
177
  "item-border": "none"
177
- }, "tabs"), ...u.tabsStyle })), { closeCurrent: M } = U();
178
- return F("command+e, ctrl+e", function() {
179
- return M(), !1;
180
- }), {
181
- ...R(
178
+ }, "tabs"), ...d.tabsStyle })), { closeCurrent: I } = J();
179
+ Y("command+e, ctrl+e", function() {
180
+ return I(), !1;
181
+ });
182
+ const N = {
183
+ ..._(
182
184
  {
183
185
  "sub-item-height": "40px",
184
186
  "item-min-width": "150px"
185
187
  },
186
188
  "menu"
187
189
  ),
188
- ...u.contextMenuStyle
189
- }, (t, e) => (I(), N("div", {
190
- class: V(p(C).b()),
191
- style: z(B.value)
190
+ ...d.contextMenuStyle
191
+ };
192
+ return (t, e) => (h(), R("div", {
193
+ class: K(r(k).b()),
194
+ style: W(E.value)
192
195
  }, [
193
- D(p(j), {
196
+ C(r(O), {
194
197
  "show-bar": !1,
195
198
  "fix-tab-count": t.fixTabCount,
196
199
  "fix-extra-scroll-width": t.fixExtraScrollWidth,
197
- "model-value": r.value,
198
- "onUpdate:modelValue": e[0] || (e[0] = (o) => r.value = o),
199
- onTabClick: S,
200
- onTabRemove: P,
201
- onTabContextMenu: k
202
- }, null, 8, ["fix-tab-count", "fix-extra-scroll-width", "model-value"])
200
+ "model-value": m.value,
201
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => m.value = o),
202
+ onTabClick: w,
203
+ onTabRemove: B,
204
+ onTabContextMenu: A
205
+ }, {
206
+ default: S(() => [
207
+ (h(!0), R($, null, F(c.value, (o, n) => {
208
+ var p;
209
+ return h(), U(r(Q), {
210
+ key: r(f)(o) + n,
211
+ closable: !((p = o.meta) != null && p.affix),
212
+ index: n,
213
+ name: r(f)(o)
214
+ }, {
215
+ label: S(() => {
216
+ var s;
217
+ return [
218
+ C(tt, {
219
+ "context-menu-style": N,
220
+ "affix-num": (s = r(i)) == null ? void 0 : s.length,
221
+ ref_for: !0,
222
+ ref: r(V)(n),
223
+ "tab-item": o
224
+ }, null, 8, ["affix-num", "tab-item"])
225
+ ];
226
+ }),
227
+ _: 2
228
+ }, 1032, ["closable", "index", "name"]);
229
+ }), 128))
230
+ ]),
231
+ _: 1
232
+ }, 8, ["fix-tab-count", "fix-extra-scroll-width", "model-value"])
203
233
  ], 6));
204
234
  }
205
235
  });
206
236
  export {
207
- Fe as default
237
+ Ze as default
208
238
  };
@@ -15,11 +15,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
15
15
  type: globalThis.PropType<string | import("..").IconProps>;
16
16
  default: string;
17
17
  };
18
- teleported: {
18
+ persistent: {
19
19
  type: globalThis.PropType<boolean>;
20
20
  default: boolean;
21
21
  };
22
- persistent: {
22
+ teleported: {
23
23
  type: globalThis.PropType<boolean>;
24
24
  default: boolean;
25
25
  };
@@ -66,11 +66,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
66
66
  type: globalThis.PropType<string | import("..").IconProps>;
67
67
  default: string;
68
68
  };
69
- teleported: {
69
+ persistent: {
70
70
  type: globalThis.PropType<boolean>;
71
71
  default: boolean;
72
72
  };
73
- persistent: {
73
+ teleported: {
74
74
  type: globalThis.PropType<boolean>;
75
75
  default: boolean;
76
76
  };
@@ -102,8 +102,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
102
102
  width: string | number;
103
103
  hideAfter: number;
104
104
  icon: string | import("..").IconProps;
105
- teleported: boolean;
106
105
  persistent: boolean;
106
+ teleported: boolean;
107
107
  confirmButtonType: import("..").ButtonType;
108
108
  iconColor: string;
109
109
  hideIcon: boolean;
@@ -130,11 +130,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
130
130
  type: globalThis.PropType<string | import("..").IconProps>;
131
131
  default: string;
132
132
  };
133
- teleported: {
133
+ persistent: {
134
134
  type: globalThis.PropType<boolean>;
135
135
  default: boolean;
136
136
  };
137
- persistent: {
137
+ teleported: {
138
138
  type: globalThis.PropType<boolean>;
139
139
  default: boolean;
140
140
  };
@@ -166,8 +166,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
166
166
  width: string | number;
167
167
  hideAfter: number;
168
168
  icon: string | import("..").IconProps;
169
- teleported: boolean;
170
169
  persistent: boolean;
170
+ teleported: boolean;
171
171
  confirmButtonType: import("..").ButtonType;
172
172
  iconColor: string;
173
173
  hideIcon: boolean;
@@ -191,11 +191,11 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
191
191
  type: globalThis.PropType<string | import("..").IconProps>;
192
192
  default: string;
193
193
  };
194
- teleported: {
194
+ persistent: {
195
195
  type: globalThis.PropType<boolean>;
196
196
  default: boolean;
197
197
  };
198
- persistent: {
198
+ teleported: {
199
199
  type: globalThis.PropType<boolean>;
200
200
  default: boolean;
201
201
  };
@@ -230,8 +230,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
230
230
  width: string | number;
231
231
  hideAfter: number;
232
232
  icon: string | import("..").IconProps;
233
- teleported: boolean;
234
233
  persistent: boolean;
234
+ teleported: boolean;
235
235
  confirmButtonType: import("..").ButtonType;
236
236
  iconColor: string;
237
237
  hideIcon: boolean;
@@ -42,8 +42,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
42
  width: string | number;
43
43
  hideAfter: number;
44
44
  icon: string | IconProps;
45
- teleported: boolean;
46
45
  persistent: boolean;
46
+ teleported: boolean;
47
47
  confirmButtonType: ButtonType;
48
48
  iconColor: string;
49
49
  hideIcon: boolean;
@@ -20,7 +20,7 @@ export declare const VftProgress: import("vft/es/utils").SFCWithInstall<{
20
20
  type: globalThis.PropType<number>;
21
21
  };
22
22
  strokeLinecap: {
23
- type: globalThis.PropType<"round" | "square" | "butt">;
23
+ type: globalThis.PropType<"round" | "butt" | "square">;
24
24
  };
25
25
  textInside: {
26
26
  type: globalThis.PropType<boolean>;
@@ -63,7 +63,7 @@ export declare const VftProgress: import("vft/es/utils").SFCWithInstall<{
63
63
  type: globalThis.PropType<number>;
64
64
  };
65
65
  strokeLinecap: {
66
- type: globalThis.PropType<"round" | "square" | "butt">;
66
+ type: globalThis.PropType<"round" | "butt" | "square">;
67
67
  };
68
68
  textInside: {
69
69
  type: globalThis.PropType<boolean>;
@@ -113,7 +113,7 @@ export declare const VftProgress: import("vft/es/utils").SFCWithInstall<{
113
113
  type: globalThis.PropType<number>;
114
114
  };
115
115
  strokeLinecap: {
116
- type: globalThis.PropType<"round" | "square" | "butt">;
116
+ type: globalThis.PropType<"round" | "butt" | "square">;
117
117
  };
118
118
  textInside: {
119
119
  type: globalThis.PropType<boolean>;
@@ -160,7 +160,7 @@ export declare const VftProgress: import("vft/es/utils").SFCWithInstall<{
160
160
  type: globalThis.PropType<number>;
161
161
  };
162
162
  strokeLinecap: {
163
- type: globalThis.PropType<"round" | "square" | "butt">;
163
+ type: globalThis.PropType<"round" | "butt" | "square">;
164
164
  };
165
165
  textInside: {
166
166
  type: globalThis.PropType<boolean>;
@@ -25,8 +25,8 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
25
25
  onChange?: ((...args: any[]) => any) | undefined;
26
26
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
27
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- change: (...args: any[]) => void;
29
28
  "update:modelValue": (...args: any[]) => void;
29
+ change: (...args: any[]) => void;
30
30
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
31
31
  size: {
32
32
  type: globalThis.PropType<"" | "default" | "small" | "large">;
@@ -114,8 +114,8 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
114
114
  onChange?: ((...args: any[]) => any) | undefined;
115
115
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
116
116
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
117
- change: (...args: any[]) => void;
118
117
  "update:modelValue": (...args: any[]) => void;
118
+ change: (...args: any[]) => void;
119
119
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
120
120
  $slots: {
121
121
  default?(_: {}): any;
@@ -242,8 +242,8 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
242
242
  onChange?: ((...args: any[]) => any) | undefined;
243
243
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
244
244
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
245
- change: (...args: any[]) => void;
246
245
  "update:modelValue": (...args: any[]) => void;
246
+ change: (...args: any[]) => void;
247
247
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
248
248
  fill: {
249
249
  type: globalThis.PropType<string>;
@@ -374,8 +374,8 @@ export declare const VftRadio: import("vft/es/utils").SFCWithInstall<{
374
374
  onChange?: ((...args: any[]) => any) | undefined;
375
375
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
376
376
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
377
- change: (...args: any[]) => void;
378
377
  "update:modelValue": (...args: any[]) => void;
378
+ change: (...args: any[]) => void;
379
379
  }, string, {
380
380
  validateEvent: boolean;
381
381
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -424,8 +424,8 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
424
424
  onChange?: ((...args: any[]) => any) | undefined;
425
425
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
426
426
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
427
- change: (...args: any[]) => void;
428
427
  "update:modelValue": (...args: any[]) => void;
428
+ change: (...args: any[]) => void;
429
429
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
430
430
  fill: {
431
431
  type: globalThis.PropType<string>;
@@ -556,8 +556,8 @@ export declare const VftRadioGroup: import("vft/es/utils").SFCWithInstall<{
556
556
  onChange?: ((...args: any[]) => any) | undefined;
557
557
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
558
558
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
559
- change: (...args: any[]) => void;
560
559
  "update:modelValue": (...args: any[]) => void;
560
+ change: (...args: any[]) => void;
561
561
  }, string, {
562
562
  validateEvent: boolean;
563
563
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -16,8 +16,8 @@ export interface RadioGroupProps {
16
16
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioGroupProps>, {
17
17
  validateEvent: boolean;
18
18
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
- change: (...args: any[]) => void;
20
19
  "update:modelValue": (...args: any[]) => void;
20
+ change: (...args: any[]) => void;
21
21
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<RadioGroupProps>, {
22
22
  validateEvent: boolean;
23
23
  }>>> & {
@@ -9,8 +9,8 @@ export interface RadioProps {
9
9
  border?: boolean;
10
10
  }
11
11
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<RadioProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- change: (...args: any[]) => void;
13
12
  "update:modelValue": (...args: any[]) => void;
13
+ change: (...args: any[]) => void;
14
14
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_TypePropsToRuntimeProps<RadioProps>>> & {
15
15
  onChange?: ((...args: any[]) => any) | undefined;
16
16
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;