@feedmepos/mf-hrm-portal 2.0.8-dev.16 → 2.0.8-dev.18

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 (29) hide show
  1. package/dist/AuditLogList-1UVDS19H.js +802 -0
  2. package/dist/{EmployeeList-DjXJV7v-.js → EmployeeList-ByUJ2SF9.js} +5 -5
  3. package/dist/{Main-D0DNh7NR.js → Main-7tLK7qPa.js} +4 -4
  4. package/dist/{Main-BBkrtOtr.js → Main-C20b5HgL.js} +9 -9
  5. package/dist/{Main-Bxxz18Ar.js → Main-CurtiZ-3.js} +6 -6
  6. package/dist/{PermissionSetList-BUyB0u6X.js → PermissionSetList-CSLzYcw7.js} +28 -28
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DUhFRgkY.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DYg5WOE5.js} +876 -876
  8. package/dist/{RoleList-CesbL2_4.js → RoleList-Dnqlh3Ow.js} +7 -7
  9. package/dist/{TeamMemberList-ChTiyQQe.js → TeamMemberList-DDEiOr_n.js} +8 -8
  10. package/dist/{TimesheetList-D8xYI5PZ.js → TimesheetList-DbCnkKkG.js} +7 -7
  11. package/dist/{app-CMpSSdeu.js → app-CvwHREKu.js} +1736 -1188
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-CMjI333x.js → dayjs.min-BO_eER_a.js} +1 -1
  14. package/dist/{employee-u5eIDT8N.js → employee-C0IdmyuS.js} +4 -4
  15. package/dist/{index-BMkovX06.js → index-DOp8utmL.js} +2 -2
  16. package/dist/{index-InUmC-Ym.js → index-aRoJM-Ja.js} +1 -1
  17. package/dist/{iteration-DddijQ2d.js → iteration-DhAhuJkI.js} +1 -1
  18. package/dist/{lodash-BUzaNkBO.js → lodash-DLLCKnyf.js} +1 -1
  19. package/dist/src/views/audit-log/components/AuditLogModuleTabs.vue.d.ts +20 -0
  20. package/dist/src/views/audit-log/constants.d.ts +30 -0
  21. package/dist/src/views/audit-log/locales/index.d.ts +4 -0
  22. package/dist/{team-CIP7nJi9.js → team-DWVRSONN.js} +1 -1
  23. package/dist/{timesheet-DXxruMhG.js → timesheet-BncEz2En.js} +3 -3
  24. package/dist/tsconfig.app.tsbuildinfo +1 -1
  25. package/dist/{useAppStore-CeW_gGxL.js → useAppStore-CM-zLY3O.js} +1 -1
  26. package/dist/{useLoading-CXW5pkFu.js → useLoading-B14dLvdS.js} +1 -1
  27. package/dist/{useReportPermissions-YzD_BdM1.js → useReportPermissions-BBLrZyHg.js} +3 -3
  28. package/package.json +3 -3
  29. package/dist/AuditLogList-DrQsclHI.js +0 -734
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e, i as r, r as o } from "./app-CMpSSdeu.js";
1
+ import { d as e, i as r, r as o } from "./app-CvwHREKu.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-CMpSSdeu.js";
1
+ import { g as Q, c as K } from "./app-CvwHREKu.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, k) {
@@ -1,10 +1,10 @@
1
- import { d as T } from "./dayjs.min-CMjI333x.js";
1
+ import { d as T } from "./dayjs.min-BO_eER_a.js";
2
2
  import { defineStore as _, storeToRefs as U } from "pinia";
3
3
  import { ref as I } from "vue";
4
4
  import { useCoreStore as $ } from "@feedmepos/mf-common";
