aibox-custom-component-packages 0.0.28 → 0.0.30

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 (278) hide show
  1. package/es/AddOrEditSupplierDialog.mjs +2 -2
  2. package/es/AiboxTabs.mjs +71 -0
  3. package/es/ApplicationTypeTag.mjs +1 -1
  4. package/es/AuthSection.mjs +1 -1
  5. package/es/AutoShowTooltip.mjs +1 -1
  6. package/es/AvailableRangePreview.mjs +1 -1
  7. package/es/AvailableRangeSetting.mjs +2 -2
  8. package/es/CodeView.mjs +1 -1
  9. package/es/CommonTagsList.mjs +1 -1
  10. package/es/CreateMcpForm.mjs +1 -1
  11. package/es/CustomSidebar.mjs +1 -1
  12. package/es/CustomToggle.mjs +1 -1
  13. package/es/DocSyncSelect.mjs +1 -1
  14. package/es/ExampleComponent.mjs +35 -0
  15. package/es/FileDisplay.mjs +1 -1
  16. package/es/FilePreview.mjs +1 -1
  17. package/es/FileUploader.mjs +1 -1
  18. package/es/Logo.mjs +1 -1
  19. package/es/McpFormDialog.mjs +1 -1
  20. package/es/McpParamsSet.mjs +1 -1
  21. package/es/MdEditor.mjs +1 -1
  22. package/es/PageContainer.mjs +1 -1
  23. package/es/ParameterTable.mjs +1 -1
  24. package/es/PublishRecord.mjs +1 -1
  25. package/es/SourcePublish.mjs +3 -3
  26. package/es/Table.mjs +1 -1
  27. package/es/assets/AiboxTabs.css +1 -0
  28. package/es/assets/BackBar.css +1 -0
  29. package/es/assets/CommonTagsList.css +1 -1
  30. package/es/assets/ExampleComponent.css +1 -0
  31. package/es/assets/SourcePublish.css +1 -1
  32. package/es/assets/index.css +1 -0
  33. package/es/assets/index2.css +1 -0
  34. package/es/assets/index3.css +1 -0
  35. package/es/assets/index4.css +1 -0
  36. package/es/assets/usePreview.css +2 -2
  37. package/es/chunks/AddOrEditSupplierDialog.ClQwEIbY.js +721 -0
  38. package/es/chunks/{AddOrEditSupplierDialog.u9M_J9ps.js → AddOrEditSupplierDialog.CnhMfQwO.js} +3 -3
  39. package/es/chunks/AddOrEditSupplierDialog.DUqqhPyY.js +721 -0
  40. package/es/chunks/{AiboxTable.CNJGTKaO.js → AiboxTable.BGM-BzRS.js} +2 -2
  41. package/es/chunks/AiboxTable.C-nLAgfd.js +635 -0
  42. package/es/chunks/AiboxTable.CF4T_OCu.js +645 -0
  43. package/es/chunks/ApplicationTypeTag.CdOFw2tm.js +47 -0
  44. package/es/chunks/ApplicationTypeTag.CpzWFRmD.js +52 -0
  45. package/es/chunks/ApplicationTypeTag.DqsFzOY8.js +47 -0
  46. package/es/chunks/{ApplicationTypeTag.Ctbs4Cfh.js → ApplicationTypeTag.ou6JCQ5z.js} +1 -1
  47. package/es/chunks/AuthSection.CjTj3tXe.js +201 -0
  48. package/es/chunks/{AuthSection.DoHCPqfe.js → AuthSection.DiiFb-bb.js} +1 -1
  49. package/es/chunks/AutoShowTooltip.C_DI9t2Z.js +82 -0
  50. package/es/chunks/{AutoShowTooltip.DKVXyaU4.js → AutoShowTooltip.DBv10Z2v.js} +2 -3
  51. package/es/chunks/AvailableRangePreview.BeryuDo0.js +194 -0
  52. package/es/chunks/{AvailableRangePreview.Daug_hry.js → AvailableRangePreview.CPwdlq4X.js} +6 -6
  53. package/es/chunks/AvailableRangeSetting.CIMyFFUh.js +229 -0
  54. package/es/chunks/{AvailableRangeSetting.F8v_IaDj.js → AvailableRangeSetting.CQ1akyVX.js} +6 -6
  55. package/es/chunks/BackBar.Bc2NIuzk.js +645 -0
  56. package/es/chunks/CodeView.C7otlZWk.js +148 -0
  57. package/es/chunks/{CodeView.CrofMsZq.js → CodeView.D-XJCy-4.js} +2 -3
  58. package/es/chunks/CommonTagsList.CMC3Jf1_.js +162 -0
  59. package/es/chunks/CommonTagsList.DKvvFNZk.js +156 -0
  60. package/es/chunks/{CommonTagsList.DsAsA9Ul.js → CommonTagsList.lcIYK7Ug.js} +5 -8
  61. package/es/chunks/CreateMcpForm.BuPJjhoO.js +308 -0
  62. package/es/chunks/{CreateMcpForm.CmDJvBZn.js → CreateMcpForm.V6OVq25o.js} +5 -5
  63. package/es/chunks/CustomSidebar.BF2dzN8s.js +585 -0
  64. package/es/chunks/{CustomSidebar.SNazR8Qi.js → CustomSidebar.BQkzarqj.js} +16 -17
  65. package/es/chunks/CustomToggle.BxxsaD-W.js +181 -0
  66. package/es/chunks/{CustomToggle.Da9-ySi3.js → CustomToggle.mk4475NP.js} +7 -8
  67. package/es/chunks/DialogContainer.DL7aTMDS.js +129 -0
  68. package/es/chunks/DocSyncSelect.CY25GsAh.js +2310 -0
  69. package/es/chunks/DocSyncSelect.DP8U1-ZH.js +2805 -0
  70. package/es/chunks/{DocSyncSelect.BXAEaFps.js → DocSyncSelect.DsxEfNS8.js} +80 -81
  71. package/es/chunks/DocSyncSelect.Xmpd15XF.js +2290 -0
  72. package/es/chunks/DocSyncSelect.dhZh4w45.js +2290 -0
  73. package/es/chunks/FileDisplay.CJ7KCID6.js +1650 -0
  74. package/es/chunks/{FileDisplay.D308Pw4L.js → FileDisplay.DdXZw2i8.js} +9 -13
  75. package/es/chunks/{FilePreview.CZGtuNLk.js → FilePreview.8h1jwcK3.js} +3 -3
  76. package/es/chunks/FilePreview.De4zHsfc.js +123 -0
  77. package/es/chunks/FileUploader.Bb7Vjst3.js +216 -0
  78. package/es/chunks/{FileUploader.Dzz9qaG4.js → FileUploader.D6yBWJC1.js} +7 -12
  79. package/es/chunks/Logo.0myMjGux.js +62 -0
  80. package/es/chunks/{Logo.CSphmM19.js → Logo.ykAQuSMy.js} +3 -3
  81. package/es/chunks/McpFormDialog.BmGiXP7Z.js +297 -0
  82. package/es/chunks/{McpFormDialog.BFdJy9Aa.js → McpFormDialog.re73mF5z.js} +6 -6
  83. package/es/chunks/McpParamsSet.2sRWE--W.js +501 -0
  84. package/es/chunks/{McpParamsSet.Dpsku0Bq.js → McpParamsSet.CENa2vwu.js} +18 -22
  85. package/es/chunks/{MdEditor.DXniUyrY.js → MdEditor.CnEAJuiz.js} +5 -5
  86. package/es/chunks/MdEditor.DQPBTDZs.js +163 -0
  87. package/es/chunks/{PageContainer.D_aKk9S0.js → PageContainer.DB5ChF8A.js} +91 -88
  88. package/es/chunks/PageContainer.DXddaRs1.js +462 -0
  89. package/es/chunks/ParameterTable.BWGj5RJ0.js +2010 -0
  90. package/es/chunks/{ParameterTable.DIzML7kY.js → ParameterTable.Bl40d5e-.js} +11 -14
  91. package/es/chunks/PublishRecord.1bbefkRj.js +133 -0
  92. package/es/chunks/{PublishRecord.B8_7fRU8.js → PublishRecord.BlW5h73q.js} +30 -33
  93. package/es/chunks/PublishRecord.uMYPtwrr.js +133 -0
  94. package/es/chunks/RadioGroup.Czc1JtkN.js +107 -0
  95. package/es/chunks/SourcePublish.CjzqOFwj.js +979 -0
  96. package/es/chunks/{SourcePublish.01DUJyfK.js → SourcePublish.DBM7OeXm.js} +26 -34
  97. package/es/chunks/SourcePublish.DVvRsVtZ.js +1012 -0
  98. package/es/chunks/_plugin-vue_export-helper.CHgC5LLL.js +9 -0
  99. package/es/chunks/_plugin-vue_export-helper.Ct3qlEzt.js +8 -0
  100. package/es/chunks/{rolldown-runtime.B0aSnxlc.js → chunk.Dqa2HsxW.js} +2 -2
  101. package/es/chunks/chunk.EU29TkMc.js +20 -0
  102. package/es/chunks/config.8htFF04x.js +325 -0
  103. package/es/chunks/config.BLF8hLT4.js +273 -0
  104. package/es/chunks/config.BU21Gda2.js +49 -0
  105. package/es/chunks/{config.DbvuSKlD.js → config.BVH1HTem.js} +2 -2
  106. package/es/chunks/{config.rFstR-MG.js → config.ByP8moyl.js} +1 -1
  107. package/es/chunks/config.Cneaz-Di.js +35 -0
  108. package/es/chunks/config.D5tt9_hY.js +270 -0
  109. package/es/chunks/config.DPkdwjwD.js +49 -0
  110. package/es/chunks/config.gNZ_rT87.js +325 -0
  111. package/es/chunks/enums.CfSBDD6u.js +83 -0
  112. package/es/chunks/enums.DDPWAqdV.js +13 -0
  113. package/es/chunks/enums.WrpwbF4w.js +14 -0
  114. package/es/chunks/field-types.CPnMOjle.js +13 -0
  115. package/es/chunks/field-types.zf28gvKR.js +7 -0
  116. package/es/chunks/files.DvOT1nf3.js +14 -0
  117. package/es/chunks/files.cduUqjHX.js +16 -0
  118. package/es/chunks/i18n.CgtinrDD.js +426 -0
  119. package/es/chunks/i18n.DmqkiK-h.js +444 -0
  120. package/es/chunks/i18n.k9Q_HVMs.js +443 -0
  121. package/es/chunks/{i18n.CfGGAcJH.js → i18n.yuai-sb4.js} +1 -1
  122. package/es/chunks/index.BDd6hHiU.js +172 -0
  123. package/es/chunks/index.CF_YHLP5.js +257 -0
  124. package/es/chunks/index.DM3o2YX3.js +398 -0
  125. package/es/chunks/index.Dx-mCS4E.js +1298 -0
  126. package/es/chunks/index.bCzIhWFw.js +7 -0
  127. package/es/chunks/index.ml5i7aB5.js +257 -0
  128. package/es/chunks/layout.C9wKDpv-.js +19 -0
  129. package/es/chunks/layout.CygCXa6s.js +26 -0
  130. package/es/chunks/publish.D6friivo.js +50 -0
  131. package/es/chunks/publish.DlD0o09n.js +50 -0
  132. package/es/chunks/publish.Z0XAASut.js +50 -0
  133. package/es/chunks/request.24c3shPx.js +5 -0
  134. package/es/chunks/request.CfOHcfgX.js +5 -0
  135. package/es/chunks/usePreview.BHvXwaNi.js +157 -0
  136. package/es/chunks/usePreview.CMMjOD_o.js +148 -0
  137. package/es/chunks/withinstall.dLh4K-0g.js +7 -0
  138. package/es/index.mjs +28 -28
  139. package/lib/AddOrEditSupplierDialog.js +1 -1
  140. package/lib/AiboxTabs.js +1 -0
  141. package/lib/AutoShowTooltip.js +1 -1
  142. package/lib/AvailableRangePreview.js +1 -1
  143. package/lib/AvailableRangeSetting.js +1 -1
  144. package/lib/CodeView.js +1 -1
  145. package/lib/CommonTagsList.js +1 -1
  146. package/lib/CreateMcpForm.js +1 -1
  147. package/lib/CustomSidebar.js +1 -1
  148. package/lib/CustomToggle.js +1 -1
  149. package/lib/DocSyncSelect.js +1 -1
  150. package/lib/ExampleComponent.js +1 -0
  151. package/lib/FileDisplay.js +1 -1
  152. package/lib/FileUploader.js +1 -1
  153. package/lib/McpFormDialog.js +1 -1
  154. package/lib/McpParamsSet.js +1 -1
  155. package/lib/MdEditor.js +1 -1
  156. package/lib/PageContainer.js +1 -1
  157. package/lib/ParameterTable.js +1 -1
  158. package/lib/PublishRecord.js +1 -1
  159. package/lib/SourcePublish.js +1 -1
  160. package/lib/Table.js +1 -1
  161. package/lib/assets/AiboxTabs.css +1 -0
  162. package/lib/assets/BackBar.css +1 -0
  163. package/lib/assets/CommonTagsList.css +1 -1
  164. package/lib/assets/ExampleComponent.css +1 -0
  165. package/lib/assets/SourcePublish.css +1 -1
  166. package/lib/assets/index.css +1 -0
  167. package/lib/assets/index2.css +1 -0
  168. package/lib/assets/index3.css +1 -0
  169. package/lib/assets/index4.css +1 -0
  170. package/lib/assets/usePreview.css +2 -2
  171. package/lib/chunks/{AddOrEditSupplierDialog.DfOMS_bh.js → AddOrEditSupplierDialog.C37dgJoc.js} +1 -1
  172. package/lib/chunks/AddOrEditSupplierDialog.CXDQYSfx.js +1 -0
  173. package/lib/chunks/AddOrEditSupplierDialog.LrA93M8r.js +1 -0
  174. package/lib/chunks/AiboxTable.CJOPGJtU.js +1 -0
  175. package/lib/chunks/AiboxTable.ChFhK2hA.js +1 -0
  176. package/lib/chunks/AiboxTable.cjZA3qfn.js +1 -0
  177. package/lib/chunks/ApplicationTypeTag.BZcZ1NVV.js +1 -0
  178. package/lib/chunks/ApplicationTypeTag.BmU_cqaw.js +1 -0
  179. package/lib/chunks/ApplicationTypeTag.DYX2KhU3.js +1 -0
  180. package/lib/chunks/AuthSection.JSJMZHKE.js +1 -0
  181. package/lib/chunks/AutoShowTooltip.CdpEAARd.js +1 -0
  182. package/lib/chunks/AutoShowTooltip.D3QQ36Bm.js +1 -0
  183. package/lib/chunks/{AvailableRangePreview.CiOxEA4F.js → AvailableRangePreview.4RCSh4vv.js} +1 -1
  184. package/lib/chunks/AvailableRangePreview.DBZrEGgr.js +1 -0
  185. package/lib/chunks/AvailableRangeSetting.CWQ96pgh.js +1 -0
  186. package/lib/chunks/{AvailableRangeSetting.Bb32NVYo.js → AvailableRangeSetting.Clr9A9YC.js} +1 -1
  187. package/lib/chunks/BackBar.CZsNxoX1.js +1 -0
  188. package/lib/chunks/CodeView.CXGXn7Ez.js +1 -0
  189. package/lib/chunks/CodeView.DqYLtjLj.js +1 -0
  190. package/lib/chunks/CommonTagsList.COGYYx95.js +1 -0
  191. package/lib/chunks/CommonTagsList.CYvE3OZx.js +1 -0
  192. package/lib/chunks/CommonTagsList.scaLz3Kq.js +1 -0
  193. package/lib/chunks/CreateMcpForm.ChuUGxEv.js +1 -0
  194. package/lib/chunks/{CreateMcpForm.BWs-4Onu.js → CreateMcpForm.cHV9zm1H.js} +1 -1
  195. package/lib/chunks/CustomSidebar.Bxnggo2-.js +1 -0
  196. package/lib/chunks/CustomSidebar.DbMNfaZ2.js +1 -0
  197. package/lib/chunks/CustomToggle.Cia4mNzt.js +1 -0
  198. package/lib/chunks/CustomToggle.Dz7MRyOY.js +1 -0
  199. package/lib/chunks/DialogContainer.C0Hsohgn.js +1 -0
  200. package/lib/chunks/DocSyncSelect.CeXY2dUM.js +1 -0
  201. package/lib/chunks/DocSyncSelect.DndqvEn2.js +2 -0
  202. package/lib/chunks/DocSyncSelect.LIk9aqvi.js +1 -0
  203. package/lib/chunks/DocSyncSelect.OtcUttS0.js +2 -0
  204. package/lib/chunks/DocSyncSelect.kDNcepY-.js +2 -0
  205. package/lib/chunks/FileDisplay.BSNmvK44.js +59 -0
  206. package/lib/chunks/{FileDisplay.B3CFfeuo.js → FileDisplay.DlPH_SWI.js} +4 -4
  207. package/lib/chunks/FilePreview.DX9e8_nx.js +1 -0
  208. package/lib/chunks/FileUploader.BRzp1bwB.js +1 -0
  209. package/lib/chunks/FileUploader.DHEvEZDe.js +1 -0
  210. package/lib/chunks/Logo.Jr7hhaH0.js +1 -0
  211. package/lib/chunks/McpFormDialog.CTRZyUh9.js +6 -0
  212. package/lib/chunks/{McpFormDialog.CuYkPlUY.js → McpFormDialog.CusYASZC.js} +2 -2
  213. package/lib/chunks/McpParamsSet.CaZMXMOt.js +1 -0
  214. package/lib/chunks/McpParamsSet.y1sBuHQg.js +1 -0
  215. package/lib/chunks/MdEditor.Bmd2x_BT.js +1 -0
  216. package/lib/chunks/MdEditor.Dyzzi6xB.js +1 -0
  217. package/lib/chunks/PageContainer.elwvD8VL.js +1 -0
  218. package/lib/chunks/PageContainer.qaCyP4Jo.js +1 -0
  219. package/lib/chunks/{ParameterTable.CLnOL3k_.js → ParameterTable.CKUr93c7.js} +1 -1
  220. package/lib/chunks/ParameterTable.ue5vEqKT.js +1 -0
  221. package/lib/chunks/PublishRecord.BhwpTDRe.js +5 -0
  222. package/lib/chunks/PublishRecord.CBVhp0v1.js +5 -0
  223. package/lib/chunks/{PublishRecord.BZH5_Usb.js → PublishRecord.DnQxxgPK.js} +1 -1
  224. package/lib/chunks/RadioGroup.cl57IvY3.js +1 -0
  225. package/lib/chunks/SourcePublish.CY-TQaVa.js +1 -0
  226. package/lib/chunks/SourcePublish.FGW69-Av.js +1 -0
  227. package/lib/chunks/SourcePublish.eOSEULjP.js +1 -0
  228. package/lib/chunks/_plugin-vue_export-helper.BHFhmbuH.js +1 -0
  229. package/lib/chunks/_plugin-vue_export-helper.Bgn9wawX.js +1 -0
  230. package/lib/chunks/chunk.BbA6Ugdl.js +1 -0
  231. package/lib/chunks/{rolldown-runtime.DF3sbh8G.js → chunk.mLOUI7ql.js} +1 -1
  232. package/lib/chunks/config.1oaIKLGn.js +1 -0
  233. package/lib/chunks/config.B0XKkp1w.js +1 -0
  234. package/lib/chunks/config.BCAuBVxV.js +1 -0
  235. package/lib/chunks/config.BCxoVxuB.js +1 -0
  236. package/lib/chunks/config.BF7MO0O5.js +1 -0
  237. package/lib/chunks/config.D4x1DE4S.js +1 -0
  238. package/lib/chunks/config.DL3HszjO.js +1 -0
  239. package/lib/chunks/enums.DbdzzIzx.js +1 -0
  240. package/lib/chunks/enums.Dmq4PdUc.js +1 -0
  241. package/lib/chunks/enums.DpU2er5r.js +1 -0
  242. package/lib/chunks/field-types.C6f_z2S_.js +1 -0
  243. package/lib/chunks/field-types.Ch_2yDfg.js +1 -0
  244. package/lib/chunks/files.B3-8UC0v.js +1 -0
  245. package/lib/chunks/files.BEXWmB32.js +1 -0
  246. package/lib/chunks/i18n.CL5L6nx6.js +1 -0
  247. package/lib/chunks/i18n.DEV_n69W.js +1 -0
  248. package/lib/chunks/i18n.DgOp_D7R.js +1 -0
  249. package/lib/chunks/index.4hFddClT.js +6 -0
  250. package/lib/chunks/index.BNivYbtq.js +1 -0
  251. package/lib/chunks/index.B_keI1Aq.js +1 -0
  252. package/lib/chunks/index.Bk-RwmaH.js +1 -0
  253. package/lib/chunks/index.CJFk1R2u.js +59 -0
  254. package/lib/chunks/index.CkihWzK6.js +1 -0
  255. package/lib/chunks/layout.CK394aWE.js +1 -0
  256. package/lib/chunks/layout.DbBSbLgm.js +1 -0
  257. package/lib/chunks/publish.3TrK3fZf.js +1 -0
  258. package/lib/chunks/publish.Bw1acrSu.js +1 -0
  259. package/lib/chunks/publish.DsepP8ll.js +1 -0
  260. package/lib/chunks/request.BuoFTs7h.js +1 -0
  261. package/lib/chunks/request.D8T4MgGX.js +1 -0
  262. package/lib/chunks/usePreview.7CCbmgQM.js +1 -0
  263. package/lib/chunks/usePreview.BojIDW7Z.js +1 -0
  264. package/lib/chunks/withinstall.65aRnaVc.js +1 -0
  265. package/lib/index.js +1 -1
  266. package/package.json +3 -3
  267. package/lib/chunks/AiboxTable.B-VuIQSp.js +0 -1
  268. package/lib/chunks/AutoShowTooltip.DIrXDh7U.js +0 -1
  269. package/lib/chunks/CodeView.Ct9TXiwX.js +0 -1
  270. package/lib/chunks/CommonTagsList.Boc8vbyY.js +0 -1
  271. package/lib/chunks/CustomSidebar.DCW29MKi.js +0 -1
  272. package/lib/chunks/CustomToggle.BF7s0G8h.js +0 -1
  273. package/lib/chunks/DocSyncSelect.ZlOVqBG1.js +0 -1
  274. package/lib/chunks/FileUploader.yvoUFzla.js +0 -1
  275. package/lib/chunks/McpParamsSet.BZ3lptGl.js +0 -1
  276. package/lib/chunks/MdEditor.BSUp8pUb.js +0 -1
  277. package/lib/chunks/PageContainer.BYyJE7u_.js +0 -1
  278. package/lib/chunks/SourcePublish.B23eXpNS.js +0 -1
