@pubinfo/core 2.0.0-rc.1 → 2.0.0-rc.3
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-Bblni_W7.js → AppSetting-3wJKvibc.js} +19 -19
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-A7PnhNKK.js → HCheckList.vue_vue_type_script_setup_true_lang-17EywJvs.js} +1 -1
- package/dist/{HToggle-xibvPpmf.js → HToggle-B-ZjSh6S.js} +1 -1
- package/dist/{PreferencesContent--JtPw_LT.js → PreferencesContent-xT4paU7N.js} +52 -52
- package/dist/{SettingBreadcrumb-BwhdAtkC.js → SettingBreadcrumb-CYnO51Ek.js} +5 -5
- package/dist/{SettingCopyright-DPsRDagL.js → SettingCopyright-FOW5ObHK.js} +2 -2
- package/dist/{SettingEnableTransition-mtHTUb08.js → SettingEnableTransition-Q5cvubmF.js} +12 -12
- package/dist/{SettingHome-agxHFIKq.js → SettingHome-Df7-AlWB.js} +8 -8
- package/dist/{SettingMenu-D6WwcOw-.js → SettingMenu-BNAJ3el9.js} +14 -14
- package/dist/{SettingMode-CkmhszlD.js → SettingMode-LzlRsBL9.js} +3 -3
- package/dist/{SettingNavSearch-CEB5DZGf.js → SettingNavSearch-BA08vYuw.js} +6 -6
- package/dist/{SettingOther-Dzs1uwnC.js → SettingOther-BE8dDCYD.js} +11 -11
- package/dist/{SettingPage-bOThkL2-.js → SettingPage-D061yXCv.js} +2 -2
- package/dist/{SettingTabbar-L6yQxAeE.js → SettingTabbar-COwdPPKy.js} +13 -13
- package/dist/{SettingThemes-Cxa5bR66.js → SettingThemes-BHaYERNp.js} +12 -12
- package/dist/{SettingToolbar-BZ2uHom2.js → SettingToolbar-fSuzu6ND.js} +10 -10
- package/dist/{SettingTopbar-hptxTh8m.js → SettingTopbar-D7GgP0KB.js} +6 -6
- package/dist/{SettingWidthMode-D2R2W4-n.js → SettingWidthMode-CNjzChe1.js} +11 -11
- package/dist/{TopThinMode-C26i10py.js → TopThinMode-B-28sBJD.js} +3 -3
- package/dist/built-in/layout-component/Layout.vue.d.ts +1 -0
- package/dist/built-in/layout-component/components/Tools/Fullscreen.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/PageReload.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/SearchBar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +47 -207
- package/dist/built-in/layout-component/components/Tools/interface.d.ts +26 -0
- package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -206
- package/dist/built-in/layout-component/components/ui/HDropdownMenu.vue.d.ts +2 -7
- package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +19 -0
- package/dist/built-in/layout-component/composables/useHotkey.d.ts +1 -5
- package/dist/built-in/layout-component/composables/useMainPage.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useMenu.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useTabbar.d.ts +1 -1
- package/dist/built-in/layout-component/composables/useTitle.d.ts +2 -1
- package/dist/built-in/layout-component/composables/useWatermark.d.ts +3 -1
- package/dist/built-in/layout-component/index.d.ts +9 -6
- package/dist/built-in/layout-component/utils/index.d.ts +0 -1
- package/dist/{colors-C8I6Fdyp.js → colors-BIQSd520.js} +1 -1
- package/dist/{index-RwbJwutI.js → index-Beb7_0-E.js} +14499 -14397
- package/dist/{index-D948mfZb.js → index-CPRiufg0.js} +1 -1
- package/dist/{index-DZ6SbWiv.js → index-DNdH93AP.js} +13 -13
- package/dist/index-DYMBkmAp.js +139 -0
- package/dist/{index-DdS6qgK_.js → index-Dlf6GQBd.js} +6418 -6439
- package/dist/{index-D3zjK9rd.js → index-IscoZG-Y.js} +2 -2
- package/dist/{index-DeWCd_-p.js → index-WubcSL0v.js} +1 -1
- package/dist/index-YSjb6X1D.js +232 -0
- package/dist/{index-EOTrQlGo.js → index-wxEEuQXu.js} +17 -17
- package/dist/index.d.ts +4 -2
- package/dist/index.js +53 -55
- package/dist/{pick-D6j4F3UM.js → pick-D_XPbQHB.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +10 -10
- package/src/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -1
- package/src/built-in/authentication/pages/change-password/assets/mima.svg +1 -1
- package/src/built-in/authorization/pages/not-permission/403.svg +1 -1
- package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -1
- package/src/built-in/layout-component/Layout.vue +11 -22
- package/src/built-in/layout-component/assets/icons/favorites.svg +1 -1
- package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -1
- package/src/built-in/layout-component/components/Header/TopMode/index.vue +1 -1
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +1 -1
- package/src/built-in/layout-component/components/Sidebar/index.vue +1 -1
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +108 -0
- package/src/built-in/layout-component/components/Tools/Fullscreen.vue +24 -0
- package/src/built-in/layout-component/components/Tools/PageReload.vue +22 -0
- package/src/built-in/layout-component/components/Tools/SearchBar.vue +44 -0
- package/src/built-in/layout-component/components/Tools/{Search.vue → SearchPanel.vue} +12 -6
- package/src/built-in/layout-component/components/Tools/index.vue +64 -130
- package/src/built-in/layout-component/components/Tools/interface.ts +27 -0
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +7 -6
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +2 -2
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +32 -10
- package/src/built-in/layout-component/components/ui/HDropdownMenu.vue +19 -26
- package/src/built-in/layout-component/composables/useGetComputedStyle.ts +2 -3
- package/src/built-in/layout-component/composables/useGlobalSearch.ts +48 -0
- package/src/built-in/layout-component/composables/useHotkey.ts +6 -10
- package/src/built-in/layout-component/composables/useMainPage.ts +5 -6
- package/src/built-in/layout-component/composables/useMenu.ts +3 -5
- package/src/built-in/layout-component/composables/useTabbar.ts +3 -5
- package/src/built-in/layout-component/composables/useTitle.ts +2 -3
- package/src/built-in/layout-component/composables/useWatermark.ts +25 -12
- package/src/built-in/layout-component/index.ts +21 -12
- package/src/built-in/layout-component/provider.ts +6 -2
- package/src/built-in/layout-component/utils/index.ts +0 -1
- package/src/built-in/settings/router.ts +5 -1
- package/src/features/assets/fonts/digital-7/digital-7-webfont.svg +131 -133
- package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +130 -132
- package/src/features/assets/images/org.svg +2 -2
- package/src/features/components/NotAllowed/assets/403.svg +1 -1
- package/src/features/components/NotAllowed/assets/403_dark.svg +1 -1
- package/src/features/components/PubinfoIcon/index.vue +1 -1
- package/src/features/pages/not-found/assets/404.svg +1 -1
- package/src/features/pages/not-found/assets/404_dark.svg +1 -1
- package/src/features/stores/utils/routerHelper.ts +3 -0
- package/src/index.ts +7 -9
- package/dist/built-in/layout-component/utils/eventBus.d.ts +0 -5
- package/dist/index-CkyHqPON.js +0 -139
- package/dist/index-xzfvpJSq.js +0 -234
- package/src/built-in/layout-component/components/Tools/DayNightSwitch.vue +0 -70
- package/src/built-in/layout-component/utils/eventBus.ts +0 -8
- /package/dist/built-in/layout-component/components/Tools/{DayNightSwitch.vue.d.ts → DarkModeToggle.vue.d.ts} +0 -0
- /package/dist/built-in/layout-component/components/Tools/{Search.vue.d.ts → SearchPanel.vue.d.ts} +0 -0
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { useContext } from '../../composables/useContext';
|
|
3
|
-
|
|
4
|
-
defineOptions({
|
|
5
|
-
name: 'DayNightSwitch',
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
const { settingsStore } = useContext();
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
<template>
|
|
12
|
-
<label v-if="settingsStore.settings.toolbar.enableColorScheme" class="day-night">
|
|
13
|
-
<div
|
|
14
|
-
class="animate-icon"
|
|
15
|
-
:class="{
|
|
16
|
-
'animate-icon-day': settingsStore.settings.app.colorScheme !== 'dark',
|
|
17
|
-
}"
|
|
18
|
-
/>
|
|
19
|
-
</label>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<style scoped>
|
|
23
|
-
.day-night {
|
|
24
|
-
--at-apply: size-11 cursor-pointer scale-45;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.animate-icon {
|
|
28
|
-
--at-apply: relative size-38px rounded-1/2 ;
|
|
29
|
-
box-shadow: inset 16px -16px 0 0 #fff;
|
|
30
|
-
transition: box-shadow 0.5s ease 0s, transform 0.4s ease 0.1s;
|
|
31
|
-
transform: scale(1) rotate(-2deg);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.animate-icon::before {
|
|
35
|
-
--at-apply: absolute w-[inherit] h-[inherit] content-empty rounded-[inherit] left-0 top-0;
|
|
36
|
-
transition: background 0.3s ease;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.animate-icon::after {
|
|
40
|
-
--at-apply: absolute top-1/2 left-1/2 size-2 -ml-1 mr-0 -mt-1 mb-0 rounded-[50%] content-empty;
|
|
41
|
-
box-shadow:
|
|
42
|
-
0 -23px 0 #ffce6e,
|
|
43
|
-
0 23px 0 #ffce6e,
|
|
44
|
-
23px 0 0 #ffce6e,
|
|
45
|
-
-23px 0 0 #ffce6e,
|
|
46
|
-
15px 15px 0 #ffce6e,
|
|
47
|
-
-15px 15px 0 #ffce6e,
|
|
48
|
-
15px -15px 0 #ffce6e,
|
|
49
|
-
-15px -15px 0 #ffce6e;
|
|
50
|
-
transition: all 0.3s ease;
|
|
51
|
-
transform: scale(0);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.animate-icon-day {
|
|
55
|
-
--at-apply: size-11;
|
|
56
|
-
box-shadow: inset 32px -32px 0 0 #fff;
|
|
57
|
-
transition: transform 0.3s ease 0.1s, box-shadow 0.2s ease 0s;
|
|
58
|
-
transform: scale(0.5) rotate(0deg);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.animate-icon-day::before {
|
|
62
|
-
background: #ffce6e;
|
|
63
|
-
transition: background 0.3s ease 0.1s;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.animate-icon-day::after {
|
|
67
|
-
transition: transform 0.5s ease 0.15s;
|
|
68
|
-
transform: scale(1.5);
|
|
69
|
-
}
|
|
70
|
-
</style>
|
|
File without changes
|
/package/dist/built-in/layout-component/components/Tools/{Search.vue.d.ts → SearchPanel.vue.d.ts}
RENAMED
|
File without changes
|