@pubinfo-pr/core 0.221.3 → 0.222.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-B7mE7iHt.js → AppSetting-2X1fMYsM.js} +17 -17
- package/dist/{HCheckList-DAkb0SBD.js → HCheckList-IpOaPgDS.js} +1 -1
- package/dist/HSlideover-DVQDc9q6.js +3151 -0
- package/dist/{HToggle-DEwBoDsw.js → HToggle-53efctOx.js} +1 -1
- package/dist/{PreferencesContent-CWHTBvHQ.js → PreferencesContent-DR7Bfby2.js} +6 -6
- package/dist/{SettingBreadcrumb-p3hD9w-9.js → SettingBreadcrumb-BdZkTm8U.js} +4 -4
- package/dist/{SettingCopyright-BgWvocrJ.js → SettingCopyright-CUTR3xEl.js} +3 -3
- package/dist/{SettingEnableTransition-Cf57pLUk.js → SettingEnableTransition-X3MmJab_.js} +3 -3
- package/dist/{SettingHome-tNMtRHoT.js → SettingHome-lZQWdmKO.js} +4 -4
- package/dist/{SettingMenu-Du4Xhle1.js → SettingMenu-CpmiIDE3.js} +5 -5
- package/dist/{SettingMode-DGWqKJHt.js → SettingMode-bW2Ola6n.js} +2 -2
- package/dist/{SettingNavSearch-C_8VmQmD.js → SettingNavSearch-zNci1-io.js} +3 -3
- package/dist/{SettingOther-B9iOz69R.js → SettingOther-B_fS7F1Q.js} +4 -4
- package/dist/{SettingPage-C0TfmEKp.js → SettingPage-D3Le0166.js} +2 -2
- package/dist/{SettingTabbar-C7ZQrcN4.js → SettingTabbar-DlAGfaVi.js} +5 -5
- package/dist/{SettingThemes-022eXO9f.js → SettingThemes-Doo4eAO8.js} +5 -5
- package/dist/{SettingToolbar-Bh9aXNpl.js → SettingToolbar-CULbO3xO.js} +3 -3
- package/dist/{SettingTopbar-DjB1Izhm.js → SettingTopbar-C6sVE2Ho.js} +5 -5
- package/dist/{SettingWidthMode-D7sRlBUK.js → SettingWidthMode-CilRvSU4.js} +3 -3
- package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
- package/dist/{change-organization-sU8aNfhI.js → change-organization-BGeqwF7P.js} +3 -3
- package/dist/{change-password-Dxzhg43p.js → change-password-DihoH7ST.js} +3 -3
- package/dist/{components-emseuaQx.js → components-zl6Vcs20.js} +6 -6
- package/dist/index.js +896 -424
- 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 +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/features/components/PassStrengthValidator/index.vue +36 -10
- package/src/features/components/PassStrengthValidator/rule.vue +17 -4
- package/dist/HSlideover-CXBJxuQo.js +0 -1695
- package/dist/HeaderFullMenu-l2890Bzo.js +0 -250
- package/dist/HeaderThinMenu-5K6HXiQk.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
|
@@ -34,42 +34,88 @@ const enabled = computed({
|
|
|
34
34
|
|
|
35
35
|
<style scoped lang="css">
|
|
36
36
|
.switch {
|
|
37
|
-
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
transform: scaleX(0.75) scaleY(0.75);
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
.switch input {
|
|
41
|
-
|
|
42
|
+
display: none;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
.switch input + span {
|
|
45
|
-
|
|
46
|
+
position: relative;
|
|
47
|
+
display: block;
|
|
48
|
+
width: 3rem; /* 48px */
|
|
49
|
+
height: 1.75rem; /* 28px */
|
|
50
|
+
border-radius: 14px;
|
|
51
|
+
transition-property: all;
|
|
52
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
53
|
+
transition-duration: 150ms;
|
|
54
|
+
transition-duration: 300ms;
|
|
55
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
46
56
|
}
|
|
47
57
|
|
|
48
58
|
.switch input + span::before,
|
|
49
59
|
.switch input + span::after {
|
|
50
|
-
|
|
60
|
+
position: absolute;
|
|
61
|
+
display: block;
|
|
62
|
+
content: "";
|
|
63
|
+
transition-property: all;
|
|
64
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
65
|
+
transition-duration: 150ms;
|
|
66
|
+
transition-duration: 300ms;
|
|
67
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
51
68
|
}
|
|
52
69
|
|
|
53
70
|
.switch input + span::before {
|
|
54
|
-
|
|
71
|
+
top: 5px;
|
|
72
|
+
left: 5px;
|
|
73
|
+
width: 18px;
|
|
74
|
+
height: 18px;
|
|
75
|
+
border-width: 5px;
|
|
76
|
+
border-style: solid;
|
|
77
|
+
border-color: rgb(255 255 255);
|
|
78
|
+
border-radius: 9px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dark .switch input + span::before {
|
|
82
|
+
border-color: rgb(34 34 34);
|
|
55
83
|
}
|
|
56
84
|
|
|
57
85
|
.switch input + span::after {
|
|
58
|
-
|
|
86
|
+
top: 5px;
|
|
87
|
+
left: 32px;
|
|
88
|
+
width: 6px;
|
|
89
|
+
height: 18px;
|
|
90
|
+
background-color: #FFFFFF;
|
|
91
|
+
border-radius: 40%;
|
|
92
|
+
opacity: 0;
|
|
59
93
|
transform-origin: 50% 50%;
|
|
60
94
|
}
|
|
61
95
|
|
|
96
|
+
.dark .switch input + span::after {
|
|
97
|
+
background-color: #44403c;
|
|
98
|
+
}
|
|
99
|
+
|
|
62
100
|
.switch input + span:active {
|
|
63
|
-
|
|
101
|
+
transform: scaleX(0.92) scaleY(0.92);
|
|
64
102
|
}
|
|
65
103
|
|
|
66
104
|
.switch input:checked + span {
|
|
67
|
-
|
|
105
|
+
background-color: rgb(var(--ui-primary));
|
|
68
106
|
box-shadow: 0 8px 16px -1px rgba(var(--ui-primary), 0.2);
|
|
69
107
|
}
|
|
70
108
|
|
|
71
109
|
.switch input:checked + span::before {
|
|
72
|
-
|
|
110
|
+
width: 0;
|
|
111
|
+
margin-left: 27px;
|
|
112
|
+
background-color: #FFFFFF;
|
|
113
|
+
border-width: 3px;
|
|
114
|
+
border-radius: 3px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.dark .switch input:checked + span::before {
|
|
118
|
+
background-color: #44403c;
|
|
73
119
|
}
|
|
74
120
|
|
|
75
121
|
.switch input:checked + span::after {
|
|
@@ -154,41 +154,67 @@ watchEffect(() => {
|
|
|
154
154
|
|
|
155
155
|
<style scoped>
|
|
156
156
|
.pass-strength-validator {
|
|
157
|
-
|
|
157
|
+
padding: 15px;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.pass-strength-validator .title-wrap {
|
|
161
|
-
|
|
161
|
+
font-size: 1.5rem; /* 24px */
|
|
162
|
+
line-height: 2rem; /* 32px */
|
|
163
|
+
font-weight: 600;
|
|
164
|
+
color: #1677ff;
|
|
165
|
+
margin-bottom: 2.5rem; /* 40px */
|
|
162
166
|
}
|
|
163
167
|
|
|
164
168
|
.pass-strength-validator .rules-title {
|
|
165
|
-
|
|
169
|
+
font-size: 1rem; /* 16px */
|
|
170
|
+
line-height: 1.5rem; /* 24px */
|
|
171
|
+
font-weight: 500;
|
|
172
|
+
margin-bottom: 15px;
|
|
166
173
|
}
|
|
167
174
|
|
|
168
175
|
.pass-strength-validator.vertical {
|
|
169
|
-
|
|
176
|
+
width: 1130px;
|
|
177
|
+
padding-top: 18px;
|
|
178
|
+
padding-bottom: 1.5rem; /* 24px */
|
|
179
|
+
padding-left: 2rem; /* 32px */
|
|
180
|
+
padding-right: 2rem; /* 32px */
|
|
170
181
|
}
|
|
171
182
|
.pass-strength-validator.vertical .title-wrap {
|
|
172
|
-
|
|
183
|
+
font-size: 1rem; /* 16px */
|
|
184
|
+
line-height: 1.5rem; /* 24px */
|
|
185
|
+
margin-bottom: 1rem; /* 16px */
|
|
173
186
|
}
|
|
174
187
|
.pass-strength-validator.vertical .rules-wrap {
|
|
175
|
-
|
|
188
|
+
display: flex;
|
|
176
189
|
}
|
|
177
190
|
.pass-strength-validator.vertical .basic-rules,
|
|
178
191
|
.pass-strength-validator.vertical .advanced-rules {
|
|
179
|
-
|
|
192
|
+
position: relative;
|
|
193
|
+
flex: 1 1 0%;
|
|
180
194
|
}
|
|
181
195
|
.pass-strength-validator.vertical .basic-rules::after {
|
|
182
|
-
|
|
196
|
+
position: absolute;
|
|
197
|
+
width: 1px;
|
|
198
|
+
height: auto;
|
|
199
|
+
content: "";
|
|
200
|
+
right: 35px;
|
|
201
|
+
top: 11px;
|
|
202
|
+
bottom: 11px;
|
|
183
203
|
background: #e5e6eb;
|
|
184
204
|
}
|
|
185
205
|
.pass-strength-validator.vertical .rules-title {
|
|
186
|
-
|
|
206
|
+
font-size: 0.875rem; /* 14px */
|
|
207
|
+
line-height: 1.25rem; /* 20px */
|
|
208
|
+
font-family: bold;
|
|
209
|
+
margin-bottom: 0.875rem; /* 14px */
|
|
187
210
|
}
|
|
188
211
|
|
|
189
212
|
/* 样式穿透,用于覆盖 ant-design-vue 组件样式 */
|
|
190
213
|
.pass-strength-validator :deep(.ant-divider) {
|
|
191
|
-
|
|
214
|
+
margin-left: 0;
|
|
215
|
+
margin-right: 0;
|
|
216
|
+
margin-top: 1rem; /* 16px */
|
|
217
|
+
margin-bottom: 1rem; /* 16px */
|
|
192
218
|
}
|
|
193
219
|
|
|
194
220
|
/* 暗色主题支持 */
|
|
@@ -25,15 +25,28 @@ const props = defineProps<{
|
|
|
25
25
|
|
|
26
26
|
<style scoped>
|
|
27
27
|
.rule-item {
|
|
28
|
-
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
font-size: 0.875rem; /* 14px */
|
|
31
|
+
line-height: 1.25rem; /* 20px */
|
|
32
|
+
line-height: 19px;
|
|
33
|
+
padding-left: 0;
|
|
34
|
+
padding-right: 0;
|
|
35
|
+
padding-top: 0.625rem; /* 10px */
|
|
36
|
+
padding-bottom: 0.625rem; /* 10px */
|
|
29
37
|
}
|
|
30
38
|
.rule-item .icon {
|
|
31
|
-
|
|
39
|
+
line-height: 23px;
|
|
40
|
+
margin-right: 0.625rem; /* 10px */
|
|
32
41
|
}
|
|
33
42
|
.rule-item.vertical {
|
|
34
|
-
|
|
43
|
+
line-height: 18px;
|
|
44
|
+
color: #86909c;
|
|
45
|
+
margin-bottom: 0.375rem; /* 6px */
|
|
46
|
+
padding: 0;
|
|
35
47
|
}
|
|
36
48
|
.rule-item.vertical .icon {
|
|
37
|
-
|
|
49
|
+
line-height: 18px;
|
|
50
|
+
margin-right: 0.375rem; /* 6px */
|
|
38
51
|
}
|
|
39
52
|
</style>
|