@pubinfo-pr/module-rbac 0.222.4 → 0.223.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 (129) 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/{blackWhiteList-CaEw1uGl.js → blackWhiteList-DbG7JH8n.js} +1 -1
  8. package/dist/blackWhiteList.css +1 -1
  9. package/dist/breadcrumb_setting-Dx2Li6xt.js +108 -0
  10. package/dist/{createAndEditDataPermission-BfIc8HNt.js → createAndEditDataPermission-8_KNLzJT.js} +1 -1
  11. package/dist/createAndEditDataPermission.css +1 -1
  12. package/dist/{data-permission-CeSzz7-6.js → data-permission-LpuDLDm0.js} +2 -2
  13. package/dist/data-permission.css +1 -1
  14. package/dist/{group-DmvSRTkz.js → group-CaOhkh72.js} +1 -1
  15. package/dist/group.css +1 -1
  16. package/dist/index.css +1 -1
  17. package/dist/index.js +43 -43
  18. package/dist/{layout_setting-DcFrUQtI.js → layout_setting-79srmFgJ.js} +1 -1
  19. package/dist/layout_setting.css +1 -1
  20. package/dist/{login_history-uB4F5Ddd.js → login_history-BiwaLpxA.js} +1 -1
  21. package/dist/login_history.css +1 -1
  22. package/dist/menu_setting-ChueWHs4.js +155 -0
  23. package/dist/{operate_history-eTC0gtt3.js → operate_history-sPd9IHMV.js} +28 -30
  24. package/dist/operate_history.css +1 -0
  25. package/dist/{organization-CEDkYrjK.js → organization-Dv3FbKke.js} +6 -2
  26. package/dist/organization.css +1 -1
  27. package/dist/other_setting-BEV_UK0g.js +213 -0
  28. package/dist/page_animation_setting-Cp5OnFpd.js +108 -0
  29. package/dist/page_animation_setting.css +1 -0
  30. package/dist/{page_w_setting-Bp9cayqE.js → page_w_setting-Q--ct16C.js} +6 -2
  31. package/dist/page_w_setting.css +1 -1
  32. package/dist/{role-WO4NM7Er.js → role-4UgEw3nH.js} +1 -1
  33. package/dist/{setItem-Bjl8zTpQ.js → setItem-Vkcwkj-O.js} +1 -1
  34. package/dist/setItem.css +1 -1
  35. package/dist/tabbar_setting-kbuTvrLB.js +139 -0
  36. package/dist/{theme_setting-Duv0kBY3.js → theme_setting-CEb7UYQO.js} +1 -1
  37. package/dist/theme_setting.css +1 -1
  38. package/dist/toolbar_setting-BG-k2UFc.js +140 -0
  39. package/dist/{user-DeVw-Ynu.js → user-BkUpcQC8.js} +2 -2
  40. package/dist/user.css +1 -1
  41. package/dist/watermark_setting-Cl2EtPAa.js +191 -0
  42. package/dist/watermark_setting.css +1 -1
  43. package/package.json +3 -3
  44. package/src/components/GroupSelector/index.vue +24 -67
  45. package/src/components/OrgTree/index.vue +1 -1
  46. package/src/components/ResourceSelector/index.vue +15 -45
  47. package/src/views/blackWhiteList/index.vue +3 -9
  48. package/src/views/components/setItem.vue +2 -10
  49. package/src/views/data-permission/index.vue +1 -2
  50. package/src/views/group/index.vue +4 -7
  51. package/src/views/layout_setting/index.vue +20 -99
  52. package/src/views/log_center/login_history.vue +2 -7
  53. package/src/views/log_center/operate_history.vue +11 -4
  54. package/src/views/organization/index.vue +21 -23
  55. package/src/views/page_animation_setting/index.vue +23 -14
  56. package/src/views/page_w_setting/index.vue +6 -19
  57. package/src/views/role/components/ResourceRelation.vue +1 -2
  58. package/src/views/role_group/components/ResourceRelation.vue +1 -2
  59. package/src/views/safe_setting/index.vue +1 -1
  60. package/src/views/theme_setting/index.vue +17 -70
  61. package/src/views/user/components/UserAuthorization.vue +2 -2
  62. package/src/views/watermark_setting/index.vue +1 -4
  63. package/dist/breadcrumb_setting-CW3eWnlU.js +0 -108
  64. package/dist/lottie-03f0a035.json +0 -1
  65. package/dist/lottie-0ee63e7f.json +0 -1
  66. package/dist/lottie-10eef4fe.json +0 -1
  67. package/dist/lottie-13f452f1.json +0 -1
  68. package/dist/lottie-14b7b290.json +0 -1
  69. package/dist/lottie-15b8cef1.json +0 -1
  70. package/dist/lottie-15f77960.json +0 -1
  71. package/dist/lottie-1ae9b726.json +0 -1
  72. package/dist/lottie-1b02359f.json +0 -1
  73. package/dist/lottie-1ef286cd.json +0 -1
  74. package/dist/lottie-23cfd18c.json +0 -1
  75. package/dist/lottie-265a0a5d.json +0 -1
  76. package/dist/lottie-28d57c49.json +0 -1
  77. package/dist/lottie-2b54ed10.json +0 -1
  78. package/dist/lottie-2bb6f642.json +0 -1
  79. package/dist/lottie-2cdc07bd.json +0 -1
  80. package/dist/lottie-31c58607.json +0 -1
  81. package/dist/lottie-32884f23.json +0 -1
  82. package/dist/lottie-32fca43a.json +0 -1
  83. package/dist/lottie-3a75445b.json +0 -1
  84. package/dist/lottie-3f27d67c.json +0 -1
  85. package/dist/lottie-4189453f.json +0 -1
  86. package/dist/lottie-4702b37c.json +0 -1
  87. package/dist/lottie-520a5c68.json +0 -1
  88. package/dist/lottie-56bea508.json +0 -1
  89. package/dist/lottie-57c732a3.json +0 -1
  90. package/dist/lottie-5be4a28f.json +0 -1
  91. package/dist/lottie-5e6d7cfa.json +0 -1
  92. package/dist/lottie-64e176c9.json +0 -1
  93. package/dist/lottie-6583dca6.json +0 -1
  94. package/dist/lottie-66c640c6.json +0 -1
  95. package/dist/lottie-68393156.json +0 -1
  96. package/dist/lottie-688465aa.json +0 -1
  97. package/dist/lottie-6bf334f4.json +0 -1
  98. package/dist/lottie-7b4f72ce.json +0 -1
  99. package/dist/lottie-837ec087.json +0 -1
  100. package/dist/lottie-838ac1ba.json +0 -1
  101. package/dist/lottie-8465c2cf.json +0 -1
  102. package/dist/lottie-9e9f04a4.json +0 -1
  103. package/dist/lottie-a13964cb.json +0 -1
  104. package/dist/lottie-ab93a057.json +0 -1
  105. package/dist/lottie-abe308fc.json +0 -1
  106. package/dist/lottie-b24f2cd3.json +0 -1
  107. package/dist/lottie-bf00eaed.json +0 -1
  108. package/dist/lottie-cb22efd7.json +0 -1
  109. package/dist/lottie-cb953f20.json +0 -1
  110. package/dist/lottie-cc209e34.json +0 -1
  111. package/dist/lottie-cfdffceb.json +0 -1
  112. package/dist/lottie-d33c0299.json +0 -1
  113. package/dist/lottie-d430c8ca.json +0 -1
  114. package/dist/lottie-d8cfa560.json +0 -1
  115. package/dist/lottie-da91beb6.json +0 -1
  116. package/dist/lottie-e2bdf85c.json +0 -1
  117. package/dist/lottie-e34ad826.json +0 -1
  118. package/dist/lottie-e80720aa.json +0 -1
  119. package/dist/lottie-e894bc92.json +0 -1
  120. package/dist/lottie-f28020f2.json +0 -1
  121. package/dist/lottie-f71ebbf4.json +0 -1
  122. package/dist/lottie-fb1f4917.json +0 -1
  123. package/dist/lottie-ff2e97c4.json +0 -1
  124. package/dist/menu_setting-C5Pr_E9s.js +0 -155
  125. package/dist/other_setting-DaDLf9QC.js +0 -213
  126. package/dist/page_animation_setting-BzlBS0Sa.js +0 -109
  127. package/dist/tabbar_setting-C_B1WZn1.js +0 -139
  128. package/dist/toolbar_setting-BPROx6V9.js +0 -140
  129. package/dist/watermark_setting-r0rMSViF.js +0 -191
