asiaint-lowcode 3.1.58 → 3.1.59

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 (41) hide show
  1. package/dist/asiaint-lowcode.js +6 -5
  2. package/dist/asiaint-lowcode.umd.cjs +165 -165
  3. package/dist/index.d.ts +13 -0
  4. package/dist/lazy/{Card-D0bbXvkE.js → Card-BYPwo3XZ.js} +1 -1
  5. package/dist/lazy/{Cascader-CVF7Mugg.js → Cascader-DY-d82qj.js} +1 -1
  6. package/dist/lazy/{Checkbox-_T8IhBqC.js → Checkbox-Dg9u4FhF.js} +2 -2
  7. package/dist/lazy/{Collapse-Ds1b3YDU.js → Collapse-DQhgWu9x.js} +1 -1
  8. package/dist/lazy/{Component-CdoBzMc7.js → Component-3XwczOUC.js} +1 -1
  9. package/dist/lazy/{Component-B8bF5XT4.js → Component-CWHZOyo1.js} +1 -1
  10. package/dist/lazy/{Component-DP42ZKK_.js → Component-CsEqb0-g.js} +1 -1
  11. package/dist/lazy/{Component-CFM9XDEd.js → Component-DwNhUm0N.js} +1 -1
  12. package/dist/lazy/{Component-DomwdjSx.js → Component-DwPxwrgB.js} +1 -1
  13. package/dist/lazy/{Component-C9plUbiY.js → Component-vZaE4woZ.js} +1 -1
  14. package/dist/lazy/{CurdCard-BQRlQVr1.js → CurdCard-CmbvWUBO.js} +1 -1
  15. package/dist/lazy/{Custom-g38jchRO.js → Custom-DuRh9Urx.js} +1 -1
  16. package/dist/lazy/{DatePicker-CH9-SrZS.js → DatePicker-D0zv1F-a.js} +1 -1
  17. package/dist/lazy/{DragList-DrNbhRhP.js → DragList-CLa7vKkO.js} +29 -29
  18. package/dist/lazy/{FilterSearch-FpJsKJ3o.js → FilterSearch-Bewbldd3.js} +1 -1
  19. package/dist/lazy/{FloatCurd-5xXw_Uuf.js → FloatCurd-CNzJGvx1.js} +45 -44
  20. package/dist/lazy/{FormList-uX7IBTqh.js → FormList-BnI9JAfR.js} +1 -1
  21. package/dist/lazy/{Grid-ysr0Sucp.js → Grid-D8ec9zdI.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-DZQrpuci.js → InfiniteScroll-D9MhLp9X.js} +1 -1
  23. package/dist/lazy/{Inline-CbhYGfPg.js → Inline-DkL-t8zb.js} +1 -1
  24. package/dist/lazy/{JsonEdit-CyMnmq3r.js → JsonEdit-CUvvalJ4.js} +1 -1
  25. package/dist/lazy/{LogList-uph8HlCd.js → LogList-CqDAhB_X.js} +1 -1
  26. package/dist/lazy/{ObjGroup-N7KsOVel.js → ObjGroup-CJlXftCX.js} +1 -1
  27. package/dist/lazy/{OfferDetails-CIul9KOu.js → OfferDetails-fVTdiL9p.js} +37 -35
  28. package/dist/lazy/{Pagination-DjW7ZS5F.js → Pagination-D7L3eLJL.js} +1 -1
  29. package/dist/lazy/{Progress-CdesxNAo.js → Progress-Db-ugoji.js} +1 -1
  30. package/dist/lazy/{Radio-_4avXRsG.js → Radio-mim6bW2l.js} +2 -2
  31. package/dist/lazy/{SearchSelect-smSaLg9O.js → SearchSelect-DpOrVhBh.js} +2 -2
  32. package/dist/lazy/{Select-CSAee2NV.js → Select-DiiBkEkn.js} +2 -2
  33. package/dist/lazy/Table-BGoj-xjM.js +609 -0
  34. package/dist/lazy/{Tabs-CwqrqWqQ.js → Tabs-SWPEmMDx.js} +1 -1
  35. package/dist/lazy/{TextArea-Cvka_TgI.js → TextArea-CdS1_bex.js} +1 -1
  36. package/dist/lazy/{Wrapper-Bu6nqkrG.js → Wrapper-zQ3ywa4V.js} +1 -1
  37. package/dist/lazy/{index-BOGnFXnC.js → index-DdEBDsO2.js} +1239 -1201
  38. package/dist/lazy/{useSelect-koHM4kMI.js → useSelect-DDkQ_PJg.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/package.json +1 -1
  41. package/dist/lazy/Table-DwCCVOES.js +0 -568
package/dist/index.d.ts CHANGED
@@ -128,6 +128,7 @@ validate: (keys: string[] | string) => Promise<boolean | undefined>;
128
128
  getData: (keys?: string[] | string) => any;
129
129
  resetFields: (keys?: string[] | string) => void;
130
130
  emit: {
131
+ (e: "doneParent"): void;
131
132
  (e: "done", data?: any): void;
132
133
  (e: "refresh"): void;
133
134
  (e: "changeTab", tabKey: string, params?: any): void;
@@ -149,6 +150,7 @@ setBtnState: setBtnStateFn;
149
150
  setReadMode: (key: string, readMode: boolean) => void;
150
151
  setPageMask: (mask: boolean) => void;
151
152
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
153
+ doneParent: () => void;
152
154
  done: (data?: any) => void;
153
155
  refresh: () => void;
154
156
  changeTab: (tabKey: string, params?: any) => void;
@@ -160,6 +162,7 @@ pageUrl?: string;
160
162
  pageParams?: any;
161
163
  }>>> & Readonly<{
162
164
  onDone?: ((data?: any) => any) | undefined;
165
+ onDoneParent?: (() => any) | undefined;
163
166
  onRefresh?: (() => any) | undefined;
164
167
  onChangeTab?: ((tabKey: string, params?: any) => any) | undefined;
165
168
  onChangeMixMode?: ((tabKey: string, mode: boolean) => any) | undefined;
@@ -696,6 +699,7 @@ setTabHidden: (key: string, hidden: boolean) => void;
696
699
  activeTab: string;
697
700
  type: string;
698
701
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
702
+ doneParent: (...args: any[]) => void;
699
703
  addPageParams: (...args: any[]) => void;
700
704
  }, string, PublicProps, Readonly<ExtractPropTypes< {
701
705
  schema: {
@@ -718,6 +722,7 @@ type: PropType<"normal" | "modal" | "btn">;
718
722
  required: true;
719
723
  };
720
724
  }>> & Readonly<{
725
+ onDoneParent?: ((...args: any[]) => any) | undefined;
721
726
  onAddPageParams?: ((...args: any[]) => any) | undefined;
722
727
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
723
728
 
@@ -1024,6 +1029,8 @@ declare type ExtraRefTypeMap = {
1024
1029
  tree: InstanceType<typeof _default_10> & ComponentPublicInstance;
1025
1030
  };
1026
1031
 
1032
+ export declare const findItemByName: (items: FormItemType[], name: string) => FormItemType | null;
1033
+
1027
1034
  declare type FindRefType<T extends keyof FindRefTypeMap> = FindRefTypeMap[T];
1028
1035
 
1029
1036
  declare type FindRefTypeMap = RefTypeMap & ExtraRefTypeMap;
@@ -1256,6 +1263,10 @@ declare type Locale = {
1256
1263
  title: string;
1257
1264
  };
1258
1265
  };
1266
+ table: {
1267
+ pollText: string;
1268
+ pollUnit: string;
1269
+ };
1259
1270
  };
