@pubinfo-pr/core 0.222.3 → 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 (74) hide show
  1. package/dist/{AppSetting-Adv5Y3SE.js → AppSetting-7jlhUzze.js} +17 -17
  2. package/dist/{HCheckList-WAAl9RiK.js → HCheckList-cPBgATmv.js} +1 -1
  3. package/dist/HSlideover-DVQDc9q6.js +3151 -0
  4. package/dist/{HToggle-YLmL7R0b.js → HToggle-Ce_2-yhZ.js} +1 -1
  5. package/dist/{PreferencesContent-CiPweszy.js → PreferencesContent-BAIH81yS.js} +6 -6
  6. package/dist/{SettingBreadcrumb-C1VwfnxX.js → SettingBreadcrumb-O9-PhAFT.js} +4 -4
  7. package/dist/{SettingCopyright-C--oGV21.js → SettingCopyright-DIKsWTuf.js} +3 -3
  8. package/dist/{SettingEnableTransition-DW2gfisN.js → SettingEnableTransition-61O7W00b.js} +3 -3
  9. package/dist/{SettingHome-VUAS3uEg.js → SettingHome-Sv65TPH8.js} +4 -4
  10. package/dist/{SettingMenu-BH7XU7eF.js → SettingMenu-BvwJOUZV.js} +5 -5
  11. package/dist/{SettingMode-BIyHzTKH.js → SettingMode-B8H_eQc8.js} +2 -2
  12. package/dist/{SettingNavSearch-PfSA-_ro.js → SettingNavSearch-BHsmYBA7.js} +3 -3
  13. package/dist/{SettingOther-DdqNapQX.js → SettingOther-CyyNnaDX.js} +4 -4
  14. package/dist/{SettingPage-DS-G9-X5.js → SettingPage-B82lW41P.js} +2 -2
  15. package/dist/{SettingTabbar-2yfw2vsm.js → SettingTabbar-Bky2xvH-.js} +5 -5
  16. package/dist/{SettingThemes-Bkcywy7v.js → SettingThemes-CkdzS1xt.js} +5 -5
  17. package/dist/{SettingToolbar-DP7-_nPK.js → SettingToolbar-CD4qns1J.js} +3 -3
  18. package/dist/{SettingTopbar-C0Ia4-If.js → SettingTopbar-1shjoe3s.js} +5 -5
  19. package/dist/{SettingWidthMode-DgSWsHFq.js → SettingWidthMode-DlG6lXjA.js} +3 -3
  20. package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
  21. package/dist/built-in/layout-component/index.d.ts +2 -6
  22. package/dist/{change-organization-BfnI2yEl.js → change-organization-hsqeSzDu.js} +3 -3
  23. package/dist/{change-password-Bj_GWzmn.js → change-password-EtccCDRX.js} +3 -3
  24. package/dist/{components-BfkDsfck.js → components-DFNyaAb9.js} +6 -6
  25. package/dist/index.js +815 -343
  26. package/dist/{not-found-DbHOY5cU.js → not-found-BCjngLzt.js} +1 -1
  27. package/dist/{not-permission-DwERxb_u.js → not-permission-C26vTMvf.js} +1 -1
  28. package/dist/{profile-Dq66-Gsl.js → profile-BVXIFuBG.js} +1 -1
  29. package/dist/style.css +1 -1
  30. package/package.json +7 -7
  31. package/src/built-in/authentication/pages/change-organization/index.vue +5 -22
  32. package/src/built-in/authentication/pages/change-password/index.vue +3 -30
  33. package/src/built-in/layout-component/Layout.vue +30 -81
  34. package/src/built-in/layout-component/components/Copyright/index.vue +3 -29
  35. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +6 -17
  36. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +7 -18
  37. package/src/built-in/layout-component/components/Header/index.vue +22 -119
  38. package/src/built-in/layout-component/components/Logo/index.vue +1 -4
  39. package/src/built-in/layout-component/components/Menu/item.vue +6 -29
  40. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +13 -33
  41. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +25 -113
  42. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +4 -57
  43. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +20 -123
  44. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +25 -102
  45. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +16 -100
  46. package/src/built-in/layout-component/components/SettingBar/index.vue +10 -64
  47. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +22 -76
  48. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +10 -16
  49. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
  50. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +4 -26
  51. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +51 -404
  52. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +13 -68
  53. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +49 -177
  54. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
  55. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +12 -45
  56. package/src/built-in/layout-component/components/ui/HToggle.vue +9 -55
  57. package/src/built-in/layout-component/index.ts +2 -4
  58. package/src/features/components/PassStrengthValidator/index.vue +10 -36
  59. package/src/features/components/PassStrengthValidator/rule.vue +4 -17
  60. package/dist/HSlideover-CXBJxuQo.js +0 -1695
  61. package/dist/HeaderFullMenu-ByedDsvz.js +0 -251
  62. package/dist/HeaderThinMenu-2q2iBtTH.js +0 -438
  63. package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
  64. /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BwvBr5OE.js} +0 -0
  65. /package/dist/{HInput-BrsX9848.js → HInput-KJ5nFBpF.js} +0 -0
  66. /package/dist/{core-4H5JBsa5.js → core-DJIGzMMM.js} +0 -0
  67. /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-CaNXwGSv.js} +0 -0
  68. /package/dist/{json-CC4oV-bd.js → json-Bu_Zprin.js} +0 -0
  69. /package/dist/{question-line-D7ecIumZ.js → question-line-BG__Ycfv.js} +0 -0
  70. /package/dist/{reload-CbuQgTlC.js → reload-DHx5Vwus.js} +0 -0
  71. /package/dist/{right-DYiPS7dU.js → right-BxBlFUwj.js} +0 -0
  72. /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-CTe40QT_.js} +0 -0
  73. /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BWXC_WeB.js} +0 -0
  74. /package/dist/{wasm-DAU6f5s5.js → wasm-2zDVqo-C.js} +0 -0
