@pubinfo-pr/module-rbac 0.222.4 → 0.224.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 (149) hide show
  1. package/dist/{ResourceRelation-BwagNxld.js → ResourceRelation-CU-QpUhP.js} +1 -1
  2. package/dist/{ResourceRelation-CKZrGW9A.js → ResourceRelation-roz0a8Td.js} +1 -1
  3. package/dist/ResourceRelation.css +1 -1
  4. package/dist/ResourceRelation2.css +1 -1
  5. package/dist/{UserAuthorization-sU8yGviz.js → UserAuthorization-2Fl4IGw7.js} +1 -1
  6. package/dist/UserAuthorization.css +1 -1
  7. package/dist/api/modules/assist/index.d.ts +0 -1
  8. package/dist/api/modules/assist/qunzujiekou.d.ts +28 -0
  9. package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
  10. package/dist/api/modules/rbac/jiaosejiekou.d.ts +14 -0
  11. package/dist/api/modules/rbac/yonghujiekou.d.ts +42 -0
  12. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
  13. package/dist/api/modules/rbac/zuzhijiekou.d.ts +7 -0
  14. package/dist/{blackWhiteList-CaEw1uGl.js → blackWhiteList-DbG7JH8n.js} +1 -1
  15. package/dist/blackWhiteList.css +1 -1
  16. package/dist/breadcrumb_setting-Dx2Li6xt.js +108 -0
  17. package/dist/{createAndEditDataPermission-BfIc8HNt.js → createAndEditDataPermission-8_KNLzJT.js} +1 -1
  18. package/dist/createAndEditDataPermission.css +1 -1
  19. package/dist/{data-permission-CeSzz7-6.js → data-permission-LpuDLDm0.js} +2 -2
  20. package/dist/data-permission.css +1 -1
  21. package/dist/{drawerOrganization-CwtSFUj0.js → drawerOrganization-CPsQlz-f.js} +59 -24
  22. package/dist/{group-DmvSRTkz.js → group-CaOhkh72.js} +1 -1
  23. package/dist/group.css +1 -1
  24. package/dist/index.css +1 -1
  25. package/dist/index.js +44 -44
  26. package/dist/{layout_setting-DcFrUQtI.js → layout_setting-79srmFgJ.js} +1 -1
  27. package/dist/layout_setting.css +1 -1
  28. package/dist/{login_history-uB4F5Ddd.js → login_history-BiwaLpxA.js} +1 -1
  29. package/dist/login_history.css +1 -1
  30. package/dist/menu_setting-ChueWHs4.js +155 -0
  31. package/dist/{operate_history-eTC0gtt3.js → operate_history-sPd9IHMV.js} +28 -30
  32. package/dist/operate_history.css +1 -0
  33. package/dist/{organization-CEDkYrjK.js → organization-BXGT-lb7.js} +7 -3
  34. package/dist/organization.css +1 -1
  35. package/dist/other_setting-BEV_UK0g.js +213 -0
  36. package/dist/page_animation_setting-Cp5OnFpd.js +108 -0
  37. package/dist/page_animation_setting.css +1 -0
  38. package/dist/{page_w_setting-Bp9cayqE.js → page_w_setting-Q--ct16C.js} +6 -2
  39. package/dist/page_w_setting.css +1 -1
  40. package/dist/{role-WO4NM7Er.js → role-4UgEw3nH.js} +1 -1
  41. package/dist/{setItem-Bjl8zTpQ.js → setItem-Vkcwkj-O.js} +1 -1
  42. package/dist/setItem.css +1 -1
  43. package/dist/tabbar_setting-kbuTvrLB.js +139 -0
  44. package/dist/{theme_setting-Duv0kBY3.js → theme_setting-CEb7UYQO.js} +1 -1
  45. package/dist/theme_setting.css +1 -1
  46. package/dist/toolbar_setting-BG-k2UFc.js +140 -0
  47. package/dist/{user-DeVw-Ynu.js → user-BkUpcQC8.js} +2 -2
  48. package/dist/user.css +1 -1
  49. package/dist/watermark_setting-Cl2EtPAa.js +191 -0
  50. package/dist/watermark_setting.css +1 -1
  51. package/package.json +3 -3
  52. package/src/api/modules/assist/index.ts +0 -1
  53. package/src/api/modules/assist/qunzujiekou.ts +72 -0
  54. package/src/api/modules/assist/typings.d.ts +17 -129
  55. package/src/api/modules/rbac/gangweijiekou.ts +18 -0
  56. package/src/api/modules/rbac/jiaosejiekou.ts +36 -0
  57. package/src/api/modules/rbac/typings.d.ts +133 -1
  58. package/src/api/modules/rbac/yonghujiekou.ts +122 -0
  59. package/src/api/modules/rbac/ziyuanjiekou.ts +21 -0
  60. package/src/api/modules/rbac/zuzhijiekou.ts +18 -0
  61. package/src/components/GroupSelector/index.vue +24 -67
  62. package/src/components/OrgTree/index.vue +1 -1
  63. package/src/components/ResourceSelector/index.vue +15 -45
  64. package/src/views/blackWhiteList/index.vue +3 -9
  65. package/src/views/components/setItem.vue +2 -10
  66. package/src/views/data-permission/index.vue +1 -2
  67. package/src/views/group/index.vue +4 -7
  68. package/src/views/layout_setting/index.vue +20 -99
  69. package/src/views/log_center/login_history.vue +2 -7
  70. package/src/views/log_center/operate_history.vue +11 -4
  71. package/src/views/organization/components/drawerOrganization.vue +43 -0
  72. package/src/views/organization/index.vue +21 -23
  73. package/src/views/page_animation_setting/index.vue +23 -14
  74. package/src/views/page_w_setting/index.vue +6 -19
  75. package/src/views/role/components/ResourceRelation.vue +1 -2
  76. package/src/views/role_group/components/ResourceRelation.vue +1 -2
  77. package/src/views/safe_setting/index.vue +1 -1
  78. package/src/views/theme_setting/index.vue +17 -70
  79. package/src/views/user/components/UserAuthorization.vue +2 -2
  80. package/src/views/watermark_setting/index.vue +1 -4
  81. package/dist/api/modules/assist/gonggaofuwu.d.ts +0 -43
  82. package/dist/breadcrumb_setting-CW3eWnlU.js +0 -108
  83. package/dist/lottie-03f0a035.json +0 -1
  84. package/dist/lottie-0ee63e7f.json +0 -1
  85. package/dist/lottie-10eef4fe.json +0 -1
  86. package/dist/lottie-13f452f1.json +0 -1
  87. package/dist/lottie-14b7b290.json +0 -1
  88. package/dist/lottie-15b8cef1.json +0 -1
  89. package/dist/lottie-15f77960.json +0 -1
  90. package/dist/lottie-1ae9b726.json +0 -1
  91. package/dist/lottie-1b02359f.json +0 -1
  92. package/dist/lottie-1ef286cd.json +0 -1
  93. package/dist/lottie-23cfd18c.json +0 -1
  94. package/dist/lottie-265a0a5d.json +0 -1
  95. package/dist/lottie-28d57c49.json +0 -1
  96. package/dist/lottie-2b54ed10.json +0 -1
  97. package/dist/lottie-2bb6f642.json +0 -1
  98. package/dist/lottie-2cdc07bd.json +0 -1
  99. package/dist/lottie-31c58607.json +0 -1
  100. package/dist/lottie-32884f23.json +0 -1
  101. package/dist/lottie-32fca43a.json +0 -1
  102. package/dist/lottie-3a75445b.json +0 -1
  103. package/dist/lottie-3f27d67c.json +0 -1
  104. package/dist/lottie-4189453f.json +0 -1
  105. package/dist/lottie-4702b37c.json +0 -1
  106. package/dist/lottie-520a5c68.json +0 -1
  107. package/dist/lottie-56bea508.json +0 -1
  108. package/dist/lottie-57c732a3.json +0 -1
  109. package/dist/lottie-5be4a28f.json +0 -1
  110. package/dist/lottie-5e6d7cfa.json +0 -1
  111. package/dist/lottie-64e176c9.json +0 -1
  112. package/dist/lottie-6583dca6.json +0 -1
  113. package/dist/lottie-66c640c6.json +0 -1
  114. package/dist/lottie-68393156.json +0 -1
  115. package/dist/lottie-688465aa.json +0 -1
  116. package/dist/lottie-6bf334f4.json +0 -1
  117. package/dist/lottie-7b4f72ce.json +0 -1
  118. package/dist/lottie-837ec087.json +0 -1
  119. package/dist/lottie-838ac1ba.json +0 -1
  120. package/dist/lottie-8465c2cf.json +0 -1
  121. package/dist/lottie-9e9f04a4.json +0 -1
  122. package/dist/lottie-a13964cb.json +0 -1
  123. package/dist/lottie-ab93a057.json +0 -1
  124. package/dist/lottie-abe308fc.json +0 -1
  125. package/dist/lottie-b24f2cd3.json +0 -1
  126. package/dist/lottie-bf00eaed.json +0 -1
  127. package/dist/lottie-cb22efd7.json +0 -1
  128. package/dist/lottie-cb953f20.json +0 -1
  129. package/dist/lottie-cc209e34.json +0 -1
  130. package/dist/lottie-cfdffceb.json +0 -1
  131. package/dist/lottie-d33c0299.json +0 -1
  132. package/dist/lottie-d430c8ca.json +0 -1
  133. package/dist/lottie-d8cfa560.json +0 -1
  134. package/dist/lottie-da91beb6.json +0 -1
  135. package/dist/lottie-e2bdf85c.json +0 -1
  136. package/dist/lottie-e34ad826.json +0 -1
  137. package/dist/lottie-e80720aa.json +0 -1
  138. package/dist/lottie-e894bc92.json +0 -1
  139. package/dist/lottie-f28020f2.json +0 -1
  140. package/dist/lottie-f71ebbf4.json +0 -1
  141. package/dist/lottie-fb1f4917.json +0 -1
  142. package/dist/lottie-ff2e97c4.json +0 -1
  143. package/dist/menu_setting-C5Pr_E9s.js +0 -155
  144. package/dist/other_setting-DaDLf9QC.js +0 -213
  145. package/dist/page_animation_setting-BzlBS0Sa.js +0 -109
  146. package/dist/tabbar_setting-C_B1WZn1.js +0 -139
  147. package/dist/toolbar_setting-BPROx6V9.js +0 -140
  148. package/dist/watermark_setting-r0rMSViF.js +0 -191
  149. package/src/api/modules/assist/gonggaofuwu.ts +0 -124
