nubomed-ui 2.0.170 → 2.0.171

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/nubomed-ui.umd.js CHANGED
@@ -388,7 +388,7 @@ module.exports = function (i) {
388
388
 
389
389
  /***/ }),
390
390
 
391
- /***/ 1190:
391
+ /***/ 425:
392
392
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
393
393
 
394
394
  "use strict";
@@ -401,142 +401,142 @@ __webpack_require__.d(__webpack_exports__, {
401
401
 
402
402
  // UNUSED EXPORTS: i18n, use
403
403
 
404
- ;// ./locale/lang/en-US.js
404
+ ;// ./locale/lang/zh-CN.js
405
405
  /*
406
406
  * @Author: chenghuan.dong
407
- * @Date: 2024-11-11 12:00:41
408
- * @LastEditTime: 2025-01-24 10:55:23
407
+ * @Date: 2024-11-11 11:59:27
408
+ * @LastEditTime: 2024-12-09 12:04:59
409
409
  * @LastEditors: chenghuan.dong
410
410
  * @Description:
411
- * @FilePath: \nubomed-ui\locale\lang\en-US.js
411
+ * @FilePath: \nubomed-ui\locale\lang\zh-CN.js
412
412
  */
413
- /* harmony default export */ var en_US = ({
413
+ /* harmony default export */ var zh_CN = ({
414
414
  nb: {
415
415
  // 耗材信息相关
416
- name: 'Item Name',
417
- consumableInfo: 'Medical Supply Info',
418
- spec: 'Spec',
419
- model: 'Model',
420
- barcode: 'Unique Code',
416
+ name: '品名',
417
+ consumableInfo: '耗材信息',
418
+ spec: '规格',
419
+ model: '型号',
420
+ barcode: '唯一码',
421
421
  combineCode: '品规码',
422
- batch: 'Batch No.',
423
- expiry: 'Expiry',
424
- count: 'Quantity',
425
- totalCount: 'Total',
426
- stockCount: 'Inventory',
427
- coefficient: 'Coefficient',
428
- position: 'Location',
429
- curPosition: 'Current Location',
430
- lastPosition: 'Last Known Location',
431
- manufacturer: 'Manufacturer',
432
- brand: 'Brand',
433
- supplier: 'Supplier',
434
- unit: 'Unit',
435
- price: 'Amount',
436
- unitPrice: 'Unit Price',
422
+ batch: '批号',
423
+ expiry: '效期',
424
+ count: '数量',
425
+ totalCount: '总数',
426
+ stockCount: '库存',
427
+ coefficient: '系数',
428
+ position: '位置',
429
+ curPosition: '当前位置',
430
+ lastPosition: '上次位置',
431
+ manufacturer: '生产厂家',
432
+ brand: '品牌',
433
+ supplier: '供应商',
434
+ unit: '单位',
435
+ price: '金额',
436
+ unitPrice: '单价',
437
437
  // 用户相关
438
- currentUser: 'Current User',
439
- operation: 'Operation',
440
- operator: 'Operator',
441
- operateTime: 'Operation Time',
442
- operateType: 'Operation Type',
438
+ currentUser: '当前用户',
439
+ operation: '操作',
440
+ operator: '操作人',
441
+ operateTime: '操作时间',
442
+ operateType: '操作类型',
443
443
  // 患者相关
444
- female: 'Female',
445
- male: 'Male',
444
+ female: '',
445
+ male: '',
446
446
  sex: '性别',
447
447
  age: '年龄',
448
448
  inpatientNum: '住院号',
449
449
  patientName: '患者姓名',
450
450
  // 日期相关
451
- yesterday: 'Yesterday',
452
- today: 'Today',
453
- tomorrow: 'Tomorrow',
454
- oneWeekAgo: 'Last Week',
455
- oneMonthAgo: 'Last Month',
451
+ yesterday: '昨天',
452
+ today: '今天',
453
+ tomorrow: '明天',
454
+ oneWeekAgo: '近一周',
455
+ oneMonthAgo: '近一月',
456
456
  // 数据展示
457
- status: 'Status',
457
+ status: '状态',
458
458
  dept: '科室',
459
- time: 'Time',
460
- type: 'Types',
459
+ time: '时间',
460
+ type: '类型',
461
461
  remark: '备注',
462
- temperature: 'Temperature',
463
- humidity: 'Humidity',
464
- invSurplus: 'Inventory Surplus',
465
- invLoss: 'Inventory Loss',
466
- invAccount: 'System Count',
467
- invActual: 'Auto Count',
468
- invIng: 'Counting...',
469
- upperStrata: 'Upper Level',
470
- onlineVersion: 'Online Version',
471
- offlineVersion: 'Offline Version',
472
- middleground: 'Middleware',
473
- middlegroundVersion: 'Middleware Version',
474
- embedded: 'Embedded',
475
- deviceNumber: 'Device Number',
476
- plateType: 'Board Type',
477
- version: 'Version Number',
478
- handwareAdress: 'Hardware Address',
479
- cabinetBoard: 'Cabinet Board',
480
- tempHumBoard: 'Temperature and Humidity Display Board',
481
- alarmBoard: 'Vibration Alarm Board',
462
+ temperature: '温度',
463
+ humidity: '湿度',
464
+ invSurplus: '盘盈',
465
+ invLoss: '盘亏',
466
+ invAccount: '账盘',
467
+ invActual: '机盘',
468
+ invIng: '盘点中...',
469
+ upperStrata: '上层',
470
+ onlineVersion: '在线版本',
471
+ offlineVersion: '离线版本',
472
+ middleground: '中台',
473
+ middlegroundVersion: '中台版本',
474
+ embedded: '嵌入式',
475
+ deviceNumber: '设备号',
476
+ plateType: '板类型',
477
+ version: '版本号',
478
+ handwareAdress: '硬件地址',
479
+ cabinetBoard: '柜板',
480
+ tempHumBoard: '温湿度显示板',
481
+ alarmBoard: '震动报警器板',
482
482
  // 状态相关
483
483
  state: {
484
484
  normal: '正常',
485
485
  abnormal: '异常',
486
- temporaryStop: 'Temporarily Disabled',
487
- disabled: 'Disabled',
488
- unopenedBottle: 'Unopened',
489
- openedBottle: 'Opened'
486
+ temporaryStop: '临时停用',
487
+ disabled: '已禁用',
488
+ unopenedBottle: '未开瓶',
489
+ openedBottle: '已开瓶'
490
490
  },
491
491
  // 按钮
492
492
  button: {
493
- back: 'Back',
494
- backToMain: 'Main Menu',
495
- logout: 'Exit',
496
- close: 'Close',
497
- add: 'Add',
498
- search: 'Search',
499
- detail: 'Details',
500
- cancel: 'Cancel',
501
- confirm: 'Confirm',
502
- iKnown: 'I Understand',
503
- known: 'Understood',
504
- refresh: 'Refresh',
505
- retest: 'Retesting',
506
- copy: 'Copy',
507
- clear: 'Clear',
508
- ignore: 'Ignore',
509
- ignoreSign: 'Ignore and Delete',
510
- look: 'Go to View',
511
- print: 'Print',
512
- retry: 'Retry',
513
- edit: 'Edit',
514
- save: 'Save',
515
- submit: 'Submit',
516
- againSubmit: 'Resubmit',
517
- continueSubmit: 'Continue Submitting',
518
- replyDelete: 'Backspace',
493
+ back: '返回',
494
+ backToMain: '返回主页',
495
+ logout: '退出',
496
+ close: '关闭',
497
+ add: '添加',
498
+ search: '搜索',
499
+ detail: '详情',
500
+ cancel: '取消',
501
+ confirm: '确定',
502
+ iKnown: '我知道了',
503
+ known: '知道了',
504
+ refresh: '刷新',
505
+ retest: '重新检测',
506
+ inventory: '盘点',
507
+ copy: '复制',
508
+ clear: '清空',
509
+ ignore: '忽略',
510
+ ignoreSign: '忽略并删除',
511
+ look: '前往查看',
512
+ print: '打印',
513
+ retry: '重试',
514
+ edit: '编辑',
515
+ save: '保存',
516
+ submit: '提交',
517
+ againSubmit: '重新提交',
518
+ continueSubmit: '继续提交',
519
+ replyDelete: '回删',
519
520
  retrospect: '追溯',
520
- inventory: 'Inventory Count',
521
- login: 'Login',
522
- openLock: 'Unlock',
523
- allOpenLock: 'Unlock All',
524
- openCabinet: `Open`,
525
- openAllCabinet: `Open All Cabinets`,
526
- hide: 'Collapse'
521
+ login: '登录',
522
+ openLock: '开锁',
523
+ allOpenLock: '全部开锁',
524
+ openCabinet: '开柜',
525
+ openAllCabinet: '全部<br>开柜',
526
+ hide: '收起'
527
527
  },
528
528
  // 表单相关
529
529
  form: {
530
- all: 'All',
531
- pleaseSelect: 'Please select',
532
- startDate: 'Start Date',
533
- endDate: 'End Date',
534
- startTime: 'Start Time',
535
- endTime: 'End Time'
530
+ all: '全部',
531
+ pleaseSelect: '请选择',
532
+ startDate: '开始日期',
533
+ endDate: '结束日期',
534
+ startTime: '开始时间',
535
+ endTime: '结束时间'
536
536
  },
537
537
  // 提示相关
538
538
  msg: {
539
- copySuccess: `Copy Successful!`,
539
+ copySuccess: '复制成功!',
540
540
  deleteFail: '删除失败!',
541
541
  deleteSuccess: '删除成功!',
542
542
  submitFail: '提交失败!',
@@ -549,30 +549,30 @@ __webpack_require__.d(__webpack_exports__, {
549
549
  },
550
550
  // 近效期
551
551
  expriy: {
552
- overdue: 'Expired',
553
- oneMonth: 'EXP 1M',
554
- threeMonth: 'EXP 3M',
555
- sixMonth: 'EXP 6M'
552
+ overdue: '过期',
553
+ oneMonth: '1个月',
554
+ threeMonth: '3个月',
555
+ sixMonth: '6个月'
556
556
  },
557
557
  // 柜子
558
558
  cabinet: {
559
- upCabinet: 'Top Section of Cabinet',
560
- downCabinet: 'Bottom Section of Cabinet',
561
- leftCabinet: 'Left Cabinet',
562
- rightCabinet: 'Right Cabinet',
563
- cabinetUnconnected: '{0} Not Connected',
564
- cabinetUnlock: '{0} Not Locked',
565
- cabinetLock: '{0} Locked',
566
- cabinetUnclosed: '{0} Not Closed',
567
- cabinetClosed: '{0} Closed'
559
+ upCabinet: '上柜',
560
+ downCabinet: '下柜',
561
+ leftCabinet: '左柜',
562
+ rightCabinet: '右柜',
563
+ cabinetUnconnected: '{0}未连接',
564
+ cabinetUnlock: '{0}未锁',
565
+ cabinetLock: '{0}已锁',
566
+ cabinetUnclosed: '{0}未关',
567
+ cabinetClosed: '{0}已关'
568
568
  },
569
569
  // 试剂类型
570
570
  reagentType: {
571
- mediumPackage: 'Medium Pack',
572
- singleMultiple: 'Single Dose Multiple Use',
573
- singleOnce: 'Single Dose One Time Use',
574
- opened: 'Opened',
575
- unopened: 'Unopened'
571
+ mediumPackage: '中包装',
572
+ singleMultiple: '单支多次',
573
+ singleOnce: '单支一次',
574
+ opened: '已开瓶',
575
+ unopened: '未开瓶'
576
576
  },
577
577
  // 紫外线消毒
578
578
  uv: {
@@ -589,27 +589,26 @@ __webpack_require__.d(__webpack_exports__, {
589
589
  pleaseLeaveCabinet: '正在紫外线消毒,请远离柜门'
590
590
  },
591
591
  // 其他
592
- loading: 'Loading...',
593
- release: 'Release Update',
594
- pullRefresh: 'Pull to Refresh',
595
- isEnd: 'Reached the End',
596
- noMoreData: 'No More Available',
597
- traceDetail: `Full Process Traceability Details`,
598
- notConfiguredOffline: 'Offline service not configured!'
592
+ loading: '加载中...',
593
+ release: '释放更新',
594
+ pullRefresh: '下拉刷新',
595
+ isEnd: '已经到底了',
596
+ noMoreData: '没有更多了',
597
+ traceDetail: '全流程追溯详情',
598
+ notConfiguredOffline: '未配置离线服务,请联系工程师处理!'
599
599
  }
600
600
  });
601
601
  ;// ./locale/index.js
602
602
  /*
603
603
  * @Author: chenghuan.dong
604
604
  * @Date: 2024-11-11 13:48:01
605
- * @LastEditTime: 2025-02-18 16:11:44
605
+ * @LastEditTime: 2024-11-25 20:12:26
606
606
  * @LastEditors: chenghuan.dong
607
607
  * @Description:
608
608
  * @FilePath: \nubomed-ui\locale\index.js
609
609
  */
610
- // import defaultLang from './lang/zh-CN'
611
610
 
612
- let lang = en_US;
611
+ let lang = zh_CN;
613
612
  let i18nHandler = function () {
614
613
  const vuei18n = Object.getPrototypeOf(this).$t;
615
614
  if (typeof vuei18n === 'function') {
@@ -21244,7 +21243,7 @@ function getCabinetStatus(lockStatus, doorStatus) {
21244
21243
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
21245
21244
 
21246
21245
  "use strict";
21247
- /* harmony import */ var _locale_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1190);
21246
+ /* harmony import */ var _locale_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(425);
21248
21247
  /*
21249
21248
  * @Author: chenghuan.dong
21250
21249
  * @Date: 2024-11-18 11:19:51
@@ -25904,7 +25903,7 @@ var esnext_iterator_constructor = __webpack_require__(8992);
25904
25903
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
25905
25904
  var esnext_iterator_for_each = __webpack_require__(3949);
25906
25905
  ;// ./package.json
25907
- var package_namespaceObject = {"rE":"2.0.170"};
25906
+ var package_namespaceObject = {"rE":"2.0.171"};
25908
25907
  ;// ./packages/utils/convert.js
25909
25908
  /**
25910
25909
  * 将大驼峰(camelCase)字符串转换为小写且带有空格分隔的形式(kebab-case)
@@ -25915,7 +25914,7 @@ function camelToKebab(camelCaseStr) {
25915
25914
  return camelCaseStr.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
25916
25915
  }
25917
25916
  // EXTERNAL MODULE: ./locale/index.js + 1 modules
25918
- var locale = __webpack_require__(1190);
25917
+ var locale = __webpack_require__(425);
25919
25918
  // EXTERNAL MODULE: ./packages/helps/cabinet-help.js
25920
25919
  var cabinet_help = __webpack_require__(249);
25921
25920
  // EXTERNAL MODULE: ./packages/utils/date-util.js