china-mobile-international-custom-components 0.1.23 → 0.1.24

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 (59) hide show
  1. package/es/AddOrEditSupplierDialog.mjs +2 -2
  2. package/es/AgentDetail.mjs +5 -5
  3. package/es/ApplicationTypeTag.mjs +3 -3
  4. package/es/AuthSection.mjs +2 -2
  5. package/es/AutoShowTooltip.mjs +1 -1
  6. package/es/AvailableRangePreview.mjs +1 -1
  7. package/es/AvailableRangeSetting.mjs +5 -5
  8. package/es/CodeView.mjs +1 -1
  9. package/es/CommonTagsList.mjs +62 -62
  10. package/es/CreateMcpForm.mjs +6 -6
  11. package/es/CustomSidebar.mjs +1 -1
  12. package/es/CustomTitle.mjs +1 -1
  13. package/es/CustomToggle.mjs +11 -11
  14. package/es/DialogContainer.mjs +5 -5
  15. package/es/DocSyncSelect.mjs +2 -2
  16. package/es/FileDisplay.mjs +1 -1
  17. package/es/FilePreview.mjs +9 -9
  18. package/es/FileUploader.mjs +2 -2
  19. package/es/ImageComponent.mjs +5 -0
  20. package/es/Logo.mjs +2 -2
  21. package/es/McpFormDialog.mjs +1 -1
  22. package/es/McpParamsSet.mjs +4 -4
  23. package/es/MdEditor.mjs +3 -3
  24. package/es/PageContainer.mjs +2 -2
  25. package/es/ParameterTable.mjs +2 -2
  26. package/es/PublishRecord.mjs +6 -6
  27. package/es/RadioGroup.mjs +5 -5
  28. package/es/SourcePublish.mjs +6 -6
  29. package/es/Table.mjs +2 -2
  30. package/es/WorkFlowDialog.mjs +3 -3
  31. package/es/WorkflowComponent.mjs +1 -1
  32. package/es/assets/ImageComponent.css +0 -0
  33. package/es/chunks/AddAgentDialog.BEDSZ4er.js +244 -0
  34. package/es/chunks/AddDialog.RuOrCghd.js +1969 -0
  35. package/es/chunks/BackBar.Ck5CV5ZM.js +629 -0
  36. package/es/chunks/CreatePluginDialog.DbQIt3Mz.js +775 -0
  37. package/es/chunks/CreateWorkflow.CIYJ3nGZ.js +268 -0
  38. package/es/chunks/ImageComponent.BgYVT3ZJ.js +74 -0
  39. package/es/chunks/ToolList.2k07ztsY.js +106 -0
  40. package/es/chunks/config.B_uTnClF.js +47 -0
  41. package/es/chunks/config.e_OOovlY.js +358 -0
  42. package/es/chunks/i18n.9cHOVn6X.js +4049 -0
  43. package/es/chunks/index.BGLAHzZm.js +398 -0
  44. package/es/chunks/index.CCNAKdQj.js +1279 -0
  45. package/es/chunks/index.CXIY0q5X.js +172 -0
  46. package/es/chunks/index.Cv9pn5nk.js +4 -0
  47. package/es/chunks/index.CyiNa6lr.js +256 -0
  48. package/es/chunks/index.JG8-HCzk.js +29609 -0
  49. package/es/chunks/layout.BAvYghmE.js +650 -0
  50. package/es/chunks/layout.Iob_aYQ7.js +26 -0
  51. package/es/chunks/view.BSjGhafy.js +824 -0
  52. package/es/index.mjs +66 -66
  53. package/lib/CommonTagsList.js +1 -1
  54. package/lib/ImageComponent.js +1 -0
  55. package/lib/assets/ImageComponent.css +0 -0
  56. package/lib/chunks/ImageComponent.CdPLM_LX.js +1 -0
  57. package/lib/chunks/index.Cbkv4rXa.js +1 -0
  58. package/lib/index.js +1 -1
  59. package/package.json +3 -3
package/es/MdEditor.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import { w as M } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as O, watch as A, computed as I, createElementBlock as F, openBlock as L, createVNode as V, unref as c, normalizeStyle as k } from "vue";
2
+ import { ref as O, watch as A, computed as I, openBlock as F, createElementBlock as L, createVNode as V, unref as c, normalizeStyle as k } from "vue";
3
3
  import { MdEditor as B } from "md-editor-v3";
