asiaint-lowcode 3.1.54 → 3.1.56
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/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +111 -111
- package/dist/index.d.ts +18 -8
- package/dist/lazy/{Card-D4uHASbk.js → Card-BlakHGF_.js} +2 -2
- package/dist/lazy/{Cascader-Cj5XwRTU.js → Cascader-BOwEQkqr.js} +1 -1
- package/dist/lazy/{Checkbox-CrRXSIYU.js → Checkbox-1qYzxvx3.js} +2 -2
- package/dist/lazy/{Collapse-D20YKdOw.js → Collapse-DFhQjGTg.js} +1 -1
- package/dist/lazy/{Component-qDVbyXqJ.js → Component-BOC_tZaw.js} +1 -1
- package/dist/lazy/{Component-C_aDXdNs.js → Component-BybPseK_.js} +2 -2
- package/dist/lazy/{Component-CowyTCQW.js → Component-D6OIJgBS.js} +1 -1
- package/dist/lazy/{Component-B_j1TVdi.js → Component-DqTP-dqG.js} +2 -2
- package/dist/lazy/{Component-DHq71Obg.js → Component-TyczCMR3.js} +2 -2
- package/dist/lazy/{Component-CfTKTVPW.js → Component-uvnooS14.js} +2 -2
- package/dist/lazy/{CurdCard-Bf50yEic.js → CurdCard-7elTeYSM.js} +9 -9
- package/dist/lazy/Custom-CFg-E0l1.js +26 -0
- package/dist/lazy/{DatePicker-W8VgjwA3.js → DatePicker-vabWbXWk.js} +1 -1
- package/dist/lazy/{DragList-CufoFZt9.js → DragList-ptXtINib.js} +13 -13
- package/dist/lazy/FilterSearch-DX7lyU5K.js +128 -0
- package/dist/lazy/{FormList-CGvkA_mg.js → FormList-CQafRlf1.js} +1 -1
- package/dist/lazy/{Grid-CGunVHdg.js → Grid-BHXnN5tG.js} +1 -1
- package/dist/lazy/{InfiniteScroll-Bs0oBpJh.js → InfiniteScroll-B9A8fTzl.js} +4 -4
- package/dist/lazy/{Inline-h-um7aW1.js → Inline-CLeU2_yh.js} +3 -3
- package/dist/lazy/{JsonEdit-UroN5Twh.js → JsonEdit-CR8pc1r0.js} +3 -3
- package/dist/lazy/{LogList-DHb9iI_D.js → LogList-C0n583jZ.js} +7 -7
- package/dist/lazy/{ObjGroup-CU3lnRRY.js → ObjGroup-CWyMW8ok.js} +1 -1
- package/dist/lazy/{OfferDetails-BS_dPDXl.js → OfferDetails-Bk2fm7if.js} +2 -3
- package/dist/lazy/{Pagination-Dqk6mxUr.js → Pagination-BTgJMuH1.js} +4 -4
- package/dist/lazy/{Progress-Blk0WZpK.js → Progress-DbQWJ6ZF.js} +15 -15
- package/dist/lazy/{Radio-5lqVyGbx.js → Radio-BFsZCzNl.js} +3 -3
- package/dist/lazy/{SearchSelect-COiiM4jW.js → SearchSelect-CTNUhnXg.js} +6 -6
- package/dist/lazy/{Select-1rXzlX_U.js → Select-CImoPfB1.js} +2 -2
- package/dist/lazy/{Table-DSELr1ko.js → Table-CQKjjRQt.js} +2 -2
- package/dist/lazy/{Tabs-BoqNTRwL.js → Tabs-Qh5RoptW.js} +2 -2
- package/dist/lazy/{TextArea-Bq4XP7cS.js → TextArea-CHd9bsw8.js} +2 -2
- package/dist/lazy/{Wrapper-30CivARZ.js → Wrapper-B4mdrBTT.js} +7 -7
- package/dist/lazy/{index-BWAXQPKp.js → index-BMlHLc-c.js} +4033 -3984
- package/dist/lazy/{useSelect-DHkURB6S.js → useSelect-DWF-2iPr.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Custom-CFZCevbY.js +0 -26
- package/dist/lazy/FilterSearch-Blx1nhhY.js +0 -149
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { Awaitable } from 'element-plus/es/utils/typescript.mjs';
|
|
2
3
|
import { Component } from 'vue';
|
|
3
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
5
|
import { ComponentProvideOptions } from 'vue';
|
|
5
6
|
import { ComponentPublicInstance } from 'vue';
|
|
6
7
|
import { DeepReadonly } from 'vue';
|
|
7
8
|
import { DefineComponent } from 'vue';
|
|
9
|
+
import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
8
10
|
import { ExtractPropTypes } from 'vue';
|
|
9
11
|
import { FormValidationResult } from 'element-plus';
|
|
10
12
|
import { InjectionKey } from 'vue';
|
|
@@ -253,6 +255,7 @@ declare type BtnItemType = {
|
|
|
253
255
|
name: string;
|
|
254
256
|
color?: string;
|
|
255
257
|
size?: 'x-small' | 'small' | 'normal' | 'large' | 'ultra-large';
|
|
258
|
+
tooltip?: string;
|
|
256
259
|
};
|
|
257
260
|
label?: string;
|
|
258
261
|
size?: 'default' | 'small' | 'large';
|
|
@@ -318,18 +321,19 @@ readonly onMounted?: string | undefined;
|
|
|
318
321
|
readonly onActivated?: string | undefined;
|
|
319
322
|
readonly onChange?: string | undefined;
|
|
320
323
|
readonly tabProps?: {
|
|
321
|
-
readonly type: "" | "card" | "border-card"
|
|
324
|
+
readonly type: EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
|
|
322
325
|
readonly closable: boolean;
|
|
323
326
|
readonly stretch: boolean;
|
|
324
327
|
readonly addable: boolean;
|
|
325
328
|
readonly editable: boolean;
|
|
326
|
-
readonly tabPosition: "right" | "top" | "left" | "bottom"
|
|
327
|
-
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) =>
|
|
328
|
-
readonly modelValue?:
|
|
329
|
+
readonly tabPosition: EpPropMergeType<StringConstructor, "right" | "top" | "left" | "bottom", unknown>;
|
|
330
|
+
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
|
|
331
|
+
readonly modelValue?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
329
332
|
} | undefined;
|
|
330
333
|
readonly hidden?: boolean | undefined;
|
|
331
334
|
readonly isSticky?: boolean | undefined;
|
|
332
335
|
readonly stickyTop?: number | undefined;
|
|
336
|
+
readonly expandTop?: boolean | undefined;
|
|
333
337
|
readonly content: readonly {
|
|
334
338
|
readonly label: string;
|
|
335
339
|
readonly key?: string | undefined;
|
|
@@ -610,10 +614,7 @@ onSearchTypeChange: string;
|
|
|
610
614
|
}>>, {
|
|
611
615
|
setSearchValue: (val: string) => void;
|
|
612
616
|
getSearchValue: () => string;
|
|
613
|
-
getSearchType: () =>
|
|
614
|
-
label: string;
|
|
615
|
-
value: string;
|
|
616
|
-
} | null;
|
|
617
|
+
getSearchType: () => string | null;
|
|
617
618
|
setSearchType: (val: string) => void;
|
|
618
619
|
type: "filterSearch";
|
|
619
620
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_3<{
|
|
@@ -778,6 +779,7 @@ export declare type FormSchema = {
|
|
|
778
779
|
hidden?: boolean;
|
|
779
780
|
dataModel?: string;
|
|
780
781
|
read?: boolean;
|
|
782
|
+
style?: StyleValue;
|
|
781
783
|
};
|
|
782
784
|
|
|
783
785
|
declare type getArrayType<T> = T extends Array<infer U> ? U : never;
|
|
@@ -789,6 +791,9 @@ declare type getArrayType<T> = T extends Array<infer U> ? U : never;
|
|
|
789
791
|
declare function getPageParams<T = any>(): T;
|
|
790
792
|
|
|
791
793
|
declare type InfoCardSchema = {
|
|
794
|
+
expandBottom?: boolean;
|
|
795
|
+
top?: number;
|
|
796
|
+
expandTop?: boolean;
|
|
792
797
|
hidden?: boolean;
|
|
793
798
|
copiable: boolean;
|
|
794
799
|
btns: BtnType[];
|
|
@@ -826,6 +831,7 @@ declare type InfoCardSchema = {
|
|
|
826
831
|
color?: string;
|
|
827
832
|
};
|
|
828
833
|
onClick?: string;
|
|
834
|
+
tooltip?: string;
|
|
829
835
|
}[];
|
|
830
836
|
avatarBgColor?: string;
|
|
831
837
|
titleIcons?: {
|
|
@@ -835,6 +841,7 @@ declare type InfoCardSchema = {
|
|
|
835
841
|
type?: 'icon' | 'popover';
|
|
836
842
|
popoverContent?: FormItemType[];
|
|
837
843
|
popoverWidth?: number;
|
|
844
|
+
tooltip?: string;
|
|
838
845
|
}[];
|
|
839
846
|
btns: BtnType[];
|
|
840
847
|
};
|
|
@@ -888,6 +895,7 @@ declare type Locale = {
|
|
|
888
895
|
};
|
|
889
896
|
|
|
890
897
|
declare type NavBarSchema = {
|
|
898
|
+
expandBottom?: boolean;
|
|
891
899
|
title: string;
|
|
892
900
|
back?: boolean;
|
|
893
901
|
btns: BtnType[];
|
|
@@ -914,6 +922,7 @@ declare type NavBarSchema = {
|
|
|
914
922
|
}[];
|
|
915
923
|
footerBtns?: BtnType[];
|
|
916
924
|
top?: number;
|
|
925
|
+
traditionMode?: boolean;
|
|
917
926
|
};
|
|
918
927
|
|
|
919
928
|
export declare type Options = {
|
|
@@ -1167,6 +1176,7 @@ declare type TabsSchema = {
|
|
|
1167
1176
|
hidden?: boolean;
|
|
1168
1177
|
isSticky?: boolean;
|
|
1169
1178
|
stickyTop?: number;
|
|
1179
|
+
expandTop?: boolean;
|
|
1170
1180
|
content: {
|
|
1171
1181
|
label: string;
|
|
1172
1182
|
key?: string;
|
|
@@ -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-
|
|
2
|
+
import { a as P, I as v, b as _, B as V, _ as D } from "./index-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const N = {
|
|
5
5
|
key: 3,
|
|
@@ -124,7 +124,7 @@ funcName: ${e}`);
|
|
|
124
124
|
}, 16, ["class"]));
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
-
}), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-
|
|
127
|
+
}), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-3bc7ce9f"]]);
|
|
128
128
|
export {
|
|
129
129
|
G as default
|
|
130
130
|
};
|
|
@@ -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-DWF-2iPr.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-
|
|
4
|
-
import { u as N } from "./useSelect-
|
|
3
|
+
import { u as E, c as L } from "./index-BMlHLc-c.js";
|
|
4
|
+
import { u as N } from "./useSelect-DWF-2iPr.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-BMlHLc-c.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-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = { key: 0 }, g = /* @__PURE__ */ p({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, mergeModels as E, useModel as I, ref as L, resolveComponent as C, openBlock as a, createElementBlock as i, Fragment as d, createVNode as u, normalizeClass as N, createSlots as O, withCtx as c, createElementVNode as s, createTextVNode as b, createBlock as k, toDisplayString as p, createCommentVNode as f, unref as R, renderList as z } from "vue";
|
|
2
2
|
import { genFileId as S, ElMessage as D, ElMessageBox as j } from "element-plus";
|
|
3
|
-
import { c as P, I as h, a as q, _ as x } from "./index-
|
|
3
|
+
import { c as P, I as h, a as q, _ as x } from "./index-BMlHLc-c.js";
|
|
4
4
|
const A = { class: "el-upload__tip" }, G = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "upload-bottom-part"
|
|
@@ -147,7 +147,7 @@ const A = { class: "el-upload__tip" }, G = {
|
|
|
147
147
|
], 64);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
|
-
}), Z = /* @__PURE__ */ x(K, [["__scopeId", "data-v-
|
|
150
|
+
}), Z = /* @__PURE__ */ x(K, [["__scopeId", "data-v-6a0fa092"]]);
|
|
151
151
|
export {
|
|
152
152
|
Z as default
|
|
153
153
|
};
|
|
@@ -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-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|
|
@@ -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-BMlHLc-c.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(",");
|
|
@@ -111,7 +111,7 @@ const P = { class: "vfc-verify-code" }, k = /* @__PURE__ */ g({
|
|
|
111
111
|
]);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}), T = /* @__PURE__ */ S(k, [["__scopeId", "data-v-
|
|
114
|
+
}), T = /* @__PURE__ */ S(k, [["__scopeId", "data-v-f5206e68"]]);
|
|
115
115
|
export {
|
|
116
116
|
T as default
|
|
117
117
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, inject as h, ref as N, watch as w, resolveComponent as k, openBlock as a, createBlock as m, mergeProps as A, withCtx as y, createElementVNode as l, toDisplayString as B, createElementBlock as _, createCommentVNode as f, Fragment as v, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
|
|
2
|
-
import { h as F, I as j, _ as D } from "./index-
|
|
2
|
+
import { h as F, I as j, _ as D } from "./index-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = { class: "tree-node-label" }, z = {
|
|
5
5
|
key: 0,
|
|
@@ -114,7 +114,7 @@ onLoad: ${e.onLoad}`);
|
|
|
114
114
|
}, 16, ["current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
}), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-
|
|
117
|
+
}), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-6d8361b5"]]);
|
|
118
118
|
export {
|
|
119
119
|
T as default
|
|
120
120
|
};
|
|
@@ -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-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -172,7 +172,7 @@ function j(a, n, c, d, t, g) {
|
|
|
172
172
|
onTouchend: n[5] || (n[5] = (...o) => a.touchEnd && a.touchEnd(...o))
|
|
173
173
|
}, null, 544);
|
|
174
174
|
}
|
|
175
|
-
const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-
|
|
175
|
+
const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-0e272b28"]]), ee = { key: 0 }, te = { class: "vfc-esign-preview" }, le = ["src"], ae = {
|
|
176
176
|
key: 1,
|
|
177
177
|
class: "vfc-esign"
|
|
178
178
|
}, ie = /* @__PURE__ */ $({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as U, inject as M, ref as k, watch as A, resolveComponent as
|
|
2
|
-
import { u as Q, I as h, b as V, B as W, i as X, _ as Y } from "./index-
|
|
1
|
+
import { defineComponent as U, inject as M, ref as k, watch as A, resolveComponent as C, openBlock as o, createElementBlock as s, normalizeClass as m, normalizeStyle as O, createElementVNode as c, createBlock as p, createCommentVNode as u, toDisplayString as z, 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-BMlHLc-c.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,
|
|
@@ -49,8 +49,8 @@ funcName: ${e}`);
|
|
|
49
49
|
i.value = n.defaultCollapse ?? !1;
|
|
50
50
|
}
|
|
51
51
|
);
|
|
52
|
-
const
|
|
53
|
-
|
|
52
|
+
const f = k(n.displayType || (n.typeSwitch ? "card" : "table")), P = Q(), S = (e) => {
|
|
53
|
+
f.value = e;
|
|
54
54
|
const a = X(P.schema.items, n.name), g = (w) => {
|
|
55
55
|
w.forEach((d) => {
|
|
56
56
|
d.component === "Table" && d.props && (d.props.displayType = e), d.children && d.children.length > 0 && g(d.children);
|
|
@@ -62,8 +62,8 @@ funcName: ${e}`);
|
|
|
62
62
|
}, j = (e) => {
|
|
63
63
|
n.searchInputChange && t && t[n.searchInputChange](y, e);
|
|
64
64
|
};
|
|
65
|
-
return S(
|
|
66
|
-
const g =
|
|
65
|
+
return S(f.value), (e, a) => {
|
|
66
|
+
const g = C("el-radio"), w = C("el-radio-group"), d = C("el-tooltip"), E = C("el-input"), F = C("el-collapse-transition");
|
|
67
67
|
return o(), s("div", {
|
|
68
68
|
class: m(["crm-curd-card", { gridItem: e.type === "gridItem" }]),
|
|
69
69
|
style: O(e.style),
|
|
@@ -165,13 +165,13 @@ funcName: ${e}`);
|
|
|
165
165
|
])) : u("", !0),
|
|
166
166
|
e.typeSwitch ? (o(), s("div", oe, [
|
|
167
167
|
c("div", {
|
|
168
|
-
class: m(["switch-icon-wrapper", { active:
|
|
168
|
+
class: m(["switch-icon-wrapper", { active: f.value === "card" }]),
|
|
169
169
|
onClick: a[3] || (a[3] = (l) => S("card"))
|
|
170
170
|
}, [
|
|
171
171
|
r(h, { name: "icon-kapian" })
|
|
172
172
|
], 2),
|
|
173
173
|
c("div", {
|
|
174
|
-
class: m(["switch-icon-wrapper", { active:
|
|
174
|
+
class: m(["switch-icon-wrapper", { active: f.value === "table" }]),
|
|
175
175
|
onClick: a[4] || (a[4] = (l) => S("table"))
|
|
176
176
|
}, [
|
|
177
177
|
r(h, { name: "icon-biaoge" })
|
|
@@ -207,7 +207,7 @@ funcName: ${e}`);
|
|
|
207
207
|
], 14, Z);
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
}), de = /* @__PURE__ */ Y(te, [["__scopeId", "data-v-
|
|
210
|
+
}), de = /* @__PURE__ */ Y(te, [["__scopeId", "data-v-c39628c7"]]);
|
|
211
211
|
export {
|
|
212
212
|
de as default
|
|
213
213
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as d, resolveDynamicComponent as u, mergeProps as c } from "vue";
|
|
2
|
+
import { _ as i } from "./index-BMlHLc-c.js";
|
|
3
|
+
const _ = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "empty"
|
|
6
|
+
}, f = /* @__PURE__ */ n({
|
|
7
|
+
__name: "Custom",
|
|
8
|
+
props: /* @__PURE__ */ s({
|
|
9
|
+
componentName: {}
|
|
10
|
+
}, {
|
|
11
|
+
modelValue: {},
|
|
12
|
+
modelModifiers: {}
|
|
13
|
+
}),
|
|
14
|
+
emits: ["update:modelValue"],
|
|
15
|
+
setup(l) {
|
|
16
|
+
const o = p(l, "modelValue");
|
|
17
|
+
return (e, m) => e.componentName ? (t(), d(u(e.componentName), c({
|
|
18
|
+
key: 1,
|
|
19
|
+
modelValue: o.value,
|
|
20
|
+
"onUpdate:modelValue": m[0] || (m[0] = (a) => o.value = a)
|
|
21
|
+
}, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", _, "请输入全局注册得组件名"));
|
|
22
|
+
}
|
|
23
|
+
}), v = /* @__PURE__ */ i(f, [["__scopeId", "data-v-2250b7d1"]]);
|
|
24
|
+
export {
|
|
25
|
+
v as default
|
|
26
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, mergeModels as y, useModel as M, useAttrs as k, computed as n, inject as u, resolveComponent as I, openBlock as d, createElementBlock as E, toDisplayString as _, createBlock as S, mergeProps as V } from "vue";
|
|
2
2
|
import { dayjs as D } from "element-plus";
|
|
3
|
-
import { u as B } from "./index-
|
|
3
|
+
import { u as B } from "./index-BMlHLc-c.js";
|
|
4
4
|
const w = { key: 0 }, j = /* @__PURE__ */ C({
|
|
5
5
|
__name: "DatePicker",
|
|
6
6
|
props: /* @__PURE__ */ y({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
|
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-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const $e = /* @__PURE__ */ J({
|
|
5
5
|
__name: "grid-layout",
|
|
@@ -169,39 +169,39 @@ const $e = /* @__PURE__ */ J({
|
|
|
169
169
|
function te() {
|
|
170
170
|
if (!a.autoSize) return;
|
|
171
171
|
const e = parseFloat(a.margin[1]);
|
|
172
|
-
return
|
|
172
|
+
return Be(o.value) * (a.rowHeight + e) + e + "px";
|
|
173
173
|
}
|
|
174
174
|
let _;
|
|
175
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
|
-
(
|
|
179
|
-
...
|
|
180
|
-
[S]: { x: f, y:
|
|
178
|
+
(b, { i: S, x: f, y: B }) => ({
|
|
179
|
+
...b,
|
|
180
|
+
[S]: { x: f, y: B }
|
|
181
181
|
}),
|
|
182
182
|
{}
|
|
183
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
|
-
}), o.value =
|
|
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
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
|
-
let
|
|
192
|
+
let b;
|
|
193
193
|
if (a.preventCollision) {
|
|
194
194
|
const S = ke(o.value, { ...l, w: p, h: g }).filter(
|
|
195
195
|
(f) => f.i !== l.i
|
|
196
196
|
);
|
|
197
|
-
if (
|
|
198
|
-
let f = 1 / 0,
|
|
197
|
+
if (b = S.length > 0, b) {
|
|
198
|
+
let f = 1 / 0, B = 1 / 0;
|
|
199
199
|
S.forEach((z) => {
|
|
200
|
-
z.x > l.x && (f = Math.min(f, z.x)), z.y > l.y && (
|
|
201
|
-
}), Number.isFinite(f) && (l.w = f - l.x), Number.isFinite(
|
|
200
|
+
z.x > l.x && (f = Math.min(f, z.x)), z.y > l.y && (B = Math.min(B, z.y));
|
|
201
|
+
}), Number.isFinite(f) && (l.w = f - l.x), Number.isFinite(B) && (l.h = B - l.y);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
|
|
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;
|
|
@@ -326,7 +326,7 @@ onMoved: ${w.onMoved}`);
|
|
|
326
326
|
_: 1
|
|
327
327
|
}, 8, ["layout", "col-num", "row-height", "max-rows", "is-draggable"]));
|
|
328
328
|
}
|
|
329
|
-
}), Ve = /* @__PURE__ */ Ne(Ee, [["__scopeId", "data-v-
|
|
329
|
+
}), Ve = /* @__PURE__ */ Ne(Ee, [["__scopeId", "data-v-869881f7"]]);
|
|
330
330
|
export {
|
|
331
331
|
Ve as default
|
|
332
332
|
};
|
|
@@ -0,0 +1,128 @@
|
|
|
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-BMlHLc-c.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
|
|
5
|
+
__name: "FilterSearch",
|
|
6
|
+
props: {
|
|
7
|
+
name: {},
|
|
8
|
+
children: {},
|
|
9
|
+
placeholder: {},
|
|
10
|
+
defaultCollapse: { type: Boolean },
|
|
11
|
+
searchTypes: {},
|
|
12
|
+
onSearch: {},
|
|
13
|
+
onChange: {},
|
|
14
|
+
onSearchTypeChange: {}
|
|
15
|
+
},
|
|
16
|
+
setup(g, { expose: S }) {
|
|
17
|
+
const a = g, r = m(a.defaultCollapse), s = m(a.searchTypes ? a.searchTypes[0].value : null), T = () => s.value, V = (e) => {
|
|
18
|
+
if (a.searchTypes) {
|
|
19
|
+
const l = a.searchTypes.find((d) => d.value === e);
|
|
20
|
+
l && (s.value = l.value);
|
|
21
|
+
}
|
|
22
|
+
}, t = m(""), w = (e) => {
|
|
23
|
+
t.value = e;
|
|
24
|
+
}, x = () => t.value, b = (e) => {
|
|
25
|
+
try {
|
|
26
|
+
p[a.onSearchTypeChange](h, e);
|
|
27
|
+
} catch (l) {
|
|
28
|
+
console.error(l);
|
|
29
|
+
}
|
|
30
|
+
}, k = (e) => {
|
|
31
|
+
if (a.onChange)
|
|
32
|
+
try {
|
|
33
|
+
p[a.onChange](h, e);
|
|
34
|
+
} catch (l) {
|
|
35
|
+
console.error(l);
|
|
36
|
+
}
|
|
37
|
+
}, v = async () => {
|
|
38
|
+
try {
|
|
39
|
+
await p[a.onSearch](h, t.value);
|
|
40
|
+
} catch (e) {
|
|
41
|
+
console.error(e);
|
|
42
|
+
}
|
|
43
|
+
}, I = () => {
|
|
44
|
+
r.value = !r.value;
|
|
45
|
+
}, { ruleModule: p, pageMethodMap: h } = G(), y = K({
|
|
46
|
+
setSearchValue: w,
|
|
47
|
+
getSearchValue: x,
|
|
48
|
+
getSearchType: T,
|
|
49
|
+
setSearchType: V,
|
|
50
|
+
type: "filterSearch"
|
|
51
|
+
});
|
|
52
|
+
if (a.name) {
|
|
53
|
+
const e = H(a.name, y);
|
|
54
|
+
U(() => {
|
|
55
|
+
e();
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
return S(y), (e, l) => {
|
|
59
|
+
const d = c("el-option"), z = c("el-select"), F = c("el-input"), B = c("el-collapse-transition");
|
|
60
|
+
return f(), _("div", null, [
|
|
61
|
+
u("div", P, [
|
|
62
|
+
o(F, {
|
|
63
|
+
modelValue: t.value,
|
|
64
|
+
"onUpdate:modelValue": l[1] || (l[1] = (n) => t.value = n),
|
|
65
|
+
placeholder: e.placeholder,
|
|
66
|
+
size: "large",
|
|
67
|
+
onKeyup: j(E(v, ["stop"]), ["enter"]),
|
|
68
|
+
class: "filter-search-input",
|
|
69
|
+
clearable: !0,
|
|
70
|
+
onInput: k
|
|
71
|
+
}, {
|
|
72
|
+
prefix: i(() => [
|
|
73
|
+
o(z, {
|
|
74
|
+
modelValue: s.value,
|
|
75
|
+
"onUpdate:modelValue": l[0] || (l[0] = (n) => s.value = n),
|
|
76
|
+
size: "small",
|
|
77
|
+
class: "filter-search-select",
|
|
78
|
+
onChange: b
|
|
79
|
+
}, {
|
|
80
|
+
default: i(() => [
|
|
81
|
+
(f(!0), _(N, null, R(e.searchTypes, (n) => (f(), D(d, {
|
|
82
|
+
key: n.value,
|
|
83
|
+
label: n.label,
|
|
84
|
+
value: n.value
|
|
85
|
+
}, null, 8, ["label", "value"]))), 128))
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 8, ["modelValue"])
|
|
89
|
+
]),
|
|
90
|
+
suffix: i(() => [
|
|
91
|
+
o(C, {
|
|
92
|
+
name: "icon-lujing2",
|
|
93
|
+
size: "small",
|
|
94
|
+
color: "#666666",
|
|
95
|
+
onClick: v,
|
|
96
|
+
class: "search-icon"
|
|
97
|
+
})
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
}, 8, ["modelValue", "placeholder", "onKeyup"]),
|
|
101
|
+
u("div", {
|
|
102
|
+
class: L(["filter-wrapper", { active: !r.value }]),
|
|
103
|
+
onClick: I
|
|
104
|
+
}, [
|
|
105
|
+
o(C, {
|
|
106
|
+
name: "icon-shaixuan",
|
|
107
|
+
size: "small"
|
|
108
|
+
}),
|
|
109
|
+
l[2] || (l[2] = u("span", { class: "filter-text" }, "Filter", -1))
|
|
110
|
+
], 2)
|
|
111
|
+
]),
|
|
112
|
+
o(B, null, {
|
|
113
|
+
default: i(() => [
|
|
114
|
+
$(u("div", null, [
|
|
115
|
+
o(q(J), { list: e.children }, null, 8, ["list"])
|
|
116
|
+
], 512), [
|
|
117
|
+
[A, !r.value]
|
|
118
|
+
])
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
})
|
|
122
|
+
]);
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
}), Z = /* @__PURE__ */ O(Q, [["__scopeId", "data-v-28f25b88"]]);
|
|
126
|
+
export {
|
|
127
|
+
Z as default
|
|
128
|
+
};
|
|
@@ -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-
|
|
2
|
+
import { u as U, l as w, e as W, f as V, a as L, h as X } from "./index-BMlHLc-c.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-
|
|
2
|
+
import { b as g } from "./index-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const x = /* @__PURE__ */ e({
|
|
5
5
|
__name: "Grid",
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
2
|
+
import { c as u, b as y, _ as b } from "./index-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
|
-
const
|
|
4
|
+
const h = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
|
|
5
5
|
__name: "InfiniteScroll",
|
|
6
6
|
props: {
|
|
7
7
|
children: {},
|
|
@@ -27,12 +27,12 @@ const b = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
|
|
|
27
27
|
style: p(e.style)
|
|
28
28
|
}, [
|
|
29
29
|
_(m(y), { list: e.children }, null, 8, ["list"])
|
|
30
|
-
], 12,
|
|
30
|
+
], 12, h)), [
|
|
31
31
|
[r, n]
|
|
32
32
|
]);
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
}), M = /* @__PURE__ */
|
|
35
|
+
}), M = /* @__PURE__ */ b(v, [["__scopeId", "data-v-65b0b3cf"]]);
|
|
36
36
|
export {
|
|
37
37
|
M as default
|
|
38
38
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
2
|
+
import { b as m, _ as f } from "./index-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
|
-
const
|
|
4
|
+
const u = /* @__PURE__ */ l({
|
|
5
5
|
__name: "Inline",
|
|
6
6
|
props: {
|
|
7
7
|
children: {},
|
|
@@ -29,7 +29,7 @@ const f = /* @__PURE__ */ l({
|
|
|
29
29
|
s(c(m), { list: a.children }, null, 8, ["list"])
|
|
30
30
|
], 4));
|
|
31
31
|
}
|
|
32
|
-
}), x = /* @__PURE__ */ u
|
|
32
|
+
}), x = /* @__PURE__ */ f(u, [["__scopeId", "data-v-50b97afb"]]);
|
|
33
33
|
export {
|
|
34
34
|
x as default
|
|
35
35
|
};
|
|
@@ -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-
|
|
2
|
+
import { _ as xt, g as Nt } from "./index-BMlHLc-c.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Mt = /* @__PURE__ */ At({
|
|
5
5
|
__name: "Disabled",
|
|
@@ -12,7 +12,7 @@ const Mt = /* @__PURE__ */ At({
|
|
|
12
12
|
It(Je.$slots, "default", {}, void 0, !0)
|
|
13
13
|
], 16)) : It(Je.$slots, "default", { key: 1 }, void 0, !0);
|
|
14
14
|
}
|
|
15
|
-
}), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-
|
|
15
|
+
}), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-353650ae"]]);
|
|
16
16
|
var kt = { exports: {} };
|
|
17
17
|
/*!
|
|
18
18
|
* jsoneditor.js
|
|
@@ -16350,7 +16350,7 @@ function Ft(je, Je, Xe, et, qe, ae) {
|
|
|
16350
16350
|
}, null, 2)
|
|
16351
16351
|
], 2);
|
|
16352
16352
|
}
|
|
16353
|
-
const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-
|
|
16353
|
+
const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-c3373674"]]), jt = /* @__PURE__ */ At({
|
|
16354
16354
|
inheritAttrs: !1,
|
|
16355
16355
|
__name: "JsonEdit",
|
|
16356
16356
|
props: /* @__PURE__ */ Tt({
|