@web-utils/form-ui 1.0.0-beta48 → 1.0.0-beta49

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.
@@ -3,7 +3,7 @@ import { i as t, n } from "./D_qiRmiE.mjs";
3
3
  import { n as r, t as i } from "./CJdkjadi.mjs";
4
4
  import { r as a } from "./CabldOLo.mjs";
5
5
  import { n as o } from "./gCeDFHo1.mjs";
6
- import { n as s, t as c } from "./C-D7jeLT2.mjs";
6
+ import { n as s, t as c } from "./BtOr-3u02.mjs";
7
7
  import { isArray as l, isString as u, trace as d, warning as f } from "@web-utils/core";
8
8
  import { computed as p, createVNode as m, getCurrentInstance as h, mergeProps as g, useModel as _, useTemplateRef as v } from "vue";
9
9
  import { useEventBus as y } from "@web-utils/vue/hooks/useEventBus";
@@ -13,7 +13,7 @@ import { t as d } from "./B1IPSTA6.mjs";
13
13
  import { t as f } from "./BbSPWDDZ.mjs";
14
14
  import { t as p } from "./bFbPPcdq.mjs";
15
15
  import { t as ee } from "./BtcjAHE6.mjs";
16
- import { t as m } from "./BRRcYOud.mjs";
16
+ import { t as m } from "./DyHLMash.mjs";
17
17
  import h from "../table-column-def/index.mjs";
18
18
  import { findTreeChildren as g, isFunction as _ } from "@web-utils/core";
19
19
  import { Fragment as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as C, createTextVNode as w, createVNode as T, mergeProps as E, normalizeClass as D, openBlock as O, renderList as k, renderSlot as A, toDisplayString as j, toHandlers as M, withCtx as N, withModifiers as P } from "vue";
@@ -11,7 +11,7 @@ import { ElMessage as D } from "element-plus";
11
11
  import { ElCheckbox as O, ElDrawer as k, ElEmpty as ne, ElPagination as re, ElRadio as A, ElTable as j, ElTableColumn as M } from "element-plus/es";
12
12
  import { useEventBus as N } from "@web-utils/vue/hooks/useEventBus";
13
13
  //#region src/components/table/components/TableColumnFilter.vue
14
- var ie = {
14
+ var ie = /* @__PURE__ */ Object.assign({ name: "TableColumnFilter" }, {
15
15
  __name: "TableColumnFilter",
16
16
  props: /* @__PURE__ */ g({ columns: {
17
17
  type: Array,
@@ -94,7 +94,7 @@ var ie = {
94
94
  }, 8, ["modelValue"]);
95
95
  };
96
96
  }
97
- };
97
+ });
98
98
  //#endregion
99
99
  //#region src/components/table/components/TableColumnFilterable.vue?vue&type=script&lang.jsx
100
100
  function P(e) {
@@ -103,6 +103,7 @@ function P(e) {
103
103
  //#endregion
104
104
  //#region src/components/table/components/TableColumnFilterable.vue
105
105
  var ae = {
106
+ name: "TableColumnFilterable",
106
107
  props: {
107
108
  filterable: Boolean,
108
109
  prop: String
@@ -386,7 +387,7 @@ var L = {
386
387
  ...s.model || {}
387
388
  }, s.selectExport && (s.rowKey ? e.exportKeys = k.value.map((e) => e[s.rowKey]) : e.exportKeys = k.value.map((e) => C.value.indexOf(e))), e;
388
389
  }, q = async (e = !0) => {
389
- if (s.data !== !1) {
390
+ if (!s.api && s.data !== !1) {
390
391
  var t;
391
392
  C.value = s.data, P.value.page = 1, P.value.total = (t = C.value) == null ? void 0 : t.length, P.value.limit = P.value.total;
392
393
  return;
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/B3pkJUCx2.mjs";
1
+ import { t as e } from "../chunks/BTlLPtSk2.mjs";
2
2
  export { e as default };
package/index.mjs CHANGED
@@ -38,14 +38,14 @@ import { t as P } from "./chunks/DOP3aBxf.mjs";
38
38
  import { t as F } from "./chunks/BtcjAHE6.mjs";
39
39
  import { t as I } from "./chunks/pIzhYsBe.mjs";
40
40
  import { t as L } from "./chunks/BfxDxIg0.mjs";
41
- import { t as R } from "./chunks/BRRcYOud.mjs";
41
+ import { t as R } from "./chunks/DyHLMash.mjs";
42
42
  import { t as z } from "./chunks/B-zqRAXo.mjs";
43
43
  import B from "./table-column-def/index.mjs";
44
44
  import { t as V } from "./chunks/CuAoMR3n.mjs";
45
45
  import H from "./sub-table/index.mjs";
46
46
  import { t as U } from "./chunks/BsZgAJX_2.mjs";
47
- import { t as W } from "./chunks/C-D7jeLT2.mjs";
48
- import { t as G } from "./chunks/B3pkJUCx2.mjs";
47
+ import { t as W } from "./chunks/BtOr-3u02.mjs";
48
+ import { t as G } from "./chunks/BTlLPtSk2.mjs";
49
49
  import { t as K } from "./chunks/B9gA65rt2.mjs";
50
50
  import { t as q } from "./chunks/CqoVAnxC2.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-beta48",
4
+ "version": "1.0.0-beta49",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/BRRcYOud.mjs";
1
+ import { t as e } from "../chunks/DyHLMash.mjs";
2
2
  export { e as default };
@@ -11,7 +11,7 @@ import { t as l } from "../chunks/B1IPSTA6.mjs";
11
11
  import { t as u } from "../chunks/BbSPWDDZ.mjs";
12
12
  import { t as d } from "../chunks/bFbPPcdq.mjs";
13
13
  import { t as f } from "../chunks/BtcjAHE6.mjs";
14
- import { t as p } from "../chunks/BRRcYOud.mjs";
14
+ import { t as p } from "../chunks/DyHLMash.mjs";
15
15
  import m from "../table-column-def/index.mjs";
16
16
  import { t as h } from "../chunks/CuAoMR3n.mjs";
17
17
  import { findTreeChildren as g, isFunction as _ } from "@web-utils/core";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/C-D7jeLT2.mjs";
1
+ import { t as e } from "../chunks/BtOr-3u02.mjs";
2
2
  export { e as default };
@@ -6,7 +6,7 @@ import { t as o } from "../chunks/Cln3RBAD.mjs";
6
6
  import { t as s } from "../chunks/CkOD-_VV.mjs";
7
7
  import { a as c } from "../chunks/D_qiRmiE.mjs";
8
8
  import l from "../form-item-config-provider/index.mjs";
9
- import { t as u } from "../chunks/BRRcYOud.mjs";
9
+ import { t as u } from "../chunks/DyHLMash.mjs";
10
10
  import { t as d } from "../chunks/hzaYr6Ud2.mjs";
11
11
  import { hasOwn as f, isArray as p, isFunction as m, isString as h, toStringArray as g, trace as _, warning as v } from "@web-utils/core";
12
12
  import { Transition as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as w, createTextVNode as T, createVNode as E, mergeProps as D, normalizeClass as O, normalizeStyle as k, openBlock as A, renderList as j, renderSlot as M, toDisplayString as N, toHandlers as P, vShow as F, withCtx as I, withDirectives as L, withModifiers as R } from "vue";