@feedmepos/mf-mdm 1.6.10-beta.262 → 1.6.10-beta.264

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/app.d.ts CHANGED
@@ -17,6 +17,7 @@ export declare const i18nMessages: {
17
17
  addDevice: string;
18
18
  forceSync: string;
19
19
  regenerate: string;
20
+ export: string;
20
21
  };
21
22
  table: {
22
23
  columns: {
@@ -290,6 +291,30 @@ export declare const i18nMessages: {
290
291
  createError: string;
291
292
  deleteError: string;
292
293
  };
294
+ export: {
295
+ success: string;
296
+ error: string;
297
+ empty: string;
298
+ };
299
+ };
300
+ export: {
301
+ header: {
302
+ deviceName: string;
303
+ restaurantName: string;
304
+ deviceType: string;
305
+ appVersion: string;
306
+ bindingDate: string;
307
+ machineId: string;
308
+ deviceId: string;
309
+ status: string;
310
+ };
311
+ status: {
312
+ bound: string;
313
+ unbound: string;
314
+ };
315
+ sheetName: {
316
+ devices: string;
317
+ };
293
318
  };
294
319
  error: {
295
320
  general: string;
@@ -313,6 +338,7 @@ export declare const i18nMessages: {
313
338
  addDevice: string;
314
339
  forceSync: string;
315
340
  regenerate: string;
341
+ export: string;
316
342
  };
317
343
  table: {
318
344
  columns: {
@@ -588,6 +614,30 @@ export declare const i18nMessages: {
588
614
  createError: string;
589
615
  deleteError: string;
590
616
  };
617
+ export: {
618
+ success: string;
619
+ error: string;
620
+ empty: string;
621
+ };
622
+ };
623
+ export: {
624
+ header: {
625
+ deviceName: string;
626
+ restaurantName: string;
627
+ deviceType: string;
628
+ appVersion: string;
629
+ bindingDate: string;
630
+ machineId: string;
631
+ deviceId: string;
632
+ status: string;
633
+ };
634
+ status: {
635
+ bound: string;
636
+ unbound: string;
637
+ };
638
+ sheetName: {
639
+ devices: string;
640
+ };
591
641
  };
592
642
  error: {
593
643
  general: string;
@@ -611,6 +661,7 @@ export declare const i18nMessages: {
611
661
  addDevice: string;
612
662
  forceSync: string;
613
663
  regenerate: string;
664
+ export: string;
614
665
  };
615
666
  table: {
616
667
  columns: {
@@ -884,6 +935,30 @@ export declare const i18nMessages: {
884
935
  createError: string;
885
936
  deleteError: string;
886
937
  };
938
+ export: {
939
+ success: string;
940
+ error: string;
941
+ empty: string;
942
+ };
943
+ };
944
+ export: {
945
+ header: {
946
+ deviceName: string;
947
+ restaurantName: string;
948
+ deviceType: string;
949
+ appVersion: string;
950
+ bindingDate: string;
951
+ machineId: string;
952
+ deviceId: string;
953
+ status: string;
954
+ };
955
+ status: {
956
+ bound: string;
957
+ unbound: string;
958
+ };
959
+ sheetName: {
960
+ devices: string;
961
+ };
887
962
  };
888
963
  error: {
889
964
  general: string;
@@ -907,6 +982,7 @@ export declare const i18nMessages: {
907
982
  addDevice: string;
908
983
  forceSync: string;
909
984
  regenerate: string;
985
+ export: string;
910
986
  };
911
987
  table: {
912
988
  columns: {
@@ -1182,6 +1258,30 @@ export declare const i18nMessages: {
1182
1258
  createError: string;
1183
1259
  deleteError: string;
1184
1260
  };
1261
+ export: {
1262
+ success: string;
1263
+ error: string;
1264
+ empty: string;
1265
+ };
1266
+ };
1267
+ export: {
1268
+ header: {
1269
+ deviceName: string;
1270
+ restaurantName: string;
1271
+ deviceType: string;
1272
+ appVersion: string;
1273
+ bindingDate: string;
1274
+ machineId: string;
1275
+ deviceId: string;
1276
+ status: string;
1277
+ };
1278
+ status: {
1279
+ bound: string;
1280
+ unbound: string;
1281
+ };
1282
+ sheetName: {
1283
+ devices: string;
1284
+ };
1185
1285
  };
1186
1286
  error: {
1187
1287
  general: string;
package/dist/app.js CHANGED
@@ -14,7 +14,8 @@ const r = {
14
14
  bindDevice: "Bind device",
15
15
  addDevice: "Add device",
16
16
  forceSync: "Force sync",
17
- regenerate: "Regenerate"
17
+ regenerate: "Regenerate",
18
+ export: "Export"
18
19
  },
19
20
  table: {
20
21
  columns: {
@@ -287,6 +288,30 @@ const r = {
287
288
  refreshError: "Failed to refresh log request: {error}",
288
289
  createError: "Failed to create log request: {error}",
289
290
  deleteError: "Failed to delete log request: {error}"
291
+ },
292
+ export: {
293
+ success: "Devices exported successfully! ",
294
+ error: "Failed to export devices: {error} ",
295
+ empty: "No devices to export. Please adjust your filters."
296
+ }
297
+ },
298
+ export: {
299
+ header: {
300
+ deviceName: "Device Name",
301
+ restaurantName: "Restaurant Name",
302
+ deviceType: "Device Type",
303
+ appVersion: "App Version",
304
+ bindingDate: "Binding Date",
305
+ machineId: "Machine ID",
306
+ deviceId: "Device ID",
307
+ status: "Status"
308
+ },
309
+ status: {
310
+ bound: "Bound",
311
+ unbound: "Unbound"
312
+ },
313
+ sheetName: {
314
+ devices: "Devices"
290
315
  }
291
316
  },
292
317
  error: {
@@ -309,7 +334,8 @@ const r = {
309
334
  bindDevice: "ผูกอุปกรณ์",
310
335
  addDevice: "เพิ่มอุปกรณ์",
311
336
  forceSync: "บังคับให้ซิงค์",
312
- regenerate: "สร้างรหัสใหม่"
337
+ regenerate: "สร้างรหัสใหม่",
338
+ export: "ส่งออก"
313
339
  },
314
340
  table: {
315
341
  columns: {
@@ -582,6 +608,30 @@ const r = {
582
608
  refreshError: "ไม่สามารถรีเฟรชคำขอบันทึกได้: {error}",
583
609
  createError: "ไม่สามารถสร้างคำขอบันทึกได้: {error}",
584
610
  deleteError: "ไม่สามารถลบคำขอบันทึกได้: {error}"
611
+ },
612
+ export: {
613
+ success: "ส่งออกอุปกรณ์สำเร็จแล้ว! ",
614
+ error: "ไม่สามารถส่งออกอุปกรณ์: {error} ",
615
+ empty: "ไม่มีอุปกรณ์ให้ส่งออก โปรดปรับตัวกรองของคุณ"
616
+ }
617
+ },
618
+ export: {
619
+ header: {
620
+ deviceName: "ชื่ออุปกรณ์",
621
+ restaurantName: "ชื่อร้านอาหาร",
622
+ deviceType: "ประเภทอุปกรณ์",
623
+ appVersion: "เวอร์ชันแอป",
624
+ bindingDate: "วันที่ผูก",
625
+ machineId: "รหัสเครื่อง",
626
+ deviceId: "รหัสอุปกรณ์",
627
+ status: "สถานะ"
628
+ },
629
+ status: {
630
+ bound: "ผูกแล้ว",
631
+ unbound: "ไม่ได้ผูก"
632
+ },
633
+ sheetName: {
634
+ devices: "อุปกรณ์"
585
635
  }
586
636
  },
587
637
  error: {
@@ -604,7 +654,8 @@ const r = {
604
654
  bindDevice: "绑定设备",
605
655
  addDevice: "添加设备",
606
656
  forceSync: "强制同步",
607
- regenerate: "重新生成"
657
+ regenerate: "重新生成",
658
+ export: "导出"
608
659
  },
609
660
  table: {
610
661
  columns: {
@@ -879,6 +930,30 @@ const r = {
879
930
  refreshError: "刷新日志请求失败:{error}",
880
931
  createError: "创建日志请求失败:{error}",
881
932
  deleteError: "删除日志请求失败:{error}"
933
+ },
934
+ export: {
935
+ success: "设备导出成功!",
936
+ error: "导出设备失败:{error}",
937
+ empty: "没有设备可导出。请调整您的筛选条件。"
938
+ }
939
+ },
940
+ export: {
941
+ header: {
942
+ deviceName: "设备名称",
943
+ restaurantName: "餐厅名称",
944
+ deviceType: "设备类型",
945
+ appVersion: "应用版本",
946
+ bindingDate: "绑定时间",
947
+ machineId: "机器ID",
948
+ deviceId: "设备ID",
949
+ status: "状态"
950
+ },
951
+ status: {
952
+ bound: "已绑定",
953
+ unbound: "未绑定"
954
+ },
955
+ sheetName: {
956
+ devices: "设备"
882
957
  }
883
958
  },
884
959
  error: {
@@ -901,7 +976,8 @@ const r = {
901
976
  bindDevice: "綁定設備",
902
977
  addDevice: "添加設備",
903
978
  forceSync: "強制同步",
904
- regenerate: "重新生成"
979
+ regenerate: "重新生成",
980
+ export: "導出"
905
981
  },
906
982
  table: {
907
983
  columns: {
@@ -1176,25 +1252,49 @@ const r = {
1176
1252
  refreshError: "刷新日誌請求失敗:{error}",
1177
1253
  createError: "創建日誌請求失敗:{error}",
1178
1254
  deleteError: "刪除日誌請求失敗:{error}"
1255
+ },
1256
+ export: {
1257
+ success: "設備導出成功!",
1258
+ error: "導出設備失敗:{error}",
1259
+ empty: "沒有設備可導出。請調整您的篩選條件。"
1260
+ }
1261
+ },
1262
+ export: {
1263
+ header: {
1264
+ deviceName: "設備名稱",
1265
+ restaurantName: "餐廳名稱",
1266
+ deviceType: "設備類型",
1267
+ appVersion: "應用版本",
1268
+ bindingDate: "綁定時間",
1269
+ machineId: "機器ID",
1270
+ deviceId: "設備ID",
1271
+ status: "狀態"
1272
+ },
1273
+ status: {
1274
+ bound: "已綁定",
1275
+ unbound: "未綁定"
1276
+ },
1277
+ sheetName: {
1278
+ devices: "設備"
1179
1279
  }
1180
1280
  },
1181
1281
  error: {
1182
1282
  general: "錯誤:{error}",
1183
1283
  getDevices: "獲取餐廳設備失敗:{error}"
1184
1284
  }
1185
- }, c = {
1285
+ }, d = {
1186
1286
  device: s
1187
1287
  }, m = [
1188
1288
  {
1189
1289
  path: "/",
1190
1290
  name: "$devices",
1191
- component: e(() => import("./DeviceList-8c938c2f.js"))
1291
+ component: e(() => import("./DeviceList-a11c93ce.js"))
1192
1292
  }
1193
1293
  ], u = {
1194
1294
  "en-US": i,
1195
1295
  "zh-CN": n,
1196
1296
  "th-TH": a,
1197
- "zh-Hant": c
1297
+ "zh-Hant": d
1198
1298
  }, p = e(() => import("./App-91351016.js"));
1199
1299
  export {
1200
1300
  p as FmApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-mdm",
3
- "version": "1.6.10-beta.262",
3
+ "version": "1.6.10-beta.264",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -26,7 +26,8 @@
26
26
  "pinia": "^2.1.7",
27
27
  "vue": "^3.5.13",
28
28
  "vue-router": "^4.3.2",
29
- "vue-i18n": "11.0.1"
29
+ "vue-i18n": "11.0.1",
30
+ "xlsx": "^0.18.5"
30
31
  },
31
32
  "peerDependencies": {
32
33
  "tailwindcss": "^3.3.3"