@feedmepos/mf-hrm-portal 2.0.6-dev.1 → 2.0.6-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.
- package/dist/{AuditLogList-C23_MiyK.js → AuditLogList-vHCIpof0.js} +6 -7
- package/dist/{EmployeeList-vXPEVqoh.js → EmployeeList-CBhHexQI.js} +169 -164
- package/dist/{Main-DC9H9bAs.js → Main-C5Bpd6bc.js} +10 -11
- package/dist/{Main-k56Iy_zg.js → Main-CEwaF3N8.js} +7 -8
- package/dist/{PermissionSetList-B8tJCNpR.js → PermissionSetList-Df-Ymw2O.js} +52 -53
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BPJpVG8_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-zJrXXaE5.js} +774 -775
- package/dist/{RoleList-C5WA3Kxu.js → RoleList-CNdSo3ML.js} +24 -26
- package/dist/{TeamMemberList-Ic-iWBHd.js → TeamMemberList-D_RxHSyg.js} +9 -10
- package/dist/{TimesheetList-DlGpcOUp.js → TimesheetList-Bq6sBnDH.js} +10 -11
- package/dist/{app-D0xH_99A.js → app-CoFcOv4s.js} +691 -956
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-C1rTVn8X.js → dayjs.min-DYhmwGAk.js} +1 -1
- package/dist/{employee-BK4sYiRy.js → employee-BuQUeatq.js} +20 -21
- package/dist/{index-DSAB4vz3.js → index-CJbevkE_.js} +1 -1
- package/dist/{iteration-BSGKcAZm.js → index-CmgH764t.js} +4430 -3468
- package/dist/{lodash-CeTePH4O.js → lodash-goefl10e.js} +1 -1
- package/dist/src/api/index.d.ts +1 -3
- package/dist/src/router/shared.d.ts +1 -2
- package/dist/{team-B25hRkju.js → team-Dy2uK8pr.js} +1 -1
- package/dist/{timesheet-C8oy-bxz.js → timesheet-knvCGlOx.js} +9 -10
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-WGnUS7Wm.js → useAppStore-C3SLn6_I.js} +1 -1
- package/dist/{useLoading-BCi2g_rf.js → useLoading-BZMc7JLo.js} +1 -1
- package/dist/{useReportPermissions--LOfl1e-.js → useReportPermissions-l-Ltg4HG.js} +11 -12
- package/dist/useRestaurantMap-D5BNPLKh.js +107 -0
- package/package.json +1 -1
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
- package/dist/HorizontalSplitter-o860F4xM.js +0 -12
- package/dist/Main-CQWe1-SW.js +0 -599
- package/dist/index-C2ubYSVV.js +0 -968
- package/dist/src/api/grant-user/index.d.ts +0 -8
- package/dist/src/stores/grant-user.d.ts +0 -86
- package/dist/src/types/grant-user.d.ts +0 -27
- package/dist/src/views/grant/GrantUserList.vue.d.ts +0 -17
- package/dist/src/views/grant/Main.vue.d.ts +0 -2
- package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +0 -17
- package/dist/src/views/grant/locales/index.d.ts +0 -232
- package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
package/dist/src/api/index.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ export declare class ApiError extends Error {
|
|
|
3
3
|
readonly status: number;
|
|
4
4
|
constructor(message: string, status: number);
|
|
5
5
|
}
|
|
6
|
-
export declare const businessClientInstance: (
|
|
6
|
+
export declare const businessClientInstance: () => AxiosInstance;
|
|
7
7
|
export declare const queryEngineClientInstance: () => AxiosInstance;
|
|
8
|
-
export declare const grantClientInstance: () => AxiosInstance;
|
|
9
|
-
export declare const grantValidateClientInstance: () => AxiosInstance;
|
|
10
8
|
export declare function getAxiosData<T>(response: AxiosResponse<T>): T;
|
|
@@ -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-
|
|
3
|
+
import { t as f } from "./index-CmgH764t.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,7 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-DYhmwGAk.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,
|
|
5
|
-
import { i as u, b as g } from "./index-C2ubYSVV.js";
|
|
4
|
+
import { b as c, g as y, k as u, j as S, s as g } from "./index-CmgH764t.js";
|
|
6
5
|
const f = {
|
|
7
6
|
async readTimesheets(t, e) {
|
|
8
7
|
return y(await c().get(`timesheet?start=${t}&end=${e}`));
|
|
@@ -12,17 +11,17 @@ const f = {
|
|
|
12
11
|
}
|
|
13
12
|
};
|
|
14
13
|
function A(t) {
|
|
15
|
-
const e = t.map((
|
|
16
|
-
const { startedAt: s, endedAt: a } =
|
|
14
|
+
const e = t.map((o) => {
|
|
15
|
+
const { startedAt: s, endedAt: a } = o, r = i(u(s)), n = a ? i(u(a)) : null, m = (n == null ? void 0 : n.diff(r, "minute", !1)) || 0, h = n ? S(m) : "", d = "YYYY-MM-DD hh:mm a";
|
|
17
16
|
return {
|
|
18
|
-
...
|
|
17
|
+
...o,
|
|
19
18
|
start: r.format(d),
|
|
20
|
-
end:
|
|
19
|
+
end: n ? n.format(d) : "",
|
|
21
20
|
totalMin: m,
|
|
22
21
|
duration: h
|
|
23
22
|
};
|
|
24
23
|
});
|
|
25
|
-
return
|
|
24
|
+
return g(e, { selector: "start" });
|
|
26
25
|
}
|
|
27
26
|
const D = p("timesheet", () => {
|
|
28
27
|
const t = l([]);
|
|
@@ -33,7 +32,7 @@ const D = p("timesheet", () => {
|
|
|
33
32
|
);
|
|
34
33
|
t.value = A(r);
|
|
35
34
|
}
|
|
36
|
-
async function
|
|
35
|
+
async function o(s, a, r) {
|
|
37
36
|
await f.updateTimesheet(s.restaurantId, {
|
|
38
37
|
id: s._id,
|
|
39
38
|
startAt: a,
|
|
@@ -43,7 +42,7 @@ const D = p("timesheet", () => {
|
|
|
43
42
|
return {
|
|
44
43
|
timesheets: t,
|
|
45
44
|
readTimesheet: e,
|
|
46
|
-
updateTimesheet:
|
|
45
|
+
updateTimesheet: o
|
|
47
46
|
};
|
|
48
47
|
}), M = () => {
|
|
49
48
|
const t = D();
|