@@ -0,0 +1,52 @@
1
+ import { t as e } from "./withinstall.CMngc-br.js";
2
+ import { m as t } from "./i18n.yuai-sb4.js";
3
+ import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
4
+ import { computed as r, createElementBlock as i, normalizeClass as a, openBlock as o, toDisplayString as s } from "vue";
5
+ import { APPLICATION_TYPE as c } from "color-star-custom-components";
6
+ import '../assets/ApplicationTypeTag.css';//#region components/ApplicationTypeTag/config.js
7
+ var l = () => {
8
+ let { t: e } = t();
9
+ return { APPLICATION_TYPE_TAB_LIST: [
10
+ {
11
+ get label() {
12
+ return e("APPLICATION_LIBRARY.TAB_LIST.ALL");
13
+ },
14
+ value: c.all
15
+ },
16
+ {
17
+ get label() {
18
+ return e("APPLICATION_LIBRARY.TAB_LIST.AGENT");
19
+ },
20
+ value: c.autonomous,
21
+ get alias() {
22
+ return e("APPLICATION_LIBRARY.TAB_LIST.PLANNED");
23
+ }
24
+ },
25
+ {
26
+ get label() {
27
+ return e("APPLICATION_LIBRARY.TAB_LIST.AGENT_DIALOG");
28
+ },
29
+ value: c.dialogue,
30
+ get alias() {
31
+ return e("APPLICATION_LIBRARY.TAB_LIST.DIALOG");
32
+ }
33
+ },
34
+ {
35
+ label: "多智能体",
36
+ value: c.multi,
37
+ alias: "多智能体"
38
+ }
39
+ ] };
40
+ }, u = e(/* @__PURE__ */ n(/* @__PURE__ */ Object.assign({ name: "ApplicationTypeTag" }, {
41
+ __name: "layout",
42
+ props: { type: {
43
+ type: [String, Number],
44
+ required: !0
45
+ } },
46
+ setup(e) {
47
+ let t = e, { APPLICATION_TYPE_TAB_LIST: n } = l(), u = r(() => n.find((e) => e.value === t.type)?.alias || ""), d = r(() => t.type === c.dialogue ? "dialogue" : "autonomously");
48
+ return (e, t) => (o(), i("div", { class: a(d.value) }, s(u.value), 3));
49
+ }
50
+ }), [["__scopeId", "data-v-d97d0a0a"]]));
51
+ //#endregion
52
+ export { l as n, u as t };
@@ -0,0 +1,47 @@
1
+ import { t as e } from "./withinstall.dLh4K-0g.js";
2
+ import { m as t } from "./i18n.CgtinrDD.js";
3
+ import { t as n } from "./_plugin-vue_export-helper.Ct3qlEzt.js";
4
+ import { computed as r, createElementBlock as i, normalizeClass as a, openBlock as o, toDisplayString as s } from "vue";
5
+ import { APPLICATION_TYPE as c } from "color-star-custom-components";
6
+ import '../assets/ApplicationTypeTag.css';//#region components/ApplicationTypeTag/config.js
7
+ var l = () => {
8
+ let { t: e } = t();
9
+ return { APPLICATION_TYPE_TAB_LIST: [
10
+ {
11
+ get label() {
12
+ return e("APPLICATION_LIBRARY.TAB_LIST.ALL");
13
+ },
14
+ value: c.all
15
+ },
16
+ {
17
+ get label() {
18
+ return e("APPLICATION_LIBRARY.TAB_LIST.AGENT");
19
+ },
20
+ value: c.autonomous,
21
+ get alias() {
22
+ return e("APPLICATION_LIBRARY.TAB_LIST.PLANNED");
23
+ }
24
+ },
25
+ {
26
+ get label() {
27
+ return e("APPLICATION_LIBRARY.TAB_LIST.AGENT_DIALOG");
28
+ },
29
+ value: c.dialogue,
30
+ get alias() {
31
+ return e("APPLICATION_LIBRARY.TAB_LIST.DIALOG");
32
+ }
33
+ }
34
+ ] };
35
+ }, u = e(/* @__PURE__ */ n(/* @__PURE__ */ Object.assign({ name: "ApplicationTypeTag" }, {
36
+ __name: "layout",
37
+ props: { type: {
38
+ type: [String, Number],
39
+ required: !0
40
+ } },
41
+ setup(e) {
42
+ let t = e, { APPLICATION_TYPE_TAB_LIST: n } = l(), u = r(() => n.find((e) => e.value === t.type)?.alias || ""), d = r(() => t.type === c.dialogue ? "dialogue" : "autonomously");
43
+ return (e, t) => (o(), i("div", { class: a(d.value) }, s(u.value), 3));
44
+ }
45
+ }), [["__scopeId", "data-v-d97d0a0a"]]));
46
+ //#endregion
47
+ export { l as n, u as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./withinstall.CMngc-br.js";
2
- import { m as t } from "./i18n.CfGGAcJH.js";
2
+ import { m as t } from "./i18n.yuai-sb4.js";
3
3
  import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
4
4
  import { computed as r, createElementBlock as i, normalizeClass as a, openBlock as o, toDisplayString as s } from "vue";
5
5
  import { APPLICATION_TYPE as c } from "color-star-custom-components";
@@ -0,0 +1,201 @@
1
+ import { t as e } from "./withinstall.dLh4K-0g.js";
2
+ import { m as t } from "./i18n.CgtinrDD.js";
3
+ import { t as n } from "./_plugin-vue_export-helper.Ct3qlEzt.js";
4
+ import { t as r } from "./RadioGroup.Czc1JtkN.js";
5
+ import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, normalizeClass as d, openBlock as f, ref as p, toDisplayString as m, unref as h, vShow as g, watch as _, withCtx as v, withDirectives as y } from "vue";
6
+ import { ElIcon as b, ElInput as x, ElTooltip as S } from "element-plus";
7
+ import { IconTip as C } from "color-message-aibox-vue";
8
+ import '../assets/AuthSection.css';//#region components/AuthSection/AuthSection.vue
9
+ var w = { class: "auth-section" }, T = {
10
+ key: 2,
11
+ class: "auth-input-field"
12
+ }, E = { class: "field-label" }, D = {
13
+ key: 3,
14
+ class: "auth-input-field"
15
+ }, O = { class: "field-label" }, k = e(/* @__PURE__ */ n(/* @__PURE__ */ Object.assign({ name: "AuthSection" }, {
16
+ __name: "AuthSection",
17
+ props: {
18
+ layout: {
19
+ type: String,
20
+ default: "horizontal"
21
+ },
22
+ featData: {
23
+ type: Object,
24
+ default: () => ({ auth: {} })
25
+ }
26
+ },
27
+ emits: [
28
+ "update:featData",
29
+ "auth-validation-errors",
30
+ "resetDebugStatus"
31
+ ],
32
+ setup(e, { expose: n, emit: k }) {
33
+ let { t: A } = t(), j = e, M = i({
34
+ get: () => j.featData,
35
+ set: (e) => N("update:featData", e)
36
+ }), N = k, P = () => {
37
+ N("resetDebugStatus");
38
+ }, F = [{
39
+ value: "none",
40
+ label: A("COMMON_AUTHSECTION.LABEL_NO_AUTH")
41
+ }, {
42
+ value: "apiKey",
43
+ label: A("COMMON_AUTHSECTION.LABEL_API_KEY")
44
+ }], I = [{
45
+ value: "bearer",
46
+ label: A("COMMON_AUTHSECTION.LABEL_BEARER")
47
+ }, {
48
+ value: "custom",
49
+ label: A("COMMON_AUTHSECTION.LABEL_CUSTOM")
50
+ }], L = [{
51
+ value: "header",
52
+ label: A("COMMON_AUTHSECTION.LABEL_KEY_LOCATION_HEADER")
53
+ }, {
54
+ value: "query",
55
+ label: A("COMMON_AUTHSECTION.LABEL_KEY_LOCATION_QUERY")
56
+ }], R = (e) => {
57
+ P(), V.value = {}, e === "apiKey" ? M.value.auth = {
58
+ authType: "apiKey",
59
+ keyType: "custom",
60
+ paramLocation: "header",
61
+ paramName: "",
62
+ paramValue: "",
63
+ token: ""
64
+ } : M.value.auth = { authType: "none" };
65
+ }, z = (e) => {
66
+ P(), V.value = {}, e === "bearer" ? (M.value.auth.paramName = "", M.value.auth.paramValue = "") : e === "custom" && (M.value.auth.token = "");
67
+ }, B = (e) => {
68
+ console.log(e, "value"), P(), V.value = {}, e === "query" && (M.value.auth.token = "", M.value.auth.keyType = "custom");
69
+ }, V = p({}), H = () => (P(), V.value = {}, M.value.auth.authType === "apiKey" && (M.value.auth.keyType === "custom" && (M.value.auth.paramName || (V.value.paramName = !0)), M.value.auth.keyType === "custom" && (M.value.auth.paramValue || (V.value.paramValue = !0)), M.value.auth.keyType === "bearer" && (M.value.auth.token || (V.value.token = !0))), V.value);
70
+ return _(() => V.value, () => {
71
+ N("auth-validation-errors", V.value);
72
+ }), n({ validateField: H }), (t, n) => (f(), s("div", w, [
73
+ u(h(r), {
74
+ modelValue: M.value.auth.authType,
75
+ "onUpdate:modelValue": n[0] ||= (e) => M.value.auth.authType = e,
76
+ options: F,
77
+ label: h(A)("COMMON_AUTHSECTION.LABEL_AUTH_TYPE"),
78
+ required: !0,
79
+ className: "auth-radio-group",
80
+ layout: e.layout,
81
+ onChange: R
82
+ }, null, 8, [
83
+ "modelValue",
84
+ "label",
85
+ "layout"
86
+ ]),
87
+ M.value.auth.authType === "apiKey" ? (f(), a(h(r), {
88
+ key: 0,
89
+ modelValue: M.value.auth.paramLocation,
90
+ "onUpdate:modelValue": n[1] ||= (e) => M.value.auth.paramLocation = e,
91
+ options: L,
92
+ label: h(A)("COMMON_AUTHSECTION.LABEL_KEY_LOCATION"),
93
+ "tip-text": h(A)("COMMON_AUTHSECTION.LABEL_KEY_LOCATION_TIP"),
94
+ required: !0,
95
+ className: "location-radio-group",
96
+ layout: e.layout,
97
+ onChange: B
98
+ }, null, 8, [
99
+ "modelValue",
100
+ "label",
101
+ "tip-text",
102
+ "layout"
103
+ ])) : o("", !0),
104
+ M.value.auth.authType === "apiKey" && M.value.auth.paramLocation === "header" ? (f(), a(h(r), {
105
+ key: 1,
106
+ modelValue: M.value.auth.keyType,
107
+ "onUpdate:modelValue": n[2] ||= (e) => M.value.auth.keyType = e,
108
+ options: I,
109
+ label: h(A)("COMMON_AUTHSECTION.LABEL_KEY_TYPE"),
110
+ "tip-text": h(A)("COMMON_AUTHSECTION.LABEL_KEY_TYPE_TIP"),
111
+ required: !0,
112
+ className: "key-radio-group",
113
+ layout: e.layout,
114
+ onChange: z
115
+ }, null, 8, [
116
+ "modelValue",
117
+ "label",
118
+ "tip-text",
119
+ "layout"
120
+ ])) : o("", !0),
121
+ M.value.auth.authType === "apiKey" && M.value.auth.keyType === "custom" ? (f(), s("div", T, [c("div", E, [
122
+ n[6] ||= c("span", { class: "required" }, "*", -1),
123
+ l(" " + m(h(A)("COMMON_AUTHSECTION.LABEL_KEY_NAME")) + " ", 1),
124
+ u(h(S), {
125
+ content: h(A)("COMMON_AUTHSECTION.LABEL_KEY_NAME_TIP"),
126
+ placement: "top"
127
+ }, {
128
+ default: v(() => [u(h(b), {
129
+ style: { "margin-left": "4px" },
130
+ size: "14px",
131
+ color: "#999"
132
+ }, {
133
+ default: v(() => [u(h(C))]),
134
+ _: 1
135
+ })]),
136
+ _: 1
137
+ }, 8, ["content"])
138
+ ]), u(h(x), {
139
+ modelValue: M.value.auth.paramName,
140
+ "onUpdate:modelValue": n[3] ||= (e) => M.value.auth.paramName = e,
141
+ placeholder: h(A)("COMMON_AUTHSECTION.LABEL_KEY_NAME_PLACEHOLDER"),
142
+ maxlength: "64",
143
+ "show-word-limit": "",
144
+ class: d(["key-input", { "error-input": V.value.paramName }]),
145
+ onBlur: H
146
+ }, null, 8, [
147
+ "modelValue",
148
+ "placeholder",
149
+ "class"
150
+ ])])) : o("", !0),
151
+ M.value.auth.authType === "apiKey" ? (f(), s("div", D, [
152
+ c("div", O, [
153
+ n[7] ||= c("span", { class: "required" }, "*", -1),
154
+ l(" " + m(h(A)("COMMON_AUTHSECTION.LABEL_KEY_VALUE")) + " ", 1),
155
+ u(h(S), {
156
+ content: h(A)("COMMON_AUTHSECTION.LABEL_KEY_VALUE_TIP"),
157
+ placement: "top"
158
+ }, {
159
+ default: v(() => [u(h(b), {
160
+ style: { "margin-left": "4px" },
161
+ size: "14px",
162
+ color: "#999"
163
+ }, {
164
+ default: v(() => [u(h(C))]),
165
+ _: 1
166
+ })]),
167
+ _: 1
168
+ }, 8, ["content"])
169
+ ]),
170
+ y(u(h(x), {
171
+ modelValue: M.value.auth.paramValue,
172
+ "onUpdate:modelValue": n[4] ||= (e) => M.value.auth.paramValue = e,
173
+ placeholder: h(A)("COMMON_AUTHSECTION.LABEL_KEY_VALUE_PLACEHOLDER"),
174
+ maxlength: "20000",
175
+ "show-word-limit": "",
176
+ class: d(["key-input", { "error-input": V.value.paramValue }]),
177
+ onBlur: H
178
+ }, null, 8, [
179
+ "modelValue",
180
+ "placeholder",
181
+ "class"
182
+ ]), [[g, M.value.auth.keyType === "custom"]]),
183
+ y(u(h(x), {
184
+ modelValue: M.value.auth.token,
185
+ "onUpdate:modelValue": n[5] ||= (e) => M.value.auth.token = e,
186
+ placeholder: h(A)("COMMON_AUTHSECTION.LABEL_KEY_VALUE_PLACEHOLDER"),
187
+ maxlength: "20000",
188
+ "show-word-limit": "",
189
+ class: d(["key-input", { "error-input": V.value.token }]),
190
+ onBlur: H
191
+ }, null, 8, [
192
+ "modelValue",
193
+ "placeholder",
194
+ "class"
195
+ ]), [[g, M.value.auth.keyType === "bearer"]])
196
+ ])) : o("", !0)
197
+ ]));
198
+ }
199
+ }), [["__scopeId", "data-v-6b26c051"]]));
200
+ //#endregion
201
+ export { k as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./withinstall.CMngc-br.js";
2
- import { m as t } from "./i18n.CfGGAcJH.js";
2
+ import { m as t } from "./i18n.yuai-sb4.js";
3
3
  import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
4
4
  import { t as r } from "./RadioGroup.CB4jkuR3.js";
5
5
  import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, normalizeClass as d, openBlock as f, ref as p, toDisplayString as m, unref as h, vShow as g, watch as _, withCtx as v, withDirectives as y } from "vue";
