@feedmepos/mf-hrm-portal 2.2.5-dev.6 → 2.2.5-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApprovalCodeList-CtCpcbAC.js → ApprovalCodeList-BzL73nqc.js} +2 -2
- package/dist/{AuditLogList-BYOvk3l4.js → AuditLogList-BEZoHLsX.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DS4_vkTG.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DDrP7ywR.js} +2 -2
- package/dist/{EmployeeList-B_sTjkdO.js → EmployeeList-s4FYw1ZF.js} +5 -5
- package/dist/{GrantUserList-_nRUyHYM.js → GrantUserList-Ci_ElhHZ.js} +3 -3
- package/dist/{Main-CloHiemF.js → Main-BojQuzZI.js} +5 -5
- package/dist/{Main-DoLU6s-8.js → Main-CKr3RGvf.js} +2 -2
- package/dist/{Main-DqY2oGAM.js → Main-N1CNGDAy.js} +9 -9
- package/dist/{PermissionSetList-uL-0fN9H.js → PermissionSetList-DLknSOzA.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-dCgJ2s08.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DK2Bx8Aw.js} +1066 -1066
- package/dist/{RoleList-CwrDYFXz.js → RoleList-Cm7_q5l9.js} +7 -7
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DrJ1vA88.js +426 -0
- package/dist/ScheduleButton.vue_vue_type_script_setup_true_lang-DX5JR7bi.js +600 -0
- package/dist/ScheduleGeneralPage-CmR4BZAp.js +323 -0
- package/dist/SchedulePage-CN3ZsQ9E.js +13905 -0
- package/dist/SchedulePositionPage-Bv3zraaF.js +293 -0
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-Buu8NEQf.js +221 -0
- package/dist/{TeamMemberList-qyKCeSsW.js → TeamMemberList-D2OfkfJP.js} +6 -6
- package/dist/{TimesheetList-D1EJG90Z.js → TimesheetList-DEdLpYuM.js} +4 -4
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Car-HXjq.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BfMkNvCz.js} +1 -1
- package/dist/{app-By1O6mq8.js → app-Dmmpy4k-.js} +127 -127
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-_ZoZF_Ra.js → dayjs.min-DcfKURXN.js} +1 -1
- package/dist/{employee-BC7QM1dX.js → employee-D3ZpYH4j.js} +3 -3
- package/dist/{index-u10uXqFM.js → index-BxkisKEs.js} +1 -1
- package/dist/{index-CHf8MAN1.js → index-D-VlxJu9.js} +1 -1
- package/dist/{lodash-BsAtPIfh.js → lodash-p40sRkqQ.js} +1 -1
- package/dist/{role-PShfEEXE.js → role-CM1urkJZ.js} +1 -1
- package/dist/{rule-RU8uWecT.js → rule-BPApyMJY.js} +2 -2
- package/dist/src/api/schedule/index.d.ts +0 -3
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +1 -2
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +1 -2
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +1 -2
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +5 -1
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +5 -1
- package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +1 -1
- package/dist/src/views/scheduling/components/ScheduleEmployeeMenu.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +4 -2
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +3 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +5 -1
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +4 -2
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +4 -2
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +2 -4
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +1 -0
- package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +14 -7
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +11 -2
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +8 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -5
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +5 -3
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +7 -1
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +53 -3
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1181 -55
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +10 -1
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +6 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +5 -5
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +6 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +6 -1
- package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
- package/dist/src/views/scheduling/data.d.ts +6 -1
- package/dist/src/views/scheduling/schedule-store.d.ts +11 -1
- package/dist/src/views/scheduling/types.d.ts +9 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-Bu-l3ebR.js → useReportPermissions-5EhPvVT9.js} +3 -3
- package/package.json +1 -1
- package/dist/ScheduleGeneralPage-CgQOHHb8.js +0 -242
- package/dist/SchedulePage-C7q1IL70.js +0 -10761
- package/dist/SchedulePositionPage-Dys7X035.js +0 -220
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-Cm2VWp8s.js +0 -201
- package/dist/useScheduleOutlet-BOmEn1hr.js +0 -546
- package/dist/useSchedulePositions-upgaNffa.js +0 -103
|
@@ -5,7 +5,7 @@ import { isRef as Ja, ref as Ue, shallowRef as _a, watchEffect as fn, computed a
|
|
|
5
5
|
import { useBreakpoints as or } from "@feedmepos/ui-library";
|
|
6
6
|
import { useRoute as ir, useRouter as lr } from "vue-router";
|
|
7
7
|
import { useCoreStore as bn, useI18n as vn } from "@feedmepos/mf-common";
|
|
8
|
-
var o = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(o || {}), d = /* @__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))(d || {}),
|
|
8
|
+
var o = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(o || {}), d = /* @__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))(d || {}), ne = /* @__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))(ne || {}), wn = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(wn || {});
|
|
9
9
|
const v = {
|
|
10
10
|
general: "General",
|
|
11
11
|
inventory: "Inventory",
|
|
@@ -1058,7 +1058,7 @@ var Ut;
|
|
|
1058
1058
|
...s
|
|
1059
1059
|
});
|
|
1060
1060
|
})(Ut || (Ut = {}));
|
|
1061
|
-
const an = (e) => (t) => new
|
|
1061
|
+
const an = (e) => (t) => new ee({
|
|
1062
1062
|
...e,
|
|
1063
1063
|
shape: () => ({
|
|
1064
1064
|
...e.shape(),
|
|
@@ -1066,19 +1066,19 @@ const an = (e) => (t) => new $({
|
|
|
1066
1066
|
})
|
|
1067
1067
|
});
|
|
1068
1068
|
function At(e) {
|
|
1069
|
-
if (e instanceof
|
|
1069
|
+
if (e instanceof ee) {
|
|
1070
1070
|
const t = {};
|
|
1071
1071
|
for (const s in e.shape) {
|
|
1072
1072
|
const n = e.shape[s];
|
|
1073
1073
|
t[s] = Ge.create(At(n));
|
|
1074
1074
|
}
|
|
1075
|
-
return new
|
|
1075
|
+
return new ee({
|
|
1076
1076
|
...e._def,
|
|
1077
1077
|
shape: () => t
|
|
1078
1078
|
});
|
|
1079
1079
|
} else return e instanceof Ve ? Ve.create(At(e.element)) : e instanceof Ge ? Ge.create(At(e.unwrap())) : e instanceof nt ? nt.create(At(e.unwrap())) : e instanceof Fe ? Fe.create(e.items.map((t) => At(t))) : e;
|
|
1080
1080
|
}
|
|
1081
|
-
class
|
|
1081
|
+
class ee extends T {
|
|
1082
1082
|
constructor() {
|
|
1083
1083
|
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = an(this._def), this.extend = an(this._def);
|
|
1084
1084
|
}
|
|
@@ -1154,7 +1154,7 @@ class $ extends T {
|
|
|
1154
1154
|
return this._def.shape();
|
|
1155
1155
|
}
|
|
1156
1156
|
strict(t) {
|
|
1157
|
-
return N.errToObj, new
|
|
1157
|
+
return N.errToObj, new ee({
|
|
1158
1158
|
...this._def,
|
|
1159
1159
|
unknownKeys: "strict",
|
|
1160
1160
|
...t !== void 0 ? {
|
|
@@ -1171,13 +1171,13 @@ class $ extends T {
|
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
1173
1173
|
strip() {
|
|
1174
|
-
return new
|
|
1174
|
+
return new ee({
|
|
1175
1175
|
...this._def,
|
|
1176
1176
|
unknownKeys: "strip"
|
|
1177
1177
|
});
|
|
1178
1178
|
}
|
|
1179
1179
|
passthrough() {
|
|
1180
|
-
return new
|
|
1180
|
+
return new ee({
|
|
1181
1181
|
...this._def,
|
|
1182
1182
|
unknownKeys: "passthrough"
|
|
1183
1183
|
});
|
|
@@ -1191,7 +1191,7 @@ class $ extends T {
|
|
|
1191
1191
|
* upgrade if you are experiencing issues.
|
|
1192
1192
|
*/
|
|
1193
1193
|
merge(t) {
|
|
1194
|
-
return new
|
|
1194
|
+
return new ee({
|
|
1195
1195
|
unknownKeys: t._def.unknownKeys,
|
|
1196
1196
|
catchall: t._def.catchall,
|
|
1197
1197
|
shape: () => Ut.mergeShapes(this._def.shape(), t._def.shape()),
|
|
@@ -1199,7 +1199,7 @@ class $ extends T {
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
catchall(t) {
|
|
1202
|
-
return new
|
|
1202
|
+
return new ee({
|
|
1203
1203
|
...this._def,
|
|
1204
1204
|
catchall: t
|
|
1205
1205
|
});
|
|
@@ -1208,7 +1208,7 @@ class $ extends T {
|
|
|
1208
1208
|
const s = {};
|
|
1209
1209
|
return U.objectKeys(t).map((n) => {
|
|
1210
1210
|
this.shape[n] && (s[n] = this.shape[n]);
|
|
1211
|
-
}), new
|
|
1211
|
+
}), new ee({
|
|
1212
1212
|
...this._def,
|
|
1213
1213
|
shape: () => s
|
|
1214
1214
|
});
|
|
@@ -1217,7 +1217,7 @@ class $ extends T {
|
|
|
1217
1217
|
const s = {};
|
|
1218
1218
|
return U.objectKeys(this.shape).map((n) => {
|
|
1219
1219
|
U.objectKeys(t).indexOf(n) === -1 && (s[n] = this.shape[n]);
|
|
1220
|
-
}), new
|
|
1220
|
+
}), new ee({
|
|
1221
1221
|
...this._def,
|
|
1222
1222
|
shape: () => s
|
|
1223
1223
|
});
|
|
@@ -1230,7 +1230,7 @@ class $ extends T {
|
|
|
1230
1230
|
if (t)
|
|
1231
1231
|
return U.objectKeys(this.shape).map((n) => {
|
|
1232
1232
|
U.objectKeys(t).indexOf(n) === -1 ? s[n] = this.shape[n] : s[n] = this.shape[n].optional();
|
|
1233
|
-
}), new
|
|
1233
|
+
}), new ee({
|
|
1234
1234
|
...this._def,
|
|
1235
1235
|
shape: () => s
|
|
1236
1236
|
});
|
|
@@ -1238,7 +1238,7 @@ class $ extends T {
|
|
|
1238
1238
|
const a = this.shape[n];
|
|
1239
1239
|
s[n] = a.optional();
|
|
1240
1240
|
}
|
|
1241
|
-
return new
|
|
1241
|
+
return new ee({
|
|
1242
1242
|
...this._def,
|
|
1243
1243
|
shape: () => s
|
|
1244
1244
|
});
|
|
@@ -1251,7 +1251,7 @@ class $ extends T {
|
|
|
1251
1251
|
a = a._def.innerType;
|
|
1252
1252
|
t[s] = a;
|
|
1253
1253
|
}
|
|
1254
|
-
return new
|
|
1254
|
+
return new ee({
|
|
1255
1255
|
...this._def,
|
|
1256
1256
|
shape: () => t
|
|
1257
1257
|
});
|
|
@@ -1260,21 +1260,21 @@ class $ extends T {
|
|
|
1260
1260
|
return Mn(U.objectKeys(this.shape));
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
|
|
1263
|
+
ee.create = (e, t) => new ee({
|
|
1264
1264
|
shape: () => e,
|
|
1265
1265
|
unknownKeys: "strip",
|
|
1266
1266
|
catchall: We.create(),
|
|
1267
1267
|
typeName: I.ZodObject,
|
|
1268
1268
|
...X(t)
|
|
1269
1269
|
});
|
|
1270
|
-
|
|
1270
|
+
ee.strictCreate = (e, t) => new ee({
|
|
1271
1271
|
shape: () => e,
|
|
1272
1272
|
unknownKeys: "strict",
|
|
1273
1273
|
catchall: We.create(),
|
|
1274
1274
|
typeName: I.ZodObject,
|
|
1275
1275
|
...X(t)
|
|
1276
1276
|
});
|
|
1277
|
-
|
|
1277
|
+
ee.lazycreate = (e, t) => new ee({
|
|
1278
1278
|
shape: e,
|
|
1279
1279
|
unknownKeys: "strip",
|
|
1280
1280
|
catchall: We.create(),
|
|
@@ -2038,7 +2038,7 @@ const Cn = (e, t = {}, s) => e ? gt.create().superRefine((n, a) => {
|
|
|
2038
2038
|
a.addIssue({ code: "custom", ...l, fatal: s });
|
|
2039
2039
|
}
|
|
2040
2040
|
}) : gt.create(), yr = {
|
|
2041
|
-
object:
|
|
2041
|
+
object: ee.lazycreate
|
|
2042
2042
|
};
|
|
2043
2043
|
var I;
|
|
2044
2044
|
(function(e) {
|
|
@@ -2046,7 +2046,7 @@ var I;
|
|
|
2046
2046
|
})(I || (I = {}));
|
|
2047
2047
|
const br = (e, t = {
|
|
2048
2048
|
message: `Input not instance of ${e.name}`
|
|
2049
|
-
}) => Cn((s) => s instanceof e, t, !0), Dn = ze.create, xn = et.create, vr = Jt.create, wr = Tt.create, jn = Xt.create, Br = mt.create, Mr = Qt.create, Cr = Nt.create, Dr = gt.create, xr = Ze.create, jr = We.create, Er = Zt.create, Pr = Ve.create, Or =
|
|
2049
|
+
}) => Cn((s) => s instanceof e, t, !0), Dn = ze.create, xn = et.create, vr = Jt.create, wr = Tt.create, jn = Xt.create, Br = mt.create, Mr = Qt.create, Cr = Nt.create, Dr = gt.create, xr = Ze.create, jr = We.create, Er = Zt.create, Pr = Ve.create, Or = ee.create, Gr = ee.strictCreate, Yr = Et.create, Vr = es.create, Fr = Pt.create, Sr = Fe.create, Rr = Ot.create, Hr = zt.create, Ir = tt.create, qr = st.create, kr = Wt.create, Tr = Lt.create, Xr = ts.create, Qr = Kt.create, Nr = pt.create, rn = Se.create, Zr = Ge.create, Ur = nt.create, zr = Se.createWithPreprocess, Wr = () => Dn().optional(), Lr = () => xn().optional(), Kr = () => jn().optional();
|
|
2050
2050
|
var Mt = /* @__PURE__ */ Object.freeze({
|
|
2051
2051
|
__proto__: null,
|
|
2052
2052
|
getParsedType: Ne,
|
|
@@ -2079,7 +2079,7 @@ var Mt = /* @__PURE__ */ Object.freeze({
|
|
|
2079
2079
|
get objectUtil() {
|
|
2080
2080
|
return Ut;
|
|
2081
2081
|
},
|
|
2082
|
-
ZodObject:
|
|
2082
|
+
ZodObject: ee,
|
|
2083
2083
|
ZodUnion: Et,
|
|
2084
2084
|
ZodDiscriminatedUnion: es,
|
|
2085
2085
|
ZodIntersection: Pt,
|
|
@@ -6590,7 +6590,7 @@ const On = {
|
|
|
6590
6590
|
"th-TH": Ii,
|
|
6591
6591
|
"zh-Hant": Xi
|
|
6592
6592
|
};
|
|
6593
|
-
var S = /* @__PURE__ */ ((e) => (e.Order = "order", e.Refund = "refund", e.Drawer = "drawer", e.Menu = "menu", e.Inventory = "inventory", e.Deposit = "deposit", e.Delivery = "delivery", e.CounterRecord = "counterRecord", e.Counter = "counter", e.RestaurantSetting = "restaurantSetting", e.Display = "display", e.Printer = "printer", e.Table = "table", e.Employee = "employee", e.System = "system", e.Tax = "tax", e.PaymentType = "paymentType", e.FaceId = "faceId", e.MallIntegration = "mallIntegration", e.Report = "report", e))(S || {}), He = /* @__PURE__ */ ((e) => (e.Discount = "discount", e.Payment = "payment", e.ClaimDeposit = "claimDeposit", e.ChangePrice = "changePrice", e.Void = "void_", e.WaiveServiceCharge = "waiveServiceCharge", e.Resend = "resend", e.ChangePaymentType = "changePaymentType", e))(He || {}), R = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(R || {}),
|
|
6593
|
+
var S = /* @__PURE__ */ ((e) => (e.Order = "order", e.Refund = "refund", e.Drawer = "drawer", e.Menu = "menu", e.Inventory = "inventory", e.Deposit = "deposit", e.Delivery = "delivery", e.CounterRecord = "counterRecord", e.Counter = "counter", e.RestaurantSetting = "restaurantSetting", e.Display = "display", e.Printer = "printer", e.Table = "table", e.Employee = "employee", e.System = "system", e.Tax = "tax", e.PaymentType = "paymentType", e.FaceId = "faceId", e.MallIntegration = "mallIntegration", e.Report = "report", e))(S || {}), He = /* @__PURE__ */ ((e) => (e.Discount = "discount", e.Payment = "payment", e.ClaimDeposit = "claimDeposit", e.ChangePrice = "changePrice", e.Void = "void_", e.WaiveServiceCharge = "waiveServiceCharge", e.Resend = "resend", e.ChangePaymentType = "changePaymentType", e))(He || {}), R = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(R || {}), re = /* @__PURE__ */ ((e) => (e.Closeup = "closeup", e.Counter = "counter", e.HourlySales = "hourlySales", e.DailySales = "dailySales", e.ProductSales = "productSales", e.SourceProductSales = "sourceProductSales", e.UserProductSales = "userProductSales", e.CategorySales = "categorySales", e.AddonSales = "addonSales", e.SlotSales = "slotSales", e.Drawer = "drawer", e.Discount = "discount", e.Refund = "refund", e.Void = "void_", e.Timesheet = "timesheet", e.CounterPayment = "counterPayment", e))(re || {});
|
|
6594
6594
|
const su = {
|
|
6595
6595
|
// General
|
|
6596
6596
|
restaurant: {
|
|
@@ -7480,7 +7480,7 @@ const su = {
|
|
|
7480
7480
|
label: "",
|
|
7481
7481
|
subject: S.Report,
|
|
7482
7482
|
actions: [R.read],
|
|
7483
|
-
conditions: { name:
|
|
7483
|
+
conditions: { name: re.Closeup },
|
|
7484
7484
|
inverted: !1,
|
|
7485
7485
|
reason: ""
|
|
7486
7486
|
},
|
|
@@ -7488,7 +7488,7 @@ const su = {
|
|
|
7488
7488
|
label: "",
|
|
7489
7489
|
subject: S.Report,
|
|
7490
7490
|
actions: [R.read],
|
|
7491
|
-
conditions: { name:
|
|
7491
|
+
conditions: { name: re.Counter },
|
|
7492
7492
|
inverted: !1,
|
|
7493
7493
|
reason: ""
|
|
7494
7494
|
},
|
|
@@ -7496,7 +7496,7 @@ const su = {
|
|
|
7496
7496
|
label: "",
|
|
7497
7497
|
subject: S.Report,
|
|
7498
7498
|
actions: [R.read],
|
|
7499
|
-
conditions: { name:
|
|
7499
|
+
conditions: { name: re.HourlySales },
|
|
7500
7500
|
inverted: !1,
|
|
7501
7501
|
reason: ""
|
|
7502
7502
|
},
|
|
@@ -7504,7 +7504,7 @@ const su = {
|
|
|
7504
7504
|
label: "",
|
|
7505
7505
|
subject: S.Report,
|
|
7506
7506
|
actions: [R.read],
|
|
7507
|
-
conditions: { name:
|
|
7507
|
+
conditions: { name: re.DailySales },
|
|
7508
7508
|
inverted: !1,
|
|
7509
7509
|
reason: ""
|
|
7510
7510
|
},
|
|
@@ -7512,7 +7512,7 @@ const su = {
|
|
|
7512
7512
|
label: "",
|
|
7513
7513
|
subject: S.Report,
|
|
7514
7514
|
actions: [R.read],
|
|
7515
|
-
conditions: { name:
|
|
7515
|
+
conditions: { name: re.ProductSales },
|
|
7516
7516
|
inverted: !1,
|
|
7517
7517
|
reason: ""
|
|
7518
7518
|
},
|
|
@@ -7520,7 +7520,7 @@ const su = {
|
|
|
7520
7520
|
label: "",
|
|
7521
7521
|
subject: S.Report,
|
|
7522
7522
|
actions: [R.read],
|
|
7523
|
-
conditions: { name:
|
|
7523
|
+
conditions: { name: re.SourceProductSales },
|
|
7524
7524
|
inverted: !1,
|
|
7525
7525
|
reason: ""
|
|
7526
7526
|
},
|
|
@@ -7528,7 +7528,7 @@ const su = {
|
|
|
7528
7528
|
label: "",
|
|
7529
7529
|
subject: S.Report,
|
|
7530
7530
|
actions: [R.read],
|
|
7531
|
-
conditions: { name:
|
|
7531
|
+
conditions: { name: re.UserProductSales },
|
|
7532
7532
|
inverted: !1,
|
|
7533
7533
|
reason: ""
|
|
7534
7534
|
},
|
|
@@ -7536,7 +7536,7 @@ const su = {
|
|
|
7536
7536
|
label: "",
|
|
7537
7537
|
subject: S.Report,
|
|
7538
7538
|
actions: [R.read],
|
|
7539
|
-
conditions: { name:
|
|
7539
|
+
conditions: { name: re.CategorySales },
|
|
7540
7540
|
inverted: !1,
|
|
7541
7541
|
reason: ""
|
|
7542
7542
|
},
|
|
@@ -7544,7 +7544,7 @@ const su = {
|
|
|
7544
7544
|
label: "",
|
|
7545
7545
|
subject: S.Report,
|
|
7546
7546
|
actions: [R.read],
|
|
7547
|
-
conditions: { name:
|
|
7547
|
+
conditions: { name: re.AddonSales },
|
|
7548
7548
|
inverted: !1,
|
|
7549
7549
|
reason: ""
|
|
7550
7550
|
},
|
|
@@ -7552,7 +7552,7 @@ const su = {
|
|
|
7552
7552
|
label: "",
|
|
7553
7553
|
subject: S.Report,
|
|
7554
7554
|
actions: [R.read],
|
|
7555
|
-
conditions: { name:
|
|
7555
|
+
conditions: { name: re.SlotSales },
|
|
7556
7556
|
inverted: !1,
|
|
7557
7557
|
reason: ""
|
|
7558
7558
|
},
|
|
@@ -7560,7 +7560,7 @@ const su = {
|
|
|
7560
7560
|
label: "",
|
|
7561
7561
|
subject: S.Report,
|
|
7562
7562
|
actions: [R.read],
|
|
7563
|
-
conditions: { name:
|
|
7563
|
+
conditions: { name: re.Drawer },
|
|
7564
7564
|
inverted: !1,
|
|
7565
7565
|
reason: ""
|
|
7566
7566
|
},
|
|
@@ -7568,7 +7568,7 @@ const su = {
|
|
|
7568
7568
|
label: "",
|
|
7569
7569
|
subject: S.Report,
|
|
7570
7570
|
actions: [R.read],
|
|
7571
|
-
conditions: { name:
|
|
7571
|
+
conditions: { name: re.Discount },
|
|
7572
7572
|
inverted: !1,
|
|
7573
7573
|
reason: ""
|
|
7574
7574
|
},
|
|
@@ -7576,7 +7576,7 @@ const su = {
|
|
|
7576
7576
|
label: "",
|
|
7577
7577
|
subject: S.Report,
|
|
7578
7578
|
actions: [R.read],
|
|
7579
|
-
conditions: { name:
|
|
7579
|
+
conditions: { name: re.Refund },
|
|
7580
7580
|
inverted: !1,
|
|
7581
7581
|
reason: ""
|
|
7582
7582
|
},
|
|
@@ -7587,7 +7587,7 @@ const su = {
|
|
|
7587
7587
|
// 'void_' (not 'void') to match the report-query service's permissionKey and the
|
|
7588
7588
|
// value already persisted in CouchDB — 'void' is a reserved word in the POS
|
|
7589
7589
|
// Flutter/Dart client. See pos-role.service.ts / pos-role.helpers.ts.
|
|
7590
|
-
conditions: { name:
|
|
7590
|
+
conditions: { name: re.Void },
|
|
7591
7591
|
inverted: !1,
|
|
7592
7592
|
reason: ""
|
|
7593
7593
|
},
|
|
@@ -7595,7 +7595,7 @@ const su = {
|
|
|
7595
7595
|
label: "",
|
|
7596
7596
|
subject: S.Report,
|
|
7597
7597
|
actions: [R.read],
|
|
7598
|
-
conditions: { name:
|
|
7598
|
+
conditions: { name: re.Timesheet },
|
|
7599
7599
|
inverted: !1,
|
|
7600
7600
|
reason: ""
|
|
7601
7601
|
},
|
|
@@ -7603,7 +7603,7 @@ const su = {
|
|
|
7603
7603
|
label: "",
|
|
7604
7604
|
subject: S.Report,
|
|
7605
7605
|
actions: [R.read],
|
|
7606
|
-
conditions: { name:
|
|
7606
|
+
conditions: { name: re.CounterPayment },
|
|
7607
7607
|
inverted: !1,
|
|
7608
7608
|
reason: ""
|
|
7609
7609
|
}
|
|
@@ -8661,23 +8661,23 @@ const dn = [
|
|
|
8661
8661
|
Restaurant: wn
|
|
8662
8662
|
}
|
|
8663
8663
|
}, Qa = {
|
|
8664
|
-
[
|
|
8665
|
-
[
|
|
8666
|
-
[
|
|
8667
|
-
[
|
|
8668
|
-
[
|
|
8669
|
-
[
|
|
8670
|
-
[
|
|
8671
|
-
[
|
|
8672
|
-
[
|
|
8673
|
-
[
|
|
8674
|
-
[
|
|
8675
|
-
[
|
|
8676
|
-
[
|
|
8677
|
-
[
|
|
8678
|
-
[
|
|
8679
|
-
[
|
|
8680
|
-
[
|
|
8664
|
+
[ne.permission]: d.hrm_teamMember,
|
|
8665
|
+
[ne.promotion]: d.crm_promotion,
|
|
8666
|
+
[ne.voucher]: d.crm_voucher,
|
|
8667
|
+
[ne.membership]: d.crm_membership,
|
|
8668
|
+
[ne.stock]: d.inventory_stock,
|
|
8669
|
+
[ne.wastageTemplate]: d.inventory_wastageTemplate,
|
|
8670
|
+
[ne.closingTemplate]: d.inventory_closingTemplate,
|
|
8671
|
+
[ne.orderTemplate]: d.inventory_orderTemplate,
|
|
8672
|
+
[ne.ingredient]: d.inventory_ingredient,
|
|
8673
|
+
[ne.recipe]: d.inventory_recipe,
|
|
8674
|
+
[ne.unit]: d.inventory_unit,
|
|
8675
|
+
[ne.supplier]: d.inventory_supplier,
|
|
8676
|
+
[ne.warehouse]: d.inventory_warehouse,
|
|
8677
|
+
[ne.publish]: d.inventory_publish,
|
|
8678
|
+
[ne.integration]: d.inventory_integration,
|
|
8679
|
+
[ne.orderDraft]: d.inventory_orderDraftApproval,
|
|
8680
|
+
[ne.unitCostHistory]: d.inventory_unitCostHistory
|
|
8681
8681
|
};
|
|
8682
8682
|
var Dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8683
8683
|
function jl(e) {
|
|
@@ -8770,7 +8770,7 @@ var Na = { exports: {} };
|
|
|
8770
8770
|
function W(m, p, B, D) {
|
|
8771
8771
|
return m.validate(m.options, p, B, D);
|
|
8772
8772
|
}
|
|
8773
|
-
var
|
|
8773
|
+
var se = {
|
|
8774
8774
|
$eq: V(function(m, p) {
|
|
8775
8775
|
return m(p);
|
|
8776
8776
|
}),
|
|
@@ -8805,7 +8805,7 @@ var Na = { exports: {} };
|
|
|
8805
8805
|
return m(p);
|
|
8806
8806
|
},
|
|
8807
8807
|
$all: function(m, p, B, D) {
|
|
8808
|
-
return
|
|
8808
|
+
return se.$and(m, p, B, D);
|
|
8809
8809
|
},
|
|
8810
8810
|
$size: function(m, p) {
|
|
8811
8811
|
return !!p && m === p.length;
|
|
@@ -8816,7 +8816,7 @@ var Na = { exports: {} };
|
|
|
8816
8816
|
return !1;
|
|
8817
8817
|
},
|
|
8818
8818
|
$nor: function(m, p, B, D) {
|
|
8819
|
-
return !
|
|
8819
|
+
return !se.$or(m, p, B, D);
|
|
8820
8820
|
},
|
|
8821
8821
|
$and: function(m, p, B, D) {
|
|
8822
8822
|
for (var E = 0, O = m.length; E < O; E++)
|
|
@@ -8975,11 +8975,11 @@ var Na = { exports: {} };
|
|
|
8975
8975
|
var H = O[0];
|
|
8976
8976
|
return W(D, H[0], H[1], H[2]);
|
|
8977
8977
|
}
|
|
8978
|
-
for (var k = E && E.$ne !== void 0,
|
|
8979
|
-
var h = O[
|
|
8980
|
-
k ?
|
|
8978
|
+
for (var k = E && E.$ne !== void 0, te = k, ae = 0; ae < O.length; ae++) {
|
|
8979
|
+
var h = O[ae], u = W(D, h[0], h[1], h[2]);
|
|
8980
|
+
k ? te &= u : te |= u;
|
|
8981
8981
|
}
|
|
8982
|
-
return
|
|
8982
|
+
return te;
|
|
8983
8983
|
}
|
|
8984
8984
|
function ss(m, p, B) {
|
|
8985
8985
|
return he({ keyPath: m, child: p, query: B }, ie);
|
|
@@ -8991,25 +8991,25 @@ var Na = { exports: {} };
|
|
|
8991
8991
|
}, E = function(H) {
|
|
8992
8992
|
H = p(H);
|
|
8993
8993
|
var k = [];
|
|
8994
|
-
for (var
|
|
8995
|
-
var
|
|
8996
|
-
if (
|
|
8997
|
-
var h = te
|
|
8998
|
-
if (h) oe[
|
|
8994
|
+
for (var te in H) {
|
|
8995
|
+
var ae = H[te];
|
|
8996
|
+
if (te !== "$options") {
|
|
8997
|
+
var h = se[te] || m && B && B[te];
|
|
8998
|
+
if (h) oe[te] && (ae = oe[te](ae, H, m)), k.push(he(p(ae), h));
|
|
8999
8999
|
else {
|
|
9000
|
-
if (
|
|
9001
|
-
throw new Error("Unknown operation " +
|
|
9002
|
-
var u =
|
|
9003
|
-
k.push(ss(u, O(
|
|
9000
|
+
if (te.charCodeAt(0) === 36)
|
|
9001
|
+
throw new Error("Unknown operation " + te);
|
|
9002
|
+
var u = te.split(".");
|
|
9003
|
+
k.push(ss(u, O(ae), ae));
|
|
9004
9004
|
}
|
|
9005
9005
|
}
|
|
9006
9006
|
}
|
|
9007
|
-
return k.length === 1 ? k[0] : he(k,
|
|
9007
|
+
return k.length === 1 ? k[0] : he(k, se.$and);
|
|
9008
9008
|
}, O = function(H) {
|
|
9009
|
-
return H = D(H), function k(
|
|
9010
|
-
if (!f(
|
|
9011
|
-
for (var h in
|
|
9012
|
-
return
|
|
9009
|
+
return H = D(H), function k(te, ae) {
|
|
9010
|
+
if (!f(te)) return ae;
|
|
9011
|
+
for (var h in te) ae.push(h), k(te[h], ae);
|
|
9012
|
+
return ae;
|
|
9013
9013
|
}(H, []).join(",").search(/[$.]/) === -1 ? he(H, Le) : E(H);
|
|
9014
9014
|
};
|
|
9015
9015
|
return function(H) {
|
|
@@ -9258,11 +9258,11 @@ var Ul = /* @__PURE__ */ function() {
|
|
|
9258
9258
|
var y = new r(n[f]), w = this.expandActions(y.actions), V = Ss(y.subject), Z = n.length - f - 1;
|
|
9259
9259
|
l = !!(l && y.inverted), !c && y.fields && (c = !0);
|
|
9260
9260
|
for (var W = 0; W < V.length; W++) {
|
|
9261
|
-
var
|
|
9262
|
-
a[
|
|
9261
|
+
var se = V[W];
|
|
9262
|
+
a[se] = a[se] || /* @__PURE__ */ Object.create(null);
|
|
9263
9263
|
for (var oe = 0; oe < w.length; oe++) {
|
|
9264
9264
|
var he = w[oe];
|
|
9265
|
-
a[
|
|
9265
|
+
a[se][he] = a[se][he] || /* @__PURE__ */ Object.create(null), a[se][he][Z] = y;
|
|
9266
9266
|
}
|
|
9267
9267
|
}
|
|
9268
9268
|
}
|
|
@@ -9418,14 +9418,14 @@ function $l(e, t, s) {
|
|
|
9418
9418
|
r.value = !0;
|
|
9419
9419
|
});
|
|
9420
9420
|
try {
|
|
9421
|
-
const
|
|
9421
|
+
const se = await e((oe) => {
|
|
9422
9422
|
V(() => {
|
|
9423
9423
|
r && (r.value = !1), W || oe();
|
|
9424
9424
|
});
|
|
9425
9425
|
});
|
|
9426
|
-
Z === w && (y.value =
|
|
9427
|
-
} catch (
|
|
9428
|
-
c(
|
|
9426
|
+
Z === w && (y.value = se);
|
|
9427
|
+
} catch (se) {
|
|
9428
|
+
c(se);
|
|
9429
9429
|
} finally {
|
|
9430
9430
|
r && Z === w && (r.value = !1), W = !0;
|
|
9431
9431
|
}
|
|
@@ -9631,7 +9631,7 @@ function Ws(e) {
|
|
|
9631
9631
|
}
|
|
9632
9632
|
};
|
|
9633
9633
|
}
|
|
9634
|
-
var
|
|
9634
|
+
var $ = /* @__PURE__ */ ((e) => (e.HOME = "home", e.EMPLOYEE = "employee", e.ROLE = "role", e.TIMESHEET = "timesheet", e.AUDIT_LOG = "audit-log", e.TEAM = "team", e.TEAM_MEMBER = "team-member", e.TEAM_ROLE = "team-role", e.POS_ACCESS = "pos-access", e.POS_GRANT = "pos-grant", e.APPROVAL_CODE = "approval-code", e.SCHEDULE = "schedule", e.SCHEDULE_POSITION = "schedule-position", e.SCHEDULE_GENERAL = "schedule-general", e))($ || {});
|
|
9635
9635
|
const _e = (e) => ({
|
|
9636
9636
|
validationManifest: {
|
|
9637
9637
|
requiredCaslPermissions: [
|
|
@@ -9641,16 +9641,16 @@ const _e = (e) => ({
|
|
|
9641
9641
|
}
|
|
9642
9642
|
]
|
|
9643
9643
|
}
|
|
9644
|
-
}), jc = ot(pe(() => import("./Main-
|
|
9645
|
-
pe(() => import("./AuditLogList-
|
|
9646
|
-
), Oc = ot(pe(() => import("./Main-
|
|
9647
|
-
() => import("./PermissionSetList-
|
|
9644
|
+
}), jc = ot(pe(() => import("./Main-N1CNGDAy.js"))), Ec = ot(pe(() => import("./Main-BojQuzZI.js"))), Pc = ot(
|
|
9645
|
+
pe(() => import("./AuditLogList-BEZoHLsX.js"))
|
|
9646
|
+
), Oc = ot(pe(() => import("./Main-CKr3RGvf.js"))), Gc = pe(() => import("./ApprovalCodeList-BzL73nqc.js")), Yc = pe(() => import("./GrantUserList-Ci_ElhHZ.js")), Vc = pe(() => import("./EmployeeList-s4FYw1ZF.js")), Fc = pe(() => import("./RoleList-Cm7_q5l9.js")), Sc = pe(() => import("./TimesheetList-DEdLpYuM.js")), Rc = pe(() => import("./TeamMemberList-D2OfkfJP.js")), Hc = pe(
|
|
9647
|
+
() => import("./PermissionSetList-DLknSOzA.js")
|
|
9648
9648
|
), Ic = Ws(
|
|
9649
|
-
ot(pe(() => import("./SchedulePage-
|
|
9649
|
+
ot(pe(() => import("./SchedulePage-CN3ZsQ9E.js")))
|
|
9650
9650
|
), qc = Ws(
|
|
9651
|
-
ot(pe(() => import("./SchedulePositionPage-
|
|
9651
|
+
ot(pe(() => import("./SchedulePositionPage-Bv3zraaF.js")))
|
|
9652
9652
|
), kc = Ws(
|
|
9653
|
-
ot(pe(() => import("./ScheduleGeneralPage-
|
|
9653
|
+
ot(pe(() => import("./ScheduleGeneralPage-CmR4BZAp.js")))
|
|
9654
9654
|
), ou = [
|
|
9655
9655
|
{
|
|
9656
9656
|
path: "/",
|
|
@@ -9762,7 +9762,7 @@ const _e = (e) => ({
|
|
|
9762
9762
|
setup(e, { emit: t }) {
|
|
9763
9763
|
const s = t, { t: n } = vn(), a = lr();
|
|
9764
9764
|
async function r(f) {
|
|
9765
|
-
await a.push({
|
|
9765
|
+
await a.push({ name: f, query: a.currentRoute.value.query }), await hn(), s("close-navigation");
|
|
9766
9766
|
}
|
|
9767
9767
|
const l = qs(() => {
|
|
9768
9768
|
const f = [];
|
|
@@ -9770,25 +9770,25 @@ const _e = (e) => ({
|
|
|
9770
9770
|
label: n("hr.employee.title"),
|
|
9771
9771
|
value: "employee",
|
|
9772
9772
|
action: () => {
|
|
9773
|
-
r(
|
|
9773
|
+
r($.EMPLOYEE);
|
|
9774
9774
|
}
|
|
9775
9775
|
}), f.push({
|
|
9776
9776
|
label: n("team.title"),
|
|
9777
9777
|
value: "team-member",
|
|
9778
9778
|
action: () => {
|
|
9779
|
-
r(
|
|
9779
|
+
r($.TEAM);
|
|
9780
9780
|
}
|
|
9781
9781
|
}), f.push({
|
|
9782
9782
|
label: n("auditLog.title"),
|
|
9783
9783
|
value: "audit-log",
|
|
9784
9784
|
action: () => {
|
|
9785
|
-
r(
|
|
9785
|
+
r($.AUDIT_LOG);
|
|
9786
9786
|
}
|
|
9787
9787
|
}), f.push({
|
|
9788
9788
|
label: n("posAccess.title"),
|
|
9789
9789
|
value: "pos-access",
|
|
9790
9790
|
action: () => {
|
|
9791
|
-
r(
|
|
9791
|
+
r($.APPROVAL_CODE);
|
|
9792
9792
|
}
|
|
9793
9793
|
}), f.push({
|
|
9794
9794
|
label: n("scheduling.nav.section"),
|
|
@@ -9798,21 +9798,21 @@ const _e = (e) => ({
|
|
|
9798
9798
|
label: n("scheduling.nav.board"),
|
|
9799
9799
|
value: "schedule",
|
|
9800
9800
|
action: () => {
|
|
9801
|
-
r(
|
|
9801
|
+
r($.SCHEDULE);
|
|
9802
9802
|
}
|
|
9803
9803
|
},
|
|
9804
9804
|
{
|
|
9805
9805
|
label: n("scheduling.nav.position"),
|
|
9806
9806
|
value: "schedule-position",
|
|
9807
9807
|
action: () => {
|
|
9808
|
-
r(
|
|
9808
|
+
r($.SCHEDULE_POSITION);
|
|
9809
9809
|
}
|
|
9810
9810
|
},
|
|
9811
9811
|
{
|
|
9812
9812
|
label: n("scheduling.nav.general"),
|
|
9813
9813
|
value: "schedule-general",
|
|
9814
9814
|
action: () => {
|
|
9815
|
-
r(
|
|
9815
|
+
r($.SCHEDULE_GENERAL);
|
|
9816
9816
|
}
|
|
9817
9817
|
}
|
|
9818
9818
|
]
|
|
@@ -9822,34 +9822,34 @@ const _e = (e) => ({
|
|
|
9822
9822
|
var y;
|
|
9823
9823
|
let f = (y = a.currentRoute.value) == null ? void 0 : y.name;
|
|
9824
9824
|
switch (f) {
|
|
9825
|
-
case
|
|
9826
|
-
case
|
|
9827
|
-
case
|
|
9828
|
-
f =
|
|
9825
|
+
case $.EMPLOYEE:
|
|
9826
|
+
case $.ROLE:
|
|
9827
|
+
case $.TIMESHEET:
|
|
9828
|
+
f = $.EMPLOYEE;
|
|
9829
9829
|
break;
|
|
9830
|
-
case
|
|
9831
|
-
case
|
|
9832
|
-
f =
|
|
9830
|
+
case $.TEAM_MEMBER:
|
|
9831
|
+
case $.TEAM_ROLE:
|
|
9832
|
+
f = $.TEAM_MEMBER;
|
|
9833
9833
|
break;
|
|
9834
|
-
case
|
|
9834
|
+
case $.SCHEDULE:
|
|
9835
9835
|
f = "schedule";
|
|
9836
9836
|
break;
|
|
9837
|
-
case
|
|
9837
|
+
case $.SCHEDULE_POSITION:
|
|
9838
9838
|
f = "schedule-position";
|
|
9839
9839
|
break;
|
|
9840
|
-
case
|
|
9840
|
+
case $.SCHEDULE_GENERAL:
|
|
9841
9841
|
f = "schedule-general";
|
|
9842
9842
|
break;
|
|
9843
|
-
case
|
|
9844
|
-
f =
|
|
9843
|
+
case $.AUDIT_LOG:
|
|
9844
|
+
f = $.AUDIT_LOG;
|
|
9845
9845
|
break;
|
|
9846
|
-
case
|
|
9847
|
-
case
|
|
9848
|
-
case
|
|
9846
|
+
case $.APPROVAL_CODE:
|
|
9847
|
+
case $.POS_GRANT:
|
|
9848
|
+
case $.POS_ACCESS:
|
|
9849
9849
|
f = "pos-access";
|
|
9850
9850
|
break;
|
|
9851
9851
|
default:
|
|
9852
|
-
f =
|
|
9852
|
+
f = $.EMPLOYEE;
|
|
9853
9853
|
}
|
|
9854
9854
|
c.value !== f && (c.value = f);
|
|
9855
9855
|
}), (f, y) => {
|
|
@@ -10026,14 +10026,14 @@ var Is = { exports: {} };
|
|
|
10026
10026
|
function W(h) {
|
|
10027
10027
|
return !!h && typeof h == "object" && h.value !== void 0;
|
|
10028
10028
|
}
|
|
10029
|
-
function
|
|
10029
|
+
function se(h) {
|
|
10030
10030
|
return Object.fromEntries(Object.entries(h).map(function(u) {
|
|
10031
10031
|
var i = u[0], g = u[1];
|
|
10032
10032
|
return [i, W(g) ? g : { value: g }];
|
|
10033
10033
|
}));
|
|
10034
10034
|
}
|
|
10035
10035
|
function oe(h) {
|
|
10036
|
-
return a(a({}, h), { identity: h.identity ? a(a({}, h.identity), { traits:
|
|
10036
|
+
return a(a({}, h), { identity: h.identity ? a(a({}, h.identity), { traits: se(h.identity.traits || {}) }) : void 0 });
|
|
10037
10037
|
}
|
|
10038
10038
|
(function(h) {
|
|
10039
10039
|
h.NONE = "NONE", h.DEFAULT_FLAGS = "DEFAULT_FLAGS", h.CACHE = "CACHE", h.SERVER = "SERVER";
|
|
@@ -10130,7 +10130,7 @@ var Is = { exports: {} };
|
|
|
10130
10130
|
return i.setContext(a(a({}, i.getContext()), g));
|
|
10131
10131
|
}, this.setTrait = function(g, A) {
|
|
10132
10132
|
var b;
|
|
10133
|
-
if (i.api) return i.setContext(a(a({}, i.evaluationContext), { identity: a(a({}, i.evaluationContext.identity), { traits: a(a({}, (b = i.evaluationContext.identity) === null || b === void 0 ? void 0 : b.traits),
|
|
10133
|
+
if (i.api) return i.setContext(a(a({}, i.evaluationContext), { identity: a(a({}, i.evaluationContext.identity), { traits: a(a({}, (b = i.evaluationContext.identity) === null || b === void 0 ? void 0 : b.traits), se(Object.fromEntries([[g, A]]))) }) }));
|
|
10134
10134
|
}, this.setTraits = function(g) {
|
|
10135
10135
|
var A;
|
|
10136
10136
|
if (i.api) return i.setContext(a(a({}, i.evaluationContext), { identity: a(a({}, i.evaluationContext.identity), { traits: a(a({}, (A = i.evaluationContext.identity) === null || A === void 0 ? void 0 : A.traits), Object.fromEntries(Object.entries(g).map(function(b) {
|
|
@@ -10482,7 +10482,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
10482
10482
|
}, h;
|
|
10483
10483
|
}();
|
|
10484
10484
|
globalThis.FlagsmithEventSource = typeof EventSource < "u" ? EventSource : null;
|
|
10485
|
-
var
|
|
10485
|
+
var te = function(h, u) {
|
|
10486
10486
|
return u = u || {}, new Promise(function(i, g) {
|
|
10487
10487
|
var A = new XMLHttpRequest(), b = [], M = [], G = {}, F = function() {
|
|
10488
10488
|
return { ok: (A.status / 100 | 0) == 2, statusText: A.statusText, status: A.status, url: A.responseURL, text: function() {
|
|
@@ -10508,10 +10508,10 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
10508
10508
|
}, A.onerror = g, A.withCredentials = u.credentials == "include", u.headers) A.setRequestHeader(Q, u.headers[Q]);
|
|
10509
10509
|
A.send(u.body || null);
|
|
10510
10510
|
});
|
|
10511
|
-
},
|
|
10512
|
-
typeof window < "u" && (window.flagsmith =
|
|
10513
|
-
return m({ AsyncStorage: n, fetch:
|
|
10514
|
-
}, s.default =
|
|
10511
|
+
}, ae = m({ AsyncStorage: n, fetch: te, eventSource: k });
|
|
10512
|
+
typeof window < "u" && (window.flagsmith = ae), s.createFlagsmithInstance = function() {
|
|
10513
|
+
return m({ AsyncStorage: n, fetch: te, eventSource: k });
|
|
10514
|
+
}, s.default = ae, Object.defineProperty(s, "__esModule", { value: !0 });
|
|
10515
10515
|
});
|
|
10516
10516
|
})(Is, Is.exports);
|
|
10517
10517
|
var Xc = Is.exports, Qc = {
|
|
@@ -10655,8 +10655,8 @@ function Uc(e = Zc) {
|
|
|
10655
10655
|
if (!t()) return Z;
|
|
10656
10656
|
try {
|
|
10657
10657
|
return await e.getUserFlagValue(w, V, Z, W);
|
|
10658
|
-
} catch (
|
|
10659
|
-
return console.error(`Error getting user flag value for ${V}:`,
|
|
10658
|
+
} catch (se) {
|
|
10659
|
+
return console.error(`Error getting user flag value for ${V}:`, se), Z;
|
|
10660
10660
|
}
|
|
10661
10661
|
}, f = async (w, V, Z = null, W) => c(`${pn}-${w}`, V, Z, W), y = () => {
|
|
10662
10662
|
try {
|
|
@@ -10696,7 +10696,7 @@ const iu = /* @__PURE__ */ at({
|
|
|
10696
10696
|
};
|
|
10697
10697
|
}
|
|
10698
10698
|
});
|
|
10699
|
-
var xs = { name: "@feedmepos/mf-hrm-portal", version: "2.2.5-dev.
|
|
10699
|
+
var xs = { name: "@feedmepos/mf-hrm-portal", version: "2.2.5-dev.8", mode: "fmmf" };
|
|
10700
10700
|
console.log(
|
|
10701
10701
|
`%c${xs.name}%c v${xs.version} %c${xs.mode}`,
|
|
10702
10702
|
"background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
|
|
@@ -10731,7 +10731,7 @@ export {
|
|
|
10731
10731
|
nu as D,
|
|
10732
10732
|
$c as G,
|
|
10733
10733
|
su as O,
|
|
10734
|
-
|
|
10734
|
+
$ as R,
|
|
10735
10735
|
tu as S,
|
|
10736
10736
|
eo as U,
|
|
10737
10737
|
wc as _,
|