@pubinfo/core 2.0.0-beta.31 → 2.0.0-beta.33
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-C1dyZ-8E.js → AppSetting-DhcdApoo.js} +17 -17
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js → HCheckList.vue_vue_type_script_setup_true_lang-Bi9jyf-Y.js} +2 -2
- package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
- package/dist/HToggle-Di3WNnzE.js +34 -0
- package/dist/{PreferencesContent-DgycKl9e.js → PreferencesContent-BdSTTSM-.js} +6 -6
- package/dist/{SettingBreadcrumb-BlgX0ZNE.js → SettingBreadcrumb-ChQx96br.js} +8 -8
- package/dist/{SettingCopyright-FmqadL1w.js → SettingCopyright-CkMab5VK.js} +8 -8
- package/dist/{SettingEnableTransition-dzMgw8cN.js → SettingEnableTransition-BSXU87vT.js} +15 -15
- package/dist/{SettingHome-BwlXsTTt.js → SettingHome-DwioPezC.js} +13 -13
- package/dist/{SettingMenu-B5tHMS24.js → SettingMenu-yvKu7Yoq.js} +25 -25
- package/dist/{SettingMode-Bh0mvh66.js → SettingMode-C99ADNad.js} +6 -6
- package/dist/{SettingNavSearch-D4g24uwl.js → SettingNavSearch-mURLLetZ.js} +8 -8
- package/dist/{SettingOther-DwTtu6As.js → SettingOther-BGoSdp7a.js} +9 -9
- package/dist/{SettingPage-cDQXtwcG.js → SettingPage-Wwy5PtzC.js} +7 -7
- package/dist/{SettingTabbar-m8X7jEJH.js → SettingTabbar-C2ya4r4U.js} +9 -9
- package/dist/{SettingThemes-CX9ISeD_.js → SettingThemes-7oYUooGR.js} +27 -27
- package/dist/{SettingToolbar-ByLjBezg.js → SettingToolbar-A6OiGfAD.js} +5 -5
- package/dist/{SettingTopbar-o8wBZolp.js → SettingTopbar-GDEPltxm.js} +9 -9
- package/dist/{SettingWidthMode-Ux60mKiv.js → SettingWidthMode-qwkmTFIK.js} +15 -15
- package/dist/{TopThinMode-17GrCZdo.js → TopThinMode-BkmPN66X.js} +1 -1
- package/dist/{_...all_-6l5FWUkL.js → _...all_-CdjdWhUr.js} +5 -5
- package/dist/assets/styles/index.d.ts +3 -3
- package/dist/{colors-DiWJrScm.js → colors-7rGvqeKK.js} +1 -1
- package/dist/{index-CfasTv4x.js → index-BC-gcL8e.js} +4 -4
- package/dist/{index-Md7zV10q.js → index-C-6XxK2D.js} +5 -5
- package/dist/{index-bsi-FZDt.js → index-CgLD0zqO.js} +169 -169
- package/dist/{index-BmMbAV1Y.js → index-CtyzB2cq.js} +13 -13
- package/dist/{index-Ckgil96Y.js → index-Cw1uN5m-.js} +2 -2
- package/dist/{index-Be7jJtXg.js → index-DVUDANdM.js} +5 -5
- package/dist/{index-Dzwhw1L9.js → index-Dpq4uqWd.js} +22 -22
- package/dist/{index-DgpcBgWl.js → index-DuoLZ3r3.js} +4394 -4294
- package/dist/{index-De_ME_Ws.js → index-sYaQXYQC.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js → index.vue_vue_type_style_index_0_scoped_051f4e99_lang-CuU-JtjC.js} +870 -856
- package/dist/interface.d.ts +17 -2
- package/dist/layout/ui-kit/HDialog.vue.d.ts +1 -1
- package/dist/layout/ui-kit/HSlideover.vue.d.ts +1 -1
- package/dist/layout/ui-kit/HTooltip.vue.d.ts +1 -1
- package/dist/{menu-CC5544p-.js → menu-BL6hH6OM.js} +1862 -1856
- package/dist/{pick-CJo2YiT-.js → pick-CAmKymZJ.js} +1 -1
- package/dist/request.js +34 -32
- package/dist/stores/plugin/persist.d.ts +2 -2
- package/dist/style.css +3 -3
- package/package.json +25 -26
- package/src/assets/styles/globals.css +188 -0
- package/src/assets/styles/index.ts +3 -3
- package/src/assets/styles/nprogress.css +68 -0
- package/src/assets/styles/rbac.css +51 -0
- package/src/assets/styles/resources/utils.css +53 -0
- package/src/assets/styles/resources/variables.css +5 -0
- package/src/components/NotAllowed/index.vue +4 -6
- package/src/components/PassStrengthValidator/index.vue +33 -48
- package/src/components/PassStrengthValidator/rule.vue +13 -25
- package/src/components/PubinfoIcon/index.vue +4 -8
- package/src/composables/watchDiff.ts +1 -1
- package/src/create.ts +10 -3
- package/src/interface.ts +24 -2
- package/src/layout/Layout.vue +113 -161
- package/src/layout/components/Content/IframeView.vue +1 -2
- package/src/layout/components/Content/LinkView.vue +2 -2
- package/src/layout/components/Content/index.vue +1 -2
- package/src/layout/components/Copyright/index.vue +7 -8
- package/src/layout/components/Header/TopMode/More.vue +24 -32
- package/src/layout/components/Header/TopMode/NotCursor.vue +20 -29
- package/src/layout/components/Header/TopMode/index.vue +1 -1
- package/src/layout/components/Header/index.vue +118 -206
- package/src/layout/components/Logo/index.vue +4 -19
- package/src/layout/components/Menu/item.vue +16 -25
- package/src/layout/components/SettingBar/AppSetting.vue +11 -11
- package/src/layout/components/SettingBar/components/DayNightToggle.vue +26 -120
- package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +111 -136
- package/src/layout/components/SettingBar/components/SettingMode.vue +78 -88
- package/src/layout/components/SettingBar/components/SettingThemes.vue +48 -85
- package/src/layout/components/SettingBar/components/SettingWidthMode.vue +63 -71
- package/src/layout/components/SettingBar/index.vue +29 -62
- package/src/layout/components/Sidebar/MainSidebar.vue +81 -126
- package/src/layout/components/Sidebar/SubSidebar.vue +50 -59
- package/src/layout/components/Tools/Breadcrumb/index.vue +6 -12
- package/src/layout/components/Tools/DayNightSwitch.vue +40 -63
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +210 -277
- package/src/layout/components/Tools/Search.vue +5 -5
- package/src/layout/components/Tools/index.vue +1 -1
- package/src/layout/components/Topbar/Tabbar/MoreAction.vue +98 -145
- package/src/layout/components/Topbar/Tabbar/index.vue +259 -395
- package/src/layout/components/Topbar/Toolbar/Favorites.vue +4 -4
- package/src/layout/components/Topbar/Toolbar/index.vue +39 -56
- package/src/layout/components/Topbar/index.vue +16 -19
- package/src/layout/composables/useContext.ts +1 -1
- package/src/layout/composables/useMenu.ts +1 -1
- package/src/layout/composables/useTabbar.ts +1 -1
- package/src/layout/composables/useTitle.ts +1 -1
- package/src/layout/provider.ts +1 -1
- package/src/layout/ui-kit/HDialog.vue +1 -1
- package/src/layout/ui-kit/HDivider.vue +6 -35
- package/src/layout/ui-kit/HSlideover.vue +1 -1
- package/src/layout/ui-kit/HToggle.vue +49 -93
- package/src/layout/ui-kit/HTooltip.vue +1 -1
- package/src/locales/index.ts +1 -1
- package/src/pages/personal/profile/index.vue +1 -1
- package/src/pages/system/[...all].vue +4 -6
- package/src/pages/system/change-organization/index.vue +23 -37
- package/src/pages/system/change-password/components/ChangePasswordForm/index.vue +1 -1
- package/src/pages/system/change-password/index.vue +16 -29
- package/src/pages/system/not-permission/index.vue +4 -6
- package/src/route/guard/basic.ts +1 -1
- package/src/route/routes.ts +1 -1
- package/src/stores/modules/favorites.ts +1 -1
- package/src/stores/modules/menu.ts +1 -1
- package/src/stores/modules/route.ts +2 -2
- package/src/stores/modules/settings.ts +7 -7
- package/src/stores/modules/user.ts +2 -2
- package/src/stores/plugin/persist.ts +3 -3
- package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
- package/src/utils/crypto.ts +1 -1
- package/types/auto-imports.d.ts +1 -1
- package/types/components.d.ts +1 -0
- package/types/vue-router.d.ts +8 -8
- package/dist/HDivider-DgXBhPr0.js +0 -21
- package/dist/HToggle-Cd71WKvG.js +0 -34
- package/src/assets/styles/globals.scss +0 -189
- package/src/assets/styles/nprogress.scss +0 -63
- package/src/assets/styles/rbac.scss +0 -61
- package/src/assets/styles/resources/utils.scss +0 -53
- package/src/assets/styles/resources/variables.scss +0 -6
|
@@ -371,353 +371,286 @@ async function resetSetting() {
|
|
|
371
371
|
</div>
|
|
372
372
|
</template>
|
|
373
373
|
|
|
374
|
-
<style lang="
|
|
374
|
+
<style lang="css" scoped>
|
|
375
375
|
.divider {
|
|
376
376
|
--at-apply: flex items-center justify-between gap-4 my-4 whitespace-nowrap text-sm font-500;
|
|
377
|
+
}
|
|
377
378
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
}
|
|
379
|
+
.divider::before,
|
|
380
|
+
.divider::after {
|
|
381
|
+
--at-apply: content-empty w-full h-1px bg-stone-2 dark:bg-stone-6;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
.themes {
|
|
385
385
|
--at-apply: flex flex-wrap items-center justify-center gap-4 pb-4;
|
|
386
|
+
}
|
|
386
387
|
|
|
387
|
-
|
|
388
|
-
|
|
388
|
+
.theme {
|
|
389
|
+
--at-apply: flex items-center justify-center w-12 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
|
|
390
|
+
}
|
|
389
391
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
+
.theme.active {
|
|
393
|
+
--at-apply: ring-ui-primary ring-2;
|
|
394
|
+
}
|
|
392
395
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}
|
|
396
|
+
.theme.active .content {
|
|
397
|
+
--at-apply: rotate-0;
|
|
398
|
+
}
|
|
397
399
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
}
|
|
401
|
-
}
|
|
400
|
+
.theme .content {
|
|
401
|
+
--at-apply: w-6 h-4 rounded-50% -rotate-45 transition;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
.menu-mode {
|
|
405
405
|
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
406
|
+
}
|
|
406
407
|
|
|
407
|
-
|
|
408
|
-
|
|
408
|
+
.mode {
|
|
409
|
+
--at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
|
|
410
|
+
}
|
|
409
411
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
412
|
+
.mode.active {
|
|
413
|
+
--at-apply: ring-ui-primary ring-2;
|
|
414
|
+
}
|
|
413
415
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
416
|
+
.mode::before,
|
|
417
|
+
.mode::after,
|
|
418
|
+
.mode .mode-container {
|
|
419
|
+
--at-apply: absolute pointer-events-none;
|
|
420
|
+
}
|
|
419
421
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
422
|
+
.mode::before {
|
|
423
|
+
--at-apply: content-empty bg-ui-primary;
|
|
424
|
+
}
|
|
423
425
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
426
|
+
.mode::after {
|
|
427
|
+
--at-apply: content-empty bg-ui-primary/60;
|
|
428
|
+
}
|
|
427
429
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
+
.mode .mode-container {
|
|
431
|
+
--at-apply: bg-ui-primary/20 border-dashed border-ui-primary;
|
|
432
|
+
}
|
|
430
433
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
}
|
|
434
|
+
.mode .mode-container::before {
|
|
435
|
+
--at-apply: content-empty absolute w-full h-full;
|
|
436
|
+
}
|
|
435
437
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
}
|
|
438
|
+
.mode-side::before {
|
|
439
|
+
--at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
|
|
440
|
+
}
|
|
440
441
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
442
|
+
.mode-side::after {
|
|
443
|
+
--at-apply: top-2 bottom-2 left-4.5 w-3;
|
|
444
|
+
}
|
|
444
445
|
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
}
|
|
446
|
+
.mode-side .mode-container {
|
|
447
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-8 rounded-tr-1 rounded-br-1;
|
|
448
|
+
}
|
|
449
449
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
}
|
|
450
|
+
.mode-head::before {
|
|
451
|
+
--at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
|
|
452
|
+
}
|
|
454
453
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
454
|
+
.mode-head::after {
|
|
455
|
+
--at-apply: top-4.5 left-2 bottom-2 w-3 rounded-bl-1;
|
|
456
|
+
}
|
|
458
457
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
}
|
|
458
|
+
.mode-head .mode-container {
|
|
459
|
+
--at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-5.5 rounded-br-1;
|
|
460
|
+
}
|
|
463
461
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
}
|
|
462
|
+
.mode-single::after {
|
|
463
|
+
--at-apply: top-2 left-2 bottom-2 w-3 rounded-tl-1 rounded-bl-1;
|
|
464
|
+
}
|
|
468
465
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
}
|
|
466
|
+
.mode-single .mode-container {
|
|
467
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-5.5 rounded-tr-1 rounded-br-1;
|
|
468
|
+
}
|
|
473
469
|
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
--at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
|
|
477
|
-
}
|
|
470
|
+
.mode-only-side::before {
|
|
471
|
+
--at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
|
|
478
472
|
|
|
479
|
-
|
|
480
|
-
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-4.5 rounded-tr-1 rounded-br-1;
|
|
481
|
-
}
|
|
482
|
-
}
|
|
473
|
+
}
|
|
483
474
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
}
|
|
475
|
+
.mode-only-side .mode-container {
|
|
476
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-4.5 rounded-tr-1 rounded-br-1;
|
|
477
|
+
}
|
|
488
478
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
479
|
+
.mode-only-head::before {
|
|
480
|
+
--at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.mode-only-head .mode-container {
|
|
484
|
+
--at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-2 rounded-bl-1 rounded-br-1;
|
|
494
485
|
}
|
|
495
486
|
|
|
496
487
|
.app-width-mode {
|
|
497
488
|
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
489
|
+
}
|
|
498
490
|
|
|
499
|
-
|
|
500
|
-
|
|
491
|
+
.app-width-mode .mode {
|
|
492
|
+
--at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition of-hidden;
|
|
493
|
+
}
|
|
501
494
|
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
495
|
+
.app-width-mode .mode.active {
|
|
496
|
+
--at-apply: ring-ui-primary ring-2;
|
|
497
|
+
}
|
|
505
498
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
}
|
|
499
|
+
.mode-adaption::before {
|
|
500
|
+
--at-apply: content-empty absolute w-full h-full bg-stone-1 dark:bg-stone-9;
|
|
501
|
+
}
|
|
510
502
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
503
|
+
@media (prefers-color-scheme: dark) {
|
|
504
|
+
.mode-adaption::before {
|
|
505
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
515
508
|
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
509
|
+
.mode-adaption .left,
|
|
510
|
+
.mode-adaption .right {
|
|
511
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
512
|
+
}
|
|
519
513
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}
|
|
514
|
+
.mode-adaption .left {
|
|
515
|
+
--at-apply: left-1;
|
|
516
|
+
}
|
|
524
517
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}
|
|
518
|
+
.mode-adaption .right {
|
|
519
|
+
--at-apply: right-1;
|
|
520
|
+
}
|
|
529
521
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
}
|
|
522
|
+
.mode-adaption-min-width::before {
|
|
523
|
+
--at-apply: content-empty absolute w-1/2 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
524
|
+
}
|
|
534
525
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
526
|
+
.mode-adaption-min-width .left,
|
|
527
|
+
.mode-adaption-min-width .right {
|
|
528
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
529
|
+
}
|
|
538
530
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
}
|
|
531
|
+
.mode-adaption-min-width .left {
|
|
532
|
+
--at-apply: left-0.5;
|
|
533
|
+
}
|
|
543
534
|
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
}
|
|
548
|
-
}
|
|
535
|
+
.mode-adaption-min-width .right {
|
|
536
|
+
--at-apply: right-0.5;
|
|
537
|
+
}
|
|
549
538
|
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}
|
|
539
|
+
.mode-center::before {
|
|
540
|
+
--at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
541
|
+
}
|
|
554
542
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
}
|
|
543
|
+
.mode-center-max-width::before {
|
|
544
|
+
--at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
545
|
+
}
|
|
559
546
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
547
|
+
.mode-center-max-width .left,
|
|
548
|
+
.mode-center-max-width .right {
|
|
549
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
550
|
+
}
|
|
563
551
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
552
|
+
.mode-center-max-width .left {
|
|
553
|
+
--at-apply: left-2.5;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.mode-center-max-width .right {
|
|
557
|
+
--at-apply: right-2.5;
|
|
569
558
|
}
|
|
570
559
|
|
|
571
560
|
.transition-mode {
|
|
572
561
|
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
562
|
+
}
|
|
573
563
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
&.active {
|
|
578
|
-
--at-apply: ring-ui-primary ring-2;
|
|
579
|
-
}
|
|
564
|
+
.transition-mode .mode {
|
|
565
|
+
--at-apply: relative flex items-center justify-center w-14 h-10 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer;
|
|
566
|
+
}
|
|
580
567
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
568
|
+
.transition-mode .mode.active {
|
|
569
|
+
--at-apply: ring-ui-primary ring-2;
|
|
570
|
+
}
|
|
584
571
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
@keyframes transition-mode-fade-after {
|
|
591
|
-
0% {
|
|
592
|
-
opacity: 1;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
30%,
|
|
596
|
-
35% {
|
|
597
|
-
opacity: 0;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
65% {
|
|
601
|
-
opacity: 1;
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}
|
|
572
|
+
.transition-mode .mode::after {
|
|
573
|
+
--at-apply: content-empty absolute w-3/5 h-3/5 top-1/5 left-1/5 rounded-2 bg-stone-2 dark:bg-stone-9 transition;
|
|
574
|
+
}
|
|
605
575
|
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
@keyframes transition-mode-slide-left {
|
|
612
|
-
0% {
|
|
613
|
-
opacity: 1;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
30% {
|
|
617
|
-
opacity: 0;
|
|
618
|
-
transform: translate(-30%, 0);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
35% {
|
|
622
|
-
opacity: 0;
|
|
623
|
-
transform: translate(30%, 0);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
65% {
|
|
627
|
-
opacity: 1;
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
}
|
|
576
|
+
.mode-fade::after {
|
|
577
|
+
animation: transition-mode-fade-after 1.5s infinite;
|
|
578
|
+
}
|
|
631
579
|
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
transform: translate(30%, 0);
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
35% {
|
|
648
|
-
opacity: 0;
|
|
649
|
-
transform: translate(-30%, 0);
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
100% {
|
|
653
|
-
opacity: 1;
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
580
|
+
@keyframes transition-mode-fade-after {
|
|
581
|
+
0% {
|
|
582
|
+
opacity: 1;
|
|
583
|
+
}
|
|
584
|
+
30%,
|
|
585
|
+
35% {
|
|
586
|
+
opacity: 0;
|
|
587
|
+
}
|
|
588
|
+
65% {
|
|
589
|
+
opacity: 1;
|
|
590
|
+
}
|
|
591
|
+
}
|
|
657
592
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
@keyframes transition-mode-slide-top {
|
|
664
|
-
0% {
|
|
665
|
-
opacity: 1;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
30% {
|
|
669
|
-
opacity: 0;
|
|
670
|
-
transform: translate(0, -30%);
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
35% {
|
|
674
|
-
opacity: 0;
|
|
675
|
-
transform: translate(0, 30%);
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
100% {
|
|
679
|
-
opacity: 1;
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
593
|
+
.mode-slide-left::after {
|
|
594
|
+
animation: transition-mode-slide-left 1.5s infinite;
|
|
595
|
+
}
|
|
683
596
|
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
0% {
|
|
691
|
-
opacity: 1;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
30% {
|
|
695
|
-
opacity: 0;
|
|
696
|
-
transform: translate(0, 30%);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
35% {
|
|
700
|
-
opacity: 0;
|
|
701
|
-
transform: translate(0, -30%);
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
100% {
|
|
705
|
-
opacity: 1;
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
597
|
+
@keyframes transition-mode-slide-left {
|
|
598
|
+
0% {
|
|
599
|
+
opacity: 1;
|
|
600
|
+
}
|
|
601
|
+
30% {
|
|
602
|
+
opacity: 0; transform: translate(-30%, 0);
|
|
709
603
|
}
|
|
604
|
+
35% {
|
|
605
|
+
opacity: 0; transform: translate(30%, 0);
|
|
606
|
+
}
|
|
607
|
+
65% {
|
|
608
|
+
opacity: 1;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.mode-slide-right::after {
|
|
613
|
+
animation: transition-mode-slide-right 1.5s infinite;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
@keyframes transition-mode-slide-right {
|
|
617
|
+
0% { opacity: 1; }
|
|
618
|
+
30% { opacity: 0; transform: translate(30%, 0); }
|
|
619
|
+
35% { opacity: 0; transform: translate(-30%, 0); }
|
|
620
|
+
100% { opacity: 1; }
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.mode-slide-top::after {
|
|
624
|
+
animation: transition-mode-slide-top 1.5s infinite;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
@keyframes transition-mode-slide-top {
|
|
628
|
+
0% { opacity: 1; }
|
|
629
|
+
30% { opacity: 0; transform: translate(0, -30%); }
|
|
630
|
+
35% { opacity: 0; transform: translate(0, 30%); }
|
|
631
|
+
100% { opacity: 1; }
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.mode-slide-bottom::after {
|
|
635
|
+
animation: transition-mode-slide-bottom 1.5s infinite;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
@keyframes transition-mode-slide-bottom {
|
|
639
|
+
0% { opacity: 1; }
|
|
640
|
+
30% { opacity: 0; transform: translate(0, 30%); }
|
|
641
|
+
35% { opacity: 0; transform: translate(0, -30%); }
|
|
642
|
+
100% { opacity: 1; }
|
|
710
643
|
}
|
|
711
644
|
|
|
712
645
|
.setting-item {
|
|
713
646
|
--at-apply: flex items-center justify-between gap-4 px-4 py-2 rounded-2 transition hover:bg-stone-1 dark:hover:bg-stone-9;
|
|
647
|
+
}
|
|
714
648
|
|
|
715
|
-
|
|
716
|
-
|
|
649
|
+
.setting-item .label {
|
|
650
|
+
--at-apply: flex items-center flex-shrink-0 gap-2 text-sm;
|
|
651
|
+
}
|
|
717
652
|
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
}
|
|
721
|
-
}
|
|
653
|
+
.setting-item .label i {
|
|
654
|
+
--at-apply: text-xl text-orange cursor-help;
|
|
722
655
|
}
|
|
723
656
|
</style>
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
import type { Tabbar } from '#/tabbar';
|
|
3
3
|
import type { OverlayScrollbarsComponentRef } from 'overlayscrollbars-vue';
|
|
4
4
|
import type { RouteRecordRaw } from 'vue-router';
|
|
5
|
-
import { PubinfoIcon } from '@/components';
|
|
6
|
-
import { resolveRoutePath } from '@/utils';
|
|
7
5
|
import { Dialog, DialogDescription, DialogPanel, TransitionChild, TransitionRoot } from '@headlessui/vue';
|
|
8
6
|
import hotkeys from 'hotkeys-js';
|
|
9
7
|
import { cloneDeep } from 'lodash-es';
|
|
10
8
|
import { OverlayScrollbarsComponent } from 'overlayscrollbars-vue';
|
|
11
9
|
import { useI18n } from 'vue-i18n';
|
|
12
|
-
|
|
13
10
|
import AntDesignCaretDownFilled from '~icons/ant-design/caret-down-filled';
|
|
14
|
-
|
|
15
11
|
import AntDesignCaretUpFilled from '~icons/ant-design/caret-up-filled';
|
|
12
|
+
|
|
16
13
|
import EpSearch from '~icons/ep/search';
|
|
14
|
+
|
|
17
15
|
import IonMdReturnLeft from '~icons/ion/md-return-left';
|
|
18
16
|
import TablerMoodEmpty from '~icons/tabler/mood-empty';
|
|
17
|
+
import { PubinfoIcon } from '@/components';
|
|
18
|
+
import { resolveRoutePath } from '@/utils';
|
|
19
19
|
import { useContext } from '../../composables/useContext';
|
|
20
20
|
import Breadcrumb from './Breadcrumb/index.vue';
|
|
21
21
|
import BreadcrumbItem from './Breadcrumb/item.vue';
|
|
22
22
|
|
|
23
23
|
defineOptions({
|
|
24
|
-
name: '
|
|
24
|
+
name: 'ToolsSearch',
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
const overlayTransitionClass = ref({
|