@pubinfo/module-rbac 2.0.0-beta.30 → 2.0.0-beta.32

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 (228) hide show
  1. package/dist/OrgSelector-DWT1w1h-.js +27 -0
  2. package/dist/OrgUserSelector-VjiKyUET.js +1 -0
  3. package/dist/ResourceSelector-D1mJz7F1.js +1 -0
  4. package/dist/_baseClone-CBD6n26E.js +1 -0
  5. package/dist/_initCloneObject-CzZMvAGd.js +1 -0
  6. package/dist/_plugin-vue_export-helper-BP6J6hmQ.js +1 -0
  7. package/dist/animation_item-D4pH5y91.js +2 -0
  8. package/dist/assist-D6hXeP0y.js +1 -0
  9. package/dist/blackWhiteList-C0vzrSes.js +1 -0
  10. package/dist/breadcrumb_setting-105xA0or.js +1 -0
  11. package/dist/browserType-WCrQysPD.js +1 -0
  12. package/dist/chunk-oLkGOndT.js +1 -0
  13. package/dist/cloneDeep-B4mZx_tg.js +1 -0
  14. package/dist/components/GroupSelector/index.vue.d.ts +4 -4
  15. package/dist/components/OrgTree/index.vue.d.ts +1 -1
  16. package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +4 -4
  17. package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +4 -4
  18. package/dist/components/ResourceSelector/index.vue.d.ts +5 -5
  19. package/dist/composables/useLottie.d.ts +1 -1
  20. package/dist/configData-C-XgieQd.js +1 -0
  21. package/dist/data-permission-DcXUZZ1G.js +1 -0
  22. package/dist/dictionary-BafvPpvf.js +1 -0
  23. package/dist/enum-C0pwhwh3.js +1 -0
  24. package/dist/enum-CEWFYwLa.js +1 -0
  25. package/dist/enum-CFY_YSvf.js +1 -0
  26. package/dist/enum-G-OAfo9d.js +1 -0
  27. package/dist/group-C1e_vupc.js +1 -0
  28. package/dist/index.js +1 -9
  29. package/dist/interface.d.ts +1 -1
  30. package/dist/itemlist-Dy9O9k6h.js +1 -0
  31. package/dist/layout_setting-BzYjnHvF.js +1 -0
  32. package/dist/login_history-DXixU5An.js +1 -0
  33. package/dist/menu_setting-DWM1r6js.js +1 -0
  34. package/dist/not-data-D8CCqeCi.js +1 -0
  35. package/dist/operate_history-DaDVex6q.js +1 -0
  36. package/dist/organization-CsSd1lr2.js +10 -0
  37. package/dist/other_setting-Dq67iG6v.js +1 -0
  38. package/dist/page_animation_setting-Cj6N5TJq.js +1 -0
  39. package/dist/page_w_setting-Dmik-Xi7.js +1 -0
  40. package/dist/position-CzxbbVOL.js +1 -0
  41. package/dist/rbac-DJC95w7l.js +1 -0
  42. package/dist/region-DGxnlpyo.js +1 -0
  43. package/dist/request-C2x7wP-H.js +1 -0
  44. package/dist/resource-BFe47BKW.js +1 -0
  45. package/dist/role-Bo47PnSD.js +1 -0
  46. package/dist/role_group-BVPoRr1q.js +1 -0
  47. package/dist/routes/index.d.ts +1 -1
  48. package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
  49. package/dist/routes/modules/log.manage.menu.d.ts +1 -1
  50. package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
  51. package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
  52. package/dist/routes/modules/system.manage.menu.d.ts +1 -1
  53. package/dist/safe_setting-kBJgSjzd.js +1 -0
  54. package/dist/setItem-DXsVoKM_.js +1 -0
  55. package/dist/shared-DcMP4Woj.js +1 -0
  56. package/dist/stores-pP-UCq1z.js +1 -0
  57. package/dist/style.css +2 -1
  58. package/dist/tabbar_setting-C9uHCbA0.js +1 -0
  59. package/dist/tenant-BA6IO7wP.js +1 -0
  60. package/dist/theme_setting-CxoaGtjk.js +1 -0
  61. package/dist/toolbar_setting-DyiZvqwf.js +1 -0
  62. package/dist/useAppAndResource-D5u0TDHS.js +1 -0
  63. package/dist/user-B5W5JRXl.js +1 -0
  64. package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +4 -4
  65. package/dist/views/blackWhiteList/index.vue.d.ts +319 -319
  66. package/dist/views/breadcrumb_setting/index.vue.d.ts +1 -1
  67. package/dist/views/components/HCheckList.vue.d.ts +3 -3
  68. package/dist/views/components/animation_item.vue.d.ts +5 -5
  69. package/dist/views/components/setItem.vue.d.ts +17 -17
  70. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +28 -28
  71. package/dist/views/data-permission/index.vue.d.ts +343 -343
  72. package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +4 -4
  73. package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +4 -4
  74. package/dist/views/dictionary/index.vue.d.ts +319 -319
  75. package/dist/views/dictionary/itemlist.vue.d.ts +319 -319
  76. package/dist/views/group/components/drawerGroup.vue.d.ts +4 -4
  77. package/dist/views/group/index.vue.d.ts +319 -319
  78. package/dist/views/layout_setting/index.vue.d.ts +1 -1
  79. package/dist/views/log_center/components/browserType.vue.d.ts +3 -3
  80. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -4
  81. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -4
  82. package/dist/views/log_center/login_history.vue.d.ts +315 -315
  83. package/dist/views/log_center/operate_history.vue.d.ts +315 -315
  84. package/dist/views/menu_setting/index.vue.d.ts +1 -1
  85. package/dist/views/organization/components/drawerOrganization.vue.d.ts +4 -4
  86. package/dist/views/organization/components/drawerRole.vue.d.ts +7 -7
  87. package/dist/views/organization/components/roleSelect.vue.d.ts +4 -4
  88. package/dist/views/organization/index.vue.d.ts +14 -14
  89. package/dist/views/other_setting/index.vue.d.ts +1 -1
  90. package/dist/views/page_animation_setting/index.vue.d.ts +1 -1
  91. package/dist/views/page_w_setting/index.vue.d.ts +1 -1
  92. package/dist/views/position/components/drawerPosition.vue.d.ts +4 -4
  93. package/dist/views/position/index.vue.d.ts +319 -319
  94. package/dist/views/region/components/drawerRegion.vue.d.ts +4 -4
  95. package/dist/views/region/index.vue.d.ts +319 -319
  96. package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -4
  97. package/dist/views/resource/components/RoleRelation.vue.d.ts +2 -2
  98. package/dist/views/resource/index.vue.d.ts +321 -321
  99. package/dist/views/role/components/ResourceRelation.vue.d.ts +316 -316
  100. package/dist/views/role/components/drawerRole.vue.d.ts +10 -10
  101. package/dist/views/role/index.vue.d.ts +642 -642
  102. package/dist/views/role_group/components/drawerRole.vue.d.ts +7 -7
  103. package/dist/views/role_group/components/roleSelect.vue.d.ts +4 -4
  104. package/dist/views/role_group/index.vue.d.ts +322 -322
  105. package/dist/views/safe_setting/index.vue.d.ts +1 -1
  106. package/dist/views/tabbar_setting/index.vue.d.ts +1 -1
  107. package/dist/views/tenant/components/TenantEdit.vue.d.ts +10 -10
  108. package/dist/views/tenant/index.vue.d.ts +325 -325
  109. package/dist/views/theme_setting/index.vue.d.ts +1 -1
  110. package/dist/views/toolbar_setting/index.vue.d.ts +1 -1
  111. package/dist/views/user/components/OrgAndPosition.vue.d.ts +3 -3
  112. package/dist/views/user/components/UserAuthorization.vue.d.ts +7 -7
  113. package/dist/views/user/components/UserEdit.vue.d.ts +4 -4
  114. package/dist/views/user/components/roleSelect.vue.d.ts +4 -4
  115. package/dist/views/user/index.vue.d.ts +326 -326
  116. package/dist/views/watermark_setting/index.vue.d.ts +9 -9
  117. package/dist/watermark_setting-ChDfJ5of.js +1 -0
  118. package/package.json +7 -7
  119. package/src/assets/icons/browser-chrome.svg +1 -0
  120. package/src/assets/icons/browser-edge.svg +1 -0
  121. package/src/assets/icons/browser-ie.svg +1 -0
  122. package/src/assets/icons/browser-other.svg +1 -0
  123. package/src/assets/icons/browser-safari.svg +1 -0
  124. package/src/components/GroupSelector/index.vue +64 -89
  125. package/src/components/OrgTree/index.vue +2 -2
  126. package/src/components/OrgUserSelector/provider.ts +1 -1
  127. package/src/components/ResourceSelector/index.vue +33 -50
  128. package/src/routes/index.ts +1 -1
  129. package/src/views/blackWhiteList/components/drawerBlackWhiteList.vue +1 -1
  130. package/src/views/blackWhiteList/index.vue +10 -18
  131. package/src/views/breadcrumb_setting/index.vue +3 -3
  132. package/src/views/components/animation_item.vue +2 -2
  133. package/src/views/components/setItem.vue +13 -20
  134. package/src/views/data-permission/components/createAndEditDataPermission.vue +4 -4
  135. package/src/views/data-permission/enum.ts +7 -7
  136. package/src/views/data-permission/index.vue +7 -10
  137. package/src/views/dictionary/components/drawerDictionary.vue +1 -1
  138. package/src/views/dictionary/components/drawerDictionaryItem.vue +1 -1
  139. package/src/views/dictionary/index.vue +3 -3
  140. package/src/views/dictionary/itemlist.vue +1 -1
  141. package/src/views/group/components/drawerGroup.vue +2 -2
  142. package/src/views/group/index.vue +10 -16
  143. package/src/views/layout_setting/index.vue +154 -164
  144. package/src/views/log_center/components/loginHistoryDetail.vue +6 -8
  145. package/src/views/log_center/components/operateHistoryDetail.vue +6 -8
  146. package/src/views/log_center/login_history.vue +6 -11
  147. package/src/views/log_center/operate_history.vue +6 -11
  148. package/src/views/menu_setting/index.vue +3 -3
  149. package/src/views/organization/components/drawerOrganization.vue +3 -3
  150. package/src/views/organization/components/drawerRole.vue +2 -2
  151. package/src/views/organization/components/roleSelect.vue +37 -58
  152. package/src/views/organization/index.vue +23 -49
  153. package/src/views/other_setting/index.vue +2 -2
  154. package/src/views/page_animation_setting/index.vue +10 -18
  155. package/src/views/page_w_setting/index.vue +133 -116
  156. package/src/views/position/components/drawerPosition.vue +2 -2
  157. package/src/views/position/index.vue +1 -1
  158. package/src/views/region/components/drawerRegion.vue +2 -2
  159. package/src/views/region/index.vue +1 -1
  160. package/src/views/resource/components/ResourceEdit.vue +2 -2
  161. package/src/views/resource/components/RoleRelation.vue +1 -1
  162. package/src/views/resource/index.vue +1 -1
  163. package/src/views/role/components/ResourceRelation.vue +3 -4
  164. package/src/views/role/components/drawerRole.vue +3 -3
  165. package/src/views/role/index.vue +1 -1
  166. package/src/views/role_group/components/ResourceRelation.vue +3 -4
  167. package/src/views/role_group/components/drawerRole.vue +1 -1
  168. package/src/views/role_group/components/roleSelect.vue +36 -60
  169. package/src/views/role_group/index.vue +1 -1
  170. package/src/views/safe_setting/index.vue +5 -7
  171. package/src/views/tabbar_setting/index.vue +2 -2
  172. package/src/views/tenant/components/TenantEdit.vue +1 -1
  173. package/src/views/tenant/index.vue +1 -1
  174. package/src/views/theme_setting/index.vue +200 -230
  175. package/src/views/toolbar_setting/index.vue +3 -3
  176. package/src/views/user/components/OrgAndPosition.vue +1 -1
  177. package/src/views/user/components/UserAuthorization.vue +6 -6
  178. package/src/views/user/components/UserEdit.vue +1 -1
  179. package/src/views/user/components/roleSelect.vue +36 -68
  180. package/src/views/user/index.vue +1 -1
  181. package/src/views/watermark_setting/index.vue +8 -15
  182. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  183. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  184. package/dist/animation_item.vue_vue_type_script_setup_true_lang-efL_vjfY.js +0 -4864
  185. package/dist/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +0 -38
  186. package/dist/cloneDeep-B4Rj61s4.js +0 -8
  187. package/dist/enum-BEHz_Q18.js +0 -74
  188. package/dist/enum-C9ihxJe7.js +0 -4
  189. package/dist/enum-CTUzwCYG.js +0 -4
  190. package/dist/enum-DDKThkSw.js +0 -24
  191. package/dist/gangweijiekou-CV7cIo_W.js +0 -46
  192. package/dist/index-B6A3qFeU.js +0 -18585
  193. package/dist/index-BChMrCkZ.js +0 -399
  194. package/dist/index-BIUkDwk2.js +0 -465
  195. package/dist/index-BOEO9CRp.js +0 -7084
  196. package/dist/index-BgdW__IO.js +0 -125
  197. package/dist/index-Bi0fucZj.js +0 -871
  198. package/dist/index-Bj3Ee1l-.js +0 -177
  199. package/dist/index-Bzjxdd-F.js +0 -702
  200. package/dist/index-CF4XGkrK.js +0 -454
  201. package/dist/index-CGAa6YPO.js +0 -273
  202. package/dist/index-CK582XAz.js +0 -317
  203. package/dist/index-Ce9x4LEV.js +0 -633
  204. package/dist/index-CkVgkVvC.js +0 -461
  205. package/dist/index-D4uw6wJ9.js +0 -181
  206. package/dist/index-DFrT08M4.js +0 -388
  207. package/dist/index-Dju21Cnm.js +0 -140
  208. package/dist/index-Dmg39liA.js +0 -168
  209. package/dist/index-DvE43Xkt.js +0 -408
  210. package/dist/index-Dx3ZDeWT.js +0 -684
  211. package/dist/index-MmfEJgmm.js +0 -860
  212. package/dist/index-RBHLCaQ9.js +0 -1626
  213. package/dist/index-Y2jyqjVz.js +0 -303
  214. package/dist/index-b_92Syzh.js +0 -131
  215. package/dist/index-g5Fyla0r.js +0 -164
  216. package/dist/index-qdAiA-PA.js +0 -286
  217. package/dist/itemlist-Og2t8W5R.js +0 -368
  218. package/dist/jiaosejiekou-0xZkLzL_.js +0 -58
  219. package/dist/login_history-BJWFChQ3.js +0 -430
  220. package/dist/operate_history-C1NKnoB5.js +0 -468
  221. package/dist/pubJiaosezukongzhiqi-BlLcThHi.js +0 -57
  222. package/dist/setItem-BRseSui6.js +0 -152
  223. package/dist/shujuquanxianzhubiaokongzhiqi-3CpYi1Zo.js +0 -65
  224. package/dist/useAppAndResource-BF7jQTCi.js +0 -55
  225. package/dist/xitongpeizhifuwu-BIR2CVXp.js +0 -23
  226. package/dist/zidianfuwu-B137v_q7.js +0 -65
  227. package/dist/ziyuanjiekou-j9nd-oaF.js +0 -69
  228. package/dist/zuzhijiaosebiaokongzhiqi-DPbRg7Qd.js +0 -28
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/module-rbac",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.30",
4
+ "version": "2.0.0-beta.32",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -19,17 +19,17 @@
19
19
  "peerDependencies": {
20
20
  "@ant-design/icons-vue": "^7.0.1",
21
21
  "@pubinfo/pro-components": "^1.7.1",
22
- "alova": "^3.2.13",
22
+ "alova": "^3.3.4",
23
23
  "ant-design-vue": "^4.2.6",
24
- "pubinfo": "2.0.0-beta.30"
24
+ "pubinfo": "2.0.0-beta.32"
25
25
  },
