@bimetal/calendar-headless 0.34.0 → 0.36.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/LICENSE +57 -0
- package/README.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/click-intent.d.ts +2 -0
- package/dist/click-intent.d.ts.map +1 -1
- package/dist/click-intent.js +2 -0
- package/dist/click-intent.js.map +1 -1
- package/dist/controller/agenda.d.ts +4 -1
- package/dist/controller/agenda.d.ts.map +1 -1
- package/dist/controller/agenda.js +17 -8
- package/dist/controller/agenda.js.map +1 -1
- package/dist/controller/config.d.ts +5 -0
- package/dist/controller/config.d.ts.map +1 -1
- package/dist/controller/config.js +27 -3
- package/dist/controller/config.js.map +1 -1
- package/dist/controller/create-controller.d.ts +20 -0
- package/dist/controller/create-controller.d.ts.map +1 -1
- package/dist/controller/create-controller.js +839 -93
- package/dist/controller/create-controller.js.map +1 -1
- package/dist/controller/types.d.ts +343 -39
- package/dist/controller/types.d.ts.map +1 -1
- package/dist/controller/view-configs.d.ts +4 -2
- package/dist/controller/view-configs.d.ts.map +1 -1
- package/dist/controller/view-configs.js +12 -6
- package/dist/controller/view-configs.js.map +1 -1
- package/dist/date-strings.d.ts +20 -10
- package/dist/date-strings.d.ts.map +1 -1
- package/dist/date-strings.js +28 -6
- package/dist/date-strings.js.map +1 -1
- package/dist/defaults.d.ts +0 -2
- package/dist/defaults.d.ts.map +1 -1
- package/dist/defaults.js +0 -2
- package/dist/defaults.js.map +1 -1
- package/dist/dialog-keys.d.ts +44 -0
- package/dist/dialog-keys.d.ts.map +1 -0
- package/dist/dialog-keys.js +32 -0
- package/dist/dialog-keys.js.map +1 -0
- package/dist/drag-helpers.d.ts +0 -11
- package/dist/drag-helpers.d.ts.map +1 -1
- package/dist/drag-helpers.js +14 -21
- package/dist/drag-helpers.js.map +1 -1
- package/dist/drag-preview.d.ts +1 -0
- package/dist/drag-preview.d.ts.map +1 -1
- package/dist/drag-preview.js +2 -1
- package/dist/drag-preview.js.map +1 -1
- package/dist/event-actions.d.ts +33 -16
- package/dist/event-actions.d.ts.map +1 -1
- package/dist/event-actions.js +38 -31
- package/dist/event-actions.js.map +1 -1
- package/dist/grid-geometry.d.ts +3 -2
- package/dist/grid-geometry.d.ts.map +1 -1
- package/dist/grid-geometry.js +16 -11
- package/dist/grid-geometry.js.map +1 -1
- package/dist/history-entries.d.ts +78 -0
- package/dist/history-entries.d.ts.map +1 -0
- package/dist/history-entries.js +91 -0
- package/dist/history-entries.js.map +1 -0
- package/dist/index.d.ts +20 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -9
- package/dist/index.js.map +1 -1
- package/dist/pointer-drag-gesture.d.ts +68 -0
- package/dist/pointer-drag-gesture.d.ts.map +1 -0
- package/dist/pointer-drag-gesture.js +73 -0
- package/dist/pointer-drag-gesture.js.map +1 -0
- package/dist/validate-save.d.ts.map +1 -1
- package/dist/validate-save.js +12 -1
- package/dist/validate-save.js.map +1 -1
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-configs.js","sourceRoot":"","sources":["../../src/controller/view-configs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"view-configs.js","sourceRoot":"","sources":["../../src/controller/view-configs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGrK;+CAC+C;AAC/C,MAAM,UAAU,iBAAiB,CAAC,MAAsB,EAAE,YAAqB,OAAO,CAAC,MAAM;IAC3F,MAAM,I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ared temporal
|
|
3
|
-
* kernel. The date conversions `toDateStr`/`parseDateStr` live in `@bimetal/
|
|
3
|
+
* kernel. The date conversions `toDateStr`/`parseDateStr` live in `@bimetal/temporal`
|
|
4
4
|
* (the ONE strict, timezone-safe `YYYY-MM-DD` round-trip shared by every time-based
|
|
5
|
-
* component — calendar AND gantt) and are re-exported here
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* that collides with the generic adapter's `export * from '@bimetal/core'`.
|
|
5
|
+
* component — calendar AND gantt) and are re-exported here directly from the kernel
|
|
6
|
+
* so the calendar bindings keep their `from '@bimetal/calendar-headless'` import —
|
|
7
|
+
* WITHOUT a duplicate definition.
|
|
9
8
|
*/
|
|
10
|
-
import type { CalendarDateTime } from '@bimetal/
|
|
11
|
-
export { toDateStr, parseDateStr } from '@bimetal/
|
|
12
|
-
/** Convert CalendarDateTime to a time string "HH:MM".
|
|
9
|
+
import type { CalendarDateTime } from '@bimetal/temporal';
|
|
10
|
+
export { toDateStr, parseDateStr } from '@bimetal/temporal';
|
|
11
|
+
/** Convert CalendarDateTime to a time string "HH:MM".
|
|
12
|
+
*
|
|
13
|
+
* MACHINE format, not display (mcp-92): this feeds the grid-hit/drop VALUE
|
|
14
|
+
* path (`parseDateTimeStr` round-trip) and must stay fixed-24h ASCII. What
|
|
15
|
+
* the USER sees goes through {@link formatTime}. */
|
|
13
16
|
export declare function toTimeStr(dt: CalendarDateTime): string;
|
|
14
|
-
/**
|
|
15
|
-
|
|
17
|
+
/** DISPLAY time for the user's locale (mcp-92): `en-US` -> "2:30 PM", `ar` ->
|
|
18
|
+
* locale digits - the same `Intl` route the history timestamps already take.
|
|
19
|
+
* Distinct from {@link toTimeStr}, which is the machine `HH:MM` value format. */
|
|
20
|
+
export declare function formatTime(dt: CalendarDateTime, localeCode: string, timezone: string): string;
|
|
21
|
+
/** Parse date + time strings into a single CalendarDateTime. `timezone` is
|
|
22
|
+
* REQUIRED (no UTC default), mirroring `parseDateStr`: the strings carry no
|
|
23
|
+
* zone, so a silent UTC default would shift the round-trip by a day for
|
|
24
|
+
* non-UTC consumers. Pass the value's own tz. */
|
|
25
|
+
export declare function parseDateTimeStr(dateStr: string, timeStr: string, timezone: string): CalendarDateTime;
|
|
16
26
|
//# sourceMappingURL=date-strings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-strings.d.ts","sourceRoot":"","sources":["../src/date-strings.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"date-strings.d.ts","sourceRoot":"","sources":["../src/date-strings.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAI1D,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE5D;;;;qDAIqD;AACrD,wBAAgB,SAAS,CAAC,EAAE,EAAE,gBAAgB,GAAG,MAAM,CAEtD;AAMD;;kFAEkF;AAClF,wBAAgB,UAAU,CAAC,EAAE,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAQ7F;AAED;;;kDAGkD;AAClD,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,gBAAgB,CAIlB"}
|
package/dist/date-strings.js
CHANGED
|
@@ -1,14 +1,36 @@
|
|
|
1
|
-
import { getHours, getMinutes, createDateTime } from '@bimetal/
|
|
1
|
+
import { getHours, getMinutes, createDateTime, monthIndex } from '@bimetal/temporal';
|
|
2
2
|
// Date round-trip: single source in the temporal kernel (strict DATE_RE parsing).
|
|
3
|
-
export { toDateStr, parseDateStr } from '@bimetal/
|
|
4
|
-
/** Convert CalendarDateTime to a time string "HH:MM".
|
|
3
|
+
export { toDateStr, parseDateStr } from '@bimetal/temporal';
|
|
4
|
+
/** Convert CalendarDateTime to a time string "HH:MM".
|
|
5
|
+
*
|
|
6
|
+
* MACHINE format, not display (mcp-92): this feeds the grid-hit/drop VALUE
|
|
7
|
+
* path (`parseDateTimeStr` round-trip) and must stay fixed-24h ASCII. What
|
|
8
|
+
* the USER sees goes through {@link formatTime}. */
|
|
5
9
|
export function toTimeStr(dt) {
|
|
6
10
|
return `${String(getHours(dt)).padStart(2, '0')}:${String(getMinutes(dt)).padStart(2, '0')}`;
|
|
7
11
|
}
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
// Intl.DateTimeFormat construction is expensive and the chips call this per
|
|
13
|
+
// render - cache one formatter per locale+timezone (both change rarely).
|
|
14
|
+
const timeFormatters = new Map();
|
|
15
|
+
/** DISPLAY time for the user's locale (mcp-92): `en-US` -> "2:30 PM", `ar` ->
|
|
16
|
+
* locale digits - the same `Intl` route the history timestamps already take.
|
|
17
|
+
* Distinct from {@link toTimeStr}, which is the machine `HH:MM` value format. */
|
|
18
|
+
export function formatTime(dt, localeCode, timezone) {
|
|
19
|
+
const key = localeCode + ' ' + timezone;
|
|
20
|
+
let fmt = timeFormatters.get(key);
|
|
21
|
+
if (!fmt) {
|
|
22
|
+
fmt = new Intl.DateTimeFormat(localeCode, { hour: 'numeric', minute: '2-digit', timeZone: timezone });
|
|
23
|
+
timeFormatters.set(key, fmt);
|
|
24
|
+
}
|
|
25
|
+
return fmt.format(new Date(dt.epochMs));
|
|
26
|
+
}
|
|
27
|
+
/** Parse date + time strings into a single CalendarDateTime. `timezone` is
|
|
28
|
+
* REQUIRED (no UTC default), mirroring `parseDateStr`: the strings carry no
|
|
29
|
+
* zone, so a silent UTC default would shift the round-trip by a day for
|
|
30
|
+
* non-UTC consumers. Pass the value's own tz. */
|
|
31
|
+
export function parseDateTimeStr(dateStr, timeStr, timezone) {
|
|
10
32
|
const [y, mo, d] = dateStr.split('-').map(Number);
|
|
11
33
|
const [h, mi] = timeStr.split(':').map(Number);
|
|
12
|
-
return createDateTime(y, mo - 1, d, h, mi, timezone);
|
|
34
|
+
return createDateTime(y, monthIndex(mo - 1), d, h, mi, timezone);
|
|
13
35
|
}
|
|
14
36
|
//# sourceMappingURL=date-strings.js.map
|
package/dist/date-strings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-strings.js","sourceRoot":"","sources":["../src/date-strings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-strings.js","sourceRoot":"","sources":["../src/date-strings.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAErF,kFAAkF;AAClF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE5D;;;;qDAIqD;AACrD,MAAM,UAAU,SAAS,CAAC,EAAoB;IAC5C,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;AAC/F,CAAC;AAED,4EAA4E;AAC5E,yEAAyE;AACzE,MAAM,cAAc,GAAG,IAAI,GAAG,EAA+B,CAAC;AAE9D;;kFAEkF;AAClF,MAAM,UAAU,UAAU,CAAC,EAAoB,EAAE,UAAkB,EAAE,QAAgB;IACnF,MAAM,GAAG,GAAG,UAAU,GAAG,GAAG,GAAG,QAAQ,CAAC;IACxC,IAAI,GAAG,GAAG,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAClC,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,GAAG,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;QACtG,cAAc,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC/B,CAAC;IACD,OAAO,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AAC1C,CAAC;AAED;;;kDAGkD;AAClD,MAAM,UAAU,gBAAgB,CAC9B,OAAe,EACf,OAAe,EACf,QAAgB;IAEhB,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAClD,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/C,OAAO,cAAc,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAC;AACnE,CAAC"}
|
package/dist/defaults.d.ts
CHANGED
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
* Framework soll sie für sich kopieren. Adapter-Pakete importieren von
|
|
6
6
|
* hier; lokale Overrides bleiben am jeweiligen View möglich.
|
|
7
7
|
*/
|
|
8
|
-
/** Wie lange ein Undo-Toast sichtbar bleibt, bevor er automatisch verschwindet. */
|
|
9
|
-
export declare const DEFAULT_UNDO_DISMISS_MS = 5000;
|
|
10
8
|
/** Wie viele Tage die Agenda-View ab `currentDate` einbezieht. */
|
|
11
9
|
export declare const DEFAULT_AGENDA_RANGE_DAYS = 30;
|
|
12
10
|
/** Stunde, auf die Day/Week/Resource-Views initial scrollen (08:00). */
|
package/dist/defaults.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,kEAAkE;AAClE,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,wEAAwE;AACxE,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAIrC,+DAA+D;AAC/D,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,6EAA6E;AAC7E,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,mGAAmG;AACnG,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAEhD,wDAAwD;AACxD,eAAO,MAAM,4BAA4B,MAAM,CAAC"}
|
package/dist/defaults.js
CHANGED
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
* hier; lokale Overrides bleiben am jeweiligen View möglich.
|
|
7
7
|
*/
|
|
8
8
|
// ── Verhalten ───────────────────────────────────────────────────
|
|
9
|
-
/** Wie lange ein Undo-Toast sichtbar bleibt, bevor er automatisch verschwindet. */
|
|
10
|
-
export const DEFAULT_UNDO_DISMISS_MS = 5000;
|
|
11
9
|
/** Wie viele Tage die Agenda-View ab `currentDate` einbezieht. */
|
|
12
10
|
export const DEFAULT_AGENDA_RANGE_DAYS = 30;
|
|
13
11
|
/** Stunde, auf die Day/Week/Resource-Views initial scrollen (08:00). */
|
package/dist/defaults.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,mEAAmE;AAEnE,
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../src/defaults.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,mEAAmE;AAEnE,kEAAkE;AAClE,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAE5C,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAErC,mEAAmE;AAEnE,+DAA+D;AAC/D,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAEtC,6EAA6E;AAC7E,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,CAAC;AAE/C,mGAAmG;AACnG,MAAM,CAAC,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAEhD,wDAAwD;AACxD,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keyboard policy for the built-in event dialog.
|
|
3
|
+
*
|
|
4
|
+
* The v0.29 keyboard contract splits mechanism from policy: a render layer reads
|
|
5
|
+
* the DOM (`@bimetal/a11y-dom`), the DOM-free headless layer decides. `Enter`
|
|
6
|
+
* inside the dialog was the one keystroke that never got that treatment — all
|
|
7
|
+
* four bindings carried the same inline `if (e.key === 'Enter' && !e.shiftKey)`,
|
|
8
|
+
* a decision duplicated four times and therefore wrong four times at once.
|
|
9
|
+
*
|
|
10
|
+
* It was wrong because it never looked at WHERE the keystroke landed. `Enter` on
|
|
11
|
+
* a focused button inside the dialog bubbled to the container, `preventDefault()`
|
|
12
|
+
* cancelled the button's native click, and the dialog saved instead of activating
|
|
13
|
+
* the button. The series entry added in mcp-116/121 is exactly such a button: by
|
|
14
|
+
* keyboard it closed the dialog rather than opening the series master (review R1).
|
|
15
|
+
* Pointer-clicks never noticed — which is why a click-only e2e stayed green.
|
|
16
|
+
*
|
|
17
|
+
* The decision now lives here once, and the drift-guard holds all four bindings to
|
|
18
|
+
* it, so the next affordance added to the dialog inherits the fix instead of
|
|
19
|
+
* re-opening the hole.
|
|
20
|
+
*/
|
|
21
|
+
/** DOM-free descriptor of an `Enter` candidate inside the dialog. Mirrors the shape
|
|
22
|
+
* of `NormalizedKeyEvent`: the binding reads the DOM, the policy stays framework-
|
|
23
|
+
* and DOM-free. */
|
|
24
|
+
export interface DialogKeyEvent {
|
|
25
|
+
/** `KeyboardEvent.key`. */
|
|
26
|
+
readonly key: string;
|
|
27
|
+
/** `KeyboardEvent.shiftKey` — `Shift+Enter` stays a newline in the description. */
|
|
28
|
+
readonly shiftKey: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Does the focused target activate itself on `Enter` (a button or link)? The
|
|
31
|
+
* binding computes it with `isEnterActivatedTarget` from `@bimetal/a11y-dom`.
|
|
32
|
+
*/
|
|
33
|
+
readonly targetActivatesOnEnter: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* `true` when this keystroke means "commit the dialog draft" — and the caller may
|
|
37
|
+
* therefore `preventDefault()` and save.
|
|
38
|
+
*
|
|
39
|
+
* `false` for every other key, for `Shift+Enter` (newline), and — the fix — when the
|
|
40
|
+
* focused control activates itself on `Enter`. In that last case the keystroke
|
|
41
|
+
* belongs to that control: let it bubble untouched so the browser fires its click.
|
|
42
|
+
*/
|
|
43
|
+
export declare function dialogEnterCommits(e: DialogKeyEvent): boolean;
|
|
44
|
+
//# sourceMappingURL=dialog-keys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog-keys.d.ts","sourceRoot":"","sources":["../src/dialog-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;oBAEoB;AACpB,MAAM,WAAW,cAAc;IAC7B,2BAA2B;IAC3B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,mFAAmF;IACnF,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC;CAC1C;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,cAAc,GAAG,OAAO,CAE7D"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keyboard policy for the built-in event dialog.
|
|
3
|
+
*
|
|
4
|
+
* The v0.29 keyboard contract splits mechanism from policy: a render layer reads
|
|
5
|
+
* the DOM (`@bimetal/a11y-dom`), the DOM-free headless layer decides. `Enter`
|
|
6
|
+
* inside the dialog was the one keystroke that never got that treatment — all
|
|
7
|
+
* four bindings carried the same inline `if (e.key === 'Enter' && !e.shiftKey)`,
|
|
8
|
+
* a decision duplicated four times and therefore wrong four times at once.
|
|
9
|
+
*
|
|
10
|
+
* It was wrong because it never looked at WHERE the keystroke landed. `Enter` on
|
|
11
|
+
* a focused button inside the dialog bubbled to the container, `preventDefault()`
|
|
12
|
+
* cancelled the button's native click, and the dialog saved instead of activating
|
|
13
|
+
* the button. The series entry added in mcp-116/121 is exactly such a button: by
|
|
14
|
+
* keyboard it closed the dialog rather than opening the series master (review R1).
|
|
15
|
+
* Pointer-clicks never noticed — which is why a click-only e2e stayed green.
|
|
16
|
+
*
|
|
17
|
+
* The decision now lives here once, and the drift-guard holds all four bindings to
|
|
18
|
+
* it, so the next affordance added to the dialog inherits the fix instead of
|
|
19
|
+
* re-opening the hole.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* `true` when this keystroke means "commit the dialog draft" — and the caller may
|
|
23
|
+
* therefore `preventDefault()` and save.
|
|
24
|
+
*
|
|
25
|
+
* `false` for every other key, for `Shift+Enter` (newline), and — the fix — when the
|
|
26
|
+
* focused control activates itself on `Enter`. In that last case the keystroke
|
|
27
|
+
* belongs to that control: let it bubble untouched so the browser fires its click.
|
|
28
|
+
*/
|
|
29
|
+
export function dialogEnterCommits(e) {
|
|
30
|
+
return e.key === 'Enter' && !e.shiftKey && !e.targetActivatesOnEnter;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=dialog-keys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog-keys.js","sourceRoot":"","sources":["../src/dialog-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAiBH;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAAC,CAAiB;IAClD,OAAO,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC,sBAAsB,CAAC;AACvE,CAAC"}
|
package/dist/drag-helpers.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ export declare function parseDragInfo(dataTransfer: DragDataReader | null | unde
|
|
|
34
34
|
export interface DragDataWriter {
|
|
35
35
|
setData(format: string, data: string): void;
|
|
36
36
|
effectAllowed: string;
|
|
37
|
-
setDragImage(image: unknown, x: number, y: number): void;
|
|
38
37
|
}
|
|
39
38
|
/**
|
|
40
39
|
* Schreibt den DragInfo-Payload (JSON unter `DRAG_MIME`) und setzt
|
|
@@ -43,14 +42,4 @@ export interface DragDataWriter {
|
|
|
43
42
|
* `'application/json'` aufrufen.
|
|
44
43
|
*/
|
|
45
44
|
export declare function writeCalendarDragData(dataTransfer: DragDataWriter, info: DragInfo): void;
|
|
46
|
-
/**
|
|
47
|
-
* Installiert ein transparentes 1×1-Element als Drag-Image und plant
|
|
48
|
-
* dessen Entfernung im nächsten Frame ein. Browser-only — headless ruft
|
|
49
|
-
* `globalThis.document` und `globalThis.requestAnimationFrame` strukturell
|
|
50
|
-
* auf, ohne DOM-lib zu fordern.
|
|
51
|
-
*
|
|
52
|
-
* Wird typischerweise von Resize-Drag-Startern aufgerufen, damit nicht das
|
|
53
|
-
* geklickte Resize-Handle als Drag-Image erscheint.
|
|
54
|
-
*/
|
|
55
|
-
export declare function installTransparentDragImage(dataTransfer: DragDataWriter): void;
|
|
56
45
|
//# sourceMappingURL=drag-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag-helpers.d.ts","sourceRoot":"","sources":["../src/drag-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EACzB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"drag-helpers.d.ts","sourceRoot":"","sources":["../src/drag-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGlD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,EACzB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,CAgBR;AAED,0DAA0D;AAC1D,eAAO,MAAM,SAAS,qBAAqB,CAAC;AAE5C,8EAA8E;AAC9E,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,YAAY,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,GAAG,QAAQ,GAAG,IAAI,CAS9F;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,CAGxF"}
|
package/dist/drag-helpers.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Extracted from DayView/WeekView/ResourceView (× 4 frameworks) to remove
|
|
5
5
|
* duplication. No DOM access — callers pass the relevant rect/string.
|
|
6
6
|
*/
|
|
7
|
-
import { MINUTES_PER_HOUR, HOURS_PER_DAY } from '@bimetal/
|
|
7
|
+
import { MINUTES_PER_HOUR, HOURS_PER_DAY } from '@bimetal/temporal';
|
|
8
8
|
/**
|
|
9
9
|
* Convert a vertical mouse position to a snapped HH:MM time string.
|
|
10
10
|
*
|
|
@@ -14,10 +14,20 @@ import { MINUTES_PER_HOUR, HOURS_PER_DAY } from '@bimetal/core';
|
|
|
14
14
|
* @param snapMinutes granularity to snap to (e.g. 15)
|
|
15
15
|
*/
|
|
16
16
|
export function snapTimeFromMouseY(clientY, gridRect, hourHeight, snapMinutes) {
|
|
17
|
+
// mcp-51 R1 (Review F5): snapMinutes ist nacktes user-supplied number aus
|
|
18
|
+
// config.core.granularity — 0/negativ/NaN produzierte "NaN:NaN" bzw. nach
|
|
19
|
+
// dem Monotonie-Fix sogar Stunde 24. Auf einen sinnvollen Schritt clampen.
|
|
20
|
+
const step = Number.isFinite(snapMinutes) && snapMinutes >= 1 ? Math.floor(snapMinutes) : 1;
|
|
17
21
|
const totalMinutes = Math.max(0, ((clientY - gridRect.top) / hourHeight) * MINUTES_PER_HOUR);
|
|
18
|
-
const snapped = Math.round(totalMinutes /
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
const snapped = Math.round(totalMinutes / step) * step;
|
|
23
|
+
// mcp-51 C7: clamp to the LAST snap slot strictly before midnight instead of
|
|
24
|
+
// clamping hour and minute separately — the old clamp mapped the very bottom
|
|
25
|
+
// edge (1440) to "23:00" while a slightly higher drop gave "23:45": moving
|
|
26
|
+
// the pointer DOWN jumped the time BACK. Monotonic now.
|
|
27
|
+
const lastSlot = (Math.ceil((HOURS_PER_DAY * MINUTES_PER_HOUR) / step) - 1) * step;
|
|
28
|
+
const clamped = Math.min(snapped, lastSlot);
|
|
29
|
+
const h = Math.floor(clamped / MINUTES_PER_HOUR);
|
|
30
|
+
const m = clamped % MINUTES_PER_HOUR;
|
|
21
31
|
return `${String(h).padStart(2, '0')}:${String(m).padStart(2, '0')}`;
|
|
22
32
|
}
|
|
23
33
|
/** MIME type for drag/drop payloads in calendar views. */
|
|
@@ -49,21 +59,4 @@ export function writeCalendarDragData(dataTransfer, info) {
|
|
|
49
59
|
dataTransfer.setData(DRAG_MIME, JSON.stringify(info));
|
|
50
60
|
dataTransfer.effectAllowed = 'move';
|
|
51
61
|
}
|
|
52
|
-
/**
|
|
53
|
-
* Installiert ein transparentes 1×1-Element als Drag-Image und plant
|
|
54
|
-
* dessen Entfernung im nächsten Frame ein. Browser-only — headless ruft
|
|
55
|
-
* `globalThis.document` und `globalThis.requestAnimationFrame` strukturell
|
|
56
|
-
* auf, ohne DOM-lib zu fordern.
|
|
57
|
-
*
|
|
58
|
-
* Wird typischerweise von Resize-Drag-Startern aufgerufen, damit nicht das
|
|
59
|
-
* geklickte Resize-Handle als Drag-Image erscheint.
|
|
60
|
-
*/
|
|
61
|
-
export function installTransparentDragImage(dataTransfer) {
|
|
62
|
-
const host = globalThis;
|
|
63
|
-
const ghost = host.document.createElement('div');
|
|
64
|
-
ghost.style.cssText = 'width:1px;height:1px;opacity:0';
|
|
65
|
-
host.document.body.appendChild(ghost);
|
|
66
|
-
dataTransfer.setDragImage(ghost, 0, 0);
|
|
67
|
-
host.requestAnimationFrame(() => ghost.remove());
|
|
68
|
-
}
|
|
69
62
|
//# sourceMappingURL=drag-helpers.js.map
|
package/dist/drag-helpers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag-helpers.js","sourceRoot":"","sources":["../src/drag-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"drag-helpers.js","sourceRoot":"","sources":["../src/drag-helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEpE;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAChC,OAAe,EACf,QAAyB,EACzB,UAAkB,EAClB,WAAmB;IAEnB,0EAA0E;IAC1E,0EAA0E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AC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IACtB,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAa,CAAC;IACrC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAWD;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CAAC,YAA4B,EAAE,IAAc;IAChF,YAAY,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IACtD,YAAY,CAAC,aAAa,GAAG,MAAM,CAAC;AACtC,CAAC"}
|
package/dist/drag-preview.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export interface DragPreview {
|
|
|
36
36
|
*/
|
|
37
37
|
allDay?: boolean;
|
|
38
38
|
}
|
|
39
|
+
/** Parsed payload describing an in-progress drag gesture (move or resize, allDay or timed). */
|
|
39
40
|
export interface DragInfo {
|
|
40
41
|
type: 'move' | 'resize' | 'move-timed' | 'resize-timed';
|
|
41
42
|
eventId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag-preview.d.ts","sourceRoot":"","sources":["../src/drag-preview.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"drag-preview.d.ts","sourceRoot":"","sources":["../src/drag-preview.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAO9E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAg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ACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,gBAAgB,EAC3B,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,MAAM,EAAE,SAAS,aAAa,EAAE,GAC/B,aAAa,GAAG,IAAI,CAoBtB"}
|
package/dist/drag-preview.js
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* Computes preview positions for move and resize operations.
|
|
5
5
|
* Framework adapters wrap this with their reactive state.
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import { addDays, daysBetween } from '@bimetal/temporal';
|
|
8
|
+
import { computeMoveRange, computeTimedMoveRange, computeResizeRange, computeTimedResizeRange, getRecurrenceInstanceMetadata } from '@bimetal/calendar-core';
|
|
8
9
|
import { toDateStr, toTimeStr } from './date-strings.js';
|
|
9
10
|
/**
|
|
10
11
|
* Find the expanded event matching the drag payload. When `instanceDate` is
|
package/dist/drag-preview.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drag-preview.js","sourceRoot":"","sources":["../src/drag-preview.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,
|
|
1
|
+
{"version":3,"file":"drag-preview.js","sourceRoot":"","sources":["../src/drag-preview.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAC7J,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAqDzD;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAC/B,MAAgC,EAChC,OAAe,EACf,YAAqB;IAErB,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EA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AAI,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC;QACvE,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,YAAY;YAC1B,CAAC,CAAC,qBAAqB,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,IAAI,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC;YAC7E,CAAC,CAAC,IAAI,CAAC;IACX,OAAO,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AACnE,CAAC"}
|
package/dist/event-actions.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Framework-agnostic event actions adapter.
|
|
3
3
|
*
|
|
4
4
|
* Encapsulates the CalendarStore command pipeline for move, resize, save,
|
|
5
|
-
* and delete operations. All interaction logic delegates to @bimetal/
|
|
5
|
+
* and delete operations. All interaction logic delegates to @bimetal/temporal.
|
|
6
6
|
*
|
|
7
7
|
* **Instance-aware**: drag/drop and resize methods accept an expanded
|
|
8
8
|
* CalendarEvent. When the recurrence-instance markers are present
|
|
@@ -10,13 +10,29 @@
|
|
|
10
10
|
* route through `modifyInstance()` instead of `updateEvent()`, exactly
|
|
11
11
|
* like the dialog save path.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* **Internal (Surface-B):** this is a PRE-CANONICAL interaction helper. The
|
|
14
|
+
* canonical `createCalendarController` now owns all interaction semantics and
|
|
15
|
+
* consumes this internally; it is NOT part of the public framework contract and
|
|
16
|
+
* is no longer re-exported from the package barrel.
|
|
15
17
|
*/
|
|
16
18
|
import type { CalendarEvent, CalendarDateTime } from '@bimetal/calendar-core';
|
|
17
19
|
import type { CalendarStore, Unsubscribe } from '@bimetal/calendar-data';
|
|
20
|
+
/**
|
|
21
|
+
* bimetal-151 R1 (Review F2/F3): jede mutierende Action meldet, ob sie WIRKLICH
|
|
22
|
+
* dispatcht hat (`true`) oder als No-op zurückkam (`false` — degenerierter
|
|
23
|
+
* Move, leerer Resize). Der Controller braucht genau diese Aussage für seinen
|
|
24
|
+
* Undo-Ledger; die vorherige Sonde („ist die Historie gewachsen?") war zweimal
|
|
25
|
+
* falsch: sie kostete pro Mutation zwei Voll-Stream-Filter samt structuredClone
|
|
26
|
+
* (getHistory klont), und unter Nebenläufigkeit maß sie FREMDE Events mit —
|
|
27
|
+
* ein eingespieltes Kompensations-Event im Await-Fenster hätte einen Ledger-
|
|
28
|
+
* Eintrag ohne eigenen Frame gebucht und die reparierte Tür wieder geöffnet.
|
|
29
|
+
*/
|
|
18
30
|
export interface EventActions {
|
|
19
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Current master events as an OWNED deep copy. Updated on every store change.
|
|
33
|
+
* Consumers that only read should derive from the store's `peekEvents()` instead —
|
|
34
|
+
* this accessor clones the whole list on every call (mcp-74).
|
|
35
|
+
*/
|
|
20
36
|
getEvents(): CalendarEvent[];
|
|
21
37
|
/** Get events expanded for a time range (recurring events produce instances). */
|
|
22
38
|
getEventsInRange(start: CalendarDateTime, end: CalendarDateTime): CalendarEvent[];
|
|
@@ -26,31 +42,32 @@ export interface EventActions {
|
|
|
26
42
|
* as `modifyInstance()` (creates an exception, master series unchanged).
|
|
27
43
|
* Optional `resourceId` reassigns the event's resource.
|
|
28
44
|
*/
|
|
29
|
-
moveEvent(event: CalendarEvent, dropDate: CalendarDateTime, dayOffset: number, resourceId?: string): Promise<
|
|
45
|
+
moveEvent(event: CalendarEvent, dropDate: CalendarDateTime, dayOffset: number, resourceId?: string): Promise<boolean>;
|
|
30
46
|
/** Same as moveEvent for timed events (date+time). Instance-aware. */
|
|
31
|
-
moveTimedEvent(event: CalendarEvent, dropDate: CalendarDateTime, dropTime: string, minuteOffset: number, resourceId?: string): Promise<
|
|
47
|
+
moveTimedEvent(event: CalendarEvent, dropDate: CalendarDateTime, dropTime: string, minuteOffset: number, resourceId?: string): Promise<boolean>;
|
|
32
48
|
/** Resize an allDay event by moving start or end edge. Instance-aware. */
|
|
33
|
-
resizeEvent(event: CalendarEvent, dropDate: CalendarDateTime, edge: 'start' | 'end'): Promise<
|
|
49
|
+
resizeEvent(event: CalendarEvent, dropDate: CalendarDateTime, edge: 'start' | 'end'): Promise<boolean>;
|
|
34
50
|
/** Resize a timed event by moving start or end edge. Instance-aware. */
|
|
35
|
-
resizeTimedEvent(event: CalendarEvent, dropDate: CalendarDateTime, dropTime: string, edge: 'start' | 'end'): Promise<
|
|
51
|
+
resizeTimedEvent(event: CalendarEvent, dropDate: CalendarDateTime, dropTime: string, edge: 'start' | 'end'): Promise<boolean>;
|
|
36
52
|
/**
|
|
37
53
|
* Day-grain resize used by Timeline view: always snaps to day boundaries
|
|
38
54
|
* regardless of event.allDay. Instance-aware.
|
|
39
55
|
*/
|
|
40
|
-
resizeEventByDay(event: CalendarEvent, dropDate: CalendarDateTime, edge: 'start' | 'end'): Promise<
|
|
56
|
+
resizeEventByDay(event: CalendarEvent, dropDate: CalendarDateTime, edge: 'start' | 'end'): Promise<boolean>;
|
|
41
57
|
/** Create or update an event (upsert). */
|
|
42
|
-
saveEvent(event: CalendarEvent): Promise<
|
|
58
|
+
saveEvent(event: CalendarEvent): Promise<boolean>;
|
|
43
59
|
/** Delete an event by id. */
|
|
44
|
-
deleteEvent(eventId: string): Promise<
|
|
60
|
+
deleteEvent(eventId: string): Promise<boolean>;
|
|
45
61
|
/** Modify a single instance of a recurring event. */
|
|
46
|
-
modifyInstance(masterId: string, instanceDate: CalendarDateTime, changes: Partial<CalendarEvent>): Promise<
|
|
62
|
+
modifyInstance(masterId: string, instanceDate: CalendarDateTime, changes: Partial<CalendarEvent>): Promise<boolean>;
|
|
47
63
|
/** Delete a single instance of a recurring event. */
|
|
48
|
-
deleteInstance(masterId: string, instanceDate: CalendarDateTime): Promise<
|
|
64
|
+
deleteInstance(masterId: string, instanceDate: CalendarDateTime): Promise<boolean>;
|
|
49
65
|
/**
|
|
50
|
-
* Subscribe to event changes
|
|
51
|
-
*
|
|
66
|
+
* Subscribe to event changes — **notification-only**, no payload (mcp-74). Called
|
|
67
|
+
* whenever the store state changes; re-read via the store's `peekEvents()` (cheap,
|
|
68
|
+
* stable refs) or `getEvents()` (owned copy). Returns an unsubscribe function.
|
|
52
69
|
*/
|
|
53
|
-
subscribe(
|
|
70
|
+
subscribe(listener: () => void): Unsubscribe;
|
|
54
71
|
/** Unsubscribe from the store. Call when the adapter is no longer needed. */
|
|
55
72
|
destroy(): void;
|
|
56
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-actions.d.ts","sourceRoot":"","sources":["../src/event-actions.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"event-actions.d.ts","sourceRoot":"","sources":["../src/event-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAa,MAAM,wBAAwB,CAAC;AAGzF,OAAO,KAAK,EAAE,aAAa,EAA0C,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGjH;;;;;;;;;GASG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,SAAS,IAAI,aAAa,EAAE,CAAC;IAC7B,iFAAiF;IACjF,gBAAgB,CAAC,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,gBAAgB,GAAG,aAAa,EAAE,CAAC;IAElF;;;;;OAKG;IACH,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACtH,sEAAsE;IACtE,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,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