@feedmepos/mf-hrm-portal 2.3.0-dev.28 → 2.3.0-dev.29
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-CLo47YTm.js → ApprovalCodeList-_sAa8CxN.js} +4 -4
- package/dist/{AuditLogList-BCo4wWpz.js → AuditLogList-C2M11BSU.js} +4 -4
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BvevV40N.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Di6wMkhF.js} +2 -2
- package/dist/{EmployeeList-D_KVIxl0.js → EmployeeList-EXjJ71yX.js} +6 -6
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-Bh2mFqH_.js → FormItem.vue_vue_type_script_setup_true_lang-5k5F-b4t.js} +1 -1
- package/dist/{GrantUserList-CUezku34.js → GrantUserList-Cp8cHSvO.js} +5 -5
- package/dist/{Main-CV9Oj3cD.js → Main-B0rUwO6f.js} +9 -9
- package/dist/{Main-BU6sp4Jy.js → Main-CbxX6qdl.js} +5 -5
- package/dist/{Main-KPH-bQgq.js → Main-IQgk5-q1.js} +2 -2
- package/dist/{PermissionSetList-BL2M4217.js → PermissionSetList-DXaXwA6G.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DRF5IU9y.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ch9oQJJF.js} +1096 -1096
- package/dist/{RoleList-DrxnvjTu.js → RoleList-ShSriUmC.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BPJTboTz.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-V_8His6y.js} +1 -1
- package/dist/{ScheduleGeneralPage-Bv10s6Ih.js → ScheduleGeneralPage-C6JA8tfr.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-BSlvkd_L.js → ScheduleModal.vue_vue_type_script_setup_true_lang-yJGDs_jb.js} +2 -2
- package/dist/{SchedulePage-DOmuj7cm.js → SchedulePage-BPNd_2iN.js} +5143 -5014
- package/dist/{SchedulePositionPage-uHWHCqgG.js → SchedulePositionPage-DbzeLdy6.js} +3 -3
- package/dist/{SelectFilter-F7PTqsBW.js → SelectFilter-KWO1LMEl.js} +1 -1
- package/dist/{TeamMemberList-6U0x18Mv.js → TeamMemberList-DXe3QhHi.js} +7 -7
- package/dist/{TimesheetList-CODDgb6j.js → TimesheetList-BOwFl3cN.js} +6 -6
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-_MSmsxeX.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DYQIScdd.js} +2 -2
- package/dist/{app-Bmv-wxMd.js → app-Bervxh8C.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-BQShIUjb.js → dayjs.min-DlJmJDGK.js} +1 -1
- package/dist/{employee-CYwN7xPo.js → employee-BfxPJ5u_.js} +3 -3
- package/dist/{iteration-BnTlu-r9.js → iteration-CnB0BoPR.js} +1 -1
- package/dist/{lodash-26dVMr-F.js → lodash-DF11vsNb.js} +1 -1
- package/dist/{role-6Vdc6Mw3.js → role-BIH6afDK.js} +1 -1
- package/dist/{rule-HIQq3nFs.js → rule-DtYighjR.js} +2 -2
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDoneArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +1 -1
- package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +7 -2
- package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-C2CzwLBV.js → useReportPermissions-nYmBKdK0.js} +3 -3
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as M, ref as x, onMounted as A, computed as F, createElementBlock as i, openBlock as l, createElementVNode as o, createVNode as n, createStaticVNode as S, withCtx as d, unref as s, toDisplayString as c, createTextVNode as r, normalizeClass as h, createCommentVNode as z, withDirectives as E, withKeys as k, vModelText as P, Fragment as C, renderList as V, withModifiers as g } from "vue";
|
|
2
2
|
import { useRouter as B } from "vue-router";
|
|
3
3
|
import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
4
|
-
import { R as L, a as O } from "./app-
|
|
5
|
-
import { aw as R, ax as K, ag as T, as as u, at as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { R as L, a as O } from "./app-Bervxh8C.js";
|
|
5
|
+
import { aw as R, ax as K, ag as T, as as u, at as U } from "./ScheduleModal.vue_vue_type_script_setup_true_lang-yJGDs_jb.js";
|
|
6
|
+
import { u as W, a as j, _ as q } from "./ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-V_8His6y.js";
|
|
7
7
|
const H = { class: "main" }, G = {
|
|
8
8
|
id: "viewPositions",
|
|
9
9
|
class: "view"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as $, computed as v, defineComponent as X, watch as Y, nextTick as Z, resolveComponent as F, createElementBlock as d, openBlock as c, createElementVNode as A, createVNode as b, renderSlot as z, withCtx as O, createCommentVNode as x, normalizeStyle as ee, Fragment as S, createBlock as T, unref as k, renderList as R, toDisplayString as N, normalizeClass as le, withModifiers as te } from "vue";
|
|
2
2
|
import "@feedmepos/ui-library";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { a as ae } from "./app-
|
|
4
|
+
import { a as ae } from "./app-Bervxh8C.js";
|
|
5
5
|
function ue(r, u, _ = r) {
|
|
6
6
|
const t = $(!0), C = v(() => {
|
|
7
7
|
if (!t.value && !u.value)
|
|
@@ -2,22 +2,22 @@ import { defineComponent as we, resolveComponent as F, createElementBlock as L,
|
|
|
2
2
|
import { useI18n as Ve, useCoreStore as Ze } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Le, useDialog as Qe, useBreakpoints as Ye, components as Oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { u as ps } from "./useDebounce-B8ZPVS5C.js";
|
|
5
|
-
import { S as ye } from "./SelectFilter-
|
|
6
|
-
import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-
|
|
5
|
+
import { S as ye } from "./SelectFilter-KWO1LMEl.js";
|
|
6
|
+
import { a as vs, v as Te, m as fs, O as bs, _ as hs, b as ys } from "./app-Bervxh8C.js";
|
|
7
7
|
import { _ as gs } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
|
|
8
8
|
import { _ as _s } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
9
|
import { s as Us, _ as Ss, a as xs, b as Fs, c as Ps } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
|
|
10
10
|
import { u as He } from "./useLoading-Nygx2zn8.js";
|
|
11
11
|
import { u as Is } from "./useDiscardConfirm-CzZSPyvh.js";
|
|
12
12
|
import { n as es } from "./string-VNuQNweN.js";
|
|
13
|
-
import { l as Pe } from "./lodash-
|
|
14
|
-
import { c as he } from "./iteration-
|
|
15
|
-
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-
|
|
16
|
-
import { u as as } from "./role-
|
|
13
|
+
import { l as Pe } from "./lodash-DF11vsNb.js";
|
|
14
|
+
import { c as he } from "./iteration-CnB0BoPR.js";
|
|
15
|
+
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as ws, j as Ke, k as Vs, l as ks, n as Rs, o as Cs, q as $s } from "./rule-DtYighjR.js";
|
|
16
|
+
import { u as as } from "./role-BIH6afDK.js";
|
|
17
17
|
import { u as ls, i as Ms } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js";
|
|
18
18
|
import "./useAppStore-DZCdxlCd.js";
|
|
19
19
|
import { g as ze, b as We, u as os } from "./restaurant-D2mfKHaH.js";
|
|
20
|
-
import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { _ as Ns } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ch9oQJJF.js";
|
|
21
21
|
var Ue = /* @__PURE__ */ ((o) => (o.Update = "Update", o.Remove = "Remove", o))(Ue || {});
|
|
22
22
|
const Ie = "__unassigned__";
|
|
23
23
|
function Je(o) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ref as d, computed as g, defineComponent as pe, onMounted as fe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as E, Fragment as ee, createVNode as l, createElementVNode as i, unref as n, withCtx as b, createCommentVNode as ve, toDisplayString as O, createTextVNode as he, isRef as ge, renderList as we, createBlock as te, nextTick as ye } from "vue";
|
|
2
|
-
import { d as v } from "./dayjs.min-
|
|
2
|
+
import { d as v } from "./dayjs.min-DlJmJDGK.js";
|
|
3
3
|
import { useI18n as _e } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as be, components as xe } from "@feedmepos/ui-library";
|
|
5
|
-
import { S as De } from "./SelectFilter-
|
|
6
|
-
import { _ as Se, a as Ve } from "./app-
|
|
5
|
+
import { S as De } from "./SelectFilter-KWO1LMEl.js";
|
|
6
|
+
import { _ as Se, a as Ve } from "./app-Bervxh8C.js";
|
|
7
7
|
import { _ as ke } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
8
8
|
import { u as Ce } from "./useLoading-Nygx2zn8.js";
|
|
9
|
-
import { g as Fe, s as Ye } from "./iteration-
|
|
9
|
+
import { g as Fe, s as Ye } from "./iteration-CnB0BoPR.js";
|
|
10
10
|
import { f as Le } from "./utils-BZkjJbju.js";
|
|
11
11
|
import { n as Me } from "./string-VNuQNweN.js";
|
|
12
|
-
import { u as Te } from "./employee-
|
|
12
|
+
import { u as Te } from "./employee-BfxPJ5u_.js";
|
|
13
13
|
import { u as Ie } from "./restaurant-D2mfKHaH.js";
|
|
14
|
-
import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-
|
|
14
|
+
import { u as Re } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DYQIScdd.js";
|
|
15
15
|
function $e(x, a) {
|
|
16
16
|
return ["years", "months"].find((S) => {
|
|
17
17
|
const V = x.startOf(S), p = x.endOf(S);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-DlJmJDGK.js";
|
|
2
2
|
import { defineStore as p, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as l } from "vue";
|
|
4
4
|
import { b as c, g as y } from "./restaurant-D2mfKHaH.js";
|
|
5
|
-
import { s as S } from "./iteration-
|
|
5
|
+
import { s as S } from "./iteration-CnB0BoPR.js";
|
|
6
6
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
7
7
|
const u = {
|
|
8
8
|
async readTimesheets(t, e) {
|
|
@@ -10146,16 +10146,16 @@ const tt = (e) => ({
|
|
|
10146
10146
|
}
|
|
10147
10147
|
]
|
|
10148
10148
|
}
|
|
10149
|
-
}), Vc = it(he(() => import("./Main-
|
|
10150
|
-
he(() => import("./AuditLogList-
|
|
10151
|
-
), Tc = it(he(() => import("./Main-
|
|
10152
|
-
() => import("./PermissionSetList-
|
|
10149
|
+
}), Vc = it(he(() => import("./Main-B0rUwO6f.js"))), Fc = it(he(() => import("./Main-CbxX6qdl.js"))), Sc = it(
|
|
10150
|
+
he(() => import("./AuditLogList-C2M11BSU.js"))
|
|
10151
|
+
), Tc = it(he(() => import("./Main-IQgk5-q1.js"))), kc = he(() => import("./ApprovalCodeList-_sAa8CxN.js")), Rc = he(() => import("./GrantUserList-Cp8cHSvO.js")), Nc = he(() => import("./EmployeeList-EXjJ71yX.js")), Ic = he(() => import("./RoleList-ShSriUmC.js")), Hc = he(() => import("./TimesheetList-BOwFl3cN.js")), qc = he(() => import("./TeamMemberList-DXe3QhHi.js")), Xc = he(
|
|
10152
|
+
() => import("./PermissionSetList-DXaXwA6G.js")
|
|
10153
10153
|
), Qc = _s(
|
|
10154
|
-
it(he(() => import("./SchedulePage-
|
|
10154
|
+
it(he(() => import("./SchedulePage-BPNd_2iN.js")))
|
|
10155
10155
|
), Zc = _s(
|
|
10156
|
-
it(he(() => import("./SchedulePositionPage-
|
|
10156
|
+
it(he(() => import("./SchedulePositionPage-DbzeLdy6.js")))
|
|
10157
10157
|
), Uc = _s(
|
|
10158
|
-
it(he(() => import("./ScheduleGeneralPage-
|
|
10158
|
+
it(he(() => import("./ScheduleGeneralPage-C6JA8tfr.js")))
|
|
10159
10159
|
), wu = [
|
|
10160
10160
|
{
|
|
10161
10161
|
path: "/",
|
|
@@ -11304,7 +11304,7 @@ const Bu = /* @__PURE__ */ Ke({
|
|
|
11304
11304
|
};
|
|
11305
11305
|
}
|
|
11306
11306
|
});
|
|
11307
|
-
var Os = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.
|
|
11307
|
+
var Os = { name: "@feedmepos/mf-hrm-portal", version: "2.3.0-dev.29", mode: "fmmf" };
|
|
11308
11308
|
console.log(
|
|
11309
11309
|
`%c${Os.name}%c v${Os.version} %c${Os.mode}`,
|
|
11310
11310
|
"background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
|
package/dist/app.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as g } from "./dayjs.min-
|
|
1
|
+
import { d as g } from "./dayjs.min-DlJmJDGK.js";
|
|
2
2
|
import { defineStore as $, storeToRefs as x } from "pinia";
|
|
3
3
|
import { ref as y } from "vue";
|
|
4
|
-
import { s as E } from "./iteration-
|
|
4
|
+
import { s as E } from "./iteration-CnB0BoPR.js";
|
|
5
5
|
import { b as l, g as m, u as I } from "./restaurant-D2mfKHaH.js";
|
|
6
6
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
7
|
-
import { u as P } from "./role-
|
|
7
|
+
import { u as P } from "./role-BIH6afDK.js";
|
|
8
8
|
const o = {
|
|
9
9
|
async readEmployees() {
|
|
10
10
|
return m(await l().get("/pos-users"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as B } from "./app-
|
|
1
|
+
import { f as B } from "./app-Bervxh8C.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,7 +1,7 @@
|
|
|
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-
|
|
4
|
+
import { s as v } from "./iteration-CnB0BoPR.js";
|
|
5
5
|
import { g as f, b as p, u as I } from "./restaurant-D2mfKHaH.js";
|
|
6
6
|
const R = {
|
|
7
7
|
async readRoles() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as W, c as q, e as y } from "./iteration-
|
|
2
|
-
import { h as O, c as V, d as _, v as F, n as h, O as ee, D as M } from "./app-
|
|
1
|
+
import { s as W, c as q, e as y } from "./iteration-CnB0BoPR.js";
|
|
2
|
+
import { h as O, c as V, d as _, v as F, n as h, O as ee, D as M } from "./app-Bervxh8C.js";
|
|
3
3
|
import { s as se } from "./utils-BZkjJbju.js";
|
|
4
4
|
import { g, b as v, q as x, u as te } from "./restaurant-D2mfKHaH.js";
|
|
5
5
|
import { defineStore as z, storeToRefs as K } from "pinia";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -6,6 +6,7 @@ import type { SchedulePositionModalApi } from '../composables/useSchedulePositio
|
|
|
6
6
|
import type { ScheduleShiftActionsApi } from '../composables/useScheduleShiftActions';
|
|
7
7
|
import type { ScheduleShiftPopoverApi } from '../composables/useScheduleShiftPopover';
|
|
8
8
|
import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSchedule';
|
|
9
|
+
import type { ScheduleTourApi } from '../composables/useScheduleTour';
|
|
9
10
|
import type { ScheduleDemandSheetApi } from '../composables/useScheduleDemandSheet';
|
|
10
11
|
type ScheduleEmployeeProfileApi = ReturnType<typeof useScheduleEmployeeProfile>;
|
|
11
12
|
type __VLS_Props = {
|
|
@@ -17,6 +18,7 @@ type __VLS_Props = {
|
|
|
17
18
|
shiftActions: ScheduleShiftActionsApi;
|
|
18
19
|
popover: ScheduleShiftPopoverApi;
|
|
19
20
|
autoSchedule: ScheduleAutoScheduleApi;
|
|
21
|
+
tour: ScheduleTourApi;
|
|
20
22
|
demandSheet: ScheduleDemandSheetApi;
|
|
21
23
|
removeEmployeeOpen: boolean;
|
|
22
24
|
removeEmployeeName: string;
|
|
@@ -4,7 +4,7 @@ import type { ScheduleAutoScheduleApi } from '../composables/useScheduleAutoSche
|
|
|
4
4
|
import type { ScheduleExportApi } from '../composables/useScheduleExport';
|
|
5
5
|
import type { SchedulePublishApi } from '../composables/useSchedulePublish';
|
|
6
6
|
type __VLS_Props = {
|
|
7
|
-
kind: 'onboarding' | 'tour' | 'export' | 'publish-share';
|
|
7
|
+
kind: 'onboarding' | 'tour' | 'auto-schedule' | 'export' | 'publish-share';
|
|
8
8
|
wizard?: ScheduleOnboardingWizardApi;
|
|
9
9
|
tour?: ScheduleTourApi;
|
|
10
10
|
autoSchedule?: ScheduleAutoScheduleApi;
|
|
@@ -8,7 +8,7 @@ export declare function dateOfProposal(weekKey: string, dayIdx: number): string;
|
|
|
8
8
|
* dropped. Ids come from `nextId` so they stay unique across weeks. */
|
|
9
9
|
export declare function proposalsFromResult(proposals: FdtoScheduleAutoScheduleProposal[], weekKey: string, dateKeyOf: (dayIdx: number) => string | null, nextId: () => number, holds: (empId: number) => boolean): Proposal[];
|
|
10
10
|
/** The apply body for the accepted proposals, each re-dated from its own week and day. */
|
|
11
|
-
export declare function applyRequestOf(proposals: Proposal[], allowOvertime: boolean): FdtoScheduleAutoScheduleApplyReq;
|
|
11
|
+
export declare function applyRequestOf(proposals: Proposal[], allowOvertime: boolean, status?: FdtoScheduleAutoScheduleApplyReq['status']): FdtoScheduleAutoScheduleApplyReq;
|
|
12
12
|
export interface ClassifiedExplanation {
|
|
13
13
|
kind: 'reject' | 'ai' | 'plain';
|
|
14
14
|
text: string;
|
|
@@ -233,7 +233,7 @@ export declare function useScheduleAutoSchedule(board: ScheduleBoardApi, demand:
|
|
|
233
233
|
hasDemand: import("vue").ComputedRef<boolean>;
|
|
234
234
|
noDemandOpen: import("vue").Ref<boolean, boolean>;
|
|
235
235
|
rangeLabel: import("vue").ComputedRef<string>;
|
|
236
|
-
openWizard: () => void;
|
|
236
|
+
openWizard: (fromSetup?: boolean) => void;
|
|
237
237
|
closeWizard: () => void;
|
|
238
238
|
next: () => void;
|
|
239
239
|
back: () => void;
|
|
@@ -269,10 +269,15 @@ export declare function useScheduleAutoSchedule(board: ScheduleBoardApi, demand:
|
|
|
269
269
|
toggleReject: (id: number) => void;
|
|
270
270
|
rejectAll: () => void;
|
|
271
271
|
exitReview: () => void;
|
|
272
|
+
completionOpen: import("vue").Ref<boolean, boolean>;
|
|
273
|
+
completionCount: import("vue").Ref<number, number>;
|
|
274
|
+
completionPublished: import("vue").Ref<boolean, boolean>;
|
|
275
|
+
completionFromSetup: import("vue").Ref<boolean, boolean>;
|
|
276
|
+
closeCompletion: () => void;
|
|
272
277
|
leaveReviewOpen: import("vue").Ref<boolean, boolean>;
|
|
273
278
|
confirmLeaveReview: () => void;
|
|
274
279
|
cancelLeaveReview: () => void;
|
|
275
|
-
apply: () => Promise<number | null>;
|
|
280
|
+
apply: (showCompletion?: boolean, status?: "DRAFT" | "PUBLISHED") => Promise<number | null>;
|
|
276
281
|
applying: import("vue").Ref<boolean, boolean>;
|
|
277
282
|
applyRejections: import("vue").Ref<{
|
|
278
283
|
employeeName: string;
|
|
@@ -11,7 +11,7 @@ export declare function useSchedulePageActions(options: UseSchedulePageActionsOp
|
|
|
11
11
|
comingSoon: () => void;
|
|
12
12
|
onSchedStatusClick: () => void;
|
|
13
13
|
onApplyProposals: (count: number) => void;
|
|
14
|
-
onApplyAndPublishProposals: (count: number) => void
|
|
14
|
+
onApplyAndPublishProposals: (count: number) => Promise<void>;
|
|
15
15
|
onProposalDragStart: (id: number, event: DragEvent) => void;
|
|
16
16
|
onScroll: (delta: number) => void;
|
|
17
17
|
};
|
|
@@ -121,6 +121,7 @@ export declare function useSchedulePublish(board: ScheduleBoardApi): {
|
|
|
121
121
|
shareOpen: import("vue").Ref<boolean, boolean>;
|
|
122
122
|
shareVersion: import("vue").Ref<number | null, number | null>;
|
|
123
123
|
shareStaffAffected: import("vue").Ref<number, number>;
|
|
124
|
+
showShareCompletion: (changeCount: number, staffAffected: number) => void;
|
|
124
125
|
closeShare: () => void;
|
|
125
126
|
};
|
|
126
127
|
export type SchedulePublishApi = ReturnType<typeof useSchedulePublish>;
|