@feedmepos/mf-hrm-portal 2.3.2 → 2.3.3

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/{ApprovalCodeList-C9r8CGNH.js → ApprovalCodeList-BvS5dgU3.js} +4 -4
  2. package/dist/{AuditLogList-Cu-KcQKa.js → AuditLogList-CpX_suVp.js} +4 -4
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BQ-uIsTN.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BT4DaSaO.js} +2 -2
  4. package/dist/{EmployeeList-BaFqZnFM.js → EmployeeList-CVsnidNV.js} +6 -6
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-Be1OU1_r.js → FormItem.vue_vue_type_script_setup_true_lang-h8toO2k-.js} +1 -1
  6. package/dist/{GrantUserList-Bjhx60M7.js → GrantUserList-Dyh5kllB.js} +5 -5
  7. package/dist/{Main-CJQpjOgY.js → Main-CRU4YEdj.js} +5 -5
  8. package/dist/{Main-LpfQqR_u.js → Main-OmCnufx6.js} +9 -9
  9. package/dist/{Main-DHiTgiDR.js → Main-aoY6s0QA.js} +2 -2
  10. package/dist/{PermissionSetList-C0OZ_dvE.js → PermissionSetList-B7B3vnRf.js} +5 -5
  11. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BVOwDcXo.js +4167 -0
  12. package/dist/{RoleList-DpyW5XLs.js → RoleList-B7jLSn2l.js} +7 -7
  13. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CqP-Dn1X.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BG5gE0iX.js} +1 -1
  14. package/dist/{ScheduleGeneralPage-BNHi5jGf.js → ScheduleGeneralPage-DK2hKCWE.js} +2 -2
  15. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-B609MZoP.js → ScheduleModal.vue_vue_type_script_setup_true_lang-mMjDR4Nz.js} +2 -2
  16. package/dist/{SchedulePage-CrP5_m3p.js → SchedulePage-Dn4joe9m.js} +7 -7
  17. package/dist/{SchedulePositionPage-ei_NKAUw.js → SchedulePositionPage-D7u4QBug.js} +3 -3
  18. package/dist/{SelectFilter-CEYQ-ViE.js → SelectFilter-BbTj7kMh.js} +1 -1
  19. package/dist/{TeamMemberList-rPiKKu2b.js → TeamMemberList-C0nZBhqp.js} +7 -7
  20. package/dist/{TimesheetList-B1L4WkNh.js → TimesheetList-B6TIgZba.js} +6 -6
  21. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-By6YR-k2.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CF1cWXsG.js} +2 -2
  22. package/dist/{app-BzlH-2cN.js → app-Cfzysb_Z.js} +199 -192
  23. package/dist/app.js +1 -1
  24. package/dist/{dayjs.min-D6T4JzVv.js → dayjs.min-NoTESZyy.js} +1 -1
  25. package/dist/{employee-Bw7kRokg.js → employee-BzUt7_wz.js} +3 -3
  26. package/dist/{iteration-Dz0e08VH.js → iteration-DmbHO_Rl.js} +1 -1
  27. package/dist/{lodash-DGG_-VgI.js → lodash-DqvpfdBt.js} +1 -1
  28. package/dist/{role-CiRbkZSm.js → role-Crd3XL59.js} +1 -1
  29. package/dist/{rule-DMgkHpva.js → rule-B1ck-XG6.js} +36 -36
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/{useReportPermissions-CCkCAaGO.js → useReportPermissions-DmMlLiQP.js} +3 -3
  32. package/package.json +2 -2
  33. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-T7dkd5Uv.js +0 -4167
