@feedmepos/mf-hrm-portal 2.0.23 → 2.0.24-dev.10

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.
Files changed (32) hide show
  1. package/dist/AuditLogList-DIyduqwa.js +1054 -0
  2. package/dist/{EmployeeList-DV6b-sUl.js → EmployeeList-DieXbCR4.js} +78 -78
  3. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js → FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js} +1 -1
  4. package/dist/{Main--_6xW_6T.js → Main-8fURDx0W.js} +9 -9
  5. package/dist/{Main-brGoD5LT.js → Main-BjzCTw3C.js} +6 -6
  6. package/dist/{Main-ikZ4GbMs.js → Main-BxX0lnL5.js} +6 -6
  7. package/dist/{PermissionSetList-Ba_OoTIV.js → PermissionSetList-CqM4La6P.js} +6 -6
  8. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DE6kAP4K.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C6uznL8r.js} +719 -719
  9. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Dgiy6--r.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CSxT3KNJ.js} +1 -1
  10. package/dist/{RoleList-hbFtGRXp.js → RoleList-CEgNBw-4.js} +7 -7
  11. package/dist/SelectFilter-C61IZSID.js +269 -0
  12. package/dist/{TeamMemberList-CLQB9CrO.js → TeamMemberList-DoLkDpoB.js} +60 -60
  13. package/dist/{TimesheetList-DGLg16vD.js → TimesheetList-DqGEKlEL.js} +10 -10
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-DAq_QztI.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BdCL8SB4.js} +2 -2
  15. package/dist/{app-BvSnSbKt.js → app-L0IWvTST.js} +51 -58
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-0cwnJZKr.js → dayjs.min-COxuf_H8.js} +1 -1
  18. package/dist/{employee-BI_kMMXy.js → employee-DRnkg7jL.js} +3 -3
  19. package/dist/{iteration-BWe1Eiu-.js → iteration-V9rH_pC3.js} +3 -3
  20. package/dist/{lodash-D89ipwrs.js → lodash-DoaaH6eb.js} +1 -1
  21. package/dist/{rule-CwMu9Wr3.js → rule-BI1ycxfM.js} +25 -25
  22. package/dist/src/components/form/SelectFilter.vue.d.ts +3 -0
  23. package/dist/src/stores/team.d.ts +4 -1
  24. package/dist/src/views/audit-log/locales/index.d.ts +24 -16
  25. package/dist/style.css +1 -1
  26. package/dist/tsconfig.app.tsbuildinfo +1 -1
  27. package/dist/{useAppStore-BFSRwyzx.js → useAppStore-a32PT_PC.js} +1 -1
  28. package/dist/{useLoading-8AI-5_oV.js → useLoading-BxqU47eu.js} +1 -1
  29. package/dist/{useReportPermissions-CwaUFfn0.js → useReportPermissions-BIbz17zb.js} +3 -3
  30. package/package.json +2 -2
  31. package/dist/AuditLogList-D5ptt1oj.js +0 -1037
  32. package/dist/SelectFilter-DUj7GBtT.js +0 -251
