asiaint-lowcode 3.0.42 → 3.0.43
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 +1 -1
- package/dist/asiaint-lowcode.umd.cjs +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/lazy/{Card-S2rqo_c1.js → Card-Cx1rB0tl.js} +1 -1
- package/dist/lazy/{Cascader-B6o29F5o.js → Cascader-DdgT8tFF.js} +17 -16
- package/dist/lazy/{Checkbox-DkV1ImsU.js → Checkbox-Dtkkh9Gx.js} +3 -2
- package/dist/lazy/{Collapse-BtnFY-rS.js → Collapse-CSJWqhsm.js} +1 -1
- package/dist/lazy/{Component-Bs3NxQX9.js → Component-AmEqB4EM.js} +1 -1
- package/dist/lazy/{Component-Czzp1aIm.js → Component-Brp-M4tP.js} +1 -1
- package/dist/lazy/{Component-D_nNEscB.js → Component-CiyYoRt-.js} +1 -1
- package/dist/lazy/{Component-DL_1RCsk.js → Component-CloUlJKd.js} +1 -1
- package/dist/lazy/{Component-Bec8N2fA.js → Component-DdbQ2F7j.js} +1 -1
- package/dist/lazy/{Component-D1zd9pWu.js → Component-K5RHB18A.js} +1 -1
- package/dist/lazy/{CurdCard-BtTbeVIr.js → CurdCard-DXN8f15n.js} +1 -1
- package/dist/lazy/{Custom-DEeXXg0w.js → Custom-BjtQbgLZ.js} +1 -1
- package/dist/lazy/{FormList-gRNISlkD.js → FormList-CKu2xEIy.js} +1 -1
- package/dist/lazy/{Grid-DrM36LeN.js → Grid-Dah341P3.js} +1 -1
- package/dist/lazy/{Inline-Db1FhCHc.js → Inline-BI7-RiWN.js} +1 -1
- package/dist/lazy/{JsonEdit-CXcrgpCE.js → JsonEdit-DhZA11Xp.js} +1 -1
- package/dist/lazy/{ObjGroup-DX5wa0mU.js → ObjGroup-Lg3mSE-G.js} +1 -1
- package/dist/lazy/{OfferDetails-Bhl0m0ui.js → OfferDetails-BN4Z78Jv.js} +1 -1
- package/dist/lazy/{Radio-BLsE0Zq8.js → Radio-BnQon4Sb.js} +3 -2
- package/dist/lazy/{SearchSelect-DY44BK9I.js → SearchSelect-Cbr_le01.js} +4 -3
- package/dist/lazy/{Select-C9BLuT_m.js → Select-ckEb1L0e.js} +4 -3
- package/dist/lazy/{Table-Cui8PTFW.js → Table-cUJN19Rl.js} +1 -1
- package/dist/lazy/{Tabs-Csj6YLqB.js → Tabs-BZnPpFDy.js} +1 -1
- package/dist/lazy/{Wrapper-B5YrhtF1.js → Wrapper-BLyu-6_4.js} +1 -1
- package/dist/lazy/{index-Bf2453Vt.js → index-BWcLZ1NF.js} +24 -24
- package/dist/lazy/useSelect-3Fv1qsZj.js +61 -0
- package/package.json +1 -1
- package/dist/lazy/useSelect-DqN6kHl2.js +0 -61
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, ref as M, inject as h, resolveComponent as d, openBlock as o, createBlock as i, mergeProps as $, withCtx as c, createElementVNode as s, createElementBlock as n, createVNode as t, unref as p, normalizeClass as I, createCommentVNode as E, toDisplayString as v, Fragment as u, renderList as C, withDirectives as V, vShow as D } from "vue";
|
|
2
|
-
import { _ as F, I as k, B as N, a as S, b as j } from "./index-
|
|
2
|
+
import { _ as F, I as k, B as N, a as S, b as j } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const z = { class: "card-header" }, H = { class: "card-btns" }, L = { class: "card-sub-header" }, P = /* @__PURE__ */ g({
|
|
5
5
|
__name: "Card",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as f, mergeModels as g, useModel as v, inject as
|
|
1
|
+
import { defineComponent as f, mergeModels as g, useModel as v, inject as r, resolveComponent as y, openBlock as M, createBlock as C, mergeProps as h, unref as d } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as b } from "./useSelect-
|
|
3
|
+
import { u as b } from "./useSelect-3Fv1qsZj.js";
|
|
4
4
|
const k = /* @__PURE__ */ f({
|
|
5
5
|
__name: "Cascader",
|
|
6
6
|
props: /* @__PURE__ */ g({
|
|
@@ -16,28 +16,29 @@ const k = /* @__PURE__ */ f({
|
|
|
16
16
|
name: { default: "" },
|
|
17
17
|
onChange: {},
|
|
18
18
|
read: { type: Boolean },
|
|
19
|
-
clearable: { type: Boolean }
|
|
19
|
+
clearable: { type: Boolean },
|
|
20
|
+
filters: {}
|
|
20
21
|
}, {
|
|
21
22
|
modelValue: {},
|
|
22
23
|
modelModifiers: {}
|
|
23
24
|
}),
|
|
24
25
|
emits: ["update:modelValue"],
|
|
25
26
|
setup(a) {
|
|
26
|
-
const
|
|
27
|
-
if (
|
|
27
|
+
const o = a, t = v(a, "modelValue"), n = r("ruleModule", void 0), s = r("pageMethodMap", {}), u = (e) => {
|
|
28
|
+
if (o.onChange && n)
|
|
28
29
|
try {
|
|
29
|
-
|
|
30
|
-
} catch (
|
|
31
|
-
console.error(
|
|
30
|
+
n[o.onChange](s, e);
|
|
31
|
+
} catch (l) {
|
|
32
|
+
console.error(l);
|
|
32
33
|
}
|
|
33
|
-
}, { currentOptions: p, loading:
|
|
34
|
-
return (e,
|
|
35
|
-
const
|
|
36
|
-
return M(), C(
|
|
37
|
-
modelValue:
|
|
38
|
-
"onUpdate:modelValue":
|
|
39
|
-
options:
|
|
40
|
-
loading:
|
|
34
|
+
}, { currentOptions: p, loading: i } = b(o);
|
|
35
|
+
return (e, l) => {
|
|
36
|
+
const m = y("el-cascader");
|
|
37
|
+
return M(), C(m, h({
|
|
38
|
+
modelValue: t.value,
|
|
39
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => t.value = c),
|
|
40
|
+
options: d(p),
|
|
41
|
+
loading: d(i),
|
|
41
42
|
props: {
|
|
42
43
|
multiple: e.multiple,
|
|
43
44
|
label: e.labelKey,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as z, useModel as D, watch as F, resolveComponent as t, resolveDirective as M, unref as a, openBlock as l, createElementBlock as s, toDisplayString as I, withDirectives as P, createBlock as r, mergeProps as S, withCtx as b, Fragment as y, renderList as v, createCommentVNode as f } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as j } from "./index-
|
|
4
|
-
import { u as E } from "./useSelect-
|
|
3
|
+
import { u as j } from "./index-BWcLZ1NF.js";
|
|
4
|
+
import { u as E } from "./useSelect-3Fv1qsZj.js";
|
|
5
5
|
const L = { key: 0 }, q = /* @__PURE__ */ w({
|
|
6
6
|
__name: "Checkbox",
|
|
7
7
|
props: /* @__PURE__ */ z({
|
|
@@ -17,6 +17,7 @@ const L = { key: 0 }, q = /* @__PURE__ */ w({
|
|
|
17
17
|
onChange: {},
|
|
18
18
|
read: { type: Boolean },
|
|
19
19
|
clearable: { type: Boolean },
|
|
20
|
+
filters: {},
|
|
20
21
|
optionType: { default: "circle" },
|
|
21
22
|
direction: { default: "horizontal" },
|
|
22
23
|
space: { default: 20 }
|
|
@@ -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 { a as y } from "./index-
|
|
2
|
+
import { a as y } from "./index-BWcLZ1NF.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 x = /* @__PURE__ */ u({
|
|
@@ -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-BWcLZ1NF.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 A, inject as v, ref as N, watch as L, resolveComponent as f, openBlock as s, createBlock as m, mergeProps as $, withCtx as h, createElementVNode as l, toDisplayString as B, createElementBlock as k, createCommentVNode as _, Fragment as K, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
|
|
2
|
-
import { f as F, I as j, b as D } from "./index-
|
|
2
|
+
import { f as F, I as j, b as D } from "./index-BWcLZ1NF.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,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, mergeModels as V, useModel as B, resolveComponent as d, openBlock as l, createBlock as n, createSlots as C, withCtx as a, createElementBlock as m, Fragment as w, createVNode as E, unref as r, createElementVNode as o, createTextVNode as i, toDisplayString as p, createCommentVNode as u } from "vue";
|
|
2
2
|
import { ElMessage as M, ElMessageBox as N } from "element-plus";
|
|
3
|
-
import { _ as f } from "./index-
|
|
3
|
+
import { _ as f } from "./index-BWcLZ1NF.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "min-width": "300px" }
|
|
@@ -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 { b as H, u as K, c as Q } from "./index-
|
|
2
|
+
import { b as H, u as K, c as Q } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, mergeModels as p, useModel as u, resolveComponent as i, openBlock as t, createElementBlock as d, toDisplayString as c, createBlock as y, mergeProps as f } from "vue";
|
|
2
|
-
import { u as v } from "./index-
|
|
2
|
+
import { u as v } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const k = { key: 0 }, K = /* @__PURE__ */ s({
|
|
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 b, b as x } from "./index-
|
|
5
|
+
import { u as b, b as x } from "./index-BWcLZ1NF.js";
|
|
6
6
|
import "element-plus";
|
|
7
7
|
function S() {
|
|
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 F, inject as I, ref as w, resolveComponent as _, openBlock as n, createElementBlock as t, createElementVNode as a, normalizeClass as h, createBlock as p, createCommentVNode as v, toDisplayString as N, Fragment as g, renderList as V, withCtx as B, createVNode as s, unref as f, withDirectives as z, vShow as D } from "vue";
|
|
2
|
-
import { u as j, I as i, B as L, a as T, h as R, b as q } from "./index-
|
|
2
|
+
import { u as j, I as i, B as L, a as T, h as R, b as q } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const A = { class: "crm-curd-card" }, G = { class: "left-part" }, H = { class: "title" }, J = { class: "right-part" }, K = {
|
|
5
5
|
key: 0,
|
|
@@ -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 { b as i } from "./index-
|
|
2
|
+
import { b as i } from "./index-BWcLZ1NF.js";
|
|
3
3
|
const f = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty"
|
|
@@ -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, d as W, e as V, _ as L, f as X } from "./index-
|
|
2
|
+
import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-BWcLZ1NF.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 o, computed as a, openBlock as d, createBlock as e, unref as r, normalizeStyle as l } from "vue";
|
|
2
|
-
import { a as m } from "./index-
|
|
2
|
+
import { a as m } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const f = /* @__PURE__ */ o({
|
|
5
5
|
__name: "Grid",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, computed as l, openBlock as p, createBlock as r, unref as i, normalizeStyle as s } from "vue";
|
|
2
|
-
import { a as c, b as f } from "./index-
|
|
2
|
+
import { a as c, b as f } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const m = /* @__PURE__ */ a({
|
|
5
5
|
__name: "Inline",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
|
|
2
|
-
import { b as xt, g as Nt } from "./index-
|
|
2
|
+
import { b as xt, g as Nt } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Mt = /* @__PURE__ */ At({
|
|
5
5
|
__name: "Disabled",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, inject as i, provide as d, ref as f, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
|
|
2
|
-
import { u as j, d as h, e as k } from "./index-
|
|
2
|
+
import { u as j, d as h, e as k } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const v = { class: "vfc-ObjGroup" }, B = {
|
|
5
5
|
key: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, resolveComponent as I, openBlock as o, createBlock as N, withCtx as B, createVNode as m, createElementVNode as i, createElementBlock as s, Fragment as h, renderList as _, toDisplayString as b, createCommentVNode as T, ref as w, inject as P, watchEffect as S, onMounted as A, normalizeStyle as M } from "vue";
|
|
2
|
-
import { j as O, $, b as z } from "./index-
|
|
2
|
+
import { j as O, $, b as z } from "./index-BWcLZ1NF.js";
|
|
3
3
|
const F = { class: "content" }, j = { class: "product-list" }, x = { class: "attribute-list" }, K = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "attribute-list-item"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as T, mergeModels as _, useModel as w, inject as g, resolveComponent as i, resolveDirective as z, openBlock as l, createElementBlock as c, toDisplayString as F, unref as s, withDirectives as I, createBlock as m, mergeProps as K, withCtx as h, createVNode as N, Fragment as k, renderList as M } from "vue";
|
|
2
|
-
import { u as P } from "./index-
|
|
3
|
-
import { u as $ } from "./useSelect-
|
|
2
|
+
import { u as P } from "./index-BWcLZ1NF.js";
|
|
3
|
+
import { u as $ } from "./useSelect-3Fv1qsZj.js";
|
|
4
4
|
const j = { key: 0 }, R = /* @__PURE__ */ T({
|
|
5
5
|
__name: "Radio",
|
|
6
6
|
props: /* @__PURE__ */ _({
|
|
@@ -16,6 +16,7 @@ const j = { key: 0 }, R = /* @__PURE__ */ T({
|
|
|
16
16
|
onChange: {},
|
|
17
17
|
read: { type: Boolean },
|
|
18
18
|
clearable: { type: Boolean },
|
|
19
|
+
filters: {},
|
|
19
20
|
optionType: { default: "circle" },
|
|
20
21
|
direction: { default: "horizontal" },
|
|
21
22
|
space: { default: 20 }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as A, useModel as F, inject as S, resolveComponent as f, resolveDirective as I, openBlock as o, createElementBlock as i, toDisplayString as b, unref as u, withDirectives as N, createBlock as k, mergeProps as j, withCtx as y, Fragment as P, renderList as $, createTextVNode as E, createVNode as C } from "vue";
|
|
2
|
-
import { u as L, _ as O, b as T } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as L, _ as O, b as T } from "./index-BWcLZ1NF.js";
|
|
3
|
+
import { u as U } from "./useSelect-3Fv1qsZj.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -21,7 +21,8 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
21
21
|
dependentFields: {},
|
|
22
22
|
name: { default: "" },
|
|
23
23
|
onChange: {},
|
|
24
|
-
clearable: { type: Boolean }
|
|
24
|
+
clearable: { type: Boolean },
|
|
25
|
+
filters: {}
|
|
25
26
|
}, {
|
|
26
27
|
modelValue: { type: [String, Number, Boolean, Array] },
|
|
27
28
|
modelModifiers: {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, mergeModels as k, useModel as B, inject as f, computed as D, resolveComponent as y, resolveDirective as S, openBlock as r, createElementBlock as i, toDisplayString as v, createBlock as b, mergeProps as A, withCtx as g, withDirectives as F, Fragment as j, renderList as w, unref as h, createTextVNode as I } from "vue";
|
|
2
|
-
import { u as N } from "./index-
|
|
3
|
-
import { u as P } from "./useSelect-
|
|
2
|
+
import { u as N } from "./index-BWcLZ1NF.js";
|
|
3
|
+
import { u as P } from "./useSelect-3Fv1qsZj.js";
|
|
4
4
|
const E = { key: 0 }, L = { style: { "min-height": "32px" } }, $ = /* @__PURE__ */ _({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ k({
|
|
@@ -16,7 +16,8 @@ const E = { key: 0 }, L = { style: { "min-height": "32px" } }, $ = /* @__PURE__
|
|
|
16
16
|
name: { default: "" },
|
|
17
17
|
onChange: {},
|
|
18
18
|
read: { type: Boolean },
|
|
19
|
-
clearable: { type: Boolean }
|
|
19
|
+
clearable: { type: Boolean },
|
|
20
|
+
filters: {}
|
|
20
21
|
}, {
|
|
21
22
|
modelValue: { type: [String, Number, Boolean, Array] },
|
|
22
23
|
modelModifiers: {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ke, computed as V, inject as w, ref as v, useTemplateRef as we, readonly as be, toRefs as Se, onMounted as ze, nextTick as Re, onActivated as Be, onUnmounted as Pe, resolveComponent as R, openBlock as u, createElementBlock as g, normalizeClass as U, withDirectives as j, createElementVNode as f, createVNode as b, unref as B, withCtx as h, createBlock as S, createCommentVNode as m, Fragment as P, renderList as G, toDisplayString as _, withModifiers as _e, vShow as H, mergeProps as Ne } from "vue";
|
|
2
|
-
import { $ as Me, i as Te, _ as De, f as Fe, I as $e, C as Ae, b as Ee } from "./index-
|
|
2
|
+
import { $ as Me, i as Te, _ as De, f as Fe, I as $e, C as Ae, b as Ee } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import { ElTable as Ve } from "element-plus";
|
|
4
4
|
const Ue = { class: "empty-content" }, je = ["title"], Ge = ["title", "onClick"], He = ["title"], Ke = { class: "row-btn-wrapper" }, Le = /* @__PURE__ */ ke({
|
|
5
5
|
__name: "Table",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
|
|
2
|
-
import { a as V } from "./index-
|
|
2
|
+
import { a as V } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const w = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Tabs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as t, resolveComponent as n, openBlock as r, createElementBlock as a, createVNode as l, withCtx as s, withDirectives as p, createElementVNode as i, normalizeStyle as c, normalizeClass as m, unref as _, vShow as d } from "vue";
|
|
2
|
-
import { a as u, b as f } from "./index-
|
|
2
|
+
import { a as u, b as f } from "./index-BWcLZ1NF.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const y = /* @__PURE__ */ t({
|
|
5
5
|
__name: "Wrapper",
|
|
@@ -10048,7 +10048,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10048
10048
|
}, T4 = {
|
|
10049
10049
|
title: "卡片",
|
|
10050
10050
|
component: "Card",
|
|
10051
|
-
render: zA(() => import("./Card-
|
|
10051
|
+
render: zA(() => import("./Card-Cx1rB0tl.js")),
|
|
10052
10052
|
icon: yA(cA, { name: "card" }),
|
|
10053
10053
|
type: "layout",
|
|
10054
10054
|
order: 1,
|
|
@@ -10281,7 +10281,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10281
10281
|
component: "Cascader",
|
|
10282
10282
|
attrSchema: j4,
|
|
10283
10283
|
order: 7,
|
|
10284
|
-
render: zA(() => import("./Cascader-
|
|
10284
|
+
render: zA(() => import("./Cascader-DdgT8tFF.js"))
|
|
10285
10285
|
}, W4 = {
|
|
10286
10286
|
size: "small",
|
|
10287
10287
|
labelPosition: "top",
|
|
@@ -10325,7 +10325,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10325
10325
|
type: "basic",
|
|
10326
10326
|
order: 14,
|
|
10327
10327
|
attrSchema: W4,
|
|
10328
|
-
render: zA(() => import("./JsonEdit-
|
|
10328
|
+
render: zA(() => import("./JsonEdit-DhZA11Xp.js"))
|
|
10329
10329
|
}, X4 = {
|
|
10330
10330
|
size: "small",
|
|
10331
10331
|
labelPosition: "top",
|
|
@@ -10425,7 +10425,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10425
10425
|
icon: yA(cA, { name: "checkbox" }),
|
|
10426
10426
|
type: "basic",
|
|
10427
10427
|
component: "Checkbox",
|
|
10428
|
-
render: zA(() => import("./Checkbox-
|
|
10428
|
+
render: zA(() => import("./Checkbox-Dtkkh9Gx.js")),
|
|
10429
10429
|
order: 4,
|
|
10430
10430
|
attrSchema: X4
|
|
10431
10431
|
}, e2 = {
|
|
@@ -10572,7 +10572,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10572
10572
|
}, s2 = {
|
|
10573
10573
|
title: "自定义组件",
|
|
10574
10574
|
component: "Custom",
|
|
10575
|
-
render: zA(() => import("./Custom-
|
|
10575
|
+
render: zA(() => import("./Custom-BjtQbgLZ.js")),
|
|
10576
10576
|
icon: yA(cA, { name: "custom" }),
|
|
10577
10577
|
type: "high",
|
|
10578
10578
|
order: 99,
|
|
@@ -10763,7 +10763,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10763
10763
|
}, E2 = {
|
|
10764
10764
|
title: "电子签名",
|
|
10765
10765
|
component: "Esign",
|
|
10766
|
-
render: zA(() => import("./Component-
|
|
10766
|
+
render: zA(() => import("./Component-CloUlJKd.js")),
|
|
10767
10767
|
icon: yA(cA, { name: "esign" }),
|
|
10768
10768
|
type: "basic",
|
|
10769
10769
|
order: 11,
|
|
@@ -10865,7 +10865,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10865
10865
|
icon: yA(cA, { name: "radio" }),
|
|
10866
10866
|
type: "basic",
|
|
10867
10867
|
component: "Radio",
|
|
10868
|
-
render: zA(() => import("./Radio-
|
|
10868
|
+
render: zA(() => import("./Radio-BnQon4Sb.js")),
|
|
10869
10869
|
order: 3.5,
|
|
10870
10870
|
attrSchema: c2
|
|
10871
10871
|
}, l2 = {
|
|
@@ -10954,7 +10954,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10954
10954
|
}, I2 = {
|
|
10955
10955
|
title: "自增容器",
|
|
10956
10956
|
component: "FormList",
|
|
10957
|
-
render: zA(() => import("./FormList-
|
|
10957
|
+
render: zA(() => import("./FormList-CKu2xEIy.js")),
|
|
10958
10958
|
icon: yA(cA, { name: "formList" }),
|
|
10959
10959
|
type: "high",
|
|
10960
10960
|
order: 20,
|
|
@@ -10964,7 +10964,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
10964
10964
|
type: "layout",
|
|
10965
10965
|
icon: yA(cA, { name: "grid" }),
|
|
10966
10966
|
component: "Grid",
|
|
10967
|
-
render: zA(() => import("./Grid-
|
|
10967
|
+
render: zA(() => import("./Grid-Dah341P3.js")),
|
|
10968
10968
|
order: 3,
|
|
10969
10969
|
lbTitle: !0,
|
|
10970
10970
|
attrSchema: {
|
|
@@ -11006,7 +11006,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11006
11006
|
icon: yA(cA, { name: "inline" }),
|
|
11007
11007
|
type: "layout",
|
|
11008
11008
|
component: "Inline",
|
|
11009
|
-
render: zA(() => import("./Inline-
|
|
11009
|
+
render: zA(() => import("./Inline-BI7-RiWN.js")),
|
|
11010
11010
|
order: 2,
|
|
11011
11011
|
lbTitle: !0,
|
|
11012
11012
|
attrSchema: {
|
|
@@ -11125,7 +11125,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11125
11125
|
type: "basic",
|
|
11126
11126
|
order: 5,
|
|
11127
11127
|
component: "InputNumber",
|
|
11128
|
-
render: zA(() => import("./Component-
|
|
11128
|
+
render: zA(() => import("./Component-DdbQ2F7j.js")),
|
|
11129
11129
|
attrSchema: p2
|
|
11130
11130
|
}, D2 = {
|
|
11131
11131
|
size: "small",
|
|
@@ -11353,7 +11353,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11353
11353
|
type: "basic",
|
|
11354
11354
|
icon: yA(cA, { name: "select" }),
|
|
11355
11355
|
component: "Select",
|
|
11356
|
-
render: zA(() => import("./Select-
|
|
11356
|
+
render: zA(() => import("./Select-ckEb1L0e.js")),
|
|
11357
11357
|
order: 3,
|
|
11358
11358
|
attrSchema: b2
|
|
11359
11359
|
}, _2 = {
|
|
@@ -11696,7 +11696,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11696
11696
|
]
|
|
11697
11697
|
}, G2 = {
|
|
11698
11698
|
title: "开关",
|
|
11699
|
-
render: zA(() => import("./Component-
|
|
11699
|
+
render: zA(() => import("./Component-AmEqB4EM.js")),
|
|
11700
11700
|
component: "Switch",
|
|
11701
11701
|
icon: yA(cA, { name: "switch" }),
|
|
11702
11702
|
type: "basic",
|
|
@@ -11873,7 +11873,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11873
11873
|
}, x2 = {
|
|
11874
11874
|
title: "上传",
|
|
11875
11875
|
component: "Upload",
|
|
11876
|
-
render: zA(() => import("./Component-
|
|
11876
|
+
render: zA(() => import("./Component-CiyYoRt-.js")),
|
|
11877
11877
|
icon: yA(cA, { name: "upload" }),
|
|
11878
11878
|
type: "basic",
|
|
11879
11879
|
order: 10,
|
|
@@ -11909,7 +11909,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11909
11909
|
}, S2 = {
|
|
11910
11910
|
title: "图形验证码",
|
|
11911
11911
|
component: "VerifyCode",
|
|
11912
|
-
render: zA(() => import("./Component-
|
|
11912
|
+
render: zA(() => import("./Component-K5RHB18A.js")),
|
|
11913
11913
|
icon: yA(cA, { name: "verifyCode" }),
|
|
11914
11914
|
type: "high",
|
|
11915
11915
|
order: 18,
|
|
@@ -11917,7 +11917,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11917
11917
|
}, Y2 = {
|
|
11918
11918
|
title: "折叠面板",
|
|
11919
11919
|
component: "Collapse",
|
|
11920
|
-
render: zA(() => import("./Collapse-
|
|
11920
|
+
render: zA(() => import("./Collapse-CSJWqhsm.js")),
|
|
11921
11921
|
icon: yA(cA, { name: "collapse" }),
|
|
11922
11922
|
type: "layout",
|
|
11923
11923
|
order: 4,
|
|
@@ -11972,7 +11972,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
11972
11972
|
}, J2 = {
|
|
11973
11973
|
title: "选项卡",
|
|
11974
11974
|
component: "Tabs",
|
|
11975
|
-
render: zA(() => import("./Tabs-
|
|
11975
|
+
render: zA(() => import("./Tabs-BZnPpFDy.js")),
|
|
11976
11976
|
icon: yA(cA, { name: "tabs" }),
|
|
11977
11977
|
type: "layout",
|
|
11978
11978
|
order: 4,
|
|
@@ -12088,7 +12088,7 @@ const P4 = /* @__PURE__ */ iA(R4, [["render", K4]]), x4 = /* @__PURE__ */ Object
|
|
|
12088
12088
|
icon: yA(cA, { name: "itemGroup" }),
|
|
12089
12089
|
type: "high",
|
|
12090
12090
|
component: "ObjGroup",
|
|
12091
|
-
render: zA(() => import("./ObjGroup-
|
|
12091
|
+
render: zA(() => import("./ObjGroup-Lg3mSE-G.js")),
|
|
12092
12092
|
order: 2,
|
|
12093
12093
|
lbTitle: !0,
|
|
12094
12094
|
attrSchema: {
|
|
@@ -12536,7 +12536,7 @@ const T2 = /* @__PURE__ */ iA(z2, [["render", q2]]), j2 = {
|
|
|
12536
12536
|
type: "high",
|
|
12537
12537
|
icon: yA(cA, { name: "searchSelect" }),
|
|
12538
12538
|
component: "SearchSelect",
|
|
12539
|
-
render: zA(() => import("./SearchSelect-
|
|
12539
|
+
render: zA(() => import("./SearchSelect-Cbr_le01.js")),
|
|
12540
12540
|
order: 3,
|
|
12541
12541
|
attrSchema: a_
|
|
12542
12542
|
}, s_ = {
|
|
@@ -12732,7 +12732,7 @@ const T2 = /* @__PURE__ */ iA(z2, [["render", q2]]), j2 = {
|
|
|
12732
12732
|
}, c_ = {
|
|
12733
12733
|
title: "树",
|
|
12734
12734
|
component: "Tree",
|
|
12735
|
-
render: zA(() => import("./Component-
|
|
12735
|
+
render: zA(() => import("./Component-Brp-M4tP.js")),
|
|
12736
12736
|
icon: yA(cA, { name: "tree" }),
|
|
12737
12737
|
type: "assist",
|
|
12738
12738
|
order: 7,
|
|
@@ -12793,11 +12793,11 @@ const T2 = /* @__PURE__ */ iA(z2, [["render", q2]]), j2 = {
|
|
|
12793
12793
|
type: "assist",
|
|
12794
12794
|
order: 8,
|
|
12795
12795
|
attrSchema: C_,
|
|
12796
|
-
render: zA(() => import("./Table-
|
|
12796
|
+
render: zA(() => import("./Table-cUJN19Rl.js"))
|
|
12797
12797
|
}, I_ = {
|
|
12798
12798
|
title: "curd模版卡片",
|
|
12799
12799
|
component: "CurdCard",
|
|
12800
|
-
render: zA(() => import("./CurdCard-
|
|
12800
|
+
render: zA(() => import("./CurdCard-DXN8f15n.js")),
|
|
12801
12801
|
icon: yA(cA, { name: "card" }),
|
|
12802
12802
|
type: "layout",
|
|
12803
12803
|
order: 6,
|
|
@@ -12813,7 +12813,7 @@ const T2 = /* @__PURE__ */ iA(z2, [["render", q2]]), j2 = {
|
|
|
12813
12813
|
}, u_ = {
|
|
12814
12814
|
title: "普通div容器",
|
|
12815
12815
|
component: "Wrapper",
|
|
12816
|
-
render: zA(() => import("./Wrapper-
|
|
12816
|
+
render: zA(() => import("./Wrapper-BLyu-6_4.js")),
|
|
12817
12817
|
icon: yA(cA, { name: "card" }),
|
|
12818
12818
|
type: "layout",
|
|
12819
12819
|
order: 7,
|
|
@@ -13029,7 +13029,7 @@ const T2 = /* @__PURE__ */ iA(z2, [["render", q2]]), j2 = {
|
|
|
13029
13029
|
}, R_ = {
|
|
13030
13030
|
title: "定制化组件(OfferDetails)",
|
|
13031
13031
|
component: "OfferDetails",
|
|
13032
|
-
render: zA(() => import("./OfferDetails-
|
|
13032
|
+
render: zA(() => import("./OfferDetails-BN4Z78Jv.js")),
|
|
13033
13033
|
icon: yA(cA, { name: "card" }),
|
|
13034
13034
|
type: "assist",
|
|
13035
13035
|
order: 1,
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { inject as D, ref as v, toRaw as y, onMounted as I, watch as l } from "vue";
|
|
2
|
+
import { $ as P, u as S, l as h, h as g } from "./index-BWcLZ1NF.js";
|
|
3
|
+
import "element-plus";
|
|
4
|
+
const q = () => {
|
|
5
|
+
const { fetchOptionsFn: e } = D(P);
|
|
6
|
+
return e;
|
|
7
|
+
}, j = (e) => {
|
|
8
|
+
const n = S(), f = q(), a = v([]), r = v(!1), s = h.debounce(async () => {
|
|
9
|
+
if (f && e.apiParams && !Object.values(e.apiParams).some((t) => t === void 0)) {
|
|
10
|
+
r.value = !0;
|
|
11
|
+
try {
|
|
12
|
+
const t = await f({
|
|
13
|
+
formItemProps: y(e),
|
|
14
|
+
formSchema: y(n.schema)
|
|
15
|
+
});
|
|
16
|
+
if (a.value = [...a.value, ...t], e.filters && (a.value = a.value.filter((i) => Array.isArray(e.filters) ? !e.filters.includes(i[e.valueKey || "value"]) : !0)), e.name) {
|
|
17
|
+
const i = g(n.schema.items, e.name);
|
|
18
|
+
i && i.props && (i.props.options = a.value);
|
|
19
|
+
}
|
|
20
|
+
} finally {
|
|
21
|
+
r.value = !1;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}, 300);
|
|
25
|
+
I(() => {
|
|
26
|
+
const { mode: t, options: i = [] } = e;
|
|
27
|
+
t === "static" && (a.value = i), t === "remote" && s();
|
|
28
|
+
}), l(
|
|
29
|
+
() => e.apiParams,
|
|
30
|
+
(t, i) => {
|
|
31
|
+
h.isEqual(t, i) || (a.value = [], s());
|
|
32
|
+
}
|
|
33
|
+
), l(
|
|
34
|
+
() => e.options,
|
|
35
|
+
(t = []) => {
|
|
36
|
+
e.mode === "static" && (a.value = t);
|
|
37
|
+
}
|
|
38
|
+
), l(
|
|
39
|
+
() => e.mode,
|
|
40
|
+
(t) => {
|
|
41
|
+
t === "static" && (a.value = e.options || []), t === "remote" && (a.value = [], s());
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
const { mode: A, dependentFields: c } = e;
|
|
45
|
+
if (A === "remote" && Array.isArray(c))
|
|
46
|
+
for (const t of c)
|
|
47
|
+
l(
|
|
48
|
+
() => n.formValues[t],
|
|
49
|
+
(i, m) => {
|
|
50
|
+
s();
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
return { selectChange: (t) => {
|
|
54
|
+
const { valueKey: i = "value", multiple: m, name: d } = e;
|
|
55
|
+
let u = {};
|
|
56
|
+
m && Array.isArray(t) ? u = a.value.filter((o) => t.includes(o[i])) : u = a.value.find((o) => o[i] === t) || {}, n.selectData && d && n.updateSelectData(d, u);
|
|
57
|
+
}, currentOptions: a, loading: r, fetchData: s };
|
|
58
|
+
};
|
|
59
|
+
export {
|
|
60
|
+
j as u
|
|
61
|
+
};
|
package/package.json
CHANGED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { inject as D, ref as v, toRaw as h, onMounted as I, watch as i } from "vue";
|
|
2
|
-
import { $ as P, u as S, l as y, h as g } from "./index-Bf2453Vt.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const q = () => {
|
|
5
|
-
const { fetchOptionsFn: t } = D(P);
|
|
6
|
-
return t;
|
|
7
|
-
}, j = (t) => {
|
|
8
|
-
const n = S(), c = q(), a = v([]), l = v(!1), o = y.debounce(async () => {
|
|
9
|
-
if (c && t.apiParams && !Object.values(t.apiParams).some((e) => e === void 0)) {
|
|
10
|
-
l.value = !0;
|
|
11
|
-
try {
|
|
12
|
-
const e = await c({
|
|
13
|
-
formItemProps: h(t),
|
|
14
|
-
formSchema: h(n.schema)
|
|
15
|
-
});
|
|
16
|
-
if (a.value = [...a.value, ...e], t.name) {
|
|
17
|
-
const s = g(n.schema.items, t.name);
|
|
18
|
-
s && s.props && (s.props.options = a.value);
|
|
19
|
-
}
|
|
20
|
-
} finally {
|
|
21
|
-
l.value = !1;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}, 300);
|
|
25
|
-
I(() => {
|
|
26
|
-
const { mode: e, options: s = [] } = t;
|
|
27
|
-
e === "static" && (a.value = s), e === "remote" && o();
|
|
28
|
-
}), i(
|
|
29
|
-
() => t.apiParams,
|
|
30
|
-
(e, s) => {
|
|
31
|
-
y.isEqual(e, s) || (a.value = [], o());
|
|
32
|
-
}
|
|
33
|
-
), i(
|
|
34
|
-
() => t.options,
|
|
35
|
-
(e = []) => {
|
|
36
|
-
t.mode === "static" && (a.value = e);
|
|
37
|
-
}
|
|
38
|
-
), i(
|
|
39
|
-
() => t.mode,
|
|
40
|
-
(e) => {
|
|
41
|
-
e === "static" && (a.value = t.options || []), e === "remote" && (a.value = [], o());
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
const { mode: A, dependentFields: m } = t;
|
|
45
|
-
if (A === "remote" && Array.isArray(m))
|
|
46
|
-
for (const e of m)
|
|
47
|
-
i(
|
|
48
|
-
() => n.formValues[e],
|
|
49
|
-
(s, f) => {
|
|
50
|
-
o();
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
return { selectChange: (e) => {
|
|
54
|
-
const { valueKey: s = "value", multiple: f, name: d } = t;
|
|
55
|
-
let r = {};
|
|
56
|
-
f && Array.isArray(e) ? r = a.value.filter((u) => e.includes(u[s])) : r = a.value.find((u) => u[s] === e) || {}, n.selectData && d && n.updateSelectData(d, r);
|
|
57
|
-
}, currentOptions: a, loading: l, fetchData: o };
|
|
58
|
-
};
|
|
59
|
-
export {
|
|
60
|
-
j as u
|
|
61
|
-
};
|