asiaint-lowcode 3.1.123 → 3.1.126

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.
Files changed (44) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.d.ts +21 -0
  3. package/dist/asiaint-lowcode.js +1 -1
  4. package/dist/asiaint-lowcode.umd.cjs +204 -203
  5. package/dist/lazy/{Card-B2XeR1su.js → Card-B5IKPHRH.js} +8 -8
  6. package/dist/lazy/{Cascader-CDSSVwTb.js → Cascader-DV-go3_z.js} +1 -1
  7. package/dist/lazy/Checkbox-DlxDVy46.js +101 -0
  8. package/dist/lazy/{Collapse-Bd8URDdt.js → Collapse-Bq90aeJS.js} +1 -1
  9. package/dist/lazy/{Component-DMktSBEu.js → Component--3Al5ml6.js} +1 -1
  10. package/dist/lazy/{Component-CQrZsY4Q.js → Component-CsgFBQFt.js} +31 -29
  11. package/dist/lazy/{Component-DSeezRpJ.js → Component-D-49XqXx.js} +2 -2
  12. package/dist/lazy/{Component-Cm0B5w6_.js → Component-DKmvE5tM.js} +2 -2
  13. package/dist/lazy/Component-DmZGe9pd.js +45 -0
  14. package/dist/lazy/{CurdCard-DVHTR0No.js → CurdCard-Durkiy_U.js} +2 -2
  15. package/dist/lazy/Custom-sjlWTHOh.js +26 -0
  16. package/dist/lazy/{DatePicker-DjjJ8KUz.js → DatePicker-DStcGaxe.js} +1 -1
  17. package/dist/lazy/{DragList-C0hSPU9O.js → DragList-DQ4zU1IM.js} +13 -13
  18. package/dist/lazy/{FilterSearch-BYdTXMFq.js → FilterSearch-BqmQcTqy.js} +2 -2
  19. package/dist/lazy/{FloatCurd-BVBDiAAM.js → FloatCurd-Dwlrxqk5.js} +2 -2
  20. package/dist/lazy/{FormList-TgyW__KM.js → FormList-DglG5S_e.js} +1 -1
  21. package/dist/lazy/{Grid-CvUvwaL5.js → Grid-GWnwehbc.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-CHNOzeMA.js → InfiniteScroll-CK8bRrXK.js} +4 -4
  23. package/dist/lazy/{Inline-aYDsCcAy.js → Inline-dl8Ykro0.js} +3 -3
  24. package/dist/lazy/{JsonEdit-Clk2qSLm.js → JsonEdit-Chgkl2or.js} +3 -3
  25. package/dist/lazy/{LogList-CXEEobS0.js → LogList-CSi1kxq0.js} +7 -7
  26. package/dist/lazy/{ObjGroup-DzQ6elAy.js → ObjGroup-jllfxhNe.js} +1 -1
  27. package/dist/lazy/{OfferDetails-BWa926il.js → OfferDetails-CZj6-Sa2.js} +13 -13
  28. package/dist/lazy/{Pagination-D_LMKdXu.js → Pagination-BndPvE9a.js} +7 -7
  29. package/dist/lazy/{Progress-l5cOAuKg.js → Progress-DIkRUYK1.js} +15 -15
  30. package/dist/lazy/{Radio-BP83uWBg.js → Radio-Crrq9xYb.js} +3 -3
  31. package/dist/lazy/{SearchSelect-BAcL3LGx.js → SearchSelect-cqwnNj_m.js} +6 -6
  32. package/dist/lazy/{Select-C1UhJyJG.js → Select-Teg7mHaV.js} +2 -2
  33. package/dist/lazy/{Table-SXAzZ8E8.js → Table-DtkvwA_c.js} +263 -256
  34. package/dist/lazy/{Tabs-BC7IYFgj.js → Tabs-DTVVaepi.js} +7 -7
  35. package/dist/lazy/{TextArea-DuUwtNKx.js → TextArea-CBdcgEaN.js} +3 -3
  36. package/dist/lazy/{Wrapper-BR5g6zFw.js → Wrapper-BIoBvUyx.js} +4 -4
  37. package/dist/lazy/{index-DaDLGgms.js → index-YOMQLeuq.js} +7529 -7450
  38. package/dist/lazy/{useSelect-CMJlzLAj.js → useSelect-CTPuy38a.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/global.d.ts +10 -10
  41. package/package.json +1 -1
  42. package/dist/lazy/Checkbox-5g_vNmVp.js +0 -88
  43. package/dist/lazy/Component-DsMhjqTT.js +0 -34
  44. package/dist/lazy/Custom-BaX-qw5c.js +0 -26
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,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.123",
3
+ "version": "3.1.126",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,88 +0,0 @@
1
- import { defineComponent as F, mergeModels as D, useModel as I, watch as O, resolveComponent as d, resolveDirective as P, unref as a, openBlock as l, createElementBlock as i, 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
- import "element-plus";
3
- import { u as E, c as L } from "./index-DaDLGgms.js";
4
- import { u as N } from "./useSelect-CMJlzLAj.js";
5
- const R = { key: 0 }, H = /* @__PURE__ */ F({
6
- __name: "Checkbox",
7
- props: /* @__PURE__ */ D({
8
- options: { default: () => [] },
9
- defaultOptions: {},
10
- mode: { default: "static" },
11
- labelKey: { default: "label" },
12
- valueKey: { default: "value" },
13
- disabledKey: {},
14
- env: {},
15
- apiParams: {},
16
- dependentFields: {},
17
- name: { default: "" },
18
- onChange: {},
19
- read: { type: Boolean },
20
- readTextColor: {},
21
- filters: {},
22
- refreshFlag: { type: Boolean },
23
- clearable: { type: Boolean },
24
- width: {},
25
- optionType: { default: "circle" },
26
- direction: { default: "horizontal" },
27
- space: { default: 20 }
28
- }, {
29
- modelValue: {},
30
- modelModifiers: {}
31
- }),
32
- emits: ["update:modelValue"],
33
- setup(p) {
34
- const n = p, t = I(p, "modelValue"), k = E(), { currentOptions: u, selectChange: c, loading: C } = N(n), { ruleModule: b, pageMethodMap: K } = L(), V = (e) => {
35
- if (c(e), n.onChange && b)
36
- try {
37
- b[n.onChange](K, e);
38
- } catch (r) {
39
- console.error(r + `
40
- onChange: ${n.onChange}`);
41
- }
42
- };
43
- return O(t, c), (e, r) => {
44
- var m;
45
- const _ = d("el-checkbox"), B = d("el-checkbox-button"), M = d("el-space"), T = d("el-checkbox-group"), w = P("loading");
46
- return a(k).schema.read ? (l(), i("div", R, S((m = t.value) == null ? void 0 : m.map((o) => {
47
- var y;
48
- return (y = a(u).find((z) => z[e.valueKey] === o)) == null ? void 0 : y[e.labelKey];
49
- }).join("、")), 1)) : $((l(), s(T, j({ key: 1 }, e.$attrs, {
50
- modelValue: t.value,
51
- "onUpdate:modelValue": r[0] || (r[0] = (o) => t.value = o),
52
- onChange: V
53
- }), {
54
- default: h(() => [
55
- e.optionType === "circle" || e.optionType === "border" ? (l(!0), i(f, { key: 0 }, v(a(u), (o) => (l(), s(_, {
56
- key: o[e.valueKey],
57
- label: o[e.labelKey],
58
- value: o[e.valueKey],
59
- disabled: o.disabled,
60
- border: e.optionType === "border"
61
- }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : g("", !0),
62
- e.optionType === "button" ? (l(), s(M, {
63
- key: 1,
64
- wrap: "",
65
- size: [e.space, e.space]
66
- }, {
67
- default: h(() => [
68
- (l(!0), i(f, null, v(a(u), (o) => (l(), s(B, {
69
- key: o[e.valueKey],
70
- label: o[e.labelKey],
71
- value: o[e.valueKey],
72
- disabled: o.disabled,
73
- size: "large"
74
- }, null, 8, ["label", "value", "disabled"]))), 128))
75
- ]),
76
- _: 1
77
- }, 8, ["size"])) : g("", !0)
78
- ]),
79
- _: 1
80
- }, 16, ["modelValue"])), [
81
- [w, a(C)]
82
- ]);
83
- };
84
- }
85
- });
86
- export {
87
- H as default
88
- };
@@ -1,34 +0,0 @@
1
- import { defineComponent as u, mergeModels as i, useModel as d, 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-DaDLGgms.js";
3
- import "element-plus";
4
- const g = { key: 0 }, M = /* @__PURE__ */ u({
5
- __name: "Component",
6
- props: /* @__PURE__ */ i({
7
- min: {},
8
- read: { type: Boolean },
9
- precision: {}
10
- }, {
11
- modelValue: {},
12
- modelModifiers: {}
13
- }),
14
- emits: ["update:modelValue"],
15
- setup(l) {
16
- const o = d(l, "modelValue"), r = _(), s = c(() => r.schema.read), a = (e) => {
17
- ["E", "e", "+", "-"].includes(e.key) && e.preventDefault();
18
- };
19
- return (e, n) => {
20
- const m = f("el-input-number");
21
- return e.read || s.value ? (t(), y("span", g, v(typeof o.value == "number" ? o.value.toFixed(e.precision || 0).replace(".", ",") : "--"), 1)) : (t(), k(m, V({ key: 1 }, e.$attrs, {
22
- modelValue: o.value,
23
- "onUpdate:modelValue": n[0] || (n[0] = (p) => o.value = p),
24
- style: { width: "100%" },
25
- min: e.min || 0,
26
- onKeydown: a,
27
- "controls-position": "right"
28
- }), null, 16, ["modelValue", "min"]));
29
- };
30
- }
31
- });
32
- export {
33
- M as default
34
- };
@@ -1,26 +0,0 @@
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-DaDLGgms.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
- };