@feedmepos/mf-hrm-portal 2.0.17 → 2.0.18-dev.2

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 (60) hide show
  1. package/dist/AuditLogList-D4E8pss5.js +1037 -0
  2. package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +58 -0
  3. package/dist/EmployeeList-BfJO89pN.js +827 -0
  4. package/dist/FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js +45 -0
  5. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +49 -0
  6. package/dist/{Main-CCTDT_TG.js → Main-BbOMNP31.js} +758 -761
  7. package/dist/Main-XmxzThcC.js +86 -0
  8. package/dist/{Main-C7Q3OELU.js → Main-dqgR1UXY.js} +181 -175
  9. package/dist/PermissionSetList-DO0PRS6Z.js +347 -0
  10. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DL4_xvBZ.js +3443 -0
  11. package/dist/RoleList-DB3NfUYF.js +545 -0
  12. package/dist/TeamMemberList-4hEx6L5r.js +1090 -0
  13. package/dist/{TimesheetList-DhKfguOb.js → TimesheetList-D29EFj1Q.js} +132 -126
  14. package/dist/{app--3WguZOC.js → app-SadE2J6-.js} +759 -711
  15. package/dist/app.js +1 -1
  16. package/dist/{dayjs.min-RrLy0N6G.js → dayjs.min-DKCxxK08.js} +1 -1
  17. package/dist/employee-3KJs872J.js +204 -0
  18. package/dist/{iteration-BQA73VxD.js → iteration-QZxp7XeE.js} +9258 -9213
  19. package/dist/{lodash-B1ouSWpG.js → lodash-DrksHyHu.js} +1 -1
  20. package/dist/{rule-BL-miuus.js → rule-CSsgDC6F.js} +263 -265
  21. package/dist/src/api/audit-log/index.d.ts +9 -0
  22. package/dist/src/api/restaurant/index.d.ts +5 -0
  23. package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
  24. package/dist/src/components/CollapsibleWrapper.vue.d.ts +2 -0
  25. package/dist/src/components/Skeleton.vue.d.ts +7 -0
  26. package/dist/src/composables/useBasePermission.d.ts +1 -0
  27. package/dist/src/composables/useRestaurantMap.d.ts +2 -329
  28. package/dist/src/stores/restaurant.d.ts +181 -0
  29. package/dist/src/stores/role.d.ts +7 -7
  30. package/dist/src/stores/team.d.ts +6 -6
  31. package/dist/src/types/restaurant.d.ts +11 -0
  32. package/dist/src/types/team.d.ts +1 -1
  33. package/dist/src/views/hr/locales/index.d.ts +16 -0
  34. package/dist/src/views/team/components/BasePermission.vue.d.ts +3 -7
  35. package/dist/src/views/team/components/PosRolePermission.vue.d.ts +2 -2
  36. package/dist/src/views/team/locales/index.d.ts +32 -0
  37. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +5 -3
  38. package/dist/style.css +1 -1
  39. package/dist/{timesheet-BbtAYZ1B.js → timesheet-sBe_HCZh.js} +2 -2
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/useAppStore-BDADkWuX.js +171 -0
  42. package/dist/useDebounce-CWb5QR9G.js +28 -0
  43. package/dist/useDiscardConfirm-DPhEV6v0.js +157 -0
  44. package/dist/{useLoading-D7PklYeR.js → useLoading-PTqnaz_W.js} +1 -1
  45. package/dist/{useReportPermissions-CNcISy8f.js → useReportPermissions-C3Uzu7vB.js} +3 -3
  46. package/package.json +1 -1
  47. package/dist/AuditLogList-DwCmJovS.js +0 -980
  48. package/dist/EmployeeList-8166DlII.js +0 -736
  49. package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
  50. package/dist/HorizontalSplitter-o860F4xM.js +0 -12
  51. package/dist/Main-C4LaqZaa.js +0 -85
  52. package/dist/PermissionSetList-trnHwNFR.js +0 -341
  53. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bc5nE9NF.js +0 -3480
  54. package/dist/RoleList-DJtbEUSC.js +0 -530
  55. package/dist/TeamMemberList-C6qx-yJi.js +0 -1108
  56. package/dist/employee-DSAStcBv.js +0 -204
  57. package/dist/useAppStore-BHWapSDk.js +0 -171
  58. package/dist/useDebounce-B8ZPVS5C.js +0 -15
  59. package/dist/useDiscardConfirm-BHni0LNu.js +0 -28
  60. package/dist/useSearch-B6WK1LBB.js +0 -15
