@feedmepos/mf-hrm-portal 2.2.1 → 2.2.2-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/{ApprovalCodeList-BWQBJGCZ.js → ApprovalCodeList-B9O8QzzI.js} +5 -5
  2. package/dist/AuditLogList-CtFEXKWZ.js +1722 -0
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BDOdtKwI.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C9MYbxum.js} +2 -2
  4. package/dist/{EmployeeList-BZ6fxRCN.js → EmployeeList-BFxMwFJq.js} +71 -71
  5. package/dist/{GrantUserList-CaVpRVzA.js → GrantUserList-CZtmMRoS.js} +6 -6
  6. package/dist/{Main-CEKiyT80.js → Main-B622Z4q4.js} +11 -11
  7. package/dist/{Main-CQpEciKH.js → Main-DD6IthCS.js} +5 -5
  8. package/dist/{Main-DrfRLxA5.js → Main-on0TXkQt.js} +8 -8
  9. package/dist/{PermissionSetList-BgOSJy4y.js → PermissionSetList-FCX3TBoi.js} +77 -78
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B2SX3ZoV.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cl_YNh0k.js} +832 -837
  11. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-Z-DH7ouY.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-XHuHin8t.js} +1 -1
  12. package/dist/RoleList-p_9KHzqF.js +725 -0
  13. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-B4PxNMwq.js +16 -0
  14. package/dist/{TeamMemberList-BXk_pXjc.js → TeamMemberList-BAU7Y3jh.js} +313 -312
  15. package/dist/{TimesheetList-DgaZmgug.js → TimesheetList-DtFBWhma.js} +7 -7
  16. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-B_Lc8Xmy.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-Tatn3jUv.js} +3 -3
  17. package/dist/{app-DzagkC6l.js → app-Bbf6hEPt.js} +1086 -781
  18. package/dist/app.js +1 -1
  19. package/dist/{approval-code-BRClD2HN.js → approval-code-jIjkeVEb.js} +1 -1
  20. package/dist/{dayjs.min-CqJsImsm.js → dayjs.min-BAnGg8q2.js} +1 -1
  21. package/dist/{employee-CXBuv0Bx.js → employee-DVSD3L51.js} +4 -4
  22. package/dist/{grant-user-Dhi3ilC_.js → grant-user-SNiDV22U.js} +1 -1
  23. package/dist/{iteration-BCfwR_XH.js → iteration-BTZViJtd.js} +1 -1
  24. package/dist/{lodash-BJl3phr9.js → lodash-Cgdk4_YL.js} +1 -1
  25. package/dist/{restaurant-DiYb0pCm.js → restaurant-BTpBmfBV.js} +2 -2
  26. package/dist/{role-BfCNRnuy.js → role-CXVpO6fB.js} +2 -2
  27. package/dist/{rule-B3Eg-J8O.js → rule-TR3MVo-b.js} +259 -279
  28. package/dist/src/api/audit-log/index.d.ts +6 -0
  29. package/dist/src/api/user/index.d.ts +2 -2
  30. package/dist/src/composables/useReportPermissions.d.ts +0 -1
  31. package/dist/src/helpers/rule.d.ts +0 -2
  32. package/dist/src/types/audit-log.d.ts +1 -1
  33. package/dist/src/types/role.d.ts +0 -1
  34. package/dist/src/views/audit-log/change-nodes.d.ts +14 -0
  35. package/dist/src/views/audit-log/event-line.d.ts +13 -0
  36. package/dist/src/views/audit-log/locales/index.d.ts +300 -0
  37. package/dist/src/views/audit-log/operation-status.d.ts +2 -0
  38. package/dist/src/views/audit-log/snapshot-diff.d.ts +11 -0
  39. package/dist/src/views/hr/locales/index.d.ts +0 -4
  40. package/dist/style.css +1 -1
  41. package/dist/tsconfig.app.tsbuildinfo +1 -1
  42. package/dist/{useAppStore-BGhlB1_1.js → useAppStore-DCwd8GWN.js} +1 -1
  43. package/dist/useDebounce-B8ZPVS5C.js +15 -0
  44. package/dist/{useLoading-CvgqVDbF.js → useLoading-CXzTpIVv.js} +1 -1
  45. package/dist/useReportPermissions-BpAFyO17.js +71 -0
  46. package/package.json +1 -1
  47. package/dist/AuditLogList-CymSyHag.js +0 -1149
  48. package/dist/RoleList-C2PrTc1f.js +0 -739
  49. package/dist/useDebounce-CWb5QR9G.js +0 -28
  50. package/dist/useReportPermissions-CXXq725N.js +0 -82
@@ -1,7 +1,7 @@
1
- import { s as W, c as Z, e as h } from "./iteration-BCfwR_XH.js";
2
- import { h as O, P as V, e as _, b as F, n as j, d as q } from "./app-DzagkC6l.js";
1
+ import { s as W, c as Z, e as h } from "./iteration-BTZViJtd.js";
2
+ import { h as O, P as V, e as _, b as F, n as j, d as q } from "./app-Bbf6hEPt.js";
3
3
  import { s as ee } from "./utils-BZkjJbju.js";
4
- import { g as b, b as v, q as x, u as te } from "./restaurant-DiYb0pCm.js";
4
+ import { g as b, b as v, q as x, u as te } from "./restaurant-BTpBmfBV.js";
5
5
  import { defineStore as z, storeToRefs as K } from "pinia";
6
6
  import { ref as S, computed as U } from "vue";
7
7
  import { useCoreStore as X } from "@feedmepos/mf-common";
