@web-utils/form-ui 1.0.0-beta57 → 1.0.0-beta58

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.
@@ -9,7 +9,7 @@ import { t as s } from "./CGnOR2gn.mjs";
9
9
  import { t as c } from "./B2PuSZ_F.mjs";
10
10
  import { t as l } from "./BHT38Us-.mjs";
11
11
  import { t as u } from "./CrQmTHMA.mjs";
12
- import { t as d } from "./33G2_TH8.mjs";
12
+ import { t as d } from "./CSnlDCNV.mjs";
13
13
  import f from "../table-column-def/index.mjs";
14
14
  import { t as p } from "./DB_UKPay.mjs";
15
15
  import { findTreeChildren as m, isFunction as h } from "@web-utils/core";
@@ -1,6 +1,6 @@
1
1
  import { commonAutoBindProps as e, commonManualBindProps as t } from "../props/common.mjs";
2
2
  import { n, o as r } from "./DEC2O0q-.mjs";
3
- import { n as i, t as a } from "./rJWvEBq9.mjs";
3
+ import { n as i, t as a } from "./4-vc_q1t.mjs";
4
4
  import { createVNode as o, mergeProps as s, ref as c, useModel as l } from "vue";
5
5
  //#region src/components/table/form-table.ts
6
6
  var u = {
@@ -2,7 +2,7 @@ import { i as e } from "./DuOxL6xh.mjs";
2
2
  import { commonAutoBindProps as t, commonManualBindProps as n } from "../props/common.mjs";
3
3
  import { n as r, o as i } from "./DEC2O0q-.mjs";
4
4
  import { n as a } from "./BWoKh6f6.mjs";
5
- import { n as o, t as s } from "./ztBRZQwM.mjs";
5
+ import { n as o, t as s } from "./Dqq8z1t4.mjs";
6
6
  import { isArray as c, isString as l, trace as u, warning as d } from "@web-utils/core";
7
7
  import { computed as f, createVNode as p, getCurrentInstance as m, mergeProps as h, useModel as g, useTemplateRef as _ } from "vue";
8
8
  import { useEventBus as v } from "@web-utils/vue/hooks/useEventBus";
@@ -413,7 +413,7 @@ var R = {
413
413
  }, K = async (e = !0) => {
414
414
  if (!t.api && t.data !== !1) {
415
415
  var n;
416
- S.value = t.data, k.value.page = 1, k.value.total = (n = S.value) == null ? void 0 : n.length, k.value.limit = k.value.total;
416
+ S.value = t.data, k.value.page = 1, k.value.total = (n = S.value) == null ? void 0 : n.length, k.value.limit = k.value.total < 1 ? t.pageSize : k.value.total;
417
417
  return;
418
418
  }
419
419
  e !== !1 && (S.value = []);
@@ -12,7 +12,7 @@ import { t as l } from "./CGnOR2gn.mjs";
12
12
  import { t as u } from "./B2PuSZ_F.mjs";
13
13
  import { t as d } from "./BHT38Us-.mjs";
14
14
  import { t as f } from "./CrQmTHMA.mjs";
15
- import { t as p } from "./33G2_TH8.mjs";
15
+ import { t as p } from "./CSnlDCNV.mjs";
16
16
  import m from "../table-column-def/index.mjs";
17
17
  import { findTreeChildren as h, isFunction as g } from "@web-utils/core";
18
18
  import { Fragment as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as S, createTextVNode as C, createVNode as w, mergeProps as T, normalizeClass as E, openBlock as D, renderList as O, renderSlot as k, resolveComponent as A, toDisplayString as j, toHandlers as M, withCtx as N, withModifiers as P } from "vue";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/T4GdQtY8.mjs";
1
+ import { t as e } from "../chunks/4C611CU2.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/CUq3MOiQ2.mjs";
1
+ import { t as e } from "../chunks/BlmtfUfl2.mjs";
2
2
  export { e as default };
package/index.mjs CHANGED
@@ -38,14 +38,14 @@ import { t as P } from "./chunks/6av50rJm.mjs";
38
38
  import { t as F } from "./chunks/CrQmTHMA.mjs";
39
39
  import { t as I } from "./chunks/k3cC9SGC.mjs";
40
40
  import { t as L } from "./chunks/EAJCsX8W.mjs";
41
- import { t as R } from "./chunks/33G2_TH8.mjs";
41
+ import { t as R } from "./chunks/CSnlDCNV.mjs";
42
42
  import { t as z } from "./chunks/fmIV_kHp.mjs";
43
43
  import B from "./table-column-def/index.mjs";
44
44
  import { t as V } from "./chunks/DB_UKPay.mjs";
45
- import { t as H } from "./chunks/rJWvEBq9.mjs";
46
- import { t as U } from "./chunks/T4GdQtY8.mjs";
47
- import { t as W } from "./chunks/ztBRZQwM.mjs";
48
- import { t as G } from "./chunks/CUq3MOiQ2.mjs";
45
+ import { t as H } from "./chunks/4-vc_q1t.mjs";
46
+ import { t as U } from "./chunks/4C611CU2.mjs";
47
+ import { t as W } from "./chunks/Dqq8z1t4.mjs";
48
+ import { t as G } from "./chunks/BlmtfUfl2.mjs";
49
49
  import { t as K } from "./chunks/-qKZw-3p2.mjs";
50
50
  import { t as q } from "./chunks/ZFJ73RWd2.mjs";
51
51
  import J from "./form-view/index.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/form-ui",
3
3
  "description": "form-ui",
4
- "version": "1.0.0-beta57",
4
+ "version": "1.0.0-beta58",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/33G2_TH8.mjs";
1
+ import { t as e } from "../chunks/CSnlDCNV.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/rJWvEBq9.mjs";
1
+ import { t as e } from "../chunks/4-vc_q1t.mjs";
2
2
  export { e as default };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/ztBRZQwM.mjs";
1
+ import { t as e } from "../chunks/Dqq8z1t4.mjs";
2
2
  export { e as default };
@@ -6,7 +6,7 @@ import { t as s } from "../chunks/B1MSrc6f.mjs";
6
6
  import c from "../editable-tree/index.mjs";
7
7
  import { s as l } from "../chunks/DEC2O0q-.mjs";
8
8
  import u from "../form-item-config-provider/index.mjs";
9
- import { t as d } from "../chunks/33G2_TH8.mjs";
9
+ import { t as d } from "../chunks/CSnlDCNV.mjs";
10
10
  import { t as f } from "../chunks/BXrA0SYn2.mjs";
11
11
  import { hasOwn as p, isArray as m, isFunction as h, isString as g, toStringArray as _, trace as v, warning as y } from "@web-utils/core";
12
12
  import { Transition as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as T, createTextVNode as E, createVNode as D, mergeProps as O, normalizeClass as k, normalizeStyle as A, openBlock as j, renderList as M, renderSlot as N, toDisplayString as P, toHandlers as F, vShow as I, withCtx as L, withDirectives as R, withModifiers as z } from "vue";