asiaint-lowcode 3.1.56 → 3.1.57

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 (47) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +191 -190
  4. package/dist/index.d.ts +376 -7
  5. package/dist/lazy/{Card-BlakHGF_.js → Card-DdWp3Dz9.js} +2 -2
  6. package/dist/lazy/{Cascader-BOwEQkqr.js → Cascader-BxsxfWZi.js} +1 -1
  7. package/dist/lazy/{Checkbox-1qYzxvx3.js → Checkbox-BPJjRDut.js} +2 -2
  8. package/dist/lazy/{Collapse-DFhQjGTg.js → Collapse-DMpWXH2D.js} +1 -1
  9. package/dist/lazy/{Component-uvnooS14.js → Component-BAb8Glyu.js} +2 -2
  10. package/dist/lazy/{Component-BybPseK_.js → Component-Bvb11i1A.js} +2 -2
  11. package/dist/lazy/{Component-BOC_tZaw.js → Component-Cq9v0YT0.js} +1 -1
  12. package/dist/lazy/{Component-D6OIJgBS.js → Component-DhRio0qv.js} +1 -1
  13. package/dist/lazy/{Component-DqTP-dqG.js → Component-haJrwEDP.js} +2 -2
  14. package/dist/lazy/Component-xrpa5QWJ.js +143 -0
  15. package/dist/lazy/{CurdCard-7elTeYSM.js → CurdCard-BqzAFbA5.js} +21 -20
  16. package/dist/lazy/Custom-EmbK57YY.js +26 -0
  17. package/dist/lazy/{DatePicker-vabWbXWk.js → DatePicker-BXnfk1Zr.js} +22 -20
  18. package/dist/lazy/{DragList-ptXtINib.js → DragList-DG75zaHa.js} +13 -13
  19. package/dist/lazy/{FilterSearch-DX7lyU5K.js → FilterSearch-BMF9jCxH.js} +8 -8
  20. package/dist/lazy/FloatCurd-D_OPcxR6.js +148 -0
  21. package/dist/lazy/{FormList-CQafRlf1.js → FormList-_S8br6_H.js} +1 -1
  22. package/dist/lazy/{Grid-BHXnN5tG.js → Grid-kruDCFf5.js} +1 -1
  23. package/dist/lazy/{InfiniteScroll-B9A8fTzl.js → InfiniteScroll-CtsW_oYO.js} +4 -4
  24. package/dist/lazy/{Inline-CLeU2_yh.js → Inline-5o19mIFm.js} +3 -3
  25. package/dist/lazy/{JsonEdit-CR8pc1r0.js → JsonEdit-DzAF4EKV.js} +3 -3
  26. package/dist/lazy/{LogList-C0n583jZ.js → LogList-DA4nYLDd.js} +7 -7
  27. package/dist/lazy/{ObjGroup-CWyMW8ok.js → ObjGroup-6YLhqnv5.js} +1 -1
  28. package/dist/lazy/{OfferDetails-Bk2fm7if.js → OfferDetails-BjMnexIs.js} +10 -8
  29. package/dist/lazy/{Pagination-BTgJMuH1.js → Pagination-DiXJ2GWc.js} +4 -4
  30. package/dist/lazy/{Progress-DbQWJ6ZF.js → Progress-DPzECwdm.js} +15 -15
  31. package/dist/lazy/{Radio-BFsZCzNl.js → Radio-D3XvuscY.js} +3 -3
  32. package/dist/lazy/{SearchSelect-CTNUhnXg.js → SearchSelect-D0-zUts-.js} +6 -6
  33. package/dist/lazy/{Select-CImoPfB1.js → Select-B1XcN6fN.js} +2 -2
  34. package/dist/lazy/Table-x-_aoAyQ.js +566 -0
  35. package/dist/lazy/Tabs-Bdc3ze7v.js +127 -0
  36. package/dist/lazy/TextArea-Crwzr10r.js +34 -0
  37. package/dist/lazy/{Wrapper-B4mdrBTT.js → Wrapper-DH0CbkLZ.js} +2 -2
  38. package/dist/lazy/{index-BMlHLc-c.js → index-DY31m1LD.js} +17331 -17110
  39. package/dist/lazy/{useSelect-DWF-2iPr.js → useSelect-Mr_5r7kL.js} +1 -1
  40. package/dist/style.css +2 -2
  41. package/global.d.ts +10 -10
  42. package/package.json +36 -36
  43. package/dist/lazy/Component-TyczCMR3.js +0 -120
  44. package/dist/lazy/Custom-CFg-E0l1.js +0 -26
  45. package/dist/lazy/Table-CQKjjRQt.js +0 -527
  46. package/dist/lazy/Tabs-Qh5RoptW.js +0 -72
  47. package/dist/lazy/TextArea-CHd9bsw8.js +0 -34
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.1.56",
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.1.57",
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,120 +0,0 @@
1
- import { defineComponent as b, inject as h, ref as N, watch as w, resolveComponent as k, openBlock as a, createBlock as m, mergeProps as A, withCtx as y, createElementVNode as l, toDisplayString as B, createElementBlock as _, createCommentVNode as f, Fragment as v, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
2
- import { h as F, I as j, _ as D } from "./index-BMlHLc-c.js";
3
- import "element-plus";
4
- const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = { class: "tree-node-label" }, z = {
5
- key: 0,
6
- class: "tree-node-present"
7
- }, G = /* @__PURE__ */ b({
8
- __name: "Component",
9
- props: {
10
- onNodeClick: {},
11
- onLoad: {},
12
- btns: {},
13
- data: {},
14
- props: {},
15
- nodeKey: {}
16
- },
17
- setup(g) {
18
- const e = g, d = h("ruleModule", void 0), s = h("pageMethodMap", {}), i = N(), K = (o, t) => {
19
- i.value = o[e.nodeKey];
20
- }, L = (o, t, r) => {
21
- if (o && d)
22
- try {
23
- d[o](s, { node: t, data: r });
24
- } catch (c) {
25
- console.error(c + `
26
- onNodeClick: ${e.onNodeClick}`);
27
- }
28
- }, M = (o, t) => {
29
- if (e.onNodeClick && d)
30
- try {
31
- d[e.onNodeClick](s, { node: o, data: t });
32
- } catch (r) {
33
- console.error(r + `
34
- onNodeClick: ${e.onNodeClick}`);
35
- }
36
- }, $ = (o, t, r) => {
37
- if (e.onLoad && d)
38
- try {
39
- d[e.onLoad](s, { node: o, resolve: t, reject: r });
40
- } catch (c) {
41
- console.error(c + `
42
- onLoad: ${e.onLoad}`);
43
- }
44
- }, C = N([]);
45
- return w(
46
- //默认展开根节点
47
- () => e.data,
48
- () => {
49
- if (!e.data || !Array.isArray(e.data) || e.data.length === 0)
50
- return;
51
- const t = [e.data[0][e.nodeKey]];
52
- C.value = t;
53
- },
54
- {
55
- immediate: !0
56
- }
57
- ), (o, t) => {
58
- const r = k("el-tooltip"), c = k("el-button"), x = k("el-tree");
59
- return a(), m(x, A(o.$attrs, {
60
- onNodeClick: M,
61
- load: $,
62
- ref: "treeRef",
63
- class: "crm-tree",
64
- indent: 32,
65
- "current-node-key": i.value,
66
- onCurrentChange: K,
67
- "node-key": o.nodeKey,
68
- props: e.props,
69
- data: o.data,
70
- "default-expanded-keys": C.value
71
- }), {
72
- default: y(({ node: p, data: u }) => [
73
- l("div", R, [
74
- l("div", S, [
75
- l("span", q, B(p.label), 1),
76
- u[o.nodeKey] === i.value ? (a(), _("div", z, "Present")) : f("", !0)
77
- ]),
78
- l("div", null, [
79
- (a(!0), _(v, null, E(o.btns, (n) => (a(), _(v, {
80
- key: n.key
81
- }, [
82
- I(F)(n.hidden, { $node: p, $data: u }) ? f("", !0) : (a(), m(c, {
83
- key: 0,
84
- link: "",
85
- onClick: P((H) => L(n.onClick || "", p, u), ["stop"]),
86
- disabled: n.disabled,
87
- type: n.type
88
- }, {
89
- default: y(() => [
90
- V(r, {
91
- class: "box-item",
92
- effect: "dark",
93
- content: n.text,
94
- placement: "top"
95
- }, {
96
- default: y(() => [
97
- n.icon ? (a(), m(j, {
98
- key: 0,
99
- name: n.icon.name,
100
- color: n.icon.color,
101
- class: "btn-icon"
102
- }, null, 8, ["name", "color"])) : f("", !0)
103
- ]),
104
- _: 2
105
- }, 1032, ["content"])
106
- ]),
107
- _: 2
108
- }, 1032, ["onClick", "disabled", "type"]))
109
- ], 64))), 128))
110
- ])
111
- ])
112
- ]),
113
- _: 1
114
- }, 16, ["current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
115
- };
116
- }
117
- }), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-6d8361b5"]]);
118
- export {
119
- T as default
120
- };
@@ -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-BMlHLc-c.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
- };