26
26
  "dependencies": {
27
27
  "@pubinfo/headlessui": "^1.5.1",
28
- "@vueuse/core": "^13.3.0",
28
+ "@vueuse/core": "^13.5.0",
29
29
  "dayjs": "^1.11.13",
30
30
  "lodash-es": "^4.17.21",
31
31
  "lottie-web": "^5.13.0",
32
- "vxe-table": "4.6.10"
32
+ "vxe-table": "4.13.52"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@ant-design/icons-vue": "^7.0.1",
@@ -37,11 +37,11 @@
37
37
  "@pubinfo/preset-openapi": "^0.8.4",
38
38
  "@pubinfo/pro-components": "^1.7.1",
39
39
  "@types/lodash-es": "^4.17.12",
40
- "alova": "^3.2.13",
40
+ "alova": "^3.3.4",
41
41
  "ant-design-vue": "^4.2.6",
42
42
  "type-fest": "^4.41.0",
43
43
  "vite-plugin-dts": "^4.5.4",
44
- "pubinfo": "2.0.0-beta.30"
44
+ "pubinfo": "2.0.0-beta.32"
45
45
  },
46
46
  "scripts": {
47
47
  "dev": "pubinfo build -w",
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 21 21"><path fill="#EA4335" d="M4.724 5.216C8.442.89 15.338 1.743 17.916 6.8H11.72c-1.116 0-1.836-.025-2.617.386a3.7 3.7 0 0 0-1.851 2.43z"/><path fill="#4285F4" d="M8.13 10.43a2.66 2.66 0 0 0 2.66 2.66 2.66 2.66 0 0 0 2.658-2.66 2.66 2.66 0 0 0-2.658-2.66 2.66 2.66 0 0 0-2.66 2.66"/><path fill="#34A853" d="M11.821 13.912c-1.492.443-3.238-.049-4.195-1.7-.73-1.26-2.66-4.621-3.537-6.15-3.071 4.707-.424 11.122 5.152 12.217z"/><path fill="#FBBC05" d="M13.259 7.77a3.64 3.64 0 0 1 .672 4.478 1241 1241 0 0 1-3.64 6.165c5.745.354 9.933-5.276 8.041-10.644z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 21 21"><g clip-path="url(#a)"><path fill="#0F5197" d="M17.225 14.332q-.317.17-.656.293a6.4 6.4 0 0 1-2.243.406c-2.955 0-5.53-2.03-5.53-4.642a1.96 1.96 0 0 1 1.025-1.705c-2.674.112-3.361 2.899-3.361 4.53 0 4.617 4.255 5.085 5.173 5.085.494 0 1.237-.143 1.687-.287l.081-.025a8 8 0 0 0 4.162-3.3.25.25 0 0 0-.205-.384.26.26 0 0 0-.133.029"/><path fill="#0C88DA" d="M9.396 17.513a5 5 0 0 1-1.418-1.331A5.043 5.043 0 0 1 9.82 8.684a2.1 2.1 0 0 1 .968-.25 2.04 2.04 0 0 1 1.606.812c.253.338.392.747.4 1.169 0-.013 1.53-4.974-4.998-4.974-2.743 0-4.999 2.606-4.999 4.886a8.15 8.15 0 0 0 .756 3.5 8 8 0 0 0 9.772 4.192 4.74 4.74 0 0 1-3.93-.506"/><path fill="#2CC3D5" d="M12.308 11.733c-.05.063-.207.156-.207.356 0 .163.107.319.294.45.9.625 2.593.544 2.6.544a3.73 3.73 0 0 0 1.892-.519 3.83 3.83 0 0 0 1.9-3.305c.018-1.4-.5-2.33-.706-2.743a6.9 6.9 0 0 0-1.309-1.779 7.7 7.7 0 0 0-2.229-1.517 9.1 9.1 0 0 0-3.754-.79 7.997 7.997 0 0 0-7.997 7.885c.031-2.28 2.3-4.124 4.998-4.124.219 0 1.469.019 2.625.631 1.018.537 1.555 1.181 1.924 1.825.387.668.456 1.505.456 1.843 0 .337-.169.83-.487 1.243"/><path fill="#49D668" d="M12.941 2.666s5.823 6.018-.758 9.27c0 0-.426.706 1.607 1.072 0 0 3.367.731 4.726-2.227.273-.928.517-2.366-.207-3.966a6.7 6.7 0 0 0-1.202-1.776 8.5 8.5 0 0 0-1.767-1.48c-1.07-.546-2.399-.893-2.399-.893"/></g><defs><clipPath id="a"><path fill="#fff" d="M2.792 2.43h16v16h-16z"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 21 21"><g clip-path="url(#a)"><path fill="#00AFFF" d="M18.078 7.148c.317-.872.46-1.665.428-2.347-.032-.746-.285-1.349-.73-1.792-.888-.873-3.155-.715-5.661.38-.175-.016-.35-.016-.54-.016-.856 0-1.697.143-2.49.428a7.1 7.1 0 0 0-2.141 1.19 7.52 7.52 0 0 0-2.618 4.045l-.142.554.349-.443C5.469 7.957 6.405 7.1 7.498 6.45l-.491.492A17.2 17.2 0 0 0 4.5 10.114a15.8 15.8 0 0 0-1.49 3.156c-.317.984-.492 1.904-.476 2.68.016.794.206 1.397.555 1.746.476.491 1.158.73 1.967.73.888 0 1.967-.286 3.172-.873a7.3 7.3 0 0 0 3.331.777 7.46 7.46 0 0 0 7.058-5.044l.048-.159h-4.203v.032a3.13 3.13 0 0 1-2.744 1.634 3.12 3.12 0 0 1-2.744-1.633 3.2 3.2 0 0 1-.365-1.365h10.373l.016-.11a7.5 7.5 0 0 0-.92-4.537M4.644 13.604a7.44 7.44 0 0 0 2.886 3.505c-.713.301-1.348.475-1.888.507-.586.049-1.03-.095-1.331-.38-.603-.603-.476-1.92.333-3.632M17.697 6.56a7.7 7.7 0 0 0-1.38-1.49 7.2 7.2 0 0 0-1.696-1.048c1.38-.539 2.426-.555 2.965-.016.46.476.508 1.365.112 2.554M8.625 9.622a2.976 2.976 0 0 1 2.95-2.68 2.975 2.975 0 0 1 2.95 2.68z"/></g><defs><clipPath id="a"><path fill="#fff" d="M2.526 2.43h16.532v16H2.526z"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 21 21"><g clip-path="url(#a)"><g clip-path="url(#b)"><path fill="#387DFE" d="M.792 10.43a10 10 0 1 0 20 0 10 10 0 0 0-20 0"/><path fill="#fff" d="M6.532 6.962q.782.444 1.636.722a9 9 0 0 0-.467 2.478H5.264a5.66 5.66 0 0 1 1.268-3.2m3.07-1.921a9 9 0 0 0-1.138 1.885 8 8 0 0 1-1.344-.573 5.7 5.7 0 0 1 2.482-1.311zm5.142 1.312q-.647.347-1.344.573a9 9 0 0 0-1.138-1.885 5.7 5.7 0 0 1 2.483 1.312m.588.61a5.66 5.66 0 0 1 1.272 3.199H14.17a9 9 0 0 0-.468-2.478 9 9 0 0 0 1.636-.722zm0 7.21a9 9 0 0 0-1.637-.721c.272-.8.43-1.634.468-2.478H16.6a5.66 5.66 0 0 1-1.267 3.2m-1.933.036q.698.226 1.345.573a5.7 5.7 0 0 1-2.482 1.312A9 9 0 0 0 13.4 14.21m-2.875-.38v2.102a8.2 8.2 0 0 1-1.262-1.934 8 8 0 0 1 1.264-.166zm0-2.855v2.045a9 9 0 0 0-1.572.215 8 8 0 0 1-.442-2.26zM9.262 7.137c.327-.7.752-1.352 1.262-1.934v2.102a8 8 0 0 1-1.262-.167zm1.262.98v2.044H8.51a8 8 0 0 1 .44-2.26q.778.177 1.574.215m.813-.813V5.205A8.2 8.2 0 0 1 12.6 7.139a8 8 0 0 1-1.261.166zm0 2.857V8.116a9 9 0 0 0 1.573-.215 8.1 8.1 0 0 1 .44 2.26zm1.263 3.836a8.2 8.2 0 0 1-1.263 1.934v-2.1q.639.035 1.265.169zm-1.263-.98v-2.044h2.015a8.1 8.1 0 0 1-.442 2.26 9 9 0 0 0-1.571-.214zm-4.22 1.765q.648-.347 1.346-.574a9 9 0 0 0 1.139 1.885 5.7 5.7 0 0 1-2.483-1.312zm-.586-.61a5.66 5.66 0 0 1-1.273-3.199h2.435c.039.844.197 1.678.469 2.478a9 9 0 0 0-1.637.721zm9.49.434a6.497 6.497 0 1 0-10.18-8.079 6.498 6.498 0 1 0 10.18 8.08"/></g></g><defs><clipPath id="a"><path fill="#fff" d="M.792.43h20v20h-20z"/></clipPath><clipPath id="b"><path fill="#fff" d="M.792.43h20v20h-20z"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 21 21"><path fill="#fff" d="M15.77 19.5H5.813a4.094 4.094 0 0 1-4.092-4.092V5.451a4.094 4.094 0 0 1 4.092-4.093h9.957a4.094 4.094 0 0 1 4.093 4.093v9.957a4.094 4.094 0 0 1-4.093 4.093"/><path fill="#009CF5" d="M1.792 10.43a9 9 0 1 0 17.999 0 9 9 0 0 0-17.999 0"/><path fill="#FF4C3A" d="m16.462 4.664-6.41 5.028 1.478 1.478 5.024-6.41c.054-.063-.03-.144-.092-.096"/><path fill="#fff" d="m5.122 16.194 6.41-5.024-1.478-1.478-5.028 6.407c-.05.062.03.143.096.095M10.82 1.963a.14.14 0 0 0-.138.138v1.253c0 .075.06.138.138.138.077 0 .137-.06.137-.138V2.101a.14.14 0 0 0-.137-.138m-1.472.126a.135.135 0 0 0-.111.159l.218 1.235a.135.135 0 0 0 .16.11.135.135 0 0 0 .11-.158L9.505 2.2a.135.135 0 0 0-.158-.111m-1.08 1.73a.136.136 0 0 0 .177.08.136.136 0 0 0 .081-.176l-.429-1.178a.136.136 0 0 0-.177-.081.136.136 0 0 0-.08.176zm-1.109.54a.14.14 0 0 0 .186.05.14.14 0 0 0 .05-.186l-.626-1.085a.14.14 0 0 0-.186-.05.14.14 0 0 0-.05.185zm-.998.722a.137.137 0 0 0 .192.018.137.137 0 0 0 .018-.192l-.807-.96a.137.137 0 0 0-.192-.017.137.137 0 0 0-.018.191zm-.858.887a.135.135 0 0 0 .192-.018.135.135 0 0 0-.018-.192l-.96-.806a.135.135 0 0 0-.191.018.135.135 0 0 0 .018.192zm-1.778.393 1.086.627a.134.134 0 0 0 .186-.051.14.14 0 0 0-.051-.19l-1.086-.623a.134.134 0 0 0-.186.051c-.039.063-.015.147.051.186m-.596 1.325 1.178.429a.14.14 0 0 0 .177-.081.14.14 0 0 0-.081-.177l-1.178-.429a.14.14 0 0 0-.177.081.136.136 0 0 0 .08.177m.926 1.355L2.62 8.822a.137.137 0 1 0-.048.27l1.235.219a.137.137 0 1 0 .048-.27m-.138 1.223H2.463a.138.138 0 1 0 0 .276h1.253c.075 0 .138-.06.138-.138a.137.137 0 0 0-.138-.138m.081 1.233-1.235.218a.135.135 0 0 0-.11.16.135.135 0 0 0 .158.11l1.235-.219a.135.135 0 0 0 .111-.159.14.14 0 0 0-.159-.11m.291 1.199-1.178.428a.136.136 0 0 0-.081.177.136.136 0 0 0 .177.081l1.178-.428a.136.136 0 0 0 .08-.177.137.137 0 0 0-.176-.081m.495 1.127-1.086.627a.14.14 0 0 0-.05.189.14.14 0 0 0 .188.05l1.086-.626a.14.14 0 0 0 .05-.189.14.14 0 0 0-.188-.051m.683 1.028-.96.807a.137.137 0 0 0-.017.192.137.137 0 0 0 .192.018l.96-.807a.137.137 0 0 0 .017-.192c-.045-.06-.132-.066-.192-.018m.852.89-.807.96a.135.135 0 0 0 .018.192.135.135 0 0 0 .192-.018l.807-.96a.135.135 0 0 0-.018-.191.14.14 0 0 0-.192.018m.995.732-.627 1.085a.134.134 0 0 0 .051.186.14.14 0 0 0 .19-.05l.626-1.086a.135.135 0 0 0-.051-.186.14.14 0 0 0-.189.051m1.106.549L7.791 18.2a.14.14 0 0 0 .08.177.14.14 0 0 0 .177-.081l.43-1.178a.14.14 0 0 0-.082-.177.135.135 0 0 0-.177.08m1.077 1.739a.137.137 0 0 0 .158-.111l.22-1.235a.137.137 0 1 0-.27-.048l-.22 1.235a.135.135 0 0 0 .112.159m1.469.135c.074 0 .137-.06.137-.138v-1.253a.14.14 0 0 0-.137-.138.137.137 0 0 0-.138.138v1.253a.14.14 0 0 0 .138.138m1.094-1.472.219 1.235a.135.135 0 0 0 .159.11.135.135 0 0 0 .11-.158l-.218-1.235a.135.135 0 0 0-.16-.111.137.137 0 0 0-.11.159m1.2-.291.428 1.178a.137.137 0 0 0 .177.081.136.136 0 0 0 .08-.177l-.428-1.178a.136.136 0 0 0-.177-.081.136.136 0 0 0-.08.177m1.13-.495.626 1.085a.14.14 0 0 0 .189.051.14.14 0 0 0 .05-.189l-.629-1.085a.14.14 0 0 0-.189-.05.137.137 0 0 0-.048.188m1.025-.686.806.959a.137.137 0 0 0 .192.018.137.137 0 0 0 .018-.192l-.806-.96a.137.137 0 0 0-.192-.017.135.135 0 0 0-.018.192m.89-.852.96.807a.135.135 0 0 0 .191-.018.135.135 0 0 0-.018-.192l-.96-.807a.135.135 0 0 0-.191.018.14.14 0 0 0 .018.192m.732-.992 1.085.626a.138.138 0 0 0 .179-.202.1.1 0 0 0-.041-.034l-1.085-.627a.14.14 0 0 0-.19.05.14.14 0 0 0 .052.187M17.383 13l1.178.43a.14.14 0 0 0 .177-.082.14.14 0 0 0-.08-.177l-1.179-.428a.14.14 0 0 0-.177.08.136.136 0 0 0 .081.178m.345-1.184 1.235.22a.137.137 0 0 0 .159-.112.137.137 0 0 0-.11-.159l-1.236-.219a.137.137 0 1 0-.048.27m0-1.36c0 .074.06.137.138.137h1.253c.075 0 .138-.06.138-.138a.14.14 0 0 0-.138-.138h-1.253a.136.136 0 0 0-.138.138m.057-1.095 1.235-.219a.135.135 0 0 0 .111-.159.135.135 0 0 0-.159-.11l-1.235.218a.135.135 0 0 0-.111.16.137.137 0 0 0 .159.11m-.29-1.2 1.177-.428a.136.136 0 0 0 .081-.177.136.136 0 0 0-.177-.08l-1.178.428a.136.136 0 0 0-.08.177.14.14 0 0 0 .176.08M17 7.033l1.085-.626a.14.14 0 0 0 .05-.186.14.14 0 0 0-.188-.05l-1.085.626a.14.14 0 0 0-.051.189.14.14 0 0 0 .188.048m-.687-1.025.96-.806a.137.137 0 0 0 .017-.192.137.137 0 0 0-.192-.018l-.959.806a.137.137 0 0 0-.018.192c.048.06.135.066.192.018m-.851-.893.806-.96a.135.135 0 0 0-.018-.191.135.135 0 0 0-.192.018l-.806.959a.135.135 0 0 0 .018.192.135.135 0 0 0 .191-.018m-.993-.729.627-1.085a.133.133 0 0 0-.051-.186.14.14 0 0 0-.19.051L14.23 4.25a.134.134 0 0 0 .051.186.14.14 0 0 0 .19-.05m-1.106-.548.429-1.179a.14.14 0 0 0-.081-.176.14.14 0 0 0-.177.08l-.429 1.182a.14.14 0 0 0 .081.177.14.14 0 0 0 .177-.084m-1.343-.234a.137.137 0 0 0 .159-.111l.219-1.235a.137.137 0 0 0-.111-.16.137.137 0 0 0-.16.112l-.218 1.235a.14.14 0 0 0 .11.159M5.392 5.132a.15.15 0 0 0 .21 0 .15.15 0 0 0 0-.21l-.495-.495a.15.15 0 0 0-.21 0 .15.15 0 0 0 0 .21zm-.836 1.016c.069.048.162.03.207-.036a.15.15 0 0 0-.036-.207l-.573-.401a.15.15 0 0 0-.207.036.15.15 0 0 0 .036.206zM3.273 7l.635.296a.147.147 0 0 0 .198-.072.147.147 0 0 0-.072-.197l-.636-.297a.147.147 0 0 0-.197.072.147.147 0 0 0 .072.198m.272 1.253-.677-.18a.15.15 0 0 0-.183.105.15.15 0 0 0 .105.183l.677.18a.15.15 0 0 0 .183-.105.15.15 0 0 0-.105-.183m-.27 1.289-.698-.06a.15.15 0 0 0-.162.135.15.15 0 0 0 .135.162l.699.06a.15.15 0 0 0 .161-.135.15.15 0 0 0-.134-.162m-.038 1.319-.699.06a.15.15 0 0 0-.135.162.15.15 0 0 0 .162.135l.699-.06a.15.15 0 0 0 .134-.162.15.15 0 0 0-.161-.135m.23 1.304-.677.18a.147.147 0 0 0-.105.183c.021.08.102.126.183.105l.677-.18a.147.147 0 0 0 .105-.183.15.15 0 0 0-.183-.105m.372 1.253-.635.297a.15.15 0 0 0-.072.198.15.15 0 0 0 .198.072l.635-.297a.15.15 0 0 0 .072-.198.15.15 0 0 0-.198-.072m.627 1.164-.573.401a.146.146 0 0 0-.036.207c.048.07.141.084.207.036l.573-.402a.146.146 0 0 0 .036-.207.146.146 0 0 0-.207-.036m1.802 1.912-.402.573a.15.15 0 0 0 .036.207c.069.048.162.03.207-.036l.401-.573a.15.15 0 0 0-.036-.207.146.146 0 0 0-.206.036m.896 1.526a.147.147 0 0 0 .198-.072l.297-.635a.147.147 0 0 0-.072-.198.147.147 0 0 0-.198.072l-.297.635a.15.15 0 0 0 .072.198m1.373.516a.15.15 0 0 0 .183-.105l.18-.678a.15.15 0 0 0-.105-.183.15.15 0 0 0-.183.105l-.18.678a.15.15 0 0 0 .105.183m1.442.267a.15.15 0 0 0 .162-.135l.06-.699a.15.15 0 0 0-.135-.162.15.15 0 0 0-.162.135l-.06.699a.15.15 0 0 0 .135.162m1.244-.819.06.699a.15.15 0 0 0 .162.135.15.15 0 0 0 .135-.162l-.06-.699a.15.15 0 0 0-.162-.135.15.15 0 0 0-.135.162m1.304-.192.18.678a.147.147 0 0 0 .183.105.147.147 0 0 0 .105-.183l-.18-.678a.147.147 0 0 0-.183-.104.15.15 0 0 0-.105.182m1.254-.413.296.635a.15.15 0 0 0 .198.072.15.15 0 0 0 .072-.198l-.297-.635a.15.15 0 0 0-.198-.072.15.15 0 0 0-.071.198m1.163-.624.401.573a.147.147 0 0 0 .207.036.146.146 0 0 0 .036-.207l-.401-.573a.146.146 0 0 0-.207-.036.146.146 0 0 0-.036.207m1.034-.818.495.494a.15.15 0 0 0 .21 0 .15.15 0 0 0 0-.21l-.495-.494a.15.15 0 0 0-.21 0 .15.15 0 0 0 0 .21m.879-.984.572.402c.07.048.162.03.207-.036a.15.15 0 0 0-.036-.207l-.573-.402a.15.15 0 0 0-.206.036.146.146 0 0 0 .035.207m.692-1.121.636.297a.147.147 0 0 0 .198-.072.147.147 0 0 0-.072-.198l-.636-.297a.147.147 0 0 0-.198.072.15.15 0 0 0 .072.198m.489-1.226.677.18a.15.15 0 0 0 .183-.105.15.15 0 0 0-.105-.183l-.677-.18a.15.15 0 0 0-.183.105.147.147 0 0 0 .105.183m.267-1.292.698.06a.15.15 0 0 0 .162-.135.15.15 0 0 0-.135-.162l-.698-.06a.149.149 0 1 0-.027.297m.041-1.316.7-.06a.15.15 0 0 0 .134-.162.15.15 0 0 0-.162-.135l-.698.06a.15.15 0 0 0-.135.162.15.15 0 0 0 .162.135m-.191-1.308.677-.18a.147.147 0 0 0 .105-.182.147.147 0 0 0-.183-.105l-.677.18a.147.147 0 0 0-.105.182c.02.081.105.126.183.105m-.414-1.25.636-.297a.15.15 0 0 0 .072-.197.15.15 0 0 0-.198-.072l-.636.296a.15.15 0 0 0-.072.198c.036.072.123.105.198.072m-.624-1.163.573-.402a.146.146 0 0 0 .036-.207.146.146 0 0 0-.207-.036l-.572.402a.146.146 0 0 0-.037.207.15.15 0 0 0 .207.036m-1.801-1.913.401-.572a.15.15 0 0 0-.036-.207.15.15 0 0 0-.206.036l-.402.572a.15.15 0 0 0 .036.207.146.146 0 0 0 .207-.036m-.897-1.526a.147.147 0 0 0-.198.072l-.296.636a.147.147 0 0 0 .071.198.147.147 0 0 0 .198-.072l.297-.636a.15.15 0 0 0-.072-.198m-1.376-.515a.15.15 0 0 0-.183.105l-.18.677a.15.15 0 0 0 .105.183.15.15 0 0 0 .183-.105l.18-.677a.147.147 0 0 0-.105-.183m-1.529.728a.15.15 0 0 0 .162-.135l.06-.698a.15.15 0 0 0-.135-.162.15.15 0 0 0-.162.135l-.06.698a.15.15 0 0 0 .135.162m-1.379-1.01a.15.15 0 0 0-.135.162l.06.698a.15.15 0 0 0 .162.135.15.15 0 0 0 .135-.162l-.06-.698a.15.15 0 0 0-.162-.135m-1.262.348a.147.147 0 0 0-.183-.105.147.147 0 0 0-.105.183l.18.677a.147.147 0 0 0 .183.105.147.147 0 0 0 .105-.183zm-1.07 1.088-.297-.636a.15.15 0 0 0-.198-.072.15.15 0 0 0-.072.198l.294.639a.15.15 0 0 0 .198.072.155.155 0 0 0 .075-.201m-1.407.797c.048.07.141.084.207.036a.146.146 0 0 0 .036-.207l-.401-.572a.146.146 0 0 0-.207-.036.146.146 0 0 0-.036.207z"/></svg>
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { IOption } from './interface';
3
+ import { useToggle } from '@vueuse/core';
3
4
  import { postGroupList } from '@/api/modules/assist';
4
5
  import { GROUP_TYPE } from '@/views/group/enum';
5
- import { useToggle } from '@vueuse/core';
6
6
 
7
7
  defineOptions({
8
8
  name: 'GroupSelector',
@@ -170,92 +170,75 @@ defineExpose({
170
170
  </a-modal>
171
171
  </template>
172
172
 
173
- <style lang="scss">
174
- .group-modal {
175
- .ant-tabs-content-holder {
176
- padding: 0 16px 8px;
177
- overflow: auto;
178
- }
173
+ <style>
174
+ .group-modal .ant-tabs-content-holder {
175
+ --at-apply: overflow-auto pt-0 pb-2 px-4;
176
+ }
179
177
 
180
- .ant-tabs-nav::before {
181
- display: none;
182
- }
178
+ .group-modal .ant-tabs-nav::before {
179
+ --at-apply: hidden;
180
+ }
183
181
 
184
- .ant-tabs-nav-wrap {
185
- height: 38px;
186
- background: rgb(245 245 245);
187
- }
182
+ .group-modal .ant-tabs-nav-wrap {
183
+ --at-apply: h-38px [background:#f5f5f5];
184
+ }
188
185
 
189
- .ant-tabs-tab {
190
- padding: 0 12px;
191
- margin: 0;
186
+ .group-modal .ant-tabs-tab {
187
+ --at-apply: m-0 px-3 py-0;
188
+ }
192
189
 
193
- & + .ant-tabs-tab {
194
- margin-left: 0 !important;
195
- }
196
- }
190
+ .group-modal .ant-tabs-tab + .ant-tabs-tab {
191
+ margin-left: 0 !important;
192
+ }
197
193
 
198
- .ant-tabs-tab-active {
199
- background: white;
200
- }
194
+ .group-modal .ant-tabs-tab-active {
195
+ --at-apply: [background:white];
196
+ }
201
197
 
202
- .ant-checkbox-group {
203
- display: block;
204
- }
198
+ .group-modal .ant-checkbox-group {
199
+ --at-apply: block;
200
+ }
205
201
 
206
- .ant-checkbox-wrapper {
207
- display: flex;
208
- margin-bottom: 8px;
209
- }
202
+ .group-modal .ant-checkbox-wrapper {
203
+ --at-apply: flex mb-2;
204
+ }
210
205
 
211
- .ant-tabs-ink-bar {
212
- display: none;
213
- }
206
+ .group-modal .ant-tabs-ink-bar {
207
+ --at-apply: hidden;
214
208
  }
215
209
 
216
- .dark .group-modal {
217
- .ant-tabs-nav-wrap {
218
- color: #f2f3f5;
219
- background: #000;
220
- }
210
+ .dark .group-modal .ant-tabs-nav-wrap {
211
+ --at-apply: text-[#f2f3f5] [background:#000];
212
+ }
221
213
 
222
- .ant-tabs-tab-active {
223
- background: rgb(20 20 20);
224
- }
214
+ .dark .group-modal .ant-tabs-tab-active {
215
+ --at-apply: [background:#141414];
225
216
  }
226
217
  </style>
227
218
 
228
- <style lang='scss' scoped>
229
- .group-modal {
230
- :deep(.ant-modal-content) {
231
- padding: 0;
232
- border-radius: 0;
233
- }
219
+ <style scoped>
220
+ .group-modal :deep(.ant-modal-content) {
221
+ --at-apply: p-0 rounded-none;
222
+ }
234
223
 
235
- :deep(.ant-modal-header) {
236
- padding: 12px 16px;
237
- margin-bottom: 0;
238
- border-bottom: 1px solid #e5e6eb;
239
- }
224
+ .group-modal :deep(.ant-modal-header) {
225
+ --at-apply: mb-0 px-4 py-3 border-b-[#e5e6eb] border-b border-solid;
226
+ }
240
227
 
241
- :deep(.ant-modal-title) {
242
- font-size: 16px;
243
- font-weight: 500;
244
- color: #1d2129;
245
- }
228
+ .group-modal :deep(.ant-modal-title) {
229
+ --at-apply: text-base leading-none font-medium text-[#1d2129];
230
+ }
246
231
 
247
- :deep(.ant-modal-body) {
248
- padding: 16px;
249
- }
232
+ .group-modal :deep(.ant-modal-body) {
233
+ --at-apply: p-4;
234
+ }
250
235
 
251
- :deep(.ant-modal-footer) {
252
- padding: 16px;
253
- border-top: 1px solid #e5e6eb;
236
+ .group-modal :deep(.ant-modal-footer) {
237
+ --at-apply: p-4 border-t-[#e5e6eb] border-t border-solid;
238
+ }
254
239
 
255
- .ant-btn {
256
- border-radius: 2px;
257
- }
258
- }
240
+ .group-modal :deep(.ant-modal-footer) .ant-btn {
241
+ --at-apply: rounded-sm;
259
242
  }
260
243
 
261
244
  :deep(.ant-tree-checkbox) {
@@ -264,42 +247,34 @@ defineExpose({
264
247
  }
265
248
 
266
249
  :deep(.ant-tree-checkbox + span .ant-tree-iconEle) {
267
- margin-right: 4px;
250
+ --at-apply: mr-1;
268
251
  }
269
252
 
270
253
  .custom_tag {
271
- padding: 3px 8px;
272
- border-width: 0;
273
- border-radius: 2px;
254
+ --at-apply: px-2 py-[3px] rounded-sm border-0;
255
+ }
274
256
 
275
- :deep(.ant-tag-close-icon) {
276
- color: rgb(22 93 255 / 60%);
257
+ .custom_tag :deep(.ant-tag-close-icon) {
258
+ --at-apply: text-[#165dff] text-op-60;
259
+ }
277
260
 
278
- &:hover {
279
- color: #165dff;
280
- }
281
- }
261
+ .custom_tag :deep(.ant-tag-close-icon):hover {
262
+ --at-apply: text-[#165dff];
282
263
  }
283
264
 
284
265
  .border_color {
285
- border-color: #e5e6eb;
266
+ --at-apply: border-[#e5e6eb];
286
267
  }
287
268
 
288
- [data-theme="dark"] {
289
- .border_color {
290
- border-color: rgb(253 253 253 / 12%);
291
- }
269
+ [data-theme="dark"] .border_color {
270
+ --at-apply: border-[#FDFDFD] border-op-12;
292
271
  }
293
272
 
294
273
  .border_c {
295
- border: 1px dashed #ccc;
296
- border-radius: 10px;
274
+ --at-apply: border rounded-[10px] border-dashed border-[#ccc];
297
275
  }
298
276
 
299
277
  :deep(.ant-dropdown-link) {
300
- padding: 4px 6px;
301
- font-size: 12px;
302
- border-radius: 2px;
303
- transform: scale(0.7);
278
+ --at-apply: text-xs px-1.5 py-1 rounded-sm scale-[0.7];
304
279
  }
305
280
  </style>
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import type { EventDataNode, TreeProps } from 'ant-design-vue/es/tree';
3
- import { getRbacOrgOrgListByParentId } from '@/api/modules/rbac';
4
3
  import { useToggle } from '@vueuse/core';
4
+ import { getRbacOrgOrgListByParentId } from '@/api/modules/rbac';
5
5
 
6
6
  defineOptions({
7
7
  name: 'OrgTree',
@@ -86,6 +86,6 @@ onMounted(() => {
86
86
 
87
87
  <style scoped>
88
88
  :deep(.ant-tree .ant-tree-node-content-wrapper) {
89
- overflow: hidden;
89
+ --at-apply: overflow-hidden;
90
90
  }
91
91
  </style>
@@ -1,7 +1,7 @@
1
1
  import type { OrgProviderProps, UserProviderProps } from '@pubinfo/headlessui';
2
+ import { message } from 'ant-design-vue';
2
3
  import { getGroupDetailById, postGroupFindPage } from '@/api/modules/assist';
3
4
  import { getRbacOrgOrgListByParentId, getRbacOrgSearchSubOrgById, postRbacCollectAdd, postRbacCollectFindPage, postRbacCollectRemoveCollect, postRbacOrgSearch, postRbacOrgSearchOrgByIds, postRbacUsedAddBatch, postRbacUsedFindPage, postRbacUserUserAndOrgList, postRbacUserUserForMultiOrgPage } from '@/api/modules/rbac';
4
- import { message } from 'ant-design-vue';
5
5
 
6
6
  interface ExtraApis {
7
7
  /** 回显选中项 */
@@ -349,83 +349,66 @@ defineExpose({
349
349
  </a-modal>
350
350
  </template>
351
351
 
352
- <style lang="scss" scoped>
352
+ <style scoped>
353
353
  .border_color {
354
- border-color: #e5e6eb;
354
+ --at-apply: border-[#e5e6eb];
355
355
  }
356
356
 
357
- [data-theme="dark"] {
358
- .border_color {
359
- border-color: rgb(253 253 253 / 12%);
360
- }
357
+ [data-theme="dark"] .border_color {
358
+ --at-apply: border-[#fdfdfd1f];
361
359
  }
362
360
 
363
361
  .border_c {
364
- border: 1px dashed #ccc;
365
- border-radius: 10px;
362
+ --at-apply: border rounded-[10px] border-dashed border-[#ccc];
366
363
  }
367
364
 
368
365
  :deep(.ant-dropdown-link) {
369
- padding: 4px 6px;
370
- font-size: 12px;
371
- border-radius: 2px;
372
- transform: scale(0.7);
366
+ --at-apply: text-xs px-1.5 py-1 rounded-sm scale-[0.7];
373
367
  }
374
368
  </style>
375
369
 
376
- <style lang='scss' scoped>
377
- .custom_modal {
378
- :deep(.ant-modal-content) {
379
- padding: 0;
380
- border-radius: 0;
381
- }
370
+ <style lang='css' scoped>
371
+ .custom_modal :deep(.ant-modal-content) {
372
+ --at-apply: p-0 rounded-none;
373
+ }
382
374
 
383
- :deep(.ant-modal-header) {
384
- padding: 12px 16px;
385
- margin-bottom: 0;
386
- border-bottom: 1px solid #e5e6eb;
387
- }
375
+ .custom_modal :deep(.ant-modal-header) {
376
+ --at-apply: mb-0 px-4 py-3 border-b-[#e5e6eb] border-b border-solid;
377
+ }
388
378
 
389
- :deep(.ant-modal-title) {
390
- font-size: 16px;
391
- font-weight: 500;
392
- color: #1d2129;
393
- }
379
+ .custom_modal :deep(.ant-modal-title) {
380
+ --at-apply: text-base font-medium text-[#1d2129];
381
+ }
394
382
 
395
- :deep(.ant-modal-body) {
396
- padding: 16px;
397
- }
383
+ .custom_modal :deep(.ant-modal-body) {
384
+ --at-apply: p-4;
385
+ }
398
386
 
399
- :deep(.ant-modal-footer) {
400
- padding: 16px;
401
- border-top: 1px solid #e5e6eb;
387
+ .custom_modal :deep(.ant-modal-footer) {
388
+ --at-apply: p-4 border-t-[#e5e6eb] border-t border-solid;
389
+ }
402
390
 
403
- .ant-btn {
404
- border-radius: 2px;
405
- }
406
- }
391
+ .custom_modal :deep(.ant-modal-footer) .ant-btn {
392
+ --at-apply: rounded-sm;
407
393
  }
408
394
 
409
395
  :deep(.ant-tree-checkbox) {
410
- margin-block-start: 0;
411
- margin-inline-end: 2px;
396
+ --at-apply: mt-0 mr-2px;
412
397
  }
413
398
 
414
399
  :deep(.ant-tree-checkbox + span .ant-tree-iconEle) {
415
- margin-right: 4px;
400
+ --at-apply: mr-1;
416
401
  }
417
402
 
418
403
  .custom_tag {
419
- padding: 3px 8px;
420
- border-width: 0;
421
- border-radius: 2px;
404
+ --at-apply: px-2 py-[3px] rounded-sm border-0;
405
+ }
422
406
 
423
- :deep(.ant-tag-close-icon) {
424
- color: rgb(22 93 255 / 60%);
407
+ .custom_tag :deep(.ant-tag-close-icon) {
408
+ --at-apply: text-[#165dff] text-op-60;
409
+ }
425
410
 
426
- &:hover {
427
- color: #165dff;
428
- }
429
- }
411
+ .custom_tag :deep(.ant-tag-close-icon):hover {
412
+ --at-apply: text-[#165dff] text-op-100;
430
413
  }
431
414
  </style>
@@ -1,5 +1,5 @@
1
- import type { RbacPages } from '@/interface';
2
1
  import type { RouteRecordRaw } from 'vue-router';
2
+ import type { RbacPages } from '@/interface';
3
3
  import { merge } from 'lodash-es';
4
4
  import AuthorityManageMenu from './modules/authority.manage.menu';
5
5
  import LogManageMenu from './modules/log.manage.menu';
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { Rule } from 'ant-design-vue/es/form';
3
3
  import type { FormExpose } from 'ant-design-vue/es/form/Form';
4
- import { postBlackWhiteListAddBlackWhiteList, postBlackWhiteListUpdateBlackWhiteList } from '@/api/modules/configData';
5
4
  import { useToggle } from '@vueuse/core';
6
5
  import { message } from 'ant-design-vue';
6
+ import { postBlackWhiteListAddBlackWhiteList, postBlackWhiteListUpdateBlackWhiteList } from '@/api/modules/configData';
7
7
 
8
8
  defineOptions({
9
9
  name: 'DrawerBlackWhiteList',
@@ -1,9 +1,9 @@
1
1
  <script setup lang="tsx">
2
2
  import type { ProColumns } from '@pubinfo/pro-components';
3
- import { getBlackWhiteListDeleteById, postBlackWhiteListGetBlackWhiteListPageList, postBlackWhiteListUpdateBlackWhiteList } from '@/api/modules/configData';
4
3
  import { ProTable } from '@pubinfo/pro-components';
5
4
  import { useToggle } from '@vueuse/core';
6
5
  import { message, Modal } from 'ant-design-vue';
6
+ import { getBlackWhiteListDeleteById, postBlackWhiteListGetBlackWhiteListPageList, postBlackWhiteListUpdateBlackWhiteList } from '@/api/modules/configData';
7
7
  import DrawerBlackWhiteList from './components/drawerBlackWhiteList.vue';
8
8
  import { ACTION } from './enum';
9
9
 
@@ -286,24 +286,16 @@ function onAction(key: string, record?: API.PubBlackWhiteList): void {
286
286
  </div>
287
287
  </template>
288
288
 
289
- <style lang="scss">
290
- .page-black-white-list {
291
- .ant-card.pro-table {
292
- border-top-left-radius: 0;
293
- border-top-right-radius: 0;
294
- }
289
+ <style scoped>
290
+ .page-black-white-list :deep(.ant-card.pro-table) {
291
+ --at-apply: rounded-t-none;
292
+ }
295
293
 
296
- .status-mark {
297
- display: inline-block;
298
- width: 8px;
299
- height: 8px;
300
- margin-right: 4px;
301
- background-color: #aeaeae;
302
- border-radius: 50%;
294
+ .page-black-white-list .status-mark {
295
+ --at-apply: inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%];
296
+ }
303
297
 
304
- &.active {
305
- background: #01d689;
306
- }
307
- }
298
+ .page-black-white-list .status-mark.active {
299
+ --at-apply: [background:#01d689];
308
300
  }
309
301
  </style>
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
+ import { message } from 'ant-design-vue';
2
3
  import { postSysconfigAddOrEidtSysThemeStyleConfig } from '@/api/modules/configData';
3
- import { useSettingsStore } from '@/stores';
4
4
 
5
- import { message } from 'ant-design-vue';
5
+ import { useSettingsStore } from '@/stores';
6
6
  import SetItem from '../components/setItem.vue';
7
7
  import {
8
8
  darkEnableData,
@@ -140,7 +140,7 @@ function setStyle(jsonStr: string) {
140
140
  </div>
141
141
  </template>
142
142
 
143
- <style lang="scss" scoped>
143
+ <style scoped>
144
144
  .bar-header {
145
145
  background: var(--g-bg);
146
146
  }
@@ -7,8 +7,8 @@ defineOptions({
7
7
 
8
8
  const props = withDefaults(
9
9
  defineProps<{
10
- lightAnimationData: string
11
- darkAnimationData: string
10
+ lightAnimationData?: string
11
+ darkAnimationData?: string
12
12
  }>(),
13
13
  {
14
14
  lightAnimationData: () => { return ''; },
@@ -7,14 +7,14 @@ defineOptions({
7
7
  });
8
8
  const props = withDefaults(
9
9
  defineProps<{
10
- name: string
11
- descripe: string
12
- type: string
13
- open: boolean
10
+ name?: string
11
+ descripe?: string
12
+ type?: string
13
+ open?: boolean
14
14
  activeStyle?: Val
15
15
  styleOptions?: CheckOptions
16
- lightAnimationData: string
17
- darkAnimationData: string
16
+ lightAnimationData?: string
17
+ darkAnimationData?: string
18
18
  }>(),
19
19
  {
20
20
  name: '',
@@ -103,24 +103,17 @@ watch(() => setActiveStyle.value, () => {
103
103
  </div>
104
104
  </template>
105
105
 
106
- <style lang="scss" scoped>
106
+ <style scoped>
107
107
  .item_ani {
108
- display: flex;
109
- flex-direction: column;
108
+ --at-apply: flex flex-col bg-[color:var(--g-bg)] border border-[color:var(--g-tabbar-tab-hover-bg)] pt-[26px] rounded-lg border-solid;
110
109
  place-items: center center;
111
- padding-top: 26px;
112
- background-color: var(--g-bg);
113
- border: 1px solid var(--g-tabbar-tab-hover-bg);
114
- border-radius: 8px;
110
+ }
115
111
 
116
- .jb {
117
- background: linear-gradient(180deg, var(--g-container-bg) 0%, #fff0 100%);
118
- }
112
+ .item_ani .jb {
113
+ background: linear-gradient(180deg, var(--g-container-bg) 0%, transparent 100%);
119
114
  }
120
115
 
121
- .custom_style {
122
- :deep(.text-sm) {
123
- font-size: 12px;
124
- }
116
+ .custom_style :deep(.text-sm) {
117
+ --at-apply: text-xs;
125
118
  }
126
119
  </style>
@@ -1,16 +1,16 @@
1
1
  <script setup lang="ts">
2
- import type { ModelValue } from '@/components/OrgUserSelector/OrgSelector.vue';
3
- import type { SelectedResourceInfo } from '@/components/ResourceSelector/hooks/useAppAndResource';
4
2
  import type { Rule } from 'ant-design-vue/es/form';
5
3
  import type { FormExpose } from 'ant-design-vue/es/form/Form';
4
+ import type { ModelValue } from '@/components/OrgUserSelector/OrgSelector.vue';
5
+ import type { SelectedResourceInfo } from '@/components/ResourceSelector/hooks/useAppAndResource';
6
+ import { useToggle } from '@vueuse/core';
7
+ import { message } from 'ant-design-vue';
6
8
  import { getRbacPubDataPermissionsGetById, postRbacPubDataPermissionsSave, postRbacPubDataPermissionsUpdate } from '@/api/modules/rbac';
7
9
  import GroupSelector from '@/components/GroupSelector/index.vue';
8
10
  import OrgSelector from '@/components/OrgUserSelector/OrgSelector.vue';
9
11
  import { RESOURCE_MODE } from '@/components/ResourceSelector/enum';
10
12
  import useAppAndResource from '@/components/ResourceSelector/hooks/useAppAndResource';
11
13
  import ResourceSelector from '@/components/ResourceSelector/index.vue';
12
- import { useToggle } from '@vueuse/core';
13
- import { message } from 'ant-design-vue';
14
14
  import { DATA_PERMISSION_TYPE, dataPermissionOptionsAll } from '../enum';
15
15
 
16
16
  defineOptions({
@@ -23,13 +23,13 @@ export enum DATA_PERMISSION_TYPE {
23
23
  CUSTOM_GROUP = '7',
24
24
  }
25
25
 
26
- export type dataPermissionType = DATA_PERMISSION_TYPE.ALL |
27
- DATA_PERMISSION_TYPE.ONLY_SELF |
28
- DATA_PERMISSION_TYPE.SELF_DEPT_ONLY |
29
- DATA_PERMISSION_TYPE.SELF_DEPT_AND_SUB |
30
- DATA_PERMISSION_TYPE.CUSTOM_DEPT_AND_SUB |
31
- DATA_PERMISSION_TYPE.CUSTOM_DEPT_ONLY |
32
- DATA_PERMISSION_TYPE.CUSTOM_GROUP;
26
+ export type dataPermissionType = DATA_PERMISSION_TYPE.ALL
27
+ | DATA_PERMISSION_TYPE.ONLY_SELF
28
+ | DATA_PERMISSION_TYPE.SELF_DEPT_ONLY
29
+ | DATA_PERMISSION_TYPE.SELF_DEPT_AND_SUB
30
+ | DATA_PERMISSION_TYPE.CUSTOM_DEPT_AND_SUB
31
+ | DATA_PERMISSION_TYPE.CUSTOM_DEPT_ONLY
32
+ | DATA_PERMISSION_TYPE.CUSTOM_GROUP;
33
33
 
34
34
  export const dataPermissionTypeLabel = {
35
35
  [DATA_PERMISSION_TYPE.ALL]: '查看全部',