@pubinfo-pr/core 0.1.1 → 0.182.2

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.
Files changed (54) hide show
  1. package/dist/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue.d.ts +1 -5
  2. package/dist/built-in/authentication/pages/change-password/index.vue.d.ts +2 -10
  3. package/dist/built-in/layout-component/components/Menu/item.vue.d.ts +1 -1
  4. package/dist/built-in/layout-component/components/Menu/sub.vue.d.ts +17 -17
  5. package/dist/built-in/layout-component/components/Menu/types.d.ts +1 -1
  6. package/dist/built-in/layout-component/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +1 -1
  7. package/dist/built-in/layout-component/components/SettingBar/components/SettingCopyright.vue.d.ts +1 -1
  8. package/dist/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue.d.ts +1 -1
  9. package/dist/built-in/layout-component/components/SettingBar/components/SettingHome.vue.d.ts +1 -1
  10. package/dist/built-in/layout-component/components/SettingBar/components/SettingMenu.vue.d.ts +1 -1
  11. package/dist/built-in/layout-component/components/SettingBar/components/SettingMode.vue.d.ts +1 -1
  12. package/dist/built-in/layout-component/components/SettingBar/components/SettingNavSearch.vue.d.ts +1 -1
  13. package/dist/built-in/layout-component/components/SettingBar/components/SettingOther.vue.d.ts +1 -1
  14. package/dist/built-in/layout-component/components/SettingBar/components/SettingPage.vue.d.ts +1 -1
  15. package/dist/built-in/layout-component/components/SettingBar/components/SettingTabbar.vue.d.ts +1 -1
  16. package/dist/built-in/layout-component/components/SettingBar/components/SettingThemes.vue.d.ts +1 -1
  17. package/dist/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue.d.ts +1 -1
  18. package/dist/built-in/layout-component/components/SettingBar/components/SettingTopbar.vue.d.ts +1 -1
  19. package/dist/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue.d.ts +1 -1
  20. package/dist/built-in/layout-component/components/Sidebar/index.vue.d.ts +1 -1
  21. package/dist/built-in/layout-component/components/Tools/SearchPanel.vue.d.ts +15 -15
  22. package/dist/built-in/layout-component/components/ui/HBadge.vue.d.ts +20 -0
  23. package/dist/built-in/layout-component/components/ui/HButton.vue.d.ts +26 -0
  24. package/dist/built-in/layout-component/components/ui/HCheckList.vue.d.ts +20 -0
  25. package/dist/built-in/layout-component/components/ui/HDialog.vue.d.ts +39 -0
  26. package/dist/built-in/layout-component/components/ui/HDivider.vue.d.ts +20 -0
  27. package/dist/built-in/layout-component/components/ui/HDropdown.vue.d.ts +18 -0
  28. package/dist/built-in/layout-component/components/ui/HDropdownMenu.vue.d.ts +21 -0
  29. package/dist/built-in/layout-component/components/ui/HDropdownTree.vue.d.ts +32 -0
  30. package/dist/built-in/layout-component/components/ui/HInput.vue.d.ts +17 -0
  31. package/dist/built-in/layout-component/components/ui/HKbd.vue.d.ts +17 -0
  32. package/dist/built-in/layout-component/components/ui/HSelect.vue.d.ts +17 -0
  33. package/dist/built-in/layout-component/components/ui/HTabList.vue.d.ts +22 -0
  34. package/dist/built-in/layout-component/components/ui/HToggle.vue.d.ts +14 -0
  35. package/dist/built-in/layout-component/components/ui/HTooltip.vue.d.ts +23 -0
  36. package/dist/built-in/layout-component/composables/useContext.d.ts +1 -1
  37. package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +2 -2
  38. package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +3 -3
  39. package/dist/built-in/layout-component/composables/useLayoutVisible.d.ts +1 -12
  40. package/dist/built-in/layout-component/composables/useTabbar.d.ts +8 -8
  41. package/dist/built-in/layout-component/provider.d.ts +1 -24
  42. package/dist/features/components/PassStrengthValidator/index.vue.d.ts +6 -6
  43. package/dist/features/components/PubinfoProvider/index.d.ts +2 -12
  44. package/dist/features/composables/partyLogin.d.ts +3 -3
  45. package/dist/features/composables/theme.d.ts +1 -1
  46. package/dist/features/stores/modules/favorites.d.ts +9 -39
  47. package/dist/features/stores/modules/iframe.d.ts +15 -61
  48. package/dist/features/stores/modules/keepAlive.d.ts +9 -9
  49. package/dist/features/stores/modules/menu.d.ts +21 -255
  50. package/dist/features/stores/modules/route.d.ts +21 -189
  51. package/dist/features/stores/modules/settings.d.ts +33 -1662
  52. package/dist/features/stores/modules/tabbar.d.ts +9 -117
  53. package/package.json +7 -7
  54. package/types/auto-imports.d.ts +0 -9
