st-comp 0.0.262 → 0.0.263
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/es/ChartLayout.js +4 -4
- package/es/CustomFunction.js +31 -31
- package/es/FactorWarning.cjs +1 -1
- package/es/FactorWarning.js +37 -36
- package/es/Kline.cjs +1 -1
- package/es/Kline.js +839 -1593
- package/es/KlineBasic.cjs +1 -1
- package/es/KlineBasic.js +1198 -1
- package/es/KlineConfig.js +89 -89
- package/es/KlineNew.js +17 -17
- package/es/KlinePlus.js +20 -20
- package/es/MonacoEditor.js +25 -25
- package/es/Pagination.js +113 -113
- package/es/PasswordPrompt.js +3 -3
- package/es/Table.js +29 -29
- package/es/User.js +25 -25
- package/es/VarSelectDialog.cjs +1 -1
- package/es/VarSelectDialog.js +27 -27
- package/es/VarietyAiHelper.js +27 -27
- package/es/VarietyAutoComplete.js +11 -11
- package/es/VarietySearch.cjs +1 -1
- package/es/VarietySearch.js +55 -54
- package/es/{VarietySelect-faef4799.js → VarietySelect-9f267958.js} +4 -4
- package/es/VarietyTextCopy.js +13 -13
- package/es/VirtualTable.js +74 -74
- package/es/{_initCloneObject-009eedf8.js → _initCloneObject-69c8ae23.js} +7 -7
- package/es/{base-7ff209fc.js → base-29f73b05.js} +40 -40
- package/es/{castArray-b9f1609f.js → castArray-609a313e.js} +1 -1
- package/es/{config-provider-071b8bec.js → config-provider-7860903c.js} +6 -6
- package/es/{debounce-23c2f7e1.js → debounce-a09ce9a3.js} +1 -1
- package/es/{dropdown-9941f401.js → dropdown-497442b7.js} +4 -4
- package/es/{el-autocomplete-43f205b0.js → el-autocomplete-27c60cc8.js} +17 -17
- package/es/{el-button-7f58608d.js → el-button-e2c63c08.js} +33 -33
- package/es/{el-checkbox-40664b27.js → el-checkbox-71ebd862.js} +17 -17
- package/es/el-checkbox-group-0ea8fbf8.cjs +1 -0
- package/es/el-checkbox-group-4ed993c7.js +1 -0
- package/es/{el-dialog-2f10a2f4.js → el-dialog-eedcfd3e.js} +15 -15
- package/es/{el-divider-4e66c835.js → el-divider-523e5874.js} +1 -1
- package/es/{el-empty-e0d826de.js → el-empty-f5a1607a.js} +5 -5
- package/es/{el-form-item-2b68cdf5.js → el-form-item-bdcfd297.js} +36 -36
- package/es/{el-input-31a818d4.js → el-input-d47281da.js} +36 -36
- package/es/{el-checkbox-group-f775e73f.cjs → el-input-number-3d94fa58.cjs} +1 -1
- package/es/{el-checkbox-group-3ddad0d7.js → el-input-number-c8018cb1.js} +34 -34
- package/es/{el-loading-3e350f5e.js → el-loading-0cd81d05.js} +5 -5
- package/es/el-menu-item-26071fd6.cjs +1 -0
- package/es/el-menu-item-dac65bb3.js +769 -0
- package/es/{el-message-box-a3aa9b89.js → el-message-box-fea4fca8.js} +11 -11
- package/es/{el-overlay-4e9a99e0.js → el-overlay-1ee0338d.js} +59 -59
- package/es/{el-popconfirm-c2896741.js → el-popconfirm-089b8bec.js} +12 -12
- package/es/{el-popper-003b3af7.js → el-popper-c9b3d3cf.js} +177 -177
- package/es/{el-segmented-4ae54e6a.js → el-segmented-9d3a9e11.js} +8 -8
- package/es/{el-select-19ee0e79.js → el-select-e51e11c1.js} +65 -65
- package/es/{el-table-column-3be856d7.js → el-table-column-05d292a8.js} +16 -16
- package/es/{el-tag-19cc5b59.js → el-tag-17cd04a1.js} +14 -14
- package/es/{el-text-9a7a4f0f.js → el-text-2710fff3.js} +2 -2
- package/es/{index-6917da9d.js → index-0ee486ad.js} +43 -43
- package/es/{index-19ac550e.js → index-0f79095c.js} +49 -49
- package/es/{index-308aab33.js → index-1d9b50de.js} +34 -34
- package/es/{index-d898531c.js → index-8391a3df.js} +37 -37
- package/es/{index-41dd5a1c.js → index-8a54ceeb.js} +10 -10
- package/es/{index-b56d81e8.js → index-95e5d454.js} +3 -3
- package/es/{index-f3799536.js → index-b0117ba2.js} +2 -2
- package/es/{index-6d530e54.js → index-bcd895a0.js} +13 -13
- package/es/{index-e17987ac.js → index-c2b9bbfd.js} +30 -30
- package/es/{index-808db9b4.js → index-c71e37dc.js} +11 -11
- package/es/{index-f402d1da.js → index-de24705f.js} +1 -1
- package/es/{index-99abf4ff.js → index-f30561d3.js} +17 -17
- package/es/{python-be79c7c1.js → python-99011a53.js} +25 -25
- package/es/raf-744cf95a.js +6 -0
- package/es/{scroll-8642151c.js → scroll-6799bafc.js} +5 -5
- package/es/style.css +1 -1
- package/es/{use-form-common-props-d170ccfd.js → use-form-common-props-cb0ca65c.js} +72 -72
- package/es/{use-global-config-74436b92.js → use-global-config-cdaeca54.js} +14 -14
- package/es/{validator-672bad4a.js → validator-4ab9774f.js} +1 -1
- package/es/{vnode-6d2615f0.js → vnode-a83e6de8.js} +1 -1
- package/es/{zh-cn-ed10eeb1.js → zh-cn-8a6390a4.js} +2 -2
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +1 -1
- package/lib/{index-c3ddbee7.js → index-0969ca9d.js} +784 -783
- package/lib/{python-da8fd227.js → python-506107bf.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/KlineBasic/index.vue +1 -1
- package/es/raf-ba3dfafe.js +0 -6
package/es/Table.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import "./base-
|
|
2
|
-
import { v as L } from "./el-loading-
|
|
3
|
-
import { z as N, E as P } from "./zh-cn-
|
|
4
|
-
import { E as V, a as D } from "./el-table-column-
|
|
5
|
-
import "./el-checkbox-
|
|
1
|
+
import "./base-29f73b05.js";
|
|
2
|
+
import { v as L } from "./el-loading-0cd81d05.js";
|
|
3
|
+
import { z as N, E as P } from "./zh-cn-8a6390a4.js";
|
|
4
|
+
import { E as V, a as D } from "./el-table-column-05d292a8.js";
|
|
5
|
+
import "./el-checkbox-71ebd862.js";
|
|
6
6
|
import "./el-tooltip-4ed993c7.js";
|
|
7
|
-
import "./el-popper-
|
|
7
|
+
import "./el-popper-c9b3d3cf.js";
|
|
8
8
|
import "./el-scrollbar-323542e7.js";
|
|
9
|
-
import "./el-tag-
|
|
9
|
+
import "./el-tag-17cd04a1.js";
|
|
10
10
|
import "./el-popover-4ed993c7.js";
|
|
11
|
-
import { defineComponent as C, computed as
|
|
12
|
-
import {
|
|
13
|
-
import { E as K } from "./el-popconfirm-
|
|
14
|
-
import { E as Q } from "./el-button-
|
|
15
|
-
import { E as R } from "./index-
|
|
16
|
-
import "./use-global-config-
|
|
17
|
-
import "./use-form-common-props-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./index-
|
|
20
|
-
import "./index-
|
|
21
|
-
import "./config-provider-
|
|
22
|
-
import "./index-
|
|
23
|
-
import "./index-
|
|
24
|
-
import "./_initCloneObject-
|
|
25
|
-
import "./castArray-
|
|
26
|
-
import "./debounce-
|
|
27
|
-
import "./raf-
|
|
11
|
+
import { defineComponent as C, computed as j, openBlock as t, createElementBlock as l, Fragment as c, createBlock as d, withCtx as n, createVNode as f, normalizeStyle as b, createTextVNode as E, toDisplayString as k, unref as S, withDirectives as W, renderList as g, createSlots as F, renderSlot as G, createCommentVNode as H } from "vue";
|
|
12
|
+
import { j as I, E as J } from "./index-c2b9bbfd.js";
|
|
13
|
+
import { E as K } from "./el-popconfirm-089b8bec.js";
|
|
14
|
+
import { E as Q } from "./el-button-e2c63c08.js";
|
|
15
|
+
import { E as R } from "./index-bcd895a0.js";
|
|
16
|
+
import "./use-global-config-cdaeca54.js";
|
|
17
|
+
import "./use-form-common-props-cb0ca65c.js";
|
|
18
|
+
import "./index-8391a3df.js";
|
|
19
|
+
import "./index-de24705f.js";
|
|
20
|
+
import "./index-0ee486ad.js";
|
|
21
|
+
import "./config-provider-7860903c.js";
|
|
22
|
+
import "./index-1d9b50de.js";
|
|
23
|
+
import "./index-0f79095c.js";
|
|
24
|
+
import "./_initCloneObject-69c8ae23.js";
|
|
25
|
+
import "./castArray-609a313e.js";
|
|
26
|
+
import "./debounce-a09ce9a3.js";
|
|
27
|
+
import "./raf-744cf95a.js";
|
|
28
28
|
import "./index-2e331d74.js";
|
|
29
29
|
import "./index-657047bb.js";
|
|
30
|
-
import "./dropdown-
|
|
30
|
+
import "./dropdown-497442b7.js";
|
|
31
31
|
const T = /* @__PURE__ */ C({
|
|
32
32
|
__name: "index",
|
|
33
33
|
props: {
|
|
@@ -45,7 +45,7 @@ const T = /* @__PURE__ */ C({
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
setup(e) {
|
|
48
|
-
const u = e, y =
|
|
48
|
+
const u = e, y = j(() => {
|
|
49
49
|
const { option: p, scope: i } = u;
|
|
50
50
|
return typeof p.show == "function" ? p.show(i.row, i.$index) : p.show !== !1;
|
|
51
51
|
});
|
|
@@ -124,11 +124,11 @@ const T = /* @__PURE__ */ C({
|
|
|
124
124
|
},
|
|
125
125
|
emits: ["sortChange"],
|
|
126
126
|
setup(e, { emit: u }) {
|
|
127
|
-
const y = u, p = e, i =
|
|
127
|
+
const y = u, p = e, i = j(() => p.column.filter((r) => r.show !== !1)), w = (r) => {
|
|
128
128
|
y("sortChange", r);
|
|
129
129
|
}, h = (r, x) => r.filter((s) => typeof s.show == "function" && s.show(x.row, x.$index) === !1 ? !1 : s.show !== !1);
|
|
130
130
|
return (r, x) => {
|
|
131
|
-
const s = J,
|
|
131
|
+
const s = J, M = R, q = V, z = D, B = P, O = L;
|
|
132
132
|
return t(), d(B, { locale: S(N) }, {
|
|
133
133
|
default: n(() => [
|
|
134
134
|
W((t(), d(z, {
|
|
@@ -171,7 +171,7 @@ const T = /* @__PURE__ */ C({
|
|
|
171
171
|
key: `${m.text}-${A}`
|
|
172
172
|
}, [
|
|
173
173
|
m.children ? (t(), l(c, { key: 0 }, [
|
|
174
|
-
h(m.children, a).length ? (t(), d(
|
|
174
|
+
h(m.children, a).length ? (t(), d(M, {
|
|
175
175
|
key: 0,
|
|
176
176
|
placement: "bottom",
|
|
177
177
|
trigger: "hover",
|
package/es/User.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { b as Be,
|
|
2
|
-
import { E as J } from "./el-button-
|
|
3
|
-
import { c as V, E as Ue, O as Ge, w as be } from "./el-popper-
|
|
1
|
+
import { b as Be, e as ie, _ as L, u as ue, n as Me, w as Ae, l as Ee } from "./base-29f73b05.js";
|
|
2
|
+
import { E as J } from "./el-button-e2c63c08.js";
|
|
3
|
+
import { c as V, E as Ue, O as Ge, w as be } from "./el-popper-c9b3d3cf.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
5
|
import { defineComponent as z, ref as y, inject as P, computed as T, provide as Q, readonly as Le, toRef as W, unref as h, watch as ze, renderSlot as K, resolveComponent as R, openBlock as C, createBlock as D, withCtx as l, createVNode as t, normalizeProps as qe, guardReactiveProps as Ye, getCurrentInstance as Ce, createElementBlock as M, normalizeClass as X, createSlots as He, mergeProps as ee, createCommentVNode as oe, nextTick as de, Fragment as Pe, createElementVNode as ne, withModifiers as H, resolveDynamicComponent as Je, normalizeStyle as je, reactive as A, createTextVNode as k, toDisplayString as Z, withKeys as Fe } from "vue";
|
|
6
|
-
import { E as ce,
|
|
6
|
+
import { E as ce, f as $e, u as We, r as Ze } from "./index-c2b9bbfd.js";
|
|
7
7
|
import { R as pe, V as Qe, A as Xe, K as xe } from "./index-7ed0999e.js";
|
|
8
|
-
import { c as he, E as te } from "./el-dialog-
|
|
9
|
-
import "./el-overlay-
|
|
10
|
-
import {
|
|
11
|
-
import { E as se } from "./el-input-
|
|
12
|
-
import { E as Re } from "./el-text-
|
|
8
|
+
import { c as he, E as te } from "./el-dialog-eedcfd3e.js";
|
|
9
|
+
import "./el-overlay-1ee0338d.js";
|
|
10
|
+
import { a as le, E as re } from "./el-form-item-bdcfd297.js";
|
|
11
|
+
import { E as se } from "./el-input-d47281da.js";
|
|
12
|
+
import { E as Re } from "./el-text-2710fff3.js";
|
|
13
13
|
import "./el-message-4ed993c7.js";
|
|
14
14
|
import { _ as me } from "./_plugin-vue_export-helper-dad06003.js";
|
|
15
|
-
import { E as Y } from "./index-
|
|
16
|
-
import { P as ke } from "./index-
|
|
17
|
-
import { E as eo } from "./index-
|
|
18
|
-
import {
|
|
19
|
-
import { c as to, E as lo, d as ro, a as Te, C as so, b as ao, e as io, f as uo, g as co, F as po, L as mo } from "./dropdown-
|
|
20
|
-
import {
|
|
21
|
-
import { u as vo } from "./index-
|
|
22
|
-
import { u as Se } from "./index-
|
|
23
|
-
import { c as _o } from "./castArray-
|
|
15
|
+
import { E as Y } from "./index-f30561d3.js";
|
|
16
|
+
import { P as ke } from "./index-b0117ba2.js";
|
|
17
|
+
import { E as eo } from "./index-1d9b50de.js";
|
|
18
|
+
import { c as oo, e as no } from "./use-form-common-props-cb0ca65c.js";
|
|
19
|
+
import { c as to, E as lo, d as ro, a as Te, C as so, b as ao, e as io, f as uo, g as co, F as po, L as mo } from "./dropdown-497442b7.js";
|
|
20
|
+
import { E as S, F as fo } from "./index-0f79095c.js";
|
|
21
|
+
import { u as vo } from "./index-de24705f.js";
|
|
22
|
+
import { u as Se } from "./index-8391a3df.js";
|
|
23
|
+
import { c as _o } from "./castArray-609a313e.js";
|
|
24
24
|
import "./index-2e331d74.js";
|
|
25
|
-
import "./use-global-config-
|
|
26
|
-
import "./index-
|
|
25
|
+
import "./use-global-config-cdaeca54.js";
|
|
26
|
+
import "./index-0ee486ad.js";
|
|
27
27
|
import "./index-657047bb.js";
|
|
28
|
-
import "./vnode-
|
|
29
|
-
import "./scroll-
|
|
30
|
-
import "./_initCloneObject-
|
|
28
|
+
import "./vnode-a83e6de8.js";
|
|
29
|
+
import "./scroll-6799bafc.js";
|
|
30
|
+
import "./_initCloneObject-69c8ae23.js";
|
|
31
31
|
import "./typescript-7ae59c4c.js";
|
|
32
|
-
import "./index-
|
|
33
|
-
import "./config-provider-
|
|
32
|
+
import "./index-c71e37dc.js";
|
|
33
|
+
import "./config-provider-7860903c.js";
|
|
34
34
|
const wo = Be({
|
|
35
35
|
style: { type: ie([String, Array, Object]) },
|
|
36
36
|
currentTabId: {
|
package/es/VarSelectDialog.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";require("./base-ef747d02.cjs");const I=require("./el-dialog-1b185570.cjs");require("./el-overlay-ea65cb05.cjs");require("./el-tooltip-0ea8fbf8.cjs");const L=require("./el-popper-2d3914e4.cjs"),D=require("./el-button-974ff9e9.cjs"),$=require("./el-input-fa18ef84.cjs");require("./el-tag-6d8e653e.cjs");const B=require("./el-select-a11f33e8.cjs");require("./el-scrollbar-bc3f790d.cjs");const e=require("vue"),x=require("./index-33f80550.cjs"),F=require("./VarietySelect-5c845562.cjs")
|
|
1
|
+
"use strict";require("./base-ef747d02.cjs");const I=require("./el-dialog-1b185570.cjs");require("./el-overlay-ea65cb05.cjs");require("./el-tooltip-0ea8fbf8.cjs");const L=require("./el-popper-2d3914e4.cjs"),D=require("./el-button-974ff9e9.cjs"),$=require("./el-input-fa18ef84.cjs");require("./el-tag-6d8e653e.cjs");const B=require("./el-select-a11f33e8.cjs");require("./el-scrollbar-bc3f790d.cjs");const e=require("vue"),x=require("./index-33f80550.cjs"),F=require("./VarietySelect-5c845562.cjs");require("./el-message-0ea8fbf8.cjs");const U=require("./_plugin-vue_export-helper-f246444f.cjs"),N=require("./index-6ca95c8a.cjs");require("./index-28e03bad.cjs");require("./index-9780a537.cjs");require("./use-form-common-props-d3ed62c6.cjs");require("./index-bb833443.cjs");require("./index-f1c702f6.cjs");require("./vnode-b906ae6d.cjs");require("./scroll-b108dabd.cjs");require("./use-global-config-c80f33a4.cjs");require("./index-37b8d3c6.cjs");require("./index-eea0bcb3.cjs");require("./typescript-b63f8e83.cjs");require("./index-7dce9f59.cjs");require("./index-e8eeea22.cjs");require("./index-6b99def3.cjs");require("./castArray-35947698.cjs");require("./debounce-62f5b6e8.cjs");require("./el-autocomplete-b59eb529.cjs");require("./index-8901a38c.cjs");require("./config-provider-2ae47cc8.cjs");const z=m=>(e.pushScopeId("data-v-e4f6c06a"),m=m(),e.popScopeId(),m),T={class:"custom-header"},j={class:"left"},M=z(()=>e.createElementVNode("span",null," 选择变量 ",-1)),P={class:"right"},A={class:"custom-body"},O={class:"config-list"},H={class:"config-item"},R={key:0},G={key:0},J={key:1},K={key:0},Q={style:{"max-width":"820px"}},W={style:{"white-space":"pre-line"}},X={__name:"index",props:{useCase:{type:String,default:"1"}},setup(m,{expose:C}){const E=e.inject("stConfig"),g=m,_=e.ref(null),V=e.ref(!1),f=e.ref(null),h=e.ref([]),q=e.computed(()=>{var r;return((r=h.value.find(n=>n.varName===f.value))==null?void 0:r.formatList)??[]}),b=r=>r.replace(/^\[|\]$/g,"").split("],[").map(c=>{const s=c.replace(/\[|\]/g,""),[k,u]=s.split(",");return{label:k.trim(),value:u.trim()}}),S=r=>{const n=[];for(let i=0;i<r.length;i++){const o=r[i];switch(console.log(o),o.vtype){case"text":{n.push(o.param);break}default:{if(!o.modelValue)return N.ElMessage.error("请检查插入格式内是否填写完整");let t=o.modelValue;o.prefix&&(t=`${o.prefix}${t}`),o.suffix&&(t=`${t}${o.suffix}`),n.push(t);break}}}if(!_.value)return N.ElMessage.error("未检测到编辑器实例");const v=n.join("_"),c=_.value.getInstance(),s=c.getPosition(),u=_.value.getValue().split(`
|
|
2
2
|
`);if(s.lineNumber<=u.length){const i=s.lineNumber-1,o=u[i],t=s.column-1,d=t>0?o[t-1]:"",l=t<o.length?o[t]:"";let p=v;d&&d!==" "&&!/[\s({[ ]/.test(d)&&(p=" "+p),l&&l!==" "&&!/[\s)}\]]/.test(l)&&(p=p+" ");const a=o.substring(0,t)+p+o.substring(t);u[i]=a;const y=u.join(`
|
|
3
3
|
`);_.value.setValue(y);const w=s.column+p.length;c.setPosition({lineNumber:s.lineNumber,column:w}),c.focus()}};return e.onMounted(async()=>{const{body:r}=await E.request.post("/common/conf/queryAllBackVariables",{useCase:g.useCase});h.value=r??[]}),C({open:r=>{_.value=r,V.value=!0},close:()=>{V.value=!1}}),(r,n)=>{const v=B.ElOption,c=B.ElSelect,s=x.ElIcon,k=$.ElInput,u=D.ElButton,i=L.ElTooltip,o=I.ElDialog;return e.openBlock(),e.createBlock(o,{"modal-class":"var-select-dialog",modelValue:V.value,"onUpdate:modelValue":n[2]||(n[2]=t=>V.value=t),"align-center":"","append-to-body":"","destroy-on-close":"",draggable:"",overflow:"",modal:!1,"modal-penetrable":!0,"show-close":!1},{header:e.withCtx(()=>[e.createElementVNode("div",T,[e.createElementVNode("div",j,[M,e.createVNode(c,{modelValue:f.value,"onUpdate:modelValue":n[0]||(n[0]=t=>f.value=t),placeholder:"选择变量",filterable:"",clearable:""},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(t,d)=>(e.openBlock(),e.createBlock(v,{key:d,label:t.varName,value:t.varName},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),e.createElementVNode("div",P,[e.createVNode(s,{class:"el-icon--left",onClick:n[1]||(n[1]=t=>V.value=!1)},{default:e.withCtx(()=>[e.createVNode(e.unref(x.close_default))]),_:1})])])]),default:e.withCtx(()=>[e.createElementVNode("div",A,[q.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(q.value,(t,d)=>(e.openBlock(),e.createElementBlock("div",{class:"format-item",key:d},[e.createElementVNode("span",null,"格式"+e.toDisplayString(d+1)+":",1),e.createElementVNode("div",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.configList,(l,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",H,[l.vtype==="text"?(e.openBlock(),e.createElementBlock("span",R,e.toDisplayString(l.param),1)):e.createCommentVNode("",!0),l.vtype==="inputVariety"?(e.openBlock(),e.createBlock(F.VarietySelect,{key:1,size:"small",placeholder:l.param,selectClearEnable:!1,labelShowEnable:!1,onSelect:({name:a,code:y})=>l.modelValue=y,onChange:a=>l.modelValue=a,style:{width:"100px"}},null,8,["placeholder","onSelect","onChange"])):e.createCommentVNode("",!0),l.vtype==="input"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[l.prefix?(e.openBlock(),e.createElementBlock("span",G,e.toDisplayString(l.prefix),1)):e.createCommentVNode("",!0),e.createVNode(k,{modelValue:l.modelValue,"onUpdate:modelValue":a=>l.modelValue=a,placeholder:l.param,size:"small"},null,8,["modelValue","onUpdate:modelValue","placeholder"]),l.suffix?(e.openBlock(),e.createElementBlock("span",J,e.toDisplayString(l.suffix),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),l.vtype==="select"?(e.openBlock(),e.createBlock(c,{key:3,modelValue:l.modelValue,"onUpdate:modelValue":a=>l.modelValue=a,placeholder:l.param,clearable:"",size:"small"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b(l.optionsStr),a=>(e.openBlock(),e.createBlock(v,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder"])):e.createCommentVNode("",!0)]),p!==t.configList.length-1?(e.openBlock(),e.createElementBlock("span",K,"_")):e.createCommentVNode("",!0)],64))),256))]),e.createVNode(u,{type:"primary",plain:"",size:"small",onClick:l=>S(t.configList)},{default:e.withCtx(()=>[e.createTextVNode(" 插入变量 ")]),_:2},1032,["onClick"]),e.createVNode(i,{effect:"dark",placement:"top-start"},{content:e.withCtx(()=>[e.createElementVNode("div",Q,[e.createElementVNode("span",W,e.toDisplayString(t.tip),1)])]),default:e.withCtx(()=>[e.createVNode(s,null,{default:e.withCtx(()=>[e.createVNode(e.unref(x.info_filled_default))]),_:1})]),_:2},1024)]))),128)):e.createCommentVNode("",!0)])]),_:1},8,["modelValue"])}}},Y=U._export_sfc(X,[["__scopeId","data-v-e4f6c06a"]]),Z={install(m){m.component("st-varSelectDialog",Y)}};module.exports=Z;
|
package/es/VarSelectDialog.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import "./base-
|
|
2
|
-
import { E as M } from "./el-dialog-
|
|
3
|
-
import "./el-overlay-
|
|
1
|
+
import "./base-29f73b05.js";
|
|
2
|
+
import { E as M } from "./el-dialog-eedcfd3e.js";
|
|
3
|
+
import "./el-overlay-1ee0338d.js";
|
|
4
4
|
import "./el-tooltip-4ed993c7.js";
|
|
5
|
-
import { E as O } from "./el-popper-
|
|
6
|
-
import { E as P } from "./el-button-
|
|
7
|
-
import { E as F } from "./el-input-
|
|
8
|
-
import "./el-tag-
|
|
9
|
-
import { E as R, a as G } from "./el-select-
|
|
5
|
+
import { E as O } from "./el-popper-c9b3d3cf.js";
|
|
6
|
+
import { E as P } from "./el-button-e2c63c08.js";
|
|
7
|
+
import { E as F } from "./el-input-d47281da.js";
|
|
8
|
+
import "./el-tag-17cd04a1.js";
|
|
9
|
+
import { E as R, a as G } from "./el-select-e51e11c1.js";
|
|
10
10
|
import "./el-scrollbar-323542e7.js";
|
|
11
11
|
import { inject as H, ref as S, computed as J, onMounted as K, openBlock as o, createBlock as g, withCtx as p, createElementVNode as u, createVNode as f, createElementBlock as r, Fragment as y, renderList as w, unref as U, toDisplayString as E, createCommentVNode as h, createTextVNode as Q, pushScopeId as W, popScopeId as X } from "vue";
|
|
12
|
-
import {
|
|
13
|
-
import { V as te } from "./VarietySelect-
|
|
14
|
-
import { _ as le } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
+
import { c as Y, i as Z, E as ee } from "./index-c2b9bbfd.js";
|
|
13
|
+
import { V as te } from "./VarietySelect-9f267958.js";
|
|
15
14
|
import "./el-message-4ed993c7.js";
|
|
16
|
-
import {
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
15
|
+
import { _ as le } from "./_plugin-vue_export-helper-dad06003.js";
|
|
16
|
+
import { E as B } from "./index-f30561d3.js";
|
|
17
|
+
import "./index-0f79095c.js";
|
|
18
|
+
import "./index-8391a3df.js";
|
|
19
|
+
import "./use-form-common-props-cb0ca65c.js";
|
|
20
|
+
import "./index-de24705f.js";
|
|
21
21
|
import "./index-2e331d74.js";
|
|
22
|
-
import "./vnode-
|
|
23
|
-
import "./scroll-
|
|
24
|
-
import "./use-global-config-
|
|
25
|
-
import "./index-
|
|
22
|
+
import "./vnode-a83e6de8.js";
|
|
23
|
+
import "./scroll-6799bafc.js";
|
|
24
|
+
import "./use-global-config-cdaeca54.js";
|
|
25
|
+
import "./index-0ee486ad.js";
|
|
26
26
|
import "./index-657047bb.js";
|
|
27
27
|
import "./typescript-7ae59c4c.js";
|
|
28
|
-
import "./index-
|
|
29
|
-
import "./index-
|
|
30
|
-
import "./index-
|
|
31
|
-
import "./castArray-
|
|
32
|
-
import "./debounce-
|
|
33
|
-
import "./el-autocomplete-
|
|
28
|
+
import "./index-c71e37dc.js";
|
|
29
|
+
import "./index-1d9b50de.js";
|
|
30
|
+
import "./index-95e5d454.js";
|
|
31
|
+
import "./castArray-609a313e.js";
|
|
32
|
+
import "./debounce-a09ce9a3.js";
|
|
33
|
+
import "./el-autocomplete-27c60cc8.js";
|
|
34
34
|
import "./index-7ed0999e.js";
|
|
35
|
-
import "./config-provider-
|
|
35
|
+
import "./config-provider-7860903c.js";
|
|
36
36
|
const oe = (V) => (W("data-v-e4f6c06a"), V = V(), X(), V), ae = { class: "custom-header" }, ne = { class: "left" }, se = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("span", null, " 选择变量 ", -1)), re = { class: "right" }, ie = { class: "custom-body" }, ue = { class: "config-list" }, pe = { class: "config-item" }, ce = { key: 0 }, me = { key: 0 }, de = { key: 1 }, _e = { key: 0 }, ve = { style: { "max-width": "820px" } }, fe = { style: { "white-space": "pre-line" } }, he = {
|
|
37
37
|
__name: "index",
|
|
38
38
|
props: {
|
package/es/VarietyAiHelper.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { b as le,
|
|
2
|
-
import { E as ve } from "./el-dialog-
|
|
3
|
-
import "./el-overlay-
|
|
4
|
-
import { E as ge } from "./el-button-
|
|
5
|
-
import { E as _e } from "./el-input-
|
|
6
|
-
import { defineComponent as ee, ref as f, computed as $, watch as x, openBlock as c, createElementBlock as m, normalizeClass as te, unref as b, normalizeStyle as G, createBlock as Q, withCtx as S, resolveDynamicComponent as he, renderSlot as ke, inject as be, reactive as ye, onMounted as Te, nextTick as
|
|
1
|
+
import { b as le, p as Z, e as ce, u as ue, c as de, n as me, _ as pe, w as fe } from "./base-29f73b05.js";
|
|
2
|
+
import { E as ve } from "./el-dialog-eedcfd3e.js";
|
|
3
|
+
import "./el-overlay-1ee0338d.js";
|
|
4
|
+
import { E as ge } from "./el-button-e2c63c08.js";
|
|
5
|
+
import { E as _e } from "./el-input-d47281da.js";
|
|
6
|
+
import { defineComponent as ee, ref as f, computed as $, watch as x, openBlock as c, createElementBlock as m, normalizeClass as te, unref as b, normalizeStyle as G, createBlock as Q, withCtx as S, resolveDynamicComponent as he, renderSlot as ke, inject as be, reactive as ye, onMounted as Te, nextTick as O, Fragment as F, createVNode as _, createElementVNode as o, renderList as we, toDisplayString as W, createCommentVNode as H, createTextVNode as j, pushScopeId as Ce, popScopeId as Se } from "vue";
|
|
7
7
|
import { d as P } from "./dayjs.min-8313b006.js";
|
|
8
8
|
import { V as Ee } from "./index-7ed0999e.js";
|
|
9
9
|
import { s as Ve } from "./aiTools-faa0a14d.js";
|
|
10
|
-
import { E as Me, u as De, s as X,
|
|
10
|
+
import { E as Me, u as De, s as X, p as Ne } from "./index-c2b9bbfd.js";
|
|
11
11
|
import { _ as Ye } from "./_plugin-vue_export-helper-dad06003.js";
|
|
12
|
-
import { E as B } from "./index-
|
|
13
|
-
import {
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
12
|
+
import { E as B } from "./index-f30561d3.js";
|
|
13
|
+
import { k as Fe, i as He } from "./use-form-common-props-cb0ca65c.js";
|
|
14
|
+
import "./index-0f79095c.js";
|
|
15
|
+
import "./index-8391a3df.js";
|
|
16
|
+
import "./index-de24705f.js";
|
|
17
17
|
import "./index-2e331d74.js";
|
|
18
|
-
import "./vnode-
|
|
19
|
-
import "./scroll-
|
|
20
|
-
import "./use-global-config-
|
|
21
|
-
import "./index-
|
|
18
|
+
import "./vnode-a83e6de8.js";
|
|
19
|
+
import "./scroll-6799bafc.js";
|
|
20
|
+
import "./use-global-config-cdaeca54.js";
|
|
21
|
+
import "./index-0ee486ad.js";
|
|
22
22
|
import "./index-657047bb.js";
|
|
23
23
|
import "./typescript-7ae59c4c.js";
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./config-provider-
|
|
24
|
+
import "./index-c71e37dc.js";
|
|
25
|
+
import "./config-provider-7860903c.js";
|
|
26
26
|
const Pe = le({
|
|
27
27
|
size: {
|
|
28
28
|
type: [Number, String],
|
|
@@ -94,7 +94,7 @@ const Pe = le({
|
|
|
94
94
|
});
|
|
95
95
|
var Le = /* @__PURE__ */ pe(Be, [["__file", "avatar.vue"]]);
|
|
96
96
|
const Ie = fe(Le);
|
|
97
|
-
const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-dialog-body" },
|
|
97
|
+
const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-dialog-body" }, Oe = { class: "avatar" }, je = { class: "message-content" }, xe = ["innerHTML"], qe = {
|
|
98
98
|
key: 1,
|
|
99
99
|
class: "message-text"
|
|
100
100
|
}, Je = { class: "message-createTime" }, Ke = /* @__PURE__ */ h(() => /* @__PURE__ */ o("div", { class: "message-createTime" }, "请问对本轮查询结果是否满意?", -1)), Re = { class: "feedback-buttons" }, Ue = ["onClick"], Ge = /* @__PURE__ */ h(() => /* @__PURE__ */ o("span", { class: "btn-emoji" }, "👍", -1)), Qe = /* @__PURE__ */ h(() => /* @__PURE__ */ o("span", { class: "btn-text" }, "满意", -1)), We = [
|
|
@@ -317,13 +317,13 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
317
317
|
s.preventDefault();
|
|
318
318
|
const e = s.target, t = e.selectionStart, i = e.selectionEnd;
|
|
319
319
|
w.value = w.value.substring(0, t) + `
|
|
320
|
-
` + w.value.substring(i),
|
|
320
|
+
` + w.value.substring(i), O(() => {
|
|
321
321
|
e.selectionStart = e.selectionEnd = t + 1;
|
|
322
322
|
});
|
|
323
323
|
} else
|
|
324
324
|
s.preventDefault(), K();
|
|
325
325
|
}, C = async () => {
|
|
326
|
-
await
|
|
326
|
+
await O(), T.value && (T.value.scrollTop = T.value.scrollHeight);
|
|
327
327
|
}, ne = async () => {
|
|
328
328
|
const s = await Promise.all([p.request.post("/alarm/deliversign/findTagsByUserId"), p.request.post("/alarm/deliversign/findSystemTagsByTagName")]);
|
|
329
329
|
z.value = s.reduce((e, t) => {
|
|
@@ -352,7 +352,7 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
352
352
|
}
|
|
353
353
|
), L({
|
|
354
354
|
open: () => {
|
|
355
|
-
N.value = !0,
|
|
355
|
+
N.value = !0, O(() => {
|
|
356
356
|
C();
|
|
357
357
|
});
|
|
358
358
|
}
|
|
@@ -385,13 +385,13 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
385
385
|
class: te([r.role, "message-item"])
|
|
386
386
|
}, [
|
|
387
387
|
r.content ? (c(), m(F, { key: 0 }, [
|
|
388
|
-
o("div",
|
|
388
|
+
o("div", Oe, [
|
|
389
389
|
_(t, {
|
|
390
390
|
size: 32,
|
|
391
391
|
icon: r.role === "user" ? b(De) : b(X)
|
|
392
392
|
}, null, 8, ["icon"])
|
|
393
393
|
]),
|
|
394
|
-
o("div",
|
|
394
|
+
o("div", je, [
|
|
395
395
|
J(r.content) ? (c(), m("div", {
|
|
396
396
|
key: 0,
|
|
397
397
|
class: "message-json",
|
|
@@ -449,7 +449,7 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
449
449
|
round: ""
|
|
450
450
|
}, {
|
|
451
451
|
default: S(() => [
|
|
452
|
-
|
|
452
|
+
j(" 发送 ")
|
|
453
453
|
]),
|
|
454
454
|
_: 1
|
|
455
455
|
}, 8, ["icon", "loading"])
|
|
@@ -472,7 +472,7 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
472
472
|
onClick: e[3] || (e[3] = (d) => V.value = !1)
|
|
473
473
|
}, {
|
|
474
474
|
default: S(() => [
|
|
475
|
-
|
|
475
|
+
j("取消")
|
|
476
476
|
]),
|
|
477
477
|
_: 1
|
|
478
478
|
}),
|
|
@@ -481,7 +481,7 @@ const h = (u) => (Ce("data-v-536916ba"), u = u(), Se(), u), $e = { class: "ai-di
|
|
|
481
481
|
onClick: e[4] || (e[4] = (d) => M("unsatisfied", q.value))
|
|
482
482
|
}, {
|
|
483
483
|
default: S(() => [
|
|
484
|
-
|
|
484
|
+
j("提交反馈")
|
|
485
485
|
]),
|
|
486
486
|
_: 1
|
|
487
487
|
})
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./base-
|
|
2
|
-
import { E as S } from "./el-autocomplete-
|
|
3
|
-
import "./el-input-
|
|
1
|
+
import "./base-29f73b05.js";
|
|
2
|
+
import { E as S } from "./el-autocomplete-27c60cc8.js";
|
|
3
|
+
import "./el-input-d47281da.js";
|
|
4
4
|
import "./el-scrollbar-323542e7.js";
|
|
5
|
-
import "./el-popper-
|
|
5
|
+
import "./el-popper-c9b3d3cf.js";
|
|
6
6
|
import { inject as b, ref as C, openBlock as r, createElementBlock as p, toDisplayString as m, createCommentVNode as v, createVNode as V, normalizeStyle as z, withCtx as E, createElementVNode as w } from "vue";
|
|
7
7
|
import { V as k } from "./index-7ed0999e.js";
|
|
8
8
|
import { _ as I } from "./_plugin-vue_export-helper-dad06003.js";
|
|
9
|
-
import "./use-form-common-props-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./debounce-
|
|
9
|
+
import "./use-form-common-props-cb0ca65c.js";
|
|
10
|
+
import "./index-8391a3df.js";
|
|
11
|
+
import "./index-c2b9bbfd.js";
|
|
12
|
+
import "./index-1d9b50de.js";
|
|
13
|
+
import "./index-0f79095c.js";
|
|
14
|
+
import "./debounce-a09ce9a3.js";
|
|
15
15
|
import "./typescript-7ae59c4c.js";
|
|
16
|
-
import "./index-
|
|
16
|
+
import "./index-c71e37dc.js";
|
|
17
17
|
const N = { class: "variety-auto-complete" }, q = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "label"
|