@@ -354,14 +354,14 @@ const L = [
354
354
  async create(e) {
355
355
  return b(await v().post(E, e));
356
356
  },
357
- async update(e, t) {
358
- return b(await v().put(`${E}/${e}`, t));
357
+ async update(e, s) {
358
+ return b(await v().put(`${E}/${e}`, s));
359
359
  },
360
360
  async delete(e) {
361
361
  return b(await v().delete(`${E}/${e}`));
362
362
  }
363
363
  }, se = z("permissionSet", () => {
364
- const { currentBusiness: e } = X(), t = S([]), o = S(!1), n = S(null);
364
+ const { currentBusiness: e } = X(), s = S([]), o = S(!1), n = S(null);
365
365
  async function r() {
366
366
  var l;
367
367
  const c = ((l = e.value) == null ? void 0 : l._id) ?? null;
@@ -369,32 +369,32 @@ const L = [
369
369
  try {
370
370
  o.value = !0;
371
371
  const d = await N.read();
372
- t.value = u(d), n.value = c;
372
+ s.value = u(d), n.value = c;
373
373
  } finally {
374
374
  o.value = !1;
375
375
  }
376
376
  }
377
- async function s(c) {
377
+ async function t(c) {
378
378
  const l = await N.create(c);
379
- t.value = u([...t.value, l]);
379
+ s.value = u([...s.value, l]);
380
380
  }
381
- async function a(c, l) {
381
+ async function i(c, l) {
382
382
  const d = await N.update(c, l);
383
- t.value = u(t.value.map((m) => m.id === c ? d : m));
383
+ s.value = u(s.value.map((f) => f.id === c ? d : f));
384
384
  }
385
- async function i(c) {
386
- await N.delete(c), t.value = u(t.value.filter((l) => l.id !== c));
385
+ async function a(c) {
386
+ await N.delete(c), s.value = u(s.value.filter((l) => l.id !== c));
387
387
  }
388
388
  function u(c) {
389
389
  return c.sort((l, d) => l.name.localeCompare(d.name));
390
390
  }
391
391
  return {
392
- permissionSets: t,
392
+ permissionSets: s,
393
393
  isLoading: o,
394
394
  readPermissionSets: r,
395
- createPermissionSet: s,
396
- updatePermissionSet: a,
397
- deletePermissionSet: i
395
+ createPermissionSet: t,
396
+ updatePermissionSet: i,
397
+ deletePermissionSet: a
398
398
  };
399
399
  }), ne = () => {
400
400
  const e = se();
@@ -419,60 +419,60 @@ function k(e) {
419
419
  }
420
420
  function y(e) {
421
421
  return e ? Object.values(e).every(
422
- (t) => t !== null && typeof t == "object" && !Array.isArray(t) && Object.keys(t).length === 1 && Array.isArray(t.$in)
422
+ (s) => s !== null && typeof s == "object" && !Array.isArray(s) && Object.keys(s).length === 1 && Array.isArray(s.$in)
423
423
  ) : !0;
424
424
  }
425
425
  function Q(e) {
426
- const t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), n = (r, s, a) => {
427
- var i, u;
428
- const c = k(s.conditions);
429
- let l = `${s.subject}::${JSON.stringify([...s.actions].sort())}`;
426
+ const s = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), n = (r, t, i) => {
427
+ var a, u;
428
+ const c = k(t.conditions);
429
+ let l = `${t.subject}::${JSON.stringify([...t.actions].sort())}`;
430
430
  y(c) || (l += `::${JSON.stringify(c)}`);
431
431
  const d = r.get(l);
432
432
  if (!d) {
433
- r.set(l, { ...s, setNames: [a.name], setId: a._id });
433
+ r.set(l, { ...t, setNames: [i.name], setId: i._id });
434
434
  return;
435
435
  }
436
- d.setNames.push(a.name);
437
- const m = k(d.conditions);
438
- if (!m || !c) {
436
+ d.setNames.push(i.name);
437
+ const f = k(d.conditions);
438
+ if (!f || !c) {
439
439
  d.conditions = void 0;
440
440
  return;
441
441
  }
442
- for (const f in c)
443
- (i = m[f]) != null && i.$in && (u = c[f]) != null && u.$in ? m[f].$in = Array.from(
444
- /* @__PURE__ */ new Set([...m[f].$in, ...c[f].$in])
445
- ) : m[f] || (m[f] = c[f]);
446
- d.conditions = JSON.stringify(m);
442
+ for (const m in c)
443
+ (a = f[m]) != null && a.$in && (u = c[m]) != null && u.$in ? f[m].$in = Array.from(
444
+ /* @__PURE__ */ new Set([...f[m].$in, ...c[m].$in])
445
+ ) : f[m] || (f[m] = c[m]);
446
+ d.conditions = JSON.stringify(f);
447
447
  };
448
448
  for (const r of e)
449
- for (const s of r.permissions)
450
- n(s.inverted ? o : t, s, r);
451
- return [...Array.from(t.values()), ...Array.from(o.values())];
449
+ for (const t of r.permissions)
450
+ n(t.inverted ? o : s, t, r);
451
+ return [...Array.from(s.values()), ...Array.from(o.values())];
452
452
  }
453
- function B(e, t) {
454
- return `${e}::${[...t].sort().join(",")}`;
453
+ function B(e, s) {
454
+ return `${e}::${[...s].sort().join(",")}`;
455
455
  }
456
- function G(e, t) {
457
- const o = [...e], n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
458
- for (const i of e) {
459
- const u = O(i.subject);
460
- n.add(B(u, i.actions)), i.inverted && i.actions.includes("manage") && r.add(`set_${u}`), !i.inverted && i.actions.includes("manage") && s.add(u);
456
+ function G(e, s) {
457
+ const o = [...e], n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();
458
+ for (const a of e) {
459
+ const u = O(a.subject);
460
+ n.add(B(u, a.actions)), a.inverted && a.actions.includes("manage") && r.add(`set_${u}`), !a.inverted && a.actions.includes("manage") && t.add(u);
461
461
  }
462
- const a = [...e];
463
- for (; a.length > 0; ) {
464
- const i = a.shift(), u = `set_${O(i.subject)}`, c = t[u];
465
- if (!c || r.has(u) || !i.actions.includes("manage") || i.inverted) continue;
462
+ const i = [...e];
463
+ for (; i.length > 0; ) {
464
+ const a = i.shift(), u = `set_${O(a.subject)}`, c = s[u];
465
+ if (!c || r.has(u) || !a.actions.includes("manage") || a.inverted) continue;
466
466
  r.add(u);
467
- const l = oe(i);
468
- i.source && !i.source.trace && (i.source = { ...i.source, trace: l });
467
+ const l = oe(a);
468
+ a.source && !a.source.trace && (a.source = { ...a.source, trace: l });
469
469
  const d = [...l, `${c.name} (system)`];
470
- for (const m of c.permissions ?? []) {
471
- const f = O(m.subject), p = B(f, m.actions);
472
- n.has(p) || s.has(f) || (n.add(p), o.push({
473
- ...m,
470
+ for (const f of c.permissions ?? []) {
471
+ const m = O(f.subject), p = B(m, f.actions);
472
+ n.has(p) || t.has(m) || (n.add(p), o.push({
473
+ ...f,
474
474
  // FdoPermissionRule.fields is string[] | null; RawRule expects string[] | undefined
475
- fields: m.fields ?? void 0,
475
+ fields: f.fields ?? void 0,
476
476
  source: {
477
477
  type: "systemPermissionSet",
478
478
  permissionSetId: c.key,
@@ -481,9 +481,9 @@ function G(e, t) {
481
481
  }
482
482
  }));
483
483
  }
484
- for (const m of c.permissionSets ?? []) {
485
- const f = O(m), p = B(f, ["manage"]), g = {
486
- subject: f,
484
+ for (const f of c.permissionSets ?? []) {
485
+ const m = O(f), p = B(m, ["manage"]), g = {
486
+ subject: m,
487
487
  actions: ["manage"],
488
488
  source: {
489
489
  type: "systemPermissionSet",
@@ -492,16 +492,16 @@ function G(e, t) {
492
492
  trace: d
493
493
  }
494
494
  };
495
- n.has(p) || (n.add(p), o.push(g)), a.push(g);
495
+ n.has(p) || (n.add(p), o.push(g)), i.push(g);
496
496
  }
497
497
  }
498
- return [...o.filter((i) => !i.inverted), ...o.filter((i) => i.inverted)];
498
+ return [...o.filter((a) => !a.inverted), ...o.filter((a) => a.inverted)];
499
499
  }
500
500
  function oe(e) {
501
501
  if (!e.source) return [];
502
- const { type: t, trace: o, permissionSetName: n } = e.source;
502
+ const { type: s, trace: o, permissionSetName: n } = e.source;
503
503
  if (o && o.length > 0) return o;
504
- switch (t) {
504
+ switch (s) {
505
505
  case "permissionSet":
506
506
  return n ? [n] : [];
507
507
  case "custom":
@@ -510,43 +510,43 @@ function oe(e) {
510
510
  return [];
511
511
  }
512
512
  }
513
- function H(e, t, o = /* @__PURE__ */ new Set()) {
513
+ function H(e, s, o = /* @__PURE__ */ new Set()) {
514
514
  var r;
515
515
  const n = [];
516
- for (const s of e) {
517
- if (o.has(s)) continue;
518
- o.add(s);
519
- const a = t.find((i) => i.id === s);
520
- a && (n.push(a), (r = a.permissionSetIds) != null && r.length && n.push(...H(a.permissionSetIds, t, o)));
516
+ for (const t of e) {
517
+ if (o.has(t)) continue;
518
+ o.add(t);
519
+ const i = s.find((a) => a.id === t);
520
+ i && (n.push(i), (r = i.permissionSetIds) != null && r.length && n.push(...H(i.permissionSetIds, s, o)));
521
521
  }
522
522
  return n;
523
523
  }
524
524
  function Ie(e) {
525
- const t = Q(e).map(
526
- ({ setNames: r, setId: s, ...a }) => a
527
- ), o = t.filter((r) => !r.inverted), n = t.filter((r) => r.inverted);
525
+ const s = Q(e).map(
526
+ ({ setNames: r, setId: t, ...i }) => i
527
+ ), o = s.filter((r) => !r.inverted), n = s.filter((r) => r.inverted);
528
528
  return M(o, n);
529
529
  }
530
- function Ae(e, t, o) {
530
+ function Ae(e, s, o) {
531
531
  const n = /* @__PURE__ */ new Map();
532
532
  return e.forEach(
533
- ({ name: r, permissions: s }) => s.forEach(({ conditions: a, actions: i }) => {
533
+ ({ name: r, permissions: t }) => t.forEach(({ conditions: i, actions: a }) => {
534
534
  var c, l;
535
- const u = JSON.parse(a || "{}");
536
- (c = u[t]) != null && c.$in ? (l = u[t]) == null || l.$in.forEach(
535
+ const u = JSON.parse(i || "{}");
536
+ (c = u[s]) != null && c.$in ? (l = u[s]) == null || l.$in.forEach(
537
537
  (d) => (n.get(d) ?? n.set(d, /* @__PURE__ */ new Set()).get(d)).add(r)
538
- ) : i[0] === "manage" && o.forEach((d) => {
538
+ ) : a[0] === "manage" && o.forEach((d) => {
539
539
  (n.get(d) ?? n.set(d, /* @__PURE__ */ new Set()).get(d)).add(r);
540
540
  });
541
541
  })
542
- ), [...n].map(([r, s]) => ({
542
+ ), [...n].map(([r, t]) => ({
543
543
  id: r,
544
- setNames: [...s]
544
+ setNames: [...t]
545
545
  }));
546
546
  }
547
- function Oe(e, t) {
548
- const o = (i, u) => {
549
- const c = { ...i }, l = JSON.parse(c.conditions || "{}");
547
+ function Oe(e, s) {
548
+ const o = (a, u) => {
549
+ const c = { ...a }, l = JSON.parse(c.conditions || "{}");
550
550
  if (u)
551
551
  if (u.length > 0) {
552
552
  const d = Object.keys(l)[0];
@@ -558,45 +558,45 @@ function Oe(e, t) {
558
558
  inverted: !0,
559
559
  ...c.conditions && { conditions: JSON.stringify(l) }
560
560
  };
561
- }, n = new Map(e.map((i) => [i.subject, i])), r = new Map(t.map((i) => [i.subject, i])), s = [], a = /* @__PURE__ */ new Set([...n.keys(), ...r.keys()]);
562
- for (const i of a) {
563
- const u = n.get(i), c = r.get(i);
561
+ }, n = new Map(e.map((a) => [a.subject, a])), r = new Map(s.map((a) => [a.subject, a])), t = [], i = /* @__PURE__ */ new Set([...n.keys(), ...r.keys()]);
562
+ for (const a of i) {
563
+ const u = n.get(a), c = r.get(a);
564
564
  if (u && c) {
565
565
  if (u.conditions && c.conditions) {
566
566
  const l = JSON.parse(u.conditions), d = JSON.parse(c.conditions);
567
567
  if (!y(l) || !y(d)) {
568
- JSON.stringify(l) !== JSON.stringify(d) && s.push(c);
568
+ JSON.stringify(l) !== JSON.stringify(d) && t.push(c);
569
569
  continue;
570
570
  }
571
- const m = Object.keys(l)[0], f = l[m].$in.filter(
572
- (g) => !d[m].$in.includes(g)
571
+ const f = Object.keys(l)[0], m = l[f].$in.filter(
572
+ (g) => !d[f].$in.includes(g)
573
573
  );
574
- f.length > 0 && s.push(o(u, f)), d[m].$in.filter(
575
- (g) => !l[m].$in.includes(g)
576
- ).length > 0 && s.push(c);
574
+ m.length > 0 && t.push(o(u, m)), d[f].$in.filter(
575
+ (g) => !l[f].$in.includes(g)
576
+ ).length > 0 && t.push(c);
577
577
  } else if (!u.conditions && c.conditions)
578
- s.push(c);
578
+ t.push(c);
579
579
  else if (u.conditions && !c.conditions)
580
- y(JSON.parse(u.conditions)) || s.push(c);
580
+ y(JSON.parse(u.conditions)) || t.push(c);
581
581
  else if (!u.conditions && !c.conditions) {
582
- const l = new Set(u.actions), d = new Set(c.actions), m = c.actions.some((p) => !l.has(p)), f = u.actions.filter((p) => !d.has(p));
583
- if (m) {
582
+ const l = new Set(u.actions), d = new Set(c.actions), f = c.actions.some((p) => !l.has(p)), m = u.actions.filter((p) => !d.has(p));
583
+ if (f) {
584
584
  const p = c.actions.filter((g) => !l.has(g));
585
- s.push({
585
+ t.push({
586
586
  ...c,
587
587
  actions: p
588
588
  });
589
589
  }
590
- f.length > 0 && s.push({
590
+ m.length > 0 && t.push({
591
591
  ...u,
592
- actions: f,
592
+ actions: m,
593
593
  inverted: !0
594
594
  });
595
595
  }
596
596
  continue;
597
597
  }
598
598
  if (u) {
599
- s.push(
599
+ t.push(
600
600
  o(
601
601
  u,
602
602
  // If base has conditions, set diffIds to empty array, disallow all access to collection
@@ -606,122 +606,122 @@ function Oe(e, t) {
606
606
  );
607
607
  continue;
608
608
  }
609
- c && s.push(c);
609
+ c && t.push(c);
610
610
  }
611
- return s;
611
+ return t;
612
612
  }
613
613
  function _e(e) {
614
- const t = G(
614
+ const s = G(
615
615
  e,
616
616
  V
617
617
  ), o = new Set(
618
- t.filter((r) => {
619
- var s;
620
- return ((s = r.source) == null ? void 0 : s.type) === "systemPermissionSet" && !r.inverted;
618
+ s.filter((r) => {
619
+ var t;
620
+ return ((t = r.source) == null ? void 0 : t.type) === "systemPermissionSet" && !r.inverted;
621
621
  }).map((r) => r.subject)
622
622
  ), n = new Set(
623
- t.filter(
623
+ s.filter(
624
624
  (r) => {
625
- var s;
626
- return ((s = r.source) == null ? void 0 : s.type) === "systemPermissionSet" && !r.inverted && r.actions.includes("manage");
625
+ var t;
626
+ return ((t = r.source) == null ? void 0 : t.type) === "systemPermissionSet" && !r.inverted && r.actions.includes("manage");
627
627
  }
628
628
  ).map((r) => r.subject)
629
629
  );
630
630
  return e.filter((r) => r.inverted ? !(o.has(r.subject) && !n.has(r.subject)) : !o.has(r.subject));
631
631
  }
632
632
  const re = "business::report::";
633
- function Ee(e, t) {
633
+ function Ee(e, s) {
634
634
  const o = [], n = e.filter((r) => {
635
- const s = r.subject;
636
- return !s.startsWith(re) || t.has(s) ? !0 : (o.push(s), !1);
635
+ const t = r.subject;
636
+ return !t.startsWith(re) || s.has(t) ? !0 : (o.push(t), !1);
637
637
  });
638
638
  return o.length > 0 && console.warn("[filterStalePermissions] dropped stale report permissions:", o), n;
639
639
  }
640
640
  const ie = "business::report::reports::", ae = _.Subject.Business.report_reports_allDefaultReports, ce = _.Subject.Business.report_reports_allCustomReports;
641
- function ue(e, t) {
642
- return e.conditions ? !!t.conditions && e.conditions === t.conditions : !t.conditions;
641
+ function ue(e, s) {
642
+ return e.conditions ? !!s.conditions && e.conditions === s.conditions : !s.conditions;
643
643
  }
644
- function Ne(e, t) {
644
+ function Ne(e, s) {
645
645
  const o = e.find(
646
- (a) => !a.inverted && a.subject === ae
646
+ (i) => !i.inverted && i.subject === ae
647
647
  ), n = e.find(
648
- (a) => !a.inverted && a.subject === ce
648
+ (i) => !i.inverted && i.subject === ce
649
649
  );
650
650
  if (!o && !n) return e;
651
- const r = o ? new Set(o.actions) : null, s = n ? new Set(n.actions) : null;
652
- return e.reduce((a, i) => {
653
- if (i.inverted)
654
- return a.push(i), a;
655
- const u = i.subject;
651
+ const r = o ? new Set(o.actions) : null, t = n ? new Set(n.actions) : null;
652
+ return e.reduce((i, a) => {
653
+ if (a.inverted)
654
+ return i.push(a), i;
655
+ const u = a.subject;
656
656
  if (!u.startsWith(ie))
657
- return a.push(i), a;
658
- const c = t.has(u), l = c ? r : s, d = c ? o : n;
659
- if (!l || !d || !ue(d, i))
660
- return a.push(i), a;
661
- if (l.has("manage")) return a;
662
- const m = i.actions;
663
- if (m.includes("manage"))
664
- return a.push(i), a;
665
- const f = new Set(m);
657
+ return i.push(a), i;
658
+ const c = s.has(u), l = c ? r : t, d = c ? o : n;
659
+ if (!l || !d || !ue(d, a))
660
+ return i.push(a), i;
661
+ if (l.has("manage")) return i;
662
+ const f = a.actions;
663
+ if (f.includes("manage"))
664
+ return i.push(a), i;
665
+ const m = new Set(f);
666
666
  for (const p of l)
667
- f.delete(p);
668
- return f.size === 0 || a.push({ ...i, actions: Array.from(f) }), a;
667
+ m.delete(p);
668
+ return m.size === 0 || i.push({ ...a, actions: Array.from(m) }), i;
669
669
  }, []);
670
670
  }
671
- function M(e, t) {
671
+ function M(e, s) {
672
672
  var n, r;
673
- const o = new Map(e.map((s) => [s.subject, s]));
674
- for (const s of t) {
675
- if (s.inverted) {
676
- const i = o.get(s.subject);
677
- if (s.conditions) {
678
- if (i != null && i.conditions) {
679
- const u = JSON.parse(i.conditions), c = JSON.parse(s.conditions);
673
+ const o = new Map(e.map((t) => [t.subject, t]));
674
+ for (const t of s) {
675
+ if (t.inverted) {
676
+ const a = o.get(t.subject);
677
+ if (t.conditions) {
678
+ if (a != null && a.conditions) {
679
+ const u = JSON.parse(a.conditions), c = JSON.parse(t.conditions);
680
680
  if (!y(u) || !y(c)) {
681
- o.delete(s.subject);
681
+ o.delete(t.subject);
682
682
  continue;
683
683
  }
684
- const l = Object.keys(c)[0], d = ((n = c[l]) == null ? void 0 : n.$in) ?? [], f = (((r = u[l]) == null ? void 0 : r.$in) ?? []).filter((p) => !d.includes(p));
685
- f.length > 0 ? o.set(s.subject, {
686
- ...i,
687
- conditions: JSON.stringify({ [l]: { $in: f } })
688
- }) : o.delete(s.subject);
684
+ const l = Object.keys(c)[0], d = ((n = c[l]) == null ? void 0 : n.$in) ?? [], m = (((r = u[l]) == null ? void 0 : r.$in) ?? []).filter((p) => !d.includes(p));
685
+ m.length > 0 ? o.set(t.subject, {
686
+ ...a,
687
+ conditions: JSON.stringify({ [l]: { $in: m } })
688
+ }) : o.delete(t.subject);
689
689
  } else
690
- o.delete(s.subject);
690
+ o.delete(t.subject);
691
691
  continue;
692
692
  }
693
- if (i) {
694
- const u = new Set(s.actions), c = i.actions.filter((l) => !u.has(l));
695
- c.length > 0 ? o.set(s.subject, { ...i, actions: c }) : o.delete(s.subject);
693
+ if (a) {
694
+ const u = new Set(t.actions), c = a.actions.filter((l) => !u.has(l));
695
+ c.length > 0 ? o.set(t.subject, { ...a, actions: c }) : o.delete(t.subject);
696
696
  continue;
697
697
  }
698
698
  continue;
699
699
  }
700
- if (s.conditions) {
701
- o.set(s.subject, s);
700
+ if (t.conditions) {
701
+ o.set(t.subject, t);
702
702
  continue;
703
703
  }
704
- const a = o.get(s.subject);
705
- if (a != null && a.conditions && !y(JSON.parse(a.conditions))) {
706
- o.set(s.subject, s);
704
+ const i = o.get(t.subject);
705
+ if (i != null && i.conditions && !y(JSON.parse(i.conditions))) {
706
+ o.set(t.subject, t);
707
707
  continue;
708
708
  }
709
- if (a) {
710
- const i = [
709
+ if (i) {
710
+ const a = [
711
711
  .../* @__PURE__ */ new Set([
712
- ...a.actions,
713
- ...s.actions
712
+ ...i.actions,
713
+ ...t.actions
714
714
  ])
715
715
  ];
716
- o.set(s.subject, { ...a, actions: i });
716
+ o.set(t.subject, { ...i, actions: a });
717
717
  } else
718
- o.set(s.subject, s);
718
+ o.set(t.subject, t);
719
719
  }
720
720
  return Array.from(o.values());
721
721
  }
722
- function le(e, t) {
723
- const o = M(e, t), n = new Set(e.map((s) => s.subject)), r = t.filter(
724
- (s) => s.inverted && !n.has(s.subject)
722
+ function le(e, s) {
723
+ const o = M(e, s), n = new Set(e.map((t) => t.subject)), r = s.filter(
724
+ (t) => t.inverted && !n.has(t.subject)
725
725
  );
726
726
  return [...o, ...r];
727
727
  }
@@ -738,64 +738,64 @@ const P = "/permission-assignments", R = {
738
738
  async create(e) {
739
739
  return b(await v().post(P, e));
740
740
  },
741
- async update(e, t) {
742
- return b(await v().put(`${P}/${e}`, t));
741
+ async update(e, s) {
742
+ return b(await v().put(`${P}/${e}`, s));
743
743
  },
744
744
  async delete(e) {
745
745
  return b(await v().delete(`${P}/${e}`));
746
746
  },
747
- async addReportManagePermission(e, t) {
747
+ async addReportManagePermission(e, s) {
748
748
  return b(
749
- await v().post("/my-permissions/report-manage", { permissionKey: e, label: t })
749
+ await v().post("/my-permissions/report-manage", { permissionKey: e, label: s })
750
750
  );
751
751
  }
752
752
  }, de = z("permissionAssignment", () => {
753
753
  const e = S([]);
754
- async function t() {
755
- const i = await R.readAll();
756
- e.value = i;
754
+ async function s() {
755
+ const a = await R.readAll();
756
+ e.value = a;
757
757
  }
758
- async function o(i) {
759
- return await R.readByUserId(i);
758
+ async function o(a) {
759
+ return await R.readByUserId(a);
760
760
  }
761
- async function n(i) {
762
- const u = await R.create(i);
761
+ async function n(a) {
762
+ const u = await R.create(a);
763
763
  e.value = [...e.value, u];
764
764
  }
765
- async function r(i, u) {
766
- const c = await R.update(i, u);
767
- e.value = e.value.map((l) => l.id === i ? c : l);
765
+ async function r(a, u) {
766
+ const c = await R.update(a, u);
767
+ e.value = e.value.map((l) => l.id === a ? c : l);
768
768
  }
769
- async function s(i) {
770
- await R.delete(i), e.value = e.value.filter((u) => u.id !== i);
769
+ async function t(a) {
770
+ await R.delete(a), e.value = e.value.filter((u) => u.id !== a);
771
771
  }
772
- function a(i) {
773
- return e.value.find((u) => u.userId === i);
772
+ function i(a) {
773
+ return e.value.find((u) => u.userId === a);
774
774
  }
775
775
  return {
776
776
  permissionAssignments: e,
777
- readPermissionAssignments: t,
777
+ readPermissionAssignments: s,
778
778
  readPermissionAssignmentByUserId: o,
779
779
  createPermissionAssignment: n,
780
780
  updatePermissionAssignment: r,
781
- deletePermissionAssignment: s,
782
- getPermissionAssignmentByUserId: a
781
+ deletePermissionAssignment: t,
782
+ getPermissionAssignmentByUserId: i
783
783
  };
784
- }), me = () => {
784
+ }), fe = () => {
785
785
  const e = de();
786
786
  return {
787
787
  ...e,
788
788
  ...K(e)
789
789
  };
790
- }, fe = {
791
- async fetchReportPermissions(e, t) {
792
- const o = t ? { lang: t } : {};
790
+ }, me = {
791
+ async fetchReportPermissions(e, s) {
792
+ const o = s ? { lang: s } : {};
793
793
  return b(
794
794
  await x().get(`/report-query/hrm/${e}/reports`, { params: o })
795
795
  );
796
796
  },
797
- async fetchReportPermissionsForPortal(e, t) {
798
- const o = t ? { isSupportPos: !1, lang: t } : { isSupportPos: !1 };
797
+ async fetchReportPermissionsForPortal(e, s) {
798
+ const o = s ? { isSupportPos: !1, lang: s } : { isSupportPos: !1 };
799
799
  return b(
800
800
  await x().get(`/report-query/hrm/${e}/reports`, { params: o })
801
801
  );
@@ -803,9 +803,9 @@ const P = "/permission-assignments", R = {
803
803
  }, C = S([]), T = S(!1), $ = S(!1), I = S(null), D = S(null), J = S(!1);
804
804
  function pe() {
805
805
  const e = X();
806
- async function t() {
807
- var s;
808
- const n = (s = e.currentBusiness.value) == null ? void 0 : s.id;
806
+ async function s() {
807
+ var t;
808
+ const n = (t = e.currentBusiness.value) == null ? void 0 : t.id;
809
809
  if (!n) return;
810
810
  const r = localStorage.getItem("locale");
811
811
  if (I.value !== n && (C.value = [], T.value = !1, $.value = !1, I.value = n, J.value = !1), !(T.value && D.value === r)) {
@@ -815,14 +815,14 @@ function pe() {
815
815
  }
816
816
  $.value = !0;
817
817
  try {
818
- const a = await fe.fetchReportPermissionsForPortal(n, r);
818
+ const i = await me.fetchReportPermissionsForPortal(n, r);
819
819
  if (I.value !== n) return;
820
- C.value = a, T.value = !0, D.value = r;
821
- } catch (a) {
820
+ C.value = i, T.value = !0, D.value = r;
821
+ } catch (i) {
822
822
  if (I.value !== n) return;
823
- console.warn("Failed to fetch custom report permissions:", a), C.value = [];
823
+ console.warn("Failed to fetch custom report permissions:", i), C.value = [];
824
824
  } finally {
825
- I.value === n && ($.value = !1, J.value && (J.value = !1, await t()));
825
+ I.value === n && ($.value = !1, J.value && (J.value = !1, await s()));
826
826
  }
827
827
  }
828
828
  }
@@ -846,25 +846,25 @@ function pe() {
846
846
  }
847
847
  ));
848
848
  return {
849
- fetchCustomReportPermissions: t,
849
+ fetchCustomReportPermissions: s,
850
850
  customReportPermissions: o,
851
851
  isLoading: U(() => $.value),
852
852
  isLoaded: U(() => T.value)
853
853
  };
854
854
  }
855
855
  function A(e) {
856
- const t = ne(), o = me(), n = te().restaurants, { customReportPermissions: r } = pe(), s = o.getPermissionAssignmentByUserId(e.id), a = H(
857
- (s == null ? void 0 : s.permissionSetIds) ?? [],
858
- t.permissionSets.value
859
- ), i = Q(a).map(
856
+ const s = ne(), o = fe(), n = te().restaurants, { customReportPermissions: r } = pe(), t = o.getPermissionAssignmentByUserId(e.id), i = H(
857
+ (t == null ? void 0 : t.permissionSetIds) ?? [],
858
+ s.permissionSets.value
859
+ ), a = Q(i).map(
860
860
  ({ setNames: p, ...g }) => g
861
- ), u = s == null ? void 0 : s.customPermissions, c = u ?? e.permissions.map((p) => ({
861
+ ), u = t == null ? void 0 : t.customPermissions, c = u ?? e.permissions.map((p) => ({
862
862
  ...p,
863
863
  subject: O(p.subject)
864
- })), l = M(i, c), d = G(
865
- le(i, c),
864
+ })), l = M(a, c), d = G(
865
+ le(a, c),
866
866
  V
867
- ).filter((p) => !p.inverted), m = ve(d), f = m ?? n.value.map((p) => p._id);
867
+ ).filter((p) => !p.inverted), f = ve(d), m = f ?? n.value.map((p) => p._id);
868
868
  return {
869
869
  doc: e,
870
870
  id: e.id,
@@ -872,12 +872,12 @@ function A(e) {
872
872
  phoneNumber: e.phoneNumber,
873
873
  email: e.email,
874
874
  restaurants: W(
875
- f.map((p) => {
875
+ m.map((p) => {
876
876
  var g;
877
877
  return ((g = n.value.find((Y) => Y._id === p)) == null ? void 0 : g.profile.name) ?? "";
878
878
  })
879
879
  ),
880
- managableRestaurantIds: m,
880
+ managableRestaurantIds: f,
881
881
  permissionLabels: Se(d, r.value),
882
882
  permissions: l
883
883
  };
@@ -892,7 +892,7 @@ const be = Object.freeze(
892
892
  },
893
893
  async readTeamMembersPage(e) {
894
894
  var o, n, r;
895
- const t = b(
895
+ const s = b(
896
896
  await v().get("/portal-users/paged", {
897
897
  params: {
898
898
  limit: e.limit,
@@ -905,8 +905,8 @@ const be = Object.freeze(
905
905
  })
906
906
  );
907
907
  return {
908
- items: t.items.map(A),
909
- total: t.total
908
+ items: s.items.map(A),
909
+ total: s.total
910
910
  };
911
911
  },
912
912
  async readTeamMember(e) {
@@ -919,33 +919,33 @@ const be = Object.freeze(
919
919
  b(await v().post("/portal-users", e))
920
920
  );
921
921
  },
922
- async updateTeamMember(e, t) {
922
+ async updateTeamMember(e, s) {
923
923
  return A(
924
- b(await v().put(`/portal-users/${e}`, t))
924
+ b(await v().put(`/portal-users/${e}`, s))
925
925
  );
926
926
  },
927
927
  async deleteTeamMember(e) {
928
928
  return b(await v().delete(`/portal-users/${e}`));
929
929
  },
930
930
  async readTeamMemberPosUserIds() {
931
- return b(await v().get("/portal-users")).map((t) => t.posUserId);
931
+ return b(await v().get("/portal-users")).map((s) => s.posUserId);
932
932
  }
933
933
  };
934
- function Te(e, t, o) {
935
- if (e.some((a) => a.subject === "all")) return "All";
934
+ function Te(e, s, o) {
935
+ if (e.some((i) => i.subject === "all")) return "All";
936
936
  const n = (o ?? L).filter(
937
- (a) => a.subject === t
938
- ), r = new Set(n.map((a) => w(a).value)), s = e.filter((a) => a.subject === t).filter((a) => r.has(w(a).value));
939
- return s.length === n.length ? "All" : s.length === 0 ? "-" : `${s.length} permission allow`;
937
+ (i) => i.subject === s
938
+ ), r = new Set(n.map((i) => w(i).value)), t = e.filter((i) => i.subject === s).filter((i) => r.has(w(i).value));
939
+ return t.length === n.length ? "All" : t.length === 0 ? "-" : `${t.length} permission allow`;
940
940
  }
941
941
  function w(e) {
942
- const t = Z(e), o = t.subject;
942
+ const s = Z(e), o = s.subject;
943
943
  return {
944
- ...t,
944
+ ...s,
945
945
  get conditions() {
946
- if (typeof t.conditions != "string") return t.conditions;
946
+ if (typeof s.conditions != "string") return s.conditions;
947
947
  try {
948
- return JSON.parse(t.conditions);
948
+ return JSON.parse(s.conditions);
949
949
  } catch {
950
950
  return;
951
951
  }
@@ -960,92 +960,72 @@ function w(e) {
960
960
  get isReportPermission() {
961
961
  return o === h.F_RULE_SUBJECT.enum.report;
962
962
  },
963
- /**
964
- * Order and report rules are only meaningful together with the condition
965
- * that names them. A rule missing it cannot be rendered or matched against
966
- * the available permission list, so callers must preserve it verbatim —
967
- * see `splitRoleFormPermissions`, which routes it to `passthrough`, not
968
- * `dropped`. Dropping it would silently revoke a grant the portal cannot
969
- * display (HRM-0027).
970
- */
971
- get isResolvable() {
972
- return this.discriminator !== void 0;
973
- },
974
- /**
975
- * The condition value that identifies this rule, if the subject needs one.
976
- * An empty condition counts as missing: `{ name: '' }` is a known corrupted
977
- * shape that used to resolve to the first hardcoded report permission on
978
- * save (HRM-0027), so it must not look resolvable here either.
979
- */
980
- get discriminator() {
981
- var n, r;
982
- return this.isOrderOperation ? ((n = this.conditions) == null ? void 0 : n.operation) || void 0 : this.isReportPermission ? ((r = this.conditions) == null ? void 0 : r.name) || void 0 : o.toString();
983
- },
984
963
  get formatted() {
985
- const n = this.discriminator;
986
- return n === void 0 ? o.toString() : n.endsWith("_") ? n.slice(0, n.length - 1) : n;
964
+ var r, t;
965
+ const n = (i) => i.endsWith("_") ? i.slice(0, i.length - 1) : i;
966
+ return this.isOrderOperation ? n(((r = this.conditions) == null ? void 0 : r.operation) ?? "") : this.isReportPermission ? n(((t = this.conditions) == null ? void 0 : t.name) ?? "") : o.toString();
987
967
  },
988
968
  get label() {
989
- return t.label || ee(this.formatted);
969
+ return s.label || ee(this.formatted);
990
970
  },
991
971
  get value() {
992
- const n = this.discriminator;
993
- return this.isOrderOperation || this.isReportPermission ? n === void 0 ? o.toString() : `${o}:${n}` : o.toString();
972
+ var n, r;
973
+ return this.isOrderOperation ? `${o}:${(n = this.conditions) == null ? void 0 : n.operation}` : this.isReportPermission ? `${o}:${(r = this.conditions) == null ? void 0 : r.name}` : o.toString();
994
974
  }
995
975
  };
996
976
  }
997
977
  function Je(e) {
998
978
  var n, r;
999
- const t = e.map((s) => w(s)).find((s) => s.isDiscountOperation);
1000
- if (!t) return 100;
1001
- const o = Number((r = (n = t.conditions) == null ? void 0 : n.adjustment) == null ? void 0 : r.$lte);
979
+ const s = e.map((t) => w(t)).find((t) => t.isDiscountOperation);
980
+ if (!s) return 100;
981
+ const o = Number((r = (n = s.conditions) == null ? void 0 : n.adjustment) == null ? void 0 : r.$lte);
1002
982
  return Number.isFinite(o) ? parseInt((o * 100).toFixed(0)) : 0;
1003
983
  }
1004
984
  function ve(e) {
1005
- const t = e.find(
985
+ const s = e.find(
1006
986
  (o) => o.subject === _.Subject.Restaurant.restaurant
1007
987
  );
1008
- return t ? t.conditions ? JSON.parse(t.conditions).restaurantId.$in : null : [];
988
+ return s ? s.conditions ? JSON.parse(s.conditions).restaurantId.$in : null : [];
1009
989
  }
1010
990
  function Ue(e) {
1011
- return (e == null ? void 0 : e.some((t) => t.subject === "all")) ?? !1;
991
+ return (e == null ? void 0 : e.some((s) => s.subject === "all")) ?? !1;
1012
992
  }
1013
993
  function Be(e) {
1014
- const t = e.find((o) => o.subject === _.Subject.Business.role);
1015
- return t ? t.conditions ? JSON.parse(t.conditions).roleId.$in : null : [];
994
+ const s = e.find((o) => o.subject === _.Subject.Business.role);
995
+ return s ? s.conditions ? JSON.parse(s.conditions).roleId.$in : null : [];
1016
996
  }
1017
997
  function Le(e) {
1018
- const t = w(e);
1019
- if (!t.isReportPermission) return;
1020
- const { name: o, ...n } = t.conditions ?? {};
998
+ const s = w(e);
999
+ if (!s.isReportPermission) return;
1000
+ const { name: o, ...n } = s.conditions ?? {};
1021
1001
  return Object.keys(n).length > 0 ? n : void 0;
1022
1002
  }
1023
- function Me(e, t, o) {
1003
+ function Me(e, s, o) {
1024
1004
  return e.flatMap((n) => {
1025
1005
  const r = ge(n);
1026
1006
  if (!r) return [];
1027
- const s = r.isReportPermission ? o == null ? void 0 : o.get(n) : void 0;
1007
+ const t = r.isReportPermission ? o == null ? void 0 : o.get(n) : void 0;
1028
1008
  return [
1029
1009
  {
1030
1010
  subject: r.subject,
1031
1011
  actions: r.actions,
1032
1012
  conditions: {
1033
1013
  ...r.conditions,
1034
- ...s ?? {},
1035
- adjustment: r.isDiscountOperation ? { $lte: parseFloat((t / 100).toFixed(2)) } : void 0
1014
+ ...t ?? {},
1015
+ adjustment: r.isDiscountOperation ? { $lte: parseFloat((s / 100).toFixed(2)) } : void 0
1036
1016
  }
1037
1017
  }
1038
1018
  ];
1039
1019
  });
1040
1020
  }
1041
1021
  function ge(e) {
1042
- const t = e.indexOf(":"), o = t === -1 ? e : e.slice(0, t), n = t === -1 ? void 0 : e.slice(t + 1);
1043
- if (t !== -1 && !n) return;
1022
+ const s = e.indexOf(":"), o = s === -1 ? e : e.slice(0, s), n = s === -1 ? void 0 : e.slice(s + 1);
1023
+ if (s !== -1 && !n) return;
1044
1024
  let r;
1045
- return n ? (r = L.find((s) => {
1046
- if (s.subject !== o) return !1;
1047
- const a = typeof s.conditions == "string" ? JSON.parse(s.conditions) : s.conditions;
1048
- return [a == null ? void 0 : a.operation, a == null ? void 0 : a.name].includes(n);
1025
+ return n ? (r = L.find((t) => {
1026
+ if (t.subject !== o) return !1;
1027
+ const i = typeof t.conditions == "string" ? JSON.parse(t.conditions) : t.conditions;
1028
+ return [i == null ? void 0 : i.operation, i == null ? void 0 : i.name].includes(n);
1049
1029
  }), !r && o === h.F_RULE_SUBJECT.enum.report && (r = {
1050
1030
  label: "",
1051
1031
  subject: h.F_RULE_SUBJECT.enum.report,
@@ -1053,9 +1033,9 @@ function ge(e) {
1053
1033
  conditions: { name: n },
1054
1034
  inverted: !1,
1055
1035
  reason: ""
1056
- })) : r = L.find((s) => s.subject === o), r ? w(r) : void 0;
1036
+ })) : r = L.find((t) => t.subject === o), r ? w(r) : void 0;
1057
1037
  }
1058
- function Fe(e, t) {
1038
+ function Fe(e, s) {
1059
1039
  const o = { values: [], passthrough: [], dropped: [] };
1060
1040
  for (const n of e) {
1061
1041
  const r = n == null ? void 0 : n.actions;
@@ -1063,20 +1043,20 @@ function Fe(e, t) {
1063
1043
  o.dropped.push(n);
1064
1044
  continue;
1065
1045
  }
1066
- const s = w(n).value, a = `${h.F_RULE_SUBJECT.enum.report}:`, i = s.startsWith(a) ? s.slice(a.length) : "";
1067
- t.has(s) || i && i !== "undefined" ? o.values.push(s) : o.passthrough.push(n);
1046
+ const t = w(n).value, i = `${h.F_RULE_SUBJECT.enum.report}:`, a = t.startsWith(i) ? t.slice(i.length) : "";
1047
+ s.has(t) || a && a !== "undefined" ? o.values.push(t) : o.passthrough.push(n);
1068
1048
  }
1069
1049
  return o;
1070
1050
  }
1071
- function Se(e, t = []) {
1051
+ function Se(e, s = []) {
1072
1052
  return W(
1073
1053
  e.reduce((o, n) => {
1074
1054
  const r = be.find(
1075
- (s) => s.subject === n.subject && n.actions.includes("manage")
1076
- ) || t.find((s) => s.subject === n.subject);
1055
+ (t) => t.subject === n.subject && n.actions.includes("manage")
1056
+ ) || s.find((t) => t.subject === n.subject);
1077
1057
  if (r) {
1078
- const s = r.subject === _.Subject.Business.inventory_stock ? "Warehouse Management" : r.label;
1079
- o.push(s);
1058
+ const t = r.subject === _.Subject.Business.inventory_stock ? "Warehouse Management" : r.label;
1059
+ o.push(t);
1080
1060
  }
1081
1061
  return o;
1082
1062
  }, [])
@@ -1085,7 +1065,7 @@ function Se(e, t = []) {
1085
1065
  export {
1086
1066
  G as N,
1087
1067
  Q as P,
1088
- fe as R,
1068
+ me as R,
1089
1069
  Le as a,
1090
1070
  Te as b,
1091
1071
  H as c,
@@ -1108,7 +1088,7 @@ export {
1108
1088
  Ce as t,
1109
1089
  ne as u,
1110
1090
  Ne as v,
1111
- me as w,
1091
+ fe as w,
1112
1092
  Se as x,
1113
1093
  Ae as y
1114
1094
  };