@@ -90,10 +90,7 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
90
90
 
91
91
  <style scoped>
92
92
  .main-sidebar-container {
93
- position: relative;
94
- z-index: 1;
95
- display: flex;
96
- flex-direction: column;
93
+ --at-apply: relative z-1 flex flex-col;
97
94
  width: var(--g-main-sidebar-width);
98
95
  color: var(--g-main-sidebar-menu-color);
99
96
  background-color: var(--g-main-sidebar-bg);
@@ -102,126 +99,75 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
102
99
  }
103
100
 
104
101
  .sidebar-logo {
105
- background-color: var(--g-main-sidebar-bg) /* var(--g-main-sidebar-bg) */;
102
+ --at-apply: bg-[--g-main-sidebar-bg];
106
103
  transition: background-color 0.3s;
107
104
  }
108
105
 
109
106
  :deep(.menu-item-container-layout) {
110
- display: flex;
111
- flex-direction: column;
112
- width: auto;
107
+ --at-apply: flex flex-col w-auto;
113
108
  }
114
109
 
115
110
  :deep(.menu-item-container-layout) .title {
116
- display: none;
111
+ --at-apply: hidden;
117
112
  }
118
113
 
119
114
  /* 菜单激活样式 */
120
115
  .menu-active-arrow .item-container::before,
121
116
  .menu-active-arrow :deep(.menu-item::before) {
122
- content: "";
123
- position: absolute;
124
- top: 50%;
125
- width: 0;
126
- height: 0;
127
- transition-property: all;
128
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
129
- transition-duration: 150ms;
130
- transition-duration: 0.3s;
131
- right: -5px;
132
- opacity: 0;
133
- border-top-style: solid;
134
- border-right-style: solid;
135
- border-bottom-style: solid;
136
- border-top-color: transparent;
137
- border-right-color: var(--g-main-sidebar-bg);
138
- border-bottom-color: transparent;
139
- border-top-width: 5px;
140
- border-right-width: 5px;
141
- border-bottom-width: 5px;
142
- transform: translateY(-50%);
117
+ --at-apply: content-empty absolute top-1/2 right-[-5px] w-0 h-0 op-0
118
+ border-t-5px border-t-solid border-t-transparent
119
+ border-r-5px border-r-solid border-r-[--g-main-sidebar-bg]
120
+ border-b-5px border-b-solid border-b-transparent
121
+ -translate-y-2/4 transition-all duration-[0.3s];
143
122
  }
144
123
 
145
124
  .menu-active-arrow .item-container.active::before,
146
125
  .menu-active-arrow :deep(.menu-item.active::before) {
147
- right: 0.5rem; /* 8px */
148
- opacity: 1;
126
+ --at-apply: right-2 op-100;
149
127
  }
150
128
 
151
129
  .menu-active-line .item-container::before,
