asiaint-lowcode 3.1.86 → 3.1.88

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 (42) hide show
  1. package/dist/asiaint-lowcode.js +6 -5
  2. package/dist/asiaint-lowcode.umd.cjs +145 -144
  3. package/dist/index.d.ts +12 -0
  4. package/dist/lazy/{Card-c4EVqvl-.js → Card-ClbvHWhX.js} +1 -1
  5. package/dist/lazy/{Cascader-BlJANBhi.js → Cascader-CtbKa1Xy.js} +1 -1
  6. package/dist/lazy/{Checkbox-BZL_Cm74.js → Checkbox-DCbevIG7.js} +2 -2
  7. package/dist/lazy/{Collapse-C-Pxi6_d.js → Collapse-BW-Gnxb4.js} +1 -1
  8. package/dist/lazy/{Component-BD47Dckc.js → Component-B0uBlLkq.js} +1 -1
  9. package/dist/lazy/{Component-C5wcdYJk.js → Component-BEqLINaP.js} +1 -1
  10. package/dist/lazy/{Component-XaZ29Uyl.js → Component-C0kjOe6w.js} +1 -1
  11. package/dist/lazy/{Component-rJeAFMzS.js → Component-CLaR9uTW.js} +1 -1
  12. package/dist/lazy/{Component-9UX0KhOp.js → Component-CS99rdNO.js} +1 -1
  13. package/dist/lazy/{Component-x-oDsfeX.js → Component-P3A2MPpK.js} +8 -8
  14. package/dist/lazy/{CurdCard-C-U4rr-i.js → CurdCard-C4i9NgHW.js} +1 -1
  15. package/dist/lazy/{Custom-1uBc7gEY.js → Custom-BYVoTZu0.js} +1 -1
  16. package/dist/lazy/{DatePicker-Cbn6mJli.js → DatePicker-f-AMK0tT.js} +1 -1
  17. package/dist/lazy/{DragList-Blgpjew-.js → DragList-o3mwt4Ax.js} +40 -40
  18. package/dist/lazy/{FilterSearch-CSsJ86gf.js → FilterSearch-Bfpm4Mdw.js} +16 -16
  19. package/dist/lazy/{FloatCurd-CSJPSk8v.js → FloatCurd-I-AOSMn4.js} +27 -27
  20. package/dist/lazy/{FormList-Bd7tXpGC.js → FormList-DUgG7Kk2.js} +46 -46
  21. package/dist/lazy/{Grid-DyBzjIW7.js → Grid-CD-yi2vX.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-Bu1Z-EOz.js → InfiniteScroll-BP0DRpRH.js} +1 -1
  23. package/dist/lazy/{Inline-Ca1zZqug.js → Inline-SQHbQvb6.js} +1 -1
  24. package/dist/lazy/{JsonEdit-BIf26Mbf.js → JsonEdit-7CFIl7ZF.js} +1 -1
  25. package/dist/lazy/{LogList-CNTj168r.js → LogList-DzaEAFhl.js} +1 -1
  26. package/dist/lazy/ObjGroup-CHDRes2D.js +32 -0
  27. package/dist/lazy/{OfferDetails-CmZpLu26.js → OfferDetails-r3oMsVOu.js} +1 -1
  28. package/dist/lazy/{Pagination-CX3Rg3y7.js → Pagination-DorV2CK9.js} +4 -4
  29. package/dist/lazy/{Progress-BYr9Sh2z.js → Progress-BYFdiDZW.js} +1 -1
  30. package/dist/lazy/{Radio-ClaUqH40.js → Radio-DU5XV6GF.js} +2 -2
  31. package/dist/lazy/{SearchSelect-BZL6zrQ0.js → SearchSelect-DTo8neB2.js} +2 -2
  32. package/dist/lazy/{Select-B8iNOOBO.js → Select-BWCnE_Du.js} +2 -2
  33. package/dist/lazy/{Table-Di8Ig1Au.js → Table-BVHaMlWv.js} +1 -1
  34. package/dist/lazy/{Tabs-D6DRS3xf.js → Tabs-65gm07Gb.js} +1 -1
  35. package/dist/lazy/TextArea-L971aQqZ.js +37 -0
  36. package/dist/lazy/{Wrapper-CyCHHaXA.js → Wrapper-BTca7KqX.js} +1 -1
  37. package/dist/lazy/{index-BiE9eiTi.js → index-BRzv3K5P.js} +4548 -4528
  38. package/dist/lazy/{useSelect-t7-VR4nA.js → useSelect-Dz0Auw7t.js} +1 -1
  39. package/dist/style.css +1 -1
  40. package/package.json +1 -1
  41. package/dist/lazy/ObjGroup-CXp6Z_RZ.js +0 -32
  42. package/dist/lazy/TextArea-CqXg7VDz.js +0 -34
