nubomed-ui 2.0.79 → 2.0.80

Sign up to get free protection for your applications and to get access to all the features.
package/lang/en-US.js CHANGED
@@ -1 +1,181 @@
1
- export default{nb:{name:"Item Name",consumableInfo:"Medical Supply Info",spec:"Spec",model:"Model",barcode:"Unique Code",combineCode:"品规码",batch:"Batch No.",expiry:"Expiry",count:"Quantity",totalCount:"Total",stockCount:"Inventory",coefficient:"Coefficient",position:"Location",curPosition:"Current Location",lastPosition:"Last Known Location",manufacturer:"Manufacturer",brand:"Brand",supplier:"Supplier",unit:"Unit",price:"Amount",unitPrice:"Unit Price",currentUser:"当前用户",operation:"Operation",operator:"Operator",operateTime:"Operation Time",operateType:"Operation Type",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"Inventory Surplus",invLoss:"Inventory Loss",invAccount:"System Count",invActual:"Auto Count",invIng:"Counting...",upperStrata:"Upper Level",onlineVersion:"Online Version",offlineVersion:"Offline Version",middleground:"Middleware",middlegroundVersion:"Middleware Version",embedded:"Embedded",deviceNumber:"Device Number",plateType:"Board Type",version:"Version Number",handwareAdress:"Hardware Address",cabinetBoard:"Cabinet Board",tempHumBoard:"Temperature and Humidity Display Board",alarmBoard:"Vibration Alarm Board",state:{normal:"正常",abnormal:"异常",temporaryStop:"Temporarily Disabled",disabled:"Disabled"},button:{back:"Back",backToMain:"Main Menu",logout:"Exit",close:"Close",add:"Add",search:"Search",detail:"Details",cancel:"Cancel",confirm:"Confirm",iKnown:"I Understand",known:"Understood",refresh:"Refresh",retest:"Retesting",copy:"Copy",clear:"Clear",ignore:"Ignore",ignoreSign:"Ignore and Delete",look:"Go to View",print:"Print",retry:"Retry",edit:"Edit",save:"Save",submit:"Submit",againSubmit:"Resubmit",continueSubmit:"Continue Submitting",replyDelete:"Backspace",retrospect:"追溯",inventory:"Inventory Count",login:"Login",openLock:"开锁",allOpenLock:"全部开锁"},form:{all:"全部",startTime:"开始时间",endTime:"结束时间"},msg:{copySuccess:"Copy Successful!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"Expired",oneMonth:"1 months",threeMonth:"3 months",sixMonth:"6 months"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"未连接",cabinetUnlock:"柜未锁",cabinetLock:"柜已锁",cabinetUnclosed:"柜未关",cabinetClosed:"柜已关"},reagentType:{mediumPackage:"Medium Pack",singleMultiple:"Single Dose Multiple Use",singleOnce:"Single Dose One Time Use",opened:"Opened",unopened:"Unopened"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了",traceDetail:"Full Process Traceability Details",notConfiguredOffline:"Offline service not configured!"}};
1
+ /*
2
+ * @Author: chenghuan.dong
3
+ * @Date: 2024-11-11 12:00:41
4
+ * @LastEditTime: 2024-11-26 10:53:14
5
+ * @LastEditors: chenghuan.dong
6
+ * @Description:
7
+ * @FilePath: \nubomed-ui\locale\lang\en-US.js
8
+ */
9
+ export default {
10
+ nb: {
11
+ // 耗材信息相关
12
+ name: 'Item Name',
13
+ consumableInfo: 'Medical Supply Info',
14
+ spec: 'Spec',
15
+ model: 'Model',
16
+ barcode: 'Unique Code',
17
+ combineCode: '品规码',
18
+ batch: 'Batch No.',
19
+ expiry: 'Expiry',
20
+ count: 'Quantity',
21
+ totalCount: 'Total',
22
+ stockCount: 'Inventory',
23
+ coefficient: 'Coefficient',
24
+ position: 'Location',
25
+ curPosition: 'Current Location',
26
+ lastPosition: 'Last Known Location',
27
+ manufacturer: 'Manufacturer',
28
+ brand: 'Brand',
29
+ supplier: 'Supplier',
30
+ unit: 'Unit',
31
+ price: 'Amount',
32
+ unitPrice: 'Unit Price',
33
+
34
+ // 用户相关
35
+ currentUser: '当前用户',
36
+ operation: 'Operation',
37
+ operator: 'Operator',
38
+ operateTime: 'Operation Time',
39
+ operateType: 'Operation Type',
40
+
41
+ // 患者相关
42
+ female: '女',
43
+ male: '男',
44
+ sex: '性别',
45
+ age: '年龄',
46
+ inpatientNum: '住院号',
47
+ patientName: '患者姓名',
48
+
49
+ // 日期相关
50
+ yesterday: '昨天',
51
+ today: '今天',
52
+ tomorrow: '明天',
53
+ oneWeekAgo: '近一周',
54
+ oneMonthAgo: '近一月',
55
+
56
+ // 数据展示
57
+ status: '状态',
58
+ dept: '科室',
59
+ time: '时间',
60
+ type: '类型',
61
+ remark: '备注',
62
+ temperature: '温度',
63
+ humidity: '湿度',
64
+ invSurplus: 'Inventory Surplus',
65
+ invLoss: 'Inventory Loss',
66
+ invAccount: 'System Count',
67
+ invActual: 'Auto Count',
68
+ invIng: 'Counting...',
69
+ upperStrata: 'Upper Level',
70
+ onlineVersion: 'Online Version',
71
+ offlineVersion: 'Offline Version',
72
+ middleground: 'Middleware',
73
+ middlegroundVersion: 'Middleware Version',
74
+ embedded: 'Embedded',
75
+ deviceNumber: 'Device Number',
76
+ plateType: 'Board Type',
77
+ version: 'Version Number',
78
+ handwareAdress: 'Hardware Address',
79
+ cabinetBoard: 'Cabinet Board',
80
+ tempHumBoard: 'Temperature and Humidity Display Board',
81
+ alarmBoard: 'Vibration Alarm Board',
82
+
83
+ // 状态相关
84
+ state: {
85
+ normal: '正常',
86
+ abnormal: '异常',
87
+ temporaryStop: 'Temporarily Disabled',
88
+ disabled: 'Disabled'
89
+ },
90
+
91
+ // 按钮
92
+ button: {
93
+ back: 'Back',
94
+ backToMain: 'Main Menu',
95
+ logout: 'Exit',
96
+ close: 'Close',
97
+ add: 'Add',
98
+ search: 'Search',
99
+ detail: 'Details',
100
+ cancel: 'Cancel',
101
+ confirm: 'Confirm',
102
+ iKnown: 'I Understand',
103
+ known: 'Understood',
104
+ refresh: 'Refresh',
105
+ retest: 'Retesting',
106
+ copy: 'Copy',
107
+ clear: 'Clear',
108
+ ignore: 'Ignore',
109
+ ignoreSign: 'Ignore and Delete',
110
+ look: 'Go to View',
111
+ print: 'Print',
112
+ retry: 'Retry',
113
+ edit: 'Edit',
114
+ save: 'Save',
115
+ submit: 'Submit',
116
+ againSubmit: 'Resubmit',
117
+ continueSubmit: 'Continue Submitting',
118
+ replyDelete: 'Backspace',
119
+ retrospect: '追溯',
120
+ inventory: 'Inventory Count',
121
+ login: 'Login',
122
+ openLock: '开锁',
123
+ allOpenLock: '全部开锁'
124
+ },
125
+ // 表单相关
126
+ form: {
127
+ all: '全部',
128
+ startTime: '开始时间',
129
+ endTime: '结束时间'
130
+ },
131
+
132
+ // 提示相关
133
+ msg: {
134
+ copySuccess: `Copy Successful!`,
135
+ deleteFail: '删除失败!',
136
+ deleteSuccess: '删除成功!',
137
+ submitFail: '提交失败!',
138
+ submitSuccess: '提交成功!',
139
+ saveFail: '保存失败!',
140
+ saveSuccess: '保存成功!',
141
+ noDataAndRefresh: '暂无数据,请刷新试试~',
142
+ noSearchRecord: '暂无搜索记录~',
143
+ noData: '暂无数据'
144
+ },
145
+
146
+ // 近效期
147
+ expriy: {
148
+ overdue: 'Expired',
149
+ oneMonth: '1 months',
150
+ threeMonth: '3 months',
151
+ sixMonth: '6 months'
152
+ },
153
+ // 柜子
154
+ cabinet: {
155
+ upCabinet: '上柜',
156
+ downCabinet: '下柜',
157
+ leftCabinet: '左柜',
158
+ rightCabinet: '右柜',
159
+ cabinetUnconnected: '未连接',
160
+ cabinetUnlock: '柜未锁',
161
+ cabinetLock: '柜已锁',
162
+ cabinetUnclosed: '柜未关',
163
+ cabinetClosed: '柜已关'
164
+ },
165
+ // 试剂类型
166
+ reagentType: {
167
+ mediumPackage: 'Medium Pack',
168
+ singleMultiple: 'Single Dose Multiple Use',
169
+ singleOnce: 'Single Dose One Time Use',
170
+ opened: 'Opened',
171
+ unopened: 'Unopened'
172
+ },
173
+ // 其他
174
+ loading: '加载中...',
175
+ release: '释放更新',
176
+ pullRefresh: '下拉刷新',
177
+ isEnd: '已经到底了',
178
+ traceDetail: `Full Process Traceability Details`,
179
+ notConfiguredOffline: 'Offline service not configured!'
180
+ }
181
+ }
package/lang/zh-CN.js CHANGED
@@ -1 +1,195 @@
1
- export default{nb:{name:"品名",consumableInfo:"耗材信息",spec:"规格",model:"型号",barcode:"唯一码",combineCode:"品规码",batch:"批号",expiry:"效期",count:"数量",totalCount:"总数",stockCount:"库存",coefficient:"系数",position:"位置",curPosition:"当前位置",lastPosition:"上次位置",manufacturer:"生产厂家",brand:"品牌",supplier:"供应商",unit:"单位",price:"金额",unitPrice:"单价",currentUser:"当前用户",operation:"操作",operator:"操作人",operateTime:"操作时间",operateType:"操作类型",female:"女",male:"男",sex:"性别",age:"年龄",inpatientNum:"住院号",patientName:"患者姓名",yesterday:"昨天",today:"今天",tomorrow:"明天",oneWeekAgo:"近一周",oneMonthAgo:"近一月",status:"状态",dept:"科室",time:"时间",type:"类型",remark:"备注",temperature:"温度",humidity:"湿度",invSurplus:"盘盈",invLoss:"盘亏",invAccount:"账盘",invActual:"机盘",invIng:"盘点中...",upperStrata:"上层",onlineVersion:"在线版本",offlineVersion:"离线版本",middleground:"中台",middlegroundVersion:"中台版本",embedded:"嵌入式",deviceNumber:"设备号",plateType:"板类型",version:"版本号",handwareAdress:"硬件地址",cabinetBoard:"柜板",tempHumBoard:"温湿度显示板",alarmBoard:"震动报警器板",state:{normal:"正常",abnormal:"异常",temporaryStop:"临时停用",disabled:"已禁用"},button:{back:"返回",backToMain:"返回主页",logout:"退出",close:"关闭",add:"添加",search:"搜索",detail:"详情",cancel:"取消",confirm:"确定",iKnown:"我知道了",known:"知道了",refresh:"刷新",retest:"重新检测",inventory:"盘点",copy:"复制",clear:"清空",ignore:"忽略",ignoreSign:"忽略并删除",look:"前往查看",print:"打印",retry:"重试",edit:"编辑",save:"保存",submit:"提交",againSubmit:"重新提交",continueSubmit:"继续提交",replyDelete:"回删",retrospect:"追溯",login:"登录",openLock:"开锁",allOpenLock:"全部开锁"},form:{all:"全部",startTime:"开始时间",endTime:"结束时间"},msg:{copySuccess:"复制成功!",deleteFail:"删除失败!",deleteSuccess:"删除成功!",submitFail:"提交失败!",submitSuccess:"提交成功!",saveFail:"保存失败!",saveSuccess:"保存成功!",noDataAndRefresh:"暂无数据,请刷新试试~",noSearchRecord:"暂无搜索记录~",noData:"暂无数据"},expriy:{overdue:"过期",oneMonth:"1个月",threeMonth:"3个月",sixMonth:"6个月"},cabinet:{upCabinet:"上柜",downCabinet:"下柜",leftCabinet:"左柜",rightCabinet:"右柜",cabinetUnconnected:"未连接",cabinetUnlock:"柜未锁",cabinetLock:"柜已锁",cabinetUnclosed:"柜未关",cabinetClosed:"柜已关"},reagentType:{mediumPackage:"中包装",singleMultiple:"单支多次",singleOnce:"单支一次",opened:"已开瓶",unopened:"未开瓶"},uv:{startTitle:"请离开终端",startTips:"<strong>{0}</strong>秒后开始消毒",cancelTask:"取消任务",ingPopupTitle:"正在紫外线消毒",ingPopupTips:"已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟",endTask:"结束消毒",endPopupTitle:"已消毒完毕",endPopupTips1:"等待",endPopupTips2:"秒后自动退出消毒模式",logout:"立即退出",pleaseLeaveCabinet:"正在紫外线消毒,请远离柜门"},loading:"加载中...",release:"释放更新",pullRefresh:"下拉刷新",isEnd:"已经到底了",traceDetail:"全流程追溯详情",notConfiguredOffline:"未配置离线服务,请联系工程师处理!"}};
1
+ /*
2
+ * @Author: chenghuan.dong
3
+ * @Date: 2024-11-11 11:59:27
4
+ * @LastEditTime: 2024-11-21 15:08:00
5
+ * @LastEditors: chenghuan.dong
6
+ * @Description:
7
+ * @FilePath: \nubomed-ui\locale\lang\zh-CN.js
8
+ */
9
+ export default {
10
+ nb: {
11
+ // 耗材信息相关
12
+ name: '品名',
13
+ consumableInfo: '耗材信息',
14
+ spec: '规格',
15
+ model: '型号',
16
+ barcode: '唯一码',
17
+ combineCode: '品规码',
18
+ batch: '批号',
19
+ expiry: '效期',
20
+ count: '数量',
21
+ totalCount: '总数',
22
+ stockCount: '库存',
23
+ coefficient: '系数',
24
+ position: '位置',
25
+ curPosition: '当前位置',
26
+ lastPosition: '上次位置',
27
+ manufacturer: '生产厂家',
28
+ brand: '品牌',
29
+ supplier: '供应商',
30
+ unit: '单位',
31
+ price: '金额',
32
+ unitPrice: '单价',
33
+
34
+ // 用户相关
35
+ currentUser: '当前用户',
36
+ operation: '操作',
37
+ operator: '操作人',
38
+ operateTime: '操作时间',
39
+ operateType: '操作类型',
40
+
41
+ // 患者相关
42
+ female: '女',
43
+ male: '男',
44
+ sex: '性别',
45
+ age: '年龄',
46
+ inpatientNum: '住院号',
47
+ patientName: '患者姓名',
48
+
49
+ // 日期相关
50
+ yesterday: '昨天',
51
+ today: '今天',
52
+ tomorrow: '明天',
53
+ oneWeekAgo: '近一周',
54
+ oneMonthAgo: '近一月',
55
+
56
+ // 数据展示
57
+ status: '状态',
58
+ dept: '科室',
59
+ time: '时间',
60
+ type: '类型',
61
+ remark: '备注',
62
+ temperature: '温度',
63
+ humidity: '湿度',
64
+ invSurplus: '盘盈',
65
+ invLoss: '盘亏',
66
+ invAccount: '账盘',
67
+ invActual: '机盘',
68
+ invIng: '盘点中...',
69
+ upperStrata: '上层',
70
+ onlineVersion: '在线版本',
71
+ offlineVersion: '离线版本',
72
+ middleground: '中台',
73
+ middlegroundVersion: '中台版本',
74
+ embedded: '嵌入式',
75
+ deviceNumber: '设备号',
76
+ plateType: '板类型',
77
+ version: '版本号',
78
+ handwareAdress: '硬件地址',
79
+ cabinetBoard: '柜板',
80
+ tempHumBoard: '温湿度显示板',
81
+ alarmBoard: '震动报警器板',
82
+
83
+ // 状态相关
84
+ state: {
85
+ normal: '正常',
86
+ abnormal: '异常',
87
+ temporaryStop: '临时停用',
88
+ disabled: '已禁用'
89
+ },
90
+
91
+ // 按钮
92
+ button: {
93
+ back: '返回',
94
+ backToMain: '返回主页',
95
+ logout: '退出',
96
+ close: '关闭',
97
+ add: '添加',
98
+ search: '搜索',
99
+ detail: '详情',
100
+ cancel: '取消',
101
+ confirm: '确定',
102
+ iKnown: '我知道了',
103
+ known: '知道了',
104
+ refresh: '刷新',
105
+ retest: '重新检测',
106
+ inventory: '盘点',
107
+ copy: '复制',
108
+ clear: '清空',
109
+ ignore: '忽略',
110
+ ignoreSign: '忽略并删除',
111
+ look: '前往查看',
112
+ print: '打印',
113
+ retry: '重试',
114
+ edit: '编辑',
115
+ save: '保存',
116
+ submit: '提交',
117
+ againSubmit: '重新提交',
118
+ continueSubmit: '继续提交',
119
+ replyDelete: '回删',
120
+ retrospect: '追溯',
121
+ login: '登录',
122
+ openLock: '开锁',
123
+ allOpenLock: '全部开锁'
124
+ },
125
+ // 表单相关
126
+ form: {
127
+ all: '全部',
128
+ startTime: '开始时间',
129
+ endTime: '结束时间'
130
+ },
131
+
132
+ // 提示相关
133
+ msg: {
134
+ copySuccess: '复制成功!',
135
+ deleteFail: '删除失败!',
136
+ deleteSuccess: '删除成功!',
137
+ submitFail: '提交失败!',
138
+ submitSuccess: '提交成功!',
139
+ saveFail: '保存失败!',
140
+ saveSuccess: '保存成功!',
141
+ noDataAndRefresh: '暂无数据,请刷新试试~',
142
+ noSearchRecord: '暂无搜索记录~',
143
+ noData: '暂无数据'
144
+ },
145
+
146
+ // 近效期
147
+ expriy: {
148
+ overdue: '过期',
149
+ oneMonth: '1个月',
150
+ threeMonth: '3个月',
151
+ sixMonth: '6个月'
152
+ },
153
+ // 柜子
154
+ cabinet: {
155
+ upCabinet: '上柜',
156
+ downCabinet: '下柜',
157
+ leftCabinet: '左柜',
158
+ rightCabinet: '右柜',
159
+ cabinetUnconnected: '未连接',
160
+ cabinetUnlock: '柜未锁',
161
+ cabinetLock: '柜已锁',
162
+ cabinetUnclosed: '柜未关',
163
+ cabinetClosed: '柜已关'
164
+ },
165
+ // 试剂类型
166
+ reagentType: {
167
+ mediumPackage: '中包装',
168
+ singleMultiple: '单支多次',
169
+ singleOnce: '单支一次',
170
+ opened: '已开瓶',
171
+ unopened: '未开瓶'
172
+ },
173
+ // 紫外线消毒
174
+ uv: {
175
+ startTitle: '请离开终端',
176
+ startTips: '<strong>{0}</strong>秒后开始消毒',
177
+ cancelTask: '取消任务',
178
+ ingPopupTitle: '正在紫外线消毒',
179
+ ingPopupTips: '已消毒<i>{0}</i>分钟,剩余<strong>{1}</strong>小时<strong>{2}</strong>分钟',
180
+ endTask: '结束消毒',
181
+ endPopupTitle: '已消毒完毕',
182
+ endPopupTips1: '等待',
183
+ endPopupTips2: '秒后自动退出消毒模式',
184
+ logout: '立即退出',
185
+ pleaseLeaveCabinet: '正在紫外线消毒,请远离柜门'
186
+ },
187
+ // 其他
188
+ loading: '加载中...',
189
+ release: '释放更新',
190
+ pullRefresh: '下拉刷新',
191
+ isEnd: '已经到底了',
192
+ traceDetail: '全流程追溯详情',
193
+ notConfiguredOffline: '未配置离线服务,请联系工程师处理!'
194
+ }
195
+ }
@@ -1528,7 +1528,7 @@ src.install = function (Vue) {
1528
1528
 
1529
1529
  /***/ }),
