@feedmepos/mf-hrm-portal 2.0.24-dev.11 → 2.0.24-dev.13

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 (33) hide show
  1. package/dist/AuditLogList-_jMTq9y8.js +1037 -0
  2. package/dist/{EmployeeList-CmU-WKPT.js → EmployeeList-DSotV-7r.js} +78 -78
  3. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js → FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js} +1 -1
  4. package/dist/{Main-Bb7KhUuL.js → Main-DiqWFbg6.js} +6 -6
  5. package/dist/{Main-CMv3GJZK.js → Main-Du7lPAnd.js} +6 -6
  6. package/dist/{Main-Br31SktO.js → Main-pf8KD_ew.js} +9 -9
  7. package/dist/{PermissionSetList-C6nSv0Em.js → PermissionSetList-BkP_yWYv.js} +6 -6
  8. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BURg3zZO.js +3457 -0
  9. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-BypKOLqT.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CwHZrP4X.js} +1 -1
  10. package/dist/{RoleList-VS11Dt8v.js → RoleList-i0HAJQ9A.js} +7 -7
  11. package/dist/SelectFilter-DUj7GBtT.js +251 -0
  12. package/dist/{TeamMemberList-BZv00x4B.js → TeamMemberList-BUCacyhN.js} +12 -12
  13. package/dist/{TimesheetList-DFbVpInY.js → TimesheetList-BASAcu4x.js} +10 -10
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-u6mJw-wq.js → TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-BcXV31j3.js} +2 -2
  15. package/dist/{app-DPuGdUoR.js → app-BFiZ8ZXX.js} +43 -44
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-BhwkmEiy.js → dayjs.min-UHgMNuVS.js} +1 -1
  18. package/dist/{employee-CUQGn4B5.js → employee-CzYb5bvh.js} +3 -3
  19. package/dist/{iteration-C2RViFQ4.js → iteration-BjUlb3UE.js} +1 -1
  20. package/dist/{lodash-DQoFrc1P.js → lodash-B-oxtG88.js} +1 -1
  21. package/dist/{rule-DRvM4HKU.js → rule-C0LG2tV9.js} +2 -2
  22. package/dist/src/components/form/SelectFilter.vue.d.ts +0 -3
  23. package/dist/src/stores/team.d.ts +1 -4
  24. package/dist/src/views/audit-log/locales/index.d.ts +16 -24
  25. package/dist/style.css +1 -1
  26. package/dist/tsconfig.app.tsbuildinfo +1 -1
  27. package/dist/{useAppStore-DqX0G_6s.js → useAppStore-C59yWeEW.js} +1 -1
  28. package/dist/{useLoading-Dx1S3DeY.js → useLoading-CTdlaX4S.js} +1 -1
  29. package/dist/{useReportPermissions-DH4hhuYf.js → useReportPermissions-BZcS5o0u.js} +3 -3
  30. package/package.json +2 -2
  31. package/dist/AuditLogList-D13Tma55.js +0 -1054
  32. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-NFr_QRGO.js +0 -3457
  33. package/dist/SelectFilter-C61IZSID.js +0 -269
@@ -1,15 +1,15 @@
1
1
  import { ref as d, computed as g, defineComponent as pe, onMounted as ve, watch as ee, resolveComponent as u, createElementBlock as P, openBlock as _, Fragment as te, createVNode as l, createElementVNode as i, unref as r, withCtx as Y, createCommentVNode as fe, toDisplayString as O, createTextVNode as he, createBlock as z, isRef as ge, renderList as we, nextTick as ye } from "vue";
2
- import { d as v } from "./dayjs.min-BhwkmEiy.js";
2
+ import { d as v } from "./dayjs.min-UHgMNuVS.js";
3
3
  import { useI18n as be } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as _e, components as xe } from "@feedmepos/ui-library";
5
- import { S as De, _ as Se } from "./SelectFilter-C61IZSID.js";
6
- import { _ as ke } from "./app-DPuGdUoR.js";
5
+ import { S as De, _ as Se } from "./SelectFilter-DUj7GBtT.js";
6
+ import { _ as ke } from "./app-BFiZ8ZXX.js";
7
7
  import { _ as Ve } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
