@feedmepos/mf-hrm-portal 2.3.2-dev → 2.3.4-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.
- package/dist/{ApprovalCodeList-xOyDG5ug.js → ApprovalCodeList-C_F98cwM.js} +13 -14
- package/dist/{AuditLogList-Dd6HyFhk.js → AuditLogList-CRQjG28b.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Cixg_icC.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BA4pgKNh.js} +2 -2
- package/dist/{EmployeeList-BG2KPvOB.js → EmployeeList-DurHeTfl.js} +16 -17
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BDGewUFD.js +90 -0
- package/dist/{GrantUserList-CUkuf3VV.js → GrantUserList-BZGwZLsp.js} +14 -15
- package/dist/{Main-Cg9SOzcz.js → Main-CvVhcEJ-.js} +5 -5
- package/dist/{Main-BSHf8gTE.js → Main-DZ_LJKco.js} +12 -11
- package/dist/{Main-BcixH7R5.js → Main-iG516Bly.js} +11 -11
- package/dist/{MyPosProfile-CN8Bj3aV.js → MyPosProfile-C8iBUFAt.js} +1 -1
- package/dist/{PermissionSetList-I3u2_qHR.js → PermissionSetList-COn_Nrzd.js} +20 -20
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBoRXQPn.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C1k42T7U.js} +733 -733
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DAbgu49T.js +1831 -0
- package/dist/RoleForm.vue_vue_type_script_setup_true_lang-CoWKz1qm.js +547 -0
- package/dist/RoleList-C5f_ulk9.js +274 -0
- package/dist/TeamMemberList-DCSbXFdg.js +2085 -0
- package/dist/{TimesheetList-CECFKt7H.js → TimesheetList-DoNzT6xQ.js} +7 -7
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-RIyoAmeb.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-n8cnb0Zw.js} +3 -3
- package/dist/{app-CdrnR_Pw.js → app-BYPvZve5.js} +208 -188
- package/dist/app.js +1 -1
- package/dist/{approval-code-Bwvwehz9.js → approval-code-CeijALXj.js} +1 -1
- package/dist/{dayjs.min-BO8bcI17.js → dayjs.min-CS0wjvq4.js} +1 -1
- package/dist/{employee-Dg-J9goA.js → employee-DH4Wibqh.js} +5 -5
- package/dist/{grant-user-whFOaPZI.js → grant-user-C0ko4LW8.js} +1 -1
- package/dist/{iteration-ZpERYj3o.js → iteration-Cnj0KTDr.js} +1 -1
- package/dist/{lodash-7SZBZ8VQ.js → lodash-DAd2V4v-.js} +1 -1
- package/dist/{member-grant-C46lvrh2.js → member-grant-BaABegLK.js} +2 -2
- package/dist/{restaurant-CKhT6kgj.js → restaurant-CNsV-2OE.js} +1 -1
- package/dist/{role-C6hFKOfU.js → role-DSu9cpI6.js} +3 -3
- package/dist/{rule-BlMymDXm.js → rule-BmRzz26L.js} +19 -19
- package/dist/src/api/sso-provider/index.d.ts +5 -0
- package/dist/src/api/staff-invite/index.d.ts +1 -2
- package/dist/src/composables/useSsoProviders.d.ts +19 -0
- package/dist/src/composables/useStaffInviteProviders.d.ts +1 -12
- package/dist/src/helpers/pos-assignment-rows.d.ts +2 -0
- package/dist/src/helpers/staff-invite.d.ts +3 -0
- package/dist/src/types/sso-provider.d.ts +10 -0
- package/dist/src/views/hr/locales/index.d.ts +20 -0
- package/dist/src/views/hr/role/RoleForm.vue.d.ts +29 -2
- package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +2 -6
- package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -2
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +0 -2
- package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +0 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CL6EEDuw.js → useAppStore-BL4Iv-0s.js} +1 -1
- package/dist/{useLoading-BBjBUzGJ.js → useLoading-BEIlprgm.js} +1 -1
- package/dist/{useReportPermissions-Bg0fma6m.js → useReportPermissions-BhiSxQCh.js} +5 -5
- package/package.json +1 -1
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js +0 -45
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-B5QDOF0L.js +0 -1840
- package/dist/RoleList-ALmAwN0U.js +0 -739
- package/dist/TeamMemberList-DZfEnOs1.js +0 -2097
package/dist/app.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as C } from "pinia";
|
|
2
2
|
import { ref as l } from "vue";
|
|
3
|
-
import { g as p, b as s } from "./app-
|
|
3
|
+
import { g as p, b as s } from "./app-BYPvZve5.js";
|
|
4
4
|
const n = {
|
|
5
5
|
async getApprovalCodes() {
|
|
6
6
|
return p(await s("approval-codes").get(""));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as g } from "./dayjs.min-
|
|
1
|
+
import { d as g } from "./dayjs.min-CS0wjvq4.js";
|
|
2
2
|
import { defineStore as $, storeToRefs as x } from "pinia";
|
|
3
3
|
import { ref as m } from "vue";
|
|
4
|
-
import { s as E } from "./iteration-
|
|
5
|
-
import { b as l, g as f } from "./app-
|
|
4
|
+
import { s as E } from "./iteration-Cnj0KTDr.js";
|
|
5
|
+
import { b as l, g as f } from "./app-BYPvZve5.js";
|
|
6
6
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
7
|
-
import { u as _ } from "./role-
|
|
8
|
-
import { u as I } from "./restaurant-
|
|
7
|
+
import { u as _ } from "./role-DSu9cpI6.js";
|
|
8
|
+
import { u as I } from "./restaurant-CNsV-2OE.js";
|
|
9
9
|
const o = {
|
|
10
10
|
async readEmployees() {
|
|
11
11
|
return f(await l().get("/pos-users"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as f } from "pinia";
|
|
2
2
|
import { ref as u } from "vue";
|
|
3
|
-
import { g as s, e as v, b as o } from "./app-
|
|
3
|
+
import { g as s, e as v, b as o } from "./app-BYPvZve5.js";
|
|
4
4
|
const c = {
|
|
5
5
|
async getGrantUsers() {
|
|
6
6
|
return s(await o("grant").get(""));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as B } from "./app-
|
|
1
|
+
import { j as B } from "./app-BYPvZve5.js";
|
|
2
2
|
var ma = {}, Zt = {}, l = {}, ji = {}, Ei = {}, Ii = {}, Dn = {};
|
|
3
3
|
(function(e) {
|
|
4
4
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as i, w as u } from "./app-
|
|
2
|
-
import { n as a, l as m, q as l, o as d, m as p } from "./rule-
|
|
1
|
+
import { m as i, w as u } from "./app-BYPvZve5.js";
|
|
2
|
+
import { n as a, l as m, q as l, o as d, m as p } from "./rule-BmRzz26L.js";
|
|
3
3
|
const f = [
|
|
4
4
|
i.Subject.Business.restaurant,
|
|
5
5
|
i.Subject.Business.role,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as v, storeToRefs as m } from "pinia";
|
|
2
2
|
import { ref as i } from "vue";
|
|
3
3
|
import { useCoreStore as p } from "@feedmepos/mf-common";
|
|
4
|
-
import { g as R, b as g } from "./app-
|
|
4
|
+
import { g as R, b as g } from "./app-BYPvZve5.js";
|
|
5
5
|
const y = {
|
|
6
6
|
async readRestaurants() {
|
|
7
7
|
return R(await g().get("/hr-restaurants"));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineStore as x, storeToRefs as b } from "pinia";
|
|
2
2
|
import { ref as w } from "vue";
|
|
3
3
|
import { useCoreStore as B } from "@feedmepos/mf-common";
|
|
4
|
-
import { s as v } from "./iteration-
|
|
5
|
-
import { g as f, b as p } from "./app-
|
|
6
|
-
import { u as I } from "./restaurant-
|
|
4
|
+
import { s as v } from "./iteration-Cnj0KTDr.js";
|
|
5
|
+
import { g as f, b as p } from "./app-BYPvZve5.js";
|
|
6
|
+
import { u as I } from "./restaurant-CNsV-2OE.js";
|
|
7
7
|
const R = {
|
|
8
8
|
async readRoles() {
|
|
9
9
|
return f(await p().get("/pos-roles"));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as W, c as q, e as y } from "./iteration-
|
|
2
|
-
import { g, b as v, y as O, v as z, m as _, z as F,
|
|
1
|
+
import { s as W, c as q, e as y } from "./iteration-Cnj0KTDr.js";
|
|
2
|
+
import { g, b as v, y as O, v as z, m as _, z as F, k as x, C as S, O as ee, D as B } from "./app-BYPvZve5.js";
|
|
3
3
|
import { s as se } from "./utils-BZkjJbju.js";
|
|
4
4
|
import { defineStore as V, storeToRefs as K } from "pinia";
|
|
5
5
|
import { ref as h, computed as J } from "vue";
|
|
6
6
|
import { useCoreStore as X } from "@feedmepos/mf-common";
|
|
7
|
-
import { u as te } from "./restaurant-
|
|
7
|
+
import { u as te } from "./restaurant-CNsV-2OE.js";
|
|
8
8
|
const E = "/permission-sets", N = {
|
|
9
9
|
async read() {
|
|
10
10
|
return g(await v().get(E));
|
|
@@ -61,7 +61,7 @@ const E = "/permission-sets", N = {
|
|
|
61
61
|
...K(e)
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
-
function
|
|
64
|
+
function k(e) {
|
|
65
65
|
if (e) {
|
|
66
66
|
if (typeof e == "string") {
|
|
67
67
|
if (e === "{}") return;
|
|
@@ -83,7 +83,7 @@ function j(e) {
|
|
|
83
83
|
function Q(e) {
|
|
84
84
|
const s = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), n = (i, t, a) => {
|
|
85
85
|
var o, u;
|
|
86
|
-
const c =
|
|
86
|
+
const c = k(t.conditions);
|
|
87
87
|
let l = `${t.subject}::${JSON.stringify([...t.actions].sort())}`;
|
|
88
88
|
j(c) || (l += `::${JSON.stringify(c)}`);
|
|
89
89
|
const d = i.get(l);
|
|
@@ -92,7 +92,7 @@ function Q(e) {
|
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
d.setNames.push(a.name);
|
|
95
|
-
const m =
|
|
95
|
+
const m = k(d.conditions);
|
|
96
96
|
if (!m || !c) {
|
|
97
97
|
d.conditions = void 0;
|
|
98
98
|
return;
|
|
@@ -458,7 +458,7 @@ const P = "/permission-assignments", I = {
|
|
|
458
458
|
await F().get(`/report-query/hrm/${e}/reports`, { params: r })
|
|
459
459
|
);
|
|
460
460
|
}
|
|
461
|
-
}, U = h([]), C = h(!1), R = h(!1), $ = h(null),
|
|
461
|
+
}, U = h([]), C = h(!1), R = h(!1), $ = h(null), D = h(null), M = h(!1);
|
|
462
462
|
function ge() {
|
|
463
463
|
const e = X();
|
|
464
464
|
async function s() {
|
|
@@ -466,7 +466,7 @@ function ge() {
|
|
|
466
466
|
const n = (t = e.currentBusiness.value) == null ? void 0 : t.id;
|
|
467
467
|
if (!n) return;
|
|
468
468
|
const i = localStorage.getItem("locale");
|
|
469
|
-
if ($.value !== n && (U.value = [], C.value = !1, R.value = !1, $.value = n, M.value = !1), !(C.value &&
|
|
469
|
+
if ($.value !== n && (U.value = [], C.value = !1, R.value = !1, $.value = n, M.value = !1), !(C.value && D.value === i)) {
|
|
470
470
|
if (R.value) {
|
|
471
471
|
M.value = !0;
|
|
472
472
|
return;
|
|
@@ -475,7 +475,7 @@ function ge() {
|
|
|
475
475
|
try {
|
|
476
476
|
const a = await pe.fetchReportPermissionsForPortal(n, i);
|
|
477
477
|
if ($.value !== n) return;
|
|
478
|
-
U.value = a, C.value = !0,
|
|
478
|
+
U.value = a, C.value = !0, D.value = i;
|
|
479
479
|
} catch (a) {
|
|
480
480
|
if ($.value !== n) return;
|
|
481
481
|
console.warn("Failed to fetch custom report permissions:", a), U.value = [];
|
|
@@ -759,18 +759,18 @@ function Se(e, s = []) {
|
|
|
759
759
|
export {
|
|
760
760
|
G as N,
|
|
761
761
|
Q as P,
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
762
|
+
oe as R,
|
|
763
|
+
ge as a,
|
|
764
|
+
Te as b,
|
|
765
765
|
H as c,
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
766
|
+
fe as d,
|
|
767
|
+
Fe as e,
|
|
768
|
+
Me as f,
|
|
769
|
+
de as g,
|
|
770
770
|
Be as h,
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
771
|
+
Je as i,
|
|
772
|
+
Le as j,
|
|
773
|
+
pe as k,
|
|
774
774
|
Ne as l,
|
|
775
775
|
Ae as m,
|
|
776
776
|
Ue as n,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { IFdtoCreateStaffInviteReq, IFdtoCreateStaffInviteRes, IFdtoResendStaffInviteRes, IFdtoStaffInvite, IFdtoStaffInviteLookup,
|
|
1
|
+
import type { IFdtoCreateStaffInviteReq, IFdtoCreateStaffInviteRes, IFdtoResendStaffInviteRes, IFdtoStaffInvite, IFdtoStaffInviteLookup, IFdtoUpdateStaffInviteReq } from '@/types/staff-invite';
|
|
2
2
|
declare const StaffInviteAPI: {
|
|
3
|
-
readProviders(): Promise<IFdtoStaffInviteProvider[]>;
|
|
4
3
|
readInvites(status?: IFdtoStaffInvite["status"]): Promise<IFdtoStaffInvite[]>;
|
|
5
4
|
lookup(key: {
|
|
6
5
|
mobile: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { IFdtoSsoProvider } from '@/types/sso-provider';
|
|
2
|
+
export declare function useSsoProviders(): {
|
|
3
|
+
providers: import("vue").Ref<{
|
|
4
|
+
slug: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type: string;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
inviteMatch: import("../types/staff-invite").StaffInviteMatch | "none";
|
|
9
|
+
}[], IFdtoSsoProvider[] | {
|
|
10
|
+
slug: string;
|
|
11
|
+
label: string;
|
|
12
|
+
type: string;
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
inviteMatch: import("../types/staff-invite").StaffInviteMatch | "none";
|
|
15
|
+
}[]>;
|
|
16
|
+
isLoaded: import("vue").ComputedRef<boolean>;
|
|
17
|
+
loadProviders: () => Promise<void>;
|
|
18
|
+
providerLabel: (slug: string) => string;
|
|
19
|
+
};
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import type { IFdtoStaffInviteProvider } from '@/types/staff-invite';
|
|
2
1
|
export declare function useStaffInviteProviders(): {
|
|
3
|
-
providers: import("vue").
|
|
4
|
-
slug: string;
|
|
5
|
-
label: string;
|
|
6
|
-
type: string;
|
|
7
|
-
inviteMatch: import("@/types/staff-invite").StaffInviteMatch;
|
|
8
|
-
}[], IFdtoStaffInviteProvider[] | {
|
|
9
|
-
slug: string;
|
|
10
|
-
label: string;
|
|
11
|
-
type: string;
|
|
12
|
-
inviteMatch: import("@/types/staff-invite").StaffInviteMatch;
|
|
13
|
-
}[]>;
|
|
2
|
+
providers: import("vue").ComputedRef<import("../types/staff-invite").IFdtoStaffInviteProvider[]>;
|
|
14
3
|
isLoaded: import("vue").ComputedRef<boolean>;
|
|
15
4
|
hasProviders: import("vue").ComputedRef<boolean>;
|
|
16
5
|
canInvite: import("vue").ComputedRef<boolean>;
|
|
@@ -17,6 +17,8 @@ export declare function toRows(roles: IFdtoPermissionPosUserRole[]): PosAssignme
|
|
|
17
17
|
export declare function toRoles(rows: PosAssignmentRow[]): IFdtoPermissionPosUserRole[];
|
|
18
18
|
export declare function sameRoles(a: IFdtoPermissionPosUserRole[], b: IFdtoPermissionPosUserRole[]): boolean;
|
|
19
19
|
export declare function restaurantLabel(restaurant: HrmRestaurant): string;
|
|
20
|
+
/** The row's outlets as one line for its select field, in the order the list shows them. */
|
|
21
|
+
export declare function rowRestaurantSummary(restaurants: HrmRestaurant[], row: PosAssignmentRow): string;
|
|
20
22
|
/** Outlets for a row; one already in another row can't be picked twice. */
|
|
21
23
|
export declare function rowRestaurantOptions(restaurants: HrmRestaurant[], rows: PosAssignmentRow[], index: number): SelectOption[];
|
|
22
24
|
/** Roles that exist at every outlet of the row; unusable ones stay visible but disabled. */
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { RawRule } from '@casl/ability';
|
|
2
2
|
import { type IFdtoCreateStaffInviteReq, type IFdtoCreateStaffInviteRes, type IFdtoStaffInvite, type IFdtoStaffInviteProvider, type IFdtoUpdateStaffInviteReq, type StaffInviteMatch, type StaffInviteWarning } from '@/types/staff-invite';
|
|
3
|
+
import type { IFdtoSsoProvider } from '@/types/sso-provider';
|
|
3
4
|
type Translate = (key: string, params?: Record<string, unknown>) => string;
|
|
4
5
|
/**
|
|
5
6
|
* Same check the backend makes for POST /portal-users: create on hrm::portalUsers, which the
|
|
6
7
|
* Team member toggle (hrm_teamMember:manage) grants through its system permission set.
|
|
7
8
|
*/
|
|
8
9
|
export declare function canCreatePortalUsers(permissions: RawRule[]): boolean;
|
|
10
|
+
/** The providers invites can go through: switched on, with a key to match people on. */
|
|
11
|
+
export declare function invitableProviders(providers: IFdtoSsoProvider[]): IFdtoStaffInviteProvider[];
|
|
9
12
|
export declare function canInviteStaff(providers: IFdtoStaffInviteProvider[], permissions: RawRule[]): boolean;
|
|
10
13
|
/** E.164 form of a valid phone number, or null. */
|
|
11
14
|
export declare function toE164(phone: string): string | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { StaffInviteMatch } from '@/types/staff-invite';
|
|
2
|
+
/** A business's SSO provider (GET /businesses/:businessId/sso-providers), on or off. */
|
|
3
|
+
export interface IFdtoSsoProvider {
|
|
4
|
+
slug: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type: string;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
/** The key invites match people on; `none` turns invites off for this provider. */
|
|
9
|
+
inviteMatch: StaffInviteMatch | 'none';
|
|
10
|
+
}
|
|
@@ -160,6 +160,11 @@ export declare const i18nMessages: {
|
|
|
160
160
|
"report:timesheet": string;
|
|
161
161
|
"report:counterPayment": string;
|
|
162
162
|
};
|
|
163
|
+
addTitle: string;
|
|
164
|
+
permissionsSubtitle: string;
|
|
165
|
+
namePlaceholder: string;
|
|
166
|
+
permissionAllowed: string;
|
|
167
|
+
permissionsAllowed: string;
|
|
163
168
|
};
|
|
164
169
|
noData: {
|
|
165
170
|
title: string;
|
|
@@ -368,6 +373,11 @@ export declare const i18nMessages: {
|
|
|
368
373
|
"report:timesheet": string;
|
|
369
374
|
"report:counterPayment": string;
|
|
370
375
|
};
|
|
376
|
+
addTitle: string;
|
|
377
|
+
permissionsSubtitle: string;
|
|
378
|
+
namePlaceholder: string;
|
|
379
|
+
permissionAllowed: string;
|
|
380
|
+
permissionsAllowed: string;
|
|
371
381
|
};
|
|
372
382
|
noData: {
|
|
373
383
|
title: string;
|
|
@@ -576,6 +586,11 @@ export declare const i18nMessages: {
|
|
|
576
586
|
"report:timesheet": string;
|
|
577
587
|
"report:counterPayment": string;
|
|
578
588
|
};
|
|
589
|
+
addTitle: string;
|
|
590
|
+
permissionsSubtitle: string;
|
|
591
|
+
namePlaceholder: string;
|
|
592
|
+
permissionAllowed: string;
|
|
593
|
+
permissionsAllowed: string;
|
|
579
594
|
};
|
|
580
595
|
noData: {
|
|
581
596
|
title: string;
|
|
@@ -783,6 +798,11 @@ export declare const i18nMessages: {
|
|
|
783
798
|
"report:timesheet": string;
|
|
784
799
|
"report:counterPayment": string;
|
|
785
800
|
};
|
|
801
|
+
addTitle: string;
|
|
802
|
+
permissionsSubtitle: string;
|
|
803
|
+
namePlaceholder: string;
|
|
804
|
+
permissionAllowed: string;
|
|
805
|
+
permissionsAllowed: string;
|
|
786
806
|
};
|
|
787
807
|
noData: {
|
|
788
808
|
title: string;
|
|
@@ -1,17 +1,44 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
3
|
id: {
|
|
3
4
|
type: StringConstructor;
|
|
4
5
|
default: undefined;
|
|
5
6
|
};
|
|
7
|
+
/** Outlets ticked when creating a role (the member sheet passes the row's outlets). */
|
|
8
|
+
restaurantIds: {
|
|
9
|
+
type: PropType<string[]>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
/** Opened over another sheet: a back arrow returns to it. */
|
|
13
|
+
showBack: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
6
17
|
}>, {
|
|
7
18
|
show: import("vue").Ref<boolean, boolean>;
|
|
8
19
|
trigger: () => void;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
20
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
|
+
created: (roleId: string) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
23
|
id: {
|
|
11
24
|
type: StringConstructor;
|
|
12
25
|
default: undefined;
|
|
13
26
|
};
|
|
14
|
-
|
|
27
|
+
/** Outlets ticked when creating a role (the member sheet passes the row's outlets). */
|
|
28
|
+
restaurantIds: {
|
|
29
|
+
type: PropType<string[]>;
|
|
30
|
+
default: () => never[];
|
|
31
|
+
};
|
|
32
|
+
/** Opened over another sheet: a back arrow returns to it. */
|
|
33
|
+
showBack: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{
|
|
38
|
+
onCreated?: ((roleId: string) => any) | undefined;
|
|
39
|
+
}>, {
|
|
15
40
|
id: string;
|
|
41
|
+
restaurantIds: string[];
|
|
42
|
+
showBack: boolean;
|
|
16
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
44
|
export default _default;
|
|
@@ -31,9 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
}>, {
|
|
32
32
|
readGrantData: typeof readGrantData;
|
|
33
33
|
isModified: typeof isModified;
|
|
34
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
35
|
-
"create-pos-role": () => any;
|
|
36
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
35
|
initialValue: {
|
|
38
36
|
type: PropType<MemberGrantInitialValue | null>;
|
|
39
37
|
};
|
|
@@ -46,9 +44,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
44
|
type: BooleanConstructor;
|
|
47
45
|
default: boolean;
|
|
48
46
|
};
|
|
49
|
-
}>> & Readonly<{
|
|
50
|
-
"onCreate-pos-role"?: (() => any) | undefined;
|
|
51
|
-
}>, {
|
|
47
|
+
}>> & Readonly<{}>, {
|
|
52
48
|
loading: boolean;
|
|
53
49
|
fallbackName: string;
|
|
54
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -21,7 +21,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
};
|
|
22
22
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
23
|
"update:modelValue": (roles: IFdtoPermissionPosUserRole[]) => any;
|
|
24
|
-
"create-role": () => any;
|
|
25
24
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
25
|
modelValue: {
|
|
27
26
|
type: PropType<IFdtoPermissionPosUserRole[]>;
|
|
@@ -41,6 +40,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
41
40
|
};
|
|
42
41
|
}>> & Readonly<{
|
|
43
42
|
"onUpdate:modelValue"?: ((roles: IFdtoPermissionPosUserRole[]) => any) | undefined;
|
|
44
|
-
"onCreate-role"?: (() => any) | undefined;
|
|
45
43
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
44
|
export default _default;
|
|
@@ -65,7 +65,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
providerLabel: import("vue").ComputedRef<string>;
|
|
66
66
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
67
67
|
"update-existing": (existing: IFdtoStaffInviteLookup) => any;
|
|
68
|
-
"create-pos-role": () => any;
|
|
69
68
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
69
|
initialValue: {
|
|
71
70
|
type: PropType<TeamDialogData>;
|
|
@@ -88,7 +87,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
88
87
|
};
|
|
89
88
|
}>> & Readonly<{
|
|
90
89
|
"onUpdate-existing"?: ((existing: IFdtoStaffInviteLookup) => any) | undefined;
|
|
91
|
-
"onCreate-pos-role"?: (() => any) | undefined;
|
|
92
90
|
}>, {
|
|
93
91
|
loading: boolean;
|
|
94
92
|
roleErrorMessage: string;
|
|
@@ -33,7 +33,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33
33
|
};
|
|
34
34
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
35
35
|
"update:model-value": (user: IFdtoPermissionPosUser | null | undefined) => any;
|
|
36
|
-
"create-role": () => any;
|
|
37
36
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
37
|
modelValue: {
|
|
39
38
|
type: PropType<IFdtoPermissionPosUser | null>;
|
|
@@ -65,7 +64,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
64
|
};
|
|
66
65
|
}>> & Readonly<{
|
|
67
66
|
"onUpdate:model-value"?: ((user: IFdtoPermissionPosUser | null | undefined) => any) | undefined;
|
|
68
|
-
"onCreate-role"?: (() => any) | undefined;
|
|
69
67
|
}>, {
|
|
70
68
|
modelValue: IFdtoPermissionPosUser | null;
|
|
71
69
|
fallbackPasscode: string;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.employee-list-table[data-v-5aed0d1c] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-63294af2] .basis-72{display:none}.user-info-icon[data-v-827dfd60]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-827dfd60]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-827dfd60]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-827dfd60]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-827dfd60]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-827dfd60]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-827dfd60]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-827dfd60],.profile-menu--profile .profile-phone[data-v-827dfd60]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-list-table[data-v-f7aebfad] [class~=gap-24]>div:first-child{display:none}.audit-log-list-table[data-v-f7aebfad] tr:has(.audit-op-marker){background-color:var(--fm-color-neutral-gray-100);border-top:1px solid var(--fm-color-neutral-gray-200)}.audit-log-list-table[data-v-f7aebfad] tr:has(.audit-op-marker):hover{background-color:#e8e8ed}.audit-log-action-label[data-v-f7aebfad]{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label[data-v-f7aebfad]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-f7aebfad]{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail[data-v-f7aebfad]::-webkit-scrollbar{display:none}
|
|
1
|
+
.employee-list-table[data-v-5aed0d1c] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-63294af2] .basis-72{display:none}.pos-restaurant-select[data-v-26c32ae0] input{text-overflow:ellipsis}.pos-restaurant-select--filled[data-v-26c32ae0] input::-moz-placeholder{color:var(--fm-color-neutral-gray-500);opacity:1}.pos-restaurant-select--filled[data-v-26c32ae0] input::placeholder{color:var(--fm-color-neutral-gray-500);opacity:1}.user-info-icon[data-v-827dfd60]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-827dfd60]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-827dfd60]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-827dfd60]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-827dfd60]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-827dfd60]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-827dfd60]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-827dfd60],.profile-menu--profile .profile-phone[data-v-827dfd60]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-list-table[data-v-f7aebfad] [class~=gap-24]>div:first-child{display:none}.audit-log-list-table[data-v-f7aebfad] tr:has(.audit-op-marker){background-color:var(--fm-color-neutral-gray-100);border-top:1px solid var(--fm-color-neutral-gray-200)}.audit-log-list-table[data-v-f7aebfad] tr:has(.audit-op-marker):hover{background-color:#e8e8ed}.audit-log-action-label[data-v-f7aebfad]{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label[data-v-f7aebfad]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-f7aebfad]{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail[data-v-f7aebfad]::-webkit-scrollbar{display:none}
|