aibox-custom-component-packages 0.0.7 → 0.0.8

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 (182) hide show
  1. package/es/AddOrEditSupplierDialog.mjs +309 -259
  2. package/es/ApplicationTypeTag.mjs +14 -14
  3. package/es/AuthSection.mjs +11 -11
  4. package/es/AutoShowTooltip.mjs +1 -1
  5. package/es/AvailableRangePreview.mjs +1 -1
  6. package/es/AvailableRangeSetting.mjs +9 -5
  7. package/es/CodeView.mjs +1 -1
  8. package/es/CommonTagsList.mjs +5 -5
  9. package/es/CreateMcpForm.mjs +13 -12
  10. package/es/CustomSidebar.mjs +159 -154
  11. package/es/CustomTitle.mjs +1 -1
  12. package/es/CustomToggle.mjs +131 -77
  13. package/es/DocSyncSelect.mjs +2661 -0
  14. package/es/FileDisplay.mjs +2 -4
  15. package/es/FilePreview.mjs +16 -16
  16. package/es/FileUploader.mjs +71 -74
  17. package/es/Logo.mjs +72 -0
  18. package/es/McpFormDialog.mjs +1 -1
  19. package/es/McpParamsSet.mjs +34 -34
  20. package/es/MdEditor.mjs +2 -2
  21. package/es/PageContainer.mjs +438 -216
  22. package/es/ParameterTable.mjs +23 -21
  23. package/es/PublishRecord.mjs +58 -57
  24. package/es/RadioGroup.mjs +1 -1
  25. package/es/SourcePublish.mjs +95 -93
  26. package/es/Table.mjs +2 -2
  27. package/es/assets/AddOrEditSupplierDialog.css +1 -1
  28. package/es/assets/AiboxTable.css +1 -1
  29. package/es/assets/ApplicationTypeTag.css +1 -1
  30. package/es/assets/AuthSection.css +1 -1
  31. package/es/assets/AutoShowTooltip.css +1 -1
  32. package/es/assets/CommonTagsList.css +1 -1
  33. package/es/assets/CreateMcpForm.css +1 -1
  34. package/es/assets/CustomSidebar.css +1 -1
  35. package/es/assets/CustomToggle.css +1 -1
  36. package/es/assets/DocSyncSelect.css +1 -0
  37. package/es/assets/FilePreview.css +1 -1
  38. package/es/assets/Logo.css +1 -0
  39. package/es/assets/McpParamsSet.css +1 -1
  40. package/es/assets/MdEditor.css +1 -1
  41. package/es/assets/PageContainer.css +1 -1
  42. package/es/assets/ParameterTable.css +1 -1
  43. package/es/assets/PublishRecord.css +1 -1
  44. package/es/assets/RadioGroup.css +1 -1
  45. package/es/assets/SourcePublish.css +1 -1
  46. package/es/assets/index.css +1 -1
  47. package/es/assets/index2.css +1 -1
  48. package/es/assets/index3.css +1 -1
  49. package/es/assets/index4.css +1 -1
  50. package/es/assets/layout.css +1 -1
  51. package/es/chunks/{BackBar.B5Er8ZdJ.js → AiboxTable.CF4T_OCu.js} +122 -122
  52. package/es/chunks/enums.WrpwbF4w.js +14 -0
  53. package/es/chunks/index.BDd6hHiU.js +172 -0
  54. package/es/chunks/{index.CLyfh6p1.js → index.CF_YHLP5.js} +16 -16
  55. package/es/chunks/index.DdD1VsH1.js +396 -0
  56. package/es/chunks/index.Dx-mCS4E.js +1298 -0
  57. package/es/chunks/layout.CygCXa6s.js +26 -0
  58. package/es/chunks/{usePreview.C36fNlVd.js → usePreview.BHvXwaNi.js} +82 -78
  59. package/es/index.mjs +409 -325
  60. package/index.css +1 -1
  61. package/lib/AddOrEditSupplierDialog.js +1 -1
  62. package/lib/ApplicationTypeTag.js +1 -1
  63. package/lib/AuthSection.js +1 -1
  64. package/lib/AutoShowTooltip.js +1 -1
  65. package/lib/AvailableRangePreview.js +1 -1
  66. package/lib/AvailableRangeSetting.js +1 -1
  67. package/lib/CodeView.js +1 -1
  68. package/lib/CommonTagsList.js +1 -1
  69. package/lib/CreateMcpForm.js +1 -1
  70. package/lib/CustomSidebar.js +1 -1
  71. package/lib/CustomTitle.js +1 -1
  72. package/lib/CustomToggle.js +1 -1
  73. package/lib/DocSyncSelect.js +2 -0
  74. package/lib/FileDisplay.js +1 -1
  75. package/lib/FilePreview.js +1 -1
  76. package/lib/FileUploader.js +1 -1
  77. package/lib/Logo.js +1 -0
  78. package/lib/McpFormDialog.js +1 -1
  79. package/lib/McpParamsSet.js +1 -1
  80. package/lib/MdEditor.js +1 -1
  81. package/lib/PageContainer.js +1 -1
  82. package/lib/ParameterTable.js +1 -1
  83. package/lib/PublishRecord.js +2 -2
  84. package/lib/RadioGroup.js +1 -1
  85. package/lib/SourcePublish.js +1 -1
  86. package/lib/Table.js +1 -1
  87. package/lib/assets/AddOrEditSupplierDialog.css +1 -1
  88. package/lib/assets/AiboxTable.css +1 -1
  89. package/lib/assets/ApplicationTypeTag.css +1 -1
  90. package/lib/assets/AuthSection.css +1 -1
  91. package/lib/assets/AutoShowTooltip.css +1 -1
  92. package/lib/assets/CommonTagsList.css +1 -1
  93. package/lib/assets/CreateMcpForm.css +1 -1
  94. package/lib/assets/CustomSidebar.css +1 -1
  95. package/lib/assets/CustomToggle.css +1 -1
  96. package/lib/assets/DocSyncSelect.css +1 -0
  97. package/lib/assets/FilePreview.css +1 -1
  98. package/lib/assets/Logo.css +1 -0
  99. package/lib/assets/McpParamsSet.css +1 -1
  100. package/lib/assets/MdEditor.css +1 -1
  101. package/lib/assets/PageContainer.css +1 -1
  102. package/lib/assets/ParameterTable.css +1 -1
  103. package/lib/assets/PublishRecord.css +1 -1
  104. package/lib/assets/RadioGroup.css +1 -1
  105. package/lib/assets/SourcePublish.css +1 -1
  106. package/lib/assets/index.css +1 -1
  107. package/lib/assets/index2.css +1 -1
  108. package/lib/assets/index3.css +1 -1
  109. package/lib/assets/index4.css +1 -1
  110. package/lib/assets/layout.css +1 -1
  111. package/lib/chunks/AiboxTable.CJOPGJtU.js +1 -0
  112. package/lib/chunks/enums.DpU2er5r.js +1 -0
  113. package/lib/chunks/index.BNivYbtq.js +1 -0
  114. package/lib/chunks/{index.DME62Yfo.js → index.B_keI1Aq.js} +1 -1
  115. package/lib/chunks/index.C7aZx6RG.js +6 -0
  116. package/lib/chunks/index.CJFk1R2u.js +59 -0
  117. package/lib/chunks/layout.DbBSbLgm.js +1 -0
  118. package/lib/chunks/usePreview.BojIDW7Z.js +1 -0
  119. package/lib/index.js +2 -1
  120. package/package.json +2 -2
  121. package/es/ExampleComponent.mjs +0 -35
  122. package/es/assets/BackBar.css +0 -1
  123. package/es/assets/ExampleComponent.css +0 -1
  124. package/es/chunks/BackBar.Bc2NIuzk.js +0 -645
  125. package/es/chunks/BackBar.Cv1wxUcM.js +0 -645
  126. package/es/chunks/BackBar.DJV4JaUM.js +0 -645
  127. package/es/chunks/config.8htFF04x.js +0 -325
  128. package/es/chunks/config.BPp4hMBq.js +0 -325
  129. package/es/chunks/config.BU21Gda2.js +0 -49
  130. package/es/chunks/config.BzCGum_W.js +0 -49
  131. package/es/chunks/config.CFWGjEdA.js +0 -49
  132. package/es/chunks/config.CfWAdyUH.js +0 -325
  133. package/es/chunks/config.DTMcCH58.js +0 -325
  134. package/es/chunks/config.DqhQdkz7.js +0 -325
  135. package/es/chunks/enums.CfSBDD6u.js +0 -83
  136. package/es/chunks/enums.DuBbLcd-.js +0 -83
  137. package/es/chunks/i18n.DmqkiK-h.js +0 -444
  138. package/es/chunks/i18n.Vhq-tZPw.js +0 -94
  139. package/es/chunks/i18n.ro9yz7rE.js +0 -94
  140. package/es/chunks/index.BSA3IKSF.js +0 -111
  141. package/es/chunks/index.CgbxJCEU.js +0 -265
  142. package/es/chunks/index.CuDwuRO7.js +0 -265
  143. package/es/chunks/index.DB0ayMv8.js +0 -257
  144. package/es/chunks/index.DWR4lc30.js +0 -203
  145. package/es/chunks/index.GuEzdh6b.js +0 -257
  146. package/es/chunks/index.aMb6IVQD.js +0 -257
  147. package/es/chunks/index.ml5i7aB5.js +0 -257
  148. package/es/chunks/index.s-YxIOfq.js +0 -301
  149. package/es/chunks/index.uOZzvHrF.js +0 -135
  150. package/es/chunks/publish.BCb7nCo9.js +0 -50
  151. package/es/chunks/publish.D6friivo.js +0 -50
  152. package/es/chunks/publish.Dqzn7qEl.js +0 -50
  153. package/es/i18n.mjs +0 -17
  154. package/lib/ExampleComponent.js +0 -1
  155. package/lib/assets/BackBar.css +0 -1
  156. package/lib/assets/ExampleComponent.css +0 -1
  157. package/lib/chunks/BackBar.C8Xrc6qW.js +0 -1
  158. package/lib/chunks/BackBar.CZsNxoX1.js +0 -1
  159. package/lib/chunks/BackBar.s5_vN6jt.js +0 -1
  160. package/lib/chunks/config.B0XKkp1w.js +0 -1
  161. package/lib/chunks/config.BCAuBVxV.js +0 -1
  162. package/lib/chunks/config.Bs7sh3aP.js +0 -1
  163. package/lib/chunks/config.C1w4hgfw.js +0 -1
  164. package/lib/chunks/config.ClERt2RF.js +0 -1
  165. package/lib/chunks/enums.Dmq4PdUc.js +0 -1
  166. package/lib/chunks/i18n.CL5L6nx6.js +0 -1
  167. package/lib/chunks/i18n.aAXi5igh.js +0 -1
  168. package/lib/chunks/index.BNqTEn3K.js +0 -1
  169. package/lib/chunks/index.BZcSlgOO.js +0 -1
  170. package/lib/chunks/index.Bk-RwmaH.js +0 -1
  171. package/lib/chunks/index.BsN4urmi.js +0 -1
  172. package/lib/chunks/index.D7wBInWr.js +0 -1
  173. package/lib/chunks/index.DWohILMv.js +0 -1
  174. package/lib/chunks/index.LK2ulXTE.js +0 -1
  175. package/lib/chunks/index.qDAoOzk9.js +0 -1
  176. package/lib/chunks/index.s8vGOJKG.js +0 -1
  177. package/lib/chunks/publish.Bw1acrSu.js +0 -1
  178. package/lib/chunks/publish.CA1uSVnm.js +0 -1
  179. package/lib/chunks/usePreview.E5SeS2uw.js +0 -1
  180. package/lib/i18n.js +0 -1
  181. /package/es/assets/{index6.css → legacy.css} +0 -0
  182. /package/lib/assets/{index6.css → legacy.css} +0 -0