1530
1530
 
1531
- /***/ 6261:
1531
+ /***/ 2364:
1532
1532
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1533
1533
 
1534
1534
  "use strict";
@@ -1540,8 +1540,8 @@ __webpack_require__.d(__webpack_exports__, {
1540
1540
  "default": function() { return /* binding */ NBCheckboxGroup; }
1541
1541
  });
1542
1542
 
1543
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBCheckboxGroup/src/index.vue?vue&type=template&id=481f29cb&scoped=true
1544
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-checkbox-group"},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nb-checkbox-group__item",class:_vm.getItemClass(item),style:(("min-width: " + _vm.minWidth + "px")),on:{"click":function($event){$event.stopPropagation();return _vm.handleClick(item)}}},[_c('nb-icon',{attrs:{"icon":"checked-corner-bottom"}}),_c('span',[_vm._t("default",function(){return [_vm._v(_vm._s(item.label))]},{"row":item})],2)],1)}),0)}
1543
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBCheckboxGroup/src/index.vue?vue&type=template&id=36060e84&scoped=true
1544
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-checkbox-group"},_vm._l((_vm.options),function(item,index){return _c('div',{key:index,staticClass:"nb-checkbox-group__item",class:_vm.getItemClass(item),style:(("min-width: " + _vm.minWidth + "px")),on:{"click":function($event){$event.stopPropagation();return _vm.handleClick(item)}}},[_c('nb-icon',{attrs:{"icon":"checked-corner-bottom"}}),_vm._t("default",function(){return [( true)?_c('span',[_vm._v(_vm._s(item.label)+" ")]):0]},{"row":item})],2)}),0)}
1545
1545
  var staticRenderFns = []
