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