asiaint-lowcode 3.0.71 → 3.0.72
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 +85 -85
- package/dist/lazy/{Card-CUvW3dt0.js → Card-CRilKfuV.js} +2 -2
- package/dist/lazy/{Cascader-BvpNT-Em.js → Cascader-BlIbtate.js} +1 -1
- package/dist/lazy/{Checkbox-SUjz3hXe.js → Checkbox-go9itXeu.js} +2 -2
- package/dist/lazy/{Collapse-CzJoT_Vt.js → Collapse-CZQ_vWtt.js} +1 -1
- package/dist/lazy/{Component-CBmPuHTM.js → Component-BSF_fwB4.js} +1 -1
- package/dist/lazy/{Component-COX34ZpZ.js → Component-BW6CbeXE.js} +2 -2
- package/dist/lazy/{Component-BcqtcP-J.js → Component-Bk-xJjyk.js} +1 -1
- package/dist/lazy/{Component-aCdVMOfw.js → Component-CISqVztz.js} +13 -13
- package/dist/lazy/{Component-Bv4emHeZ.js → Component-IPxZoz3v.js} +2 -2
- package/dist/lazy/{Component-BDQU89Ai.js → Component-aRkrGdgO.js} +6 -7
- package/dist/lazy/{CurdCard-BXeTPux9.js → CurdCard-C_bsP2uw.js} +2 -2
- package/dist/lazy/{Custom-Cb8OB7hi.js → Custom-Bqn12caK.js} +7 -7
- package/dist/lazy/{FormList-DTRKSIxW.js → FormList-A-7VjjUu.js} +1 -1
- package/dist/lazy/{Grid-IpcAX4h3.js → Grid-tqt3YggG.js} +1 -1
- package/dist/lazy/{Inline-DEBEcRs7.js → Inline-Bly1Vszx.js} +7 -7
- package/dist/lazy/{JsonEdit-BvWJq_Qw.js → JsonEdit-CqIDA3Cq.js} +3 -3
- package/dist/lazy/{LogList-CUlwErog.js → LogList-tieDik_9.js} +7 -7
- package/dist/lazy/{ObjGroup-D3BSRhyd.js → ObjGroup-Cy3rSMRt.js} +1 -1
- package/dist/lazy/{OfferDetails-DHiirJkh.js → OfferDetails-B5g9M1zJ.js} +24 -24
- package/dist/lazy/{Progress-CJdG7L2p.js → Progress-uNG6WyFa.js} +5 -5
- package/dist/lazy/{Radio-tg2Opn2u.js → Radio-Bi_nAWMf.js} +2 -2
- package/dist/lazy/{SearchSelect-BQAzG-_t.js → SearchSelect-Bmw8-MK1.js} +11 -11
- package/dist/lazy/Select-CSRrYvU4.js +119 -0
- package/dist/lazy/{Table-U5fbGZxs.js → Table-VI54hIfg.js} +2 -2
- package/dist/lazy/{Tabs-CREkJMea.js → Tabs-V4StTdSe.js} +1 -1
- package/dist/lazy/{Wrapper-BWpnZIqz.js → Wrapper-BSrHdL1z.js} +5 -5
- package/dist/lazy/{index-BuyTbIWC.js → index-Cd-df-Qv.js} +642 -640
- package/dist/lazy/{useSelect-6xXJTQum.js → useSelect-DZxuySb1.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Select-Chx-hOhn.js +0 -83
package/global.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare module 'vue' {
|
|
2
|
-
export interface GlobalComponents {
|
|
3
|
-
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
-
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
-
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
-
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {}
|
|
1
|
+
declare module 'vue' {
|
|
2
|
+
export interface GlobalComponents {
|
|
3
|
+
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
+
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
+
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
+
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {}
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "asiaint-lowcode",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "vite build",
|
|
8
|
-
"v": "npm version patch",
|
|
9
|
-
"release": "vite build && npm publish"
|
|
10
|
-
},
|
|
11
|
-
"peerDependencies": {
|
|
12
|
-
"vue": "^3.2.0",
|
|
13
|
-
"element-plus": "^2.6.0"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"element-plus": "^2.8.3",
|
|
17
|
-
"vue": "^3.5.8"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"vite-plugin-dts": "^3.7.3",
|
|
21
|
-
"vite-plugin-libcss": "^1.1.1"
|
|
22
|
-
},
|
|
23
|
-
"files": [
|
|
24
|
-
"dist",
|
|
25
|
-
"global.d.ts"
|
|
26
|
-
],
|
|
27
|
-
"main": "./dist/asiaint-lowcode.js",
|
|
28
|
-
"module": "./dist/asiaint-lowcode.js",
|
|
29
|
-
"types": "dist/index.d.ts",
|
|
30
|
-
"keywords": [
|
|
31
|
-
"component",
|
|
32
|
-
"vue",
|
|
33
|
-
"form",
|
|
34
|
-
"element-ui"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "asiaint-lowcode",
|
|
3
|
+
"version": "3.0.72",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "vite build",
|
|
8
|
+
"v": "npm version patch",
|
|
9
|
+
"release": "vite build && npm publish"
|
|
10
|
+
},
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"vue": "^3.2.0",
|
|
13
|
+
"element-plus": "^2.6.0"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"element-plus": "^2.8.3",
|
|
17
|
+
"vue": "^3.5.8"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"vite-plugin-dts": "^3.7.3",
|
|
21
|
+
"vite-plugin-libcss": "^1.1.1"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"global.d.ts"
|
|
26
|
+
],
|
|
27
|
+
"main": "./dist/asiaint-lowcode.js",
|
|
28
|
+
"module": "./dist/asiaint-lowcode.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"component",
|
|
32
|
+
"vue",
|
|
33
|
+
"form",
|
|
34
|
+
"element-ui"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, mergeModels as D, computed as f, useModel as S, inject as y, resolveComponent as v, resolveDirective as F, openBlock as s, createElementBlock as i, toDisplayString as b, createBlock as g, mergeProps as A, withCtx as h, withDirectives as j, Fragment as w, renderList as I, unref as K, createTextVNode as N } from "vue";
|
|
2
|
-
import { u as P } from "./index-BuyTbIWC.js";
|
|
3
|
-
import { u as $ } from "./useSelect-6xXJTQum.js";
|
|
4
|
-
const E = { key: 0 }, L = { style: { "min-height": "32px" } }, q = /* @__PURE__ */ k({
|
|
5
|
-
__name: "Select",
|
|
6
|
-
props: /* @__PURE__ */ D({
|
|
7
|
-
options: { default: () => [] },
|
|
8
|
-
multiple: { type: Boolean, default: !1 },
|
|
9
|
-
mode: { default: "static" },
|
|
10
|
-
labelKey: { default: "label" },
|
|
11
|
-
valueKey: { default: "value" },
|
|
12
|
-
disabledKey: { default: "disabled" },
|
|
13
|
-
env: {},
|
|
14
|
-
apiParams: {},
|
|
15
|
-
dependentFields: {},
|
|
16
|
-
name: { default: "" },
|
|
17
|
-
onChange: {},
|
|
18
|
-
read: { type: Boolean },
|
|
19
|
-
filters: {},
|
|
20
|
-
refreshFlag: { type: Boolean },
|
|
21
|
-
clearable: { type: Boolean, default: !0 }
|
|
22
|
-
}, {
|
|
23
|
-
modelValue: { type: [String, Number, Boolean, Array] },
|
|
24
|
-
modelModifiers: {}
|
|
25
|
-
}),
|
|
26
|
-
emits: ["update:modelValue"],
|
|
27
|
-
setup(c) {
|
|
28
|
-
const a = c, V = f(() => a.clearable === null || a.clearable === void 0 ? !0 : !!a.clearable), d = S(c, "modelValue"), p = P(), m = y("ruleModule", void 0), C = y("pageMethodMap", {}), M = (e) => {
|
|
29
|
-
const { valueKey: t = "value", multiple: n, name: o } = a;
|
|
30
|
-
let r = {};
|
|
31
|
-
if (n && Array.isArray(e) ? r = u.value.filter((l) => e.includes(l[t])) : r = u.value.find((l) => l[t] === e) || {}, p.selectData && o && p.updateSelectData(o, r), a.onChange && m)
|
|
32
|
-
try {
|
|
33
|
-
m[a.onChange](C, e, r);
|
|
34
|
-
} catch (l) {
|
|
35
|
-
console.error(l);
|
|
36
|
-
}
|
|
37
|
-
}, { currentOptions: u, loading: B } = $(a), _ = f(() => {
|
|
38
|
-
var t;
|
|
39
|
-
if (a.multiple)
|
|
40
|
-
return u.value.filter(
|
|
41
|
-
(o) => d.value.includes(o[a.valueKey])
|
|
42
|
-
).map((o) => o[a.labelKey]).join(",");
|
|
43
|
-
const e = (t = u.value.find((n) => n[a.valueKey] === d.value)) == null ? void 0 : t[a.labelKey];
|
|
44
|
-
return !e || `${e}`.trim().length === 0 ? "--" : e;
|
|
45
|
-
});
|
|
46
|
-
return (e, t) => {
|
|
47
|
-
const n = v("el-option"), o = v("el-select"), r = F("loading");
|
|
48
|
-
return e.read ? (s(), i("span", E, b(_.value), 1)) : (s(), g(o, A({
|
|
49
|
-
key: 1,
|
|
50
|
-
modelValue: d.value,
|
|
51
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => d.value = l)
|
|
52
|
-
}, e.$attrs, {
|
|
53
|
-
onChange: M,
|
|
54
|
-
multiple: e.multiple,
|
|
55
|
-
clearable: V.value,
|
|
56
|
-
filterable: "",
|
|
57
|
-
"fallback-placements": ["bottom"]
|
|
58
|
-
}), {
|
|
59
|
-
default: h(() => [
|
|
60
|
-
j((s(), i("div", L, [
|
|
61
|
-
(s(!0), i(w, null, I(K(u), (l) => (s(), g(n, {
|
|
62
|
-
key: l[e.valueKey],
|
|
63
|
-
label: l[e.labelKey],
|
|
64
|
-
value: l[e.valueKey],
|
|
65
|
-
disabled: l[e.disabledKey]
|
|
66
|
-
}, {
|
|
67
|
-
default: h(() => [
|
|
68
|
-
N(b(l[e.labelKey]), 1)
|
|
69
|
-
]),
|
|
70
|
-
_: 2
|
|
71
|
-
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
72
|
-
])), [
|
|
73
|
-
[r, K(B)]
|
|
74
|
-
])
|
|
75
|
-
]),
|
|
76
|
-
_: 1
|
|
77
|
-
}, 16, ["modelValue", "multiple", "clearable"]));
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
export {
|
|
82
|
-
q as default
|
|
83
|
-
};
|