@@ -1,6 +1,4 @@
1
- import "./chunks/index.bCzIhWFw.js";
2
- import { F as l, F as o } from "./chunks/index.BT1khSY9.js";
1
+ import { i as e } from "./chunks/index.Dx-mCS4E.js";
3
2
  export {
4
- l as FileDisplay,
5
- o as default
3
+ e as FileDisplay
6
4
  };
@@ -1,10 +1,10 @@
1
- import { w as I } from "./chunks/index.bCzIhWFw.js";
2
- import { createElementBlock as t, openBlock as l, Fragment as m, createCommentVNode as r, unref as s, renderSlot as C, createBlock as o, withCtx as n, renderList as F, createElementVNode as p, resolveDynamicComponent as x, toDisplayString as L, createVNode as d, createTextVNode as S } from "vue";
3
- import { ElRow as T, ElCol as $, ElIcon as c, ElButton as D } from "element-plus";
4
- import { IconDelete as E, IconHide as V } from "color-message-aibox-vue";
5
- import { U as v } from "./chunks/enums.Dvec-maC.js";
6
- import { n as z, c as P, u as N } from "./chunks/usePreview.B5lboHeg.js";
7
- import { i as re, a as de, b as ce, e as ue, f as pe, g as _e, h as fe, j as me, k as ve, l as we, m as ke } from "./chunks/usePreview.B5lboHeg.js";
1
+ import { w as L } from "./chunks/index.bCzIhWFw.js";
2
+ import { createElementBlock as t, openBlock as l, Fragment as m, createCommentVNode as r, unref as s, renderSlot as C, createBlock as o, withCtx as n, renderList as F, createElementVNode as p, resolveDynamicComponent as x, toDisplayString as S, createVNode as d, createTextVNode as T } from "vue";
3
+ import { ElRow as $, ElCol as D, ElIcon as c, ElButton as V } from "element-plus";
4
+ import { IconDelete as E, IconHide as b } from "color-message-aibox-vue";
5
+ import { U as v } from "./chunks/enums.WrpwbF4w.js";
6
+ import { u as z, i as P, a as N } from "./chunks/usePreview.BHvXwaNi.js";
7
+ import { j as re, f as de, l as ce, m as ue, k as pe, d as _e, c as fe, b as me, h as ve, e as we, g as ke } from "./chunks/usePreview.BHvXwaNi.js";
8
8
  import { _ as A } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
