@pubinfo/core 2.0.0-beta.26 → 2.0.0-beta.27
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-DodCOb_z.js → AppSetting-8APd2n5W.js} +16 -16
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js → HCheckList.vue_vue_type_script_setup_true_lang-xHHNH-Do.js} +2 -2
- package/dist/{PreferencesContent-Dic24ifo.js → PreferencesContent-B6v1Y85P.js} +86 -83
- package/dist/{SettingBreadcrumb-DWpbGcSy.js → SettingBreadcrumb-DRbL0ad_.js} +2 -2
- package/dist/{SettingCopyright-CIY0pFMT.js → SettingCopyright-BQF1UDPx.js} +1 -1
- package/dist/{SettingEnableTransition-f0xuLIrZ.js → SettingEnableTransition-COQvH_bE.js} +1 -1
- package/dist/{SettingHome-BFtJsJsN.js → SettingHome-BL-JRz6C.js} +1 -1
- package/dist/{SettingMenu-DuPD3iSG.js → SettingMenu-CL08Xnqj.js} +2 -2
- package/dist/{SettingMode-nZ65qSWK.js → SettingMode-CHFQfbwC.js} +1 -1
- package/dist/{SettingNavSearch-CrarPE7d.js → SettingNavSearch-D3EfJLm4.js} +1 -1
- package/dist/{SettingOther-BddvExCF.js → SettingOther-D8vWJBqB.js} +1 -1
- package/dist/{SettingPage-C6Na8HEN.js → SettingPage-C6834qKt.js} +1 -1
- package/dist/{SettingTabbar-nuwfRRaE.js → SettingTabbar-C4Nk7PaM.js} +2 -2
- package/dist/SettingThemes-CAiwgt41.js +145 -0
- package/dist/{SettingToolbar-BdizZaGF.js → SettingToolbar-Bue6Bsao.js} +1 -1
- package/dist/{SettingTopbar-D5BX5vS_.js → SettingTopbar-CklZW6nz.js} +2 -2
- package/dist/{SettingWidthMode-CHrLW3gs.js → SettingWidthMode-Ba5CjpXS.js} +1 -1
- package/dist/{TopThinMode-CttqTmaT.js → TopThinMode-BKgHAbKj.js} +1 -1
- package/dist/{_...all_--d4S-8dL.js → _...all_-CiLs5zE0.js} +1 -1
- package/dist/{colors-BOKDjZQI.js → colors-ehvAxkYC.js} +1 -1
- package/dist/index-64V9RiCt.js +240 -0
- package/dist/{index-Cf8yM5Cv.js → index-BK4luc55.js} +4 -4
- package/dist/index-BLvVzLOl.js +147 -0
- package/dist/{index-DORROKh7.js → index-BjAXx4BA.js} +3 -3
- package/dist/{index-dPREgrj8.js → index-C5TqLQ-T.js} +12 -12
- package/dist/{index-Bz9lh14R.js → index-CAjh59MN.js} +2 -2
- package/dist/{index-B0i20hau.js → index-CqQ-P_1q.js} +4 -4
- package/dist/index-DTsHMiQx.js +12711 -0
- package/dist/{index-DltN2SCZ.js → index-hjeR7S9d.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/{menu-Ddxel9ck.js → menu-D3oKigWX.js} +5 -5
- package/dist/pages/system/change-organization/index.vue.d.ts +1 -1
- package/dist/pages/system/change-password/index.vue.d.ts +1 -1
- package/dist/{pick-DEgsMKda.js → pick-Cku6R96i.js} +1 -1
- package/dist/request.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Bmtn9Oo4.js → toolbar-collapse-BhNN4H7Y.js} +419 -387
- package/package.json +3 -3
- package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
- package/src/layout/components/Tools/index.vue +1 -8
- package/src/pages/system/change-organization/index.vue +73 -65
- package/src/pages/system/change-password/index.vue +44 -36
- package/src/pages/system/not-permission/index.vue +2 -2
- package/dist/SettingThemes-DBq6j0zt.js +0 -144
- package/dist/index-CC3GE307.js +0 -137
- package/dist/index-Cygbc-66.js +0 -230
- package/dist/index-D0CMv5FJ.js +0 -12737
- package/src/layout/components/Tools/I18nSelector.vue +0 -52
- package/src/pages/system/change-password/page.vue +0 -58
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { getUILocales } from '@/locales';
|
|
3
|
-
import { useI18n } from 'vue-i18n';
|
|
4
|
-
import { useContext } from '../../composables/useContext';
|
|
5
|
-
|
|
6
|
-
// TODO 完成功能
|
|
7
|
-
|
|
8
|
-
defineOptions({
|
|
9
|
-
name: 'I18nSelector',
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
const { locale } = useI18n();
|
|
13
|
-
const route = useRoute();
|
|
14
|
-
|
|
15
|
-
const { settingsStore, generateI18nTitle } = useContext();
|
|
16
|
-
|
|
17
|
-
const UILocales = computed(() => getUILocales());
|
|
18
|
-
|
|
19
|
-
const langItems = computed(() => {
|
|
20
|
-
return Object.keys(UILocales.value).map((item: string) => {
|
|
21
|
-
const icons: Record<string, string> = {
|
|
22
|
-
'en': 'i-circle-flags-en',
|
|
23
|
-
'zh-cn': 'i-circle-flags-cn',
|
|
24
|
-
'zh-tw': 'i-circle-flags-cn',
|
|
25
|
-
};
|
|
26
|
-
return {
|
|
27
|
-
icon: icons[item],
|
|
28
|
-
label: UILocales.value[item].labelName,
|
|
29
|
-
disabled: settingsStore.settings.app.defaultLang === item,
|
|
30
|
-
handle: () => setLanguage(item),
|
|
31
|
-
};
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
function setLanguage(name: string) {
|
|
36
|
-
locale.value = name;
|
|
37
|
-
settingsStore.setDefaultLang(name);
|
|
38
|
-
|
|
39
|
-
if (route.meta.breadcrumbNeste?.at(-1)?.i18n || route.meta.breadcrumbNeste?.at(-1)?.title) {
|
|
40
|
-
settingsStore.setTitle(generateI18nTitle(route.meta.breadcrumbNeste?.at(-1)?.i18n, route.meta.breadcrumbNeste?.at(-1)?.title));
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
settingsStore.setTitle(generateI18nTitle(route.meta.i18n, route.meta.title));
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
</script>
|
|
47
|
-
|
|
48
|
-
<template>
|
|
49
|
-
<HDropdownMenu v-if="settingsStore.settings.toolbar.enableI18n" :items="[langItems]">
|
|
50
|
-
<slot />
|
|
51
|
-
</HDropdownMenu>
|
|
52
|
-
</template>
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { PassStrengthValidator } from '@/components';
|
|
3
|
-
import ChangePasswordForm from './components/ChangePasswordForm/index.vue';
|
|
4
|
-
|
|
5
|
-
defineOptions({
|
|
6
|
-
name: 'ChangePasswordPageView',
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
const ChangePassWordForm = ref<InstanceType<typeof ChangePasswordForm>>();
|
|
10
|
-
|
|
11
|
-
const newPassWord = computed({
|
|
12
|
-
get() {
|
|
13
|
-
return ChangePassWordForm.value?.formState.newPassword;
|
|
14
|
-
},
|
|
15
|
-
set() {},
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
const route = useRoute();
|
|
19
|
-
const token = route.params.changePassWordToken;
|
|
20
|
-
const isValidate = ref(false);
|
|
21
|
-
</script>
|
|
22
|
-
|
|
23
|
-
<template>
|
|
24
|
-
<div
|
|
25
|
-
flex="~"
|
|
26
|
-
w-full
|
|
27
|
-
h-full
|
|
28
|
-
>
|
|
29
|
-
<main
|
|
30
|
-
flex="~ auto center"
|
|
31
|
-
w-full
|
|
32
|
-
h-full
|
|
33
|
-
pt-10px
|
|
34
|
-
>
|
|
35
|
-
<div
|
|
36
|
-
w-full
|
|
37
|
-
h-full
|
|
38
|
-
flex="~"
|
|
39
|
-
justify-between
|
|
40
|
-
bg="#fff"
|
|
41
|
-
px-32px
|
|
42
|
-
py-20px
|
|
43
|
-
>
|
|
44
|
-
<div w-420px ml-60px mt-70px>
|
|
45
|
-
<div flex="~ col center" mb-40px>
|
|
46
|
-
<span text="18px" font="bold">
|
|
47
|
-
更改密码
|
|
48
|
-
</span>
|
|
49
|
-
</div>
|
|
50
|
-
<ChangePasswordForm ref="ChangePassWordForm" v-model:validate="isValidate" :token="token" />
|
|
51
|
-
</div>
|
|
52
|
-
<div w-644px py-15px bg="red">
|
|
53
|
-
<PassStrengthValidator v-model="newPassWord" v-model:validate="isValidate" />
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</main>
|
|
57
|
-
</div>
|
|
58
|
-
</template>
|