@@ -2,44 +2,8 @@ import { Tabbar } from '../../../../types/tabbar';
2
2
  import { RouteLocationNormalized } from 'vue-router';
3
3
  import { STORE_NAME } from '../enum';
4
4
  declare const useTabbarStore: import('pinia').StoreDefinition<STORE_NAME.TABBAR, Pick<{
5
- list: globalThis.Ref<{
6
- tabId: string;
7
- fullPath: string;
8
- routeName?: import('vue-router').RouteRecordNameGeneric;
9
- activeMenu?: string | undefined;
10
- title?: string | (() => string) | undefined;
11
- i18n?: string | undefined;
12
- iframe?: string | ((user: User) => string | Promise<string>) | undefined;
13
- icon?: string | undefined;
14
- activeIcon?: string | undefined;
15
- name: string[];
16
- customTitleList: {
17
- fullPath: string;
18
- title: string;
19
- }[];
20
- isPin: boolean;
21
- isTabbar: boolean;
22
- isPermanent: boolean;
23
- }[], Tabbar.recordRaw[] | {
24
- tabId: string;
25
- fullPath: string;
26
- routeName?: import('vue-router').RouteRecordNameGeneric;
27
- activeMenu?: string | undefined;
28
- title?: string | (() => string) | undefined;
29
- i18n?: string | undefined;
30
- iframe?: string | ((user: User) => string | Promise<string>) | undefined;
31
- icon?: string | undefined;
32
- activeIcon?: string | undefined;
33
- name: string[];
34
- customTitleList: {
35
- fullPath: string;
36
- title: string;
37
- }[];
38
- isPin: boolean;
39
- isTabbar: boolean;
40
- isPermanent: boolean;
41
- }[]>;
42
- leaveIndex: globalThis.Ref<number, number>;
5
+ list: any;
6
+ leaveIndex: any;
43
7
  initPermanentTab: () => void;
44
8
  add: (route: RouteLocationNormalized) => Promise<void>;
45
9
  remove: (tabId: Tabbar.recordRaw["tabId"]) => void;
@@ -55,45 +19,9 @@ declare const useTabbarStore: import('pinia').StoreDefinition<STORE_NAME.TABBAR,
55
19
  title: string;
56
20
  }) => void;
57
21
  resetCustomTitle: (tabId: Tabbar.recordRaw["tabId"]) => void;