1546
1546
 
1547
1547
 
@@ -1584,10 +1584,6 @@ var esnext_iterator_map = __webpack_require__(1454);
1584
1584
  //
1585
1585
  //
1586
1586
  //
1587
- //
1588
- //
1589
- //
1590
- //
1591
1587
 
1592
1588
  /* harmony default export */ var srcvue_type_script_lang_js = ({
1593
1589
  name: 'NBCheckboxGroup',
@@ -1672,7 +1668,7 @@ var component = (0,componentNormalizer/* default */.A)(
1672
1668
  staticRenderFns,
1673
1669
  false,
1674
1670
  null,
1675
- "481f29cb",
1671
+ "36060e84",
1676
1672
  null
1677
1673
 
1678
1674
  )
@@ -2696,6 +2692,131 @@ src.install = function (Vue) {
2696
2692
 
2697
2693
  /***/ }),
2698
2694
 
2695
+ /***/ 2782:
2696
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2697
+
2698
+ "use strict";
2699
+ // ESM COMPAT FLAG
2700
+ __webpack_require__.r(__webpack_exports__);
2701
+
2702
+ // EXPORTS
2703
+ __webpack_require__.d(__webpack_exports__, {
2704
+ "default": function() { return /* binding */ NBInputTime; }
2705
+ });
2706
+
2707
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBInputTime/src/index.vue?vue&type=template&id=2dd24afd&scoped=true
2708
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nb-input-time"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.hour),expression:"hour"}],ref:"refHour",attrs:{"placeholder":"00"},domProps:{"value":(_vm.hour)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.hour=$event.target.value},_vm.onInputHour]}}),_c('i',[_vm._v(":")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.minute),expression:"minute"}],ref:"refMinute",attrs:{"placeholder":"00"},domProps:{"value":(_vm.minute)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.minute=$event.target.value},_vm.onInputMinute]}})])}
2709
+ var staticRenderFns = []
2710
+
2711
+
2712
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/components/NBInputTime/src/index.vue?vue&type=script&lang=js
2713
+ //
2714
+ //
2715
+ //
2716
+ //
2717
+ //
2718
+ //
2719
+ //
2720
+ //
2721
+ //
2722
+ //
2723
+ //
2724
+ //
2725
+ //
2726
+ //
2727
+ //
2728
+ //
2729
+
2730
+ /* harmony default export */ var srcvue_type_script_lang_js = ({
2731
+ name: 'NBInputTime',
2732
+ props: {
2733
+ // 默认值
2734
+ value: {
2735
+ type: [String, Number, null, undefined],
2736
+ default: ''
2737
+ }
2738
+ },
2739
+ data() {
2740
+ return {
2741
+ hour: null,
2742
+ minute: null
2743
+ };
2744
+ },
2745
+ computed: {},
2746
+ watch: {
2747
+ value: {
2748
+ deep: true,
2749
+ immediate: true,
2750
+ handler(val) {
2751
+ if ((val || '').split(':')[0]) {
2752
+ this.hour = String((val || '').split(':')[0]);
2753
+ }
2754
+ if ((val || '').split(':')[1]) {
2755
+ this.minute = String((val || '').split(':')[1]);
2756
+ }
2757
+ }
2758
+ }
2759
+ },
2760
+ created() {},
2761
+ mounted() {},
2762
+ beforeDestroy() {},
2763
+ filters: {},
2764
+ methods: {
2765
+ onInputHour(e) {
2766
+ const currentInput = e.target;
2767
+ const value = currentInput.value;
2768
+ // console.log(currentInput, { selectionStart: currentInput.selectionStart, value: currentInput.value })
2769
+ if (value.length === 2 && Number(value) > 0 && Number(value) <= 24) {
2770
+ this.$refs.refMinute && this.$refs.refMinute.focus();
2771
+ }
2772
+ this.$emit('input', (this.hour || '') + ':' + (this.minute || ''));
2773
+ },
2774
+ onInputMinute(e) {
2775
+ this.$emit('input', (this.hour || '') + ':' + (this.minute || ''));
2776
+ }
2777
+ }
2778
+ });
2779
+ ;// ./packages/components/NBInputTime/src/index.vue?vue&type=script&lang=js
2780
+ /* harmony default export */ var NBInputTime_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
2781
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
2782
+ var componentNormalizer = __webpack_require__(1656);
2783
+ ;// ./packages/components/NBInputTime/src/index.vue
2784
+
2785
+
2786
+
2787
+
2788
+
2789
+ /* normalize component */
2790
+ ;
2791
+ var component = (0,componentNormalizer/* default */.A)(
2792
+ NBInputTime_srcvue_type_script_lang_js,
2793
+ render,
2794
+ staticRenderFns,
2795
+ false,
2796
+ null,
2797
+ "2dd24afd",
2798
+ null
2799
+
2800
+ )
2801
+
2802
+ /* harmony default export */ var src = (component.exports);
2803
+ ;// ./packages/components/NBInputTime/index.js
2804
+ /*
2805
+ * @Author: chenghuan.dong
2806
+ * @Date: 2024-11-12 11:27:05
2807
+ * @LastEditTime: 2024-11-12 14:38:34
2808
+ * @LastEditors: chenghuan.dong
2809
+ * @Description:
2810
+ * @FilePath: \nubomed-ui\packages\components\NBIcon\index.js
2811
+ */
2812
+
2813
+ src.install = function (Vue) {
2814
+ Vue.component(src.name, src);
2815
+ };
2816
+ /* harmony default export */ var NBInputTime = (src);
2817
+
2818
+ /***/ }),
2819
+
2699
2820
  /***/ 5550:
