asiaint-lowcode 3.1.87 → 3.1.89
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.
- package/dist/asiaint-lowcode.js +6 -5
- package/dist/asiaint-lowcode.umd.cjs +169 -168
- package/dist/index.d.ts +12 -0
- package/dist/lazy/{Card-BEml_0K4.js → Card-CwWQS71c.js} +1 -1
- package/dist/lazy/{Cascader-BOEL8leW.js → Cascader-D4GFKg1c.js} +1 -1
- package/dist/lazy/{Checkbox-BohfIHWT.js → Checkbox-BpZeA0Qu.js} +2 -2
- package/dist/lazy/{Collapse-D3rSlIIe.js → Collapse-D8E1pN0d.js} +1 -1
- package/dist/lazy/{Component-BsajZs7j.js → Component-B9TS96cw.js} +1 -1
- package/dist/lazy/{Component-B1JFbbXp.js → Component-BR-cyhqo.js} +8 -8
- package/dist/lazy/{Component-D6TzL4ye.js → Component-BhsOJEj5.js} +1 -1
- package/dist/lazy/{Component-ssj_sB2Q.js → Component-BtHsUPVb.js} +1 -1
- package/dist/lazy/{Component-C9Tnwx9E.js → Component-DTxU0Y1L.js} +1 -1
- package/dist/lazy/{Component-DxFl702g.js → Component-OJ3zIbOb.js} +1 -1
- package/dist/lazy/{CurdCard-7VXKq98j.js → CurdCard-B1X72wR8.js} +1 -1
- package/dist/lazy/{Custom-De1K8eu2.js → Custom-D8dtTjQd.js} +1 -1
- package/dist/lazy/{DatePicker-Cnwzka9Q.js → DatePicker-BexoDPL8.js} +1 -1
- package/dist/lazy/{DragList-DNlH6xc_.js → DragList-CY0K8r8S.js} +40 -40
- package/dist/lazy/{FilterSearch-CawqnN3-.js → FilterSearch-Crf1Kib-.js} +16 -16
- package/dist/lazy/{FloatCurd-Bfbx0pNz.js → FloatCurd-mr3HjgYk.js} +9 -9
- package/dist/lazy/{FormList-CnLGFRE8.js → FormList-DvcxSqoA.js} +46 -46
- package/dist/lazy/{Grid-BPpDwCZf.js → Grid-Bnv4gTUf.js} +1 -1
- package/dist/lazy/{InfiniteScroll-C5qR1y-e.js → InfiniteScroll-BMRsw9k9.js} +1 -1
- package/dist/lazy/{Inline-BCmcJrtp.js → Inline--_SvU5c1.js} +1 -1
- package/dist/lazy/{JsonEdit-Cry77PP2.js → JsonEdit-ivS6nHEq.js} +1 -1
- package/dist/lazy/{LogList-DV9x0l-4.js → LogList-B-2fTZdQ.js} +1 -1
- package/dist/lazy/ObjGroup-BKtbvPti.js +32 -0
- package/dist/lazy/{OfferDetails-BXkuopGM.js → OfferDetails-Butt8aFh.js} +1 -1
- package/dist/lazy/{Pagination-Ddo_VXm7.js → Pagination-BIRnMYmE.js} +4 -4
- package/dist/lazy/{Progress-1tMu1q7F.js → Progress-DZm-xeO5.js} +1 -1
- package/dist/lazy/{Radio-vC5wToSi.js → Radio-i_Ru5ao8.js} +2 -2
- package/dist/lazy/{SearchSelect-D6ryeTSr.js → SearchSelect-CHTbceLY.js} +2 -2
- package/dist/lazy/{Select-DqKoRkw2.js → Select-DGWeMv9K.js} +2 -2
- package/dist/lazy/{Table-C8Y6Sz0f.js → Table-D-QsIp_Q.js} +1 -1
- package/dist/lazy/{Tabs-B8Zya2C4.js → Tabs-CsiBv6K6.js} +1 -1
- package/dist/lazy/TextArea-BrZkXojB.js +37 -0
- package/dist/lazy/{Wrapper-qHEwy0M0.js → Wrapper-CwF7dV0F.js} +1 -1
- package/dist/lazy/{index-CzvMY4Xl.js → index-VBiXND-K.js} +4549 -4529
- package/dist/lazy/{useSelect-IZjFrN2T.js → useSelect-4TkEWg19.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/lazy/ObjGroup-B9H0Nyct.js +0 -32
- package/dist/lazy/TextArea-CjuCf5PU.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-
|
|
2
|
+
import { u as H, a as L, I as m, b as T, B as R, f as q, _ as A } from "./index-VBiXND-K.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-
|
|
3
|
+
import { u as b } from "./useSelect-4TkEWg19.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-
|
|
4
|
-
import { u as N } from "./useSelect-
|
|
3
|
+
import { u as E, c as L } from "./index-VBiXND-K.js";
|
|
4
|
+
import { u as N } from "./useSelect-4TkEWg19.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-
|
|
2
|
+
import { b as y } from "./index-VBiXND-K.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({
|
|
@@ -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-
|
|
2
|
+
import { u as _ } from "./index-VBiXND-K.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = { key: 0 }, g = /* @__PURE__ */ p({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as P, inject as D, ref as K, watch as S, useTemplateRef as V, readonly as
|
|
2
|
-
import {
|
|
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-VBiXND-K.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 =
|
|
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
|
-
|
|
88
|
+
j(() => {
|
|
89
89
|
e();
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
return L(T), (e, t) => {
|
|
93
|
-
const n =
|
|
94
|
-
return d(),
|
|
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(),
|
|
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(),
|
|
139
|
+
l.icon ? (d(), f(W, {
|
|
140
140
|
key: 0,
|
|
141
141
|
name: l.icon.name,
|
|
142
142
|
color: l.icon.color,
|
|
@@ -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-
|
|
3
|
+
import { c as q, I as p, a as A, _ as G } from "./index-VBiXND-K.js";
|
|
4
4
|
const H = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "smallDragStyle-text"
|
|
@@ -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-
|
|
5
|
+
import { u as x, _ as S } from "./index-VBiXND-K.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-
|
|
2
|
+
import { u as V } from "./index-VBiXND-K.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-
|
|
2
|
+
import { _ as H, u as K, d as Q } from "./index-VBiXND-K.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -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-
|
|
2
|
+
import { u as Q, I as h, b as V, B as W, f as X, _ as Y } from "./index-VBiXND-K.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-
|
|
2
|
+
import { _ as i } from "./index-VBiXND-K.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-
|
|
3
|
+
import { u as B } from "./index-VBiXND-K.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
|
|
2
|
-
import { w as ve,
|
|
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-VBiXND-K.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),
|
|
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(),
|
|
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(),
|
|
65
|
+
i.clearAll(), m.value && N(m.value);
|
|
66
66
|
});
|
|
67
|
-
function s(e, n, r, v,
|
|
68
|
-
V(e, n, r, v,
|
|
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,
|
|
71
|
-
U(e, n, r, v,
|
|
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),
|
|
127
|
+
), c([() => a.margin, () => a.margin[1]], x), q(
|
|
128
128
|
we,
|
|
129
129
|
F({
|
|
130
|
-
...
|
|
131
|
-
...
|
|
130
|
+
...A(a),
|
|
131
|
+
...A(t),
|
|
132
132
|
increaseItem: y,
|
|
133
133
|
decreaseItem: $
|
|
134
134
|
})
|
|
135
|
-
),
|
|
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
|
-
|
|
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,
|
|
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:
|
|
178
|
+
(B, { i: S, x: f, y: b }) => ({
|
|
179
179
|
...B,
|
|
180
|
-
[
|
|
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 =
|
|
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,
|
|
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
|
|
194
|
+
const S = ke(o.value, { ...l, w: p, h: g }).filter(
|
|
195
195
|
(f) => f.i !== l.i
|
|
196
196
|
);
|
|
197
|
-
if (B =
|
|
197
|
+
if (B = S.length > 0, B) {
|
|
198
198
|
let f = 1 / 0, b = 1 / 0;
|
|
199
|
-
|
|
200
|
-
|
|
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 =
|
|
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)),
|
|
232
|
-
return
|
|
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(),
|
|
234
|
+
return (e, n) => (R(), O("div", {
|
|
235
235
|
ref_key: "wrapper",
|
|
236
|
-
ref:
|
|
236
|
+
ref: m,
|
|
237
237
|
class: "vgl-layout",
|
|
238
238
|
style: ne(t.mergedStyle)
|
|
239
239
|
}, [
|
|
240
|
-
e.$slots.default ?
|
|
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
|
-
|
|
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
|
-
[
|
|
257
|
+
[me, t.isDragging]
|
|
258
258
|
])
|
|
259
259
|
], 4));
|
|
260
260
|
}
|
|
261
261
|
}), Ee = /* @__PURE__ */ J({
|
|
262
262
|
__name: "DragList",
|
|
263
|
-
props: /* @__PURE__ */
|
|
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"),
|
|
278
|
-
getLayout: () =>
|
|
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 } =
|
|
290
|
+
}, { ruleModule: M, pageMethodMap: N } = ze(), i = () => {
|
|
291
291
|
if (w.onMoved && M)
|
|
292
292
|
try {
|
|
293
|
-
M[w.onMoved](N,
|
|
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(
|
|
300
|
-
const s = Re(w.name,
|
|
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(
|
|
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(
|
|
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
|
|
2
|
-
import { c as Z,
|
|
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-VBiXND-K.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,
|
|
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
|
-
|
|
45
|
-
}, { ruleModule: d, pageMethodMap: f } = Z(), _ =
|
|
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
|
-
|
|
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
|
|
65
|
+
return L(
|
|
66
66
|
() => n.value,
|
|
67
67
|
() => {
|
|
68
68
|
g();
|
|
69
69
|
}
|
|
70
|
-
),
|
|
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
|
-
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
123
|
-
class: O(["filter-wrapper", { active: !
|
|
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] =
|
|
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(
|
|
135
|
+
P(i("div", null, [
|
|
136
136
|
s(Q(le), { list: e.children }, null, 8, ["list"])
|
|
137
137
|
], 512), [
|
|
138
|
-
[X, !
|
|
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 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
|
|
2
|
-
import { c as Q, u as W, f as
|
|
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-VBiXND-K.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,15 +13,15 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
|
|
|
13
13
|
inputPlaceholder: {},
|
|
14
14
|
hidden: { type: Boolean }
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const 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 =
|
|
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 l =
|
|
24
|
+
const l = L(s.children, T);
|
|
25
25
|
if (l && l.label && !l.hidden) {
|
|
26
26
|
const i = e[T];
|
|
27
27
|
if (i != null && i !== "") {
|
|
@@ -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 (
|
|
67
|
+
if (j(g), r.name) {
|
|
68
68
|
const o = X(r.name, g);
|
|
69
69
|
U(() => {
|
|
70
70
|
o();
|
|
@@ -144,7 +144,7 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
|
|
|
144
144
|
class: "tag",
|
|
145
145
|
key: n.name
|
|
146
146
|
}, [
|
|
147
|
-
n.iconName ? (c(),
|
|
147
|
+
n.iconName ? (c(), q(m, {
|
|
148
148
|
key: 0,
|
|
149
149
|
name: n.iconName
|
|
150
150
|
}, null, 8, ["name"])) : k("", !0),
|
|
@@ -152,7 +152,7 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
|
|
|
152
152
|
innerHTML: n.label + ":"
|
|
153
153
|
}, null, 8, de),
|
|
154
154
|
t("span", null, Y(n.value), 1),
|
|
155
|
-
n.closeable ? (c(),
|
|
155
|
+
n.closeable ? (c(), q(m, {
|
|
156
156
|
key: 1,
|
|
157
157
|
name: "icon-a-rongqi1",
|
|
158
158
|
onClick: (y) => z(n),
|