asiaint-lowcode 3.1.174 → 3.1.176

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 (55) hide show
  1. package/dist/asiaint-lowcode.d.ts +65 -0
  2. package/dist/asiaint-lowcode.js +7 -7
  3. package/dist/asiaint-lowcode.umd.cjs +234 -234
  4. package/dist/lazy/{Card-CdqSVMKp.js → Card-tY03_jsQ.js} +1 -1
  5. package/dist/lazy/{Cascader-D1H3atkH.js → Cascader-CoiEWibG.js} +1 -1
  6. package/dist/lazy/{Checkbox-rxwRKO2L.js → Checkbox-DgAWi7xv.js} +2 -2
  7. package/dist/lazy/{Collapse-C71dCSaP.js → Collapse-DoX4-z6R.js} +2 -2
  8. package/dist/lazy/Component-B1cRXfb6.js +198 -0
  9. package/dist/lazy/{Component-C14aJsIW.js → Component-CEPZFfnv.js} +1 -1
  10. package/dist/lazy/{Component-j-7aSjsD.js → Component-CwFNnxot.js} +1 -1
  11. package/dist/lazy/{Component-D-djkyEJ.js → Component-DYj0-oAE.js} +1 -1
  12. package/dist/lazy/{CurdCard-SpH6JL4Y.js → CurdCard-DfTd52sw.js} +1 -1
  13. package/dist/lazy/{Custom-BU5XOp-r.js → Custom-Dbj0V-xU.js} +1 -1
  14. package/dist/lazy/DatePicker-Bn2V6hsJ.js +73 -0
  15. package/dist/lazy/{DragList-CfBWQeQz.js → DragList-DqreIFnM.js} +1 -1
  16. package/dist/lazy/FilterSearch-DhDZ-EZP.js +149 -0
  17. package/dist/lazy/FloatCurd-Cfkz6IKM.js +268 -0
  18. package/dist/lazy/FloatSearchCurd-CuGQMSfs.js +447 -0
  19. package/dist/lazy/{FormList-Bb8pnChP.js → FormList-iRDxU3y1.js} +1 -1
  20. package/dist/lazy/{Grid-Db2yree5.js → Grid-BdWqDQr5.js} +1 -1
  21. package/dist/lazy/{InfiniteScroll-1DHgbFA8.js → InfiniteScroll-DLdq1kWV.js} +1 -1
  22. package/dist/lazy/{Inline-BjDXhX1N.js → Inline-BUA_Nnzb.js} +1 -1
  23. package/dist/lazy/{JsonEdit-B1SPhwLj.js → JsonEdit-Dza78rMu.js} +1 -1
  24. package/dist/lazy/{LogList-BUDvAMuS.js → LogList-BuZ8Xjtk.js} +1 -1
  25. package/dist/lazy/{ObjGroup-CNIY-lzc.js → ObjGroup-BVYeKRas.js} +1 -1
  26. package/dist/lazy/OfferDetails-BuFlnyVM.js +208 -0
  27. package/dist/lazy/Pagination-DIueKA4T.js +121 -0
  28. package/dist/lazy/Progress-MldyKkep.js +56 -0
  29. package/dist/lazy/{Radio-Ccv92FSa.js → Radio-Bod52dE2.js} +2 -2
  30. package/dist/lazy/{SearchSelect-CegeM7cQ.js → SearchSelect-CzIo7iiM.js} +2 -2
  31. package/dist/lazy/{Select-BwUZLLXi.js → Select-Cy9eA5-X.js} +2 -2
  32. package/dist/lazy/Table-BVg8ydp1.js +598 -0
  33. package/dist/lazy/Tabs-CbJpP5yI.js +154 -0
  34. package/dist/lazy/Tag-DfelP1C7.js +25 -0
  35. package/dist/lazy/{TextArea-BuVvhsWJ.js → TextArea-HCAqMgrp.js} +1 -1
  36. package/dist/lazy/{Title-32bZDihB.js → Title-7fiPAhd5.js} +1 -1
  37. package/dist/lazy/Title.vue_vue_type_script_setup_true_lang-LunhnrZy.js +26 -0
  38. package/dist/lazy/{Wrapper-BLTyLdnw.js → Wrapper-BR-FaBxi.js} +1 -1
  39. package/dist/lazy/{index-BbsPPc14.js → index-1omyaX4F.js} +9420 -9412
  40. package/dist/lazy/{useSelect-DsEZTPfh.js → useSelect-U2g9t7In.js} +1 -1
  41. package/dist/style.css +2 -2
  42. package/package.json +1 -1
  43. package/dist/lazy/Component-BcbHLE_g.js +0 -321
  44. package/dist/lazy/Component-DO3qZWym.js +0 -192
  45. package/dist/lazy/DatePicker-S3D1E9AQ.js +0 -73
  46. package/dist/lazy/FilterSearch-BbAQVwp0.js +0 -149
  47. package/dist/lazy/FloatCurd-1NLXV_L9.js +0 -268
  48. package/dist/lazy/FloatSearchCurd-HU1XecwR.js +0 -447
  49. package/dist/lazy/OfferDetails-Caj8FZUy.js +0 -206
  50. package/dist/lazy/Pagination-BguRKtZy.js +0 -121
  51. package/dist/lazy/Progress-B-vHTTf7.js +0 -54
  52. package/dist/lazy/Table-BAnOjOoV.js +0 -667
  53. package/dist/lazy/Tabs-Dgnv0RAm.js +0 -150
  54. package/dist/lazy/Tag-IQ_W6v0E.js +0 -22
  55. package/dist/lazy/Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js +0 -23