4
4
  import { f as D } from "./chunks/files.cduUqjHX.js";
5
5
  import { ElMessage as x } from "element-plus";
6
- import { t as i, f as C } from "./chunks/i18n.3X53o1Ks.js";
6
+ import { t as i, i as C } from "./chunks/i18n.9cHOVn6X.js";
7
7
  import { emitsMap as o } from "color-star-custom-methods";
8
8
  import { _ as N } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
9
9
  import './assets/MdEditor.css';const P = { class: "md-editor-container" }, U = {
@@ -166,7 +166,7 @@ import './assets/MdEditor.css';const P = { class: "md-editor-container" }, U = {
166
166
  x.error(i("MESSAGE_REMIND.FILE_UPLOAD_FAIL_TIP") || "上传图片失败"), n([]);
167
167
  }
168
168
  };
169
- return (e, n) => (L(), F("div", P, [
169
+ return (e, n) => (F(), L("div", P, [
170
170
  V(c(B), {
171
171
  modelValue: l.value,
172
172
  "onUpdate:modelValue": n[0] || (n[0] = (d) => l.value = d),
@@ -1,6 +1,6 @@
1
1
  import { w as we } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as y, useSlots as Ce, computed as D, watch as O, onMounted as Se, createElementBlock as m, openBlock as r, createCommentVNode as h, createElementVNode as x, renderSlot as z, createVNode as g, unref as o, withCtx as d, createBlock as v, resolveDynamicComponent as xe, toDisplayString as V, normalizeClass as _, mergeProps as ee, toHandlers as Ee, createSlots as te, normalizeStyle as Pe, Fragment as j, renderList as N, withModifiers as U, createTextVNode as ae, normalizeProps as ze, guardReactiveProps as Ie } from "vue";
3
- import { C as le } from "./chunks/layout.CygCXa6s.js";
2
+ import { ref as y, useSlots as Ce, computed as D, watch as O, onMounted as Se, openBlock as r, createElementBlock as m, createVNode as g, unref as o, withCtx as d, createBlock as v, resolveDynamicComponent as xe, createElementVNode as x, toDisplayString as V, createCommentVNode as h, normalizeClass as _, renderSlot as z, mergeProps as ee, toHandlers as Ee, createSlots as te, normalizeStyle as Pe, Fragment as j, renderList as N, withModifiers as U, createTextVNode as ae, normalizeProps as ze, guardReactiveProps as Ie } from "vue";
3
+ import { C as le } from "./chunks/layout.Iob_aYQ7.js";
4
4
  import { SearchBar as Re, IconEmpty as Ae } from "color-star-custom-components";
5
5
  import { IconZuo as De, IconMore as Oe, IconZuoCopy as Ne, IconYou as Te, Loading as Be } from "color-message-aibox-vue";
6
6
  import { M as R, C as ne, D as Ve } from "./chunks/field-types.CPnMOjle.js";
@@ -1,10 +1,10 @@
1
1
  import { w as Qe } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as te, onMounted as Ke, resolveComponent as we, createBlock as H, openBlock as g, unref as e, withCtx as A, createVNode as v, createCommentVNode as $, createTextVNode as q, toDisplayString as F, createElementVNode as j, computed as h, provide as Ze, inject as et, watch as pe, createElementBlock as W, Fragment as ae, renderList as Ie, mergeModels as ie, useModel as fe, normalizeClass as ee, nextTick as ve, createSlots as tt } from "vue";
2
+ import { ref as te, onMounted as Ke, resolveComponent as we, openBlock as g, createBlock as H, unref as e, withCtx as A, createVNode as v, createCommentVNode as $, createTextVNode as q, toDisplayString as F, createElementVNode as j, computed as h, provide as Ze, inject as et, watch as pe, createElementBlock as W, Fragment as ae, renderList as Ie, useModel as fe, normalizeClass as ee, mergeModels as ie, nextTick as ve, createSlots as tt } from "vue";
3
3
  import { ElIcon as Y, ElInput as Z, ElButton as oe, ElTooltip as Oe, ElSelect as Ae, ElOption as re, ElDatePicker as lt, ElTag as at, ElMessage as nt, ElCheckbox as Ue } from "element-plus";
4
4
  import { IconUpload2 as he, Error as ge, IconScene as rt, IconAdd2 as ot, IconZuoCopyCopy as Se, IconZuoCopy as Be, IconDelete2 as it, IconAdd as st, IconTip as be } from "color-message-aibox-vue";
5
5
  import { useDialog as ut, DialogContainer as dt } from "./DialogContainer.mjs";
6
6
  import { AiboxTable as ke } from "./Table.mjs";
7
- import { u as ne, g as X } from "./chunks/i18n.3X53o1Ks.js";
7
+ import { u as ne, g as X } from "./chunks/i18n.9cHOVn6X.js";
8
8
  import { _ as ue } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
9
9
  import { FileUploader as Le, getWarnTips as Ne, getAcceptType as Ce, UploadTypesEnum as Re } from "./FileUploader.mjs";
10
10
  import { AutoShowTooltip as Pe } from "./AutoShowTooltip.mjs";
@@ -1,13 +1,13 @@
1
1
  import { w as U } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as T, computed as y, reactive as L, onMounted as V, resolveDirective as w, withDirectives as A, createElementBlock as u, openBlock as l, createBlock as H, unref as o, normalizeClass as b, withCtx as p, createElementVNode as c, Fragment as $, renderList as j, createCommentVNode as z, toDisplayString as d, createVNode as _, createTextVNode as F } from "vue";
2
+ import { ref as T, computed as y, reactive as L, onMounted as V, resolveDirective as w, withDirectives as A, openBlock as l, createElementBlock as u, createBlock as H, unref as o, normalizeClass as b, withCtx as p, createElementVNode as c, Fragment as $, renderList as j, toDisplayString as d, createVNode as _, createTextVNode as z, createCommentVNode as F } from "vue";
3
3
  import { ElScrollbar as X, ElTooltip as G, ElIcon as O, ElMessageBox as q, ElMessage as J } from "element-plus";
4
4
  import { IconRefresh as K, Empty as Q } from "color-message-aibox-vue";
5
- import { u as W } from "./chunks/i18n.3X53o1Ks.js";
5
+ import { u as W } from "./chunks/i18n.9cHOVn6X.js";
6
6
  import { g as Y } from "./chunks/publish.DlD0o09n.js";
7
7
  import { useRoute as Z } from "vue-router";
8
8
  import { p as ee } from "./chunks/enums.WrpwbF4w.js";
9
- import { R as M } from "./chunks/config.CVYCnWlD.js";
10
- import { P as R } from "./chunks/config.wjPi9AZN.js";
9
+ import { R as M } from "./chunks/config.e_OOovlY.js";
10
+ import { P as R } from "./chunks/config.B_uTnClF.js";
11
11
  import { D as se } from "./chunks/field-types.CPnMOjle.js";
12
12
  import { _ as te } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
13
13
  import './assets/PublishRecord.css';const oe = { class: "publish-record overflow-hidden" }, ae = { class: "publish-record__item--time" }, ne = { class: "publish-record__item--number" }, re = { class: "publish-record__item--version" }, ce = ["onClick"], ie = { style: { "margin-left": "5px" } }, le = ["title"], de = {
@@ -119,7 +119,7 @@ import './assets/PublishRecord.css';const oe = { class: "publish-record overflow
119
119
  e.publishStatus == o(R).PUBLISHED ? "active" : "in-active"
120
120
  ])
121
121
  }, [
122
- F(d(o(a)("COM_SPM.VERSION_NUMBER", { number: e.versionNumber })) + " ", 1),
122
+ z(d(o(a)("COM_SPM.VERSION_NUMBER", { number: e.versionNumber })) + " ", 1),
123
123
  c("span", {
124
124
  class: b([
125
125
  "publish-record__item--type",
@@ -151,7 +151,7 @@ import './assets/PublishRecord.css';const oe = { class: "publish-record overflow
151
151
  key: 0,
152
152
  class: "publish-record__item--content",
153
153
  title: e.versionDesc
154
- }, d(e.versionDesc), 9, le)) : z("", !0)
154
+ }, d(e.versionDesc), 9, le)) : F("", !0)
155
155
  ]))), 128))