8
- import { u as Ce } from "./useLoading-Dx1S3DeY.js";
9
- import { u as Fe, c as Ye, s as Le } from "./iteration-C2RViFQ4.js";
8
+ import { u as Ce } from "./useLoading-CTdlaX4S.js";
9
+ import { u as Fe, c as Ye, s as Le } from "./iteration-BjUlb3UE.js";
10
10
  import { f as Me } from "./utils-BZkjJbju.js";
11
- import { u as Te } from "./employee-CUQGn4B5.js";
12
- import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-u6mJw-wq.js";
11
+ import { u as Te } from "./employee-CzYb5bvh.js";
12
+ import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-BcXV31j3.js";
13
13
  function Ie(x, a) {
14
14
  return ["years", "months"].find((S) => {
15
15
  const k = x.startOf(S), f = x.endOf(S);
@@ -280,9 +280,9 @@ const Ee = {
280
280
  onClick: e[4] || (e[4] = (o) => T.value = !1)
281
281
  }, null, 8, ["label"])])]),
282
282
  default: Y(() => [i("div", Ee, [i("div", Oe, [l(s, {
283
- name: m.value.user.name,
283
+ initials: m.value.user.name,
284
284
  size: "lg"
285
- }, null, 8, ["name"]), i("div", Ae, [i("div", Ke, O(r(a)("hr.timesheet.employeeName")), 1), i("div", ze, O(m.value.user.name), 1)])]), i("div", Ne, [i("div", Ue, O(r(a)("hr.timesheet.update.checkIn")), 1), i("div", Be, [l(n, {
285
+ }, null, 8, ["initials"]), i("div", Ae, [i("div", Ke, O(r(a)("hr.timesheet.employeeName")), 1), i("div", ze, O(m.value.user.name), 1)])]), i("div", Ne, [i("div", Ue, O(r(a)("hr.timesheet.update.checkIn")), 1), i("div", Be, [l(n, {
286
286
  modelValue: R.value,
287
287
  "onUpdate:modelValue": e[0] || (e[0] = (o) => R.value = o),
288
288
  disabled: !1,
@@ -387,7 +387,7 @@ const Ee = {
387
387
  }))])], 64);
388
388
  };
389
389
  }
390
- }), ct = /* @__PURE__ */ Se(Xe, [["__scopeId", "data-v-91afda4e"]]);
390
+ }), ct = /* @__PURE__ */ Se(Xe, [["__scopeId", "data-v-d7ed31d7"]]);
391
391
  export {
392
392
  ct as default
393
393
  };
@@ -1,7 +1,7 @@
1
- import { d as i } from "./dayjs.min-BhwkmEiy.js";
1
+ import { d as i } from "./dayjs.min-UHgMNuVS.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
- import { b as c, g as y, s as S } from "./iteration-C2RViFQ4.js";
4
+ import { b as c, g as y, s as S } from "./iteration-BjUlb3UE.js";
5
5
  import { i as f, f as g } from "./utils-BZkjJbju.js";
