@pubinfo-pr/module-rbac 0.225.3 → 0.228.1

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 (306) hide show
  1. package/dist/{ComponentSelect-A7uGTuHW.js → ComponentSelect-CYmAgdm3.js} +998 -963
  2. package/dist/DynamicRoutesForm-CMF3oh8h.js +171 -0
  3. package/dist/HCheckList-CAhQwX7m.js +39 -0
  4. package/dist/HoverCard-B-uU48hF.js +46 -0
  5. package/dist/IconSelect-CvxGRN_O.js +719 -0
  6. package/dist/ImportExport-CzZssb7_.js +345 -0
  7. package/dist/ImportExport-b1SnWRLj.js +6 -0
  8. package/dist/LayoutForm-Bpdyi_2o.js +129 -0
  9. package/dist/MetaForm-ZLzLz68d.js +39037 -0
  10. package/dist/OrgAndPosition-B0RE1Vc_.js +187 -0
  11. package/dist/OrgSelector-C2rPIonI.js +4877 -0
  12. package/dist/OrgSelector.css +1 -0
  13. package/dist/ResourceEdit-9fvxbd0K.js +383 -0
  14. package/dist/ResourceEdit-BMqfJ3aQ.js +13 -0
  15. package/dist/ResourceRelation-BrluMHdX.js +81 -0
  16. package/dist/ResourceRelation-IJvXnlpo.js +95 -0
  17. package/dist/RoleRelation-DuRuQG08.js +82 -0
  18. package/dist/RoleSelector-BTNYbcC6.js +282 -0
  19. package/dist/TenantEdit-Df3gZKLA.js +249 -0
  20. package/dist/UserAuthorization-DX7jNDDe.js +237 -0
  21. package/dist/UserEdit-BLb0n7WM.js +322 -0
  22. package/dist/_baseClone-C7vkGgsW.js +138 -0
  23. package/dist/_initCloneObject-r-eWKqzl.js +531 -0
  24. package/dist/add-child-DPb_m2by.js +4 -0
  25. package/dist/{animation_item-DBOz2rcX.js → animation_item-Coe-B0jQ.js} +24 -19
  26. package/dist/assist-BRMYD-oT.js +89 -0
  27. package/dist/authority-B9wtmsQd.js +4 -0
  28. package/dist/authorize-DxrutyIG.js +4 -0
  29. package/dist/blackWhiteList-d6TVsK48.js +214 -0
  30. package/dist/blacklist-disable-BKSw91qq.js +4 -0
  31. package/dist/blacklist-enable-CIB1fOHT.js +4 -0
  32. package/dist/breadcrumb_setting-DMbvWP5t.js +111 -0
  33. package/dist/browser-chrome-CM60RcrG.js +4 -0
  34. package/dist/browser-edge-4LBRzooM.js +4 -0
  35. package/dist/browser-ie-BF-wqbf6.js +4 -0
  36. package/dist/browser-other-iXJH-9iL.js +4 -0
  37. package/dist/browser-safari-CIpt0yPc.js +4 -0
  38. package/dist/browserType-Bik20-72.js +28 -0
  39. package/dist/chunk-WQLz0Won.js +20 -0
  40. package/dist/cloneDeep-REaxTPsZ.js +8 -0
  41. package/dist/createAndEditDataPermission-OunqmBu_.js +438 -0
  42. package/dist/data-permission-2pzeFLxP.js +159 -0
  43. package/dist/{dayjs.min-Cb7gQFd4.js → dayjs.min-CJunOGCc.js} +5 -3
  44. package/dist/dictionary-DGqlAhRk.js +182 -0
  45. package/dist/dist-DxAYQq3U.js +21 -0
  46. package/dist/drawerBlackWhiteList-VxyjaBkA.js +123 -0
  47. package/dist/drawerDictionary-DhAB-LV9.js +129 -0
  48. package/dist/drawerDictionaryItem-DYsJzZ2f.js +141 -0
  49. package/dist/drawerGroup-CTO8Lmbb.js +189 -0
  50. package/dist/drawerOrganization-DWhTc1fB.js +253 -0
  51. package/dist/drawerPosition-BmM9mLlP.js +169 -0
  52. package/dist/drawerRegion-BD-xc1x2.js +189 -0
  53. package/dist/drawerRole-B348x40k.js +214 -0
  54. package/dist/drawerRole-CgAPM-0g.js +172 -0
  55. package/dist/drawerRole-Cjp9iDsa.js +157 -0
  56. package/dist/edit-Drp8yjRe.js +4 -0
  57. package/dist/enum-CG0P82pn.js +6 -0
  58. package/dist/{enum-3E_sUqRF.js → enum-CR5ztb5v2.js} +15 -14
  59. package/dist/enum-CYCebJeC.js +62 -0
  60. package/dist/enum-DS4SGhiF.js +6 -0
  61. package/dist/enum-zdKA3Jy-.js +23 -0
  62. package/dist/group-C6Rj3K5I.js +178 -0
  63. package/dist/icard-BULUUV5m.js +4 -0
  64. package/dist/icon_animation-DuEY1FMm.js +4 -0
  65. package/dist/icon_breadcrumb-Y788iP_T.js +4 -0
  66. package/dist/icon_copyright-C1BER6kq.js +4 -0
  67. package/dist/icon_jt-ICOdrIF6.js +4 -0
  68. package/dist/icon_layout-D_wV9rX3.js +4 -0
  69. package/dist/icon_mainpage-Cz6_cxpJ.js +4 -0
  70. package/dist/icon_menu-y7SblUoR.js +4 -0
  71. package/dist/icon_page_size-BjwT656E.js +4 -0
  72. package/dist/icon_position_type-CPxcDgmM.js +4 -0
  73. package/dist/icon_safe_manage-CoqVRBLl.js +4 -0
  74. package/dist/icon_screen_scale-DURlkq3C.js +4 -0
  75. package/dist/icon_system_manage-BLXs2CQg.js +4 -0
  76. package/dist/icon_tabbar-_0QWhSBV.js +4 -0
  77. package/dist/icon_toolbar-BXpfu0iq.js +4 -0
  78. package/dist/icon_topbar-DrwvB8Jw.js +4 -0
  79. package/dist/icon_watermark-DwNqjAiA.js +4 -0
  80. package/dist/index.css +1 -1
  81. package/dist/index.js +588 -6776
  82. package/dist/isEmpty-2rx9iUQv.js +14 -0
  83. package/dist/isEqual-CNeQLaCM.js +474 -0
  84. package/dist/itemlist-BGe-z1IR.js +159 -0
  85. package/dist/layout_setting-Cds3TCHc.js +71 -0
  86. package/dist/log-DOMU9MyH.js +18 -0
  87. package/dist/log-center-BrGlNhMd.js +4 -0
  88. package/dist/loginHistoryDetail-Coba_ajy.js +80 -0
  89. package/dist/{login_history-BiwaLpxA.js → login_history-CrXkEsHb.js} +38 -35
  90. package/dist/menu_setting-Br5dOEUk.js +158 -0
  91. package/dist/not-data-C-MacYF3.js +5 -0
  92. package/dist/operateHistoryDetail-DfDQL5BF.js +92 -0
  93. package/dist/{operate_history-sPd9IHMV.js → operate_history-BtHgPhmF.js} +38 -35
  94. package/dist/org-main-BRMBumDm.js +4 -0
  95. package/dist/org-unmain-0BHnrNdD.js +4 -0
  96. package/dist/organization-BbFERZ1l.js +15411 -0
  97. package/dist/other_setting-D92SlFvl.js +216 -0
  98. package/dist/page_animation_setting-Cy2R0vZy.js +111 -0
  99. package/dist/page_w_setting-DryWrqcx.js +66 -0
  100. package/dist/position-B1bqGly6.js +169 -0
  101. package/dist/rbac-B59CVHDt.js +460 -0
  102. package/dist/region-B_n1KXMG.js +182 -0
  103. package/dist/remove-BTME2Fhs.js +4 -0
  104. package/dist/request-7X2hpUru.js +5 -0
  105. package/dist/resource-CPNNd1l0.js +275 -0
  106. package/dist/resource-app-D8to3Lkn.js +4 -0
  107. package/dist/resource-btn-Cz-A_EQF.js +4 -0
  108. package/dist/resource-dynamic-BUqWxUiU.js +4 -0
  109. package/dist/resource-index-D2roT002.js +4 -0
  110. package/dist/resource-menu-BRER68rK.js +4 -0
  111. package/dist/resource-micro-Hyucl9de.js +4 -0
  112. package/dist/resource-nonmenu-7FcPEpHv.js +4 -0
  113. package/dist/role-CMd7WDRC.js +195 -0
  114. package/dist/role_group-DHh2s911.js +174 -0
  115. package/dist/safe_setting-CuTBmUve.js +225 -0
  116. package/dist/setItem-BwXZ5Uqx.js +4 -0
  117. package/dist/setItem-DlhIkIgh.js +78 -0
  118. package/dist/setting-manage-UHelpLrr.js +4 -0
  119. package/dist/stores-C-zbXsms.js +2 -0
  120. package/dist/tabbar_setting-CjW9LGPp.js +142 -0
  121. package/dist/tenant-B_vgufMG.js +180 -0
  122. package/dist/theme-check-mark-DRzx4sTs.js +4 -0
  123. package/dist/theme-title-BRvQ_qPg.js +4 -0
  124. package/dist/theme_setting-DMP0_nZ1.js +114 -0
  125. package/dist/toolbar_setting-ClxxvA7R.js +143 -0
  126. package/dist/useAppAndResource-D6WnpUPR.js +55 -0
  127. package/dist/user-BhytPqnx.js +348 -0
  128. package/dist/{vanilla-picker-Byb6q187.js → vanilla-picker-2HFham9c.js} +61 -59
  129. package/dist/view-Cridj7u2.js +4 -0
  130. package/dist/view-lBxqXfPW.js +114 -0
  131. package/dist/watermark_setting-b3vBYWwY.js +194 -0
  132. package/dist/zddata-CnvPWtIW.js +4 -0
  133. package/dist/zy_checked-C25HQlnr.js +4 -0
  134. package/dist/zy_default-B7RKtyqy.js +4 -0
  135. package/package.json +3 -3
  136. package/dist/DynamicRoutesForm-DSzy_bh5.js +0 -169
  137. package/dist/HCheckList-ODQHidN8.js +0 -37
  138. package/dist/HoverCard-CmJCoa2b.js +0 -44
  139. package/dist/IconSelect-DouEg3xY.js +0 -717
  140. package/dist/ImportExport-DisdLoY8.js +0 -342
  141. package/dist/LayoutForm-Bdfs5WeK.js +0 -125
  142. package/dist/MetaForm-CcDwS8vh.js +0 -38902
  143. package/dist/OrgAndPosition-jDX7m0HD.js +0 -184
  144. package/dist/ResourceEdit-0BYZRye_.js +0 -381
  145. package/dist/ResourceRelation-CU-QpUhP.js +0 -76
  146. package/dist/ResourceRelation-roz0a8Td.js +0 -91
  147. package/dist/RoleRelation-BQQFaum0.js +0 -79
  148. package/dist/RoleSelector-gkar_UGG.js +0 -275
  149. package/dist/TenantEdit-BsahDUlf.js +0 -246
  150. package/dist/UserAuthorization-2Fl4IGw7.js +0 -233
  151. package/dist/UserEdit-CX3Qau8T.js +0 -320
  152. package/dist/add-child-CFHHkjfg.js +0 -2
  153. package/dist/authority-L7SfiMdP.js +0 -2
  154. package/dist/authorize-qMpV_BXT.js +0 -2
  155. package/dist/blackWhiteList-DbG7JH8n.js +0 -211
  156. package/dist/blacklist-disable-BT6Xx-JG.js +0 -2
  157. package/dist/blacklist-enable-CJ6DK_V2.js +0 -2
  158. package/dist/breadcrumb_setting-BbYhO74F.js +0 -108
  159. package/dist/browser-chrome-DuAegVCe.js +0 -2
  160. package/dist/browser-edge-DzkWdXRd.js +0 -2
  161. package/dist/browser-ie-DZ9g_MXr.js +0 -2
  162. package/dist/browser-other-BmkifoYq.js +0 -2
  163. package/dist/browser-safari-CXrCuF2a.js +0 -2
  164. package/dist/browserType-B8A1Osvk.js +0 -26
  165. package/dist/chunk-DiMWNkAf.js +0 -18
  166. package/dist/cloneDeep-CSOSavu3.js +0 -6
  167. package/dist/createAndEditDataPermission-8_KNLzJT.js +0 -431
  168. package/dist/data-permission-LpuDLDm0.js +0 -152
  169. package/dist/dictionary-CEaxjqZe.js +0 -179
  170. package/dist/drawerBlackWhiteList-DXLdWurZ.js +0 -120
  171. package/dist/drawerDictionary-DYJTAZr6.js +0 -126
  172. package/dist/drawerDictionaryItem-BChXD2-q.js +0 -138
  173. package/dist/drawerGroup-CdnZkZxi.js +0 -185
  174. package/dist/drawerOrganization-CwtSFUj0.js +0 -247
  175. package/dist/drawerPosition-CfyfeQCN.js +0 -166
  176. package/dist/drawerRegion-DAwY_29K.js +0 -183
  177. package/dist/drawerRole-B7uCfHk-.js +0 -154
  178. package/dist/drawerRole-DK6DrinO.js +0 -209
  179. package/dist/drawerRole-DrzMHL0O.js +0 -167
  180. package/dist/edit-fZ7h_z_Z.js +0 -2
  181. package/dist/enum-3mYayxff.js +0 -61
  182. package/dist/enum-Cr7uWnB2.js +0 -23
  183. package/dist/enum-D2UEJsrC.js +0 -4
  184. package/dist/group-CaOhkh72.js +0 -172
  185. package/dist/icard-H-d9Pip-.js +0 -2
  186. package/dist/icon_animation-BCdRKkE5.js +0 -2
  187. package/dist/icon_breadcrumb-BR6LK8hP.js +0 -2
  188. package/dist/icon_copyright-BfWn1s6t.js +0 -2
  189. package/dist/icon_jt-DOMTq9De.js +0 -2
  190. package/dist/icon_layout-DKqAThpM.js +0 -2
  191. package/dist/icon_mainpage-CXB9JMGv.js +0 -2
  192. package/dist/icon_menu-BYQtWV-Q.js +0 -2
  193. package/dist/icon_page_size-r-z4oHWp.js +0 -2
  194. package/dist/icon_position_type-JDFdklRh.js +0 -2
  195. package/dist/icon_safe_manage-BDTIOduB.js +0 -2
  196. package/dist/icon_screen_scale-vEaAdr9S.js +0 -2
  197. package/dist/icon_system_manage-CkhQtieE.js +0 -2
  198. package/dist/icon_tabbar-DZNj-h-p.js +0 -2
  199. package/dist/icon_toolbar-BBYhGmEf.js +0 -2
  200. package/dist/icon_topbar-Bc379eaS.js +0 -2
  201. package/dist/icon_watermark-CTP8r-e2.js +0 -2
  202. package/dist/isEmpty-BjEzPyCa.js +0 -12
  203. package/dist/itemlist-CFwRUV2Y.js +0 -156
  204. package/dist/layout_setting-79srmFgJ.js +0 -68
  205. package/dist/log-BYris9iT.js +0 -14
  206. package/dist/log-center-CGT-BGAN.js +0 -2
  207. package/dist/loginHistoryDetail-CZnfmbbM.js +0 -78
  208. package/dist/menu_setting-CiLR0vkM.js +0 -155
  209. package/dist/not-data-Bml86wdH.js +0 -3
  210. package/dist/operateHistoryDetail-HId-EZzy.js +0 -90
  211. package/dist/org-main-DnftBa38.js +0 -2
  212. package/dist/org-unmain-ByMarqFw.js +0 -2
  213. package/dist/organization-Dv3FbKke.js +0 -15316
  214. package/dist/other_setting-eDXoBjJm.js +0 -213
  215. package/dist/page_animation_setting-D1L1pmXk.js +0 -108
  216. package/dist/page_w_setting-Q--ct16C.js +0 -63
  217. package/dist/position-CCZ2MSMP.js +0 -166
  218. package/dist/region-D3mjqB8H.js +0 -179
  219. package/dist/remove-DfZZBE2T.js +0 -2
  220. package/dist/resource-DaQ7CvM_.js +0 -271
  221. package/dist/resource-app-QSLZ7Hts.js +0 -2
  222. package/dist/resource-btn-BcB4xMgR.js +0 -2
  223. package/dist/resource-dynamic-D69oEbaO.js +0 -2
  224. package/dist/resource-index-BIHr3PZY.js +0 -2
  225. package/dist/resource-menu-0JSNn7S7.js +0 -2
  226. package/dist/resource-micro-CcX_pmaJ.js +0 -2
  227. package/dist/resource-nonmenu-DFItasMT.js +0 -2
  228. package/dist/role-4UgEw3nH.js +0 -192
  229. package/dist/role_group-hkRlCnyl.js +0 -171
  230. package/dist/safe_setting-4fv3qNRZ.js +0 -221
  231. package/dist/setItem-Vkcwkj-O.js +0 -77
  232. package/dist/setting-manage-C9whamLP.js +0 -2
  233. package/dist/stores-DPQF8JRt.js +0 -2
  234. package/dist/tabbar_setting-CfE94AAt.js +0 -139
  235. package/dist/tenant-lWfGw2u1.js +0 -177
  236. package/dist/theme-check-mark-DG4oWCQN.js +0 -2
  237. package/dist/theme-title-BCYnl2jK.js +0 -2
  238. package/dist/theme_setting-CEb7UYQO.js +0 -111
  239. package/dist/toolbar_setting-CwfUnZ1j.js +0 -140
  240. package/dist/useAppAndResource-B7FmNfKG.js +0 -52
  241. package/dist/user-BkUpcQC8.js +0 -339
  242. package/dist/view-Bnu34EJT.js +0 -2
  243. package/dist/watermark_setting-DGSDikAC.js +0 -191
  244. package/dist/zddata-Ceyga3_2.js +0 -2
  245. package/dist/zy_checked-DvD7k9F8.js +0 -2
  246. package/dist/zy_default-DJ2tB3Fo.js +0 -2
  247. /package/dist/{lottie-03f0a035.json → json-asset-03f0a035.json} +0 -0
  248. /package/dist/{lottie-0ee63e7f.json → json-asset-0ee63e7f.json} +0 -0
  249. /package/dist/{lottie-10eef4fe.json → json-asset-10eef4fe.json} +0 -0
  250. /package/dist/{lottie-13f452f1.json → json-asset-13f452f1.json} +0 -0
  251. /package/dist/{lottie-14b7b290.json → json-asset-14b7b290.json} +0 -0
  252. /package/dist/{lottie-15b8cef1.json → json-asset-15b8cef1.json} +0 -0
  253. /package/dist/{lottie-15f77960.json → json-asset-15f77960.json} +0 -0
  254. /package/dist/{lottie-1ae9b726.json → json-asset-1ae9b726.json} +0 -0
  255. /package/dist/{lottie-1b02359f.json → json-asset-1b02359f.json} +0 -0
  256. /package/dist/{lottie-1ef286cd.json → json-asset-1ef286cd.json} +0 -0
  257. /package/dist/{lottie-23cfd18c.json → json-asset-23cfd18c.json} +0 -0
  258. /package/dist/{lottie-265a0a5d.json → json-asset-265a0a5d.json} +0 -0
  259. /package/dist/{lottie-28d57c49.json → json-asset-28d57c49.json} +0 -0
  260. /package/dist/{lottie-2b54ed10.json → json-asset-2b54ed10.json} +0 -0
  261. /package/dist/{lottie-2bb6f642.json → json-asset-2bb6f642.json} +0 -0
  262. /package/dist/{lottie-2cdc07bd.json → json-asset-2cdc07bd.json} +0 -0
  263. /package/dist/{lottie-31c58607.json → json-asset-31c58607.json} +0 -0
  264. /package/dist/{lottie-32884f23.json → json-asset-32884f23.json} +0 -0
  265. /package/dist/{lottie-32fca43a.json → json-asset-32fca43a.json} +0 -0
  266. /package/dist/{lottie-3a75445b.json → json-asset-3a75445b.json} +0 -0
  267. /package/dist/{lottie-3f27d67c.json → json-asset-3f27d67c.json} +0 -0
  268. /package/dist/{lottie-4189453f.json → json-asset-4189453f.json} +0 -0
  269. /package/dist/{lottie-4702b37c.json → json-asset-4702b37c.json} +0 -0
  270. /package/dist/{lottie-520a5c68.json → json-asset-520a5c68.json} +0 -0
  271. /package/dist/{lottie-56bea508.json → json-asset-56bea508.json} +0 -0
  272. /package/dist/{lottie-57c732a3.json → json-asset-57c732a3.json} +0 -0
  273. /package/dist/{lottie-5be4a28f.json → json-asset-5be4a28f.json} +0 -0
  274. /package/dist/{lottie-5e6d7cfa.json → json-asset-5e6d7cfa.json} +0 -0
  275. /package/dist/{lottie-64e176c9.json → json-asset-64e176c9.json} +0 -0
  276. /package/dist/{lottie-6583dca6.json → json-asset-6583dca6.json} +0 -0
  277. /package/dist/{lottie-66c640c6.json → json-asset-66c640c6.json} +0 -0
  278. /package/dist/{lottie-68393156.json → json-asset-68393156.json} +0 -0
  279. /package/dist/{lottie-688465aa.json → json-asset-688465aa.json} +0 -0
  280. /package/dist/{lottie-6bf334f4.json → json-asset-6bf334f4.json} +0 -0
  281. /package/dist/{lottie-7b4f72ce.json → json-asset-7b4f72ce.json} +0 -0
  282. /package/dist/{lottie-837ec087.json → json-asset-837ec087.json} +0 -0
  283. /package/dist/{lottie-838ac1ba.json → json-asset-838ac1ba.json} +0 -0
  284. /package/dist/{lottie-8465c2cf.json → json-asset-8465c2cf.json} +0 -0
  285. /package/dist/{lottie-9e9f04a4.json → json-asset-9e9f04a4.json} +0 -0
  286. /package/dist/{lottie-a13964cb.json → json-asset-a13964cb.json} +0 -0
  287. /package/dist/{lottie-ab93a057.json → json-asset-ab93a057.json} +0 -0
  288. /package/dist/{lottie-abe308fc.json → json-asset-abe308fc.json} +0 -0
  289. /package/dist/{lottie-b24f2cd3.json → json-asset-b24f2cd3.json} +0 -0
  290. /package/dist/{lottie-bf00eaed.json → json-asset-bf00eaed.json} +0 -0
  291. /package/dist/{lottie-cb22efd7.json → json-asset-cb22efd7.json} +0 -0
  292. /package/dist/{lottie-cb953f20.json → json-asset-cb953f20.json} +0 -0
  293. /package/dist/{lottie-cc209e34.json → json-asset-cc209e34.json} +0 -0
  294. /package/dist/{lottie-cfdffceb.json → json-asset-cfdffceb.json} +0 -0
  295. /package/dist/{lottie-d33c0299.json → json-asset-d33c0299.json} +0 -0
  296. /package/dist/{lottie-d430c8ca.json → json-asset-d430c8ca.json} +0 -0
  297. /package/dist/{lottie-d8cfa560.json → json-asset-d8cfa560.json} +0 -0
  298. /package/dist/{lottie-da91beb6.json → json-asset-da91beb6.json} +0 -0
  299. /package/dist/{lottie-e2bdf85c.json → json-asset-e2bdf85c.json} +0 -0
  300. /package/dist/{lottie-e34ad826.json → json-asset-e34ad826.json} +0 -0
  301. /package/dist/{lottie-e80720aa.json → json-asset-e80720aa.json} +0 -0
  302. /package/dist/{lottie-e894bc92.json → json-asset-e894bc92.json} +0 -0
  303. /package/dist/{lottie-f28020f2.json → json-asset-f28020f2.json} +0 -0
  304. /package/dist/{lottie-f71ebbf4.json → json-asset-f71ebbf4.json} +0 -0
  305. /package/dist/{lottie-fb1f4917.json → json-asset-fb1f4917.json} +0 -0
  306. /package/dist/{lottie-ff2e97c4.json → json-asset-ff2e97c4.json} +0 -0