@@ -5,8 +5,8 @@ import { isRef as rn, ref as We, shallowRef as ln, watchEffect as vs, computed a
5
5
  import { useBreakpoints as gn } from "@feedmepos/ui-library";
6
6
  import { useRoute as Ds, useRouter as Ms } from "vue-router";
7
7
  import { useCoreStore as Qa, useI18n as Xa } from "@feedmepos/mf-common";
8
- var Ps = /* @__PURE__ */ ((e) => (e[e.feedMe = 0] = "feedMe", e[e.business = 1] = "business", e[e.restaurant = 2] = "restaurant", e))(Ps || {}), r = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(r || {}), ks = /* @__PURE__ */ ((e) => (e.all = "all", e.restaurant = "restaurant", e.business = "business", e.delivery = "delivery", e.agent = "agent", e.posGrant = "posGrant", e))(ks || {}), Ss = /* @__PURE__ */ ((e) => (e.quota = "quota", e.owner = "owner", e))(Ss || {}), u = /* @__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.crm_marketingMaterial = "business::crm::marketingMaterial", 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_stockAdjustmentReason = "business::inventory::stockAdjustmentReason", 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.hrm_approvalCode = "business::hrm::approvalCode", e.hrm_scheduling = "business::hrm::scheduling", 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_accessOsDashboard = "business::report::accessOsDashboard", 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.media_assets = "business::media::assets", e))(u || {}), se = /* @__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))(se || {}), Bs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(Bs || {});
9
- const b = {
8
+ var Ps = /* @__PURE__ */ ((e) => (e[e.feedMe = 0] = "feedMe", e[e.business = 1] = "business", e[e.restaurant = 2] = "restaurant", e))(Ps || {}), r = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(r || {}), ks = /* @__PURE__ */ ((e) => (e.all = "all", e.restaurant = "restaurant", e.business = "business", e.delivery = "delivery", e.agent = "agent", e.posGrant = "posGrant", e))(ks || {}), Ss = /* @__PURE__ */ ((e) => (e.quota = "quota", e.owner = "owner", e))(Ss || {}), u = /* @__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.crm_marketingMaterial = "business::crm::marketingMaterial", 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_stockAdjustmentReason = "business::inventory::stockAdjustmentReason", 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.hrm_approvalCode = "business::hrm::approvalCode", e.hrm_scheduling = "business::hrm::scheduling", 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_accessOsDashboard = "business::report::accessOsDashboard", 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.operation_displaySystem = "business::operation::displaySystem", e.media_assets = "business::media::assets", e))(u || {}), se = /* @__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))(se || {}), Bs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(Bs || {});
9
+ const v = {
10
10
  general: "General",
11
11
  inventory: "Inventory",
12
12
  hrm: "HRM",
@@ -13625,129 +13625,129 @@ const Ac = {
13625
13625
  label: "Restaurant Owner",
13626
13626
  subject: u.restaurant,
13627
13627
  actions: [r.manage],
13628
- category: b.general
13628
+ category: v.general
13629
13629
  },
13630
13630
  // menu
13631
13631
  menuItem: {
13632
13632
  label: "Menu Items Management",
13633
13633
  subject: u.menu_item,
13634
13634
  actions: [r.manage],
13635
- category: b.menu
13635
+ category: v.menu
13636
13636
  },
13637
13637
  menuCatalog: {
13638
13638
  label: "Menu Catalog Management",
13639
13639
  subject: u.menu_catalog,
13640
13640
  actions: [r.manage],
13641
- category: b.menu
13641
+ category: v.menu
13642
13642
  },
13643
13643
  menuCategory: {
13644
13644
  label: "Menu Category Management",
13645
13645
  subject: u.menu_category,
13646
13646
  actions: [r.manage],
13647
- category: b.menu
13647
+ category: v.menu
13648
13648
  },
13649
13649
  menuSubCategory: {
13650
13650
  label: "Menu Sub-category Management",
13651
13651
  subject: u.menu_subCategory,
13652
13652
  actions: [r.manage],
13653
- category: b.menu
13653
+ category: v.menu
13654
13654
  },
13655
13655
  menuGroup: {
13656
13656
  label: "Menu Group Management",
13657
13657
  subject: u.menu_group,
13658
13658
  actions: [r.manage],
13659
- category: b.menu
13659
+ category: v.menu
13660
13660
  },
13661
13661
  menuTakeaway: {
13662
13662
  label: "Menu Takeaway Management",
13663
13663
  subject: u.menu_takeaway,
13664
13664
  actions: [r.manage],
13665
- category: b.menu
13665
+ category: v.menu
13666
13666
  },
13667
13667
  menuScheduler: {
13668
13668
  label: "Menu Scheduler Management",
13669
13669
  subject: u.menu_scheduler,
13670
13670
  actions: [r.manage],
13671
- category: b.menu
13671
+ category: v.menu
13672
13672
  },
13673
13673
  menuVariant: {
13674
13674
  label: "Menu Variant Management",
13675
13675
  subject: u.menu_variant,
13676
13676
  actions: [r.manage],
13677
- category: b.menu
13677
+ category: v.menu
13678
13678
  },
13679
13679
  menuCookingGuide: {
13680
13680
  label: "Menu Cooking Guide Management",
13681
13681
  subject: u.menu_cookingGuide,
13682
13682
  actions: [r.manage],
13683
- category: b.menu
13683
+ category: v.menu
13684
13684
  },
13685
13685
  menuPrintRoute: {
13686
13686
  label: "Menu Print Route Management",
13687
13687
  subject: u.menu_printRoute,
13688
13688
  actions: [r.manage],
13689
- category: b.menu
13689
+ category: v.menu
13690
13690
  },
13691
13691
  menuServingSequence: {
13692
13692
  label: "Menu Serving Sequence Management",
13693
13693
  subject: u.menu_servingSequence,
13694
13694
  actions: [r.manage],
13695
- category: b.menu
13695
+ category: v.menu
13696
13696
  },
13697
13697
  menuUnit: {
13698
13698
  label: "Menu Unit Management",
13699
13699
  subject: u.menu_unit,
13700
13700
  actions: [r.manage],
13701
- category: b.menu
13701
+ category: v.menu
13702
13702
  },
13703
13703
  menuIngredient: {
13704
13704
  label: "Menu Ingredient Management",
13705
13705
  subject: u.menu_ingredient,
13706
13706
  actions: [r.manage],
13707
- category: b.menu
13707
+ category: v.menu
13708
13708
  },
13709
13709
  menuRecipe: {
13710
13710
  label: "Menu Recipe Management",
13711
13711
  subject: u.menu_recipe,
13712
13712
  actions: [r.manage],
13713
- category: b.menu
13713
+ category: v.menu
13714
13714
  },
13715
13715
  menuSettings: {
13716
13716
  label: "Menu Settings Management",
13717
13717
  subject: u.menu_settings,
13718
13718
  actions: [r.manage],
13719
- category: b.menu
13719
+ category: v.menu
13720
13720
  },
13721
13721
  menuPublish: {
13722
13722
  label: "Menu Publish",
13723
13723
  subject: u.menu_publish,
13724
13724
  actions: [r.manage],
13725
- category: b.menu
13725
+ category: v.menu
13726
13726
  },
13727
13727
  menuManagement: {
13728
13728
  label: "Menu Management",
13729
13729
  subject: u.menu_menuManagement,
13730
13730
  actions: [r.manage],
13731
- category: b.menu
13731
+ category: v.menu
13732
13732
  },
13733
13733
  menuImportExport: {
13734
13734
  label: "Menu Import/Export",
13735
13735
  subject: u.menu_importExport,
13736
13736
  actions: [r.manage],
13737
- category: b.menu
13737
+ category: v.menu
13738
13738
  },
13739
13739
  // inventory
13740
13740
  inventoryStockBalance: {
13741
13741
  label: "Stock Balance Management",
13742
13742
  subject: u.inventory_stockBalance,
13743
13743
  actions: [r.manage],
13744
- category: b.inventory
13744
+ category: v.inventory
13745
13745
  },
13746
13746
  inventoryStockAdjustment: {
13747
13747
  label: "Stock Adjustment Management",
13748
13748
  subject: u.inventory_stockAdjustment,
13749
13749
  actions: [r.manage],
13750
- category: b.inventory
13750
+ category: v.inventory
13751
13751
  },
13752
13752
  // Deliberately independent of inventoryStockAdjustment (not chained via a
13753
13753
  // system permission set) — this restricts who can edit the default
@@ -13756,354 +13756,354 @@ const Ac = {
13756
13756
  label: "Stock Adjustment Reason Management",
13757
13757
  subject: u.inventory_stockAdjustmentReason,
13758
13758
  actions: [r.manage],
13759
- category: b.inventory
13759
+ category: v.inventory
13760
13760
  },
13761
13761
  inventoryUnitCostHistory: {
13762
13762
  label: "Unit Cost History Management",
13763
13763
  subject: u.inventory_unitCostHistory,
13764
13764
  actions: [r.manage],
13765
- category: b.inventory
13765
+ category: v.inventory
13766
13766
  },
13767
13767
  inventoryWastageTemplate: {
13768
13768
  label: "Wastage Template Management",
13769
13769
  subject: u.inventory_wastageTemplate,
13770
13770
  actions: [r.manage],
13771
- category: b.inventory,
13771
+ category: v.inventory,
13772
13772
  showByFeatureFlag: "inventory_pos_adjust_v2_wastage"
13773
13773
  },
13774
13774
  inventoryClosingHistory: {
13775
13775
  label: "Closing History Management",
13776
13776
  subject: u.inventory_closingHistory,
13777
13777
  actions: [r.manage],
13778
- category: b.inventory
13778
+ category: v.inventory
13779
13779
  },
13780
13780
  inventoryClosingTemplate: {
13781
13781
  label: "Closing Template Management",
13782
13782
  subject: u.inventory_closingTemplate,
13783
13783
  actions: [r.manage],
13784
- category: b.inventory,
13784
+ category: v.inventory,
13785
13785
  showByFeatureFlag: "inventory_pos_closing_v2"
13786
13786
  },
13787
13787
  inventoryClosingDraft: {
13788
13788
  label: "Closing Draft Management",
13789
13789
  subject: u.inventory_closingDraft,
13790
13790
  actions: [r.manage],
13791
- category: b.inventory,
13791
+ category: v.inventory,
13792
13792
  showByFeatureFlag: "inventory_pos_closing_v2"
13793
13793
  },
13794
13794
  inventoryIngredient: {
13795
13795
  label: "Ingredient Management",
13796
13796
  subject: u.inventory_ingredient,
13797
13797
  actions: [r.manage],
13798
- category: b.inventory
13798
+ category: v.inventory
13799
13799
  },
13800
13800
  inventoryIngredientGroup: {
13801
13801
  label: "Ingredient Group Management",
13802
13802
  subject: u.inventory_ingredientGroup,
13803
13803
  actions: [r.manage],
13804
13804
  showByFeatureFlag: "inventory_ingredient_group",
13805
- category: b.inventory
13805
+ category: v.inventory
13806
13806
  },
13807
13807
  inventoryRecipe: {
13808
13808
  label: "Recipe Management",
13809
13809
  subject: u.inventory_recipe,
13810
13810
  actions: [r.manage],
13811
- category: b.inventory
13811
+ category: v.inventory
13812
13812
  },
13813
13813
  inventoryUnit: {
13814
13814
  label: "Unit Management",
13815
13815
  subject: u.inventory_unit,
13816
13816
  actions: [r.manage],
13817
- category: b.inventory
13817
+ category: v.inventory
13818
13818
  },
13819
13819
  inventoryPurchaseTransfer: {
13820
13820
  label: "Purchase / Transfer Management",
13821
13821
  subject: u.inventory_purchaseTransfer,
13822
13822
  actions: [r.manage],
13823
- category: b.inventory
13823
+ category: v.inventory
13824
13824
  },
13825
13825
  inventoryOrderDraftApproval: {
13826
13826
  label: "Order Draft Approval",
13827
13827
  subject: u.inventory_orderDraftApproval,
13828
13828
  actions: [r.manage],
13829
- category: b.inventory
13829
+ category: v.inventory
13830
13830
  },
13831
13831
  inventoryTransferOut: {
13832
13832
  label: "Transfer Out Management",
13833
13833
  subject: u.inventory_transferOut,
13834
13834
  actions: [r.manage],
13835
- category: b.inventory
13835
+ category: v.inventory
13836
13836
  },
13837
13837
  inventorySurcharge: {
13838
13838
  label: "Surcharge Management",
13839
13839
  subject: u.inventory_surcharge,
13840
13840
  actions: [r.manage],
13841
13841
  showByFeatureFlag: "inventory_portal_surcharge",
13842
- category: b.inventory
13842
+ category: v.inventory
13843
13843
  },
13844
13844
  inventoryOrderTemplate: {
13845
13845
  label: "Order Template Management",
13846
13846
  subject: u.inventory_orderTemplate,
13847
13847
  actions: [r.manage],
13848
13848
  showByFeatureFlag: "inventory_portal_must_use_transfer_template",
13849
- category: b.inventory
13849
+ category: v.inventory
13850
13850
  },
13851
13851
  inventorySupplier: {
13852
13852
  label: "Supplier Management",
13853
13853
  subject: u.inventory_supplier,
13854
13854
  actions: [r.manage],
13855
- category: b.inventory
13855
+ category: v.inventory
13856
13856
  },
13857
13857
  inventoryWarehouse: {
13858
13858
  label: "Warehouse Management",
13859
13859
  subject: u.inventory_warehouse,
13860
13860
  actions: [r.manage],
13861
- category: b.inventory
13861
+ category: v.inventory
13862
13862
  },
13863
13863
  inventoryPublish: {
13864
13864
  label: "Publish Management",
13865
13865
  subject: u.inventory_publish,
13866
13866
  actions: [r.manage],
13867
- category: b.inventory
13867
+ category: v.inventory
13868
13868
  },
13869
13869
  inventoryImport: {
13870
13870
  label: "Import Management",
13871
13871
  subject: u.inventory_import,
13872
13872
  actions: [r.manage],
13873
13873
  showByFeatureFlag: "inventory_bulk_import",
13874
- category: b.inventory
13874
+ category: v.inventory
13875
13875
  },
13876
13876
  inventoryIntegration: {
13877
13877
  label: "Integration Management",
13878
13878
  subject: u.inventory_integration,
13879
13879
  actions: [r.manage],
13880
- category: b.inventory
13880
+ category: v.inventory
13881
13881
  },
13882
13882
  // CRM
13883
13883
  crmMembership: {
13884
13884
  label: "Membership Management (V1)",
13885
13885
  subject: u.crm_membership,
13886
13886
  actions: [r.manage],
13887
- category: b.crm
13887
+ category: v.crm
13888
13888
  },
13889
13889
  crmPromotion: {
13890
13890
  label: "Promotion Management (V1/V2)",
13891
13891
  subject: u.crm_promotion,
13892
13892
  actions: [r.manage],
13893
- category: b.crm
13893
+ category: v.crm
13894
13894
  },
13895
13895
  crmVoucher: {
13896
13896
  label: "Voucher Management (V1/V2)",
13897
13897
  subject: u.crm_voucher,
13898
13898
  actions: [r.manage],
13899
- category: b.crm
13899
+ category: v.crm
13900
13900
  },
13901
13901
  crmAnalytic: {
13902
13902
  label: "Analytic Management",
13903
13903
  subject: u.crm_analytic,
13904
13904
  actions: [r.manage],
13905
- category: b.crm
13905
+ category: v.crm
13906
13906
  },
13907
13907
  crmTier: {
13908
13908
  label: "Tier Management",
13909
13909
  subject: u.crm_tier,
13910
13910
  actions: [r.manage],
13911
- category: b.crm
13911
+ category: v.crm
13912
13912
  },
13913
13913
  crmTitle: {
13914
13914
  label: "Title Management",
13915
13915
  subject: u.crm_title,
13916
13916
  actions: [r.manage],
13917
- category: b.crm
13917
+ category: v.crm
13918
13918
  },
13919
13919
  crmBroadcast: {
13920
13920
  label: "Broadcast Management",
13921
13921
  subject: u.crm_broadcast,
13922
13922
  actions: [r.manage],
13923
- category: b.crm
13923
+ category: v.crm
13924
13924
  },
13925
13925
  crmPoint: {
13926
13926
  label: "Point Management",
13927
13927
  subject: u.crm_point,
13928
13928
  actions: [r.manage],
13929
- category: b.crm
13929
+ category: v.crm
13930
13930
  },
13931
13931
  crmCredit: {
13932
13932
  label: "Credit Management",
13933
13933
  subject: u.crm_credit,
13934
13934
  actions: [r.manage],
13935
- category: b.crm
13935
+ category: v.crm
13936
13936
  },
13937
13937
  crmExperience: {
13938
13938
  label: "Experience Management",
13939
13939
  subject: u.crm_experience,
13940
13940
  actions: [r.manage],
13941
- category: b.crm
13941
+ category: v.crm
13942
13942
  },
13943
13943
  crmGame: {
13944
13944
  label: "Game Management",
13945
13945
  subject: u.crm_game,
13946
13946
  actions: [r.manage],
13947
- category: b.crm
13947
+ category: v.crm
13948
13948
  },
13949
13949
  crmMission: {
13950
13950
  label: "Mission Management",
13951
13951
  subject: u.crm_mission,
13952
13952
  actions: [r.manage],
13953
- category: b.crm
13953
+ category: v.crm
13954
13954
  },
13955
13955
  crmLoyaltyMember: {
13956
13956
  label: "Loyalty Member Management",
13957
13957
  subject: u.crm_loyaltyMember,
13958
13958
  actions: [r.manage],
13959
- category: b.crm
13959
+ category: v.crm
13960
13960
  },
13961
13961
  crmLoyaltySegment: {
13962
13962
  label: "Loyalty Segment Management",
13963
13963
  subject: u.crm_loyaltySegment,
13964
13964
  actions: [r.manage],
13965
- category: b.crm
13965
+ category: v.crm
13966
13966
  },
13967
13967
  crmLoyaltyCard: {
13968
13968
  label: "Loyalty Card Management",
13969
13969
  subject: u.crm_loyaltyCard,
13970
13970
  actions: [r.manage],
13971
- category: b.crm
13971
+ category: v.crm
13972
13972
  },
13973
13973
  crmReferral: {
13974
13974
  label: "Referral Management",
13975
13975
  subject: u.crm_referral,
13976
13976
  actions: [r.manage],
13977
- category: b.crm
13977
+ category: v.crm
13978
13978
  },
13979
13979
  crmStore: {
13980
13980
  label: "Store Management",
13981
13981
  subject: u.crm_store,
13982
13982
  actions: [r.manage],
13983
- category: b.crm
13983
+ category: v.crm
13984
13984
  },
13985
13985
  crmTransaction: {
13986
13986
  label: "Transaction Management",
13987
13987
  subject: u.crm_transaction,
13988
13988
  actions: [r.manage],
13989
- category: b.crm
13989
+ category: v.crm
13990
13990
  },
13991
13991
  crmSetting: {
13992
13992
  label: "Setting Management",
13993
13993
  subject: u.crm_setting,
13994
13994
  actions: [r.manage],
13995
- category: b.crm
13995
+ category: v.crm
13996
13996
  },
13997
13997
  crmBin: {
13998
13998
  label: "Bin Management",
13999
13999
  subject: u.crm_bin,
14000
14000
  actions: [r.manage],
14001
- category: b.crm
14001
+ category: v.crm
14002
14002
  },
14003
14003
  crmMarketingMaterial: {
14004
14004
  label: "Marketing Material Management",
14005
14005
  subject: u.crm_marketingMaterial,
14006
14006
  actions: [r.manage],
14007
- category: b.crm
14007
+ category: v.crm
14008
14008
  },
14009
14009
  // Payment
14010
14010
  paymentPayoutAccount: {
14011
14011
  label: "Payout Account Management",
14012
14012
  subject: u.payment_payoutAccount,
14013
14013
  actions: [r.manage],
14014
- category: b.payment
14014
+ category: v.payment
14015
14015
  },
14016
14016
  paymentOnboarding: {
14017
14017
  label: "Payment Onboarding Management",
14018
14018
  subject: u.payment_paymentOnboarding,
14019
14019
  actions: [r.manage],
14020
- category: b.payment
14020
+ category: v.payment
14021
14021
  },
14022
14022
  paymentTransactions: {
14023
14023
  label: "Transactions Management",
14024
14024
  subject: u.payment_transactions,
14025
14025
  actions: [r.manage],
14026
- category: b.payment
14026
+ category: v.payment
14027
14027
  },
14028
14028
  paymentSettlements: {
14029
14029
  label: "Settlements Management",
14030
14030
  subject: u.payment_settlements,
14031
14031
  actions: [r.manage],
14032
- category: b.payment
14032
+ category: v.payment
14033
14033
  },
14034
14034
  // HRM
14035
14035
  hrmTeamMember: {
14036
14036
  label: "Team Member Management",
14037
14037
  subject: u.hrm_teamMember,
14038
14038
  actions: [r.manage],
14039
- category: b.hrm
14039
+ category: v.hrm
14040
14040
  },
14041
14041
  hrmEmployee: {
14042
14042
  label: "Employee Management",
14043
14043
  subject: u.hrm_employee,
14044
14044
  actions: [r.manage],
14045
- category: b.hrm
14045
+ category: v.hrm
14046
14046
  },
14047
14047
  hrmScheduling: {
14048
14048
  label: "Scheduling Management",
14049
14049
  subject: u.hrm_scheduling,
14050
14050
  actions: [r.manage],
14051
- category: b.hrm
14051
+ category: v.hrm
14052
14052
  },
14053
14053
  hrmAuditLog: {
14054
14054
  label: "Audit Log Management",
14055
14055
  subject: u.hrm_auditLog,
14056
14056
  actions: [r.manage],
14057
- category: b.hrm
14057
+ category: v.hrm
14058
14058
  },
14059
14059
  hrmApprovalCode: {
14060
14060
  label: "Approval Code Management",
14061
14061
  subject: u.hrm_approvalCode,
14062
14062
  actions: [r.manage],
14063
- category: b.hrm
14063
+ category: v.hrm
14064
14064
  },
14065
14065
  // Report
14066
14066
  reportReports: {
14067
14067
  label: "Create Report",
14068
14068
  subject: u.report_createReport,
14069
14069
  actions: [r.manage],
14070
- category: b.report
14070
+ category: v.report
14071
14071
  },
14072
14072
  reportAccessOsDashboard: {
14073
14073
  label: "Access FeedmeOS Dashboard",
14074
14074
  subject: u.report_accessOsDashboard,
14075
14075
  actions: [r.manage],
14076
- category: b.report
14076
+ category: v.report
14077
14077
  },
14078
14078
  reportAccessOverview: {
14079
14079
  label: "Access Overview Page",
14080
14080
  subject: u.report_accessOverview,
14081
14081
  actions: [r.manage],
14082
- category: b.report
14082
+ category: v.report
14083
14083
  },
14084
14084
  reportAccessInsight: {
14085
14085
  label: "Access Insight Page",
14086
14086
  subject: u.report_accessInsight,
14087
14087
  actions: [r.manage],
14088
- category: b.report
14088
+ category: v.report
14089
14089
  },
14090
14090
  reportAccessSetting: {
14091
14091
  label: "Access Setting Page",
14092
14092
  subject: u.report_accessSetting,
14093
14093
  actions: [r.manage],
14094
- category: b.report
14094
+ category: v.report
14095
14095
  },
14096
14096
  reportAccessIntegration: {
14097
14097
  label: "Access Integration Page",
14098
14098
  subject: u.report_accessIntegration,
14099
14099
  actions: [r.manage],
14100
- category: b.report
14100
+ category: v.report
14101
14101
  },
14102
14102
  reportAllDefaultReports: {
14103
14103
  label: "All Default Reports (Include future)",
14104
14104
  subject: u.report_reports_allDefaultReports,
14105
14105
  actions: [r.manage, r.read, r.create],
14106
- category: b.reports,
14106
+ category: v.reports,
14107
14107
  isCategoryCover: !0
14108
14108
  },
14109
14109
  reportAllCustomReports: {
@@ -14116,7 +14116,7 @@ const Ac = {
14116
14116
  r.update,
14117
14117
  r.delete
14118
14118
  ],
14119
- category: b.customReports,
14119
+ category: v.customReports,
14120
14120
  isCategoryCover: !0
14121
14121
  },
14122
14122
  // MDM
@@ -14124,28 +14124,28 @@ const Ac = {
14124
14124
  label: "Device Management",
14125
14125
  subject: u.mdm_deviceManagement,
14126
14126
  actions: [r.manage],
14127
- category: b.settings,
14127
+ category: v.settings,
14128
14128
  showByFeatureFlag: "hrm_enable_mdm_permission"
14129
14129
  },
14130
14130
  mdmCreateDevice: {
14131
14131
  label: "Create New Device",
14132
14132
  subject: u.mdm_createDevice,
14133
14133
  actions: [r.manage],
14134
- category: b.settings,
14134
+ category: v.settings,
14135
14135
  showByFeatureFlag: "hrm_enable_mdm_permission"
14136
14136
  },
14137
14137
  mdmDeviceBinding: {
14138
14138
  label: "Manage Device Binding",
14139
14139
  subject: u.mdm_deviceBinding,
14140
14140
  actions: [r.manage],
14141
- category: b.settings,
14141
+ category: v.settings,
14142
14142
  showByFeatureFlag: "hrm_enable_mdm_permission"
14143
14143
  },
14144
14144
  mdmCustomerDisplay: {
14145
14145
  label: "Manage Customer Display",
14146
14146
  subject: u.mdm_customerDisplay,
14147
14147
  actions: [r.manage, r.read, r.update],
14148
- category: b.settings,
14148
+ category: v.settings,
14149
14149
  showByFeatureFlag: "hrm_enable_mdm_permission"
14150
14150
  },
14151
14151
  // Kiosk
@@ -14153,14 +14153,14 @@ const Ac = {
14153
14153
  label: "Kiosk Device Management",
14154
14154
  subject: u.kiosk_deviceManagement,
14155
14155
  actions: [r.manage],
14156
- category: b.settings,
14156
+ category: v.settings,
14157
14157
  showByFeatureFlag: "hrm_enable_kiosk_permission"
14158
14158
  },
14159
14159
  kioskDeviceBinding: {
14160
14160
  label: "Kiosk Device Binding",
14161
14161
  subject: u.kiosk_deviceBinding,
14162
14162
  actions: [r.manage],
14163
- category: b.settings,
14163
+ category: v.settings,
14164
14164
  showByFeatureFlag: "hrm_enable_kiosk_permission"
14165
14165
  },
14166
14166
  // E-invoice
@@ -14168,14 +14168,14 @@ const Ac = {
14168
14168
  label: "E-invoice Management",
14169
14169
  subject: u.eInvoice_management,
14170
14170
  actions: [r.manage],
14171
- category: b.settings,
14171
+ category: v.settings,
14172
14172
  showByFeatureFlag: "hrm_enable_einvoice_permission"
14173
14173
  },
14174
14174
  eInvoiceIntegration: {
14175
14175
  label: "Manage E-invoice Integration",
14176
14176
  subject: u.eInvoice_integration,
14177
14177
  actions: [r.manage],
14178
- category: b.settings,
14178
+ category: v.settings,
14179
14179
  showByFeatureFlag: "hrm_enable_einvoice_permission"
14180
14180
  },
14181
14181
  // operation
@@ -14183,56 +14183,63 @@ const Ac = {
14183
14183
  label: "Receipt",
14184
14184
  subject: u.operation_receipt,
14185
14185
  actions: [r.manage],
14186
- category: b.operation,
14186
+ category: v.operation,
14187
14187
  showByFeatureFlag: "hrm_enable_operation_permission"
14188
14188
  },
14189
14189
  operationTableManagement: {
14190
14190
  label: "Table Management",
14191
14191
  subject: u.operation_tableManagement,
14192
14192
  actions: [r.manage],
14193
- category: b.operation,
14193
+ category: v.operation,
14194
14194
  showByFeatureFlag: "hrm_enable_operation_permission"
14195
14195
  },
14196
14196
  operationOfflinePayment: {
14197
14197
  label: "Offline Payment Management",
14198
14198
  subject: u.operation_offlinePayment,
14199
14199
  actions: [r.manage],
14200
- category: b.operation,
14200
+ category: v.operation,
14201
14201
  showByFeatureFlag: "hrm_enable_operation_permission"
14202
14202
  },
14203
14203
  operationReasonTemplate: {
14204
14204
  label: "Reason Template Management",
14205
14205
  subject: u.operation_reasonTemplate,
14206
14206
  actions: [r.manage],
14207
- category: b.operation,
14207
+ category: v.operation,
14208
14208
  showByFeatureFlag: "hrm_enable_operation_permission"
14209
14209
  },
14210
14210
  operationDiscountRule: {
14211
14211
  label: "Discount Rule Management",
14212
14212
  subject: u.operation_discountRule,
14213
14213
  actions: [r.manage],
14214
- category: b.operation,
14214
+ category: v.operation,
14215
14215
  showByFeatureFlag: "hrm_enable_operation_permission"
14216
14216
  },
14217
14217
  operationServiceCharge: {
14218
14218
  label: "Service Charge Management",
14219
14219
  subject: u.operation_serviceCharge,
14220
14220
  actions: [r.manage],
14221
- category: b.operation,
14221
+ category: v.operation,
14222
14222
  showByFeatureFlag: "hrm_enable_operation_permission"
14223
14223
  },
14224
14224
  operationKitchenPrintTemplate: {
14225
14225
  label: "Print Template Management",
14226
14226
  subject: u.operation_kitchenPrintTemplate,
14227
14227
  actions: [r.manage],
14228
- category: b.operation,
14228
+ category: v.operation,
14229
14229
  showByFeatureFlag: "hrm_enable_operation_permission"
14230
14230
  },
14231
14231
  operationOrderSetting: {
14232
14232
  label: "Order Settings",
14233
14233
  subject: u.operation_orderSetting,
14234
14234
  actions: [r.manage],
14235
- category: b.operation,
14235
+ category: v.operation,
14236
+ showByFeatureFlag: "hrm_enable_operation_permission"
14237
+ },
14238
+ operationDisplaySystem: {
14239
+ label: "Manage Display System",
14240
+ subject: u.operation_displaySystem,
14241
+ actions: [r.manage],
14242
+ category: v.operation,
14236
14243
  showByFeatureFlag: "hrm_enable_operation_permission"
14237
14244
  },
14238
14245
  // Mini Program
@@ -14240,42 +14247,42 @@ const Ac = {
14240
14247
  label: "Business Profile Management",
14241
14248
  subject: u.miniProgram_profile,
14242
14249
  actions: [r.manage],
14243
- category: b.miniProgram,
14250
+ category: v.miniProgram,
14244
14251
  showByFeatureFlag: "hrm_enable_miniprogram_permission"
14245
14252
  },
14246
14253
  miniProgramBrandkit: {
14247
14254
  label: "Brand Kit Management",
14248
14255
  subject: u.miniProgram_brandkit,
14249
14256
  actions: [r.manage],
14250
- category: b.miniProgram,
14257
+ category: v.miniProgram,
14251
14258
  showByFeatureFlag: "hrm_enable_miniprogram_permission"
14252
14259
  },
14253
14260
  miniProgramTemplate: {
14254
14261
  label: "Template Management",
14255
14262
  subject: u.miniProgram_template,
14256
14263
  actions: [r.manage],
14257
- category: b.miniProgram,
14264
+ category: v.miniProgram,
14258
14265
  showByFeatureFlag: "hrm_enable_miniprogram_permission"
14259
14266
  },
14260
14267
  miniProgramPublish: {
14261
14268
  label: "Publish Management",
14262
14269
  subject: u.miniProgram_publish,
14263
14270
  actions: [r.manage],
14264
- category: b.miniProgram,
14271
+ category: v.miniProgram,
14265
14272
  showByFeatureFlag: "hrm_enable_miniprogram_permission"
14266
14273
  },
14267
14274
  miniProgramAssets: {
14268
14275
  label: "Assets Management",
14269
14276
  subject: u.miniProgram_assets,
14270
14277
  actions: [r.manage],
14271
- category: b.miniProgram,
14278
+ category: v.miniProgram,
14272
14279
  showByFeatureFlag: "hrm_enable_miniprogram_permission"
14273
14280
  },
14274
14281
  miniProgramNativeCredentials: {
14275
14282
  label: "Credentials Management",
14276
14283
  subject: u.miniProgram_nativeCredentials,
14277
14284
  actions: [r.manage],
14278
- category: b.miniProgram,
14285
+ category: v.miniProgram,
14279
14286
  showByFeatureFlag: "hrm_enable_miniprogram_permission"
14280
14287
  },
14281
14288
  // Media
@@ -14283,7 +14290,7 @@ const Ac = {
14283
14290
  label: "Media Library Management",
14284
14291
  subject: u.media_assets,
14285
14292
  actions: [r.manage],
14286
- category: b.media,
14293
+ category: v.media,
14287
14294
  showByFeatureFlag: "hrm_enable_media_permission"
14288
14295
  }
14289
14296
  }, fc = [
@@ -16025,13 +16032,13 @@ var _o = { exports: {} };
16025
16032
  }
16026
16033
  function ie(p, g) {
16027
16034
  var C = p.keyPath, P = p.child, B = p.query, T = [];
16028
- if (function i(h, m, v, D, x) {
16029
- if (v === m.length || h == null)
16030
- return void x.push([h, m[v - 1], D]);
16031
- var F = w(m, v);
16035
+ if (function i(h, m, b, D, x) {
16036
+ if (b === m.length || h == null)
16037
+ return void x.push([h, m[b - 1], D]);
16038
+ var F = w(m, b);
16032
16039
  if (d(h) && isNaN(Number(F)))
16033
- for (var L = 0, S = h.length; L < S; L++) i(w(h, L), m, v, h, x);
16034
- else i(w(h, F), m, v + 1, h, x);
16040
+ for (var L = 0, S = h.length; L < S; L++) i(w(h, L), m, b, h, x);
16041
+ else i(w(h, F), m, b + 1, h, x);
16035
16042
  }(g, C, 0, g, T), T.length === 1) {
16036
16043
  var H = T[0];
16037
16044
  return X(P, H[0], H[1], H[2]);
@@ -16702,16 +16709,16 @@ const tt = (e) => ({
16702
16709
  }
16703
16710
  ]
16704
16711
  }
16705
- }), Rd = it(ge(() => import("./Main-LpfQqR_u.js"))), Fd = it(ge(() => import("./Main-CJQpjOgY.js"))), jd = it(
16706
- ge(() => import("./AuditLogList-Cu-KcQKa.js"))
16707
- ), Nd = it(ge(() => import("./Main-DHiTgiDR.js"))), Hd = ge(() => import("./ApprovalCodeList-C9r8CGNH.js")), Yd = ge(() => import("./GrantUserList-Bjhx60M7.js")), Gd = ge(() => import("./EmployeeList-BaFqZnFM.js")), Vd = ge(() => import("./RoleList-DpyW5XLs.js")), Id = ge(() => import("./TimesheetList-B1L4WkNh.js")), qd = ge(() => import("./TeamMemberList-rPiKKu2b.js")), Wd = ge(
16708
- () => import("./PermissionSetList-C0OZ_dvE.js")
16712
+ }), Rd = it(ge(() => import("./Main-OmCnufx6.js"))), Fd = it(ge(() => import("./Main-CRU4YEdj.js"))), jd = it(
16713
+ ge(() => import("./AuditLogList-CpX_suVp.js"))
16714
+ ), Nd = it(ge(() => import("./Main-aoY6s0QA.js"))), Hd = ge(() => import("./ApprovalCodeList-BvS5dgU3.js")), Yd = ge(() => import("./GrantUserList-Dyh5kllB.js")), Gd = ge(() => import("./EmployeeList-CVsnidNV.js")), Vd = ge(() => import("./RoleList-B7jLSn2l.js")), Id = ge(() => import("./TimesheetList-B6TIgZba.js")), qd = ge(() => import("./TeamMemberList-C0nZBhqp.js")), Wd = ge(
16715
+ () => import("./PermissionSetList-B7B3vnRf.js")
16709
16716
  ), Ld = _a(
16710
- it(ge(() => import("./SchedulePage-CrP5_m3p.js")))
16717
+ it(ge(() => import("./SchedulePage-Dn4joe9m.js")))
16711
16718
  ), Qd = _a(
16712
- it(ge(() => import("./SchedulePositionPage-ei_NKAUw.js")))
16719
+ it(ge(() => import("./SchedulePositionPage-D7u4QBug.js")))
16713
16720
  ), Xd = _a(
16714
- it(ge(() => import("./ScheduleGeneralPage-BNHi5jGf.js")))
16721
+ it(ge(() => import("./ScheduleGeneralPage-DK2hKCWE.js")))
16715
16722
  ), wc = [
16716
16723
  {
16717
16724
  path: "/",
@@ -17036,8 +17043,8 @@ var qa = { exports: {} };
17036
17043
  var i = this;
17037
17044
  return new Promise(function(h, m) {
17038
17045
  try {
17039
- var v = i.getItemSync(A);
17040
- c == null || c(null, v), h(v);
17046
+ var b = i.getItemSync(A);
17047
+ c == null || c(null, b), h(b);
17041
17048
  } catch (D) {
17042
17049
  c && c(D, null), m(D);
17043
17050
  }
@@ -17046,8 +17053,8 @@ var qa = { exports: {} };
17046
17053
  return new Promise(function(h, m) {
17047
17054
  try {
17048
17055
  localStorage.setItem(A, c), i && i(null, c), h(c);
17049
- } catch (v) {
17050
- i && i(v, null), m(v);
17056
+ } catch (b) {
17057
+ i && i(b, null), m(b);
17051
17058
  }
17052
17059
  });
17053
17060
  } }, o = function() {
@@ -17057,19 +17064,19 @@ var qa = { exports: {} };
17057
17064
  }, o.apply(this, arguments);
17058
17065
  };
17059
17066
  function n(A, c, i, h) {
17060
- return new (i || (i = Promise))(function(m, v) {
17067
+ return new (i || (i = Promise))(function(m, b) {
17061
17068
  function D(L) {
17062
17069
  try {
17063
17070
  F(h.next(L));
17064
17071
  } catch (S) {
17065
- v(S);
17072
+ b(S);
17066
17073
  }
17067
17074
  }
17068
17075
  function x(L) {
17069
17076
  try {
17070
17077
  F(h.throw(L));
17071
17078
  } catch (S) {
17072
- v(S);
17079
+ b(S);
17073
17080
  }
17074
17081
  }
17075
17082
  function F(L) {
@@ -17082,13 +17089,13 @@ var qa = { exports: {} };
17082
17089
  });
17083
17090
  }
17084
17091
  function l(A, c) {
17085
- var i, h, m, v, D = { label: 0, sent: function() {
17092
+ var i, h, m, b, D = { label: 0, sent: function() {
17086
17093
  if (1 & m[0]) throw m[1];
17087
17094
  return m[1];
17088
17095
  }, trys: [], ops: [] };
17089
- return v = { next: x(0), throw: x(1), return: x(2) }, typeof Symbol == "function" && (v[Symbol.iterator] = function() {
17096
+ return b = { next: x(0), throw: x(1), return: x(2) }, typeof Symbol == "function" && (b[Symbol.iterator] = function() {
17090
17097
  return this;
17091
- }), v;
17098
+ }), b;
17092
17099
  function x(F) {
17093
17100
  return function(L) {
17094
17101
  return function(S) {
@@ -17141,14 +17148,14 @@ var qa = { exports: {} };
17141
17148
  }
17142
17149
  }
17143
17150
  function d(A, c, i) {
17144
- for (var h, m = 0, v = c.length; m < v; m++) !h && m in c || (h || (h = Array.prototype.slice.call(c, 0, m)), h[m] = c[m]);
17151
+ for (var h, m = 0, b = c.length; m < b; m++) !h && m in c || (h || (h = Array.prototype.slice.call(c, 0, m)), h[m] = c[m]);
17145
17152
  return A.concat(h || Array.prototype.slice.call(c));
17146
17153
  }
17147
17154
  var f = function A(c, i) {
17148
17155
  if (c === i) return !0;
17149
17156
  if (c && i && typeof c == "object" && typeof i == "object") {
17150
17157
  if (c.constructor !== i.constructor) return !1;
17151
- var h, m, v;
17158
+ var h, m, b;
17152
17159
  if (Array.isArray(c)) {
17153
17160
  if ((h = c.length) != i.length) return !1;
17154
17161
  for (m = h; m-- != 0; ) if (!A(c[m], i[m])) return !1;
@@ -17157,10 +17164,10 @@ var qa = { exports: {} };
17157
17164
  if (c.constructor === RegExp) return c.source === i.source && c.flags === i.flags;
17158
17165
  if (c.valueOf !== Object.prototype.valueOf) return c.valueOf() === i.valueOf();
17159
17166
  if (c.toString !== Object.prototype.toString) return c.toString() === i.toString();
17160
- if ((h = (v = Object.keys(c)).length) !== Object.keys(i).length) return !1;
17161
- for (m = h; m-- != 0; ) if (!Object.prototype.hasOwnProperty.call(i, v[m])) return !1;
17167
+ if ((h = (b = Object.keys(c)).length) !== Object.keys(i).length) return !1;
17168
+ for (m = h; m-- != 0; ) if (!Object.prototype.hasOwnProperty.call(i, b[m])) return !1;
17162
17169
  for (m = h; m-- != 0; ) {
17163
- var D = v[m];
17170
+ var D = b[m];
17164
17171
  if (!A(c[D], i[D])) return !1;
17165
17172
  }
17166
17173
  return !0;
@@ -17169,8 +17176,8 @@ var qa = { exports: {} };
17169
17176
  };
17170
17177
  function y(A, c) {
17171
17178
  var i = Object.keys(c || {}).filter(function(h) {
17172
- var m = A == null ? void 0 : A[h], v = c == null ? void 0 : c[h];
17173
- return !f(m, v);
17179
+ var m = A == null ? void 0 : A[h], b = c == null ? void 0 : c[h];
17180
+ return !f(m, b);
17174
17181
  });
17175
17182
  return Object.keys(A || {}).filter(function(h) {
17176
17183
  Object.keys(c || {}).includes(h) || i.push(h);
@@ -17200,7 +17207,7 @@ var qa = { exports: {} };
17200
17207
  function A(c) {
17201
17208
  var i = this;
17202
17209
  this._trigger = null, this._triggerLoadingState = null, this.timestamp = null, this.isLoading = !1, this.eventSource = null, this.getFlags = function() {
17203
- var h = i, m = h.api, v = h.evaluationContext;
17210
+ var h = i, m = h.api, b = h.evaluationContext;
17204
17211
  i.log("Get Flags"), i.isLoading = !0, i.loadingState.isFetching || i.setLoadingState(o(o({}, i.loadingState), { isFetching: !0 }));
17205
17212
  var D = "".concat(i.getContext().identity), x = function(F) {
17206
17213
  var L, S, K, me;
@@ -17238,12 +17245,12 @@ var qa = { exports: {} };
17238
17245
  }
17239
17246
  }
17240
17247
  };
17241
- return v.identity ? Promise.all([v.identity.traits && Object.keys(v.identity.traits).length || !v.identity.identifier ? i.getJSON(m + "identities/", "POST", JSON.stringify({ identifier: v.identity.identifier, transient: v.identity.transient, traits: Object.entries(v.identity.traits).map(function(F) {
17248
+ return b.identity ? Promise.all([b.identity.traits && Object.keys(b.identity.traits).length || !b.identity.identifier ? i.getJSON(m + "identities/", "POST", JSON.stringify({ identifier: b.identity.identifier, transient: b.identity.transient, traits: Object.entries(b.identity.traits).map(function(F) {
17242
17249
  var L = F[0], S = F[1];
17243
17250
  return { trait_key: L, trait_value: S == null ? void 0 : S.value, transient: S == null ? void 0 : S.transient };
17244
17251
  }).filter(function(F) {
17245
17252
  return F.trait_value !== void 0 || (i.log("Warning - attempted to set an undefined trait value for key", F.trait_key), !1);
17246
- }) })) : i.getJSON(m + "identities/?identifier=" + encodeURIComponent(v.identity.identifier) + (v.identity.transient ? "&transient=true" : ""))]).then(function(F) {
17253
+ }) })) : i.getJSON(m + "identities/?identifier=" + encodeURIComponent(b.identity.identifier) + (b.identity.transient ? "&transient=true" : ""))]).then(function(F) {
17247
17254
  return i.evaluationContext.identity = o(o({}, i.evaluationContext.identity), { traits: {} }), x(F == null ? void 0 : F[0]);
17248
17255
  }).catch(function(F) {
17249
17256
  var L = F.message, S = new Error(L);
@@ -17255,15 +17262,15 @@ var qa = { exports: {} };
17255
17262
  var h = i.api;
17256
17263
  if (i.evaluationEvent && i.evaluationContext.environment && i.evaluationEvent[i.evaluationContext.environment.apiKey]) return i.evaluationEvent && Object.getOwnPropertyNames(i.evaluationEvent).length !== 0 && Object.getOwnPropertyNames(i.evaluationEvent[i.evaluationContext.environment.apiKey]).length !== 0 ? i.getJSON(h + "analytics/flags/", "POST", JSON.stringify(i.evaluationEvent[i.evaluationContext.environment.apiKey])).then(function(m) {
17257
17264
  if (i.evaluationContext.environment) {
17258
- var v = i.getState();
17259
- i.evaluationEvent || (i.evaluationEvent = {}), i.evaluationEvent[i.evaluationContext.environment.apiKey] = {}, i.setState(o(o({}, v), { evaluationEvent: i.evaluationEvent })), i.updateEventStorage();
17265
+ var b = i.getState();
17266
+ i.evaluationEvent || (i.evaluationEvent = {}), i.evaluationEvent[i.evaluationContext.environment.apiKey] = {}, i.setState(o(o({}, b), { evaluationEvent: i.evaluationEvent })), i.updateEventStorage();
17260
17267
  }
17261
17268
  }).catch(function(m) {
17262
17269
  i.log("Exception fetching evaluationEvent", m);
17263
17270
  }) : void 0;
17264
- }, this.datadogRum = null, this.loadingState = { isLoading: !0, isFetching: !0, error: null, source: w.NONE }, this.canUseStorage = !1, this.analyticsInterval = null, this.api = null, this.cacheFlags = !1, this.ts = null, this.enableAnalytics = !1, this.enableLogs = !1, this.evaluationContext = {}, this.evaluationEvent = null, this.flags = null, this.getFlagInterval = null, this.headers = null, this.initialised = !1, this.oldFlags = null, this.onChange = null, this.onError = null, this.ticks = null, this.timer = null, this.dtrum = null, this.withTraits = null, this.cacheOptions = { ttl: 0, skipAPI: !1, loadStale: !1, storageKey: void 0 }, this.getValue = function(h, m, v) {
17271
+ }, this.datadogRum = null, this.loadingState = { isLoading: !0, isFetching: !0, error: null, source: w.NONE }, this.canUseStorage = !1, this.analyticsInterval = null, this.api = null, this.cacheFlags = !1, this.ts = null, this.enableAnalytics = !1, this.enableLogs = !1, this.evaluationContext = {}, this.evaluationEvent = null, this.flags = null, this.getFlagInterval = null, this.headers = null, this.initialised = !1, this.oldFlags = null, this.onChange = null, this.onError = null, this.ticks = null, this.timer = null, this.dtrum = null, this.withTraits = null, this.cacheOptions = { ttl: 0, skipAPI: !1, loadStale: !1, storageKey: void 0 }, this.getValue = function(h, m, b) {
17265
17272
  var D = i.flags && i.flags[h.toLowerCase().replace(/ /g, "_")], x = null;
17266
- if (D && (x = D.value), m != null && m.skipAnalytics || v || i.evaluateFlag(h, "VALUE"), x === null && (m == null ? void 0 : m.fallback) !== void 0) return m.fallback;
17273
+ if (D && (x = D.value), m != null && m.skipAnalytics || b || i.evaluateFlag(h, "VALUE"), x === null && (m == null ? void 0 : m.fallback) !== void 0) return m.fallback;
17267
17274
  if (m != null && m.json) try {
17268
17275
  return x === null ? (i.log("Tried to parse null flag as JSON: " + h), null) : JSON.parse(x);
17269
17276
  } catch {
@@ -17271,13 +17278,13 @@ var qa = { exports: {} };
17271
17278
  }
17272
17279
  return x;
17273
17280
  }, this.getTrait = function(h) {
17274
- var m, v;
17275
- return ((m = i.evaluationContext.identity) === null || m === void 0 ? void 0 : m.traits) && ((v = i.evaluationContext.identity.traits[h.toLowerCase().replace(/ /g, "_")]) === null || v === void 0 ? void 0 : v.value);
17281
+ var m, b;
17282
+ return ((m = i.evaluationContext.identity) === null || m === void 0 ? void 0 : m.traits) && ((b = i.evaluationContext.identity.traits[h.toLowerCase().replace(/ /g, "_")]) === null || b === void 0 ? void 0 : b.value);
17276
17283
  }, this.getAllTraits = function() {
17277
17284
  var h;
17278
17285
  return Object.fromEntries(Object.entries(((h = i.evaluationContext.identity) === null || h === void 0 ? void 0 : h.traits) || {}).map(function(m) {
17279
- var v = m[0], D = m[1];
17280
- return [v, D == null ? void 0 : D.value];
17286
+ var b = m[0], D = m[1];
17287
+ return [b, D == null ? void 0 : D.value];
17281
17288
  }));
17282
17289
  }, this.setContext = function(h) {
17283
17290
  var m = oe(h);
@@ -17287,25 +17294,25 @@ var qa = { exports: {} };
17287
17294
  }, this.updateContext = function(h) {
17288
17295
  return i.setContext(o(o({}, i.getContext()), h));
17289
17296
  }, this.setTrait = function(h, m) {
17290
- var v;
17291
- if (i.api) return i.setContext(o(o({}, i.evaluationContext), { identity: o(o({}, i.evaluationContext.identity), { traits: o(o({}, (v = i.evaluationContext.identity) === null || v === void 0 ? void 0 : v.traits), te(Object.fromEntries([[h, m]]))) }) }));
17297
+ var b;
17298
+ if (i.api) return i.setContext(o(o({}, i.evaluationContext), { identity: o(o({}, i.evaluationContext.identity), { traits: o(o({}, (b = i.evaluationContext.identity) === null || b === void 0 ? void 0 : b.traits), te(Object.fromEntries([[h, m]]))) }) }));
17292
17299
  }, this.setTraits = function(h) {
17293
17300
  var m;
17294
- if (i.api) return i.setContext(o(o({}, i.evaluationContext), { identity: o(o({}, i.evaluationContext.identity), { traits: o(o({}, (m = i.evaluationContext.identity) === null || m === void 0 ? void 0 : m.traits), Object.fromEntries(Object.entries(h).map(function(v) {
17295
- var D = v[0], x = v[1];
17301
+ if (i.api) return i.setContext(o(o({}, i.evaluationContext), { identity: o(o({}, i.evaluationContext.identity), { traits: o(o({}, (m = i.evaluationContext.identity) === null || m === void 0 ? void 0 : m.traits), Object.fromEntries(Object.entries(h).map(function(b) {
17302
+ var D = b[0], x = b[1];
17296
17303
  return [D, X(x) ? x : { value: x }];
17297
17304
  }))) }) }));
17298
17305
  console.error("Attempted to setTraits a user before calling flagsmith.init. Call flagsmith.init first, if you wish to prevent it sending a request for flags, call init with preventFetch:true.");
17299
17306
  }, this.hasFeature = function(h, m) {
17300
- var v = typeof m == "object", D = i.flags && i.flags[h.toLowerCase().replace(/ /g, "_")], x = !1;
17301
- return !D && v && m.fallback !== void 0 ? x = m == null ? void 0 : m.fallback : D && D.enabled && (x = !0), (v && !m.skipAnalytics || !m) && i.evaluateFlag(h, "ENABLED"), x;
17307
+ var b = typeof m == "object", D = i.flags && i.flags[h.toLowerCase().replace(/ /g, "_")], x = !1;
17308
+ return !D && b && m.fallback !== void 0 ? x = m == null ? void 0 : m.fallback : D && D.enabled && (x = !0), (b && !m.skipAnalytics || !m) && i.evaluateFlag(h, "ENABLED"), x;
17302
17309
  }, this.getStorageKey = function() {
17303
17310
  var h, m;
17304
17311
  return ((h = i.cacheOptions) === null || h === void 0 ? void 0 : h.storageKey) || "FLAGSMITH_DB_" + ((m = i.evaluationContext.environment) === null || m === void 0 ? void 0 : m.apiKey);
17305
- }, this.getJSON = function(h, m, v) {
17312
+ }, this.getJSON = function(h, m, b) {
17306
17313
  var D, x = i;
17307
17314
  x.evaluationContext;
17308
- var F = x.headers, L = { method: m || "GET", body: v, cache: "no-cache", headers: {} };
17315
+ var F = x.headers, L = { method: m || "GET", body: b, cache: "no-cache", headers: {} };
17309
17316
  i.evaluationContext.environment && (L.headers["X-Environment-Key"] = i.evaluationContext.environment.apiKey), m && m !== "GET" && (L.headers["Content-Type"] = "application/json; charset=utf-8"), F && Object.assign(L.headers, F), R || console.error("Flagsmith: fetch is undefined, please specify a fetch implementation into flagsmith.init to support SSR.");
17310
17317
  var S = "".concat((D = i.evaluationContext.identity) === null || D === void 0 ? void 0 : D.identifier);
17311
17318
  return R(h, L).then(function(K) {
@@ -17336,26 +17343,26 @@ var qa = { exports: {} };
17336
17343
  i.evaluationEvent[i.evaluationContext.environment.apiKey] || (i.evaluationEvent[i.evaluationContext.environment.apiKey] = {}), i.evaluationEvent[i.evaluationContext.environment.apiKey][h] === void 0 && (i.evaluationEvent[i.evaluationContext.environment.apiKey][h] = 0), i.evaluationEvent[i.evaluationContext.environment.apiKey][h] += 1;
17337
17344
  }
17338
17345
  i.updateEventStorage();
17339
- }, this._onChange = function(h, m, v) {
17346
+ }, this._onChange = function(h, m, b) {
17340
17347
  var D, x;
17341
- i.setLoadingState(v), (D = i.onChange) === null || D === void 0 || D.call(i, h, m, i.loadingState), (x = i._trigger) === null || x === void 0 || x.call(i);
17348
+ i.setLoadingState(b), (D = i.onChange) === null || D === void 0 || D.call(i, h, m, i.loadingState), (x = i._trigger) === null || x === void 0 || x.call(i);
17342
17349
  }, R = c.fetch ? c.fetch : typeof fetch < "u" ? fetch : St == null ? void 0 : St.fetch, this.canUseStorage = typeof window < "u" || !!c.browserlessStorage, this.log("Constructing flagsmith instance " + c), c.eventSource && (ue = c.eventSource), c.AsyncStorage && (ie = c.AsyncStorage);
17343
17350
  }
17344
17351
  return A.prototype.init = function(c) {
17345
17352
  var i, h, m;
17346
17353
  return n(this, void 0, void 0, function() {
17347
- var v, D, x, F, L, S, K, me, Oe, ve, ke, be, we, Te, wt, Ct, lt, pe, J, ia, Dt, $a, dt, la, es, ts, da, as, ca, Mt, ct, ss, he = this;
17354
+ var b, D, x, F, L, S, K, me, Oe, ve, ke, be, we, Te, wt, Ct, lt, pe, J, ia, Dt, $a, dt, la, es, ts, da, as, ca, Mt, ct, ss, he = this;
17348
17355
  return l(this, function(Se) {
17349
17356
  switch (Se.label) {
17350
17357
  case 0:
17351
- v = oe(c.evaluationContext || this.evaluationContext), Se.label = 1;
17358
+ b = oe(c.evaluationContext || this.evaluationContext), Se.label = 1;
17352
17359
  case 1:
17353
- if (Se.trys.push([1, 13, , 14]), D = c.environmentID, x = c.api, F = x === void 0 ? _e : x, L = c.headers, S = c.onChange, K = c.cacheFlags, me = c.datadogRum, Oe = c.onError, ve = c.defaultFlags, ke = c.fetch, be = c.preventFetch, we = c.enableLogs, Te = c.enableDynatrace, wt = c.enableAnalytics, Ct = c.realtime, lt = c.eventSourceUrl, pe = lt === void 0 ? "https://realtime.flagsmith.com/" : lt, J = c.AsyncStorage, ia = c.identity, Dt = c.traits, $a = c.state, dt = c.cacheOptions, la = c.angularHttpClient, es = c._trigger, ts = c._triggerLoadingState, v.environment = D ? { apiKey: D } : v.environment, !v.environment || !v.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
17354
- if (v.identity = ia || Dt ? { identifier: ia, traits: Dt ? Object.fromEntries(Object.entries(Dt).map(function(Ce) {
17360
+ if (Se.trys.push([1, 13, , 14]), D = c.environmentID, x = c.api, F = x === void 0 ? _e : x, L = c.headers, S = c.onChange, K = c.cacheFlags, me = c.datadogRum, Oe = c.onError, ve = c.defaultFlags, ke = c.fetch, be = c.preventFetch, we = c.enableLogs, Te = c.enableDynatrace, wt = c.enableAnalytics, Ct = c.realtime, lt = c.eventSourceUrl, pe = lt === void 0 ? "https://realtime.flagsmith.com/" : lt, J = c.AsyncStorage, ia = c.identity, Dt = c.traits, $a = c.state, dt = c.cacheOptions, la = c.angularHttpClient, es = c._trigger, ts = c._triggerLoadingState, b.environment = D ? { apiKey: D } : b.environment, !b.environment || !b.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
17361
+ if (b.identity = ia || Dt ? { identifier: ia, traits: Dt ? Object.fromEntries(Object.entries(Dt).map(function(Ce) {
17355
17362
  return [Ce[0], { value: Ce[1] }];
17356
- })) : {} } : v.identity, this.evaluationContext = v, this.api = F, this.headers = L, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = S, da = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = es || this._trigger, this._triggerLoadingState = ts || this._triggerLoadingState, this.onError = function(Ce) {
17363
+ })) : {} } : b.identity, this.evaluationContext = b, this.api = F, this.headers = L, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = S, da = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = es || this._trigger, this._triggerLoadingState = ts || this._triggerLoadingState, this.onError = function(Ce) {
17357
17364
  he.setLoadingState(o(o({}, he.loadingState), { isFetching: !1, isLoading: !1, error: Ce })), Oe == null || Oe(Ce);
17358
- }, this.enableLogs = we || !1, this.cacheOptions = dt ? { skipAPI: !!dt.skipAPI, ttl: dt.ttl || 0, storageKey: dt.storageKey, loadStale: !!dt.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), ke && (R = ke), this.enableAnalytics = wt || !1, this.flags = Object.assign({}, ve) || {}, this.datadogRum = me || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = ie !== void 0 && !!K, Pe = "FLAGSMITH_EVENT_" + v.environment.apiKey, J && (ie = J), Ct && typeof window < "u" && this.setupRealtime(pe, v.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = o(o({}, this.loadingState), { isLoading: !1, source: w.DEFAULT_FLAGS })), this.setState($a), this.log("Initialising with properties", c, this), Te && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), la && (R = /* @__PURE__ */ function(Ce) {
17365
+ }, this.enableLogs = we || !1, this.cacheOptions = dt ? { skipAPI: !!dt.skipAPI, ttl: dt.ttl || 0, storageKey: dt.storageKey, loadStale: !!dt.loadStale } : this.cacheOptions, !this.cacheOptions.ttl && this.cacheOptions.skipAPI && console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage."), ke && (R = ke), this.enableAnalytics = wt || !1, this.flags = Object.assign({}, ve) || {}, this.datadogRum = me || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = ie !== void 0 && !!K, Pe = "FLAGSMITH_EVENT_" + b.environment.apiKey, J && (ie = J), Ct && typeof window < "u" && this.setupRealtime(pe, b.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = o(o({}, this.loadingState), { isLoading: !1, source: w.DEFAULT_FLAGS })), this.setState($a), this.log("Initialising with properties", c, this), Te && (typeof dtrum > "u" ? console.error("You have attempted to enable dynatrace but dtrum is undefined, please check you have the Dynatrace RUM JavaScript API installed.") : this.dtrum = dtrum), la && (R = /* @__PURE__ */ function(Ce) {
17359
17366
  return function(xe, Ee) {
17360
17367
  var Le = Ee.headers, $ = Ee.method, ut = Ee.body;
17361
17368
  return new Promise(function($e) {
@@ -17451,8 +17458,8 @@ var qa = { exports: {} };
17451
17458
  case 10:
17452
17459
  return Se.sent(), [3, 12];
17453
17460
  case 11:
17454
- if (ve) this._onChange(null, { isFromServer: !1, flagsChanged: y({}, ve), traitsChanged: y({}, (i = v.identity) === null || i === void 0 ? void 0 : i.traits) }, this._loadedState(null, w.DEFAULT_FLAGS));
17455
- else if (this.flags && (Mt = null, Object.keys(this.flags).length === 0 && (Mt = da), this._onChange(null, { isFromServer: !1, flagsChanged: y({}, this.flags), traitsChanged: y({}, (h = v.identity) === null || h === void 0 ? void 0 : h.traits) }, this._loadedState(Mt, w.DEFAULT_FLAGS)), Mt)) throw new Error(Mt);
17461
+ if (ve) this._onChange(null, { isFromServer: !1, flagsChanged: y({}, ve), traitsChanged: y({}, (i = b.identity) === null || i === void 0 ? void 0 : i.traits) }, this._loadedState(null, w.DEFAULT_FLAGS));
17462
+ else if (this.flags && (Mt = null, Object.keys(this.flags).length === 0 && (Mt = da), this._onChange(null, { isFromServer: !1, flagsChanged: y({}, this.flags), traitsChanged: y({}, (h = b.identity) === null || h === void 0 ? void 0 : h.traits) }, this._loadedState(Mt, w.DEFAULT_FLAGS)), Mt)) throw new Error(Mt);
17456
17463
  Se.label = 12;
17457
17464
  case 12:
17458
17465
  return [3, 14];
@@ -17467,8 +17474,8 @@ var qa = { exports: {} };
17467
17474
  return this.flags;
17468
17475
  }, A.prototype.identify = function(c, i, h) {
17469
17476
  return this.evaluationContext.identity = { identifier: c, transient: h, traits: this.evaluationContext.identity && this.evaluationContext.identity.identifier == c ? this.evaluationContext.identity.traits : {} }, this.evaluationContext.identity.identifier = c, this.log("Identify: " + this.evaluationContext.identity.identifier), i && (this.evaluationContext.identity.traits = Object.fromEntries(Object.entries(i).map(function(m) {
17470
- var v = m[0], D = m[1];
17471
- return [v, X(D) ? D : { value: D }];
17477
+ var b = m[0], D = m[1];
17478
+ return [b, X(D) ? D : { value: D }];
17472
17479
  }))), this.initialised ? this.getFlags() : Promise.resolve();
17473
17480
  }, A.prototype.getState = function() {
17474
17481
  return { api: this.api, flags: this.flags, ts: this.ts, evaluationContext: this.evaluationContext, evaluationEvent: this.evaluationEvent };
@@ -17503,14 +17510,14 @@ var qa = { exports: {} };
17503
17510
  f(c, this.loadingState) || (this.loadingState = o({}, c), this.log("Loading state changed", c), (i = this._triggerLoadingState) === null || i === void 0 || i.call(this));
17504
17511
  }, A.prototype.setupRealtime = function(c, i) {
17505
17512
  var h = this, m = c + "sse/environments/" + i + "/stream";
17506
- ue ? this.eventSource || (this.log("Creating event source with url " + m), this.eventSource = new ue(m), this.eventSource.addEventListener("environment_updated", function(v) {
17513
+ ue ? this.eventSource || (this.log("Creating event source with url " + m), this.eventSource = new ue(m), this.eventSource.addEventListener("environment_updated", function(b) {
17507
17514
  var D;
17508
17515
  try {
17509
- D = JSON.parse(v.data).updated_at;
17516
+ D = JSON.parse(b.data).updated_at;
17510
17517
  } catch (x) {
17511
17518
  h.log("Could not parse sse event", x);
17512
17519
  }
17513
- D ? !h.timestamp || D > h.timestamp ? h.isLoading ? h.log("updated_at is new, but flags are loading", v.data, h.timestamp) : (h.log("updated_at is new, fetching flags", v.data, h.timestamp), h.getFlags()) : h.log("updated_at is outdated, skipping get flags", v.data, h.timestamp) : h.log("No updated_at received, fetching flags", v);
17520
+ D ? !h.timestamp || D > h.timestamp ? h.isLoading ? h.log("updated_at is new, but flags are loading", b.data, h.timestamp) : (h.log("updated_at is new, fetching flags", b.data, h.timestamp), h.getFlags()) : h.log("updated_at is outdated, skipping get flags", b.data, h.timestamp) : h.log("No updated_at received, fetching flags", b);
17514
17521
  })) : this.log("Error, EventSource is undefined");
17515
17522
  }, A;
17516
17523
  }();
@@ -17540,21 +17547,21 @@ var qa = { exports: {} };
17540
17547
  }, B = function(A, c) {
17541
17548
  var i = typeof Symbol == "function" && A[Symbol.iterator];
17542
17549
  if (!i) return A;
17543
- var h, m, v = i.call(A), D = [];
17550
+ var h, m, b = i.call(A), D = [];
17544
17551
  try {
17545
- for (; (c === void 0 || c-- > 0) && !(h = v.next()).done; ) D.push(h.value);
17552
+ for (; (c === void 0 || c-- > 0) && !(h = b.next()).done; ) D.push(h.value);
17546
17553
  } catch (x) {
17547
17554
  m = { error: x };
17548
17555
  } finally {
17549
17556
  try {
17550
- h && !h.done && (i = v.return) && i.call(v);
17557
+ h && !h.done && (i = b.return) && i.call(b);
17551
17558
  } finally {
17552
17559
  if (m) throw m.error;
17553
17560
  }
17554
17561
  }
17555
17562
  return D;
17556
17563
  }, T = function(A, c, i) {
17557
- if (arguments.length === 2) for (var h, m = 0, v = c.length; m < v; m++) !h && m in c || (h || (h = Array.prototype.slice.call(c, 0, m)), h[m] = c[m]);
17564
+ if (arguments.length === 2) for (var h, m = 0, b = c.length; m < b; m++) !h && m in c || (h || (h = Array.prototype.slice.call(c, 0, m)), h[m] = c[m]);
17558
17565
  return A.concat(h || Array.prototype.slice.call(c));
17559
17566
  }, H = function(A) {
17560
17567
  function c() {
@@ -17582,7 +17589,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
17582
17589
  h.onmessage(F);
17583
17590
  };
17584
17591
  try {
17585
- for (var v = P(Object.keys(this._listeners)), D = v.next(); !D.done; D = v.next()) {
17592
+ for (var b = P(Object.keys(this._listeners)), D = b.next(); !D.done; D = b.next()) {
17586
17593
  var x = D.value;
17587
17594
  this._eventSource.addEventListener(x, this._onevent_wrapped);
17588
17595
  }
@@ -17590,7 +17597,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
17590
17597
  c = { error: F };
17591
17598
  } finally {
17592
17599
  try {
17593
- D && !D.done && (i = v.return) && i.call(v);
17600
+ D && !D.done && (i = b.return) && i.call(b);
17594
17601
  } finally {
17595
17602
  if (c) throw c.error;
17596
17603
  }
@@ -17611,13 +17618,13 @@ Consider loading an EventSource polyfill and making it available globally as Eve
17611
17618
  c && c.lastEventId && (this._lastEventId = c.lastEventId);
17612
17619
  var m = this._listeners[c.type];
17613
17620
  if (m != null) try {
17614
- for (var v = P(T([], B(m), !1)), D = v.next(); !D.done; D = v.next())
17621
+ for (var b = P(T([], B(m), !1)), D = b.next(); !D.done; D = b.next())
17615
17622
  D.value.call(this, c);
17616
17623
  } catch (x) {
17617
17624
  i = { error: x };
17618
17625
  } finally {
17619
17626
  try {
17620
- D && !D.done && (h = v.return) && h.call(v);
17627
+ D && !D.done && (h = b.return) && h.call(b);
17621
17628
  } finally {
17622
17629
  if (i) throw i.error;
17623
17630
  }
@@ -17634,15 +17641,15 @@ Consider loading an EventSource polyfill and making it available globally as Eve
17634
17641
  m.includes(i) || (this._listeners[c] = T(T([], B(m), !1), [i], !1));
17635
17642
  }, A.prototype.removeEventListener = function(c, i, h) {
17636
17643
  var m = this._listeners[c];
17637
- this._listeners[c] = m.filter(function(v) {
17638
- return v !== i;
17644
+ this._listeners[c] = m.filter(function(b) {
17645
+ return b !== i;
17639
17646
  });
17640
17647
  }, A;
17641
17648
  }();
17642
17649
  globalThis.FlagsmithEventSource = typeof EventSource < "u" ? EventSource : null;
17643
17650
  var ae = function(A, c) {
17644
17651
  return c = c || {}, new Promise(function(i, h) {
17645
- var m = new XMLHttpRequest(), v = [], D = [], x = {}, F = function() {
17652
+ var m = new XMLHttpRequest(), b = [], D = [], x = {}, F = function() {
17646
17653
  return { ok: (m.status / 100 | 0) == 2, statusText: m.statusText, status: m.status, url: m.responseURL, text: function() {
17647
17654
  return Promise.resolve(m.responseText);
17648
17655
  }, json: function() {
@@ -17650,7 +17657,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
17650
17657
  }, blob: function() {
17651
17658
  return Promise.resolve(new Blob([m.response]));
17652
17659
  }, clone: F, headers: { keys: function() {
17653
- return v;
17660
+ return b;
17654
17661
  }, entries: function() {
17655
17662
  return D;
17656
17663
  }, get: function(S) {
@@ -17661,7 +17668,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
17661
17668
  };
17662
17669
  for (var L in m.open(c.method || "get", A, !0), m.onload = function() {
17663
17670
  m.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(S, K, me) {
17664
- v.push(K = K.toLowerCase()), D.push([K, me]), x[K] = x[K] ? x[K] + "," + me : me;
17671
+ b.push(K = K.toLowerCase()), D.push([K, me]), x[K] = x[K] ? x[K] + "," + me : me;
17665
17672
  }), i(F());
17666
17673
  }, m.onerror = h, m.withCredentials = c.credentials == "include", c.headers) m.setRequestHeader(L, c.headers[L]);
17667
17674
  m.send(c.body || null);
@@ -17857,7 +17864,7 @@ const Cc = /* @__PURE__ */ Ke({
17857
17864
  };
17858
17865
  }
17859
17866
  });
17860
- var Ta = { name: "@feedmepos/mf-hrm-portal", version: "2.3.2", mode: "fmmf" };
17867
+ var Ta = { name: "@feedmepos/mf-hrm-portal", version: "2.3.3", mode: "fmmf" };
17861
17868
  console.log(
17862
17869
  `%c${Ta.name}%c v${Ta.version} %c${Ta.mode}`,
17863
17870
  "background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
@@ -17898,18 +17905,18 @@ export {
17898
17905
  Sd as _,
17899
17906
  Zd as a,
17900
17907
  Od as b,
17901
- Rl as c,
17902
- Re as d,
17903
- cr as e,
17904
- St as f,
17905
- Fl as g,
17906
- ed as h,
17907
- Dc as i,
17908
- Cc as j,
17908
+ v as c,
17909
+ Rl as d,
17910
+ Re as e,
17911
+ cr as f,
17912
+ St as g,
17913
+ Fl as h,
17914
+ ed as i,
17915
+ Dc as j,
17909
17916
  Ar as k,
17917
+ Cc as l,
17910
17918
  bc as m,
17911
17919
  r as n,
17912
17920
  wc as r,
17913
- lc as u,
17914
- b as v
17921
+ lc as u
17915
17922
  };