@maxax/ui 1.1.38 → 1.1.39

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/locales.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './locale';
2
+ export { i18n, t } from './locale/i18n';
2
3
  //# sourceMappingURL=locales.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["../src/locales.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA"}
package/dist/locales.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { b, a, t, z } from "./utils-AJQhiAVr.js";
1
+ import { b, c, e, i, t, a, z } from "./i18n-YnPB7vlv.js";
2
2
  function getDefaultExportFromCjs(x) {
3
3
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
4
4
  }
@@ -3358,131 +3358,13 @@ function requireZhCN() {
3358
3358
  }
3359
3359
  var zhCNExports = requireZhCN();
3360
3360
  const zhCN = /* @__PURE__ */ getDefaultExportFromCjs(zhCNExports);
3361
- const en = {
3362
- name: "en-US",
3363
- max: {
3364
- icon: {
3365
- lang: "Switch Language",
3366
- fullscreen: "Fullscreen",
3367
- fullscreenExit: "Exit Fullscreen",
3368
- reload: "Reload Page",
3369
- collapse: "Collapse Menu",
3370
- expand: "Expand Menu",
3371
- pin: "Pin",
3372
- unpin: "Unpin"
3373
- },
3374
- notification: {
3375
- delete: "Are you sure you want to delete?"
3376
- },
3377
- basic: {
3378
- add: "Add",
3379
- edit: "Edit",
3380
- delete: "Delete",
3381
- view: "View",
3382
- reset: "Reset",
3383
- submit: "Submit",
3384
- open: "Open",
3385
- collapse: "Collapse",
3386
- selected: "Selected",
3387
- clear: "Clear",
3388
- item: "Item",
3389
- warning: "Warning",
3390
- export: "Export",
3391
- import: "Import",
3392
- print: "Print",
3393
- other: "",
3394
- exporting: "Exporting",
3395
- exportingTip: "Please wait, exporting data...",
3396
- exportSuccess: "Export Success",
3397
- exportFailed: "Export Failed",
3398
- downloading: "Downloading"
3399
- },
3400
- button: {
3401
- confirm: "Confirm",
3402
- cancel: "Cancel"
3403
- },
3404
- checkbox: {
3405
- selectAll: "Select All"
3406
- },
3407
- viewBar: {
3408
- prev: "Prev",
3409
- next: "Next"
3410
- },
3411
- messagebox: {
3412
- alert: "Warning",
3413
- error: "Format error"
3414
- },
3415
- upload: {
3416
- upload: "Upload",
3417
- uploadSuccess: "Upload Success",
3418
- uploadFailed: "Upload Failed",
3419
- downloadFile: "Download File",
3420
- previewFile: "Preview File",
3421
- removeFile: "Remove File"
3422
- },
3423
- dragVerify: {
3424
- text: "Drag the slider to verify",
3425
- successText: "Verification successful"
3426
- },
3427
- placeholder: {
3428
- input: "Please enter",
3429
- picker: "Please select",
3430
- select: "Please select"
3431
- },
3432
- region: {
3433
- province: "Province",
3434
- city: "City",
3435
- district: "District",
3436
- placeholder: "Select region",
3437
- clear: "Clear"
3438
- },
3439
- form: {
3440
- required: "Required",
3441
- max: "The character should be less than {max}"
3442
- },
3443
- table: {
3444
- empty: "No data",
3445
- loading: "Loading...",
3446
- noData: "No data",
3447
- noMatch: "No matching data",
3448
- noResult: "No result",
3449
- sum: "Sum",
3450
- avg: "Average"
3451
- },
3452
- treeSearch: {
3453
- searchPlaceholder: "Search keyword",
3454
- checkedButtonText: "Checked"
3455
- },
3456
- iconPicker: {
3457
- searchIcon: "Search icon",
3458
- iconNotExist: "Icon does not exist",
3459
- clear: "Clear"
3460
- },
3461
- import: {
3462
- import: "Import",
3463
- exportSuccess: "Export Success",
3464
- fileSizeLimit: "File size cannot exceed 50MB!",
3465
- uploadFile: "Please upload a file",
3466
- confirmImport: "Are you sure you want to import?",
3467
- confirm: "Confirm",
3468
- cancel: "Cancel",
3469
- uploadTip: "Click or drag file to this area to upload",
3470
- allowedFormats: "Allowed formats: xlsx, xls",
3471
- downloadTemplate: "Download Template",
3472
- updateExisting: "Update/Overwrite existing data",
3473
- noTemplateApi: "Template download API is not configured",
3474
- previewTitle: "Import Data Preview",
3475
- totalCount: "Total",
3476
- errorCount: "Errors",
3477
- back: "Back"
3478
- }
3479
- }
3480
- };
3481
3361
  export {
3482
3362
  b as buildLocaleContext,
3483
- a as buildTranslator,
3484
- en as enUS,
3485
- t as translate,
3363
+ c as buildTranslator,
3364
+ e as enUS,
3365
+ i as i18n,
3366
+ t,
3367
+ a as translate,
3486
3368
  enUS$2 as vxePCUiEnUS,
3487
3369
  zhCN$2 as vxePCUiZhCN,
3488
3370
  enUS as vxeTableEnUS,