asiaint-lowcode 3.1.54 → 3.1.56

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 (43) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +111 -111
  4. package/dist/index.d.ts +18 -8
  5. package/dist/lazy/{Card-D4uHASbk.js → Card-BlakHGF_.js} +2 -2
  6. package/dist/lazy/{Cascader-Cj5XwRTU.js → Cascader-BOwEQkqr.js} +1 -1
  7. package/dist/lazy/{Checkbox-CrRXSIYU.js → Checkbox-1qYzxvx3.js} +2 -2
  8. package/dist/lazy/{Collapse-D20YKdOw.js → Collapse-DFhQjGTg.js} +1 -1
  9. package/dist/lazy/{Component-qDVbyXqJ.js → Component-BOC_tZaw.js} +1 -1
  10. package/dist/lazy/{Component-C_aDXdNs.js → Component-BybPseK_.js} +2 -2
  11. package/dist/lazy/{Component-CowyTCQW.js → Component-D6OIJgBS.js} +1 -1
  12. package/dist/lazy/{Component-B_j1TVdi.js → Component-DqTP-dqG.js} +2 -2
  13. package/dist/lazy/{Component-DHq71Obg.js → Component-TyczCMR3.js} +2 -2
  14. package/dist/lazy/{Component-CfTKTVPW.js → Component-uvnooS14.js} +2 -2
  15. package/dist/lazy/{CurdCard-Bf50yEic.js → CurdCard-7elTeYSM.js} +9 -9
  16. package/dist/lazy/Custom-CFg-E0l1.js +26 -0
  17. package/dist/lazy/{DatePicker-W8VgjwA3.js → DatePicker-vabWbXWk.js} +1 -1
  18. package/dist/lazy/{DragList-CufoFZt9.js → DragList-ptXtINib.js} +13 -13
  19. package/dist/lazy/FilterSearch-DX7lyU5K.js +128 -0
  20. package/dist/lazy/{FormList-CGvkA_mg.js → FormList-CQafRlf1.js} +1 -1
  21. package/dist/lazy/{Grid-CGunVHdg.js → Grid-BHXnN5tG.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-Bs0oBpJh.js → InfiniteScroll-B9A8fTzl.js} +4 -4
  23. package/dist/lazy/{Inline-h-um7aW1.js → Inline-CLeU2_yh.js} +3 -3
  24. package/dist/lazy/{JsonEdit-UroN5Twh.js → JsonEdit-CR8pc1r0.js} +3 -3
  25. package/dist/lazy/{LogList-DHb9iI_D.js → LogList-C0n583jZ.js} +7 -7
  26. package/dist/lazy/{ObjGroup-CU3lnRRY.js → ObjGroup-CWyMW8ok.js} +1 -1
  27. package/dist/lazy/{OfferDetails-BS_dPDXl.js → OfferDetails-Bk2fm7if.js} +2 -3
  28. package/dist/lazy/{Pagination-Dqk6mxUr.js → Pagination-BTgJMuH1.js} +4 -4
  29. package/dist/lazy/{Progress-Blk0WZpK.js → Progress-DbQWJ6ZF.js} +15 -15
  30. package/dist/lazy/{Radio-5lqVyGbx.js → Radio-BFsZCzNl.js} +3 -3
  31. package/dist/lazy/{SearchSelect-COiiM4jW.js → SearchSelect-CTNUhnXg.js} +6 -6
  32. package/dist/lazy/{Select-1rXzlX_U.js → Select-CImoPfB1.js} +2 -2
  33. package/dist/lazy/{Table-DSELr1ko.js → Table-CQKjjRQt.js} +2 -2
  34. package/dist/lazy/{Tabs-BoqNTRwL.js → Tabs-Qh5RoptW.js} +2 -2
  35. package/dist/lazy/{TextArea-Bq4XP7cS.js → TextArea-CHd9bsw8.js} +2 -2
  36. package/dist/lazy/{Wrapper-30CivARZ.js → Wrapper-B4mdrBTT.js} +7 -7
  37. package/dist/lazy/{index-BWAXQPKp.js → index-BMlHLc-c.js} +4033 -3984
  38. package/dist/lazy/{useSelect-DHkURB6S.js → useSelect-DWF-2iPr.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/global.d.ts +10 -10
  41. package/package.json +36 -36
  42. package/dist/lazy/Custom-CFZCevbY.js +0 -26
  43. package/dist/lazy/FilterSearch-Blx1nhhY.js +0 -149
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.54",
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.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,26 +0,0 @@
1
- import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as u, resolveDynamicComponent as d, mergeProps as c } from "vue";
2
- import { _ as i } from "./index-BWAXQPKp.js";
3
- const f = {
4
- key: 0,
5
- class: "empty"
6
- }, _ = /* @__PURE__ */ n({
7
- __name: "Custom",
8
- props: /* @__PURE__ */ s({
9
- componentName: {}
10
- }, {
11
- modelValue: {},
12
- modelModifiers: {}
13
- }),
14
- emits: ["update:modelValue"],
15
- setup(a) {
16
- const o = p(a, "modelValue");
17
- return (e, m) => e.componentName ? (t(), u(d(e.componentName), c({
18
- key: 1,
19
- modelValue: o.value,
20
- "onUpdate:modelValue": m[0] || (m[0] = (l) => o.value = l)
21
- }, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", f, "请输入全局注册得组件名"));
22
- }
23
- }), v = /* @__PURE__ */ i(_, [["__scopeId", "data-v-a013b8cf"]]);
24
- export {
25
- v as default
26
- };
@@ -1,149 +0,0 @@
1
- import { defineComponent as j, ref as v, readonly as D, onUnmounted as E, resolveComponent as f, openBlock as u, createElementBlock as m, createElementVNode as t, createVNode as s, withKeys as R, withModifiers as U, withCtx as c, createBlock as $, createTextVNode as C, toDisplayString as S, createCommentVNode as L, Fragment as q, renderList as A, normalizeClass as T, withDirectives as G, unref as H, vShow as J } from "vue";
2
- import { c as O, j as P, I as k, b as Q, _ as W } from "./index-BWAXQPKp.js";
3
- import "element-plus";
4
- const X = { class: "filter-search-header" }, Y = { class: "input-tag-wrapper" }, Z = { class: "input-action" }, ee = { class: "input-action-tag-wrapper" }, ae = /* @__PURE__ */ j({
5
- __name: "FilterSearch",
6
- props: {
7
- name: {},
8
- children: {},
9
- placeholder: {},
10
- defaultCollapse: { type: Boolean },
11
- searchTypes: {},
12
- onSearch: {},
13
- onChange: {},
14
- onSearchTypeChange: {}
15
- },
16
- setup(w, { expose: V }) {
17
- const a = w, i = v(a.defaultCollapse), l = v(a.searchTypes ? a.searchTypes[0] : null), x = () => l.value, I = (e) => {
18
- if (a.searchTypes) {
19
- const n = a.searchTypes.find((p) => p.value === e);
20
- n && (l.value = n);
21
- }
22
- }, r = v(""), z = (e) => {
23
- r.value = e;
24
- }, F = () => r.value, b = (e) => {
25
- l.value = e;
26
- try {
27
- h[a.onSearchTypeChange](d, e);
28
- } catch (n) {
29
- console.error(n);
30
- }
31
- }, B = (e) => {
32
- if (a.onChange)
33
- try {
34
- h[a.onChange](d, e);
35
- } catch (n) {
36
- console.error(n);
37
- }
38
- }, _ = async () => {
39
- try {
40
- await h[a.onSearch](d, r.value);
41
- } catch (e) {
42
- console.error(e);
43
- }
44
- }, M = () => {
45
- i.value = !i.value;
46
- }, { ruleModule: h, pageMethodMap: d } = O(), y = D({
47
- setSearchValue: z,
48
- getSearchValue: F,
49
- getSearchType: x,
50
- setSearchType: I,
51
- type: "filterSearch"
52
- });
53
- if (a.name) {
54
- const e = P(a.name, y);
55
- E(() => {
56
- e();
57
- });
58
- }
59
- return V(y), (e, n) => {
60
- const p = f("el-tag"), N = f("el-input"), K = f("el-collapse-transition");
61
- return u(), m("div", null, [
62
- t("div", X, [
63
- s(N, {
64
- modelValue: r.value,
65
- "onUpdate:modelValue": n[0] || (n[0] = (o) => r.value = o),
66
- placeholder: e.placeholder,
67
- size: "large",
68
- onKeyup: R(U(_, ["stop"]), ["enter"]),
69
- class: "filter-search-input",
70
- clearable: !0,
71
- onInput: B
72
- }, {
73
- prefix: c(() => [
74
- t("div", Y, [
75
- l.value ? (u(), $(p, {
76
- key: 0,
77
- class: "search-tag",
78
- type: "primary"
79
- }, {
80
- default: c(() => [
81
- C(S(l.value.label), 1)
82
- ]),
83
- _: 1
84
- })) : L("", !0)
85
- ])
86
- ]),
87
- suffix: c(() => [
88
- s(k, {
89
- name: "icon-lujing2",
90
- size: "small",
91
- color: "#666666",
92
- onClick: _,
93
- class: "search-icon"
94
- })
95
- ]),
96
- _: 1
97
- }, 8, ["modelValue", "placeholder", "onKeyup"]),
98
- t("div", Z, [
99
- t("div", ee, [
100
- (u(!0), m(q, null, A(e.searchTypes, (o) => {
101
- var g;
102
- return u(), m("div", {
103
- class: "input-action-tag",
104
- key: o.value
105
- }, [
106
- s(p, {
107
- class: T({ "is-active": ((g = l.value) == null ? void 0 : g.value) === o.value }),
108
- type: "info",
109
- round: "",
110
- size: "large",
111
- onClick: (ne) => b(o)
112
- }, {
113
- default: c(() => [
114
- C(S(o.label), 1)
115
- ]),
116
- _: 2
117
- }, 1032, ["class", "onClick"])
118
- ]);
119
- }), 128))
120
- ]),
121
- t("div", {
122
- class: T(["filter-wrapper", { active: !i.value }]),
123
- onClick: M
124
- }, [
125
- s(k, {
126
- name: "icon-shaixuan",
127
- size: "small"
128
- }),
129
- n[1] || (n[1] = t("span", { class: "filter-text" }, "Filter", -1))
130
- ], 2)
131
- ])
132
- ]),
133
- s(K, null, {
134
- default: c(() => [
135
- G(t("div", null, [
136
- s(H(Q), { list: e.children }, null, 8, ["list"])
137
- ], 512), [
138
- [J, !i.value]
139
- ])
140
- ]),
141
- _: 1
142
- })
143
- ]);
144
- };
145
- }
146
- }), se = /* @__PURE__ */ W(ae, [["__scopeId", "data-v-024fa7ea"]]);
147
- export {
148
- se as default
149
- };