@@ -0,0 +1,82 @@
1
+ import { t as e } from "./withinstall.dLh4K-0g.js";
2
+ import { t } from "./_plugin-vue_export-helper.Ct3qlEzt.js";
3
+ import { createBlock as n, createElementBlock as r, createElementVNode as i, nextTick as a, normalizeStyle as o, onBeforeUnmount as s, onMounted as c, openBlock as l, ref as u, renderSlot as d, toDisplayString as f, unref as p, watch as m, withCtx as h } from "vue";
4
+ import { ElTooltip as g } from "element-plus";
5
+ import '../assets/AutoShowTooltip.css';//#region components/AutoShowTooltip/AutoShowTooltip.vue
6
+ var _ = { key: 1 }, v = e(/* @__PURE__ */ t({
7
+ __name: "AutoShowTooltip",
8
+ props: {
9
+ content: {
10
+ type: [String, null],
11
+ default: ""
12
+ },
13
+ placement: {
14
+ type: String,
15
+ default: "top"
16
+ },
17
+ textClass: {
18
+ type: String,
19
+ default: ""
20
+ },
21
+ row: {
22
+ type: Number,
23
+ default: 1
24
+ },
25
+ popperStyle: {
26
+ type: Object,
27
+ default: () => ({ maxWidth: "300px" })
28
+ }
29
+ },
30
+ setup(e) {
31
+ let t = e, v = u(null), y = u(!1), b = null;
32
+ function x() {
33
+ let e = v.value;
34
+ if (!e) {
35
+ y.value = !1;
36
+ return;
37
+ }
38
+ if (e.offsetParent === null || e.offsetWidth === 0 || e.offsetHeight === 0) {
39
+ y.value = !1;
40
+ return;
41
+ }
42
+ y.value = e.scrollHeight > e.clientHeight + 1;
43
+ }
44
+ return m([() => t.content, () => t.row], () => {
45
+ a(() => {
46
+ setTimeout(() => {
47
+ x();
48
+ }, 50);
49
+ });
50
+ }, { immediate: !1 }), c(() => {
51
+ setTimeout(() => {
52
+ x();
53
+ }, 100), b = new ResizeObserver(() => {
54
+ clearTimeout(b.timeoutId), b.timeoutId = setTimeout(() => {
55
+ x();
56
+ }, 100);
57
+ }), v.value && b.observe(v.value);
58
+ }), s(() => {
59
+ b && (b.timeoutId && clearTimeout(b.timeoutId), v.value && b.unobserve(v.value), b.disconnect());
60
+ }), (t, a) => (l(), n(p(g), {
61
+ content: e.content || "",
62
+ disabled: !y.value || !e.content,
63
+ placement: e.placement,
64
+ "popper-style": e.popperStyle
65
+ }, {
66
+ default: h(() => [i("div", {
67
+ ref_key: "textRef",
68
+ ref: v,
69
+ class: "auto-show-tooltip",
70
+ style: o({ WebkitLineClamp: e.row })
71
+ }, [t.$slots.default ? d(t.$slots, "default", { key: 0 }, void 0, !0) : (l(), r("div", _, f(e.content || ""), 1))], 4)]),
72
+ _: 3
73
+ }, 8, [
74
+ "content",
75
+ "disabled",
76
+ "placement",
77
+ "popper-style"
78
+ ]));
79
+ }
80
+ }, [["__scopeId", "data-v-1eb5133e"]]));
81
+ //#endregion
82
+ export { v as t };
@@ -39,8 +39,7 @@ var _ = { key: 1 }, v = e(/* @__PURE__ */ t({
39
39
  y.value = !1;
40
40
  return;
41
41
  }
42
- let t = e.scrollHeight, n = e.clientHeight;
43
- y.value = t > n + 1;
42
+ y.value = e.scrollHeight > e.clientHeight + 1;
44
43
  }
45
44
  return m([() => t.content, () => t.row], () => {
46
45
  a(() => {
@@ -69,7 +68,7 @@ var _ = { key: 1 }, v = e(/* @__PURE__ */ t({
69
68
  ref: v,
70
69
  class: "auto-show-tooltip",
71
70
  style: o({ WebkitLineClamp: e.row })
72
- }, [t.$slots.default ? d(t.$slots, "default", {}, void 0, !0, 0) : (l(), r("div", _, f(e.content || ""), 1))], 4)]),
71
+ }, [t.$slots.default ? d(t.$slots, "default", { key: 0 }, void 0, !0) : (l(), r("div", _, f(e.content || ""), 1))], 4)]),
73
72
  _: 3
