@campus-admin/core 2.0.6 → 2.0.7

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/context.d.ts CHANGED
@@ -35,18 +35,7 @@ export declare function campusPaths(options: Pick<CampusOptions, 'paths'>): {
35
35
  /** 侧栏只筛选可见入口,不改变路由和固定标签的数据。 */
36
36
  export declare function sideMenus(options: CampusOptions, can: (permission?: string) => boolean): {
37
37
  home: FlatPage | undefined;
38
- apps: {
39
- children: (MenuPage | {
40
- children: MenuPage[];
41
- key: string;
42
- title: string;
43
- icon?: import("@campus-admin/ui").IconValue;
44
- badge?: number | (() => number);
45
- })[];
46
- key: string;
47
- title: string;
48
- icon?: import("@campus-admin/ui").IconValue;
49
- }[];
38
+ apps: MenuApp[];
50
39
  accountStandalone: boolean;
51
40
  };
52
41
  /** 名称与路径分别配置,平台不必避开默认系统名称。 */
package/dist/i18n.d.ts CHANGED
@@ -8,6 +8,36 @@ import type { CampusOptions } from './types.js';
8
8
  export declare function createCampusI18n(options: CampusOptions): import("vue-i18n").I18n<{
9
9
  'zh-CN': {
10
10
  campus: {
11
+ doc: {
12
+ sheetjsDependency: string;
13
+ title: string;
14
+ download: string;
15
+ retry: string;
16
+ empty: string;
17
+ unsupported: string;
18
+ convert: string;
19
+ dependency: string;
20
+ tooLarge: string;
21
+ invalidSize: string;
22
+ invalidFile: string;
23
+ fetchFailed: string;
24
+ renderFailed: string;
25
+ complex: string;
26
+ timeout: string;
27
+ diagramFailed: string;
28
+ toc: string;
29
+ sheets: string;
30
+ more: string;
31
+ rows: string;
32
+ previous: string;
33
+ next: string;
34
+ page: string;
35
+ zoom: string;
36
+ fit: string;
37
+ word: string;
38
+ expand: string;
39
+ restore: string;
40
+ };
11
41
  notify: {
12
42
  success: string;
13
43
  info: string;
@@ -176,6 +206,36 @@ export declare function createCampusI18n(options: CampusOptions): import("vue-i1
176
206
  };
177
207
  'en-US': {
178
208
  campus: {
209
+ doc: {
210
+ sheetjsDependency: string;
211
+ title: string;
212
+ download: string;
213
+ retry: string;
214
+ empty: string;
215
+ unsupported: string;
216
+ convert: string;
217
+ dependency: string;
218
+ tooLarge: string;
219
+ invalidSize: string;
220
+ invalidFile: string;
221
+ fetchFailed: string;
222
+ renderFailed: string;
223
+ complex: string;
224
+ timeout: string;
225
+ diagramFailed: string;
226
+ toc: string;
227
+ sheets: string;
228
+ more: string;
229
+ rows: string;
230
+ previous: string;
231
+ next: string;
232
+ page: string;
233
+ zoom: string;
234
+ fit: string;
235
+ word: string;
236
+ expand: string;
237
+ restore: string;
238
+ };
179
239
  notify: {
180
240
  success: string;
181
241
  info: string;