152
130
  .menu-active-line :deep(.menu-item::before) {
153
- content: "";
154
- position: absolute;
155
- top: 50%;
156
- transform: translateY(-50%);
157
- width: 0.25rem; /* 4px */
158
- height: 0;
159
- opacity: 0;
160
- transition-property: all;
161
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
162
- transition-duration: 150ms;
163
- transition-duration: 0.3s;
164
- border-radius: 0.125rem; /* 2px */
165
- left: 6px;
166
- background-color: var(--g-main-sidebar-menu-active-bg);
131
+ --at-apply: content-empty absolute top-1/2 left-6px -translate-y-2/4 w-1 h-0
132
+ bg-[--g-main-sidebar-menu-active-bg] opacity-0 transition-all duration-[0.3s]
133
+ rounded-sm;
167
134
  box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
168
135
  }
169
136
 
170
137
  .menu-active-line .item-container.active::before,
171
138
  .menu-active-line :deep(.menu-item.active::before) {
172
- height: 1.25rem; /* 20px */
173
- opacity: 1;
139
+ --at-apply: h-5 op-100;
174
140
  }
175
141
 
176
142
  .menu-active-dot .item-container::before,
177
143
  .menu-active-dot :deep(.menu-item::before) {
178
- background-color: var(--g-main-sidebar-menu-active-bg);
179
- content: "";
180
- position: absolute;
181
- transform: translateY(-50%);
182
- width: 0.625rem; /* 10px */
183
- height: 0.625rem; /* 10px */
184
- opacity: 0;
185
- transition-property: all;
186
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
187
- transition-duration: 150ms;
188
- transition-duration: 0.3s;
189
- border-radius: 50%;
190
- left: 0;
191
- top: 50%;
144
+ --at-apply: bg-[--g-main-sidebar-menu-active-bg] content-empty
145
+ absolute -translate-y-2/4 w-2.5 h-2.5 opacity-0 transition-all
146
+ duration-[0.3s] rounded-[50%] left-0 top-2/4;
192
147
  box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
193
148
  }
194
149
 
195
150
  .menu-active-dot .item-container.active::before,
196
151
  .menu-active-dot :deep(.menu-item.active::before) {
197
- left: 0.25rem; /* 4px */
198
- opacity: 1;
152
+ --at-apply: left-1 op-100;
199
153
  }
200
154
 
201
155
  .menu {
202
- flex: 1 1 0%;
203
- width: initial;
204
- overscroll-behavior: contain;
156
+ --at-apply: flex-1 w-[initial] overscroll-contain;
205
157
  overflow: hidden auto;
206
158
  scrollbar-width: none;
207
159
  }
208
160
 
209
161
  .menu::-webkit-scrollbar {
210
- display: none;
162
+ --at-apply: hidden;
211
163
  }
212
164
 
213
165
  .menu :deep(.menu-item) .menu-item-container {
214
- height: 50px;
215
- padding-left: 5px;
216
- padding-right: 5px;
217
- padding-top: 0;
218
- padding-bottom: 0;
219
- color: var(--g-main-sidebar-menu-color);
220
- background-color: var(--g-main-sidebar-menu-bg);
166
+ --at-apply: h-[50px] px-5px py-0 text-[--g-main-sidebar-menu-color] bg-[--g-main-sidebar-menu-bg];
221
167
  }
222
168
 
223
169
  .menu :deep(.menu-item) .menu-item-container .menu-item-container-icon {
224
- transform: scaleX(1) scaleY(1);
170
+ --at-apply: scale-100;
225
171
  font-size: 24px !important;
226
172
  }
227
173
 
