wcz-layout 10.1.8 → 10.1.9

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.
@@ -298,7 +298,7 @@ declare const DepartmentSchema: z.ZodObject<{
298
298
  extensionNumber: z.ZodString;
299
299
  firstName: z.ZodString;
300
300
  gender: z.ZodString;
301
- hiredDate: z.ZodDate;
301
+ hiredDate: z.ZodString;
302
302
  lastName: z.ZodString;
303
303
  managerId: z.ZodString;
304
304
  middleName: z.ZodString;
@@ -308,7 +308,7 @@ declare const DepartmentSchema: z.ZodObject<{
308
308
  plantId: z.ZodString;
309
309
  position: z.ZodString;
310
310
  previousEmployeeIds: z.ZodNullable<z.ZodString>;
311
- reHiredDate: z.ZodNullable<z.ZodDate>;
311
+ reHiredDate: z.ZodNullable<z.ZodString>;
312
312
  recordNumber: z.ZodNumber;
313
313
  status: z.ZodEnum<{
314
314
  Active: "Active";
@@ -316,8 +316,8 @@ declare const DepartmentSchema: z.ZodObject<{
316
316
  Terminated: "Terminated";
317
317
  }>;
318
318
  supervisorId: z.ZodString;
319
- terminationDate: z.ZodNullable<z.ZodDate>;
320
- terminationFutureDate: z.ZodNullable<z.ZodDate>;
319
+ terminationDate: z.ZodNullable<z.ZodString>;
320
+ terminationFutureDate: z.ZodNullable<z.ZodString>;
321
321
  type: z.ZodString;
322
322
  upperDepartmentId: z.ZodString;
323
323
  jobCode: z.ZodString;
@@ -346,7 +346,7 @@ declare const EmployeeSchema: z.ZodObject<{
346
346
  extensionNumber: z.ZodString;
347
347
  firstName: z.ZodString;
348
348
  gender: z.ZodString;
349
- hiredDate: z.ZodDate;
349
+ hiredDate: z.ZodString;
350
350
  lastName: z.ZodString;
351
351
  managerId: z.ZodString;
352
352
  middleName: z.ZodString;
@@ -356,7 +356,7 @@ declare const EmployeeSchema: z.ZodObject<{
356
356
  plantId: z.ZodString;
357
357
  position: z.ZodString;
358
358
  previousEmployeeIds: z.ZodNullable<z.ZodString>;
359
- reHiredDate: z.ZodNullable<z.ZodDate>;
359
+ reHiredDate: z.ZodNullable<z.ZodString>;
360
360
  recordNumber: z.ZodNumber;
361
361
  status: z.ZodEnum<{
362
362
  Active: "Active";
@@ -364,8 +364,8 @@ declare const EmployeeSchema: z.ZodObject<{
364
364
  Terminated: "Terminated";
365
365
  }>;
366
366
  supervisorId: z.ZodString;
367
- terminationDate: z.ZodNullable<z.ZodDate>;
368
- terminationFutureDate: z.ZodNullable<z.ZodDate>;
367
+ terminationDate: z.ZodNullable<z.ZodString>;
368
+ terminationFutureDate: z.ZodNullable<z.ZodString>;
369
369
  type: z.ZodString;
370
370
  upperDepartmentId: z.ZodString;
371
371
  jobCode: z.ZodString;
@@ -376,4 +376,4 @@ declare const EmployeeSchema: z.ZodObject<{
376
376
  type Employee = z.infer<typeof EmployeeSchema>;
377
377
  //#endregion
378
378
  export { Approval as a, ApproveApprovalSchema as c, CreateApproval as d, CreateApprovalSchema as f, WithdrawApprovalSchema as g, WithdrawApproval as h, DepartmentSchema as i, CancelApproval as l, ResubmitApprovalSchema as m, EmployeeSchema as n, ApprovalSchema as o, ResubmitApproval as p, Department as r, ApproveApproval as s, Employee as t, CancelApprovalSchema as u };
379
- //# sourceMappingURL=Employee-N9fRSnIl.d.mts.map
379
+ //# sourceMappingURL=Employee-agVPiGrJ.d.mts.map
@@ -279,9 +279,9 @@ const getAncestors = (element) => {
279
279
  const px = (value) => Number.parseFloat(value) || 0;
280
280
  const Fullscreen = (t0) => {
281
281
  const $ = c(16);
282
- if ($[0] !== "8cbf7a32d40cad26f487ed7c5e0b8451044a6d7e404e9591bd3919c6daa7488f") {
282
+ if ($[0] !== "cdd4a640a8b589854800244f48bf8da4e96389b39ccb325b032a153ec0414e39") {
283
283
  for (let $i = 0; $i < 16; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
284
- $[0] = "8cbf7a32d40cad26f487ed7c5e0b8451044a6d7e404e9591bd3919c6daa7488f";
284
+ $[0] = "cdd4a640a8b589854800244f48bf8da4e96389b39ccb325b032a153ec0414e39";
285
285
  }
286
286
  let children;
287
287
  let props;
@@ -1995,48 +1995,56 @@ function LayoutTable({ table, loading = false, pagination = false, pageSizeOptio
1995
1995
  border: 0,
1996
1996
  p: 0
1997
1997
  },
1998
- children: /* @__PURE__ */ jsxs(Box, {
1998
+ children: /* @__PURE__ */ jsx(Box, {
1999
1999
  sx: {
2000
2000
  position: "absolute",
2001
2001
  top: headerHeight,
2002
2002
  left: 0,
2003
- right: 0,
2004
2003
  bottom: 0,
2005
- display: "flex",
2006
- flexDirection: "column",
2007
- alignItems: "center",
2008
- justifyContent: "center",
2009
- gap: 1,
2004
+ width: Math.max(tableWidth, containerWidth),
2010
2005
  color: "text.secondary",
2011
2006
  bgcolor: "background.paper",
2012
2007
  "& .no-rows-primary": { opacity: .7 },
2013
2008
  "& .no-rows-secondary": { opacity: .3 }
2014
2009
  },
2015
- children: [/* @__PURE__ */ jsxs("svg", {
2016
- fill: "currentColor",
2017
- width: 96,
2018
- viewBox: "0 0 452 257",
2019
- "aria-hidden": true,
2020
- focusable: "false",
2021
- children: [
2022
- /* @__PURE__ */ jsx("path", {
2023
- className: "no-rows-primary",
2024
- d: "M348 69c-46.392 0-84 37.608-84 84s37.608 84 84 84 84-37.608 84-84-37.608-84-84-84Zm-104 84c0-57.438 46.562-104 104-104s104 46.562 104 104-46.562 104-104 104-104-46.562-104-104Z"
2025
- }),
2026
- /* @__PURE__ */ jsx("path", {
2027
- className: "no-rows-primary",
2028
- d: "M308.929 113.929c3.905-3.905 10.237-3.905 14.142 0l63.64 63.64c3.905 3.905 3.905 10.236 0 14.142-3.906 3.905-10.237 3.905-14.142 0l-63.64-63.64c-3.905-3.905-3.905-10.237 0-14.142Z"
2029
- }),
2030
- /* @__PURE__ */ jsx("path", {
2031
- className: "no-rows-primary",
2032
- d: "M308.929 191.711c-3.905-3.906-3.905-10.237 0-14.142l63.64-63.64c3.905-3.905 10.236-3.905 14.142 0 3.905 3.905 3.905 10.237 0 14.142l-63.64 63.64c-3.905 3.905-10.237 3.905-14.142 0Z"
2033
- }),
2034
- /* @__PURE__ */ jsx("path", {
2035
- className: "no-rows-secondary",
2036
- d: "M0 10C0 4.477 4.477 0 10 0h380c5.523 0 10 4.477 10 10s-4.477 10-10 10H10C4.477 20 0 15.523 0 10ZM0 59c0-5.523 4.477-10 10-10h231c5.523 0 10 4.477 10 10s-4.477 10-10 10H10C4.477 69 0 64.523 0 59ZM0 106c0-5.523 4.477-10 10-10h203c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10ZM0 153c0-5.523 4.477-10 10-10h195.5c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10ZM0 200c0-5.523 4.477-10 10-10h203c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10ZM0 247c0-5.523 4.477-10 10-10h231c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10Z"
2037
- })
2038
- ]
2039
- }), /* @__PURE__ */ jsx(Box, { children: t("Layout.Table.NoRows") })]
2010
+ children: /* @__PURE__ */ jsxs(Box, {
2011
+ sx: {
2012
+ position: "sticky",
2013
+ left: 0,
2014
+ width: containerWidth,
2015
+ height: "100%",
2016
+ display: "flex",
2017
+ flexDirection: "column",
2018
+ alignItems: "center",
2019
+ justifyContent: "center",
2020
+ gap: 1
2021
+ },
2022
+ children: [/* @__PURE__ */ jsxs("svg", {
2023
+ fill: "currentColor",
2024
+ width: 96,
2025
+ viewBox: "0 0 452 257",
2026
+ "aria-hidden": true,
2027
+ focusable: "false",
2028
+ children: [
2029
+ /* @__PURE__ */ jsx("path", {
2030
+ className: "no-rows-primary",
2031
+ d: "M348 69c-46.392 0-84 37.608-84 84s37.608 84 84 84 84-37.608 84-84-37.608-84-84-84Zm-104 84c0-57.438 46.562-104 104-104s104 46.562 104 104-46.562 104-104 104-104-46.562-104-104Z"
2032
+ }),
2033
+ /* @__PURE__ */ jsx("path", {
2034
+ className: "no-rows-primary",
2035
+ d: "M308.929 113.929c3.905-3.905 10.237-3.905 14.142 0l63.64 63.64c3.905 3.905 3.905 10.236 0 14.142-3.906 3.905-10.237 3.905-14.142 0l-63.64-63.64c-3.905-3.905-3.905-10.237 0-14.142Z"
2036
+ }),
2037
+ /* @__PURE__ */ jsx("path", {
2038
+ className: "no-rows-primary",
2039
+ d: "M308.929 191.711c-3.905-3.906-3.905-10.237 0-14.142l63.64-63.64c3.905-3.905 10.236-3.905 14.142 0 3.905 3.905 3.905 10.237 0 14.142l-63.64 63.64c-3.905 3.905-10.237 3.905-14.142 0Z"
2040
+ }),
2041
+ /* @__PURE__ */ jsx("path", {
2042
+ className: "no-rows-secondary",
2043
+ d: "M0 10C0 4.477 4.477 0 10 0h380c5.523 0 10 4.477 10 10s-4.477 10-10 10H10C4.477 20 0 15.523 0 10ZM0 59c0-5.523 4.477-10 10-10h231c5.523 0 10 4.477 10 10s-4.477 10-10 10H10C4.477 69 0 64.523 0 59ZM0 106c0-5.523 4.477-10 10-10h203c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10ZM0 153c0-5.523 4.477-10 10-10h195.5c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10ZM0 200c0-5.523 4.477-10 10-10h203c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10ZM0 247c0-5.523 4.477-10 10-10h231c5.523 0 10 4.477 10 10s-4.477 10-10 10H10c-5.523 0-10-4.477-10-10Z"
2044
+ })
2045
+ ]
2046
+ }), /* @__PURE__ */ jsx(Box, { children: t("Layout.Table.NoRows") })]
2047
+ })
2040
2048
  })
2041
2049
  }) })] }),
2042
2050
  hasFooter && /* @__PURE__ */ jsx(TableFooter, { children: table.getFooterGroups().map((footerGroup) => {