@bimetal/calendar-angular-components 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 -129
- package/README.md +1 -1
- package/dist/binding/controller.d.ts +10 -1
- package/dist/binding/controller.d.ts.map +1 -1
- package/dist/binding/controller.js +11 -1
- package/dist/binding/controller.js.map +1 -1
- package/dist/binding/index.d.ts +5 -5
- package/dist/binding/index.d.ts.map +1 -1
- package/dist/binding/index.js +5 -5
- package/dist/binding/index.js.map +1 -1
- package/dist/binding/services/event-render.service.d.ts +9 -0
- package/dist/binding/services/event-render.service.d.ts.map +1 -1
- package/dist/binding/services/event-render.service.js +11 -0
- package/dist/binding/services/event-render.service.js.map +1 -1
- package/dist/binding/services/pointer-gesture.service.d.ts +26 -0
- package/dist/binding/services/pointer-gesture.service.d.ts.map +1 -0
- package/dist/binding/services/pointer-gesture.service.js +37 -0
- package/dist/binding/services/pointer-gesture.service.js.map +1 -0
- package/dist/components/Calendar.d.ts +47 -8
- package/dist/components/Calendar.d.ts.map +1 -1
- package/dist/components/Calendar.js +183 -63
- package/dist/components/Calendar.js.map +1 -1
- package/dist/components/CalendarHeader.d.ts +12 -1
- package/dist/components/CalendarHeader.d.ts.map +1 -1
- package/dist/components/CalendarHeader.js +66 -14
- package/dist/components/CalendarHeader.js.map +1 -1
- package/dist/components/CategoryFilter.d.ts +4 -0
- package/dist/components/CategoryFilter.d.ts.map +1 -1
- package/dist/components/CategoryFilter.js +10 -5
- package/dist/components/CategoryFilter.js.map +1 -1
- package/dist/components/EventBar.d.ts +15 -4
- package/dist/components/EventBar.d.ts.map +1 -1
- package/dist/components/EventBar.js +108 -37
- package/dist/components/EventBar.js.map +1 -1
- package/dist/components/EventDialog.d.ts +11 -4
- package/dist/components/EventDialog.d.ts.map +1 -1
- package/dist/components/EventDialog.js +86 -44
- package/dist/components/EventDialog.js.map +1 -1
- package/dist/components/EventHistory.d.ts +14 -9
- package/dist/components/EventHistory.d.ts.map +1 -1
- package/dist/components/EventHistory.js +59 -55
- package/dist/components/EventHistory.js.map +1 -1
- package/dist/components/UndoToast.d.ts +9 -5
- package/dist/components/UndoToast.d.ts.map +1 -1
- package/dist/components/UndoToast.js +16 -27
- package/dist/components/UndoToast.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css.d.ts +3 -0
- package/dist/views/agenda/AgendaView.d.ts +1 -0
- package/dist/views/agenda/AgendaView.d.ts.map +1 -1
- package/dist/views/agenda/AgendaView.js +9 -2
- package/dist/views/agenda/AgendaView.js.map +1 -1
- package/dist/views/day/DayView.d.ts +30 -4
- package/dist/views/day/DayView.d.ts.map +1 -1
- package/dist/views/day/DayView.js +61 -17
- package/dist/views/day/DayView.js.map +1 -1
- package/dist/views/month/MonthView.d.ts +21 -4
- package/dist/views/month/MonthView.d.ts.map +1 -1
- package/dist/views/month/MonthView.js +66 -12
- package/dist/views/month/MonthView.js.map +1 -1
- package/dist/views/month/WeekRow.d.ts +28 -4
- package/dist/views/month/WeekRow.d.ts.map +1 -1
- package/dist/views/month/WeekRow.js +100 -29
- package/dist/views/month/WeekRow.js.map +1 -1
- package/dist/views/resource/ResourceView.d.ts +32 -1
- package/dist/views/resource/ResourceView.d.ts.map +1 -1
- package/dist/views/resource/ResourceView.js +84 -22
- package/dist/views/resource/ResourceView.js.map +1 -1
- package/dist/views/timeline/TimelineView.d.ts +29 -3
- package/dist/views/timeline/TimelineView.d.ts.map +1 -1
- package/dist/views/timeline/TimelineView.js +83 -17
- package/dist/views/timeline/TimelineView.js.map +1 -1
- package/dist/views/week/AllDayRow.d.ts +21 -3
- package/dist/views/week/AllDayRow.d.ts.map +1 -1
- package/dist/views/week/AllDayRow.js +60 -13
- package/dist/views/week/AllDayRow.js.map +1 -1
- package/dist/views/week/TimeEvent.d.ts +20 -4
- package/dist/views/week/TimeEvent.d.ts.map +1 -1
- package/dist/views/week/TimeEvent.js +101 -31
- package/dist/views/week/TimeEvent.js.map +1 -1
- package/dist/views/week/WeekView.d.ts +25 -2
- package/dist/views/week/WeekView.d.ts.map +1 -1
- package/dist/views/week/WeekView.js +69 -21
- package/dist/views/week/WeekView.js.map +1 -1
- package/dist/views/year/YearView.d.ts +11 -4
- package/dist/views/year/YearView.d.ts.map +1 -1
- package/dist/views/year/YearView.js +26 -5
- package/dist/views/year/YearView.js.map +1 -1
- package/package.json +16 -13
package/LICENSE
CHANGED
|
@@ -1,129 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
the
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Personal use for research, experiment, and testing for
|
|
59
|
-
the benefit of public knowledge, personal study, private
|
|
60
|
-
entertainment, hobby projects, amateur pursuits, or religious
|
|
61
|
-
observance, without any anticipated commercial application,
|
|
62
|
-
is use for a permitted purpose.
|
|
63
|
-
|
|
64
|
-
## Noncommercial Organizations
|
|
65
|
-
|
|
66
|
-
Use by any charitable organization, educational institution,
|
|
67
|
-
public research organization, public safety or health
|
|
68
|
-
organization, environmental protection organization,
|
|
69
|
-
or government institution is use for a permitted purpose
|
|
70
|
-
regardless of the source of funding or obligations resulting
|
|
71
|
-
from the funding.
|
|
72
|
-
|
|
73
|
-
## Fair Use
|
|
74
|
-
|
|
75
|
-
You may have "fair use" rights for the software under the
|
|
76
|
-
law. These terms do not limit them.
|
|
77
|
-
|
|
78
|
-
## No Other Rights
|
|
79
|
-
|
|
80
|
-
These terms do not allow you to sublicense or transfer any of
|
|
81
|
-
your licenses to anyone else, or prevent the licensor from
|
|
82
|
-
granting licenses to anyone else. These terms do not imply
|
|
83
|
-
any other licenses.
|
|
84
|
-
|
|
85
|
-
## Patent Defense
|
|
86
|
-
|
|
87
|
-
If you make any written claim that the software infringes or
|
|
88
|
-
contributes to infringement of any patent, your patent license
|
|
89
|
-
for the software granted under these terms ends immediately. If
|
|
90
|
-
your company makes such a claim, your patent license ends
|
|
91
|
-
immediately for work on behalf of your company.
|
|
92
|
-
|
|
93
|
-
## Violations
|
|
94
|
-
|
|
95
|
-
The first time you are notified in writing that you have
|
|
96
|
-
violated any of these terms, or any agreement made under them,
|
|
97
|
-
you have 32 calendar days to come into compliance. If you come
|
|
98
|
-
into compliance, your licenses revive and continue as if you had
|
|
99
|
-
never violated.
|
|
100
|
-
|
|
101
|
-
## No Liability
|
|
102
|
-
|
|
103
|
-
***As far as the law allows, the software comes as is, without
|
|
104
|
-
any warranty or condition, and the licensor will not be liable
|
|
105
|
-
to you for any damages arising out of these terms or the use
|
|
106
|
-
or nature of the software, under any kind of legal claim.***
|
|
107
|
-
|
|
108
|
-
## Definitions
|
|
109
|
-
|
|
110
|
-
The **licensor** is the individual or entity offering these
|
|
111
|
-
terms, and the **software** is the software the licensor makes
|
|
112
|
-
available under these terms.
|
|
113
|
-
|
|
114
|
-
**You** refers to the individual or entity agreeing to these
|
|
115
|
-
terms.
|
|
116
|
-
|
|
117
|
-
**Your company** is any legal entity, sole proprietorship,
|
|
118
|
-
or other kind of organization that you work for, plus all
|
|
119
|
-
organizations that have control over, are under the control of,
|
|
120
|
-
or are under common control with that organization. **Control**
|
|
121
|
-
means ownership of substantially all the assets of an entity,
|
|
122
|
-
or the power to direct its management and policies by vote,
|
|
123
|
-
contract, or otherwise. Control can be direct or indirect.
|
|
124
|
-
|
|
125
|
-
**Your licenses** are all the licenses granted to you for the
|
|
126
|
-
software under these terms.
|
|
127
|
-
|
|
128
|
-
**Use** means anything you do with the software requiring one
|
|
129
|
-
of your licenses.
|
|
1
|
+
Copyright 2026 Andreas Biederbeck
|
|
2
|
+
|
|
3
|
+
Apache License
|
|
4
|
+
|
|
5
|
+
Version 2.0, January 2004
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/
|
|
8
|
+
|
|
9
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
10
|
+
|
|
11
|
+
1. Definitions.
|
|
12
|
+
|
|
13
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
14
|
+
|
|
15
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
18
|
+
|
|
19
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
20
|
+
|
|
21
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
22
|
+
|
|
23
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
24
|
+
|
|
25
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
26
|
+
|
|
27
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
28
|
+
|
|
29
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
30
|
+
|
|
31
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
32
|
+
|
|
33
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
34
|
+
|
|
35
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
36
|
+
|
|
37
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
38
|
+
|
|
39
|
+
You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
40
|
+
|
|
41
|
+
You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
42
|
+
|
|
43
|
+
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
44
|
+
|
|
45
|
+
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
46
|
+
|
|
47
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
48
|
+
|
|
49
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
50
|
+
|
|
51
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
52
|
+
|
|
53
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
54
|
+
|
|
55
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
56
|
+
|
|
57
|
+
END OF TERMS AND CONDITIONS
|
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ Sämtliche Interaktionslogik liegt im kanonischen `createCalendarController` aus
|
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
@bimetal/event-sourcing → @bimetal/calendar-data → @bimetal/calendar-rules → @bimetal/calendar-headless
|
|
50
|
-
@bimetal/
|
|
50
|
+
@bimetal/temporal ───────────────────┘ ↓
|
|
51
51
|
@bimetal/angular (services)
|
|
52
52
|
↓
|
|
53
53
|
@bimetal/calendar-angular-components (UI)
|
|
@@ -18,5 +18,14 @@ export interface CalendarControllerBinding {
|
|
|
18
18
|
readonly ctrl: CalendarController;
|
|
19
19
|
destroy(): void;
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Create the controller and bridge it into an Angular signal (see above).
|
|
23
|
+
*
|
|
24
|
+
* OPTIONEN: GETTER ODER OBJEKT (bimetal-181). Der Getter (`() => ({ … })`) hält die
|
|
25
|
+
* IDENTITÄT der Callbacks lebendig — er wird bei jedem Callback-Aufruf erneut
|
|
26
|
+
* gerufen; ein rohes Objekt bleibt erlaubt und verhält sich wie ein Getter, der
|
|
27
|
+
* immer dasselbe baut. Die ANWESENHEIT eines Callbacks ist in beiden Formen am
|
|
28
|
+
* Aufbau festgelegt (`toLiveOptions`).
|
|
29
|
+
*/
|
|
30
|
+
export declare function createCalendarControllerBinding(options: CalendarControllerOptions | (() => CalendarControllerOptions), zone?: NgZone): CalendarControllerBinding;
|
|
22
31
|
//# sourceMappingURL=controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../src/binding/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../../src/binding/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAGjE,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,4BAA4B,CAAC;AAEpC;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,0BAA0B,CAAC,CAAC;IACtD,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,OAAO,IAAI,IAAI,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,yBAAyB,GAAG,CAAC,MAAM,yBAAyB,CAAC,EACtE,IAAI,CAAC,EAAE,MAAM,GACZ,yBAAyB,CAc3B"}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { signal } from '@angular/core';
|
|
2
|
+
import { toLiveOptions } from '@bimetal/angular';
|
|
2
3
|
import { createCalendarController } from '@bimetal/calendar-headless';
|
|
4
|
+
/**
|
|
5
|
+
* Create the controller and bridge it into an Angular signal (see above).
|
|
6
|
+
*
|
|
7
|
+
* OPTIONEN: GETTER ODER OBJEKT (bimetal-181). Der Getter (`() => ({ … })`) hält die
|
|
8
|
+
* IDENTITÄT der Callbacks lebendig — er wird bei jedem Callback-Aufruf erneut
|
|
9
|
+
* gerufen; ein rohes Objekt bleibt erlaubt und verhält sich wie ein Getter, der
|
|
10
|
+
* immer dasselbe baut. Die ANWESENHEIT eines Callbacks ist in beiden Formen am
|
|
11
|
+
* Aufbau festgelegt (`toLiveOptions`).
|
|
12
|
+
*/
|
|
3
13
|
export function createCalendarControllerBinding(options, zone) {
|
|
4
|
-
const ctrl = createCalendarController(options);
|
|
14
|
+
const ctrl = createCalendarController(toLiveOptions(options));
|
|
5
15
|
const snapshot = signal(ctrl.getSnapshot());
|
|
6
16
|
const run = zone ? (fn) => zone.run(fn) : (fn) => fn();
|
|
7
17
|
const unsub = ctrl.subscribe(() => run(() => snapshot.set(ctrl.getSnapshot())));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.js","sourceRoot":"","sources":["../../src/binding/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA4B,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AA0BtE,MAAM,UAAU,+BAA+B,CAC7C,
|
|
1
|
+
{"version":3,"file":"controller.js","sourceRoot":"","sources":["../../src/binding/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA4B,MAAM,eAAe,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AA0BtE;;;;;;;;GAQG;AACH,MAAM,UAAU,+BAA+B,CAC7C,OAAsE,EACtE,IAAa;IAEb,MAAM,IAAI,GAAG,wBAAwB,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,MAAM,QAAQ,GAAG,MAAM,CAA6B,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;IACxE,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,EAAc,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAc,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;IAC/E,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC;IAEhF,OAAO;QACL,QAAQ;QACR,IAAI;QACJ,OAAO;YACL,KAAK,EAAE,CAAC;YACR,IAAI,CAAC,OAAO,EAAE,CAAC;QACjB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/binding/index.d.ts
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
export { createCalendarControllerBinding } from './controller.js';
|
|
11
11
|
export type { CalendarControllerBinding } from './controller.js';
|
|
12
12
|
export { createCalendarController } from '@bimetal/calendar-headless';
|
|
13
|
-
export type { CalendarController, CalendarControllerOptions, CalendarControllerSnapshot, CustomViewSpec, SelectionState, } from '@bimetal/calendar-headless';
|
|
13
|
+
export type { CalendarController, CalendarControllerOptions, EventInteractionPolicy, ResolvedEventInteraction, CalendarControllerSnapshot, CustomViewSpec, SelectionState, } from '@bimetal/calendar-headless';
|
|
14
14
|
export { EventRenderService } from './services/event-render.service.js';
|
|
15
|
+
export { CalendarPointerGestureService } from './services/pointer-gesture.service.js';
|
|
15
16
|
export type { CalendarConfig, CalendarConfigInput, CalendarLocale, Category, ViewConfig, AnchorRect, CustomViewDefinition, CustomViewInputs, EventDialogInputs, EventDialogMode, EventRenderContext, EventRenderTemplateContext, EventRenderTemplate, EventClassNameFn, EventStyleFn, EventTitleFn, } from './types.js';
|
|
16
17
|
export type { DragPreview, DragInfo } from '@bimetal/calendar-headless';
|
|
17
|
-
export { snapTimeFromMouseY, parseDragInfo, DRAG_MIME, findExpandedEvent, buildDragInfo, writeCalendarDragData
|
|
18
|
+
export { snapTimeFromMouseY, parseDragInfo, DRAG_MIME, findExpandedEvent, buildDragInfo, writeCalendarDragData } from '@bimetal/calendar-headless';
|
|
19
|
+
export { installTransparentDragImage } from '@bimetal/a11y-dom';
|
|
18
20
|
export { WEEK_NUM_COL_WIDTH, getColFromX, ZERO_RECT } from '@bimetal/calendar-headless';
|
|
19
21
|
export { defaultLocale, defaultCalendarConfig, mergeCalendarConfig } from './config.js';
|
|
20
22
|
export { createViewConfigs } from './view-configs.js';
|
|
21
|
-
export { toDateStr, toTimeStr, parseDateStr, parseDateTimeStr } from '@bimetal/calendar-headless';
|
|
22
|
-
export * from '@bimetal/calendar-data';
|
|
23
|
-
export * from '@bimetal/calendar-rules';
|
|
23
|
+
export { toDateStr, toTimeStr, formatTime, parseDateStr, parseDateTimeStr } from '@bimetal/calendar-headless';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/binding/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAClE,YAAY,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAGjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EACV,kBAAkB,EAClB,yBAAyB,EACzB,0BAA0B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AAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/binding/index.js
CHANGED
|
@@ -13,14 +13,14 @@ export { createCalendarControllerBinding } from './controller.js';
|
|
|
13
13
|
export { createCalendarController } from '@bimetal/calendar-headless';
|
|
14
14
|
// ── Services ───────────────────────────────────────────────────
|
|
15
15
|
export { EventRenderService } from './services/event-render.service.js';
|
|
16
|
-
export {
|
|
16
|
+
export { CalendarPointerGestureService } from './services/pointer-gesture.service.js';
|
|
17
|
+
export { snapTimeFromMouseY, parseDragInfo, DRAG_MIME, findExpandedEvent, buildDragInfo, writeCalendarDragData } from '@bimetal/calendar-headless';
|
|
18
|
+
// mcp-51 C1: der Drag-Ghost ist echter DOM-Code und lebt jetzt im geteilten DOM-Layer.
|
|
19
|
+
export { installTransparentDragImage } from '@bimetal/a11y-dom';
|
|
17
20
|
export { WEEK_NUM_COL_WIDTH, getColFromX, ZERO_RECT } from '@bimetal/calendar-headless';
|
|
18
21
|
// ── Config ──────────────────────────────────────────────────────
|
|
19
22
|
export { defaultLocale, defaultCalendarConfig, mergeCalendarConfig } from './config.js';
|
|
20
23
|
export { createViewConfigs } from './view-configs.js';
|
|
21
24
|
// ── Utilities ───────────────────────────────────────────────────
|
|
22
|
-
export { toDateStr, toTimeStr, parseDateStr, parseDateTimeStr } from '@bimetal/calendar-headless';
|
|
23
|
-
// ── Re-export calendar data + rules for convenience ─────────────
|
|
24
|
-
export * from '@bimetal/calendar-data';
|
|
25
|
-
export * from '@bimetal/calendar-rules';
|
|
25
|
+
export { toDateStr, toTimeStr, formatTime, parseDateStr, parseDateTimeStr } from '@bimetal/calendar-headless';
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/binding/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,kEAAkE;AAClE,OAAO,EAAE,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAGlE,mEAAmE;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/binding/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,kEAAkE;AAClE,OAAO,EAAE,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAGlE,mEAAmE;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAWtE,kEAAkE;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AAsBtF,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnJ,uFAAuF;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAExF,mEAAmE;AACnE,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,mEAAmE;AACnE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type TemplateRef } from '@angular/core';
|
|
2
2
|
import type { CalendarEvent, ViewType } from '@bimetal/calendar-core';
|
|
3
|
+
import type { ResolvedEventInteraction } from '@bimetal/calendar-headless';
|
|
3
4
|
import type { EventClassNameFn, EventRenderContext, EventRenderTemplateContext, EventStyleFn, EventTitleFn } from '../types.js';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
@@ -21,6 +22,14 @@ export declare class EventRenderService {
|
|
|
21
22
|
eventClassName?: EventClassNameFn;
|
|
22
23
|
eventStyle?: EventStyleFn;
|
|
23
24
|
eventTitle?: EventTitleFn;
|
|
25
|
+
/**
|
|
26
|
+
* Per-event interaction resolver (ticket-19) — the controller's memoized
|
|
27
|
+
* `getEventInteraction`, written by Calendar. Leaf render sites read it so the
|
|
28
|
+
* affordance reflects the SAME source the controller enforces on.
|
|
29
|
+
*/
|
|
30
|
+
getEventInteraction?: (event: CalendarEvent) => ResolvedEventInteraction;
|
|
31
|
+
/** Resolve the interaction policy; fully interactive when no resolver is set. */
|
|
32
|
+
resolveInteraction(event: CalendarEvent): ResolvedEventInteraction;
|
|
24
33
|
/**
|
|
25
34
|
* Compute the render context for an event: which view, and which instance
|
|
26
35
|
* (for recurring events).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-render.service.d.ts","sourceRoot":"","sources":["../../../src/binding/services/event-render.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAoB,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAExF,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,YAAY,EACb,MAAM,aAAa,CAAC;;AAErB;;;;;;;;;;GAUG;AACH,qBACa,kBAAkB;IAC7B,mFAAmF;IACnF,IAAI,EAAE,QAAQ,CAAW;IAEzB,cAAc,CAAC,EAAE,WAAW,CAAC,0BAA0B,CAAC,CAAC;IACzD,eAAe,CAAC,EAAE,WAAW,CAAC,0BAA0B,CAAC,CAAC;IAC1D,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC;IAE1B;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,kBAAkB;IAStD,+DAA+D;IAC/D,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM;IAK1C,qEAAqE;IACrE,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM;IAI9C,sDAAsD;IACtD,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS;IAI/E,kEAAkE;IAClE,oBAAoB,CAAC,KAAK,EAAE,aAAa,GAAG,0BAA0B;
|
|
1
|
+
{"version":3,"file":"event-render.service.d.ts","sourceRoot":"","sources":["../../../src/binding/services/event-render.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAoB,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAExF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EACV,gBAAgB,EAChB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,YAAY,EACb,MAAM,aAAa,CAAC;;AAErB;;;;;;;;;;GAUG;AACH,qBACa,kBAAkB;IAC7B,mFAAmF;IACnF,IAAI,EAAE,QAAQ,CAAW;IAEzB,cAAc,CAAC,EAAE,WAAW,CAAC,0BAA0B,CAAC,CAAC;IACzD,eAAe,CAAC,EAAE,WAAW,CAAC,0BAA0B,CAAC,CAAC;IAC1D,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC;IAE1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,wBAAwB,CAAC;IAEzE,iFAAiF;IACjF,kBAAkB,CAAC,KAAK,EAAE,aAAa,GAAG,wBAAwB;IAKlE;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,kBAAkB;IAStD,+DAA+D;IAC/D,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM;IAK1C,qEAAqE;IACrE,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM;IAI9C,sDAAsD;IACtD,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS;IAI/E,kEAAkE;IAClE,oBAAoB,CAAC,KAAK,EAAE,aAAa,GAAG,0BAA0B;yCArD3D,kBAAkB;6CAAlB,kBAAkB;CAyD9B"}
|
|
@@ -20,6 +20,17 @@ export class EventRenderService {
|
|
|
20
20
|
eventClassName;
|
|
21
21
|
eventStyle;
|
|
22
22
|
eventTitle;
|
|
23
|
+
/**
|
|
24
|
+
* Per-event interaction resolver (ticket-19) — the controller's memoized
|
|
25
|
+
* `getEventInteraction`, written by Calendar. Leaf render sites read it so the
|
|
26
|
+
* affordance reflects the SAME source the controller enforces on.
|
|
27
|
+
*/
|
|
28
|
+
getEventInteraction;
|
|
29
|
+
/** Resolve the interaction policy; fully interactive when no resolver is set. */
|
|
30
|
+
resolveInteraction(event) {
|
|
31
|
+
return this.getEventInteraction?.(event)
|
|
32
|
+
?? { draggable: true, resizable: true, editable: true, deletable: true };
|
|
33
|
+
}
|
|
23
34
|
/**
|
|
24
35
|
* Compute the render context for an event: which view, and which instance
|
|
25
36
|
* (for recurring events).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-render.service.js","sourceRoot":"","sources":["../../../src/binding/services/event-render.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAoB,MAAM,eAAe,CAAC;AAE7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,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AAK,CAAC;IACjC,CAAC;IAED,qEAAqE;IACrE,gBAAgB,CAAC,KAAoB;QACnC,OAAO,IAAI,CAAC,cAAc,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC;IACtE,CAAC;IAED,sDAAsD;IACtD,YAAY,CAAC,KAAoB;QAC/B,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,kEAAkE;IAClE,oBAAoB,CAAC,KAAoB;QACvC,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QACrC,OAAO,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;IACnD,CAAC;4GAxDU,kBAAkB;gEAAlB,kBAAkB,WAAlB,kBAAkB;;iFAAlB,kBAAkB;cAD9B,UAAU"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mcp-57 Slice E — angular wiring for the ONE shared pointer-gesture FSM
|
|
3
|
+
* (`createPointerDragGesture`, calendar-headless). A VIEW component provides
|
|
4
|
+
* this service (component-level `providers: [...]`), configures it with its
|
|
5
|
+
* geometry in `ngOnInit`/`ngAfterViewInit` (closures over `this.*` stay
|
|
6
|
+
* fresh), and Angular destroys it with the view — which cancels a mid-flight
|
|
7
|
+
* gesture cleanly. Leaves inject it `@Optional()`: no providing ancestor =
|
|
8
|
+
* `null` = the leaf keeps its native-DnD fallback (a consumer view that
|
|
9
|
+
* mounts a leaf without a provider keeps a working drag). Nested providers
|
|
10
|
+
* override outer ones (AllDayRow inside WeekView), mirroring the other
|
|
11
|
+
* bindings' context nesting.
|
|
12
|
+
*/
|
|
13
|
+
import { OnDestroy } from '@angular/core';
|
|
14
|
+
import type { DragInfo, PointerDragGestureOptions } from '@bimetal/calendar-headless';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export declare class CalendarPointerGestureService implements OnDestroy {
|
|
17
|
+
private fsm;
|
|
18
|
+
/** Leaf entry — safe to call before init (no-op until the view configured it). */
|
|
19
|
+
readonly onPointerDown: (info: DragInfo, pointerId: number, clientX: number, clientY: number, markDragged: () => void) => void;
|
|
20
|
+
/** View-side: (re)configure the FSM with this view's geometry. */
|
|
21
|
+
init<H>(options: PointerDragGestureOptions<H>): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarPointerGestureService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarPointerGestureService>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=pointer-gesture.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pointer-gesture.service.d.ts","sourceRoot":"","sources":["../../../src/binding/services/pointer-gesture.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAc,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,KAAK,EAAE,QAAQ,EAAsB,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;;AAE1G,qBACa,6BAA8B,YAAW,SAAS;IAC7D,OAAO,CAAC,GAAG,CAAmC;IAE9C,kFAAkF;IAClF,QAAQ,CAAC,aAAa,GAAI,MAAM,QAAQ,EAAE,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,SAAS,MAAM,EAAE,aAAa,MAAM,IAAI,KAAG,IAAI,CAE3H;IAEF,kEAAkE;IAClE,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GAAG,IAAI;IAKpD,WAAW,IAAI,IAAI;yCAdR,6BAA6B;6CAA7B,6BAA6B;CAkBzC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mcp-57 Slice E — angular wiring for the ONE shared pointer-gesture FSM
|
|
3
|
+
* (`createPointerDragGesture`, calendar-headless). A VIEW component provides
|
|
4
|
+
* this service (component-level `providers: [...]`), configures it with its
|
|
5
|
+
* geometry in `ngOnInit`/`ngAfterViewInit` (closures over `this.*` stay
|
|
6
|
+
* fresh), and Angular destroys it with the view — which cancels a mid-flight
|
|
7
|
+
* gesture cleanly. Leaves inject it `@Optional()`: no providing ancestor =
|
|
8
|
+
* `null` = the leaf keeps its native-DnD fallback (a consumer view that
|
|
9
|
+
* mounts a leaf without a provider keeps a working drag). Nested providers
|
|
10
|
+
* override outer ones (AllDayRow inside WeekView), mirroring the other
|
|
11
|
+
* bindings' context nesting.
|
|
12
|
+
*/
|
|
13
|
+
import { Injectable } from '@angular/core';
|
|
14
|
+
import { createPointerDragGesture } from '@bimetal/calendar-headless';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export class CalendarPointerGestureService {
|
|
17
|
+
fsm = null;
|
|
18
|
+
/** Leaf entry — safe to call before init (no-op until the view configured it). */
|
|
19
|
+
onPointerDown = (info, pointerId, clientX, clientY, markDragged) => {
|
|
20
|
+
this.fsm?.onPointerDown(info, pointerId, clientX, clientY, markDragged);
|
|
21
|
+
};
|
|
22
|
+
/** View-side: (re)configure the FSM with this view's geometry. */
|
|
23
|
+
init(options) {
|
|
24
|
+
this.fsm?.destroy();
|
|
25
|
+
this.fsm = createPointerDragGesture(window, options);
|
|
26
|
+
}
|
|
27
|
+
ngOnDestroy() {
|
|
28
|
+
this.fsm?.destroy();
|
|
29
|
+
this.fsm = null;
|
|
30
|
+
}
|
|
31
|
+
static ɵfac = function CalendarPointerGestureService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CalendarPointerGestureService)(); };
|
|
32
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CalendarPointerGestureService, factory: CalendarPointerGestureService.ɵfac });
|
|
33
|
+
}
|
|
34
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CalendarPointerGestureService, [{
|
|
35
|
+
type: Injectable
|
|
36
|
+
}], null, null); })();
|
|
37
|
+
//# sourceMappingURL=pointer-gesture.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pointer-gesture.service.js","sourceRoot":"","sources":["../../../src/binding/services/pointer-gesture.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;;AAItE,MAAM,OAAO,6BAA6B;IAChC,GAAG,GAA8B,IAAI,CAAC;IAE9C,kFAAkF;IACzE,aAAa,GAAG,CAAC,IAAc,EAAE,SAAiB,EAAE,OAAe,EAAE,OAAe,EAAE,WAAuB,EAAQ,EAAE;QAC9H,IAAI,CAAC,GAAG,EAAE,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC1E,CAAC,CAAC;IAEF,kEAAkE;IAClE,IAAI,CAAI,OAAqC;QAC3C,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC;QACpB,IAAI,CAAC,GAAG,GAAG,wBAAwB,CAAI,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,WAAW;QACT,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC;QACpB,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC;IAClB,CAAC;uHAjBU,6BAA6B;gEAA7B,6BAA6B,WAA7B,6BAA6B;;iFAA7B,6BAA6B;cADzC,UAAU"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { OnInit, OnDestroy, OnChanges, SimpleChanges, NgZone, TemplateRef, type Type } from '@angular/core';
|
|
2
2
|
import type { CalendarEvent, CalendarDateTime, ViewType, Resource } from '@bimetal/calendar-core';
|
|
3
|
-
import { getYear, getMonth } from '@bimetal/
|
|
3
|
+
import { getYear, getMonth, monthIndex } from '@bimetal/temporal';
|
|
4
4
|
import type { CalendarStore } from '@bimetal/calendar-data';
|
|
5
|
-
import type { CalendarRule } from '@bimetal/calendar-rules';
|
|
5
|
+
import type { CalendarRule, CalendarRuleResult } from '@bimetal/calendar-rules';
|
|
6
6
|
import { type CalendarController, EventRenderService } from '../binding/index.js';
|
|
7
7
|
import type { CalendarConfig, CalendarConfigInput, ViewConfig, CustomViewDefinition, CustomViewInputs, EventDialogMode, EventDialogInputs, AnchorRect, EventClassNameFn, EventStyleFn, EventTitleFn, EventRenderTemplateContext } from '../binding/index.js';
|
|
8
|
-
import type { CalendarControllerSnapshot } from '@bimetal/calendar-headless';
|
|
8
|
+
import type { CalendarControllerSnapshot, EventInteractionPolicy, CalendarHistoryChange, CalendarHistoryEntry } from '@bimetal/calendar-headless';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* Root calendar component: renders header, filters, the active view, and the
|
|
12
|
+
* event dialog, wiring them all to the calendar controller.
|
|
13
|
+
* Dual API: creates + owns a controller from `store`/`config`/`rules` (STANDALONE)
|
|
14
|
+
* unless a `controller` Input is supplied, in which case it only subscribes to it
|
|
15
|
+
* (BOUND — the host owns lifecycle and reconfiguration).
|
|
16
|
+
*/
|
|
10
17
|
export declare class CalendarComponent implements OnInit, OnDestroy, OnChanges {
|
|
11
18
|
eventRenderService?: EventRenderService | undefined;
|
|
12
19
|
private zone?;
|
|
@@ -24,6 +31,9 @@ export declare class CalendarComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
24
31
|
dir?: 'ltr' | 'rtl';
|
|
25
32
|
showCategoryFilter: boolean;
|
|
26
33
|
showResourceFilter: boolean;
|
|
34
|
+
/** Show the undo/redo button pair in the header (default true). UI-only — the
|
|
35
|
+
* controller's undo()/redo() and the keyboard shortcuts stay active when hidden. */
|
|
36
|
+
showUndoRedo: boolean;
|
|
27
37
|
customViews?: readonly CustomViewDefinition[];
|
|
28
38
|
eventDialog: EventDialogMode;
|
|
29
39
|
onEventClick?: (eventId: string, anchorRect: AnchorRect, instanceDate?: number) => void;
|
|
@@ -34,9 +44,15 @@ export declare class CalendarComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
34
44
|
eventId: string;
|
|
35
45
|
instanceDate?: number;
|
|
36
46
|
} | null) => void;
|
|
37
|
-
/** Controller error channel:
|
|
38
|
-
*
|
|
47
|
+
/** Controller error channel (ticket-32): EVERY dispatch rejection — a domain rule
|
|
48
|
+
* violation, a ConcurrencyError, a storage failure or a bug — is passed here instead
|
|
49
|
+
* of rejecting. No error becomes a toast inside the calendar; presentation is the app's. */
|
|
39
50
|
onError?: (err: unknown) => void;
|
|
51
|
+
/** OBSERVE hook: fires when history (undo/redo availability) changes — see
|
|
52
|
+
* {@link CalendarHistoryChange}. The app decides whether to surface a toast. */
|
|
53
|
+
onHistoryChange?: (change: CalendarHistoryChange) => void;
|
|
54
|
+
/** OBSERVE hook: fires with the non-blocking rule warnings for the last mutation. */
|
|
55
|
+
onWarning?: (warnings: readonly CalendarRuleResult[]) => void;
|
|
40
56
|
/** Template projected after the default content zone of every event. */
|
|
41
57
|
eventBadgesTpl?: TemplateRef<EventRenderTemplateContext>;
|
|
42
58
|
/** Template replacing the default content zone of every event. */
|
|
@@ -47,6 +63,20 @@ export declare class CalendarComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
47
63
|
eventStyle?: EventStyleFn;
|
|
48
64
|
/** Per-event title override. Return undefined to keep event.title. */
|
|
49
65
|
eventTitle?: EventTitleFn;
|
|
66
|
+
/** Per-event interaction policy (ticket-19): a PURE function of the event returning
|
|
67
|
+
* which interactions it allows (`draggable`/`resizable`/`editable`/`deletable`, or
|
|
68
|
+
* `locked` for all-off). The controller enforces it AND exposes it so the views drop
|
|
69
|
+
* the matching affordance. Read at controller creation — pass a stable function. */
|
|
70
|
+
eventInteraction?: (event: CalendarEvent) => EventInteractionPolicy;
|
|
71
|
+
/** bimetal-147: macht aus der Audit-Id `event.metadata.userId` den in der
|
|
72
|
+
* eingebauten Historie angezeigten Text. Ohne den Hook zeigt die Historie die
|
|
73
|
+
* Id roh — sie erfindet nie einen Namen. Nur auf dem STANDALONE-Pfad ein Input;
|
|
74
|
+
* wer den Controller selbst besitzt, setzt ihn dort als Option. Wie
|
|
75
|
+
* `eventInteraction` bei der Controller-Erzeugung gelesen — eine STABILE
|
|
76
|
+
* Funktion übergeben; ein späterer `@Input()`-Wechsel wird NICHT nachgezogen
|
|
77
|
+
* (kein `ngOnChanges`-Pfad), auch wenn ein Input sonst Reaktivität erwarten
|
|
78
|
+
* lässt. */
|
|
79
|
+
resolveActor?: (userId: string) => string | undefined;
|
|
50
80
|
/** STANDALONE only — the bound path leaves the owned controller untouched. */
|
|
51
81
|
private binding?;
|
|
52
82
|
private bound;
|
|
@@ -59,6 +89,7 @@ export declare class CalendarComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
59
89
|
get snapshot(): CalendarControllerSnapshot;
|
|
60
90
|
getYear: typeof getYear;
|
|
61
91
|
getMonth: typeof getMonth;
|
|
92
|
+
monthIndex: typeof monthIndex;
|
|
62
93
|
/** v0.29 Tastatur: root-scoped keydown → controller (Ctrl/Cmd+Z undo, Escape clears).
|
|
63
94
|
* Bound via the `.bm-cal` root's `(keydown)` in the template — NOT a window listener
|
|
64
95
|
* (no document-level routing). Public so the template can call it. */
|
|
@@ -72,28 +103,36 @@ export declare class CalendarComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
72
103
|
/** Builtin dialog save: the controller assembles + mints + validates + saves. */
|
|
73
104
|
saveDialogFromInput(): void;
|
|
74
105
|
get mergedConfig(): CalendarConfig;
|
|
75
|
-
|
|
106
|
+
private eventsCopy;
|
|
76
107
|
get filteredEvents(): CalendarEvent[];
|
|
108
|
+
private viewConfigCopy;
|
|
109
|
+
get viewConfigList(): ViewConfig[];
|
|
77
110
|
get visibleResources(): readonly Resource[];
|
|
78
111
|
get selectedEventId(): string | null;
|
|
79
112
|
get selectedInstanceDate(): number | undefined;
|
|
80
|
-
|
|
113
|
+
private historyCache;
|
|
114
|
+
get dialogHistory(): readonly CalendarHistoryEntry[];
|
|
81
115
|
private syncEventRenderService;
|
|
82
116
|
ngOnInit(): void;
|
|
83
117
|
ngOnChanges(changes: SimpleChanges): void;
|
|
84
118
|
ngOnDestroy(): void;
|
|
85
119
|
handleViewChange(v: ViewType): void;
|
|
86
120
|
getCustomView(id: ViewType): CustomViewDefinition | undefined;
|
|
121
|
+
private customViewInputsCache;
|
|
87
122
|
get customViewInputs(): CustomViewInputs;
|
|
88
123
|
/** Component class for the custom dialog (template binding helper). */
|
|
89
124
|
get customDialogComponent(): Type<unknown> | null;
|
|
90
125
|
/** Inputs passed to the custom dialog via *ngComponentOutlet. */
|
|
126
|
+
private eventDialogInputsCache;
|
|
91
127
|
get eventDialogInputs(): EventDialogInputs | undefined;
|
|
92
128
|
handleEventClick(ev: {
|
|
93
129
|
eventId: string;
|
|
94
130
|
rect: AnchorRect;
|
|
95
131
|
instanceDate?: number;
|
|
96
132
|
}): void;
|
|
133
|
+
/** mcp-116: re-open the dialog on the series master behind the shown occurrence.
|
|
134
|
+
* The anchor stays the one the dialog already sits on — the user is not moving. */
|
|
135
|
+
handleEditSeries(eventId: string): void;
|
|
97
136
|
handleDayCellClick(ev: {
|
|
98
137
|
date: CalendarDateTime;
|
|
99
138
|
rect: AnchorRect;
|
|
@@ -130,6 +169,6 @@ export declare class CalendarComponent implements OnInit, OnDestroy, OnChanges {
|
|
|
130
169
|
resourceId: string;
|
|
131
170
|
}): void;
|
|
132
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, [{ optional: true; }, null]>;
|
|
133
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "cal-calendar", never, { "controller": { "alias": "controller"; "required": false; }; "store": { "alias": "store"; "required": false; }; "rules": { "alias": "rules"; "required": false; }; "config": { "alias": "config"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "showCategoryFilter": { "alias": "showCategoryFilter"; "required": false; }; "showResourceFilter": { "alias": "showResourceFilter"; "required": false; }; "customViews": { "alias": "customViews"; "required": false; }; "eventDialog": { "alias": "eventDialog"; "required": false; }; "onEventClick": { "alias": "onEventClick"; "required": false; }; "onNewEventRequested": { "alias": "onNewEventRequested"; "required": false; }; "onSelectionChange": { "alias": "onSelectionChange"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "eventBadgesTpl": { "alias": "eventBadgesTpl"; "required": false; }; "eventContentTpl": { "alias": "eventContentTpl"; "required": false; }; "eventClassName": { "alias": "eventClassName"; "required": false; }; "eventStyle": { "alias": "eventStyle"; "required": false; }; "eventTitle": { "alias": "eventTitle"; "required": false; }; }, {}, never, never, true, never>;
|
|
172
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "cal-calendar", never, { "controller": { "alias": "controller"; "required": false; }; "store": { "alias": "store"; "required": false; }; "rules": { "alias": "rules"; "required": false; }; "config": { "alias": "config"; "required": false; }; "darkMode": { "alias": "darkMode"; "required": false; }; "dir": { "alias": "dir"; "required": false; }; "showCategoryFilter": { "alias": "showCategoryFilter"; "required": false; }; "showResourceFilter": { "alias": "showResourceFilter"; "required": false; }; "showUndoRedo": { "alias": "showUndoRedo"; "required": false; }; "customViews": { "alias": "customViews"; "required": false; }; "eventDialog": { "alias": "eventDialog"; "required": false; }; "onEventClick": { "alias": "onEventClick"; "required": false; }; "onNewEventRequested": { "alias": "onNewEventRequested"; "required": false; }; "onSelectionChange": { "alias": "onSelectionChange"; "required": false; }; "onError": { "alias": "onError"; "required": false; }; "onHistoryChange": { "alias": "onHistoryChange"; "required": false; }; "onWarning": { "alias": "onWarning"; "required": false; }; "eventBadgesTpl": { "alias": "eventBadgesTpl"; "required": false; }; "eventContentTpl": { "alias": "eventContentTpl"; "required": false; }; "eventClassName": { "alias": "eventClassName"; "required": false; }; "eventStyle": { "alias": "eventStyle"; "required": false; }; "eventTitle": { "alias": "eventTitle"; "required": false; }; "eventInteraction": { "alias": "eventInteraction"; "required": false; }; "resolveActor": { "alias": "resolveActor"; "required": false; }; }, {}, never, never, true, never>;
|
|
134
173
|
}
|
|
135
174
|
//# sourceMappingURL=Calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../src/components/Calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAiC,KAAK,IAAI,EAAE,MAAM,eAAe,CAAC;AAE7J,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../src/components/Calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAiC,KAAK,IAAI,EAAE,MAAM,eAAe,CAAC;AAE7J,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAOhF,OAAO,EAEL,KAAK,kBAAkB,EACvB,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,cAAc,EAAE,mBAAmB,EAAE,UAAU,EAA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