ling-yun-custom-components 0.0.52 → 0.0.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.
@@ -9,7 +9,7 @@ const a = {
9
9
  try {
10
10
  switch (e) {
11
11
  case a.lingyun:
12
- const { icons: o } = await import("./chunks/global.I2gdJ_EN.js");
12
+ const { icons: o } = await import("./chunks/global.BN3x8LRV.js");
13
13
  return o[n] || null;
14
14
  case a.aibox:
15
15
  const { icons: t } = await import("./chunks/global.C0RGZP_4.js");
package/es/IconSelect.mjs CHANGED
@@ -2,7 +2,7 @@ import { w as N } from "./chunks/index.bCzIhWFw.js";
2
2
  import { ref as p, computed as v, watch as E, createBlock as c, openBlock as o, unref as n, withCtx as i, createElementVNode as x, createVNode as r, createElementBlock as u, createCommentVNode as L, Fragment as b, renderList as j, normalizeClass as h, resolveDynamicComponent as V, createTextVNode as B } from "vue";
3
3
  import { ElPopover as M, ElInput as O, ElIcon as y } from "element-plus";
4
4
  import { IconSearch as T, IconAdd as U } from "color-message-lingyun-vue";
5
- import { icons as g } from "./chunks/global.I2gdJ_EN.js";
5
+ import { icons as g } from "./chunks/global.BN3x8LRV.js";
6
6
  import { I as A } from "./chunks/layout.DBgjqaxe.js";
7
7
  import { emitsMap as k } from "ling-yun-methods";
8
8
  import { _ as D } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
@@ -1,6 +1,6 @@
1
- import { w as N } from "./chunks/index.bCzIhWFw.js";
2
- import { computed as D, createBlock as m, openBlock as t, unref as A, withCtx as M, createElementBlock as n, Fragment as c, renderList as H, normalizeClass as $, toDisplayString as f, createTextVNode as V, ref as y, watch as w, onMounted as z, createCommentVNode as o, createVNode as I, createElementVNode as P, renderSlot as g, nextTick as R } from "vue";
3
- import { ElTable as F, ElTableColumn as _, ElButton as j, ElSegmented as J } from "element-plus";
1
+ import { w as x } from "./chunks/index.bCzIhWFw.js";
2
+ import { computed as B, createBlock as m, openBlock as t, unref as A, withCtx as M, createElementBlock as n, Fragment as c, renderList as H, normalizeClass as $, toDisplayString as f, createTextVNode as V, ref as y, watch as w, onMounted as z, createCommentVNode as o, createVNode as I, createElementVNode as P, renderSlot as g, nextTick as R } from "vue";
3
+ import { ElTable as j, ElTableColumn as F, ElButton as _, ElSegmented as J } from "element-plus";
4
4
  import { C as b } from "./chunks/layout.BKJPyxR8.js";
5
5
  import { emitsMap as S } from "ling-yun-methods";
6
6
  import { _ as L } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
@@ -29,7 +29,7 @@ import './assets/PluginDetail.css';const v = {
29
29
  ], W = {
30
30
  key: 1,
31
31
  class: "type-tag"
32
- }, x = {
32
+ }, O = {
33
33
  __name: "ParamsTable",
34
34
  props: {
35
35
  data: {
@@ -46,7 +46,7 @@ import './assets/PluginDetail.css';const v = {
46
46
  }
47
47
  },
48
48
  setup(a) {
49
- const u = a, T = D(() => {
49
+ const u = a, D = B(() => {
50
50
  let r = u.data;
51
51
  if (typeof r == "string")
52
52
  try {
@@ -55,15 +55,15 @@ import './assets/PluginDetail.css';const v = {
55
55
  return console.error("解析参数数据失败:", i), [];
56
56
  }
57
57
  return !r || !Array.isArray(r) ? [] : r;
58
- }), s = D(() => !u.hideColumns || u.hideColumns.length === 0 ? u.columns : u.columns.filter((r) => !u.hideColumns.includes(r.prop)));
59
- return (r, i) => (t(), m(A(F), {
60
- data: T.value,
58
+ }), s = B(() => !u.hideColumns || u.hideColumns.length === 0 ? u.columns : u.columns.filter((r) => !u.hideColumns.includes(r.prop)));
59
+ return (r, i) => (t(), m(A(j), {
60
+ data: D.value,
61
61
  "row-key": "uiid",
62
62
  "tree-props": { children: "children", hasChildren: "hasChildren" },
63
63
  stripe: ""
64
64
  }, {
65
65
  default: M(() => [
66
- (t(!0), n(c, null, H(s.value, (l) => (t(), m(A(_), {
66
+ (t(!0), n(c, null, H(s.value, (l) => (t(), m(A(F), {
67
67
  key: l.prop,
68
68
  prop: l.prop,
69
69
  label: l.label,
@@ -87,7 +87,9 @@ import './assets/PluginDetail.css';const v = {
87
87
  }, G = { key: 0 }, K = { key: 1 }, Q = {
88
88
  key: 4,
89
89
  class: "radius-12 border-f0f0f0 pd-l-20 pd-r-20 pd-b-24 pd-t-20 mg-b-34"
90
- }, X = { class: "weight-400 fz-16 text-666666 lh-24" }, Y = { class: "flex justify-end items-center gap-10 text-right" }, Z = {
90
+ }, X = { class: "weight-400 fz-16 text-666666 lh-24" }, Y = { class: "flex justify-end items-center gap-10 text-right" }, Z = /* @__PURE__ */ Object.assign({
91
+ name: "PluginDetail"
92
+ }, {
91
93
  __name: "layout",
92
94
  props: {
93
95
  intro: {
@@ -139,19 +141,19 @@ import './assets/PluginDetail.css';const v = {
139
141
  }
140
142
  },
141
143
  emits: [S.updateModelValue, S.tabChange],
142
- setup(a, { expose: u, emit: T }) {
143
- const s = a, r = T, i = y(!1), l = y(!1), d = y(null), p = y(s.modelValue), q = D(() => !s.tabItems?.length || !p.value ? null : s.tabItems.find((e) => e.bnid == p.value) || null), O = () => {
144
+ setup(a, { expose: u, emit: D }) {
145
+ const s = a, r = D, i = y(!1), l = y(!1), d = y(null), p = y(s.modelValue), T = B(() => !s.tabItems?.length || !p.value ? null : s.tabItems.find((e) => e.bnid == p.value) || null), N = () => {
144
146
  i.value = !i.value;
145
147
  }, E = (e) => {
146
148
  r(S.updateModelValue, e), r(S.tabChange, e);
147
- }, B = () => {
149
+ }, q = () => {
148
150
  R(() => {
149
151
  const e = d.value;
150
152
  e && (l.value = e.scrollHeight > 24);
151
153
  });
152
154
  }, h = y(null);
153
155
  return w(
154
- () => q.value?.bnid,
156
+ () => T.value?.bnid,
155
157
  (e) => {
156
158
  e && s.pluginDetailApi(e).then((k) => {
157
159
  h.value = k?.data?.[0];
@@ -172,14 +174,14 @@ import './assets/PluginDetail.css';const v = {
172
174
  ), w(
173
175
  () => s.description,
174
176
  () => {
175
- B();
177
+ q();
176
178
  },
177
179
  { immediate: !0 }
178
180
  ), z(() => {
179
- B();
181
+ q();
180
182
  }), u({
181
- checkShowMoreBtn: B,
182
- currentTabItem: q
183
+ checkShowMoreBtn: q,
184
+ currentTabItem: T
183
185
  }), (e, k) => (t(), n(c, null, [
184
186
  a.showIntro ? (t(), n(c, { key: 0 }, [
185
187
  I(b, {
@@ -209,10 +211,10 @@ import './assets/PluginDetail.css';const v = {
209
211
  V(f(a.description), 1)
210
212
  ], !0)
211
213
  ], 2),
212
- l.value ? (t(), m(A(j), {
214
+ l.value ? (t(), m(A(_), {
213
215
  key: 1,
214
216
  type: "text",
215
- onClick: O
217
+ onClick: N
216
218
  }, {
217
219
  default: M(() => [
218
220
  i.value ? (t(), n("span", K, "收起")) : (t(), n("span", G, "查看更多"))
@@ -238,7 +240,7 @@ import './assets/PluginDetail.css';const v = {
238
240
  e.$slots.default || e.$slots.actions ? (t(), n("div", Q, [
239
241
  P("div", X, [
240
242
  g(e.$slots, "default", {}, () => [
241
- V(f(q.value?.description), 1)
243
+ V(f(T.value?.description), 1)
242
244
  ], !0)
243
245
  ]),
244
246
  P("div", Y, [
@@ -250,7 +252,7 @@ import './assets/PluginDetail.css';const v = {
250
252
  content: "输入参数",
251
253
  class: "mg-b-16"
252
254
  }),
253
- h.value?.paramsOuter ? (t(), m(x, {
255
+ h.value?.paramsOuter ? (t(), m(O, {
254
256
  key: 0,
255
257
  data: h.value.paramsOuter,
256
258
  "hide-columns": a.inputParamsHideColumns
@@ -261,7 +263,7 @@ import './assets/PluginDetail.css';const v = {
261
263
  content: "输出参数",
262
264
  class: "mg-b-16 mg-t-34"
263
265
  }),
264
- h.value?.responseOuter ? (t(), m(x, {
266
+ h.value?.responseOuter ? (t(), m(O, {
265
267
  key: 0,
266
268
  data: h.value.responseOuter,
267
269
  "hide-columns": a.outputParamsHideColumns
@@ -270,7 +272,7 @@ import './assets/PluginDetail.css';const v = {
270
272
  g(e.$slots, "plugin-detail", {}, void 0, !0)
271
273
  ], 64));
272
274
  }
273
- }, ee = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-d575fb15"]]), oe = N(ee), ue = N(x);
275
+ }), ee = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-c4df4205"]]), oe = x(ee), ue = x(O);
274
276
  export {
275
277
  oe as PluginDetail,
276
278
  ue as PluginDetailParamsTable,
package/es/TreeSelect.mjs CHANGED
@@ -399,7 +399,7 @@ const xe = {
399
399
  _: 1
400
400
  }));
401
401
  }
402
- }), we = /* @__PURE__ */ Ce(Pe, [["__scopeId", "data-v-2ed402b3"]]), ze = ie(we);
402
+ }), we = /* @__PURE__ */ Ce(Pe, [["__scopeId", "data-v-07a2a6b7"]]), ze = ie(we);
403
403
  export {
404
404
  ze as TreeSelect,
405
405
  ze as default
@@ -1 +1 @@
1
- .hide-more[data-v-d575fb15]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.border-f0f0f0[data-v-d575fb15]{border:1px solid var(--neutral-color-6)}
1
+ .hide-more[data-v-c4df4205]{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.border-f0f0f0[data-v-c4df4205]{border:1px solid var(--neutral-color-6)}
@@ -1 +1 @@
1
- .el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;display:flex;align-items:center}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{display:block;position:absolute;top:0;left:0;height:100%;border-left:1px dashed #dcdfe6}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{display:block;position:absolute;top:50%;left:0;height:0;border-bottom:1px dashed #dcdfe6}.element-tree-node-label-line{flex:1;border-top:1px dashed #dcdfe6;align-self:center;margin:0 10px}[data-v-2ed402b3] .el-tree-node__label{line-height:22px}[data-v-2ed402b3] .el-tree-node:focus>.el-tree-node__content{background-color:transparent}[data-v-2ed402b3] .el-tree-node__content{border-radius:8px}[data-v-2ed402b3] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-2ed402b3] .element-tree-node-label{font-size:14px}.list-item[data-v-2ed402b3]{height:32px}.list-item[data-v-2ed402b3]:hover{background:var(--primary-color-5)}[data-v-2ed402b3] .element-tree-node-line-ver{border-left:1px solid var(--neutral-color-19)}[data-v-2ed402b3] .element-tree-node-line-hor{border-bottom:1px solid var(--neutral-color-19)}
1
+ .el-tree .el-tree-node__content{position:relative}.element-tree-node-label-wrapper{flex:1;display:flex;align-items:center}.element-tree-node-label{font-size:12px}.element-tree-node-line-ver{display:block;position:absolute;top:0;left:0;height:100%;border-left:1px dashed #dcdfe6}.element-tree-node-line-ver.last-node-isLeaf-line{height:50%}.element-tree-node-line-hor{display:block;position:absolute;top:50%;left:0;height:0;border-bottom:1px dashed #dcdfe6}.element-tree-node-label-line{flex:1;border-top:1px dashed #dcdfe6;align-self:center;margin:0 10px}[data-v-07a2a6b7] .el-tree-node__label{line-height:22px}[data-v-07a2a6b7] .el-tree-node:focus>.el-tree-node__content{background-color:transparent}[data-v-07a2a6b7] .el-tree-node__content{border-radius:8px}[data-v-07a2a6b7] .el-tree-node__content:hover{background-color:var(--primary-color-5)}[data-v-07a2a6b7] .element-tree-node-label{font-size:14px}.list-item[data-v-07a2a6b7]{height:32px}.list-item[data-v-07a2a6b7]:hover{background:var(--primary-color-5)}[data-v-07a2a6b7] .element-tree-node-line-ver,[data-v-07a2a6b7] .element-tree-node-line-hor{border-color:var(--neutral-color-19)}