@@ -1,5 +1,30 @@
1
1
  import { basic as request } from '@/api/request';
2
2
 
3
+ /**
4
+ * @description 验证码-修改登录密码
5
+ * @url /rbac/user/captcha/changePasswordWithVerifyCode
6
+ * @method POST
7
+ * @author @pubinfo/openapi
8
+ */
9
+ export function postRbacUserCaptchaChangePasswordWithVerifyCode<
10
+ R = API.ResponseDataVoid,
11
+ T = API.ResponseDataVoid,
12
+ >(
13
+ params: API.postRbacUserCaptchaChangePasswordWithVerifyCodeParams,
14
+ options?: Parameters<typeof request.Post<R, T>>[2],
15
+ ) {
16
+ return request.Post<R, T>(
17
+ '/rbac/user/captcha/changePasswordWithVerifyCode',
18
+ {},
19
+ {
20
+ params: {
21
+ ...params,
22
+ },
23
+ ...(options || {}),
24
+ },
25
+ );
26
+ }
27
+
3
28
  /**
4
29
  * @description 修改登录密码
5
30
  * @url /rbac/user/changePassword
@@ -75,6 +100,85 @@ export function postRbacUserChangePasswordWithVerifyCode<
75
100
  );
76
101
  }
77
102
 
103
+ /**
104
+ * @description 根据id查询
105
+ * @url /rbac/user/getUser
106
+ * @method POST
107
+ * @author @pubinfo/openapi
108
+ */
109
+ export function postRbacUserGetUser<
110
+ R = API.ResponseDataPubUser,
111
+ T = API.ResponseDataPubUser,
112
+ >(
113
+ params: API.postRbacUserGetUserParams,
114
+ options?: Parameters<typeof request.Post<R, T>>[2],
115
+ ) {
116
+ return request.Post<R, T>(
117
+ '/rbac/user/getUser',
118
+ {},
119
+ {
120
+ params: {
121
+ ...params,
122
+ },
123
+ ...(options || {}),
124
+ },
125
+ );
126
+ }
127
+
128
+ /**
129
+ * @description 通过用户ID查询用户们
130
+ * @url /rbac/user/getUserList
131
+ * @method POST
132
+ * @author @pubinfo/openapi
133
+ */
134
+ export function postRbacUserGetUserList<
135
+ R = API.ResponseDataListPubUser,
136
+ T = API.ResponseDataListPubUser,
137
+ >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
138
+ return request.Post<R, T>('/rbac/user/getUserList', body, {
139
+ headers: {
140
+ 'Content-Type': 'application/json',
141
+ },
142
+ ...(options || {}),
143
+ });
144
+ }
145
+
146
+ /**
147
+ * @description 获得指定组织的用户数组
148
+ * @url /rbac/user/getUserListByOrgIds
149
+ * @method POST
150
+ * @author @pubinfo/openapi
151
+ */
152
+ export function postRbacUserGetUserListByOrgIds<
153
+ R = API.ResponseDataListPubUser,
154
+ T = API.ResponseDataListPubUser,
155
+ >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
156
+ return request.Post<R, T>('/rbac/user/getUserListByOrgIds', body, {
157
+ headers: {
158
+ 'Content-Type': 'application/json',
159
+ },
160
+ ...(options || {}),
161
+ });
162
+ }
163
+
164
+ /**
165
+ * @description 获得指定岗位的用户数组
166
+ * @url /rbac/user/getUserListByPostIds
167
+ * @method POST
168
+ * @author @pubinfo/openapi
169
+ */
170
+ export function postRbacUserGetUserListByPostIds<
171
+ R = API.ResponseDataListPubUser,
172
+ T = API.ResponseDataListPubUser,
173
+ >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
174
+ return request.Post<R, T>('/rbac/user/getUserListByPostIds', body, {
175
+ headers: {
176
+ 'Content-Type': 'application/json',
177
+ },
178
+ ...(options || {}),
179
+ });
180
+ }
181
+
78
182
  /**
79
183
  * @description 编辑角色和授权数据权限
80
184
  * @url /rbac/user/grantUserRoleAndDatPermission
@@ -325,3 +429,21 @@ export function postRbacUserUserUpdateV2<
325
429
  ...(options || {}),
326
430
  });
327
431
  }
432
+
433
+ /**
434
+ * @description 校验用户们是否有效
435
+ * @url /rbac/user/validateUserList
436
+ * @method POST
437
+ * @author @pubinfo/openapi
438
+ */
439
+ export function postRbacUserValidateUserList<
440
+ R = API.ResponseDataVoid,
441
+ T = API.ResponseDataVoid,
442
+ >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
443
+ return request.Post<R, T>('/rbac/user/validateUserList', body, {
444
+ headers: {
445
+ 'Content-Type': 'application/json',
446
+ },
447
+ ...(options || {}),
448
+ });
449
+ }
@@ -160,6 +160,27 @@ export function postRbacResourceMineOrAllResourceTree<
160
160
  );
