mamba-layout 0.1.0

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 (169) hide show
  1. package/README.md +47 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  3. package/dist/assets/logo.png.js +4 -0
  4. package/dist/components/UserAvatar/index.d.ts +2 -0
  5. package/dist/components/UserAvatar/index.js +5 -0
  6. package/dist/components/UserAvatar/src/UserAvatar.css +1 -0
  7. package/dist/components/UserAvatar/src/UserAvatar.vue.d.ts +9 -0
  8. package/dist/components/UserAvatar/src/UserAvatar.vue.js +7 -0
  9. package/dist/components/UserAvatar/src/UserAvatar.vue2.js +61 -0
  10. package/dist/components/index.d.ts +2 -0
  11. package/dist/components/index.js +51 -0
  12. package/dist/index.d.ts +13 -0
  13. package/dist/index.js +80 -0
  14. package/dist/layout/BaseLayout.css +1 -0
  15. package/dist/layout/BaseLayout.vue.d.ts +23 -0
  16. package/dist/layout/BaseLayout.vue.js +7 -0
  17. package/dist/layout/BaseLayout.vue2.js +75 -0
  18. package/dist/layout/components/AppSelect.css +1 -0
  19. package/dist/layout/components/AppSelect.vue.d.ts +2 -0
  20. package/dist/layout/components/AppSelect.vue.js +7 -0
  21. package/dist/layout/components/AppSelect.vue2.js +69 -0
  22. package/dist/layout/components/AsideBar.css +1 -0
  23. package/dist/layout/components/AsideBar.vue.d.ts +21 -0
  24. package/dist/layout/components/AsideBar.vue.js +7 -0
  25. package/dist/layout/components/AsideBar.vue2.js +49 -0
  26. package/dist/layout/components/AsideSubMenuItem.vue.d.ts +25 -0
  27. package/dist/layout/components/AsideSubMenuItem.vue.js +84 -0
  28. package/dist/layout/components/AsideSubMenuItem.vue2.js +4 -0
  29. package/dist/layout/components/AsideSubMenus.vue.d.ts +16 -0
  30. package/dist/layout/components/AsideSubMenus.vue.js +36 -0
  31. package/dist/layout/components/AsideSubMenus.vue2.js +4 -0
  32. package/dist/layout/components/AsideTabMenus.vue.d.ts +2 -0
  33. package/dist/layout/components/AsideTabMenus.vue.js +41 -0
  34. package/dist/layout/components/AsideTabMenus.vue2.js +4 -0
  35. package/dist/layout/components/AsideUser.vue.d.ts +2 -0
  36. package/dist/layout/components/AsideUser.vue.js +58 -0
  37. package/dist/layout/components/AsideUser.vue2.js +4 -0
  38. package/dist/layout/components/HeaderBar.css +1 -0
  39. package/dist/layout/components/HeaderBar.vue.d.ts +17 -0
  40. package/dist/layout/components/HeaderBar.vue.js +7 -0
  41. package/dist/layout/components/HeaderBar.vue2.js +55 -0
  42. package/dist/layout/components/HeaderMenuToggle.vue.d.ts +25 -0
  43. package/dist/layout/components/HeaderMenuToggle.vue.js +40 -0
  44. package/dist/layout/components/HeaderMenuToggle.vue2.js +4 -0
  45. package/dist/layout/components/LanguageSelect.css +1 -0
  46. package/dist/layout/components/LanguageSelect.vue.d.ts +22 -0
  47. package/dist/layout/components/LanguageSelect.vue.js +8 -0
  48. package/dist/layout/components/LanguageSelect.vue2.js +101 -0
  49. package/dist/layout/components/LanguageSelect2.css +1 -0
  50. package/dist/layout/components/LayoutBreadcrumb.css +1 -0
  51. package/dist/layout/components/LayoutBreadcrumb.vue.d.ts +29 -0
  52. package/dist/layout/components/LayoutBreadcrumb.vue.js +7 -0
  53. package/dist/layout/components/LayoutBreadcrumb.vue2.js +189 -0
  54. package/dist/layout/components/MenuDrawer.css +1 -0
  55. package/dist/layout/components/MenuDrawer.vue.d.ts +12 -0
  56. package/dist/layout/components/MenuDrawer.vue.js +163 -0
  57. package/dist/layout/components/MenuDrawer.vue3.js +5 -0
  58. package/dist/layout/components/MenuItemIcon.css +1 -0
  59. package/dist/layout/components/MenuItemIcon.vue.d.ts +7 -0
  60. package/dist/layout/components/MenuItemIcon.vue.js +7 -0
  61. package/dist/layout/components/MenuItemIcon.vue2.js +23 -0
  62. package/dist/layout/components/NavIconBtn.css +1 -0
  63. package/dist/layout/components/NavIconBtn.vue.d.ts +26 -0
  64. package/dist/layout/components/NavIconBtn.vue.js +7 -0
  65. package/dist/layout/components/NavIconBtn.vue2.js +23 -0
  66. package/dist/layout/components/SHeaderRight.css +1 -0
  67. package/dist/layout/components/SHeaderRight.vue.d.ts +2 -0
  68. package/dist/layout/components/SHeaderRight.vue.js +7 -0
  69. package/dist/layout/components/SHeaderRight.vue2.js +80 -0
  70. package/dist/layout/components/ThemeToggle.css +1 -0
  71. package/dist/layout/components/ThemeToggle.vue.d.ts +2 -0
  72. package/dist/layout/components/ThemeToggle.vue.js +7 -0
  73. package/dist/layout/components/ThemeToggle.vue2.js +30 -0
  74. package/dist/layout/components/TimezoneSelect.css +1 -0
  75. package/dist/layout/components/TimezoneSelect.vue.d.ts +7 -0
  76. package/dist/layout/components/TimezoneSelect.vue.js +8 -0
  77. package/dist/layout/components/TimezoneSelect.vue2.js +78 -0
  78. package/dist/layout/components/TimezoneSelect2.css +1 -0
  79. package/dist/layout/components/UserInfo.css +1 -0
  80. package/dist/layout/components/UserInfo.vue.d.ts +2 -0
  81. package/dist/layout/components/UserInfo.vue.js +8 -0
  82. package/dist/layout/components/UserInfo.vue2.js +111 -0
  83. package/dist/layout/components/UserInfo2.css +1 -0
  84. package/dist/layout/components/index.d.ts +23 -0
  85. package/dist/layout/components/index.js +49 -0
  86. package/dist/layout/components/mobile/AppSelectMobile.vue.d.ts +2 -0
  87. package/dist/layout/components/mobile/AppSelectMobile.vue.js +60 -0
  88. package/dist/layout/components/mobile/AppSelectMobile.vue2.js +4 -0
  89. package/dist/layout/components/mobile/AsideBarMobile.css +1 -0
  90. package/dist/layout/components/mobile/AsideBarMobile.vue.d.ts +21 -0
  91. package/dist/layout/components/mobile/AsideBarMobile.vue.js +7 -0
  92. package/dist/layout/components/mobile/AsideBarMobile.vue2.js +47 -0
  93. package/dist/layout/components/mobile/AsideUserMobile.css +1 -0
  94. package/dist/layout/components/mobile/AsideUserMobile.vue.d.ts +2 -0
  95. package/dist/layout/components/mobile/AsideUserMobile.vue.js +7 -0
  96. package/dist/layout/components/mobile/AsideUserMobile.vue2.js +56 -0
  97. package/dist/layout/components/mobile/AsideUserMobilePopover.css +1 -0
  98. package/dist/layout/components/mobile/AsideUserMobilePopover.vue.d.ts +17 -0
  99. package/dist/layout/components/mobile/AsideUserMobilePopover.vue.js +7 -0
  100. package/dist/layout/components/mobile/AsideUserMobilePopover.vue2.js +52 -0
  101. package/dist/layout/components/mobile/HeaderRightMobile.css +1 -0
  102. package/dist/layout/components/mobile/HeaderRightMobile.vue.d.ts +2 -0
  103. package/dist/layout/components/mobile/HeaderRightMobile.vue.js +7 -0
  104. package/dist/layout/components/mobile/HeaderRightMobile.vue2.js +50 -0
  105. package/dist/layout/components/mobile/MobileMenuToggle.css +1 -0
  106. package/dist/layout/components/mobile/MobileMenuToggle.vue.d.ts +2 -0
  107. package/dist/layout/components/mobile/MobileMenuToggle.vue.js +7 -0
  108. package/dist/layout/components/mobile/MobileMenuToggle.vue2.js +31 -0
  109. package/dist/layout/hooks/index.d.ts +4 -0
  110. package/dist/layout/hooks/index.js +17 -0
  111. package/dist/layout/hooks/useApp.d.ts +6 -0
  112. package/dist/layout/hooks/useApp.js +20 -0
  113. package/dist/layout/hooks/useSetting.d.ts +62 -0
  114. package/dist/layout/hooks/useSetting.js +24 -0
  115. package/dist/layout/hooks/useState.d.ts +763 -0
  116. package/dist/layout/hooks/useState.js +99 -0
  117. package/dist/layout/hooks/useTheme.d.ts +15 -0
  118. package/dist/layout/hooks/useTheme.js +44 -0
  119. package/dist/layout/utils/index.d.ts +7 -0
  120. package/dist/layout/utils/index.js +59 -0
  121. package/dist/layout.css +1 -0
  122. package/dist/layout.es.js +53770 -0
  123. package/dist/layout.global.js +78 -0
  124. package/dist/locales/en/account.d.ts +10 -0
  125. package/dist/locales/en/account.js +12 -0
  126. package/dist/locales/en/admin.d.ts +207 -0
  127. package/dist/locales/en/admin.js +209 -0
  128. package/dist/locales/en/common.d.ts +40 -0
  129. package/dist/locales/en/common.js +42 -0
  130. package/dist/locales/en/components.d.ts +37 -0
  131. package/dist/locales/en/components.js +39 -0
  132. package/dist/locales/en/constant.d.ts +151 -0
  133. package/dist/locales/en/constant.js +153 -0
  134. package/dist/locales/en/filterBox.d.ts +11 -0
  135. package/dist/locales/en/filterBox.js +13 -0
  136. package/dist/locales/en/index.d.ts +487 -0
  137. package/dist/locales/en/index.js +22 -0
  138. package/dist/locales/en/instanceForm.d.ts +17 -0
  139. package/dist/locales/en/instanceForm.js +19 -0
  140. package/dist/locales/en/password.d.ts +18 -0
  141. package/dist/locales/en/password.js +20 -0
  142. package/dist/locales/index.d.ts +973 -0
  143. package/dist/locales/index.js +12 -0
  144. package/dist/locales/messages.d.ts +973 -0
  145. package/dist/locales/messages.js +9 -0
  146. package/dist/locales/zh-cn/account.d.ts +10 -0
  147. package/dist/locales/zh-cn/account.js +12 -0
  148. package/dist/locales/zh-cn/admin.d.ts +205 -0
  149. package/dist/locales/zh-cn/admin.js +207 -0
  150. package/dist/locales/zh-cn/common.d.ts +40 -0
  151. package/dist/locales/zh-cn/common.js +42 -0
  152. package/dist/locales/zh-cn/components.d.ts +37 -0
  153. package/dist/locales/zh-cn/components.js +39 -0
  154. package/dist/locales/zh-cn/constant.d.ts +151 -0
  155. package/dist/locales/zh-cn/constant.js +153 -0
  156. package/dist/locales/zh-cn/filterBox.d.ts +11 -0
  157. package/dist/locales/zh-cn/filterBox.js +13 -0
  158. package/dist/locales/zh-cn/index.d.ts +485 -0
  159. package/dist/locales/zh-cn/index.js +22 -0
  160. package/dist/locales/zh-cn/instanceForm.d.ts +17 -0
  161. package/dist/locales/zh-cn/instanceForm.js +19 -0
  162. package/dist/locales/zh-cn/password.d.ts +18 -0
  163. package/dist/locales/zh-cn/password.js +20 -0
  164. package/dist/standalone.d.ts +0 -0
  165. package/dist/utils/createContext.d.ts +8 -0
  166. package/dist/utils/createContext.js +14 -0
  167. package/dist/utils/repoUtils.d.ts +59 -0
  168. package/dist/utils/repoUtils.js +160 -0
  169. package/package.json +110 -0
