@studio-west/employees 0.6.24 → 0.6.26

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/WorkTable.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ref as g, watch as fe, computed as Ne, resolveComponent as Ae, resolveDirective as Te, createElementBlock as z, openBlock as C, createElementVNode as x, createVNode as i, createCommentVNode as ee, withDirectives as Be, createBlock as F, unref as a, withCtx as s, Fragment as ie, renderList as re, createTextVNode as D, toDisplayString as m, normalizeStyle as ze } from "vue";
1
+ import { ref as g, watch as fe, computed as Ne, resolveComponent as Ae, resolveDirective as Te, createElementBlock as z, openBlock as C, createElementVNode as x, createVNode as r, createCommentVNode as _, withDirectives as Be, createBlock as F, unref as a, withCtx as s, Fragment as re, renderList as ie, createTextVNode as D, toDisplayString as m, normalizeStyle as ze } from "vue";
2
2
  import { saveAs as Fe } from "file-saver";
3
3
  import * as Ye from "exceljs";
4
4
  import { p as O, b as ve, h as Ue, c as we, a as ke, d as M } from "./index-2Mx6IUGl.js";
@@ -15,7 +15,7 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
15
15
  }, tl = {
16
16
  key: 1,
17
17
  style: { padding: "0.5em 1.5em" }
18
- }, rl = {
18
+ }, il = {
19
19
  __name: "WorkTable",
20
20
  props: {
21
21
  checkEdit: { type: Boolean, default: () => !0 },
@@ -26,7 +26,7 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
26
26
  date: String
27
27
  },
28
28
  setup(U) {
29
- const { t: d, d: Z } = Ie(), c = U, q = g(!1), n = g([
29
+ const { t: d, d: Z } = Ie(), h = U, q = g(!1), n = g([
30
30
  // { name: 'Иванов П.М. (Ведущий работник месяца)',
31
31
  // days: [], // {day: "2024-11-01", tips: '(9:00 - 18:00)', time: 8 }
32
32
  // contHour: 0,
@@ -39,27 +39,27 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
39
39
  // code: '0000-00052'
40
40
  // ids: 1
41
41
  // }
42
- ]), J = g(c.date ? (/* @__PURE__ */ new Date(c.date + "T00:00:01")).getMonth() : (/* @__PURE__ */ new Date()).getMonth()), le = g(!1), I = g([]), k = g(new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1)), u = g([]), H = g(0), f = g(9), p = g(8), K = g(!1), me = g(!0), R = g(!1), te = g("5"), W = g(1), $ = g(""), ae = g([]), N = g([]), Q = g([]), h = g({ name: "Имя", length: 0, code: "" }), X = g(!1), ne = g({
43
- zIndex: 30,
44
- minWidth: 220,
42
+ ]), ee = g(h.date ? (/* @__PURE__ */ new Date(h.date + "T00:00:01")).getMonth() : (/* @__PURE__ */ new Date()).getMonth()), le = g(!1), I = g([]), f = g(new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1)), u = g([]), H = g(0), w = g(9), p = g(8), J = g(!1), me = g(!0), R = g(!1), te = g("5"), W = g(1), $ = g(""), ae = g([]), N = g([]), K = g([]), c = g({ name: "Имя", length: 0, code: "" }), Q = g(!1), ne = g({
43
+ zIndex: 3,
44
+ minWidth: 230,
45
45
  x: 500,
46
46
  y: 200
47
47
  }), he = g({}), P = g("100%");
48
48
  fe($, async (t, e) => {
49
- t !== e && (N.value = [], K.value = !1, c.odata.personal.forEach((o) => {
50
- o.divisionName === t && (N.value.some((r) => (r == null ? void 0 : r.activeText) === o.roleName) || N.value.push({ val: !0, activeText: o.roleName }));
49
+ t !== e && (N.value = [], J.value = !1, h.odata.personal.forEach((o) => {
50
+ o.divisionName === t && (N.value.some((i) => (i == null ? void 0 : i.activeText) === o.roleName) || N.value.push({ val: !0, activeText: o.roleName }));
51
51
  }), oe());
52
- }), fe(J, async (t) => {
52
+ }), fe(ee, async (t) => {
53
53
  let e = (/* @__PURE__ */ new Date()).getMonth(), o = t === null ? e : t - 1;
54
- o = e - 1 <= o ? o : o + 12, console.log("currentMonth", o), k.value = new Date((/* @__PURE__ */ new Date()).getFullYear(), o, 1), ce();
54
+ o = e - 1 <= o ? o : o + 12, console.log("currentMonth", o), f.value = new Date((/* @__PURE__ */ new Date()).getFullYear(), o, 1), ce();
55
55
  });
56
- const Ce = (t, e, o, r) => {
57
- h.value.ids = t.ids, h.value.key = t.key, h.value.add = t.days.length > 0 && t.days[t.days.length - 1].cont, h.value.level = e.level, h.value.day = o.cellIndex, ne.value.y = r.clientY, ne.value.x = r.clientX, e.level === 2 && e.no === 0 && c.checkEdit && (h.value.name = d("workSchedule.autocomplete"), X.value = !0), e.level === 3 && o.cellIndex - e.no === 1 && c.checkEdit && (B(o.cellIndex, t.ids), h.value.name = d("workSchedule.modeSelection"), X.value = !0);
56
+ const Ce = (t, e, o, i) => {
57
+ c.value.ids = t.ids, c.value.key = t.key, c.value.add = t.days.length > 0 && t.days[t.days.length - 1].cont, c.value.level = e.level, c.value.day = o.cellIndex, ne.value.y = i.clientY, ne.value.x = i.clientX, e.level === 2 && e.no === 0 && h.checkEdit && (c.value.name = d("workSchedule.autocomplete"), Q.value = !0), e.level === 3 && o.cellIndex - e.no === 1 && h.checkEdit && (B(o.cellIndex, t.ids), c.value.name = d("workSchedule.modeSelection"), Q.value = !0);
58
58
  }, xe = ({ row: t, columnIndex: e }) => {
59
59
  if (!I.value || I.value.length === 0 || !le.value) return "";
60
- const o = new Date(new Date(k.value).getFullYear(), new Date(k.value).getMonth(), e).getTime() + 1e3;
61
- for (let r of I.value) {
62
- const { dateStart: l, dateEnd: y, code: V } = r;
60
+ const o = new Date(new Date(f.value).getFullYear(), new Date(f.value).getMonth(), e).getTime() + 1e3;
61
+ for (let i of I.value) {
62
+ const { dateStart: l, dateEnd: y, code: V } = i;
63
63
  if (l && y && V === t.code && e !== 0 && e <= u.value.length) {
64
64
  const E = new Date(ke(l)).getTime(), A = new Date(ke(y)).getTime();
65
65
  if (o >= E && o <= A) return "vacation";
@@ -68,38 +68,38 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
68
68
  return "";
69
69
  }, ce = () => {
70
70
  var y, V, E, A;
71
- const t = he.value, e = new Date(k.value), o = new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate();
72
- let r = [], l = 0;
71
+ const t = he.value, e = new Date(f.value), o = new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate();
72
+ let i = [], l = 0;
73
73
  for (let b = 1; b <= o; b++) {
74
74
  const v = O(e.setDate(b), "{Y}-{m}-{dd}");
75
75
  l += (y = t.nowork) != null && y.includes(v) || t.holidays.includes(v) ? 0 : (V = t.preholidays) != null && V.includes(v) ? 7 : 8;
76
- const w = (E = t.nowork) != null && E.includes(v) ? "nowork" : t.holidays.includes(v) ? "holiday" : (A = t.preholidays) != null && A.includes(v) ? "preholiday" : "";
77
- r.push({ day: b, holidays: w, weekday: Z(new Date(e.getFullYear(), e.getMonth(), b), "day") });
76
+ const k = (E = t.nowork) != null && E.includes(v) ? "nowork" : t.holidays.includes(v) ? "holiday" : (A = t.preholidays) != null && A.includes(v) ? "preholiday" : "";
77
+ i.push({ day: b, holidays: k, weekday: Z(new Date(e.getFullYear(), e.getMonth(), b), "day") });
78
78
  }
79
- H.value = l, u.value = r, c.odata.getPersonal({}).then((b) => {
79
+ H.value = l, u.value = i, h.odata.getPersonal({}).then((b) => {
80
80
  var v;
81
- $.value.length === 0 && ($.value = (v = b.find((w) => w.employeeName === c.fullName)) == null ? void 0 : v.divisionName), b.forEach((w, ue) => {
82
- ae.value.some((S) => (S == null ? void 0 : S.value) === w.divisionName) || ae.value.push({ value: w.divisionName, label: w.divisionName, key: ue }), w.divisionName === $.value && !N.value.some((S) => (S == null ? void 0 : S.activeText) === w.roleName) && N.value.push({ val: !0, activeText: w.roleName });
81
+ $.value.length === 0 && ($.value = (v = b.find((k) => k.employeeName === h.fullName)) == null ? void 0 : v.divisionName), b.forEach((k, ue) => {
82
+ ae.value.some((S) => (S == null ? void 0 : S.value) === k.divisionName) || ae.value.push({ value: k.divisionName, label: k.divisionName, key: ue }), k.divisionName === $.value && !N.value.some((S) => (S == null ? void 0 : S.activeText) === k.roleName) && N.value.push({ val: !0, activeText: k.roleName });
83
83
  }), oe(), me.value = !1;
84
84
  });
85
85
  }, Se = Ne(() => !n.value.some((t) => t.contHour !== H.value)), pe = (t, e) => {
86
86
  var y, V, E;
87
- const o = new Date(k.value), r = `${o.getFullYear()}-${(o.getMonth() + 1).toString().padStart(2, "0")}-${t.toString().padStart(2, "0")}`, l = (y = n.value[e]) == null ? void 0 : y.days.findIndex((A) => A.day === r);
87
+ const o = new Date(f.value), i = `${o.getFullYear()}-${(o.getMonth() + 1).toString().padStart(2, "0")}-${t.toString().padStart(2, "0")}`, l = (y = n.value[e]) == null ? void 0 : y.days.findIndex((A) => A.day === i);
88
88
  return e === -1 || l === -1 ? "" : ((V = n.value[e].days[l]) == null ? void 0 : V.tips) + `
89
89
  ` + ((E = n.value[e].days[l]) == null ? void 0 : E.time);
90
90
  }, oe = () => {
91
- n.value = [], Q.value = [], I.value = [], c.odata.personal.forEach((t) => {
91
+ n.value = [], K.value = [], I.value = [], h.odata.personal.forEach((t) => {
92
92
  if (t.divisionName === $.value && N.value.some((e) => e.val && e.activeText === t.roleName)) {
93
93
  let e = ve(t.employeeName);
94
- Q.value.push(t.employeeKey), n.value.push({ name: e + " (" + t.roleName + ")", days: [], contHour: 0, code: t.employeeKey, id: !1, ids: n.value.length });
94
+ K.value.push(t.employeeKey), n.value.push({ name: e + " (" + t.roleName + ")", days: [], contHour: 0, code: t.employeeKey, id: !1, ids: n.value.length });
95
95
  }
96
- }), c.workSchedule.getUsersYear({ code: Q.value, year: new Date(k.value).getFullYear() }).then((t) => {
96
+ }), h.workSchedule.getUsersYear({ code: K.value, year: new Date(f.value).getFullYear() }).then((t) => {
97
97
  t.forEach((e) => {
98
98
  e.dateStart && I.value.push({ code: e.code, dateStart: e.dateStart, dateEnd: e.dateEnd });
99
99
  }), console.log(t), $e(), R.value = !1;
100
100
  });
101
101
  }, $e = () => {
102
- c.workSchedule.getWorkSchedule({ code: Q.value, date: O(new Date(k.value), "{Y}-{m}-{dd}") }).then(
102
+ h.workSchedule.getWorkSchedule({ code: K.value, date: O(new Date(f.value), "{Y}-{m}-{dd}") }).then(
103
103
  (t) => {
104
104
  t.forEach((e, o) => {
105
105
  e !== null && (n.value[o].days = e.data.days, n.value[o].id = e.id);
@@ -129,59 +129,59 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
129
129
  break;
130
130
  }
131
131
  }, B = (t, e, o = !1) => {
132
- const { date: r, ind: l } = _(t, e);
132
+ const { date: i, ind: l } = X(t, e);
133
133
  l === -1 ? (n.value[e].days.push({
134
- day: r,
134
+ day: i,
135
135
  time: p.value,
136
- tips: `(${f.value}:00 - ${p.value >= 22 ? f.value + p.value + 2 : f.value + p.value + 1}:00)`
137
- }), j()) : o || (p.value = n.value[e].days[l].time, f.value = parseInt(n.value[e].days[l].tips.slice(1, -12)));
136
+ tips: `(${w.value}:00 - ${p.value >= 22 ? w.value + p.value + 2 : w.value + p.value + 1}:00)`
137
+ }), j()) : o || (p.value = n.value[e].days[l].time, w.value = parseInt(n.value[e].days[l].tips.slice(1, -12)));
138
138
  }, Ve = (t, e) => {
139
- const { ind: o } = _(t, e);
139
+ const { ind: o } = X(t, e);
140
140
  n.value[e].days.splice(o, 1), j(), document.querySelector(".app-main").click();
141
141
  }, ye = (t, e) => {
142
- const { date: o, ind: r } = _(t, e);
143
- n.value[e].days[r] = {
142
+ const { date: o, ind: i } = X(t, e);
143
+ n.value[e].days[i] = {
144
144
  day: o,
145
145
  time: p.value,
146
- tips: `(${f.value}:00 - ${p.value >= 22 ? f.value + p.value + 2 : f.value + p.value + 1}:00)`
146
+ tips: `(${w.value}:00 - ${p.value >= 22 ? w.value + p.value + 2 : w.value + p.value + 1}:00)`
147
147
  }, j();
148
- }, _ = (t, e) => {
148
+ }, X = (t, e) => {
149
149
  var l;
150
- const o = O(new Date(k.value).setDate(t), "{Y}-{m}-{dd}"), r = (l = n.value[e]) == null ? void 0 : l.days.findIndex((y) => y.day === o);
151
- return { date: o, ind: r };
150
+ const o = O(new Date(f.value).setDate(t), "{Y}-{m}-{dd}"), i = (l = n.value[e]) == null ? void 0 : l.days.findIndex((y) => y.day === o);
151
+ return { date: o, ind: i };
152
152
  }, Ee = async () => {
153
153
  var b;
154
154
  q.value = !0;
155
- const t = new Ye.Workbook(), e = t.addWorksheet(Z(k.value, "month"), { pageSetup: { paperSize: 9, orientation: "landscape", fitToPage: !0 } }), o = { vertical: "middle", horizontal: "center" }, r = { top: { style: "thin" }, left: { style: "thin" }, bottom: { style: "thin" }, right: { style: "thin" } }, l = { vertical: "middle", horizontal: "center", wrapText: !0 };
156
- e.mergeCells(`A1:${M("A1", u.value.length + 5)}1`), e.mergeCells(`A2:${M("A2", u.value.length + 5)}2`), e.mergeCells("A3:A4"), e.mergeCells(`B3:${M("B3", u.value.length)}3`), e.mergeCells(`${M("B3", u.value.length + 1)}3:${M("B3", u.value.length + 2)}3`), e.mergeCells(`${M("B3", u.value.length + 3)}3:${M("B4", u.value.length + 3)}4`), e.mergeCells(`${M("B3", u.value.length + 4)}3:${M("B4", u.value.length + 4)}4`), e.getCell("A1").value = d("workSchedule.firm"), e.getCell("A2").value = d("workSchedule.title", { name: $.value }) + Z(k.value, "month") + ` ${new Date(k.value).getFullYear()}`, e.getCell("A3").value = d("workSchedule.month"), e.getCell("B3").value = d("workSchedule.numbersMonth"), e.getCell(3, u.value.length + 2).value = d("workSchedule.onSchedule"), e.getCell(3, u.value.length + 4).value = d("workSchedule.acquainted"), e.getCell(3, u.value.length + 5).value = d("workSchedule.date"), e.getCell(4, u.value.length + 2).value = d("workSchedule.days"), e.getCell(4, u.value.length + 3).value = `${d("workSchedule.hours")} (${H.value})`;
155
+ const t = new Ye.Workbook(), e = t.addWorksheet(Z(f.value, "month"), { pageSetup: { paperSize: 9, orientation: "landscape", fitToPage: !0 } }), o = { vertical: "middle", horizontal: "center" }, i = { top: { style: "thin" }, left: { style: "thin" }, bottom: { style: "thin" }, right: { style: "thin" } }, l = { vertical: "middle", horizontal: "center", wrapText: !0 };
156
+ e.mergeCells(`A1:${M("A1", u.value.length + 5)}1`), e.mergeCells(`A2:${M("A2", u.value.length + 5)}2`), e.mergeCells("A3:A4"), e.mergeCells(`B3:${M("B3", u.value.length)}3`), e.mergeCells(`${M("B3", u.value.length + 1)}3:${M("B3", u.value.length + 2)}3`), e.mergeCells(`${M("B3", u.value.length + 3)}3:${M("B4", u.value.length + 3)}4`), e.mergeCells(`${M("B3", u.value.length + 4)}3:${M("B4", u.value.length + 4)}4`), e.getCell("A1").value = d("workSchedule.firm"), e.getCell("A2").value = d("workSchedule.title", { name: $.value }) + Z(f.value, "month") + ` ${new Date(f.value).getFullYear()}`, e.getCell("A3").value = d("workSchedule.month"), e.getCell("B3").value = d("workSchedule.numbersMonth"), e.getCell(3, u.value.length + 2).value = d("workSchedule.onSchedule"), e.getCell(3, u.value.length + 4).value = d("workSchedule.acquainted"), e.getCell(3, u.value.length + 5).value = d("workSchedule.date"), e.getCell(4, u.value.length + 2).value = d("workSchedule.days"), e.getCell(4, u.value.length + 3).value = `${d("workSchedule.hours")} (${H.value})`;
157
157
  for (let v = 2; v <= u.value.length + 1; v++)
158
158
  e.getCell(4, v).value = u.value[v - 2].weekday + `
159
- ` + (v - 1), e.getColumn(v).width = 6, e.getColumn(v).alignment = l, e.getCell(4, v).border = r;
160
- e.getRow(1).height = 40, e.getRow(2).height = 30, e.getRow(3).height = 20, e.getColumn(1).width = 15, e.getColumn(u.value.length + 2).width = 5, e.getColumn(u.value.length + 3).width = 6, e.getColumn(u.value.length + 4).width = 13, e.getColumn(u.value.length + 5).width = 13, e.getColumn(1).alignment = l, e.getCell("A2").alignment = o, e.getCell("A3").alignment = o, e.getCell("B3").alignment = o, e.getCell(3, u.value.length + 2).alignment = o, e.getColumn(u.value.length + 2).alignment = l, e.getColumn(u.value.length + 3).alignment = l, e.getColumn(u.value.length + 4).alignment = o, e.getColumn(u.value.length + 5).alignment = o, e.getCell("A3").border = r, e.getCell("B3").border = r, e.getCell(3, u.value.length + 2).border = r, e.getCell(4, u.value.length + 2).border = r, e.getCell(3, u.value.length + 4).border = r, e.getCell(3, u.value.length + 5).border = r, e.getCell(4, u.value.length + 3).border = r;
159
+ ` + (v - 1), e.getColumn(v).width = 6, e.getColumn(v).alignment = l, e.getCell(4, v).border = i;
160
+ e.getRow(1).height = 40, e.getRow(2).height = 30, e.getRow(3).height = 20, e.getColumn(1).width = 15, e.getColumn(u.value.length + 2).width = 5, e.getColumn(u.value.length + 3).width = 6, e.getColumn(u.value.length + 4).width = 13, e.getColumn(u.value.length + 5).width = 13, e.getColumn(1).alignment = l, e.getCell("A2").alignment = o, e.getCell("A3").alignment = o, e.getCell("B3").alignment = o, e.getCell(3, u.value.length + 2).alignment = o, e.getColumn(u.value.length + 2).alignment = l, e.getColumn(u.value.length + 3).alignment = l, e.getColumn(u.value.length + 4).alignment = o, e.getColumn(u.value.length + 5).alignment = o, e.getCell("A3").border = i, e.getCell("B3").border = i, e.getCell(3, u.value.length + 2).border = i, e.getCell(4, u.value.length + 2).border = i, e.getCell(3, u.value.length + 4).border = i, e.getCell(3, u.value.length + 5).border = i, e.getCell(4, u.value.length + 3).border = i;
161
161
  let y = 0;
162
162
  for (const v of n.value) {
163
- let w = [v.name];
163
+ let k = [v.name];
164
164
  for (let S = 1; S <= u.value.length; S++) {
165
- const { ind: de } = _(S, y);
166
- de !== -1 ? w[S] = `${v.days[de].time} ${v.days[de].tips}` : w[S] = " ";
165
+ const { ind: de } = X(S, y);
166
+ de !== -1 ? k[S] = `${v.days[de].time} ${v.days[de].tips}` : k[S] = " ";
167
167
  }
168
- w.push(((b = v.days) == null ? void 0 : b.length) || " ", v.contHour || 0);
169
- const ue = e.addRow(w);
170
- ue.border = r, y++;
168
+ k.push(((b = v.days) == null ? void 0 : b.length) || " ", v.contHour || 0);
169
+ const ue = e.addRow(k);
170
+ ue.border = i, y++;
171
171
  }
172
172
  let V = "Щербина Е. В.";
173
- c.odata.personal.forEach((v) => {
173
+ h.odata.personal.forEach((v) => {
174
174
  v.roleName === "Начальник отдела правовой и кадровой работы" && (V = v.employeeName);
175
- }), e.mergeCells(`A${n.value.length + 6}:P${n.value.length + 6}`), e.mergeCells(`Q${n.value.length + 6}:AG${n.value.length + 6}`), e.mergeCells(`B${n.value.length + 8}:E${n.value.length + 8}`), e.mergeCells(`F${n.value.length + 8}:L${n.value.length + 8}`), e.mergeCells(`M${n.value.length + 8}:P${n.value.length + 8}`), e.mergeCells(`S${n.value.length + 8}:V${n.value.length + 8}`), e.mergeCells(`W${n.value.length + 8}:AC${n.value.length + 8}`), e.mergeCells(`AD${n.value.length + 8}:AG${n.value.length + 8}`), e.mergeCells(`Z${n.value.length + 9}:AA${n.value.length + 9}`), e.getCell(`A${n.value.length + 6}`).value = d("workSchedule.byInitials"), e.getCell(`Q${n.value.length + 6}`).value = d("workSchedule.supervisorHR"), e.getCell(`B${n.value.length + 8}`).value = d("workSchedule.compiled") + ":", e.getCell(`S${n.value.length + 8}`).value = d("workSchedule.approved") + ":", e.getCell(`M${n.value.length + 8}`).value = ve(c.fullName), e.getCell(`AD${n.value.length + 8}`).value = ve(V), e.getCell(`Z${n.value.length + 9}`).value = d("workSchedule.printPlace"), e.getCell(`A${n.value.length + 6}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`Q${n.value.length + 6}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`B${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`F${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`M${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "left" }, e.getCell(`AD${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "left" }, e.getCell(`Z${n.value.length + 9}`).alignment = o, e.getCell(`F${n.value.length + 8}`).border = { bottom: { style: "thin" } }, e.getCell(`W${n.value.length + 8}`).border = { bottom: { style: "thin" } };
175
+ }), e.mergeCells(`A${n.value.length + 6}:P${n.value.length + 6}`), e.mergeCells(`Q${n.value.length + 6}:AG${n.value.length + 6}`), e.mergeCells(`B${n.value.length + 8}:E${n.value.length + 8}`), e.mergeCells(`F${n.value.length + 8}:L${n.value.length + 8}`), e.mergeCells(`M${n.value.length + 8}:P${n.value.length + 8}`), e.mergeCells(`S${n.value.length + 8}:V${n.value.length + 8}`), e.mergeCells(`W${n.value.length + 8}:AC${n.value.length + 8}`), e.mergeCells(`AD${n.value.length + 8}:AG${n.value.length + 8}`), e.mergeCells(`Z${n.value.length + 9}:AA${n.value.length + 9}`), e.getCell(`A${n.value.length + 6}`).value = d("workSchedule.byInitials"), e.getCell(`Q${n.value.length + 6}`).value = d("workSchedule.supervisorHR"), e.getCell(`B${n.value.length + 8}`).value = d("workSchedule.compiled") + ":", e.getCell(`S${n.value.length + 8}`).value = d("workSchedule.approved") + ":", e.getCell(`M${n.value.length + 8}`).value = ve(h.fullName), e.getCell(`AD${n.value.length + 8}`).value = ve(V), e.getCell(`Z${n.value.length + 9}`).value = d("workSchedule.printPlace"), e.getCell(`A${n.value.length + 6}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`Q${n.value.length + 6}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`B${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`F${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "right" }, e.getCell(`M${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "left" }, e.getCell(`AD${n.value.length + 8}`).alignment = { vertical: "middle", horizontal: "left" }, e.getCell(`Z${n.value.length + 9}`).alignment = o, e.getCell(`F${n.value.length + 8}`).border = { bottom: { style: "thin" } }, e.getCell(`W${n.value.length + 8}`).border = { bottom: { style: "thin" } };
176
176
  const E = "export_" + O(Date.now(), "{dd}.{m}.{Y}") + ".xlsx", A = await t.xlsx.writeBuffer();
177
177
  Fe(new Blob([A]), E), q.value = !1;
178
178
  }, Me = async () => {
179
- K.value || c.workSchedule.addWorkSchedule({ data: n.value, date: O(new Date(k.value), "{Y}-{m}-{dd}"), group: $.value }).then((t) => K.value = t);
179
+ J.value || h.workSchedule.addWorkSchedule({ data: n.value, date: O(new Date(f.value), "{Y}-{m}-{dd}"), group: $.value }).then((t) => J.value = t);
180
180
  };
181
- return c.group && ($.value = c.group), c.date && (J.value = (/* @__PURE__ */ new Date(c.date + "T00:00:01")).getMonth()), Ue().then((t) => {
181
+ return console.log("props.group", h.group), console.log("props.date", h.date), h.group && ($.value = h.group), h.date && (f.value = /* @__PURE__ */ new Date(h.date + "T00:00:01")), Ue().then((t) => {
182
182
  he.value = t, ce();
183
183
  }), (t, e) => {
184
- const o = Ae("el-date-picker"), r = Te("loading");
184
+ const o = Ae("el-date-picker"), i = Te("loading");
185
185
  return C(), z("div", Ke, [
186
186
  x("div", Qe, [
187
187
  U.checkEdit ? (C(), F(a(He), {
@@ -192,14 +192,14 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
192
192
  style: { width: "240px" }
193
193
  }, {
194
194
  default: s(() => [
195
- (C(!0), z(ie, null, re(ae.value, (l) => (C(), F(a(Re), {
195
+ (C(!0), z(re, null, ie(ae.value, (l) => (C(), F(a(Re), {
196
196
  key: l.key,
197
197
  label: l.label,
198
198
  value: l.value
199
199
  }, null, 8, ["label", "value"]))), 128))
200
200
  ]),
201
201
  _: 1
202
- }, 8, ["modelValue"])) : ee("", !0),
202
+ }, 8, ["modelValue"])) : _("", !0),
203
203
  U.checkEdit ? (C(), F(a(T), {
204
204
  key: 1,
205
205
  plain: "",
@@ -209,24 +209,24 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
209
209
  D(m(a(d)("workSchedule.jobTitle")), 1)
210
210
  ]),
211
211
  _: 1
212
- })) : ee("", !0),
213
- i(o, {
214
- modelValue: J.value,
215
- "onUpdate:modelValue": e[2] || (e[2] = (l) => J.value = l),
212
+ })) : _("", !0),
213
+ r(o, {
214
+ modelValue: ee.value,
215
+ "onUpdate:modelValue": e[2] || (e[2] = (l) => ee.value = l),
216
216
  type: "month",
217
217
  placeholder: "Выберите месяц",
218
218
  format: "MMM",
219
219
  "value-format": "M"
220
220
  }, null, 8, ["modelValue"]),
221
221
  e[19] || (e[19] = x("div", { class: "expander" }, null, -1)),
222
- i(a(se), {
222
+ r(a(se), {
223
223
  modelValue: P.value,
224
224
  "onUpdate:modelValue": e[3] || (e[3] = (l) => P.value = l),
225
225
  "active-text": t.$t("bids.currentHeight"),
226
226
  "active-value": "100%",
227
227
  "inactive-value": "calc(100vh - var(--el-component-size)*4 - var(--el-main-padding)*2 - var(--header-height))"
228
228
  }, null, 8, ["modelValue", "active-text"]),
229
- i(a(se), {
229
+ r(a(se), {
230
230
  modelValue: le.value,
231
231
  "onUpdate:modelValue": e[4] || (e[4] = (l) => le.value = l),
232
232
  "active-text": "Отпуска",
@@ -234,35 +234,35 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
234
234
  "inactive-value": !1
235
235
  }, null, 8, ["modelValue"])
236
236
  ]),
237
- i(a(We), {
237
+ r(a(We), {
238
238
  style: { width: "100%" },
239
239
  loading: me.value,
240
240
  animated: ""
241
241
  }, {
242
242
  template: s(() => [
243
- i(a(G), {
243
+ r(a(G), {
244
244
  variant: "text",
245
245
  style: { width: "100%", height: "2rem" }
246
246
  }),
247
- i(a(G), {
247
+ r(a(G), {
248
248
  variant: "text",
249
249
  style: { width: "180px", height: "4rem", "margin-right": "4px" }
250
250
  }),
251
- i(a(G), {
251
+ r(a(G), {
252
252
  variant: "text",
253
253
  style: { width: "calc( 100% - 184px)", height: "4rem" }
254
254
  }),
255
- i(a(G), {
255
+ r(a(G), {
256
256
  variant: "text",
257
257
  style: { width: "180px", height: "8rem", "margin-right": "4px" }
258
258
  }),
259
- i(a(G), {
259
+ r(a(G), {
260
260
  variant: "text",
261
261
  style: { width: "calc( 100% - 184px)", height: "8rem" }
262
262
  })
263
263
  ]),
264
264
  default: s(() => [
265
- i(a(Pe), {
265
+ r(a(Pe), {
266
266
  id: "printTable",
267
267
  data: n.value,
268
268
  style: { width: "100%" },
@@ -274,13 +274,13 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
274
274
  "cell-class-name": xe
275
275
  }, {
276
276
  default: s(() => [
277
- i(a(Y), {
278
- label: a(d)("workSchedule.title", { name: $.value }) + a(Z)(k.value, "month") + ` ${new Date(k.value).getFullYear()}`,
277
+ r(a(Y), {
278
+ label: a(d)("workSchedule.title", { name: $.value }) + a(Z)(f.value, "month") + ` ${new Date(f.value).getFullYear()}`,
279
279
  align: "center",
280
280
  height: "34"
281
281
  }, {
282
282
  default: s(() => [
283
- i(a(Y), {
283
+ r(a(Y), {
284
284
  label: a(d)("workSchedule.month"),
285
285
  width: "180",
286
286
  align: "center",
@@ -291,12 +291,12 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
291
291
  ]),
292
292
  _: 1
293
293
  }, 8, ["label", "fixed"]),
294
- i(a(Y), {
294
+ r(a(Y), {
295
295
  label: a(d)("workSchedule.numbersMonth"),
296
296
  align: "center"
297
297
  }, {
298
298
  default: s(() => [
299
- (C(!0), z(ie, null, re(u.value, (l) => (C(), F(a(Y), {
299
+ (C(!0), z(re, null, ie(u.value, (l) => (C(), F(a(Y), {
300
300
  key: l.day,
301
301
  width: "46",
302
302
  "class-name": l.holidays,
@@ -313,13 +313,13 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
313
313
  ]),
314
314
  _: 1
315
315
  }, 8, ["label"]),
316
- i(a(Y), {
316
+ r(a(Y), {
317
317
  label: a(d)("workSchedule.onSchedule"),
318
318
  align: "center",
319
319
  fixed: P.value !== "100%" ? "right" : !1
320
320
  }, {
321
321
  default: s(() => [
322
- i(a(Y), {
322
+ r(a(Y), {
323
323
  label: a(d)("workSchedule.days"),
324
324
  align: "center"
325
325
  }, {
@@ -328,7 +328,7 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
328
328
  ]),
329
329
  _: 1
330
330
  }, 8, ["label"]),
331
- i(a(Y), {
331
+ r(a(Y), {
332
332
  label: `${a(d)("workSchedule.hours")} ( ${H.value} )`,
333
333
  align: "center"
334
334
  }, {
@@ -353,7 +353,7 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
353
353
  }, 8, ["loading"]),
354
354
  Se.value && U.checkEdit ? (C(), z("div", el, [
355
355
  D(m(a(d)("workSchedule.chartsFilled")) + ": ", 1),
356
- K.value ? ee("", !0) : (C(), F(a(T), {
356
+ J.value ? _("", !0) : (C(), F(a(T), {
357
357
  key: 0,
358
358
  type: "primary",
359
359
  onClick: Me
@@ -365,7 +365,7 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
365
365
  })),
366
366
  e[20] || (e[20] = D()),
367
367
  x("span", null, m(U.fullName), 1)
368
- ])) : ee("", !0),
368
+ ])) : _("", !0),
369
369
  Be((C(), F(a(T), {
370
370
  disabled: q.value,
371
371
  plain: "",
@@ -377,16 +377,16 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
377
377
  ]),
378
378
  _: 1
379
379
  }, 8, ["disabled"])), [
380
- [r, q.value]
380
+ [i, q.value]
381
381
  ]),
382
- i(a(je), {
382
+ r(a(je), {
383
383
  title: a(d)("workSchedule.jobTitle"),
384
384
  modelValue: R.value,
385
385
  "onUpdate:modelValue": e[6] || (e[6] = (l) => R.value = l),
386
386
  width: "400px"
387
387
  }, {
388
388
  footer: s(() => [
389
- i(a(T), {
389
+ r(a(T), {
390
390
  onClick: e[5] || (e[5] = (l) => R.value = !1),
391
391
  size: "default"
392
392
  }, {
@@ -395,7 +395,7 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
395
395
  ]),
396
396
  _: 1
397
397
  }),
398
- i(a(T), {
398
+ r(a(T), {
399
399
  size: "default",
400
400
  type: "primary",
401
401
  onClick: oe
@@ -407,15 +407,15 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
407
407
  })
408
408
  ]),
409
409
  default: s(() => [
410
- i(a(Oe), {
410
+ r(a(Oe), {
411
411
  ref: "dialogForm",
412
412
  model: N.value,
413
413
  autocomplete: "on"
414
414
  }, {
415
415
  default: s(() => [
416
- (C(!0), z(ie, null, re(N.value, (l) => (C(), F(a(Ge), null, {
416
+ (C(!0), z(re, null, ie(N.value, (l) => (C(), F(a(Ge), null, {
417
417
  default: s(() => [
418
- i(a(se), {
418
+ r(a(se), {
419
419
  modelValue: l.val,
420
420
  "onUpdate:modelValue": (y) => l.val = y,
421
421
  "active-text": l.activeText
@@ -429,33 +429,33 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
429
429
  ]),
430
430
  _: 1
431
431
  }, 8, ["title", "modelValue"]),
432
- i(a(Ze), {
433
- show: X.value,
434
- "onUpdate:show": e[18] || (e[18] = (l) => X.value = l),
432
+ r(a(Ze), {
433
+ show: Q.value,
434
+ "onUpdate:show": e[18] || (e[18] = (l) => Q.value = l),
435
435
  options: ne.value
436
436
  }, {
437
437
  default: s(() => [
438
- i(a(qe), {
439
- label: h.value.name,
438
+ r(a(qe), {
439
+ label: c.value.name,
440
440
  disabled: ""
441
441
  }, null, 8, ["label"]),
442
- i(a(Je)),
443
- h.value.level === 2 ? (C(), z("div", ll, [
444
- i(a(Le), {
442
+ r(a(Je)),
443
+ c.value.level === 2 ? (C(), z("div", ll, [
444
+ r(a(Le), {
445
445
  modelValue: te.value,
446
446
  "onUpdate:modelValue": e[7] || (e[7] = (l) => te.value = l),
447
447
  size: "small"
448
448
  }, {
449
449
  default: s(() => [
450
- i(a(ge), {
450
+ r(a(ge), {
451
451
  label: a(d)("workSchedule.Days5"),
452
452
  value: "5"
453
453
  }, null, 8, ["label"]),
454
- i(a(ge), {
454
+ r(a(ge), {
455
455
  label: "2 Х 2",
456
456
  value: "2x2"
457
457
  }),
458
- i(a(ge), {
458
+ r(a(ge), {
459
459
  label: "2 Х 5",
460
460
  value: "2x5"
461
461
  })
@@ -464,7 +464,7 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
464
464
  }, 8, ["modelValue"]),
465
465
  e[21] || (e[21] = x("br", null, null, -1)),
466
466
  x("span", null, m(a(d)("workSchedule.fromDate")) + ":", 1),
467
- i(a(L), {
467
+ r(a(L), {
468
468
  modelValue: W.value,
469
469
  "onUpdate:modelValue": e[8] || (e[8] = (l) => W.value = l),
470
470
  step: 1,
@@ -472,35 +472,35 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
472
472
  max: u.value.length
473
473
  }, null, 8, ["modelValue", "max"]),
474
474
  x("span", null, m(a(d)("workSchedule.with")) + ":", 1),
475
- i(a(L), {
476
- modelValue: f.value,
477
- "onUpdate:modelValue": e[9] || (e[9] = (l) => f.value = l),
475
+ r(a(L), {
476
+ modelValue: w.value,
477
+ "onUpdate:modelValue": e[9] || (e[9] = (l) => w.value = l),
478
478
  step: 1,
479
479
  min: 0,
480
480
  max: 19
481
481
  }, null, 8, ["modelValue"]),
482
482
  x("span", null, m(a(d)("workSchedule.duration")) + ":", 1),
483
- i(a(L), {
483
+ r(a(L), {
484
484
  modelValue: p.value,
485
485
  "onUpdate:modelValue": e[10] || (e[10] = (l) => p.value = l),
486
486
  step: 1,
487
487
  min: 4,
488
- max: a(we)(f.value !== 1 ? 23 - f.value : 21, 4, 22)
488
+ max: a(we)(w.value !== 1 ? 23 - w.value : 21, 4, 22)
489
489
  }, null, 8, ["modelValue", "max"]),
490
- i(a(T), {
490
+ r(a(T), {
491
491
  style: { "margin-top": ".5rem" },
492
492
  size: "small",
493
- onClick: e[11] || (e[11] = (l) => De(h.value.ids))
493
+ onClick: e[11] || (e[11] = (l) => De(c.value.ids))
494
494
  }, {
495
495
  default: s(() => [
496
496
  D(m(a(d)("workSchedule.fillOut")), 1)
497
497
  ]),
498
498
  _: 1
499
499
  }),
500
- i(a(T), {
500
+ r(a(T), {
501
501
  style: { "margin-top": ".5rem" },
502
502
  size: "small",
503
- onClick: e[12] || (e[12] = (l) => be(h.value.ids))
503
+ onClick: e[12] || (e[12] = (l) => be(c.value.ids))
504
504
  }, {
505
505
  default: s(() => [
506
506
  D(m(a(d)("workSchedule.clearRow")), 1)
@@ -508,30 +508,30 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
508
508
  _: 1
509
509
  })
510
510
  ])) : (C(), z("div", tl, [
511
- x("div", null, m(pe(h.value.day, h.value.ids)), 1),
511
+ x("div", null, m(pe(c.value.day, c.value.ids)), 1),
512
512
  e[22] || (e[22] = x("br", null, null, -1)),
513
513
  x("span", null, m(a(d)("workSchedule.with")) + ":", 1),
514
- i(a(L), {
515
- modelValue: f.value,
516
- "onUpdate:modelValue": e[13] || (e[13] = (l) => f.value = l),
514
+ r(a(L), {
515
+ modelValue: w.value,
516
+ "onUpdate:modelValue": e[13] || (e[13] = (l) => w.value = l),
517
517
  step: 1,
518
518
  min: 0,
519
519
  max: 19,
520
- onChange: e[14] || (e[14] = (l) => ye(h.value.day, h.value.ids))
520
+ onChange: e[14] || (e[14] = (l) => ye(c.value.day, c.value.ids))
521
521
  }, null, 8, ["modelValue"]),
522
522
  x("span", null, m(a(d)("workSchedule.duration")) + ":", 1),
523
- i(a(L), {
523
+ r(a(L), {
524
524
  modelValue: p.value,
525
525
  "onUpdate:modelValue": e[15] || (e[15] = (l) => p.value = l),
526
526
  step: 1,
527
527
  min: 4,
528
- max: a(we)(f.value !== 1 ? 23 - f.value : 21, 4, 22),
529
- onChange: e[16] || (e[16] = (l) => ye(h.value.day, h.value.ids))
528
+ max: a(we)(w.value !== 1 ? 23 - w.value : 21, 4, 22),
529
+ onChange: e[16] || (e[16] = (l) => ye(c.value.day, c.value.ids))
530
530
  }, null, 8, ["modelValue", "max"]),
531
- i(a(T), {
531
+ r(a(T), {
532
532
  style: { "margin-top": ".5rem" },
533
533
  size: "small",
534
- onClick: e[17] || (e[17] = (l) => Ve(h.value.day, h.value.ids))
534
+ onClick: e[17] || (e[17] = (l) => Ve(c.value.day, c.value.ids))
535
535
  }, {
536
536
  default: s(() => [
537
537
  D(m(a(d)("workSchedule.delete")), 1)
@@ -547,5 +547,5 @@ const Ke = { class: "work" }, Qe = { class: "nav" }, Xe = { style: { height: "10
547
547
  }
548
548
  };
549
549
  export {
550
- rl as default
550
+ il as default
551
551
  };
@@ -1 +1 @@
1
- .work>.nav{display:flex;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.work>.nav .expander{display:inline-block;height:1em;width:1em;flex-grow:3}.wrapper[data-v-d1aa0363]{display:flex}.wrapper .month_year[data-v-d1aa0363]{display:flex;justify-content:space-around;align-items:center}.wrapper .month_year span:not(.text) button[data-v-d1aa0363]{font-size:1.3em}.wrapper>div[data-v-d1aa0363]:not(:first-child){margin-left:2rem}.wrapper button[data-v-d1aa0363]{height:30px;text-align:center;line-height:30px;cursor:pointer;background:none;border:none;border-radius:.2rem;transition:all .3s ease}.wrapper button[data-v-d1aa0363]:hover:not(.disabled):not(.active){color:var(--el-color-success)}.wrapper .week[data-v-d1aa0363]{border-bottom:1px solid var(--el-color-info);margin-bottom:.5rem}.wrapper .month[data-v-d1aa0363],.wrapper .week[data-v-d1aa0363]{width:250px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr;gap:.2rem}.wrapper .month>button[data-v-d1aa0363],.wrapper .week>button[data-v-d1aa0363]{width:30px}.wrapper .month>button.disabled[data-v-d1aa0363],.wrapper .week>button.disabled[data-v-d1aa0363]{color:var(--el-color-info);cursor:not-allowed}.wrapper .month>button.preholiday[data-v-d1aa0363],.wrapper .week>button.preholiday[data-v-d1aa0363]{background-color:#ffe78070}.wrapper .month>button.weekend[data-v-d1aa0363],.wrapper .week>button.weekend[data-v-d1aa0363]{background-color:#ff808070}.wrapper .month>button.select[data-v-d1aa0363],.wrapper .week>button.select[data-v-d1aa0363]{background-color:#007bff70}.wrapper .month>button.holiday[data-v-d1aa0363],.wrapper .week>button.holiday[data-v-d1aa0363]{background-color:red}.wrapper .month>button.nowork[data-v-d1aa0363],.wrapper .week>button.nowork[data-v-d1aa0363]{background-color:red}.wrapper .month>button.active[data-v-d1aa0363],.wrapper .week>button.active[data-v-d1aa0363]{background-color:#007bff}.noBorder .el-input__wrapper{box-shadow:none}.turn{writing-mode:vertical-rl;text-orientation:sideways;border-left:var(--el-table-border);transform:rotate(180deg)}
1
+ .work>.nav{display:flex;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.work>.nav .expander{display:inline-block;height:1em;width:1em;flex-grow:3}.wrapper[data-v-d1aa0363]{display:flex}.wrapper .month_year[data-v-d1aa0363]{display:flex;justify-content:space-around;align-items:center}.wrapper .month_year span:not(.text) button[data-v-d1aa0363]{font-size:1.3em}.wrapper>div[data-v-d1aa0363]:not(:first-child){margin-left:2rem}.wrapper button[data-v-d1aa0363]{height:30px;text-align:center;line-height:30px;cursor:pointer;background:none;border:none;border-radius:.2rem;transition:all .3s ease}.wrapper button[data-v-d1aa0363]:hover:not(.disabled):not(.active){color:var(--el-color-success)}.wrapper .week[data-v-d1aa0363]{border-bottom:1px solid var(--el-color-info);margin-bottom:.5rem}.wrapper .month[data-v-d1aa0363],.wrapper .week[data-v-d1aa0363]{width:250px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr;gap:.2rem}.wrapper .month>button[data-v-d1aa0363],.wrapper .week>button[data-v-d1aa0363]{width:30px}.wrapper .month>button.disabled[data-v-d1aa0363],.wrapper .week>button.disabled[data-v-d1aa0363]{color:var(--el-color-info);cursor:not-allowed}.wrapper .month>button.preholiday[data-v-d1aa0363],.wrapper .week>button.preholiday[data-v-d1aa0363]{background-color:#ffe78070}.wrapper .month>button.weekend[data-v-d1aa0363],.wrapper .week>button.weekend[data-v-d1aa0363]{background-color:#ff808070}.wrapper .month>button.select[data-v-d1aa0363],.wrapper .week>button.select[data-v-d1aa0363]{background-color:#007bff70}.wrapper .month>button.holiday[data-v-d1aa0363],.wrapper .week>button.holiday[data-v-d1aa0363]{background-color:red}.wrapper .month>button.nowork[data-v-d1aa0363],.wrapper .week>button.nowork[data-v-d1aa0363]{background-color:red}.wrapper .month>button.active[data-v-d1aa0363],.wrapper .week>button.active[data-v-d1aa0363]{background-color:#007bff}.noBorder .el-input__wrapper{box-shadow:none}.turn{writing-mode:vertical-rl;text-orientation:sideways;border-left:var(--el-table-border);transform:rotate(180deg)}.el-table tbody .cell{padding:0 1px}.nav{display:flex;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.nav .expander{display:inline-block;height:1em;width:1em;flex-grow:3}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studio-west/employees",
3
- "version": "0.6.24",
3
+ "version": "0.6.26",
4
4
  "files": [
5
5
  "dist"
6
6
  ],