@pubinfo-pr/core 0.221.3 → 0.222.2
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-B7mE7iHt.js → AppSetting-Adv5Y3SE.js} +16 -16
- package/dist/{HCheckList-DAkb0SBD.js → HCheckList-WAAl9RiK.js} +1 -1
- package/dist/{HToggle-DEwBoDsw.js → HToggle-YLmL7R0b.js} +1 -1
- package/dist/{HeaderFullMenu-l2890Bzo.js → HeaderFullMenu-ByedDsvz.js} +16 -15
- package/dist/{HeaderThinMenu-5K6HXiQk.js → HeaderThinMenu-2q2iBtTH.js} +2 -2
- package/dist/{PreferencesContent-CWHTBvHQ.js → PreferencesContent-CiPweszy.js} +4 -4
- package/dist/{SettingBreadcrumb-p3hD9w-9.js → SettingBreadcrumb-C1VwfnxX.js} +3 -3
- package/dist/{SettingCopyright-BgWvocrJ.js → SettingCopyright-C--oGV21.js} +1 -1
- package/dist/{SettingEnableTransition-Cf57pLUk.js → SettingEnableTransition-DW2gfisN.js} +2 -2
- package/dist/{SettingHome-tNMtRHoT.js → SettingHome-VUAS3uEg.js} +1 -1
- package/dist/{SettingMenu-Du4Xhle1.js → SettingMenu-BH7XU7eF.js} +3 -3
- package/dist/{SettingMode-DGWqKJHt.js → SettingMode-BIyHzTKH.js} +1 -1
- package/dist/{SettingNavSearch-C_8VmQmD.js → SettingNavSearch-PfSA-_ro.js} +1 -1
- package/dist/{SettingOther-B9iOz69R.js → SettingOther-DdqNapQX.js} +1 -1
- package/dist/{SettingPage-C0TfmEKp.js → SettingPage-DS-G9-X5.js} +1 -1
- package/dist/{SettingTabbar-C7ZQrcN4.js → SettingTabbar-2yfw2vsm.js} +3 -3
- package/dist/{SettingThemes-022eXO9f.js → SettingThemes-Bkcywy7v.js} +3 -3
- package/dist/{SettingToolbar-Bh9aXNpl.js → SettingToolbar-DP7-_nPK.js} +1 -1
- package/dist/{SettingTopbar-DjB1Izhm.js → SettingTopbar-C0Ia4-If.js} +3 -3
- package/dist/{SettingWidthMode-D7sRlBUK.js → SettingWidthMode-DgSWsHFq.js} +1 -1
- package/dist/built-in/layout-component/index.d.ts +6 -2
- package/dist/{change-organization-sU8aNfhI.js → change-organization-BfnI2yEl.js} +2 -2
- package/dist/{change-password-Dxzhg43p.js → change-password-Bj_GWzmn.js} +2 -2
- package/dist/{components-emseuaQx.js → components-BfkDsfck.js} +2 -2
- package/dist/index.js +109 -109
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/src/built-in/authentication/pages/change-organization/index.vue +22 -5
- package/src/built-in/authentication/pages/change-password/index.vue +30 -3
- package/src/built-in/layout-component/Layout.vue +81 -30
- package/src/built-in/layout-component/components/Copyright/index.vue +29 -3
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +17 -6
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +18 -7
- package/src/built-in/layout-component/components/Header/HeaderMenu.vue +2 -3
- package/src/built-in/layout-component/components/Header/index.vue +119 -22
- package/src/built-in/layout-component/components/Logo/index.vue +4 -1
- package/src/built-in/layout-component/components/Menu/item.vue +29 -6
- package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +33 -13
- package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +113 -25
- package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +57 -4
- package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +123 -20
- package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +102 -25
- package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +100 -16
- package/src/built-in/layout-component/components/SettingBar/index.vue +64 -10
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +76 -22
- package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +16 -10
- package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +26 -4
- package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +404 -51
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +68 -13
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +177 -49
- package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +45 -12
- package/src/built-in/layout-component/components/ui/HToggle.vue +55 -9
- package/src/built-in/layout-component/index.ts +4 -2
- package/src/features/components/PassStrengthValidator/index.vue +36 -10
- package/src/features/components/PassStrengthValidator/rule.vue +17 -4
|
@@ -90,7 +90,10 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
|
|
|
90
90
|
|
|
91
91
|
<style scoped>
|
|
92
92
|
.main-sidebar-container {
|
|
93
|
-
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 1;
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
94
97
|
width: var(--g-main-sidebar-width);
|
|
95
98
|
color: var(--g-main-sidebar-menu-color);
|
|
96
99
|
background-color: var(--g-main-sidebar-bg);
|
|
@@ -99,75 +102,126 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
|
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
.sidebar-logo {
|
|
102
|
-
|
|
105
|
+
background-color: var(--g-main-sidebar-bg) /* var(--g-main-sidebar-bg) */;
|
|
103
106
|
transition: background-color 0.3s;
|
|
104
107
|
}
|
|
105
108
|
|
|
106
109
|
:deep(.menu-item-container-layout) {
|
|
107
|
-
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
width: auto;
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
:deep(.menu-item-container-layout) .title {
|
|
111
|
-
|
|
116
|
+
display: none;
|
|
112
117
|
}
|
|
113
118
|
|
|
114
119
|
/* 菜单激活样式 */
|
|
115
120
|
.menu-active-arrow .item-container::before,
|
|
116
121
|
.menu-active-arrow :deep(.menu-item::before) {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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%);
|
|
122
143
|
}
|
|
123
144
|
|
|
124
145
|
.menu-active-arrow .item-container.active::before,
|
|
125
146
|
.menu-active-arrow :deep(.menu-item.active::before) {
|
|
126
|
-
|
|
147
|
+
right: 0.5rem; /* 8px */
|
|
148
|
+
opacity: 1;
|
|
127
149
|
}
|
|
128
150
|
|
|
129
151
|
.menu-active-line .item-container::before,
|
|
130
152
|
.menu-active-line :deep(.menu-item::before) {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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);
|
|
134
167
|
box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
|
|
135
168
|
}
|
|
136
169
|
|
|
137
170
|
.menu-active-line .item-container.active::before,
|
|
138
171
|
.menu-active-line :deep(.menu-item.active::before) {
|
|
139
|
-
|
|
172
|
+
height: 1.25rem; /* 20px */
|
|
173
|
+
opacity: 1;
|
|
140
174
|
}
|
|
141
175
|
|
|
142
176
|
.menu-active-dot .item-container::before,
|
|
143
177
|
.menu-active-dot :deep(.menu-item::before) {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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%;
|
|
147
192
|
box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
|
|
148
193
|
}
|
|
149
194
|
|
|
150
195
|
.menu-active-dot .item-container.active::before,
|
|
151
196
|
.menu-active-dot :deep(.menu-item.active::before) {
|
|
152
|
-
|
|
197
|
+
left: 0.25rem; /* 4px */
|
|
198
|
+
opacity: 1;
|
|
153
199
|
}
|
|
154
200
|
|
|
155
201
|
.menu {
|
|
156
|
-
|
|
202
|
+
flex: 1 1 0%;
|
|
203
|
+
width: initial;
|
|
204
|
+
overscroll-behavior: contain;
|
|
157
205
|
overflow: hidden auto;
|
|
158
206
|
scrollbar-width: none;
|
|
159
207
|
}
|
|
160
208
|
|
|
161
209
|
.menu::-webkit-scrollbar {
|
|
162
|
-
|
|
210
|
+
display: none;
|
|
163
211
|
}
|
|
164
212
|
|
|
165
213
|
.menu :deep(.menu-item) .menu-item-container {
|
|
166
|
-
|
|
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);
|
|
167
221
|
}
|
|
168
222
|
|
|
169
223
|
.menu :deep(.menu-item) .menu-item-container .menu-item-container-icon {
|
|
170
|
-
|
|
224
|
+
transform: scaleX(1) scaleY(1);
|
|
171
225
|
font-size: 24px !important;
|
|
172
226
|
}
|
|
173
227
|
|
|
@@ -85,8 +85,14 @@ function onSidebarScroll(e: Event) {
|
|
|
85
85
|
|
|
86
86
|
<style lang="css" scoped>
|
|
87
87
|
.sub-sidebar-container {
|
|
88
|
-
|
|
89
|
-
|
|
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);
|
|
90
96
|
transition: background-color 0.3s, left 0.3s, width 0.3s;
|
|
91
97
|
}
|
|
92
98
|
|
|
@@ -95,15 +101,15 @@ function onSidebarScroll(e: Event) {
|
|
|
95
101
|
}
|
|
96
102
|
|
|
97
103
|
.sub-sidebar-container.is-collapse .sidebar-logo:not(.sidebar-logo-bg) {
|
|
98
|
-
|
|
104
|
+
display: none;
|
|
99
105
|
}
|
|
100
106
|
|
|
101
107
|
.sub-sidebar-container.is-collapse .sidebar-logo :deep(span) {
|
|
102
|
-
|
|
108
|
+
display: none;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
.sidebar-logo {
|
|
106
|
-
|
|
112
|
+
background-color: var(--g-sub-sidebar-bg);
|
|
107
113
|
transition: background-color 0.3s;
|
|
108
114
|
}
|
|
109
115
|
|
|
@@ -116,7 +122,7 @@ function onSidebarScroll(e: Event) {
|
|
|
116
122
|
}
|
|
117
123
|
|
|
118
124
|
.sub-sidebar {
|
|
119
|
-
|
|
125
|
+
flex: 1 1 0%;
|
|
120
126
|
overflow: hidden auto;
|
|
121
127
|
overscroll-behavior: contain;
|
|
122
128
|
scrollbar-width: none;
|
|
@@ -124,7 +130,7 @@ function onSidebarScroll(e: Event) {
|
|
|
124
130
|
}
|
|
125
131
|
|
|
126
132
|
.sub-sidebar::-webkit-scrollbar {
|
|
127
|
-
|
|
133
|
+
display: none;
|
|
128
134
|
}
|
|
129
135
|
|
|
130
136
|
.sub-sidebar.shadow {
|
|
@@ -132,7 +138,7 @@ function onSidebarScroll(e: Event) {
|
|
|
132
138
|
}
|
|
133
139
|
|
|
134
140
|
.menu {
|
|
135
|
-
|
|
141
|
+
width: 100%;
|
|
136
142
|
}
|
|
137
143
|
|
|
138
144
|
/* 次侧边栏动画 */
|
|
@@ -142,11 +148,11 @@ function onSidebarScroll(e: Event) {
|
|
|
142
148
|
|
|
143
149
|
.sub-sidebar-enter-from,
|
|
144
150
|
.sub-sidebar-leave-active {
|
|
145
|
-
|
|
151
|
+
opacity: 0;
|
|
146
152
|
transform: translateY(30px) skewY(10deg);
|
|
147
153
|
}
|
|
148
154
|
|
|
149
155
|
.sub-sidebar-leave-active {
|
|
150
|
-
|
|
156
|
+
position: absolute;
|
|
151
157
|
}
|
|
152
158
|
</style>
|
|
@@ -81,19 +81,40 @@ function toggleColorScheme(event: MouseEvent) {
|
|
|
81
81
|
|
|
82
82
|
<style scoped>
|
|
83
83
|
.animate-icon {
|
|
84
|
-
|
|
84
|
+
position: relative;
|
|
85
|
+
width: 20px;
|
|
86
|
+
height: 20px;
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
display: inline-block;
|
|
89
|
+
vertical-align: middle;
|
|
85
90
|
box-shadow: inset 6px -6px 0 0 #fff; /* 比例缩小 */
|
|
86
91
|
transition: box-shadow 0.5s ease 0s, transform 0.4s ease 0.1s;
|
|
87
92
|
transform: scale(1) rotate(-2deg);
|
|
88
93
|
}
|
|
89
94
|
|
|
90
95
|
.animate-icon::before {
|
|
91
|
-
|
|
96
|
+
position: absolute;
|
|
97
|
+
width: 20px;
|
|
98
|
+
height: 20px;
|
|
99
|
+
content: "";
|
|
100
|
+
border-radius: inherit;
|
|
101
|
+
left: 0;
|
|
102
|
+
top: 0;
|
|
103
|
+
display: block;
|
|
92
104
|
transition: background 0.3s ease;
|
|
93
105
|
}
|
|
94
106
|
|
|
95
107
|
.animate-icon::after {
|
|
96
|
-
|
|
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;
|
|
97
118
|
box-shadow:
|
|
98
119
|
0 -12px 0 #ffce6e,
|
|
99
120
|
0 12px 0 #ffce6e,
|
|
@@ -108,7 +129,8 @@ function toggleColorScheme(event: MouseEvent) {
|
|
|
108
129
|
}
|
|
109
130
|
|
|
110
131
|
.animate-icon-day {
|
|
111
|
-
|
|
132
|
+
width: 1.25rem; /* 20px */
|
|
133
|
+
height: 1.25rem; /* 20px */
|
|
112
134
|
box-shadow: inset 10px -10px 0 0 #fff; /* 缩小后的太阳核心 */
|
|
113
135
|
transition: transform 0.3s ease 0.1s, box-shadow 0.2s ease 0s;
|
|
114
136
|
transform: scale(0.5) rotate(0deg);
|