5
- import { b as r, g as o, s as v } from "./iteration-DddijQ2d.js";
6
- import { t as b, i as S } from "./index-BMkovX06.js";
7
- import { u as x } from "./useAppStore-CeW_gGxL.js";
5
+ import { b as r, g as o, s as v } from "./iteration-DhAhuJkI.js";
6
+ import { t as b, i as S } from "./index-DOp8utmL.js";
7
+ import { u as x } from "./useAppStore-CM-zLY3O.js";
8
8
  const n = {
9
9
  async readEmployees() {
10
10
  return o(await r().get("/pos-users"));
@@ -1,5 +1,5 @@
1
- import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-DddijQ2d.js";
2
- import { b as J, e as R, d as F, a as D, y as S, N as Q } from "./app-CMpSSdeu.js";
1
+ import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-DhAhuJkI.js";
2
+ import { h as J, a as R, l as F, u as D, e as S, y as Q } from "./app-CvwHREKu.js";
3
3
  import { defineStore as x, storeToRefs as k } from "pinia";
4
4
  import { ref as h, computed as N } from "vue";
5
5
  import { useCoreStore as q } from "@feedmepos/mf-common";
@@ -2,7 +2,7 @@ var oe = Object.defineProperty;
2
2
  var se = (_, h, y) => h in _ ? oe(_, h, { enumerable: !0, configurable: !0, writable: !0, value: y }) : _[h] = y;
3
3
  var ot = (_, h, y) => se(_, typeof h != "symbol" ? h + "" : h, y);
4
4
  import { readonly as Nt, ref as Rt } from "vue";
5
- import { c as st } from "./app-CMpSSdeu.js";
5
+ import { c as st } from "./app-CvwHREKu.js";
6
6
  var Pt = { exports: {} };
7
7
  (function(_, h) {
8
8
  (function(y, p) {
@@ -1,4 +1,4 @@
1
- import { c as U } from "./app-CMpSSdeu.js";
1
+ import { c as U } from "./app-CvwHREKu.js";
2
2
  import { useCoreStore as To, baseClientInstance as jr, FeedMeAuth as Zs } from "@feedmepos/mf-common";
3
3
  var Ys = {}, _n = {}, _ = {}, zo = {}, $i = {}, eo = {}, ui = {};
4
4
  (function(e) {
@@ -1,4 +1,4 @@
1
- import { c as jt } from "./app-CMpSSdeu.js";
1
+ import { c as jt } from "./app-CvwHREKu.js";
2
2
  var Jr = { exports: {} };
3
3
  /**
4
4
  * @license
@@ -0,0 +1,20 @@
1
+ type TabValue = string | number;
2
+ type TabItem = {
3
+ label: string;
4
+ value: TabValue;
5
+ disabled?: boolean;
6
+ badge?: number;
7
+ };
8
+ type __VLS_Props = {
9
+ modelValue: TabValue | null;
10
+ items: TabItem[];
11
+ showMoreAt?: number;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: TabValue) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: TabValue) => any) | undefined;
17
+ }>, {
18
+ showMoreAt: number;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,30 @@
1
+ export declare const AUDIT_LOG_MODULE_TABS: readonly [{
2
+ readonly key: "all";
3
+ readonly label: "All";
4
+ readonly subjectPrefixes: string[];
5
+ }, {
6
+ readonly key: "inventory";
7
+ readonly label: "Inventory";
8
+ readonly subjectPrefixes: readonly ["business::inventory", "inventory"];
9
+ }, {
10
+ readonly key: "report";
11
+ readonly label: "Report";
12
+ readonly subjectPrefixes: readonly ["business::report", "report"];
13
+ }, {
14
+ readonly key: "hrm";
15
+ readonly label: "HRM";
16
+ readonly subjectPrefixes: readonly ["business::hrm", "hrm"];
17
+ }, {
18
+ readonly key: "payment";
19
+ readonly label: "Payment";
20
+ readonly subjectPrefixes: readonly ["business::payment", "payment"];
21
+ }, {
22
+ readonly key: "menu";
23
+ readonly label: "Menu";
24
+ readonly subjectPrefixes: readonly ["business::menu", "menu"];
25
+ }, {
26
+ readonly key: "crm";
27
+ readonly label: "CRM";
28
+ readonly subjectPrefixes: readonly ["business::crm", "crm"];
29
+ }];
30
+ export type AuditLogModuleTab = (typeof AUDIT_LOG_MODULE_TABS)[number];
@@ -35,6 +35,7 @@ export declare const i18nMessages: {
35
35
  payment: string;
36
36
  menu: string;
37
37
  crm: string;
38
+ more: string;
38
39
  };
39
40
  columns: {
40
41
  timestamp: string;
@@ -151,6 +152,7 @@ export declare const i18nMessages: {
151
152
  payment: string;
152
153
  menu: string;
153
154
  crm: string;
155
+ more: string;
154
156
  };
155
157
  columns: {
156
158
  timestamp: string;
@@ -268,6 +270,7 @@ export declare const i18nMessages: {
268
270
  payment: string;
269
271
  menu: string;
270
272
  crm: string;
273
+ more: string;
271
274
  };
272
275
  columns: {
273
276
  timestamp: string;
@@ -385,6 +388,7 @@ export declare const i18nMessages: {
385
388
  payment: string;
386
389
  menu: string;
387
390
  crm: string;
391
+ more: string;
388
392
  };
389
393
  columns: {
390
394
  timestamp: string;
@@ -1,6 +1,6 @@
1
1
  import { defineStore as d } from "pinia";
2
2
  import { ref as s, computed as o } from "vue";
3
- import { t as f } from "./index-BMkovX06.js";
3
+ import { t as f } from "./index-DOp8utmL.js";
4
4
  const I = d("team", () => {
5
5
  const r = s([]), a = s(!1), m = o(
6
6
  () => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
@@ -1,8 +1,8 @@
1
- import { d as i } from "./dayjs.min-CMjI333x.js";
1
+ import { d as i } from "./dayjs.min-BO_eER_a.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
- import { b as c, g as y, s as S } from "./iteration-DddijQ2d.js";
5
- import { i as u, b as g } from "./index-BMkovX06.js";
4
+ import { b as c, g as y, s as S } from "./iteration-DhAhuJkI.js";
5
+ import { i as u, b as g } from "./index-DOp8utmL.js";
6
6
  const f = {
7
7
  async readTimesheets(t, e) {
8
8
  return y(await c().get(`timesheet?start=${t}&end=${e}`));