aibox-custom-component-packages 0.0.7 → 0.0.9

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 (323) hide show
  1. package/es/AddOrEditSupplierDialog.mjs +6 -786
  2. package/es/ApplicationTypeTag.mjs +2 -58
  3. package/es/AuthSection.mjs +3 -199
  4. package/es/AutoShowTooltip.mjs +2 -90
  5. package/es/AvailableRangePreview.mjs +2 -7
  6. package/es/AvailableRangeSetting.mjs +5 -272
  7. package/es/CodeView.mjs +6 -7
  8. package/es/CommonTagsList.mjs +3 -209
  9. package/es/CreateMcpForm.mjs +10 -384
  10. package/es/CustomSidebar.mjs +2 -712
  11. package/es/CustomTitle.mjs +6 -7
  12. package/es/CustomToggle.mjs +2 -170
  13. package/es/DialogContainer.mjs +2 -136
  14. package/es/DocSyncSelect.mjs +2 -0
  15. package/es/FileDisplay.mjs +4 -6
  16. package/es/FilePreview.mjs +3 -179
  17. package/es/FileUploader.mjs +2 -268
  18. package/es/Logo.mjs +2 -0
  19. package/es/McpFormDialog.mjs +11 -8
  20. package/es/McpParamsSet.mjs +8 -630
  21. package/es/MdEditor.mjs +2 -201
  22. package/es/PageContainer.mjs +4 -362
  23. package/es/ParameterTable.mjs +6 -2288
  24. package/es/PublishRecord.mjs +2 -179
  25. package/es/RadioGroup.mjs +2 -119
  26. package/es/SourcePublish.mjs +7 -1154
  27. package/es/Table.mjs +6 -10
  28. package/es/assets/AddOrEditSupplierDialog.css +1 -1
  29. package/es/assets/AiboxTable.css +1 -1
  30. package/es/assets/ApplicationTypeTag.css +1 -1
  31. package/es/assets/AuthSection.css +1 -1
  32. package/es/assets/AutoShowTooltip.css +1 -1
  33. package/es/assets/AvailableRangePreview.css +1 -0
  34. package/es/assets/CodeView.css +1 -0
  35. package/es/assets/CommonTagsList.css +1 -1
  36. package/es/assets/CreateMcpForm.css +1 -1
  37. package/es/assets/CustomSidebar.css +1 -1
  38. package/es/assets/CustomToggle.css +1 -1
  39. package/es/assets/DialogContainer.css +1 -1
  40. package/es/assets/DocSyncSelect.css +1 -0
  41. package/es/assets/FileDisplay.css +1 -0
  42. package/es/assets/FilePreview.css +1 -1
  43. package/es/assets/FileUploader.css +1 -1
  44. package/es/assets/Logo.css +1 -0
  45. package/es/assets/{index2.css → McpFormDialog.css} +1 -1
  46. package/es/assets/McpParamsSet.css +1 -1
  47. package/es/assets/MdEditor.css +1 -1
  48. package/es/assets/PageContainer.css +1 -1
  49. package/es/assets/ParameterTable.css +1 -1
  50. package/es/assets/PublishRecord.css +1 -1
  51. package/es/assets/RadioGroup.css +1 -1
  52. package/es/assets/SourcePublish.css +1 -1
  53. package/es/assets/layout.css +1 -1
  54. package/es/assets/legacy.css +1 -0
  55. package/es/assets/usePreview.css +10 -1
  56. package/es/chunks/AddOrEditSupplierDialog.BKR0RsiJ.js +721 -0
  57. package/es/chunks/AddOrEditSupplierDialog.CjNRipPe.js +721 -0
  58. package/es/chunks/AiboxTable.CrWMAX84.js +635 -0
  59. package/es/chunks/ApplicationTypeTag.Cbdi0D65.js +47 -0
  60. package/es/chunks/AuthSection.DWD_FxtJ.js +201 -0
  61. package/es/chunks/AutoShowTooltip.C_DI9t2Z.js +82 -0
  62. package/es/chunks/AvailableRangePreview.Bz9QkkAM.js +194 -0
  63. package/es/chunks/AvailableRangeSetting.Bq_K1zar.js +229 -0
  64. package/es/chunks/CodeView.CWuSIL_F.js +148 -0
  65. package/es/chunks/CommonTagsList.DSPdgjc3.js +156 -0
  66. package/es/chunks/CreateMcpForm.BBVVd2RN.js +308 -0
  67. package/es/chunks/CreateMcpForm.C8YfDSEM.js +308 -0
  68. package/es/chunks/CustomSidebar.BSGAhmVY.js +585 -0
  69. package/es/chunks/CustomToggle.BxxsaD-W.js +181 -0
  70. package/es/chunks/DialogContainer.DL7aTMDS.js +129 -0
  71. package/es/chunks/DocSyncSelect.Kk88o9gO.js +2290 -0
  72. package/es/chunks/FileDisplay.B5laA4uX.js +1649 -0
  73. package/es/chunks/FileDisplay.BCTNdpl9.js +1649 -0
  74. package/es/chunks/FileDisplay.CBNYrdsK.js +1560 -0
  75. package/es/chunks/FileDisplay.CJ7KCID6.js +1650 -0
  76. package/es/chunks/FilePreview.B9u8ODHp.js +123 -0
  77. package/es/chunks/FilePreview.De4zHsfc.js +123 -0
  78. package/es/chunks/FileUploader.DD-lopf-.js +216 -0
  79. package/es/chunks/Logo.0myMjGux.js +62 -0
  80. package/es/chunks/McpFormDialog.4HDExbTn.js +297 -0
  81. package/es/chunks/McpFormDialog.DNzqqhaX.js +297 -0
  82. package/es/chunks/McpParamsSet.Tlo_lPn-.js +501 -0
  83. package/es/chunks/MdEditor.DtL0Se7T.js +163 -0
  84. package/es/chunks/PageContainer.DXddaRs1.js +462 -0
  85. package/es/chunks/ParameterTable.BCdnj1gW.js +2010 -0
  86. package/es/chunks/PublishRecord.DEzC7hmP.js +133 -0
  87. package/es/chunks/RadioGroup.Czc1JtkN.js +107 -0
  88. package/es/chunks/SourcePublish.Dx-ltk9U.js +956 -0
  89. package/es/chunks/_plugin-vue_export-helper.Ct3qlEzt.js +8 -0
  90. package/es/chunks/chunk.EU29TkMc.js +20 -0
  91. package/es/chunks/config.MfNKPMiA.js +35 -0
  92. package/es/chunks/config.l1J_qxeB.js +270 -0
  93. package/es/chunks/enums.DDPWAqdV.js +13 -0
  94. package/es/chunks/field-types.zf28gvKR.js +7 -0
  95. package/es/chunks/files.DvOT1nf3.js +14 -0
  96. package/es/chunks/i18n.CxsxtRq_.js +418 -0
  97. package/es/chunks/layout.C9wKDpv-.js +19 -0
  98. package/es/chunks/publish.Z0XAASut.js +50 -0
  99. package/es/chunks/request.CfOHcfgX.js +5 -0
  100. package/es/chunks/usePreview.CMMjOD_o.js +148 -0
  101. package/es/chunks/usePreview.agdxmOk8.js +126 -0
  102. package/es/chunks/withinstall.dLh4K-0g.js +7 -0
  103. package/es/index.mjs +258 -328
  104. package/index.css +1 -1
  105. package/lib/AddOrEditSupplierDialog.js +1 -1
  106. package/lib/ApplicationTypeTag.js +1 -1
  107. package/lib/AuthSection.js +1 -1
  108. package/lib/AutoShowTooltip.js +1 -1
  109. package/lib/AvailableRangePreview.js +1 -1
  110. package/lib/AvailableRangeSetting.js +1 -1
  111. package/lib/CodeView.js +1 -1
  112. package/lib/CommonTagsList.js +1 -1
  113. package/lib/CreateMcpForm.js +1 -1
  114. package/lib/CustomSidebar.js +1 -1
  115. package/lib/CustomTitle.js +1 -1
  116. package/lib/CustomToggle.js +1 -1
  117. package/lib/DialogContainer.js +1 -1
  118. package/lib/DocSyncSelect.js +1 -0
  119. package/lib/FileDisplay.js +1 -1
  120. package/lib/FilePreview.js +1 -1
  121. package/lib/FileUploader.js +1 -1
  122. package/lib/Logo.js +1 -0
  123. package/lib/McpFormDialog.js +1 -1
  124. package/lib/McpParamsSet.js +1 -1
  125. package/lib/MdEditor.js +1 -1
  126. package/lib/PageContainer.js +1 -1
  127. package/lib/ParameterTable.js +1 -1
  128. package/lib/PublishRecord.js +1 -5
  129. package/lib/RadioGroup.js +1 -1
  130. package/lib/SourcePublish.js +1 -1
  131. package/lib/Table.js +1 -1
  132. package/lib/assets/AddOrEditSupplierDialog.css +1 -1
  133. package/lib/assets/AiboxTable.css +1 -1
  134. package/lib/assets/ApplicationTypeTag.css +1 -1
  135. package/lib/assets/AuthSection.css +1 -1
  136. package/lib/assets/AutoShowTooltip.css +1 -1
  137. package/lib/assets/AvailableRangePreview.css +1 -0
  138. package/lib/assets/CodeView.css +1 -0
  139. package/lib/assets/CommonTagsList.css +1 -1
  140. package/lib/assets/CreateMcpForm.css +1 -1
  141. package/lib/assets/CustomSidebar.css +1 -1
  142. package/lib/assets/CustomToggle.css +1 -1
  143. package/lib/assets/DialogContainer.css +1 -1
  144. package/lib/assets/DocSyncSelect.css +1 -0
  145. package/lib/assets/FileDisplay.css +1 -0
  146. package/lib/assets/FilePreview.css +1 -1
  147. package/lib/assets/FileUploader.css +1 -1
  148. package/lib/assets/Logo.css +1 -0
  149. package/lib/assets/{index2.css → McpFormDialog.css} +1 -1
  150. package/lib/assets/McpParamsSet.css +1 -1
  151. package/lib/assets/MdEditor.css +1 -1
  152. package/lib/assets/PageContainer.css +1 -1
  153. package/lib/assets/ParameterTable.css +1 -1
  154. package/lib/assets/PublishRecord.css +1 -1
  155. package/lib/assets/RadioGroup.css +1 -1
  156. package/lib/assets/SourcePublish.css +1 -1
  157. package/lib/assets/layout.css +1 -1
  158. package/lib/assets/legacy.css +1 -0
  159. package/lib/assets/usePreview.css +10 -1
  160. package/lib/chunks/AddOrEditSupplierDialog.D0DSQZiS.js +1 -0
  161. package/lib/chunks/AddOrEditSupplierDialog.XtPxc5yr.js +1 -0
  162. package/lib/chunks/AiboxTable.DFyqwoGc.js +1 -0
  163. package/lib/chunks/ApplicationTypeTag.CZReMt-9.js +1 -0
  164. package/lib/chunks/AuthSection.CP9c-YTW.js +1 -0
  165. package/lib/chunks/AutoShowTooltip.D3QQ36Bm.js +1 -0
  166. package/lib/chunks/AvailableRangePreview.DvREyHNH.js +1 -0
  167. package/lib/chunks/AvailableRangeSetting.DDHTOLJA.js +1 -0
  168. package/lib/chunks/CodeView.DeBxLqyC.js +1 -0
  169. package/lib/chunks/CommonTagsList.DbNcVId5.js +1 -0
  170. package/lib/chunks/CreateMcpForm.Cm9eHXWg.js +1 -0
  171. package/lib/chunks/CreateMcpForm.DNijYbgd.js +1 -0
  172. package/lib/chunks/CustomSidebar.Dojb1xoS.js +1 -0
  173. package/lib/chunks/CustomToggle.Dz7MRyOY.js +1 -0
  174. package/lib/chunks/DialogContainer.C0Hsohgn.js +1 -0
  175. package/lib/chunks/DocSyncSelect.1gaXRzps.js +2 -0
  176. package/lib/chunks/FileDisplay.B4gn0Jhp.js +59 -0
  177. package/lib/chunks/FileDisplay.B7JWIcFg.js +59 -0
  178. package/lib/chunks/FileDisplay.BSNmvK44.js +59 -0
  179. package/lib/chunks/FileDisplay.DjtHza32.js +59 -0
  180. package/lib/chunks/FilePreview.DX9e8_nx.js +1 -0
  181. package/lib/chunks/FilePreview.b1Gine59.js +1 -0
  182. package/lib/chunks/FileUploader.6IW_QL-h.js +1 -0
  183. package/lib/chunks/Logo.Jr7hhaH0.js +1 -0
  184. package/lib/chunks/McpFormDialog.CL2bInts.js +6 -0
  185. package/lib/chunks/McpFormDialog.DbhQIwYW.js +6 -0
  186. package/lib/chunks/McpParamsSet.BYrxVvDL.js +1 -0
  187. package/lib/chunks/MdEditor.rVQbuxCg.js +1 -0
  188. package/lib/chunks/PageContainer.elwvD8VL.js +1 -0
  189. package/lib/chunks/ParameterTable.CeufAEXh.js +1 -0
  190. package/lib/chunks/PublishRecord.B7xYlRKJ.js +5 -0
  191. package/lib/chunks/RadioGroup.cl57IvY3.js +1 -0
  192. package/lib/chunks/SourcePublish.K4tntn9l.js +1 -0
  193. package/lib/chunks/_plugin-vue_export-helper.Bgn9wawX.js +1 -0
  194. package/lib/chunks/chunk.BbA6Ugdl.js +1 -0
  195. package/lib/chunks/config.CDNV0bUm.js +1 -0
  196. package/lib/chunks/config.CZl1kYtI.js +1 -0
  197. package/lib/chunks/enums.DbdzzIzx.js +1 -0
  198. package/lib/chunks/field-types.C6f_z2S_.js +1 -0
  199. package/lib/chunks/files.BEXWmB32.js +1 -0
  200. package/lib/chunks/i18n.BGe5gOau.js +1 -0
  201. package/lib/chunks/layout.CK394aWE.js +1 -0
  202. package/lib/chunks/publish.DsepP8ll.js +1 -0
  203. package/lib/chunks/request.BuoFTs7h.js +1 -0
  204. package/lib/chunks/usePreview.7CCbmgQM.js +1 -0
  205. package/lib/chunks/usePreview.Dmhz8azZ.js +1 -0
  206. package/lib/chunks/withinstall.65aRnaVc.js +1 -0
  207. package/lib/index.js +2 -1
  208. package/package.json +6 -6
  209. package/es/AiboxTabs.mjs +0 -71
  210. package/es/ExampleComponent.mjs +0 -35
  211. package/es/assets/AiboxTabs.css +0 -1
  212. package/es/assets/BackBar.css +0 -1
  213. package/es/assets/ExampleComponent.css +0 -1
  214. package/es/assets/index.css +0 -1
  215. package/es/assets/index3.css +0 -1
  216. package/es/assets/index4.css +0 -1
  217. package/es/assets/index5.css +0 -1
  218. package/es/assets/index6.css +0 -1
  219. package/es/chunks/AiboxTable.DUGBBVXh.js +0 -645
  220. package/es/chunks/BackBar.B5Er8ZdJ.js +0 -645
  221. package/es/chunks/BackBar.Bc2NIuzk.js +0 -645
  222. package/es/chunks/BackBar.Cv1wxUcM.js +0 -645
  223. package/es/chunks/BackBar.DJV4JaUM.js +0 -645
  224. package/es/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -9
  225. package/es/chunks/config.8htFF04x.js +0 -325
  226. package/es/chunks/config.BPp4hMBq.js +0 -325
  227. package/es/chunks/config.BU21Gda2.js +0 -49
  228. package/es/chunks/config.BzCGum_W.js +0 -49
  229. package/es/chunks/config.CFWGjEdA.js +0 -49
  230. package/es/chunks/config.CfWAdyUH.js +0 -325
  231. package/es/chunks/config.DPkdwjwD.js +0 -49
  232. package/es/chunks/config.DTMcCH58.js +0 -325
  233. package/es/chunks/config.Dklrsn-B.js +0 -49
  234. package/es/chunks/config.DqhQdkz7.js +0 -325
  235. package/es/chunks/config.RrNwuFkQ.js +0 -325
  236. package/es/chunks/config.gNZ_rT87.js +0 -325
  237. package/es/chunks/enums.CfSBDD6u.js +0 -83
  238. package/es/chunks/enums.DuBbLcd-.js +0 -83
  239. package/es/chunks/enums.Dvec-maC.js +0 -62
  240. package/es/chunks/field-types.CPnMOjle.js +0 -13
  241. package/es/chunks/files.cduUqjHX.js +0 -16
  242. package/es/chunks/i18n.DDMVloiU.js +0 -443
  243. package/es/chunks/i18n.DmqkiK-h.js +0 -444
  244. package/es/chunks/i18n.Vhq-tZPw.js +0 -94
  245. package/es/chunks/i18n.k9Q_HVMs.js +0 -443
  246. package/es/chunks/i18n.ro9yz7rE.js +0 -94
  247. package/es/chunks/index.BSA3IKSF.js +0 -111
  248. package/es/chunks/index.BT1khSY9.js +0 -111
  249. package/es/chunks/index.CDvh263l.js +0 -257
  250. package/es/chunks/index.CLyfh6p1.js +0 -257
  251. package/es/chunks/index.CSjjAi3w.js +0 -396
  252. package/es/chunks/index.CdEBk4F_.js +0 -134
  253. package/es/chunks/index.CgbxJCEU.js +0 -265
  254. package/es/chunks/index.CuDwuRO7.js +0 -265
  255. package/es/chunks/index.DB0ayMv8.js +0 -257
  256. package/es/chunks/index.DWR4lc30.js +0 -203
  257. package/es/chunks/index.GuEzdh6b.js +0 -257
  258. package/es/chunks/index.aMb6IVQD.js +0 -257
  259. package/es/chunks/index.bCzIhWFw.js +0 -7
  260. package/es/chunks/index.ml5i7aB5.js +0 -257
  261. package/es/chunks/index.s-YxIOfq.js +0 -301
  262. package/es/chunks/index.uOZzvHrF.js +0 -135
  263. package/es/chunks/layout.BREUWPEJ.js +0 -26
  264. package/es/chunks/publish.BCb7nCo9.js +0 -50
  265. package/es/chunks/publish.D6friivo.js +0 -50
  266. package/es/chunks/publish.DlD0o09n.js +0 -50
  267. package/es/chunks/publish.Dqzn7qEl.js +0 -50
  268. package/es/chunks/request.24c3shPx.js +0 -5
  269. package/es/chunks/usePreview.B5lboHeg.js +0 -153
  270. package/es/chunks/usePreview.C36fNlVd.js +0 -153
  271. package/es/i18n.mjs +0 -17
  272. package/lib/AiboxTabs.js +0 -1
  273. package/lib/ExampleComponent.js +0 -1
  274. package/lib/assets/AiboxTabs.css +0 -1
  275. package/lib/assets/BackBar.css +0 -1
  276. package/lib/assets/ExampleComponent.css +0 -1
  277. package/lib/assets/index.css +0 -1
  278. package/lib/assets/index3.css +0 -1
  279. package/lib/assets/index4.css +0 -1
  280. package/lib/assets/index5.css +0 -1
  281. package/lib/assets/index6.css +0 -1
  282. package/lib/chunks/AiboxTable.BnoHJ7xL.js +0 -1
  283. package/lib/chunks/BackBar.C8Xrc6qW.js +0 -1
  284. package/lib/chunks/BackBar.CZsNxoX1.js +0 -1
  285. package/lib/chunks/BackBar.s5_vN6jt.js +0 -1
  286. package/lib/chunks/_plugin-vue_export-helper.BHFhmbuH.js +0 -1
  287. package/lib/chunks/config.1oaIKLGn.js +0 -1
  288. package/lib/chunks/config.B0XKkp1w.js +0 -1
  289. package/lib/chunks/config.BCAuBVxV.js +0 -1
  290. package/lib/chunks/config.BF7MO0O5.js +0 -1
  291. package/lib/chunks/config.Bs7sh3aP.js +0 -1
  292. package/lib/chunks/config.C1w4hgfw.js +0 -1
  293. package/lib/chunks/config.ClERt2RF.js +0 -1
  294. package/lib/chunks/enums.Dmq4PdUc.js +0 -1
  295. package/lib/chunks/enums.DnuzPZCR.js +0 -1
  296. package/lib/chunks/field-types.Ch_2yDfg.js +0 -1
  297. package/lib/chunks/files.B3-8UC0v.js +0 -1
  298. package/lib/chunks/i18n.CL5L6nx6.js +0 -1
  299. package/lib/chunks/i18n.DgOp_D7R.js +0 -1
  300. package/lib/chunks/i18n.aAXi5igh.js +0 -1
  301. package/lib/chunks/index.BNqTEn3K.js +0 -1
  302. package/lib/chunks/index.BZcSlgOO.js +0 -1
  303. package/lib/chunks/index.Bc71XWQn.js +0 -1
  304. package/lib/chunks/index.Bk-RwmaH.js +0 -1
  305. package/lib/chunks/index.BsN4urmi.js +0 -1
  306. package/lib/chunks/index.CH7XdMru.js +0 -1
  307. package/lib/chunks/index.CaidDlAx.js +0 -1
  308. package/lib/chunks/index.CkihWzK6.js +0 -1
  309. package/lib/chunks/index.D7wBInWr.js +0 -1
  310. package/lib/chunks/index.DGWHQFdx.js +0 -6
  311. package/lib/chunks/index.DME62Yfo.js +0 -1
  312. package/lib/chunks/index.DWohILMv.js +0 -1
  313. package/lib/chunks/index.LK2ulXTE.js +0 -1
  314. package/lib/chunks/index.qDAoOzk9.js +0 -1
  315. package/lib/chunks/index.s8vGOJKG.js +0 -1
  316. package/lib/chunks/layout.sgE9JoNq.js +0 -1
  317. package/lib/chunks/publish.3TrK3fZf.js +0 -1
  318. package/lib/chunks/publish.Bw1acrSu.js +0 -1
  319. package/lib/chunks/publish.CA1uSVnm.js +0 -1
  320. package/lib/chunks/request.D8T4MgGX.js +0 -1
  321. package/lib/chunks/usePreview.2PZJSy5w.js +0 -1
  322. package/lib/chunks/usePreview.E5SeS2uw.js +0 -1
  323. package/lib/i18n.js +0 -1
