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

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 (28) hide show
  1. package/dist/AuditLogList-BNOhL75v.js +792 -0
  2. package/dist/{EmployeeList-DjXJV7v-.js → EmployeeList-CIVd7TT4.js} +5 -5
  3. package/dist/{Main-Bxxz18Ar.js → Main-DfDLgL31.js} +6 -6
  4. package/dist/{Main-D0DNh7NR.js → Main-DzRNS6is.js} +4 -4
  5. package/dist/{Main-BBkrtOtr.js → Main-n4rYlWPw.js} +9 -9
  6. package/dist/{PermissionSetList-BUyB0u6X.js → PermissionSetList-MIVMrxD5.js} +5 -5
  7. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DUhFRgkY.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BbDFemzB.js} +637 -637
  8. package/dist/{RoleList-CesbL2_4.js → RoleList-D-Eckybt.js} +7 -7
  9. package/dist/{TeamMemberList-ChTiyQQe.js → TeamMemberList-CQ0_XEDl.js} +8 -8
  10. package/dist/{TimesheetList-D8xYI5PZ.js → TimesheetList-B1rhAA1b.js} +7 -7
  11. package/dist/{app-CMpSSdeu.js → app-by6XXDQy.js} +12 -8
  12. package/dist/app.js +1 -1
  13. package/dist/{dayjs.min-CMjI333x.js → dayjs.min-pMMbdX3v.js} +1 -1
  14. package/dist/{employee-u5eIDT8N.js → employee-BcIA1Cie.js} +4 -4
  15. package/dist/{index-BMkovX06.js → index-Di_6eujn.js} +2 -2
  16. package/dist/{index-InUmC-Ym.js → index-uj01aRCZ.js} +1 -1
  17. package/dist/{iteration-DddijQ2d.js → iteration-Bx-ZYM-b.js} +1 -1
  18. package/dist/{lodash-BUzaNkBO.js → lodash-BCTEbnPv.js} +1 -1
  19. package/dist/src/views/audit-log/components/AuditLogModuleTabs.vue.d.ts +20 -0
  20. package/dist/src/views/audit-log/locales/index.d.ts +4 -0
  21. package/dist/{team-CIP7nJi9.js → team-CigHObEk.js} +1 -1
  22. package/dist/{timesheet-DXxruMhG.js → timesheet-CtqIEgCP.js} +3 -3
  23. package/dist/tsconfig.app.tsbuildinfo +1 -1
  24. package/dist/{useAppStore-CeW_gGxL.js → useAppStore-Cv7_PUF7.js} +1 -1
  25. package/dist/{useLoading-CXW5pkFu.js → useLoading-D_mFwIoX.js} +1 -1
  26. package/dist/{useReportPermissions-YzD_BdM1.js → useReportPermissions-DHhsduxz.js} +3 -3
  27. package/package.json +1 -1
  28. package/dist/AuditLogList-DrQsclHI.js +0 -734
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as he, ref as T, computed as _, onMounted as _e, watch as ue, resolveComponent as y, createBlock as k, openBlock as v, unref as t, withCtx as b, createElementVNode as h, createVNode as p, createCommentVNode as me, createElementBlock as P, Fragment as W, renderList as ae, toDisplayString as M, h as V, createTextVNode as de, resolveDynamicComponent as ce, withModifiers as we, nextTick as pe } from "vue";
2
- import { e as w } from "./iteration-DddijQ2d.js";
2
+ import { e as w } from "./iteration-Bx-ZYM-b.js";
3
3
  import { useI18n as ge, useCoreStore as be } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as ye, components as se, useDialog as ke, useBreakpoints as Ue, FmButtonColorThemeVariant as ve, FmButtonVariant as Le } from "@feedmepos/ui-library";
5
- import { _ as Ie } from "./app-CMpSSdeu.js";
5
+ import { _ as Ie } from "./app-by6XXDQy.js";
6
6
  import { _ as Ee } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { e as Se, r as K, h as re, f as Pe, g as fe, a as Z } from "./index-BMkovX06.js";
8
- import { u as Fe } from "./useAppStore-CeW_gGxL.js";
9
- import { u as xe } from "./useReportPermissions-YzD_BdM1.js";
7
+ import { e as Se, r as K, h as re, f as Pe, g as fe, a as Z } from "./index-Di_6eujn.js";
8
+ import { u as Fe } from "./useAppStore-Cv7_PUF7.js";
9
+ import { u as xe } from "./useReportPermissions-DHhsduxz.js";
10
10
  import { u as $e, a as Te } from "./useRestaurantMap-e9fQJiLC.js";
