asiaint-lowcode 3.1.52 → 3.1.54

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 (39) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +124 -124
  3. package/dist/lazy/{Card-lVLvxZWw.js → Card-D4uHASbk.js} +1 -1
  4. package/dist/lazy/{Cascader-CwOfprl0.js → Cascader-Cj5XwRTU.js} +1 -1
  5. package/dist/lazy/{Checkbox-Dh2OO89D.js → Checkbox-CrRXSIYU.js} +2 -2
  6. package/dist/lazy/{Collapse-ClD5Cxs1.js → Collapse-D20YKdOw.js} +1 -1
  7. package/dist/lazy/{Component-DLa6um_n.js → Component-B_j1TVdi.js} +1 -1
  8. package/dist/lazy/{Component-B04szSD6.js → Component-C_aDXdNs.js} +1 -1
  9. package/dist/lazy/{Component-DXuFDBu2.js → Component-CfTKTVPW.js} +1 -1
  10. package/dist/lazy/{Component-eMr3rRUB.js → Component-CowyTCQW.js} +1 -1
  11. package/dist/lazy/{Component-BqEjXQia.js → Component-DHq71Obg.js} +1 -1
  12. package/dist/lazy/{Component-UdDyAxnf.js → Component-qDVbyXqJ.js} +1 -1
  13. package/dist/lazy/{CurdCard-DQ8FooiP.js → CurdCard-Bf50yEic.js} +1 -1
  14. package/dist/lazy/{Custom-j7zaNxzW.js → Custom-CFZCevbY.js} +1 -1
  15. package/dist/lazy/{DatePicker-DPCVC-x_.js → DatePicker-W8VgjwA3.js} +1 -1
  16. package/dist/lazy/{DragList-CBVI2mKH.js → DragList-CufoFZt9.js} +1 -1
  17. package/dist/lazy/{FilterSearch-C2h02c7V.js → FilterSearch-Blx1nhhY.js} +1 -1
  18. package/dist/lazy/{FormList-IN-zW8nh.js → FormList-CGvkA_mg.js} +1 -1
  19. package/dist/lazy/{Grid-B6wzcPWr.js → Grid-CGunVHdg.js} +1 -1
  20. package/dist/lazy/{InfiniteScroll-Z-GVBlxV.js → InfiniteScroll-Bs0oBpJh.js} +1 -1
  21. package/dist/lazy/{Inline-C8h45R8u.js → Inline-h-um7aW1.js} +1 -1
  22. package/dist/lazy/{JsonEdit-B8sbqyyS.js → JsonEdit-UroN5Twh.js} +1 -1
  23. package/dist/lazy/{LogList-zfMyKWCO.js → LogList-DHb9iI_D.js} +1 -1
  24. package/dist/lazy/{ObjGroup-K4Y7hQc7.js → ObjGroup-CU3lnRRY.js} +1 -1
  25. package/dist/lazy/{OfferDetails-RtrQpLV7.js → OfferDetails-BS_dPDXl.js} +1 -1
  26. package/dist/lazy/{Pagination-B4z5P9Ke.js → Pagination-Dqk6mxUr.js} +1 -1
  27. package/dist/lazy/{Progress-DZKTCadU.js → Progress-Blk0WZpK.js} +1 -1
  28. package/dist/lazy/{Radio-Cq4c-qsi.js → Radio-5lqVyGbx.js} +2 -2
  29. package/dist/lazy/{SearchSelect-3TehxKw1.js → SearchSelect-COiiM4jW.js} +2 -2
  30. package/dist/lazy/Select-1rXzlX_U.js +150 -0
  31. package/dist/lazy/{Table-p9KJ4_9d.js → Table-DSELr1ko.js} +1 -1
  32. package/dist/lazy/{Tabs-CdG-hdJ1.js → Tabs-BoqNTRwL.js} +1 -1
  33. package/dist/lazy/{TextArea-BEjDKBp4.js → TextArea-Bq4XP7cS.js} +1 -1
  34. package/dist/lazy/{Wrapper-y8fF35Bp.js → Wrapper-30CivARZ.js} +1 -1
  35. package/dist/lazy/{index-GRIBKt5D.js → index-BWAXQPKp.js} +34 -35
  36. package/dist/lazy/{useSelect-B8sNW_9o.js → useSelect-DHkURB6S.js} +1 -1
  37. package/dist/style.css +1 -1
  38. package/package.json +1 -1
  39. package/dist/lazy/Select-G2Lm7UZd.js +0 -128
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.52",
3
+ "version": "3.1.54",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,128 +0,0 @@
1
- import { defineComponent as D, mergeModels as F, computed as p, useModel as x, inject as v, resolveComponent as b, openBlock as i, createElementBlock as g, normalizeStyle as A, toDisplayString as h, createBlock as C, mergeProps as N, unref as K, withCtx as m, createElementVNode as r, Fragment as T, renderList as $, createTextVNode as j } from "vue";
2
- import { u as E } from "./index-GRIBKt5D.js";
3
- import { u as I } from "./useSelect-B8sNW_9o.js";
4
- const O = { style: { "min-height": "32px" } }, R = /* @__PURE__ */ D({
5
- __name: "Select",
6
- props: /* @__PURE__ */ F({
7
- options: { default: () => [] },
8
- defaultOptions: {},
9
- multiple: { type: Boolean, default: !1 },
10
- mode: { default: "static" },
11
- labelKey: { default: "label" },
12
- valueKey: { default: "value" },
13
- disabledKey: { default: "disabled" },
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, default: !0 },
24
- width: {}
25
- }, {
26
- modelValue: { type: [String, Number, Boolean, Array] },
27
- modelModifiers: {}
28
- }),
29
- emits: ["update:modelValue"],
30
- setup(y) {
31
- const l = y, V = p(() => l.clearable === null || l.clearable === void 0 ? !0 : !!l.clearable), d = x(y, "modelValue"), c = E(), M = p(() => l.read || c.schema.read), f = v("ruleModule", void 0), k = v("pageMethodMap", {}), B = (e) => {
32
- const { valueKey: t = "value", multiple: n, name: o } = l;
33
- let a = {};
34
- if (n && Array.isArray(e) ? a = s.value.filter((u) => e.includes(u[t])) : a = s.value.find((u) => u[t] === e) || {}, c.selectData && o && c.updateSelectData(o, a), l.onChange && f)
35
- try {
36
- f[l.onChange](k, e, a);
37
- } catch (u) {
38
- console.error(u + `
39
- onChange: ${l.onChange}`);
40
- }
41
- }, { currentOptions: s, loading: w } = I(l), S = p(() => {
42
- var t;
43
- if (l.multiple)
44
- return s.value.filter(
45
- (o) => d.value.includes(o[l.valueKey])
46
- ).map((o) => o[l.labelKey]).join(",");
47
- const e = (t = s.value.find((n) => n[l.valueKey] === d.value)) == null ? void 0 : t[l.labelKey];
48
- return !e || `${e}`.trim().length === 0 ? "--" : e;
49
- });
50
- return (e, t) => {
51
- const n = b("el-option"), o = b("el-select");
52
- return M.value ? (i(), g("span", {
53
- key: 0,
54
- style: A({ color: e.readTextColor })
55
- }, h(S.value), 5)) : (i(), C(o, N({
56
- key: 1,
57
- modelValue: d.value,
58
- "onUpdate:modelValue": t[0] || (t[0] = (a) => d.value = a)
59
- }, e.$attrs, {
60
- onChange: B,
61
- multiple: e.multiple,
62
- clearable: V.value,
63
- filterable: "",
64
- "fallback-placements": ["bottom"],
65
- loading: K(w),
66
- placeholder: "",
67
- style: { width: e.width }
68
- }), {
69
- loading: m(() => t[1] || (t[1] = [
70
- r("svg", {
71
- class: "circular",
72
- viewBox: "0 0 20 20"
73
- }, [
74
- r("g", {
75
- class: "path2 loading-path",
76
- "stroke-width": "0",
77
- style: { animation: "none", stroke: "none" }
78
- }, [
79
- r("circle", {
80
- r: "3.375",
81
- class: "dot1",
82
- rx: "0",
83
- ry: "0"
84
- }),
85
- r("circle", {
86
- r: "3.375",
87
- class: "dot2",
88
- rx: "0",
89
- ry: "0"
90
- }),
91
- r("circle", {
92
- r: "3.375",
93
- class: "dot4",
94
- rx: "0",
95
- ry: "0"
96
- }),
97
- r("circle", {
98
- r: "3.375",
99
- class: "dot3",
100
- rx: "0",
101
- ry: "0"
102
- })
103
- ])
104
- ], -1)
105
- ])),
106
- default: m(() => [
107
- r("div", O, [
108
- (i(!0), g(T, null, $(K(s), (a) => (i(), C(n, {
109
- key: a[e.valueKey],
110
- label: a[e.labelKey],
111
- value: a[e.valueKey],
112
- disabled: a[e.disabledKey]
113
- }, {
114
- default: m(() => [
115
- j(h(a[e.labelKey]), 1)
116
- ]),
117
- _: 2
118
- }, 1032, ["label", "value", "disabled"]))), 128))
119
- ])
120
- ]),
121
- _: 1
122
- }, 16, ["modelValue", "multiple", "clearable", "loading", "style"]));
123
- };
124
- }
125
- });
126
- export {
127
- R as default
128
- };