@@ -0,0 +1,154 @@
1
+ import { defineComponent as z, ref as M, computed as R, watch as _, onMounted as W, onUnmounted as A, resolveComponent as C, openBlock as s, createBlock as m, mergeProps as T, withCtx as f, createElementVNode as p, createElementBlock as c, createVNode as y, createCommentVNode as d, Fragment as k, renderList as S, toDisplayString as $, normalizeClass as D, unref as F } from "vue";
2
+ import { c as U, i as P, B as K, I as X, b as Y, _ as j } from "./index-1omyaX4F.js";
3
+ import "element-plus";
4
+ const q = { class: "right-icon-wrapper" }, G = {
5
+ key: 0,
6
+ class: "dynamic-icon-wrapper"
7
+ }, H = {
8
+ key: 1,
9
+ class: "static-icon-wrapper"
10
+ }, J = { class: "tab-label-text" }, O = /* @__PURE__ */ z({
11
+ __name: "Tabs",
12
+ props: {
13
+ id: {},
14
+ children: {},
15
+ defaultKey: {},
16
+ tabChange: {},
17
+ onBeforeLeave: {},
18
+ styleType: { default: "normal" },
19
+ staticBtns: {},
20
+ dynamicBtns: {},
21
+ name: {}
22
+ },
23
+ setup(V, { expose: w }) {
24
+ const n = V, l = M(""), I = R(() => {
25
+ const e = n.children.findIndex((t) => t.name === l.value);
26
+ return e - 1 >= 0 ? e - 1 : null;
27
+ }), { ruleModule: h, pageMethodMap: b } = U();
28
+ function E(e) {
29
+ if (n.tabChange)
30
+ try {
31
+ h[n.tabChange](b, e);
32
+ } catch (t) {
33
+ console.error(t);
34
+ }
35
+ }
36
+ async function L(e, t) {
37
+ if (n.onBeforeLeave)
38
+ try {
39
+ return await h[n.onBeforeLeave](b, e, t);
40
+ } catch (r) {
41
+ console.error(r);
42
+ }
43
+ return !0;
44
+ }
45
+ const N = (e) => {
46
+ if (n.id) {
47
+ const t = document.getElementById(n.id);
48
+ if (t) {
49
+ const r = t.getElementsByClassName("el-tabs__nav-scroll")[0], i = t.getElementsByClassName("el-tabs__nav")[0], u = i.style.transform.split("(")[1].split(")")[0].split("px")[0], B = r.offsetWidth - i.offsetWidth, g = 0;
50
+ let o = parseInt(u);
51
+ o = o - e.deltaY, o < B && (o = B), o > g && (o = g), i.style.transform = `translateX(${o}px)`;
52
+ }
53
+ e.preventDefault();
54
+ }
55
+ };
56
+ _(
57
+ () => n.children,
58
+ () => {
59
+ n.children.forEach((e) => {
60
+ e.children || (e.children = []);
61
+ });
62
+ }
63
+ ), _(
64
+ () => n.defaultKey,
65
+ () => {
66
+ l.value = n.defaultKey;
67
+ }
68
+ ), W(() => {
69
+ n.defaultKey && (l.value = n.defaultKey);
70
+ });
71
+ const v = {
72
+ changeActiveKey: (e) => {
73
+ l.value = e;
74
+ },
75
+ type: "formTabs"
76
+ };
77
+ if (n.name) {
78
+ const e = P(n.name, v);
79
+ A(() => {
80
+ e();
81
+ });
82
+ }
83
+ return w(v), (e, t) => {
84
+ const r = C("el-tab-pane"), i = C("el-tabs");
85
+ return s(), m(i, T({
86
+ ref: "tabsRef",
87
+ id: e.id
88
+ }, e.$attrs, {
89
+ modelValue: l.value,
90
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => l.value = a),
91
+ onTabChange: E,
92
+ "before-leave": L,
93
+ addable: e.styleType === "btn",
94
+ class: {
95
+ "modal-type": e.styleType === "modal",
96
+ "btn-type": e.styleType === "btn",
97
+ "form-item-tabs": e.styleType === "normal"
98
+ }
99
+ }), {
100
+ "add-icon": f(() => [
101
+ p("div", q, [
102
+ e.dynamicBtns && e.dynamicBtns.length > 0 ? (s(), c("div", G, [
103
+ y(K, { btns: e.dynamicBtns }, null, 8, ["btns"])
104
+ ])) : d("", !0),
105
+ e.staticBtns && e.staticBtns.length > 0 ? (s(), c("div", H, [
106
+ y(K, { btns: e.staticBtns }, null, 8, ["btns"])
107
+ ])) : d("", !0)
108
+ ])
109
+ ]),
110
+ default: f(() => [
111
+ (s(!0), c(k, null, S(e.children, (a, u) => (s(), c(k, {
112
+ key: a.name
113
+ }, [
114
+ a.hidden ? d("", !0) : (s(), m(r, T({
115
+ key: 0,
116
+ ref_for: !0
117
+ }, a), {
118
+ label: f(() => [
119
+ p("div", {
120
+ class: "tab-label",
121
+ style: { height: "100%" },
122
+ onWheel: N
123
+ }, [
124
+ e.styleType === "btn" && a.icon ? (s(), m(X, {
125
+ key: 0,
126
+ name: a.icon,
127
+ size: a.iconSize || "x-small"
128
+ }, null, 8, ["name", "size"])) : d("", !0),
129
+ p("span", J, $(a.label), 1),
130
+ u !== e.children.length - 1 ? (s(), c("span", {
131
+ key: 1,
132
+ class: D(["divider", {
133
+ "divider-hidden": l.value === a.name || I.value === u
134
+ }])
135
+ }, null, 2)) : d("", !0)
136
+ ], 32)
137
+ ]),
138
+ default: f(() => [
139
+ y(F(Y), {
140
+ list: a.children
141
+ }, null, 8, ["list"])
142
+ ]),
143
+ _: 2
144
+ }, 1040))
145
+ ], 64))), 128))
146
+ ]),
147
+ _: 1
148
+ }, 16, ["id", "modelValue", "addable", "class"]);
149
+ };
150
+ }
151
+ }), ne = /* @__PURE__ */ j(O, [["__scopeId", "data-v-6271f56a"]]);
152
+ export {
153
+ ne as default
154
+ };
@@ -0,0 +1,25 @@
1
+ import { defineComponent as r, resolveComponent as a, openBlock as p, createBlock as n, mergeProps as s, withCtx as l, createTextVNode as m, toDisplayString as c, unref as f } from "vue";
2
+ import { d as i } from "./index-1omyaX4F.js";
3
+ import "element-plus";
4
+ const x = /* @__PURE__ */ r({
5
+ __name: "Tag",
6
+ props: {
7
+ text: {},
8
+ type: { default: "primary" }
9
+ },
10
+ setup(u) {
11
+ const t = i();
12
+ return (e, _) => {
13
+ const o = a("el-tag");
14
+ return p(), n(o, s({ type: e.type }, e.$attrs), {
15
+ default: l(() => [
16
+ m(c(e.text || f(t).tag.defaultText), 1)
17
+ ]),
18
+ _: 1
19
+ }, 16, ["type"]);
20
+ };
21
+ }
22
+ });
23
+ export {
24
+ x as default
25
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, mergeModels as i, useModel as v, computed as _, resolveComponent as f, openBlock as a, createElementBlock as l, createElementVNode as y, toDisplayString as d, createBlock as h, mergeProps as k } from "vue";
2
- import { u as V, _ as B } from "./index-BbsPPc14.js";
2
+ import { u as V, _ as B } from "./index-1omyaX4F.js";
3
3
  import "element-plus";
