@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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo-pr/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.222.1",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"node": "^20.19.0 || >=22.12.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@pubinfo-pr/config": "0.
|
|
31
|
-
"@pubinfo-pr/devtools": "0.
|
|
32
|
-
"@pubinfo-pr/vite": "0.
|
|
30
|
+
"@pubinfo-pr/config": "0.222.1",
|
|
31
|
+
"@pubinfo-pr/devtools": "0.222.1",
|
|
32
|
+
"@pubinfo-pr/vite": "0.222.1",
|
|
33
33
|
"alova": "^3.5.0",
|
|
34
34
|
"pinia": "^3.0.4",
|
|
35
35
|
"vue": "^3.5.28",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@headlessui/vue": "^1.7.23",
|
|
43
43
|
"@imengyu/vue3-context-menu": "^1.5.4",
|
|
44
44
|
"@pubinfo/pro-components": "^1.8.2",
|
|
45
|
-
"@pubinfo-pr/shared": "0.
|
|
45
|
+
"@pubinfo-pr/shared": "0.222.1",
|
|
46
46
|
"@unocss/reset": "^66.6.0",
|
|
47
47
|
"@vueuse/core": "^14.2.1",
|
|
48
48
|
"@vueuse/integrations": "^14.2.1",
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
"@alova/mock": "^2.0.18",
|
|
70
70
|
"@iconify/json": "^2.2.437",
|
|
71
71
|
"@iconify/vue": "^5.0.0",
|
|
72
|
-
"@pubinfo-pr/config": "0.
|
|
72
|
+
"@pubinfo-pr/config": "0.222.1",
|
|
73
73
|
"@pubinfo/openapi": "^0.9.1",
|
|
74
74
|
"@pubinfo/preset-openapi": "^0.9.1",
|
|
75
|
-
"@pubinfo-pr/vite": "0.
|
|
75
|
+
"@pubinfo-pr/vite": "0.222.1",
|
|
76
76
|
"@types/lodash-es": "^4.17.12",
|
|
77
77
|
"@types/md5": "^2.3.6",
|
|
78
78
|
"@types/nprogress": "^0.2.3",
|
|
@@ -127,20 +127,37 @@ async function changeOrganization() {
|
|
|
127
127
|
|
|
128
128
|
<style scoped>
|
|
129
129
|
.change-org {
|
|
130
|
-
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 100%;
|
|
131
132
|
background: url("./assets/login-small.png") no-repeat 50%;
|
|
132
133
|
background-size: cover;
|
|
133
134
|
}
|
|
134
135
|
|
|
135
136
|
.change-org .org-item {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: space-between;
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
width: 100%;
|
|
143
|
+
height: 91px;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
border-width: 1px;
|
|
146
|
+
margin-bottom: 15px;
|
|
147
|
+
padding-left: 2rem; /* 32px */
|
|
148
|
+
padding-right: 2rem; /* 32px */
|
|
149
|
+
padding-top: 22px;
|
|
150
|
+
padding-bottom: 22px;
|
|
151
|
+
border-radius: 0.5rem; /* 8px */
|
|
152
|
+
border-style: solid;
|
|
153
|
+
color: #86909c;
|
|
154
|
+
border-color: #f2f3f5;
|
|
139
155
|
background: #fff;
|
|
140
156
|
}
|
|
141
157
|
|
|
142
158
|
.change-org .org-item.active {
|
|
143
|
-
|
|
159
|
+
background-color: rgb(22 119 255 / 0.1) /* #1677FF */;
|
|
160
|
+
border-color: rgb(22 119 255);
|
|
144
161
|
}
|
|
145
162
|
|
|
146
163
|
[data-theme="dark"] .change-org {
|
|
@@ -60,14 +60,41 @@ const isValidate = ref(false);
|
|
|
60
60
|
|
|
61
61
|
<style scoped>
|
|
62
62
|
.password-bg {
|
|
63
|
-
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 100%;
|
|
68
|
+
padding: 25px;
|
|
64
69
|
background: url("./assets/login-small.png") no-repeat 50%;
|
|
65
70
|
background-size: cover;
|
|
66
71
|
}
|
|
67
72
|
|
|
68
73
|
.change-password-form {
|
|
69
|
-
|
|
70
|
-
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
width: 560px;
|
|
77
|
+
min-height: 680px;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
--un-backdrop-blur: blur(7.5px);
|
|
80
|
+
-webkit-backdrop-filter: var(--un-backdrop-blur) var(--un-backdrop-brightness)
|
|
81
|
+
var(--un-backdrop-contrast) var(--un-backdrop-grayscale)
|
|
82
|
+
var(--un-backdrop-hue-rotate) var(--un-backdrop-invert)
|
|
83
|
+
var(--un-backdrop-opacity) var(--un-backdrop-saturate)
|
|
84
|
+
var(--un-backdrop-sepia);
|
|
85
|
+
backdrop-filter: var(--un-backdrop-blur) var(--un-backdrop-brightness)
|
|
86
|
+
var(--un-backdrop-contrast) var(--un-backdrop-grayscale)
|
|
87
|
+
var(--un-backdrop-hue-rotate) var(--un-backdrop-invert)
|
|
88
|
+
var(--un-backdrop-opacity) var(--un-backdrop-saturate)
|
|
89
|
+
var(--un-backdrop-sepia);
|
|
90
|
+
padding-top: 4rem; /* 64px */
|
|
91
|
+
padding-bottom: 34px;
|
|
92
|
+
padding-left: 5rem; /* 80px */
|
|
93
|
+
padding-right: 5rem; /* 80px */
|
|
94
|
+
border-radius: 0.5rem; /* 8px */
|
|
95
|
+
border-width: 2px;
|
|
96
|
+
border-style: solid;
|
|
97
|
+
border-color: rgb(255 255 255);
|
|
71
98
|
|
|
72
99
|
box-shadow: 0 20px 50px rgb(29 42 165 / 5%);
|
|
73
100
|
background: linear-gradient(180deg, hsl(0deg 0% 100% / 90%), hsl(0deg 0% 100% / 75%));
|
|
@@ -176,7 +176,7 @@ watch(scrollTop, (val, oldVal) => {
|
|
|
176
176
|
|
|
177
177
|
<style scoped>
|
|
178
178
|
[data-app-width-mode="adaption"] #app-main {
|
|
179
|
-
|
|
179
|
+
width: 100%;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
[data-app-width-mode="adaption-min-width"] #app-main {
|
|
@@ -184,7 +184,7 @@ watch(scrollTop, (val, oldVal) => {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
[data-app-width-mode="center"] #app-main {
|
|
187
|
-
|
|
187
|
+
width: var(--g-app-width);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
[data-app-width-mode="center-max-width"] #app-main {
|
|
@@ -192,7 +192,7 @@ watch(scrollTop, (val, oldVal) => {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
[data-mode="mobile"] #app-main {
|
|
195
|
-
|
|
195
|
+
width: 100%;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
[data-mode="mobile"] .sidebar-container {
|
|
@@ -216,53 +216,71 @@ watch(scrollTop, (val, oldVal) => {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
.layout {
|
|
219
|
-
|
|
219
|
+
height: 100%;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
#app-main {
|
|
223
|
-
|
|
223
|
+
height: 100%;
|
|
224
|
+
background-color: var(--g-bg) /* var(--g-bg) */;
|
|
225
|
+
margin-left: auto;
|
|
226
|
+
margin-right: auto;
|
|
227
|
+
margin-top: 0;
|
|
228
|
+
margin-bottom: 0;
|
|
224
229
|
}
|
|
225
230
|
|
|
226
231
|
:deep(#app-main.main-page-maximize header),
|
|
227
232
|
#app-main.main-page-maximize .sidebar-container {
|
|
228
|
-
|
|
233
|
+
display: none;
|
|
229
234
|
}
|
|
230
235
|
|
|
231
236
|
#app-main.main-page-maximize .wrapper {
|
|
232
|
-
|
|
237
|
+
padding-top: 0;
|
|
233
238
|
}
|
|
234
239
|
|
|
235
240
|
#app-main.main-page-maximize .wrapper .main-container {
|
|
236
|
-
|
|
241
|
+
margin-left: 0;
|
|
237
242
|
}
|
|
238
243
|
|
|
239
244
|
#app-main.main-page-maximize .wrapper .main-container .topbar-container {
|
|
240
|
-
|
|
245
|
+
display: none;
|
|
241
246
|
}
|
|
242
247
|
|
|
243
248
|
#app-main.main-page-maximize .wrapper .main-container .main {
|
|
244
|
-
|
|
249
|
+
margin: 0;
|
|
245
250
|
}
|
|
246
251
|
|
|
247
252
|
#app-main.main-page-maximize :deep([data-fixed-calc-width]) {
|
|
248
|
-
|
|
253
|
+
width: 100%;
|
|
254
|
+
transform: translateX(-50%);
|
|
249
255
|
}
|
|
250
256
|
|
|
251
257
|
.wrapper {
|
|
252
|
-
|
|
258
|
+
position: relative;
|
|
259
|
+
width: 100%;
|
|
260
|
+
height: 100%;
|
|
253
261
|
transition: padding-top 0.3s;
|
|
254
262
|
}
|
|
255
263
|
|
|
256
264
|
.wrapper .sidebar-container {
|
|
257
|
-
|
|
265
|
+
position: fixed;
|
|
266
|
+
top: 0;
|
|
267
|
+
bottom: 0;
|
|
268
|
+
z-index: 501;
|
|
269
|
+
display: flex;
|
|
258
270
|
width: calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));
|
|
259
271
|
box-shadow: -1px 0 0 0 var(--g-border-color), 1px 0 0 0 var(--g-border-color);
|
|
260
272
|
transition: width 0.3s, transform 0.3s, box-shadow 0.3s, top 0.3s;
|
|
261
273
|
}
|
|
262
274
|
|
|
263
275
|
.wrapper .sidebar-mask {
|
|
264
|
-
|
|
265
|
-
|
|
276
|
+
position: fixed;
|
|
277
|
+
z-index: 500;
|
|
278
|
+
width: 100%;
|
|
279
|
+
height: 100%;
|
|
280
|
+
visibility: hidden;
|
|
281
|
+
opacity: 0;
|
|
282
|
+
left: 0;
|
|
283
|
+
top: 0;
|
|
266
284
|
background-size: 4px 4px;
|
|
267
285
|
backdrop-filter: saturate(50%) blur(4px);
|
|
268
286
|
transition: all 0.2s;
|
|
@@ -270,33 +288,62 @@ watch(scrollTop, (val, oldVal) => {
|
|
|
270
288
|
}
|
|
271
289
|
|
|
272
290
|
.wrapper .sidebar-mask.show {
|
|
273
|
-
|
|
291
|
+
visibility: visible;
|
|
292
|
+
opacity: 1;
|
|
274
293
|
}
|
|
275
294
|
|
|
276
295
|
.wrapper ::v-deep(.main-sidebar-container:not(.main-sidebar-leave-active) + .sub-sidebar-container) {
|
|
277
|
-
|
|
296
|
+
left: var(--g-main-sidebar-width);
|
|
278
297
|
}
|
|
279
298
|
|
|
280
299
|
.wrapper .main-container {
|
|
281
|
-
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
height: 0;
|
|
303
|
+
min-height: 100%;
|
|
282
304
|
margin-left: calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));
|
|
283
305
|
box-shadow: -1px 0 0 0 var(--g-border-color), 1px 0 0 0 var(--g-border-color);
|
|
284
306
|
transition: margin-left 0.3s, background-color 0.3s, box-shadow 0.3s;
|
|
285
307
|
}
|
|
286
308
|
|
|
287
309
|
.wrapper .main-container .main {
|
|
288
|
-
|
|
310
|
+
position: relative;
|
|
311
|
+
flex: auto;
|
|
312
|
+
flex-basis: 0;
|
|
313
|
+
height: 0;
|
|
289
314
|
transition: 0.3s;
|
|
290
315
|
}
|
|
291
316
|
|
|
292
317
|
.wrapper .main-container .main .exit-main-page-maximize {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
318
|
+
& {
|
|
319
|
+
position: fixed;
|
|
320
|
+
cursor: pointer;
|
|
321
|
+
opacity: 0.5;
|
|
322
|
+
transition-property: opacity;
|
|
323
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
324
|
+
transition-duration: 150ms;
|
|
325
|
+
z-index: 1000;
|
|
326
|
+
width: 5rem; /* 80px */
|
|
327
|
+
height: 5rem; /* 80px */
|
|
328
|
+
border-radius: 50%;
|
|
329
|
+
background-color: #44403c;
|
|
330
|
+
color: #d6d3d1;
|
|
331
|
+
right: -2.5rem; /* -40px */
|
|
332
|
+
top: -2.5rem; /* -40px */
|
|
333
|
+
}
|
|
334
|
+
&:hover {
|
|
335
|
+
opacity: 1;
|
|
336
|
+
}
|
|
337
|
+
.dark & {
|
|
338
|
+
background-color: #d6d3d1;
|
|
339
|
+
color: #44403c;
|
|
340
|
+
}
|
|
296
341
|
}
|
|
297
342
|
|
|
298
343
|
.wrapper .main-container .main .exit-main-page-maximize svg {
|
|
299
|
-
|
|
344
|
+
position: absolute;
|
|
345
|
+
bottom: 1rem; /* 16px */
|
|
346
|
+
left: 1rem; /* 16px */
|
|
300
347
|
}
|
|
301
348
|
|
|
302
349
|
.wrapper .main-container .topbar-container.has-tabbar + .main {
|
|
@@ -312,35 +359,39 @@ watch(scrollTop, (val, oldVal) => {
|
|
|
312
359
|
}
|
|
313
360
|
|
|
314
361
|
header:not(.header-leave-active) + .wrapper {
|
|
315
|
-
|
|
362
|
+
padding-top: var(--g-header-height);
|
|
316
363
|
}
|
|
317
364
|
|
|
318
365
|
header:not(.header-leave-active) + .wrapper .sidebar-container {
|
|
319
|
-
|
|
366
|
+
top: var(--g-header-height);
|
|
320
367
|
}
|
|
321
368
|
|
|
322
369
|
header:not(.header-leave-active) + .wrapper .sidebar-container :deep(.sidebar-logo) {
|
|
323
|
-
|
|
370
|
+
display: none;
|
|
324
371
|
}
|
|
325
372
|
|
|
326
373
|
header:not(.header-leave-active) + .wrapper .main-container .topbar-container {
|
|
327
|
-
|
|
374
|
+
top: var(--g-header-height);
|
|
328
375
|
}
|
|
329
376
|
|
|
330
377
|
header:not(.header-leave-active) + .wrapper .main-container .topbar-container :deep(.tools) {
|
|
331
|
-
|
|
378
|
+
display: none;
|
|
332
379
|
}
|
|
333
380
|
|
|
334
381
|
/* 顶部栏 */
|
|
335
382
|
.topbar-container {
|
|
336
|
-
|
|
383
|
+
position: absolute;
|
|
384
|
+
top: 0;
|
|
385
|
+
z-index: 100;
|
|
386
|
+
display: flex;
|
|
387
|
+
flex-direction: column;
|
|
337
388
|
box-shadow: 0 1px 0 0 var(--g-border-color);
|
|
338
389
|
transition: width 0.3s, top 0.3s, transform 0.3s, box-shadow 0.3s;
|
|
339
390
|
}
|
|
340
391
|
|
|
341
392
|
.topbar-container.topbar-fixed,
|
|
342
393
|
.topbar-container.topbar-sticky {
|
|
343
|
-
|
|
394
|
+
position: fixed;
|
|
344
395
|
}
|
|
345
396
|
|
|
346
397
|
.topbar-container.topbar-fixed.shadow,
|
|
@@ -35,14 +35,40 @@ const { settingsStore } = useContext();
|
|
|
35
35
|
|
|
36
36
|
<style scoped>
|
|
37
37
|
.copyright {
|
|
38
|
-
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
flex-wrap: wrap;
|
|
42
|
+
margin-top: 1rem; /* 16px */
|
|
43
|
+
margin-bottom: 1rem; /* 16px */
|
|
44
|
+
padding-left: 1rem; /* 16px */
|
|
45
|
+
padding-right: 1rem; /* 16px */
|
|
46
|
+
font-size: 0.875rem; /* 14px */
|
|
47
|
+
line-height: 1.25rem; /* 20px */
|
|
48
|
+
color: #78716c;
|
|
39
49
|
}
|
|
40
50
|
|
|
41
51
|
.copyright span,a {
|
|
42
|
-
|
|
52
|
+
padding-left: 0.25rem; /* 4px */
|
|
53
|
+
padding-right: 0.25rem; /* 4px */
|
|
43
54
|
}
|
|
44
55
|
|
|
45
56
|
.copyright a {
|
|
46
|
-
|
|
57
|
+
& {
|
|
58
|
+
text-align: center;
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
color: #78716c;
|
|
61
|
+
transition-property: color, background-color, border-color,
|
|
62
|
+
text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
|
|
63
|
+
backdrop-filter;
|
|
64
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
65
|
+
transition-duration: 150ms;
|
|
66
|
+
}
|
|
67
|
+
&:hover {
|
|
68
|
+
color: #222222;
|
|
69
|
+
}
|
|
70
|
+
.dark &:hover {
|
|
71
|
+
color: #f6f6f6;
|
|
72
|
+
}
|
|
47
73
|
}
|
|
48
74
|
</style>
|
|
@@ -56,11 +56,13 @@ function menuClick(index: number, item: Menu.recordMainRaw) {
|
|
|
56
56
|
|
|
57
57
|
<style scoped>
|
|
58
58
|
.menu-more-container {
|
|
59
|
-
|
|
59
|
+
min-width: 180px;
|
|
60
|
+
padding: 10px;
|
|
61
|
+
padding-bottom: 0;
|
|
60
62
|
}
|
|
61
63
|
|
|
62
64
|
.menu-more-container .is-dev {
|
|
63
|
-
|
|
65
|
+
cursor: not-allowed;
|
|
64
66
|
}
|
|
65
67
|
|
|
66
68
|
.menu-more-container .is-dev i {
|
|
@@ -74,22 +76,31 @@ function menuClick(index: number, item: Menu.recordMainRaw) {
|
|
|
74
76
|
|
|
75
77
|
<style>
|
|
76
78
|
.v-popper--theme-more-appley {
|
|
77
|
-
|
|
79
|
+
z-index: 1000;
|
|
78
80
|
z-index: 1000;
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
.v-popper--theme-more-appley .v-popper__inner {
|
|
82
|
-
|
|
84
|
+
border-width: 1px;
|
|
85
|
+
border-color: white;
|
|
86
|
+
border-style: solid;
|
|
87
|
+
border-radius: 8px;
|
|
83
88
|
background-image: linear-gradient(-43deg, #fff 0%, #eaf3ff 87%);
|
|
84
89
|
box-shadow: 8px 16px 28px -8px #8195b74f;
|
|
85
90
|
}
|
|
86
91
|
|
|
87
92
|
.v-popper--theme-more-appley .v-popper__arrow-container {
|
|
88
|
-
|
|
93
|
+
display: none;
|
|
89
94
|
}
|
|
90
95
|
|
|
91
96
|
.dark .v-popper--theme-more-appley .v-popper__inner {
|
|
92
|
-
|
|
97
|
+
border-width: 1px;
|
|
98
|
+
border-color: #4b4f53;
|
|
99
|
+
border-style: solid;
|
|
100
|
+
border-radius: 8px;
|
|
101
|
+
--un-shadow: none;
|
|
102
|
+
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
103
|
+
var(--un-shadow);
|
|
93
104
|
background-image: linear-gradient(-43deg, #141414 0%, #141414 87%);
|
|
94
105
|
}
|
|
95
106
|
</style>
|
|
@@ -38,33 +38,44 @@ withDefaults(defineProps<{
|
|
|
38
38
|
|
|
39
39
|
<style scoped>
|
|
40
40
|
.not-cursor-container {
|
|
41
|
-
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
42
43
|
}
|
|
43
44
|
</style>
|
|
44
45
|
|
|
45
46
|
<style>
|
|
46
47
|
.v-popper--theme-not-cursor {
|
|
47
|
-
|
|
48
|
+
z-index: 1000;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
.v-popper--theme-not-cursor .v-popper__inner {
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
width: 228px;
|
|
53
|
+
height: 123px;
|
|
54
|
+
border-width: 1px;
|
|
55
|
+
border-style: solid;
|
|
56
|
+
border-color: rgb(255 255 255 / 1);
|
|
57
|
+
border-radius: 0.375rem; /* 6px */
|
|
53
58
|
background-image: linear-gradient(-55deg, #fff 0%, #eaf3ff 87%);
|
|
54
59
|
box-shadow: 4px 8px 14px -4px #8195b74f;
|
|
55
60
|
}
|
|
56
61
|
|
|
57
62
|
.v-popper--theme-not-cursor .v-popper__inner > div {
|
|
58
|
-
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 100%;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
.v-popper--theme-not-cursor .v-popper__arrow-container {
|
|
62
|
-
--at-apply: hidden;
|
|
63
68
|
display: none;
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
.dark .v-popper--theme-not-cursor .v-popper__inner {
|
|
67
|
-
--
|
|
72
|
+
--un-shadow: none;
|
|
73
|
+
box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
|
|
74
|
+
var(--un-shadow);
|
|
75
|
+
border-radius: 8px;
|
|
76
|
+
border-width: 1px;
|
|
77
|
+
border-style: solid;
|
|
78
|
+
border-color: #4b4f53;
|
|
68
79
|
background-image: linear-gradient(-43deg, #141414 0%, #141414 87%);
|
|
69
80
|
}
|
|
70
81
|
</style>
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { useContext } from '../../composables/useContext';
|
|
3
|
+
import HeaderFullMenu from './HeaderFullMenu/index.vue';
|
|
4
|
+
import HeaderThinMenu from './HeaderThinMenu.vue';
|
|
3
5
|
|
|
4
6
|
defineOptions({
|
|
5
7
|
name: 'LayoutHeaderMenu',
|
|
6
8
|
});
|
|
7
9
|
|
|
8
|
-
const HeaderFullMenu = defineAsyncComponent(() => import('./HeaderFullMenu/index.vue'));
|
|
9
|
-
const HeaderThinMenu = defineAsyncComponent(() => import('./HeaderThinMenu.vue'));
|
|
10
|
-
|
|
11
10
|
const { settingsStore } = useContext();
|
|
12
11
|
</script>
|
|
13
12
|
|