156
156
  ])
157
157
  ]),
package/es/RadioGroup.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { w as C } from "./chunks/index.bCzIhWFw.js";
2
- import { computed as m, createElementBlock as r, openBlock as a, normalizeClass as f, createCommentVNode as d, createVNode as u, createTextVNode as p, createBlock as v, toDisplayString as y, unref as l, withCtx as i, Fragment as S, renderList as k, renderSlot as z } from "vue";
2
+ import { computed as m, openBlock as a, createElementBlock as r, normalizeClass as f, createCommentVNode as d, createTextVNode as p, toDisplayString as v, createBlock as y, unref as l, withCtx as i, createVNode as u, Fragment as S, renderList as k, renderSlot as z } from "vue";
3
3
  import { ElTooltip as V, ElIcon as N, ElRadioGroup as T, ElRadio as q } from "element-plus";
4
4
  import { IconTip as B } from "color-message-aibox-vue";
5
5
  import { _ as E } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
@@ -68,8 +68,8 @@ import './assets/RadioGroup.css';const G = {
68
68
  }, [
69
69
  e.label ? (a(), r("div", G, [
70
70
  e.required ? (a(), r("span", R, "*")) : d("", !0),
71
- p(" " + y(e.label) + " ", 1),
72
- e.tipText ? (a(), v(l(V), {
71
+ p(" " + v(e.label) + " ", 1),
72
+ e.tipText ? (a(), y(l(V), {
73
73
  key: 1,
74
74
  content: e.tipText,
75
75
  placement: "top"
@@ -96,13 +96,13 @@ import './assets/RadioGroup.css';const G = {
96
96
  onChange: x
97
97
  }, {
98
98
  default: i(() => [
99
- (a(!0), r(S, null, k(e.options, (o) => (a(), v(l(q), {
99
+ (a(!0), r(S, null, k(e.options, (o) => (a(), y(l(q), {
100
100
  key: o.value,
101
101
  class: "radio-item",
102
102
  value: o.value
103
103
  }, {
104
104
  default: i(() => [
105
- p(y(o.label) + " ", 1),
105
+ p(v(o.label) + " ", 1),
106
106
  z(t.$slots, o.value, {}, void 0, !0)
107
107
  ]),
108
108
  _: 2
@@ -1,17 +1,17 @@
1
1
  import { w as ke } from "./chunks/index.bCzIhWFw.js";
2
- import { createElementBlock as N, openBlock as r, renderSlot as Re, shallowRef as xe, ref as f, onMounted as oe, normalizeStyle as Fe, createVNode as c, unref as e, withCtx as n, createBlock as g, resolveDynamicComponent as De, createCommentVNode as U, normalizeClass as Oe, createElementVNode as p, createTextVNode as x, toDisplayString as m, getCurrentInstance as Ge, computed as me, watch as Me, Fragment as $, renderList as ee, nextTick as ae, resolveDirective as Ke, withDirectives as Xe, withModifiers as Ye } from "vue";
3
- import { u as M } from "./chunks/i18n.3X53o1Ks.js";
2
+ import { openBlock as r, createElementBlock as N, renderSlot as Re, shallowRef as xe, ref as f, onMounted as oe, normalizeStyle as Fe, createVNode as c, unref as e, withCtx as n, createBlock as g, resolveDynamicComponent as De, normalizeClass as Oe, createCommentVNode as U, createElementVNode as p, createTextVNode as x, toDisplayString as m, getCurrentInstance as Ge, computed as me, watch as Me, Fragment as $, renderList as ee, nextTick as ae, resolveDirective as Ke, withDirectives as Xe, withModifiers as Ye } from "vue";
3
+ import { u as M } from "./chunks/i18n.9cHOVn6X.js";
4
4
  import { useRouter as Le, useRoute as Pe } from "vue-router";
5
5
  import { ElIcon as ue, ElTooltip as he, ElCheckbox as We, ElMessage as ie, ElButton as Be, ElForm as He, ElFormItem as Y, ElSelect as le, ElOption as te, ElTag as ge, ElInputNumber as ze, ElInput as Ie, ElSwitch as Te } from "element-plus";
6
6
  import { _ as W } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
7
  import { g as ye } from "./chunks/publish.DlD0o09n.js";
8
- import { C as Ae, g as qe, c as _e, h as v, A as se, i as je, S as ne, b as Qe, a as Je, I as Ce, s as Ue } from "./chunks/config.CVYCnWlD.js";
9
- import { L as tt, O as at, P as st, d as nt, e as it, f as ot, R as ut } from "./chunks/config.CVYCnWlD.js";
8
+ import { C as Ae, g as qe, c as _e, h as v, A as se, i as je, S as ne, b as Qe, a as Je, I as Ce, s as Ue } from "./chunks/config.e_OOovlY.js";
9
+ import { L as tt, O as at, P as st, d as nt, e as it, f as ot, R as ut } from "./chunks/config.e_OOovlY.js";
10
10
  import { AvailableRangeSetting as Ze } from "./AvailableRangeSetting.mjs";
11
11
  import { IconTip as be } from "color-message-aibox-vue";
12
- import { A as $e, _ as el } from "./chunks/BackBar.DF5pYI3o.js";
12
+ import { A as $e, _ as el } from "./chunks/BackBar.Ck5CV5ZM.js";
13
13
  import { SOURCE_TYPE as z } from "color-star-custom-components";
14
- import { P as dt } from "./chunks/config.wjPi9AZN.js";
14
+ import { P as dt } from "./chunks/config.B_uTnClF.js";
15
15
  import './assets/SourcePublish.css';const ll = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAbeSURBVHic7ZztbxRFHMc/s3vX60FrTynSAi09KIK0aJEY8I32pfFVeYeJ0fIn+BeAfwFvfOE7S2JijDH62kQD7yCK1CAF5OEOigWBwvHUe77xxXDpdXfnbndvr/V6+0muk5md/c3Od3/zsLvTgZCQkJDORXjJvPeoHCmXmUTyGZAARl6G7UxGCDLArJCcyZeYSf8kMm5PdiXg3qNyxIDjUjLt9yrbCSGYWcrxuRshGwq4/2M5JQVf0/6e5pWMkBy7+K34qV6mugJOfCKPIzgR6GW1G5ITs9+IL3SHtQIenJZTSH5szVW1GYIj52ecPdFRwIlpmegySNF5zVZHxqhw4OyMSFsPRJxyb4hyEhmKV0MCwXHgmPWAzQMnp2WiHOPxqlxWm2EKkqe/WumFdg+MM216mh12FJPATG2CTcBIhA8AkCj/dAjj3TD1Phwaa1zi9Xn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uaa/fBwqL5jWsNIhpc2FcQyc/BgwJ0d3r6zNrI3TfrLregqoKIXRQOWPb1TCQ/Bz/8BvMLlVfVjocFuHjZ+zMPL89EdOa+o/DtHJy9CE/GIWb7iro+HhbgVs5bu7wQykyk5CZufcliEW7eCWcA7KU95dq6lUMdB+r6hsLK8VAOdSbSjOheD4QWW42ptMBSFxCk3HIC6l7vdF2RbjYiFw5IOEEkEtAXLRWFdT8XhhZ7yTw/F1lgYApz0KVvMSRn1wdmgYS2KuqM3/+C5A60zDVF7AQ0yNIg25tUw53/KqwwwBxSFLPWPhCmMUhpbHNdUXgEV27Anp3BFzsw7ARsIyO1+EVKHfHvXbj8J+zqh1ibeawaQyzCtG1Meu+4mgBGQ1mvWsO8ZwPsGYSudbY6r0ZmMCHDtgKOn1AJ4EZVt20wujph93PQ0+3vumKR4Z39knEcFX1wSqWVavhdizwRa4edCdj2lLfzRRgb6DN3Q3IdVn44qcZRHAncwgZhoA8GtrmfIzC2ve/xVlKrjss/nlRp1fj7Z3kmscW0RluEse1Pr9yHy9PE5qNJlWoT0kjzDm/K2ffCysAiQna+yIEd26zb6fmaGX4yqVLSzgiKUWX+/KkegqnWfFMP7N0FQBYhg2K6f6vzxmVVT63Hp1S8E+IsNM+sJR6Hl4bI9m9Zuy1FIyIiIiIiIrzyPx3JLklkX69sAAAAAElFTkSuQmCC", al = {}, sl = { class: "style-title" };
16
16
  function nl(t, _) {
17
17
  return r(), N("div", sl, [
package/es/Table.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { w as a } from "./chunks/index.bCzIhWFw.js";
2
- import { A as o } from "./chunks/BackBar.DF5pYI3o.js";
3
- import { _ as b, T as i } from "./chunks/BackBar.DF5pYI3o.js";
2
+ import { A as o } from "./chunks/BackBar.Ck5CV5ZM.js";
3
+ import { _ as b, T as i } from "./chunks/BackBar.Ck5CV5ZM.js";
4
4
  const s = a(o);
5
5
  export {
6
6
  s as AiboxTable,
@@ -1,7 +1,7 @@
1
1
  import { w as k } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as o, createBlock as u, openBlock as a, unref as d, withCtx as y, createElementBlock as g, createCommentVNode as h } from "vue";
3
- import { b as R, _ as b } from "./chunks/index.DdGFnB0W.js";
4
- import { u as B } from "./chunks/i18n.3X53o1Ks.js";
2
+ import { ref as o, openBlock as a, createBlock as u, unref as d, withCtx as y, createElementBlock as g, createCommentVNode as h } from "vue";
3
+ import { b as R, _ as b } from "./chunks/index.JG8-HCzk.js";
4
+ import { u as B } from "./chunks/i18n.9cHOVn6X.js";
5
5
  import { useDialog as x, DialogContainer as C } from "./DialogContainer.mjs";
6
6
  import { _ as D } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
7
7
  import './assets/WorkFlowDialog.css';const E = {
@@ -1,5 +1,5 @@
1
1
  import { w as o } from "./chunks/index.bCzIhWFw.js";
2
- import { _ as t } from "./chunks/index.DdGFnB0W.js";
2
+ import { _ as t } from "./chunks/index.JG8-HCzk.js";
3
3
  const r = o(t);
4
4
  export {
5
5
  r as WorkflowComponent,
File without changes
@@ -0,0 +1,244 @@
1
+ import { ref as u, reactive as K, computed as Q, resolveComponent as W, resolveDirective as ee, openBlock as D, createBlock as T, unref as o, withCtx as s, withDirectives as te, withModifiers as oe, createVNode as n, createCommentVNode as le, createElementVNode as E, toDisplayString as m, createTextVNode as g } from "vue";
2
+ import { u as ae } from "./i18n.9cHOVn6X.js";
3
+ import { useRouter as ie } from "vue-router";
4
+ import { g as se } from "./publish.B54x3k6E.js";
5
+ import { t as ne } from "./index.CCNAKdQj.js";
6
+ import { FileUploader as re } from "../FileUploader.mjs";
7
+ import { FilePreview as ce } from "../FilePreview.mjs";
8
+ import { useDialog as ue, DialogContainer as pe } from "../DialogContainer.mjs";
9
+ import { u as de } from "./index.JG8-HCzk.js";
10
+ import { ElForm as fe, ElFormItem as y, ElTooltip as me, ElIcon as _e, ElInput as C, ElButton as O, ElMessage as Ae } from "element-plus";
11
+ import { _ as Ee } from "./_plugin-vue_export-helper.CHgC5LLL.js";
12
+ import '../assets/AddAgentDialog.css';const ge = { class: "label-with-icon" }, ve = { style: { "margin-right": "5px" } }, De = { class: "action-bottom" }, Te = {
13
+ __name: "AddAgentDialog",
14
+ emits: ["success"],
15
+ setup(ye, { expose: L, emit: w }) {
16
+ const { t: l } = ae(), S = de(), x = ie(), M = w, { dialogRef: R, formRef: N, showDialog: V, hideDialog: b, resetDialog: U } = ue(), { addAgent: B, editAgent: k, getAgentInfo: F, copyAgent: j } = se(), _ = u(""), A = u(""), c = u([]), r = u(""), p = u(!1), v = u(!1), G = u(1), a = K({
17
+ accessory: "",
18
+ title: "",
19
+ description: ""
20
+ }), P = {
21
+ title: [
22
+ {
23
+ required: !0,
24
+ message: l("ADD_AGENT_DIALOG.AGENT_NAME_RULE_MSG") || "请输入智能体名称",
25
+ trigger: "blur"
26
+ }
27
+ ]
28
+ }, $ = Q(() => {
29
+ switch (G.value) {
30
+ case 1:
31
+ return "agent";
32
+ case 3:
33
+ return "dialogue";
34
+ default:
35
+ return "";
36
+ }
37
+ }), I = (e, t) => {
38
+ if (e.code === 0) {
39
+ const i = l("MESSAGE_REMIND.SELECT_RESOURCE") || "操作成功";
40
+ r.value !== "add" && Ae.success(i), r.value === "add" && x.push({
41
+ name: "AgentDetail",
42
+ params: { bnid: e.data.bnid },
43
+ query: { from: "ApplicationLibrary" }
44
+ }), M("success", t), b();
45
+ }
46
+ }, q = async () => {
47
+ const e = {
48
+ title: a.title,
49
+ description: a.description,
50
+ accessory: c.value[0]?.bnid,
51
+ workspaceBnid: S.selectedBusinessSpace || ""
52
+ };
53
+ let t = {};
54
+ r.value === "add" ? (t = await B(e).finally(() => {
55
+ p.value = !1;
56
+ }), I(t, e)) : N.value.validate(async (i) => {
57
+ i && (p.value = !0, t = r.value === "edit" ? await k(_.value, e).finally(() => {
58
+ p.value = !1;
59
+ }) : await j({ bnid: _.value, ...e }).finally(() => {
60
+ p.value = !1;
61
+ }), I(t, e));
62
+ });
63
+ }, z = async (e) => {
64
+ if (r.value === "edit" || r.value === "copy") {
65
+ v.value = !0;
66
+ const { data: t } = await F(e.bnid).finally(() => {
67
+ v.value = !1;
68
+ });
69
+ t && (G.value = t.type, Object.keys(a).forEach((i) => {
70
+ i === "accessory" ? t.icon && t.accessory && c.value.push({
71
+ name: "",
72
+ bnid: t.accessory,
73
+ url: t.icon,
74
+ suffix: "jpg"
75
+ }) : i === "title" ? (a.title = t.title, r.value === "copy" && Y()) : a[i] = t[i];
76
+ }));
77
+ }
78
+ }, X = (e = {}) => {
79
+ if (r.value = e.operateType, z(e), e.operateType === "edit")
80
+ A.value = l("ADD_AGENT_DIALOG.AGENT_NAME_EDIT") || "编辑智能体", _.value = e.bnid;
81
+ else if (e.operateType === "copy")
82
+ _.value = e.bnid, A.value = l("ADD_AGENT_DIALOG.AGENT_NAME_COPY") || "复制智能体";
83
+ else {
84
+ a.title = l("ADD_AGENT_DIALOG.MY_AGENT") || "我的智能体", A.value = l("ADD_AGENT_DIALOG.CREATE_AGENT") || "构建智能体", h();
85
+ return;
86
+ }
87
+ V();
88
+ }, Y = () => {
89
+ let e = a.title;
90
+ if (e.length < 20) {
91
+ const i = /_副本(\d+)?$/, d = e.match(i);
92
+ if (d) {
93
+ const f = d[1] ? parseInt(d[1], 10) + 1 : 1;
94
+ e = e.replace(i, `_副本${f}`);
95
+ } else
96
+ e += "_副本";
97
+ }
98
+ a.title = e;
99
+ }, Z = () => {
100
+ c.value = [], U();
101
+ }, H = (e) => {
102
+ c.value.splice(e, 1);
103
+ }, J = (e) => {
104
+ c.value.push(e);
105
+ }, h = ne(q, 1e3);
106
+ return L({
107
+ updateView: X
108
+ }), (e, t) => {
109
+ const i = W("IconTip"), d = ee("loading");
110
+ return D(), T(o(pe), {
111
+ ref_key: "dialogRef",
112
+ ref: R,
113
+ title: A.value,
114
+ "append-to": "body",
115
+ onClosed: Z,
116
+ width: "500"
117
+ }, {
118
+ footer: s(() => [
119
+ E("div", De, [
120
+ n(o(O), { onClick: o(b) }, {
121
+ default: s(() => [
122
+ g(m(o(l)("COMMON_BUTTON.CANCEL_TEXT")), 1)
123
+ ]),
124
+ _: 1
125
+ }, 8, ["onClick"]),
126
+ n(o(O), {
127
+ type: "primary",
128
+ onClick: o(h),
129
+ loading: p.value
130
+ }, {
131
+ default: s(() => [
132
+ g(m(o(l)("COMMON_BUTTON.CONFIRM_TEXT")), 1)
133
+ ]),
134
+ _: 1
135
+ }, 8, ["onClick", "loading"])
136
+ ])
137
+ ]),
138
+ default: s(() => [
139
+ te((D(), T(o(fe), {
140
+ ref_key: "formRef",
141
+ ref: N,
142
+ model: a,
143
+ rules: P,
144
+ "label-width": "auto",
145
+ "label-position": "top",
146
+ onSubmit: t[2] || (t[2] = oe(() => {
147
+ }, ["prevent"]))
148
+ }, {
149
+ default: s(() => [
150
+ n(o(y), { prop: "accessory" }, {
151
+ label: s(() => [
152
+ E("div", ge, [
153
+ E("span", ve, m(o(l)("ADD_AGENT_DIALOG.AGENT_AVATAR") || "智能体头像"), 1),
154
+ n(o(me), { placement: "top" }, {
155
+ content: s(() => [
156
+ g(m(o(l)("ADD_AGENT_DIALOG.AGENT_AVATAR_DESC") || "支持jpg、png格式,"), 1),
157
+ t[3] || (t[3] = E("br", null, null, -1)),
158
+ g(" " + m(o(l)("ADD_AGENT_DIALOG.AGENT_AVATAR_SIZE") || "大小5MB以内"), 1)
159
+ ]),
160
+ default: s(() => [
161
+ n(o(_e), {
162
+ size: "14px",
163
+ color: "#999"
164
+ }, {
165
+ default: s(() => [
166
+ n(i)
167
+ ]),
168
+ _: 1
169
+ })
170
+ ]),
171
+ _: 1
172
+ })
173
+ ])
174
+ ]),
175
+ default: s(() => [
176
+ n(o(ce), {
177
+ fileList: c.value,
178
+ previewType: "Card",
179
+ onOnRemove: H
180
+ }, {
181
+ CardUploader: s(() => [
182
+ c.value.length === 0 ? (D(), T(o(re), {
183
+ key: 0,
184
+ acceptType: ".jpg, .png",
185
+ "limit-size": 5,
186
+ businessType: "agent",
187
+ defaultUploadIcon: $.value,
188
+ onOnSuccess: J
189
+ }, null, 8, ["defaultUploadIcon"])) : le("", !0)
190
+ ]),
191
+ _: 1
192
+ }, 8, ["fileList"])
193
+ ]),
194
+ _: 1
195
+ }),
196
+ n(o(y), {
197
+ label: o(l)("ADD_AGENT_DIALOG.AGENT_NAME") || "智能体名称",
198
+ prop: "title"
199
+ }, {
200
+ default: s(() => [
201
+ n(o(C), {
202
+ style: { width: "472px" },
203
+ modelValue: a.title,
204
+ "onUpdate:modelValue": t[0] || (t[0] = (f) => a.title = f),
205
+ maxlength: 50,
206
+ type: "text",
207
+ autocomplete: "off",
208
+ "show-word-limit": ""
209
+ }, null, 8, ["modelValue"])
210
+ ]),
211
+ _: 1
212
+ }, 8, ["label"]),
213
+ n(o(y), {
214
+ label: o(l)("ADD_AGENT_DIALOG.AGENT_NAME_DESC") || "智能体描述",
215
+ prop: "description"
216
+ }, {
217
+ default: s(() => [
218
+ n(o(C), {
219
+ style: { width: "472px" },
220
+ modelValue: a.description,
221
+ "onUpdate:modelValue": t[1] || (t[1] = (f) => a.description = f),
222
+ rows: 4,
223
+ "show-word-limit": "",
224
+ maxlength: 500,
225
+ type: "textarea",
226
+ autocomplete: "off"
227
+ }, null, 8, ["modelValue"])
228
+ ]),
229
+ _: 1
230
+ }, 8, ["label"])
231
+ ]),
232
+ _: 1
233
+ }, 8, ["model"])), [
234
+ [d, v.value]
235
+ ])
236
+ ]),
237
+ _: 1
238
+ }, 8, ["title"]);
239
+ };
240
+ }
241
+ }, Me = /* @__PURE__ */ Ee(Te, [["__scopeId", "data-v-36b0f37a"]]);
242
+ export {
243
+ Me as default
244
+ };