58
- }, "list" | "leaveIndex">, Pick<{
59
- list: globalThis.Ref<{
60
- tabId: string;
61
- fullPath: string;
62
- routeName?: import('vue-router').RouteRecordNameGeneric;
63
- activeMenu?: string | undefined;
64
- title?: string | (() => string) | undefined;
65
- i18n?: string | undefined;
66
- iframe?: string | ((user: User) => string | Promise<string>) | undefined;
67
- icon?: string | undefined;
68
- activeIcon?: string | undefined;
69
- name: string[];
70
- customTitleList: {
71
- fullPath: string;
72
- title: string;
73
- }[];
74
- isPin: boolean;
75
- isTabbar: boolean;
76
- isPermanent: boolean;
77
- }[], Tabbar.recordRaw[] | {
78
- tabId: string;
79
- fullPath: string;
80
- routeName?: import('vue-router').RouteRecordNameGeneric;
81
- activeMenu?: string | undefined;
82
- title?: string | (() => string) | undefined;
83
- i18n?: string | undefined;
84
- iframe?: string | ((user: User) => string | Promise<string>) | undefined;
85
- icon?: string | undefined;
86
- activeIcon?: string | undefined;
87
- name: string[];
88
- customTitleList: {
89
- fullPath: string;
90
- title: string;
91
- }[];
92
- isPin: boolean;
93
- isTabbar: boolean;
94
- isPermanent: boolean;
95
- }[]>;
96
- leaveIndex: globalThis.Ref<number, number>;
22
+ }, any>, Pick<{
23
+ list: any;
24
+ leaveIndex: any;
97
25
  initPermanentTab: () => void;
98
26
  add: (route: RouteLocationNormalized) => Promise<void>;
99
27
  remove: (tabId: Tabbar.recordRaw["tabId"]) => void;
@@ -109,45 +37,9 @@ declare const useTabbarStore: import('pinia').StoreDefinition<STORE_NAME.TABBAR,
109
37
  title: string;
110
38
  }) => void;
111
39
  resetCustomTitle: (tabId: Tabbar.recordRaw["tabId"]) => void;
112
- }, never>, Pick<{
113
- list: globalThis.Ref<{
114
- tabId: string;
115
- fullPath: string;
116
- routeName?: import('vue-router').RouteRecordNameGeneric;
117
- activeMenu?: string | undefined;
118
- title?: string | (() => string) | undefined;
119
- i18n?: string | undefined;
120
- iframe?: string | ((user: User) => string | Promise<string>) | undefined;
121
- icon?: string | undefined;
122
- activeIcon?: string | undefined;
123
- name: string[];
124
- customTitleList: {
125
- fullPath: string;
126
- title: string;
127
- }[];
128
- isPin: boolean;
129
- isTabbar: boolean;
130
- isPermanent: boolean;
131
- }[], Tabbar.recordRaw[] | {
132
- tabId: string;
133
- fullPath: string;
134
- routeName?: import('vue-router').RouteRecordNameGeneric;
135
- activeMenu?: string | undefined;
136
- title?: string | (() => string) | undefined;
137
- i18n?: string | undefined;
138
- iframe?: string | ((user: User) => string | Promise<string>) | undefined;
139
- icon?: string | undefined;
140
- activeIcon?: string | undefined;
141
- name: string[];
142
- customTitleList: {
143
- fullPath: string;
144
- title: string;
145
- }[];
146
- isPin: boolean;
147
- isTabbar: boolean;
148
- isPermanent: boolean;
149
- }[]>;
150
- leaveIndex: globalThis.Ref<number, number>;
40
+ }, any>, Pick<{
41
+ list: any;
42
+ leaveIndex: any;
151
43
  initPermanentTab: () => void;
152
44
  add: (route: RouteLocationNormalized) => Promise<void>;
153
45
  remove: (tabId: Tabbar.recordRaw["tabId"]) => void;
@@ -163,6 +55,6 @@ declare const useTabbarStore: import('pinia').StoreDefinition<STORE_NAME.TABBAR,
163
55
  title: string;
164
56
  }) => void;
165
57
  resetCustomTitle: (tabId: Tabbar.recordRaw["tabId"]) => void;
166
- }, "sort" | "add" | "remove" | "clean" | "initPermanentTab" | "removeOtherSide" | "removeLeftSide" | "removeRightSide" | "pin" | "unPin" | "setCustomTitle" | "resetCustomTitle">>;
58
+ }, any>>;
167
59
  export default useTabbarStore;