@@ -326,15 +326,10 @@ function onAction(key: string, record?: ChilData): void {
326
326
  </script>
327
327
 
328
328
  <template>
329
- <div class="w-full h-full p-10px">
330
- <div
331
- class="org_page [list-style:none] relative box-border w-full h-full text-sm
332
- leading-[1.5714] text-[rgb(0_0_0_/_88%)]
333
- shadow-[0_1px_2px_0_rgba(0,0,0,0.03),0_1px_6px_-1px_rgba(0,0,0,0.02),0_2px_4px_0_rgba(0,0,0,0.02)]
334
- m-0 p-0 rounded-lg bg-[#fff] dark:bg-[#141414]"
335
- >
336
- <div class="flex items-center justify-between pl-6 pr-4 py-4">
337
- <div class="flex items-center">
329
+ <div w-full h-full p-10px>
330
+ <div class="org_page bg-[#fff] dark:bg-[#141414]">
331
+ <div class="search_panel">
332
+ <div class="left">
338
333
  <label class="dark:text-[#f7f7f7]">组织名称:</label>
339
334
  <a-select
340
335
  v-model:value="searchId"
@@ -361,7 +356,7 @@ function onAction(key: string, record?: ChilData): void {
361
356
  </template>
362
357
  </a-select>
363
358
  </div>
364
- <div class="items-center">
359
+ <div class="right">
365
360
  <a-button @click="reset">
366
361
  重置
367
362
  </a-button>
@@ -453,24 +448,32 @@ function onAction(key: string, record?: ChilData): void {
453
448
 
454
449
  <style scoped>
455
450
  .org_page {
451
+ --at-apply: [list-style:none] relative box-border w-full h-full text-sm leading-[1.5714] text-[rgb(0_0_0_/_88%)] shadow-[0_1px_2px_0_rgba(0,0,0,0.03),0_1px_6px_-1px_rgba(0,0,0,0.02),0_2px_4px_0_rgba(0,0,0,0.02)] m-0 p-0 rounded-lg;
456
452
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
457
453
  }
458
454
 
455
+ .search_panel {
456
+ --at-apply: flex items-center justify-between pl-6 pr-4 py-4;
457
+ }
458
+
459
+ .search_panel .left {
460
+ --at-apply: flex items-center;
461
+ }
462
+ .search_panel .right {
463
+ --at-apply: flex items-center;
464
+ }
459
465
  :deep(.ant-divider-horizontal) {
460
- margin: 0;
466
+ --at-apply: m-0;
461
467
  }
462
468
  </style>
463
469
 
464
470
  <style scoped>
465
471
  :deep(.vxe-table--body-wrapper) {
466
- overflow-x: hidden;
472
+ --at-apply: overflow-x-hidden;
467
473
  }
468
474
 
469
475
  :deep(.vxe-tree--btn-wrapper) {
470
- border-width: 1px;
471
- border-radius: 0.375rem; /* 6px */
472
- border-style: solid;
473
- border-color: #f0f0f0;
476
+ --at-apply: w-[15px] h-[15px] border rounded-md border-solid border-[#f0f0f0];
474
477
  width: 15px !important;
475
478
  height: 15px !important;
476
479
  }
@@ -484,16 +487,11 @@ function onAction(key: string, record?: ChilData): void {
484
487
  }
485
488
 
486
489
  :deep(.vxe-header--column .vxe-resizable) {
487
- width: 1px;
488
- height: 1.6em;
489
- right: 0;
490
- bottom: 0.875rem; /* 14px */
490
+ --at-apply: w-px h-[1.6em] right-0 bottom-3.5;
491
491
  background-color: var(--vxe-table-border-color);
492
492
  }
493
493
 
494
494
  :deep([class*="vxe-icon-"]) {
495
- font-size: 0.75rem; /* 12px */
496
- line-height: 1rem; /* 16px */
497
- transform: scaleX(0.8) scaleY(0.8);
495
+ --at-apply: text-xs scale-[0.8];
498
496
  }
499
497
  </style>
@@ -119,7 +119,11 @@ function setStyle(jsonStr: string) {
119
119
  </script>
120
120
 
121
121
  <template>
122
- <div class="w-full h-full p-10px">
122
+ <div
123
+ w-full
124
+ h-full
125
+ p-10px
126
+ >
123
127
  <div class="w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]">
124
128
  <div class="bg-[#F0F4FF] h-[38px] pl-[16px] flex flex-row items-center dark:bg-[#32353B]">
125
129
  <PubinfoIcon name="icon_menu" class="text-base mr-[6px]" :size="22" />
@@ -146,15 +150,8 @@ function setStyle(jsonStr: string) {
146
150
  <div
147
151
  v-for="(mode, index) in transitionModeList"
148
152
  :key="mode.active"
149
- class="flex flex-col cursor-pointer bg-[color:var(--g-bg)]
150
- border border-[color:var(--g-tabbar-tab-hover-bg)] [place-items:center_center]
151
- pt-[26px] rounded-lg border-solid dark:bg-[#3a3e43]!
152
- data-[status=active]:border-[rgb(var(--ui-primary))]
153
- data-[status=active]:shadow-[0_2.6px_13px_0_#59626940]
154
- data-[status=active]:rounded-lg
155
- data-[status=active]:border-[2.6px]
156
- data-[status=active]:border-solid"
157
- :data-status="[transitionMode === mode.active ? 'active' : '', `item-${mode.active}`]"
153
+ class="item dark:bg-[#3a3e43]! "
154
+ :class="[transitionMode === mode.active ? 'active' : '', `item-${mode.active}`]"
158
155
  aspect="[9/6]"
159
156
  @click="clickHandle(mode.active)"
160
157
  @mouseenter="play(index)"
@@ -163,10 +160,7 @@ function setStyle(jsonStr: string) {
163
160
  <div class="text-[#4E5969] text-[14px] dark:text-[#C9CDD4]">
164
161
  {{ mode.descripe }}
165
162
  </div>
166
- <div
167
- class="flex-1 mt-[20px] w-[75%] rounded-[8px] py-[10px] flex justify-center"
168
- style="background: linear-gradient(180deg, var(--g-container-bg) 0%, #fff0 100%);"
169
- >
163
+ <div class="flex-1 mt-[20px] w-[75%] rounded-[8px] jb py-[10px] flex justify-center">
170
164
  <AnimationItem
171
165
  :key="index"
172
166
  :ref="(el: any) => (itemRefs[index] = el as InstanceType<typeof AnimationItem>)"
@@ -181,3 +175,18 @@ function setStyle(jsonStr: string) {
181
175
  </div>
182
176
  </div>
183
177
  </template>
178
+
179
+ <style scoped>
180
+ .item {
181
+ --at-apply: flex flex-col cursor-pointer bg-[color:var(--g-bg)] border border-[color:var(--g-tabbar-tab-hover-bg)] pt-[26px] rounded-lg border-solid;
182
+ place-items: center center;
183
+ }
184
+
185
+ .item .jb {
186
+ background: linear-gradient(180deg, var(--g-container-bg) 0%, #fff0 100%);
187
+ }
188
+
189
+ .item.active {
190
+ --at-apply: border-[rgb(var(--ui-primary))] shadow-[0_2.6px_13px_0_#59626940] rounded-lg border-[2.6px] border-solid;
191
+ }
192
+ </style>
@@ -60,7 +60,9 @@ function clickHandle(item: Settings.layout['widthMode']) {
60
60
 
61
61
  <template>
62
62
  <div
63
- class="w-full h-full p-10px"
63
+ w-full
64
+ h-full
65
+ p-10px
64
66
  >
65
67
  <div class="w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]">
66
68
  <div class="bg-[#F0F4FF] h-[38px] pl-[16px] flex flex-row items-center dark:bg-[#32353B]">
@@ -96,16 +98,7 @@ function clickHandle(item: Settings.layout['widthMode']) {
96
98
 
97
99
  <style scoped>
98
100
  .item {
99
- display: flex;
100
- flex-direction: column;
101
- justify-content: center;
102
- align-items: center;
103
- cursor: pointer;
104
- border-width: 1px;
105
- border-color: var(--g-tabbar-tab-hover-bg);
106
- padding-top: 26px;
107
- border-radius: 0.5rem; /* 8px */
108
- border-style: solid;
101
+ --at-apply: flex flex-col justify-center items-center cursor-pointer border border-[color:var(--g-tabbar-tab-hover-bg)] pt-[26px] rounded-lg border-solid;
109
102
  background: linear-gradient(180deg, var(--g-bg) 0%, var(--g-bg) 100%);
110
103
  }
111
104
 
@@ -114,7 +107,7 @@ function clickHandle(item: Settings.layout['widthMode']) {
114
107
  }
115
108
 
116
109
  .item .jb .layout-demo {
117
- width: 70%;
110
+ --at-apply: w-7/10;
118
111
  }
119
112
 
120
113
  .item-adaption .mode {
@@ -158,13 +151,7 @@ function clickHandle(item: Settings.layout['widthMode']) {
158
151
  }
159
152
 
160
153
  .item.active {
161
- border-color: rgb(var(--ui-primary));
162
- --un-shadow: 0 2.6px 13px 0 var(--un-shadow-color, rgba(89, 98, 105, 0.25));
163
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
164
- var(--un-shadow);
165
- border-radius: 0.5rem; /* 8px */
166
- border-width: 2.6px;
167
- border-style: solid;
154
+ --at-apply: border-[rgb(var(--ui-primary))] shadow-[0_2.6px_13px_0_rgba(89,98,105,0.25)] rounded-lg border-[2.6px] border-solid;
168
155
  }
169
156
 
170
157
  [data-theme="dark"] .item,
@@ -107,7 +107,6 @@ defineExpose({
107
107
 
108
108
  <style scoped>
109
109
  :deep(.ant-drawer-body) {
110
- padding-left: 0;
111
- padding-right: 0;
110
+ --at-apply: px-0;
112
111
  }
113
112
  </style>
@@ -85,7 +85,6 @@ defineExpose({
85
85
 
86
86
  <style scoped>
87
87
  :deep(.ant-drawer-body) {
88
- padding-left: 0;
89
- padding-right: 0;
88
+ --at-apply: px-0;
90
89
  }
91
90
  </style>
@@ -230,6 +230,6 @@ async function onSubmit() {
230
230
  <style>
231
231
  .safe-rule-form .ant-input,
232
232
  .safe-rule-form .ant-select {
233
- width: 90%;
233
+ --at-apply: w-9/10;
234
234
  }
235
235
  </style>
@@ -223,32 +223,17 @@ async function updateConfig(options: object) {
223
223
 
224
224
  <style scoped>
225
225
  .theme-item {
226
- display: flex;
227
- flex-direction: column;
228
- cursor: pointer;
229
- border-width: 1px;
230
- border-color: var(--border-2, #e5e6eb);
231
- padding-top: 0.75rem; /* 12px */
232
- padding-bottom: 0;
233
- padding-left: 1.5rem; /* 24px */
234
- padding-right: 1.5rem; /* 24px */
235
- border-radius: 0.5rem; /* 8px */
236
- border-style: solid;
226
+ --at-apply: flex flex-col cursor-pointer border border-[color:var(--border-2,#e5e6eb)] pt-3 pb-0 px-6 rounded-lg border-solid;
237
227
  background: linear-gradient(180deg, #f4f7ff -22.05%, #fff 85.58%);
238
228
  }
239
229
 
240
230
  .theme-item.active {
241
- border-color: rgb(var(--ui-primary));
242
- --un-shadow: 0 2.6px 13px 0 var(--un-shadow-color, rgb(89 98 105 / 0.25));
243
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
244
- var(--un-shadow);
245
- border-width: 2.6px;
246
- border-style: solid;
231
+ --at-apply: border-[rgb(var(--ui-primary))] shadow-[0_2.6px_13px_0_#59626940] border-[2.6px] border-solid;
247
232
  background: linear-gradient(180deg, #f4f7ff -22.05%, #fff 85.58%);
248
233
  }
249
234
 
250
235
  .theme-item.dark {
251
- border-color: transparent;
236
+ --at-apply: border-transparent;
252
237
  background: linear-gradient(0deg, #3a3e43 0%, #3a3e43 100%), linear-gradient(180deg, #f4f7ff -22.05%, #fff 85.58%);
253
238
  }
254
239
 
@@ -257,21 +242,11 @@ async function updateConfig(options: object) {
257
242
  }
258
243
 
259
244
  .theme-item .item-title {
260
- display: flex;
261
- align-items: center;
262
- justify-content: center;
263
- font-size: 0.875rem; /* 14px */
264
- line-height: 1.25rem; /* 20px */
265
- line-height: 22px;
266
- text-align: center;
267
- margin: 0;
268
- padding: 0;
245
+ --at-apply: flex items-center justify-center text-sm leading-[22px] text-center m-0 p-0;
269
246
  }
270
247
 
271
248
  .theme-item .item-content {
272
- display: flex;
273
- flex: 1 1 0%;
274
- flex-direction: column;
249
+ --at-apply: flex flex-1 flex-col;
275
250
  padding: calc(12 / 320 * 100%) calc(20 / 320 * 100%);
276
251
  margin-top: calc(12 / 320 * 100%);
277
252
  background: linear-gradient(180deg, #fff 0%, #fff0 100%);
@@ -287,13 +262,7 @@ async function updateConfig(options: object) {
287
262
  }
288
263
 
289
264
  .theme-item .item-content .color-spot {
290
- flex-shrink: 0;
291
- max-width: 30px;
292
- aspect-ratio: 1;
293
- border-radius: 30px;
294
- border-width: 2px;
295
- border-style: solid;
296
- border-color: white;
265
+ --at-apply: shrink-0 max-w-[30px] aspect-[1] rounded-[30px] border-2 border-solid border-white;
297
266
  background: #fff;
298
267
  width: calc(30 / 270 * 100%);
299
268
  box-shadow: 0 0 4px 0 #00000026;
@@ -324,12 +293,7 @@ async function updateConfig(options: object) {
324
293
  }
325
294
 
326
295
  .theme-item .item-content .skeleton {
327
- display: flex;
328
- flex: auto;
329
- flex-direction: column;
330
- height: 0;
331
- border-radius: 0.25rem; /* 4px */
332
- margin-top: 22px;
296
+ --at-apply: flex flex-[auto] flex-col h-0 rounded mt-[22px];
333
297
  background: #f5f8fe;
334
298
  }
335
299
 
@@ -338,11 +302,7 @@ async function updateConfig(options: object) {
338
302
  }
339
303
 
340
304
  .theme-item .item-content .skeleton header {
341
- display: flex;
342
- align-items: center;
343
- aspect-ratio: 10.45;
344
- padding-left: 0.625rem; /* 10px */
345
- border-radius: 4px 4px 0 0;
305
+ --at-apply: flex items-center aspect-[10.45] pl-2.5 rounded-[4px_4px_0_0];
346
306
  }
347
307
 
348
308
  .theme-item.dark .item-content .skeleton header {
@@ -350,8 +310,7 @@ async function updateConfig(options: object) {
350
310
  }
351
311
 
352
312
  .theme-item .item-content .skeleton header .dot {
353
- aspect-ratio: 1;
354
- border-radius: 50%;
313
+ --at-apply: aspect-1 rounded-1/2;
355
314
  width: calc(8.5 / 230 * 100%);
356
315
  margin-right: calc(5 / 230 * 100%);
357
316
  background: rgb(255 255 255 / 50%);
@@ -362,7 +321,7 @@ async function updateConfig(options: object) {
362
321
  }
363
322
 
364
323
  .theme-item .item-content .skeleton header .bar {
365
- border-radius: 0.125rem; /* 2px */
324
+ --at-apply: rounded-sm;
366
325
  width: calc(68 / 230 * 100%);
367
326
  aspect-ratio: calc(68 / 7);
368
327
  background: rgb(255 255 255 / 50%);
@@ -373,15 +332,12 @@ async function updateConfig(options: object) {
373
332
  }
374
333
 
375
334
  .theme-item .item-content .skeleton .skeleton-body {
376
- display: flex;
377
- flex: 1 1 0%;
378
- height: 0;
335
+ --at-apply: flex flex-1 h-0;
379
336
  padding: calc(7 / 230 * 100%);
380
337
  }
381
338
 
382
339
  .theme-item .item-content .skeleton .skeleton-body .aside {
383
- height: 100%;
384
- border-radius: 0.25rem; /* 4px */
340
+ --at-apply: h-full rounded;
385
341
  width: calc(36 / 230 * 100%);
386
342
  padding-top: calc(12 / 230 * 100%);
387
343
  margin-right: calc(7 / 230 * 100%);
@@ -393,7 +349,7 @@ async function updateConfig(options: object) {
393
349
  }
394
350
 
395
351
  .theme-item .item-content .skeleton .skeleton-body .aside .side-line {
396
- border-radius: 0.125rem; /* 2px */
352
+ --at-apply: rounded-sm;
397
353
  width: calc(24.1 / 36.6 * 100%);
398
354
  aspect-ratio: calc(24.1 / 6.5);
399
355
  margin: 0 auto calc(4 / 36.6 * 100%);
@@ -405,15 +361,7 @@ async function updateConfig(options: object) {
405
361
  }
406
362
 
407
363
  .theme-item .item-content .skeleton .skeleton-body .main {
408
- display: flex;
409
- flex: auto;
410
- justify-content: space-between;
411
- height: 100%;
412
- padding-top: 5.2%;
413
- padding-bottom: 3%;
414
- padding-left: 5.6%;
415
- padding-right: 5.6%;
416
- border-radius: 0.125rem; /* 2px */
364
+ --at-apply: flex flex-[auto] justify-between h-full pt-[5.2%] pb-[3%] px-[5.6%] rounded-sm;
417
365
  background: #fff;
418
366
  }
419
367
 
@@ -422,16 +370,15 @@ async function updateConfig(options: object) {
422
370
  }
423
371
 
424
372
  .theme-item .item-content .skeleton .skeleton-body .main .left {
425
- flex: 1 1 0%;
373
+ --at-apply: flex-1;
426
374
  }
427
375
 
428
376
  .theme-item .item-content .skeleton .skeleton-body .main .right {
429
- width: 30%;
377
+ --at-apply: w-3/10;
430
378
  }
431
379
 
432
380
  .theme-item .item-content .skeleton .skeleton-body .main .left-item {
433
- display: flex;
434
- margin-bottom: 6.5;
381
+ --at-apply: flex mb-[6.5];
435
382
  }
436
383
 
437
384
  .theme-item .item-content .skeleton .skeleton-body .main .left-item .dot {
@@ -252,10 +252,10 @@ defineExpose({
252
252
 
253
253
  <style scoped>
254
254
  .auth-card {
255
- margin-top: 0.75rem; /* 12px */
255
+ --at-apply: mt-3;
256
256
  }
257
257
 
258
258
  .auth-card:first-of-type {
259
- margin-top: 3px;
259
+ --at-apply: mt-3px;
260
260
  }
261
261
  </style>
@@ -213,10 +213,7 @@ function onSubmit() {
213
213
 
214
214
  <style scoped>
215
215
  .item_ani {
216
- display: flex;
217
- flex-direction: column;
218
- padding-top: 26px;
219
- border-radius: 0.5rem; /* 8px */
216
+ --at-apply: flex flex-col pt-[26px] rounded-lg;
220
217
  place-items: center center;
221
218
  background-color: var(--g-bg);
222
219
  border: 1px solid var(--g-tabbar-tab-hover-bg);
@@ -1,108 +0,0 @@
1
- import { h as _plugin_vue_export_helper_default, l as postSysconfigAddOrEidtSysThemeStyleConfig } from "./index.js";
2
- import { t as useSettingsStore } from "./stores-DPQF8JRt.js";
3
- import "./animation_item-DBOz2rcX.js";
4
- import "./HCheckList-ODQHidN8.js";
5
- import { t as setItem_default } from "./setItem-Bjl8zTpQ.js";
6
- import { PubinfoIcon } from "pubinfo-pr";
7
- import { Fragment, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, reactive, renderList, resolveComponent, unref } from "vue";
8
- import { message } from "ant-design-vue";
9
- import './breadcrumb_setting.css';var enable_default$1 = new URL("lottie-2bb6f642.json", import.meta.url).href, enableMainMenu_default$1 = new URL("lottie-b24f2cd3.json", import.meta.url).href, style_default$1 = new URL("lottie-7b4f72ce.json", import.meta.url).href, enable_default = new URL("lottie-2cdc07bd.json", import.meta.url).href, enableMainMenu_default = new URL("lottie-fb1f4917.json", import.meta.url).href, style_default = new URL("lottie-03f0a035.json", import.meta.url).href, _hoisted_1 = {
10
- "w-full": "",
11
- "h-full": "",
12
- "p-10px": ""
13
- }, _hoisted_2 = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, _hoisted_3 = { class: "h-[38px] pl-[16px] flex flex-row items-center bar-header" }, _hoisted_4 = {
14
- class: "mt-[22px] grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
15
- aspect: "[3/2] "
16
- }, breadcrumb_setting_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
17
- name: "BreadcrumbSetting",
18
- __name: "index",
19
- setup(e) {
20
- let r = useSettingsStore(), i = reactive([
21
- {
22
- name: "是否启用",
23
- type: "switch",
24
- descripe: "",
25
- open: r.globalSettings.breadcrumb.enable,
26
- activeStyle: "",
27
- lightData: enable_default,
28
- darkData: enable_default$1
29
- },
30
- {
31
- name: "风格",
32
- type: "check",
33
- descripe: "",
34
- open: !0,
35
- activeStyle: r.globalSettings.breadcrumb.style,
36
- styleOptions: [{
37
- label: "默认",
38
- value: ""
39
- }, {
40
- label: "现代",
41
- value: "modern"
42
- }],
43
- lightData: style_default,
44
- darkData: style_default$1
45
- },
46
- {
47
- name: "是否显示主导航",
48
- type: "switch",
49
- descripe: "",
50
- open: r.globalSettings.breadcrumb.enableMainMenu,
51
- activeStyle: "",
52
- lightData: enableMainMenu_default,
53
- darkData: enableMainMenu_default$1
54
- }
55
- ]), a = "";
56
- function o(e, t) {
57
- switch (e) {
58
- case 0:
59
- r.globalSettings.breadcrumb.enable = t, a = JSON.stringify({ breadcrumb: { enable: t } });
60
- break;
61
- case 1:
62
- r.globalSettings.breadcrumb.style = t, a = JSON.stringify({ breadcrumb: { style: t } });
63
- break;
64
- case 2:
65
- r.globalSettings.breadcrumb.enableMainMenu = t, a = JSON.stringify({ breadcrumb: { enableMainMenu: t } });
66
- break;
67
- }
68
- s(a);
69
- }
70
- function s(e) {
71
- postSysconfigAddOrEidtSysThemeStyleConfig({ content: e }).then((e) => {
72
- e.success && message.success("设置成功");
73
- });
74
- }
75
- return (e, t) => {
76
- let n = PubinfoIcon;
77
- return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(n, {
78
- name: "icon_breadcrumb",
79
- class: "text-base mr-[6px]",
80
- size: 22
81
- }), t[0] ||= createElementVNode("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "面包屑导航", -1)]), createElementVNode("div", _hoisted_4, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(i), (e, t) => (openBlock(), createBlock(setItem_default, {
82
- key: e.name,
83
- class: "mb-20px",
84
- aspect: "[9/6]",
85
- name: e.name,
86
- descripe: e.descripe,
87
- open: e.open,
88
- type: e.type,
89
- "active-style": e.activeStyle,
90
- "style-options": e.styleOptions,
91
- "light-animation-data": e.lightData,
92
- "dark-animation-data": e.darkData,
93
- onChange: (e) => o(t, e)
94
- }, null, 8, [
95
- "name",
96
- "descripe",
97
- "open",
98
- "type",
99
- "active-style",
100
- "style-options",
101
- "light-animation-data",
102
- "dark-animation-data",
103
- "onChange"
104
- ]))), 128))])])]);
105
- };
106
- }
107
- }), [["__scopeId", "data-v-b756993c"]]);
108
- export { breadcrumb_setting_default as default };