@campus-admin/core 2.0.6 → 2.0.8

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;
@@ -82,6 +112,15 @@ export declare function createCampusI18n(options: CampusOptions): import("vue-i1
82
112
  unavailableTitle: string;
83
113
  unavailableDesc: string;
84
114
  };
115
+ menuSearch: {
116
+ title: string;
117
+ placeholder: string;
118
+ results: string;
119
+ empty: string;
120
+ navigate: string;
121
+ open: string;
122
+ close: string;
123
+ };
85
124
  header: {
86
125
  language: string;
87
126
  theme: string;
@@ -98,6 +137,8 @@ export declare function createCampusI18n(options: CampusOptions): import("vue-i1
98
137
  account: string;
99
138
  };
100
139
  settings: {
140
+ deviceNote: string;
141
+ siteDefault: string;
101
142
  title: string;
102
143
  themeMode: string;
103
144
  themeColor: string;
@@ -176,6 +217,36 @@ export declare function createCampusI18n(options: CampusOptions): import("vue-i1
176
217
  };
177
218
  'en-US': {
178
219
  campus: {
220
+ doc: {
221
+ sheetjsDependency: string;
222
+ title: string;
223
+ download: string;
224
+ retry: string;
225
+ empty: string;
226
+ unsupported: string;
227
+ convert: string;
228
+ dependency: string;
229
+ tooLarge: string;
230
+ invalidSize: string;
231
+ invalidFile: string;
232
+ fetchFailed: string;
233
+ renderFailed: string;
234
+ complex: string;
235
+ timeout: string;
236
+ diagramFailed: string;
237
+ toc: string;
238
+ sheets: string;
239
+ more: string;
240
+ rows: string;
241
+ previous: string;
242
+ next: string;
243
+ page: string;
244
+ zoom: string;
245
+ fit: string;
246
+ word: string;
247
+ expand: string;
248
+ restore: string;
249
+ };
179
250
  notify: {
180
251
  success: string;
181
252
  info: string;
@@ -250,6 +321,15 @@ export declare function createCampusI18n(options: CampusOptions): import("vue-i1
250
321
  unavailableTitle: string;
251
322
  unavailableDesc: string;
252
323
  };
324
+ menuSearch: {
325
+ title: string;
326
+ placeholder: string;
327
+ results: string;
328
+ empty: string;
329
+ navigate: string;
330
+ open: string;
331
+ close: string;
332
+ };
253
333
  header: {
254
334
  language: string;
255
335
  theme: string;
@@ -266,6 +346,8 @@ export declare function createCampusI18n(options: CampusOptions): import("vue-i1
266
346
  account: string;
267
347
  };
268
348
  settings: {
349
+ deviceNote: string;
350
+ siteDefault: string;
269
351
  title: string;
270
352
  themeMode: string;
271
353
  themeColor: string;