74
73
  }, 8, [
75
74
  "content",
@@ -0,0 +1,194 @@
1
+ import { t as e } from "./withinstall.dLh4K-0g.js";
2
+ import { m as t } from "./i18n.CgtinrDD.js";
3
+ import { t as n } from "./_plugin-vue_export-helper.Ct3qlEzt.js";
4
+ import { i as r, n as i, o as a, t as o } from "./config.ByP8moyl.js";
5
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, nextTick as h, normalizeClass as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as C, withCtx as w } from "vue";
6
+ import { ElButton as T, ElPopover as E } from "element-plus";
7
+ import '../assets/AvailableRangePreview.css';//#region components/AvailableRangePreview/TagList.vue
8
+ var D = {
9
+ key: 0,
10
+ class: "pd-l-16 text-dee0e3 pd-r-16"
11
+ }, O = { class: "fz-14 text-646a73 nowrap" }, k = { class: "tag-item nowrap fz-12 pd-l-8 pd-r-8 radius-4 bg-eaf0fe text-3271fe pointer" }, A = { class: "tag-list-popover overflow-y-auto flex gap-4 flex-wrap" }, j = /* @__PURE__ */ n({
12
+ __name: "TagList",
13
+ props: {
14
+ label: {
15
+ type: String,
16
+ required: !0
17
+ },
18
+ items: {
19
+ type: Array,
20
+ default: () => []
21
+ },
22
+ readonly: {
23
+ type: Boolean,
24
+ default: !1
25
+ }
26
+ },
27
+ setup(e) {
28
+ let t = e, n = c(() => t.readonly ? t.items : t.items.slice(0, o.one)), r = c(() => t.items.length > o.one), i = c(() => t.items.length - o.one), a = c(() => t.items.slice(o.one));
29
+ return (t, o) => e.items.length > 0 ? (v(), d(s, { key: 0 }, [
30
+ e.readonly ? u("", !0) : (v(), d("span", D, "|")),
31
+ f("span", O, x(e.label), 1),
32
+ f("div", { class: g(["tag-list", { "flex items-center gap-4": !e.readonly }]) }, [(v(!0), d(s, null, b(n.value, (t) => (v(), d("div", {
33
+ key: t.memberId,
34
+ class: g(["tag-item fz-12 pd-l-8 pd-r-8 radius-4 bg-eaf0fe text-3271fe nowrap", { "mg-r-4 mg-b-4": e.readonly }])
35
+ }, x(t.memberName), 3))), 128)), !e.readonly && r.value ? (v(), l(S(E), {
36
+ key: 0,
37
+ placement: "top",
38
+ trigger: "click",
39
+ width: "300",
40
+ "popper-class": "tag-list-popover-wrapper"
41
+ }, {
42
+ reference: w(() => [f("span", k, " +" + x(i.value), 1)]),
43
+ default: w(() => [f("div", A, [(v(!0), d(s, null, b(a.value, (e) => (v(), d("span", {
44
+ key: e.memberId,
45
+ class: "tag-item nowrap fz-12 pd-l-8 pd-r-8 radius-4 bg-eaf0fe text-3271fe"
46
+ }, x(e.memberName), 1))), 128))])]),
47
+ _: 1
48
+ })) : u("", !0)], 2)
49
+ ], 64)) : u("", !0);
50
+ }
51
+ }, [["__scopeId", "data-v-a2c44011"]]), M = (e, t) => e?.filter(t) || [], N = (e, t) => M(e, (e) => e.memberType === t), P = (e, t) => {
52
+ if (e.children) for (let n of e.children) n.memberType === i.MEMBER ? t(n) : n.memberType === i.DEPARTMENT && P(n, t);
53
+ }, F = (e) => {
54
+ let t = [];
55
+ return P(e, (e) => t.push(e.memberId)), t;
56
+ };
57
+ function I(e, t, n = !1) {
58
+ let r = c(() => {
59
+ if (!e.value) return [];
60
+ let n = [...e.value], r = N(n, i.DEPARTMENT);
61
+ if (r.length > 0 && t.value && t.value.length > 0) {
62
+ let e = /* @__PURE__ */ new Set();
63
+ r.forEach((n) => {
64
+ let r = (t) => {
65
+ for (let a of t) if (a.memberType === i.DEPARTMENT && a.memberId === n.memberId) return P(a, (t) => e.add(t)), !0;
66
+ else if (a.children && r(a.children)) return !0;
67
+ return !1;
68
+ };
69
+ r(t.value);
70
+ });
71
+ let a = new Set(N(n, i.MEMBER).map((e) => e.memberId));
72
+ e.forEach((e) => {
73
+ a.has(e.memberId) || n.push(e);
74
+ });
75
+ }
76
+ return n;
77
+ }), a = c(() => {
78
+ if (n) return N(r.value, i.MEMBER);
79
+ {
80
+ let e = /* @__PURE__ */ new Set();
81
+ return o.value.forEach((t) => {
82
+ F(t).forEach((t) => e.add(t));
83
+ }), M(r.value, (t) => t.memberType === i.MEMBER && !e.has(t.memberId));
84
+ }
85
+ }), o = c(() => {
86
+ if (n) return N(r.value, i.DEPARTMENT);
87
+ {
88
+ let e = [], n = (e) => {
89
+ if (!e.children || e.children.length === 0) return !1;
90
+ let t = F(e);
91
+ return t.length === 0 ? !1 : t.every((e) => r.value.some((t) => t.memberType === i.MEMBER && t.memberId === e));
92
+ }, a = (t, r = !1) => {
93
+ if (t.memberType === i.DEPARTMENT) {
94
+ let o = n(t);
95
+ if (o && !r) {
96
+ if (e.push({
97
+ memberId: t.memberId,
98
+ memberName: t.memberName,
99
+ memberType: i.DEPARTMENT,
100
+ bnid: t.bnid,
101
+ children: t.children
102
+ }), t.children) for (let e of t.children) a(e, !0);
103
+ } else if (!o && t.children) for (let e of t.children) a(e, !1);
104
+ }
105
+ };
106
+ for (let e of t.value) a(e, !1);
107
+ return e;
108
+ }
109
+ });
110
+ return {
111
+ selectedMembers: a,
112
+ selectedDepartments: o
113
+ };
114
+ }
115
+ //#endregion
116
+ //#region components/AvailableRangePreview/layout.vue
117
+ var L = { class: "text-1f2329" }, R = { class: "fz-14 text-1f2329" }, z = e({
118
+ __name: "layout",
119
+ props: {
120
+ allVisible: {
121
+ type: Boolean,
122
+ default: r.ALL
123
+ },
124
+ modelValue: {
125
+ type: Array,
126
+ default: () => []
127
+ },
128
+ treeList: {
129
+ type: Array,
130
+ default: () => []
131
+ },
132
+ readonly: {
133
+ type: Boolean,
134
+ default: !1
135
+ }
136
+ },
137
+ setup(e, { expose: n }) {
138
+ let { t: i } = t(), o = y(null), b = () => {
139
+ o.value && h(() => {
140
+ o.value.scrollIntoView({
141
+ behavior: "smooth",
142
+ block: "center"
143
+ });
144
+ });
145
+ }, E = e, { selectedMembers: D, selectedDepartments: O } = I(c(() => E.modelValue), c(() => E.treeList), E.readonly), k = c(() => [...D.value, ...O.value]);
146
+ return C(() => [E.allVisible, E.modelValue], () => {
147
+ b();
148
+ }, {
149
+ immediate: !1,
150
+ deep: !0
151
+ }), _(() => {
152
+ b();
153
+ }), n({ allSelectedItems: k }), (t, n) => (v(), d("div", {
154
+ ref_key: "previewRef",
155
+ ref: o,
156
+ class: g(["available-range-preview w-full overflow-hidden", { "flex items-center": !e.readonly }])
157
+ }, [e.readonly ? u("", !0) : (v(), d(s, { key: 0 }, [
158
+ f("div", L, x(S(i)("COMMON_DICT.ENUMS.AVAILABLE_RANGE")) + ": ", 1),
159
+ f("span", R, x(S(a).find((t) => t.value === e.allVisible)?.label), 1),
160
+ m(S(T), {
161
+ class: "mg-l-16",
162
+ type: "primary",
163
+ link: "",
164
+ onClick: n[0] ||= (e) => t.$emit("edit")
165
+ }, {
166
+ default: w(() => [p(x(S(i)("COMMON_BUTTON.EDIT_TEXT")), 1)]),
167
+ _: 1
168
+ })
169
+ ], 64)), e.allVisible === S(r).PARTIAL ? (v(), d("div", {
170
+ key: 1,
171
+ class: g(["flex-1 overflow-hidden", { "flex items-center": !e.readonly }])
172
+ }, [S(D)?.length ? (v(), l(j, {
173
+ key: 0,
174
+ label: S(i)("COMMON_DICT.ENUMS.MEMBER") + ":",
175
+ items: S(D),
176
+ readonly: e.readonly
177
+ }, null, 8, [
178
+ "label",
179
+ "items",
180
+ "readonly"
181
+ ])) : u("", !0), S(O)?.length ? (v(), l(j, {
182
+ key: 1,
183
+ label: S(i)("COMMON_DICT.ENUMS.DEPARTMENT") + ":",
184
+ items: S(O),
185
+ readonly: e.readonly
186
+ }, null, 8, [
187
+ "label",
188
+ "items",
189
+ "readonly"
190
+ ])) : u("", !0)], 2)) : u("", !0)], 2));
191
+ }
192
+ }), B = e(j);
193
+ //#endregion
194
+ export { B as n, I as r, z as t };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./withinstall.CMngc-br.js";
2
- import { m as t } from "./i18n.CfGGAcJH.js";
2
+ import { m as t } from "./i18n.yuai-sb4.js";
3
3
  import { t as n } from "./_plugin-vue_export-helper.B3ysoDQm.js";