@@ -1,192 +0,0 @@
1
- import { _t as postRbacRoleRolePage, mt as getRbacRoleRoleDelete } from "./index.js";
2
- import "./useAppAndResource-B7FmNfKG.js";
3
- import { t as ResourceRelation_default } from "./ResourceRelation-roz0a8Td.js";
4
- import { i as kjOptions, r as ACTION, t as drawerRole_default } from "./drawerRole-DK6DrinO.js";
5
- import { PubinfoIcon, useAuth } from "pubinfo-pr";
6
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
7
- import { PlusCircleOutlined } from "@ant-design/icons-vue";
8
- import { Badge, Modal, message } from "ant-design-vue";
9
- import { Button, Space as Space$1 } from "ant-design-vue/es";
10
- import { ProTable } from "@pubinfo/pro-components";
11
- var _hoisted_1 = {
12
- "py-10px": "",
13
- "px-10px": "",
14
- "w-full": "",
15
- "h-full": ""
16
- }, _hoisted_2 = ["onClick"], _hoisted_3 = ["onClick"], _hoisted_4 = { class: "ml-4px" }, _hoisted_5 = ["onClick"], _hoisted_6 = { class: "ml-4px" }, role_default = /* @__PURE__ */ defineComponent({
17
- name: "Role",
18
- __name: "index",
19
- setup(s) {
20
- let { auth: u } = useAuth(), d = ref(), f = ref();
21
- function p() {
22
- d.value.reload();
23
- }
24
- async function m(t) {
25
- let { current: n, pageSize: r, ...i } = t, a = await postRbacRoleRolePage({
26
- currentPage: n,
27
- pageSize: r,
28
- ...i
29
- });
30
- return {
31
- success: a.success,
32
- data: a.data?.records ?? [],
33
- total: a.data?.total ?? 0
34
- };
35
- }
36
- let h = [
37
- {
38
- valueType: "a-input",
39
- bind: "value",
40
- minWidth: 200,
41
- title: "角色名称",
42
- dataIndex: "name",
43
- ellipsis: !0,
44
- fieldProps: {
45
- placeholder: "请输入角色名称",
46
- allowClear: !0
47
- }
48
- },
49
- {
50
- hideInSearch: !0,
51
- minWidth: 80,
52
- title: "可见范围",
53
- dataIndex: "viewScope",
54
- customRender: ({ text: e }) => kjOptions.find((t) => t.value === e)?.label
55
- },
56
- {
57
- hideInSearch: !0,
58
- minWidth: 80,
59
- title: "创建人",
60
- dataIndex: "createUserName"
61
- },
62
- {
63
- hideInSearch: !0,
64
- minWidth: 100,
65
- title: "创建部门",
66
- dataIndex: "createOrgName"
67
- },
68
- {
69
- hideInSearch: !0,
70
- minWidth: 100,
71
- title: "创建时间",
72
- dataIndex: "createTime"
73
- },
74
- {
75
- hideInSearch: !0,
76
- minWidth: 100,
77
- title: "修改时间",
78
- dataIndex: "updateTime"
79
- },
80
- {
81
- hideInSearch: !0,
82
- minWidth: 80,
83
- title: "角色状态",
84
- dataIndex: "enable",
85
- customRender: ({ text: e }) => e ? createVNode(Badge, {
86
- status: "success",
87
- text: "正常"
88
- }, null) : createVNode(Badge, {
89
- status: "error",
90
- text: "关闭"
91
- }, null)
92
- },
93
- {
94
- hideInSearch: !0,
95
- width: 240,
96
- title: "操作",
97
- dataIndex: "action",
98
- fixed: "right",
99
- hideInTable() {
100
- return !u([
101
- "role_resource_relation",
102
- "role_edit",
103
- "role_remove"
104
- ]);
105
- }
106
- }
107
- ], g = ref();
108
- function _(e, n) {
109
- switch (e) {
110
- case ACTION.RESOURCE_RELATION:
111
- g.value.open(n);
112
- break;
113
- case ACTION.EDIT:
114
- f.value.open(e, n);
115
- break;
116
- case ACTION.ADD:
117
- f.value.open(e);
118
- break;
119
- case ACTION.REMOVE:
120
- Modal.confirm({
121
- title: "删除",
122
- content: "确定要删除该角色吗?",
123
- onOk() {
124
- getRbacRoleRoleDelete({ id: n?.id }).then((e) => {
125
- e.success && (message.success("删除成功"), p());
126
- });
127
- }
128
- });
129
- break;
130
- }
131
- }
132
- return (e, t) => {
133
- let r = PlusCircleOutlined, o = Button, s = PubinfoIcon, c = Space$1, l = resolveDirective("auth");
134
- return openBlock(), createElementBlock("div", _hoisted_1, [
135
- createVNode(unref(ProTable), {
136
- ref_key: "tableRef",
137
- ref: d,
138
- "row-key": "id",
139
- request: m,
140
- columns: h,
141
- "auto-height": "",
142
- scroll: { x: 1100 }
143
- }, {
144
- toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(o, {
145
- type: "primary",
146
- onClick: t[0] ||= (e) => _(unref(ACTION).ADD)
147
- }, {
148
- default: withCtx(() => [createVNode(r), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
149
- _: 1
150
- })), [[l, "role_add"]])]),
151
- bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "action" ? (openBlock(), createBlock(c, { key: 0 }, {
152
- default: withCtx(() => [
153
- withDirectives((openBlock(), createElementBlock("a", {
154
- class: "flex items-center",
155
- onClick: (e) => _(unref(ACTION).RESOURCE_RELATION, t)
156
- }, [createVNode(s, {
157
- name: "view",
158
- class: "mr-1 text-base"
159
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).RESOURCE_RELATION), 1)], 8, _hoisted_2)), [[l, "resource_role_relation"]]),
160
- withDirectives((openBlock(), createElementBlock("a", {
161
- class: "flex items-center",
162
- onClick: (e) => _(unref(ACTION).EDIT, t)
163
- }, [createVNode(s, {
164
- name: "edit",
165
- class: "text-base"
166
- }), createElementVNode("span", _hoisted_4, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_3)), [[l, "role_edit"]]),
167
- withDirectives((openBlock(), createElementBlock("span", {
168
- class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
169
- onClick: (e) => _(unref(ACTION).REMOVE, t)
170
- }, [createVNode(s, {
171
- name: "remove",
172
- class: "text-base"
173
- }), createElementVNode("span", _hoisted_6, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[l, "role_remove"]])
174
- ]),
175
- _: 2
176
- }, 1024)) : createCommentVNode("", !0)]),
177
- _: 1
178
- }, 512),
179
- createVNode(drawerRole_default, {
180
- ref_key: "drawerRoleRef",
181
- ref: f,
182
- onSubmit: t[1] ||= (e) => p()
183
- }, null, 512),
184
- createVNode(ResourceRelation_default, {
185
- ref_key: "relationRef",
186
- ref: g
187
- }, null, 512)
188
- ]);
189
- };
190
- }
191
- });
192
- export { role_default as default };
@@ -1,171 +0,0 @@
1
- import { st as deleteRbacPubRoleGroupDelete, ut as postRbacPubRoleGroupPageQuery } from "./index.js";
2
- import "./RoleSelector-gkar_UGG.js";
3
- import { r as ACTION, t as drawerRole_default } from "./drawerRole-DrzMHL0O.js";
4
- import { PubinfoIcon, useAuth } from "pubinfo-pr";
5
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
6
- import { PlusCircleOutlined } from "@ant-design/icons-vue";
7
- import { Badge, Modal, message } from "ant-design-vue";
8
- import { Button, Space as Space$1 } from "ant-design-vue/es";
9
- import { ProTable } from "@pubinfo/pro-components";
10
- var _hoisted_1 = {
11
- "py-10px": "",
12
- "px-10px": "",
13
- "w-full": "",
14
- "h-full": ""
15
- }, _hoisted_2 = ["onClick"], _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], _hoisted_5 = { class: "ml-4px" }, role_group_default = /* @__PURE__ */ defineComponent({
16
- name: "Role",
17
- __name: "index",
18
- setup(o) {
19
- let { auth: u } = useAuth(), d = ref(), f = ref();
20
- function p() {
21
- d.value.reload();
22
- }
23
- async function m(e) {
24
- let { current: n, pageSize: r, ...i } = e, a = await postRbacPubRoleGroupPageQuery({
25
- currentPage: n,
26
- pageSize: r,
27
- ...i
28
- });
29
- return {
30
- success: a.success,
31
- data: a.data?.records ?? [],
32
- total: a.data?.total ?? 0
33
- };
34
- }
35
- let h = [
36
- {
37
- valueType: "a-input",
38
- bind: "value",
39
- minWidth: 200,
40
- title: "角色组名称",
41
- dataIndex: "name",
42
- ellipsis: !0,
43
- fieldProps: {
44
- placeholder: "请输入角色组名称",
45
- allowClear: !0
46
- }
47
- },
48
- {
49
- hideInSearch: !0,
50
- minWidth: 80,
51
- title: "创建人",
52
- dataIndex: "createUserName"
53
- },
54
- {
55
- hideInSearch: !0,
56
- minWidth: 100,
57
- title: "创建部门",
58
- dataIndex: "createOrgName"
59
- },
60
- {
61
- hideInSearch: !0,
62
- minWidth: 100,
63
- title: "创建时间",
64
- dataIndex: "createTime"
65
- },
66
- {
67
- hideInSearch: !0,
68
- minWidth: 100,
69
- title: "修改时间",
70
- dataIndex: "updateTime"
71
- },
72
- {
73
- valueType: "a-select",
74
- minWidth: 80,
75
- title: "角色组状态",
76
- dataIndex: "enable",
77
- customRender: ({ text: e }) => e ? createVNode(Badge, {
78
- status: "success",
79
- text: "正常"
80
- }, null) : createVNode(Badge, {
81
- status: "error",
82
- text: "关闭"
83
- }, null),
84
- fieldProps: {
85
- placeholder: "请选择是否启用",
86
- allowClear: !0,
87
- options: [{
88
- value: 1,
89
- label: "正常"
90
- }, {
91
- value: 0,
92
- label: "关闭"
93
- }]
94
- }
95
- },
96
- {
97
- hideInSearch: !0,
98
- width: 140,
99
- title: "操作",
100
- dataIndex: "action",
101
- fixed: "right",
102
- hideInTable() {
103
- return !u(["role_group_edit", "role_group_remove"]);
104
- }
105
- }
106
- ];
107
- function g(t, r) {
108
- switch (t) {
109
- case ACTION.EDIT:
110
- f.value.open(t, r);
111
- break;
112
- case ACTION.ADD:
113
- f.value.open(t);
114
- break;
115
- case ACTION.REMOVE:
116
- Modal.confirm({
117
- title: "删除",
118
- content: "确定要删除该角色组吗?",
119
- onOk() {
120
- deleteRbacPubRoleGroupDelete({ id: r?.id }).then((e) => {
121
- e.success && (message.success("删除成功"), p());
122
- });
123
- }
124
- });
125
- break;
126
- }
127
- }
128
- return (e, t) => {
129
- let a = PlusCircleOutlined, o = Button, s = PubinfoIcon, c = Space$1, l = resolveDirective("auth");
130
- return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
131
- ref_key: "tableRef",
132
- ref: d,
133
- "row-key": "id",
134
- request: m,
135
- columns: h,
136
- "auto-height": "",
137
- scroll: { x: 1100 }
138
- }, {
139
- toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(o, {
140
- type: "primary",
141
- onClick: t[0] ||= (e) => g(unref(ACTION).ADD)
142
- }, {
143
- default: withCtx(() => [createVNode(a), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
144
- _: 1
145
- })), [[l, "role_group_add"]])]),
146
- bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "action" ? (openBlock(), createBlock(c, { key: 0 }, {
147
- default: withCtx(() => [withDirectives((openBlock(), createElementBlock("a", {
148
- class: "flex items-center",
149
- onClick: (e) => g(unref(ACTION).EDIT, t)
150
- }, [createVNode(s, {
151
- name: "edit",
152
- class: "text-base"
153
- }), createElementVNode("span", _hoisted_3, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_2)), [[l, "role_edit"]]), withDirectives((openBlock(), createElementBlock("span", {
154
- class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
155
- onClick: (e) => g(unref(ACTION).REMOVE, t)
156
- }, [createVNode(s, {
157
- name: "remove",
158
- class: "text-base"
159
- }), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_4)), [[l, "role_remove"]])]),
160
- _: 2
161
- }, 1024)) : createCommentVNode("", !0)]),
162
- _: 1
163
- }, 512), createVNode(drawerRole_default, {
164
- ref_key: "drawerRoleRef",
165
- ref: f,
166
- onSubmit: t[1] ||= (e) => p()
167
- }, null, 512)]);
168
- };
169
- }
170
- });
171
- export { role_group_default as default };
@@ -1,221 +0,0 @@
1
- import { Lt as useToggle, c as getSysconfigGetSysSecurityConfig, u as postSysconfigEditSysSecurityConfig } from "./index.js";
2
- import { PassStrengthValidator } from "pubinfo-pr";
3
- import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, onMounted, openBlock, reactive, ref, resolveComponent, resolveDirective, unref, withCtx, withDirectives } from "vue";
4
- import { message } from "ant-design-vue";
5
- import { Button, Form as Form$1, FormItem, Input as Input$1, Select, Switch } from "ant-design-vue/es";
6
- import './safe_setting.css';var _hoisted_1 = {
7
- "w-full": "",
8
- "h-full": "",
9
- "pt-10px": "",
10
- "px-10px": "",
11
- "overflow-auto": ""
12
- }, _hoisted_2 = {
13
- "h-full": "",
14
- "min-w-1130px": ""
15
- }, _hoisted_3 = { class: "pt-20px flex flex-col box-border bg-white dark:bg-[#141414] text-[#4e5969] dark:text-[#C9CDD4]" }, _hoisted_4 = { class: "p-16px text-right b-t-1 b-t-style-solid b-t-color-[#e5e6eb] dark:b-t-color-[#424242]" }, _hoisted_5 = { class: "mt-10px bg-white dark:bg-[#141414] text-[#4e5969] dark:text-[#C9CDD4]" }, safe_setting_default = /* @__PURE__ */ defineComponent({
16
- __name: "index",
17
- setup(l) {
18
- let p = {
19
- blackWhiteListMode: [{
20
- required: !0,
21
- message: "请选择黑白名单模式",
22
- trigger: "change"
23
- }],
24
- lockEnable: [{
25
- required: !0,
26
- message: "请选择密码错误后是否锁定账号",
27
- trigger: "change"
28
- }],
29
- lockMinutes: [{
30
- required: !0,
31
- validator: x,
32
- trigger: "change"
33
- }],
34
- allowFailCounts: [{
35
- required: !0,
36
- validator: S,
37
- trigger: "change"
38
- }],
39
- defaultPassword: [{
40
- required: !0,
41
- validator: w,
42
- trigger: "change"
43
- }],
44
- expireDays: [{
45
- required: !0,
46
- validator: C,
47
- trigger: "change"
48
- }],
49
- forceChangeInitPwd: [{
50
- required: !0,
51
- message: "请选择是否开启强制修改初始化密码",
52
- trigger: "change"
53
- }]
54
- }, h = ref(), g = { style: { width: "240px" } }, _ = { span: 9 }, v = [
55
- {
56
- label: "无模式",
57
- value: "0"
58
- },
59
- {
60
- label: "黑名单模式",
61
- value: "1"
62
- },
63
- {
64
- label: "白名单模式",
65
- value: "2"
66
- }
67
- ], y = reactive({
68
- blackWhiteListMode: "0",
69
- lockEnable: !0,
70
- allowFailCounts: 5,
71
- lockMinutes: 10,
72
- defaultPassword: "",
73
- expireDays: 30,
74
- forceChangeInitPwd: !0
75
- }), b = ref(!1);
76
- onMounted(T);
77
- async function x(e, t) {
78
- return y.lockEnable && !t ? Promise.reject(/* @__PURE__ */ Error("请输入锁定分钟数")) : Number.isNaN(+t) || +t < 1 || +t > 360 ? Promise.reject(/* @__PURE__ */ Error("锁定分钟数应为[1~360]之间的正整数")) : Promise.resolve();
79
- }
80
- async function S(e, t) {
81
- return y.lockEnable && !t ? Promise.reject(/* @__PURE__ */ Error("请输入允许密码连续错误次数")) : Number.isNaN(+t) || +t < 1 || +t > 20 ? Promise.reject(/* @__PURE__ */ Error("允许密码连续错误次数应为[1~20]之间的正整数")) : Promise.resolve();
82
- }
83
- async function C(e, t) {
84
- return y.lockEnable && !t ? Promise.reject(/* @__PURE__ */ Error("请输入密码过期天数")) : Number.isNaN(+t) || +t < 30 || +t > 360 ? Promise.reject(/* @__PURE__ */ Error("密码过期天数应为[30~360]之间的正整数")) : Promise.resolve();
85
- }
86
- async function w(e, t) {
87
- return t ? b.value ? Promise.resolve() : Promise.reject(/* @__PURE__ */ Error("密码规则校验不通过")) : Promise.reject(/* @__PURE__ */ Error("请输入默认密码"));
88
- }
89
- function T() {
90
- getSysconfigGetSysSecurityConfig().then((e) => {
91
- e && e.data && e.data.content && e.success && Object.assign(y, JSON.parse(e.data.content));
92
- });
93
- }
94
- let [E, D] = useToggle(!1);
95
- async function O() {
96
- if (!E.value) {
97
- D(!0);
98
- try {
99
- await h.value?.validate();
100
- let { blackWhiteListMode: e, lockEnable: t, allowFailCounts: r, lockMinutes: i, defaultPassword: a, expireDays: o, forceChangeInitPwd: s } = y, c = {
101
- blackWhiteListMode: e,
102
- lockEnable: t,
103
- defaultPassword: a,
104
- expireDays: o,
105
- forceChangeInitPwd: s
106
- };
107
- t && Object.assign(c, {
108
- allowFailCounts: r,
109
- lockMinutes: i
110
- }), await postSysconfigEditSysSecurityConfig({ content: JSON.stringify(c) }), D(!1), message.success("配置更改成功");
111
- } catch {
112
- D(!1);
113
- }
114
- }
115
- }
116
- return (e, t) => {
117
- let n = Select, l = FormItem, u = Switch, d = Input$1, f = Button, m = Form$1, x = resolveDirective("auth");
118
- return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(m, {
119
- ref_key: "formRef",
120
- ref: h,
121
- model: y,
122
- rules: p,
123
- "label-col": g,
124
- "wrapper-col": _,
125
- class: "safe-rule-form"
126
- }, {
127
- default: withCtx(() => [
128
- createVNode(l, {
129
- label: "黑白名单模式",
130
- name: "blackWhiteListMode"
131
- }, {
132
- default: withCtx(() => [createVNode(n, {
133
- value: y.blackWhiteListMode,
134
- "onUpdate:value": t[0] ||= (e) => y.blackWhiteListMode = e,
135
- placeholder: "请选择",
136
- options: v
137
- }, null, 8, ["value"])]),
138
- _: 1
139
- }),
140
- createVNode(l, {
141
- label: "是否开启密码错误后锁定账号",
142
- name: "lockEnable"
143
- }, {
144
- default: withCtx(() => [createVNode(u, {
145
- checked: y.lockEnable,
146
- "onUpdate:checked": t[1] ||= (e) => y.lockEnable = e
147
- }, null, 8, ["checked"])]),
148
- _: 1
149
- }),
150
- y.lockEnable ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createVNode(l, {
151
- label: "允许密码连续错误次数",
152
- name: "allowFailCounts"
153
- }, {
154
- default: withCtx(() => [createVNode(d, {
155
- value: y.allowFailCounts,
156
- "onUpdate:value": t[2] ||= (e) => y.allowFailCounts = e,
157
- "mr-12px": ""
158
- }, null, 8, ["value"]), t[9] ||= createTextVNode("次 ", -1)]),
159
- _: 1
160
- }), createVNode(l, {
161
- label: "锁定多少分钟",
162
- name: "lockMinutes"
163
- }, {
164
- default: withCtx(() => [createElementVNode("span", null, [createVNode(d, {
165
- value: y.lockMinutes,
166
- "onUpdate:value": t[3] ||= (e) => y.lockMinutes = e,
167
- "mr-12px": ""
168
- }, null, 8, ["value"]), t[10] ||= createTextVNode("分钟", -1)])]),
169
- _: 1
170
- })], 64)) : createCommentVNode("", !0),
171
- createVNode(l, {
172
- label: "默认密码设置",
173
- name: "defaultPassword"
174
- }, {
175
- default: withCtx(() => [createVNode(d, {
176
- value: y.defaultPassword,
177
- "onUpdate:value": t[4] ||= (e) => y.defaultPassword = e
178
- }, null, 8, ["value"])]),
179
- _: 1
180
- }),
181
- createVNode(l, {
182
- label: "密码过期天数",
183
- name: "expireDays"
184
- }, {
185
- default: withCtx(() => [createVNode(d, {
186
- value: y.expireDays,
187
- "onUpdate:value": t[5] ||= (e) => y.expireDays = e,
188
- "mr-12px": ""
189
- }, null, 8, ["value"]), t[11] ||= createTextVNode("天 ", -1)]),
190
- _: 1
191
- }),
192
- createVNode(l, {
193
- label: "是否开启强制修改初始化密码",
194
- name: "forceChangeInitPwd"
195
- }, {
196
- default: withCtx(() => [createVNode(u, {
197
- checked: y.forceChangeInitPwd,
198
- "onUpdate:checked": t[6] ||= (e) => y.forceChangeInitPwd = e
199
- }, null, 8, ["checked"])]),
200
- _: 1
201
- }),
202
- withDirectives((openBlock(), createElementBlock("div", _hoisted_4, [createVNode(f, {
203
- type: "primary",
204
- onClick: O
205
- }, {
206
- default: withCtx(() => [...t[12] ||= [createTextVNode(" 更改配置 ", -1)]]),
207
- _: 1
208
- })])), [[x, "change_safe_setting"]])
209
- ]),
210
- _: 1
211
- }, 8, ["model"])]), createElementVNode("div", _hoisted_5, [createVNode(unref(PassStrengthValidator), {
212
- modelValue: y.defaultPassword,
213
- "onUpdate:modelValue": t[7] ||= (e) => y.defaultPassword = e,
214
- validate: b.value,
215
- "onUpdate:validate": t[8] ||= (e) => b.value = e,
216
- vertical: ""
217
- }, null, 8, ["modelValue", "validate"])])])]);
218
- };
219
- }
220
- });
221
- export { safe_setting_default as default };
@@ -1,77 +0,0 @@
1
- import { r as __exportAll } from "./chunk-DiMWNkAf.js";
2
- import { h as _plugin_vue_export_helper_default } from "./index.js";
3
- import { t as animation_item_default } from "./animation_item-DBOz2rcX.js";
4
- import { t as HCheckList_default } from "./HCheckList-ODQHidN8.js";
5
- import { PubinfoIcon } from "pubinfo-pr";
6
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, isRef, openBlock, ref, resolveComponent, toDisplayString, unref, watch, withCtx } from "vue";
7
- import { Switch, Tooltip } from "ant-design-vue/es";
8
- import './setItem.css';var _hoisted_1 = { class: "flex flex-col" }, _hoisted_2 = { class: "flex flex-row items-center justify-between h-24px" }, _hoisted_3 = { class: "flex flex-row items-center" }, _hoisted_4 = { class: "text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, _hoisted_5 = { class: "h-full w-[75%] rounded-[8px] jb flex justify-center" }, setItem_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
9
- name: "SetItem",
10
- __name: "setItem",
11
- props: {
12
- name: { default: "" },
13
- descripe: { default: "" },
14
- type: { default: "" },
15
- open: {
16
- type: Boolean,
17
- default: !1
18
- },
19
- activeStyle: { default: "" },
20
- styleOptions: { default: () => [] },
21
- lightAnimationData: { default: "" },
22
- darkAnimationData: { default: "" }
23
- },
24
- emits: ["change"],
25
- setup(e, { emit: t }) {
26
- let n = e, i = t, o = ref(n.open), s = ref(n.activeStyle), c = ref();
27
- function l() {
28
- c.value && c.value?.play();
29
- }
30
- function u() {
31
- c.value && c.value?.stop();
32
- }
33
- return watch(() => o.value, () => {
34
- i("change", o.value);
35
- }), watch(() => s.value, () => {
36
- i("change", s.value);
37
- }), (t, r) => {
38
- let i = PubinfoIcon, a = Tooltip, d = Switch;
39
- return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [
40
- createElementVNode("div", _hoisted_3, [createElementVNode("span", _hoisted_4, toDisplayString(n.name), 1), n.descripe ? (openBlock(), createBlock(a, {
41
- key: 0,
42
- title: n.descripe
43
- }, {
44
- default: withCtx(() => [createVNode(i, {
45
- name: "i-ri-question-line",
46
- class: "text-[#4E5969] dark:text-[#C9CDD4]"
47
- })]),
48
- _: 1
49
- }, 8, ["title"])) : createCommentVNode("", !0)]),
50
- n.type === "switch" ? (openBlock(), createBlock(d, {
51
- key: 0,
52
- checked: unref(o),
53
- "onUpdate:checked": r[0] ||= (e) => isRef(o) ? o.value = e : null,
54
- "checked-children": "开启",
55
- "un-checked-children": "关闭"
56
- }, null, 8, ["checked"])) : createCommentVNode("", !0),
57
- n.type === "check" ? (openBlock(), createBlock(HCheckList_default, {
58
- key: 1,
59
- modelValue: unref(s),
60
- "onUpdate:modelValue": r[1] ||= (e) => isRef(s) ? s.value = e : null,
61
- class: "custom_style h-24px",
62
- options: e.styleOptions
63
- }, null, 8, ["modelValue", "options"])) : createCommentVNode("", !0)
64
- ]), createElementVNode("div", {
65
- class: "mt-[16px] item_ani flex-1 dark:bg-[#3a3e43]! dark:border-transparent!",
66
- onMouseenter: r[2] ||= (e) => l(),
67
- onMouseleave: r[3] ||= (e) => u()
68
- }, [createElementVNode("div", _hoisted_5, [createVNode(animation_item_default, {
69
- ref_key: "animateItem",
70
- ref: c,
71
- "light-animation-data": n.lightAnimationData,
72
- "dark-animation-data": n.darkAnimationData
73
- }, null, 8, ["light-animation-data", "dark-animation-data"])])], 32)]);
74
- };
75
- }
76
- }), setItem_exports = /* @__PURE__ */ __exportAll({ default: () => setItem_default }), setItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(setItem_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-b486c805"]]);
77
- export { setItem_exports as n, setItem_default as t };
@@ -1,2 +0,0 @@
1
- var setting_manage_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20fill='none'%20viewBox='0%200%2023%2026'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='url(%23a)'%20d='M9.258%201.155a4%204%200%200%201%204%200l7.259%204.19a4%204%200%200%201%202%203.464v8.382a4%204%200%200%201-2%203.464l-7.259%204.19a4%204%200%200%201-4%200L2%2020.655a4%204%200%200%201-2-3.464V8.809a4%204%200%200%201%202-3.464z'/%3e%3cpath%20fill='url(%23b)'%20d='M9.258%201.155a4%204%200%200%201%204%200l7.259%204.19a4%204%200%200%201%202%203.464v8.382a4%204%200%200%201-2%203.464l-7.259%204.19a4%204%200%200%201-4%200L2%2020.655a4%204%200%200%201-2-3.464V8.809a4%204%200%200%201%202-3.464z'/%3e%3cpath%20fill='%23fff'%20d='M11.43%2011.05c1.209%200%202.213.83%202.5%201.947h2.326q.001-.138-.005-.276a.67.67%200%200%201%20.261-.564l.44-.328a.725.725%200%200%200%20.247-1.009l-1.06-1.824a.86.86%200%200%200-.462-.353.74.74%200%200%200-.543.056l-.518.215a.66.66%200%200%201-.599-.051%206%206%200%200%200-.487-.272.64.64%200%200%201-.353-.481l-.082-.528a.75.75%200%200%200-.764-.707h-2.136a.77.77%200%200%200-.763.707l-.082.553a.65.65%200%200%201-.359.487%204%204%200%200%200-.456.256.66.66%200%200%201-.61.062l-.538-.215c-.353-.19-.789-.057-1.009.297l-1.06%201.829a.773.773%200%200%200%20.246%201.009l.44.328c.18.133.277.343.261.563q-.015.255%200%20.508a.66.66%200%200%201-.26.563l-.441.323a.724.724%200%200%200-.246%201.01l1.06%201.823a.86.86%200%200%200%20.461.354c.19.056.38.025.543-.057l.518-.215a.66.66%200%200%201%20.6.051q.229.145.465.267a.66.66%200%200%201%20.349.481l.087.559c.026.41.353.707.763.707h.615v-2.977a2.58%202.58%200%200%201-1.947-2.5%202.604%202.604%200%200%201%202.598-2.597m5.133%202.593h-3.827c-.353%200-.66.277-.666.63a.64.64%200%200%200%20.64.65h3.828c.353%200%20.66-.276.666-.63a.636.636%200%200%200-.64-.65m0%203.853h-3.827c-.353%200-.66.276-.666.63a.64.64%200%200%200%20.64.65h3.828c.353%200%20.66-.276.666-.63a.636.636%200%200%200-.64-.65m0-1.927h-3.827c-.353%200-.66.277-.666.63a.64.64%200%200%200%20.64.651h3.828c.353%200%20.66-.277.666-.63a.636.636%200%200%200-.64-.65'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='11.258'%20x2='11.258'%20y1='0'%20y2='26'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B3B7BF'/%3e%3cstop%20offset='1'%20stop-color='%23969AA1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='b'%20x1='11.258'%20x2='11.258'%20y1='0'%20y2='26'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFC148'/%3e%3cstop%20offset='1'%20stop-color='%23EB7939'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
2
- export { setting_manage_default as default };
@@ -1,2 +0,0 @@
1
- import { useSettingsStore } from "pubinfo-pr";
2
- export { useSettingsStore as t };