168
60
  export type TabbarStore = ReturnType<typeof useTabbarStore>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/core",
3
3
  "type": "module",
4
- "version": "0.1.1",
4
+ "version": "0.182.2",
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.1.1",
31
- "@pubinfo-pr/devtools": "0.1.1",
32
- "@pubinfo-pr/vite": "0.1.1",
30
+ "@pubinfo-pr/config": "0.182.2",
31
+ "@pubinfo-pr/devtools": "0.182.2",
32
+ "@pubinfo-pr/vite": "0.182.2",
33
33
  "alova": "^3.3.4",
34
34
  "pinia": "^3.0.3",
35
35
  "vue": "^3.5.17",
@@ -42,7 +42,7 @@
42
42
  "@headlessui/vue": "^1.7.23",
43
43
  "@imengyu/vue3-context-menu": "^1.5.1",
44
44
  "@pubinfo/pro-components": "^1.8.0",
45
- "@pubinfo-pr/shared": "0.1.1",
45
+ "@pubinfo-pr/shared": "0.182.2",
46
46
  "@unocss/reset": "^66.4.2",
47
47
  "@vueuse/core": "^13.7.0",
48
48
  "@vueuse/integrations": "^13.5.0",
@@ -69,10 +69,10 @@
69
69
  "@alova/mock": "^2.0.17",
70
70
  "@iconify/json": "^2.2.354",
71
71
  "@iconify/vue": "^5.0.0",
72
- "@pubinfo-pr/config": "0.1.1",
72
+ "@pubinfo-pr/config": "0.182.2",
73
73
  "@pubinfo/openapi": "^0.9.1",
74
74
  "@pubinfo/preset-openapi": "^0.9.1",
75
- "@pubinfo-pr/vite": "0.1.1",
75
+ "@pubinfo-pr/vite": "0.182.2",
76
76
  "@types/lodash-es": "^4.17.12",
77
77
  "@types/md5": "^2.3.5",
78
78
  "@types/nprogress": "^0.2.3",
@@ -56,25 +56,16 @@ declare global {
56
56
  const triggerRef: typeof import('vue')['triggerRef']
57
57
  const unref: typeof import('vue')['unref']
58
58
  const useAttrs: typeof import('vue')['useAttrs']
59
- const useAuth: typeof import('../src/composables/auth')['useAuth']
60
- const useBox: typeof import('../src/composables/log')['useBox']
61
59
  const useCssModule: typeof import('vue')['useCssModule']
62
60
  const useCssVars: typeof import('vue')['useCssVars']
63
- const useError: typeof import('../src/composables/log')['useError']
64
61
  const useId: typeof import('vue')['useId']
65
- const useInfo: typeof import('../src/composables/log')['useInfo']
66
62
  const useLink: typeof import('vue-router')['useLink']
67
63
  const useModel: typeof import('vue')['useModel']
68
64
  const useRoute: typeof import('vue-router')['useRoute']
69
65
  const useRouter: typeof import('vue-router')['useRouter']
70
66
  const useSlots: typeof import('vue')['useSlots']
71
- const useStart: typeof import('../src/composables/log')['useStart']
72
- const useSuccess: typeof import('../src/composables/log')['useSuccess']
73
67
  const useTemplateRef: typeof import('vue')['useTemplateRef']
74
- const useTheme: typeof import('../src/composables/theme')['useTheme']
75
- const useWarn: typeof import('../src/composables/log')['useWarn']
76
68
  const watch: typeof import('vue')['watch']
77
- const watchDiffObject: typeof import('../src/composables/watchDiff')['watchDiffObject']
78
69
  const watchEffect: typeof import('vue')['watchEffect']
79
70
  const watchPostEffect: typeof import('vue')['watchPostEffect']
80
71
  const watchSyncEffect: typeof import('vue')['watchSyncEffect']