package/dist/index.d.ts CHANGED
@@ -457,6 +457,7 @@ readonly props: any;
457
457
  readonly children?: readonly any[] | undefined;
458
458
  readonly hidden?: (boolean | string) | undefined;
459
459
  readonly hideLabel?: boolean | undefined;
460
+ readonly wFullLabel?: boolean | undefined;
460
461
  readonly designKey?: string | undefined;
461
462
  readonly rules?: readonly {
462
463
  readonly type: "email" | "url" | "custom" | string;
@@ -598,6 +599,7 @@ readonly props: any;
598
599
  readonly children?: readonly any[] | undefined;
599
600
  readonly hidden?: (boolean | string) | undefined;
600
601
  readonly hideLabel?: boolean | undefined;
602
+ readonly wFullLabel?: boolean | undefined;
601
603
  readonly designKey?: string | undefined;
602
604
  readonly rules?: readonly {
603
605
  readonly type: "email" | "url" | "custom" | string;
@@ -1153,6 +1155,7 @@ export declare interface FormItemType {
1153
1155
  children?: FormItemType[];
1154
1156
  hidden?: boolean | string;
1155
1157
  hideLabel?: boolean;
1158
+ wFullLabel?: boolean;
1156
1159
  designKey?: string;
1157
1160
  rules?: FormRule[];
1158
1161
  class?: any;
@@ -1444,6 +1447,15 @@ export declare type PageSchema = {
1444
1447
  btnPosition?: 'center' | 'space-around' | 'space-between' | 'space-evenly' | 'end' | 'start';
1445
1448
  };
1446
1449
 
1450
+ export declare const provideRefManager: () => RefManager;
1451
+
1452
+ declare interface RefManager {
1453
+ register: (key: string, instance: any) => void;
1454
+ unregister: (key: string) => void;
1455
+ findRef: (key: string) => any | undefined;
1456
+ waitForKeys: (keys: string[]) => Promise<void>;
1457
+ }
1458
+
1447
1459
  declare type RefTypeMap = {
1448
1460
  [K in keyof ComponentType]: InstanceType<ComponentType[K]>;
1449
1461
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as P, watch as N, ref as B, inject as $, resolveComponent as k, openBlock as a, createBlock as f, mergeProps as V, withCtx as y, createElementVNode as i, normalizeClass as h, createElementBlock as t, createVNode as r, unref as C, createCommentVNode as d, toDisplayString as F, Fragment as b, renderList as z, withDirectives as D, vShow as j } from "vue";
2
- import { u as H, a as L, I as m, b as T, B as R, f as q, _ as A } from "./index-BiE9eiTi.js";
2
+ import { u as H, a as L, I as m, b as T, B as R, f as q, _ as A } from "./index-BRzv3K5P.js";
3
3
  import "element-plus";
4
4
  const G = {
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-t7-VR4nA.js";
3
+ import { u as b } from "./useSelect-Dz0Auw7t.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 d, resolveDirective as P, unref as a, openBlock as l, createElementBlock as i, 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-BiE9eiTi.js";
4
- import { u as N } from "./useSelect-t7-VR4nA.js";
3
+ import { u as E, c as L } from "./index-BRzv3K5P.js";
4
+ import { u as N } from "./useSelect-Dz0Auw7t.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-BiE9eiTi.js";
2
+ import { b as y } from "./index-BRzv3K5P.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-BiE9eiTi.js";
5
+ import { u as x, _ as S } from "./index-BRzv3K5P.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,6 +1,6 @@
1
1
  import { defineComponent as $, mergeModels as z, useModel as E, ref as I, resolveComponent as B, openBlock as o, createElementBlock as t, Fragment as d, createVNode as c, normalizeClass as L, createSlots as N, withCtx as g, createTextVNode as h, createElementVNode as s, createBlock as f, toDisplayString as u, createCommentVNode as m, unref as O, renderList as T } from "vue";
2
2
  import { genFileId as R, ElMessage as j, ElMessageBox as P } from "element-plus";
3
- import { c as q, I as p, a as A, _ as G } from "./index-BiE9eiTi.js";
3
+ import { c as q, I as p, a as A, _ as G } from "./index-BRzv3K5P.js";
4
4
  const H = {
5
5
  key: 0,
6
6
  class: "smallDragStyle-text"
@@ -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-BiE9eiTi.js";
2
+ import { u as V } from "./index-BRzv3K5P.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 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-BiE9eiTi.js";
2
+ import { u as _ } from "./index-BRzv3K5P.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 $, 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-BiE9eiTi.js";
2
+ import { _ as H, u as K, d as Q } from "./index-BRzv3K5P.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -1,5 +1,5 @@
1
- import { defineComponent as P, inject as D, ref as K, watch as S, useTemplateRef as V, readonly as j, onUnmounted as F, resolveComponent as f, openBlock as d, createBlock as h, mergeProps as z, withCtx as N, createElementVNode as y, normalizeClass as w, toDisplayString as U, createElementBlock as _, createCommentVNode as b, Fragment as $, renderList as q, unref as G, withModifiers as H, createVNode as J } from "vue";
2
- import { j as O, i as Q, I as W, _ as X } from "./index-BiE9eiTi.js";
1
+ import { defineComponent as P, inject as D, ref as K, watch as S, useTemplateRef as V, readonly as F, onUnmounted as j, resolveComponent as h, openBlock as d, createBlock as f, mergeProps as z, withCtx as N, createElementVNode as y, normalizeClass as w, toDisplayString as U, createElementBlock as _, createCommentVNode as b, Fragment as $, renderList as q, unref as G, withModifiers as H, createVNode as J } from "vue";
2
+ import { i as O, h as Q, I as W, _ as X } from "./index-BRzv3K5P.js";
3
3
  import "element-plus";
4
4
  const Y = { class: "tree-node-text" }, Z = ["title"], ee = {
5
5
  key: 0,
@@ -76,7 +76,7 @@ onLoad: ${o.onLoad}`);
76
76
  immediate: !0
77
77
  }
78
78
  );
79
- const g = V("treeRef"), T = j({
79
+ const g = V("treeRef"), T = F({
80
80
  getCheckedNodes: () => {
81
81
  var e;
82
82
  return (e = g.value) == null ? void 0 : e.getCheckedNodes();
@@ -85,13 +85,13 @@ onLoad: ${o.onLoad}`);
85
85
  });
86
86
  if (o.name) {
87
87
  const e = O(o.name, T);
88
- F(() => {
88
+ j(() => {
89
89
  e();
90
90
  });
91
91
  }
92
92
  return L(T), (e, t) => {
93
- const n = f("el-tooltip"), c = f("el-button"), C = f("el-tree");
94
- return d(), h(C, z(e.$attrs, {
93
+ const n = h("el-tooltip"), c = h("el-button"), C = h("el-tree");
94
+ return d(), f(C, z(e.$attrs, {
95
95
  onNodeClick: R,
96
96
  load: E,
97
97
  ref_key: "treeRef",
@@ -121,7 +121,7 @@ onLoad: ${o.onLoad}`);
121
121
  (d(!0), _($, null, q(e.btns, (l) => (d(), _($, {
122
122
  key: l.key
123
123
  }, [
124
- G(Q)(l.hidden, { $node: i, $data: u }) ? b("", !0) : (d(), h(c, {
124
+ G(Q)(l.hidden, { $node: i, $data: u }) ? b("", !0) : (d(), f(c, {
125
125
  key: 0,
126
126
  link: "",
127
127
  onClick: H((le) => I(l.onClick || "", i, u), ["stop"]),
@@ -136,7 +136,7 @@ onLoad: ${o.onLoad}`);
136
136
  placement: "top"
137
137
  }, {
138
138
  default: N(() => [
139
- l.icon ? (d(), h(W, {
139
+ l.icon ? (d(), f(W, {
140
140
  key: 0,
141
141
  name: l.icon.name,
142
142
  color: l.icon.color,
@@ -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, f as X, _ as Y } from "./index-BiE9eiTi.js";
2
+ import { u as Q, I as h, b as V, B as W, f as X, _ as Y } from "./index-BRzv3K5P.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-BiE9eiTi.js";
2
+ import { _ as i } from "./index-BRzv3K5P.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-BiE9eiTi.js";
3
+ import { u as B } from "./index-BRzv3K5P.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 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-BiE9eiTi.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 q, toRefs as A, openBlock as R, createElementBlock as O, normalizeStyle as ne, renderSlot as X, 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 Y, readonly as j } 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, i as Re, b as Ie, _ as Ne } from "./index-BRzv3K5P.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), g = T(), { observeResize: M, unobserveResize: N } = ve(), i = ze();
55
+ }), L = /* @__PURE__ */ new Map(), o = T(a.layout), m = T(), { observeResize: M, unobserveResize: N } = ve(), i = Se();
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(), g.value && M(g.value, he(E, 16)), k(o.value, a.verticalCompact), d("layout-updated", o.value), x(), E();
61
+ W(), m.value && M(m.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(), g.value && N(g.value);
65
+ i.clearAll(), m.value && N(m.value);
66
66
  });
67
- function s(e, n, r, v, m, p) {
68
- V(e, n, r, v, m, p);
67
+ function s(e, n, r, v, g, p) {
68
+ V(e, n, r, v, g, p);
69
69
  }
70
- function u(e, n, r, v, m, p) {
71
- U(e, n, r, v, m, p);
70
+ function u(e, n, r, v, g, p) {
71
+ U(e, n, r, v, g, p);
72
72
  }
73
73
  c(
74
74
  () => t.width,
@@ -124,15 +124,15 @@ const $e = /* @__PURE__ */ J({
124
124
  (e) => {
125
125
  i.emit("setMaxRows", e);
126
126
  }
127
- ), c([() => a.margin, () => a.margin[1]], x), j(
127
+ ), c([() => a.margin, () => a.margin[1]], x), q(
128
128
  we,
129
129
  F({
130
- ...q(a),
131
- ...q(t),
130
+ ...A(a),
131
+ ...A(t),
132
132
  increaseItem: y,
133
133
  decreaseItem: $
134
134
  })
135
- ), j(xe, i), I({ state: t, getItem: ee, resizeEvent: V, dragEvent: U, layoutUpdate: H });
135
+ ), q(xe, i), I({ state: t, getItem: ee, resizeEvent: V, dragEvent: U, layoutUpdate: H });
136
136
  function y(e) {
137
137
  L.set(e.i, e);
138
138
  }
@@ -164,7 +164,7 @@ const $e = /* @__PURE__ */ J({
164
164
  };
165
165
  }
166
166
  function E() {
167
- g.value && (t.width = g.value.offsetWidth), i.emit("resizeEvent");
167
+ m.value && (t.width = m.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, m, p) {
175
+ function U(e, n, r, v, g, 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: z, x: f, y: b }) => ({
178
+ (B, { i: S, x: f, y: b }) => ({
179
179
  ...B,
180
- [z]: { x: f, y: b }
180
+ [S]: { 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 = m, 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 = g, 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, m, p) {
189
+ function V(e, n, r, v, g, 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 z = ke(o.value, { ...l, w: p, h: m }).filter(
194
+ const S = ke(o.value, { ...l, w: p, h: g }).filter(
195
195
  (f) => f.i !== l.i
196
196
  );
197
- if (B = z.length > 0, B) {
197
+ if (B = S.length > 0, B) {
198
198
  let f = 1 / 0, b = 1 / 0;
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));
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));
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 = 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(() => {
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(() => {
205
205
  t.isDragging = !0;
206
206
  }), i.emit("updateWidth", t.width)) : e && h(() => {
207
207
  t.isDragging = !1;
@@ -228,21 +228,21 @@ 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)), m = e.filter((l) => !r.has(l.i)), p = n.filter((l) => !v.has(l.i));
232
- return m.concat(p);
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);
233
233
  }
234
- return (e, n) => (R(), A("div", {
234
+ return (e, n) => (R(), O("div", {
235
235
  ref_key: "wrapper",
236
- ref: g,
236
+ ref: m,
237
237
  class: "vgl-layout",
238
238
  style: ne(t.mergedStyle)
239
239
  }, [
240
- e.$slots.default ? O(e.$slots, "default", { key: 0 }) : (R(!0), A(se, { key: 1 }, ue(o.value, (r) => (R(), K(P, de({
240
+ e.$slots.default ? X(e.$slots, "default", { key: 0 }) : (R(!0), O(se, { key: 1 }, ue(o.value, (r) => (R(), K(P, de({
241
241
  key: r.i,
242
242
  ref_for: !0
243
243
  }, r), {
244
244
  default: Q(() => [
245
- O(e.$slots, "item", { item: r })
245
+ X(e.$slots, "item", { item: r })
246
246
  ]),
247
247
  _: 2
248
248
  }, 1040))), 128)),
@@ -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
- [ge, t.isDragging]
257
+ [me, t.isDragging]
258
258
  ])
259
259
  ], 4));
260
260
  }
261
261
  }), Ee = /* @__PURE__ */ J({
262
262
  __name: "DragList",
263
- props: /* @__PURE__ */ me({
263
+ props: /* @__PURE__ */ ge({
264
264
  children: {},
265
265
  rowHeight: {},
266
266
  colNum: {},
@@ -274,8 +274,8 @@ 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"), g = {
278
- getLayout: () => Y(a),
277
+ const w = D, a = pe(D, "gridlayout"), m = {
278
+ getLayout: () => j(a),
279
279
  setItemX: (s, u) => {
280
280
  a.value[s].x = u;
281
281
  },
@@ -287,22 +287,22 @@ 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 } = Se(), i = () => {
290
+ }, { ruleModule: M, pageMethodMap: N } = ze(), i = () => {
291
291
  if (w.onMoved && M)
292
292
  try {
293
- M[w.onMoved](N, Y(a.value));
293
+ M[w.onMoved](N, j(a.value));
294
294
  } catch (s) {
295
295
  console.error(s + `
296
296
  onMoved: ${w.onMoved}`);
297
297
  }
298
298
  };
299
- if (I(g), w.name) {
300
- const s = Re(w.name, g);
299
+ if (I(m), w.name) {
300
+ const s = Re(w.name, m);
301
301
  ye(() => {
302
302
  s();
303
303
  });
304
304
  }
305
- return (s, u) => (R(), K(X($e), {
305
+ return (s, u) => (R(), K(Y($e), {
306
306
  layout: a.value,
307
307
  "onUpdate:layout": u[1] || (u[1] = (y) => a.value = y),
308
308
  "col-num": s.colNum || 12,
@@ -316,7 +316,7 @@ onMoved: ${w.onMoved}`);
316
316
  "use-css-transforms": ""
317
317
  }, {
318
318
  default: Q(() => [
319
- Z(X(Ie), {
319
+ Z(Y(Ie), {
320
320
  list: s.children,
321
321
  gridData: a.value,
322
322
  "onUpdate:gridData": u[0] || (u[0] = (y) => a.value = y),
@@ -1,5 +1,5 @@
1
- import { defineComponent as U, ref as o, readonly as j, onUnmounted as D, watch as E, onMounted as L, resolveComponent as p, openBlock as m, createElementBlock as T, createElementVNode as u, createVNode as s, withKeys as N, withModifiers as $, withCtx as h, toDisplayString as q, normalizeStyle as A, Fragment as G, renderList as H, createBlock as J, normalizeClass as O, withDirectives as P, unref as Q, vShow as X, nextTick as Y } from "vue";
2
- import { c as Z, j as ee, I as x, b as le, _ as ae } from "./index-BiE9eiTi.js";
1
+ import { defineComponent as U, ref as o, readonly as D, onUnmounted as E, watch as L, onMounted as N, resolveComponent as p, openBlock as m, createElementBlock as T, createElementVNode as i, createVNode as s, withKeys as j, withModifiers as $, withCtx as h, toDisplayString as q, normalizeStyle as A, Fragment as G, renderList as H, createBlock as J, normalizeClass as O, withDirectives as P, unref as Q, vShow as X, nextTick as Y } from "vue";
2
+ import { c as Z, i as ee, I as x, b as le, _ as ae } from "./index-BRzv3K5P.js";
3
3
  import "element-plus";
4
4
  const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
5
5
  __name: "FilterSearch",
@@ -14,7 +14,7 @@ const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
14
14
  onSearchTypeChange: {}
15
15
  },
16
16
  setup(w, { expose: V }) {
17
- const a = w, i = o(a.defaultCollapse), n = o(a.searchTypes ? a.searchTypes[0].value : null), b = () => n.value, k = (e) => {
17
+ const a = w, u = o(a.defaultCollapse), n = o(a.searchTypes ? a.searchTypes[0].value : null), b = () => n.value, k = (e) => {
18
18
  if (a.searchTypes) {
19
19
  const l = a.searchTypes.find((c) => c.value === e);
20
20
  l && (n.value = l.value);
@@ -41,8 +41,8 @@ const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
41
41
  console.error(e);
42
42
  }
43
43
  }, R = () => {
44
- i.value = !i.value;
45
- }, { ruleModule: d, pageMethodMap: f } = Z(), _ = j({
44
+ u.value = !u.value;
45
+ }, { ruleModule: d, pageMethodMap: f } = Z(), _ = D({
46
46
  setSearchValue: z,
47
47
  getSearchValue: I,
48
48
  getSearchType: b,
@@ -51,7 +51,7 @@ const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
51
51
  });
52
52
  if (a.name) {
53
53
  const e = ee(a.name, _);
54
- D(() => {
54
+ E(() => {
55
55
  e();
56
56
  });
57
57
  }
@@ -62,29 +62,29 @@ const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
62
62
  S.value = v.value.offsetWidth + 28;
63
63
  });
64
64
  };
65
- return E(
65
+ return L(
66
66
  () => n.value,
67
67
  () => {
68
68
  g();
69
69
  }
70
- ), L(() => {
70
+ ), N(() => {
71
71
  g();
72
72
  }), V(_), (e, l) => {
73
73
  const c = p("el-option"), W = p("el-select"), B = p("el-input"), K = p("el-collapse-transition");
74
74
  return m(), T("div", null, [
75
- u("div", te, [
75
+ i("div", te, [
76
76
  s(B, {
77
77
  modelValue: r.value,
78
78
  "onUpdate:modelValue": l[1] || (l[1] = (t) => r.value = t),
79
79
  placeholder: e.placeholder || "Search",
80
80
  size: "large",
81
- onKeyup: N($(y, ["stop"]), ["enter"]),
81
+ onKeyup: j($(y, ["stop"]), ["enter"]),
82
82
  class: "filter-search-input",
83
83
  clearable: !0,
84
84
  onInput: M
85
85
  }, {
86
86
  prefix: h(() => [
87
- u("span", {
87
+ i("span", {
88
88
  ref_key: "textWidthRef",
89
89
  ref: v,
90
90
  class: "text-width-calc"
@@ -119,23 +119,23 @@ const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
119
119
  ]),
120
120
  _: 1
121
121
  }, 8, ["modelValue", "placeholder", "onKeyup"]),
122
- u("div", {
123
- class: O(["filter-wrapper", { active: !i.value }]),
122
+ i("div", {
123
+ class: O(["filter-wrapper", { active: !u.value }]),
124
124
  onClick: R
125
125
  }, [
126
126
  s(x, {
127
127
  name: "icon-shaixuan",
128
128
  size: "small"
129
129
  }),
130
- l[2] || (l[2] = u("span", { class: "filter-text" }, "Filter", -1))
130
+ l[2] || (l[2] = i("span", { class: "filter-text" }, "Filter", -1))
131
131
  ], 2)
132
132
  ]),
133
133
  s(K, null, {
134
134
  default: h(() => [
135
- P(u("div", null, [
135
+ P(i("div", null, [
136
136
  s(Q(le), { list: e.children }, null, 8, ["list"])
137
137
  ], 512), [
138
- [X, !i.value]
138
+ [X, !u.value]
139
139
  ])
140
140
  ]),
141
141
  _: 1
@@ -1,5 +1,5 @@
1
- import { defineComponent as H, ref as A, computed as R, onUnmounted as U, resolveComponent as B, withDirectives as D, openBlock as c, createElementBlock as v, createElementVNode as l, createVNode as a, withCtx as d, createTextVNode as w, toDisplayString as Y, unref as J, vShow as $, Fragment as K, renderList as O, createBlock as j, createCommentVNode as k } from "vue";
2
- import { c as Q, u as W, f as q, j as X, I as m, b as Z, _ as ee } from "./index-BiE9eiTi.js";
1
+ import { defineComponent as H, ref as A, computed as R, onUnmounted as U, resolveComponent as B, withDirectives as D, openBlock as c, createElementBlock as v, createElementVNode as t, createVNode as a, withCtx as d, createTextVNode as w, toDisplayString as Y, unref as J, vShow as $, Fragment as K, renderList as O, createBlock as q, createCommentVNode as k } from "vue";
2
+ import { c as Q, u as W, f as L, i as X, I as m, b as Z, _ as ee } from "./index-BRzv3K5P.js";
3
3
  import { dayjs as oe } from "element-plus";
4
4
  const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "gradient-input-wrapper" }, ae = { class: "float-form" }, se = { class: "float-form-header" }, re = { class: "float-form-header-title" }, ie = { class: "float-form-header-btns" }, ce = { class: "float-form-body" }, ue = { class: "curd-footer" }, de = ["innerHTML"], me = /* @__PURE__ */ H({
5
5
  __name: "FloatCurd",
@@ -13,25 +13,25 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
13
13
  inputPlaceholder: {},
14
14
  hidden: { type: Boolean }
15
15
  },
16
- setup(L, { expose: P }) {
17
- const r = L, u = A(!1), { ruleModule: h, pageMethodMap: _ } = Q(), b = W(), V = R(() => {
16
+ setup(P, { expose: j }) {
17
+ const r = P, u = A(!1), { ruleModule: h, pageMethodMap: _ } = Q(), b = W(), V = R(() => {
18
18
  var n, y, x, F, M, N;
19
- const o = b.schema.items, e = b.formValues, s = q(o, r.name);
19
+ const o = b.schema.items, e = b.formValues, s = L(o, r.name);
20
20
  if (!s || !s.children)
21
21
  return [];
22
22
  const f = [];
23
23
  for (const T in e) {
24
- const t = q(s.children, T);
25
- if (t && t.label) {
24
+ const l = L(s.children, T);
25
+ if (l && l.label && !l.hidden) {
26
26
  const i = e[T];
27
27
  if (i != null && i !== "") {
28
28
  const p = {
29
- name: t.name,
30
- label: t.label,
29
+ name: l.name,
30
+ label: l.label,
31
31
  value: i,
32
- closeable: !t.required && !((n = t.props) != null && n.disabled) && ((y = t.props) == null ? void 0 : y.clearable) !== !1
32
+ closeable: !l.required && !((n = l.props) != null && n.disabled) && ((y = l.props) == null ? void 0 : y.clearable) !== !1
33
33
  };
34
- t.component === "DatePicker" && (p.iconName = "icon-rili", p.value = oe(i).format(((x = t.props) == null ? void 0 : x.valueFormat) || "YYYY-MM-DD")), t.component === "Select" && (p.value = (N = (M = (F = t.props) == null ? void 0 : F.options) == null ? void 0 : M.find((G) => G.value === i)) == null ? void 0 : N.label), f.push(p);
34
+ l.component === "DatePicker" && (p.iconName = "icon-rili", p.value = oe(i).format(((x = l.props) == null ? void 0 : x.valueFormat) || "YYYY-MM-DD")), l.component === "Select" && (p.value = (N = (M = (F = l.props) == null ? void 0 : F.options) == null ? void 0 : M.find((G) => G.value === i)) == null ? void 0 : N.label), f.push(p);
35
35
  }
36
36
  }
37
37
  }
@@ -64,7 +64,7 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
64
64
  const g = {
65
65
  type: "floatcurd"
66
66
  };
67
- if (P(g), r.name) {
67
+ if (j(g), r.name) {
68
68
  const o = X(r.name, g);
69
69
  U(() => {
70
70
  o();
@@ -73,8 +73,8 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
73
73
  return (o, e) => {
74
74
  const s = B("el-button"), f = B("el-input");
75
75
  return D((c(), v("div", ne, [
76
- l("div", le, [
77
- l("div", te, [
76
+ t("div", le, [
77
+ t("div", te, [
78
78
  a(f, {
79
79
  placeholder: o.inputPlaceholder,
80
80
  modelValue: C.value,
@@ -84,7 +84,7 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
84
84
  }, {
85
85
  prefix: d(() => [
86
86
  a(m, { name: "icon-a-mobang1" }),
87
- e[3] || (e[3] = l("span", { class: "prefix-text" }, "Ask AI", -1))
87
+ e[3] || (e[3] = t("span", { class: "prefix-text" }, "Ask AI", -1))
88
88
  ]),
89
89
  suffix: d(() => [
90
90
  a(s, {
@@ -108,14 +108,14 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
108
108
  }, {
109
109
  default: d(() => [
110
110
  a(m, { name: "icon-tiaojianshaixuan" }),
111
- e[5] || (e[5] = l("span", null, "More", -1))
111
+ e[5] || (e[5] = t("span", null, "More", -1))
112
112
  ]),
113
113
  _: 1
114
114
  }),
115
- D(l("div", ae, [
116
- l("div", se, [
117
- l("div", re, Y(o.formTitle), 1),
118
- l("div", ie, [
115
+ D(t("div", ae, [
116
+ t("div", se, [
117
+ t("div", re, Y(o.formTitle), 1),
118
+ t("div", ie, [
119
119
  a(s, {
120
120
  type: "primary",
121
121
  size: "small",
@@ -132,27 +132,27 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
132
132
  })
133
133
  ])
134
134
  ]),
135
- l("div", ce, [
135
+ t("div", ce, [
136
136
  a(J(Z), { list: o.children }, null, 8, ["list"])
137
137
  ])
138
138
  ], 512), [
139
139
  [$, u.value]
140
140
  ])
141
141
  ]),
142
- l("div", ue, [
142
+ t("div", ue, [
143
143
  (c(!0), v(K, null, O(V.value, (n) => (c(), v("div", {
144
144
  class: "tag",
145
145
  key: n.name
146
146
  }, [
147
- n.iconName ? (c(), j(m, {
147
+ n.iconName ? (c(), q(m, {
148
148
  key: 0,
149
149
  name: n.iconName
150
150
  }, null, 8, ["name"])) : k("", !0),
151
- l("span", {
151
+ t("span", {
152
152
  innerHTML: n.label + ":"
153
153
  }, null, 8, de),
154
- l("span", null, Y(n.value), 1),
155
- n.closeable ? (c(), j(m, {
154
+ t("span", null, Y(n.value), 1),
155
+ n.closeable ? (c(), q(m, {
156
156
  key: 1,
157
157
  name: "icon-a-rongqi1",
158
158
  onClick: (y) => z(n),
@@ -170,7 +170,7 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
170
170
  ]);
171
171
  };
172
172
  }
173
- }), he = /* @__PURE__ */ ee(me, [["__scopeId", "data-v-9bbbcfc7"]]);
173
+ }), he = /* @__PURE__ */ ee(me, [["__scopeId", "data-v-e39c99be"]]);
174
174
  export {
175
175
  he as default
176
176
  };