@feedmepos/mf-hrm-portal 2.0.24-dev.12 → 2.0.24-dev.14
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/{AuditLogList-_OSOwJVi.js → AuditLogList-CtneTBoV.js} +378 -365
- package/dist/{EmployeeList-DrBO8Kk6.js → EmployeeList-C7dIO8gr.js} +6 -6
- package/dist/{Main-CuFC87ma.js → Main-3gbHRwy4.js} +6 -6
- package/dist/{Main-3j9ReeYP.js → Main-CU92m_i1.js} +9 -9
- package/dist/{Main-CB8WXm4L.js → Main-D5PmpNiB.js} +4 -4
- package/dist/{PermissionSetList-DRyugr1w.js → PermissionSetList-Dej3hhUp.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BpI_IJIp.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9fM3DpC.js} +744 -744
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Dj0pRX1U.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-DiCE_AYD.js} +1 -1
- package/dist/{RoleList-B7kXklX5.js → RoleList-B98ExzJE.js} +7 -7
- package/dist/{TeamMemberList-CbqkMiT6.js → TeamMemberList-YTHgBCoO.js} +8 -8
- package/dist/{TimesheetList-Cr74-E32.js → TimesheetList-2HclOof1.js} +6 -6
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-Cdd6GpKp.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BBHwVX-k.js} +2 -2
- package/dist/{app-Bn7c7G7J.js → app-CoIsLUsi.js} +190 -172
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-D9tKWmYV.js → dayjs.min-JqoERYFc.js} +1 -1
- package/dist/{employee-VNw8J2OI.js → employee-D_oJJt4e.js} +3 -3
- package/dist/{iteration-xEBe_nnw.js → iteration-CmwYwOHJ.js} +1 -1
- package/dist/{lodash-BSzlmur1.js → lodash-DISd2c6W.js} +1 -1
- package/dist/{rule-DUXHgPce.js → rule-B4b6tRUV.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-Cj44joeR.js → useAppStore-m4x4qFHC.js} +1 -1
- package/dist/{useLoading-DCVDPJRt.js → useLoading-BcujhoYe.js} +1 -1
- package/dist/{useReportPermissions-DUDF9brn.js → useReportPermissions-bHlIA-k-.js} +3 -3
- package/package.json +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Ze = (e, A, m) =>
|
|
4
|
-
import { isRef as
|
|
5
|
-
import { useBreakpoints as
|
|
6
|
-
import { useRoute as
|
|
1
|
+
var _s = Object.defineProperty;
|
|
2
|
+
var $s = (e, A, m) => A in e ? _s(e, A, { enumerable: !0, configurable: !0, writable: !0, value: m }) : e[A] = m;
|
|
3
|
+
var Ze = (e, A, m) => $s(e, typeof A != "symbol" ? A + "" : A, m);
|
|
4
|
+
import { isRef as en, ref as ve, shallowRef as tn, watchEffect as Wt, computed as jt, h as Qt, defineComponent as xe, createBlock as ke, renderSlot as Tt, createCommentVNode as sn, unref as Me, openBlock as Ve, createElementBlock as St, createElementVNode as we, toDisplayString as It, watch as nn, nextTick as rn, onMounted as kt, onBeforeUnmount as an, normalizeStyle as on, resolveComponent as Gt, withCtx as ln, createVNode as cn, defineAsyncComponent as An, readonly as vt } from "vue";
|
|
5
|
+
import { useBreakpoints as un } from "@feedmepos/ui-library";
|
|
6
|
+
import { useRoute as mn, useRouter as gn } from "vue-router";
|
|
7
7
|
import { useCoreStore as Yt, useI18n as Kt } from "@feedmepos/mf-common";
|
|
8
8
|
const Lt = {
|
|
9
9
|
predefinedRanges: {
|
|
@@ -136,14 +136,14 @@ const Lt = {
|
|
|
136
136
|
requestPath: "Request Path",
|
|
137
137
|
requestBody: "Request Body"
|
|
138
138
|
}
|
|
139
|
-
},
|
|
139
|
+
}, dn = {
|
|
140
140
|
date: Lt,
|
|
141
141
|
auditLog: Jt
|
|
142
|
-
},
|
|
142
|
+
}, pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
143
143
|
__proto__: null,
|
|
144
144
|
auditLog: Jt,
|
|
145
145
|
date: Lt,
|
|
146
|
-
default:
|
|
146
|
+
default: dn
|
|
147
147
|
}, Symbol.toStringTag, { value: "Module" })), _t = {
|
|
148
148
|
predefinedRanges: {
|
|
149
149
|
today: "วันนี้",
|
|
@@ -276,14 +276,14 @@ const Lt = {
|
|
|
276
276
|
requestPath: "URL ที่เข้าถึง",
|
|
277
277
|
requestBody: "เนื้อหาคำขอ"
|
|
278
278
|
}
|
|
279
|
-
},
|
|
279
|
+
}, bn = {
|
|
280
280
|
date: _t,
|
|
281
281
|
auditLog: $t
|
|
282
|
-
},
|
|
282
|
+
}, fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
283
283
|
__proto__: null,
|
|
284
284
|
auditLog: $t,
|
|
285
285
|
date: _t,
|
|
286
|
-
default:
|
|
286
|
+
default: bn
|
|
287
287
|
}, Symbol.toStringTag, { value: "Module" })), es = {
|
|
288
288
|
predefinedRanges: {
|
|
289
289
|
today: "今天",
|
|
@@ -416,14 +416,14 @@ const Lt = {
|
|
|
416
416
|
requestPath: "请求路径",
|
|
417
417
|
requestBody: "请求内容"
|
|
418
418
|
}
|
|
419
|
-
},
|
|
419
|
+
}, yn = {
|
|
420
420
|
date: es,
|
|
421
421
|
auditLog: ts
|
|
422
|
-
},
|
|
422
|
+
}, vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
423
423
|
__proto__: null,
|
|
424
424
|
auditLog: ts,
|
|
425
425
|
date: es,
|
|
426
|
-
default:
|
|
426
|
+
default: yn
|
|
427
427
|
}, Symbol.toStringTag, { value: "Module" })), ss = {
|
|
428
428
|
predefinedRanges: {
|
|
429
429
|
today: "今天",
|
|
@@ -556,19 +556,19 @@ const Lt = {
|
|
|
556
556
|
requestPath: "請求路徑",
|
|
557
557
|
requestBody: "請求內容"
|
|
558
558
|
}
|
|
559
|
-
},
|
|
559
|
+
}, hn = {
|
|
560
560
|
date: ss,
|
|
561
561
|
auditLog: ns
|
|
562
|
-
},
|
|
562
|
+
}, Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
563
563
|
__proto__: null,
|
|
564
564
|
auditLog: ns,
|
|
565
565
|
date: ss,
|
|
566
|
-
default:
|
|
567
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
568
|
-
"en-US":
|
|
569
|
-
"zh-CN":
|
|
570
|
-
"th-TH":
|
|
571
|
-
"zh-Hant":
|
|
566
|
+
default: hn
|
|
567
|
+
}, Symbol.toStringTag, { value: "Module" })), wn = {
|
|
568
|
+
"en-US": pn,
|
|
569
|
+
"zh-CN": vn,
|
|
570
|
+
"th-TH": fn,
|
|
571
|
+
"zh-Hant": Bn
|
|
572
572
|
}, rs = {
|
|
573
573
|
employee: {
|
|
574
574
|
title: "Employee",
|
|
@@ -769,11 +769,11 @@ const Lt = {
|
|
|
769
769
|
placeholder: "Search restaurant"
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
|
-
},
|
|
772
|
+
}, Mn = {
|
|
773
773
|
hr: rs
|
|
774
|
-
},
|
|
774
|
+
}, Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
775
775
|
__proto__: null,
|
|
776
|
-
default:
|
|
776
|
+
default: Mn,
|
|
777
777
|
hr: rs
|
|
778
778
|
}, Symbol.toStringTag, { value: "Module" })), as = {
|
|
779
779
|
employee: {
|
|
@@ -974,11 +974,11 @@ const Lt = {
|
|
|
974
974
|
placeholder: "ค้นหาร้านอาหาร"
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
-
},
|
|
977
|
+
}, Dn = {
|
|
978
978
|
hr: as
|
|
979
|
-
},
|
|
979
|
+
}, jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
980
980
|
__proto__: null,
|
|
981
|
-
default:
|
|
981
|
+
default: Dn,
|
|
982
982
|
hr: as
|
|
983
983
|
}, Symbol.toStringTag, { value: "Module" })), os = {
|
|
984
984
|
employee: {
|
|
@@ -1180,11 +1180,11 @@ const Lt = {
|
|
|
1180
1180
|
placeholder: "搜索餐厅"
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
|
-
},
|
|
1183
|
+
}, Gn = {
|
|
1184
1184
|
hr: os
|
|
1185
|
-
},
|
|
1185
|
+
}, Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1186
1186
|
__proto__: null,
|
|
1187
|
-
default:
|
|
1187
|
+
default: Gn,
|
|
1188
1188
|
hr: os
|
|
1189
1189
|
}, Symbol.toStringTag, { value: "Module" })), is = {
|
|
1190
1190
|
employee: {
|
|
@@ -1381,17 +1381,17 @@ const Lt = {
|
|
|
1381
1381
|
subtitle: ""
|
|
1382
1382
|
}
|
|
1383
1383
|
}
|
|
1384
|
-
},
|
|
1384
|
+
}, En = {
|
|
1385
1385
|
hr: is
|
|
1386
|
-
},
|
|
1386
|
+
}, xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1387
1387
|
__proto__: null,
|
|
1388
|
-
default:
|
|
1388
|
+
default: En,
|
|
1389
1389
|
hr: is
|
|
1390
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1391
|
-
"en-US":
|
|
1392
|
-
"zh-CN":
|
|
1393
|
-
"th-TH":
|
|
1394
|
-
"zh-Hant":
|
|
1390
|
+
}, Symbol.toStringTag, { value: "Module" })), Vn = {
|
|
1391
|
+
"en-US": Cn,
|
|
1392
|
+
"zh-CN": Yn,
|
|
1393
|
+
"th-TH": jn,
|
|
1394
|
+
"zh-Hant": xn
|
|
1395
1395
|
}, ls = {
|
|
1396
1396
|
title: "Team members",
|
|
1397
1397
|
actions: {
|
|
@@ -1618,12 +1618,12 @@ const Lt = {
|
|
|
1618
1618
|
permissions: "Permissions"
|
|
1619
1619
|
}
|
|
1620
1620
|
}
|
|
1621
|
-
},
|
|
1621
|
+
}, Pn = {
|
|
1622
1622
|
team: ls,
|
|
1623
1623
|
permissionSet: cs
|
|
1624
|
-
},
|
|
1624
|
+
}, Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1625
1625
|
__proto__: null,
|
|
1626
|
-
default:
|
|
1626
|
+
default: Pn,
|
|
1627
1627
|
permissionSet: cs,
|
|
1628
1628
|
team: ls
|
|
1629
1629
|
}, Symbol.toStringTag, { value: "Module" })), As = {
|
|
@@ -1852,12 +1852,12 @@ const Lt = {
|
|
|
1852
1852
|
permissions: "สิทธิ์"
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
|
-
},
|
|
1855
|
+
}, On = {
|
|
1856
1856
|
team: As,
|
|
1857
1857
|
permissionSet: us
|
|
1858
|
-
},
|
|
1858
|
+
}, qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1859
1859
|
__proto__: null,
|
|
1860
|
-
default:
|
|
1860
|
+
default: On,
|
|
1861
1861
|
permissionSet: us,
|
|
1862
1862
|
team: As
|
|
1863
1863
|
}, Symbol.toStringTag, { value: "Module" })), ms = {
|
|
@@ -2086,12 +2086,12 @@ const Lt = {
|
|
|
2086
2086
|
permissions: "权限"
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
|
-
},
|
|
2089
|
+
}, Hn = {
|
|
2090
2090
|
team: ms,
|
|
2091
2091
|
permissionSet: gs
|
|
2092
|
-
},
|
|
2092
|
+
}, Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2093
2093
|
__proto__: null,
|
|
2094
|
-
default:
|
|
2094
|
+
default: Hn,
|
|
2095
2095
|
permissionSet: gs,
|
|
2096
2096
|
team: ms
|
|
2097
2097
|
}, Symbol.toStringTag, { value: "Module" })), ds = {
|
|
@@ -2327,19 +2327,19 @@ const Lt = {
|
|
|
2327
2327
|
permissions: "權限"
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
|
-
},
|
|
2330
|
+
}, Qn = {
|
|
2331
2331
|
team: ds,
|
|
2332
2332
|
permissionSet: ps
|
|
2333
|
-
},
|
|
2333
|
+
}, In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2334
2334
|
__proto__: null,
|
|
2335
|
-
default:
|
|
2335
|
+
default: Qn,
|
|
2336
2336
|
permissionSet: ps,
|
|
2337
2337
|
team: ds
|
|
2338
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2339
|
-
"en-US":
|
|
2340
|
-
"zh-CN":
|
|
2341
|
-
"th-TH":
|
|
2342
|
-
"zh-Hant":
|
|
2338
|
+
}, Symbol.toStringTag, { value: "Module" })), Rn = {
|
|
2339
|
+
"en-US": Fn,
|
|
2340
|
+
"zh-CN": Xn,
|
|
2341
|
+
"th-TH": qn,
|
|
2342
|
+
"zh-Hant": In
|
|
2343
2343
|
}, bs = {
|
|
2344
2344
|
title: "POS Grant",
|
|
2345
2345
|
actions: {
|
|
@@ -2394,11 +2394,11 @@ const Lt = {
|
|
|
2394
2394
|
passcode: {
|
|
2395
2395
|
copied: "Passcode copied"
|
|
2396
2396
|
}
|
|
2397
|
-
},
|
|
2397
|
+
}, Nn = {
|
|
2398
2398
|
grantUser: bs
|
|
2399
|
-
},
|
|
2399
|
+
}, Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2400
2400
|
__proto__: null,
|
|
2401
|
-
default:
|
|
2401
|
+
default: Nn,
|
|
2402
2402
|
grantUser: bs
|
|
2403
2403
|
}, Symbol.toStringTag, { value: "Module" })), fs = {
|
|
2404
2404
|
title: "POS Grant",
|
|
@@ -2454,11 +2454,11 @@ const Lt = {
|
|
|
2454
2454
|
passcode: {
|
|
2455
2455
|
copied: "คัดลอกรหัสผ่านแล้ว"
|
|
2456
2456
|
}
|
|
2457
|
-
},
|
|
2457
|
+
}, zn = {
|
|
2458
2458
|
grantUser: fs
|
|
2459
|
-
},
|
|
2459
|
+
}, Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2460
2460
|
__proto__: null,
|
|
2461
|
-
default:
|
|
2461
|
+
default: zn,
|
|
2462
2462
|
grantUser: fs
|
|
2463
2463
|
}, Symbol.toStringTag, { value: "Module" })), ys = {
|
|
2464
2464
|
title: "POS 授予",
|
|
@@ -2514,11 +2514,11 @@ const Lt = {
|
|
|
2514
2514
|
passcode: {
|
|
2515
2515
|
copied: "密码已复制"
|
|
2516
2516
|
}
|
|
2517
|
-
},
|
|
2517
|
+
}, Wn = {
|
|
2518
2518
|
grantUser: ys
|
|
2519
|
-
},
|
|
2519
|
+
}, Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2520
2520
|
__proto__: null,
|
|
2521
|
-
default:
|
|
2521
|
+
default: Wn,
|
|
2522
2522
|
grantUser: ys
|
|
2523
2523
|
}, Symbol.toStringTag, { value: "Module" })), vs = {
|
|
2524
2524
|
title: "POS 授予",
|
|
@@ -2574,19 +2574,19 @@ const Lt = {
|
|
|
2574
2574
|
passcode: {
|
|
2575
2575
|
copied: "密碼已複製"
|
|
2576
2576
|
}
|
|
2577
|
-
},
|
|
2577
|
+
}, Sn = {
|
|
2578
2578
|
grantUser: vs
|
|
2579
|
-
},
|
|
2579
|
+
}, kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2580
2580
|
__proto__: null,
|
|
2581
|
-
default:
|
|
2581
|
+
default: Sn,
|
|
2582
2582
|
grantUser: vs
|
|
2583
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2584
|
-
"en-US":
|
|
2585
|
-
"zh-CN":
|
|
2586
|
-
"th-TH":
|
|
2587
|
-
"zh-Hant":
|
|
2583
|
+
}, Symbol.toStringTag, { value: "Module" })), Kn = {
|
|
2584
|
+
"en-US": Zn,
|
|
2585
|
+
"zh-CN": Tn,
|
|
2586
|
+
"th-TH": Un,
|
|
2587
|
+
"zh-Hant": kn
|
|
2588
2588
|
};
|
|
2589
|
-
var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.payment = "business::payment", e.payment_payoutAccount = "business::payment::payoutAccount", e.payment_paymentOnboarding = "business::payment::paymentOnboarding", e.payment_transactions = "business::payment::transactions", e.payment_settlements = "business::payment::settlements", e.inventory_stock = "business::inventory::stock", e.inventory_stockBalance = "business::inventory::stockBalance", e.inventory_stockAdjustment = "business::inventory::stockAdjustment", e.inventory_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.kiosk_deviceManagement = "business::kiosk::deviceManagement", e.kiosk_deviceBinding = "business::kiosk::deviceBinding", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e))(o || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {}), hs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(hs || {});
|
|
2589
|
+
var t = /* @__PURE__ */ ((e) => (e.manage = "manage", e.create = "create", e.read = "read", e.update = "update", e.delete = "delete", e))(t || {}), o = /* @__PURE__ */ ((e) => (e.miniProgram_profile = "business::miniProgram::profile", e.miniProgram_brandkit = "business::miniProgram::brandkit", e.miniProgram_template = "business::miniProgram::template", e.miniProgram_publish = "business::miniProgram::publish", e.miniProgram_assets = "business::miniProgram::assets", e.miniProgram_nativeCredentials = "business::miniProgram::nativeCredentials", e.crm = "business::crm", e.crm_promotion = "business::crm::promotion", e.crm_voucher = "business::crm::voucher", e.crm_membership = "business::crm::membership", e.crm_analytic = "business::crm::analytic", e.crm_tier = "business::crm::tier", e.crm_title = "business::crm::title", e.crm_broadcast = "business::crm::broadcast", e.crm_point = "business::crm::point", e.crm_credit = "business::crm::credit", e.crm_experience = "business::crm::experience", e.crm_game = "business::crm::game", e.crm_mission = "business::crm::mission", e.crm_loyaltyMember = "business::crm::loyaltyMember", e.crm_loyaltySegment = "business::crm::loyaltySegment", e.crm_loyaltyCard = "business::crm::loyaltyCard", e.crm_referral = "business::crm::referral", e.crm_store = "business::crm::store", e.crm_transaction = "business::crm::transaction", e.crm_setting = "business::crm::setting", e.crm_bin = "business::crm::bin", e.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_unitCostHistory = "business::inventory::unitCostHistory", e.inventory_wastageTemplate = "business::inventory::wastageTemplate", e.inventory_closingHistory = "business::inventory::closingHistory", e.inventory_closingTemplate = "business::inventory::closingTemplate", e.inventory_closingDraft = "business::inventory::closingDraft", e.inventory_ingredient = "business::inventory::ingredient", e.inventory_ingredientGroup = "business::inventory::ingredientGroup", e.inventory_recipe = "business::inventory::recipe", e.inventory_unit = "business::inventory::unit", e.inventory_purchaseTransfer = "business::inventory::purchaseTransfer", e.inventory_orderDraftApproval = "business::inventory::orderDraftApproval", e.inventory_transferOut = "business::inventory::transferOut", e.inventory_surcharge = "business::inventory::surcharge", e.inventory_orderTemplate = "business::inventory::orderTemplate", e.inventory_supplier = "business::inventory::supplier", e.inventory_warehouse = "business::inventory::warehouse", e.inventory_publish = "business::inventory::publish", e.inventory_import = "business::inventory::import", e.inventory_integration = "business::inventory::integration", e.hrm = "business::hrm", e.hrm_employee = "business::hrm::employee", e.hrm_teamMember = "business::hrm::teamMember", e.hrm_auditLog = "business::hrm::auditLog", e.menu = "business::menu", e.menu_item = "business::menu::item", e.menu_catalog = "business::menu::catalog", e.menu_category = "business::menu::category", e.menu_subCategory = "business::menu::subCategory", e.menu_group = "business::menu::group", e.menu_takeaway = "business::menu::takeaway", e.menu_scheduler = "business::menu::scheduler", e.menu_variant = "business::menu::variant", e.menu_cookingGuide = "business::menu::cookingGuide", e.menu_printRoute = "business::menu::printRoute", e.menu_servingSequence = "business::menu::servingSequence", e.menu_settings = "business::menu::settings", e.menu_publish = "business::menu::publish", e.menu_menuManagement = "business::menu::menuManagement", e.menu_importExport = "business::menu::importExport", e.menu_unit = "business::menu::unit", e.menu_ingredient = "business::menu::ingredient", e.menu_recipe = "business::menu::recipe", e.restaurant = "business::restaurant", e.role = "business::role", e.mdm_deviceManagement = "business::mdm::deviceManagement", e.mdm_createDevice = "business::mdm::createDevice", e.mdm_deviceBinding = "business::mdm::deviceBinding", e.mdm_customerDisplay = "business::mdm::customerDisplay", e.kiosk_deviceManagement = "business::kiosk::deviceManagement", e.kiosk_deviceBinding = "business::kiosk::deviceBinding", e.eInvoice_management = "business::eInvoice::management", e.eInvoice_integration = "business::eInvoice::integration", e.profile = "business::profile", e.report_createReport = "business::report::createReport", e.report_accessInsight = "business::report::accessInsight", e.report_accessSetting = "business::report::accessSetting", e.report_accessIntegration = "business::report::accessIntegration", e.report_accessOverview = "business::report::accessOverview", e.report_reports_allDefaultReports = "business::report::allDefaultReports", e.report_reports_allCustomReports = "business::report::allCustomReports", e.operation_receipt = "business::operation::receipt", e.operation_tableManagement = "business::operation::tableManagement", e.operation_offlinePayment = "business::operation::offlinePayment", e.operation_reasonTemplate = "business::operation::reasonTemplate", e.operation_discountRule = "business::operation::discountRule", e.operation_serviceCharge = "business::operation::serviceCharge", e.operation_kitchenPrintTemplate = "business::operation::kitchenPrintTemplate", e.operation_orderSetting = "business::operation::orderSetting", e))(o || {}), U = /* @__PURE__ */ ((e) => (e.profile = "business::profile", e.restaurant = "business::restaurant", e.menu = "business::menu", e.promotion = "business::promotion", e.voucher = "business::voucher", e.membership = "business::membership", e.stock = "business::stock", e.permission = "business::permission", e.role = "business::role", e.wastageTemplate = "business::wastageTemplate", e.closingTemplate = "business::closingTemplate", e.orderTemplate = "business::orderTemplate", e.ingredient = "business::ingredient", e.recipe = "business::recipe", e.unit = "business::unit", e.supplier = "business::supplier", e.warehouse = "business::warehouse", e.publish = "business::publish", e.integration = "business::integration", e.orderDraft = "business::orderDraft", e.unitCostHistory = "business::unitCostHistory", e))(U || {}), hs = /* @__PURE__ */ ((e) => (e.restaurant = "restaurant", e))(hs || {});
|
|
2590
2590
|
const b = {
|
|
2591
2591
|
general: "General",
|
|
2592
2592
|
inventory: "Inventory",
|
|
@@ -2600,7 +2600,7 @@ const b = {
|
|
|
2600
2600
|
reports: "Default Report",
|
|
2601
2601
|
customReports: "Custom Report",
|
|
2602
2602
|
miniProgram: "Mini Program"
|
|
2603
|
-
},
|
|
2603
|
+
}, Ln = "access-denied", We = {
|
|
2604
2604
|
Action: t,
|
|
2605
2605
|
Subject: {
|
|
2606
2606
|
Business: o,
|
|
@@ -2996,6 +2996,12 @@ const b = {
|
|
|
2996
2996
|
actions: [t.manage],
|
|
2997
2997
|
category: b.crm
|
|
2998
2998
|
},
|
|
2999
|
+
crmMarketingMaterial: {
|
|
3000
|
+
label: "Marketing Material Management",
|
|
3001
|
+
subject: o.crm_marketingMaterial,
|
|
3002
|
+
actions: [t.manage],
|
|
3003
|
+
category: b.crm
|
|
3004
|
+
},
|
|
2999
3005
|
// Payment
|
|
3000
3006
|
paymentPayoutAccount: {
|
|
3001
3007
|
label: "Payout Account Management",
|
|
@@ -3200,6 +3206,13 @@ const b = {
|
|
|
3200
3206
|
category: b.operation,
|
|
3201
3207
|
showByFeatureFlag: "hrm_enable_operation_permission"
|
|
3202
3208
|
},
|
|
3209
|
+
operationOrderSetting: {
|
|
3210
|
+
label: "Order Settings",
|
|
3211
|
+
subject: o.operation_orderSetting,
|
|
3212
|
+
actions: [t.manage],
|
|
3213
|
+
category: b.operation,
|
|
3214
|
+
showByFeatureFlag: "hrm_enable_operation_permission"
|
|
3215
|
+
},
|
|
3203
3216
|
// Mini Program
|
|
3204
3217
|
miniProgramProfile: {
|
|
3205
3218
|
label: "Business Profile Management",
|
|
@@ -3251,7 +3264,7 @@ const R = [
|
|
|
3251
3264
|
subject: q.crm,
|
|
3252
3265
|
actions: [t.read]
|
|
3253
3266
|
}
|
|
3254
|
-
], $ = (...e) => e.flat(),
|
|
3267
|
+
], $ = (...e) => e.flat(), Jn = [
|
|
3255
3268
|
...R,
|
|
3256
3269
|
{
|
|
3257
3270
|
label: "User",
|
|
@@ -3263,7 +3276,7 @@ const R = [
|
|
|
3263
3276
|
t.delete
|
|
3264
3277
|
]
|
|
3265
3278
|
}
|
|
3266
|
-
],
|
|
3279
|
+
], _n = [
|
|
3267
3280
|
...R,
|
|
3268
3281
|
{
|
|
3269
3282
|
label: "Segmentation",
|
|
@@ -3299,7 +3312,7 @@ const R = [
|
|
|
3299
3312
|
t.delete
|
|
3300
3313
|
]
|
|
3301
3314
|
}
|
|
3302
|
-
],
|
|
3315
|
+
], $n = [
|
|
3303
3316
|
...R,
|
|
3304
3317
|
{
|
|
3305
3318
|
label: "Location",
|
|
@@ -3311,7 +3324,7 @@ const R = [
|
|
|
3311
3324
|
t.delete
|
|
3312
3325
|
]
|
|
3313
3326
|
}
|
|
3314
|
-
],
|
|
3327
|
+
], er = [
|
|
3315
3328
|
...R,
|
|
3316
3329
|
{
|
|
3317
3330
|
label: "Effect",
|
|
@@ -3323,14 +3336,14 @@ const R = [
|
|
|
3323
3336
|
t.delete
|
|
3324
3337
|
]
|
|
3325
3338
|
}
|
|
3326
|
-
],
|
|
3339
|
+
], tr = [
|
|
3327
3340
|
...R,
|
|
3328
3341
|
{
|
|
3329
3342
|
label: "Setting",
|
|
3330
3343
|
subject: q.crm_setting,
|
|
3331
3344
|
actions: [t.read, t.update]
|
|
3332
3345
|
}
|
|
3333
|
-
],
|
|
3346
|
+
], sr = [
|
|
3334
3347
|
...R,
|
|
3335
3348
|
{
|
|
3336
3349
|
label: "Reward",
|
|
@@ -3366,7 +3379,7 @@ const R = [
|
|
|
3366
3379
|
t.delete
|
|
3367
3380
|
]
|
|
3368
3381
|
}
|
|
3369
|
-
],
|
|
3382
|
+
], Ds = [
|
|
3370
3383
|
...R,
|
|
3371
3384
|
{
|
|
3372
3385
|
label: "Marketing Material",
|
|
@@ -3378,7 +3391,7 @@ const R = [
|
|
|
3378
3391
|
t.delete
|
|
3379
3392
|
]
|
|
3380
3393
|
}
|
|
3381
|
-
],
|
|
3394
|
+
], js = [
|
|
3382
3395
|
...R,
|
|
3383
3396
|
{
|
|
3384
3397
|
label: "Analytic",
|
|
@@ -3481,7 +3494,7 @@ const R = [
|
|
|
3481
3494
|
t.delete
|
|
3482
3495
|
]
|
|
3483
3496
|
}
|
|
3484
|
-
],
|
|
3497
|
+
], Gs = [
|
|
3485
3498
|
...R,
|
|
3486
3499
|
{
|
|
3487
3500
|
label: "Loyalty Member",
|
|
@@ -3493,7 +3506,7 @@ const R = [
|
|
|
3493
3506
|
t.delete
|
|
3494
3507
|
]
|
|
3495
3508
|
}
|
|
3496
|
-
],
|
|
3509
|
+
], Ys = [
|
|
3497
3510
|
...R,
|
|
3498
3511
|
{
|
|
3499
3512
|
label: "Loyalty Segment",
|
|
@@ -3505,7 +3518,7 @@ const R = [
|
|
|
3505
3518
|
t.delete
|
|
3506
3519
|
]
|
|
3507
3520
|
}
|
|
3508
|
-
],
|
|
3521
|
+
], Es = [
|
|
3509
3522
|
...R,
|
|
3510
3523
|
{
|
|
3511
3524
|
label: "Loyalty Card",
|
|
@@ -3517,43 +3530,43 @@ const R = [
|
|
|
3517
3530
|
t.delete
|
|
3518
3531
|
]
|
|
3519
3532
|
}
|
|
3520
|
-
],
|
|
3533
|
+
], xs = [
|
|
3521
3534
|
...R,
|
|
3522
3535
|
{
|
|
3523
3536
|
label: "Bin",
|
|
3524
3537
|
subject: q.crm_bin,
|
|
3525
3538
|
actions: [t.read, t.update, t.delete]
|
|
3526
3539
|
}
|
|
3527
|
-
],
|
|
3540
|
+
], Vs = $(
|
|
3528
3541
|
oe,
|
|
3529
3542
|
nr
|
|
3530
|
-
),
|
|
3543
|
+
), Ps = $(
|
|
3531
3544
|
oe,
|
|
3532
3545
|
rr
|
|
3533
|
-
),
|
|
3546
|
+
), Fs = $(
|
|
3534
3547
|
oe,
|
|
3535
3548
|
ar
|
|
3536
|
-
),
|
|
3549
|
+
), Os = $(
|
|
3537
3550
|
oe,
|
|
3538
3551
|
or
|
|
3539
|
-
),
|
|
3552
|
+
), qs = $(
|
|
3540
3553
|
oe,
|
|
3541
3554
|
ir
|
|
3542
|
-
),
|
|
3555
|
+
), Hs = $(
|
|
3543
3556
|
oe,
|
|
3544
3557
|
lr
|
|
3545
|
-
),
|
|
3558
|
+
), Xs = $(
|
|
3546
3559
|
oe,
|
|
3547
3560
|
cr
|
|
3548
|
-
),
|
|
3561
|
+
), Qs = $(
|
|
3549
3562
|
oe,
|
|
3550
3563
|
Ar
|
|
3551
3564
|
), ur = $(
|
|
3552
3565
|
oe,
|
|
3553
3566
|
Cs
|
|
3554
|
-
),
|
|
3567
|
+
), Is = $(
|
|
3555
3568
|
oe,
|
|
3556
|
-
|
|
3569
|
+
tr
|
|
3557
3570
|
), mr = [
|
|
3558
3571
|
...R,
|
|
3559
3572
|
{
|
|
@@ -3579,16 +3592,15 @@ const R = [
|
|
|
3579
3592
|
]
|
|
3580
3593
|
}
|
|
3581
3594
|
], dr = $(
|
|
3582
|
-
Ln,
|
|
3583
3595
|
Jn,
|
|
3596
|
+
_n,
|
|
3584
3597
|
ws,
|
|
3585
3598
|
Ms,
|
|
3586
|
-
_n,
|
|
3587
3599
|
$n,
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3600
|
+
er,
|
|
3601
|
+
Is,
|
|
3602
|
+
sr,
|
|
3603
|
+
js,
|
|
3592
3604
|
Vs,
|
|
3593
3605
|
Ps,
|
|
3594
3606
|
Fs,
|
|
@@ -3596,14 +3608,15 @@ const R = [
|
|
|
3596
3608
|
qs,
|
|
3597
3609
|
Hs,
|
|
3598
3610
|
Xs,
|
|
3599
|
-
|
|
3611
|
+
Qs,
|
|
3600
3612
|
Gs,
|
|
3601
3613
|
Ys,
|
|
3602
|
-
Es
|
|
3614
|
+
Es,
|
|
3615
|
+
xs
|
|
3603
3616
|
), pr = $(
|
|
3604
3617
|
oe,
|
|
3605
3618
|
Cs,
|
|
3606
|
-
|
|
3619
|
+
Ds
|
|
3607
3620
|
), br = $(
|
|
3608
3621
|
oe,
|
|
3609
3622
|
mr
|
|
@@ -3631,62 +3644,62 @@ const R = [
|
|
|
3631
3644
|
[`set_${o.crm_analytic}`]: {
|
|
3632
3645
|
key: "sys:crm:analytic",
|
|
3633
3646
|
name: "CRM Analytic",
|
|
3634
|
-
permissions:
|
|
3647
|
+
permissions: js
|
|
3635
3648
|
},
|
|
3636
3649
|
[`set_${o.crm_tier}`]: {
|
|
3637
3650
|
key: "sys:crm:tier",
|
|
3638
3651
|
name: "CRM Tier",
|
|
3639
|
-
permissions:
|
|
3652
|
+
permissions: Vs
|
|
3640
3653
|
},
|
|
3641
3654
|
[`set_${o.crm_title}`]: {
|
|
3642
3655
|
key: "sys:crm:title",
|
|
3643
3656
|
name: "CRM Title",
|
|
3644
|
-
permissions:
|
|
3657
|
+
permissions: Ps
|
|
3645
3658
|
},
|
|
3646
3659
|
[`set_${o.crm_broadcast}`]: {
|
|
3647
3660
|
key: "sys:crm:broadcast",
|
|
3648
3661
|
name: "CRM Broadcast",
|
|
3649
|
-
permissions:
|
|
3662
|
+
permissions: Fs
|
|
3650
3663
|
},
|
|
3651
3664
|
[`set_${o.crm_point}`]: {
|
|
3652
3665
|
key: "sys:crm:point",
|
|
3653
3666
|
name: "CRM Point",
|
|
3654
|
-
permissions:
|
|
3667
|
+
permissions: Os
|
|
3655
3668
|
},
|
|
3656
3669
|
[`set_${o.crm_credit}`]: {
|
|
3657
3670
|
key: "sys:crm:credit",
|
|
3658
3671
|
name: "CRM Credit",
|
|
3659
|
-
permissions:
|
|
3672
|
+
permissions: qs
|
|
3660
3673
|
},
|
|
3661
3674
|
[`set_${o.crm_experience}`]: {
|
|
3662
3675
|
key: "sys:crm:experience",
|
|
3663
3676
|
name: "CRM Experience",
|
|
3664
|
-
permissions:
|
|
3677
|
+
permissions: Hs
|
|
3665
3678
|
},
|
|
3666
3679
|
[`set_${o.crm_game}`]: {
|
|
3667
3680
|
key: "sys:crm:game",
|
|
3668
3681
|
name: "CRM Game",
|
|
3669
|
-
permissions:
|
|
3682
|
+
permissions: Xs
|
|
3670
3683
|
},
|
|
3671
3684
|
[`set_${o.crm_mission}`]: {
|
|
3672
3685
|
key: "sys:crm:mission",
|
|
3673
3686
|
name: "CRM Mission",
|
|
3674
|
-
permissions:
|
|
3687
|
+
permissions: Qs
|
|
3675
3688
|
},
|
|
3676
3689
|
[`set_${o.crm_loyaltyMember}`]: {
|
|
3677
3690
|
key: "sys:crm:loyaltyMember",
|
|
3678
3691
|
name: "CRM Loyalty Member",
|
|
3679
|
-
permissions:
|
|
3692
|
+
permissions: Gs
|
|
3680
3693
|
},
|
|
3681
3694
|
[`set_${o.crm_loyaltySegment}`]: {
|
|
3682
3695
|
key: "sys:crm:loyaltySegment",
|
|
3683
3696
|
name: "CRM Loyalty Segment",
|
|
3684
|
-
permissions:
|
|
3697
|
+
permissions: Ys
|
|
3685
3698
|
},
|
|
3686
3699
|
[`set_${o.crm_loyaltyCard}`]: {
|
|
3687
3700
|
key: "sys:crm:loyaltyCard",
|
|
3688
3701
|
name: "CRM Loyalty Card",
|
|
3689
|
-
permissions:
|
|
3702
|
+
permissions: Es
|
|
3690
3703
|
},
|
|
3691
3704
|
[`set_${o.crm_referral}`]: {
|
|
3692
3705
|
key: "sys:crm:referral",
|
|
@@ -3706,12 +3719,17 @@ const R = [
|
|
|
3706
3719
|
[`set_${o.crm_setting}`]: {
|
|
3707
3720
|
key: "sys:crm:setting",
|
|
3708
3721
|
name: "CRM Setting",
|
|
3709
|
-
permissions:
|
|
3722
|
+
permissions: Is
|
|
3710
3723
|
},
|
|
3711
3724
|
[`set_${o.crm_bin}`]: {
|
|
3712
3725
|
key: "sys:crm:bin",
|
|
3713
3726
|
name: "CRM Bin",
|
|
3714
|
-
permissions:
|
|
3727
|
+
permissions: xs
|
|
3728
|
+
},
|
|
3729
|
+
[`set_${o.crm_marketingMaterial}`]: {
|
|
3730
|
+
key: "sys:crm:marketingMaterial",
|
|
3731
|
+
name: "CRM Marketing Material",
|
|
3732
|
+
permissions: Ds
|
|
3715
3733
|
}
|
|
3716
3734
|
};
|
|
3717
3735
|
var G = /* @__PURE__ */ ((e) => (e.inventory = "inventory", e.inventory_stock = "inventory::stock", e.inventory_stockAdjustment = "inventory::stockAdjustment", 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 || {});
|
|
@@ -3750,14 +3768,14 @@ const K = [
|
|
|
3750
3768
|
subject: G.inventory_stockAdjustment,
|
|
3751
3769
|
actions: [t.update]
|
|
3752
3770
|
}
|
|
3753
|
-
],
|
|
3771
|
+
], Rs = [
|
|
3754
3772
|
...K,
|
|
3755
3773
|
{
|
|
3756
3774
|
label: "Unit Cost History",
|
|
3757
3775
|
subject: G.inventory_unitCostHistory,
|
|
3758
3776
|
actions: [t.read, t.update]
|
|
3759
3777
|
}
|
|
3760
|
-
],
|
|
3778
|
+
], Ns = [
|
|
3761
3779
|
...K,
|
|
3762
3780
|
{
|
|
3763
3781
|
label: "Wastage Template",
|
|
@@ -3772,8 +3790,8 @@ const K = [
|
|
|
3772
3790
|
];
|
|
3773
3791
|
[
|
|
3774
3792
|
...Et,
|
|
3775
|
-
...
|
|
3776
|
-
...
|
|
3793
|
+
...Rs,
|
|
3794
|
+
...Ns
|
|
3777
3795
|
];
|
|
3778
3796
|
const xt = [
|
|
3779
3797
|
...K,
|
|
@@ -3792,7 +3810,7 @@ const xt = [
|
|
|
3792
3810
|
subject: G.inventory_closingDraft,
|
|
3793
3811
|
actions: [t.read]
|
|
3794
3812
|
}
|
|
3795
|
-
],
|
|
3813
|
+
], Zs = [
|
|
3796
3814
|
...K,
|
|
3797
3815
|
{
|
|
3798
3816
|
label: "Closing Draft",
|
|
@@ -3819,7 +3837,7 @@ const xt = [
|
|
|
3819
3837
|
subject: G.inventory_stockAdjustment,
|
|
3820
3838
|
actions: [t.read]
|
|
3821
3839
|
}
|
|
3822
|
-
],
|
|
3840
|
+
], zs = [
|
|
3823
3841
|
...K,
|
|
3824
3842
|
{
|
|
3825
3843
|
label: "Closing Template",
|
|
@@ -3839,8 +3857,8 @@ const xt = [
|
|
|
3839
3857
|
];
|
|
3840
3858
|
[
|
|
3841
3859
|
...xt,
|
|
3842
|
-
...
|
|
3843
|
-
...
|
|
3860
|
+
...Zs,
|
|
3861
|
+
...zs
|
|
3844
3862
|
];
|
|
3845
3863
|
const hr = [
|
|
3846
3864
|
{
|
|
@@ -3881,7 +3899,7 @@ const hr = [
|
|
|
3881
3899
|
subject: G.inventory,
|
|
3882
3900
|
actions: [t.read, t.update]
|
|
3883
3901
|
}
|
|
3884
|
-
],
|
|
3902
|
+
], Us = [
|
|
3885
3903
|
{
|
|
3886
3904
|
label: "Purchase Order",
|
|
3887
3905
|
subject: G.inventory_purchaseOrder,
|
|
@@ -3922,7 +3940,7 @@ const hr = [
|
|
|
3922
3940
|
subject: G.inventory_shipment,
|
|
3923
3941
|
actions: [t.read, t.update]
|
|
3924
3942
|
}
|
|
3925
|
-
],
|
|
3943
|
+
], Ws = [
|
|
3926
3944
|
{
|
|
3927
3945
|
label: "Purchase Order",
|
|
3928
3946
|
subject: G.inventory_purchaseOrder,
|
|
@@ -3943,7 +3961,7 @@ const hr = [
|
|
|
3943
3961
|
subject: G.inventory_shipment,
|
|
3944
3962
|
actions: [t.read, t.update]
|
|
3945
3963
|
}
|
|
3946
|
-
],
|
|
3964
|
+
], Ts = [
|
|
3947
3965
|
...K,
|
|
3948
3966
|
{
|
|
3949
3967
|
label: "Surcharge",
|
|
@@ -3960,7 +3978,7 @@ const hr = [
|
|
|
3960
3978
|
subject: G.inventory_supplier,
|
|
3961
3979
|
actions: [t.read]
|
|
3962
3980
|
}
|
|
3963
|
-
],
|
|
3981
|
+
], Ss = [
|
|
3964
3982
|
...K,
|
|
3965
3983
|
{
|
|
3966
3984
|
label: "Order Template",
|
|
@@ -3991,10 +4009,10 @@ const hr = [
|
|
|
3991
4009
|
}
|
|
3992
4010
|
];
|
|
3993
4011
|
[
|
|
3994
|
-
...zs,
|
|
3995
4012
|
...Us,
|
|
3996
4013
|
...Ws,
|
|
3997
|
-
...Ts
|
|
4014
|
+
...Ts,
|
|
4015
|
+
...Ss
|
|
3998
4016
|
];
|
|
3999
4017
|
const Dr = [
|
|
4000
4018
|
...K,
|
|
@@ -4065,12 +4083,12 @@ const xr = {
|
|
|
4065
4083
|
[`set_${o.inventory_unitCostHistory}`]: {
|
|
4066
4084
|
key: "sys:inventory:unit_cost_history",
|
|
4067
4085
|
name: "Unit Cost History",
|
|
4068
|
-
permissions:
|
|
4086
|
+
permissions: Rs
|
|
4069
4087
|
},
|
|
4070
4088
|
[`set_${o.inventory_wastageTemplate}`]: {
|
|
4071
4089
|
key: "sys:inventory:wastage_template",
|
|
4072
4090
|
name: "Wastage Template",
|
|
4073
|
-
permissions:
|
|
4091
|
+
permissions: Ns
|
|
4074
4092
|
},
|
|
4075
4093
|
[`set_${o.inventory_closingHistory}`]: {
|
|
4076
4094
|
key: "sys:inventory:closing_history",
|
|
@@ -4080,12 +4098,12 @@ const xr = {
|
|
|
4080
4098
|
[`set_${o.inventory_closingTemplate}`]: {
|
|
4081
4099
|
key: "sys:inventory:closing_template",
|
|
4082
4100
|
name: "Closing Template",
|
|
4083
|
-
permissions:
|
|
4101
|
+
permissions: zs
|
|
4084
4102
|
},
|
|
4085
4103
|
[`set_${o.inventory_closingDraft}`]: {
|
|
4086
4104
|
key: "sys:inventory:closing_draft",
|
|
4087
4105
|
name: "Closing Draft",
|
|
4088
|
-
permissions:
|
|
4106
|
+
permissions: Zs
|
|
4089
4107
|
},
|
|
4090
4108
|
[`set_${o.inventory_ingredient}`]: {
|
|
4091
4109
|
key: "sys:inventory:ingredient",
|
|
@@ -4110,7 +4128,7 @@ const xr = {
|
|
|
4110
4128
|
[`set_${o.inventory_purchaseTransfer}`]: {
|
|
4111
4129
|
key: "sys:inventory:purchase_transfer",
|
|
4112
4130
|
name: "Purchase Transfer",
|
|
4113
|
-
permissions:
|
|
4131
|
+
permissions: Us
|
|
4114
4132
|
},
|
|
4115
4133
|
[`set_${o.inventory_orderDraftApproval}`]: {
|
|
4116
4134
|
key: "sys:inventory:order_draft_approval",
|
|
@@ -4120,17 +4138,17 @@ const xr = {
|
|
|
4120
4138
|
[`set_${o.inventory_transferOut}`]: {
|
|
4121
4139
|
key: "sys:inventory:transfer_out",
|
|
4122
4140
|
name: "Transfer Out",
|
|
4123
|
-
permissions:
|
|
4141
|
+
permissions: Ws
|
|
4124
4142
|
},
|
|
4125
4143
|
[`set_${o.inventory_surcharge}`]: {
|
|
4126
4144
|
key: "sys:inventory:surcharge",
|
|
4127
4145
|
name: "Surcharge",
|
|
4128
|
-
permissions:
|
|
4146
|
+
permissions: Ts
|
|
4129
4147
|
},
|
|
4130
4148
|
[`set_${o.inventory_orderTemplate}`]: {
|
|
4131
4149
|
key: "sys:inventory:order_template",
|
|
4132
4150
|
name: "Order Template",
|
|
4133
|
-
permissions:
|
|
4151
|
+
permissions: Ss
|
|
4134
4152
|
},
|
|
4135
4153
|
[`set_${o.inventory_supplier}`]: {
|
|
4136
4154
|
key: "sys:inventory:supplier",
|
|
@@ -4229,7 +4247,7 @@ const Vr = {
|
|
|
4229
4247
|
]
|
|
4230
4248
|
}
|
|
4231
4249
|
};
|
|
4232
|
-
var
|
|
4250
|
+
var ks = /* @__PURE__ */ ((e) => (e.payment_terminals = "payment::terminals", e))(ks || {});
|
|
4233
4251
|
const Rt = [
|
|
4234
4252
|
{
|
|
4235
4253
|
label: "Payout Account",
|
|
@@ -4238,7 +4256,7 @@ const Rt = [
|
|
|
4238
4256
|
},
|
|
4239
4257
|
{
|
|
4240
4258
|
label: "Payment Terminals",
|
|
4241
|
-
subject:
|
|
4259
|
+
subject: ks.payment_terminals,
|
|
4242
4260
|
actions: [t.read]
|
|
4243
4261
|
}
|
|
4244
4262
|
], Pr = {
|
|
@@ -4270,7 +4288,7 @@ var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4270
4288
|
function Or(e) {
|
|
4271
4289
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4272
4290
|
}
|
|
4273
|
-
var
|
|
4291
|
+
var Ks = { exports: {} };
|
|
4274
4292
|
(function(e, A) {
|
|
4275
4293
|
(function(m, c) {
|
|
4276
4294
|
e.exports = c();
|
|
@@ -4647,8 +4665,8 @@ var ks = { exports: {} };
|
|
|
4647
4665
|
}
|
|
4648
4666
|
]);
|
|
4649
4667
|
});
|
|
4650
|
-
})(
|
|
4651
|
-
var qr =
|
|
4668
|
+
})(Ks);
|
|
4669
|
+
var qr = Ks.exports;
|
|
4652
4670
|
const Hr = /* @__PURE__ */ Or(qr);
|
|
4653
4671
|
function Xr(e, A) {
|
|
4654
4672
|
for (var m = 0; m < A.length; m++) {
|
|
@@ -4721,11 +4739,11 @@ function Nt(e) {
|
|
|
4721
4739
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4722
4740
|
return e;
|
|
4723
4741
|
}
|
|
4724
|
-
var
|
|
4742
|
+
var Ls = function(A) {
|
|
4725
4743
|
return 'Cannot execute "' + A.action + '" on "' + A.subjectName + '"';
|
|
4726
|
-
}, ze =
|
|
4744
|
+
}, ze = Ls, Zr = /* @__PURE__ */ function(e) {
|
|
4727
4745
|
Ir(A, e), A.setDefaultMessage = function(n) {
|
|
4728
|
-
n === null ? ze =
|
|
4746
|
+
n === null ? ze = Ls : ze = typeof n == "string" ? function() {
|
|
4729
4747
|
return n;
|
|
4730
4748
|
} : n;
|
|
4731
4749
|
}, A.from = function(n) {
|
|
@@ -4955,7 +4973,7 @@ const ra = () => {
|
|
|
4955
4973
|
};
|
|
4956
4974
|
function aa(e, A, m) {
|
|
4957
4975
|
let c;
|
|
4958
|
-
|
|
4976
|
+
en(m) ? c = {
|
|
4959
4977
|
evaluating: m
|
|
4960
4978
|
} : c = {};
|
|
4961
4979
|
const {
|
|
@@ -4963,7 +4981,7 @@ function aa(e, A, m) {
|
|
|
4963
4981
|
evaluating: u = void 0,
|
|
4964
4982
|
shallow: y = !0,
|
|
4965
4983
|
onError: h = ra
|
|
4966
|
-
} = c, E = ve(!n), Y = y ?
|
|
4984
|
+
} = c, E = ve(!n), Y = y ? tn(A) : ve(A);
|
|
4967
4985
|
let w = 0;
|
|
4968
4986
|
return Wt(async (P) => {
|
|
4969
4987
|
if (!E.value)
|
|
@@ -5023,7 +5041,7 @@ async function ia(e, A) {
|
|
|
5023
5041
|
return {
|
|
5024
5042
|
canAccess: !1,
|
|
5025
5043
|
message: c.message,
|
|
5026
|
-
redirectTo:
|
|
5044
|
+
redirectTo: Ln
|
|
5027
5045
|
};
|
|
5028
5046
|
}
|
|
5029
5047
|
return {
|
|
@@ -5032,7 +5050,7 @@ async function ia(e, A) {
|
|
|
5032
5050
|
}
|
|
5033
5051
|
var Ct = /* @__PURE__ */ ((e) => (e.Loading = "loading", e.Allowed = "allowed", e.Denied = "denied", e))(Ct || {});
|
|
5034
5052
|
function la() {
|
|
5035
|
-
const e =
|
|
5053
|
+
const e = mn(), { sessionUser: A } = Yt();
|
|
5036
5054
|
return aa(
|
|
5037
5055
|
async () => {
|
|
5038
5056
|
e.matched;
|
|
@@ -5101,7 +5119,7 @@ const ca = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
|
|
|
5101
5119
|
__name: "PermissionWrapper",
|
|
5102
5120
|
setup(e) {
|
|
5103
5121
|
const A = la();
|
|
5104
|
-
return (m, c) => Me(A) === Me(Ct).Denied ? (Ve(), ke(Ca, { key: 0 })) : Me(A) === Me(Ct).Allowed ? Tt(m.$slots, "default", { key: 1 }) :
|
|
5122
|
+
return (m, c) => Me(A) === Me(Ct).Denied ? (Ve(), ke(Ca, { key: 0 })) : Me(A) === Me(Ct).Allowed ? Tt(m.$slots, "default", { key: 1 }) : sn("", !0);
|
|
5105
5123
|
}
|
|
5106
5124
|
});
|
|
5107
5125
|
function Ke(e) {
|
|
@@ -5126,18 +5144,18 @@ function ja(e, A) {
|
|
|
5126
5144
|
}
|
|
5127
5145
|
}
|
|
5128
5146
|
let n = null;
|
|
5129
|
-
return
|
|
5130
|
-
u && (await
|
|
5147
|
+
return nn(e, async (u) => {
|
|
5148
|
+
u && (await rn(), c());
|
|
5131
5149
|
}), kt(() => {
|
|
5132
5150
|
window.addEventListener("resize", c), n = new ResizeObserver(c), n.observe(document.body);
|
|
5133
|
-
}),
|
|
5151
|
+
}), an(() => {
|
|
5134
5152
|
window.removeEventListener("resize", c), n == null || n.disconnect(), n = null;
|
|
5135
5153
|
}), m;
|
|
5136
5154
|
}
|
|
5137
5155
|
const Ga = /* @__PURE__ */ xe({
|
|
5138
5156
|
__name: "FullWrapper",
|
|
5139
5157
|
setup(e) {
|
|
5140
|
-
const A =
|
|
5158
|
+
const A = un(), m = ve(null), c = ja(m), n = jt(() => {
|
|
5141
5159
|
var h;
|
|
5142
5160
|
const y = A.isAtMost("sm") ? 56 : 0;
|
|
5143
5161
|
return {
|
|
@@ -5147,7 +5165,7 @@ const Ga = /* @__PURE__ */ xe({
|
|
|
5147
5165
|
return (u, y) => (Ve(), St("div", {
|
|
5148
5166
|
ref_key: "wrapper",
|
|
5149
5167
|
ref: m,
|
|
5150
|
-
style:
|
|
5168
|
+
style: on(n.value)
|
|
5151
5169
|
}, [
|
|
5152
5170
|
Tt(u.$slots, "default")
|
|
5153
5171
|
], 4));
|
|
@@ -5158,16 +5176,16 @@ const Ga = /* @__PURE__ */ xe({
|
|
|
5158
5176
|
return (A, m) => {
|
|
5159
5177
|
const c = Gt("FmCircularProgress");
|
|
5160
5178
|
return Ve(), ke(Ga, null, {
|
|
5161
|
-
default:
|
|
5179
|
+
default: ln(() => [
|
|
5162
5180
|
we("div", Ya, [
|
|
5163
|
-
|
|
5181
|
+
cn(c, { size: "xl" })
|
|
5164
5182
|
])
|
|
5165
5183
|
]),
|
|
5166
5184
|
_: 1
|
|
5167
5185
|
});
|
|
5168
5186
|
};
|
|
5169
5187
|
}
|
|
5170
|
-
}), be = (e) =>
|
|
5188
|
+
}), be = (e) => An({
|
|
5171
5189
|
loader: e,
|
|
5172
5190
|
loadingComponent: Ea
|
|
5173
5191
|
});
|
|
@@ -5181,10 +5199,10 @@ const ht = (e) => ({
|
|
|
5181
5199
|
}
|
|
5182
5200
|
]
|
|
5183
5201
|
}
|
|
5184
|
-
}), xa = Ke(be(() => import("./Main-
|
|
5185
|
-
be(() => import("./AuditLogList-
|
|
5186
|
-
), Fa = Ke(be(() => import("./Main-
|
|
5187
|
-
() => import("./PermissionSetList-
|
|
5202
|
+
}), xa = Ke(be(() => import("./Main-CU92m_i1.js"))), Va = Ke(be(() => import("./Main-3gbHRwy4.js"))), Pa = Ke(
|
|
5203
|
+
be(() => import("./AuditLogList-CtneTBoV.js"))
|
|
5204
|
+
), Fa = Ke(be(() => import("./Main-D5PmpNiB.js"))), Oa = be(() => import("./EmployeeList-C7dIO8gr.js")), qa = be(() => import("./RoleList-B98ExzJE.js")), Ha = be(() => import("./TimesheetList-2HclOof1.js")), Xa = be(() => import("./TeamMemberList-YTHgBCoO.js")), Qa = be(
|
|
5205
|
+
() => import("./PermissionSetList-Dej3hhUp.js")
|
|
5188
5206
|
), eo = [
|
|
5189
5207
|
{
|
|
5190
5208
|
path: "/",
|
|
@@ -5250,7 +5268,7 @@ const ht = (e) => ({
|
|
|
5250
5268
|
__name: "Navigator",
|
|
5251
5269
|
emits: ["close-navigation"],
|
|
5252
5270
|
setup(e, { emit: A }) {
|
|
5253
|
-
const m = A, { t: c } = Kt(), n =
|
|
5271
|
+
const m = A, { t: c } = Kt(), n = gn(), { sessionUser: u } = Yt(), y = jt(() => {
|
|
5254
5272
|
var Y;
|
|
5255
5273
|
const E = [];
|
|
5256
5274
|
return E.push({
|
|
@@ -5705,9 +5723,9 @@ var Dt = { exports: {} };
|
|
|
5705
5723
|
if (!me) return [3, 7];
|
|
5706
5724
|
ge = null, fe = null, ye.label = 1;
|
|
5707
5725
|
case 1:
|
|
5708
|
-
return ye.trys.push([1, 5, , 6]), N = JSON.parse(me), Ge = !1, Be = !1, N && N.api === this.api && ((nt = (st = N.evaluationContext) === null || st === void 0 ? void 0 : st.environment) === null || nt === void 0 ? void 0 : nt.apiKey) === ((rt = this.evaluationContext.environment) === null || rt === void 0 ? void 0 : rt.apiKey) && (pe = !0, this.evaluationContext.identity && ((ot = (at = N.evaluationContext) === null || at === void 0 ? void 0 : at.identity) === null || ot === void 0 ? void 0 : ot.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((lt = (it = N.evaluationContext) === null || it === void 0 ? void 0 : it.identity) === null || lt === void 0 ? void 0 : lt.identifier) + " to " + this.evaluationContext.identity.identifier), pe = !1), this.cacheOptions.ttl && (!N.ts || (/* @__PURE__ */ new Date()).valueOf() - N.ts > this.cacheOptions.ttl) && (N.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), pe = !1) : N.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), Be = !0, pe = !0)), pe && (Ge = !0, fe = Y((ct = this.evaluationContext.identity) === null || ct === void 0 ? void 0 : ct.traits, (ut = (At = N.evaluationContext) === null || At === void 0 ? void 0 : At.identity) === null || ut === void 0 ? void 0 : ut.traits), ge = Y(this.flags, N.flags), this.setState(n(n({}, N), { evaluationContext: S(n(n({}, N.evaluationContext), { identity: !((mt = N.evaluationContext) === null || mt === void 0) && mt.identity ? n(n({}, (gt = N.evaluationContext) === null || gt === void 0 ? void 0 : gt.identity), { traits: n(n({}, ((pt = (dt = N.evaluationContext) === null || dt === void 0 ? void 0 : dt.identity) === null || pt === void 0 ? void 0 : pt.traits) || {}), Xe || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", N))), Ge ? (tt = !ne && (!this.cacheOptions.skipAPI || Be), this._onChange(null, { isFromServer: !1, flagsChanged: ge, traitsChanged: fe }, this._loadedState(null, w.CACHE, tt)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Ge && !Be && this.log("Skipping API, using cache"), tt && this.getFlags().catch(function(
|
|
5726
|
+
return ye.trys.push([1, 5, , 6]), N = JSON.parse(me), Ge = !1, Be = !1, N && N.api === this.api && ((nt = (st = N.evaluationContext) === null || st === void 0 ? void 0 : st.environment) === null || nt === void 0 ? void 0 : nt.apiKey) === ((rt = this.evaluationContext.environment) === null || rt === void 0 ? void 0 : rt.apiKey) && (pe = !0, this.evaluationContext.identity && ((ot = (at = N.evaluationContext) === null || at === void 0 ? void 0 : at.identity) === null || ot === void 0 ? void 0 : ot.identifier) !== this.evaluationContext.identity.identifier && (this.log("Ignoring cache, identity has changed from " + ((lt = (it = N.evaluationContext) === null || it === void 0 ? void 0 : it.identity) === null || lt === void 0 ? void 0 : lt.identifier) + " to " + this.evaluationContext.identity.identifier), pe = !1), this.cacheOptions.ttl && (!N.ts || (/* @__PURE__ */ new Date()).valueOf() - N.ts > this.cacheOptions.ttl) && (N.ts && !this.cacheOptions.loadStale ? (this.log("Ignoring cache, timestamp is too old ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), pe = !1) : N.ts && this.cacheOptions.loadStale && (this.log("Loading stale cache, timestamp ts:" + N.ts + " ttl: " + this.cacheOptions.ttl + " time elapsed since cache: " + ((/* @__PURE__ */ new Date()).valueOf() - N.ts) + "ms"), Be = !0, pe = !0)), pe && (Ge = !0, fe = Y((ct = this.evaluationContext.identity) === null || ct === void 0 ? void 0 : ct.traits, (ut = (At = N.evaluationContext) === null || At === void 0 ? void 0 : At.identity) === null || ut === void 0 ? void 0 : ut.traits), ge = Y(this.flags, N.flags), this.setState(n(n({}, N), { evaluationContext: S(n(n({}, N.evaluationContext), { identity: !((mt = N.evaluationContext) === null || mt === void 0) && mt.identity ? n(n({}, (gt = N.evaluationContext) === null || gt === void 0 ? void 0 : gt.identity), { traits: n(n({}, ((pt = (dt = N.evaluationContext) === null || dt === void 0 ? void 0 : dt.identity) === null || pt === void 0 ? void 0 : pt.traits) || {}), Xe || {}) }) : void 0 })) })), this.log("Retrieved flags from cache", N))), Ge ? (tt = !ne && (!this.cacheOptions.skipAPI || Be), this._onChange(null, { isFromServer: !1, flagsChanged: ge, traitsChanged: fe }, this._loadedState(null, w.CACHE, tt)), this.oldFlags = this.flags, this.cacheOptions.skipAPI && Ge && !Be && this.log("Skipping API, using cache"), tt && this.getFlags().catch(function(Js) {
|
|
5709
5727
|
var yt;
|
|
5710
|
-
(yt = Xt.onError) === null || yt === void 0 || yt.call(Xt,
|
|
5728
|
+
(yt = Xt.onError) === null || yt === void 0 || yt.call(Xt, Js);
|
|
5711
5729
|
}), [3, 4]) : [3, 2];
|
|
5712
5730
|
case 2:
|
|
5713
5731
|
return ne ? [3, 4] : [4, this.getFlags()];
|
|
@@ -6157,7 +6175,7 @@ const to = /* @__PURE__ */ xe({
|
|
|
6157
6175
|
};
|
|
6158
6176
|
}
|
|
6159
6177
|
}), so = () => {
|
|
6160
|
-
const e = [
|
|
6178
|
+
const e = [Rn, Vn, wn, Kn], A = new Set(e.flatMap((m) => Object.keys(m)));
|
|
6161
6179
|
return Array.from(A).reduce(
|
|
6162
6180
|
(m, c) => {
|
|
6163
6181
|
const n = c;
|