vft 0.0.513 → 0.0.514

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as me, ref as G, computed as H, watch as J, onMounted as Pe, nextTick as O, unref as d, useSlots as ke, createVNode as f, mergeProps as U, withDirectives as Ce, vShow as Se, isVNode as ve, createTextVNode as ie, resolveComponent as X } from "vue";
1
+ import { defineComponent as fe, ref as G, computed as H, watch as J, onMounted as ke, nextTick as O, unref as d, useSlots as Ce, createVNode as f, mergeProps as U, withDirectives as Se, vShow as ve, isVNode as xe, createTextVNode as ie, resolveComponent as X } from "vue";
2
2
  import "../alert/index.js";
3
3
  import "../avatar/index.js";
4
4
  import "../avatar-stack/index.js";
@@ -18,9 +18,9 @@ import "../collapse-transition/index.js";
18
18
  import "../color-picker/index.js";
19
19
  import "../config-provider/index.js";
20
20
  import "../container/index.js";
21
- import { isBoolean as Z, isFunction as k, singleAttrToObj as ae, isNullOrUndefined as xe, isArray as _, cloneDeep as Ae, isNull as Re, upperFirst as we, isString as Me } from "@vft/utils";
21
+ import { isBoolean as Z, isFunction as k, singleAttrToObj as ae, isNullOrUndefined as Ae, isArray as _, cloneDeep as Re, isString as le, isNull as we, upperFirst as Me } from "@vft/utils";
22
22
  import "../context-menu/context-menu.vue2.js";
23
- import { VftIcon as le } from "../icon/index.js";
23
+ import { VftIcon as se } from "../icon/index.js";
24
24
  import "../date-picker/index.js";
25
25
  import "../date-time-select/index.js";
26
26
  import "../descriptions/index.js";
@@ -100,7 +100,7 @@ import "../md-container/index.js";
100
100
  import "../md-tabs/index.js";
101
101
  import "../md-vue-playground/index.js";
102
102
  import "../infinite-scroll/index.js";
103
- import { FormCompEnum as t, getComponent as se } from "../../utils/form-register.js";
103
+ import { FormCompEnum as t, getComponent as ce } from "../../utils/form-register.js";
104
104
  import "@vueuse/core";
105
105
  import "../config-provider/hooks/use-global-config.js";
106
106
  import { debounce as qe } from "lodash-es";
@@ -113,13 +113,13 @@ import "../message-box/index.js";
113
113
  import "../progress-i/index.js";
114
114
  import "./index.js";
115
115
  import { isRangePicker as Fe, isInput as Le, isDatePicker as Ve } from "./component-map.js";
116
- import { createPlaceholderMessage as ce } from "./use/helper.js";
116
+ import { createPlaceholderMessage as me } from "./use/helper.js";
117
117
  function ee(e) {
118
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
118
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
119
119
  }