1260
1271
 
1261
1272
  declare type NavBarSchema = {
@@ -1536,6 +1547,8 @@ declare type TableSchema = {
1536
1547
  sortable?: boolean;
1537
1548
  paginationPosition?: 'top' | 'bottom';
1538
1549
  totalText: string;
1550
+ onPollChange?: string;
1551
+ showPollCheckbox?: boolean;
1539
1552
  };
1540
1553
 
1541
1554
  declare type TabsSchema = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as F, ref as S, inject as C, resolveComponent as p, openBlock as o, createBlock as d, mergeProps as $, withCtx as c, createElementVNode as r, normalizeClass as u, createElementBlock as s, createVNode as a, unref as m, createCommentVNode as t, toDisplayString as b, Fragment as h, renderList as y, withDirectives as M, vShow as E } from "vue";
2
- import { a as P, I as v, b as _, B as V, _ as D } from "./index-BOGnFXnC.js";
2
+ import { a as P, I as v, b as _, B as V, _ as D } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const N = {
5
5
  key: 3,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as h, inject as r, resolveComponent as C, openBlock as v, createBlock as y, mergeProps as M, unref as d } from "vue";
2
2
  import "element-plus";
3
- import { u as b } from "./useSelect-koHM4kMI.js";
3
+ import { u as b } from "./useSelect-DDkQ_PJg.js";
4
4
  const k = /* @__PURE__ */ f({
5
5
  __name: "Cascader",
6
6
  props: /* @__PURE__ */ g({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as F, mergeModels as D, useModel as I, watch as O, resolveComponent as u, resolveDirective as P, unref as a, openBlock as l, createElementBlock as p, toDisplayString as S, withDirectives as $, createBlock as s, mergeProps as j, withCtx as h, Fragment as f, renderList as v, createCommentVNode as g } from "vue";
2
2
  import "element-plus";
3
- import { u as E, c as L } from "./index-BOGnFXnC.js";
4
- import { u as N } from "./useSelect-koHM4kMI.js";
3
+ import { u as E, c as L } from "./index-DdEBDsO2.js";
4
+ import { u as N } from "./useSelect-DDkQ_PJg.js";
5
5
  const R = { key: 0 }, H = /* @__PURE__ */ F({
6
6
  __name: "Checkbox",
7
7
  props: /* @__PURE__ */ D({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
2
- import { b as y } from "./index-BOGnFXnC.js";
2
+ import { b as y } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
5
5
  const b = /* @__PURE__ */ u({
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
2
2
  var m = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var a = (o, e, t) => m(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { defineComponent as g, mergeModels as v, useModel as I, ref as c, onMounted as w, resolveComponent as C, openBlock as y, createElementBlock as _, createVNode as V, createElementVNode as M } from "vue";
5
- import { u as x, _ as S } from "./index-BOGnFXnC.js";
5
+ import { u as x, _ as S } from "./index-DdEBDsO2.js";
6
6
  import "element-plus";
7
7
  function b() {
8
8
  return "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",");
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
2
- import { u as V } from "./index-BOGnFXnC.js";
2
+ import { u as V } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, ref as v, computed as N, watch as L, onMounted as x, onBeforeUnmount as F, openBlock as T, createElementBlock as E, mergeModels as J, useModel as A, resolveComponent as G, unref as W, createElementVNode as P, createBlock as X, withCtx as D, createTextVNode as I, createCommentVNode as Y, createVNode as R } from "vue";
2
- import { _ as H, u as K, d as Q } from "./index-BOGnFXnC.js";
2
+ import { _ as H, u as K, d as Q } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as F, mergeModels as V, useModel as $, ref as E, resolveComponent as C, openBlock as o, createElementBlock as n, Fragment as d, createVNode as u, normalizeClass as I, createSlots as L, withCtx as c, createTextVNode as f, createElementVNode as i, createBlock as b, toDisplayString as p, createCommentVNode as y, unref as N, renderList as O } from "vue";
2
2
  import { genFileId as R, ElMessage as z, ElMessageBox as j } from "element-plus";
3
- import { c as P, I as g, a as q, _ as A } from "./index-BOGnFXnC.js";
3
+ import { c as P, I as g, a as q, _ as A } from "./index-DdEBDsO2.js";
4
4
  const G = {
5
5
  key: 0,
6
6
  class: "smallDragStyle-text"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, mergeModels as d, useModel as i, computed as c, resolveComponent as f, openBlock as t, createElementBlock as y, toDisplayString as v, createBlock as k, mergeProps as V } from "vue";
2
- import { u as _ } from "./index-BOGnFXnC.js";
2
+ import { u as _ } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const B = { key: 0 }, g = /* @__PURE__ */ p({
5
5
  __name: "Component",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, inject as v, ref as g, watch as E, useTemplateRef as I, readonly as P, onUnmounted as V, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as j, withCtx as k, createElementVNode as p, normalizeClass as K, toDisplayString as x, createElementBlock as f, createCommentVNode as C, Fragment as L, renderList as F, unref as z, withModifiers as D, createVNode as S } from "vue";
2
- import { j as U, h as q, I as G, _ as H } from "./index-BOGnFXnC.js";
2
+ import { j as U, h as q, I as G, _ as H } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const J = { class: "tree-node-text" }, O = ["title"], Q = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as U, inject as $, ref as k, watch as A, resolveComponent as f, openBlock as o, createElementBlock as s, normalizeClass as m, normalizeStyle as O, createElementVNode as c, createBlock as p, createCommentVNode as u, toDisplayString as M, withCtx as v, Fragment as B, renderList as R, createTextVNode as q, createVNode as r, withKeys as G, unref as I, withDirectives as H, vShow as J } from "vue";
2
- import { u as Q, I as h, b as V, B as W, i as X, _ as Y } from "./index-BOGnFXnC.js";
2
+ import { u as Q, I as h, b as V, B as W, i as X, _ as Y } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const Z = ["id"], x = { class: "left-part" }, ee = { class: "title" }, le = { class: "right-part" }, ae = { key: 0 }, oe = {
5
5
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as u, resolveDynamicComponent as d, mergeProps as c } from "vue";
2
- import { _ as i } from "./index-BOGnFXnC.js";
2
+ import { _ as i } from "./index-DdEBDsO2.js";
3
3
  const f = {
4
4
  key: 0,
5
5
  class: "empty"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, mergeModels as M, useModel as k, useAttrs as D, computed as l, inject as u, resolveComponent as I, openBlock as i, createElementBlock as E, toDisplayString as _, createBlock as S, mergeProps as V } from "vue";
2
2
  import { dayjs as b } from "element-plus";
3
- import { u as B } from "./index-BOGnFXnC.js";
3
+ import { u as B } from "./index-DdEBDsO2.js";
4
4
  const F = { key: 0 }, j = /* @__PURE__ */ y({
5
5
  __name: "DatePicker",
6
6
  props: /* @__PURE__ */ M({
@@ -1,5 +1,5 @@
1
- import { defineComponent as J, reactive as F, ref as T, onBeforeMount as le, onMounted as ie, nextTick as h, onBeforeUnmount as re, watch as c, provide as j, toRefs as q, openBlock as R, createElementBlock as A, normalizeStyle as ne, renderSlot as O, Fragment as se, renderList as ue, createBlock as K, mergeProps as de, withCtx as Q, withDirectives as ce, createVNode as Z, vShow as me, mergeModels as ge, useModel as pe, onUnmounted as ye, unref as X, readonly as Y } from "vue";
2
- import { w as ve, m as fe, n as he, o as k, T as we, v as xe, p as C, A as be, q as G, x as Be, L as ke, y as Ce, r as De, Y as Le, s as Me, t as P, V as Se, c as ze, j as Re, b as Ie, _ as Ne } from "./index-BOGnFXnC.js";
1
+ import { defineComponent as J, reactive as F, ref as T, onBeforeMount as le, onMounted as ie, nextTick as h, onBeforeUnmount as re, watch as c, provide as j, toRefs as q, openBlock as R, createElementBlock as A, normalizeStyle as ne, renderSlot as O, Fragment as se, renderList as ue, createBlock as K, mergeProps as de, withCtx as Q, withDirectives as ce, createVNode as Z, vShow as ge, mergeModels as me, useModel as pe, onUnmounted as ye, unref as X, readonly as Y } from "vue";
2
+ import { w as ve, n as fe, o as he, p as k, T as we, v as xe, q as C, A as be, r as G, x as Be, L as ke, y as Ce, s as De, Y as Le, t as Me, z as P, V as ze, c as Se, j as Re, b as Ie, _ as Ne } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const $e = /* @__PURE__ */ J({
5
5
  __name: "grid-layout",
@@ -52,23 +52,23 @@ const $e = /* @__PURE__ */ J({
52
52
  // store last active breakpoint
53
53
  originalLayout: null
54
54
  // store original Layout
55
- }), L = /* @__PURE__ */ new Map(), o = T(a.layout), m = T(), { observeResize: M, unobserveResize: N } = ve(), i = Se();
55
+ }), L = /* @__PURE__ */ new Map(), o = T(a.layout), g = T(), { observeResize: M, unobserveResize: N } = ve(), i = ze();
56
56
  i.on("resizeEvent", s), i.on("dragEvent", u), le(() => {
57
57
  d("layout-before-mount", o.value);
58
58
  }), ie(() => {
59
59
  d("layout-mounted", o.value), h(() => {
60
60
  fe(o.value), t.originalLayout = o.value, h(() => {
61
- W(), m.value && M(m.value, he(E, 16)), k(o.value, a.verticalCompact), d("layout-updated", o.value), x(), E();
61
+ W(), g.value && M(g.value, he(E, 16)), k(o.value, a.verticalCompact), d("layout-updated", o.value), x(), E();
62
62
  });
63
63
  });
64
64
  }), re(() => {
65
- i.clearAll(), m.value && N(m.value);
65
+ i.clearAll(), g.value && N(g.value);
66
66
  });
67
- function s(e, n, r, v, g, p) {
68
- V(e, n, r, v, g, p);
67
+ function s(e, n, r, v, m, p) {
68
+ V(e, n, r, v, m, p);
69
69
  }
70
- function u(e, n, r, v, g, p) {
71
- U(e, n, r, v, g, p);
70
+ function u(e, n, r, v, m, p) {
71
+ U(e, n, r, v, m, p);
72
72
  }
73
73
  c(
74
74
  () => t.width,
@@ -164,7 +164,7 @@ const $e = /* @__PURE__ */ J({
164
164
  };
165
165
  }
166
166
  function E() {
167
- m.value && (t.width = m.value.offsetWidth), i.emit("resizeEvent");
167
+ g.value && (t.width = g.value.offsetWidth), i.emit("resizeEvent");
168
168
  }
169
169
  function te() {
170
170
  if (!a.autoSize) return;
@@ -172,36 +172,36 @@ const $e = /* @__PURE__ */ J({
172
172
  return be(o.value) * (a.rowHeight + e) + e + "px";
173
173
  }
174
174
  let _;
175
- function U(e, n, r, v, g, p) {
175
+ function U(e, n, r, v, m, p) {
176
176
  let l = G(o.value, n);
177
177
  C(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" }), e === "dragstart" && !a.verticalCompact && (_ = o.value.reduce(
178
- (B, { i: S, x: f, y: b }) => ({
178
+ (B, { i: z, x: f, y: b }) => ({
179
179
  ...B,
180
- [S]: { x: f, y: b }
180
+ [z]: { x: f, y: b }
181
181
  }),
182
182
  {}
183
- )), e === "dragmove" || e === "dragstart" ? (t.placeholder.i = n, t.placeholder.x = l.x, t.placeholder.y = l.y, t.placeholder.w = p, t.placeholder.h = g, h(() => {
183
+ )), e === "dragmove" || e === "dragstart" ? (t.placeholder.i = n, t.placeholder.x = l.x, t.placeholder.y = l.y, t.placeholder.w = p, t.placeholder.h = m, h(() => {
184
184
  t.isDragging = !0;
185
185
  }), i.emit("updateWidth", t.width)) : h(() => {
186
186
  t.isDragging = !1;
187
187
  }), o.value = Be(o.value, l, r, v, !0, a.preventCollision), a.restoreOnDrag ? (l.static = !0, k(o.value, a.verticalCompact, _), l.static = !1) : k(o.value, a.verticalCompact), i.emit("compact"), x(), e === "dragend" && (_ = void 0, d("layout-updated", o.value));
188
188
  }
189
- function V(e, n, r, v, g, p) {
189
+ function V(e, n, r, v, m, p) {
190
190
  let l = G(o.value, n);
191
191
  C(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
192
192
  let B;
193
193
  if (a.preventCollision) {
194
- const S = ke(o.value, { ...l, w: p, h: g }).filter(
194
+ const z = ke(o.value, { ...l, w: p, h: m }).filter(
195
195
  (f) => f.i !== l.i
196
196
  );
197
- if (B = S.length > 0, B) {
197
+ if (B = z.length > 0, B) {
198
198
  let f = 1 / 0, b = 1 / 0;
199
- S.forEach((z) => {
200
- z.x > l.x && (f = Math.min(f, z.x)), z.y > l.y && (b = Math.min(b, z.y));
199
+ z.forEach((S) => {
200
+ S.x > l.x && (f = Math.min(f, S.x)), S.y > l.y && (b = Math.min(b, S.y));
201
201
  }), Number.isFinite(f) && (l.w = f - l.x), Number.isFinite(b) && (l.h = b - l.y);
202
202
  }
203
203
  }
204
- B || (l.w = p, l.h = g), e === "resizestart" || e === "resizemove" ? (t.placeholder.i = n, t.placeholder.x = r, t.placeholder.y = v, t.placeholder.w = l.w, t.placeholder.h = l.h, h(() => {
204
+ B || (l.w = p, l.h = m), e === "resizestart" || e === "resizemove" ? (t.placeholder.i = n, t.placeholder.x = r, t.placeholder.y = v, t.placeholder.w = l.w, t.placeholder.h = l.h, h(() => {
205
205
  t.isDragging = !0;
206
206
  }), i.emit("updateWidth", t.width)) : e && h(() => {
207
207
  t.isDragging = !1;
@@ -228,12 +228,12 @@ const $e = /* @__PURE__ */ J({
228
228
  t.layouts = Object.assign({}, a.responsiveLayouts);
229
229
  }
230
230
  function oe(e, n) {
231
- const r = new Set(n.map((l) => l.i)), v = new Set(e.map((l) => l.i)), g = e.filter((l) => !r.has(l.i)), p = n.filter((l) => !v.has(l.i));
232
- return g.concat(p);
231
+ const r = new Set(n.map((l) => l.i)), v = new Set(e.map((l) => l.i)), m = e.filter((l) => !r.has(l.i)), p = n.filter((l) => !v.has(l.i));
232
+ return m.concat(p);
233
233
  }
234
234
  return (e, n) => (R(), A("div", {
235
235
  ref_key: "wrapper",
236
- ref: m,
236
+ ref: g,
237
237
  class: "vgl-layout",
238
238
  style: ne(t.mergedStyle)
239
239
  }, [
@@ -254,13 +254,13 @@ const $e = /* @__PURE__ */ J({
254
254
  h: t.placeholder.h,
255
255
  i: t.placeholder.i
256
256
  }, null, 8, ["x", "y", "w", "h", "i"]), [
257
- [me, t.isDragging]
257
+ [ge, t.isDragging]
258
258
  ])
259
259
  ], 4));
260
260
  }
261
261
  }), Ee = /* @__PURE__ */ J({
262
262
  __name: "DragList",
263
- props: /* @__PURE__ */ ge({
263
+ props: /* @__PURE__ */ me({
264
264
  children: {},
265
265
  rowHeight: {},
266
266
  colNum: {},
@@ -274,7 +274,7 @@ const $e = /* @__PURE__ */ J({
274
274
  }),
275
275
  emits: ["update:gridlayout"],
276
276
  setup(D, { expose: I }) {
277
- const w = D, a = pe(D, "gridlayout"), m = {
277
+ const w = D, a = pe(D, "gridlayout"), g = {
278
278
  getLayout: () => Y(a),
279
279
  setItemX: (s, u) => {
280
280
  a.value[s].x = u;
@@ -287,7 +287,7 @@ const $e = /* @__PURE__ */ J({
287
287
  y && (y.h = u ? y.contentHeight || 1 : 0);
288
288
  },
289
289
  type: "draglist"
290
- }, { ruleModule: M, pageMethodMap: N } = ze(), i = () => {
290
+ }, { ruleModule: M, pageMethodMap: N } = Se(), i = () => {
291
291
  if (w.onMoved && M)
292
292
  try {
293
293
  M[w.onMoved](N, Y(a.value));
@@ -296,8 +296,8 @@ const $e = /* @__PURE__ */ J({
296
296
  onMoved: ${w.onMoved}`);
297
297
  }
298
298
  };
299
- if (I(m), w.name) {
300
- const s = Re(w.name, m);
299
+ if (I(g), w.name) {
300
+ const s = Re(w.name, g);
301
301
  ye(() => {
302
302
  s();
303
303
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, ref as m, readonly as K, onUnmounted as U, resolveComponent as c, openBlock as f, createElementBlock as _, createElementVNode as u, createVNode as o, withKeys as j, withModifiers as E, withCtx as i, Fragment as N, renderList as R, createBlock as D, normalizeClass as L, withDirectives as $, unref as q, vShow as A } from "vue";
2
- import { c as G, j as H, I as C, b as J, _ as O } from "./index-BOGnFXnC.js";
2
+ import { c as G, j as H, I as C, b as J, _ as O } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
5
5
  __name: "FilterSearch",
@@ -1,7 +1,7 @@
1
- import { defineComponent as E, ref as N, computed as G, onUnmounted as R, resolveComponent as g, withDirectives as M, openBlock as u, createElementBlock as b, createElementVNode as t, createVNode as a, withCtx as d, createTextVNode as A, toDisplayString as y, unref as U, vShow as B, Fragment as L, renderList as H, createBlock as D, createCommentVNode as w } from "vue";
2
- import { c as J, u as K, i as T, j as O, I as m, b as Q, _ as W } from "./index-BOGnFXnC.js";
3
- import { dayjs as X } from "element-plus";
4
- const Z = { class: "float-curd" }, ee = { class: "curd-body" }, oe = { class: "gradient-input-wrapper" }, ne = { class: "float-form" }, te = { class: "float-form-header" }, le = { class: "float-form-header-title" }, ae = { class: "float-form-header-btns" }, se = { class: "float-form-body" }, re = { class: "curd-footer" }, ie = /* @__PURE__ */ E({
1
+ import { defineComponent as G, ref as g, computed as R, onUnmounted as U, resolveComponent as M, withDirectives as A, openBlock as u, createElementBlock as b, createElementVNode as t, createVNode as a, withCtx as d, createTextVNode as B, toDisplayString as y, unref as L, vShow as D, Fragment as H, renderList as J, createBlock as w, createCommentVNode as T } from "vue";
2
+ import { c as K, u as O, i as Y, j as Q, I as m, b as W, _ as X } from "./index-DdEBDsO2.js";
3
+ import { dayjs as Z } from "element-plus";
4
+ const ee = { class: "float-curd" }, oe = { class: "curd-body" }, ne = { class: "gradient-input-wrapper" }, te = { class: "float-form" }, le = { class: "float-form-header" }, ae = { class: "float-form-header-title" }, se = { class: "float-form-header-btns" }, re = { class: "float-form-body" }, ie = { class: "curd-footer" }, ce = /* @__PURE__ */ G({
5
5
  __name: "FloatCurd",
6
6
  props: {
7
7
  name: {},
@@ -12,31 +12,31 @@ const Z = { class: "float-curd" }, ee = { class: "curd-body" }, oe = { class: "g
12
12
  inputPlaceholder: {},
13
13
  hidden: { type: Boolean }
14
14
  },
15
- setup(Y, { expose: $ }) {
16
- const i = Y, c = N(!1), { ruleModule: C, pageMethodMap: k } = J(), v = K(), j = G(() => {
17
- var n, _, S, x;
18
- const o = v.schema.items, e = v.formValues, s = T(o, i.name);
15
+ setup($, { expose: j }) {
16
+ const i = $, c = g(!1), { ruleModule: C, pageMethodMap: k } = K(), v = O(), q = R(() => {
17
+ var n, _, S, x, F;
18
+ const o = v.schema.items, e = v.formValues, s = Y(o, i.name);
19
19
  if (!s || !s.children)
20
20
  return [];
21
21
  const f = [];
22
- for (const F in e) {
23
- const l = T(s.children, F);
22
+ for (const N in e) {
23
+ const l = Y(s.children, N);
24
24
  if (l && l.label) {
25
- const r = e[F];
25
+ const r = e[N];
26
26
  if (r != null && r !== "") {
27
27
  const p = {
28
28
  name: l.name,
29
29
  label: l.label,
30
30
  value: r,
31
- closeable: !l.required
31
+ closeable: !l.required && !((n = l.props) != null && n.disabled)
32
32
  };
33
- l.component === "DatePicker" && (p.iconName = "icon-rili", p.value = X(r).format(((n = l.props) == null ? void 0 : n.valueFormat) || "YYYY-MM-DD")), l.component === "Select" && (p.value = (x = (S = (_ = l.props) == null ? void 0 : _.options) == null ? void 0 : S.find((z) => z.value === r)) == null ? void 0 : x.label), f.push(p);
33
+ l.component === "DatePicker" && (p.iconName = "icon-rili", p.value = Z(r).format(((_ = l.props) == null ? void 0 : _.valueFormat) || "YYYY-MM-DD")), l.component === "Select" && (p.value = (F = (x = (S = l.props) == null ? void 0 : S.options) == null ? void 0 : x.find((E) => E.value === r)) == null ? void 0 : F.label), f.push(p);
34
34
  }
35
35
  }
36
36
  }
37
37
  return f;
38
- }), h = N("");
39
- function q() {
38
+ }), h = g("");
39
+ function P() {
40
40
  try {
41
41
  C[i.onSearch](k), c.value = !1;
42
42
  } catch (o) {
@@ -50,23 +50,23 @@ const Z = { class: "float-curd" }, ee = { class: "curd-body" }, oe = { class: "g
50
50
  console.error(o);
51
51
  }
52
52
  }
53
- function P(o) {
53
+ function z(o) {
54
54
  v.setFieldValue(o.name, "", "");
55
55
  }
56
56
  const I = {
57
57
  type: "floatcurd"
58
58
  };
59
- if ($(I), i.name) {
60
- const o = O(i.name, I);
61
- R(() => {
59
+ if (j(I), i.name) {
60
+ const o = Q(i.name, I);
61
+ U(() => {
62
62
  o();
63
63
  });
64
64
  }
65
65
  return (o, e) => {
66
- const s = g("el-button"), f = g("el-input");
67
- return M((u(), b("div", Z, [
68
- t("div", ee, [
69
- t("div", oe, [
66
+ const s = M("el-button"), f = M("el-input");
67
+ return A((u(), b("div", ee, [
68
+ t("div", oe, [
69
+ t("div", ne, [
70
70
  a(f, {
71
71
  placeholder: o.inputPlaceholder,
72
72
  modelValue: h.value,
@@ -85,7 +85,7 @@ const Z = { class: "float-curd" }, ee = { class: "curd-body" }, oe = { class: "g
85
85
  onClick: V
86
86
  }, {
87
87
  default: d(() => e[4] || (e[4] = [
88
- A("Go")
88
+ B("Go")
89
89
  ])),
90
90
  _: 1
91
91
  })
@@ -104,17 +104,17 @@ const Z = { class: "float-curd" }, ee = { class: "curd-body" }, oe = { class: "g
104
104
  ]),
105
105
  _: 1
106
106
  }),
107
- M(t("div", ne, [
108
- t("div", te, [
109
- t("div", le, y(o.formTitle), 1),
110
- t("div", ae, [
107
+ A(t("div", te, [
108
+ t("div", le, [
109
+ t("div", ae, y(o.formTitle), 1),
110
+ t("div", se, [
111
111
  a(s, {
112
112
  type: "primary",
113
113
  size: "small",
114
- onClick: q
114
+ onClick: P
115
115
  }, {
116
116
  default: d(() => e[6] || (e[6] = [
117
- A("Go")
117
+ B("Go")
118
118
  ])),
119
119
  _: 1
120
120
  }),
@@ -124,38 +124,39 @@ const Z = { class: "float-curd" }, ee = { class: "curd-body" }, oe = { class: "g
124
124
  })
125
125
  ])
126
126
  ]),
127
- t("div", se, [
128
- a(U(Q), { list: o.children }, null, 8, ["list"])
127
+ t("div", re, [
128
+ a(L(W), { list: o.children }, null, 8, ["list"])
129
129
  ])
130
130
  ], 512), [
131
- [B, c.value]
131
+ [D, c.value]
132
132
  ])
133
133
  ]),
134
- t("div", re, [
135
- (u(!0), b(L, null, H(j.value, (n) => (u(), b("div", {
134
+ t("div", ie, [
135
+ (u(!0), b(H, null, J(q.value, (n) => (u(), b("div", {
136
136
  class: "tag",
137
137
  key: n.name
138
138
  }, [
139
- n.iconName ? (u(), D(m, {
139
+ n.iconName ? (u(), w(m, {
140
140
  key: 0,
141
141
  name: n.iconName
142
- }, null, 8, ["name"])) : w("", !0),
142
+ }, null, 8, ["name"])) : T("", !0),
143
143
  t("span", null, y(n.label) + ":", 1),
144
144
  t("span", null, y(n.value), 1),
145
- n.closeable ? (u(), D(m, {
145
+ n.closeable ? (u(), w(m, {
146
146
  key: 1,
147
147
  name: "icon-a-rongqi1",
148
- onClick: (_) => P(n),
148
+ onClick: (_) => z(n),
149
149
  class: "close-icon"
150
- }, null, 8, ["onClick"])) : w("", !0)
151
- ]))), 128))
150
+ }, null, 8, ["onClick"])) : T("", !0)
151
+ ]))), 128)),
152
+ e[7] || (e[7] = t("div", { class: "clear-btn" }, "Clear filters", -1))
152
153
  ])
153
154
  ], 512)), [
154
- [B, !o.hidden]
155
+ [D, !o.hidden]
155
156
  ]);
156
157
  };
157
158
  }
158
- }), me = /* @__PURE__ */ W(ie, [["__scopeId", "data-v-cd5c8a81"]]);
159
+ }), fe = /* @__PURE__ */ X(ce, [["__scopeId", "data-v-aa012458"]]);
159
160
  export {
160
- me as default
161
+ fe as default
161
162
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
2
- import { u as U, l as w, e as W, f as V, a as L, h as X } from "./index-BOGnFXnC.js";
2
+ import { u as U, l as w, e as W, f as V, a as L, h as X } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-content" }, ee = { class: "card-header" }, le = { style: { "margin-top": "5px" } }, oe = /* @__PURE__ */ S({
5
5
  __name: "FormList",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, computed as o, openBlock as a, createElementBlock as d, normalizeStyle as r, createVNode as m, unref as l } from "vue";
2
- import { b as g } from "./index-BOGnFXnC.js";
2
+ import { b as g } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const x = /* @__PURE__ */ e({
5
5
  __name: "Grid",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, resolveDirective as c, withDirectives as a, openBlock as d, createElementBlock as f, normalizeStyle as p, createVNode as _, unref as m } from "vue";
2
- import { c as u, b as y, _ as h } from "./index-BOGnFXnC.js";
2
+ import { c as u, b as y, _ as h } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const b = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
5
5
  __name: "InfiniteScroll",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, computed as o, openBlock as r, createElementBlock as i, normalizeStyle as p, createVNode as s, unref as c } from "vue";
2
- import { b as m, _ as u } from "./index-BOGnFXnC.js";
2
+ import { b as m, _ as u } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const f = /* @__PURE__ */ l({
5
5
  __name: "Inline",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
2
- import { _ as xt, g as Nt } from "./index-BOGnFXnC.js";
2
+ import { _ as xt, g as Nt } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const Mt = /* @__PURE__ */ At({
5
5
  __name: "Disabled",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, openBlock as e, createElementBlock as o, Fragment as a, renderList as d, createElementVNode as s, normalizeStyle as i, toDisplayString as l, normalizeClass as u, createTextVNode as g, createCommentVNode as v } from "vue";
2
- import { _ as y } from "./index-BOGnFXnC.js";
2
+ import { _ as y } from "./index-DdEBDsO2.js";
3
3
  const f = { class: "log-list" }, h = { class: "title-part" }, m = { class: "title" }, b = { class: "sub-title" }, k = { class: "content" }, C = { key: 0 }, L = /* @__PURE__ */ p({
4
4
  __name: "LogList",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, inject as i, provide as f, ref as d, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
2
- import { u as j, e as h, f as k } from "./index-BOGnFXnC.js";
2
+ import { u as j, e as h, f as k } from "./index-DdEBDsO2.js";
3
3
  import "element-plus";
4
4
  const v = { class: "vfc-ObjGroup" }, B = {
5
5
  key: 1,