9
9
  import './assets/FilePreview.css';const H = {
10
10
  key: 0,
@@ -38,9 +38,9 @@ import './assets/FilePreview.css';const H = {
38
38
  },
39
39
  emits: ["on-remove", "on-preview"],
40
40
  setup(a, { emit: B }) {
41
- const { downloadPrew: U, downloadStreamPrew: b } = z(), w = a, k = B, y = (i) => N(i);
41
+ const { downloadPrew: U, downloadStreamPrew: I } = z(), w = a, k = B, y = (i) => N(i);
42
42
  function g(i) {
43
- w.isCustom ? k("on-preview", i) : w.isStream ? b(i) : U(i);
43
+ w.isCustom ? k("on-preview", i) : w.isStream ? I(i) : U(i);
44
44
  }
45
45
  function h(i, u) {
46
46
  k("on-remove", i, u);
@@ -48,13 +48,13 @@ import './assets/FilePreview.css';const H = {
48
48
  return (i, u) => (l(), t(m, null, [
49
49
  a.previewType === s(v).面板 ? (l(), t("div", H, [
50
50
  C(i.$slots, "PanelUploader", {}, void 0, !0),
51
- a.fileList.length ? (l(), o(s(T), {
51
+ a.fileList.length ? (l(), o(s($), {
52
52
  key: 0,
53
53
  gutter: 20,
54
54
  class: "panel-preview__row"
55
55
  }, {
56
56
  default: n(() => [
57
- (l(!0), t(m, null, F(a.fileList, (e, _) => (l(), o(s($), {
57
+ (l(!0), t(m, null, F(a.fileList, (e, _) => (l(), o(s(D), {
58
58
  span: 8,
59
59
  key: e.bnid
60
60
  }, {
@@ -79,16 +79,16 @@ import './assets/FilePreview.css';const H = {
79
79
  ]),
80
80
  _: 2
81
81
  }, 1024)),
82
- p("span", R, L(e.name), 1)
82
+ p("span", R, S(e.name), 1)
83
83
  ], 8, J),
84
84
  e.isUploading ? (l(), t("div", W, [
85
- d(s(D), {
85
+ d(s(V), {
86
86
  text: "",
87
87
  size: "small",
88
88
  loading: ""
89
89
  }, {
90
90
  default: n(() => [...u[0] || (u[0] = [
91
- S("上传中...", -1)
91
+ T("上传中...", -1)
92
92
  ])]),
93
93
  _: 1
94
94
  })
@@ -139,7 +139,7 @@ import './assets/FilePreview.css';const H = {
139
139
  onClick: (f) => g(e)
140
140
  }, {
141
141
  default: n(() => [
142
- d(s(V))
142
+ d(s(b))
143
143
  ]),
144
144
  _: 1
145
145
  }, 8, ["onClick"]),
@@ -159,7 +159,7 @@ import './assets/FilePreview.css';const H = {
159
159
  ])) : r("", !0)
160
160
  ], 64));
161
161
  }
162
- }, Q = /* @__PURE__ */ A(O, [["__scopeId", "data-v-83d1cbbd"]]), ae = I(Q);
162
+ }, Q = /* @__PURE__ */ A(O, [["__scopeId", "data-v-d6028d96"]]), ae = L(Q);
163
163
  export {
164
164
  ae as FilePreview,
165
165
  ae as default,
@@ -1,19 +1,22 @@
1
1
  import { w as j } from "./chunks/index.bCzIhWFw.js";
2
- import { ref as R, computed as h, resolveDirective as z, createElementBlock as _, openBlock as i, normalizeStyle as V, normalizeClass as I, withDirectives as X, createBlock as r, unref as a, withCtx as m, createElementVNode as p, createCommentVNode as f, renderSlot as A, resolveDynamicComponent as $, Fragment as Y, createVNode as T, createTextVNode as G, toDisplayString as O } from "vue";
3
- import { ElUpload as H, ElIcon as y, ElImage as Z, ElButton as q, ElMessage as w } from "element-plus";
2
+ import { ref as E, computed as h, resolveDirective as z, createElementBlock as _, openBlock as i, normalizeStyle as X, normalizeClass as I, withDirectives as V, createBlock as r, unref as l, withCtx as f, createElementVNode as p, createCommentVNode as m, renderSlot as N, resolveDynamicComponent as $, Fragment as Y, createVNode as T, createTextVNode as G, toDisplayString as O } from "vue";
3
+ import { ElUpload as H, ElIcon as y, ElImage as Z, ElButton as q, ElMessage as U } from "element-plus";
4
4
  import { f as J } from "./chunks/files.cduUqjHX.js";
5
- import { U as v } from "./chunks/enums.Dvec-maC.js";
6
- import { A as he, a as Ie, b as Ae, F as Ne, c as Fe, p as Le } from "./chunks/enums.Dvec-maC.js";
7
- import { u as F } from "./chunks/i18n.DDMVloiU.js";
8
- import { MySpace as Q, Space as ee, IconEdit2 as te, IconAdd as ae, IconUpload2 as le, File as oe } from "color-message-aibox-vue";
9
- import { ICON_PATH_MAP as g, SOURCE_TYPE as C, APPLICATION_TYPE as N } from "color-star-custom-components";
10
- import './assets/FileUploader.css';const se = { class: "card-uploader__mask" }, ne = {
5
+ import { u as F } from "./chunks/i18n.k9Q_HVMs.js";
6
+ import { MySpace as Q, Space as ee, IconEdit2 as te, IconAdd as le, IconUpload2 as ae, File as oe } from "color-message-aibox-vue";
7
+ import { ICON_PATH_MAP as g, SOURCE_TYPE as C, APPLICATION_TYPE as L } from "color-star-custom-components";
8
+ import './assets/FileUploader.css';const v = {
9
+ 卡片: "Card",
10
+ 按钮: "Button",
11
+ 面板: "Panel",
12
+ 自定义: "Custom"
13
+ }, se = { class: "card-uploader__mask" }, ne = {
11
14
  key: 4,
12
15
  class: "pd-l-24 pd-r-24"
13
- }, ie = { class: "panel-uploader__text" }, ce = { class: "panel-uploader__text--tip" }, de = { class: "text-3271fe" }, pe = { class: "text-262626" }, ue = { class: "text-3271fe" }, re = { class: "text-262626" }, me = {
16
+ }, ie = { class: "panel-uploader__text" }, ce = { class: "panel-uploader__text--tip" }, de = { class: "text-3271fe" }, pe = { class: "text-262626" }, ue = { class: "text-3271fe" }, re = { class: "text-262626" }, fe = {
14
17
  key: 0,
15
18
  class: "panel-uploader__text--tip font-style"
16
- }, fe = { class: "panel-uploader__text--tip font-style" }, Oe = {
19
+ }, me = { class: "panel-uploader__text--tip font-style" }, Oe = {
17
20
  __name: "index",
18
21
  props: {
19
22
  uploadType: {
@@ -59,22 +62,22 @@ import './assets/FileUploader.css';const se = { class: "card-uploader__mask" },
59
62
  },
60
63
  emits: ["on-success"],
61
64
  setup(e, { emit: t }) {
62
- const { t: o } = F(), n = R(!1), l = R(null), { commonUpload: M } = J(), d = e, S = t, L = (s) => {
65
+ const { t: o } = F(), n = E(!1), a = E(null), { commonUpload: M } = J(), d = e, S = t, A = (s) => {
63
66
  const u = /\.([^.]+)$/, c = s.match(u);
64
67
  return c ? c[1] : null;
65
68
  }, W = (s, u, c) => {
66
69
  let P = !0;
67
- const E = s.name && s.name.toLowerCase();
68
- if (console.log(s.name, E, "fileName"), u && u.indexOf(L(E)) === -1) {
69
- const U = o("COMPONENTS.UPLOAD_TYPE_TIP", { type: u });
70
- w({
70
+ const R = s.name && s.name.toLowerCase();
71
+ if (console.log(s.name, R, "fileName"), u && u.indexOf(A(R)) === -1) {
72
+ const w = o("COMPONENTS.UPLOAD_TYPE_TIP", { type: u });
73
+ U({
71
74
  type: "warning",
72
- message: U
75
+ message: w
73
76
  }), P = !1;
74
77
  }
75
78
  if (s.size > 1024 * 1024 * c) {
76
- const U = o("COMPONENTS.UPLOAD_SIZE_TIP", { size: c });
77
- w.warning(U), P = !1;
79
+ const w = o("COMPONENTS.UPLOAD_SIZE_TIP", { size: c });
80
+ U.warning(w), P = !1;
78
81
  }
79
82
  return P;
80
83
  }, b = {
@@ -82,8 +85,8 @@ import './assets/FileUploader.css';const se = { class: "card-uploader__mask" },
82
85
  "my-space": Q
83
86
  }, k = {
84
87
  plugin: g.application[C.PLUGIN],
85
- agent: g.agent[N.autonomous],
86
- dialogue: g.agent[N.dialogue],
88
+ agent: g.agent[L.autonomous],
89
+ dialogue: g.agent[L.dialogue],
87
90
  model: g.application[C.MODEL],
88
91
  workflow: g.application[C.WORKFLOW],
89
92
  mcp: g.application[C.MCP]
@@ -96,7 +99,7 @@ import './assets/FileUploader.css';const se = { class: "card-uploader__mask" },
96
99
  "COMPONENTS.UPLOAD_COUNT_TIP",
97
100
  { count: d.limitCount }
98
101
  );
99
- w({
102
+ U({
100
103
  type: "warning",
101
104
  message: s
102
105
  });
@@ -116,21 +119,21 @@ import './assets/FileUploader.css';const se = { class: "card-uploader__mask" },
116
119
  } else
117
120
  S("on-success", s);
118
121
  else
119
- l.value.handleRemove(s);
122
+ a.value.handleRemove(s);
120
123
  };
121
124
  return (s, u) => {
122
125
  const c = z("loading");
123
126
  return i(), _("div", {
124
127
  class: I(["file-uploader", e.defaultUploadIcon]),
125
- style: V({
128
+ style: X({
126
129
  border: !e.defaultUploadIcon && e.uploadType === "Card" ? "1px dashed var(--el-border-color)" : "none",
127
130
  "border-radius": !e.defaultUploadIcon && e.uploadType === "Card" ? "8px" : "0",
128
131
  "background-image": x.value ? `url('${x.value}')` : "none"
129
132
  })
130
133
  }, [
131
- X((i(), r(a(H), {
134
+ V((i(), r(l(H), {
132
135
  ref_key: "uploader",
133
- ref: l,
136
+ ref: a,
134
137
  class: I(B.value),
135
138
  action: "",
136
139
  "auto-upload": !1,
@@ -138,83 +141,83 @@ import './assets/FileUploader.css';const se = { class: "card-uploader__mask" },
138
141
  "show-file-list": !1,
139
142
  accept: e.acceptType,
140
143
  multiple: e.multiple,
141
- drag: e.uploadType === a(v).面板,
144
+ drag: e.uploadType === l(v).面板,
142
145
  "on-change": D,
143
146
  "on-exceed": K
144
147
  }, {
145
- default: m(() => [
146
- x.value ? (i(), r(a(y), {
148
+ default: f(() => [
149
+ x.value ? (i(), r(l(y), {
147
150
  key: 0,
148
151
  size: "64",
149
152
  class: "absolute"
150
153
  }, {
151
- default: m(() => [
154
+ default: f(() => [
152
155
  (i(), r($(x.value)))
153
156
  ]),
154
157
  _: 1
155
158
  })) : (i(), _(Y, { key: 1 }, [
156
- e.defaultUploadIcon ? (i(), r(a(Z), {
159
+ e.defaultUploadIcon ? (i(), r(l(Z), {
157
160
  key: 0,
158
161
  style: { width: "64px", height: "64px" },
159
162
  src: k[e.defaultUploadIcon],
160
163
  class: "absolute"
161
- }, null, 8, ["src"])) : f("", !0)
164
+ }, null, 8, ["src"])) : m("", !0)
162
165
  ], 64)),
163
166
  p("div", se, [
164
- T(a(y), {
167
+ T(l(y), {
165
168
  color: "#fff",
166
169
  size: "16px"
167
170
  }, {
168
- default: m(() => [
169
- T(a(te))
171
+ default: f(() => [
172
+ T(l(te))
170
173
  ]),
171
174
  _: 1
172
175
  })
173
176
  ]),
174
- e.uploadType === a(v).卡片 ? (i(), r(a(y), {
177
+ e.uploadType === l(v).卡片 ? (i(), r(l(y), {
175
178
  key: 2,
176
179
  class: "card-uploader__icon"
177
180
  }, {
178
- default: m(() => [
179
- e.defaultUploadIcon ? f("", !0) : (i(), r(a(ae), { key: 0 })),
180
- A(s.$slots, "text-slot")
181
+ default: f(() => [
182
+ e.defaultUploadIcon ? m("", !0) : (i(), r(l(le), { key: 0 })),
183
+ N(s.$slots, "text-slot")
181
184
  ]),
182
185
  _: 3
183
- })) : f("", !0),
184
- e.uploadType === a(v).按钮 ? (i(), r(a(q), {
186
+ })) : m("", !0),
187
+ e.uploadType === l(v).按钮 ? (i(), r(l(q), {
185
188
  key: 3,
186
189
  type: "primary"
187
190
  }, {
188
- default: m(() => [
189
- T(a(y), { style: { "margin-right": "5px" } }, {
190
- default: m(() => [
191
- T(a(le))
191
+ default: f(() => [
192
+ T(l(y), { style: { "margin-right": "5px" } }, {
193
+ default: f(() => [
194
+ T(l(ae))
192
195
  ]),
193
196
  _: 1
194
197
  }),
195
- G(" " + O(a(o)("COMMON_BUTTON.UPLOAD_TEXT")), 1)
198
+ G(" " + O(l(o)("COMMON_BUTTON.UPLOAD_TEXT")), 1)
196
199
  ]),
197
200
  _: 1
198
- })) : f("", !0),
199
- e.uploadType === a(v).面板 ? (i(), _("div", ne, [
200
- T(a(y), { size: "48px" }, {
201
- default: m(() => [
202
- T(a(oe))
201
+ })) : m("", !0),
202
+ e.uploadType === l(v).面板 ? (i(), _("div", ne, [
203
+ T(l(y), { size: "48px" }, {
204
+ default: f(() => [
205
+ T(l(oe))
203
206
  ]),
204
207
  _: 1
205
208
  }),
206
209
  p("div", ie, [
207
210
  p("div", ce, [
208
- p("span", de, O(a(o)("COMMON_BUTTON.CLICK_TEXT")), 1),
209
- p("span", pe, O(a(o)("COMMON_BUTTON.OR_TEXT")), 1),
210
- p("span", ue, O(a(o)("COMMON_BUTTON.DRAG_TEXT")), 1),
211
- p("span", re, O(a(o)("COMMON_BUTTON.FILE_UPLOAD_TEXT")), 1)
211
+ p("span", de, O(l(o)("COMMON_BUTTON.CLICK_TEXT")), 1),
212
+ p("span", pe, O(l(o)("COMMON_BUTTON.OR_TEXT")), 1),
213
+ p("span", ue, O(l(o)("COMMON_BUTTON.DRAG_TEXT")), 1),
214
+ p("span", re, O(l(o)("COMMON_BUTTON.FILE_UPLOAD_TEXT")), 1)
212
215
  ]),
213
- e.warnTips2 ? (i(), _("div", me, O(e.warnTips2), 1)) : f("", !0),
214
- p("div", fe, O(e.warnTips), 1)
216
+ e.warnTips2 ? (i(), _("div", fe, O(e.warnTips2), 1)) : m("", !0),
217
+ p("div", me, O(e.warnTips), 1)
215
218
  ])
216
- ])) : f("", !0),
217
- e.uploadType === a(v).自定义 ? A(s.$slots, "upload-box", { key: 5 }) : f("", !0)
219
+ ])) : m("", !0),
220
+ e.uploadType === l(v).自定义 ? N(s.$slots, "upload-box", { key: 5 }) : m("", !0)
218
221
  ]),
219
222
  _: 3
220
223
  }, 8, ["class", "limit", "accept", "multiple", "drag"])), [
@@ -223,12 +226,12 @@ import './assets/FileUploader.css';const se = { class: "card-uploader__mask" },
223
226
  ], 6);
224
227
  };
225
228
  }
226
- }, Pe = (e) => {
229
+ }, Me = (e) => {
227
230
  const { t } = F();
228
- let o = e.toLowerCase(), n = "", l = "";
231
+ let o = e.toLowerCase(), n = "", a = "";
229
232
  const M = t("WORKFLOW_COM.TIP_TEXT_3");
230
- return o.includes("file") ? (l = "jpg、jpeg、png、webp、doc、docx、ppt、pptx、pdf、txt、xls、xlsx、csv、mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv、mp3、wav、aac、flac、ogg", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("image") ? (l = "jpg、jpeg、png、webp", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("doc") ? (l = "doc、docx", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("ppt") ? (l = "ppt、pptx", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("pdf") ? (l = "pdf", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("txt") ? (l = "txt", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("excel") ? (l = "xls、xlsx、csv", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("audio") ? (l = "mp3、wav、aac、flac、ogg", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })) : o.includes("video") && (l = "mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: l })), n + M;
231
- }, Ue = (e) => {
233
+ return o.includes("file") ? (a = "jpg、jpeg、png、webp、doc、docx、ppt、pptx、pdf、txt、xls、xlsx、csv、mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv、mp3、wav、aac、flac、ogg", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("image") ? (a = "jpg、jpeg、png、webp", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("doc") ? (a = "doc、docx", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("ppt") ? (a = "ppt、pptx", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("pdf") ? (a = "pdf", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("txt") ? (a = "txt", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("excel") ? (a = "xls、xlsx、csv", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("audio") ? (a = "mp3、wav、aac、flac、ogg", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })) : o.includes("video") && (a = "mp4、mkv、webm、ts、avi、mov、flv、3gp、ogv", n = t("WORKFLOW_COM.SUPPORT_FORMATS", { formats: a })), n + M;
234
+ }, Pe = (e) => {
232
235
  let t = e.toLowerCase();
233
236
  if (t.includes("file"))
234
237
  return ".jpg,.jpeg,.png,.webp,.doc,.docx,.ppt,.pptx,.pdf,.txt,.xls,.xlsx,.csv,.mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv,.mp3,.wav,.aac,.flac,.ogg";
@@ -249,20 +252,14 @@ import './assets/FileUploader.css';const se = { class: "card-uploader__mask" },
249
252
  if (t.includes("video"))
250
253
  return ".mp4,.mkv,.webm,.ts,.avi,.mov,.flv,.3gp,.ogv";
251
254
  }, we = (e) => {
252
- const t = e.match(/array(\\w+)/);
255
+ const t = e.match(/array(\w+)/);
253
256
  return t && t[1] ? t[1].toLowerCase() : null;
254
- }, Se = j(Oe);
257
+ }, Ue = j(Oe);
255
258
  export {
256
- he as AgentChannelEnum,
257
- Ie as AgentLabelValueEnum,
258
- Ae as AgentTypeEnum,
259
- Se as FileUploader,
260
- Ne as FormItemTypesEnum,
259
+ Ue as FileUploader,
261
260
  v as UploadTypesEnum,
262
- Fe as colorValue,
263
- Se as default,
261
+ Ue as default,
264
262
  we as extractAndLowerCaseArrayType,
265
- Ue as getAcceptType,
266
- Pe as getWarnTips,
267
- Le as pages
263
+ Pe as getAcceptType,
264
+ Me as getWarnTips
268
265
  };