120
- const je = me({
120
+ const je = fe({
121
121
  inheritAttrs: !1
122
- }), Jo = /* @__PURE__ */ me({
122
+ }), Jo = /* @__PURE__ */ fe({
123
123
  ...je,
124
124
  __name: "super-form-item",
125
125
  props: {
@@ -148,10 +148,10 @@ const je = me({
148
148
  elRef: F,
149
149
  formActionType: e.formActionType
150
150
  };
151
- }), fe = /* @__PURE__ */ new Set([t.Select, t.Radio, t.Checkbox, t.RadioButton, t.CheckboxButton, t.Cascader, t.AutoComplete]), L = /* @__PURE__ */ new Set([t.Select, t.Radio, t.RadioButton, t.Checkbox, t.CheckboxButton, t.Cascader, t.AutoComplete]), z = /* @__PURE__ */ new Set([t.Tree, t.TreeSelect]), Y = () => e.schema.type && fe.has(e.schema.type) ? {
151
+ }), ue = /* @__PURE__ */ new Set([t.Select, t.Radio, t.Checkbox, t.RadioButton, t.CheckboxButton, t.Cascader, t.AutoComplete]), L = /* @__PURE__ */ new Set([t.Select, t.Radio, t.RadioButton, t.Checkbox, t.CheckboxButton, t.Cascader, t.AutoComplete]), z = /* @__PURE__ */ new Set([t.Tree, t.TreeSelect]), Y = () => e.schema.type && ue.has(e.schema.type) ? {
152
152
  options: []
153
153
  } : {}, p = G(Y());
154
- async function ue() {
154
+ async function de() {
155
155
  const {
156
156
  componentProps: r = {}
157
157
  } = e.schema;
@@ -174,9 +174,9 @@ const je = me({
174
174
  } else
175
175
  p.value = r, L.has(e.schema.type) && (!p.value.options || !Array.isArray(p.value.options)) && (p.value.options = []);
176
176
  }
177
- J(() => e.schema.componentProps, (r, o) => (r || o) && ue(), {
177
+ J(() => e.schema.componentProps, (r, o) => (r || o) && de(), {
178
178
  immediate: !0
179
- }), Pe(() => {
179
+ }), ke(() => {
180
180
  if (e.schema.type === t.Tree) {
181
181
  const r = e.formModel[e.schema.field], o = p.value, i = o?.defaultCheckedKeys, n = o?.includeHalfChecked;
182
182
  i && Array.isArray(i) && i.length > 0 && (!r || !Array.isArray(r) || r.length === 0) && (n ? O(() => {
@@ -194,7 +194,7 @@ const je = me({
194
194
  }
195
195
  });
196
196
  let A = null;
197
- const N = G(!1), $ = async (r, o) => {
197
+ const N = G(!1), B = async (r, o) => {
198
198
  try {
199
199
  const i = {
200
200
  ...p.value
@@ -247,7 +247,7 @@ const je = me({
247
247
  const r = p.value?.request;
248
248
  if (r)
249
249
  if (k(r))
250
- $(r);
250
+ B(r);
251
251
  else {
252
252
  const {
253
253
  watchFields: o = [],
@@ -259,21 +259,21 @@ const je = me({
259
259
  if (!a) return;
260
260
  const u = Array.isArray(o) && o.length > 0;
261
261
  if (i?.immediate && !u) {
262
- N.value || (N.value = !0, $(a, m));
262
+ N.value || (N.value = !0, B(a, m));
263
263
  return;
264
264
  }
265
265
  const {
266
266
  immediate: C,
267
267
  ...h
268
- } = i, y = o.map((s) => () => e.formModel[s]), g = n > 0 ? qe(() => {
269
- $(a, m);
268
+ } = i, g = o.map((s) => () => e.formModel[s]), y = n > 0 ? qe(() => {
269
+ B(a, m);
270
270
  }, n) : () => {
271
- $(a, m);
271
+ B(a, m);
272
272
  };
273
- A = J(y, g, h), i?.immediate && (N.value || (N.value = !0, $(a, m)));
273
+ A = J(g, y, h), i?.immediate && (N.value || (N.value = !0, B(a, m)));
274
274
  }
275
- }, de = H(() => E());
276
- J(de, (r, o) => {
275
+ }, he = H(() => E());
276
+ J(he, (r, o) => {
277
277
  r.isIfShow && r.isShow && (o == null || !o.isIfShow || !o.isShow) ? O(() => {
278
278
  A && (A(), A = null), te();
279
279
  }) : (!r.isIfShow || !r.isShow) && (N.value = !1, A && (A(), A = null));
@@ -347,7 +347,7 @@ const je = me({
347
347
  e.schema.type && o.has(e.schema.type) && (r = Object.assign(o.get(e.schema.type) || {}, r));
348
348
  const i = r;
349
349
  return e.formProps.inputMaxLength && e.schema.type === t.Input && !i?.maxlength && (i.maxlength = e.formProps.inputMaxLength), L.has(e.schema.type) && (!i.options || !Array.isArray(i.options)) && (i.options = []), z.has(e.schema.type) && (!i.data || !Array.isArray(i.data)) && (i.data = []), i;
350
- }), he = H(() => {
350
+ }), pe = H(() => {
351
351
  const {
352
352
  disabled: r
353
353
  } = e.formProps, {
@@ -369,7 +369,7 @@ const je = me({
369
369
  isIfShow: n
370
370
  };
371
371
  }
372
- function pe() {
372
+ function ye() {
373
373
  const {
374
374
  rules: r = [],
375
375
  type: o = t.Input,
@@ -379,19 +379,19 @@ const je = me({
379
379
  dynamicRule: m,
380
380
  required: u,
381
381
  dynamicRuleAdd: C = !0
382
- } = e.schema, h = k(u) ? u(d(P)) : u, y = e.formModel[e.schema.field];
383
- if (!h && (xe(y) || y === "" || _(y) && !y.length))
382
+ } = e.schema, h = k(u) ? u(d(P)) : u, g = e.formModel[e.schema.field];
383
+ if (!h && (Ae(g) || g === "" || _(g) && !g.length))
384
384
  return [];
385
- const g = n || a;
385
+ const y = n || a;
386
386
  if (k(m) && !C)
387
387
  return m(d(P));
388
- let s = Ae(_(r) ? r : [r]);
388
+ let s = Re(_(r) ? r : [r]);
389
389
  const {
390
390
  rulesMessageJoinLabel: R
391
- } = e.formProps, b = Reflect.has(e.schema, "rulesMessageJoinLabel") ? i : R, w = ce(o, `${b ? g : ""}`);
391
+ } = e.formProps, b = Reflect.has(e.schema, "rulesMessageJoinLabel") ? i : R, w = me(o, b && le(y) ? y : "");
392
392
  function M(l, c) {
393
393
  const x = l.message || w;
394
- return c === void 0 || Re(c) || o === t.CheckboxSingle && !c || Array.isArray(c) && c.length === 0 || typeof c == "string" && c.trim() === "" || typeof c == "object" && Reflect.has(c, "checked") && Reflect.has(c, "halfChecked") && Array.isArray(c.checked) && Array.isArray(c.halfChecked) && c.checked.length === 0 && c.halfChecked.length === 0 ? Promise.reject(x) : Promise.resolve();
394
+ return c === void 0 || we(c) || o === t.CheckboxSingle && !c || Array.isArray(c) && c.length === 0 || typeof c == "string" && c.trim() === "" || typeof c == "object" && Reflect.has(c, "checked") && Reflect.has(c, "halfChecked") && Array.isArray(c.checked) && Array.isArray(c.halfChecked) && c.checked.length === 0 && c.halfChecked.length === 0 ? Promise.reject(x) : Promise.resolve();
395
395
  }
396
396
  const V = [t.Radio, t.Select, t.RadioSingle, t.RadioButton, t.Checkbox, t.CheckboxSingle, t.CheckboxButton, t.AutoComplete, t.Cascader, t.ColorPicker, t.Upload, t.Slider].includes(o);
397
397
  (!s || s.length === 0 || h) && (s = [{
@@ -408,18 +408,18 @@ const je = me({
408
408
  }
409
409
  const v = s.findIndex((l) => l.min), D = s.findIndex((l) => l.max);
410
410
  function j(l, c, x = "all") {
411
- const S = s[c], B = S.isNumber ? isNaN(l) ? l?.length || 0 : Number(l) : l?.length || 0;
412
- return ["min", "all"].includes(x) && B < S.min ? Promise.reject(`${g}至少${S.min}个字符`) : ["max", "all"].includes(x) && B > S.max ? Promise.reject(`${g}最多${S.max}个字符`) : Promise.resolve();
411
+ const S = s[c], $ = S.isNumber ? isNaN(l) ? l?.length || 0 : Number(l) : l?.length || 0;
412
+ return ["min", "all"].includes(x) && $ < S.min ? Promise.reject(`${y}至少${S.min}个字符`) : ["max", "all"].includes(x) && $ > S.max ? Promise.reject(`${y}最多${S.max}个字符`) : Promise.resolve();
413
413
  }
414
414
  (v !== -1 || D !== -1) && (v !== -1 && D !== -1 && !s[v].validator && !s[v].message ? s[v].validator = (l, c) => j(c, v) : v !== -1 && !s[v].validator && !s[v].message ? s[v].validator = (l, c) => j(c, v, "min") : D !== -1 && !s[D].validator && !s[D].message && (s[D].validator = (l, c) => j(c, D, "max")));
415
415
  const T = s.findIndex((l) => l.len);
416
- if (T !== -1 && (s[T].validator = (l, c) => c?.length !== s[T].len ? Promise.reject(`${g}必须为${s[T].len}个字符`) : Promise.resolve()), k(m) && C) {
416
+ if (T !== -1 && (s[T].validator = (l, c) => c?.length !== s[T].len ? Promise.reject(`${y}必须为${s[T].len}个字符`) : Promise.resolve()), k(m) && C) {
417
417
  let l = m(d(P));
418
418
  l = _(l) ? l : [l], s = s.concat(l);
419
419
  }
420
420
  return s;
421
421
  }
422
- const ye = () => {
422
+ const ge = () => {
423
423
  const {
424
424
  renderComponentContent: r,
425
425
  type: o = t.Input,
@@ -432,26 +432,26 @@ const je = me({
432
432
  } = e.schema;
433
433
  let h = n;
434
434
  Le(o) ? h = "input" : Ve(o) || o === t.TimePicker || o === t.InputTag || o === t.AutoComplete || o === t.Cascader || o === t.ColorPicker || o === t.Slider || o === t.TreeSelect ? h = "update:modelValue" : o === t.Upload ? h = "update:fileList" : o === t.Tree && (h = "check");
435
- const y = `on${we(h)}`, g = se(o), {
435
+ const g = `on${Me(h)}`, y = ce(o), {
436
436
  autoSetPlaceHolder: s,
437
437
  size: R
438
438
  } = e.formProps, b = {
439
439
  clearable: !0,
440
440
  ...d(K)
441
441
  };
442
- if (o !== t.Search && (b.size = d(K)?.size || R, b.disabled = d(he)), !b.disabled && s && !Fe(o) && o) {
442
+ if (o !== t.Search && (b.size = d(K)?.size || R, b.disabled = d(pe)), !b.disabled && s && !Fe(o) && o) {
443
443
  const l = m || u;
444
- b.placeholder = d(K)?.placeholder || ce(o, C && Me(l) ? l : "");
444
+ b.placeholder = d(K)?.placeholder || me(o, C && le(l) ? l : "");
445
445
  }
446
- const M = b[y], I = b.onClear, V = {
447
- [y]: (...l) => {
446
+ const M = b[g], I = b.onClear, V = {
447
+ [g]: (...l) => {
448
448
  const [c] = l;
449
449
  let x;
450
450
  if (o === t.Tree && h === "check") {
451
- const [, S] = l, B = d(K)?.includeHalfChecked;
452
- if (B ? x = [...S?.halfCheckedKeys || [], ...S?.checkedKeys || []] : x = S?.checkedKeys || [], B) {
453
- const be = Symbol.for(`${i}_checkedKeys`);
454
- e.formModel[be] = S?.checkedKeys || [];
451
+ const [, S] = l, $ = d(K)?.includeHalfChecked;
452
+ if ($ ? x = [...S?.halfCheckedKeys || [], ...S?.checkedKeys || []] : x = S?.checkedKeys || [], $) {
453
+ const Pe = Symbol.for(`${i}_checkedKeys`);
454
+ e.formModel[Pe] = S?.checkedKeys || [];
455
455
  }
456
456
  } else {
457
457
  const S = c ? c.target : null;
@@ -473,7 +473,7 @@ const je = me({
473
473
  }, W = o === t.Tree ? {} : {
474
474
  [a || "model-value"]: e.formModel[i]
475
475
  }, {
476
- [y]: v,
476
+ [g]: v,
477
477
  ...D
478
478
  } = b, j = {
479
479
  ...D,
@@ -481,7 +481,7 @@ const je = me({
481
481
  ...W
482
482
  };
483
483
  if (!r && o !== t.Upload)
484
- return f(g, U({
484
+ return f(y, U({
485
485
  ref: F
486
486
  }, j), null);
487
487
  let T;
@@ -510,7 +510,7 @@ const je = me({
510
510
  })
511
511
  };
512
512
  }
513
- return f(g, U({
513
+ return f(y, U({
514
514
  ref: F
515
515
  }, j), ee(T) ? T : {
516
516
  default: () => [T]
@@ -528,11 +528,11 @@ const je = me({
528
528
  labelSuffix: C
529
529
  } = e.schema, {
530
530
  labelSuffix: h = ""
531
- } = e.formProps, y = C ?? h, g = o || i, s = g ? f("span", null, [a && f("span", {
531
+ } = e.formProps, g = C ?? h, y = o || i, s = y ? f("span", null, [a && f("span", {
532
532
  class: "label-required"
533
- }, [ie("*")]), f("span", null, [g]), y && f("span", {
533
+ }, [ie("*")]), f("span", null, [y]), g && f("span", {
534
534
  class: q.m("label-suffix")
535
- }, [y])]) : null, R = () => {
535
+ }, [g])]) : null, R = () => {
536
536
  if (!m && !u) return null;
537
537
  const b = H(() => ae(m, "icon", {
538
538
  size: 20,
@@ -546,10 +546,10 @@ const je = me({
546
546
  return f(De, U({
547
547
  className: "box-item"
548
548
  }, w.value), {
549
- default: () => [f(le, b.value, null)]
549
+ default: () => [f(se, b.value, null)]
550
550
  });
551
551
  }
552
- return f(le, b.value, null);
552
+ return f(se, b.value, null);
553
553
  };
554
554
  return r && s ? n ? f("div", {
555
555
  class: "label-content"
@@ -559,7 +559,7 @@ const je = me({
559
559
  class: "label-content"
560
560
  }, [f("div", null, [s]), R()]) : void 0;
561
561
  }
562
- const oe = ke();
562
+ const oe = Ce();
563
563
  function re(r, o = "default", i) {
564
564
  if (!r || !Reflect.has(r, o))
565
565
  return null;
@@ -568,7 +568,7 @@ const je = me({
568
568
  const n = r[o];
569
569
  return n ? n(i) : null;
570
570
  }
571
- function ge() {
571
+ function be() {
572
572
  const {
573
573
  required: r,
574
574
  itemProps: o,
@@ -580,8 +580,8 @@ const je = me({
580
580
  prefixParentStyle: C
581
581
  } = e.schema, {
582
582
  autoCleanErrorMessage: h,
583
- compFullWidth: y
584
- } = e.formProps, g = () => i ? re(oe, i, d(P)) : n ? n(d(P)) : ye(), s = !!m, R = !!u, b = k(m) ? m(d(P)) : m, w = k(u) ? u(d(P)) : u, M = () => {
583
+ compFullWidth: g
584
+ } = e.formProps, y = () => i ? re(oe, i, d(P)) : n ? n(d(P)) : ge(), s = !!m, R = !!u, b = k(m) ? m(d(P)) : m, w = k(u) ? u(d(P)) : u, M = () => {
585
585
  e.updateSchema([{
586
586
  field: a,
587
587
  itemProps: {
@@ -596,20 +596,20 @@ const je = me({
596
596
  class: [{
597
597
  [q.is("suffix")]: s
598
598
  }, {
599
- [q.is("comp-full-width")]: y
599
+ [q.is("comp-full-width")]: g
600
600
  }, q.e("item")]
601
601
  }, o, {
602
602
  label: o?.label || o?.title,
603
603
  "onUpdate:error": h ? M : () => {
604
604
  },
605
- rules: pe(),
605
+ rules: ye(),
606
606
  required: I
607
607
  }), {
608
608
  default: () => [f("div", {
609
609
  class: q.e("container")
610
610
  }, [f("div", {
611
611
  class: q.e("content")
612
- }, [g(), s && f("span", {
612
+ }, [y(), s && f("span", {
613
613
  class: q.m("suffix")
614
614
  }, [b])])])],
615
615
  label: Q() ? () => Q() : void 0
@@ -630,41 +630,41 @@ const je = me({
630
630
  render: m,
631
631
  quickColSpan: u
632
632
  } = e.schema;
633
- if (!se(a) && !n && !m)
633
+ if (!ce(a) && !n && !m)
634
634
  return null;
635
635
  const {
636
636
  baseColProps: C = {},
637
637
  quickColSpan: h
638
- } = e.formProps, y = h ? {
638
+ } = e.formProps, g = h ? {
639
639
  span: Math.ceil(24 / h),
640
640
  ...C
641
641
  } : {
642
642
  ...C
643
- }, g = u ? {
643
+ }, y = u ? {
644
644
  span: Math.ceil(24 / u),
645
645
  ...o
646
646
  } : {
647
647
  ...o
648
648
  }, s = {
649
- ...y,
650
- ...g
649
+ ...g,
650
+ ...y
651
651
  }, {
652
652
  isIfShow: R,
653
653
  isShow: b
654
- } = E(), w = d(P), M = () => i ? re(oe, i, w) : n ? n(w) : ge();
654
+ } = E(), w = d(P), M = () => i ? re(oe, i, w) : n ? n(w) : be();
655
655
  if (a === t.Divider) {
656
656
  let I;
657
657
  return f(ne, U({
658
658
  span: 24
659
- }, g), {
659
+ }, y), {
660
660
  default: () => [f(Ie, d(K), ee(I = Q()) ? I : {
661
661
  default: () => [I]
662
662
  })]
663
663
  });
664
664
  }
665
- return R && (e.formProps.customLayout ? M() : Ce(f(ne, s, ee(r = M()) ? r : {
665
+ return R && (e.formProps.customLayout ? M() : Se(f(ne, s, ee(r = M()) ? r : {
666
666
  default: () => [r]
667
- }), [[Se, b]]));
667
+ }), [[ve, b]]));
668
668
  };
669
669
  }
670
670
  });
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.513",
3
+ "version": "0.0.514",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -1,4 +1,4 @@
1
- const o = "0.0.513";
1
+ const o = "0.0.514";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -62,9 +62,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
62
62
  readonly placement?: import("@popperjs/core").Placement | undefined;
63
63
  readonly strategy?: "fixed" | "absolute" | undefined;
64
64
  readonly effect?: "light" | "dark" | undefined;
65
+ readonly visible?: boolean | null | undefined;
65
66
  readonly teleported?: boolean | undefined;
66
67
  readonly open?: boolean | undefined;
67
- readonly visible?: boolean | null | undefined;
68
68
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
69
69
  readonly arrowOffset?: number | undefined;
70
70
  readonly gpuAcceleration?: boolean | undefined;
@@ -480,9 +480,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
480
480
  readonly placement?: import("@popperjs/core").Placement | undefined;
481
481
  readonly strategy?: "fixed" | "absolute" | undefined;
482
482
  readonly effect?: "light" | "dark" | undefined;
483
+ readonly visible?: boolean | null | undefined;
483
484
  readonly teleported?: boolean | undefined;
484
485
  readonly open?: boolean | undefined;
485
- readonly visible?: boolean | null | undefined;
486
486
  readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
487
487
  readonly arrowOffset?: number | undefined;
488
488
  readonly gpuAcceleration?: boolean | undefined;
@@ -85,9 +85,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
85
85
  readonly placement?: import("@popperjs/core").Placement | undefined;
86
86
  readonly strategy?: "fixed" | "absolute" | undefined;
87
87
  readonly effect?: "light" | "dark" | undefined;
88
+ readonly visible?: boolean | null | undefined;
88
89
  readonly teleported?: boolean | undefined;
89
90
  readonly open?: boolean | undefined;
90
- readonly visible?: boolean | null | undefined;
91
91
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
92
92
  readonly arrowOffset?: number | undefined;
93
93
  readonly gpuAcceleration?: boolean | undefined;
@@ -503,9 +503,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
503
503
  readonly placement?: import("@popperjs/core").Placement | undefined;
504
504
  readonly strategy?: "fixed" | "absolute" | undefined;
505
505
  readonly effect?: "light" | "dark" | undefined;
506
+ readonly visible?: boolean | null | undefined;
506
507
  readonly teleported?: boolean | undefined;
507
508
  readonly open?: boolean | undefined;
508
- readonly visible?: boolean | null | undefined;
509
509
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
510
510
  readonly arrowOffset?: number | undefined;
511
511
  readonly gpuAcceleration?: boolean | undefined;
@@ -1006,9 +1006,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1006
1006
  readonly placement?: import("@popperjs/core").Placement | undefined;
1007
1007
  readonly strategy?: "fixed" | "absolute" | undefined;
1008
1008
  readonly effect?: "light" | "dark" | undefined;
1009
+ readonly visible?: boolean | null | undefined;
1009
1010
  readonly teleported?: boolean | undefined;
1010
1011
  readonly open?: boolean | undefined;
1011
- readonly visible?: boolean | null | undefined;
1012
1012
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1013
1013
  readonly arrowOffset?: number | undefined;
1014
1014
  readonly gpuAcceleration?: boolean | undefined;
@@ -1424,9 +1424,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1424
1424
  readonly placement?: import("@popperjs/core").Placement | undefined;
1425
1425
  readonly strategy?: "fixed" | "absolute" | undefined;
1426
1426
  readonly effect?: "light" | "dark" | undefined;
1427
+ readonly visible?: boolean | null | undefined;
1427
1428
  readonly teleported?: boolean | undefined;
1428
1429
  readonly open?: boolean | undefined;
1429
- readonly visible?: boolean | null | undefined;
1430
1430
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1431
1431
  readonly arrowOffset?: number | undefined;
1432
1432
  readonly gpuAcceleration?: boolean | undefined;
@@ -1916,9 +1916,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
1916
1916
  readonly placement?: import("@popperjs/core").Placement | undefined;
1917
1917
  readonly strategy?: "fixed" | "absolute" | undefined;
1918
1918
  readonly effect?: "light" | "dark" | undefined;
1919
+ readonly visible?: boolean | null | undefined;
1919
1920
  readonly teleported?: boolean | undefined;
1920
1921
  readonly open?: boolean | undefined;
1921
- readonly visible?: boolean | null | undefined;
1922
1922
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
1923
1923
  readonly arrowOffset?: number | undefined;
1924
1924
  readonly gpuAcceleration?: boolean | undefined;
@@ -2334,9 +2334,9 @@ export declare const VftAutocomplete: import("vft/es/utils").SFCWithInstall<{
2334
2334
  readonly placement?: import("@popperjs/core").Placement | undefined;
2335
2335
  readonly strategy?: "fixed" | "absolute" | undefined;
2336
2336
  readonly effect?: "light" | "dark" | undefined;
2337
+ readonly visible?: boolean | null | undefined;
2337
2338
  readonly teleported?: boolean | undefined;
2338
2339
  readonly open?: boolean | undefined;
2339
- readonly visible?: boolean | null | undefined;
2340
2340
  readonly trigger?: import("vft/es/vft").TooltipTriggerType | undefined;
2341
2341
  readonly arrowOffset?: number | undefined;
2342
2342
  readonly gpuAcceleration?: boolean | undefined;
@@ -24,12 +24,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
24
24
  autofocus: {
25
25
  type: import("vue").PropType<boolean>;
26
26
  };
27
- dark: {
28
- type: import("vue").PropType<boolean>;
29
- };
30
27
  icon: {
31
28
  type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
32
29
  };
30
+ dark: {
31
+ type: import("vue").PropType<boolean>;
32
+ };
33
33
  loading: {
34
34
  type: import("vue").PropType<boolean>;
35
35
  };
@@ -114,12 +114,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
114
114
  autofocus: {
115
115
  type: import("vue").PropType<boolean>;
116
116
  };
117
- dark: {
118
- type: import("vue").PropType<boolean>;
119
- };
120
117
  icon: {
121
118
  type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
122
119
  };
120
+ dark: {
121
+ type: import("vue").PropType<boolean>;
122
+ };
123
123
  loading: {
124
124
  type: import("vue").PropType<boolean>;
125
125
  };
@@ -199,12 +199,12 @@ export declare const VftButton: import("vft/es/utils").SFCWithInstall<{
199
199
  autofocus: {
200
200
  type: import("vue").PropType<boolean>;
201
201
  };
202
- dark: {
203
- type: import("vue").PropType<boolean>;
204
- };
205
202
  icon: {
206
203
  type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
207
204
  };
205
+ dark: {
206
+ type: import("vue").PropType<boolean>;
207
+ };
208
208
  loading: {
209
209
  type: import("vue").PropType<boolean>;
210
210
  };
@@ -7,14 +7,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
7
7
  type: import("vue").PropType<string | number>;
8
8
  default: number;
9
9
  };
10
- teleported: {
11
- type: import("vue").PropType<boolean>;
12
- default: boolean;
13
- };
14
10
  icon: {
15
11
  type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
16
12
  default: string;
17
13
  };
14
+ teleported: {
15
+ type: import("vue").PropType<boolean>;
16
+ default: boolean;
17
+ };
18
18
  hideAfter: {
19
19
  type: import("vue").PropType<number>;
20
20
  default: number;
@@ -52,8 +52,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
52
52
  cancel: (val: MouseEvent) => void;
53
53
  }, import("vue").PublicProps, {
54
54
  width: string | number;
55
- teleported: boolean;
56
55
  icon: string | import("vft/es/vft").IconProps;
56
+ teleported: boolean;
57
57
  hideAfter: number;
58
58
  persistent: boolean;
59
59
  confirmButtonType: import("vft/es/vft").ButtonType;
@@ -74,14 +74,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
74
74
  type: import("vue").PropType<string | number>;
75
75
  default: number;
76
76
  };
77
- teleported: {
78
- type: import("vue").PropType<boolean>;
79
- default: boolean;
80
- };
81
77
  icon: {
82
78
  type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
83
79
  default: string;
84
80
  };
81
+ teleported: {
82
+ type: import("vue").PropType<boolean>;
83
+ default: boolean;
84
+ };
85
85
  hideAfter: {
86
86
  type: import("vue").PropType<number>;
87
87
  default: number;
@@ -116,8 +116,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
116
116
  onConfirm?: ((val: MouseEvent) => any) | undefined;
117
117
  }>, {}, {}, {}, {}, {
118
118
  width: string | number;
119
- teleported: boolean;
120
119
  icon: string | import("vft/es/vft").IconProps;
120
+ teleported: boolean;
121
121
  hideAfter: number;
122
122
  persistent: boolean;
123
123
  confirmButtonType: import("vft/es/vft").ButtonType;
@@ -135,14 +135,14 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
135
135
  type: import("vue").PropType<string | number>;
136
136
  default: number;
137
137
  };
138
- teleported: {
139
- type: import("vue").PropType<boolean>;
140
- default: boolean;
141
- };
142
138
  icon: {
143
139
  type: import("vue").PropType<string | import("vft/es/vft").IconProps>;
144
140
  default: string;
145
141
  };
142
+ teleported: {
143
+ type: import("vue").PropType<boolean>;
144
+ default: boolean;
145
+ };
146
146
  hideAfter: {
147
147
  type: import("vue").PropType<number>;
148
148
  default: number;
@@ -180,8 +180,8 @@ export declare const VftPopconfirm: import("vft/es/utils").SFCWithInstall<{
180
180
  cancel: (val: MouseEvent) => void;
181
181
  }, string, {
182
182
  width: string | number;
183
- teleported: boolean;
184
183
  icon: string | import("vft/es/vft").IconProps;
184
+ teleported: boolean;
185
185
  hideAfter: number;
186
186
  persistent: boolean;
187
187
  confirmButtonType: import("vft/es/vft").ButtonType;
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
43
43
  onConfirm?: ((val: MouseEvent) => any) | undefined;
44
44
  }>, {
45
45
  width: string | number;
46
- teleported: boolean;
47
46
  icon: string | IconProps;
47
+ teleported: boolean;
48
48
  hideAfter: number;
49
49
  persistent: boolean;
50
50
  confirmButtonType: ButtonType;