4
- import { i as r, n as i, o as a, t as o } from "./config.rFstR-MG.js";
4
+ import { i as r, n as i, o as a, t as o } from "./config.Cneaz-Di.js";
5
5
  import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, nextTick as h, normalizeClass as g, onMounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, watch as C, withCtx as w } from "vue";
6
6
  import { ElButton as T, ElPopover as E } from "element-plus";
7
7
  import '../assets/AvailableRangePreview.css';//#region components/AvailableRangePreview/TagList.vue
@@ -88,7 +88,7 @@ function I(e, t, n = !1) {
88
88
  let e = [], n = (e) => {
89
89
  if (!e.children || e.children.length === 0) return !1;
90
90
  let t = F(e);
91
- return t.length !== 0 && t.every((e) => r.value.some((t) => t.memberType === i.MEMBER && t.memberId === e));
91
+ return t.length === 0 ? !1 : t.every((e) => r.value.some((t) => t.memberType === i.MEMBER && t.memberId === e));
92
92
  }, a = (t, r = !1) => {
93
93
  if (t.memberType === i.DEPARTMENT) {
94
94
  let o = n(t);
@@ -114,7 +114,7 @@ function I(e, t, n = !1) {
114
114
  }
115
115
  //#endregion
116
116
  //#region components/AvailableRangePreview/layout.vue
117
- var L = { class: "text-1f2329" }, R = { class: "fz-14 text-1f2329" }, z = {
117
+ var L = { class: "text-1f2329" }, R = { class: "fz-14 text-1f2329" }, z = e({
118
118
  __name: "layout",
119
119
  props: {
120
120
  allVisible: {
@@ -189,6 +189,6 @@ var L = { class: "text-1f2329" }, R = { class: "fz-14 text-1f2329" }, z = {
189
189
  "readonly"
190
190
  ])) : u("", !0)], 2)) : u("", !0)], 2));
191
191
  }
192
- }, B = e(z), V = e(j);
192
+ }), B = e(j);
193
193
  //#endregion
194
- export { V as n, I as r, B as t };
194
+ export { B as n, I as r, z as t };