@@ -0,0 +1,485 @@
1
+ declare const _default: {
2
+ name: string;
3
+ common: {
4
+ btn: {
5
+ agree: string;
6
+ disagree: string;
7
+ create: string;
8
+ add: string;
9
+ delete: string;
10
+ save: string;
11
+ edit: string;
12
+ cancel: string;
13
+ upload: string;
14
+ copy: string;
15
+ selectAll: string;
16
+ modify: string;
17
+ confirm: string;
18
+ logout: string;
19
+ login: string;
20
+ loginLoading: string;
21
+ operation: string;
22
+ };
23
+ rule: {
24
+ formatError: string;
25
+ };
26
+ label: {
27
+ all: string;
28
+ operation: string;
29
+ tip: string;
30
+ search: string;
31
+ };
32
+ msg: {
33
+ pleaseSelect: string;
34
+ success: string;
35
+ pleaseEnter: string;
36
+ confirmDelete: string;
37
+ fail: string;
38
+ };
39
+ pleaseSelect: string;
40
+ seeMore: string;
41
+ };
42
+ account: {
43
+ label: {
44
+ clickToChangeImage: string;
45
+ };
46
+ msg: {
47
+ uploadIng: string;
48
+ agreementTip1: string;
49
+ };
50
+ };
51
+ admin: {
52
+ label: {
53
+ agreement: string;
54
+ and: string;
55
+ privacy: string;
56
+ userPolicy: string;
57
+ profile: string;
58
+ dataValue: string;
59
+ tagName: string;
60
+ sort: string;
61
+ notes: string;
62
+ query: string;
63
+ type: string;
64
+ describe: string;
65
+ creationTime: string;
66
+ description: string;
67
+ status: string;
68
+ user: string;
69
+ userId: string;
70
+ userName: string;
71
+ fullName: string;
72
+ contactNum: string;
73
+ email: string;
74
+ password: string;
75
+ confirmPassword: string;
76
+ role: string;
77
+ companyName: string;
78
+ tenantId: string;
79
+ adminUsername: string;
80
+ adminName: string;
81
+ adminPhone: string;
82
+ adminEmail: string;
83
+ adminInfo: string;
84
+ belongService: string;
85
+ roleName: string;
86
+ roleCode: string;
87
+ roleDesc: string;
88
+ roleAuth: string;
89
+ menuAuth: string;
90
+ menuName: string;
91
+ menu: string;
92
+ button: string;
93
+ rootMenu: string;
94
+ parent: string;
95
+ menuPath: string;
96
+ icon: string;
97
+ permission: string;
98
+ name: string;
99
+ menuPermissionAuth: string;
100
+ available: string;
101
+ unavailable: string;
102
+ categoryName: string;
103
+ path: string;
104
+ normal: string;
105
+ abnormal: string;
106
+ title: string;
107
+ ipAddress: string;
108
+ method: string;
109
+ timeCons: string;
110
+ requestTime: string;
111
+ operator: string;
112
+ configType: string;
113
+ dictType: string;
114
+ accountPassword: string;
115
+ accountLogin: string;
116
+ fastLogin: string;
117
+ loginAccount: string;
118
+ phoneNum: string;
119
+ verifyCode: string;
120
+ application: string;
121
+ basicInfo: string;
122
+ isHide: string;
123
+ page: string;
124
+ enterpriseDisplayName: string;
125
+ register: string;
126
+ effective: string;
127
+ ineffective: string;
128
+ emailLogin: string;
129
+ welcomeLogin: string;
130
+ welcomeRegister: string;
131
+ multilingual: string;
132
+ userInfo: string;
133
+ securityInfo: string;
134
+ personalInfo: string;
135
+ isPublicMenu: string;
136
+ oldPrefix: string;
137
+ newPrefix: string;
138
+ aiInfra: string;
139
+ licenseValidity: string;
140
+ license: string;
141
+ updateLicense: string;
142
+ activated: string;
143
+ notActivated: string;
144
+ expired: string;
145
+ productCode: string;
146
+ expireTime: string;
147
+ remainingValidity: string;
148
+ days: string;
149
+ managedInstanceCount: string;
150
+ managedGpuCount: string;
151
+ modelProxyCount: string;
152
+ usageRate: string;
153
+ managedInstanceCountDesc: string;
154
+ managedGpuCountDesc: string;
155
+ modelProxyCountDesc: string;
156
+ efficientComputing: string;
157
+ dataSecurity: string;
158
+ intelligentAnalysis: string;
159
+ processManagement: string;
160
+ passwordLoginShort: string;
161
+ emailCodeLogin: string;
162
+ usernameOrEmail: string;
163
+ workEmail: string;
164
+ sixDigitCode: string;
165
+ readAndAgree: string;
166
+ privacyPolicy: string;
167
+ termsOfService: string;
168
+ backToSignIn: string;
169
+ createYourAccount: string;
170
+ createAccount: string;
171
+ confirmPasswordShort: string;
172
+ signInToAGIOne: string;
173
+ home: string;
174
+ };
175
+ btn: {
176
+ cancel: string;
177
+ changePassword: string;
178
+ createApiKey: string;
179
+ disable: string;
180
+ enable: string;
181
+ auth: string;
182
+ batchAdd: string;
183
+ permission: string;
184
+ createTenant: string;
185
+ resetPassword: string;
186
+ confirmPassword: string;
187
+ oldPassword: string;
188
+ newPassword: string;
189
+ registerAccount: string;
190
+ getCode: string;
191
+ loginAccount: string;
192
+ register: string;
193
+ signIn: string;
194
+ sendCode: string;
195
+ createAccount: string;
196
+ batchReplacePrefix: string;
197
+ copyJson: string;
198
+ importJson: string;
199
+ };
200
+ msg: {
201
+ nameRule1: string;
202
+ nameRule2: string;
203
+ nameRule3: string;
204
+ nameRuleError: string;
205
+ pleaseEnterPassword: string;
206
+ newPasswordNotEmpty: string;
207
+ passwordNotSame: string;
208
+ confirmPasswordNotEmpty: string;
209
+ confirmDeleteUser: string;
210
+ userNameLengthError: string;
211
+ adminUsernameLengthError: string;
212
+ adminUsernameRule3: string;
213
+ confirmDeleteRole: string;
214
+ adminUsernameRule5: string;
215
+ batchAddSuccess: string;
216
+ importMenuTitle: string;
217
+ pasteJson: string;
218
+ pasteJsonPlaceholder: string;
219
+ invalidMenuFormat: string;
220
+ importSuccess: string;
221
+ importFailed: string;
222
+ pleaseEnterPhoneNum: string;
223
+ usernameOrPasswordEmpty: string;
224
+ loginSuccess: string;
225
+ confirmPasswordError: string;
226
+ registerSuccess: string;
227
+ getCodeSuccess: string;
228
+ identifierRegistered: string;
229
+ getCodeAgain: string;
230
+ signingIn: string;
231
+ retrySendCode: string;
232
+ pleaseEnterEmail: string;
233
+ enableMenu: string;
234
+ disableMenu: string;
235
+ langMsg1: string;
236
+ pleaseEnterLicense: string;
237
+ apiKeyCreated: string;
238
+ accessKey: string;
239
+ secretKey: string;
240
+ copy: string;
241
+ apiKeySecretNotice: string;
242
+ dynamicKey: string;
243
+ authToken: string;
244
+ extendAmount: string;
245
+ timeUnit: string;
246
+ year: string;
247
+ month: string;
248
+ day: string;
249
+ hour: string;
250
+ keyTypeTooltip: string;
251
+ loginHeroTitle: string;
252
+ loginHeroDesc: string;
253
+ };
254
+ };
255
+ components: {
256
+ notFound: {
257
+ title: string;
258
+ description: string;
259
+ backToHome: string;
260
+ };
261
+ exportImport: {
262
+ selectExportTemplate: string;
263
+ selectImportMethod: string;
264
+ selectZipFile: string;
265
+ selectFolder: string;
266
+ unsupportedFileFormat: string;
267
+ importSuccess: string;
268
+ importComplete: string;
269
+ importStats: string;
270
+ total: string;
271
+ success: string;
272
+ failed: string;
273
+ skipped: string;
274
+ retry: string;
275
+ import: string;
276
+ cancel: string;
277
+ clear: string;
278
+ pleaseUploadFile: string;
279
+ uploadWarning: string;
280
+ };
281
+ layout: {
282
+ docsCenter: string;
283
+ };
284
+ fileSelector: {
285
+ dragOrClick: string;
286
+ selectFile: string;
287
+ folder: string;
288
+ file: string;
289
+ };
290
+ };
291
+ constant: {
292
+ label: {
293
+ languageModel: string;
294
+ };
295
+ dialogueSource: {
296
+ 1: string;
297
+ 2: string;
298
+ 3: string;
299
+ 4: string;
300
+ 5: string;
301
+ };
302
+ versionStatus: {
303
+ 0: string;
304
+ 1: string;
305
+ 2: string;
306
+ 3: string;
307
+ 4: string;
308
+ 5: string;
309
+ 6: string;
310
+ 7: string;
311
+ 8: string;
312
+ };
313
+ releaseAuditStatus: {
314
+ 0: string;
315
+ 1: string;
316
+ 2: string;
317
+ 3: string;
318
+ };
319
+ shelfStatus: {
320
+ 0: string;
321
+ 1: string;
322
+ 2: string;
323
+ 3: string;
324
+ };
325
+ isFree: {
326
+ 0: string;
327
+ 1: string;
328
+ };
329
+ modelType: {
330
+ 1: string;
331
+ 2: string;
332
+ 3: string;
333
+ 4: string;
334
+ 5: string;
335
+ 6: string;
336
+ };
337
+ modelSubType: {
338
+ 1: string;
339
+ 2: string;
340
+ 3: string;
341
+ 4: string;
342
+ 5: string;
343
+ };
344
+ appShareType: {
345
+ 1: string;
346
+ 2: string;
347
+ };
348
+ labelType: {
349
+ 1: string;
350
+ 2: string;
351
+ 3: string;
352
+ };
353
+ applicationType: {
354
+ 1: string;
355
+ 2: string;
356
+ };
357
+ applicationAuditStatus: {
358
+ 1: string;
359
+ 2: string;
360
+ 3: string;
361
+ };
362
+ trueOrFalse: {
363
+ true: string;
364
+ false: string;
365
+ };
366
+ templateType: {
367
+ 1: string;
368
+ 2: string;
369
+ };
370
+ useable: {
371
+ 1: string;
372
+ 2: string;
373
+ };
374
+ enable: {
375
+ 1: string;
376
+ 2: string;
377
+ };
378
+ tenantStatus: {
379
+ 1: string;
380
+ 2: string;
381
+ 3: string;
382
+ 4: string;
383
+ 5: string;
384
+ };
385
+ modelAuditStatus: {
386
+ 0: string;
387
+ 1: string;
388
+ 2: string;
389
+ 3: string;
390
+ 4: string;
391
+ 5: string;
392
+ 6: string;
393
+ 7: string;
394
+ 8: string;
395
+ };
396
+ modelStatus: {
397
+ 0: string;
398
+ 1: string;
399
+ 2: string;
400
+ 3: string;
401
+ };
402
+ userType: {
403
+ 0: string;
404
+ 1: string;
405
+ 2: string;
406
+ };
407
+ isActivity: {
408
+ 0: string;
409
+ 1: string;
410
+ };
411
+ isLimit: {
412
+ 1: string;
413
+ 0: string;
414
+ };
415
+ versionType: {
416
+ 1: string;
417
+ 2: string;
418
+ 3: string;
419
+ };
420
+ appTemplateType: {
421
+ 1: string;
422
+ 7: string;
423
+ };
424
+ auditStatus: {
425
+ 0: string;
426
+ 1: string;
427
+ 2: string;
428
+ 3: string;
429
+ };
430
+ onlineStatus: {
431
+ 0: string;
432
+ 1: string;
433
+ 2: string;
434
+ 3: string;
435
+ };
436
+ currency: {
437
+ CNY: string;
438
+ USD: string;
439
+ };
440
+ };
441
+ filterBox: {
442
+ label: {};
443
+ btn: {
444
+ search: string;
445
+ reset: string;
446
+ collapse: string;
447
+ expand: string;
448
+ };
449
+ msg: {};
450
+ };
451
+ password: {
452
+ label: {};
453
+ btn: {};
454
+ msg: {
455
+ lengthTip: string;
456
+ charTip: string;
457
+ charTypeTip: string;
458
+ charTypeUpper: string;
459
+ charTypeLower: string;
460
+ charNum: string;
461
+ charSpecial: string;
462
+ placeholder: string;
463
+ lengthError: string;
464
+ charError: string;
465
+ charTypeError: string;
466
+ };
467
+ };
468
+ instanceForm: {
469
+ label: {
470
+ otherConfig: string;
471
+ };
472
+ btn: {
473
+ prevStep: string;
474
+ nextStep: string;
475
+ submit: string;
476
+ };
477
+ msg: {
478
+ checkParams: string;
479
+ };
480
+ StaticPrefixInput: {
481
+ notEmpty: string;
482
+ };
483
+ };
484
+ };
485
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import o from "./account.js";
2
+ import m from "./admin.js";
3
+ import r from "./common.js";
4
+ import t from "./components.js";
5
+ import i from "./constant.js";
6
+ import n from "./filterBox.js";
7
+ import p from "./instanceForm.js";
8
+ import f from "./password.js";
9
+ const h = {
10
+ name: "中文简体",
11
+ common: r,
12
+ account: o,
13
+ admin: m,
14
+ components: t,
15
+ constant: i,
16
+ filterBox: n,
17
+ password: f,
18
+ instanceForm: p
19
+ };
20
+ export {
21
+ h as default
22
+ };
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ label: {
3
+ otherConfig: string;
4
+ };
5
+ btn: {
6
+ prevStep: string;
7
+ nextStep: string;
8
+ submit: string;
9
+ };
10
+ msg: {
11
+ checkParams: string;
12
+ };
13
+ StaticPrefixInput: {
14
+ notEmpty: string;
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,19 @@
1
+ const t = {
2
+ label: {
3
+ otherConfig: "其他配置"
4
+ },
5
+ btn: {
6
+ prevStep: "上一步",
7
+ nextStep: "下一步",
8
+ submit: "提交"
9
+ },
10
+ msg: {
11
+ checkParams: "请检查提交参数"
12
+ },
13
+ StaticPrefixInput: {
14
+ notEmpty: "不能为空"
15
+ }
16
+ };
17
+ export {
18
+ t as default
19
+ };
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ label: {};
3
+ btn: {};
4
+ msg: {
5
+ lengthTip: string;
6
+ charTip: string;
7
+ charTypeTip: string;
8
+ charTypeUpper: string;
9
+ charTypeLower: string;
10
+ charNum: string;
11
+ charSpecial: string;
12
+ placeholder: string;
13
+ lengthError: string;
14
+ charError: string;
15
+ charTypeError: string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,20 @@
1
+ const r = {
2
+ label: {},
3
+ btn: {},
4
+ msg: {
5
+ lengthTip: "长度在6-32字符之间",
6
+ charTip: `字母、数字、!{'@'}#$%^&*()-_=+{'{'}{'}'}[]{'|'}:;"'<>,.?/~)`,
7
+ charTypeTip: "需包含至少以下三种",
8
+ charTypeUpper: "大写字母",
9
+ charTypeLower: "小写字母",
10
+ charNum: "数字",
11
+ charSpecial: "特殊符号",
12
+ placeholder: "请输入密码(必填)",
13
+ lengthError: "密码长度为6-32个字符",
14
+ charError: "密码必须包含字母、数字、特殊符号",
15
+ charTypeError: "密码必须包含至少以下三种(大写字母、小写字母、数字、特殊符号)"
16
+ }
17
+ };
18
+ export {
19
+ r as default
20
+ };
File without changes
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @param providerComponentName - The name(s) of the component(s) providing the context.
3
+ *
4
+ * There are situations where context can come from multiple components. In such cases, you might need to give an array of component names to provide your context, instead of just a single string.
5
+ *
6
+ * @param contextName The description for injection key symbol.
7
+ */
8
+ export declare function createContext<ContextValue>(providerComponentName: string | string[], contextName?: string): readonly [<T extends ContextValue | null | undefined = ContextValue>(fallback?: T) => T extends null ? ContextValue | null : ContextValue, (contextValue: ContextValue) => ContextValue];
@@ -0,0 +1,14 @@
1
+ import { inject as i, provide as c } from "vue";
2
+ function j(t, s) {
3
+ const r = `${t}Context`, e = Symbol(r);
4
+ return [(n) => {
5
+ const o = i(e, n);
6
+ if (o || o === null) return o;
7
+ throw new Error(
8
+ `Injection \`${e.toString()}\` not found. Component must be used within ${Array.isArray(t) ? `one of the following components: ${t.join(", ")}` : `\`${t}\``}`
9
+ );
10
+ }, (n) => (c(e, n), n)];
11
+ }
12
+ export {
13
+ j as createContext
14
+ };
@@ -0,0 +1,59 @@
1
+ import { Router } from 'vue-router';
2
+ export type Language = "en-US" | "zh-CN";
3
+ export interface Translations {
4
+ [language: string]: Record<string, string>;
5
+ }
6
+ export interface LanguageConfig {
7
+ name?: string;
8
+ description?: string;
9
+ tooltip?: string;
10
+ }
11
+ export interface RouteItem {
12
+ id?: string;
13
+ path?: string;
14
+ name?: string;
15
+ icon?: string;
16
+ fullPath?: string;
17
+ title?: string;
18
+ children?: RouteItem[];
19
+ disabled?: boolean;
20
+ menuType?: string;
21
+ meta?: {
22
+ appId?: string;
23
+ appName?: string;
24
+ icon?: string;
25
+ isAffix?: boolean;
26
+ isHide?: boolean;
27
+ isKeepAlive?: boolean;
28
+ isLink?: boolean;
29
+ permissionMenuId?: string;
30
+ title?: string;
31
+ visible?: string;
32
+ translations?: Translations | LanguageConfig;
33
+ parent?: string;
34
+ parentPath?: string;
35
+ transition?: string;
36
+ hideSidebar?: boolean;
37
+ [key: string]: unknown;
38
+ };
39
+ [key: string]: unknown;
40
+ }
41
+ export declare const Storage: {
42
+ get<T = unknown>(key: string, defaultValue?: T | null): T;
43
+ set(key: string, value: unknown, expire?: number | null): void;
44
+ clear(): void;
45
+ };
46
+ export declare function deepMerge<T = unknown>(target: unknown, source: unknown): T;
47
+ export declare function getCurrentLocale(): Language;
48
+ export declare const tname: (translations: Translations | LanguageConfig, key: string, defaultValue?: string) => string;
49
+ export declare const replaceName: (name?: string) => string;
50
+ export declare const getRouteLastVisibleParentMenu: (path: string, menus: RouteItem[], lastVisibleParentMenu?: RouteItem) => string;
51
+ export declare const hasRoutePermission: (router: Router, to: string | Record<string, unknown>) => boolean;
52
+ export declare const useCurrentTimeZone: () => Readonly<import('vue').Ref<string, string>>;
53
+ export declare function setCurrentTimeZone(timeZone: string): void;
54
+ export declare const getTimeZoneLabel: (timeZone: string, date?: Date) => string;
55
+ export declare const getTimeZoneOptions: (date?: Date) => {
56
+ value: string;
57
+ label: string;
58
+ offset: string;
59
+ }[];