@@ -0,0 +1,45 @@
1
+ import { createElementBlock as r, openBlock as c, createElementVNode as o, ref as m, computed as f, defineComponent as p, renderSlot as a, createCommentVNode as _, toDisplayString as i } from "vue";
2
+ import { _ as y } from "./SelectFilter-DUj7GBtT.js";
3
+ const h = {};
4
+ function v(t, e) {
5
+ return c(), r("div", null, [...e[0] || (e[0] = [
6
+ o("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
7
+ ])]);
8
+ }
9
+ const C = /* @__PURE__ */ y(h, [["render", v]]), V = (t) => {
10
+ const e = m("");
11
+ function s(n) {
12
+ return `${n}`.trim().toLowerCase();
13
+ }
14
+ const l = f(() => s(e.value));
15
+ function d(n) {
16
+ return l.value ? n.some((u) => s(u).includes(l.value)) : !0;
17
+ }
18
+ return { searchKey: e, filter: d };
19
+ }, b = { class: "space-y-8" }, x = { class: "flex items-center justify-between" }, S = { class: "space-y-8" }, g = { class: "fm-typo-en-body-lg-600" }, $ = {
20
+ key: 0,
21
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
22
+ }, B = /* @__PURE__ */ p({
23
+ __name: "FormItem",
24
+ props: {
25
+ label: {},
26
+ description: {}
27
+ },
28
+ setup(t) {
29
+ return (e, s) => (c(), r("div", b, [
30
+ o("div", x, [
31
+ o("div", S, [
32
+ o("p", g, i(t.label), 1),
33
+ t.description ? (c(), r("p", $, i(t.description), 1)) : _("", !0)
34
+ ]),
35
+ a(e.$slots, "append")
36
+ ]),
37
+ a(e.$slots, "default")
38
+ ]));
39
+ }
40
+ });
41
+ export {
42
+ C as H,
43
+ B as _,
44
+ V as u
45
+ };
@@ -0,0 +1,49 @@
1
+ import { defineComponent as c, createElementBlock as s, openBlock as l, normalizeClass as r, renderSlot as n, createCommentVNode as o, createVNode as d, createElementVNode as a, toDisplayString as i, withCtx as f } from "vue";
2
+ const h = /* @__PURE__ */ c({
3
+ __name: "FormColumn",
4
+ props: {
5
+ shrinkable: { type: Boolean }
6
+ },
7
+ setup(e) {
8
+ return (t, m) => (l(), s("div", {
9
+ class: r(["flex-1 flex flex-col space-y-24", { "min-h-0": e.shrinkable }])
10
+ }, [
11
+ n(t.$slots, "default")
12
+ ], 2));
13
+ }
14
+ }), u = {
15
+ key: 0,
16
+ class: "flex flex-row justify-between items-center"
17
+ }, y = { class: "space-y-4" }, p = { class: "fm-typo-en-title-sm-600" }, b = {
18
+ key: 0,
19
+ class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
20
+ }, x = /* @__PURE__ */ c({
21
+ __name: "FormSection",
22
+ props: {
23
+ title: {},
24
+ subTitle: {},
25
+ shrinkable: { type: Boolean }
26
+ },
27
+ setup(e) {
28
+ return (t, m) => (l(), s("div", {
29
+ class: r(["flex flex-col space-y-16", { "min-h-0": e.shrinkable }])
30
+ }, [
31
+ e.title ? (l(), s("div", u, [
32
+ a("div", y, [
33
+ a("p", p, i(e.title), 1),
34
+ e.subTitle ? (l(), s("p", b, i(e.subTitle), 1)) : o("", !0)
35
+ ]),
36
+ n(t.$slots, "append-title")
37
+ ])) : o("", !0),
38
+ d(h, { shrinkable: e.shrinkable }, {
39
+ default: f(() => [
40
+ n(t.$slots, "default")
41
+ ]),
42
+ _: 3
43
+ }, 8, ["shrinkable"])
44
+ ], 2));
45
+ }
46
+ });
47
+ export {
48
+ x as _
49
+ };