asiaint-lowcode 3.1.155 → 3.1.157
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.
- package/dist/asiaint-lowcode.d.ts +3 -0
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +168 -168
- package/dist/lazy/{Card-CjoajWlX.js → Card-B3WQCKc6.js} +1 -1
- package/dist/lazy/{Cascader-BI48geLX.js → Cascader-DJyywP6c.js} +1 -1
- package/dist/lazy/{Checkbox-DWnHNw2Z.js → Checkbox-G28n-DK5.js} +2 -2
- package/dist/lazy/{Collapse-oQVVyvSq.js → Collapse-DsOvVQLt.js} +1 -1
- package/dist/lazy/{Component-BQmLajhD.js → Component-B4VzhhGy.js} +1 -1
- package/dist/lazy/{Component-6nCLFfmD.js → Component-BcMOjpLS.js} +1 -1
- package/dist/lazy/{Component-DOvznhgs.js → Component-CobGqGSI.js} +1 -1
- package/dist/lazy/{Component-Dv2lvTRS.js → Component-DlbOMIFE.js} +1 -1
- package/dist/lazy/{Component-4y8LVAEW.js → Component-DuBKi8XH.js} +1 -1
- package/dist/lazy/{CurdCard-dkIu8yvO.js → CurdCard-CwZHPOnD.js} +1 -1
- package/dist/lazy/{Custom-Bp-DrHGW.js → Custom-eTni_qhQ.js} +1 -1
- package/dist/lazy/{DatePicker-Cu0gqyks.js → DatePicker-DdOfiER-.js} +1 -1
- package/dist/lazy/{DragList-C3LeKUsG.js → DragList-rSvIz_gB.js} +1 -1
- package/dist/lazy/{FilterSearch-CaiOlbOX.js → FilterSearch-CftNzvja.js} +1 -1
- package/dist/lazy/{FloatCurd-pqWO43Cs.js → FloatCurd-DDDn22I5.js} +62 -58
- package/dist/lazy/{FloatSearchCurd-CrTTosWv.js → FloatSearchCurd-DMlvc2YW.js} +142 -140
- package/dist/lazy/{FormList-B45ZIBdE.js → FormList-BVWQqPiA.js} +1 -1
- package/dist/lazy/{Grid-Cn3Ie8jV.js → Grid-BkNXwA5x.js} +1 -1
- package/dist/lazy/{InfiniteScroll-CLR8N2JP.js → InfiniteScroll-Vh9Kapq8.js} +1 -1
- package/dist/lazy/{Inline-BzdFHOzV.js → Inline-DMv-HENx.js} +1 -1
- package/dist/lazy/{JsonEdit-C8Mr7LMU.js → JsonEdit-BWoNP6xW.js} +1 -1
- package/dist/lazy/{LogList-BaUVsXWL.js → LogList-CeegCD2V.js} +1 -1
- package/dist/lazy/{ObjGroup-B3rHEsyW.js → ObjGroup-8XLUOmBV.js} +1 -1
- package/dist/lazy/{OfferDetails-0xRt_4Ss.js → OfferDetails-m0qrqin5.js} +1 -1
- package/dist/lazy/{Pagination-B4KtNV5z.js → Pagination-BW5t2j7P.js} +1 -1
- package/dist/lazy/{Progress-CIQXxqD7.js → Progress-CHjbZjN8.js} +1 -1
- package/dist/lazy/{Radio-CTUOv1Ks.js → Radio-D43D35ot.js} +2 -2
- package/dist/lazy/{SearchSelect-BNFlWCJt.js → SearchSelect-BSaLuUJ3.js} +2 -2
- package/dist/lazy/{Select-DyzBsBBX.js → Select-an5byIgz.js} +2 -2
- package/dist/lazy/{Table-D5scw9aW.js → Table-BznLrfuR.js} +1 -1
- package/dist/lazy/{Tabs-RX0LR0w_.js → Tabs-CuDRO-VL.js} +1 -1
- package/dist/lazy/{TextArea-Dm0mtsUO.js → TextArea-BnlO6jTM.js} +1 -1
- package/dist/lazy/{Wrapper-CKQ8t0Hz.js → Wrapper-GDh1JX-h.js} +1 -1
- package/dist/lazy/{index-vL9NPmkQ.js → index-HE352yaV.js} +33 -33
- package/dist/lazy/{useSelect-CWyMzOd9.js → useSelect-B_w1W6jX.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, watch as H, ref as B, inject as $, resolveComponent as k, openBlock as o, createBlock as f, mergeProps as N, withCtx as y, createElementBlock as s, normalizeClass as p, createVNode as r, unref as C, createCommentVNode as i, createElementVNode as h, toDisplayString as F, Fragment as w, renderList as z, withDirectives as V, vShow as D } from "vue";
|
|
2
|
-
import { u as j, a as L, I as u, b as T, B as R, f as q, _ as A } from "./index-
|
|
2
|
+
import { u as j, a as L, I as u, b as T, B as R, f as q, _ as A } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const G = {
|
|
5
5
|
key: 3,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, mergeModels as g, useModel as y, inject as r, resolveComponent as C, openBlock as h, createBlock as v, mergeProps as M, unref as d } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as B } from "./useSelect-
|
|
3
|
+
import { u as B } from "./useSelect-B_w1W6jX.js";
|
|
4
4
|
const k = /* @__PURE__ */ f({
|
|
5
5
|
__name: "Cascader",
|
|
6
6
|
props: /* @__PURE__ */ g({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as A, mergeModels as D, computed as f, useModel as L, watch as N, resolveComponent as i, resolveDirective as S, openBlock as n, createElementBlock as u, toDisplayString as $, Fragment as c, unref as d, withDirectives as E, createBlock as p, mergeProps as h, withCtx as g, renderList as k, createCommentVNode as C, createVNode as I } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as O, c as P } from "./index-
|
|
4
|
-
import { u as R } from "./useSelect-
|
|
3
|
+
import { u as O, c as P } from "./index-HE352yaV.js";
|
|
4
|
+
import { u as R } from "./useSelect-B_w1W6jX.js";
|
|
5
5
|
const U = { key: 0 }, j = { key: 1 }, Q = /* @__PURE__ */ A({
|
|
6
6
|
__name: "Checkbox",
|
|
7
7
|
props: /* @__PURE__ */ D({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
|
|
2
|
-
import { b as y } from "./index-
|
|
2
|
+
import { b as y } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
|
|
5
5
|
const b = /* @__PURE__ */ u({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as T, mergeModels as $, useModel as A, computed as l, inject as x, ref as N, resolveComponent as P, openBlock as b, createElementBlock as R, toDisplayString as W, createBlock as j, mergeProps as O } from "vue";
|
|
2
|
-
import { u as U } from "./index-
|
|
2
|
+
import { u as U } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const q = { key: 0 }, L = /* @__PURE__ */ T({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as $, mergeModels as z, useModel as E, ref as I, resolveComponent as B, openBlock as t, createElementBlock as o, Fragment as d, createVNode as p, normalizeClass as L, createSlots as N, withCtx as g, createTextVNode as h, createElementVNode as s, createBlock as f, toDisplayString as u, createCommentVNode as m, unref as O, renderList as T } from "vue";
|
|
2
2
|
import { genFileId as R, ElMessage as j, ElMessageBox as P } from "element-plus";
|
|
3
|
-
import { c as q, I as c, a as A, _ as G } from "./index-
|
|
3
|
+
import { c as q, I as c, a as A, _ as G } from "./index-HE352yaV.js";
|
|
4
4
|
const H = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "smallDragStyle-text"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
|
|
2
|
-
import { u as V } from "./index-
|
|
2
|
+
import { u as V } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, ref as v, computed as N, watch as L, onMounted as x, onBeforeUnmount as F, openBlock as T, createElementBlock as E, mergeModels as J, useModel as A, resolveComponent as G, unref as W, createElementVNode as P, createBlock as X, withCtx as D, createTextVNode as I, createCommentVNode as Y, createVNode as R } from "vue";
|
|
2
|
-
import { _ as H, u as K, d as Q } from "./index-
|
|
2
|
+
import { _ as H, u as K, d as Q } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
|
|
|
2
2
|
var m = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
3
|
var a = (o, e, t) => m(o, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { defineComponent as g, mergeModels as v, useModel as I, ref as c, onMounted as w, resolveComponent as C, openBlock as y, createElementBlock as _, createVNode as V, createElementVNode as M } from "vue";
|
|
5
|
-
import { u as x, _ as S } from "./index-
|
|
5
|
+
import { u as x, _ as S } from "./index-HE352yaV.js";
|
|
6
6
|
import "element-plus";
|
|
7
7
|
function b() {
|
|
8
8
|
return "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as U, inject as $, ref as k, watch as A, resolveComponent as f, openBlock as o, createElementBlock as s, normalizeClass as m, normalizeStyle as O, createElementVNode as c, createBlock as p, createCommentVNode as u, toDisplayString as M, withCtx as v, Fragment as B, renderList as R, createTextVNode as q, createVNode as r, withKeys as G, unref as I, withDirectives as H, vShow as J } from "vue";
|
|
2
|
-
import { u as Q, I as h, b as V, B as W, f as X, _ as Y } from "./index-
|
|
2
|
+
import { u as Q, I as h, b as V, B as W, f as X, _ as Y } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = ["id"], x = { class: "left-part" }, ee = { class: "title" }, le = { class: "right-part" }, ae = { key: 0 }, oe = {
|
|
5
5
|
key: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { _ as i } from "./index-HE352yaV.js";
|
|
3
3
|
const f = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, mergeModels as M, useModel as k, useAttrs as D, computed as l, inject as u, resolveComponent as I, openBlock as i, createElementBlock as E, toDisplayString as _, createBlock as S, mergeProps as V } from "vue";
|
|
2
2
|
import { dayjs as b } from "element-plus";
|
|
3
|
-
import { u as B } from "./index-
|
|
3
|
+
import { u as B } from "./index-HE352yaV.js";
|
|
4
4
|
const F = { key: 0 }, j = /* @__PURE__ */ y({
|
|
5
5
|
__name: "DatePicker",
|
|
6
6
|
props: /* @__PURE__ */ M({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as J, reactive as F, ref as T, onBeforeMount as le, onMounted as ie, nextTick as h, onBeforeUnmount as re, watch as c, provide as q, toRefs as A, openBlock as R, createElementBlock as O, normalizeStyle as ne, renderSlot as X, Fragment as se, renderList as ue, createBlock as K, mergeProps as de, withCtx as Q, withDirectives as ce, createVNode as Z, vShow as me, mergeModels as ge, useModel as pe, onUnmounted as ye, unref as Y, readonly as j } from "vue";
|
|
2
|
-
import { w as ve, m as fe, n as he, o as k, T as we, v as xe, p as C, A as be, q as G, x as Be, L as ke, y as Ce, r as De, Y as Le, s as Me, t as P, V as Se, c as ze, i as Re, b as Ie, _ as Ne } from "./index-
|
|
2
|
+
import { w as ve, m as fe, n as he, o as k, T as we, v as xe, p as C, A as be, q as G, x as Be, L as ke, y as Ce, r as De, Y as Le, s as Me, t as P, V as Se, c as ze, i as Re, b as Ie, _ as Ne } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const $e = /* @__PURE__ */ J({
|
|
5
5
|
__name: "grid-layout",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as U, ref as o, readonly as D, onUnmounted as E, watch as L, onMounted as N, resolveComponent as p, openBlock as m, createElementBlock as T, createElementVNode as i, createVNode as s, withKeys as j, withModifiers as $, withCtx as h, toDisplayString as q, normalizeStyle as A, Fragment as G, renderList as H, createBlock as J, normalizeClass as O, withDirectives as P, unref as Q, vShow as X, nextTick as Y } from "vue";
|
|
2
|
-
import { c as Z, i as ee, I as x, b as le, _ as ae } from "./index-
|
|
2
|
+
import { c as Z, i as ee, I as x, b as le, _ as ae } from "./index-HE352yaV.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
|
|
5
5
|
__name: "FilterSearch",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { c as
|
|
1
|
+
import { defineComponent as me, ref as Y, computed as oe, onUnmounted as ve, watch as he, onMounted as _e, resolveComponent as C, withDirectives as ne, openBlock as r, createElementBlock as f, createElementVNode as a, createVNode as c, withKeys as ye, withCtx as d, createBlock as I, Fragment as F, renderList as le, createTextVNode as T, toDisplayString as O, unref as be, vShow as te, createCommentVNode as P } from "vue";
|
|
2
|
+
import { c as xe, u as Ce, f as ae, i as ke, I as y, b as ge, _ as Ve } from "./index-HE352yaV.js";
|
|
3
3
|
import { dayjs as B } from "element-plus";
|
|
4
|
-
const
|
|
4
|
+
const we = { class: "float-curd" }, Me = { class: "curd-body" }, Ye = { class: "gradient-input-wrapper" }, Ie = { class: "custom-prefix-text" }, Fe = { style: { "padding-right": "8px" } }, Oe = { class: "float-form" }, Pe = { class: "float-form-header" }, Se = { class: "float-form-header-title" }, Ae = { class: "float-form-header-btns" }, De = { class: "float-form-body" }, Ne = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "curd-footer"
|
|
7
|
-
},
|
|
7
|
+
}, Te = ["innerHTML"], Be = ["title"], Le = /* @__PURE__ */ me({
|
|
8
8
|
__name: "FloatCurd",
|
|
9
9
|
props: {
|
|
10
10
|
name: {},
|
|
@@ -20,63 +20,63 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
20
20
|
defaultPrefixValue: {},
|
|
21
21
|
hiddenPrefix: { type: Boolean }
|
|
22
22
|
},
|
|
23
|
-
setup(re, { expose:
|
|
24
|
-
const t = re, b = Y(!1), { ruleModule:
|
|
25
|
-
function A(e, o,
|
|
23
|
+
setup(re, { expose: ie }) {
|
|
24
|
+
const t = re, b = Y(!1), { ruleModule: k, pageMethodMap: g } = xe(), S = Ce();
|
|
25
|
+
function A(e, o, s, v, h) {
|
|
26
26
|
if (e != null && e.length)
|
|
27
27
|
for (const u of e) {
|
|
28
|
-
if (u[
|
|
28
|
+
if (u[s] === o)
|
|
29
29
|
return u[v];
|
|
30
30
|
const p = u[h];
|
|
31
31
|
if (Array.isArray(p) && p.length > 0) {
|
|
32
|
-
const n = A(p, o,
|
|
32
|
+
const n = A(p, o, s, v, h);
|
|
33
33
|
if (n !== void 0)
|
|
34
34
|
return n;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
const
|
|
38
|
+
const V = oe(() => {
|
|
39
39
|
var h, u, p, n, w, j, q, z, K, E, G, H, R, U, J, Q;
|
|
40
|
-
const e = S.schema.items, o = S.formValues,
|
|
41
|
-
if (!
|
|
40
|
+
const e = S.schema.items, o = S.formValues, s = ae(e, t.name);
|
|
41
|
+
if (!s || !s.children)
|
|
42
42
|
return [];
|
|
43
43
|
const v = [];
|
|
44
44
|
for (const W in o) {
|
|
45
|
-
const l = ae(
|
|
45
|
+
const l = ae(s.children, W);
|
|
46
46
|
if (l && l.label && !l.hidden) {
|
|
47
|
-
const
|
|
48
|
-
if (
|
|
47
|
+
const i = o[W];
|
|
48
|
+
if (i != null && i !== "") {
|
|
49
49
|
const _ = {
|
|
50
50
|
name: l.name,
|
|
51
51
|
label: l.label,
|
|
52
|
-
value:
|
|
52
|
+
value: i,
|
|
53
53
|
closeable: !l.required && !((h = l.props) != null && h.disabled) && ((u = l.props) == null ? void 0 : u.clearable) !== !1
|
|
54
54
|
};
|
|
55
|
-
if (l.component === "DatePicker" && (((p = l.props) == null ? void 0 : p.type) === "daterange" ? _.value = B(
|
|
55
|
+
if (l.component === "DatePicker" && (((p = l.props) == null ? void 0 : p.type) === "daterange" ? _.value = B(i[0]).format(((n = l.props) == null ? void 0 : n.valueFormat) || "YYYY-MM-DD") + " - " + B(i[1]).format(((w = l.props) == null ? void 0 : w.valueFormat) || "YYYY-MM-DD") : (_.iconName = "icon-rili", _.value = B(i).format(((j = l.props) == null ? void 0 : j.valueFormat) || "YYYY-MM-DD"))), l.component === "Select" && (_.value = (K = (z = (q = l.props) == null ? void 0 : q.options) == null ? void 0 : z.find((M) => M.value === i)) == null ? void 0 : K.label), l.component === "TreeSelect") {
|
|
56
56
|
const M = ((E = l.props) == null ? void 0 : E.nodeKey) || "id", X = ((H = (G = l.props) == null ? void 0 : G.props) == null ? void 0 : H.label) || "label", Z = ((U = (R = l.props) == null ? void 0 : R.props) == null ? void 0 : U.children) || "children", ee = (J = l.props) == null ? void 0 : J.options;
|
|
57
|
-
(Q = l.props) != null && Q.multiple && Array.isArray(
|
|
57
|
+
(Q = l.props) != null && Q.multiple && Array.isArray(i) ? _.value = i.map((fe) => A(ee, fe, M, X, Z)).filter(Boolean).join(", ") : _.value = A(ee, i, M, X, Z);
|
|
58
58
|
}
|
|
59
59
|
v.push(_);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
return v;
|
|
64
|
-
}), m = Y(""),
|
|
64
|
+
}), m = Y(""), se = oe(() => {
|
|
65
65
|
var e, o;
|
|
66
|
-
return !t.prefixOptions || t.prefixOptions.length === 0 || !m.value ? "" : (o = (e = t.prefixOptions) == null ? void 0 : e.find((
|
|
66
|
+
return !t.prefixOptions || t.prefixOptions.length === 0 || !m.value ? "" : (o = (e = t.prefixOptions) == null ? void 0 : e.find((s) => s.value === m.value)) == null ? void 0 : o.label;
|
|
67
67
|
});
|
|
68
68
|
function ue(e) {
|
|
69
|
-
m.value = e,
|
|
69
|
+
m.value = e, x.value = "";
|
|
70
70
|
try {
|
|
71
|
-
|
|
71
|
+
k[t.prefixChange](g, e);
|
|
72
72
|
} catch (o) {
|
|
73
73
|
console.error(o);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
const
|
|
76
|
+
const x = Y("");
|
|
77
77
|
function L() {
|
|
78
78
|
try {
|
|
79
|
-
|
|
79
|
+
k[t.onSearch](g), b.value = !1;
|
|
80
80
|
} catch (e) {
|
|
81
81
|
console.error(e);
|
|
82
82
|
}
|
|
@@ -84,7 +84,7 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
84
84
|
const D = Y(!1);
|
|
85
85
|
async function N() {
|
|
86
86
|
try {
|
|
87
|
-
D.value = !0, await
|
|
87
|
+
D.value = !0, await k[t.onAiSearch](g, x.value, m.value || "");
|
|
88
88
|
} catch (e) {
|
|
89
89
|
console.error(e);
|
|
90
90
|
} finally {
|
|
@@ -96,47 +96,51 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
96
96
|
}
|
|
97
97
|
function de() {
|
|
98
98
|
try {
|
|
99
|
-
|
|
99
|
+
k[t.onClear](g);
|
|
100
100
|
} catch (e) {
|
|
101
101
|
console.error(e);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
+
function pe() {
|
|
105
|
+
x.value = "";
|
|
106
|
+
}
|
|
104
107
|
const $ = {
|
|
108
|
+
clearInputValue: pe,
|
|
105
109
|
type: "floatcurd"
|
|
106
110
|
};
|
|
107
|
-
if (
|
|
108
|
-
const e =
|
|
109
|
-
|
|
111
|
+
if (ie($), t.name) {
|
|
112
|
+
const e = ke(t.name, $);
|
|
113
|
+
ve(() => {
|
|
110
114
|
e();
|
|
111
115
|
});
|
|
112
116
|
}
|
|
113
|
-
return
|
|
117
|
+
return he(
|
|
114
118
|
() => t.defaultPrefixValue,
|
|
115
119
|
(e) => {
|
|
116
120
|
e && (m.value = e);
|
|
117
121
|
}
|
|
118
|
-
),
|
|
122
|
+
), _e(() => {
|
|
119
123
|
t.defaultPrefixValue ? m.value = t.defaultPrefixValue : t.prefixOptions && t.prefixOptions.length > 0 && (m.value = t.prefixOptions[0].value);
|
|
120
124
|
}), (e, o) => {
|
|
121
|
-
const
|
|
122
|
-
return ne((r(), f("div",
|
|
123
|
-
a("div",
|
|
124
|
-
a("div",
|
|
125
|
+
const s = C("el-dropdown-item"), v = C("el-dropdown-menu"), h = C("el-dropdown"), u = C("el-button"), p = C("el-input");
|
|
126
|
+
return ne((r(), f("div", we, [
|
|
127
|
+
a("div", Me, [
|
|
128
|
+
a("div", Ye, [
|
|
125
129
|
c(p, {
|
|
126
130
|
class: "float-curd-ai-input",
|
|
127
131
|
placeholder: e.inputPlaceholder,
|
|
128
|
-
modelValue:
|
|
129
|
-
"onUpdate:modelValue": o[0] || (o[0] = (n) =>
|
|
132
|
+
modelValue: x.value,
|
|
133
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => x.value = n),
|
|
130
134
|
clearable: "",
|
|
131
135
|
onClear: N,
|
|
132
|
-
onKeyup:
|
|
136
|
+
onKeyup: ye(N, ["enter"])
|
|
133
137
|
}, {
|
|
134
138
|
prefix: d(() => [
|
|
135
|
-
e.prefixOptions && e.prefixOptions.length > 0 ? (r(),
|
|
139
|
+
e.prefixOptions && e.prefixOptions.length > 0 ? (r(), I(h, { key: 0 }, {
|
|
136
140
|
dropdown: d(() => [
|
|
137
141
|
c(v, null, {
|
|
138
142
|
default: d(() => [
|
|
139
|
-
(r(!0), f(
|
|
143
|
+
(r(!0), f(F, null, le(e.prefixOptions, (n) => (r(), I(s, {
|
|
140
144
|
key: n.value,
|
|
141
145
|
command: n.value,
|
|
142
146
|
onClick: (w) => ue(n.value)
|
|
@@ -151,8 +155,8 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
151
155
|
})
|
|
152
156
|
]),
|
|
153
157
|
default: d(() => [
|
|
154
|
-
a("span",
|
|
155
|
-
a("span", Fe, O(
|
|
158
|
+
a("span", Ie, [
|
|
159
|
+
a("span", Fe, O(se.value), 1),
|
|
156
160
|
c(y, {
|
|
157
161
|
name: "icon-dropdown",
|
|
158
162
|
size: 12,
|
|
@@ -161,7 +165,7 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
161
165
|
])
|
|
162
166
|
]),
|
|
163
167
|
_: 1
|
|
164
|
-
})) : e.hiddenPrefix ? (r(), f(
|
|
168
|
+
})) : e.hiddenPrefix ? (r(), f(F, { key: 1 }, [], 64)) : (r(), f(F, { key: 2 }, [
|
|
165
169
|
c(y, { name: "icon-a-mobang1" }),
|
|
166
170
|
o[3] || (o[3] = a("span", { class: "prefix-text" }, "Ask AI", -1))
|
|
167
171
|
], 64))
|
|
@@ -194,10 +198,10 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
194
198
|
]),
|
|
195
199
|
_: 1
|
|
196
200
|
}),
|
|
197
|
-
ne(a("div",
|
|
198
|
-
a("div",
|
|
199
|
-
a("div",
|
|
200
|
-
a("div",
|
|
201
|
+
ne(a("div", Oe, [
|
|
202
|
+
a("div", Pe, [
|
|
203
|
+
a("div", Se, O(e.formTitle), 1),
|
|
204
|
+
a("div", Ae, [
|
|
201
205
|
c(u, {
|
|
202
206
|
type: "primary",
|
|
203
207
|
size: "small",
|
|
@@ -214,37 +218,37 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
214
218
|
})
|
|
215
219
|
])
|
|
216
220
|
]),
|
|
217
|
-
a("div",
|
|
218
|
-
c(
|
|
221
|
+
a("div", De, [
|
|
222
|
+
c(be(ge), { list: e.children }, null, 8, ["list"])
|
|
219
223
|
])
|
|
220
224
|
], 512), [
|
|
221
225
|
[te, b.value]
|
|
222
226
|
])
|
|
223
227
|
]),
|
|
224
|
-
|
|
225
|
-
(r(!0), f(
|
|
228
|
+
V.value && V.value.length > 0 ? (r(), f("div", Ne, [
|
|
229
|
+
(r(!0), f(F, null, le(V.value, (n) => (r(), f("div", {
|
|
226
230
|
class: "tag",
|
|
227
231
|
key: n.name
|
|
228
232
|
}, [
|
|
229
|
-
n.iconName ? (r(),
|
|
233
|
+
n.iconName ? (r(), I(y, {
|
|
230
234
|
key: 0,
|
|
231
235
|
name: n.iconName
|
|
232
236
|
}, null, 8, ["name"])) : P("", !0),
|
|
233
237
|
a("span", {
|
|
234
238
|
innerHTML: n.label + ":"
|
|
235
|
-
}, null, 8,
|
|
239
|
+
}, null, 8, Te),
|
|
236
240
|
a("span", {
|
|
237
241
|
class: "tag-value",
|
|
238
242
|
title: n.value
|
|
239
|
-
}, O(n.value), 9,
|
|
240
|
-
n.closeable ? (r(),
|
|
243
|
+
}, O(n.value), 9, Be),
|
|
244
|
+
n.closeable ? (r(), I(y, {
|
|
241
245
|
key: 1,
|
|
242
246
|
name: "icon-a-rongqi1",
|
|
243
247
|
onClick: (w) => ce(n),
|
|
244
248
|
class: "close-icon"
|
|
245
249
|
}, null, 8, ["onClick"])) : P("", !0)
|
|
246
250
|
]))), 128)),
|
|
247
|
-
|
|
251
|
+
V.value.length > 0 ? (r(), f("div", {
|
|
248
252
|
key: 0,
|
|
249
253
|
class: "clear-btn",
|
|
250
254
|
onClick: de
|
|
@@ -255,7 +259,7 @@ const Ve = { class: "float-curd" }, we = { class: "curd-body" }, Me = { class: "
|
|
|
255
259
|
]);
|
|
256
260
|
};
|
|
257
261
|
}
|
|
258
|
-
}),
|
|
262
|
+
}), ze = /* @__PURE__ */ Ve(Le, [["__scopeId", "data-v-45bb8c0d"]]);
|
|
259
263
|
export {
|
|
260
|
-
|
|
264
|
+
ze as default
|
|
261
265
|
};
|