@@ -0,0 +1,635 @@
1
+ import { m as e } from "./i18n.CxsxtRq_.js";
2
+ import { t } from "./_plugin-vue_export-helper.Ct3qlEzt.js";
3
+ import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y, withModifiers as b } from "vue";
4
+ import { ElButton as x, ElDropdown as S, ElDropdownItem as C, ElDropdownMenu as w, ElEmpty as ee, ElIcon as T, ElPagination as te, ElTable as ne, ElTableColumn as E, ElTooltip as D } from "element-plus";
5
+ import { IconMore as O, IconTip as k, IconZuo as A } from "color-message-aibox-vue";
6
+ import { useRouter as j } from "vue-router";
7
+ import '../assets/AiboxTable.css';//#region components/Table/BackBar.vue
8
+ var M = { class: "back-bar__icon" }, N = {
9
+ key: 0,
10
+ class: "back-bar__title"
11
+ }, P = {
12
+ key: 1,
13
+ class: "back-bar__tip"
14
+ }, F = {
15
+ __name: "BackBar",
16
+ props: {
17
+ goBackFn: {
18
+ type: Function,
19
+ default: null
20
+ },
21
+ backBarStyle: {
22
+ type: String,
23
+ default: "#fff"
24
+ },
25
+ title: {
26
+ type: String,
27
+ default: ""
28
+ },
29
+ tipContent: {
30
+ type: String,
31
+ default: ""
32
+ }
33
+ },
34
+ setup(e) {
35
+ let t = e, n = j(), r = () => {
36
+ t.goBackFn ? t.goBackFn() : n.back();
37
+ };
38
+ return (t, n) => (p(), o("div", {
39
+ class: "back-bar",
40
+ style: f({ "background-color": e.backBarStyle })
41
+ }, [
42
+ s("div", M, [u(v(T), { onClick: b(r, ["stop"]) }, {
43
+ default: y(() => [u(v(A))]),
44
+ _: 1
45
+ })]),
46
+ g(t.$slots, "default"),
47
+ e.title ? (p(), o("div", N, _(e.title), 1)) : a("", !0),
48
+ e.tipContent ? (p(), o("div", P, [u(v(D), {
49
+ content: e.tipContent,
50
+ placement: "right"
51
+ }, {
52
+ default: y(() => [u(v(T), { size: "14" }, {
53
+ default: y(() => [u(v(k))]),
54
+ _: 1
55
+ })]),
56
+ _: 1
57
+ }, 8, ["content"])])) : a("", !0)
58
+ ], 4));
59
+ }
60
+ }, I = { class: "table-btns" }, L = { class: "btn-box" }, R = /* @__PURE__ */ t({
61
+ __name: "TableBtns",
62
+ props: {
63
+ config: {
64
+ type: Array,
65
+ required: !0,
66
+ default() {
67
+ return [];
68
+ }
69
+ },
70
+ showNums: {
71
+ type: Number,
72
+ default: 0,
73
+ validator(e) {
74
+ return e % 1 == 0 && e >= 0;
75
+ }
76
+ },
77
+ row: {
78
+ type: Object,
79
+ default: () => ({})
80
+ }
81
+ },
82
+ setup(t) {
83
+ let a = t, { t: c } = e(), f = (e, t) => {
84
+ e && e(t);
85
+ }, m = r(() => a.config.filter((e) => {
86
+ let t = e.permission === void 0 ? !0 : e.permission, n = !0;
87
+ return e.dataPermission && (n = e.dataPermission), t && n;
88
+ })), g = r(() => ({
89
+ show: m.value.slice(0, a.showNums),
90
+ hide: m.value.slice(a.showNums)
91
+ }));
92
+ return (e, r) => (p(), o("div", I, [m.value.length > t.showNums ? (p(), o(n, { key: 0 }, [(p(!0), o(n, null, h(g.value.show, (e, t) => (p(), i(v(x), {
93
+ key: t,
94
+ type: "primary",
95
+ link: "",
96
+ onClick: (t) => f(e.fn, e.row)
97
+ }, {
98
+ default: y(() => [l(_(e.label), 1)]),
99
+ _: 2
100
+ }, 1032, ["onClick"]))), 128)), u(v(S), {
101
+ "popper-class": "custom-dropdown",
102
+ trigger: "click"
103
+ }, {
104
+ dropdown: y(() => [u(v(w), { style: { padding: "14px 0" } }, {
105
+ default: y(() => [(p(!0), o(n, null, h(g.value.hide, (e, t) => (p(), i(v(C), {
106
+ key: t,
107
+ class: d({ "is-delete": e.label === v(c)("COMMON_BUTTON.DELETE_TEXT") || e.label === v(c)("COMMON_BUTTON.DISABLE_TEXT") || e.isDanger }),
108
+ onClick: (t) => f(e.fn, e.row)
109
+ }, {
110
+ default: y(() => [l(_(e.label), 1)]),
111
+ _: 2
112
+ }, 1032, ["class", "onClick"]))), 128))]),
113
+ _: 1
114
+ })]),
115
+ default: y(() => [s("div", L, [u(v(T), { style: {
116
+ "font-size": "20px",
117
+ color: "#999"
118
+ } }, {
119
+ default: y(() => [u(v(O))]),
120
+ _: 1
121
+ })])]),
122
+ _: 1
123
+ })], 64)) : (p(!0), o(n, { key: 1 }, h(m.value, (e, t) => (p(), i(v(x), {
124
+ type: "primary",
125
+ link: "",
126
+ key: t,
127
+ onClick: (t) => f(e.fn, e.row)
128
+ }, {
129
+ default: y(() => [l(_(e.label), 1)]),
130
+ _: 2
131
+ }, 1032, ["onClick"]))), 128))]));
132
+ }
133
+ }, [["__scopeId", "data-v-552341e3"]]), z = {
134
+ key: 0,
135
+ class: "aibox-table__handle"
136
+ }, B = { class: "handle-left" }, V = { class: "handle-right" }, H = { class: "aibox-table__content" }, U = { key: 0 }, W = { class: "aibox-table__slot-wrapper" }, G = { class: "aibox-table__slot-wrapper" }, K = ["innerHTML"], q = ["innerHTML"], J = { class: "aibox-table__slot-wrapper" }, Y = ["onClick"], X = { class: "aibox-table__slot-wrapper" }, re = ["onClick"], ie = { class: "aibox-table__slot-wrapper" }, ae = { class: "flex items-center" }, oe = { class: "aibox-table__slot-wrapper" }, se = {
137
+ key: 0,
138
+ class: "aibox-table__slot-wrapper"
139
+ }, Z = /* @__PURE__ */ t({
140
+ __name: "AiboxTable",
141
+ props: {
142
+ columns: {
143
+ type: Array,
144
+ default: () => []
145
+ },
146
+ data: {
147
+ type: Array,
148
+ default: () => []
149
+ },
150
+ total: {
151
+ type: [String, Number],
152
+ default: 0
153
+ },
154
+ hasPage: {
155
+ type: Boolean,
156
+ default: !0
157
+ },
158
+ onRowKey: {
159
+ type: Function,
160
+ default: () => {}
161
+ },
162
+ onRowClassName: {
163
+ type: Function,
164
+ default: () => {}
165
+ },
166
+ maxHeight: {
167
+ type: [String, Number],
168
+ default: null
169
+ },
170
+ isLoading: {
171
+ type: Boolean,
172
+ default: !1
173
+ },
174
+ pages: {
175
+ type: Object,
176
+ default: () => ({
177
+ page: 1,
178
+ size: 10
179
+ })
180
+ },
181
+ showChangeSize: {
182
+ type: Boolean,
183
+ default: !0
184
+ },
185
+ isCustomEmpty: {
186
+ type: Boolean,
187
+ default: !1
188
+ },
189
+ hasBorder: {
190
+ type: Boolean,
191
+ default: !1
192
+ },
193
+ hasHeaderHandle: {
194
+ type: Boolean,
195
+ default: !1
196
+ },
197
+ isSecondaryHeader: {
198
+ type: Boolean,
199
+ default: !1
200
+ },
201
+ defaultSort: { type: Object },
202
+ spanMethod: {
203
+ type: Function,
204
+ default: () => {}
205
+ },
206
+ showSummary: {
207
+ type: Boolean,
208
+ default: !1
209
+ },
210
+ summaryMethod: {
211
+ type: Function,
212
+ default: () => []
213
+ },
214
+ showHandleNums: {
215
+ type: Number,
216
+ default: 0
217
+ },
218
+ selectionType: {
219
+ type: String,
220
+ default: "checkbox"
221
+ },
222
+ expandRowKeys: {
223
+ type: Array,
224
+ default: () => []
225
+ },
226
+ isCanRowClick: {
227
+ type: Boolean,
228
+ default: !1
229
+ },
230
+ isPagePostion: {
231
+ type: Boolean,
232
+ default: !0
233
+ },
234
+ treeProps: {
235
+ type: Object,
236
+ default: () => ({
237
+ children: "children",
238
+ hasChildren: "hasChildren"
239
+ })
240
+ },
241
+ defaultExpandAll: {
242
+ type: Boolean,
243
+ default: !0
244
+ },
245
+ pagerCount: {
246
+ type: Number,
247
+ default: 7
248
+ },
249
+ size: {
250
+ type: String,
251
+ default: "default"
252
+ }
253
+ },
254
+ emits: [
255
+ "onPageChange",
256
+ "onMultiSelection",
257
+ "onSortChange",
258
+ "onCellDblclick",
259
+ "onRowClick"
260
+ ],
261
+ setup(t, { expose: l, emit: f }) {
262
+ let b = t, { t: x } = e(), S = m(null), C = m([]), w = r(() => typeof b.total == "string" ? Number(b.total) : b.total), T = r(() => b.showChangeSize ? "total, sizes, prev, pager, next, jumper" : "total, prev, pager, next, jumper"), D = r(() => w.value > 10 && b.hasPage), O = r(() => b.columns?.find?.((e) => e?.type === "selection")?.selectable || M), k = r(() => {
263
+ let e = b.data || [];
264
+ if (!e.length) return !1;
265
+ let t = O.value;
266
+ return !e.some((e, n) => t(e, n));
267
+ }), A = ({ column: e }) => e?.type === "selection" && k.value ? "aibox-table__select-all-disabled" : "", j = f, M = () => !0, N = (e) => b.onRowKey(e, (e) => e), P = (e) => b.onRowClassName(e), F = (e) => {
268
+ j("onPageChange", {
269
+ ...b.pages,
270
+ page: e
271
+ });
272
+ }, I = (e) => {
273
+ j("onPageChange", {
274
+ page: 1,
275
+ size: e
276
+ });
277
+ }, L = (e) => {
278
+ b.selectionType !== "radio" && j("onMultiSelection", e);
279
+ }, Z = (e) => {
280
+ if (b.selectionType === "radio") {
281
+ let t = C.value;
282
+ if (Q(), t.length == 1) {
283
+ let [n] = t, r = n.id !== e.id;
284
+ r ? (C.value = [e], j("onMultiSelection", [e])) : (C.value = [], j("onMultiSelection", [])), $(e, r);
285
+ } else $(e, !0), C.value = [e], j("onMultiSelection", [e]);
286
+ }
287
+ }, Q = () => {
288
+ S.value?.clearSelection(), j("onMultiSelection", []);
289
+ }, ce = () => {
290
+ S.value?.clearSort();
291
+ }, le = (e) => {
292
+ j("onSortChange", e);
293
+ }, ue = (e, t, n, r) => {
294
+ j("onCellDblclick", e, t, n, r);
295
+ }, de = (e) => {
296
+ b.selectionType === "radio" && Z(e);
297
+ }, fe = (e, t, n) => {
298
+ t?.type === "action" || !b.isCanRowClick || j("onRowClick", e, t, n);
299
+ }, $ = (e, t) => {
300
+ S.value?.toggleRowSelection(e, t);
301
+ };
302
+ return l({
303
+ handleClearSelection: Q,
304
+ handleToggleRowSelection: $,
305
+ clearSort: ce
306
+ }), (e, r) => (p(), o("div", { class: d([{
307
+ "row-click-style": t.isCanRowClick,
308
+ "no-pagination": !D.value
309
+ }, "aibox-table"]) }, [
310
+ t.hasHeaderHandle ? (p(), o("div", z, [s("div", B, [g(e.$slots, "handleLeft", {}, void 0, !0)]), s("div", V, [g(e.$slots, "handleRight", {}, void 0, !0)])])) : a("", !0),
311
+ s("div", H, [u(v(ne), {
312
+ ref_key: "aiboxTable",
313
+ ref: S,
314
+ "element-loading-text": v(x)("COMMON_DATA.LOADING_SUFFIX"),
315
+ "tree-props": t.treeProps,
316
+ "header-row-class-name": t.isSecondaryHeader ? "aibox-table__header secondary-header" : "aibox-table__header",
317
+ "header-cell-class-name": A,
318
+ "row-class-name": P,
319
+ data: t.data,
320
+ border: t.hasBorder,
321
+ style: { width: "100%" },
322
+ "row-key": N,
323
+ height: t.maxHeight,
324
+ "default-sort": t.defaultSort,
325
+ "span-method": t.spanMethod,
326
+ "expand-row-keys": t.expandRowKeys,
327
+ onSelectionChange: L,
328
+ onSortChange: le,
329
+ onCellDblclick: ue,
330
+ onCurrentChange: Z,
331
+ "show-summary": t.showSummary,
332
+ "summary-method": t.summaryMethod,
333
+ onSelect: de,
334
+ onRowClick: fe,
335
+ "default-expand-all": t.defaultExpandAll
336
+ }, {
337
+ empty: y(() => [t.isCustomEmpty ? (p(), o("div", se, [g(e.$slots, "customEmpty", {}, void 0, !0)])) : (p(), i(v(ee), {
338
+ key: 1,
339
+ description: v(x)("COMMON_DATA.EMPTY"),
340
+ "image-size": 80
341
+ }, null, 8, ["description"]))]),
342
+ default: y(() => [(p(!0), o(n, null, h(t.columns, (r) => (p(), o(n, null, [r.type === "selection" ? (p(), i(v(E), {
343
+ key: r.type,
344
+ type: "selection",
345
+ fixed: "left",
346
+ width: r.width || "50px",
347
+ "reserve-selection": !0,
348
+ selectable: r.selectable || M
349
+ }, null, 8, ["width", "selectable"])) : r.type === "index" ? (p(), i(v(E), {
350
+ key: `${r.type - r.label}`,
351
+ type: "index",
352
+ label: v(x)("COMMON_DATA.SNO_INDEX"),
353
+ fixed: "left",
354
+ width: r.width || "100px"
355
+ }, {
356
+ default: y((e) => [t.isLoading ? a("", !0) : (p(), o("span", U, _((t.pages.page - 1) * t.pages.size + e.$index + 1), 1))]),
357
+ _: 1
358
+ }, 8, ["label", "width"])) : r.slot ? (p(), i(v(E), {
359
+ align: r.align || "left",
360
+ key: r.prop,
361
+ prop: r.prop,
362
+ label: r.label,
363
+ width: r.width,
364
+ "min-width": r.minWidth,
365
+ "label-class-name": "label-space-style",
366
+ "class-name": "multi-row",
367
+ fixed: r.fixed,
368
+ sortable: r.sortable,
369
+ "show-overflow-tooltip": r.showOverflowTooltip
370
+ }, c({
371
+ default: y((t) => [s("div", G, [g(e.$slots, r.slot, {
372
+ row: t.row,
373
+ index: t.$index,
374
+ minWidth: r.minWidth
375
+ }, void 0, !0)])]),
376
+ _: 2
377
+ }, [r.headerSlot ? {
378
+ name: "header",
379
+ fn: y(() => [s("div", W, [g(e.$slots, r.headerSlot, {
380
+ item: r,
381
+ minWidth: r.minWidth
382
+ }, void 0, !0)])]),
383
+ key: "0"
384
+ } : void 0]), 1032, [
385
+ "align",
386
+ "prop",
387
+ "label",
388
+ "width",
389
+ "min-width",
390
+ "fixed",
391
+ "sortable",
392
+ "show-overflow-tooltip"
393
+ ])) : r.callback ? (p(), i(v(E), {
394
+ align: r.align || "left",
395
+ key: r.callback,
396
+ prop: r.prop,
397
+ label: r.label,
398
+ width: r.width,
399
+ "min-width": r.minWidth,
400
+ "show-overflow-tooltip": "",
401
+ fixed: r.fixed,
402
+ sortable: r.sortable
403
+ }, {
404
+ default: y((e) => [s("span", { innerHTML: r.callback && r.callback(e.row) }, null, 8, K)]),
405
+ _: 2
406
+ }, 1032, [
407
+ "align",
408
+ "prop",
409
+ "label",
410
+ "width",
411
+ "min-width",
412
+ "fixed",
413
+ "sortable"
414
+ ])) : r.type === "multistage" ? (p(), i(v(E), {
415
+ key: `${r.prop}`,
416
+ label: r.label,
417
+ prop: r.prop,
418
+ width: r.width,
419
+ "min-width": r.minWidth,
420
+ "show-overflow-tooltip": "",
421
+ align: r.align || "left",
422
+ "header-align": r.headerAlign || "left"
423
+ }, {
424
+ default: y(() => [(p(!0), o(n, null, h(r.children, (t) => (p(), o(n, null, [t.callback ? (p(), i(v(E), {
425
+ key: t.callback,
426
+ prop: t.prop,
427
+ label: t.label,
428
+ "min-width": t.minWidth,
429
+ "show-overflow-tooltip": ""
430
+ }, {
431
+ default: y((e) => [s("span", { innerHTML: t.callback && t.callback(e.row) }, null, 8, q)]),
432
+ _: 2
433
+ }, 1032, [
434
+ "prop",
435
+ "label",
436
+ "min-width"
437
+ ])) : t.slot ? (p(), i(v(E), {
438
+ key: t.prop,
439
+ "min-width": t.minWidth,
440
+ prop: t.prop,
441
+ label: t.label
442
+ }, {
443
+ default: y((n) => [s("div", J, [g(e.$slots, t.slot, {
444
+ row: n.row,
445
+ column: n.column,
446
+ index: n.$index
447
+ }, void 0, !0)])]),
448
+ _: 2
449
+ }, 1032, [
450
+ "min-width",
451
+ "prop",
452
+ "label"
453
+ ])) : t.custom ? (p(), i(v(E), {
454
+ key: `${t.prop}`,
455
+ prop: t.prop,
456
+ label: t.label,
457
+ "min-width": t.minWidth,
458
+ "show-overflow-tooltip": ""
459
+ }, {
460
+ header: y(() => [s("span", {
461
+ onClick: () => t.headerClick({
462
+ parent: r.label,
463
+ ...t
464
+ }),
465
+ style: {
466
+ color: "#5b9bd1",
467
+ cursor: "pointer"
468
+ }
469
+ }, _(t.label), 9, Y)]),
470
+ default: y((n) => [s("div", X, [g(e.$slots, "custom", { data: {
471
+ col: {
472
+ parent: r.label,
473
+ ...t
474
+ },
475
+ row: n.row
476
+ } }, void 0, !0)])]),
477
+ _: 2
478
+ }, 1032, [
479
+ "prop",
480
+ "label",
481
+ "min-width"
482
+ ])) : (p(), i(v(E), {
483
+ key: `${t.prop}-${t.label}`,
484
+ prop: t.prop,
485
+ label: t.label,
486
+ width: t.width,
487
+ "min-width": t.minWidth,
488
+ "show-overflow-tooltip": "",
489
+ "header-align": t.headerAlign ? t.headerAlign : "left",
490
+ align: t.align ? t.align : "left"
491
+ }, null, 8, [
492
+ "prop",
493
+ "label",
494
+ "width",
495
+ "min-width",
496
+ "header-align",
497
+ "align"
498
+ ]))], 64))), 256))]),
499
+ _: 2
500
+ }, 1032, [
501
+ "label",
502
+ "prop",
503
+ "width",
504
+ "min-width",
505
+ "align",
506
+ "header-align"
507
+ ])) : r.custom ? (p(), i(v(E), {
508
+ key: `${r.prop}-${r.custom}`,
509
+ prop: r.prop,
510
+ label: r.label,
511
+ "min-width": r.minWidth,
512
+ "show-overflow-tooltip": ""
513
+ }, {
514
+ header: y(() => [s("span", {
515
+ onClick: () => r.headerClick({
516
+ parent: "",
517
+ ...r
518
+ }),
519
+ style: {
520
+ color: "#5b9bd1",
521
+ cursor: "pointer"
522
+ }
523
+ }, _(r.label), 9, re)]),
524
+ default: y((t) => [s("div", ie, [g(e.$slots, "custom", { data: {
525
+ col: {
526
+ parent: "",
527
+ ...r
528
+ },
529
+ row: t.row
530
+ } }, void 0, !0)])]),
531
+ _: 2
532
+ }, 1032, [
533
+ "prop",
534
+ "label",
535
+ "min-width"
536
+ ])) : r.type === "action" ? (p(), i(v(E), {
537
+ key: `${r.prop - Math.random()}`,
538
+ label: r.label,
539
+ width: r.width,
540
+ type: "action",
541
+ fixed: "right"
542
+ }, {
543
+ default: y((n) => [s("div", ae, [g(e.$slots, "goto", { row: n.row }, void 0, !0), r?.config?.(n.row)?.length ? (p(), i(R, {
544
+ key: 0,
545
+ "show-nums": t.showHandleNums,
546
+ config: r.config(n.row, n.$index),
547
+ row: n.row
548
+ }, null, 8, [
549
+ "show-nums",
550
+ "config",
551
+ "row"
552
+ ])) : a("", !0)])]),
553
+ _: 2
554
+ }, 1032, ["label", "width"])) : r.type === "expand" ? (p(), i(v(E), {
555
+ type: "expand",
556
+ key: "expand" + r.prop,
557
+ width: r.width
558
+ }, {
559
+ default: y((t) => [s("div", oe, [g(e.$slots, "expand", {
560
+ row: t.row,
561
+ column: t.column
562
+ }, void 0, !0)])]),
563
+ _: 3
564
+ }, 8, ["width"])) : (p(), i(v(E), {
565
+ key: `${r.prop - r.label}`,
566
+ prop: r.prop,
567
+ label: r.label,
568
+ width: r.width,
569
+ "min-width": r.minWidth,
570
+ fixed: r.fixed,
571
+ sortable: r.sortable,
572
+ "show-overflow-tooltip": "",
573
+ align: r.align || "left"
574
+ }, c({ _: 2 }, [r.headerSlot ? {
575
+ name: "header",
576
+ fn: y(() => [g(e.$slots, r.headerSlot, {
577
+ item: r,
578
+ minWidth: r.minWidth
579
+ }, void 0, !0)]),
580
+ key: "0"
581
+ } : void 0]), 1032, [
582
+ "prop",
583
+ "label",
584
+ "width",
585
+ "min-width",
586
+ "fixed",
587
+ "sortable",
588
+ "align"
589
+ ]))], 64))), 256))]),
590
+ _: 3
591
+ }, 8, [
592
+ "element-loading-text",
593
+ "tree-props",
594
+ "header-row-class-name",
595
+ "data",
596
+ "border",
597
+ "height",
598
+ "default-sort",
599
+ "span-method",
600
+ "expand-row-keys",
601
+ "show-summary",
602
+ "summary-method",
603
+ "default-expand-all"
604
+ ])]),
605
+ w.value > 10 && t.hasPage ? (p(), o("div", {
606
+ key: 1,
607
+ class: d([t.isPagePostion ? "aibox-table__pages" : "aibox-table__page"])
608
+ }, [u(v(te), {
609
+ layout: T.value,
610
+ "current-page": t.pages.page,
611
+ "page-sizes": [
612
+ 10,
613
+ 20,
614
+ 50,
615
+ 100
616
+ ],
617
+ "page-size": t.pages.size,
618
+ total: w.value,
619
+ "pager-count": t.pagerCount,
620
+ size: t.size,
621
+ onSizeChange: I,
622
+ onCurrentChange: F
623
+ }, null, 8, [
624
+ "layout",
625
+ "current-page",
626
+ "page-size",
627
+ "total",
628
+ "pager-count",
629
+ "size"
630
+ ])], 2)) : a("", !0)
631
+ ], 2));
632
+ }
633
+ }, [["__scopeId", "data-v-1d0bcb93"]]);
634
+ //#endregion
635
+ export { R as n, F as r, Z as t };
@@ -0,0 +1,47 @@
1
+ import { t as e } from "./withinstall.dLh4K-0g.js";
2
+ import { m as t } from "./i18n.CxsxtRq_.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 };