asiaint-lowcode 3.1.142 → 3.1.144
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.d.ts +3 -0
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +101 -101
- package/dist/lazy/{Card-DS0XD8tu.js → Card-9idEuRMc.js} +1 -1
- package/dist/lazy/{Cascader-2xz4WYNR.js → Cascader-DMIb_pfF.js} +10 -9
- package/dist/lazy/{Checkbox-CARZTCib.js → Checkbox-PmjIffcK.js} +14 -13
- package/dist/lazy/{Collapse-BHYYPY9J.js → Collapse-sXrWsaPp.js} +1 -1
- package/dist/lazy/{Component-DmU2P_2K.js → Component-ApENsSPx.js} +1 -1
- package/dist/lazy/{Component-B6qOJZMu.js → Component-BFTt-WnQ.js} +1 -1
- package/dist/lazy/{Component-BHy-gdds.js → Component-Bco-5vQD.js} +1 -1
- package/dist/lazy/{Component-CtDLAFnm.js → Component-Be4aCjmK.js} +1 -1
- package/dist/lazy/{Component-DbZK73I2.js → Component-SwQ5J4zd.js} +1 -1
- package/dist/lazy/{CurdCard-CZ4VhPL7.js → CurdCard-DrRZm2bh.js} +1 -1
- package/dist/lazy/{Custom-BiCuB_-e.js → Custom-a3BxNOVs.js} +1 -1
- package/dist/lazy/{DatePicker-D-rFup5V.js → DatePicker-DVxfaFa9.js} +1 -1
- package/dist/lazy/{DragList-Ii6kqkg2.js → DragList-DiO61ehi.js} +1 -1
- package/dist/lazy/{FilterSearch-DpMIShxs.js → FilterSearch-Tj7LGDDt.js} +1 -1
- package/dist/lazy/{FloatCurd-IaQW0CA2.js → FloatCurd-DBT8633J.js} +65 -61
- package/dist/lazy/{FloatSearchCurd-CqoJsN7c.js → FloatSearchCurd-DpuSD_bg.js} +52 -53
- package/dist/lazy/{FormList-DVAKg3Cx.js → FormList-D8BlPIMK.js} +1 -1
- package/dist/lazy/{Grid-Bw9rmwrG.js → Grid-BVFrbtst.js} +1 -1
- package/dist/lazy/{InfiniteScroll-Cmj0-z2l.js → InfiniteScroll-LqI793Z6.js} +1 -1
- package/dist/lazy/{Inline-B7s-iBhh.js → Inline-B__kXH0n.js} +1 -1
- package/dist/lazy/{JsonEdit-DLzOazGA.js → JsonEdit-Cb8QCTi7.js} +1 -1
- package/dist/lazy/{LogList-BfSA2YIW.js → LogList-BtUVND3b.js} +1 -1
- package/dist/lazy/{ObjGroup-YJho79cG.js → ObjGroup-DagMabOE.js} +1 -1
- package/dist/lazy/{OfferDetails-BVaa7boE.js → OfferDetails-CHAv9MzM.js} +1 -1
- package/dist/lazy/{Pagination-Bni7hc5i.js → Pagination-yRkhU-IX.js} +1 -1
- package/dist/lazy/{Progress-DDOZz027.js → Progress-Dg0GWVEQ.js} +1 -1
- package/dist/lazy/{Radio-BkGE2l7X.js → Radio-C2ROyUJd.js} +15 -14
- package/dist/lazy/{SearchSelect-BDG-q3rh.js → SearchSelect-cTLvdDjv.js} +30 -29
- package/dist/lazy/{Select-DZVHbfet.js → Select-Ducan8yz.js} +17 -16
- package/dist/lazy/{Table-BYAny04Y.js → Table-E08PuwOc.js} +2 -2
- package/dist/lazy/{Tabs-DK2Z_4Mq.js → Tabs-B7UZrPt8.js} +1 -1
- package/dist/lazy/{TextArea-lLxe_7vc.js → TextArea-B4gOJ8lq.js} +1 -1
- package/dist/lazy/{Wrapper-ZyyGd7Sw.js → Wrapper-kR1ODPmW.js} +1 -1
- package/dist/lazy/{index-DdmJ7fxW.js → index-CyFJw3mx.js} +196 -201
- package/dist/lazy/useSelect-CEBKfLka.js +78 -0
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/useSelect-CZU2AEMN.js +0 -78
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as R } from "./index-
|
|
3
|
-
import { u as z } from "./useSelect-
|
|
4
|
-
const L = { style: { "min-height": "32px" } }, G = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as E, mergeModels as F, computed as m, useModel as J, inject as b, ref as T, watch as C, resolveComponent as V, openBlock as p, createElementBlock as K, normalizeStyle as $, toDisplayString as B, createBlock as w, mergeProps as x, unref as A, withCtx as y, createElementVNode as u, Fragment as j, renderList as I, createTextVNode as P } from "vue";
|
|
2
|
+
import { u as R } from "./index-CyFJw3mx.js";
|
|
3
|
+
import { u as z } from "./useSelect-CEBKfLka.js";
|
|
4
|
+
const L = { style: { "min-height": "32px" } }, G = /* @__PURE__ */ E({
|
|
5
5
|
__name: "Select",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ F({
|
|
7
7
|
options: { default: () => [] },
|
|
8
8
|
defaultOptions: {},
|
|
9
9
|
multiple: { type: Boolean, default: !1 },
|
|
@@ -22,14 +22,15 @@ const L = { style: { "min-height": "32px" } }, G = /* @__PURE__ */ F({
|
|
|
22
22
|
filters: {},
|
|
23
23
|
refreshFlag: { type: Boolean },
|
|
24
24
|
clearable: { type: Boolean, default: !0 },
|
|
25
|
-
width: {}
|
|
25
|
+
width: {},
|
|
26
|
+
allowToBeEmpty: { type: Boolean, default: !1 }
|
|
26
27
|
}, {
|
|
27
28
|
modelValue: { type: [String, Number, Boolean, Array] },
|
|
28
29
|
modelModifiers: {}
|
|
29
30
|
}),
|
|
30
31
|
emits: ["update:modelValue"],
|
|
31
32
|
setup(v) {
|
|
32
|
-
const l = v,
|
|
33
|
+
const l = v, M = m(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), a = J(v, "modelValue"), f = R(), S = m(() => l.read || f.schema.read), c = b("ruleModule", void 0), h = b("pageMethodMap", {}), k = (e) => {
|
|
33
34
|
const { valueKey: t = "value", multiple: r, name: n } = l;
|
|
34
35
|
let o = {};
|
|
35
36
|
if (r && Array.isArray(e) ? o = s.value.filter((i) => e.includes(i[t])) : o = s.value.find((i) => i[t] === e) || {}, f.selectData && n && f.updateSelectData(n, o), l.onChange && c)
|
|
@@ -47,7 +48,7 @@ onChange: ${l.onChange}`);
|
|
|
47
48
|
console.error(e + `
|
|
48
49
|
onClear: ${l.onClear}`);
|
|
49
50
|
}
|
|
50
|
-
}, { currentOptions: d, loading: O } = z(l), s =
|
|
51
|
+
}, { currentOptions: d, loading: O } = z(l), s = T(JSON.parse(JSON.stringify(d.value))), D = m(() => {
|
|
51
52
|
var t;
|
|
52
53
|
if (l.multiple)
|
|
53
54
|
return s.value.filter(
|
|
@@ -80,21 +81,21 @@ onClear: ${l.onClear}`);
|
|
|
80
81
|
};
|
|
81
82
|
return (e, t) => {
|
|
82
83
|
const r = V("el-option"), n = V("el-select");
|
|
83
|
-
return
|
|
84
|
+
return S.value ? (p(), K("span", {
|
|
84
85
|
key: 0,
|
|
85
|
-
style:
|
|
86
|
-
},
|
|
86
|
+
style: $({ color: e.readTextColor })
|
|
87
|
+
}, B(D.value), 5)) : (p(), w(n, x({
|
|
87
88
|
key: 1,
|
|
88
89
|
modelValue: a.value,
|
|
89
90
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => a.value = o)
|
|
90
91
|
}, e.$attrs, {
|
|
91
|
-
onChange:
|
|
92
|
+
onChange: k,
|
|
92
93
|
onClear: N,
|
|
93
94
|
multiple: e.multiple,
|
|
94
|
-
clearable:
|
|
95
|
+
clearable: M.value,
|
|
95
96
|
filterable: "",
|
|
96
97
|
"fallback-placements": ["bottom"],
|
|
97
|
-
loading:
|
|
98
|
+
loading: A(O),
|
|
98
99
|
placeholder: "",
|
|
99
100
|
style: { width: e.width }
|
|
100
101
|
}), {
|
|
@@ -137,14 +138,14 @@ onClear: ${l.onClear}`);
|
|
|
137
138
|
])),
|
|
138
139
|
default: y(() => [
|
|
139
140
|
u("div", L, [
|
|
140
|
-
(p(!0), K(j, null, I(s.value, (o) => (p(),
|
|
141
|
+
(p(!0), K(j, null, I(s.value, (o) => (p(), w(r, {
|
|
141
142
|
key: o[e.valueKey],
|
|
142
143
|
label: o[e.labelKey],
|
|
143
144
|
value: o[e.valueKey],
|
|
144
145
|
disabled: o[e.disabledKey]
|
|
145
146
|
}, {
|
|
146
147
|
default: y(() => [
|
|
147
|
-
P(
|
|
148
|
+
P(B(o[e.labelKey]), 1)
|
|
148
149
|
]),
|
|
149
150
|
_: 2
|
|
150
151
|
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as it, computed as J, inject as U, ref as C, useTemplateRef as st, onMounted as ut, onActivated as ct, onBeforeUnmount as pt, readonly as gt, toRefs as dt, onUnmounted as ht, resolveComponent as T, resolveDirective as vt, openBlock as r, createElementBlock as g, normalizeClass as D, createVNode as y, withCtx as d, createElementVNode as k, toDisplayString as P, unref as h, createCommentVNode as m, createTextVNode as Q, withDirectives as X, createBlock as w, Fragment as _, renderList as we, normalizeStyle as Y, withModifiers as Se, vShow as Pe, mergeProps as mt, nextTick as yt } from "vue";
|
|
2
|
-
import { $ as ft, h as F, j as Ct, i as kt, a as wt, I as M, b as W, C as St, _ as Pt } from "./index-
|
|
2
|
+
import { $ as ft, h as F, j as Ct, i as kt, a as wt, I as M, b as W, C as St, _ as Pt } from "./index-CyFJw3mx.js";
|
|
3
3
|
import { ElTable as bt, ElLoading as be, ElMessage as zt } from "element-plus";
|
|
4
4
|
const Bt = ["id"], Nt = { class: "custom-slot" }, Rt = {
|
|
5
5
|
key: 0,
|
|
@@ -657,7 +657,7 @@ handleRowClick: ${o.rowClick}
|
|
|
657
657
|
], 10, Bt));
|
|
658
658
|
};
|
|
659
659
|
}
|
|
660
|
-
}), jt = /* @__PURE__ */ Pt(Ut, [["__scopeId", "data-v-
|
|
660
|
+
}), jt = /* @__PURE__ */ Pt(Ut, [["__scopeId", "data-v-395c3ad1"]]);
|
|
661
661
|
export {
|
|
662
662
|
jt as default
|
|
663
663
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as N, ref as z, computed as M, watch as _, onMounted as R, onUnmounted as W, resolveComponent as C, openBlock as o, createBlock as m, mergeProps as T, withCtx as d, createElementVNode as p, createElementBlock as u, createVNode as y, createCommentVNode as f, Fragment as A, renderList as S, toDisplayString as $, normalizeClass as D, unref as F } from "vue";
|
|
2
|
-
import { c as U, i as P, B as k, I as X, b as Y, _ as j } from "./index-
|
|
2
|
+
import { c as U, i as P, B as k, I as X, b as Y, _ as j } from "./index-CyFJw3mx.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const q = { class: "right-icon-wrapper" }, G = {
|
|
5
5
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, mergeModels as i, useModel as _, computed as v, resolveComponent as f, openBlock as a, createElementBlock as n, createElementVNode as y, toDisplayString as r, createBlock as V, mergeProps as k } from "vue";
|
|
2
|
-
import { u as x, _ as B } from "./index-
|
|
2
|
+
import { u as x, _ as B } from "./index-CyFJw3mx.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const M = {
|
|
5
5
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as C, onUnmounted as g, resolveComponent as x, openBlock as r, createElementBlock as t, normalizeStyle as i, createVNode as a, withCtx as S, withDirectives as b, createElementVNode as _, normalizeClass as c, unref as B, createCommentVNode as d, vShow as D } from "vue";
|
|
2
|
-
import { c as k, i as E, b as I, I as u, _ as j } from "./index-
|
|
2
|
+
import { c as k, i as E, b as I, I as u, _ as j } from "./index-CyFJw3mx.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const M = {
|
|
5
5
|
key: 0,
|