@feedmepos/mf-hrm-portal 2.0.24-dev.9 → 2.0.25-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 (32) hide show
  1. package/dist/AuditLogList-NOjQWc0n.js +1145 -0
  2. package/dist/{EmployeeList-CYOUXmdo.js → EmployeeList-CLAEc_Dl.js} +8 -8
  3. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +1 -1
  4. package/dist/{Main-DR0uJn8p.js → Main-CnLbqtUE.js} +1142 -1138
  5. package/dist/{Main-9hhLn78R.js → Main-DaG5Gqo3.js} +6 -6
  6. package/dist/Main-zga1U6eC.js +94 -0
  7. package/dist/{PermissionSetList-CPzhnAsF.js → PermissionSetList-4T-K3P1Y.js} +6 -6
  8. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DwVt6Zov.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-SBojB1i0.js} +741 -741
  9. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-B3wDoRUf.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Sn93AcEd.js} +1 -1
  10. package/dist/{RoleList-DQEogUW9.js → RoleList-Dz7Vwovj.js} +51 -49
  11. package/dist/{SelectFilter-C61IZSID.js → SelectFilter-ATOm0hdn.js} +37 -37
  12. package/dist/{TeamMemberList-BjZhJqoO.js → TeamMemberList-DYGEd5pe.js} +57 -57
  13. package/dist/{TimesheetList-FsSNYSN_.js → TimesheetList-nAeY6i18.js} +7 -7
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-DcyltQoo.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-Bd74jnJu.js} +2 -2
  15. package/dist/{app-D9NotBhb.js → app-DhjOMwb9.js} +778 -732
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-DtwtoL_z.js → dayjs.min-Bd3JE67B.js} +1 -1
  18. package/dist/{employee-F_qzDON_.js → employee-B3aJC3BG.js} +3 -3
  19. package/dist/{iteration-BQBKoufN.js → iteration-gb-z-6D3.js} +1 -1
  20. package/dist/{lodash-gOdQI_3W.js → lodash-BOwvb210.js} +1 -1
  21. package/dist/{rule-BR05-rZt.js → rule-CkP2wcOa.js} +25 -25
  22. package/dist/src/api/audit-log/index.d.ts +17 -0
  23. package/dist/src/views/hr/locales/index.d.ts +4 -0
  24. package/dist/src/views/team/locales/index.d.ts +4 -0
  25. package/dist/style.css +1 -1
  26. package/dist/tsconfig.app.tsbuildinfo +1 -1
  27. package/dist/{useAppStore-CAmajyh0.js → useAppStore-ByWfAgOH.js} +1 -1
  28. package/dist/{useLoading-D7Nr5flX.js → useLoading-cyuvXo-X.js} +1 -1
  29. package/dist/{useReportPermissions-DRSVPDf-.js → useReportPermissions-Blkuv4SJ.js} +3 -3
  30. package/package.json +2 -2
  31. package/dist/AuditLogList-Cc0vtZTU.js +0 -1054
  32. package/dist/Main-DHNuxBWB.js +0 -90
@@ -1,90 +0,0 @@
1
- import { defineComponent as T, ref as R, computed as m, resolveComponent as s, createBlock as i, openBlock as c, withCtx as p, createElementVNode as A, createVNode as d, resolveDynamicComponent as C, createCommentVNode as S } from "vue";
2
- import { useRouter as y, useRoute as g } from "vue-router";
3
- import { useI18n as k } from "@feedmepos/mf-common";
4
- import { _ as F } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js";
5
- import { _ as N } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
6
- import { u as h } from "./iteration-BQBKoufN.js";
7
- import "@feedmepos/ui-library";
8
- import "./rule-BR05-rZt.js";
9
- import "./lodash-gOdQI_3W.js";
10
- import "./useAppStore-CAmajyh0.js";
11
- import { R as v } from "./app-D9NotBhb.js";
12
- /* empty css */
13
- import "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-B3wDoRUf.js";
14
- const w = { class: "space-y-24" }, Q = /* @__PURE__ */ T({
15
- __name: "Main",
16
- setup(x) {
17
- const { t: a } = k(), _ = y(), B = g(), { readRestaurants: L } = h(), f = R(), b = R(), o = m({
18
- get: () => B.name === v.TEAM_ROLE ? "role" : "member",
19
- set: (e) => {
20
- _.push({
21
- name: e === "role" ? v.TEAM_ROLE : v.TEAM_MEMBER,
22
- query: _.currentRoute.value.query
23
- });
24
- }
25
- });
26
- L();
27
- const r = m(() => l.value.find((e) => e.value === o.value) || l.value[0]), l = m(() => [
28
- {
29
- label: a("team.title"),
30
- value: "member",
31
- createButtonLabel: a("team.actions.addMember"),
32
- createButtonAction: () => {
33
- var e;
34
- (e = f.value) == null || e.create();
35
- }
36
- },
37
- {
38
- label: a("permissionSet.title"),
39
- value: "role",
40
- createButtonLabel: a("permissionSet.createButtonLabel"),
41
- createButtonAction: () => {
42
- var e;
43
- (e = b.value) == null || e.create();
44
- }
45
- }
46
- ]);
47
- return (e, n) => {
48
- const E = s("FmSpacer"), M = s("FmTabs"), V = s("RouterView");
49
- return c(), i(N, {
50
- heading: r.value.label
51
- }, {
52
- "append-heading": p(() => {
53
- var t;
54
- return [
55
- d(E),
56
- (t = r.value) != null && t.createButtonLabel ? (c(), i(F, {
57
- key: 0,
58
- icon: "add",
59
- label: r.value.createButtonLabel,
60
- onClick: n[0] || (n[0] = (u) => r.value.createButtonAction())
61
- }, null, 8, ["label"])) : S("", !0)
62
- ];
63
- }),
64
- default: p(() => [
65
- A("div", w, [
66
- d(M, {
67
- modelValue: o.value,
68
- "onUpdate:modelValue": n[1] || (n[1] = (t) => o.value = t),
69
- items: l.value
70
- }, null, 8, ["modelValue", "items"]),
71
- d(V, null, {
72
- default: p(({ Component: t }) => [
73
- (c(), i(C(t), {
74
- ref: (u) => {
75
- o.value === "member" && (f.value = u), o.value === "role" && (b.value = u);
76
- }
77
- }, null, 512))
78
- ]),
79
- _: 1
80
- })
81
- ])
82
- ]),
83
- _: 1
84
- }, 8, ["heading"]);
85
- };
86
- }
87
- });
88
- export {
89
- Q as default
90
- };