6
6
  const u = {
7
7
  async readTimesheets(t, e) {
@@ -21,16 +21,13 @@ const Lt = {
21
21
  dateRange: {
22
22
  placeholder: "Select date range"
23
23
  },
24
- user: {
25
- feedmeAdmin: "FeedMe Admin"
26
- },
27
24
  filter: {
28
25
  user_placeholder: "User",
29
26
  selected_user_prefix: "User: ",
30
27
  subject_placeholder: "Subject",
31
28
  selected_subject_prefix: "Subject: ",
32
- action_placeholder: "Action Type",
33
- selected_action_prefix: "Action Type: ",
29
+ action_placeholder: "Action",
30
+ selected_action_prefix: "Action: ",
34
31
  status_placeholder: "Status",
35
32
  selected_status_prefix: "Status: ",
36
33
  outcome_placeholder: "Status",
@@ -51,14 +48,14 @@ const Lt = {
51
48
  payment: "Payment",
52
49
  menu: "Menu",
53
50
  crm: "CRM",
54
- other: "Other",
55
51
  more: "More"
56
52
  },
57
53
  columns: {
58
54
  timestamp: "Date",
59
55
  user: "User",
56
+ role: "Role",
60
57
  subject: "Subject",
61
- action: "Action Description",
58
+ action: "Action",
62
59
  operation: "Operation",
63
60
  outcome: "Status"
64
61
  },
@@ -90,8 +87,8 @@ const Lt = {
90
87
  timestamp: "Date",
91
88
  userName: "User Name",
92
89
  userPhone: "Phone",
93
- subject: "Subject",
94
- action: "Action Description",
90
+ subject: "Role",
91
+ action: "Action",
95
92
  operation: "Operation",
96
93
  outcome: "Status",
97
94
  businessId: "Business ID",
@@ -109,13 +106,14 @@ const Lt = {
109
106
  email: "E-mail",
110
107
  action: "Action",
111
108
  operation: "Operation",
109
+ role: "Role",
112
110
  subject: "Subject",
113
111
  field: "Field",
114
112
  outcome: "Outcome",
115
113
  business: "Business",
116
114
  restaurant: "Restaurant",
117
- eventDetails: "Event Details",
118
- actionDescription: "Action Description",
115
+ changeDetails: "Change Details",
116
+ eventType: "Event Type",
119
117
  metadata: "Metadata",
120
118
  reason: "Reason",
121
119
  resolvedFrom: "Resolved From",
@@ -160,9 +158,6 @@ const Lt = {
160
158
  dateRange: {
161
159
  placeholder: "เลือกช่วงวันที่"
162
160
  },
163
- user: {
164
- feedmeAdmin: "ผู้ดูแล FeedMe"
165
- },
166
161
  filter: {
167
162
  user_placeholder: "ผู้ใช้",
168
163
  selected_user_prefix: "ผู้ใช้: ",
@@ -190,12 +185,12 @@ const Lt = {
190
185
  payment: "การชำระเงิน",
191
186
  menu: "เมนู",
192
187
  crm: "CRM",
193
- other: "อื่นๆ",
194
188
  more: "เพิ่มเติม"
195
189
  },
196
190
  columns: {
197
191
  timestamp: "วันที่",
198
192
  user: "ผู้ใช้",
193
+ role: "ตำแหน่ง",
199
194
  subject: "หัวข้อ",
200
195
  action: "การดำเนินการ",
201
196
  operation: "รายละเอียดการดำเนินการ",
@@ -248,13 +243,14 @@ const Lt = {
248
243
  email: "อีเมล",
249
244
  action: "การดำเนินการ",
250
245
  operation: "รายละเอียดการดำเนินการ",
246
+ role: "ตำแหน่ง",
251
247
  subject: "หัวข้อ",
252
248
  field: "ฟิลด์",
253
249
  outcome: "ผลลัพธ์",
254
250
  business: "ธุรกิจ",
255
251
  restaurant: "ร้านอาหาร",
256
- eventDetails: "รายละเอียดเหตุการณ์",
257
- actionDescription: "คำอธิบายการกระทำ",
252
+ changeDetails: "รายละเอียดการเปลี่ยนแปลง",
253
+ eventType: "การดำเนินการ",
258
254
  metadata: "ข้อมูลเพิ่มเติม",
259
255
  reason: "เหตุผล",
260
256
  resolvedFrom: "แก้ไขจาก",
@@ -300,16 +296,13 @@ const Lt = {
300
296
  dateRange: {
301
297
  placeholder: "选择日期范围"
302
298
  },
303
- user: {
304
- feedmeAdmin: "FeedMe 管理员"
305
- },
306
299
  filter: {
307
300
  user_placeholder: "用户",
308
301
  selected_user_prefix: "用户: ",
309
302
  subject_placeholder: "主题",
310
303
  selected_subject_prefix: "主题: ",
311
- action_placeholder: "操作类型",
312
- selected_action_prefix: "操作类型: ",
304
+ action_placeholder: "操作",
305
+ selected_action_prefix: "操作: ",
313
306
  status_placeholder: "状态",
314
307
  selected_status_prefix: "状态: ",
315
308
  outcome_placeholder: "状态",
@@ -330,14 +323,14 @@ const Lt = {
330
323
  payment: "支付",
331
324
  menu: "菜单",
332
325
  crm: "CRM",
333
- other: "其他",
334
326
  more: "更多"
335
327
  },
336
328
  columns: {
337
329
  timestamp: "日期",
338
330
  user: "用户",
331
+ role: "角色",
339
332
  subject: "主题",
340
- action: "操作说明",
333
+ action: "操作",
341
334
  operation: "操作说明",
342
335
  outcome: "状态"
343
336
  },
@@ -369,8 +362,8 @@ const Lt = {
369
362
  timestamp: "日期",
370
363
  userName: "用户名",
371
364
  userPhone: "手机号",
372
- subject: "主题",
373
- action: "操作说明",
365
+ subject: "角色",
366
+ action: "操作",
374
367
  operation: "操作说明",
375
368
  outcome: "状态",
376
369
  businessId: "商家 ID",
@@ -388,13 +381,14 @@ const Lt = {
388
381
  email: "邮箱",
389
382
  action: "操作",
390
383
  operation: "操作说明",
384
+ role: "角色",
391
385
  subject: "主题",
392
386
  field: "字段",
393
387
  outcome: "结果",
394
388
  business: "商家",
395
389
  restaurant: "餐厅",
396
- eventDetails: "事件详情",
397
- actionDescription: "操作说明",
390
+ changeDetails: "变更详情",
391
+ eventType: "事件类型",
398
392
  metadata: "元数据",
399
393
  reason: "原因",
400
394
  resolvedFrom: "解析来源",
@@ -440,16 +434,13 @@ const Lt = {
440
434
  dateRange: {
441
435
  placeholder: "選擇日期範圍"
442
436
  },
443
- user: {
444
- feedmeAdmin: "FeedMe 管理員"
445
- },
446
437
  filter: {
447
438
  user_placeholder: "用戶",
448
439
  selected_user_prefix: "用戶: ",
449
440
  subject_placeholder: "主題",
450
441
  selected_subject_prefix: "主題: ",
451
- action_placeholder: "操作類型",
452
- selected_action_prefix: "操作類型: ",
442
+ action_placeholder: "操作",
443
+ selected_action_prefix: "操作: ",
453
444
  status_placeholder: "狀態",
454
445
  selected_status_prefix: "狀態: ",
455
446
  outcome_placeholder: "狀態",
@@ -470,14 +461,14 @@ const Lt = {
470
461
  payment: "支付",
471
462
  menu: "菜單",
472
463
  crm: "CRM",
473
- other: "其他",
474
464
  more: "更多"
475
465
  },
476
466
  columns: {
477
467
  timestamp: "日期",
478
468
  user: "用戶",
469
+ role: "角色",
479
470
  subject: "主題",
480
- action: "操作說明",
471
+ action: "操作",
481
472
  operation: "操作說明",
482
473
  outcome: "狀態"
483
474
  },
@@ -509,8 +500,8 @@ const Lt = {
509
500
  timestamp: "日期",
510
501
  userName: "用戶名稱",
511
502
  userPhone: "手機號碼",
512
- subject: "主題",
513
- action: "操作說明",
503
+ subject: "角色",
504
+ action: "操作",
514
505
  operation: "操作說明",
515
506
  outcome: "狀態",
516
507
  businessId: "商家 ID",
@@ -528,13 +519,14 @@ const Lt = {
528
519
  email: "電子郵件",
529
520
  action: "操作",
530
521
  operation: "操作說明",
522
+ role: "角色",
531
523
  subject: "主題",
532
524
  field: "字段",
533
525
  outcome: "結果",
534
526
  business: "商家",
535
527
  restaurant: "餐廳",
536
- eventDetails: "事件詳情",
537
- actionDescription: "操作說明",
528
+ changeDetails: "變更詳情",
529
+ eventType: "事件類型",
538
530
  metadata: "元數據",
539
531
  reason: "原因",
540
532
  resolvedFrom: "解析來源",
@@ -2586,7 +2578,7 @@ const Lt = {
2586
2578
  "th-TH": zn,
2587
2579
  "zh-Hant": Sn
2588
2580
  };
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.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 || {});
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.operation_orderSetting = "business::operation::orderSetting", 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 || {});
2590
2582
  const b = {
2591
2583
  general: "General",
2592
2584
  inventory: "Inventory",
@@ -3200,6 +3192,13 @@ const b = {
3200
3192
  category: b.operation,
3201
3193
  showByFeatureFlag: "hrm_enable_operation_permission"
3202
3194
  },
3195
+ operationOrderSetting: {
3196
+ label: "Order Settings",
3197
+ subject: o.operation_orderSetting,
3198
+ actions: [t.manage],
3199
+ category: b.operation,
3200
+ showByFeatureFlag: "hrm_enable_operation_permission"
3201
+ },
3203
3202
  // Mini Program
3204
3203
  miniProgramProfile: {
3205
3204
  label: "Business Profile Management",
@@ -5181,10 +5180,10 @@ const ht = (e) => ({
5181
5180
  }
5182
5181
  ]
5183
5182
  }
5184
- }), xa = Ke(be(() => import("./Main-Br31SktO.js"))), Va = Ke(be(() => import("./Main-Bb7KhUuL.js"))), Pa = Ke(
5185
- be(() => import("./AuditLogList-D13Tma55.js"))
5186
- ), Fa = Ke(be(() => import("./Main-CMv3GJZK.js"))), Oa = be(() => import("./EmployeeList-CmU-WKPT.js")), qa = be(() => import("./RoleList-VS11Dt8v.js")), Ha = be(() => import("./TimesheetList-DFbVpInY.js")), Xa = be(() => import("./TeamMemberList-BZv00x4B.js")), Qa = be(
5187
- () => import("./PermissionSetList-C6nSv0Em.js")
5183
+ }), xa = Ke(be(() => import("./Main-pf8KD_ew.js"))), Va = Ke(be(() => import("./Main-DiqWFbg6.js"))), Pa = Ke(
5184
+ be(() => import("./AuditLogList-_jMTq9y8.js"))
5185
+ ), Fa = Ke(be(() => import("./Main-Du7lPAnd.js"))), Oa = be(() => import("./EmployeeList-DSotV-7r.js")), qa = be(() => import("./RoleList-i0HAJQ9A.js")), Ha = be(() => import("./TimesheetList-BASAcu4x.js")), Xa = be(() => import("./TeamMemberList-BUCacyhN.js")), Qa = be(
5186
+ () => import("./PermissionSetList-BkP_yWYv.js")
5188
5187
  ), eo = [
5189
5188
  {
5190
5189
  path: "/",
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { f as e, i as r, r as o } from "./app-DPuGdUoR.js";
1
+ import { f as e, i as r, r as o } from "./app-BFiZ8ZXX.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-DPuGdUoR.js";
1
+ import { g as Q, c as K } from "./app-BFiZ8ZXX.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-BhwkmEiy.js";
1
+ import { d as g } from "./dayjs.min-UHgMNuVS.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-C2RViFQ4.js";
4
+ import { b as l, g as f, u as w, s as E } from "./iteration-BjUlb3UE.js";
5
5
  import { i as v } from "./utils-BZkjJbju.js";
6
- import { u as _ } from "./useAppStore-DqX0G_6s.js";
6
+ import { u as _ } from "./useAppStore-C59yWeEW.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-DPuGdUoR.js";
4
+ import { c as U } from "./app-BFiZ8ZXX.js";
5
5
  function Ur(e, n) {
6
6
  return function() {
7
7
  return e.apply(n, arguments);
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-DPuGdUoR.js";
1
+ import { c as jt } from "./app-BFiZ8ZXX.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -1,5 +1,5 @@
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-C2RViFQ4.js";
2
- import { e as R, P as x, b as F, l as j, k as Z, d as J } from "./app-DPuGdUoR.js";
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-BjUlb3UE.js";
2
+ import { e as R, P as x, b as F, l as j, k as Z, d as J } from "./app-BFiZ8ZXX.js";
3
3
  import { s as q } from "./utils-BZkjJbju.js";
4
4
  import { defineStore as W, storeToRefs as V } from "pinia";
5
5
  import { ref as S, computed as C } from "vue";
@@ -4,9 +4,6 @@ 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;
10
7
  [key: string]: any;
11
8
  }
12
9
  export interface Props {
@@ -94,14 +94,13 @@ 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>;
98
97
  userIdToName: import("vue").ComputedRef<Record<string, string>>;
99
98
  userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
100
99
  userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
101
100
  readTeamMembers: ({ force }?: {
102
101
  force?: boolean | undefined;
103
102
  }) => Promise<void>;
104
- }, "isLoading" | "members" | "hasLoaded">, Pick<{
103
+ }, "isLoading" | "members">, Pick<{
105
104
  members: import("vue").Ref<{
106
105
  id: string;
107
106
  name: string;
@@ -196,7 +195,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
196
195
  };
197
196
  }[]>;
198
197
  isLoading: import("vue").Ref<boolean, boolean>;
199
- hasLoaded: import("vue").Ref<boolean, boolean>;
200
198
  userIdToName: import("vue").ComputedRef<Record<string, string>>;
201
199
  userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
202
200
  userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
@@ -298,7 +296,6 @@ declare const useTeamStore: import("pinia").StoreDefinition<"team", Pick<{
298
296
  };
299
297
  }[]>;
300
298
  isLoading: import("vue").Ref<boolean, boolean>;
301
- hasLoaded: import("vue").Ref<boolean, boolean>;
302
299
  userIdToName: import("vue").ComputedRef<Record<string, string>>;
303
300
  userIdToEmail: import("vue").ComputedRef<Record<string, string>>;
304
301
  userIdToPhone: import("vue").ComputedRef<Record<string, string>>;
@@ -19,9 +19,6 @@ export declare const i18nMessages: {
19
19
  dateRange: {
20
20
  placeholder: string;
21
21
  };
22
- user: {
23
- feedmeAdmin: string;
24
- };
25
22
  filter: {
26
23
  user_placeholder: string;
27
24
  selected_user_prefix: string;
@@ -49,12 +46,12 @@ export declare const i18nMessages: {
49
46
  payment: string;
50
47
  menu: string;
51
48
  crm: string;
52
- other: string;
53
49
  more: string;
54
50
  };
55
51
  columns: {
56
52
  timestamp: string;
57
53
  user: string;
54
+ role: string;
58
55
  subject: string;
59
56
  action: string;
60
57
  operation: string;
@@ -107,13 +104,14 @@ export declare const i18nMessages: {
107
104
  email: string;
108
105
  action: string;
109
106
  operation: string;
107
+ role: string;
110
108
  subject: string;
111
109
  field: string;
112
110
  outcome: string;
113
111
  business: string;
114
112
  restaurant: string;
115
- eventDetails: string;
116
- actionDescription: string;
113
+ changeDetails: string;
114
+ eventType: string;
117
115
  metadata: string;
118
116
  reason: string;
119
117
  resolvedFrom: string;
@@ -154,9 +152,6 @@ export declare const i18nMessages: {
154
152
  dateRange: {
155
153
  placeholder: string;
156
154
  };
157
- user: {
158
- feedmeAdmin: string;
159
- };
160
155
  filter: {
161
156
  user_placeholder: string;
162
157
  selected_user_prefix: string;
@@ -184,12 +179,12 @@ export declare const i18nMessages: {
184
179
  payment: string;
185
180
  menu: string;
186
181
  crm: string;
187
- other: string;
188
182
  more: string;
189
183
  };
190
184
  columns: {
191
185
  timestamp: string;
192
186
  user: string;
187
+ role: string;
193
188
  subject: string;
194
189
  action: string;
195
190
  operation: string;
@@ -242,13 +237,14 @@ export declare const i18nMessages: {
242
237
  email: string;
243
238
  action: string;
244
239
  operation: string;
240
+ role: string;
245
241
  subject: string;
246
242
  field: string;
247
243
  outcome: string;
248
244
  business: string;
249
245
  restaurant: string;
250
- eventDetails: string;
251
- actionDescription: string;
246
+ changeDetails: string;
247
+ eventType: string;
252
248
  metadata: string;
253
249
  reason: string;
254
250
  resolvedFrom: string;
@@ -290,9 +286,6 @@ export declare const i18nMessages: {
290
286
  dateRange: {
291
287
  placeholder: string;
292
288
  };
293
- user: {
294
- feedmeAdmin: string;
295
- };
296
289
  filter: {
297
290
  user_placeholder: string;
298
291
  selected_user_prefix: string;
@@ -320,12 +313,12 @@ export declare const i18nMessages: {
320
313
  payment: string;
321
314
  menu: string;
322
315
  crm: string;
323
- other: string;
324
316
  more: string;
325
317
  };
326
318
  columns: {
327
319
  timestamp: string;
328
320
  user: string;
321
+ role: string;
329
322
  subject: string;
330
323
  action: string;
331
324
  operation: string;
@@ -378,13 +371,14 @@ export declare const i18nMessages: {
378
371
  email: string;
379
372
  action: string;
380
373
  operation: string;
374
+ role: string;
381
375
  subject: string;
382
376
  field: string;
383
377
  outcome: string;
384
378
  business: string;
385
379
  restaurant: string;
386
- eventDetails: string;
387
- actionDescription: string;
380
+ changeDetails: string;
381
+ eventType: string;
388
382
  metadata: string;
389
383
  reason: string;
390
384
  resolvedFrom: string;
@@ -426,9 +420,6 @@ export declare const i18nMessages: {
426
420
  dateRange: {
427
421
  placeholder: string;
428
422
  };
429
- user: {
430
- feedmeAdmin: string;
431
- };
432
423
  filter: {
433
424
  user_placeholder: string;
434
425
  selected_user_prefix: string;
@@ -456,12 +447,12 @@ export declare const i18nMessages: {
456
447
  payment: string;
457
448
  menu: string;
458
449
  crm: string;
459
- other: string;
460
450
  more: string;
461
451
  };
462
452
  columns: {
463
453
  timestamp: string;
464
454
  user: string;
455
+ role: string;
465
456
  subject: string;
466
457
  action: string;
467
458
  operation: string;
@@ -514,13 +505,14 @@ export declare const i18nMessages: {
514
505
  email: string;
515
506
  action: string;
516
507
  operation: string;
508
+ role: string;
517
509
  subject: string;
518
510
  field: string;
519
511
  outcome: string;
520
512
  business: string;
521
513
  restaurant: string;
522
- eventDetails: string;
523
- actionDescription: string;
514
+ changeDetails: string;
515
+ eventType: string;
524
516
  metadata: string;
525
517
  reason: string;
526
518
  resolvedFrom: string;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .employee-list-table[data-v-202bbc71] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-91afda4e] .basis-72{display:none}.user-info-icon[data-v-a439fdd8]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-a439fdd8]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-a439fdd8]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-a439fdd8]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-a439fdd8]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-a439fdd8]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-a439fdd8]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-a439fdd8],.profile-menu--profile .profile-phone[data-v-a439fdd8]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-list-table[data-v-cf386576] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label[data-v-cf386576]{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label[data-v-cf386576]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-cf386576]{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail[data-v-cf386576]::-webkit-scrollbar{display:none}
1
+ .employee-list-table[data-v-cefb09f9] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-d7ed31d7] .basis-72{display:none}.user-info-icon[data-v-a439fdd8]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-a439fdd8]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-a439fdd8]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-a439fdd8]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-a439fdd8]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-a439fdd8]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-a439fdd8]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-a439fdd8],.profile-menu--profile .profile-phone[data-v-a439fdd8]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-list-table[data-v-5566060e] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label[data-v-5566060e]{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label[data-v-5566060e]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-5566060e]{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail[data-v-5566060e]::-webkit-scrollbar{display:none}