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
@@ -1,150 +0,0 @@
1
- import { defineComponent as N, ref as z, computed as M, watch as _, onMounted as R, onUnmounted as W, resolveComponent as C, openBlock as o, createBlock as m, mergeProps as T, withCtx as d, createElementVNode as p, createElementBlock as u, createVNode as y, createCommentVNode as f, Fragment as A, 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-BbsPPc14.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__ */ N({
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(K, { expose: V }) {
24
- const n = K, s = z(""), w = M(() => {
25
- const e = n.children.findIndex((t) => t.name === s.value);
26
- return e - 1 >= 0 ? e - 1 : null;
27
- }), { ruleModule: h, pageMethodMap: b } = U();
28
- function I(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 E(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 L = (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], c = i.style.transform.split("(")[1].split(")")[0].split("px")[0], B = r.offsetWidth - i.offsetWidth, g = 0;
50
- let l = parseInt(c);
51
- l = l - e.deltaY, l < B && (l = B), l > g && (l = g), i.style.transform = `translateX(${l}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
- s.value = n.defaultKey;
67
- }
68
- ), R(() => {
69
- n.defaultKey && (s.value = n.defaultKey);
70
- });
71
- const v = {
72
- changeActiveKey: (e) => {
73
- s.value = e;
74
- },
75
- type: "formTabs"
76
- };
77
- if (n.name) {
78
- const e = P(n.name, v);
79
- W(() => {
80
- e();
81
- });
82
- }
83
- return V(v), (e, t) => {
84
- const r = C("el-tab-pane"), i = C("el-tabs");
85
- return o(), m(i, T({
86
- ref: "tabsRef",
87
- id: e.id
88
- }, e.$attrs, {
89
- modelValue: s.value,
90
- "onUpdate:modelValue": t[0] || (t[0] = (a) => s.value = a),
91
- onTabChange: I,
92
- "before-leave": E,
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": d(() => [
101
- p("div", q, [
102
- e.dynamicBtns && e.dynamicBtns.length > 0 ? (o(), u("div", G, [
103
- y(k, { btns: e.dynamicBtns }, null, 8, ["btns"])
104
- ])) : f("", !0),
105
- e.staticBtns && e.staticBtns.length > 0 ? (o(), u("div", H, [
106
- y(k, { btns: e.staticBtns }, null, 8, ["btns"])
107
- ])) : f("", !0)
108
- ])
109
- ]),
110
- default: d(() => [
111
- (o(!0), u(A, null, S(e.children, (a, c) => (o(), m(r, T({
112
- key: a.name,
113
- ref_for: !0
114
- }, a), {
115
- label: d(() => [
116
- p("div", {
117
- class: "tab-label",
118
- style: { height: "100%" },
119
- onWheel: L
120
- }, [
121
- e.styleType === "btn" && a.icon ? (o(), m(X, {
122
- key: 0,
123
- name: a.icon,
124
- size: a.iconSize || "x-small"
125
- }, null, 8, ["name", "size"])) : f("", !0),
126
- p("span", J, $(a.label), 1),
127
- c !== e.children.length - 1 ? (o(), u("span", {
128
- key: 1,
129
- class: D(["divider", {
130
- "divider-hidden": s.value === a.name || w.value === c
131
- }])
132
- }, null, 2)) : f("", !0)
133
- ], 32)
134
- ]),
135
- default: d(() => [
136
- y(F(Y), {
137
- list: a.children
138
- }, null, 8, ["list"])
139
- ]),
140
- _: 2
141
- }, 1040))), 128))
142
- ]),
143
- _: 1
144
- }, 16, ["id", "modelValue", "addable", "class"]);
145
- };
146
- }
147
- }), ne = /* @__PURE__ */ j(O, [["__scopeId", "data-v-76b66d0b"]]);
148
- export {
149
- ne as default
150
- };
@@ -1,22 +0,0 @@
1
- import { defineComponent as o, resolveComponent as p, openBlock as r, createBlock as a, mergeProps as n, withCtx as s, createTextVNode as l, toDisplayString as m } from "vue";
2
- const i = /* @__PURE__ */ o({
3
- __name: "Tag",
4
- props: {
5
- text: { default: "标签" },
6
- type: { default: "primary" }
7
- },
8
- setup(_) {
9
- return (e, c) => {
10
- const t = p("el-tag");
11
- return r(), a(t, n({ type: e.type }, e.$attrs), {
12
- default: s(() => [
13
- l(m(e.text), 1)
14
- ]),
15
- _: 1
16
- }, 16, ["type"]);
17
- };
18
- }
19
- });
20
- export {
21
- i as default
22
- };
@@ -1,23 +0,0 @@
1
- import { defineComponent as t, openBlock as l, createBlock as o, resolveDynamicComponent as a, normalizeStyle as i, withCtx as n, createTextVNode as r, toDisplayString as p } from "vue";
2
- const m = /* @__PURE__ */ t({
3
- __name: "Title",
4
- props: {
5
- title: { default: "标题" },
6
- type: { default: "h3" },
7
- italic: { type: Boolean, default: !1 }
8
- },
9
- setup(s) {
10
- return (e, c) => (l(), o(a(e.type), {
11
- class: "Title",
12
- style: i({ fontStyle: e.italic ? "italic" : "normal" })
13
- }, {
14
- default: n(() => [
15
- r(p(e.title), 1)
16
- ]),
17
- _: 1
18
- }, 8, ["style"]));
19
- }
20
- });
21
- export {
22
- m as _
23
- };