@feedmepos/mf-hrm-portal 2.3.2-dev.4 → 2.3.2-dev.5
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-BPTnWcra.js → ApprovalCodeList-NYJNwdDZ.js} +7 -7
- package/dist/{AuditLogList-CvEF4bit.js → AuditLogList-Ghn4aBnn.js} +5 -5
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CPX0sv64.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BxZ9t3MZ.js} +2 -2
- package/dist/{EmployeeList-CANPsrQY.js → EmployeeList-jc8LTznV.js} +8 -8
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-mdfK9rtZ.js → FormSection.vue_vue_type_script_setup_true_lang-DLgm6oCz.js} +1 -1
- package/dist/{GrantUserList-DPj_6Wsg.js → GrantUserList-BtPTpypR.js} +8 -8
- package/dist/{Main-DXcSgkhR.js → Main-BF8hlYeV.js} +10 -10
- package/dist/{Main-BWRMirTY.js → Main-BizCV-_x.js} +11 -11
- package/dist/{Main-Cob4hcf-.js → Main-McMZU_cR.js} +5 -5
- package/dist/{MyPosProfile-Bp7-pATz.js → MyPosProfile-BjeCnBvL.js} +100 -111
- package/dist/{PermissionSetList-DvAW1q0c.js → PermissionSetList-NWLoqFHC.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DmbI5vgH.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-UPcpeVD5.js} +840 -840
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C8hcooKP.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-nwpdr7T7.js} +19 -19
- package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-Bq8-aBSv.js → RoleForm.vue_vue_type_script_setup_true_lang-eT-dPsOX.js} +9 -9
- package/dist/{RoleList-DsrHgU4s.js → RoleList-CIfN10zu.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRR18xmB.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CMTXC_UR.js} +1 -1
- package/dist/{ScheduleGeneralPage-C_Kj9wmp.js → ScheduleGeneralPage-8vS1DUrk.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3oQ6lE86.js → ScheduleModal.vue_vue_type_script_setup_true_lang-Br4AcF1g.js} +4 -4
- package/dist/{SchedulePage-9dFXxWwZ.js → SchedulePage-DqbE1PoV.js} +9 -9
- package/dist/{SchedulePositionPage-Dea5X8Sa.js → SchedulePositionPage-DUnkT0Tp.js} +3 -3
- package/dist/{SelectFilter-Dr9lB6Ta.js → SelectFilter-voMj4_j1.js} +1 -1
- package/dist/{TeamMemberList-Bu9QNP9W.js → TeamMemberList-DoEOWNDC.js} +12 -12
- package/dist/{TimesheetList-B98l028z.js → TimesheetList-BBv2SV96.js} +8 -8
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIQ7kjG8.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-h-bWBmpI.js} +3 -3
- package/dist/{app-BHQJX4L4.js → app-CDCO87ji.js} +452 -457
- package/dist/app.js +1 -1
- package/dist/{approval-code-w0rZJeYU.js → approval-code-CLE9s5dL.js} +1 -1
- package/dist/{dayjs.min-C4H4diN8.js → dayjs.min-BW6-XAUB.js} +16 -16
- package/dist/{employee-BEwUmdt6.js → employee-BaCU-FLC.js} +5 -5
- package/dist/{grant-user-DdxPMH5_.js → grant-user-DMtilLJx.js} +1 -1
- package/dist/{iteration-DBHifssn.js → iteration-CPLGGFBb.js} +1 -1
- package/dist/{lodash-DqZsWm-0.js → lodash-snXoiw60.js} +1 -1
- package/dist/{member-grant-DOigVnBR.js → member-grant-CJyOr-q0.js} +2 -2
- package/dist/{restaurant-2xCb2x26.js → restaurant-BMlLIUqe.js} +1 -1
- package/dist/{role-C8STcmLJ.js → role-DqcBOWHL.js} +3 -3
- package/dist/{rule-BkL34-Ma.js → rule-B5YNhGJ4.js} +3 -3
- package/dist/src/api/my-pos-profile/index.d.ts +1 -3
- package/dist/src/types/my-pos-profile.d.ts +2 -3
- package/dist/src/views/my-pos-profile/locales/index.d.ts +0 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BUmFt2dT.js → useAppStore-pKAGQL6q.js} +1 -1
- package/dist/{useLoading-oHRj4RgU.js → useLoading-D67DIqfk.js} +1 -1
- package/dist/{useReportPermissions-CpcyfEuV.js → useReportPermissions-CfgnE0NY.js} +3 -3
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var _r = Object.defineProperty;
|
|
2
2
|
var $r = (e, t, a) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var ia = (e, t, a) => $r(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
-
import { isRef as ei, ref as Ke, shallowRef as ti, watchEffect as
|
|
4
|
+
import { isRef as ei, ref as Ke, shallowRef as ti, watchEffect as jo, computed as Be, h as bt, defineComponent as nt, createBlock as js, renderSlot as Hs, createCommentVNode as Ho, unref as je, openBlock as pt, createElementBlock as aa, createElementVNode as Te, toDisplayString as Aa, watch as Ys, nextTick as Yo, onMounted as Go, onBeforeUnmount as ai, normalizeStyle as si, resolveComponent as Ft, withCtx as oi, createVNode as ft, defineAsyncComponent as ni, createTextVNode as ri, readonly as us, Fragment as ii } from "vue";
|
|
5
5
|
import { useBreakpoints as li } from "@feedmepos/ui-library";
|
|
6
6
|
import { useRoute as Gs, useRouter as Fa } from "vue-router";
|
|
7
|
-
import { useCoreStore as Mt, useI18n as Vs, baseClientInstance as
|
|
8
|
-
var
|
|
7
|
+
import { useCoreStore as Mt, useI18n as Vs, baseClientInstance as Vo, FeedMeAuth as di } from "@feedmepos/mf-common";
|
|
8
|
+
var Io = /* @__PURE__ */ ((e) => (e[e.feedMe = 0] = "feedMe", e[e.business = 1] = "business", e[e.restaurant = 2] = "restaurant", e))(Io || {}), i = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(i || {}), qo = /* @__PURE__ */ ((e) => (e.all = "all", e.restaurant = "restaurant", e.business = "business", e.delivery = "delivery", e.agent = "agent", e.posGrant = "posGrant", e))(qo || {}), Wo = /* @__PURE__ */ ((e) => (e.quota = "quota", e.owner = "owner", e))(Wo || {}), y = /* @__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))(y || {}), ye = /* @__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))(ye || {}), Uo = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(Uo || {});
|
|
9
9
|
const P = {
|
|
10
10
|
general: "General",
|
|
11
11
|
inventory: "Inventory",
|
|
@@ -222,12 +222,12 @@ const _t = (e, t) => {
|
|
|
222
222
|
}
|
|
223
223
|
return { message: a };
|
|
224
224
|
};
|
|
225
|
-
let
|
|
225
|
+
let Lo = _t;
|
|
226
226
|
function mi(e) {
|
|
227
|
-
|
|
227
|
+
Lo = e;
|
|
228
228
|
}
|
|
229
229
|
function va() {
|
|
230
|
-
return
|
|
230
|
+
return Lo;
|
|
231
231
|
}
|
|
232
232
|
const ba = (e) => {
|
|
233
233
|
const { data: t, path: a, errorMaps: s, issueData: o } = e, n = [...a, ...o.path || []], r = {
|
|
@@ -312,7 +312,7 @@ class Je {
|
|
|
312
312
|
return this._path.concat(this._key);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
const
|
|
315
|
+
const no = (e, t) => {
|
|
316
316
|
if (wa(t))
|
|
317
317
|
return { success: !0, data: t.value };
|
|
318
318
|
if (!e.common.issues.length)
|
|
@@ -390,7 +390,7 @@ class K {
|
|
|
390
390
|
data: t,
|
|
391
391
|
parsedType: dt(t)
|
|
392
392
|
}, n = this._parseSync({ data: t, path: o.path, parent: o });
|
|
393
|
-
return
|
|
393
|
+
return no(o, n);
|
|
394
394
|
}
|
|
395
395
|
async parseAsync(t, a) {
|
|
396
396
|
const s = await this.safeParseAsync(t, a);
|
|
@@ -411,7 +411,7 @@ class K {
|
|
|
411
411
|
data: t,
|
|
412
412
|
parsedType: dt(t)
|
|
413
413
|
}, o = this._parse({ data: t, path: [], parent: s }), n = await (bs(o) ? o : Promise.resolve(o));
|
|
414
|
-
return
|
|
414
|
+
return no(s, n);
|
|
415
415
|
}
|
|
416
416
|
refine(t, a) {
|
|
417
417
|
const s = (o) => typeof a == "string" || typeof a > "u" ? { message: a } : typeof a == "function" ? a(o) : a;
|
|
@@ -1058,7 +1058,7 @@ var ka;
|
|
|
1058
1058
|
...a
|
|
1059
1059
|
});
|
|
1060
1060
|
})(ka || (ka = {}));
|
|
1061
|
-
const
|
|
1061
|
+
const ro = (e) => (t) => new de({
|
|
1062
1062
|
...e,
|
|
1063
1063
|
shape: () => ({
|
|
1064
1064
|
...e.shape(),
|
|
@@ -1080,7 +1080,7 @@ function Rt(e) {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
class de extends K {
|
|
1082
1082
|
constructor() {
|
|
1083
|
-
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment =
|
|
1083
|
+
super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = ro(this._def), this.extend = ro(this._def);
|
|
1084
1084
|
}
|
|
1085
1085
|
_getCached() {
|
|
1086
1086
|
if (this._cached !== null)
|
|
@@ -1257,7 +1257,7 @@ class de extends K {
|
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
1259
|
keyof() {
|
|
1260
|
-
return
|
|
1260
|
+
return Qo(te.objectKeys(this.shape));
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
1263
|
de.create = (e, t) => new de({
|
|
@@ -1794,7 +1794,7 @@ Ta.create = (e, t) => new Ta({
|
|
|
1794
1794
|
typeName: X.ZodLiteral,
|
|
1795
1795
|
...J(t)
|
|
1796
1796
|
});
|
|
1797
|
-
function
|
|
1797
|
+
function Qo(e, t) {
|
|
1798
1798
|
return new Ha({
|
|
1799
1799
|
values: e,
|
|
1800
1800
|
typeName: X.ZodEnum,
|
|
@@ -1843,7 +1843,7 @@ class Ha extends K {
|
|
|
1843
1843
|
return t;
|
|
1844
1844
|
}
|
|
1845
1845
|
}
|
|
1846
|
-
Ha.create =
|
|
1846
|
+
Ha.create = Qo;
|
|
1847
1847
|
class xa extends K {
|
|
1848
1848
|
_parse(t) {
|
|
1849
1849
|
const a = te.getValidEnumValues(this._def.values), s = this._getOrReturnCtx(t);
|
|
@@ -2032,7 +2032,7 @@ Ea.create = (e) => new Ea({
|
|
|
2032
2032
|
typeName: X.ZodNaN,
|
|
2033
2033
|
...J(e)
|
|
2034
2034
|
});
|
|
2035
|
-
const
|
|
2035
|
+
const Xo = (e, t = {}, a) => e ? Ht.create().superRefine((s, o) => {
|
|
2036
2036
|
if (!e(s)) {
|
|
2037
2037
|
const n = typeof t == "function" ? t(s) : t, r = typeof n == "string" ? { message: n } : n;
|
|
2038
2038
|
o.addIssue({ code: "custom", ...r, fatal: a });
|
|
@@ -2046,7 +2046,7 @@ var X;
|
|
|
2046
2046
|
})(X || (X = {}));
|
|
2047
2047
|
const bi = (e, t = {
|
|
2048
2048
|
message: `Input not instance of ${e.name}`
|
|
2049
|
-
}) =>
|
|
2049
|
+
}) => Xo((a) => a instanceof e, t, !0), zo = ut.create, Zo = wt.create, wi = Ea.create, Ci = Ca.create, Ko = Sa.create, Si = jt.create, Pi = Pa.create, Di = Da.create, Mi = Ht.create, ki = ct.create, Oi = mt.create, Bi = Ma.create, Ti = _e.create, xi = de.create, Ei = de.strictCreate, Ri = $t.create, Ni = ja.create, Fi = ea.create, ji = $e.create, Hi = ta.create, Yi = Oa.create, Gi = Ct.create, Vi = St.create, Ii = Ba.create, qi = Ta.create, Wi = Ha.create, Ui = xa.create, Li = Yt.create, io = et.create, Qi = Ze.create, Xi = Pt.create, zi = et.createWithPreprocess, Zi = () => zo().optional(), Ki = () => Zo().optional(), Ji = () => Ko().optional();
|
|
2050
2050
|
var Xt = /* @__PURE__ */ Object.freeze({
|
|
2051
2051
|
__proto__: null,
|
|
2052
2052
|
getParsedType: dt,
|
|
@@ -2099,7 +2099,7 @@ var Xt = /* @__PURE__ */ Object.freeze({
|
|
|
2099
2099
|
ZodNullable: Pt,
|
|
2100
2100
|
ZodDefault: qs,
|
|
2101
2101
|
ZodNaN: Ea,
|
|
2102
|
-
custom:
|
|
2102
|
+
custom: Xo,
|
|
2103
2103
|
Schema: K,
|
|
2104
2104
|
ZodSchema: K,
|
|
2105
2105
|
late: vi,
|
|
@@ -2109,10 +2109,10 @@ var Xt = /* @__PURE__ */ Object.freeze({
|
|
|
2109
2109
|
any: Mi,
|
|
2110
2110
|
array: Ti,
|
|
2111
2111
|
bigint: Ci,
|
|
2112
|
-
boolean:
|
|
2112
|
+
boolean: Ko,
|
|
2113
2113
|
date: Si,
|
|
2114
2114
|
discriminatedUnion: Ni,
|
|
2115
|
-
effect:
|
|
2115
|
+
effect: io,
|
|
2116
2116
|
enum: Wi,
|
|
2117
2117
|
function: Vi,
|
|
2118
2118
|
instanceof: bi,
|
|
@@ -2125,7 +2125,7 @@ var Xt = /* @__PURE__ */ Object.freeze({
|
|
|
2125
2125
|
never: Oi,
|
|
2126
2126
|
null: Di,
|
|
2127
2127
|
nullable: Xi,
|
|
2128
|
-
number:
|
|
2128
|
+
number: Zo,
|
|
2129
2129
|
object: xi,
|
|
2130
2130
|
oboolean: Ji,
|
|
2131
2131
|
onumber: Ki,
|
|
@@ -2136,8 +2136,8 @@ var Xt = /* @__PURE__ */ Object.freeze({
|
|
|
2136
2136
|
record: Hi,
|
|
2137
2137
|
set: Gi,
|
|
2138
2138
|
strictObject: Ei,
|
|
2139
|
-
string:
|
|
2140
|
-
transformer:
|
|
2139
|
+
string: zo,
|
|
2140
|
+
transformer: io,
|
|
2141
2141
|
tuple: ji,
|
|
2142
2142
|
undefined: Pi,
|
|
2143
2143
|
union: Ri,
|
|
@@ -2161,18 +2161,18 @@ function _i(e, t, a) {
|
|
|
2161
2161
|
throw new Error(
|
|
2162
2162
|
`[${e}] templates[${n}].when references unknown form field "${r}".`
|
|
2163
2163
|
);
|
|
2164
|
-
for (const r of
|
|
2164
|
+
for (const r of Jo(o.condition))
|
|
2165
2165
|
if (!s.has(r))
|
|
2166
2166
|
throw new Error(
|
|
2167
2167
|
`[${e}] templates[${n}].condition has a $form ref to unknown form field "${r}".`
|
|
2168
2168
|
);
|
|
2169
2169
|
});
|
|
2170
2170
|
}
|
|
2171
|
-
function
|
|
2171
|
+
function Jo(e, t = []) {
|
|
2172
2172
|
if (Ws(e))
|
|
2173
2173
|
t.push(e.$form);
|
|
2174
2174
|
else if (typeof e == "object" && e !== null)
|
|
2175
|
-
for (const a of Object.values(e))
|
|
2175
|
+
for (const a of Object.values(e)) Jo(a, t);
|
|
2176
2176
|
return t;
|
|
2177
2177
|
}
|
|
2178
2178
|
function $i(e, t) {
|
|
@@ -2267,7 +2267,7 @@ function nl(e) {
|
|
|
2267
2267
|
const t = e == null ? void 0 : e.shape;
|
|
2268
2268
|
return t ? Object.keys(t) : void 0;
|
|
2269
2269
|
}
|
|
2270
|
-
const
|
|
2270
|
+
const _o = /* @__PURE__ */ new Map(), ma = [], rl = /* @__PURE__ */ new Map(), lo = "prefix:";
|
|
2271
2271
|
function il(e) {
|
|
2272
2272
|
for (const [t, a] of Object.entries(e))
|
|
2273
2273
|
ll([t], a);
|
|
@@ -2277,11 +2277,11 @@ function ll(e, t) {
|
|
|
2277
2277
|
dl(a, e);
|
|
2278
2278
|
for (const s of a) rl.set(s.builderKey, s);
|
|
2279
2279
|
for (const s of e)
|
|
2280
|
-
if (s.startsWith(
|
|
2281
|
-
const o = s.slice(
|
|
2280
|
+
if (s.startsWith(lo)) {
|
|
2281
|
+
const o = s.slice(lo.length), n = ma.findIndex((r) => r.prefix === o);
|
|
2282
2282
|
n >= 0 ? ma[n] = { prefix: o, builders: a } : ma.push({ prefix: o, builders: a });
|
|
2283
2283
|
} else
|
|
2284
|
-
|
|
2284
|
+
_o.set(s, a);
|
|
2285
2285
|
}
|
|
2286
2286
|
function dl(e, t) {
|
|
2287
2287
|
const a = /* @__PURE__ */ new Map();
|
|
@@ -2300,7 +2300,7 @@ function dl(e, t) {
|
|
|
2300
2300
|
}
|
|
2301
2301
|
}
|
|
2302
2302
|
function cl(e) {
|
|
2303
|
-
const t =
|
|
2303
|
+
const t = _o.get(e);
|
|
2304
2304
|
if (t) return t;
|
|
2305
2305
|
let a;
|
|
2306
2306
|
for (const s of ma)
|
|
@@ -2317,17 +2317,17 @@ const ul = "business::report::reports::", ml = Xt.object({
|
|
|
2317
2317
|
/** Whole UTC years between now and the report date. */
|
|
2318
2318
|
reportAgeYears: Xt.number().int().min(0)
|
|
2319
2319
|
}), pl = 864e5;
|
|
2320
|
-
function
|
|
2320
|
+
function co(e, t) {
|
|
2321
2321
|
const a = new Date(e);
|
|
2322
2322
|
if (Number.isNaN(a.getTime()))
|
|
2323
2323
|
throw new Error(`Invalid ${t}: ${e}`);
|
|
2324
2324
|
return a;
|
|
2325
2325
|
}
|
|
2326
|
-
function
|
|
2326
|
+
function uo(e) {
|
|
2327
2327
|
return new Date(Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()));
|
|
2328
2328
|
}
|
|
2329
2329
|
function hl(e, t) {
|
|
2330
|
-
return Math.floor((
|
|
2330
|
+
return Math.floor((uo(t).getTime() - uo(e).getTime()) / pl);
|
|
2331
2331
|
}
|
|
2332
2332
|
function yl(e, t) {
|
|
2333
2333
|
let a = (t.getUTCFullYear() - e.getUTCFullYear()) * 12 + (t.getUTCMonth() - e.getUTCMonth());
|
|
@@ -2339,7 +2339,7 @@ function gl(e, t) {
|
|
|
2339
2339
|
return (s < o || s === o && t.getUTCDate() < e.getUTCDate()) && (a -= 1), a;
|
|
2340
2340
|
}
|
|
2341
2341
|
function fl(e) {
|
|
2342
|
-
const t =
|
|
2342
|
+
const t = co(e.nowAtUtc, "nowAtUtc"), a = co(e.reportDate, "reportDate");
|
|
2343
2343
|
if (a.getTime() > t.getTime())
|
|
2344
2344
|
throw new Error(`Invalid reportDate: ${e.reportDate} is after nowAtUtc`);
|
|
2345
2345
|
return {
|
|
@@ -2370,7 +2370,7 @@ function bl(e, t) {
|
|
|
2370
2370
|
return e.slice(0, 10);
|
|
2371
2371
|
}
|
|
2372
2372
|
}
|
|
2373
|
-
const Jt = "conditionBuilder.reportAccessWindow",
|
|
2373
|
+
const Jt = "conditionBuilder.reportAccessWindow", mo = {
|
|
2374
2374
|
days: `${Jt}.inheritedLastDays`,
|
|
2375
2375
|
months: `${Jt}.inheritedLastMonths`,
|
|
2376
2376
|
years: `${Jt}.inheritedLastYears`
|
|
@@ -2384,9 +2384,9 @@ function wl(e, t) {
|
|
|
2384
2384
|
labelKey: `${Jt}.inheritedSince`,
|
|
2385
2385
|
params: { date: bl(e.sinceAtUtc, t.timeZone) }
|
|
2386
2386
|
};
|
|
2387
|
-
if (e.mode === "last" && typeof e.amount == "number" && typeof e.unit == "string" && e.unit in
|
|
2387
|
+
if (e.mode === "last" && typeof e.amount == "number" && typeof e.unit == "string" && e.unit in mo)
|
|
2388
2388
|
return {
|
|
2389
|
-
labelKey:
|
|
2389
|
+
labelKey: mo[e.unit],
|
|
2390
2390
|
params: { amount: e.amount }
|
|
2391
2391
|
};
|
|
2392
2392
|
}
|
|
@@ -2505,7 +2505,7 @@ function ah(e, t) {
|
|
|
2505
2505
|
...t.map((a) => a.builder.toCondition(a.formValue))
|
|
2506
2506
|
);
|
|
2507
2507
|
}
|
|
2508
|
-
const
|
|
2508
|
+
const $o = {
|
|
2509
2509
|
mode: "Access window",
|
|
2510
2510
|
unrestricted: "No restriction",
|
|
2511
2511
|
since: "Since date",
|
|
@@ -2521,12 +2521,12 @@ const tn = {
|
|
|
2521
2521
|
inheritedLastMonths: "last {amount} months",
|
|
2522
2522
|
inheritedLastYears: "last {amount} years"
|
|
2523
2523
|
}, Ml = {
|
|
2524
|
-
reportAccessWindow:
|
|
2524
|
+
reportAccessWindow: $o
|
|
2525
2525
|
}, kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2526
2526
|
__proto__: null,
|
|
2527
2527
|
default: Ml,
|
|
2528
|
-
reportAccessWindow:
|
|
2529
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2528
|
+
reportAccessWindow: $o
|
|
2529
|
+
}, Symbol.toStringTag, { value: "Module" })), en = {
|
|
2530
2530
|
mode: "访问期限",
|
|
2531
2531
|
unrestricted: "无限制",
|
|
2532
2532
|
since: "自指定日期起",
|
|
@@ -2542,12 +2542,12 @@ const tn = {
|
|
|
2542
2542
|
inheritedLastMonths: "最近 {amount} 月",
|
|
2543
2543
|
inheritedLastYears: "最近 {amount} 年"
|
|
2544
2544
|
}, Ol = {
|
|
2545
|
-
reportAccessWindow:
|
|
2545
|
+
reportAccessWindow: en
|
|
2546
2546
|
}, Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2547
2547
|
__proto__: null,
|
|
2548
2548
|
default: Ol,
|
|
2549
|
-
reportAccessWindow:
|
|
2550
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2549
|
+
reportAccessWindow: en
|
|
2550
|
+
}, Symbol.toStringTag, { value: "Module" })), tn = {
|
|
2551
2551
|
mode: "訪問期限",
|
|
2552
2552
|
unrestricted: "無限制",
|
|
2553
2553
|
since: "自指定日期起",
|
|
@@ -2563,12 +2563,12 @@ const tn = {
|
|
|
2563
2563
|
inheritedLastMonths: "最近 {amount} 月",
|
|
2564
2564
|
inheritedLastYears: "最近 {amount} 年"
|
|
2565
2565
|
}, Tl = {
|
|
2566
|
-
reportAccessWindow:
|
|
2566
|
+
reportAccessWindow: tn
|
|
2567
2567
|
}, xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2568
2568
|
__proto__: null,
|
|
2569
2569
|
default: Tl,
|
|
2570
|
-
reportAccessWindow:
|
|
2571
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2570
|
+
reportAccessWindow: tn
|
|
2571
|
+
}, Symbol.toStringTag, { value: "Module" })), an = {
|
|
2572
2572
|
mode: "ช่วงวันที่เข้าถึงได้",
|
|
2573
2573
|
unrestricted: "ไม่จำกัด",
|
|
2574
2574
|
since: "ตั้งแต่วันที่",
|
|
@@ -2584,17 +2584,17 @@ const tn = {
|
|
|
2584
2584
|
inheritedLastMonths: "ล่าสุด {amount} เดือน",
|
|
2585
2585
|
inheritedLastYears: "ล่าสุด {amount} ปี"
|
|
2586
2586
|
}, El = {
|
|
2587
|
-
reportAccessWindow:
|
|
2587
|
+
reportAccessWindow: an
|
|
2588
2588
|
}, Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2589
2589
|
__proto__: null,
|
|
2590
2590
|
default: El,
|
|
2591
|
-
reportAccessWindow:
|
|
2591
|
+
reportAccessWindow: an
|
|
2592
2592
|
}, Symbol.toStringTag, { value: "Module" })), Nl = {
|
|
2593
2593
|
"en-US": { conditionBuilder: { ...kl } },
|
|
2594
2594
|
"zh-CN": { conditionBuilder: { ...Bl } },
|
|
2595
2595
|
"zh-Hant": { conditionBuilder: { ...xl } },
|
|
2596
2596
|
"th-TH": { conditionBuilder: { ...Rl } }
|
|
2597
|
-
},
|
|
2597
|
+
}, sn = {
|
|
2598
2598
|
predefinedRanges: {
|
|
2599
2599
|
today: "Today",
|
|
2600
2600
|
yesterday: "Yesterday",
|
|
@@ -2604,7 +2604,7 @@ const tn = {
|
|
|
2604
2604
|
thisMonth: "This month",
|
|
2605
2605
|
lastMonth: "Last month"
|
|
2606
2606
|
}
|
|
2607
|
-
},
|
|
2607
|
+
}, on = {
|
|
2608
2608
|
title: "Audit Log",
|
|
2609
2609
|
export: "Export",
|
|
2610
2610
|
dateRange: {
|
|
@@ -2938,14 +2938,14 @@ const tn = {
|
|
|
2938
2938
|
}
|
|
2939
2939
|
}
|
|
2940
2940
|
}, Fl = {
|
|
2941
|
-
date:
|
|
2942
|
-
auditLog:
|
|
2941
|
+
date: sn,
|
|
2942
|
+
auditLog: on
|
|
2943
2943
|
}, jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2944
2944
|
__proto__: null,
|
|
2945
|
-
auditLog:
|
|
2946
|
-
date:
|
|
2945
|
+
auditLog: on,
|
|
2946
|
+
date: sn,
|
|
2947
2947
|
default: Fl
|
|
2948
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2948
|
+
}, Symbol.toStringTag, { value: "Module" })), nn = {
|
|
2949
2949
|
predefinedRanges: {
|
|
2950
2950
|
today: "วันนี้",
|
|
2951
2951
|
yesterday: "เมื่อวาน",
|
|
@@ -2955,7 +2955,7 @@ const tn = {
|
|
|
2955
2955
|
thisMonth: "เดือนนี้",
|
|
2956
2956
|
lastMonth: "เดือนที่แล้ว"
|
|
2957
2957
|
}
|
|
2958
|
-
},
|
|
2958
|
+
}, rn = {
|
|
2959
2959
|
title: "ประวัติการใช้งาน",
|
|
2960
2960
|
export: "ส่งออก",
|
|
2961
2961
|
dateRange: {
|
|
@@ -3290,14 +3290,14 @@ const tn = {
|
|
|
3290
3290
|
}
|
|
3291
3291
|
}
|
|
3292
3292
|
}, Hl = {
|
|
3293
|
-
date:
|
|
3294
|
-
auditLog:
|
|
3293
|
+
date: nn,
|
|
3294
|
+
auditLog: rn
|
|
3295
3295
|
}, Yl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3296
3296
|
__proto__: null,
|
|
3297
|
-
auditLog:
|
|
3298
|
-
date:
|
|
3297
|
+
auditLog: rn,
|
|
3298
|
+
date: nn,
|
|
3299
3299
|
default: Hl
|
|
3300
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3300
|
+
}, Symbol.toStringTag, { value: "Module" })), ln = {
|
|
3301
3301
|
predefinedRanges: {
|
|
3302
3302
|
today: "今天",
|
|
3303
3303
|
yesterday: "昨天",
|
|
@@ -3307,7 +3307,7 @@ const tn = {
|
|
|
3307
3307
|
thisMonth: "本月",
|
|
3308
3308
|
lastMonth: "上月"
|
|
3309
3309
|
}
|
|
3310
|
-
},
|
|
3310
|
+
}, dn = {
|
|
3311
3311
|
title: "审计日志",
|
|
3312
3312
|
export: "导出",
|
|
3313
3313
|
dateRange: {
|
|
@@ -3642,14 +3642,14 @@ const tn = {
|
|
|
3642
3642
|
}
|
|
3643
3643
|
}
|
|
3644
3644
|
}, Gl = {
|
|
3645
|
-
date:
|
|
3646
|
-
auditLog:
|
|
3645
|
+
date: ln,
|
|
3646
|
+
auditLog: dn
|
|
3647
3647
|
}, Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3648
3648
|
__proto__: null,
|
|
3649
|
-
auditLog:
|
|
3650
|
-
date:
|
|
3649
|
+
auditLog: dn,
|
|
3650
|
+
date: ln,
|
|
3651
3651
|
default: Gl
|
|
3652
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3652
|
+
}, Symbol.toStringTag, { value: "Module" })), cn = {
|
|
3653
3653
|
predefinedRanges: {
|
|
3654
3654
|
today: "今天",
|
|
3655
3655
|
yesterday: "昨天",
|
|
@@ -3659,7 +3659,7 @@ const tn = {
|
|
|
3659
3659
|
thisMonth: "本月",
|
|
3660
3660
|
lastMonth: "上月"
|
|
3661
3661
|
}
|
|
3662
|
-
},
|
|
3662
|
+
}, un = {
|
|
3663
3663
|
title: "審計日誌",
|
|
3664
3664
|
export: "匯出",
|
|
3665
3665
|
dateRange: {
|
|
@@ -3994,19 +3994,19 @@ const tn = {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
}
|
|
3996
3996
|
}, Il = {
|
|
3997
|
-
date:
|
|
3998
|
-
auditLog:
|
|
3997
|
+
date: cn,
|
|
3998
|
+
auditLog: un
|
|
3999
3999
|
}, ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4000
4000
|
__proto__: null,
|
|
4001
|
-
auditLog:
|
|
4002
|
-
date:
|
|
4001
|
+
auditLog: un,
|
|
4002
|
+
date: cn,
|
|
4003
4003
|
default: Il
|
|
4004
4004
|
}, Symbol.toStringTag, { value: "Module" })), Wl = {
|
|
4005
4005
|
"en-US": jl,
|
|
4006
4006
|
"zh-CN": Vl,
|
|
4007
4007
|
"th-TH": Yl,
|
|
4008
4008
|
"zh-Hant": ql
|
|
4009
|
-
},
|
|
4009
|
+
}, mn = {
|
|
4010
4010
|
employee: {
|
|
4011
4011
|
title: "Employee",
|
|
4012
4012
|
subtitle: "Manage employees with access to the POS at your outlets.",
|
|
@@ -4217,12 +4217,12 @@ const tn = {
|
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
4219
|
}, Ul = {
|
|
4220
|
-
hr:
|
|
4220
|
+
hr: mn
|
|
4221
4221
|
}, Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4222
4222
|
__proto__: null,
|
|
4223
4223
|
default: Ul,
|
|
4224
|
-
hr:
|
|
4225
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4224
|
+
hr: mn
|
|
4225
|
+
}, Symbol.toStringTag, { value: "Module" })), pn = {
|
|
4226
4226
|
employee: {
|
|
4227
4227
|
title: "พนักงาน",
|
|
4228
4228
|
subtitle: "จัดการพนักงานที่สามารถเข้าถึงระบบ POS ในสาขาของคุณ",
|
|
@@ -4432,12 +4432,12 @@ const tn = {
|
|
|
4432
4432
|
}
|
|
4433
4433
|
}
|
|
4434
4434
|
}, Ql = {
|
|
4435
|
-
hr:
|
|
4435
|
+
hr: pn
|
|
4436
4436
|
}, Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4437
4437
|
__proto__: null,
|
|
4438
4438
|
default: Ql,
|
|
4439
|
-
hr:
|
|
4440
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4439
|
+
hr: pn
|
|
4440
|
+
}, Symbol.toStringTag, { value: "Module" })), hn = {
|
|
4441
4441
|
employee: {
|
|
4442
4442
|
title: "员工",
|
|
4443
4443
|
subtitle: "管理可访问您门店 POS 系统的员工。",
|
|
@@ -4648,12 +4648,12 @@ const tn = {
|
|
|
4648
4648
|
}
|
|
4649
4649
|
}
|
|
4650
4650
|
}, zl = {
|
|
4651
|
-
hr:
|
|
4651
|
+
hr: hn
|
|
4652
4652
|
}, Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4653
4653
|
__proto__: null,
|
|
4654
4654
|
default: zl,
|
|
4655
|
-
hr:
|
|
4656
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4655
|
+
hr: hn
|
|
4656
|
+
}, Symbol.toStringTag, { value: "Module" })), yn = {
|
|
4657
4657
|
employee: {
|
|
4658
4658
|
title: "員工",
|
|
4659
4659
|
subtitle: "管理可存取您門市 POS 系統的員工。",
|
|
@@ -4859,17 +4859,17 @@ const tn = {
|
|
|
4859
4859
|
}
|
|
4860
4860
|
}
|
|
4861
4861
|
}, Kl = {
|
|
4862
|
-
hr:
|
|
4862
|
+
hr: yn
|
|
4863
4863
|
}, Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4864
4864
|
__proto__: null,
|
|
4865
4865
|
default: Kl,
|
|
4866
|
-
hr:
|
|
4866
|
+
hr: yn
|
|
4867
4867
|
}, Symbol.toStringTag, { value: "Module" })), _l = {
|
|
4868
4868
|
"en-US": Ll,
|
|
4869
4869
|
"zh-CN": Zl,
|
|
4870
4870
|
"th-TH": Xl,
|
|
4871
4871
|
"zh-Hant": Jl
|
|
4872
|
-
},
|
|
4872
|
+
}, gn = {
|
|
4873
4873
|
title: "Team members",
|
|
4874
4874
|
subtitle: "Manage team members with access to the Portal and POS. Assign Portal permissions and POS roles.",
|
|
4875
4875
|
actions: {
|
|
@@ -5170,7 +5170,7 @@ const tn = {
|
|
|
5170
5170
|
title: "Portal access",
|
|
5171
5171
|
subtitle: "Manage permissions in Portal like Payment, CRM, Inventory or Menu."
|
|
5172
5172
|
}
|
|
5173
|
-
},
|
|
5173
|
+
}, fn = {
|
|
5174
5174
|
title: "Roles",
|
|
5175
5175
|
createButtonLabel: "Create role",
|
|
5176
5176
|
search: {
|
|
@@ -5300,14 +5300,14 @@ const tn = {
|
|
|
5300
5300
|
}
|
|
5301
5301
|
}
|
|
5302
5302
|
}, $l = {
|
|
5303
|
-
team:
|
|
5304
|
-
permissionSet:
|
|
5303
|
+
team: gn,
|
|
5304
|
+
permissionSet: fn
|
|
5305
5305
|
}, ed = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5306
5306
|
__proto__: null,
|
|
5307
5307
|
default: $l,
|
|
5308
|
-
permissionSet:
|
|
5309
|
-
team:
|
|
5310
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5308
|
+
permissionSet: fn,
|
|
5309
|
+
team: gn
|
|
5310
|
+
}, Symbol.toStringTag, { value: "Module" })), An = {
|
|
5311
5311
|
title: "ผู้ดูแลระบบ",
|
|
5312
5312
|
subtitle: "จัดการผู้ดูแลระบบที่สามารถเข้าถึง Portal และ POS กำหนดสิทธิ์ Portal และบทบาท POS",
|
|
5313
5313
|
actions: {
|
|
@@ -5608,7 +5608,7 @@ const tn = {
|
|
|
5608
5608
|
title: "สิทธิ์ Portal",
|
|
5609
5609
|
subtitle: "จัดการสิทธิ์ใน Portal เช่น การชำระเงิน CRM สินค้าคงคลัง หรือเมนู"
|
|
5610
5610
|
}
|
|
5611
|
-
},
|
|
5611
|
+
}, vn = {
|
|
5612
5612
|
title: "บทบาท",
|
|
5613
5613
|
createButtonLabel: "สร้างบทบาท",
|
|
5614
5614
|
search: {
|
|
@@ -5738,14 +5738,14 @@ const tn = {
|
|
|
5738
5738
|
}
|
|
5739
5739
|
}
|
|
5740
5740
|
}, td = {
|
|
5741
|
-
team:
|
|
5742
|
-
permissionSet:
|
|
5741
|
+
team: An,
|
|
5742
|
+
permissionSet: vn
|
|
5743
5743
|
}, ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5744
5744
|
__proto__: null,
|
|
5745
5745
|
default: td,
|
|
5746
|
-
permissionSet:
|
|
5747
|
-
team:
|
|
5748
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5746
|
+
permissionSet: vn,
|
|
5747
|
+
team: An
|
|
5748
|
+
}, Symbol.toStringTag, { value: "Module" })), bn = {
|
|
5749
5749
|
title: "团队成员",
|
|
5750
5750
|
subtitle: "管理可访问 Portal 和 POS 的团队成员,分配 Portal 权限和 POS 角色。",
|
|
5751
5751
|
actions: {
|
|
@@ -6046,7 +6046,7 @@ const tn = {
|
|
|
6046
6046
|
title: "Portal 权限",
|
|
6047
6047
|
subtitle: "管理 Portal 中的权限,例如支付、CRM、库存或菜单。"
|
|
6048
6048
|
}
|
|
6049
|
-
},
|
|
6049
|
+
}, wn = {
|
|
6050
6050
|
title: "角色",
|
|
6051
6051
|
createButtonLabel: "创建角色",
|
|
6052
6052
|
search: {
|
|
@@ -6176,14 +6176,14 @@ const tn = {
|
|
|
6176
6176
|
}
|
|
6177
6177
|
}
|
|
6178
6178
|
}, sd = {
|
|
6179
|
-
team:
|
|
6180
|
-
permissionSet:
|
|
6179
|
+
team: bn,
|
|
6180
|
+
permissionSet: wn
|
|
6181
6181
|
}, od = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6182
6182
|
__proto__: null,
|
|
6183
6183
|
default: sd,
|
|
6184
|
-
permissionSet:
|
|
6185
|
-
team:
|
|
6186
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6184
|
+
permissionSet: wn,
|
|
6185
|
+
team: bn
|
|
6186
|
+
}, Symbol.toStringTag, { value: "Module" })), Cn = {
|
|
6187
6187
|
title: "團隊成員",
|
|
6188
6188
|
subtitle: "管理可存取 Portal 和 POS 的團隊成員,指派 Portal 權限和 POS 角色。",
|
|
6189
6189
|
actions: {
|
|
@@ -6491,7 +6491,7 @@ const tn = {
|
|
|
6491
6491
|
title: "Portal 權限",
|
|
6492
6492
|
subtitle: "管理 Portal 中的權限,例如付款、CRM、庫存或菜單。"
|
|
6493
6493
|
}
|
|
6494
|
-
},
|
|
6494
|
+
}, Sn = {
|
|
6495
6495
|
title: "角色",
|
|
6496
6496
|
createButtonLabel: "創建角色",
|
|
6497
6497
|
search: {
|
|
@@ -6621,19 +6621,19 @@ const tn = {
|
|
|
6621
6621
|
}
|
|
6622
6622
|
}
|
|
6623
6623
|
}, nd = {
|
|
6624
|
-
team:
|
|
6625
|
-
permissionSet:
|
|
6624
|
+
team: Cn,
|
|
6625
|
+
permissionSet: Sn
|
|
6626
6626
|
}, rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6627
6627
|
__proto__: null,
|
|
6628
6628
|
default: nd,
|
|
6629
|
-
permissionSet:
|
|
6630
|
-
team:
|
|
6629
|
+
permissionSet: Sn,
|
|
6630
|
+
team: Cn
|
|
6631
6631
|
}, Symbol.toStringTag, { value: "Module" })), id = {
|
|
6632
6632
|
"en-US": ed,
|
|
6633
6633
|
"zh-CN": od,
|
|
6634
6634
|
"th-TH": ad,
|
|
6635
6635
|
"zh-Hant": rd
|
|
6636
|
-
},
|
|
6636
|
+
}, Pn = {
|
|
6637
6637
|
title: "POS Grant",
|
|
6638
6638
|
actions: {
|
|
6639
6639
|
create: "Create Passcode",
|
|
@@ -6688,12 +6688,12 @@ const tn = {
|
|
|
6688
6688
|
copied: "Passcode copied"
|
|
6689
6689
|
}
|
|
6690
6690
|
}, ld = {
|
|
6691
|
-
grantUser:
|
|
6691
|
+
grantUser: Pn
|
|
6692
6692
|
}, dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6693
6693
|
__proto__: null,
|
|
6694
6694
|
default: ld,
|
|
6695
|
-
grantUser:
|
|
6696
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6695
|
+
grantUser: Pn
|
|
6696
|
+
}, Symbol.toStringTag, { value: "Module" })), Dn = {
|
|
6697
6697
|
title: "POS Grant",
|
|
6698
6698
|
actions: {
|
|
6699
6699
|
create: "สร้างรหัสผ่าน",
|
|
@@ -6748,12 +6748,12 @@ const tn = {
|
|
|
6748
6748
|
copied: "คัดลอกรหัสผ่านแล้ว"
|
|
6749
6749
|
}
|
|
6750
6750
|
}, cd = {
|
|
6751
|
-
grantUser:
|
|
6751
|
+
grantUser: Dn
|
|
6752
6752
|
}, ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6753
6753
|
__proto__: null,
|
|
6754
6754
|
default: cd,
|
|
6755
|
-
grantUser:
|
|
6756
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6755
|
+
grantUser: Dn
|
|
6756
|
+
}, Symbol.toStringTag, { value: "Module" })), Mn = {
|
|
6757
6757
|
title: "POS 授予",
|
|
6758
6758
|
actions: {
|
|
6759
6759
|
create: "创建密码",
|
|
@@ -6808,12 +6808,12 @@ const tn = {
|
|
|
6808
6808
|
copied: "密码已复制"
|
|
6809
6809
|
}
|
|
6810
6810
|
}, md = {
|
|
6811
|
-
grantUser:
|
|
6811
|
+
grantUser: Mn
|
|
6812
6812
|
}, pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6813
6813
|
__proto__: null,
|
|
6814
6814
|
default: md,
|
|
6815
|
-
grantUser:
|
|
6816
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6815
|
+
grantUser: Mn
|
|
6816
|
+
}, Symbol.toStringTag, { value: "Module" })), kn = {
|
|
6817
6817
|
title: "POS 授予",
|
|
6818
6818
|
actions: {
|
|
6819
6819
|
create: "创建密码",
|
|
@@ -6868,17 +6868,17 @@ const tn = {
|
|
|
6868
6868
|
copied: "密碼已複製"
|
|
6869
6869
|
}
|
|
6870
6870
|
}, hd = {
|
|
6871
|
-
grantUser:
|
|
6871
|
+
grantUser: kn
|
|
6872
6872
|
}, yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6873
6873
|
__proto__: null,
|
|
6874
6874
|
default: hd,
|
|
6875
|
-
grantUser:
|
|
6875
|
+
grantUser: kn
|
|
6876
6876
|
}, Symbol.toStringTag, { value: "Module" })), gd = {
|
|
6877
6877
|
"en-US": dd,
|
|
6878
6878
|
"zh-CN": pd,
|
|
6879
6879
|
"th-TH": ud,
|
|
6880
6880
|
"zh-Hant": yd
|
|
6881
|
-
},
|
|
6881
|
+
}, On = {
|
|
6882
6882
|
title: "Access Codes",
|
|
6883
6883
|
actions: {
|
|
6884
6884
|
create: "Create Access Codes",
|
|
@@ -6963,12 +6963,12 @@ const tn = {
|
|
|
6963
6963
|
copied: "Code copied"
|
|
6964
6964
|
}
|
|
6965
6965
|
}, fd = {
|
|
6966
|
-
approvalCode:
|
|
6966
|
+
approvalCode: On
|
|
6967
6967
|
}, Ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6968
6968
|
__proto__: null,
|
|
6969
|
-
approvalCode:
|
|
6969
|
+
approvalCode: On,
|
|
6970
6970
|
default: fd
|
|
6971
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6971
|
+
}, Symbol.toStringTag, { value: "Module" })), Bn = {
|
|
6972
6972
|
title: "รหัสเข้าใช้งาน",
|
|
6973
6973
|
actions: {
|
|
6974
6974
|
create: "สร้างรหัสเข้าใช้งาน",
|
|
@@ -7053,12 +7053,12 @@ const tn = {
|
|
|
7053
7053
|
copied: "คัดลอกรหัสแล้ว"
|
|
7054
7054
|
}
|
|
7055
7055
|
}, vd = {
|
|
7056
|
-
approvalCode:
|
|
7056
|
+
approvalCode: Bn
|
|
7057
7057
|
}, bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7058
7058
|
__proto__: null,
|
|
7059
|
-
approvalCode:
|
|
7059
|
+
approvalCode: Bn,
|
|
7060
7060
|
default: vd
|
|
7061
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7061
|
+
}, Symbol.toStringTag, { value: "Module" })), Tn = {
|
|
7062
7062
|
title: "授权码",
|
|
7063
7063
|
actions: {
|
|
7064
7064
|
create: "创建授权码",
|
|
@@ -7143,12 +7143,12 @@ const tn = {
|
|
|
7143
7143
|
copied: "授权码已复制"
|
|
7144
7144
|
}
|
|
7145
7145
|
}, wd = {
|
|
7146
|
-
approvalCode:
|
|
7146
|
+
approvalCode: Tn
|
|
7147
7147
|
}, Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7148
7148
|
__proto__: null,
|
|
7149
|
-
approvalCode:
|
|
7149
|
+
approvalCode: Tn,
|
|
7150
7150
|
default: wd
|
|
7151
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7151
|
+
}, Symbol.toStringTag, { value: "Module" })), xn = {
|
|
7152
7152
|
title: "授權碼",
|
|
7153
7153
|
actions: {
|
|
7154
7154
|
create: "建立授權碼",
|
|
@@ -7233,17 +7233,17 @@ const tn = {
|
|
|
7233
7233
|
copied: "授權碼已複製"
|
|
7234
7234
|
}
|
|
7235
7235
|
}, Sd = {
|
|
7236
|
-
approvalCode:
|
|
7236
|
+
approvalCode: xn
|
|
7237
7237
|
}, Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7238
7238
|
__proto__: null,
|
|
7239
|
-
approvalCode:
|
|
7239
|
+
approvalCode: xn,
|
|
7240
7240
|
default: Sd
|
|
7241
7241
|
}, Symbol.toStringTag, { value: "Module" })), Dd = {
|
|
7242
7242
|
"en-US": Ad,
|
|
7243
7243
|
"zh-CN": Cd,
|
|
7244
7244
|
"th-TH": bd,
|
|
7245
7245
|
"zh-Hant": Pd
|
|
7246
|
-
},
|
|
7246
|
+
}, En = {
|
|
7247
7247
|
title: "POS Access",
|
|
7248
7248
|
tabs: {
|
|
7249
7249
|
grants: "Access Grants",
|
|
@@ -7252,12 +7252,12 @@ const tn = {
|
|
|
7252
7252
|
codesDescription: "Generate single-use codes to authorize sensitive actions like refunds or voids."
|
|
7253
7253
|
}
|
|
7254
7254
|
}, Md = {
|
|
7255
|
-
posAccess:
|
|
7255
|
+
posAccess: En
|
|
7256
7256
|
}, kd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7257
7257
|
__proto__: null,
|
|
7258
7258
|
default: Md,
|
|
7259
|
-
posAccess:
|
|
7260
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7259
|
+
posAccess: En
|
|
7260
|
+
}, Symbol.toStringTag, { value: "Module" })), Rn = {
|
|
7261
7261
|
title: "สิทธิ์ POS",
|
|
7262
7262
|
tabs: {
|
|
7263
7263
|
grants: "สิทธิ์ระยะยาว",
|
|
@@ -7266,12 +7266,12 @@ const tn = {
|
|
|
7266
7266
|
codesDescription: "สร้างรหัสแบบใช้ครั้งเดียวเพื่ออนุมัติการทำงานที่ละเอียดอ่อน เช่น การคืนเงินหรือการยกเลิก"
|
|
7267
7267
|
}
|
|
7268
7268
|
}, Od = {
|
|
7269
|
-
posAccess:
|
|
7269
|
+
posAccess: Rn
|
|
7270
7270
|
}, Bd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7271
7271
|
__proto__: null,
|
|
7272
7272
|
default: Od,
|
|
7273
|
-
posAccess:
|
|
7274
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7273
|
+
posAccess: Rn
|
|
7274
|
+
}, Symbol.toStringTag, { value: "Module" })), Nn = {
|
|
7275
7275
|
title: "POS 权限",
|
|
7276
7276
|
tabs: {
|
|
7277
7277
|
grants: "长期授权",
|
|
@@ -7280,12 +7280,12 @@ const tn = {
|
|
|
7280
7280
|
codesDescription: "生成一次性授权码,用于批准退款、作废等敏感操作。"
|
|
7281
7281
|
}
|
|
7282
7282
|
}, Td = {
|
|
7283
|
-
posAccess:
|
|
7283
|
+
posAccess: Nn
|
|
7284
7284
|
}, xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7285
7285
|
__proto__: null,
|
|
7286
7286
|
default: Td,
|
|
7287
|
-
posAccess:
|
|
7288
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7287
|
+
posAccess: Nn
|
|
7288
|
+
}, Symbol.toStringTag, { value: "Module" })), Fn = {
|
|
7289
7289
|
title: "POS 權限",
|
|
7290
7290
|
tabs: {
|
|
7291
7291
|
grants: "長期授權",
|
|
@@ -7294,17 +7294,17 @@ const tn = {
|
|
|
7294
7294
|
codesDescription: "產生一次性授權碼,用於核准退款、作廢等敏感操作。"
|
|
7295
7295
|
}
|
|
7296
7296
|
}, Ed = {
|
|
7297
|
-
posAccess:
|
|
7297
|
+
posAccess: Fn
|
|
7298
7298
|
}, Rd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7299
7299
|
__proto__: null,
|
|
7300
7300
|
default: Ed,
|
|
7301
|
-
posAccess:
|
|
7301
|
+
posAccess: Fn
|
|
7302
7302
|
}, Symbol.toStringTag, { value: "Module" })), Nd = {
|
|
7303
7303
|
"en-US": kd,
|
|
7304
7304
|
"zh-CN": xd,
|
|
7305
7305
|
"th-TH": Bd,
|
|
7306
7306
|
"zh-Hant": Rd
|
|
7307
|
-
},
|
|
7307
|
+
}, jn = {
|
|
7308
7308
|
nav: {
|
|
7309
7309
|
section: "Scheduling",
|
|
7310
7310
|
board: "Schedule",
|
|
@@ -9049,12 +9049,12 @@ Max 5 days / week`,
|
|
|
9049
9049
|
loadFailed: "Could not load the schedule"
|
|
9050
9050
|
}
|
|
9051
9051
|
}, Fd = {
|
|
9052
|
-
scheduling:
|
|
9052
|
+
scheduling: jn
|
|
9053
9053
|
}, jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9054
9054
|
__proto__: null,
|
|
9055
9055
|
default: Fd,
|
|
9056
|
-
scheduling:
|
|
9057
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9056
|
+
scheduling: jn
|
|
9057
|
+
}, Symbol.toStringTag, { value: "Module" })), Hn = {
|
|
9058
9058
|
nav: {
|
|
9059
9059
|
section: "การจัดตารางงาน",
|
|
9060
9060
|
board: "ตารางงาน",
|
|
@@ -10799,12 +10799,12 @@ Max 5 days / week`,
|
|
|
10799
10799
|
loadFailed: "ไม่สามารถโหลดตารางงานได้"
|
|
10800
10800
|
}
|
|
10801
10801
|
}, Hd = {
|
|
10802
|
-
scheduling:
|
|
10802
|
+
scheduling: Hn
|
|
10803
10803
|
}, Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10804
10804
|
__proto__: null,
|
|
10805
10805
|
default: Hd,
|
|
10806
|
-
scheduling:
|
|
10807
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10806
|
+
scheduling: Hn
|
|
10807
|
+
}, Symbol.toStringTag, { value: "Module" })), Yn = {
|
|
10808
10808
|
nav: {
|
|
10809
10809
|
section: "Scheduling",
|
|
10810
10810
|
board: "Schedule",
|
|
@@ -12549,12 +12549,12 @@ Max 5 days / week`,
|
|
|
12549
12549
|
loadFailed: "Could not load the schedule"
|
|
12550
12550
|
}
|
|
12551
12551
|
}, Gd = {
|
|
12552
|
-
scheduling:
|
|
12552
|
+
scheduling: Yn
|
|
12553
12553
|
}, Vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12554
12554
|
__proto__: null,
|
|
12555
12555
|
default: Gd,
|
|
12556
|
-
scheduling:
|
|
12557
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12556
|
+
scheduling: Yn
|
|
12557
|
+
}, Symbol.toStringTag, { value: "Module" })), Gn = {
|
|
12558
12558
|
nav: {
|
|
12559
12559
|
section: "Scheduling",
|
|
12560
12560
|
board: "Schedule",
|
|
@@ -14299,17 +14299,17 @@ Max 5 days / week`,
|
|
|
14299
14299
|
loadFailed: "Could not load the schedule"
|
|
14300
14300
|
}
|
|
14301
14301
|
}, Id = {
|
|
14302
|
-
scheduling:
|
|
14302
|
+
scheduling: Gn
|
|
14303
14303
|
}, qd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14304
14304
|
__proto__: null,
|
|
14305
14305
|
default: Id,
|
|
14306
|
-
scheduling:
|
|
14306
|
+
scheduling: Gn
|
|
14307
14307
|
}, Symbol.toStringTag, { value: "Module" })), Wd = {
|
|
14308
14308
|
"en-US": jd,
|
|
14309
14309
|
"zh-CN": Vd,
|
|
14310
14310
|
"th-TH": Yd,
|
|
14311
14311
|
"zh-Hant": qd
|
|
14312
|
-
},
|
|
14312
|
+
}, Vn = {
|
|
14313
14313
|
title: "My POS Profile",
|
|
14314
14314
|
subtitle: "Your personal details and POS passcode. Your manager assigns your restaurant, role and permissions.",
|
|
14315
14315
|
table: {
|
|
@@ -14326,8 +14326,7 @@ Max 5 days / week`,
|
|
|
14326
14326
|
updatedJustNow: "Updated just now",
|
|
14327
14327
|
show: "Show passcode",
|
|
14328
14328
|
hide: "Hide passcode",
|
|
14329
|
-
change: "Change passcode"
|
|
14330
|
-
revealFailed: "Couldn't show your passcode. Please try again."
|
|
14329
|
+
change: "Change passcode"
|
|
14331
14330
|
},
|
|
14332
14331
|
change: {
|
|
14333
14332
|
title: "Change POS passcode",
|
|
@@ -14356,12 +14355,12 @@ Max 5 days / week`,
|
|
|
14356
14355
|
message: "Your POS profile is linked to another team member. Ask your admin to fix it."
|
|
14357
14356
|
}
|
|
14358
14357
|
}, Ud = {
|
|
14359
|
-
myPosProfile:
|
|
14358
|
+
myPosProfile: Vn
|
|
14360
14359
|
}, Ld = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14361
14360
|
__proto__: null,
|
|
14362
14361
|
default: Ud,
|
|
14363
|
-
myPosProfile:
|
|
14364
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14362
|
+
myPosProfile: Vn
|
|
14363
|
+
}, Symbol.toStringTag, { value: "Module" })), In = {
|
|
14365
14364
|
title: "โปรไฟล์ POS ของฉัน",
|
|
14366
14365
|
subtitle: "ข้อมูลส่วนตัวและรหัสผ่าน POS ของคุณ ผู้จัดการของคุณเป็นผู้กำหนดร้านอาหาร บทบาท และสิทธิ์ของคุณ",
|
|
14367
14366
|
table: {
|
|
@@ -14378,8 +14377,7 @@ Max 5 days / week`,
|
|
|
14378
14377
|
updatedJustNow: "อัปเดตเมื่อสักครู่",
|
|
14379
14378
|
show: "แสดงรหัสผ่าน",
|
|
14380
14379
|
hide: "ซ่อนรหัสผ่าน",
|
|
14381
|
-
change: "เปลี่ยนรหัสผ่าน"
|
|
14382
|
-
revealFailed: "ไม่สามารถแสดงรหัสผ่านของคุณได้ โปรดลองอีกครั้ง"
|
|
14380
|
+
change: "เปลี่ยนรหัสผ่าน"
|
|
14383
14381
|
},
|
|
14384
14382
|
change: {
|
|
14385
14383
|
title: "เปลี่ยนรหัสผ่าน POS",
|
|
@@ -14408,12 +14406,12 @@ Max 5 days / week`,
|
|
|
14408
14406
|
message: "โปรไฟล์ POS ของคุณเชื่อมโยงกับสมาชิกทีมคนอื่น โปรดขอให้ผู้ดูแลระบบแก้ไข"
|
|
14409
14407
|
}
|
|
14410
14408
|
}, Qd = {
|
|
14411
|
-
myPosProfile:
|
|
14409
|
+
myPosProfile: In
|
|
14412
14410
|
}, Xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14413
14411
|
__proto__: null,
|
|
14414
14412
|
default: Qd,
|
|
14415
|
-
myPosProfile:
|
|
14416
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14413
|
+
myPosProfile: In
|
|
14414
|
+
}, Symbol.toStringTag, { value: "Module" })), qn = {
|
|
14417
14415
|
title: "我的 POS 资料",
|
|
14418
14416
|
subtitle: "您的个人信息和 POS 密码。您的餐厅、角色和权限由经理分配。",
|
|
14419
14417
|
table: {
|
|
@@ -14430,8 +14428,7 @@ Max 5 days / week`,
|
|
|
14430
14428
|
updatedJustNow: "刚刚更新",
|
|
14431
14429
|
show: "显示密码",
|
|
14432
14430
|
hide: "隐藏密码",
|
|
14433
|
-
change: "更改密码"
|
|
14434
|
-
revealFailed: "无法显示您的密码,请重试。"
|
|
14431
|
+
change: "更改密码"
|
|
14435
14432
|
},
|
|
14436
14433
|
change: {
|
|
14437
14434
|
title: "更改 POS 密码",
|
|
@@ -14460,12 +14457,12 @@ Max 5 days / week`,
|
|
|
14460
14457
|
message: "您的 POS 资料已关联到另一位团队成员。请联系管理员修正。"
|
|
14461
14458
|
}
|
|
14462
14459
|
}, zd = {
|
|
14463
|
-
myPosProfile:
|
|
14460
|
+
myPosProfile: qn
|
|
14464
14461
|
}, Zd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14465
14462
|
__proto__: null,
|
|
14466
14463
|
default: zd,
|
|
14467
|
-
myPosProfile:
|
|
14468
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14464
|
+
myPosProfile: qn
|
|
14465
|
+
}, Symbol.toStringTag, { value: "Module" })), Wn = {
|
|
14469
14466
|
title: "我的 POS 資料",
|
|
14470
14467
|
subtitle: "您的個人資料和 POS 密碼。您的餐廳、角色和權限由經理分配。",
|
|
14471
14468
|
table: {
|
|
@@ -14482,8 +14479,7 @@ Max 5 days / week`,
|
|
|
14482
14479
|
updatedJustNow: "剛剛更新",
|
|
14483
14480
|
show: "顯示密碼",
|
|
14484
14481
|
hide: "隱藏密碼",
|
|
14485
|
-
change: "更改密碼"
|
|
14486
|
-
revealFailed: "無法顯示您的密碼,請重試。"
|
|
14482
|
+
change: "更改密碼"
|
|
14487
14483
|
},
|
|
14488
14484
|
change: {
|
|
14489
14485
|
title: "更改 POS 密碼",
|
|
@@ -14512,11 +14508,11 @@ Max 5 days / week`,
|
|
|
14512
14508
|
message: "您的 POS 資料已連結到另一位團隊成員。請聯絡管理員修正。"
|
|
14513
14509
|
}
|
|
14514
14510
|
}, Kd = {
|
|
14515
|
-
myPosProfile:
|
|
14511
|
+
myPosProfile: Wn
|
|
14516
14512
|
}, Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14517
14513
|
__proto__: null,
|
|
14518
14514
|
default: Kd,
|
|
14519
|
-
myPosProfile:
|
|
14515
|
+
myPosProfile: Wn
|
|
14520
14516
|
}, Symbol.toStringTag, { value: "Module" })), _d = {
|
|
14521
14517
|
"en-US": Ld,
|
|
14522
14518
|
"zh-CN": Zd,
|
|
@@ -15572,7 +15568,7 @@ const re = [
|
|
|
15572
15568
|
i.delete
|
|
15573
15569
|
]
|
|
15574
15570
|
}
|
|
15575
|
-
],
|
|
15571
|
+
], Un = [
|
|
15576
15572
|
...re,
|
|
15577
15573
|
{
|
|
15578
15574
|
label: "Transaction",
|
|
@@ -15584,7 +15580,7 @@ const re = [
|
|
|
15584
15580
|
i.delete
|
|
15585
15581
|
]
|
|
15586
15582
|
}
|
|
15587
|
-
],
|
|
15583
|
+
], Ln = [
|
|
15588
15584
|
...re,
|
|
15589
15585
|
{
|
|
15590
15586
|
label: "Store",
|
|
@@ -15651,7 +15647,7 @@ const re = [
|
|
|
15651
15647
|
i.delete
|
|
15652
15648
|
]
|
|
15653
15649
|
}
|
|
15654
|
-
],
|
|
15650
|
+
], Qn = [
|
|
15655
15651
|
...re,
|
|
15656
15652
|
{
|
|
15657
15653
|
label: "Referral",
|
|
@@ -15663,7 +15659,7 @@ const re = [
|
|
|
15663
15659
|
i.delete
|
|
15664
15660
|
]
|
|
15665
15661
|
}
|
|
15666
|
-
],
|
|
15662
|
+
], Xn = [
|
|
15667
15663
|
...re,
|
|
15668
15664
|
{
|
|
15669
15665
|
label: "Marketing Material",
|
|
@@ -15675,7 +15671,7 @@ const re = [
|
|
|
15675
15671
|
i.delete
|
|
15676
15672
|
]
|
|
15677
15673
|
}
|
|
15678
|
-
],
|
|
15674
|
+
], zn = [
|
|
15679
15675
|
...re,
|
|
15680
15676
|
{
|
|
15681
15677
|
label: "Analytic",
|
|
@@ -15778,7 +15774,7 @@ const re = [
|
|
|
15778
15774
|
i.delete
|
|
15779
15775
|
]
|
|
15780
15776
|
}
|
|
15781
|
-
],
|
|
15777
|
+
], Zn = [
|
|
15782
15778
|
...re,
|
|
15783
15779
|
{
|
|
15784
15780
|
label: "Loyalty Member",
|
|
@@ -15790,7 +15786,7 @@ const re = [
|
|
|
15790
15786
|
i.delete
|
|
15791
15787
|
]
|
|
15792
15788
|
}
|
|
15793
|
-
],
|
|
15789
|
+
], Kn = [
|
|
15794
15790
|
...re,
|
|
15795
15791
|
{
|
|
15796
15792
|
label: "Loyalty Segment",
|
|
@@ -15802,7 +15798,7 @@ const re = [
|
|
|
15802
15798
|
i.delete
|
|
15803
15799
|
]
|
|
15804
15800
|
}
|
|
15805
|
-
],
|
|
15801
|
+
], Jn = [
|
|
15806
15802
|
...re,
|
|
15807
15803
|
{
|
|
15808
15804
|
label: "Loyalty Card",
|
|
@@ -15814,41 +15810,41 @@ const re = [
|
|
|
15814
15810
|
i.delete
|
|
15815
15811
|
]
|
|
15816
15812
|
}
|
|
15817
|
-
],
|
|
15813
|
+
], _n = [
|
|
15818
15814
|
...re,
|
|
15819
15815
|
{
|
|
15820
15816
|
label: "Bin",
|
|
15821
15817
|
subject: ae.crm_bin,
|
|
15822
15818
|
actions: [i.read, i.update, i.delete]
|
|
15823
15819
|
}
|
|
15824
|
-
],
|
|
15820
|
+
], $n = ke(
|
|
15825
15821
|
He,
|
|
15826
15822
|
nc
|
|
15827
|
-
),
|
|
15823
|
+
), er = ke(
|
|
15828
15824
|
He,
|
|
15829
15825
|
rc
|
|
15830
|
-
),
|
|
15826
|
+
), tr = ke(
|
|
15831
15827
|
He,
|
|
15832
15828
|
ic
|
|
15833
|
-
),
|
|
15829
|
+
), ar = ke(
|
|
15834
15830
|
He,
|
|
15835
15831
|
lc
|
|
15836
|
-
),
|
|
15832
|
+
), sr = ke(
|
|
15837
15833
|
He,
|
|
15838
15834
|
dc
|
|
15839
|
-
),
|
|
15835
|
+
), or = ke(
|
|
15840
15836
|
He,
|
|
15841
15837
|
cc
|
|
15842
|
-
),
|
|
15838
|
+
), nr = ke(
|
|
15843
15839
|
He,
|
|
15844
15840
|
uc
|
|
15845
|
-
),
|
|
15841
|
+
), rr = ke(
|
|
15846
15842
|
He,
|
|
15847
15843
|
mc
|
|
15848
15844
|
), pc = ke(
|
|
15849
15845
|
He,
|
|
15850
|
-
|
|
15851
|
-
),
|
|
15846
|
+
Qn
|
|
15847
|
+
), ir = ke(
|
|
15852
15848
|
He,
|
|
15853
15849
|
sc
|
|
15854
15850
|
), hc = [
|
|
@@ -15878,29 +15874,29 @@ const re = [
|
|
|
15878
15874
|
], gc = ke(
|
|
15879
15875
|
$d,
|
|
15880
15876
|
ec,
|
|
15881
|
-
|
|
15882
|
-
|
|
15877
|
+
Un,
|
|
15878
|
+
Ln,
|
|
15883
15879
|
tc,
|
|
15884
15880
|
ac,
|
|
15885
|
-
|
|
15881
|
+
ir,
|
|
15886
15882
|
oc,
|
|
15887
|
-
|
|
15883
|
+
zn,
|
|
15884
|
+
$n,
|
|
15885
|
+
er,
|
|
15888
15886
|
tr,
|
|
15889
15887
|
ar,
|
|
15890
15888
|
sr,
|
|
15891
15889
|
or,
|
|
15892
15890
|
nr,
|
|
15893
15891
|
rr,
|
|
15894
|
-
|
|
15895
|
-
|
|
15892
|
+
Zn,
|
|
15893
|
+
Kn,
|
|
15896
15894
|
Jn,
|
|
15897
|
-
_n
|
|
15898
|
-
$n,
|
|
15899
|
-
er
|
|
15895
|
+
_n
|
|
15900
15896
|
), fc = ke(
|
|
15901
15897
|
He,
|
|
15902
|
-
|
|
15903
|
-
|
|
15898
|
+
Qn,
|
|
15899
|
+
Xn
|
|
15904
15900
|
), Ac = ke(
|
|
15905
15901
|
He,
|
|
15906
15902
|
hc
|
|
@@ -15928,62 +15924,62 @@ const re = [
|
|
|
15928
15924
|
[`set_${y.crm_analytic}`]: {
|
|
15929
15925
|
key: "sys:crm:analytic",
|
|
15930
15926
|
name: "CRM Analytic",
|
|
15931
|
-
permissions:
|
|
15927
|
+
permissions: zn
|
|
15932
15928
|
},
|
|
15933
15929
|
[`set_${y.crm_tier}`]: {
|
|
15934
15930
|
key: "sys:crm:tier",
|
|
15935
15931
|
name: "CRM Tier",
|
|
15936
|
-
permissions:
|
|
15932
|
+
permissions: $n
|
|
15937
15933
|
},
|
|
15938
15934
|
[`set_${y.crm_title}`]: {
|
|
15939
15935
|
key: "sys:crm:title",
|
|
15940
15936
|
name: "CRM Title",
|
|
15941
|
-
permissions:
|
|
15937
|
+
permissions: er
|
|
15942
15938
|
},
|
|
15943
15939
|
[`set_${y.crm_broadcast}`]: {
|
|
15944
15940
|
key: "sys:crm:broadcast",
|
|
15945
15941
|
name: "CRM Broadcast",
|
|
15946
|
-
permissions:
|
|
15942
|
+
permissions: tr
|
|
15947
15943
|
},
|
|
15948
15944
|
[`set_${y.crm_point}`]: {
|
|
15949
15945
|
key: "sys:crm:point",
|
|
15950
15946
|
name: "CRM Point",
|
|
15951
|
-
permissions:
|
|
15947
|
+
permissions: ar
|
|
15952
15948
|
},
|
|
15953
15949
|
[`set_${y.crm_credit}`]: {
|
|
15954
15950
|
key: "sys:crm:credit",
|
|
15955
15951
|
name: "CRM Credit",
|
|
15956
|
-
permissions:
|
|
15952
|
+
permissions: sr
|
|
15957
15953
|
},
|
|
15958
15954
|
[`set_${y.crm_experience}`]: {
|
|
15959
15955
|
key: "sys:crm:experience",
|
|
15960
15956
|
name: "CRM Experience",
|
|
15961
|
-
permissions:
|
|
15957
|
+
permissions: or
|
|
15962
15958
|
},
|
|
15963
15959
|
[`set_${y.crm_game}`]: {
|
|
15964
15960
|
key: "sys:crm:game",
|
|
15965
15961
|
name: "CRM Game",
|
|
15966
|
-
permissions:
|
|
15962
|
+
permissions: nr
|
|
15967
15963
|
},
|
|
15968
15964
|
[`set_${y.crm_mission}`]: {
|
|
15969
15965
|
key: "sys:crm:mission",
|
|
15970
15966
|
name: "CRM Mission",
|
|
15971
|
-
permissions:
|
|
15967
|
+
permissions: rr
|
|
15972
15968
|
},
|
|
15973
15969
|
[`set_${y.crm_loyaltyMember}`]: {
|
|
15974
15970
|
key: "sys:crm:loyaltyMember",
|
|
15975
15971
|
name: "CRM Loyalty Member",
|
|
15976
|
-
permissions:
|
|
15972
|
+
permissions: Zn
|
|
15977
15973
|
},
|
|
15978
15974
|
[`set_${y.crm_loyaltySegment}`]: {
|
|
15979
15975
|
key: "sys:crm:loyaltySegment",
|
|
15980
15976
|
name: "CRM Loyalty Segment",
|
|
15981
|
-
permissions:
|
|
15977
|
+
permissions: Kn
|
|
15982
15978
|
},
|
|
15983
15979
|
[`set_${y.crm_loyaltyCard}`]: {
|
|
15984
15980
|
key: "sys:crm:loyaltyCard",
|
|
15985
15981
|
name: "CRM Loyalty Card",
|
|
15986
|
-
permissions:
|
|
15982
|
+
permissions: Jn
|
|
15987
15983
|
},
|
|
15988
15984
|
[`set_${y.crm_referral}`]: {
|
|
15989
15985
|
key: "sys:crm:referral",
|
|
@@ -15993,27 +15989,27 @@ const re = [
|
|
|
15993
15989
|
[`set_${y.crm_store}`]: {
|
|
15994
15990
|
key: "sys:crm:store",
|
|
15995
15991
|
name: "CRM Store",
|
|
15996
|
-
permissions:
|
|
15992
|
+
permissions: Ln
|
|
15997
15993
|
},
|
|
15998
15994
|
[`set_${y.crm_transaction}`]: {
|
|
15999
15995
|
key: "sys:crm:transaction",
|
|
16000
15996
|
name: "CRM Transaction",
|
|
16001
|
-
permissions:
|
|
15997
|
+
permissions: Un
|
|
16002
15998
|
},
|
|
16003
15999
|
[`set_${y.crm_setting}`]: {
|
|
16004
16000
|
key: "sys:crm:setting",
|
|
16005
16001
|
name: "CRM Setting",
|
|
16006
|
-
permissions:
|
|
16002
|
+
permissions: ir
|
|
16007
16003
|
},
|
|
16008
16004
|
[`set_${y.crm_bin}`]: {
|
|
16009
16005
|
key: "sys:crm:bin",
|
|
16010
16006
|
name: "CRM Bin",
|
|
16011
|
-
permissions:
|
|
16007
|
+
permissions: _n
|
|
16012
16008
|
},
|
|
16013
16009
|
[`set_${y.crm_marketingMaterial}`]: {
|
|
16014
16010
|
key: "sys:crm:marketingMaterial",
|
|
16015
16011
|
name: "CRM Marketing Material",
|
|
16016
|
-
permissions:
|
|
16012
|
+
permissions: Xn
|
|
16017
16013
|
}
|
|
16018
16014
|
};
|
|
16019
16015
|
var G = /* @__PURE__ */ ((e) => (e.inventory = "inventory", e.inventory_stock = "inventory::stock", e.inventory_stockAdjustment = "inventory::stockAdjustment", e.inventory_stockAdjustmentReason = "inventory::stockAdjustmentReason", e.inventory_stockRecalculation = "inventory::stockRecalculation", e.inventory_unitCostHistory = "inventory::unitCostHistory", e.inventory_wastageTemplate = "inventory::wastageTemplate", e.inventory_closing = "inventory::closing", e.inventory_closingDraft = "inventory::closingDraft", e.inventory_closingTemplate = "inventory::closingTemplate", e.inventory_ingredient = "inventory::ingredient", e.inventory_ingredientGroup = "inventory::ingredientGroup", e.inventory_recipe = "inventory::recipe", e.inventory_unit = "inventory::unit", e.inventory_orderTemplate = "inventory::orderTemplate", e.inventory_orderDraft = "inventory::orderDraft", e.inventory_printTemplate = "inventory::printTemplate", e.inventory_purchaseOrder = "inventory::purchaseOrder", e.inventory_transferOutApproval = "inventory::transferOutApproval", e.inventory_adjustmentTemplate = "inventory::adjustmentTemplate", e.inventory_surcharge = "inventory::surcharge", e.inventory_supplier = "inventory::supplier", e.inventory_warehouse = "inventory::warehouse", e.inventory_publish = "inventory::publish", e.inventory_integration = "inventory::integration", e.inventory_deliveryOrder = "inventory::deliveryOrder", e.inventory_shipment = "inventory::shipment", e.inventory_orderDraftApproval = "inventory::orderDraftApproval", e))(G || {});
|
|
@@ -16052,14 +16048,14 @@ const be = [
|
|
|
16052
16048
|
subject: G.inventory_stockAdjustment,
|
|
16053
16049
|
actions: [i.update]
|
|
16054
16050
|
}
|
|
16055
|
-
],
|
|
16051
|
+
], lr = [
|
|
16056
16052
|
...be,
|
|
16057
16053
|
{
|
|
16058
16054
|
label: "Unit Cost History",
|
|
16059
16055
|
subject: G.inventory_unitCostHistory,
|
|
16060
16056
|
actions: [i.read, i.update]
|
|
16061
16057
|
}
|
|
16062
|
-
],
|
|
16058
|
+
], dr = [
|
|
16063
16059
|
...be,
|
|
16064
16060
|
{
|
|
16065
16061
|
label: "Wastage Template",
|
|
@@ -16074,8 +16070,8 @@ const be = [
|
|
|
16074
16070
|
];
|
|
16075
16071
|
[
|
|
16076
16072
|
...Us,
|
|
16077
|
-
...
|
|
16078
|
-
...
|
|
16073
|
+
...lr,
|
|
16074
|
+
...dr
|
|
16079
16075
|
];
|
|
16080
16076
|
const Ls = [
|
|
16081
16077
|
...be,
|
|
@@ -16094,7 +16090,7 @@ const Ls = [
|
|
|
16094
16090
|
subject: G.inventory_closingDraft,
|
|
16095
16091
|
actions: [i.read]
|
|
16096
16092
|
}
|
|
16097
|
-
],
|
|
16093
|
+
], cr = [
|
|
16098
16094
|
...be,
|
|
16099
16095
|
{
|
|
16100
16096
|
label: "Closing Draft",
|
|
@@ -16121,7 +16117,7 @@ const Ls = [
|
|
|
16121
16117
|
subject: G.inventory_stockAdjustment,
|
|
16122
16118
|
actions: [i.read]
|
|
16123
16119
|
}
|
|
16124
|
-
],
|
|
16120
|
+
], ur = [
|
|
16125
16121
|
...be,
|
|
16126
16122
|
{
|
|
16127
16123
|
label: "Closing Template",
|
|
@@ -16141,8 +16137,8 @@ const Ls = [
|
|
|
16141
16137
|
];
|
|
16142
16138
|
[
|
|
16143
16139
|
...Ls,
|
|
16144
|
-
...
|
|
16145
|
-
...
|
|
16140
|
+
...cr,
|
|
16141
|
+
...ur
|
|
16146
16142
|
];
|
|
16147
16143
|
const Cc = [
|
|
16148
16144
|
{
|
|
@@ -16183,7 +16179,7 @@ const Cc = [
|
|
|
16183
16179
|
subject: G.inventory,
|
|
16184
16180
|
actions: [i.read, i.update]
|
|
16185
16181
|
}
|
|
16186
|
-
],
|
|
16182
|
+
], mr = [
|
|
16187
16183
|
{
|
|
16188
16184
|
label: "Purchase Order",
|
|
16189
16185
|
subject: G.inventory_purchaseOrder,
|
|
@@ -16224,7 +16220,7 @@ const Cc = [
|
|
|
16224
16220
|
subject: G.inventory_shipment,
|
|
16225
16221
|
actions: [i.read, i.update]
|
|
16226
16222
|
}
|
|
16227
|
-
],
|
|
16223
|
+
], pr = [
|
|
16228
16224
|
{
|
|
16229
16225
|
label: "Purchase Order",
|
|
16230
16226
|
subject: G.inventory_purchaseOrder,
|
|
@@ -16245,7 +16241,7 @@ const Cc = [
|
|
|
16245
16241
|
subject: G.inventory_shipment,
|
|
16246
16242
|
actions: [i.read, i.update]
|
|
16247
16243
|
}
|
|
16248
|
-
],
|
|
16244
|
+
], hr = [
|
|
16249
16245
|
...be,
|
|
16250
16246
|
{
|
|
16251
16247
|
label: "Surcharge",
|
|
@@ -16262,7 +16258,7 @@ const Cc = [
|
|
|
16262
16258
|
subject: G.inventory_supplier,
|
|
16263
16259
|
actions: [i.read]
|
|
16264
16260
|
}
|
|
16265
|
-
],
|
|
16261
|
+
], yr = [
|
|
16266
16262
|
...be,
|
|
16267
16263
|
{
|
|
16268
16264
|
label: "Order Template",
|
|
@@ -16293,10 +16289,10 @@ const Cc = [
|
|
|
16293
16289
|
}
|
|
16294
16290
|
];
|
|
16295
16291
|
[
|
|
16292
|
+
...mr,
|
|
16293
|
+
...pr,
|
|
16296
16294
|
...hr,
|
|
16297
|
-
...yr
|
|
16298
|
-
...gr,
|
|
16299
|
-
...fr
|
|
16295
|
+
...yr
|
|
16300
16296
|
];
|
|
16301
16297
|
const kc = [
|
|
16302
16298
|
...be,
|
|
@@ -16367,12 +16363,12 @@ const Ec = {
|
|
|
16367
16363
|
[`set_${y.inventory_unitCostHistory}`]: {
|
|
16368
16364
|
key: "sys:inventory:unit_cost_history",
|
|
16369
16365
|
name: "Unit Cost History",
|
|
16370
|
-
permissions:
|
|
16366
|
+
permissions: lr
|
|
16371
16367
|
},
|
|
16372
16368
|
[`set_${y.inventory_wastageTemplate}`]: {
|
|
16373
16369
|
key: "sys:inventory:wastage_template",
|
|
16374
16370
|
name: "Wastage Template",
|
|
16375
|
-
permissions:
|
|
16371
|
+
permissions: dr
|
|
16376
16372
|
},
|
|
16377
16373
|
[`set_${y.inventory_closingHistory}`]: {
|
|
16378
16374
|
key: "sys:inventory:closing_history",
|
|
@@ -16382,12 +16378,12 @@ const Ec = {
|
|
|
16382
16378
|
[`set_${y.inventory_closingTemplate}`]: {
|
|
16383
16379
|
key: "sys:inventory:closing_template",
|
|
16384
16380
|
name: "Closing Template",
|
|
16385
|
-
permissions:
|
|
16381
|
+
permissions: ur
|
|
16386
16382
|
},
|
|
16387
16383
|
[`set_${y.inventory_closingDraft}`]: {
|
|
16388
16384
|
key: "sys:inventory:closing_draft",
|
|
16389
16385
|
name: "Closing Draft",
|
|
16390
|
-
permissions:
|
|
16386
|
+
permissions: cr
|
|
16391
16387
|
},
|
|
16392
16388
|
[`set_${y.inventory_ingredient}`]: {
|
|
16393
16389
|
key: "sys:inventory:ingredient",
|
|
@@ -16412,7 +16408,7 @@ const Ec = {
|
|
|
16412
16408
|
[`set_${y.inventory_purchaseTransfer}`]: {
|
|
16413
16409
|
key: "sys:inventory:purchase_transfer",
|
|
16414
16410
|
name: "Purchase Transfer",
|
|
16415
|
-
permissions:
|
|
16411
|
+
permissions: mr
|
|
16416
16412
|
},
|
|
16417
16413
|
[`set_${y.inventory_orderDraftApproval}`]: {
|
|
16418
16414
|
key: "sys:inventory:order_draft_approval",
|
|
@@ -16422,17 +16418,17 @@ const Ec = {
|
|
|
16422
16418
|
[`set_${y.inventory_transferOut}`]: {
|
|
16423
16419
|
key: "sys:inventory:transfer_out",
|
|
16424
16420
|
name: "Transfer Out",
|
|
16425
|
-
permissions:
|
|
16421
|
+
permissions: pr
|
|
16426
16422
|
},
|
|
16427
16423
|
[`set_${y.inventory_surcharge}`]: {
|
|
16428
16424
|
key: "sys:inventory:surcharge",
|
|
16429
16425
|
name: "Surcharge",
|
|
16430
|
-
permissions:
|
|
16426
|
+
permissions: hr
|
|
16431
16427
|
},
|
|
16432
16428
|
[`set_${y.inventory_orderTemplate}`]: {
|
|
16433
16429
|
key: "sys:inventory:order_template",
|
|
16434
16430
|
name: "Order Template",
|
|
16435
|
-
permissions:
|
|
16431
|
+
permissions: yr
|
|
16436
16432
|
},
|
|
16437
16433
|
[`set_${y.inventory_supplier}`]: {
|
|
16438
16434
|
key: "sys:inventory:supplier",
|
|
@@ -16581,8 +16577,8 @@ const Rc = {
|
|
|
16581
16577
|
]
|
|
16582
16578
|
}
|
|
16583
16579
|
};
|
|
16584
|
-
var
|
|
16585
|
-
const
|
|
16580
|
+
var gr = /* @__PURE__ */ ((e) => (e.payment_terminals = "payment::terminals", e))(gr || {});
|
|
16581
|
+
const po = [
|
|
16586
16582
|
{
|
|
16587
16583
|
label: "Payout Account",
|
|
16588
16584
|
subject: y.payment_payoutAccount,
|
|
@@ -16590,19 +16586,19 @@ const yo = [
|
|
|
16590
16586
|
},
|
|
16591
16587
|
{
|
|
16592
16588
|
label: "Payment Terminals",
|
|
16593
|
-
subject:
|
|
16589
|
+
subject: gr.payment_terminals,
|
|
16594
16590
|
actions: [i.read]
|
|
16595
16591
|
}
|
|
16596
16592
|
], Nc = {
|
|
16597
16593
|
[`set_${y.payment_transactions}`]: {
|
|
16598
16594
|
key: "sys:payment:transactions",
|
|
16599
16595
|
name: "Payment Transactions Access",
|
|
16600
|
-
permissions:
|
|
16596
|
+
permissions: po
|
|
16601
16597
|
},
|
|
16602
16598
|
[`set_${y.payment_settlements}`]: {
|
|
16603
16599
|
key: "sys:payment:settlements",
|
|
16604
16600
|
name: "Payment Settlements Access",
|
|
16605
|
-
permissions:
|
|
16601
|
+
permissions: po
|
|
16606
16602
|
}
|
|
16607
16603
|
}, Fc = {
|
|
16608
16604
|
...bc,
|
|
@@ -16618,15 +16614,15 @@ const yo = [
|
|
|
16618
16614
|
},
|
|
16619
16615
|
{}
|
|
16620
16616
|
), Xe = {
|
|
16621
|
-
Level:
|
|
16617
|
+
Level: Io,
|
|
16622
16618
|
Action: i,
|
|
16623
16619
|
Subject: {
|
|
16624
|
-
Feedme:
|
|
16625
|
-
FeedmeBusinessField:
|
|
16620
|
+
Feedme: qo,
|
|
16621
|
+
FeedmeBusinessField: Wo,
|
|
16626
16622
|
Business: y,
|
|
16627
|
-
Restaurant:
|
|
16623
|
+
Restaurant: Uo
|
|
16628
16624
|
}
|
|
16629
|
-
},
|
|
16625
|
+
}, fr = {
|
|
16630
16626
|
[ye.permission]: y.hrm_teamMember,
|
|
16631
16627
|
[ye.promotion]: y.crm_promotion,
|
|
16632
16628
|
[ye.voucher]: y.crm_voucher,
|
|
@@ -16649,7 +16645,7 @@ var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
16649
16645
|
function jc(e) {
|
|
16650
16646
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
16651
16647
|
}
|
|
16652
|
-
var
|
|
16648
|
+
var Ar = { exports: {} };
|
|
16653
16649
|
(function(e, t) {
|
|
16654
16650
|
(function(a, s) {
|
|
16655
16651
|
e.exports = s();
|
|
@@ -17026,8 +17022,8 @@ var br = { exports: {} };
|
|
|
17026
17022
|
}
|
|
17027
17023
|
]);
|
|
17028
17024
|
});
|
|
17029
|
-
})(
|
|
17030
|
-
var Hc =
|
|
17025
|
+
})(Ar);
|
|
17026
|
+
var Hc = Ar.exports;
|
|
17031
17027
|
const Yc = /* @__PURE__ */ jc(Hc);
|
|
17032
17028
|
function Gc(e, t) {
|
|
17033
17029
|
for (var a = 0; a < t.length; a++) {
|
|
@@ -17095,16 +17091,16 @@ function Ds(e) {
|
|
|
17095
17091
|
}), Ra(o, s);
|
|
17096
17092
|
}, Ds(e);
|
|
17097
17093
|
}
|
|
17098
|
-
function
|
|
17094
|
+
function ho(e) {
|
|
17099
17095
|
if (e === void 0)
|
|
17100
17096
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17101
17097
|
return e;
|
|
17102
17098
|
}
|
|
17103
|
-
var
|
|
17099
|
+
var vr = function(t) {
|
|
17104
17100
|
return 'Cannot execute "' + t.action + '" on "' + t.subjectName + '"';
|
|
17105
|
-
}, la =
|
|
17101
|
+
}, la = vr, Uc = /* @__PURE__ */ function(e) {
|
|
17106
17102
|
Ic(t, e), t.setDefaultMessage = function(o) {
|
|
17107
|
-
o === null ? la =
|
|
17103
|
+
o === null ? la = vr : la = typeof o == "string" ? function() {
|
|
17108
17104
|
return o;
|
|
17109
17105
|
} : o;
|
|
17110
17106
|
}, t.from = function(o) {
|
|
@@ -17115,7 +17111,7 @@ var wr = function(t) {
|
|
|
17115
17111
|
};
|
|
17116
17112
|
function t(s, o) {
|
|
17117
17113
|
var n;
|
|
17118
|
-
return o === void 0 && (o = {}), n = e.call(this, s) || this, n._setMetadata(o), n.message = s || la(
|
|
17114
|
+
return o === void 0 && (o = {}), n = e.call(this, s) || this, n._setMetadata(o), n.message = s || la(ho(n)), n._customMessage = null, typeof Error.captureStackTrace == "function" && (n.name = n.constructor.name, Error.captureStackTrace(ho(n), n.constructor)), n;
|
|
17119
17115
|
}
|
|
17120
17116
|
var a = t.prototype;
|
|
17121
17117
|
return a.setMessage = function(o) {
|
|
@@ -17181,19 +17177,19 @@ var eu = /* @__PURE__ */ function() {
|
|
|
17181
17177
|
}, t.matchesField = function(s) {
|
|
17182
17178
|
return typeof this._fieldsPattern > "u" && (this._fieldsPattern = this.fields.join("").indexOf("*") === -1 ? null : $c(this.fields)), this._fieldsPattern === null || s.indexOf("*") !== -1 ? this.fields.indexOf(s) !== -1 : this._fieldsPattern.test(s);
|
|
17183
17179
|
}, e;
|
|
17184
|
-
}(), Oe = typeof Symbol < "u" ? Symbol("private") : "__" + Date.now(),
|
|
17180
|
+
}(), Oe = typeof Symbol < "u" ? Symbol("private") : "__" + Date.now(), yo = {
|
|
17185
17181
|
crud: ["create", "read", "update", "delete"]
|
|
17186
17182
|
};
|
|
17187
|
-
function
|
|
17183
|
+
function go(e, t) {
|
|
17188
17184
|
return e === t || Array.isArray(t) && t.indexOf(e) !== -1;
|
|
17189
17185
|
}
|
|
17190
17186
|
var tu = /* @__PURE__ */ function() {
|
|
17191
17187
|
e.addAlias = function(s, o) {
|
|
17192
|
-
if (s === "manage" ||
|
|
17188
|
+
if (s === "manage" || go("manage", o))
|
|
17193
17189
|
throw new Error('Cannot add alias for "manage" action because it represents any action');
|
|
17194
|
-
if (
|
|
17190
|
+
if (go(s, o))
|
|
17195
17191
|
throw new Error("Attempt to alias action to itself: " + s + " -> " + o.toString());
|
|
17196
|
-
return
|
|
17192
|
+
return yo[s] = o, this;
|
|
17197
17193
|
};
|
|
17198
17194
|
function e(a, s) {
|
|
17199
17195
|
s === void 0 && (s = {}), Object.defineProperty(this, "subjectName", {
|
|
@@ -17205,7 +17201,7 @@ var tu = /* @__PURE__ */ function() {
|
|
|
17205
17201
|
indexedRules: /* @__PURE__ */ Object.create(null),
|
|
17206
17202
|
mergedRules: /* @__PURE__ */ Object.create(null),
|
|
17207
17203
|
events: {},
|
|
17208
|
-
aliases: Qc(
|
|
17204
|
+
aliases: Qc(yo)
|
|
17209
17205
|
}, this.update(a);
|
|
17210
17206
|
}
|
|
17211
17207
|
var t = e.prototype;
|
|
@@ -17296,10 +17292,10 @@ var tu = /* @__PURE__ */ function() {
|
|
|
17296
17292
|
}]), e;
|
|
17297
17293
|
}();
|
|
17298
17294
|
function au(e) {
|
|
17299
|
-
return
|
|
17295
|
+
return fr[e] ?? e;
|
|
17300
17296
|
}
|
|
17301
17297
|
function rh(e) {
|
|
17302
|
-
const t = Object.entries(
|
|
17298
|
+
const t = Object.entries(fr).find(([, a]) => a === e);
|
|
17303
17299
|
return t ? t[0] : e;
|
|
17304
17300
|
}
|
|
17305
17301
|
function su(e) {
|
|
@@ -17309,17 +17305,17 @@ function su(e) {
|
|
|
17309
17305
|
reason: t.source !== void 0 ? JSON.stringify(t.source) : t.reason
|
|
17310
17306
|
}));
|
|
17311
17307
|
}
|
|
17312
|
-
function
|
|
17308
|
+
function br(e) {
|
|
17313
17309
|
return new tu(su(e));
|
|
17314
17310
|
}
|
|
17315
17311
|
function ou(e, t) {
|
|
17316
17312
|
return e.rulesFor(t.action, t.subject, t.field).some((a) => !a.inverted);
|
|
17317
17313
|
}
|
|
17318
|
-
function
|
|
17314
|
+
function wr(e, t) {
|
|
17319
17315
|
return t.coverSubject === void 0 ? !1 : t.coverSubjectMode !== "directOverride" ? !0 : !ou(e, t);
|
|
17320
17316
|
}
|
|
17321
17317
|
function ks(e, t) {
|
|
17322
|
-
const a =
|
|
17318
|
+
const a = br(t), s = (l) => a.can(l.action, l.subject, l.field) ? !0 : wr(a, l) ? a.can(l.action, l.coverSubject, l.field) : !1, o = e.find((l) => !s(l));
|
|
17323
17319
|
if (o) {
|
|
17324
17320
|
const l = a.relevantRuleFor(
|
|
17325
17321
|
o.action,
|
|
@@ -17339,7 +17335,7 @@ function nu(e, t) {
|
|
|
17339
17335
|
const a = ks([e], t);
|
|
17340
17336
|
if (!a.granted)
|
|
17341
17337
|
return { ...a, conditionEvaluation: "not_enforced" };
|
|
17342
|
-
const s =
|
|
17338
|
+
const s = br(t), o = wr(s, e) ? e.coverSubject : void 0, n = [e.subject, o].filter(
|
|
17343
17339
|
(r) => r !== void 0
|
|
17344
17340
|
).flatMap((r) => {
|
|
17345
17341
|
const l = cl(r).filter((p) => {
|
|
@@ -17374,7 +17370,7 @@ function iu(e, t, a) {
|
|
|
17374
17370
|
onError: l = ru
|
|
17375
17371
|
} = s, p = Ke(!o), u = r ? ti(t) : Ke(t);
|
|
17376
17372
|
let c = 0;
|
|
17377
|
-
return
|
|
17373
|
+
return jo(async (b) => {
|
|
17378
17374
|
if (!p.value)
|
|
17379
17375
|
return;
|
|
17380
17376
|
c++;
|
|
@@ -17510,7 +17506,7 @@ const uu = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
17510
17506
|
__name: "PermissionWrapper",
|
|
17511
17507
|
setup(e) {
|
|
17512
17508
|
const t = cu();
|
|
17513
|
-
return (a, s) => je(t) === je(Os).Denied ? (pt(), js(Mu, { key: 0 })) : je(t) === je(Os).Allowed ? Hs(a.$slots, "default", { key: 1 }) :
|
|
17509
|
+
return (a, s) => je(t) === je(Os).Denied ? (pt(), js(Mu, { key: 0 })) : je(t) === je(Os).Allowed ? Hs(a.$slots, "default", { key: 1 }) : Ho("", !0);
|
|
17514
17510
|
}
|
|
17515
17511
|
});
|
|
17516
17512
|
function kt(e) {
|
|
@@ -17536,8 +17532,8 @@ function Ou(e, t) {
|
|
|
17536
17532
|
}
|
|
17537
17533
|
let o = null;
|
|
17538
17534
|
return Ys(e, async (n) => {
|
|
17539
|
-
n && (await
|
|
17540
|
-
}),
|
|
17535
|
+
n && (await Yo(), s());
|
|
17536
|
+
}), Go(() => {
|
|
17541
17537
|
window.addEventListener("resize", s), o = new ResizeObserver(s), o.observe(document.body);
|
|
17542
17538
|
}), ai(() => {
|
|
17543
17539
|
window.removeEventListener("resize", s), o == null || o.disconnect(), o = null;
|
|
@@ -17597,29 +17593,29 @@ function Xs(e) {
|
|
|
17597
17593
|
}
|
|
17598
17594
|
};
|
|
17599
17595
|
}
|
|
17600
|
-
function
|
|
17596
|
+
function Cr(e, t) {
|
|
17601
17597
|
return function() {
|
|
17602
17598
|
return e.apply(t, arguments);
|
|
17603
17599
|
};
|
|
17604
17600
|
}
|
|
17605
|
-
var
|
|
17606
|
-
const { toString: Fu } = Object.prototype, { getPrototypeOf: zs } = Object, { iterator: Ya, toStringTag:
|
|
17601
|
+
var fo = {};
|
|
17602
|
+
const { toString: Fu } = Object.prototype, { getPrototypeOf: zs } = Object, { iterator: Ya, toStringTag: Sr } = Symbol, Ga = /* @__PURE__ */ ((e) => (t) => {
|
|
17607
17603
|
const a = Fu.call(t);
|
|
17608
17604
|
return e[a] || (e[a] = a.slice(8, -1).toLowerCase());
|
|
17609
17605
|
})(/* @__PURE__ */ Object.create(null)), Ie = (e) => (e = e.toLowerCase(), (t) => Ga(t) === e), Va = (e) => (t) => typeof t === e, { isArray: Vt } = Array, Gt = Va("undefined");
|
|
17610
17606
|
function sa(e) {
|
|
17611
17607
|
return e !== null && !Gt(e) && e.constructor !== null && !Gt(e.constructor) && De(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
17612
17608
|
}
|
|
17613
|
-
const
|
|
17609
|
+
const Pr = Ie("ArrayBuffer");
|
|
17614
17610
|
function ju(e) {
|
|
17615
17611
|
let t;
|
|
17616
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
17612
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Pr(e.buffer), t;
|
|
17617
17613
|
}
|
|
17618
|
-
const Hu = Va("string"), De = Va("function"),
|
|
17614
|
+
const Hu = Va("string"), De = Va("function"), Dr = Va("number"), oa = (e) => e !== null && typeof e == "object", Yu = (e) => e === !0 || e === !1, ha = (e) => {
|
|
17619
17615
|
if (Ga(e) !== "object")
|
|
17620
17616
|
return !1;
|
|
17621
17617
|
const t = zs(e);
|
|
17622
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
17618
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Sr in e) && !(Ya in e);
|
|
17623
17619
|
}, Gu = (e) => {
|
|
17624
17620
|
if (!oa(e) || sa(e))
|
|
17625
17621
|
return !1;
|
|
@@ -17649,7 +17645,7 @@ function na(e, t, { allOwnKeys: a = !1 } = {}) {
|
|
|
17649
17645
|
l = n[s], t.call(null, e[l], l, e);
|
|
17650
17646
|
}
|
|
17651
17647
|
}
|
|
17652
|
-
function
|
|
17648
|
+
function Mr(e, t) {
|
|
17653
17649
|
if (sa(e))
|
|
17654
17650
|
return null;
|
|
17655
17651
|
t = t.toLowerCase();
|
|
@@ -17660,10 +17656,10 @@ function Or(e, t) {
|
|
|
17660
17656
|
return o;
|
|
17661
17657
|
return null;
|
|
17662
17658
|
}
|
|
17663
|
-
const At = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
17659
|
+
const At = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, kr = (e) => !Gt(e) && e !== At;
|
|
17664
17660
|
function Bs() {
|
|
17665
|
-
const { caseless: e, skipUndefined: t } =
|
|
17666
|
-
const r = e &&
|
|
17661
|
+
const { caseless: e, skipUndefined: t } = kr(this) && this || {}, a = {}, s = (o, n) => {
|
|
17662
|
+
const r = e && Mr(a, n) || n;
|
|
17667
17663
|
ha(a[r]) && ha(o) ? a[r] = Bs(a[r], o) : ha(o) ? a[r] = Bs({}, o) : Vt(o) ? a[r] = o.slice() : (!t || !Gt(o)) && (a[r] = o);
|
|
17668
17664
|
};
|
|
17669
17665
|
for (let o = 0, n = arguments.length; o < n; o++)
|
|
@@ -17671,7 +17667,7 @@ function Bs() {
|
|
|
17671
17667
|
return a;
|
|
17672
17668
|
}
|
|
17673
17669
|
const _u = (e, t, a, { allOwnKeys: s } = {}) => (na(t, (o, n) => {
|
|
17674
|
-
a && De(o) ? e[n] =
|
|
17670
|
+
a && De(o) ? e[n] = Cr(o, a) : e[n] = o;
|
|
17675
17671
|
}, { allOwnKeys: s }), e), $u = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), em = (e, t, a, s) => {
|
|
17676
17672
|
e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
17677
17673
|
value: t.prototype
|
|
@@ -17694,7 +17690,7 @@ const _u = (e, t, a, { allOwnKeys: s } = {}) => (na(t, (o, n) => {
|
|
|
17694
17690
|
if (!e) return null;
|
|
17695
17691
|
if (Vt(e)) return e;
|
|
17696
17692
|
let t = e.length;
|
|
17697
|
-
if (!
|
|
17693
|
+
if (!Dr(t)) return null;
|
|
17698
17694
|
const a = new Array(t);
|
|
17699
17695
|
for (; t-- > 0; )
|
|
17700
17696
|
a[t] = e[t];
|
|
@@ -17717,14 +17713,14 @@ const _u = (e, t, a, { allOwnKeys: s } = {}) => (na(t, (o, n) => {
|
|
|
17717
17713
|
function(a, s, o) {
|
|
17718
17714
|
return s.toUpperCase() + o;
|
|
17719
17715
|
}
|
|
17720
|
-
),
|
|
17716
|
+
), Ao = (({ hasOwnProperty: e }) => (t, a) => e.call(t, a))(Object.prototype), dm = Ie("RegExp"), Or = (e, t) => {
|
|
17721
17717
|
const a = Object.getOwnPropertyDescriptors(e), s = {};
|
|
17722
17718
|
na(a, (o, n) => {
|
|
17723
17719
|
let r;
|
|
17724
17720
|
(r = t(o, n, e)) !== !1 && (s[n] = r || o);
|
|
17725
17721
|
}), Object.defineProperties(e, s);
|
|
17726
17722
|
}, cm = (e) => {
|
|
17727
|
-
|
|
17723
|
+
Or(e, (t, a) => {
|
|
17728
17724
|
if (De(e) && ["arguments", "caller", "callee"].indexOf(a) !== -1)
|
|
17729
17725
|
return !1;
|
|
17730
17726
|
const s = e[a];
|
|
@@ -17748,7 +17744,7 @@ const _u = (e, t, a, { allOwnKeys: s } = {}) => (na(t, (o, n) => {
|
|
|
17748
17744
|
}, mm = () => {
|
|
17749
17745
|
}, pm = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
17750
17746
|
function hm(e) {
|
|
17751
|
-
return !!(e && De(e.append) && e[
|
|
17747
|
+
return !!(e && De(e.append) && e[Sr] === "FormData" && e[Ya]);
|
|
17752
17748
|
}
|
|
17753
17749
|
const ym = (e) => {
|
|
17754
17750
|
const t = new Array(10), a = (s, o) => {
|
|
@@ -17769,21 +17765,21 @@ const ym = (e) => {
|
|
|
17769
17765
|
return s;
|
|
17770
17766
|
};
|
|
17771
17767
|
return a(e, 0);
|
|
17772
|
-
}, gm = Ie("AsyncFunction"), fm = (e) => e && (oa(e) || De(e)) && De(e.then) && De(e.catch),
|
|
17768
|
+
}, gm = Ie("AsyncFunction"), fm = (e) => e && (oa(e) || De(e)) && De(e.then) && De(e.catch), Br = ((e, t) => e ? setImmediate : t ? ((a, s) => (At.addEventListener("message", ({ source: o, data: n }) => {
|
|
17773
17769
|
o === At && n === a && s.length && s.shift()();
|
|
17774
17770
|
}, !1), (o) => {
|
|
17775
17771
|
s.push(o), At.postMessage(a, "*");
|
|
17776
17772
|
}))(`axios@${Math.random()}`, []) : (a) => setTimeout(a))(
|
|
17777
17773
|
typeof setImmediate == "function",
|
|
17778
17774
|
De(At.postMessage)
|
|
17779
|
-
), Am = typeof queueMicrotask < "u" ? queueMicrotask.bind(At) : typeof
|
|
17775
|
+
), Am = typeof queueMicrotask < "u" ? queueMicrotask.bind(At) : typeof fo < "u" && fo.nextTick || Br, vm = (e) => e != null && De(e[Ya]), A = {
|
|
17780
17776
|
isArray: Vt,
|
|
17781
|
-
isArrayBuffer:
|
|
17777
|
+
isArrayBuffer: Pr,
|
|
17782
17778
|
isBuffer: sa,
|
|
17783
17779
|
isFormData: Lu,
|
|
17784
17780
|
isArrayBufferView: ju,
|
|
17785
17781
|
isString: Hu,
|
|
17786
|
-
isNumber:
|
|
17782
|
+
isNumber: Dr,
|
|
17787
17783
|
isBoolean: Yu,
|
|
17788
17784
|
isObject: oa,
|
|
17789
17785
|
isPlainObject: ha,
|
|
@@ -17816,23 +17812,23 @@ const ym = (e) => {
|
|
|
17816
17812
|
forEachEntry: nm,
|
|
17817
17813
|
matchAll: rm,
|
|
17818
17814
|
isHTMLForm: im,
|
|
17819
|
-
hasOwnProperty:
|
|
17820
|
-
hasOwnProp:
|
|
17815
|
+
hasOwnProperty: Ao,
|
|
17816
|
+
hasOwnProp: Ao,
|
|
17821
17817
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
17822
|
-
reduceDescriptors:
|
|
17818
|
+
reduceDescriptors: Or,
|
|
17823
17819
|
freezeMethods: cm,
|
|
17824
17820
|
toObjectSet: um,
|
|
17825
17821
|
toCamelCase: lm,
|
|
17826
17822
|
noop: mm,
|
|
17827
17823
|
toFiniteNumber: pm,
|
|
17828
|
-
findKey:
|
|
17824
|
+
findKey: Mr,
|
|
17829
17825
|
global: At,
|
|
17830
|
-
isContextDefined:
|
|
17826
|
+
isContextDefined: kr,
|
|
17831
17827
|
isSpecCompliantForm: hm,
|
|
17832
17828
|
toJSONObject: ym,
|
|
17833
17829
|
isAsyncFn: gm,
|
|
17834
17830
|
isThenable: fm,
|
|
17835
|
-
setImmediate:
|
|
17831
|
+
setImmediate: Br,
|
|
17836
17832
|
asap: Am,
|
|
17837
17833
|
isIterable: vm
|
|
17838
17834
|
};
|
|
@@ -17860,7 +17856,7 @@ A.inherits(Q, Error, {
|
|
|
17860
17856
|
};
|
|
17861
17857
|
}
|
|
17862
17858
|
});
|
|
17863
|
-
const
|
|
17859
|
+
const Tr = Q.prototype, xr = {};
|
|
17864
17860
|
[
|
|
17865
17861
|
"ERR_BAD_OPTION_VALUE",
|
|
17866
17862
|
"ERR_BAD_OPTION",
|
|
@@ -17876,12 +17872,12 @@ const Er = Q.prototype, Rr = {};
|
|
|
17876
17872
|
"ERR_INVALID_URL"
|
|
17877
17873
|
// eslint-disable-next-line func-names
|
|
17878
17874
|
].forEach((e) => {
|
|
17879
|
-
|
|
17875
|
+
xr[e] = { value: e };
|
|
17880
17876
|
});
|
|
17881
|
-
Object.defineProperties(Q,
|
|
17882
|
-
Object.defineProperty(
|
|
17877
|
+
Object.defineProperties(Q, xr);
|
|
17878
|
+
Object.defineProperty(Tr, "isAxiosError", { value: !0 });
|
|
17883
17879
|
Q.from = (e, t, a, s, o, n) => {
|
|
17884
|
-
const r = Object.create(
|
|
17880
|
+
const r = Object.create(Tr);
|
|
17885
17881
|
A.toFlatObject(e, r, function(c) {
|
|
17886
17882
|
return c !== Error.prototype;
|
|
17887
17883
|
}, (u) => u !== "isAxiosError");
|
|
@@ -17892,12 +17888,12 @@ const bm = null;
|
|
|
17892
17888
|
function Ts(e) {
|
|
17893
17889
|
return A.isPlainObject(e) || A.isArray(e);
|
|
17894
17890
|
}
|
|
17895
|
-
function
|
|
17891
|
+
function Er(e) {
|
|
17896
17892
|
return A.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
17897
17893
|
}
|
|
17898
|
-
function
|
|
17894
|
+
function vo(e, t, a) {
|
|
17899
17895
|
return e ? e.concat(t).map(function(o, n) {
|
|
17900
|
-
return o =
|
|
17896
|
+
return o = Er(o), !a && n ? "[" + o + "]" : o;
|
|
17901
17897
|
}).join(a ? "." : "") : t;
|
|
17902
17898
|
}
|
|
17903
17899
|
function wm(e) {
|
|
@@ -17935,15 +17931,15 @@ function Ia(e, t, a) {
|
|
|
17935
17931
|
if (A.endsWith(O, "{}"))
|
|
17936
17932
|
O = s ? O : O.slice(0, -2), C = JSON.stringify(C);
|
|
17937
17933
|
else if (A.isArray(C) && wm(C) || (A.isFileList(C) || A.endsWith(O, "[]")) && (I = A.toArray(C)))
|
|
17938
|
-
return O =
|
|
17934
|
+
return O = Er(O), I.forEach(function(_, ie) {
|
|
17939
17935
|
!(A.isUndefined(_) || _ === null) && t.append(
|
|
17940
17936
|
// eslint-disable-next-line no-nested-ternary
|
|
17941
|
-
r === !0 ?
|
|
17937
|
+
r === !0 ? vo([O], ie, n) : r === null ? O : O + "[]",
|
|
17942
17938
|
u(_)
|
|
17943
17939
|
);
|
|
17944
17940
|
}), !1;
|
|
17945
17941
|
}
|
|
17946
|
-
return Ts(C) ? !0 : (t.append(
|
|
17942
|
+
return Ts(C) ? !0 : (t.append(vo(D, O, n), u(C)), !1);
|
|
17947
17943
|
}
|
|
17948
17944
|
const b = [], T = Object.assign(Cm, {
|
|
17949
17945
|
defaultVisitor: c,
|
|
@@ -17969,7 +17965,7 @@ function Ia(e, t, a) {
|
|
|
17969
17965
|
throw new TypeError("data must be an object");
|
|
17970
17966
|
return Y(e), t;
|
|
17971
17967
|
}
|
|
17972
|
-
function
|
|
17968
|
+
function bo(e) {
|
|
17973
17969
|
const t = {
|
|
17974
17970
|
"!": "%21",
|
|
17975
17971
|
"'": "%27",
|
|
@@ -17986,14 +17982,14 @@ function Co(e) {
|
|
|
17986
17982
|
function Zs(e, t) {
|
|
17987
17983
|
this._pairs = [], e && Ia(e, this, t);
|
|
17988
17984
|
}
|
|
17989
|
-
const
|
|
17990
|
-
|
|
17985
|
+
const Rr = Zs.prototype;
|
|
17986
|
+
Rr.append = function(t, a) {
|
|
17991
17987
|
this._pairs.push([t, a]);
|
|
17992
17988
|
};
|
|
17993
|
-
|
|
17989
|
+
Rr.toString = function(t) {
|
|
17994
17990
|
const a = t ? function(s) {
|
|
17995
|
-
return t.call(this, s,
|
|
17996
|
-
} :
|
|
17991
|
+
return t.call(this, s, bo);
|
|
17992
|
+
} : bo;
|
|
17997
17993
|
return this._pairs.map(function(o) {
|
|
17998
17994
|
return a(o[0]) + "=" + a(o[1]);
|
|
17999
17995
|
}, "").join("&");
|
|
@@ -18001,7 +17997,7 @@ Fr.toString = function(t) {
|
|
|
18001
17997
|
function Sm(e) {
|
|
18002
17998
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
18003
17999
|
}
|
|
18004
|
-
function
|
|
18000
|
+
function Nr(e, t, a) {
|
|
18005
18001
|
if (!t)
|
|
18006
18002
|
return e;
|
|
18007
18003
|
const s = a && a.encode || Sm;
|
|
@@ -18016,7 +18012,7 @@ function jr(e, t, a) {
|
|
|
18016
18012
|
}
|
|
18017
18013
|
return e;
|
|
18018
18014
|
}
|
|
18019
|
-
class
|
|
18015
|
+
class wo {
|
|
18020
18016
|
constructor() {
|
|
18021
18017
|
this.handlers = [];
|
|
18022
18018
|
}
|
|
@@ -18070,7 +18066,7 @@ class So {
|
|
|
18070
18066
|
});
|
|
18071
18067
|
}
|
|
18072
18068
|
}
|
|
18073
|
-
const
|
|
18069
|
+
const Fr = {
|
|
18074
18070
|
silentJSONParsing: !0,
|
|
18075
18071
|
forcedJSONParsing: !0,
|
|
18076
18072
|
clarifyTimeoutError: !1
|
|
@@ -18114,7 +18110,7 @@ function Nm(e) {
|
|
|
18114
18110
|
n = a[s], t[n] = e[n];
|
|
18115
18111
|
return t;
|
|
18116
18112
|
}
|
|
18117
|
-
function
|
|
18113
|
+
function jr(e) {
|
|
18118
18114
|
function t(a, s, o, n) {
|
|
18119
18115
|
let r = a[n++];
|
|
18120
18116
|
if (r === "__proto__") return !0;
|
|
@@ -18140,12 +18136,12 @@ function Fm(e, t, a) {
|
|
|
18140
18136
|
return (a || JSON.stringify)(e);
|
|
18141
18137
|
}
|
|
18142
18138
|
const ra = {
|
|
18143
|
-
transitional:
|
|
18139
|
+
transitional: Fr,
|
|
18144
18140
|
adapter: ["xhr", "http", "fetch"],
|
|
18145
18141
|
transformRequest: [function(t, a) {
|
|
18146
18142
|
const s = a.getContentType() || "", o = s.indexOf("application/json") > -1, n = A.isObject(t);
|
|
18147
18143
|
if (n && A.isHTMLForm(t) && (t = new FormData(t)), A.isFormData(t))
|
|
18148
|
-
return o ? JSON.stringify(
|
|
18144
|
+
return o ? JSON.stringify(jr(t)) : t;
|
|
18149
18145
|
if (A.isArrayBuffer(t) || A.isBuffer(t) || A.isStream(t) || A.isFile(t) || A.isBlob(t) || A.isReadableStream(t))
|
|
18150
18146
|
return t;
|
|
18151
18147
|
if (A.isArrayBufferView(t))
|
|
@@ -18233,7 +18229,7 @@ const jm = A.toObjectSet([
|
|
|
18233
18229
|
`).forEach(function(r) {
|
|
18234
18230
|
o = r.indexOf(":"), a = r.substring(0, o).trim().toLowerCase(), s = r.substring(o + 1).trim(), !(!a || t[a] && jm[a]) && (a === "set-cookie" ? t[a] ? t[a].push(s) : t[a] = [s] : t[a] = t[a] ? t[a] + ", " + s : s);
|
|
18235
18231
|
}), t;
|
|
18236
|
-
},
|
|
18232
|
+
}, Co = Symbol("internals");
|
|
18237
18233
|
function zt(e) {
|
|
18238
18234
|
return e && String(e).trim().toLowerCase();
|
|
18239
18235
|
}
|
|
@@ -18388,7 +18384,7 @@ let Me = class {
|
|
|
18388
18384
|
return a.forEach((o) => s.set(o)), s;
|
|
18389
18385
|
}
|
|
18390
18386
|
static accessor(t) {
|
|
18391
|
-
const s = (this[
|
|
18387
|
+
const s = (this[Co] = this[Co] = {
|
|
18392
18388
|
accessors: {}
|
|
18393
18389
|
}).accessors, o = this.prototype;
|
|
18394
18390
|
function n(r) {
|
|
@@ -18416,7 +18412,7 @@ function ps(e, t) {
|
|
|
18416
18412
|
n = l.call(a, n, o.normalize(), t ? t.status : void 0);
|
|
18417
18413
|
}), o.normalize(), n;
|
|
18418
18414
|
}
|
|
18419
|
-
function
|
|
18415
|
+
function Hr(e) {
|
|
18420
18416
|
return !!(e && e.__CANCEL__);
|
|
18421
18417
|
}
|
|
18422
18418
|
function It(e, t, a) {
|
|
@@ -18425,7 +18421,7 @@ function It(e, t, a) {
|
|
|
18425
18421
|
A.inherits(It, Q, {
|
|
18426
18422
|
__CANCEL__: !0
|
|
18427
18423
|
});
|
|
18428
|
-
function
|
|
18424
|
+
function Yr(e, t, a) {
|
|
18429
18425
|
const s = a.config.validateStatus;
|
|
18430
18426
|
!a.status || !s || s(a.status) ? e(a) : t(new Q(
|
|
18431
18427
|
"Request failed with status code " + a.status,
|
|
@@ -18486,14 +18482,14 @@ const Na = (e, t, a = 3) => {
|
|
|
18486
18482
|
};
|
|
18487
18483
|
e(b);
|
|
18488
18484
|
}, a);
|
|
18489
|
-
},
|
|
18485
|
+
}, So = (e, t) => {
|
|
18490
18486
|
const a = e != null;
|
|
18491
18487
|
return [(s) => t[0]({
|
|
18492
18488
|
lengthComputable: a,
|
|
18493
18489
|
total: e,
|
|
18494
18490
|
loaded: s
|
|
18495
18491
|
}), t[1]];
|
|
18496
|
-
},
|
|
18492
|
+
}, Po = (e) => (...t) => A.asap(() => e(...t)), Lm = fe.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (a) => (a = new URL(a, fe.origin), e.protocol === a.protocol && e.host === a.host && (t || e.port === a.port)))(
|
|
18497
18493
|
new URL(fe.origin),
|
|
18498
18494
|
fe.navigator && /(msie|trident)/i.test(fe.navigator.userAgent)
|
|
18499
18495
|
) : () => !0, Qm = fe.hasStandardBrowserEnv ? (
|
|
@@ -18531,11 +18527,11 @@ function Xm(e) {
|
|
|
18531
18527
|
function zm(e, t) {
|
|
18532
18528
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
18533
18529
|
}
|
|
18534
|
-
function
|
|
18530
|
+
function Gr(e, t, a) {
|
|
18535
18531
|
let s = !Xm(t);
|
|
18536
18532
|
return e && (s || a == !1) ? zm(e, t) : t;
|
|
18537
18533
|
}
|
|
18538
|
-
const
|
|
18534
|
+
const Do = (e) => e instanceof Me ? { ...e } : e;
|
|
18539
18535
|
function Dt(e, t) {
|
|
18540
18536
|
t = t || {};
|
|
18541
18537
|
const a = {};
|
|
@@ -18593,17 +18589,17 @@ function Dt(e, t) {
|
|
|
18593
18589
|
socketPath: r,
|
|
18594
18590
|
responseEncoding: r,
|
|
18595
18591
|
validateStatus: l,
|
|
18596
|
-
headers: (u, c, b) => o(
|
|
18592
|
+
headers: (u, c, b) => o(Do(u), Do(c), b, !0)
|
|
18597
18593
|
};
|
|
18598
18594
|
return A.forEach(Object.keys({ ...e, ...t }), function(c) {
|
|
18599
18595
|
const b = p[c] || o, T = b(e[c], t[c], c);
|
|
18600
18596
|
A.isUndefined(T) && b !== l || (a[c] = T);
|
|
18601
18597
|
}), a;
|
|
18602
18598
|
}
|
|
18603
|
-
const
|
|
18599
|
+
const Vr = (e) => {
|
|
18604
18600
|
const t = Dt({}, e);
|
|
18605
18601
|
let { data: a, withXSRFToken: s, xsrfHeaderName: o, xsrfCookieName: n, headers: r, auth: l } = t;
|
|
18606
|
-
if (t.headers = r = Me.from(r), t.url =
|
|
18602
|
+
if (t.headers = r = Me.from(r), t.url = Nr(Gr(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && r.set(
|
|
18607
18603
|
"Authorization",
|
|
18608
18604
|
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
18609
18605
|
), A.isFormData(a)) {
|
|
@@ -18623,7 +18619,7 @@ const qr = (e) => {
|
|
|
18623
18619
|
return t;
|
|
18624
18620
|
}, Zm = typeof XMLHttpRequest < "u", Km = Zm && function(e) {
|
|
18625
18621
|
return new Promise(function(a, s) {
|
|
18626
|
-
const o =
|
|
18622
|
+
const o = Vr(e);
|
|
18627
18623
|
let n = o.data;
|
|
18628
18624
|
const r = Me.from(o.headers).normalize();
|
|
18629
18625
|
let { responseType: l, onUploadProgress: p, onDownloadProgress: u } = o, c, b, T, Y, C;
|
|
@@ -18645,7 +18641,7 @@ const qr = (e) => {
|
|
|
18645
18641
|
config: e,
|
|
18646
18642
|
request: D
|
|
18647
18643
|
};
|
|
18648
|
-
|
|
18644
|
+
Yr(function(he) {
|
|
18649
18645
|
a(he), O();
|
|
18650
18646
|
}, function(he) {
|
|
18651
18647
|
s(he), O();
|
|
@@ -18660,7 +18656,7 @@ const qr = (e) => {
|
|
|
18660
18656
|
xe.event = ie || null, s(xe), D = null;
|
|
18661
18657
|
}, D.ontimeout = function() {
|
|
18662
18658
|
let ie = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
18663
|
-
const pe = o.transitional ||
|
|
18659
|
+
const pe = o.transitional || Fr;
|
|
18664
18660
|
o.timeoutErrorMessage && (ie = o.timeoutErrorMessage), s(new Q(
|
|
18665
18661
|
ie,
|
|
18666
18662
|
pe.clarifyTimeoutError ? Q.ETIMEDOUT : Q.ECONNABORTED,
|
|
@@ -18730,7 +18726,7 @@ const qr = (e) => {
|
|
|
18730
18726
|
} finally {
|
|
18731
18727
|
await t.cancel();
|
|
18732
18728
|
}
|
|
18733
|
-
},
|
|
18729
|
+
}, Mo = (e, t, a, s) => {
|
|
18734
18730
|
const o = $m(e, t);
|
|
18735
18731
|
let n = 0, r, l = (p) => {
|
|
18736
18732
|
r || (r = !0, s && s(p));
|
|
@@ -18759,13 +18755,13 @@ const qr = (e) => {
|
|
|
18759
18755
|
}, {
|
|
18760
18756
|
highWaterMark: 2
|
|
18761
18757
|
});
|
|
18762
|
-
},
|
|
18758
|
+
}, ko = 64 * 1024, { isFunction: da } = A, tp = (({ Request: e, Response: t }) => ({
|
|
18763
18759
|
Request: e,
|
|
18764
18760
|
Response: t
|
|
18765
18761
|
}))(A.global), {
|
|
18766
|
-
ReadableStream:
|
|
18767
|
-
TextEncoder:
|
|
18768
|
-
} = A.global,
|
|
18762
|
+
ReadableStream: Oo,
|
|
18763
|
+
TextEncoder: Bo
|
|
18764
|
+
} = A.global, To = (e, ...t) => {
|
|
18769
18765
|
try {
|
|
18770
18766
|
return !!e(...t);
|
|
18771
18767
|
} catch {
|
|
@@ -18778,17 +18774,17 @@ const qr = (e) => {
|
|
|
18778
18774
|
const { fetch: t, Request: a, Response: s } = e, o = t ? da(t) : typeof fetch == "function", n = da(a), r = da(s);
|
|
18779
18775
|
if (!o)
|
|
18780
18776
|
return !1;
|
|
18781
|
-
const l = o && da(
|
|
18777
|
+
const l = o && da(Oo), p = o && (typeof Bo == "function" ? /* @__PURE__ */ ((C) => (O) => C.encode(O))(new Bo()) : async (C) => new Uint8Array(await new a(C).arrayBuffer())), u = n && l && To(() => {
|
|
18782
18778
|
let C = !1;
|
|
18783
18779
|
const O = new a(fe.origin, {
|
|
18784
|
-
body: new
|
|
18780
|
+
body: new Oo(),
|
|
18785
18781
|
method: "POST",
|
|
18786
18782
|
get duplex() {
|
|
18787
18783
|
return C = !0, "half";
|
|
18788
18784
|
}
|
|
18789
18785
|
}).headers.has("Content-Type");
|
|
18790
18786
|
return C && !O;
|
|
18791
|
-
}), c = r && l &&
|
|
18787
|
+
}), c = r && l && To(() => A.isReadableStream(new s("").body)), b = {
|
|
18792
18788
|
stream: c && ((C) => C.body)
|
|
18793
18789
|
};
|
|
18794
18790
|
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((C) => {
|
|
@@ -18831,7 +18827,7 @@ const qr = (e) => {
|
|
|
18831
18827
|
headers: tt,
|
|
18832
18828
|
withCredentials: f = "same-origin",
|
|
18833
18829
|
fetchOptions: v
|
|
18834
|
-
} =
|
|
18830
|
+
} = Vr(C), M = t || fetch;
|
|
18835
18831
|
he = he ? (he + "").toLowerCase() : "text";
|
|
18836
18832
|
let B = Jm([ce, _ && _.toAbortSignal()], ie), R = null;
|
|
18837
18833
|
const N = B && B.unsubscribe && (() => {
|
|
@@ -18846,11 +18842,11 @@ const qr = (e) => {
|
|
|
18846
18842
|
duplex: "half"
|
|
18847
18843
|
}), g;
|
|
18848
18844
|
if (A.isFormData(I) && (g = d.headers.get("content-type")) && tt.setContentType(g), d.body) {
|
|
18849
|
-
const [h, S] =
|
|
18845
|
+
const [h, S] = So(
|
|
18850
18846
|
q,
|
|
18851
|
-
Na(
|
|
18847
|
+
Na(Po(xe))
|
|
18852
18848
|
);
|
|
18853
|
-
I =
|
|
18849
|
+
I = Mo(d.body, ko, h, S);
|
|
18854
18850
|
}
|
|
18855
18851
|
}
|
|
18856
18852
|
A.isString(f) || (f = f ? "include" : "omit");
|
|
@@ -18871,12 +18867,12 @@ const qr = (e) => {
|
|
|
18871
18867
|
["status", "statusText", "headers"].forEach((k) => {
|
|
18872
18868
|
d[k] = ne[k];
|
|
18873
18869
|
});
|
|
18874
|
-
const g = A.toFiniteNumber(ne.headers.get("content-length")), [h, S] = pe &&
|
|
18870
|
+
const g = A.toFiniteNumber(ne.headers.get("content-length")), [h, S] = pe && So(
|
|
18875
18871
|
g,
|
|
18876
|
-
Na(
|
|
18872
|
+
Na(Po(pe), !0)
|
|
18877
18873
|
) || [];
|
|
18878
18874
|
ne = new s(
|
|
18879
|
-
|
|
18875
|
+
Mo(ne.body, ko, h, () => {
|
|
18880
18876
|
S && S(), N && N();
|
|
18881
18877
|
}),
|
|
18882
18878
|
d
|
|
@@ -18885,7 +18881,7 @@ const qr = (e) => {
|
|
|
18885
18881
|
he = he || "text";
|
|
18886
18882
|
let m = await b[A.findKey(b, he) || "text"](ne, C);
|
|
18887
18883
|
return !w && N && N(), await new Promise((d, g) => {
|
|
18888
|
-
|
|
18884
|
+
Yr(d, g, {
|
|
18889
18885
|
data: m,
|
|
18890
18886
|
headers: Me.from(ne.headers),
|
|
18891
18887
|
status: ne.status,
|
|
@@ -18903,7 +18899,7 @@ const qr = (e) => {
|
|
|
18903
18899
|
) : Q.from(V, V && V.code, C, R);
|
|
18904
18900
|
}
|
|
18905
18901
|
};
|
|
18906
|
-
}, sp = /* @__PURE__ */ new Map(),
|
|
18902
|
+
}, sp = /* @__PURE__ */ new Map(), Ir = (e) => {
|
|
18907
18903
|
let t = e && e.env || {};
|
|
18908
18904
|
const { fetch: a, Request: s, Response: o } = t, n = [
|
|
18909
18905
|
s,
|
|
@@ -18915,12 +18911,12 @@ const qr = (e) => {
|
|
|
18915
18911
|
p = n[l], u = c.get(p), u === void 0 && c.set(p, u = l ? /* @__PURE__ */ new Map() : ap(t)), c = u;
|
|
18916
18912
|
return u;
|
|
18917
18913
|
};
|
|
18918
|
-
|
|
18914
|
+
Ir();
|
|
18919
18915
|
const Js = {
|
|
18920
18916
|
http: bm,
|
|
18921
18917
|
xhr: Km,
|
|
18922
18918
|
fetch: {
|
|
18923
|
-
get:
|
|
18919
|
+
get: Ir
|
|
18924
18920
|
}
|
|
18925
18921
|
};
|
|
18926
18922
|
A.forEach(Js, (e, t) => {
|
|
@@ -18932,7 +18928,7 @@ A.forEach(Js, (e, t) => {
|
|
|
18932
18928
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
18933
18929
|
}
|
|
18934
18930
|
});
|
|
18935
|
-
const
|
|
18931
|
+
const xo = (e) => `- ${e}`, op = (e) => A.isFunction(e) || e === null || e === !1;
|
|
18936
18932
|
function np(e, t) {
|
|
18937
18933
|
e = A.isArray(e) ? e : [e];
|
|
18938
18934
|
const { length: a } = e;
|
|
@@ -18952,8 +18948,8 @@ function np(e, t) {
|
|
|
18952
18948
|
([p, u]) => `adapter ${p} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
18953
18949
|
);
|
|
18954
18950
|
let l = a ? r.length > 1 ? `since :
|
|
18955
|
-
` + r.map(
|
|
18956
|
-
`) : " " +
|
|
18951
|
+
` + r.map(xo).join(`
|
|
18952
|
+
`) : " " + xo(r[0]) : "as no adapter specified";
|
|
18957
18953
|
throw new Q(
|
|
18958
18954
|
"There is no suitable adapter to dispatch the request " + l,
|
|
18959
18955
|
"ERR_NOT_SUPPORT"
|
|
@@ -18961,7 +18957,7 @@ function np(e, t) {
|
|
|
18961
18957
|
}
|
|
18962
18958
|
return o;
|
|
18963
18959
|
}
|
|
18964
|
-
const
|
|
18960
|
+
const qr = {
|
|
18965
18961
|
/**
|
|
18966
18962
|
* Resolve an adapter from a list of adapter names or functions.
|
|
18967
18963
|
* @type {Function}
|
|
@@ -18977,34 +18973,34 @@ function hs(e) {
|
|
|
18977
18973
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
18978
18974
|
throw new It(null, e);
|
|
18979
18975
|
}
|
|
18980
|
-
function
|
|
18976
|
+
function Eo(e) {
|
|
18981
18977
|
return hs(e), e.headers = Me.from(e.headers), e.data = ps.call(
|
|
18982
18978
|
e,
|
|
18983
18979
|
e.transformRequest
|
|
18984
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
18980
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), qr.getAdapter(e.adapter || ra.adapter, e)(e).then(function(s) {
|
|
18985
18981
|
return hs(e), s.data = ps.call(
|
|
18986
18982
|
e,
|
|
18987
18983
|
e.transformResponse,
|
|
18988
18984
|
s
|
|
18989
18985
|
), s.headers = Me.from(s.headers), s;
|
|
18990
18986
|
}, function(s) {
|
|
18991
|
-
return
|
|
18987
|
+
return Hr(s) || (hs(e), s && s.response && (s.response.data = ps.call(
|
|
18992
18988
|
e,
|
|
18993
18989
|
e.transformResponse,
|
|
18994
18990
|
s.response
|
|
18995
18991
|
), s.response.headers = Me.from(s.response.headers))), Promise.reject(s);
|
|
18996
18992
|
});
|
|
18997
18993
|
}
|
|
18998
|
-
const
|
|
18994
|
+
const Wr = "1.13.2", qa = {};
|
|
18999
18995
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
19000
18996
|
qa[e] = function(s) {
|
|
19001
18997
|
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
19002
18998
|
};
|
|
19003
18999
|
});
|
|
19004
|
-
const
|
|
19000
|
+
const Ro = {};
|
|
19005
19001
|
qa.transitional = function(t, a, s) {
|
|
19006
19002
|
function o(n, r) {
|
|
19007
|
-
return "[Axios v" +
|
|
19003
|
+
return "[Axios v" + Wr + "] Transitional option '" + n + "'" + r + (s ? ". " + s : "");
|
|
19008
19004
|
}
|
|
19009
19005
|
return (n, r, l) => {
|
|
19010
19006
|
if (t === !1)
|
|
@@ -19012,7 +19008,7 @@ qa.transitional = function(t, a, s) {
|
|
|
19012
19008
|
o(r, " has been removed" + (a ? " in " + a : "")),
|
|
19013
19009
|
Q.ERR_DEPRECATED
|
|
19014
19010
|
);
|
|
19015
|
-
return a && !
|
|
19011
|
+
return a && !Ro[r] && (Ro[r] = !0, console.warn(
|
|
19016
19012
|
o(
|
|
19017
19013
|
r,
|
|
19018
19014
|
" has been deprecated since v" + a + " and will be removed in the near future"
|
|
@@ -19047,8 +19043,8 @@ const ga = {
|
|
|
19047
19043
|
let vt = class {
|
|
19048
19044
|
constructor(t) {
|
|
19049
19045
|
this.defaults = t || {}, this.interceptors = {
|
|
19050
|
-
request: new
|
|
19051
|
-
response: new
|
|
19046
|
+
request: new wo(),
|
|
19047
|
+
response: new wo()
|
|
19052
19048
|
};
|
|
19053
19049
|
}
|
|
19054
19050
|
/**
|
|
@@ -19113,7 +19109,7 @@ let vt = class {
|
|
|
19113
19109
|
});
|
|
19114
19110
|
let c, b = 0, T;
|
|
19115
19111
|
if (!p) {
|
|
19116
|
-
const C = [
|
|
19112
|
+
const C = [Eo.bind(this), void 0];
|
|
19117
19113
|
for (C.unshift(...l), C.push(...u), T = C.length, c = Promise.resolve(a); b < T; )
|
|
19118
19114
|
c = c.then(C[b++], C[b++]);
|
|
19119
19115
|
return c;
|
|
@@ -19130,7 +19126,7 @@ let vt = class {
|
|
|
19130
19126
|
}
|
|
19131
19127
|
}
|
|
19132
19128
|
try {
|
|
19133
|
-
c =
|
|
19129
|
+
c = Eo.call(this, Y);
|
|
19134
19130
|
} catch (C) {
|
|
19135
19131
|
return Promise.reject(C);
|
|
19136
19132
|
}
|
|
@@ -19140,8 +19136,8 @@ let vt = class {
|
|
|
19140
19136
|
}
|
|
19141
19137
|
getUri(t) {
|
|
19142
19138
|
t = Dt(this.defaults, t);
|
|
19143
|
-
const a =
|
|
19144
|
-
return
|
|
19139
|
+
const a = Gr(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
19140
|
+
return Nr(a, t.params, t.paramsSerializer);
|
|
19145
19141
|
}
|
|
19146
19142
|
};
|
|
19147
19143
|
A.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -19168,7 +19164,7 @@ A.forEach(["post", "put", "patch"], function(t) {
|
|
|
19168
19164
|
}
|
|
19169
19165
|
vt.prototype[t] = a(), vt.prototype[t + "Form"] = a(!0);
|
|
19170
19166
|
});
|
|
19171
|
-
let ip = class
|
|
19167
|
+
let ip = class Ur {
|
|
19172
19168
|
constructor(t) {
|
|
19173
19169
|
if (typeof t != "function")
|
|
19174
19170
|
throw new TypeError("executor must be a function.");
|
|
@@ -19234,7 +19230,7 @@ let ip = class Qr {
|
|
|
19234
19230
|
static source() {
|
|
19235
19231
|
let t;
|
|
19236
19232
|
return {
|
|
19237
|
-
token: new
|
|
19233
|
+
token: new Ur(function(o) {
|
|
19238
19234
|
t = o;
|
|
19239
19235
|
}),
|
|
19240
19236
|
cancel: t
|
|
@@ -19323,18 +19319,18 @@ const Es = {
|
|
|
19323
19319
|
Object.entries(Es).forEach(([e, t]) => {
|
|
19324
19320
|
Es[t] = e;
|
|
19325
19321
|
});
|
|
19326
|
-
function
|
|
19327
|
-
const t = new vt(e), a =
|
|
19322
|
+
function Lr(e) {
|
|
19323
|
+
const t = new vt(e), a = Cr(vt.prototype.request, t);
|
|
19328
19324
|
return A.extend(a, vt.prototype, t, { allOwnKeys: !0 }), A.extend(a, t, null, { allOwnKeys: !0 }), a.create = function(o) {
|
|
19329
|
-
return
|
|
19325
|
+
return Lr(Dt(e, o));
|
|
19330
19326
|
}, a;
|
|
19331
19327
|
}
|
|
19332
|
-
const me =
|
|
19328
|
+
const me = Lr(ra);
|
|
19333
19329
|
me.Axios = vt;
|
|
19334
19330
|
me.CanceledError = It;
|
|
19335
19331
|
me.CancelToken = ip;
|
|
19336
|
-
me.isCancel =
|
|
19337
|
-
me.VERSION =
|
|
19332
|
+
me.isCancel = Hr;
|
|
19333
|
+
me.VERSION = Wr;
|
|
19338
19334
|
me.toFormData = Ia;
|
|
19339
19335
|
me.AxiosError = Q;
|
|
19340
19336
|
me.Cancel = me.CanceledError;
|
|
@@ -19345,8 +19341,8 @@ me.spread = lp;
|
|
|
19345
19341
|
me.isAxiosError = dp;
|
|
19346
19342
|
me.mergeConfig = Dt;
|
|
19347
19343
|
me.AxiosHeaders = Me;
|
|
19348
|
-
me.formToJSON = (e) =>
|
|
19349
|
-
me.getAdapter =
|
|
19344
|
+
me.formToJSON = (e) => jr(A.isHTMLForm(e) ? new FormData(e) : e);
|
|
19345
|
+
me.getAdapter = qr.getAdapter;
|
|
19350
19346
|
me.HttpStatusCode = Es;
|
|
19351
19347
|
me.default = me;
|
|
19352
19348
|
const {
|
|
@@ -19372,7 +19368,7 @@ class up extends Error {
|
|
|
19372
19368
|
super(t), this.status = a, this.name = "ApiError";
|
|
19373
19369
|
}
|
|
19374
19370
|
}
|
|
19375
|
-
const
|
|
19371
|
+
const Qr = (e) => (t) => {
|
|
19376
19372
|
var o;
|
|
19377
19373
|
const a = ((o = Mt().sessionUser.value) == null ? void 0 : o.token) ?? di.token;
|
|
19378
19374
|
if (!a) throw new Error("Invalid token");
|
|
@@ -19405,24 +19401,24 @@ const zr = (e) => (t) => {
|
|
|
19405
19401
|
return Promise.reject(n);
|
|
19406
19402
|
}
|
|
19407
19403
|
), s;
|
|
19408
|
-
},
|
|
19404
|
+
}, Xr = (e) => {
|
|
19409
19405
|
var a;
|
|
19410
19406
|
const t = Mt();
|
|
19411
19407
|
if (t.currentBusiness.value) {
|
|
19412
19408
|
const s = `businesses/${(a = t.currentBusiness.value) == null ? void 0 : a.id}${e ? `/${e}` : ""}`;
|
|
19413
|
-
return
|
|
19409
|
+
return Vo(s);
|
|
19414
19410
|
} else
|
|
19415
19411
|
throw new Error("Invalid business");
|
|
19416
19412
|
}, Ph = () => {
|
|
19417
19413
|
var n;
|
|
19418
19414
|
const t = (n = Mt().currentCountry.value) == null ? void 0 : n.toLowerCase(), s = "feedmeapidev.com", o = !t || t === "my" ? `https://query-engine.${s}` : `https://query-engine.${t}.${s}`;
|
|
19419
|
-
return
|
|
19420
|
-
}, Dh = () =>
|
|
19421
|
-
function
|
|
19415
|
+
return Qr(o)("");
|
|
19416
|
+
}, Dh = () => Qr("https://account.feedmedev.cc/api")(""), Mh = () => Vo("user/bypass/validate/");
|
|
19417
|
+
function zr(e) {
|
|
19422
19418
|
return e.data;
|
|
19423
19419
|
}
|
|
19424
|
-
const mp = async () =>
|
|
19425
|
-
function
|
|
19420
|
+
const mp = async () => zr(await Xr("my-pos-profile").get("")), kh = async () => zr(await Xr("my-pos-profile").post("/passcode")), pp = (e) => e.phoneNumber || e.email || "";
|
|
19421
|
+
function Oh(e) {
|
|
19426
19422
|
return e.assignments.map((t, a) => ({
|
|
19427
19423
|
name: a === 0 ? e.name : null,
|
|
19428
19424
|
contact: a === 0 ? pp(e) : null,
|
|
@@ -19432,7 +19428,7 @@ function Bh(e) {
|
|
|
19432
19428
|
}));
|
|
19433
19429
|
}
|
|
19434
19430
|
const Rs = 6e4, Ns = 60 * Rs, Nt = 24 * Ns, ys = 7 * Nt;
|
|
19435
|
-
function
|
|
19431
|
+
function Bh(e, t, a, s = Date.now()) {
|
|
19436
19432
|
if (!e) return null;
|
|
19437
19433
|
const o = Date.parse(e);
|
|
19438
19434
|
if (Number.isNaN(o)) return null;
|
|
@@ -19447,7 +19443,7 @@ function Th(e, t, a, s = Date.now()) {
|
|
|
19447
19443
|
}
|
|
19448
19444
|
return t("myPosProfile.passcode.updated", { time: p });
|
|
19449
19445
|
}
|
|
19450
|
-
function
|
|
19446
|
+
function Th(e) {
|
|
19451
19447
|
const t = e.openManageProfile;
|
|
19452
19448
|
if (typeof t != "function") return !1;
|
|
19453
19449
|
try {
|
|
@@ -19457,7 +19453,7 @@ function xh(e) {
|
|
|
19457
19453
|
}
|
|
19458
19454
|
}
|
|
19459
19455
|
const fa = (e, t, a) => (e == null ? void 0 : e.status) === t && (e == null ? void 0 : e.message) === a, Zr = (e) => fa(e, 409, "pos_user_shared");
|
|
19460
|
-
function
|
|
19456
|
+
function xh(e) {
|
|
19461
19457
|
return Zr(e) ? "myPosProfile.shared.message" : fa(e, 409, "passcode_change_in_progress") ? "myPosProfile.change.inProgress" : fa(e, 409, "passcode_exhausted") ? "myPosProfile.change.exhausted" : fa(e, 503, "passcode_update_incomplete") ? "myPosProfile.change.incomplete" : "myPosProfile.change.failed";
|
|
19462
19458
|
}
|
|
19463
19459
|
function hp() {
|
|
@@ -19614,21 +19610,21 @@ const gt = (e) => ({
|
|
|
19614
19610
|
}
|
|
19615
19611
|
]
|
|
19616
19612
|
}
|
|
19617
|
-
}), Ap = qt(kt(we(() => import("./Main-
|
|
19618
|
-
kt(we(() => import("./AuditLogList-
|
|
19613
|
+
}), Ap = qt(kt(we(() => import("./Main-BizCV-_x.js")))), vp = qt(kt(we(() => import("./Main-BF8hlYeV.js")))), bp = qt(
|
|
19614
|
+
kt(we(() => import("./AuditLogList-Ghn4aBnn.js")))
|
|
19619
19615
|
), wp = qt(
|
|
19620
|
-
kt(we(() => import("./Main-
|
|
19616
|
+
kt(we(() => import("./Main-McMZU_cR.js")))
|
|
19621
19617
|
), Cp = qt(
|
|
19622
|
-
we(() => import("./MyPosProfile-
|
|
19623
|
-
), Sp = we(() => import("./ApprovalCodeList-
|
|
19624
|
-
() => import("./PermissionSetList-
|
|
19618
|
+
we(() => import("./MyPosProfile-BjeCnBvL.js"))
|
|
19619
|
+
), Sp = we(() => import("./ApprovalCodeList-NYJNwdDZ.js")), Pp = we(() => import("./GrantUserList-BtPTpypR.js")), Dp = we(() => import("./EmployeeList-jc8LTznV.js")), Mp = we(() => import("./RoleList-CIfN10zu.js")), kp = we(() => import("./TimesheetList-BBv2SV96.js")), Op = we(() => import("./TeamMemberList-DoEOWNDC.js")), Bp = we(
|
|
19620
|
+
() => import("./PermissionSetList-NWLoqFHC.js")
|
|
19625
19621
|
), Tp = Xs(
|
|
19626
|
-
kt(we(() => import("./SchedulePage-
|
|
19622
|
+
kt(we(() => import("./SchedulePage-DqbE1PoV.js")))
|
|
19627
19623
|
), xp = Xs(
|
|
19628
|
-
kt(we(() => import("./SchedulePositionPage-
|
|
19624
|
+
kt(we(() => import("./SchedulePositionPage-DUnkT0Tp.js")))
|
|
19629
19625
|
), Ep = Xs(
|
|
19630
|
-
kt(we(() => import("./ScheduleGeneralPage-
|
|
19631
|
-
),
|
|
19626
|
+
kt(we(() => import("./ScheduleGeneralPage-8vS1DUrk.js")))
|
|
19627
|
+
), Eh = [
|
|
19632
19628
|
// Landing: waits for menu access, then opens the first page the user can open.
|
|
19633
19629
|
// Declared before the Employee parent (same path) so it wins the exact '/' match.
|
|
19634
19630
|
{
|
|
@@ -19759,7 +19755,7 @@ const gt = (e) => ({
|
|
|
19759
19755
|
setup(e, { emit: t }) {
|
|
19760
19756
|
const a = t, { t: s } = Vs(), o = Fa(), { visibleItems: n, locationFor: r, canOpenMatched: l } = Kr(), p = () => bt("span", { class: "sch-badge page-tag-premium page-tag-premium-nav", "data-color": "brand" }, s("scheduling.common.premium")), u = () => bt("span", { class: "sch-badge page-tag-premium page-tag-premium-nav page-tag-premium-section", "data-color": "brand" }, s("scheduling.common.premium"));
|
|
19761
19757
|
async function c(O) {
|
|
19762
|
-
await o.push(O), await
|
|
19758
|
+
await o.push(O), await Yo(), a("close-navigation");
|
|
19763
19759
|
}
|
|
19764
19760
|
const b = {
|
|
19765
19761
|
[Z.SCHEDULE]: "schedule",
|
|
@@ -19795,7 +19791,7 @@ const gt = (e) => ({
|
|
|
19795
19791
|
}
|
|
19796
19792
|
return O;
|
|
19797
19793
|
}), C = Ke();
|
|
19798
|
-
return
|
|
19794
|
+
return jo(() => {
|
|
19799
19795
|
var ce, _;
|
|
19800
19796
|
const O = (ce = o.currentRoute.value) == null ? void 0 : ce.name, D = n.value, I = (O && b[O]) ?? ((_ = D.find((ie) => ie.activeRoutes.some((pe) => pe === O)) ?? D[0]) == null ? void 0 : _.value);
|
|
19801
19797
|
C.value !== I && (C.value = I);
|
|
@@ -19818,7 +19814,7 @@ const gt = (e) => ({
|
|
|
19818
19814
|
key: 0,
|
|
19819
19815
|
"data-testid": "schedule-promo-banner",
|
|
19820
19816
|
class: "sticky top-0 z-20 flex w-full items-center gap-12 border-b border-fm-color-neutral-gray-100 bg-fm-color-system-warning-100 px-24 py-8 xs:px-12"
|
|
19821
|
-
}, Hp = { class: "flex min-w-0 flex-1 flex-wrap items-center gap-8" }, Yp = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary" }, Gp = { class: "fm-typo-en-body-md-600" }, Vp = { class: "flex shrink-0 items-center gap-8" }, Ip = ["aria-label"],
|
|
19817
|
+
}, Hp = { class: "flex min-w-0 flex-1 flex-wrap items-center gap-8" }, Yp = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary" }, Gp = { class: "fm-typo-en-body-md-600" }, Vp = { class: "flex shrink-0 items-center gap-8" }, Ip = ["aria-label"], No = "hrm.schedulePromoBanner.dismissed", qp = /* @__PURE__ */ nt({
|
|
19822
19818
|
__name: "SchedulePromoBanner",
|
|
19823
19819
|
setup(e) {
|
|
19824
19820
|
const t = [
|
|
@@ -19828,7 +19824,7 @@ const gt = (e) => ({
|
|
|
19828
19824
|
], { t: a } = Vs(), s = Gs(), o = Fa(), { sessionUser: n } = Mt();
|
|
19829
19825
|
function r() {
|
|
19830
19826
|
try {
|
|
19831
|
-
return sessionStorage.getItem(
|
|
19827
|
+
return sessionStorage.getItem(No) === "1";
|
|
19832
19828
|
} catch {
|
|
19833
19829
|
return !1;
|
|
19834
19830
|
}
|
|
@@ -19853,7 +19849,7 @@ const gt = (e) => ({
|
|
|
19853
19849
|
function b() {
|
|
19854
19850
|
l.value = !0;
|
|
19855
19851
|
try {
|
|
19856
|
-
sessionStorage.setItem(
|
|
19852
|
+
sessionStorage.setItem(No, "1");
|
|
19857
19853
|
} catch {
|
|
19858
19854
|
}
|
|
19859
19855
|
}
|
|
@@ -19898,7 +19894,7 @@ const gt = (e) => ({
|
|
|
19898
19894
|
})
|
|
19899
19895
|
], 8, Ip)
|
|
19900
19896
|
])
|
|
19901
|
-
])) :
|
|
19897
|
+
])) : Ho("", !0);
|
|
19902
19898
|
};
|
|
19903
19899
|
}
|
|
19904
19900
|
});
|
|
@@ -20225,18 +20221,18 @@ var Fs = { exports: {} };
|
|
|
20225
20221
|
return w.prototype.init = function(m) {
|
|
20226
20222
|
var d, g, h;
|
|
20227
20223
|
return n(this, void 0, void 0, function() {
|
|
20228
|
-
var S, k, H, W, $, F, se, Ce, qe, Ee, Ye, Re, Ne, We, Wt, Ut, Ot, Se, oe, Wa, Lt,
|
|
20224
|
+
var S, k, H, W, $, F, se, Ce, qe, Ee, Ye, Re, Ne, We, Wt, Ut, Ot, Se, oe, Wa, Lt, _s, Bt, Ua, $s, eo, La, to, Qa, Qt, Tt, ao, Pe = this;
|
|
20229
20225
|
return r(this, function(Ge) {
|
|
20230
20226
|
switch (Ge.label) {
|
|
20231
20227
|
case 0:
|
|
20232
20228
|
S = O(m.evaluationContext || this.evaluationContext), Ge.label = 1;
|
|
20233
20229
|
case 1:
|
|
20234
|
-
if (Ge.trys.push([1, 13, , 14]), k = m.environmentID, H = m.api, W = H === void 0 ? ie : H, $ = m.headers, F = m.onChange, se = m.cacheFlags, Ce = m.datadogRum, qe = m.onError, Ee = m.defaultFlags, Ye = m.fetch, Re = m.preventFetch, Ne = m.enableLogs, We = m.enableDynatrace, Wt = m.enableAnalytics, Ut = m.realtime, Ot = m.eventSourceUrl, Se = Ot === void 0 ? "https://realtime.flagsmith.com/" : Ot, oe = m.AsyncStorage, Wa = m.identity, Lt = m.traits,
|
|
20230
|
+
if (Ge.trys.push([1, 13, , 14]), k = m.environmentID, H = m.api, W = H === void 0 ? ie : H, $ = m.headers, F = m.onChange, se = m.cacheFlags, Ce = m.datadogRum, qe = m.onError, Ee = m.defaultFlags, Ye = m.fetch, Re = m.preventFetch, Ne = m.enableLogs, We = m.enableDynatrace, Wt = m.enableAnalytics, Ut = m.realtime, Ot = m.eventSourceUrl, Se = Ot === void 0 ? "https://realtime.flagsmith.com/" : Ot, oe = m.AsyncStorage, Wa = m.identity, Lt = m.traits, _s = m.state, Bt = m.cacheOptions, Ua = m.angularHttpClient, $s = m._trigger, eo = m._triggerLoadingState, S.environment = k ? { apiKey: k } : S.environment, !S.environment || !S.environment.apiKey) throw new Error("Please provide `evaluationContext.environment` with non-empty `apiKey`");
|
|
20235
20231
|
if (S.identity = Wa || Lt ? { identifier: Wa, traits: Lt ? Object.fromEntries(Object.entries(Lt).map(function(Fe) {
|
|
20236
20232
|
return [Fe[0], { value: Fe[1] }];
|
|
20237
|
-
})) : {} } : S.identity, this.evaluationContext = S, this.api = W, this.headers = $, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = F, La = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger =
|
|
20233
|
+
})) : {} } : S.identity, this.evaluationContext = S, this.api = W, this.headers = $, this.getFlagInterval = null, this.analyticsInterval = null, this.onChange = F, La = "Wrong Flagsmith Configuration: preventFetch is true and no defaulFlags provided", this._trigger = $s || this._trigger, this._triggerLoadingState = eo || this._triggerLoadingState, this.onError = function(Fe) {
|
|
20238
20234
|
Pe.setLoadingState(o(o({}, Pe.loadingState), { isFetching: !1, isLoading: !1, error: Fe })), qe == null || qe(Fe);
|
|
20239
|
-
}, this.enableLogs = Ne || !1, this.cacheOptions = Bt ? { skipAPI: !!Bt.skipAPI, ttl: Bt.ttl || 0, storageKey: Bt.storageKey, loadStale: !!Bt.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."), Ye && (b = Ye), this.enableAnalytics = Wt || !1, this.flags = Object.assign({}, Ee) || {}, this.datadogRum = Ce || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = I !== void 0 && !!se, _ = "FLAGSMITH_EVENT_" + S.environment.apiKey, oe && (I = oe), Ut && typeof window < "u" && this.setupRealtime(Se, S.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = o(o({}, this.loadingState), { isLoading: !1, source: c.DEFAULT_FLAGS })), this.setState(
|
|
20235
|
+
}, this.enableLogs = Ne || !1, this.cacheOptions = Bt ? { skipAPI: !!Bt.skipAPI, ttl: Bt.ttl || 0, storageKey: Bt.storageKey, loadStale: !!Bt.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."), Ye && (b = Ye), this.enableAnalytics = Wt || !1, this.flags = Object.assign({}, Ee) || {}, this.datadogRum = Ce || null, this.initialised = !0, this.ticks = 1e4, this.timer = this.enableLogs ? (/* @__PURE__ */ new Date()).valueOf() : null, this.cacheFlags = I !== void 0 && !!se, _ = "FLAGSMITH_EVENT_" + S.environment.apiKey, oe && (I = oe), Ut && typeof window < "u" && this.setupRealtime(Se, S.environment.apiKey), Object.keys(this.flags).length && (this.loadingState = o(o({}, this.loadingState), { isLoading: !1, source: c.DEFAULT_FLAGS })), this.setState(_s), this.log("Initialising with properties", m, this), We && (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), Ua && (b = /* @__PURE__ */ function(Fe) {
|
|
20240
20236
|
return function(Ue, Le) {
|
|
20241
20237
|
var rt = Le.headers, le = Le.method, xt = Le.body;
|
|
20242
20238
|
return new Promise(function(ht) {
|
|
@@ -20274,9 +20270,9 @@ var Fs = { exports: {} };
|
|
|
20274
20270
|
}
|
|
20275
20271
|
})), !se) return [3, 9];
|
|
20276
20272
|
if (!I || !this.canUseStorage) return [3, 8];
|
|
20277
|
-
|
|
20273
|
+
to = function(Fe, Ue) {
|
|
20278
20274
|
return n(Pe, void 0, void 0, function() {
|
|
20279
|
-
var Le, rt, le, xt, ht, at, Xa,
|
|
20275
|
+
var Le, rt, le, xt, ht, at, Xa, so, za, Za, Ka, Ja, _a, $a, es, ts, as, ss, os, ns, rs, is, ls, ds, oo = this;
|
|
20280
20276
|
return r(this, function(it) {
|
|
20281
20277
|
switch (it.label) {
|
|
20282
20278
|
case 0:
|
|
@@ -20285,7 +20281,7 @@ var Fs = { exports: {} };
|
|
|
20285
20281
|
case 1:
|
|
20286
20282
|
return it.trys.push([1, 5, , 6]), le = JSON.parse(Ue), xt = !1, ht = !1, le && le.api === this.api && ((Za = (za = le.evaluationContext) === null || za === void 0 ? void 0 : za.environment) === null || Za === void 0 ? void 0 : Za.apiKey) === ((Ka = this.evaluationContext.environment) === null || Ka === void 0 ? void 0 : Ka.apiKey) && (at = !0, this.evaluationContext.identity && ((_a = (Ja = le.evaluationContext) === null || Ja === void 0 ? void 0 : Ja.identity) === null || _a === void 0 ? void 0 : _a.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((es = ($a = le.evaluationContext) === null || $a === void 0 ? void 0 : $a.identity) === null || es === void 0 ? void 0 : es.identifier) + " to " + this.evaluationContext.identity.identifier), at = !1), this.cacheOptions.ttl && (!le.ts || (/* @__PURE__ */ new Date()).valueOf() - le.ts > this.cacheOptions.ttl) && (le.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + le.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - le.ts) + "ms"), at = !1) : le.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + le.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - le.ts) + "ms"), ht = !0, at = !0)), at && (xt = !0, rt = u((ts = this.evaluationContext.identity) === null || ts === void 0 ? void 0 : ts.traits, (ss = (as = le.evaluationContext) === null || as === void 0 ? void 0 : as.identity) === null || ss === void 0 ? void 0 : ss.traits), Le = u(this.flags, le.flags), this.setState(o(o({}, le), { evaluationContext: O(o(o({}, le.evaluationContext), { identity: !((os = le.evaluationContext) === null || os === void 0) && os.identity ? o(o({}, (ns = le.evaluationContext) === null || ns === void 0 ? void 0 : ns.identity), { traits: o(o({}, ((is = (rs = le.evaluationContext) === null || rs === void 0 ? void 0 : rs.identity) === null || is === void 0 ? void 0 : is.traits) || {}), Lt || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", le))), xt ? (Xa = !Re && (!this.cacheOptions.skipAPI || ht), this._onChange(null, { isFromServer: !1, flagsChanged: Le, traitsChanged: rt }, this._loadedState(null, c.CACHE, Xa)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && xt && !ht && this.log("Skipping API, using cache"), Xa && this.getFlags().catch(function(Jr) {
|
|
20287
20283
|
var cs;
|
|
20288
|
-
(cs =
|
|
20284
|
+
(cs = oo.onError) === null || cs === void 0 || cs.call(oo, Jr);
|
|
20289
20285
|
}), [3, 4]) : [3, 2];
|
|
20290
20286
|
case 2:
|
|
20291
20287
|
return Re ? [3, 4] : [4, this.getFlags()];
|
|
@@ -20294,7 +20290,7 @@ var Fs = { exports: {} };
|
|
|
20294
20290
|
case 4:
|
|
20295
20291
|
return [3, 6];
|
|
20296
20292
|
case 5:
|
|
20297
|
-
return
|
|
20293
|
+
return so = it.sent(), this.log("Exception fetching cached logs", so), [3, 6];
|
|
20298
20294
|
case 6:
|
|
20299
20295
|
return [3, 10];
|
|
20300
20296
|
case 7:
|
|
@@ -20321,7 +20317,7 @@ var Fs = { exports: {} };
|
|
|
20321
20317
|
case 4:
|
|
20322
20318
|
Qa = Ge.sent(), Ge.label = 5;
|
|
20323
20319
|
case 5:
|
|
20324
|
-
return [4,
|
|
20320
|
+
return [4, to(null, Qa)];
|
|
20325
20321
|
case 6:
|
|
20326
20322
|
case 7:
|
|
20327
20323
|
return Ge.sent(), [3, 8];
|
|
@@ -20338,7 +20334,7 @@ var Fs = { exports: {} };
|
|
|
20338
20334
|
case 12:
|
|
20339
20335
|
return [3, 14];
|
|
20340
20336
|
case 13:
|
|
20341
|
-
throw Tt = Ge.sent(), this.log("Error during initialisation ", Tt),
|
|
20337
|
+
throw Tt = Ge.sent(), this.log("Error during initialisation ", Tt), ao = Tt instanceof Error ? Tt : new Error("".concat(Tt)), (h = this.onError) === null || h === void 0 || h.call(this, ao), Tt;
|
|
20342
20338
|
case 14:
|
|
20343
20339
|
return [2];
|
|
20344
20340
|
}
|
|
@@ -20555,7 +20551,7 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
20555
20551
|
})(Fs, Fs.exports);
|
|
20556
20552
|
var Wp = Fs.exports, Up = {
|
|
20557
20553
|
NOT_INITIALIZED: "FeatureFlag not initialized. Call init() first."
|
|
20558
|
-
},
|
|
20554
|
+
}, Fo = "business", ze, Lp = (ze = class {
|
|
20559
20555
|
constructor() {
|
|
20560
20556
|
ia(this, "flagsmithClient", null);
|
|
20561
20557
|
ia(this, "userContext", null);
|
|
@@ -20676,7 +20672,7 @@ function Xp(e = Qp) {
|
|
|
20676
20672
|
} catch (b) {
|
|
20677
20673
|
console.error("Failed to set user:", b), Et.value = b;
|
|
20678
20674
|
}
|
|
20679
|
-
}, o = async (c) => s(`${
|
|
20675
|
+
}, o = async (c) => s(`${Fo}-${c}`), n = (c, b, T = null) => {
|
|
20680
20676
|
if (!t()) return T;
|
|
20681
20677
|
try {
|
|
20682
20678
|
return e.getFlagValue(c, b) ?? T;
|
|
@@ -20697,7 +20693,7 @@ function Xp(e = Qp) {
|
|
|
20697
20693
|
} catch (C) {
|
|
20698
20694
|
return console.error(`Error getting user flag value for ${b}:`, C), T;
|
|
20699
20695
|
}
|
|
20700
|
-
}, p = async (c, b, T = null, Y) => l(`${
|
|
20696
|
+
}, p = async (c, b, T = null, Y) => l(`${Fo}-${c}`, b, T, Y), u = () => {
|
|
20701
20697
|
try {
|
|
20702
20698
|
e.reset();
|
|
20703
20699
|
} catch (c) {
|
|
@@ -20721,11 +20717,11 @@ function Xp(e = Qp) {
|
|
|
20721
20717
|
};
|
|
20722
20718
|
}
|
|
20723
20719
|
var zp = () => Xp();
|
|
20724
|
-
const
|
|
20720
|
+
const Rh = /* @__PURE__ */ nt({
|
|
20725
20721
|
__name: "App",
|
|
20726
20722
|
setup(e) {
|
|
20727
20723
|
const t = Mt(), { init: a } = zp();
|
|
20728
|
-
return
|
|
20724
|
+
return Go(async () => {
|
|
20729
20725
|
t.registerSidebarComponent(Fp), await a({
|
|
20730
20726
|
apiKey: t.namespace.value === "prod" ? "6GhcttsJ9Rj9cTevcdrpin" : "MaGoXrEWuEJNpWgKTqseee"
|
|
20731
20727
|
});
|
|
@@ -20738,14 +20734,14 @@ const Nh = /* @__PURE__ */ nt({
|
|
|
20738
20734
|
};
|
|
20739
20735
|
}
|
|
20740
20736
|
});
|
|
20741
|
-
var fs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.2-dev.
|
|
20737
|
+
var fs = { name: "@feedmepos/mf-hrm-portal", version: "2.3.2-dev.5", mode: "fmmf" };
|
|
20742
20738
|
console.log(
|
|
20743
20739
|
`%c${fs.name}%c v${fs.version} %c${fs.mode}`,
|
|
20744
20740
|
"background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
|
|
20745
20741
|
"background:#42b883;color:#1f1f1f;padding:2px 6px",
|
|
20746
20742
|
"background:#555;color:#fff;padding:2px 6px;border-radius:0 3px 3px 0"
|
|
20747
20743
|
);
|
|
20748
|
-
const
|
|
20744
|
+
const Nh = () => {
|
|
20749
20745
|
const e = [
|
|
20750
20746
|
id,
|
|
20751
20747
|
_l,
|
|
@@ -20771,13 +20767,12 @@ const Fh = () => {
|
|
|
20771
20767
|
export {
|
|
20772
20768
|
th as A,
|
|
20773
20769
|
nh as B,
|
|
20774
|
-
|
|
20770
|
+
i as C,
|
|
20775
20771
|
oh as D,
|
|
20776
|
-
|
|
20777
|
-
|
|
20772
|
+
Nh as E,
|
|
20773
|
+
Rh as F,
|
|
20778
20774
|
eh as G,
|
|
20779
|
-
|
|
20780
|
-
Rh as I,
|
|
20775
|
+
Eh as H,
|
|
20781
20776
|
sh as O,
|
|
20782
20777
|
Z as R,
|
|
20783
20778
|
ah as S,
|
|
@@ -20785,29 +20780,29 @@ export {
|
|
|
20785
20780
|
tl as U,
|
|
20786
20781
|
Bu as _,
|
|
20787
20782
|
Np as a,
|
|
20788
|
-
|
|
20783
|
+
Xr as b,
|
|
20789
20784
|
xu as c,
|
|
20790
20785
|
kh as d,
|
|
20791
|
-
|
|
20792
|
-
|
|
20793
|
-
|
|
20794
|
-
|
|
20786
|
+
Mh as e,
|
|
20787
|
+
Bh as f,
|
|
20788
|
+
zr as g,
|
|
20789
|
+
Ve as h,
|
|
20795
20790
|
Zr as i,
|
|
20796
|
-
|
|
20797
|
-
|
|
20798
|
-
|
|
20791
|
+
Dh as j,
|
|
20792
|
+
cl as k,
|
|
20793
|
+
up as l,
|
|
20799
20794
|
Xe as m,
|
|
20800
|
-
|
|
20801
|
-
|
|
20802
|
-
|
|
20803
|
-
|
|
20795
|
+
Fc as n,
|
|
20796
|
+
Th as o,
|
|
20797
|
+
xh as p,
|
|
20798
|
+
rh as q,
|
|
20804
20799
|
mp as r,
|
|
20805
|
-
|
|
20806
|
-
|
|
20800
|
+
sl as s,
|
|
20801
|
+
Oh as t,
|
|
20807
20802
|
zp as u,
|
|
20808
20803
|
P as v,
|
|
20809
|
-
|
|
20810
|
-
|
|
20811
|
-
|
|
20812
|
-
|
|
20804
|
+
Kt as w,
|
|
20805
|
+
jc as x,
|
|
20806
|
+
au as y,
|
|
20807
|
+
Ph as z
|
|
20813
20808
|
};
|