asiaint-lowcode 3.1.53 → 3.1.55

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 (40) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +111 -111
  3. package/dist/index.d.ts +12 -4
  4. package/dist/lazy/{Card-CHP6m_FL.js → Card-BXKpqwP2.js} +1 -1
  5. package/dist/lazy/{Cascader-D4v4jTd7.js → Cascader-Ds98RPzS.js} +1 -1
  6. package/dist/lazy/{Checkbox-DeqEMK_I.js → Checkbox-DKkkcLvw.js} +2 -2
  7. package/dist/lazy/{Collapse-CMRE5R18.js → Collapse-CNy7cdGL.js} +1 -1
  8. package/dist/lazy/{Component-B7GkeIvh.js → Component-CLtv3HZE.js} +1 -1
  9. package/dist/lazy/{Component-B5AKTiZd.js → Component-CwnK1Ums.js} +1 -1
  10. package/dist/lazy/{Component-BKbN98Hy.js → Component-D5uZd6W1.js} +1 -1
  11. package/dist/lazy/{Component-CgcQ_-aC.js → Component-DMl5Bagt.js} +1 -1
  12. package/dist/lazy/{Component-DqS8Lajh.js → Component-Fo_Dyn0s.js} +1 -1
  13. package/dist/lazy/{Component-DnLmaI5e.js → Component-gvpBh8iD.js} +1 -1
  14. package/dist/lazy/{CurdCard-BshihU98.js → CurdCard-CtMRBBlf.js} +1 -1
  15. package/dist/lazy/{Custom-C9XWjp3i.js → Custom-CbAPve0N.js} +1 -1
  16. package/dist/lazy/{DatePicker-CFZTlXYz.js → DatePicker-ibO4UCty.js} +1 -1
  17. package/dist/lazy/{DragList-BOKd3Nkn.js → DragList-DSnWhZqP.js} +1 -1
  18. package/dist/lazy/FilterSearch-BTN22Rs4.js +128 -0
  19. package/dist/lazy/{FormList-BztLtlVo.js → FormList-CYJ7WSaW.js} +1 -1
  20. package/dist/lazy/{Grid-BmR2UoLY.js → Grid-BLcQVZnc.js} +1 -1
  21. package/dist/lazy/{InfiniteScroll-22k8G62g.js → InfiniteScroll-CISAZvfc.js} +1 -1
  22. package/dist/lazy/{Inline-D7rR7Pe0.js → Inline-CN9syZ28.js} +1 -1
  23. package/dist/lazy/{JsonEdit-BT7UmaFI.js → JsonEdit-CWt6xA_b.js} +1 -1
  24. package/dist/lazy/{LogList-DgVl5B0a.js → LogList-DNUwLcXX.js} +1 -1
  25. package/dist/lazy/{ObjGroup-DZyF0y4y.js → ObjGroup-DwPq7CZw.js} +1 -1
  26. package/dist/lazy/{OfferDetails-Cgq4TeYp.js → OfferDetails-BXAoZXs2.js} +1 -1
  27. package/dist/lazy/{Pagination-DI4P8FrF.js → Pagination-C5YW52OB.js} +1 -1
  28. package/dist/lazy/{Progress-C4KMGyaM.js → Progress-xqmF3wW_.js} +1 -1
  29. package/dist/lazy/{Radio-DpX3IV6R.js → Radio--HOOmZfy.js} +2 -2
  30. package/dist/lazy/{SearchSelect-C5YOidJU.js → SearchSelect-ClmaNMSl.js} +2 -2
  31. package/dist/lazy/{Select-VD9Evc28.js → Select-B65r4vDH.js} +13 -7
  32. package/dist/lazy/{Table-DPg4KMuG.js → Table-DATLGVBG.js} +1 -1
  33. package/dist/lazy/{Tabs-CgOdONLp.js → Tabs-DKNVRbtN.js} +1 -1
  34. package/dist/lazy/{TextArea-CeDrv6Ro.js → TextArea-BuoAInxT.js} +1 -1
  35. package/dist/lazy/{Wrapper-t4g2_GEM.js → Wrapper-crDMNWXD.js} +1 -1
  36. package/dist/lazy/{index-C8n3bw0x.js → index-DItZh2kd.js} +5064 -5001
  37. package/dist/lazy/{useSelect-B-Y7wxFa.js → useSelect-B5EeeCHx.js} +1 -1
  38. package/dist/style.css +1 -1
  39. package/package.json +1 -1
  40. package/dist/lazy/FilterSearch-B0Iq08r0.js +0 -149
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.53",
3
+ "version": "3.1.55",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -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-C8n3bw0x.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
- };