asiaint-lowcode 3.1.58 → 3.1.60
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 +165 -165
- package/dist/index.d.ts +13 -0
- package/dist/lazy/{Card-D0bbXvkE.js → Card-CtkDhg7J.js} +1 -1
- package/dist/lazy/{Cascader-CVF7Mugg.js → Cascader-Bkdk_TID.js} +1 -1
- package/dist/lazy/{Checkbox-_T8IhBqC.js → Checkbox-DxV4bSLI.js} +2 -2
- package/dist/lazy/{Collapse-Ds1b3YDU.js → Collapse-Bp6TAdcJ.js} +1 -1
- package/dist/lazy/{Component-C9plUbiY.js → Component--IGlsbkM.js} +1 -1
- package/dist/lazy/{Component-DomwdjSx.js → Component-7YywnfwC.js} +1 -1
- package/dist/lazy/{Component-DP42ZKK_.js → Component-B1EacXVc.js} +1 -1
- package/dist/lazy/{Component-B8bF5XT4.js → Component-DEXcNOWE.js} +1 -1
- package/dist/lazy/{Component-CFM9XDEd.js → Component-DVSEC5DD.js} +1 -1
- package/dist/lazy/{Component-CdoBzMc7.js → Component-DvuOeEsQ.js} +1 -1
- package/dist/lazy/{CurdCard-BQRlQVr1.js → CurdCard-Dfh0yh25.js} +1 -1
- package/dist/lazy/{Custom-g38jchRO.js → Custom-DE4KG3Il.js} +1 -1
- package/dist/lazy/{DatePicker-CH9-SrZS.js → DatePicker-C09Gfhpv.js} +1 -1
- package/dist/lazy/{DragList-DrNbhRhP.js → DragList-Dm7L5sVj.js} +29 -29
- package/dist/lazy/{FilterSearch-FpJsKJ3o.js → FilterSearch-DwrpPmrj.js} +1 -1
- package/dist/lazy/{FloatCurd-5xXw_Uuf.js → FloatCurd-CqiaSEGO.js} +45 -44
- package/dist/lazy/{FormList-uX7IBTqh.js → FormList-DG8A37-Z.js} +1 -1
- package/dist/lazy/{Grid-ysr0Sucp.js → Grid-DwwanV2Z.js} +1 -1
- package/dist/lazy/{InfiniteScroll-DZQrpuci.js → InfiniteScroll-ph2S1W8R.js} +1 -1
- package/dist/lazy/{Inline-CbhYGfPg.js → Inline-DfWJ2I7X.js} +1 -1
- package/dist/lazy/{JsonEdit-CyMnmq3r.js → JsonEdit-7I9h1gGR.js} +1 -1
- package/dist/lazy/{LogList-uph8HlCd.js → LogList-7HEmspLh.js} +1 -1
- package/dist/lazy/{ObjGroup-N7KsOVel.js → ObjGroup-W5Ot0JLz.js} +1 -1
- package/dist/lazy/{OfferDetails-CIul9KOu.js → OfferDetails-B4ibyqTh.js} +37 -35
- package/dist/lazy/{Pagination-DjW7ZS5F.js → Pagination-DZV98To6.js} +1 -1
- package/dist/lazy/{Progress-CdesxNAo.js → Progress-CeIMtL2x.js} +1 -1
- package/dist/lazy/{Radio-_4avXRsG.js → Radio-DmCzq9ra.js} +2 -2
- package/dist/lazy/{SearchSelect-smSaLg9O.js → SearchSelect-48ITQSvX.js} +2 -2
- package/dist/lazy/{Select-CSAee2NV.js → Select-C2OY0d5n.js} +2 -2
- package/dist/lazy/Table-CAeE0xY3.js +609 -0
- package/dist/lazy/{Tabs-CwqrqWqQ.js → Tabs-BDN7xdhE.js} +1 -1
- package/dist/lazy/{TextArea-Cvka_TgI.js → TextArea-BNr-PiJF.js} +1 -1
- package/dist/lazy/{Wrapper-Bu6nqkrG.js → Wrapper-D8qKcS7A.js} +1 -1
- package/dist/lazy/{index-BOGnFXnC.js → index-BjUvGrb1.js} +1241 -1201
- package/dist/lazy/{useSelect-koHM4kMI.js → useSelect-Ci8dTLOE.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Table-DwCCVOES.js +0 -568
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as D, resolveComponent as M, openBlock as l, createBlock as O, withCtx as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as D, resolveComponent as M, openBlock as l, createBlock as O, withCtx as T, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as b, toDisplayString as y, createCommentVNode as w, ref as E, inject as N, watchEffect as R, onMounted as S, normalizeStyle as $, unref as x } from "vue";
|
|
2
|
+
import { m as A, $ as L, a as U, _ as z } from "./index-BjUvGrb1.js";
|
|
3
3
|
const F = { class: "content" }, K = { class: "product-list" }, V = { class: "attribute-list" }, j = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "attribute-list-item"
|
|
@@ -17,14 +17,14 @@ const F = { class: "content" }, K = { class: "product-list" }, V = { class: "att
|
|
|
17
17
|
"popper-class": "offer-detail",
|
|
18
18
|
placement: "right"
|
|
19
19
|
}, {
|
|
20
|
-
reference:
|
|
21
|
-
g(
|
|
20
|
+
reference: T(() => [
|
|
21
|
+
g(A, {
|
|
22
22
|
data: a.data,
|
|
23
23
|
btns: a.btns,
|
|
24
24
|
index: a.index
|
|
25
25
|
}, null, 8, ["data", "btns", "index"])
|
|
26
26
|
]),
|
|
27
|
-
default:
|
|
27
|
+
default: T(() => [
|
|
28
28
|
i("div", F, [
|
|
29
29
|
p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
|
|
30
30
|
i("div", K, [
|
|
@@ -48,7 +48,7 @@ const F = { class: "content" }, K = { class: "product-list" }, V = { class: "att
|
|
|
48
48
|
i("div", H, y(d.value || "--"), 1)
|
|
49
49
|
]))), 128))
|
|
50
50
|
])
|
|
51
|
-
])) :
|
|
51
|
+
])) : w("", !0)
|
|
52
52
|
], 64))), 128))
|
|
53
53
|
])
|
|
54
54
|
])
|
|
@@ -97,54 +97,56 @@ const F = { class: "content" }, K = { class: "product-list" }, V = { class: "att
|
|
|
97
97
|
sortable: { type: Boolean },
|
|
98
98
|
paginationPosition: {},
|
|
99
99
|
totalText: {},
|
|
100
|
+
onPollChange: {},
|
|
101
|
+
showPollCheckbox: { type: Boolean },
|
|
100
102
|
gap: { default: 16 },
|
|
101
103
|
data: {},
|
|
102
104
|
columns: {},
|
|
103
105
|
getColText: {}
|
|
104
106
|
},
|
|
105
107
|
setup(m) {
|
|
106
|
-
var k,
|
|
107
|
-
const a = m, p = E(), _ = E([]), s = (k = a.columns.find((t) => t.position === "title")) == null ? void 0 : k.key, d = (
|
|
108
|
+
var k, B;
|
|
109
|
+
const a = m, p = E(), _ = E([]), s = (k = a.columns.find((t) => t.position === "title")) == null ? void 0 : k.key, d = (B = a.columns.find((t) => t.position === "subTitle")) == null ? void 0 : B.key, h = a.columns.find((t) => t.position === "footer"), I = (t) => {
|
|
108
110
|
const e = [];
|
|
109
|
-
return t.children && t.children.length > 0 && t.children.forEach((
|
|
110
|
-
const
|
|
111
|
-
label:
|
|
111
|
+
return t.children && t.children.length > 0 && t.children.forEach((o) => {
|
|
112
|
+
const n = {
|
|
113
|
+
label: o.PRODUCT_ITEM_NAME,
|
|
112
114
|
children: []
|
|
113
115
|
};
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
o.children && o.children.length > 0 && o.children.forEach((f) => {
|
|
117
|
+
n.children.push({
|
|
116
118
|
label: f.PRODUCT_ITEM_NAME,
|
|
117
119
|
value: f.ACTION
|
|
118
120
|
});
|
|
119
|
-
}), e.push(
|
|
121
|
+
}), e.push(n);
|
|
120
122
|
}), e;
|
|
121
123
|
};
|
|
122
124
|
function P(t) {
|
|
123
|
-
const e = {},
|
|
124
|
-
return t.forEach((
|
|
125
|
-
e[
|
|
126
|
-
}), t.forEach((
|
|
127
|
-
const f = e[
|
|
128
|
-
v === 0 || !e[v] ?
|
|
129
|
-
}),
|
|
125
|
+
const e = {}, o = [];
|
|
126
|
+
return t.forEach((n) => {
|
|
127
|
+
e[n.PRODUCT_ITEM_ID] = { ...n, children: [] };
|
|
128
|
+
}), t.forEach((n) => {
|
|
129
|
+
const f = e[n.PRODUCT_ITEM_ID], v = n.PARENT_PRODUCT_ITEM_ID;
|
|
130
|
+
v === 0 || !e[v] ? o.push(f) : e[v].children.push(f);
|
|
131
|
+
}), o;
|
|
130
132
|
}
|
|
131
|
-
const C = N(
|
|
133
|
+
const C = N(L), c = C ? C.translateFn : null;
|
|
132
134
|
return R(() => {
|
|
133
135
|
if (a.data) {
|
|
134
136
|
const t = P(a.data);
|
|
135
137
|
p.value = t.map((e) => {
|
|
136
|
-
const
|
|
138
|
+
const o = {
|
|
137
139
|
content: []
|
|
138
140
|
};
|
|
139
|
-
return s && (
|
|
141
|
+
return s && (o.title = c ? c(s, e) : e[s], o.titleColor = "var(--el-color-primary)"), d && (o.subTitle = c ? c(d, e) : e[d]), h && (o.footer = {
|
|
140
142
|
icon: h.footerIcon || "icon-tishi",
|
|
141
143
|
text: `${h.label}: ${c ? c(h.key, e) : e[h.key]}`
|
|
142
|
-
}), e.children && (
|
|
143
|
-
|
|
144
|
-
label:
|
|
145
|
-
value: c ? c(
|
|
144
|
+
}), e.children && (o.product = I(e)), a.columns.forEach((n) => {
|
|
145
|
+
n.position === "content" && o.content.push({
|
|
146
|
+
label: n.label,
|
|
147
|
+
value: c ? c(n.key, e) : e[n.key]
|
|
146
148
|
});
|
|
147
|
-
}),
|
|
149
|
+
}), o;
|
|
148
150
|
});
|
|
149
151
|
}
|
|
150
152
|
}), S(() => {
|
|
@@ -162,24 +164,24 @@ const F = { class: "content" }, K = { class: "product-list" }, V = { class: "att
|
|
|
162
164
|
"--gap": t.gap + "px"
|
|
163
165
|
})
|
|
164
166
|
}, [
|
|
165
|
-
(l(!0), r(u, null, b(p.value, (
|
|
167
|
+
(l(!0), r(u, null, b(p.value, (o, n) => (l(), r("div", {
|
|
166
168
|
class: "card-list-item",
|
|
167
|
-
key:
|
|
169
|
+
key: n
|
|
168
170
|
}, [
|
|
169
171
|
g(J, {
|
|
170
|
-
data:
|
|
172
|
+
data: o,
|
|
171
173
|
btns: _.value,
|
|
172
|
-
index:
|
|
174
|
+
index: n
|
|
173
175
|
}, null, 8, ["data", "btns", "index"])
|
|
174
176
|
]))), 128))
|
|
175
177
|
], 4),
|
|
176
178
|
!t.data || t.data.length === 0 ? (l(), r("div", Q, [
|
|
177
|
-
g(
|
|
179
|
+
g(x(U), {
|
|
178
180
|
name: "tableEmpty",
|
|
179
181
|
style: { width: 56, height: 56 }
|
|
180
182
|
}),
|
|
181
183
|
e[0] || (e[0] = i("div", null, "No data available,please check", -1))
|
|
182
|
-
])) :
|
|
184
|
+
])) : w("", !0)
|
|
183
185
|
], 64));
|
|
184
186
|
}
|
|
185
187
|
}), ee = /* @__PURE__ */ z(X, [["__scopeId", "data-v-43ded0ba"]]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, ref as s, readonly as C, onUnmounted as v, resolveComponent as S, openBlock as h, createElementBlock as P, normalizeStyle as N, createVNode as _ } from "vue";
|
|
2
|
-
import { c as B, j, _ as w } from "./index-
|
|
2
|
+
import { c as B, j, _ as w } from "./index-BjUvGrb1.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const M = /* @__PURE__ */ y({
|
|
5
5
|
__name: "Pagination",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as a, withCtx as l, Fragment as u, renderList as f, createBlock as g, createElementVNode as e, toDisplayString as r, createTextVNode as h, unref as k, createCommentVNode as N } from "vue";
|
|
2
|
-
import { I as v, a as C, _ as V } from "./index-
|
|
2
|
+
import { I as v, a as C, _ as V } from "./index-BjUvGrb1.js";
|
|
3
3
|
const y = { class: "progress" }, B = { class: "timeline-content" }, E = { class: "timeline-content__title" }, I = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty-content"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as T, mergeModels as w, useModel as F, inject as g, resolveComponent as i, resolveDirective as S, openBlock as o, createElementBlock as c, toDisplayString as z, unref as u, withDirectives as I, createBlock as f, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
|
|
2
|
-
import { u as N, _ as O } from "./index-
|
|
3
|
-
import { u as P } from "./useSelect-
|
|
2
|
+
import { u as N, _ as O } from "./index-BjUvGrb1.js";
|
|
3
|
+
import { u as P } from "./useSelect-Ci8dTLOE.js";
|
|
4
4
|
const R = { key: 0 }, j = /* @__PURE__ */ T({
|
|
5
5
|
__name: "Radio",
|
|
6
6
|
props: /* @__PURE__ */ w({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as F, useModel as $, inject as K, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as h, unref as u, withDirectives as I, createBlock as C, mergeProps as N, withCtx as y, Fragment as j, renderList as O, createTextVNode as P, createVNode as k } from "vue";
|
|
2
|
-
import { u as T, a as E, _ as L } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as T, a as E, _ as L } from "./index-BjUvGrb1.js";
|
|
3
|
+
import { u as U } from "./useSelect-Ci8dTLOE.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as D, mergeModels as F, computed as f, useModel as J, inject as h, ref as x, watch as b, resolveComponent as V, openBlock as c, createElementBlock as C, normalizeStyle as A, toDisplayString as K, createBlock as M, mergeProps as E, unref as T, withCtx as m, createElementVNode as u, Fragment as $, renderList as j, createTextVNode as I } from "vue";
|
|
2
|
-
import { u as P } from "./index-
|
|
3
|
-
import { u as R } from "./useSelect-
|
|
2
|
+
import { u as P } from "./index-BjUvGrb1.js";
|
|
3
|
+
import { u as R } from "./useSelect-Ci8dTLOE.js";
|
|
4
4
|
const z = { style: { "min-height": "32px" } }, q = /* @__PURE__ */ D({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ F({
|