11
- import { l as ee } from "./lodash-BUzaNkBO.js";
11
+ import { l as ee } from "./lodash-BCTEbnPv.js";
12
12
  import { _ as oe, a as Be } from "./FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js";
13
- import { u as De } from "./useLoading-CXW5pkFu.js";
13
+ import { u as De } from "./useLoading-D_mFwIoX.js";
14
14
  const Ae = { class: "fm-typo-en-title-md-600" }, Me = { class: "space-y-40" }, Ne = { class: "space-y-8" }, Oe = { class: "space-y-8" }, Je = {
15
15
  key: 0,
16
16
  class: "w-50 ml-5 flex flex-row items-start"
@@ -2,17 +2,17 @@ import { defineComponent as ae, ref as F, resolveComponent as _, createBlock as
2
2
  import { useI18n as de, useCoreStore as ce, baseClientInstance as ge, RestaurantSelector as Ve } from "@feedmepos/mf-common";
3
3
  import { useBreakpoints as Ne, useSnackbar as Be, useDialog as Te, components as Fe } from "@feedmepos/ui-library";
4
4
  import { _ as ze, S as xe } from "./SelectFilter-DUj7GBtT.js";
5
- import { a as Se, f as qe, N as Ke, _ as Ge } from "./app-CMpSSdeu.js";
5
+ import { a as Se, f as qe, N as Ke, _ as Ge } from "./app-by6XXDQy.js";
6
6
  import { _ as We } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
7
  import { u as De } from "./useSearch-B6WK1LBB.js";
8
- import { u as Je } from "./useLoading-CXW5pkFu.js";
9
- import { g as Ue, d as Oe } from "./iteration-DddijQ2d.js";
10
- import { u as je, c as Xe, d as Qe, m as pe, j as Ae, p as we, k as Ye, l as Pe, n as Ze, o as He, s as et, q as tt, v as st, t as fe } from "./index-BMkovX06.js";
11
- import "./index-InUmC-Ym.js";
12
- import { u as Ee } from "./useAppStore-CeW_gGxL.js";
8
+ import { u as Je } from "./useLoading-D_mFwIoX.js";
9
+ import { g as Ue, d as Oe } from "./iteration-Bx-ZYM-b.js";
10
+ import { u as je, c as Xe, d as Qe, m as pe, j as Ae, p as we, k as Ye, l as Pe, n as Ze, o as He, s as et, q as tt, v as st, t as fe } from "./index-Di_6eujn.js";
11
+ import "./index-uj01aRCZ.js";
12
+ import { u as Ee } from "./useAppStore-Cv7_PUF7.js";
13
13
  /* empty css */
14
- import { _ as ot, a as at } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DUhFRgkY.js";
15
- import { u as lt } from "./team-CIP7nJi9.js";
14
+ import { _ as ot, a as at } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BbDFemzB.js";
15
+ import { u as lt } from "./team-CigHObEk.js";
16
16
  const nt = /* @__PURE__ */ ae({
17
17
  __name: "BottomSheetMenu",
18
18
  setup(o) {
@@ -1,14 +1,14 @@
1
1
  import { ref as d, computed as b, defineComponent as ce, onMounted as me, watch as X, resolveComponent as i, createElementBlock as B, openBlock as D, Fragment as Z, createVNode as l, createElementVNode as u, unref as n, withCtx as C, createCommentVNode as pe, toDisplayString as $, createTextVNode as ve, createBlock as z, isRef as fe, renderList as he, nextTick as ge } from "vue";
2
- import { d as v } from "./dayjs.min-CMjI333x.js";
2
+ import { d as v } from "./dayjs.min-pMMbdX3v.js";
3
3
  import { useI18n as we, useCoreStore as ye, RestaurantSelector as be } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as _e, components as De } from "@feedmepos/ui-library";
5
- import { _ as xe } from "./app-CMpSSdeu.js";
5
+ import { _ as xe } from "./app-by6XXDQy.js";
6
6
  import { _ as Se } from "./index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js";
7
- import { u as ke } from "./useLoading-CXW5pkFu.js";
8
- import { c as Ce, s as Ve } from "./iteration-DddijQ2d.js";
9
- import { b as Fe } from "./index-BMkovX06.js";
10
- import { u as Ye } from "./employee-u5eIDT8N.js";
11
- import { u as Le } from "./timesheet-DXxruMhG.js";
7
+ import { u as ke } from "./useLoading-D_mFwIoX.js";
8
+ import { c as Ce, s as Ve } from "./iteration-Bx-ZYM-b.js";
9
+ import { b as Fe } from "./index-Di_6eujn.js";
10
+ import { u as Ye } from "./employee-BcIA1Cie.js";
11
+ import { u as Le } from "./timesheet-CtqIEgCP.js";
12
12
  function Me(x, a) {
13
13
  return ["years", "months"].find((S) => {
14
14
  const k = x.startOf(S), f = x.endOf(S);
@@ -34,7 +34,8 @@ const Ee = {
34
34
  hrm: "HRM",
35
35
  payment: "Payment",
36
36
  menu: "Menu",
37
- crm: "CRM"
37
+ crm: "CRM",
38
+ more: "More"
38
39
  },
39
40
  columns: {
40
41
  timestamp: "Date",
@@ -153,7 +154,8 @@ const Ee = {
153
154
  hrm: "ทรัพยากรบุคคล",
154
155
  payment: "การชำระเงิน",
155
156
  menu: "เมนู",
156
- crm: "CRM"
157
+ crm: "CRM",
158
+ more: "เพิ่มเติม"
157
159
  },
158
160
  columns: {
159
161
  timestamp: "วันที่",
@@ -273,7 +275,8 @@ const Ee = {
273
275
  hrm: "人事",
274
276
  payment: "支付",
275
277
  menu: "菜单",
276
- crm: "CRM"
278
+ crm: "CRM",
279
+ more: "更多"
277
280
  },
278
281
  columns: {
279
282
  timestamp: "日期",
@@ -393,7 +396,8 @@ const Ee = {
393
396
  hrm: "人事",
394
397
  payment: "支付",
395
398
  menu: "菜單",
396
- crm: "CRM"
399
+ crm: "CRM",
400
+ more: "更多"
397
401
  },
398
402
  columns: {
399
403
  timestamp: "日期",
@@ -3689,10 +3693,10 @@ const ae = (e) => ({
3689
3693
  }
3690
3694
  ]
3691
3695
  }
3692
- }), fr = ee(F(() => import("./Main-BBkrtOtr.js"))), wr = ee(F(() => import("./Main-Bxxz18Ar.js"))), Mr = ee(
3693
- F(() => import("./AuditLogList-DrQsclHI.js"))
3694
- ), Dr = ee(F(() => import("./Main-D0DNh7NR.js"))), vr = F(() => import("./EmployeeList-DjXJV7v-.js")), yr = F(() => import("./RoleList-CesbL2_4.js")), Cr = F(() => import("./TimesheetList-D8xYI5PZ.js")), hr = F(() => import("./TeamMemberList-ChTiyQQe.js")), Yr = F(
3695
- () => import("./PermissionSetList-BUyB0u6X.js")
3696
+ }), fr = ee(F(() => import("./Main-n4rYlWPw.js"))), wr = ee(F(() => import("./Main-DfDLgL31.js"))), Mr = ee(
3697
+ F(() => import("./AuditLogList-BNOhL75v.js"))
3698
+ ), Dr = ee(F(() => import("./Main-DzRNS6is.js"))), vr = F(() => import("./EmployeeList-CIVd7TT4.js")), yr = F(() => import("./RoleList-D-Eckybt.js")), Cr = F(() => import("./TimesheetList-B1rhAA1b.js")), hr = F(() => import("./TeamMemberList-CQ0_XEDl.js")), Yr = F(
3699
+ () => import("./PermissionSetList-MIVMrxD5.js")
3696
3700
  ), Xr = [
3697
3701
  {
3698
3702
  path: "/",
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 { j as e, i as r, r as o } from "./app-by6XXDQy.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-by6XXDQy.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-pMMbdX3v.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-Bx-ZYM-b.js";
6
+ import { t as b, i as S } from "./index-Di_6eujn.js";
7
+ import { u as x } from "./useAppStore-Cv7_PUF7.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-Bx-ZYM-b.js";
2
+ import { b as J, e as R, d as F, a as D, y as S, N as Q } from "./app-by6XXDQy.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-by6XXDQy.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-by6XXDQy.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-by6XXDQy.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;
@@ -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-Di_6eujn.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-pMMbdX3v.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-Bx-ZYM-b.js";
5
+ import { i as u, b as g } from "./index-Di_6eujn.js";
6
6
  const f = {
7
7
  async readTimesheets(t, e) {
8
8
  return y(await c().get(`timesheet?start=${t}&end=${e}`));