react-native-roster 0.0.1 → 0.2.0
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/README.md +209 -32
- package/dist/src/components/primitives/portal.d.ts +12 -0
- package/dist/src/components/primitives/portal.d.ts.map +1 -0
- package/dist/src/components/primitives/portal.js +41 -0
- package/dist/src/components/primitives/portal.js.map +1 -0
- package/dist/src/components/roster/body-layout.d.ts +9 -0
- package/dist/src/components/roster/body-layout.d.ts.map +1 -0
- package/dist/src/components/roster/body-layout.js +15 -0
- package/dist/src/components/roster/body-layout.js.map +1 -0
- package/dist/src/components/roster/index.d.ts +2 -1
- package/dist/src/components/roster/index.d.ts.map +1 -1
- package/dist/src/components/roster/index.js +34 -27
- package/dist/src/components/roster/index.js.map +1 -1
- package/dist/src/components/roster/lanes/lane.d.ts +2 -2
- package/dist/src/components/roster/lanes/lane.d.ts.map +1 -1
- package/dist/src/components/roster/lanes/lane.js +4 -8
- package/dist/src/components/roster/lanes/lane.js.map +1 -1
- package/dist/src/components/roster/parts/body.d.ts +3 -3
- package/dist/src/components/roster/parts/body.d.ts.map +1 -1
- package/dist/src/components/roster/parts/body.js +5 -20
- package/dist/src/components/roster/parts/body.js.map +1 -1
- package/dist/src/components/roster/parts/header-cell.d.ts +2 -4
- package/dist/src/components/roster/parts/header-cell.d.ts.map +1 -1
- package/dist/src/components/roster/parts/header-cell.js.map +1 -1
- package/dist/src/components/roster/parts/header.d.ts +1 -1
- package/dist/src/components/roster/parts/header.d.ts.map +1 -1
- package/dist/src/components/roster/parts/header.js +2 -2
- package/dist/src/components/roster/parts/header.js.map +1 -1
- package/dist/src/components/roster/parts/lane-label-column.d.ts +1 -1
- package/dist/src/components/roster/parts/lane-label-column.d.ts.map +1 -1
- package/dist/src/components/roster/parts/lane-label-column.js +2 -2
- package/dist/src/components/roster/parts/lane-label-column.js.map +1 -1
- package/dist/src/components/roster/parts/lane-list.d.ts +7 -0
- package/dist/src/components/roster/parts/lane-list.d.ts.map +1 -0
- package/dist/src/components/roster/parts/lane-list.js +26 -0
- package/dist/src/components/roster/parts/lane-list.js.map +1 -0
- package/dist/src/components/roster/roster.types.d.ts +48 -21
- package/dist/src/components/roster/roster.types.d.ts.map +1 -1
- package/dist/src/components/roster/selection/selection-layout.d.ts +4 -0
- package/dist/src/components/roster/selection/selection-layout.d.ts.map +1 -0
- package/dist/src/components/roster/selection/selection-layout.js +82 -0
- package/dist/src/components/roster/selection/selection-layout.js.map +1 -0
- package/dist/src/components/roster/selection/selection-layout.types.d.ts +25 -0
- package/dist/src/components/roster/selection/selection-layout.types.d.ts.map +1 -0
- package/dist/src/components/roster/selection/selection-layout.types.js +3 -0
- package/dist/src/components/roster/selection/selection-layout.types.js.map +1 -0
- package/dist/src/components/roster/selection/selection-layout.web.d.ts +4 -0
- package/dist/src/components/roster/selection/selection-layout.web.d.ts.map +1 -0
- package/dist/src/components/roster/selection/selection-layout.web.js +52 -0
- package/dist/src/components/roster/selection/selection-layout.web.js.map +1 -0
- package/dist/src/components/roster/use-roster-press.d.ts +6 -0
- package/dist/src/components/roster/use-roster-press.d.ts.map +1 -0
- package/dist/src/components/roster/use-roster-press.js +61 -0
- package/dist/src/components/roster/use-roster-press.js.map +1 -0
- package/dist/src/components/roster/use-roster.d.ts.map +1 -1
- package/dist/src/components/roster/use-roster.js +40 -30
- package/dist/src/components/roster/use-roster.js.map +1 -1
- package/dist/src/components/roster/utils/body-content-key.d.ts +1 -1
- package/dist/src/components/roster/utils/body-content-key.d.ts.map +1 -1
- package/dist/src/components/roster/utils/body-content-key.js +10 -10
- package/dist/src/components/roster/utils/body-content-key.js.map +1 -1
- package/dist/src/components/schedule/days/day.d.ts +2 -2
- package/dist/src/components/schedule/days/day.d.ts.map +1 -1
- package/dist/src/components/schedule/days/day.js +2 -11
- package/dist/src/components/schedule/days/day.js.map +1 -1
- package/dist/src/components/schedule/days/header-layout.d.ts +1 -1
- package/dist/src/components/schedule/days/header-layout.d.ts.map +1 -1
- package/dist/src/components/schedule/days/parts/column.d.ts +1 -1
- package/dist/src/components/schedule/days/parts/column.d.ts.map +1 -1
- package/dist/src/components/schedule/days/parts/column.js +4 -8
- package/dist/src/components/schedule/days/parts/column.js.map +1 -1
- package/dist/src/components/schedule/index.d.ts.map +1 -1
- package/dist/src/components/schedule/index.js +7 -8
- package/dist/src/components/schedule/index.js.map +1 -1
- package/dist/src/components/schedule/schedule.types.d.ts +17 -17
- package/dist/src/components/schedule/schedule.types.d.ts.map +1 -1
- package/dist/src/core/index.d.ts +1 -0
- package/dist/src/core/index.d.ts.map +1 -1
- package/dist/src/core/index.js +3 -1
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/core/source.d.ts +4 -0
- package/dist/src/core/source.d.ts.map +1 -0
- package/dist/src/core/source.js +9 -0
- package/dist/src/core/source.js.map +1 -0
- package/dist/src/index.d.ts +6 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +10 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/nativewind/index.d.ts +28 -27
- package/dist/src/nativewind/index.d.ts.map +1 -1
- package/docs/migrations.md +61 -0
- package/llms.txt +112 -30
- package/package.json +12 -5
- package/src/components/layers/README.md +7 -3
- package/src/components/primitives/README.md +13 -2
- package/src/components/primitives/portal.tsx +48 -0
- package/src/components/roster/README.md +62 -5
- package/src/components/roster/body-layout.tsx +38 -0
- package/src/components/roster/index.tsx +109 -46
- package/src/components/roster/lanes/lane.tsx +16 -13
- package/src/components/roster/parts/body.tsx +17 -84
- package/src/components/roster/parts/header-cell.tsx +2 -2
- package/src/components/roster/parts/header.tsx +7 -2
- package/src/components/roster/parts/lane-label-column.tsx +2 -2
- package/src/components/roster/parts/lane-list.tsx +76 -0
- package/src/components/roster/roster.types.ts +47 -17
- package/src/components/roster/selection/selection-layout.tsx +90 -0
- package/src/components/roster/selection/selection-layout.types.ts +20 -0
- package/src/components/roster/selection/selection-layout.web.tsx +88 -0
- package/src/components/roster/use-roster-press.ts +74 -0
- package/src/components/roster/use-roster.ts +57 -44
- package/src/components/roster/utils/body-content-key.ts +13 -13
- package/src/components/schedule/README.md +8 -3
- package/src/components/schedule/days/day.tsx +31 -18
- package/src/components/schedule/days/header-layout.tsx +1 -1
- package/src/components/schedule/days/parts/column.tsx +10 -12
- package/src/components/schedule/index.tsx +20 -21
- package/src/components/schedule/schedule.types.ts +13 -13
- package/src/core/README.md +4 -0
- package/src/core/index.ts +1 -0
- package/src/core/source.ts +9 -0
- package/src/index.ts +7 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useRosterPress = useRosterPress;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const core_1 = require("../../core");
|
|
6
|
+
const hit_test_1 = require("../../core/hit-test");
|
|
7
|
+
// Isolate the stable press ref so it does not prevent compilation of derived roster values.
|
|
8
|
+
function useRosterPress(input, window, projection, width, selection, setSelected) {
|
|
9
|
+
const currentPress = { input, window, projection, width, selection };
|
|
10
|
+
const pressInput = (0, react_1.useRef)(currentPress);
|
|
11
|
+
pressInput.current = currentPress;
|
|
12
|
+
const [press] = (0, react_1.useState)(() => {
|
|
13
|
+
return function press(lane, pointX, pointY) {
|
|
14
|
+
const { input, window, projection, width, selection } = pressInput.current;
|
|
15
|
+
const { minuteStep = 60, onIntervalPress, onGapPress, onCellPress } = input;
|
|
16
|
+
const { rowHeight, viewTimezone } = projection;
|
|
17
|
+
if (!Number.isFinite(pointX) ||
|
|
18
|
+
!Number.isFinite(pointY) ||
|
|
19
|
+
pointX < 0 ||
|
|
20
|
+
pointX >= width ||
|
|
21
|
+
pointY < 0 ||
|
|
22
|
+
pointY >= rowHeight)
|
|
23
|
+
return;
|
|
24
|
+
const hit = (0, hit_test_1.hitTest)(lane, (0, core_1.layoutLane)(lane, window, projection), pointX, pointY);
|
|
25
|
+
if (hit?.kind === 'interval') {
|
|
26
|
+
if (input.selectable) {
|
|
27
|
+
const layer = lane.layers.find((layer) => layer.id === hit.rect.layerId);
|
|
28
|
+
// layoutLane supplied the hit rect's layerId, so this should succeed; guard future refactors.
|
|
29
|
+
if (layer === undefined)
|
|
30
|
+
return;
|
|
31
|
+
// Compare reconciled geometry so resizing and cache eviction preserve toggle identity.
|
|
32
|
+
setSelected(selection?.lane.id === lane.id &&
|
|
33
|
+
selection.rect.layerId === hit.rect.layerId &&
|
|
34
|
+
selection.rect.x === hit.rect.x &&
|
|
35
|
+
selection.rect.width === hit.rect.width
|
|
36
|
+
? null
|
|
37
|
+
: {
|
|
38
|
+
rect: hit.rect,
|
|
39
|
+
layer,
|
|
40
|
+
lane,
|
|
41
|
+
start: (0, core_1.timeAtX)(projection, window, hit.rect.x),
|
|
42
|
+
end: (0, core_1.timeAtX)(projection, window, hit.rect.x + hit.rect.width),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
onIntervalPress?.(hit.rect, lane);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
if (selection)
|
|
49
|
+
setSelected(null);
|
|
50
|
+
if (hit?.kind === 'gap') {
|
|
51
|
+
onGapPress?.(hit.rect, lane);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const time = Math.max(window.start, (0, core_1.snapToStep)((0, core_1.timeAtX)(projection, window, pointX), minuteStep, viewTimezone));
|
|
55
|
+
if (time < window.end)
|
|
56
|
+
onCellPress?.(lane, time);
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
return press;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=use-roster-press.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-roster-press.js","sourceRoot":"","sources":["../../../../src/components/roster/use-roster-press.ts"],"names":[],"mappings":";;;AACA,iCAAyC;AAEzC,qCAA6D;AAC7D,kDAA8C;AAK9C,4FAA4F;AAC5F,wBACE,KAAkB,EAClB,MAAc,EACd,UAA4B,EAC5B,KAAa,EACb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IAAI,IAAI,GAAG,MAAM,CAAC,GAAG;gBAAE,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACnD,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-roster.d.ts","sourceRoot":"","sources":["../../../../src/components/roster/use-roster.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-roster.d.ts","sourceRoot":"","sources":["../../../../src/components/roster/use-roster.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAoB,MAAM,gBAAgB,CAAC;AAIjF,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,GAAG,WAAW,CAkGzD"}
|
|
@@ -4,10 +4,14 @@ exports.useRoster = useRoster;
|
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const react_native_reanimated_1 = require("react-native-reanimated");
|
|
6
6
|
const core_1 = require("../../core");
|
|
7
|
-
const
|
|
7
|
+
const use_roster_press_1 = require("./use-roster-press");
|
|
8
8
|
const ticks_1 = require("./utils/ticks");
|
|
9
9
|
function useRoster(input) {
|
|
10
10
|
const { lanes, windowSpec, minuteStep = 60, sortLanes = core_1.byLabel, rowHeight = 48, pxPerMinute = 0.5, onNavigate, } = input;
|
|
11
|
+
const [selected, setSelected] = (0, react_1.useState)(null);
|
|
12
|
+
function dismissSelection() {
|
|
13
|
+
setSelected(null);
|
|
14
|
+
}
|
|
11
15
|
const [viewport, setViewport] = (0, react_1.useState)({ width: 0, height: 0 });
|
|
12
16
|
// The pinned compiler lint cannot resolve useSharedValue's built-in type.
|
|
13
17
|
// These shared values only track offsets, so no animation needs cancellation.
|
|
@@ -39,36 +43,14 @@ function useRoster(input) {
|
|
|
39
43
|
function geometryFor(lane) {
|
|
40
44
|
return (0, core_1.layoutLane)(lane, window, projection);
|
|
41
45
|
}
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const { input, window, projection, width } = pressInput.current;
|
|
48
|
-
const { minuteStep = 60, onIntervalPress, onGapPress, onCellPress } = input;
|
|
49
|
-
const { rowHeight, viewTimezone } = projection;
|
|
50
|
-
if (!Number.isFinite(pointX) ||
|
|
51
|
-
!Number.isFinite(pointY) ||
|
|
52
|
-
pointX < 0 ||
|
|
53
|
-
pointX >= width ||
|
|
54
|
-
pointY < 0 ||
|
|
55
|
-
pointY >= rowHeight)
|
|
56
|
-
return;
|
|
57
|
-
const hit = (0, hit_test_1.hitTest)(lane, (0, core_1.layoutLane)(lane, window, projection), pointX, pointY);
|
|
58
|
-
if (hit?.kind === 'interval') {
|
|
59
|
-
onIntervalPress?.(hit.rect, lane);
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
if (hit?.kind === 'gap') {
|
|
63
|
-
onGapPress?.(hit.rect, lane);
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
const time = Math.max(window.start, (0, core_1.snapToStep)((0, core_1.timeAtX)(projection, window, pointX), minuteStep, viewTimezone));
|
|
67
|
-
if (time < window.end)
|
|
68
|
-
onCellPress?.(lane, time);
|
|
69
|
-
};
|
|
70
|
-
});
|
|
46
|
+
const selection = reconcileSelection(selected, lanes, window, projection, input.selectable ?? false);
|
|
47
|
+
// Discard invalid selection during reconciliation, before rendering any stale detail.
|
|
48
|
+
if (selected && !selection)
|
|
49
|
+
setSelected(null);
|
|
50
|
+
const press = (0, use_roster_press_1.useRosterPress)(input, window, projection, contentWidth, selection, setSelected);
|
|
71
51
|
return {
|
|
52
|
+
selection,
|
|
53
|
+
dismissSelection,
|
|
72
54
|
window,
|
|
73
55
|
projection,
|
|
74
56
|
orderedLanes,
|
|
@@ -103,4 +85,32 @@ function useRoster(input) {
|
|
|
103
85
|
},
|
|
104
86
|
};
|
|
105
87
|
}
|
|
88
|
+
// Match provenance and nearest bounds while preserving the stored display values.
|
|
89
|
+
function reconcileSelection(selected, lanes, window, projection, enabled) {
|
|
90
|
+
if (selected && enabled) {
|
|
91
|
+
const lane = lanes.find((lane) => lane.id === selected.lane.id);
|
|
92
|
+
const layer = lane?.layers.find((layer) => layer.id === selected.layer.id);
|
|
93
|
+
if (lane && layer) {
|
|
94
|
+
const sources = new Set(selected.rect.sources.map((source) => JSON.stringify([source.kind, source.id])));
|
|
95
|
+
let rect;
|
|
96
|
+
let nearest = 1;
|
|
97
|
+
for (const candidate of (0, core_1.layoutLane)(lane, window, projection).rects) {
|
|
98
|
+
if (candidate.layerId !== layer.id)
|
|
99
|
+
continue;
|
|
100
|
+
const identities = new Set(candidate.sources.map((source) => JSON.stringify([source.kind, source.id])));
|
|
101
|
+
if (identities.size !== sources.size || ![...identities].every((id) => sources.has(id)))
|
|
102
|
+
continue;
|
|
103
|
+
const difference = Math.abs((0, core_1.timeAtX)(projection, window, candidate.x) - selected.start) +
|
|
104
|
+
Math.abs((0, core_1.timeAtX)(projection, window, candidate.x + candidate.width) - selected.end);
|
|
105
|
+
if (difference <= nearest && (!rect || difference < nearest)) {
|
|
106
|
+
nearest = difference;
|
|
107
|
+
rect = candidate;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
if (rect)
|
|
111
|
+
return { rect, layer, lane, start: selected.start, end: selected.end };
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
106
116
|
//# sourceMappingURL=use-roster.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-roster.js","sourceRoot":"","sources":["../../../../src/components/roster/use-roster.ts"],"names":[],"mappings":";;;AAAA,iCAAyC;AAEzC,qEAAwE;AAExE,
|
|
1
|
+
{"version":3,"file":"use-roster.js","sourceRoot":"","sources":["../../../../src/components/roster/use-roster.ts"],"names":[],"mappings":";;;AAAA,iCAAyC;AAEzC,qEAAwE;AAExE,qCAA2F;AAE3F,yDAA2E;AAC3E,yCAAyC;A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oBACrB,IAAI,GAAG,SAAS,CAAC;gBACnB,CAAC;YACH,CAAC;YACD,IAAI,IAAI;gBAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;QACnF,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { BodyInput } from '../roster.types';
|
|
2
|
-
export declare function bodyContentKey({ window, projection, highlightSource,
|
|
2
|
+
export declare function bodyContentKey({ window, projection, highlightSource, intervalComponent, gapComponent, onIntervalHover, incompleteLabel, }: Pick<BodyInput, 'window' | 'projection' | 'highlightSource' | 'intervalComponent' | 'gapComponent' | 'onIntervalHover' | 'incompleteLabel'>): string;
|
|
3
3
|
//# sourceMappingURL=body-content-key.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body-content-key.d.ts","sourceRoot":"","sources":["../../../../../src/components/roster/utils/body-content-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAcjD,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,UAAU,EACV,eAAe,EACf,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"body-content-key.d.ts","sourceRoot":"","sources":["../../../../../src/components/roster/utils/body-content-key.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAcjD,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,EAAE,IAAI,CACL,SAAS,EACP,QAAQ,GACR,YAAY,GACZ,iBAAiB,GACjB,mBAAmB,GACnB,cAAc,GACd,iBAAiB,GACjB,iBAAiB,CACpB,GAAG,MAAM,CAcT"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bodyContentKey = bodyContentKey;
|
|
4
|
-
const
|
|
5
|
-
let
|
|
6
|
-
function
|
|
7
|
-
let id =
|
|
4
|
+
const identityIds = new WeakMap();
|
|
5
|
+
let nextIdentityId = 0;
|
|
6
|
+
function identityId(identity) {
|
|
7
|
+
let id = identityIds.get(identity);
|
|
8
8
|
if (id === undefined) {
|
|
9
|
-
id =
|
|
10
|
-
|
|
9
|
+
id = nextIdentityId++;
|
|
10
|
+
identityIds.set(identity, id);
|
|
11
11
|
}
|
|
12
12
|
return id;
|
|
13
13
|
}
|
|
14
|
-
function bodyContentKey({ window, projection, highlightSource,
|
|
14
|
+
function bodyContentKey({ window, projection, highlightSource, intervalComponent, gapComponent, onIntervalHover, incompleteLabel, }) {
|
|
15
15
|
return JSON.stringify([
|
|
16
16
|
window.start,
|
|
17
17
|
window.end,
|
|
@@ -20,9 +20,9 @@ function bodyContentKey({ window, projection, highlightSource, intervalZone, gap
|
|
|
20
20
|
projection.pxPerMinute,
|
|
21
21
|
highlightSource?.kind,
|
|
22
22
|
highlightSource?.id,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
onIntervalHover &&
|
|
23
|
+
identityId(intervalComponent),
|
|
24
|
+
identityId(gapComponent),
|
|
25
|
+
onIntervalHover && identityId(onIntervalHover),
|
|
26
26
|
incompleteLabel,
|
|
27
27
|
]);
|
|
28
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"body-content-key.js","sourceRoot":"","sources":["../../../../../src/components/roster/utils/body-content-key.ts"],"names":[],"mappings":";;;AAEA,MAAM,
|
|
1
|
+
{"version":3,"file":"body-content-key.js","sourceRoot":"","sources":["../../../../../src/components/roster/utils/body-content-key.ts"],"names":[],"mappings":";;;AAEA,MAAM,WAAW,GAAG,IAAI,OAAO,EAAkB,CAAC;AAClD,IAAI,cAAc,GAAG,CAAC,CAAC;AAEvB,SAAS,UAAU,CAAC,QAAgB;IAClC,IAAI,EAAE,GAAG,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACnC,IAAI,EAAE,KAAK,SAAS,EAAE,CAAC;QACrB,EAAE,GAAG,cAAc,EAAE,CAAC;QACtB,WAAW,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAChC,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,wBAA+B,EAC7B,MAAM,EACN,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,eAAe,GAUhB;IACC,OAAO,IAAI,CAAC,SAAS,CAAC;QACpB,MAAM,CAAC,KAAK;QACZ,MAAM,CAAC,GAAG;QACV,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;QACtB,eAAe,EAAE,IAAI;QACrB,eAAe,EAAE,EAAE;QACnB,UAAU,CAAC,iBAAiB,CAAC;QAC7B,UAAU,CAAC,YAAY,CAAC;QACxB,eAAe,IAAI,UAAU,CAAC,eAAe,CAAC;QAC9C,eAAe;KAChB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import type { DayColumn, Lane, LaneGeometry } from '../../../core';
|
|
3
3
|
import type { ScheduleModel, ScheduleProps } from '../schedule.types';
|
|
4
|
-
type ScheduleDayZones = Required<Pick<ScheduleProps, '
|
|
4
|
+
type ScheduleDayZones = Required<Pick<ScheduleProps, 'gridComponent' | 'columnComponent' | 'transitionComponent' | 'intervalComponent' | 'gapComponent'>>;
|
|
5
5
|
type ScheduleDayProps = ScheduleDayZones & {
|
|
6
6
|
day: DayColumn;
|
|
7
7
|
column: number;
|
|
@@ -15,6 +15,6 @@ type ScheduleDayProps = ScheduleDayZones & {
|
|
|
15
15
|
nowLineZone: ReactNode;
|
|
16
16
|
};
|
|
17
17
|
/** One day column: grid, rects, transitions, and the now line at engine bounds. */
|
|
18
|
-
export declare function ScheduleDay({ day, column, lane, projection, geometry, highlightSource, hours, press,
|
|
18
|
+
export declare function ScheduleDay({ day, column, lane, projection, geometry, highlightSource, hours, press, gridComponent: GridComponent, columnComponent: ColumnComponent, transitionComponent: TransitionComponent, intervalComponent, gapComponent, nowLineZone, }: ScheduleDayProps): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=day.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"day.d.ts","sourceRoot":"","sources":["../../../../../src/components/schedule/days/day.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAItE,KAAK,gBAAgB,GAAG,QAAQ,CAC9B,IAAI,
|
|
1
|
+
{"version":3,"file":"day.d.ts","sourceRoot":"","sources":["../../../../../src/components/schedule/days/day.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAItE,KAAK,gBAAgB,GAAG,QAAQ,CAC9B,IAAI,CACF,aAAa,EACX,eAAe,GACf,iBAAiB,GACjB,qBAAqB,GACrB,mBAAmB,GACnB,cAAc,CACjB,CACF,CAAC;AAEF,KAAK,gBAAgB,GAAG,gBAAgB,GAAG;IACzC,GAAG,EAAE,SAAS,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACxC,QAAQ,EAAE,YAAY,CAAC;IACvB,eAAe,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;IAClD,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,0EAA0E;IAC1E,WAAW,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,MAAM,EACN,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,eAAe,EACf,KAAK,EACL,KAAK,EACL,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,mBAAmB,EACxC,iBAAiB,EACjB,YAAY,EACZ,WAAW,GACZ,EAAE,gBAAgB,2CAwClB"}
|
|
@@ -8,19 +8,10 @@ const press_point_1 = require("../../primitives/press-point");
|
|
|
8
8
|
const days_1 = require("../utils/days");
|
|
9
9
|
const layout_1 = require("./layout");
|
|
10
10
|
/** One day column: grid, rects, transitions, and the now line at engine bounds. */
|
|
11
|
-
function ScheduleDay({ day, column, lane, projection, geometry, highlightSource, hours, press,
|
|
11
|
+
function ScheduleDay({ day, column, lane, projection, geometry, highlightSource, hours, press, gridComponent: GridComponent, columnComponent: ColumnComponent, transitionComponent: TransitionComponent, intervalComponent, gapComponent, nowLineZone, }) {
|
|
12
12
|
return ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { testID: `schedule-day-${day.localDate}`, accessibilityLabel: day.localDate, onPress: (input) => {
|
|
13
13
|
const point = (0, press_point_1.pressPoint)(input);
|
|
14
14
|
press(point.x, point.y);
|
|
15
|
-
}, children: (0, jsx_runtime_1.jsx)(layout_1.ScheduleDayLayout, { width: projection.columnWidth, height: 24 * projection.pxPerHour, chromeZ: Math.max(0, ...lane.layers.map((layer) => layer.z)) + 1, gridZone:
|
|
16
|
-
day,
|
|
17
|
-
lane,
|
|
18
|
-
rects: geometry.rects.filter((rect) => rect.column === column),
|
|
19
|
-
gapRects: geometry.gapRects.filter((rect) => rect.column === column),
|
|
20
|
-
highlightSource,
|
|
21
|
-
intervalZone,
|
|
22
|
-
gapZone,
|
|
23
|
-
press,
|
|
24
|
-
}), transitionZone: day.transitions.map((transition) => ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: transitionZone({ day, transition, ...(0, days_1.transitionBounds)(day, transition, projection) }) }, transition.at))), nowLineZone: nowLineZone }) }));
|
|
15
|
+
}, children: (0, jsx_runtime_1.jsx)(layout_1.ScheduleDayLayout, { width: projection.columnWidth, height: 24 * projection.pxPerHour, chromeZ: Math.max(0, ...lane.layers.map((layer) => layer.z)) + 1, gridZone: (0, jsx_runtime_1.jsx)(GridComponent, { hours: hours, pxPerHour: projection.pxPerHour }), columnZone: (0, jsx_runtime_1.jsx)(ColumnComponent, { day: day, lane: lane, rects: geometry.rects.filter((rect) => rect.column === column), gapRects: geometry.gapRects.filter((rect) => rect.column === column), highlightSource: highlightSource, intervalComponent: intervalComponent, gapComponent: gapComponent, press: press }), transitionZone: day.transitions.map((transition) => ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: (0, jsx_runtime_1.jsx)(TransitionComponent, { day: day, transition: transition, ...(0, days_1.transitionBounds)(day, transition, projection) }) }, transition.at))), nowLineZone: nowLineZone }) }));
|
|
25
16
|
}
|
|
26
17
|
//# sourceMappingURL=day.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"day.js","sourceRoot":"","sources":["../../../../../src/components/schedule/days/day.tsx"],"names":[],"mappings":";;;;AAAA,iCAAiD;AACjD,+CAAyC;AAEzC,8DAA0D;AAE1D,wCAAiD;AACjD,qCAA6C;
|
|
1
|
+
{"version":3,"file":"day.js","sourceRoot":"","sources":["../../../../../src/components/schedule/days/day.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,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,MAAM,CAAC,EACpE,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,KAAK,GACZ,EAEJ,cAAc,EAAE,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAClD,uBAAC,gBAAQ,cACP,uBAAC,mBAAmB,IAClB,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,UAAU,KAClB,IAAA,uBAAgB,EAAC,GAAG,EAAE,UAAU,EAAE,UAAU,CAAC,GACjD,IALW,UAAU,CAAC,EAAE,CAMjB,CACZ,CAAC,EACF,WAAW,EAAE,WAAW,GACxB,GACQ,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
type ScheduleDayHeaderLayoutProps = {
|
|
3
3
|
width: number;
|
|
4
|
-
/** Day heading supplied by
|
|
4
|
+
/** Day heading supplied by dayHeaderComponent, aligned with its column. */
|
|
5
5
|
headerZone: ReactNode;
|
|
6
6
|
};
|
|
7
7
|
export declare function ScheduleDayHeaderLayout({ width, headerZone }: ScheduleDayHeaderLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header-layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/schedule/days/header-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,4BAA4B,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,
|
|
1
|
+
{"version":3,"file":"header-layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/schedule/days/header-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,KAAK,4BAA4B,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,UAAU,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,4BAA4B,2CAE1F"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ScheduleColumnInput } from '../../schedule.types';
|
|
2
|
-
export declare function ScheduleColumn({ lane, rects, gapRects, press,
|
|
2
|
+
export declare function ScheduleColumn({ lane, rects, gapRects, press, intervalComponent: IntervalComponent, gapComponent: GapComponent, highlightSource, }: ScheduleColumnInput): import("react/jsx-runtime").JSX.Element[];
|
|
3
3
|
//# sourceMappingURL=column.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column.d.ts","sourceRoot":"","sources":["../../../../../../src/components/schedule/days/parts/column.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"column.d.ts","sourceRoot":"","sources":["../../../../../../src/components/schedule/days/parts/column.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,KAAK,EACL,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,YAAY,EAC1B,eAAe,GAChB,EAAE,mBAAmB,6CA0CrB"}
|
|
@@ -4,18 +4,14 @@ exports.ScheduleColumn = ScheduleColumn;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const react_native_1 = require("react-native");
|
|
7
|
+
const core_1 = require("../../../../core");
|
|
7
8
|
const press_point_1 = require("../../../primitives/press-point");
|
|
8
|
-
function ScheduleColumn({ lane, rects, gapRects, press,
|
|
9
|
+
function ScheduleColumn({ lane, rects, gapRects, press, intervalComponent: IntervalComponent, gapComponent: GapComponent, highlightSource, }) {
|
|
9
10
|
return [...lane.layers]
|
|
10
11
|
.sort((a, b) => a.z - b.z)
|
|
11
12
|
.map((layer) => ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [rects
|
|
12
13
|
.filter((rect) => rect.layerId === layer.id)
|
|
13
|
-
.map((rect) => ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children:
|
|
14
|
-
rect,
|
|
15
|
-
layer,
|
|
16
|
-
lane,
|
|
17
|
-
highlighted: rect.sources.some((source) => source.kind === highlightSource?.kind && source.id === highlightSource.id),
|
|
18
|
-
}) }, `interval-${rect.y}:${rect.height}`))), gapRects
|
|
14
|
+
.map((rect) => ((0, jsx_runtime_1.jsx)(react_1.Fragment, { children: (0, jsx_runtime_1.jsx)(IntervalComponent, { rect: rect, layer: layer, lane: lane, highlighted: (0, core_1.hasSource)(rect.sources, highlightSource) }) }, `interval-${rect.y}:${rect.height}`))), gapRects
|
|
19
15
|
.filter((rect) => rect.layerId === layer.id)
|
|
20
16
|
.map((rect) => ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { accessibilityLabel: `${lane.label}: removed time`, onPress: (input) => {
|
|
21
17
|
input.stopPropagation();
|
|
@@ -28,6 +24,6 @@ function ScheduleColumn({ lane, rects, gapRects, press, intervalZone, gapZone, h
|
|
|
28
24
|
width: rect.width,
|
|
29
25
|
height: rect.height,
|
|
30
26
|
zIndex: rect.z,
|
|
31
|
-
}, children:
|
|
27
|
+
}, children: (0, jsx_runtime_1.jsx)(GapComponent, { rect: rect, layer: layer, lane: lane }) }, `gap-${rect.y}:${rect.height}`)))] }, layer.id)));
|
|
32
28
|
}
|
|
33
29
|
//# sourceMappingURL=column.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column.js","sourceRoot":"","sources":["../../../../../../src/components/schedule/days/parts/column.tsx"],"names":[],"mappings":";;;;AAAA,iCAAiC;AACjC,+CAAyC;AACzC,iEAA6D;AAG7D,wBAA+B,EAC7B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,KAAK,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"column.js","sourceRoot":"","sources":["../../../../../../src/components/schedule/days/parts/column.tsx"],"names":[],"mappings":";;;;AAAA,iCAAiC;AACjC,+CAAyC;AACzC,2CAA6C;AAC7C,iEAA6D;AAG7D,wBAA+B,EAC7B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,KAAK,EACL,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,YAAY,EAC1B,eAAe,GACK;IACpB,OAAO,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACpB,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACzB,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACd,wBAAC,gBAAQ,eACN,KAAK;iBACH,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,KAAK,KAAK,CAAC,EAAE,CAAC;iBAC3C,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACb,uBAAC,gBAAQ,cACP,uBAAC,iBAAiB,IAChB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,IAAA,gBAAS,EAAC,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC,GACrD,IANW,YAAY,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,CAOvC,CACZ,CAAC,EACH,QAAQ;iBACN,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,KAAK,KAAK,CAAC,EAAE,CAAC;iBAC3C,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACb,uBAAC,wBAAS,IAER,kBAAkB,EAAE,GAAG,IAAI,CAAC,KAAK,gBAAgB,EACjD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;oBACjB,KAAK,CAAC,eAAe,EAAE,CAAC;oBACxB,MAAM,KAAK,GAAG,IAAA,wBAAU,EAAC,KAAK,CAAC,CAAC;oBAChC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC5C,CAAC,EACD,KAAK,EAAE;oBACL,QAAQ,EAAE,UAAU;oBACpB,IAAI,EAAE,IAAI,CAAC,CAAC;oBACZ,GAAG,EAAE,IAAI,CAAC,CAAC;oBACX,KAAK,EAAE,IAAI,CAAC,KAAK;oBACjB,MAAM,EAAE,IAAI,CAAC,MAAM;oBACnB,MAAM,EAAE,IAAI,CAAC,CAAC;iBACf,YAED,uBAAC,YAAY,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAI,IAhBjD,OAAO,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,CAiBzB,CACb,CAAC,KAnCS,KAAK,CAAC,EAAE,CAoCZ,CACZ,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/schedule/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/schedule/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAqB5C"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Schedule = Schedule;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const react_1 = require("react");
|
|
6
5
|
const react_native_1 = require("react-native");
|
|
7
6
|
const gap_1 = require("../layers/parts/gap");
|
|
8
7
|
const interval_1 = require("../layers/parts/interval");
|
|
@@ -30,16 +29,16 @@ function Schedule(props) {
|
|
|
30
29
|
}
|
|
31
30
|
function ScheduleContent(props) {
|
|
32
31
|
const { days, projection, geometry, now, press } = (0, use_schedule_1.useSchedule)(props);
|
|
33
|
-
const { lane, windowSpec, highlightSource,
|
|
32
|
+
const { lane, windowSpec, highlightSource, gutterComponent: GutterComponent = gutter_1.ScheduleGutter, dayHeaderComponent: DayHeaderComponent = day_header_1.ScheduleDayHeader, skippedDateComponent: SkippedDateComponent = skipped_date_1.ScheduleSkippedDate, columnComponent = column_1.ScheduleColumn, gridComponent = grid_1.ScheduleGrid, transitionComponent = transition_1.ScheduleTransition, nowLineComponent: NowLineComponent = now_line_1.ScheduleNowLine, intervalComponent = interval_1.RosterInterval, gapComponent = gap_1.RosterGap, incompleteComponent: IncompleteComponent = incomplete_1.ScheduleIncomplete, incompleteLabel = 'Availability may be incomplete', } = props;
|
|
34
33
|
const position = (0, days_1.nowPosition)(projection, now);
|
|
35
|
-
const incomplete = lane.complete === false ?
|
|
36
|
-
return ((0, jsx_runtime_1.jsx)(layout_1.ScheduleLayout, { headerStyle: props.headerStyle, gutterStyle: props.gutterStyle, daysStyle: props.daysStyle, incompleteZone: incomplete, gutterZone:
|
|
34
|
+
const incomplete = lane.complete === false ? (0, jsx_runtime_1.jsx)(IncompleteComponent, { lane: lane, label: incompleteLabel }) : null;
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(layout_1.ScheduleLayout, { headerStyle: props.headerStyle, gutterStyle: props.gutterStyle, daysStyle: props.daysStyle, incompleteZone: incomplete, gutterZone: (0, jsx_runtime_1.jsx)(GutterComponent, { hours: hours, pxPerHour: projection.pxPerHour }), dayHeaderZone: (0, days_1.headerDates)(windowSpec, days).map(({ localDate, day }) => {
|
|
37
36
|
if (!day)
|
|
38
|
-
return (0, jsx_runtime_1.jsx)(
|
|
39
|
-
return ((0, jsx_runtime_1.jsx)(header_layout_1.ScheduleDayHeaderLayout, { width: projection.columnWidth, headerZone:
|
|
37
|
+
return (0, jsx_runtime_1.jsx)(SkippedDateComponent, { localDate: localDate }, localDate);
|
|
38
|
+
return ((0, jsx_runtime_1.jsx)(header_layout_1.ScheduleDayHeaderLayout, { width: projection.columnWidth, headerZone: (0, jsx_runtime_1.jsx)(DayHeaderComponent, { day: day }) }, localDate));
|
|
40
39
|
}), daysZone: days.map((day, column) => {
|
|
41
|
-
const nowLine = position?.column === column ?
|
|
42
|
-
return ((0, jsx_runtime_1.jsx)(day_1.ScheduleDay, { day: day, column: column, lane: lane, projection: projection, geometry: geometry, highlightSource: highlightSource, hours: hours, press: (x, y) => press(column, x, y),
|
|
40
|
+
const nowLine = position?.column === column ? (0, jsx_runtime_1.jsx)(NowLineComponent, { ...position }) : null;
|
|
41
|
+
return ((0, jsx_runtime_1.jsx)(day_1.ScheduleDay, { day: day, column: column, lane: lane, projection: projection, geometry: geometry, highlightSource: highlightSource, hours: hours, press: (x, y) => press(column, x, y), gridComponent: gridComponent, columnComponent: columnComponent, transitionComponent: transitionComponent, intervalComponent: intervalComponent, gapComponent: gapComponent, nowLineZone: nowLine }, day.localDate));
|
|
43
42
|
}) }));
|
|
44
43
|
}
|
|
45
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/schedule/index.tsx"],"names":[],"mappings":";;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/schedule/index.tsx"],"names":[],"mappings":";;;;AAAA,+CAAoC;AACpC,6CAAgD;AAChD,uDAA0D;AAC1D,6DAAyD;AACzD,oCAAyC;AACzC,wDAA+D;AAC/D,gDAAqD;AACrD,wDAA4D;AAC5D,4CAAiD;AACjD,oDAAwD;AACxD,4DAAgE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,EAAE;YACjC,MAAM,OAAO,GAAG,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,uBAAC,gBAAgB,OAAK,QAAQ,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;YACxF,OAAO,CACL,uBAAC,iBAAW,IAEV,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,EACpC,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,mBAAmB,EAAE,mBAAmB,EACxC,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,OAAO,IAdf,GAAG,CAAC,SAAS,CAelB,CACH,CAAC;QACJ,CAAC,CAAC,GACF,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import type { DayColumn, Lane, LaneGeometry, Projection, Rect, Source, Transition, Window, WindowSpec } from '../../core';
|
|
4
4
|
import type { GapInput, IntervalInput } from '../layers/layers.types';
|
|
@@ -46,9 +46,9 @@ export type ScheduleColumnInput = {
|
|
|
46
46
|
highlightSource?: Source;
|
|
47
47
|
press: (x: number, y: number) => void;
|
|
48
48
|
/** Covered rect filler shared with Roster; final bounds and stacking belong to the rect. */
|
|
49
|
-
|
|
49
|
+
intervalComponent: ComponentType<IntervalInput>;
|
|
50
50
|
/** Removed rect content shared with Roster; the column supplies its pressable bounds. */
|
|
51
|
-
|
|
51
|
+
gapComponent: ComponentType<GapInput>;
|
|
52
52
|
};
|
|
53
53
|
export type ScheduleHoursInput = {
|
|
54
54
|
hours: number[];
|
|
@@ -76,34 +76,34 @@ export type ScheduleStyleProps = {
|
|
|
76
76
|
export type ScheduleProps = ScheduleInput & ScheduleStyleProps & {
|
|
77
77
|
incompleteLabel?: string;
|
|
78
78
|
/** Frozen left hour labels; ScheduleGutter receives hours 0 through 23 and their scale. */
|
|
79
|
-
|
|
79
|
+
gutterComponent?: ComponentType<ScheduleHoursInput>;
|
|
80
80
|
/** Hour bands behind each day's rects; ScheduleGrid draws 24 bordered bands. */
|
|
81
|
-
|
|
81
|
+
gridComponent?: ComponentType<ScheduleHoursInput>;
|
|
82
82
|
/** Frozen day heading; ScheduleDayHeader shows weekday, localDate, and a transition badge. */
|
|
83
|
-
|
|
83
|
+
dayHeaderComponent?: ComponentType<{
|
|
84
84
|
day: DayColumn;
|
|
85
|
-
}
|
|
85
|
+
}>;
|
|
86
86
|
/** Wholly skipped local date marker; ScheduleSkippedDate labels its zero-width header gap. */
|
|
87
|
-
|
|
87
|
+
skippedDateComponent?: ComponentType<{
|
|
88
88
|
localDate: string;
|
|
89
|
-
}
|
|
89
|
+
}>;
|
|
90
90
|
/** The day's covered and removed rects; ScheduleColumn draws final bounds in layer order. */
|
|
91
|
-
|
|
91
|
+
columnComponent?: ComponentType<ScheduleColumnInput>;
|
|
92
92
|
/** Transition chrome only; ScheduleTransition hatches skips and divides repeats with again. */
|
|
93
|
-
|
|
93
|
+
transitionComponent?: ComponentType<ScheduleTransitionInput>;
|
|
94
94
|
/** Current day's line at y; ScheduleNowLine spans the containing column. */
|
|
95
|
-
|
|
95
|
+
nowLineComponent?: ComponentType<{
|
|
96
96
|
y: number;
|
|
97
97
|
column: number;
|
|
98
|
-
}
|
|
98
|
+
}>;
|
|
99
99
|
/** Covered rect filler shared with Roster; position using rect bounds and use pointerEvents="none". */
|
|
100
|
-
|
|
100
|
+
intervalComponent?: ComponentType<IntervalInput>;
|
|
101
101
|
/** Removed rect content shared with Roster; ScheduleColumn supplies the invisible pressable. */
|
|
102
|
-
|
|
102
|
+
gapComponent?: ComponentType<GapInput>;
|
|
103
103
|
/** Completeness notice in reserved empty space above the day grid; receives the lane and localized label. */
|
|
104
|
-
|
|
104
|
+
incompleteComponent?: ComponentType<{
|
|
105
105
|
lane: Lane;
|
|
106
106
|
label: string;
|
|
107
|
-
}
|
|
107
|
+
}>;
|
|
108
108
|
};
|
|
109
109
|
//# sourceMappingURL=schedule.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.types.d.ts","sourceRoot":"","sources":["../../../../src/components/schedule/schedule.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"schedule.types.d.ts","sourceRoot":"","sources":["../../../../src/components/schedule/schedule.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EACV,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,IAAI,EACJ,MAAM,EACN,UAAU,EACV,MAAM,EACN,UAAU,EACX,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG;IAAE,IAAI,EAAE,KAAK,GAAG,MAAM,CAAA;CAAE,CAAC;AACvE,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,WAAW,EAAE,SAAS,CAAA;CAAE,CAAC,CAAC;AACjF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,kBAAkB,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,SAAS,CAAC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AC7F,eAAe,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IACrD,+FAA+F;IAC/F,mBAAmB,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAC7D,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,aAAa,CAAC;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAChE,uGAAuG;IACvG,iBAAiB,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IACjD,gGAAgG;IAChG,YAAY,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACvC,6GAA6G;IAC7G,mBAAmB,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpE,CAAC"}
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -8,5 +8,6 @@ export { layoutLane } from './layout';
|
|
|
8
8
|
export type { LaneComparator } from './order';
|
|
9
9
|
export { byCoverage, byLabel } from './order';
|
|
10
10
|
export { snapToStep, timeAtX, timeAtY } from './snap';
|
|
11
|
+
export { hasSource } from './source';
|
|
11
12
|
export type { Coverage, DayColumn, Gap, Interval, Lane, LaneFlag, LaneGeometry, Layer, LayerRole, LayerStyle, Projection, Rect, Source, Transition, Weekday, Window, } from './types';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACtD,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,UAAU,GACX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AS,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,YAAY,EACV,QAAQ,EACR,SAAS,EACT,GAAG,EACH,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,SAAS,EACT,UAAU,EACV,UAAU,EACV,IAAI,EACJ,MAAM,EACN,UAAU,EACV,OAAO,EACP,MAAM,GACP,MAAM,SAAS,CAAC"}
|
package/dist/src/core/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.timeAtY = exports.timeAtX = exports.snapToStep = exports.byLabel = exports.byCoverage = exports.layoutLane = exports.flagFor = exports.coverageFor = exports.dayColumnsFor = exports.resetStats = exports.layoutStats = exports.coverageStats = exports.clearLayoutCache = exports.clearCoverageCache = exports.windowFor = exports.today = exports.prev = exports.next = void 0;
|
|
3
|
+
exports.hasSource = exports.timeAtY = exports.timeAtX = exports.snapToStep = exports.byLabel = exports.byCoverage = exports.layoutLane = exports.flagFor = exports.coverageFor = exports.dayColumnsFor = exports.resetStats = exports.layoutStats = exports.coverageStats = exports.clearLayoutCache = exports.clearCoverageCache = exports.windowFor = exports.today = exports.prev = exports.next = void 0;
|
|
4
4
|
var axis_1 = require("./axis");
|
|
5
5
|
Object.defineProperty(exports, "next", { enumerable: true, get: function () { return axis_1.next; } });
|
|
6
6
|
Object.defineProperty(exports, "prev", { enumerable: true, get: function () { return axis_1.prev; } });
|
|
@@ -27,4 +27,6 @@ var snap_1 = require("./snap");
|
|
|
27
27
|
Object.defineProperty(exports, "snapToStep", { enumerable: true, get: function () { return snap_1.snapToStep; } });
|
|
28
28
|
Object.defineProperty(exports, "timeAtX", { enumerable: true, get: function () { return snap_1.timeAtX; } });
|
|
29
29
|
Object.defineProperty(exports, "timeAtY", { enumerable: true, get: function () { return snap_1.timeAtY; } });
|
|
30
|
+
var source_1 = require("./source");
|
|
31
|
+
Object.defineProperty(exports, "hasSource", { enumerable: true, get: function () { return source_1.hasSource; } });
|
|
30
32
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":";;;AACA,+BAAsD;AAA7C,4FAAA,IAAI,OAAA;AAAE,4FAAA,IAAI,OAAA;AAAE,6FAAA,KAAK,OAAA;AAAE,iGAAA,SAAS,OAAA;AACrC,iCAMiB;AALf,2GAAA,kBAAkB,OAAA;AAClB,yGAAA,gBAAgB,OAAA;AAChB,sGAAA,aAAa,OAAA;AACb,oGAAA,WAAW,OAAA;AACX,mGAAA,UAAU,OAAA;AAEZ,qCAA0C;AAAjC,wGAAA,aAAa,OAAA;AACtB,uCAAyC;AAAhC,uGAAA,WAAW,OAAA;AACpB,+BAAiC;AAAxB,+FAAA,OAAO,OAAA;AAChB,mCAAsC;AAA7B,oGAAA,UAAU,OAAA;AAEnB,iCAA8C;AAArC,mGAAA,UAAU,OAAA;AAAE,gGAAA,OAAO,OAAA;AAC5B,+BAAsD;AAA7C,kGAAA,UAAU,OAAA;AAAE,+FAAA,OAAO,OAAA;AAAE,+FAAA,OAAO,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":";;;AACA,+BAAsD;AAA7C,4FAAA,IAAI,OAAA;AAAE,4FAAA,IAAI,OAAA;AAAE,6FAAA,KAAK,OAAA;AAAE,iGAAA,SAAS,OAAA;AACrC,iCAMiB;AALf,2GAAA,kBAAkB,OAAA;AAClB,yGAAA,gBAAgB,OAAA;AAChB,sGAAA,aAAa,OAAA;AACb,oGAAA,WAAW,OAAA;AACX,mGAAA,UAAU,OAAA;AAEZ,qCAA0C;AAAjC,wGAAA,aAAa,OAAA;AACtB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