4
4
  const M = ["innerHTML"], R = {
5
5
  key: 1,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
1
+ import { _ as f } from "./Title.vue_vue_type_script_setup_true_lang-LunhnrZy.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,26 @@
1
+ import { defineComponent as l, openBlock as o, createBlock as a, resolveDynamicComponent as i, normalizeStyle as n, withCtx as r, createTextVNode as p, toDisplayString as s, unref as c } from "vue";
2
+ import { d as m } from "./index-1omyaX4F.js";
3
+ import "element-plus";
4
+ const T = /* @__PURE__ */ l({
5
+ __name: "Title",
6
+ props: {
7
+ title: {},
8
+ type: { default: "h3" },
9
+ italic: { type: Boolean, default: !1 }
10
+ },
11
+ setup(f) {
12
+ const t = m();
13
+ return (e, u) => (o(), a(i(e.type), {
14
+ class: "Title",
15
+ style: n({ fontStyle: e.italic ? "italic" : "normal" })
16
+ }, {
17
+ default: r(() => [
18
+ p(s(e.title || c(t).title.defaultText), 1)
19
+ ]),
20
+ _: 1
21
+ }, 8, ["style"]));
22
+ }
23
+ });
24
+ export {
25
+ T as _
26
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as C, onUnmounted as g, resolveComponent as x, openBlock as r, createElementBlock as t, normalizeStyle as i, createVNode as a, withCtx as S, withDirectives as b, createElementVNode as _, normalizeClass as c, unref as B, createCommentVNode as d, vShow as D } from "vue";
2
- import { c as k, i as E, b as I, I as u, _ as j } from "./index-BbsPPc14.js";
2
+ import { c as k, i as E, b as I, I as u, _ as j } from "./index-1omyaX4F.js";
3
3
  import "element-plus";
4
4
  const M = {
5
5
  key: 0,