@feedmepos/mf-hrm-portal 2.3.2-dev.10 → 2.3.2-dev.11
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/{ApprovalCodeList-RKU5B8SO.js → ApprovalCodeList-DoNoFW6w.js} +7 -7
- package/dist/{AuditLogList-DuDCMjGR.js → AuditLogList-D5M0cl8g.js} +5 -5
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-pL2zRc67.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C1dLOPFb.js} +2 -2
- package/dist/{EmployeeList-nrYsS5uz.js → EmployeeList-BX9gy9WG.js} +8 -8
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-7S2w36aY.js → FormSection.vue_vue_type_script_setup_true_lang-iCgTyICI.js} +1 -1
- package/dist/{GrantUserList-BSjeC4MC.js → GrantUserList-DNvmmlDI.js} +8 -8
- package/dist/{Main-CpuHaXU6.js → Main-2NivoQNg.js} +5 -5
- package/dist/{Main-DbdoVLCE.js → Main-BHmY7VHC.js} +10 -10
- package/dist/{Main-DtmCBbTR.js → Main-SzU5H5uC.js} +2449 -2444
- package/dist/{MyPosProfile-CsTCfGNT.js → MyPosProfile-2W5mT5d5.js} +1 -1
- package/dist/{PermissionSetList-B1c-uGZO.js → PermissionSetList-BCAm8rHm.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Toq6qrLx.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-e2vu_Mcn.js} +678 -678
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-D6Z9z_Yt.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DYbfmF2P.js} +414 -448
- package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-TWTVo_9Y.js → RoleForm.vue_vue_type_script_setup_true_lang-o4mXv2hT.js} +9 -9
- package/dist/{RoleList-CwaGNsFy.js → RoleList-BXkyCeH0.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-C2ekVXdR.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DOxRdHY1.js} +1 -1
- package/dist/{ScheduleGeneralPage-BVtXmxtp.js → ScheduleGeneralPage-4hV53-q6.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-DdsQ8v-5.js → ScheduleModal.vue_vue_type_script_setup_true_lang-D5jOHLA1.js} +4 -4
- package/dist/{SchedulePage-3qksmT2I.js → SchedulePage-CqNa_p32.js} +9 -9
- package/dist/{SchedulePositionPage-DAU20KPZ.js → SchedulePositionPage-7xYBe1xd.js} +3 -3
- package/dist/{SelectFilter-BpzBwBmQ.js → SelectFilter-Dy2Nv1_D.js} +1 -1
- package/dist/{TeamMemberList-Bdpm40i3.js → TeamMemberList-okhiXdLg.js} +12 -12
- package/dist/{TimesheetList-CL_eJp2h.js → TimesheetList-BKj9OnJW.js} +6 -6
- package/dist/{app-DEZT4wdV.js → app-C37qvNnc.js} +10 -10
- package/dist/app.js +1 -1
- package/dist/{approval-code-BZTz5OXK.js → approval-code-B7rpc4Oe.js} +1 -1
- package/dist/{dayjs.min-B55I-uhI.js → dayjs.min-D35yhU4A.js} +1 -1
- package/dist/{employee-C6z5i6O4.js → employee-Bn6HTMxg.js} +5 -5
- package/dist/{grant-user-B2rYztyf.js → grant-user-CostZ0Md.js} +1 -1
- package/dist/{index-Bfdseotz.js → index-DPiNc7mn.js} +1 -1
- package/dist/{lodash-B8bqa6a9.js → lodash-C8MGI_QW.js} +1 -1
- package/dist/{member-grant-BIpKkuu8.js → member-grant-CktOoicv.js} +2 -2
- package/dist/{restaurant-ejyX2jEG.js → restaurant-BgvuJL8G.js} +1 -1
- package/dist/{role-C_t3DDlG.js → role-D8G5QOG1.js} +3 -3
- package/dist/{rule-Ccopk8R_.js → rule-EYBPBkv_.js} +3 -3
- package/dist/{timesheet-CZHcebqS.js → timesheet-D6jBeR-V.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DfqsbhT2.js → useAppStore-BmBJPo1_.js} +1 -1
- package/dist/{useLoading-CQnX5WjI.js → useLoading-BtyGXkm_.js} +1 -1
- package/dist/{useReportPermissions-kTjftFk7.js → useReportPermissions-C8z7EA7v.js} +3 -3
- package/dist/useSsoProviders-CZrTNgfp.js +41 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as I, isRef as L, watch as M } from "vue";
|
|
2
2
|
import { SnackbarPosition as y } from "@feedmepos/ui-library";
|
|
3
|
-
import { u as w, v } from "./useAppStore-
|
|
3
|
+
import { u as w, v } from "./useAppStore-BmBJPo1_.js";
|
|
4
4
|
const E = (r) => {
|
|
5
5
|
async function d(u, e) {
|
|
6
6
|
var l, a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as r, ref as n } from "vue";
|
|
2
|
-
import { e as d } from "./index-
|
|
2
|
+
import { e as d } from "./index-DPiNc7mn.js";
|
|
3
3
|
import { useCoreStore as h } from "@feedmepos/mf-common";
|
|
4
|
-
import { i as K } from "./rule-
|
|
5
|
-
import { s as g } from "./app-
|
|
4
|
+
import { i as K } from "./rule-EYBPBkv_.js";
|
|
5
|
+
import { s as g } from "./app-C37qvNnc.js";
|
|
6
6
|
const i = n([]), a = n(!1), l = n(!1), f = n(null), p = n(null), u = n(!1);
|
|
7
7
|
function B() {
|
|
8
8
|
const v = h();
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { computed as v, ref as u } from "vue";
|
|
2
|
+
import { useCoreStore as f } from "@feedmepos/mf-common";
|
|
3
|
+
import { g as p, b as m } from "./app-C37qvNnc.js";
|
|
4
|
+
const P = {
|
|
5
|
+
async readProviders() {
|
|
6
|
+
return p(await m("sso-providers").get(""));
|
|
7
|
+
}
|
|
8
|
+
}, n = u([]), t = u(null);
|
|
9
|
+
let s = null;
|
|
10
|
+
function g() {
|
|
11
|
+
const i = f();
|
|
12
|
+
async function a() {
|
|
13
|
+
var r, o;
|
|
14
|
+
const e = (r = i.currentBusiness.value) == null ? void 0 : r.id;
|
|
15
|
+
if (!(!e || s === e)) {
|
|
16
|
+
s = e, n.value = [], t.value = null;
|
|
17
|
+
try {
|
|
18
|
+
const c = await P.readProviders();
|
|
19
|
+
s === e && (n.value = c);
|
|
20
|
+
} catch {
|
|
21
|
+
s === e && (s = null);
|
|
22
|
+
} finally {
|
|
23
|
+
((o = i.currentBusiness.value) == null ? void 0 : o.id) === e && (t.value = e);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
const l = v(
|
|
28
|
+
() => {
|
|
29
|
+
var e;
|
|
30
|
+
return !!t.value && t.value === ((e = i.currentBusiness.value) == null ? void 0 : e.id);
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
function d(e) {
|
|
34
|
+
var r;
|
|
35
|
+
return ((r = n.value.find((o) => o.slug === e)) == null ? void 0 : r.label) ?? e;
|
|
36
|
+
}
|
|
37
|
+
return { providers: n, isLoaded: l, loadProviders: a, providerLabel: d };
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
g as u
|
|
41
|
+
};
|