@feedmepos/mf-hrm-portal 2.0.19 → 2.0.20-dev.1

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 (65) hide show
  1. package/dist/AuditLogList-Bsj-qg8n.js +1037 -0
  2. package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +58 -0
  3. package/dist/EmployeeList-Cy2ayCko.js +824 -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-BPM7QyFL.js → Main-BGc6kNaR.js} +758 -761
  7. package/dist/{Main-BC20s7cs.js → Main-CSMAtoMj.js} +181 -175
  8. package/dist/Main-D7bV8EuC.js +86 -0
  9. package/dist/PermissionSetList-CuHhDqWl.js +347 -0
  10. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CdWgTjZw.js +3443 -0
  11. package/dist/RoleList-e0WUqt4Y.js +545 -0
  12. package/dist/TeamMemberList-CpPa1KyV.js +1097 -0
  13. package/dist/{TimesheetList-CdWXksIf.js → TimesheetList-tFjvFHqH.js} +132 -126
  14. package/dist/{app-D6OxaCEx.js → app-CL7rUfL3.js} +552 -504
  15. package/dist/app.js +1 -1
  16. package/dist/{dayjs.min-C0I-OiL6.js → dayjs.min-ChdFPuFV.js} +1 -1
  17. package/dist/employee-kKV7UnHU.js +204 -0
  18. package/dist/{iteration-CcZFMm5X.js → iteration-BbD0nOgO.js} +9253 -9209
  19. package/dist/{lodash-CW7MBjcM.js → lodash-CDf3aG6G.js} +1 -1
  20. package/dist/{rule-6Lg9M_3I.js → rule-BJ-y3Sp8.js} +263 -265
  21. package/dist/src/api/audit-log/index.d.ts +9 -0
  22. package/dist/src/api/index.d.ts +0 -1
  23. package/dist/src/api/restaurant/index.d.ts +5 -0
  24. package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
  25. package/dist/src/components/CollapsibleWrapper.vue.d.ts +2 -0
  26. package/dist/src/components/Skeleton.vue.d.ts +7 -0
  27. package/dist/src/composables/useBasePermission.d.ts +1 -0
  28. package/dist/src/composables/useRestaurantMap.d.ts +2 -329
  29. package/dist/src/stores/restaurant.d.ts +181 -0
  30. package/dist/src/stores/role.d.ts +7 -7
  31. package/dist/src/stores/team.d.ts +6 -6
  32. package/dist/src/types/restaurant.d.ts +11 -0
  33. package/dist/src/types/team.d.ts +1 -1
  34. package/dist/src/views/hr/locales/index.d.ts +16 -0
  35. package/dist/src/views/team/components/BasePermission.vue.d.ts +3 -7
  36. package/dist/src/views/team/components/PosRolePermission.vue.d.ts +2 -2
  37. package/dist/src/views/team/locales/index.d.ts +32 -0
  38. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +5 -3
  39. package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +3 -3
  40. package/dist/style.css +1 -1
  41. package/dist/{timesheet-CaSIm-Rv.js → timesheet-BmV02Rkz.js} +2 -2
  42. package/dist/tsconfig.app.tsbuildinfo +1 -1
  43. package/dist/useAppStore-D8QAGZ02.js +171 -0
  44. package/dist/useDebounce-CWb5QR9G.js +28 -0
  45. package/dist/useDiscardConfirm-DPhEV6v0.js +157 -0
  46. package/dist/{useLoading-cnpr1-pP.js → useLoading-KpcQw0p4.js} +1 -1
  47. package/dist/{useReportPermissions-CNr0AdOf.js → useReportPermissions-CmGJAz_N.js} +3 -3
  48. package/package.json +1 -1
  49. package/dist/AuditLogList-Bw3sRBhW.js +0 -980
  50. package/dist/EmployeeList-C4tVWPJE.js +0 -736
  51. package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
  52. package/dist/HorizontalSplitter-o860F4xM.js +0 -12
  53. package/dist/Main-eN8MDWpv.js +0 -85
  54. package/dist/PermissionSetList-CPSRrCsu.js +0 -341
  55. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CXt721Zo.js +0 -3480
  56. package/dist/RoleList-tRu19xyl.js +0 -530
  57. package/dist/TeamMemberList-CvitYIKw.js +0 -1114
  58. package/dist/TeamMemberList.vue_vue_type_style_index_0_scoped_473cbd86_lang-BDjrD45a.js +0 -34
  59. package/dist/employee-yT17VCCS.js +0 -204
  60. package/dist/src/api/account/index.d.ts +0 -4
  61. package/dist/src/composables/useSupportedCountries.d.ts +0 -5
  62. package/dist/useAppStore-CONZvtGc.js +0 -171
  63. package/dist/useDebounce-B8ZPVS5C.js +0 -15
  64. package/dist/useDiscardConfirm-BHni0LNu.js +0 -28
  65. 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
+ };