161
161
  }
162
162
 
163
+ /**
164
+ * @description 资源拖拉拽更新
165
+ * @url /rbac/resource/reSortUpdate
166
+ * @method POST
167
+ * @author @pubinfo/openapi
168
+ */
169
+ export function postRbacResourceReSortUpdate<
170
+ R = API.ResponseDataVoid,
171
+ T = API.ResponseDataVoid,
172
+ >(
173
+ body: API.PubResourceReSortUpdateDTO[],
174
+ options?: Parameters<typeof request.Post<R, T>>[2],
175
+ ) {
176
+ return request.Post<R, T>('/rbac/resource/reSortUpdate', body, {
177
+ headers: {
178
+ 'Content-Type': 'application/json',
179
+ },
180
+ ...(options || {}),
181
+ });
182
+ }
183
+
163
184
  /**
164
185
  * @description 资源删除
165
186
  * @url /rbac/resource/resourceDelete
@@ -187,3 +187,21 @@ export function postRbacOrgUpdateOrg<
187
187
  ...(options || {}),
188
188
  });
189
189
  }
190
+
191
+ /**
192
+ * @description 校验组织们是否有效
193
+ * @url /rbac/org/validateOrgList
194
+ * @method POST
195
+ * @author @pubinfo/openapi
196
+ */
197
+ export function postRbacOrgValidateOrgList<
198
+ R = API.ResponseDataVoid,
199
+ T = API.ResponseDataVoid,
200
+ >(body: string[], options?: Parameters<typeof request.Post<R, T>>[2]) {
201
+ return request.Post<R, T>('/rbac/org/validateOrgList', body, {
202
+ headers: {
203
+ 'Content-Type': 'application/json',
204
+ },
205
+ ...(options || {}),
206
+ });
207
+ }
@@ -172,28 +172,19 @@ defineExpose({
172
172
 
173
173
  <style>
174
174
  .group-modal .ant-tabs-content-holder {
175
- overflow: auto;
176
- padding-top: 0;
177
- padding-bottom: 0.5rem; /* 8px */
178
- padding-left: 1rem; /* 16px */
179
- padding-right: 1rem; /* 16px */
175
+ --at-apply: overflow-auto pt-0 pb-2 px-4;
180
176
  }
181
177
 
182
178
  .group-modal .ant-tabs-nav::before {
183
- display: none;
179
+ --at-apply: hidden;
184
180
  }
185
181
 
186
182
  .group-modal .ant-tabs-nav-wrap {
187
- height: 38px;
188
- background: #f5f5f5;
183
+ --at-apply: h-38px [background:#f5f5f5];
189
184
  }
190
185
 
191
186
  .group-modal .ant-tabs-tab {
192
- margin: 0;
193
- padding-left: 0.75rem; /* 12px */
194
- padding-right: 0.75rem; /* 12px */
195
- padding-top: 0;
196
- padding-bottom: 0;
187
+ --at-apply: m-0 px-3 py-0;
197
188
  }
198
189
 
199
190
  .group-modal .ant-tabs-tab + .ant-tabs-tab {
@@ -201,70 +192,53 @@ defineExpose({
201
192
  }
202
193
 
203
194
  .group-modal .ant-tabs-tab-active {
204
- background: white;
195
+ --at-apply: [background:white];
205
196
  }
206
197
 
207
198
  .group-modal .ant-checkbox-group {
208
- display: block;
199
+ --at-apply: block;
209
200
  }
210
201
 
211
202
  .group-modal .ant-checkbox-wrapper {
212
- display: flex;
213
- margin-bottom: 0.5rem; /* 8px */
203
+ --at-apply: flex mb-2;
214
204
  }
215
205
 
216
206
  .group-modal .ant-tabs-ink-bar {
217
- display: none;
207
+ --at-apply: hidden;
218
208
  }
219
209
 
220
210
  .dark .group-modal .ant-tabs-nav-wrap {
221
- color: #f2f3f5;
222
- background: #000;
211
+ --at-apply: text-[#f2f3f5] [background:#000];
223
212
  }
224
213
 
225
214
  .dark .group-modal .ant-tabs-tab-active {
226
- background: #141414;
215
+ --at-apply: [background:#141414];
227
216
  }
228
217
  </style>
229
218
 
230
219
  <style scoped>
231
220
  .group-modal :deep(.ant-modal-content) {
232
- padding: 0;
233
- border-radius: 0;
221
+ --at-apply: p-0 rounded-none;
234
222
  }
235
223
 
236
224
  .group-modal :deep(.ant-modal-header) {
237
- margin-bottom: 0;
238
- padding-left: 1rem; /* 16px */
239
- padding-right: 1rem; /* 16px */
240
- padding-top: 0.75rem; /* 12px */
241
- padding-bottom: 0.75rem; /* 12px */
242
- border-bottom-color: #e5e6eb;
243
- border-bottom-width: 1px;
244
- border-style: solid;
225
+ --at-apply: mb-0 px-4 py-3 border-b-[#e5e6eb] border-b border-solid;
245
226
  }
246
227
 
247
228
  .group-modal :deep(.ant-modal-title) {
248
- font-size: 1rem; /* 16px */
249
- line-height: 1.5rem; /* 24px */
250
- line-height: 1;
251
- font-weight: 500;
252
- color: #1d2129;
229
+ --at-apply: text-base leading-none font-medium text-[#1d2129];
253
230
  }
254
231
 
255
232
  .group-modal :deep(.ant-modal-body) {
256
- padding: 1rem;
233
+ --at-apply: p-4;
257
234
  }
258
235
 
259
236
  .group-modal :deep(.ant-modal-footer) {
260
- padding: 1rem; /* 16px */
261
- border-top-color: #e5e6eb;
262
- border-top-width: 1px;
263
- border-style: solid;
237
+ --at-apply: p-4 border-t-[#e5e6eb] border-t border-solid;
264
238
  }
265
239
 
266
240
  .group-modal :deep(.ant-modal-footer) .ant-btn {
267
- border-radius: 0.125rem;
241
+ --at-apply: rounded-sm;
268
242
  }
269
243
 
270
244
  :deep(.ant-tree-checkbox) {
@@ -273,51 +247,34 @@ defineExpose({
273
247
  }
274
248
 
275
249
  :deep(.ant-tree-checkbox + span .ant-tree-iconEle) {
276
- margin-right: 0.25rem;
250
+ --at-apply: mr-1;
277
251
  }
278
252
 
279
253
  .custom_tag {
280
- padding-left: 0.5rem; /* 8px */
281
- padding-right: 0.5rem; /* 8px */
282
- padding-top: 3px;
283
- padding-bottom: 3px;
284
- border-radius: 0.125rem; /* 2px */
285
- border-width: 0px;
254
+ --at-apply: px-2 py-[3px] rounded-sm border-0;
286
255
  }
287
256
 
288
257
  .custom_tag :deep(.ant-tag-close-icon) {
289
- color: rgb(22 93 255 / 0.6) /* #165dff */;
258
+ --at-apply: text-[#165dff] text-op-60;
290
259
  }
291
260
 
292
261
  .custom_tag :deep(.ant-tag-close-icon):hover {
293
- color: #165dff;
262
+ --at-apply: text-[#165dff];
294
263
  }
295
264
 
296
265
  .border_color {
297
- border-color: #e5e6eb;
266
+ --at-apply: border-[#e5e6eb];
298
267
  }
299
268
 
300
269
  [data-theme="dark"] .border_color {
301
- border-color: rgb(253 253 253 / 0.12);
270
+ --at-apply: border-[#FDFDFD] border-op-12;
302
271
  }
303
272
 
304
273
  .border_c {
305
- border-width: 1px;
306
- border-radius: 10px;
307
- border-style: dashed;
308
- border-color: #ccc;
274
+ --at-apply: border rounded-[10px] border-dashed border-[#ccc];
309
275
  }
310
276
 
311
277
  :deep(.ant-dropdown-link) {
312
- font-size: 0.75rem; /* 12px */
313
- line-height: 1rem; /* 16px */
314
- padding-left: 0.375rem; /* 6px */
315
- padding-right: 0.375rem; /* 6px */
316
- padding-top: 0.25rem; /* 4px */
317
- padding-bottom: 0.25rem; /* 4px */
318
- border-radius: 0.125rem; /* 2px */
319
- --un-scale-x: 0.7;
320
- --un-scale-y: 0.7;
321
- transform: scaleX(0.7) scaleY(0.7);
278
+ --at-apply: text-xs px-1.5 py-1 rounded-sm scale-[0.7];
322
279
  }
323
280
  </style>
@@ -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>
@@ -351,94 +351,64 @@ defineExpose({
351
351
 
352
352
  <style scoped>
353
353
  .border_color {
354
- border-color: #e5e6eb;
354
+ --at-apply: border-[#e5e6eb];
355
355
  }
356
356
 
357
357
  [data-theme="dark"] .border_color {
358
- border-color: rgb(253 253 253 / 0.12);
358
+ --at-apply: border-[#fdfdfd1f];
359
359
  }
360
360
 
361
361
  .border_c {
362
- border-width: 1px;
363
- border-radius: 10px;
364
- border-style: dashed;
365
- border-color: #ccc;
362
+ --at-apply: border rounded-[10px] border-dashed border-[#ccc];
366
363
  }
367
364
 
368
365
  :deep(.ant-dropdown-link) {
369
- font-size: 0.75rem; /* 12px */
370
- line-height: 1rem; /* 16px */
371
- padding-left: 0.375rem; /* 6px */
372
- padding-right: 0.375rem; /* 6px */
373
- padding-top: 0.25rem; /* 4px */
374
- padding-bottom: 0.25rem; /* 4px */
375
- border-radius: 0.125rem; /* 2px */
376
- transform: scaleX(0.7) scaleY(0.7);
366
+ --at-apply: text-xs px-1.5 py-1 rounded-sm scale-[0.7];
377
367
  }
378
368
  </style>
379
369
 
380
370
  <style lang='css' scoped>
381
371
  .custom_modal :deep(.ant-modal-content) {
382
- padding: 0;
383
- border-radius: 0;
372
+ --at-apply: p-0 rounded-none;
384
373
  }
385
374
 
386
375
  .custom_modal :deep(.ant-modal-header) {
387
- margin-bottom: 0;
388
- padding-left: 1rem; /* 16px */
389
- padding-right: 1rem; /* 16px */
390
- padding-top: 0.75rem; /* 12px */
391
- padding-bottom: 0.75rem; /* 12px */
392
- border-bottom-color: #e5e6eb;
393
- border-bottom-width: 1px;
394
- border-style: solid;
376
+ --at-apply: mb-0 px-4 py-3 border-b-[#e5e6eb] border-b border-solid;
395
377
  }
396
378
 
397
379
  .custom_modal :deep(.ant-modal-title) {
398
- font-size: 1rem; /* 16px */
399
- line-height: 1.5rem; /* 24px */
400
- font-weight: 500;
401
- color: #1d2129;
380
+ --at-apply: text-base font-medium text-[#1d2129];
402
381
  }
403
382
 
404
383
  .custom_modal :deep(.ant-modal-body) {
405
- padding: 1rem;
384
+ --at-apply: p-4;
406
385
  }
407
386
 
408
387
  .custom_modal :deep(.ant-modal-footer) {
409
- padding: 1rem; /* 16px */
410
- border-top-color: #e5e6eb;
411
- border-top-width: 1px;
412
- border-style: solid;
388
+ --at-apply: p-4 border-t-[#e5e6eb] border-t border-solid;
413
389
  }
414
390
 
415
391
  .custom_modal :deep(.ant-modal-footer) .ant-btn {
416
- border-radius: 0.125rem;
392
+ --at-apply: rounded-sm;
417
393
  }
418
394
 
419
395
  :deep(.ant-tree-checkbox) {
420
- margin-top: 0;
421
- margin-right: 2px;
396
+ --at-apply: mt-0 mr-2px;
422
397
  }
423
398
 
424
399
  :deep(.ant-tree-checkbox + span .ant-tree-iconEle) {
425
- margin-right: 0.25rem;
400
+ --at-apply: mr-1;
426
401
  }
427
402
 
428
403
  .custom_tag {
429
- padding-left: 0.5rem; /* 8px */
430
- padding-right: 0.5rem; /* 8px */
431
- padding-top: 3px;
432
- padding-bottom: 3px;
433
- border-radius: 0.125rem; /* 2px */
434
- border-width: 0px;
404
+ --at-apply: px-2 py-[3px] rounded-sm border-0;
435
405
  }
436
406
 
437
407
  .custom_tag :deep(.ant-tag-close-icon) {
438
- color: rgb(22 93 255 / 0.6) /* #165dff */;
408
+ --at-apply: text-[#165dff] text-op-60;
439
409
  }
440
410
 
441
411
  .custom_tag :deep(.ant-tag-close-icon):hover {
442
- color: #165dff;
412
+ --at-apply: text-[#165dff] text-op-100;
443
413
  }
444
414
  </style>
@@ -285,20 +285,14 @@ function onAction(key: string, record?: API.PubBlackWhiteList): void {
285
285
 
286
286
  <style scoped>
287
287
  .page-black-white-list :deep(.ant-card.pro-table) {
288
- border-top-left-radius: 0;
289
- border-top-right-radius: 0;
288
+ --at-apply: rounded-t-none;
290
289
  }
291
290
 
292
291
  .page-black-white-list .status-mark {
293
- display: inline-block;
294
- width: 0.5rem; /* 8px */
295
- height: 0.5rem; /* 8px */
296
- background-color: #aeaeae;
297
- margin-right: 0.25rem; /* 4px */
298
- border-radius: 50%;
292
+ --at-apply: inline-block w-2 h-2 bg-[#aeaeae] mr-1 rounded-[50%];
299
293
  }
300
294
 
301
295
  .page-black-white-list .status-mark.active {
302
- background: #01d689;
296
+ --at-apply: [background:#01d689];
303
297
  }
304
298
  </style>
@@ -105,14 +105,7 @@ watch(() => setActiveStyle.value, () => {
105
105
 
106
106
  <style scoped>
107
107
  .item_ani {
108
- display: flex;
109
- flex-direction: column;
110
- background-color: var(--g-bg);
111
- border-width: 1px;
112
- border-color: var(--g-tabbar-tab-hover-bg);
113
- padding-top: 26px;
114
- border-radius: 0.5rem; /* 8px */
115
- border-style: solid;
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;
116
109
  place-items: center center;
117
110
  }
118
111
 
@@ -121,7 +114,6 @@ watch(() => setActiveStyle.value, () => {
121
114
  }
122
115
 
123
116
  .custom_style :deep(.text-sm) {
124
- font-size: 0.75rem; /* 12px */
125
- line-height: 1rem; /* 16px */
117
+ --at-apply: text-xs;
126
118
  }
127
119
  </style>
@@ -178,8 +178,7 @@ function onAction(key: string, record?: API.shujuquanxianshituduixiang): void {
178
178
 
179
179
  <style scoped>
180
180
  .page-data-permission :deep(.ant-card.pro-table) {
181
- border-top-left-radius: 0;
182
- border-top-right-radius: 0;
181
+ --at-apply: rounded-t-none;
183
182
  }
184
183
 
185
184
  .page-data-permission :deep(.ant-form-item-label) {
@@ -188,18 +188,15 @@ function onAction(key: string, type: string, record?: API.PubGroup): void {
188
188
 
189
189
  <style scoped>
190
190
  .box_sh {
191
- --un-shadow: 0 1px 2px 0 rgb(0 0 0 / 3%), 0 1px 6px -1px rgb(0 0 0 / 2%),
192
- 0 2px 4px 0 rgb(0 0 0 / 2%);
193
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
194
- var(--un-shadow);
191
+ --at-apply: shadow-[0_1px_2px_0_rgb(0_0_0_/_3%),0_1px_6px_-1px_rgb(0_0_0_/_2%),0_2px_4px_0_rgb(0_0_0_/_2%)];
195
192
  }
196
193
  .tabs_custom {
197
- height: 46px;
194
+ --at-apply: h-[46px];
198
195
  }
199
196
  .tabs_custom :deep(.ant-tabs-nav) {
200
- margin: 0;
197
+ --at-apply: m-0;
201
198
  }
202
199
  .tabs_custom :deep(.ant-tabs-nav .ant-tabs-nav-list) {
203
- padding-left: 1rem; /* 16px */
200
+ --at-apply: pl-4;
204
201
  }
205
202
  </style>