@@ -85,14 +85,8 @@ function onSidebarScroll(e: Event) {
85
85
 
86
86
  <style lang="css" scoped>
87
87
  .sub-sidebar-container {
88
- position: absolute;
89
- display: flex;
90
- flex-direction: column;
91
- left: 0;
92
- top: 0;
93
- bottom: 0;
94
- width: var(--g-sub-sidebar-width);
95
- background-color: var(--g-sub-sidebar-bg);
88
+ --at-apply: absolute flex flex-col left-0 inset-y-0
89
+ w-[--g-sub-sidebar-width] bg-[--g-sub-sidebar-bg];
96
90
  transition: background-color 0.3s, left 0.3s, width 0.3s;
97
91
  }
98
92
 
@@ -101,15 +95,15 @@ function onSidebarScroll(e: Event) {
101
95
  }
102
96
 
103
97
  .sub-sidebar-container.is-collapse .sidebar-logo:not(.sidebar-logo-bg) {
104
- display: none;
98
+ --at-apply: hidden;
105
99
  }
106
100
 
107
101
  .sub-sidebar-container.is-collapse .sidebar-logo :deep(span) {
108
- display: none;
102
+ --at-apply: hidden;
109
103
  }
110
104
 
111
105
  .sidebar-logo {
112
- background-color: var(--g-sub-sidebar-bg);
106
+ --at-apply: bg-[--g-sub-sidebar-bg];
113
107
  transition: background-color 0.3s;
114
108
  }
115
109
 
@@ -122,7 +116,7 @@ function onSidebarScroll(e: Event) {
122
116
  }
123
117
 
124
118
  .sub-sidebar {
125
- flex: 1 1 0%;
119
+ --at-apply: flex-1;
126
120
  overflow: hidden auto;
127
121
  overscroll-behavior: contain;
128
122
  scrollbar-width: none;
@@ -130,7 +124,7 @@ function onSidebarScroll(e: Event) {
130
124
  }
131
125
 
132
126
  .sub-sidebar::-webkit-scrollbar {
133
- display: none;
127
+ --at-apply: hidden;
134
128
  }
135
129
 
136
130
  .sub-sidebar.shadow {
@@ -138,7 +132,7 @@ function onSidebarScroll(e: Event) {
138
132
  }
139
133
 
140
134
  .menu {
141
- width: 100%;
135
+ --at-apply: w-full;
142
136
  }
143
137
 
144
138
  /* 次侧边栏动画 */
@@ -148,11 +142,11 @@ function onSidebarScroll(e: Event) {
148
142
 
149
143
  .sub-sidebar-enter-from,
150
144
  .sub-sidebar-leave-active {
151
- opacity: 0;
145
+ --at-apply: op-0;
152
146
  transform: translateY(30px) skewY(10deg);
153
147
  }
154
148
 
155
149
  .sub-sidebar-leave-active {
156
- position: absolute;
150
+ --at-apply: absolute;
157
151
  }
158
152
  </style>
@@ -6,10 +6,10 @@
6
6
 
7
7
  <style scoped>
8
8
  :deep(.breadcrumb-item):first-child .separator {
9
- display: none;
9
+ --at-apply: hidden;
10
10
  }
11
11
 
12
12
  :deep(.breadcrumb-item):last-child .text {
13
- opacity: 1;
13
+ --at-apply: op-100;
14
14
  }
15
15
  </style>
@@ -81,40 +81,19 @@ function toggleColorScheme(event: MouseEvent) {
81
81
 
82
82
  <style scoped>
83
83
  .animate-icon {
84
- position: relative;
85
- width: 20px;
86
- height: 20px;
87
- border-radius: 50%;
88
- display: inline-block;
89
- vertical-align: middle;
84
+ --at-apply: relative size-[20px] rounded-1/2 inline-block align-middle;
90
85
  box-shadow: inset 6px -6px 0 0 #fff; /* 比例缩小 */
91
86
  transition: box-shadow 0.5s ease 0s, transform 0.4s ease 0.1s;
92
87
  transform: scale(1) rotate(-2deg);
93
88
  }
94
89
 
95
90
  .animate-icon::before {
96
- position: absolute;
97
- width: 20px;
98
- height: 20px;
99
- content: "";
100
- border-radius: inherit;
101
- left: 0;
102
- top: 0;
103
- display: block;
91
+ --at-apply: absolute size-[20px] content-empty rounded-[inherit] left-0 top-0 block;
104
92
  transition: background 0.3s ease;
105
93
  }
106
94
 
107
95
  .animate-icon::after {
108
- position: absolute;
109
- top: 50%;
110
- left: 50%;
111
- width: 0.25rem; /* 4px */
112
- height: 0.25rem; /* 4px */
113
- margin-left: -0.125rem; /* -2px */
114
- margin-top: -0.125rem; /* -2px */
115
- border-radius: 50%;
116
- content: "";
117
- display: block;
96
+ --at-apply: absolute top-1/2 left-1/2 size-1 -ml-0.5 -mt-0.5 rounded-[50%] content-empty block;
118
97
  box-shadow:
119
98
  0 -12px 0 #ffce6e,
120
99
  0 12px 0 #ffce6e,
@@ -129,8 +108,7 @@ function toggleColorScheme(event: MouseEvent) {
129
108
  }
130
109
 
131
110
  .animate-icon-day {
132
- width: 1.25rem; /* 20px */
133
- height: 1.25rem; /* 20px */
111
+ --at-apply: size-5;
134
112
  box-shadow: inset 10px -10px 0 0 #fff; /* 缩小后的太阳核心 */
135
113
  transition: transform 0.3s ease 0.1s, box-shadow 0.2s ease 0s;
136
114
  transform: scale(0.5) rotate(0deg);