2700
2821
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2701
2822
 
@@ -6871,13 +6992,14 @@ var map = {
6871
6992
  "./NBCabinetInventoryCarousel/index.js": 5118,
6872
6993
  "./NBCabinetLockState/index.js": 6925,
6873
6994
  "./NBCabinetState/index.js": 2208,
6874
- "./NBCheckboxGroup/index.js": 6261,
6995
+ "./NBCheckboxGroup/index.js": 2364,
6875
6996
  "./NBDialog/index.js": 8914,
6876
6997
  "./NBEmpty/index.js": 8776,
6877
6998
  "./NBExpiryIcon/index.js": 9075,
6878
6999
  "./NBFullscreenDialog/index.js": 4531,
6879
7000
  "./NBHeader/index.js": 1001,
6880
7001
  "./NBIcon/index.js": 4332,
7002
+ "./NBInputTime/index.js": 2782,
6881
7003
  "./NBMessageDialog/index.js": 5550,
6882
7004
  "./NBNameSpecCard/index.js": 5790,
6883
7005
  "./NBNameToggleCard/index.js": 1228,
@@ -9751,7 +9873,7 @@ var locale = __webpack_require__(4820);
9751
9873
  /*
9752
9874
  * @Author: chenghuan.dong
9753
9875
  * @Date: 2024-11-11 13:46:54
9754
- * @LastEditTime: 2024-11-26 15:14:51
9876
+ * @LastEditTime: 2024-11-26 17:12:32
9755
9877
  * @LastEditors: chenghuan.dong
9756
9878
  * @Description:
9757
9879
  * @FilePath: \nubomed-ui\packages\index.js
@@ -9783,7 +9905,7 @@ const install = function (Vue, options = {}) {
9783
9905
  if (install.installed) return;
9784
9906
  components.forEach(component => {
9785
9907
  const name = 'nb-' + camelToKebab(component.name.slice(2));
9786
- const installNames = ['nb-icon', 'nb-tag', 'nb-badge', 'nb-empty', 'nb-radio-group', 'nb-checkbox-group', 'nb-header', 'nb-summary-bar', 'nb-header', 'nb-tabs', 'nb-pagination', 'nb-progress', 'nb-dialog', 'nb-fullscreen-dialog', 'nb-out-footer-dialog', 'nb-message-dialog', 'nb-sidebar-nav-group', 'nb-sidebar-nav', 'nb-expiry-icon', 'nb-reagent-type', 'nb-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog', 'nb-toggle-cate', 'nb-name-spec-card', 'nb-barcode-card', 'nb-name-toggle-card', 'nb-search-keyboard', 'nb-cabinet-state', 'nb-cabinet-lock-state', 'nb-uv-dialog', 'nb-status-bar'];
9908
+ const installNames = ['nb-icon', 'nb-tag', 'nb-badge', 'nb-empty', 'nb-radio-group', 'nb-checkbox-group', 'nb-header', 'nb-summary-bar', 'nb-header', 'nb-tabs', 'nb-pagination', 'nb-progress', 'nb-dialog', 'nb-fullscreen-dialog', 'nb-out-footer-dialog', 'nb-message-dialog', 'nb-sidebar-nav-group', 'nb-sidebar-nav', 'nb-expiry-icon', 'nb-reagent-type', 'nb-cabinet-inventory-carousel', 'nb-version-dialog', 'nb-barcode-review-dialog', 'nb-toggle-cate', 'nb-name-spec-card', 'nb-barcode-card', 'nb-name-toggle-card', 'nb-search-keyboard', 'nb-cabinet-state', 'nb-cabinet-lock-state', 'nb-uv-dialog', 'nb-status-bar', 'nb-input-time'];
9787
9909
  // if (installNames.includes(name)) {
9788
9910
  // console.log('%c' + '√ ' + name, 'color: #00A572;')
9789
9911
  // } else {