@@ -21,13 +21,16 @@ const Lt = {
21
21
  dateRange: {
22
22
  placeholder: "Select date range"
23
23
  },
24
+ user: {
25
+ feedmeAdmin: "FeedMe Admin"
26
+ },
24
27
  filter: {
25
28
  user_placeholder: "User",
26
29
  selected_user_prefix: "User: ",
27
30
  subject_placeholder: "Subject",
28
31
  selected_subject_prefix: "Subject: ",
29
- action_placeholder: "Action",
30
- selected_action_prefix: "Action: ",
32
+ action_placeholder: "Action Type",
33
+ selected_action_prefix: "Action Type: ",
31
34
  status_placeholder: "Status",
32
35
  selected_status_prefix: "Status: ",
33
36
  outcome_placeholder: "Status",
@@ -48,14 +51,14 @@ const Lt = {
48
51
  payment: "Payment",
49
52
  menu: "Menu",
50
53
  crm: "CRM",
54
+ other: "Other",
51
55
  more: "More"
52
56
  },
53
57
  columns: {
54
58
  timestamp: "Date",
55
59
  user: "User",
56
- role: "Role",
57
60
  subject: "Subject",
58
- action: "Action",
61
+ action: "Action Description",
59
62
  operation: "Operation",
60
63
  outcome: "Status"
61
64
  },
@@ -87,8 +90,8 @@ const Lt = {
87
90
  timestamp: "Date",
88
91
  userName: "User Name",
89
92
  userPhone: "Phone",
90
- subject: "Role",
91
- action: "Action",
93
+ subject: "Subject",
94
+ action: "Action Description",
92
95
  operation: "Operation",
93
96
  outcome: "Status",
94
97
  businessId: "Business ID",
@@ -106,14 +109,13 @@ const Lt = {
106
109
  email: "E-mail",
107
110
  action: "Action",
108
111
  operation: "Operation",
109
- role: "Role",
110
112
  subject: "Subject",
111
113
  field: "Field",
112
114
  outcome: "Outcome",
113
115
  business: "Business",
114
116
  restaurant: "Restaurant",
115
- changeDetails: "Change Details",
116
- eventType: "Event Type",
117
+ eventDetails: "Event Details",
118
+ actionDescription: "Action Description",
117
119
  metadata: "Metadata",
118
120
  reason: "Reason",
119
121
  resolvedFrom: "Resolved From",
@@ -158,13 +160,16 @@ const Lt = {
158
160
  dateRange: {
159
161
  placeholder: "เลือกช่วงวันที่"
160
162
  },
163
+ user: {
164
+ feedmeAdmin: "ผู้ดูแล FeedMe"
165
+ },
161
166
  filter: {
162
167
  user_placeholder: "ผู้ใช้",
163
168
  selected_user_prefix: "ผู้ใช้: ",
164
169
  subject_placeholder: "หัวข้อ",
165
170
  selected_subject_prefix: "หัวข้อ: ",
166
- action_placeholder: "การกระทำ",
167
- selected_action_prefix: "การกระทำ: ",
171
+ action_placeholder: "ประเภทการกระทำ",
172
+ selected_action_prefix: "ประเภทการกระทำ: ",
168
173
  status_placeholder: "สถานะ",
169
174
  selected_status_prefix: "สถานะ: ",
170
175
  outcome_placeholder: "สถานะ",
@@ -185,14 +190,14 @@ const Lt = {
185
190
  payment: "การชำระเงิน",
186
191
  menu: "เมนู",
187
192
  crm: "CRM",
193
+ other: "อื่นๆ",
188
194
  more: "เพิ่มเติม"
189
195
  },
190
196
  columns: {
191
197
  timestamp: "วันที่",
192
198
  user: "ผู้ใช้",
193
- role: "บทบาท",
194
199
  subject: "หัวข้อ",
195
- action: "การกระทำ",
200
+ action: "คำอธิบายการกระทำ",
196
201
  operation: "รายละเอียดการดำเนินการ",
197
202
  outcome: "สถานะ"
198
203
  },
@@ -224,8 +229,8 @@ const Lt = {
224
229
  timestamp: "วันที่",
225
230
  userName: "ชื่อผู้ใช้",
226
231
  userPhone: "เบอร์โทรศัพท์",
227
- subject: "บทบาท",
228
- action: "การกระทำ",
232
+ subject: "หัวข้อ",
233
+ action: "คำอธิบายการกระทำ",
229
234
  operation: "รายละเอียดการดำเนินการ",
230
235
  outcome: "สถานะ",
231
236
  businessId: "รหัสธุรกิจ",
@@ -243,14 +248,13 @@ const Lt = {
243
248
  email: "อีเมล",
244
249
  action: "การกระทำ",
245
250
  operation: "รายละเอียดการดำเนินการ",
246
- role: "บทบาท",
247
251
  subject: "หัวข้อ",
248
252
  field: "ฟิลด์",
249
253
  outcome: "ผลลัพธ์",
250
254
  business: "ธุรกิจ",
251
255
  restaurant: "ร้านอาหาร",
252
- changeDetails: "รายละเอียดการเปลี่ยนแปลง",
253
- eventType: "ประเภทเหตุการณ์",
256
+ eventDetails: "รายละเอียดเหตุการณ์",
257
+ actionDescription: "คำอธิบายการกระทำ",
254
258
  metadata: "ข้อมูลเมตา",
255
259
  reason: "เหตุผล",
256
260
  resolvedFrom: "แก้ไขจาก",
@@ -296,13 +300,16 @@ const Lt = {
296
300
  dateRange: {
297
301
  placeholder: "选择日期范围"
298
302
  },
303
+ user: {
304
+ feedmeAdmin: "FeedMe 管理员"
305
+ },
299
306
  filter: {
300
307
  user_placeholder: "用户",
301
308
  selected_user_prefix: "用户: ",
302
309
  subject_placeholder: "主题",
303
310
  selected_subject_prefix: "主题: ",
304
- action_placeholder: "操作",
305
- selected_action_prefix: "操作: ",
311
+ action_placeholder: "操作类型",
312
+ selected_action_prefix: "操作类型: ",
306
313
  status_placeholder: "状态",
307
314
  selected_status_prefix: "状态: ",
308
315
  outcome_placeholder: "状态",
@@ -323,14 +330,14 @@ const Lt = {
323
330
  payment: "支付",
324
331
  menu: "菜单",
325
332
  crm: "CRM",
333
+ other: "其他",
326
334
  more: "更多"
327
335
  },
328
336
  columns: {
329
337
  timestamp: "日期",
330
338
  user: "用户",
331
- role: "角色",
332
339
  subject: "主题",
333
- action: "操作",
340
+ action: "操作说明",
334
341
  operation: "操作说明",
335
342
  outcome: "状态"
336
343
  },
@@ -362,8 +369,8 @@ const Lt = {
362
369
  timestamp: "日期",
363
370
  userName: "用户名",
364
371
  userPhone: "手机号",
365
- subject: "角色",
366
- action: "操作",
372
+ subject: "主题",
373
+ action: "操作说明",
367
374
  operation: "操作说明",
368
375
  outcome: "状态",
369
376
  businessId: "商家 ID",
@@ -381,14 +388,13 @@ const Lt = {
381
388
  email: "邮箱",
382
389
  action: "操作",
383
390
  operation: "操作说明",
384
- role: "角色",
385
391
  subject: "主题",
386
392
  field: "字段",
387
393
  outcome: "结果",
388
394
  business: "商家",
389
395
  restaurant: "餐厅",
390
- changeDetails: "变更详情",
391
- eventType: "事件类型",
396
+ eventDetails: "事件详情",
397
+ actionDescription: "操作说明",
392
398
  metadata: "元数据",
393
399
  reason: "原因",
394
400
  resolvedFrom: "解析来源",
@@ -434,13 +440,16 @@ const Lt = {
434
440
  dateRange: {
435
441
  placeholder: "選擇日期範圍"
436
442
  },
443
+ user: {
444
+ feedmeAdmin: "FeedMe 管理員"
445
+ },
437
446
  filter: {
438
447
  user_placeholder: "用戶",
439
448
  selected_user_prefix: "用戶: ",
440
449
  subject_placeholder: "主題",
441
450
  selected_subject_prefix: "主題: ",
442
- action_placeholder: "操作",
443
- selected_action_prefix: "操作: ",
451
+ action_placeholder: "操作類型",
452
+ selected_action_prefix: "操作類型: ",
444
453
  status_placeholder: "狀態",
445
454
  selected_status_prefix: "狀態: ",
446
455
  outcome_placeholder: "狀態",
@@ -461,14 +470,14 @@ const Lt = {
461
470
  payment: "支付",
462
471
  menu: "菜單",
463
472
  crm: "CRM",
473
+ other: "其他",
464
474
  more: "更多"
465
475
  },
466
476
  columns: {
467
477
  timestamp: "日期",
468
478
  user: "用戶",
469
- role: "角色",
470
479
  subject: "主題",
471
- action: "操作",
480
+ action: "操作說明",
472
481
  operation: "操作說明",
473
482
  outcome: "狀態"
474
483
  },
@@ -500,8 +509,8 @@ const Lt = {
500
509
  timestamp: "日期",
501
510
  userName: "用戶名稱",
502
511
  userPhone: "手機號碼",
503
- subject: "角色",
504
- action: "操作",
512
+ subject: "主題",
513
+ action: "操作說明",
505
514
  operation: "操作說明",
506
515
  outcome: "狀態",
507
516
  businessId: "商家 ID",
@@ -519,14 +528,13 @@ const Lt = {
519
528
  email: "電子郵件",
520
529
  action: "操作",
521
530
  operation: "操作說明",
522
- role: "角色",
523
531
  subject: "主題",
524
532
  field: "字段",
525
533
  outcome: "結果",
526
534
  business: "商家",
527
535
  restaurant: "餐廳",
528
- changeDetails: "變更詳情",
529
- eventType: "事件類型",
536
+ eventDetails: "事件詳情",
537
+ actionDescription: "操作說明",
530
538
  metadata: "元數據",
531
539
  reason: "原因",
532
540
  resolvedFrom: "解析來源",
@@ -2578,7 +2586,7 @@ const Lt = {
2578
2586
  "th-TH": zn,
2579
2587
  "zh-Hant": Sn
2580
2588
  };
2581
- var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.kiosk_deviceManagement = "business::kiosk::deviceManagement", e.kiosk_deviceBinding = "business::kiosk::deviceBinding", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e))(o || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {}), hs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(hs || {});
2589
+ var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e))(o || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {}), hs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(hs || {});
2582
2590
  const b = {
2583
2591
  general: "General",
2584
2592
  inventory: "Inventory",
@@ -3112,21 +3120,6 @@ const b = {
3112
3120
  category: b.settings,
3113
3121
  showByFeatureFlag: "hrm_enable_mdm_permission"
3114
3122
  },
3115
- // Kiosk
3116
- kioskDeviceManagement: {
3117
- label: "Kiosk Device Management",
3118
- subject: o.kiosk_deviceManagement,
3119
- actions: [t.manage],
3120
- category: b.settings,
3121
- showByFeatureFlag: "hrm_enable_kiosk_permission"
3122
- },
3123
- kioskDeviceBinding: {
3124
- label: "Kiosk Device Binding",
3125
- subject: o.kiosk_deviceBinding,
3126
- actions: [t.manage],
3127
- category: b.settings,
3128
- showByFeatureFlag: "hrm_enable_kiosk_permission"
3129
- },
3130
3123
  // E-invoice
3131
3124
  eInvoiceManagement: {
3132
3125
  label: "E-invoice Management",
@@ -5173,10 +5166,10 @@ const ht = (e) => ({
5173
5166
  }
5174
5167
  ]
5175
5168
  }
5176
- }), xa = Ke(be(() => import("./Main--_6xW_6T.js"))), Va = Ke(be(() => import("./Main-ikZ4GbMs.js"))), Pa = Ke(
5177
- be(() => import("./AuditLogList-D5ptt1oj.js"))
5178
- ), Fa = Ke(be(() => import("./Main-brGoD5LT.js"))), Oa = be(() => import("./EmployeeList-DV6b-sUl.js")), qa = be(() => import("./RoleList-hbFtGRXp.js")), Ha = be(() => import("./TimesheetList-DGLg16vD.js")), Xa = be(() => import("./TeamMemberList-CLQB9CrO.js")), Qa = be(
5179
- () => import("./PermissionSetList-Ba_OoTIV.js")
5169
+ }), xa = Ke(be(() => import("./Main-8fURDx0W.js"))), Va = Ke(be(() => import("./Main-BxX0lnL5.js"))), Pa = Ke(
5170
+ be(() => import("./AuditLogList-DIyduqwa.js"))
5171
+ ), Fa = Ke(be(() => import("./Main-BjzCTw3C.js"))), Oa = be(() => import("./EmployeeList-DieXbCR4.js")), qa = be(() => import("./RoleList-CEgNBw-4.js")), Ha = be(() => import("./TimesheetList-DqGEKlEL.js")), Xa = be(() => import("./TeamMemberList-DoLkDpoB.js")), Qa = be(
5172
+ () => import("./PermissionSetList-CqM4La6P.js")
5180
5173
  ), eo = [
5181
5174
  {
5182
5175
  path: "/",
@@ -6162,8 +6155,8 @@ const to = /* @__PURE__ */ xe({
6162
6155
  );
6163
6156
  };
6164
6157
  export {
6158
+ Ja as C,
6165
6159
  _a as G,
6166
- Fr as P,
6167
6160
  T as R,
6168
6161
  Ga as _,
6169
6162
  Ea as a,
@@ -6173,8 +6166,8 @@ export {
6173
6166
  ea as e,
6174
6167
  to as f,
6175
6168
  Or as g,
6169
+ Fr as h,
6176
6170
  so as i,
6177
- Ja as k,
6178
6171
  t as l,
6179
6172
  $a as m,
6180
6173
  eo as r,
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { f as e, i as r, r as o } from "./app-BvSnSbKt.js";
1
+ import { f as e, i as r, r as o } from "./app-L0IWvTST.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-BvSnSbKt.js";
1
+ import { g as Q, c as K } from "./app-L0IWvTST.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,9 +1,9 @@
1
- import { d as g } from "./dayjs.min-0cwnJZKr.js";
1
+ import { d as g } from "./dayjs.min-COxuf_H8.js";
2
2
  import { defineStore as $, storeToRefs as T } from "pinia";
3
3
  import { ref as m } from "vue";
4
- import { b as l, g as f, u as w, s as E } from "./iteration-BWe1Eiu-.js";
4
+ import { b as l, g as f, u as w, s as E } from "./iteration-V9rH_pC3.js";
5
5
  import { i as v } from "./utils-BZkjJbju.js";
6
- import { u as _ } from "./useAppStore-BFSRwyzx.js";
6
+ import { u as _ } from "./useAppStore-a32PT_PC.js";
7
7
  const o = {
8
8
  async readEmployees() {
9
9
  return f(await l().get("/pos-users"));
@@ -1,7 +1,7 @@
1
1
  import { defineStore as Gs, storeToRefs as Hs } from "pinia";
2
2
  import { ref as eo } from "vue";
3
3
  import { useCoreStore as ui, baseClientInstance as Dr, FeedMeAuth as qs } from "@feedmepos/mf-common";
4
- import { c as U } from "./app-BvSnSbKt.js";
4
+ import { c as U } from "./app-L0IWvTST.js";
5
5
  function Ur(e, n) {
6
6
  return function() {
7
7
  return e.apply(n, arguments);
@@ -1820,9 +1820,9 @@ const sa = (e) => (n) => {
1820
1820
  throw new Error("Invalid business");
1821
1821
  }, Vc = () => {
1822
1822
  var a;
1823
- const n = (a = ui().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "feedmeapi.com", o = !n || n === "my" ? `https://query-engine.${i}` : `https://query-engine.${n}.${i}`;
1823
+ const n = (a = ui().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "feedmeapidev.com", o = !n || n === "my" ? `https://query-engine.${i}` : `https://query-engine.${n}.${i}`;
1824
1824
  return sa(o)("");
1825
- }, Zc = () => sa("https://account.feedme.cc/api")(""), Yc = () => Dr("user/bypass/validate/");
1825
+ }, Zc = () => sa("https://account.feedmedev.cc/api")(""), Yc = () => Dr("user/bypass/validate/");
1826
1826
  function vl(e) {
1827
1827
  return e.data;
1828
1828
  }
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-BvSnSbKt.js";
1
+ import { c as jt } from "./app-L0IWvTST.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,8 +1,8 @@
1
- import { g as b, b as v, q as L, u as H, s as k, d as Y, e as h } from "./iteration-BWe1Eiu-.js";
2
- import { e as R, P as x, b as F, l as j, k as Z, d as J } from "./app-BvSnSbKt.js";
1
+ import { g as b, b as v, q as L, u as H, s as x, d as Y, e as h } from "./iteration-V9rH_pC3.js";
2
+ import { e as R, h as k, b as F, l as j, C as Z, d as J } from "./app-L0IWvTST.js";
3
3
  import { s as q } from "./utils-BZkjJbju.js";
4
4
  import { defineStore as W, storeToRefs as V } from "pinia";
5
- import { ref as S, computed as C } from "vue";
5
+ import { ref as S, computed as T } from "vue";
6
6
  import { useCoreStore as z } from "@feedmepos/mf-common";
7
7
  const B = [
8
8
  {
@@ -564,7 +564,7 @@ function $e(e, s) {
564
564
  function Ie(e) {
565
565
  const s = X(
566
566
  e,
567
- x
567
+ k
568
568
  ), t = new Set(
569
569
  s.filter((i) => {
570
570
  var n;
@@ -737,7 +737,7 @@ const y = "/permission-assignments", P = {
737
737
  await L().get(`/report-query/hrm/${e}/reports`, { params: t })
738
738
  );
739
739
  }
740
- }, _ = S([]), E = S(!1), w = S(!1), $ = S(null), D = S(null), N = S(!1);
740
+ }, _ = S([]), E = S(!1), w = S(!1), $ = S(null), D = S(null), C = S(!1);
741
741
  function de() {
742
742
  const e = z();
743
743
  async function s() {
@@ -745,9 +745,9 @@ function de() {
745
745
  const o = (n = e.currentBusiness.value) == null ? void 0 : n.id;
746
746
  if (!o) return;
747
747
  const i = localStorage.getItem("locale");
748
- if ($.value !== o && (_.value = [], E.value = !1, w.value = !1, $.value = o, N.value = !1), !(E.value && D.value === i)) {
748
+ if ($.value !== o && (_.value = [], E.value = !1, w.value = !1, $.value = o, C.value = !1), !(E.value && D.value === i)) {
749
749
  if (w.value) {
750
- N.value = !0;
750
+ C.value = !0;
751
751
  return;
752
752
  }
753
753
  w.value = !0;
@@ -759,11 +759,11 @@ function de() {
759
759
  if ($.value !== o) return;
760
760
  console.warn("Failed to fetch custom report permissions:", c), _.value = [];
761
761
  } finally {
762
- $.value === o && (w.value = !1, N.value && (N.value = !1, await s()));
762
+ $.value === o && (w.value = !1, C.value && (C.value = !1, await s()));
763
763
  }
764
764
  }
765
765
  }
766
- const t = C(() => _.value.map(
766
+ const t = T(() => _.value.map(
767
767
  (o) => o.isDefault ? {
768
768
  label: o.name,
769
769
  subject: `business::report::reports::${o.permissionKey}`,
@@ -785,8 +785,8 @@ function de() {
785
785
  return {
786
786
  fetchCustomReportPermissions: s,
787
787
  customReportPermissions: t,
788
- isLoading: C(() => w.value),
789
- isLoaded: C(() => E.value)
788
+ isLoading: T(() => w.value),
789
+ isLoaded: T(() => E.value)
790
790
  };
791
791
  }
792
792
  function I(e) {
@@ -800,7 +800,7 @@ function I(e) {
800
800
  subject: R(f.subject)
801
801
  })), l = M(r, u), d = X(
802
802
  ae(r, u),
803
- x
803
+ k
804
804
  ).filter((f) => !f.inverted), p = fe(d), m = p ?? o.value.map((f) => f._id);
805
805
  return {
806
806
  doc: e,
@@ -808,7 +808,7 @@ function I(e) {
808
808
  name: e.name && e.name !== e.email && e.name !== e.phoneNumber ? e.name : "-",
809
809
  phoneNumber: e.phoneNumber,
810
810
  email: e.email,
811
- restaurants: k(
811
+ restaurants: x(
812
812
  m.map((f) => {
813
813
  var g;
814
814
  return ((g = o.value.find((G) => G._id === f)) == null ? void 0 : g.profile.name) ?? "";
@@ -872,10 +872,10 @@ function _e(e, s, t) {
872
872
  if (e.some((c) => c.subject === "all")) return "All";
873
873
  const o = (t ?? B).filter(
874
874
  (c) => c.subject === s
875
- ), i = new Set(o.map((c) => T(c).value)), n = e.filter((c) => c.subject === s).filter((c) => i.has(T(c).value));
875
+ ), i = new Set(o.map((c) => N(c).value)), n = e.filter((c) => c.subject === s).filter((c) => i.has(N(c).value));
876
876
  return n.length === o.length ? "All" : n.length === 0 ? "-" : `${n.length} permission allow`;
877
877
  }
878
- function T(e) {
878
+ function N(e) {
879
879
  const s = Y(e), t = s.subject;
880
880
  return {
881
881
  ...s,
@@ -905,7 +905,7 @@ function T(e) {
905
905
  };
906
906
  }
907
907
  function Ee(e) {
908
- const s = e.map((t) => T(t)).find((t) => t.isDiscountOperation);
908
+ const s = e.map((t) => N(t)).find((t) => t.isDiscountOperation);
909
909
  return s ? parseInt((s.conditions.adjustment.$lte * 100).toFixed(0)) : 100;
910
910
  }
911
911
  function fe(e) {
@@ -914,14 +914,14 @@ function fe(e) {
914
914
  );
915
915
  return s ? s.conditions ? JSON.parse(s.conditions).restaurantId.$in : null : [];
916
916
  }
917
- function Ne(e) {
917
+ function Ce(e) {
918
918
  return (e == null ? void 0 : e.some((s) => s.subject === "all")) ?? !1;
919
919
  }
920
- function Te(e) {
920
+ function Ne(e) {
921
921
  const s = e.find((t) => t.subject === J.Subject.Business.role);
922
922
  return s ? s.conditions ? JSON.parse(s.conditions).roleId.$in : null : [];
923
923
  }
924
- function Ce(e, s) {
924
+ function Te(e, s) {
925
925
  return e.map((t) => {
926
926
  const o = pe(t);
927
927
  return {
@@ -949,10 +949,10 @@ function pe(e) {
949
949
  conditions: { name: t },
950
950
  inverted: !1,
951
951
  reason: ""
952
- })) : o = B.find((i) => i.subject === s), T(o || { subject: h.F_RULE_SUBJECT.enum.order, actions: [], label: "" });
952
+ })) : o = B.find((i) => i.subject === s), N(o || { subject: h.F_RULE_SUBJECT.enum.order, actions: [], label: "" });
953
953
  }
954
954
  function be(e, s = []) {
955
- return k(
955
+ return x(
956
956
  e.reduce((t, o) => {
957
957
  const i = me.find(
958
958
  (n) => n.subject === o.subject && o.actions.includes("manage")
@@ -973,11 +973,11 @@ export {
973
973
  Q as c,
974
974
  de as d,
975
975
  B as e,
976
- Ce as f,
976
+ Te as f,
977
977
  Ee as g,
978
- Ne as h,
978
+ Ce as h,
979
979
  te as i,
980
- Te as j,
980
+ Ne as j,
981
981
  fe as k,
982
982
  Re as l,
983
983
  Pe as m,
@@ -985,7 +985,7 @@ export {
985
985
  $e as o,
986
986
  me as p,
987
987
  ue as q,
988
- T as r,
988
+ N as r,
989
989
  Ie as s,
990
990
  Oe as t,
991
991
  se as u,
@@ -4,6 +4,9 @@ export interface BaseOption {
4
4
  export interface SelectFilterOption {
5
5
  label: string;
6
6
  value: any;
7
+ /** Optional group/section label. When any option has a `group`, the menu renders
8
+ * section headers with per-group counts. Order groups by ordering `items`. */
9
+ group?: string;
7
10
  [key: string]: any;
8
11
  }
9
12
  export interface Props {
@@ -94,13 +94,14 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
94
94
  };
95
95
  }[]>;
96
96
  isLoading: import("vue").Ref<boolean, boolean>;
97
+ hasLoaded: import("vue").Ref<boolean, boolean>;
97
98
  userIdToName: import("vue").ComputedRef<Record<string, string>>;
98
99
  userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
99
100
  userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
100
101
  readTeamMembers: ({ force }?: {
101
102
  force?: boolean | undefined;
102
103
  }) => Promise<void>;
103
- }, "isLoading" | "members">, Pick<{
104
+ }, "isLoading" | "members" | "hasLoaded">, Pick<{
104
105
  members: import("vue").Ref<{
105
106
  id: string;
106
107
  name: string;
@@ -195,6 +196,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
195
196
  };
196
197
  }[]>;
197
198
  isLoading: import("vue").Ref<boolean, boolean>;
199
+ hasLoaded: import("vue").Ref<boolean, boolean>;
198
200
  userIdToName: import("vue").ComputedRef<Record<string, string>>;
199
201
  userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
200
202
  userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
@@ -296,6 +298,7 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
296
298
  };
297
299
  }[]>;
298
300
  isLoading: import("vue").Ref<boolean, boolean>;
301
+ hasLoaded: import("vue").Ref<boolean, boolean>;
299
302
  userIdToName: import("vue").ComputedRef<Record<string, string>>;
300
303
  userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
301
304
  userIdToPhone: import("vue").ComputedRef<Record<string, string>>;