@propriety/court-calendar 1.0.91 → 1.0.92
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/index.mjs +1 -1
- package/package.json +1 -1
- package/src/hooks/UseCalendarEvents.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -19777,7 +19777,7 @@ function Jy({
|
|
|
19777
19777
|
continue;
|
|
19778
19778
|
const $ = E.hearingType.toString().toLowerCase() || "unknown", ee = E.dateType ? E.dateType.toString().toLowerCase() : null;
|
|
19779
19779
|
let de, re;
|
|
19780
|
-
E.isAdjourned ? (de = "adjournment-event", re = `${u(E.muniCode)} (A) (${E.muniCode}) x${
|
|
19780
|
+
E.isAdjourned ? (de = "adjournment-event", re = `${u(E.muniCode)} (A) (${E.muniCode}) x${ze}`) : E.isExtraDay ? (de = "multipledate-event", re = `${u(E.muniCode)} (${E.muniCode}) (day ${(E.extraDayIndex ?? 0) + 2})`) : (de = "courtdate-event", re = `${u(E.muniCode)} (${E.muniCode}) x${ze}${E.isMultiDay ? " (day 1)" : ""}`);
|
|
19781
19781
|
const je = [
|
|
19782
19782
|
de,
|
|
19783
19783
|
$,
|
package/package.json
CHANGED
|
@@ -255,13 +255,13 @@ export function useCalendarEvents({
|
|
|
255
255
|
let title: string;
|
|
256
256
|
if (calEvent.isAdjourned) {
|
|
257
257
|
baseClass = "adjournment-event";
|
|
258
|
-
title = `${getTownshipName(calEvent.muniCode)} (A) (${calEvent.muniCode}) x${
|
|
258
|
+
title = `${getTownshipName(calEvent.muniCode)} (A) (${calEvent.muniCode}) x${unsettled}`;
|
|
259
259
|
} else if (calEvent.isExtraDay) {
|
|
260
260
|
baseClass = "multipledate-event";
|
|
261
261
|
title = `${getTownshipName(calEvent.muniCode)} (${calEvent.muniCode}) (day ${(calEvent.extraDayIndex ?? 0) + 2})`;
|
|
262
262
|
} else {
|
|
263
263
|
baseClass = "courtdate-event";
|
|
264
|
-
title = `${getTownshipName(calEvent.muniCode)} (${calEvent.muniCode}) x${
|
|
264
|
+
title = `${getTownshipName(calEvent.muniCode)} (${calEvent.muniCode}) x${unsettled}${calEvent.isMultiDay ? " (day 1)" : ""}`;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
const classNames = [
|