@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.
- package/dist/{AppSetting-Adv5Y3SE.js → AppSetting-7jlhUzze.js} +17 -17
- package/dist/{HCheckList-WAAl9RiK.js → HCheckList-cPBgATmv.js} +1 -1
- package/dist/HSlideover-DVQDc9q6.js +3151 -0
- package/dist/{HToggle-YLmL7R0b.js → HToggle-Ce_2-yhZ.js} +1 -1
- package/dist/{PreferencesContent-CiPweszy.js → PreferencesContent-BAIH81yS.js} +6 -6
- package/dist/{SettingBreadcrumb-C1VwfnxX.js → SettingBreadcrumb-O9-PhAFT.js} +4 -4
- package/dist/{SettingCopyright-C--oGV21.js → SettingCopyright-DIKsWTuf.js} +3 -3
- package/dist/{SettingEnableTransition-DW2gfisN.js → SettingEnableTransition-61O7W00b.js} +3 -3
- package/dist/{SettingHome-VUAS3uEg.js → SettingHome-Sv65TPH8.js} +4 -4
- package/dist/{SettingMenu-BH7XU7eF.js → SettingMenu-BvwJOUZV.js} +5 -5
- package/dist/{SettingMode-BIyHzTKH.js → SettingMode-B8H_eQc8.js} +2 -2
- package/dist/{SettingNavSearch-PfSA-_ro.js → SettingNavSearch-BHsmYBA7.js} +3 -3
- package/dist/{SettingOther-DdqNapQX.js → SettingOther-CyyNnaDX.js} +4 -4
- package/dist/{SettingPage-DS-G9-X5.js → SettingPage-B82lW41P.js} +2 -2
- package/dist/{SettingTabbar-2yfw2vsm.js → SettingTabbar-Bky2xvH-.js} +5 -5
- package/dist/{SettingThemes-Bkcywy7v.js → SettingThemes-CkdzS1xt.js} +5 -5
- package/dist/{SettingToolbar-DP7-_nPK.js → SettingToolbar-CD4qns1J.js} +3 -3
- package/dist/{SettingTopbar-C0Ia4-If.js → SettingTopbar-1shjoe3s.js} +5 -5
- package/dist/{SettingWidthMode-DgSWsHFq.js → SettingWidthMode-DlG6lXjA.js} +3 -3
- package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
- package/dist/built-in/layout-component/index.d.ts +2 -6
- package/dist/{change-organization-BfnI2yEl.js → change-organization-hsqeSzDu.js} +3 -3
- package/dist/{change-password-Bj_GWzmn.js → change-password-EtccCDRX.js} +3 -3
- package/dist/{components-BfkDsfck.js → components-DFNyaAb9.js} +6 -6
- package/dist/index.js +815 -343
- package/dist/{not-found-DbHOY5cU.js → not-found-BCjngLzt.js} +1 -1
- package/dist/{not-permission-DwERxb_u.js → not-permission-C26vTMvf.js} +1 -1
- package/dist/{profile-Dq66-Gsl.js → profile-BVXIFuBG.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/src/built-in/authentication/pages/change-organization/index.vue +5 -22
- package/src/built-in/authentication/pages/change-password/index.vue +3 -30
- package/src/built-in/layout-component/Layout.vue +30 -81
- package/src/built-in/layout-component/components/Copyright/index.vue +3 -29
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +6 -17
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +7 -18
- package/src/built-in/layout-component/components/Header/index.vue +22 -119
- package/src/built-in/layout-component/components/Logo/index.vue +1 -4
- package/src/built-in/layout-component/components/Menu/item.vue +6 -29
- package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +13 -33
- package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +25 -113
- package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +4 -57
- package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +20 -123
- package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +25 -102
- package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +16 -100
- package/src/built-in/layout-component/components/SettingBar/index.vue +10 -64
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +22 -76
- package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +10 -16
- package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +4 -26
- package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +51 -404
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +13 -68
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +49 -177
- package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +12 -45
- package/src/built-in/layout-component/components/ui/HToggle.vue +9 -55
- package/src/built-in/layout-component/index.ts +2 -4
- package/src/features/components/PassStrengthValidator/index.vue +10 -36
- package/src/features/components/PassStrengthValidator/rule.vue +4 -17
- package/dist/HSlideover-CXBJxuQo.js +0 -1695
- package/dist/HeaderFullMenu-ByedDsvz.js +0 -251
- package/dist/HeaderThinMenu-2q2iBtTH.js +0 -438
- package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
- /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BwvBr5OE.js} +0 -0
- /package/dist/{HInput-BrsX9848.js → HInput-KJ5nFBpF.js} +0 -0
- /package/dist/{core-4H5JBsa5.js → core-DJIGzMMM.js} +0 -0
- /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-CaNXwGSv.js} +0 -0
- /package/dist/{json-CC4oV-bd.js → json-Bu_Zprin.js} +0 -0
- /package/dist/{question-line-D7ecIumZ.js → question-line-BG__Ycfv.js} +0 -0
- /package/dist/{reload-CbuQgTlC.js → reload-DHx5Vwus.js} +0 -0
- /package/dist/{right-DYiPS7dU.js → right-BxBlFUwj.js} +0 -0
- /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-CTe40QT_.js} +0 -0
- /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BWXC_WeB.js} +0 -0
- /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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
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
|
-
|
|
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
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
-
|
|
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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
-
|
|
198
|
-
opacity: 1;
|
|
152
|
+
--at-apply: left-1 op-100;
|
|
199
153
|
}
|
|
200
154
|
|
|
201
155
|
.menu {
|
|
202
|
-
|
|
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
|
-
|
|
162
|
+
--at-apply: hidden;
|
|
211
163
|
}
|
|
212
164
|
|
|
213
165
|
.menu :deep(.menu-item) .menu-item-container {
|
|
214
|
-
|
|
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
|
-
|
|
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
|
-
|
|
89
|
-
|
|
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
|
-
|
|
98
|
+
--at-apply: hidden;
|
|
105
99
|
}
|
|
106
100
|
|
|
107
101
|
.sub-sidebar-container.is-collapse .sidebar-logo :deep(span) {
|
|
108
|
-
|
|
102
|
+
--at-apply: hidden;
|
|
109
103
|
}
|
|
110
104
|
|
|
111
105
|
.sidebar-logo {
|
|
112
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
145
|
+
--at-apply: op-0;
|
|
152
146
|
transform: translateY(30px) skewY(10deg);
|
|
153
147
|
}
|
|
154
148
|
|
|
155
149
|
.sub-sidebar-leave-active {
|
|
156
|
-
|
|
150
|
+
--at-apply: absolute;
|
|
157
151
|
}
|
|
158
152
|
</style>
|
|
@@ -81,40 +81,19 @@ function toggleColorScheme(event: MouseEvent) {
|
|
|
81
81
|
|
|
82
82
|
<style scoped>
|
|
83
83
|
.animate-icon {
|
|
84
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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);
|