@f-ewald/components 1.26.0 → 1.27.1
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 +3 -0
- package/custom-elements.json +1285 -95
- package/dist/calendar-day.d.ts +33 -0
- package/dist/calendar-day.d.ts.map +1 -0
- package/dist/calendar-day.js +280 -0
- package/dist/calendar-day.js.map +1 -0
- package/dist/calendar-timeline-base.d.ts +43 -0
- package/dist/calendar-timeline-base.d.ts.map +1 -0
- package/dist/calendar-timeline-base.js +113 -0
- package/dist/calendar-timeline-base.js.map +1 -0
- package/dist/calendar-week.d.ts +37 -0
- package/dist/calendar-week.d.ts.map +1 -0
- package/dist/calendar-week.js +315 -0
- package/dist/calendar-week.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-server.js +1 -1
- package/dist/mcp-server.js.map +1 -1
- package/dist/modal-dialog.d.ts +49 -0
- package/dist/modal-dialog.d.ts.map +1 -0
- package/dist/modal-dialog.js +287 -0
- package/dist/modal-dialog.js.map +1 -0
- package/dist/ui-button.d.ts +2 -0
- package/dist/ui-button.d.ts.map +1 -1
- package/dist/ui-button.js +9 -1
- package/dist/ui-button.js.map +1 -1
- package/dist/utils/calendar.d.ts +41 -0
- package/dist/utils/calendar.d.ts.map +1 -1
- package/dist/utils/calendar.js +74 -0
- package/dist/utils/calendar.js.map +1 -1
- package/docs/calendar-day.md +70 -0
- package/docs/calendar-week.md +69 -0
- package/docs/modal-dialog.md +66 -0
- package/docs/ui-button.md +1 -0
- package/llms.txt +88 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -2659,6 +2659,301 @@
|
|
|
2659
2659
|
}
|
|
2660
2660
|
]
|
|
2661
2661
|
},
|
|
2662
|
+
{
|
|
2663
|
+
"kind": "javascript-module",
|
|
2664
|
+
"path": "src/calendar-day.ts",
|
|
2665
|
+
"declarations": [
|
|
2666
|
+
{
|
|
2667
|
+
"kind": "class",
|
|
2668
|
+
"description": "A single day rendered as an hourly time grid — a Google-Calendar-style\nview distinct from `calendar-month`'s whole-day table. Declarative\n`calendar-entry` children with a time-of-day in `start`/`end` (e.g.\n`start=\"2026-03-05T09:00\"`) render as positioned/sized blocks; entries\nwith only a date (no time) render in an all-day band above the grid.\nOverlapping timed entries stack into side-by-side columns; overlapping\nall-day/multi-day entries stack into lanes, same as `calendar-month`.\nRead-only.\n\nShares its slotted-entry observation, resolution, and hover/focus\ninteraction sync with `calendar-week` via `CalendarTimelineBase`.",
|
|
2669
|
+
"name": "CalendarDay",
|
|
2670
|
+
"slots": [
|
|
2671
|
+
{
|
|
2672
|
+
"description": "Declarative `calendar-entry` elements to render for this day.",
|
|
2673
|
+
"name": ""
|
|
2674
|
+
}
|
|
2675
|
+
],
|
|
2676
|
+
"members": [
|
|
2677
|
+
{
|
|
2678
|
+
"kind": "field",
|
|
2679
|
+
"name": "date",
|
|
2680
|
+
"type": {
|
|
2681
|
+
"text": "string"
|
|
2682
|
+
},
|
|
2683
|
+
"description": "The day shown, `\"YYYY-MM-DD\"`.",
|
|
2684
|
+
"attribute": "date",
|
|
2685
|
+
"reflects": true
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"kind": "method",
|
|
2689
|
+
"name": "_renderAllDayLane",
|
|
2690
|
+
"privacy": "private",
|
|
2691
|
+
"parameters": [
|
|
2692
|
+
{
|
|
2693
|
+
"name": "laned",
|
|
2694
|
+
"type": {
|
|
2695
|
+
"text": "LanedEntry[]"
|
|
2696
|
+
}
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
"name": "lane",
|
|
2700
|
+
"type": {
|
|
2701
|
+
"text": "number"
|
|
2702
|
+
}
|
|
2703
|
+
}
|
|
2704
|
+
],
|
|
2705
|
+
"description": "Renders one lane's stacked all-day bars, given the entries assigned to it."
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "method",
|
|
2709
|
+
"name": "_renderTimedEntry",
|
|
2710
|
+
"privacy": "private",
|
|
2711
|
+
"parameters": [
|
|
2712
|
+
{
|
|
2713
|
+
"name": "entry",
|
|
2714
|
+
"type": {
|
|
2715
|
+
"text": "LanedEntry"
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
"name": "laneCount",
|
|
2720
|
+
"type": {
|
|
2721
|
+
"text": "number"
|
|
2722
|
+
}
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"name": "dayStart",
|
|
2726
|
+
"type": {
|
|
2727
|
+
"text": "Date"
|
|
2728
|
+
}
|
|
2729
|
+
},
|
|
2730
|
+
{
|
|
2731
|
+
"name": "dayEnd",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "Date"
|
|
2734
|
+
}
|
|
2735
|
+
}
|
|
2736
|
+
],
|
|
2737
|
+
"description": "Renders a positioned/sized block for one timed entry, clamped to this day's bounds."
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"kind": "field",
|
|
2741
|
+
"name": "entryElements",
|
|
2742
|
+
"type": {
|
|
2743
|
+
"text": "CalendarEntry[]"
|
|
2744
|
+
},
|
|
2745
|
+
"privacy": "protected",
|
|
2746
|
+
"readonly": true,
|
|
2747
|
+
"inheritedFrom": {
|
|
2748
|
+
"name": "CalendarTimelineBase",
|
|
2749
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"kind": "field",
|
|
2754
|
+
"name": "entriesVersion",
|
|
2755
|
+
"type": {
|
|
2756
|
+
"text": "number"
|
|
2757
|
+
},
|
|
2758
|
+
"privacy": "protected",
|
|
2759
|
+
"default": "0",
|
|
2760
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render.",
|
|
2761
|
+
"inheritedFrom": {
|
|
2762
|
+
"name": "CalendarTimelineBase",
|
|
2763
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2764
|
+
}
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"kind": "field",
|
|
2768
|
+
"name": "entriesObserver",
|
|
2769
|
+
"type": {
|
|
2770
|
+
"text": "MutationObserver | undefined"
|
|
2771
|
+
},
|
|
2772
|
+
"privacy": "private",
|
|
2773
|
+
"inheritedFrom": {
|
|
2774
|
+
"name": "CalendarTimelineBase",
|
|
2775
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2776
|
+
}
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "method",
|
|
2780
|
+
"name": "handleSlotChange",
|
|
2781
|
+
"privacy": "protected",
|
|
2782
|
+
"return": {
|
|
2783
|
+
"type": {
|
|
2784
|
+
"text": "void"
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2787
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed.",
|
|
2788
|
+
"inheritedFrom": {
|
|
2789
|
+
"name": "CalendarTimelineBase",
|
|
2790
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2791
|
+
}
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"kind": "method",
|
|
2795
|
+
"name": "resolveTimedEntriesFor",
|
|
2796
|
+
"privacy": "protected",
|
|
2797
|
+
"return": {
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "ResolvedTimedEntry[]"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"parameters": [
|
|
2803
|
+
{
|
|
2804
|
+
"name": "rangeStart",
|
|
2805
|
+
"type": {
|
|
2806
|
+
"text": "Date"
|
|
2807
|
+
}
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"name": "rangeEnd",
|
|
2811
|
+
"type": {
|
|
2812
|
+
"text": "Date"
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
],
|
|
2816
|
+
"description": "Reads, resolves, and filters slotted entries to those overlapping `[rangeStart, rangeEnd]`.",
|
|
2817
|
+
"inheritedFrom": {
|
|
2818
|
+
"name": "CalendarTimelineBase",
|
|
2819
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"kind": "method",
|
|
2824
|
+
"name": "entryKey",
|
|
2825
|
+
"privacy": "protected",
|
|
2826
|
+
"return": {
|
|
2827
|
+
"type": {
|
|
2828
|
+
"text": "string"
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2831
|
+
"parameters": [
|
|
2832
|
+
{
|
|
2833
|
+
"name": "entry",
|
|
2834
|
+
"type": {
|
|
2835
|
+
"text": "LanedEntry"
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
],
|
|
2839
|
+
"description": "Current render key shared by an entry's rendered cells/blocks.",
|
|
2840
|
+
"inheritedFrom": {
|
|
2841
|
+
"name": "CalendarTimelineBase",
|
|
2842
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2843
|
+
}
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"kind": "method",
|
|
2847
|
+
"name": "setEntryInteraction",
|
|
2848
|
+
"privacy": "protected",
|
|
2849
|
+
"return": {
|
|
2850
|
+
"type": {
|
|
2851
|
+
"text": "void"
|
|
2852
|
+
}
|
|
2853
|
+
},
|
|
2854
|
+
"parameters": [
|
|
2855
|
+
{
|
|
2856
|
+
"name": "entryKey",
|
|
2857
|
+
"type": {
|
|
2858
|
+
"text": "string"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"name": "className",
|
|
2863
|
+
"type": {
|
|
2864
|
+
"text": "string"
|
|
2865
|
+
}
|
|
2866
|
+
},
|
|
2867
|
+
{
|
|
2868
|
+
"name": "active",
|
|
2869
|
+
"type": {
|
|
2870
|
+
"text": "boolean"
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
],
|
|
2874
|
+
"description": "Toggles one interaction class on every rendered element belonging to an entry.",
|
|
2875
|
+
"inheritedFrom": {
|
|
2876
|
+
"name": "CalendarTimelineBase",
|
|
2877
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2878
|
+
}
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"kind": "method",
|
|
2882
|
+
"name": "syncEntryInteractions",
|
|
2883
|
+
"privacy": "protected",
|
|
2884
|
+
"return": {
|
|
2885
|
+
"type": {
|
|
2886
|
+
"text": "void"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render.",
|
|
2890
|
+
"inheritedFrom": {
|
|
2891
|
+
"name": "CalendarTimelineBase",
|
|
2892
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "method",
|
|
2897
|
+
"name": "renderEntryLink",
|
|
2898
|
+
"privacy": "protected",
|
|
2899
|
+
"parameters": [
|
|
2900
|
+
{
|
|
2901
|
+
"name": "entry",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "LanedEntry"
|
|
2904
|
+
}
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "accessibleText",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
],
|
|
2913
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text.",
|
|
2914
|
+
"inheritedFrom": {
|
|
2915
|
+
"name": "CalendarTimelineBase",
|
|
2916
|
+
"module": "src/calendar-timeline-base.ts"
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
],
|
|
2920
|
+
"attributes": [
|
|
2921
|
+
{
|
|
2922
|
+
"name": "date",
|
|
2923
|
+
"type": {
|
|
2924
|
+
"text": "string"
|
|
2925
|
+
},
|
|
2926
|
+
"description": "The day shown, `\"YYYY-MM-DD\"`.",
|
|
2927
|
+
"fieldName": "date"
|
|
2928
|
+
}
|
|
2929
|
+
],
|
|
2930
|
+
"superclass": {
|
|
2931
|
+
"name": "CalendarTimelineBase",
|
|
2932
|
+
"module": "/src/calendar-timeline-base.js"
|
|
2933
|
+
},
|
|
2934
|
+
"tagName": "calendar-day",
|
|
2935
|
+
"customElement": true
|
|
2936
|
+
}
|
|
2937
|
+
],
|
|
2938
|
+
"exports": [
|
|
2939
|
+
{
|
|
2940
|
+
"kind": "js",
|
|
2941
|
+
"name": "CalendarDay",
|
|
2942
|
+
"declaration": {
|
|
2943
|
+
"name": "CalendarDay",
|
|
2944
|
+
"module": "src/calendar-day.ts"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
"kind": "custom-element-definition",
|
|
2949
|
+
"name": "calendar-day",
|
|
2950
|
+
"declaration": {
|
|
2951
|
+
"name": "CalendarDay",
|
|
2952
|
+
"module": "src/calendar-day.ts"
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
]
|
|
2956
|
+
},
|
|
2662
2957
|
{
|
|
2663
2958
|
"kind": "javascript-module",
|
|
2664
2959
|
"path": "src/calendar-entry.ts",
|
|
@@ -3185,8 +3480,507 @@
|
|
|
3185
3480
|
"kind": "custom-element-definition",
|
|
3186
3481
|
"name": "calendar-month",
|
|
3187
3482
|
"declaration": {
|
|
3188
|
-
"name": "CalendarMonth",
|
|
3189
|
-
"module": "src/calendar-month.ts"
|
|
3483
|
+
"name": "CalendarMonth",
|
|
3484
|
+
"module": "src/calendar-month.ts"
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
]
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
"kind": "javascript-module",
|
|
3491
|
+
"path": "src/calendar-timeline-base.ts",
|
|
3492
|
+
"declarations": [
|
|
3493
|
+
{
|
|
3494
|
+
"kind": "class",
|
|
3495
|
+
"description": "Shared base for the hour-grid calendar views, `calendar-day` and\n`calendar-week` — not a registered custom element itself. Holds what both\nneed identically: observing declarative `calendar-entry` children for live\nupdates, resolving them into time-aware entries, and syncing hover/focus\ninteraction classes on rendered entry bars/links. Pure date/geometry math\n(parsing, lane assignment) stays in `utils/calendar.ts` per this\ncodebase's existing convention; this class holds only the parts that need\nto be instance state on a `LitElement` (observers, cached query results).\n\nSubclasses must render a default `<slot",
|
|
3496
|
+
"name": "CalendarTimelineBase",
|
|
3497
|
+
"members": [
|
|
3498
|
+
{
|
|
3499
|
+
"kind": "field",
|
|
3500
|
+
"name": "entryElements",
|
|
3501
|
+
"type": {
|
|
3502
|
+
"text": "CalendarEntry[]"
|
|
3503
|
+
},
|
|
3504
|
+
"privacy": "protected",
|
|
3505
|
+
"readonly": true
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "field",
|
|
3509
|
+
"name": "entriesVersion",
|
|
3510
|
+
"type": {
|
|
3511
|
+
"text": "number"
|
|
3512
|
+
},
|
|
3513
|
+
"privacy": "protected",
|
|
3514
|
+
"default": "0",
|
|
3515
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render."
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"kind": "field",
|
|
3519
|
+
"name": "entriesObserver",
|
|
3520
|
+
"type": {
|
|
3521
|
+
"text": "MutationObserver | undefined"
|
|
3522
|
+
},
|
|
3523
|
+
"privacy": "private"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"kind": "method",
|
|
3527
|
+
"name": "handleSlotChange",
|
|
3528
|
+
"privacy": "protected",
|
|
3529
|
+
"return": {
|
|
3530
|
+
"type": {
|
|
3531
|
+
"text": "void"
|
|
3532
|
+
}
|
|
3533
|
+
},
|
|
3534
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed."
|
|
3535
|
+
},
|
|
3536
|
+
{
|
|
3537
|
+
"kind": "method",
|
|
3538
|
+
"name": "resolveTimedEntriesFor",
|
|
3539
|
+
"privacy": "protected",
|
|
3540
|
+
"return": {
|
|
3541
|
+
"type": {
|
|
3542
|
+
"text": "ResolvedTimedEntry[]"
|
|
3543
|
+
}
|
|
3544
|
+
},
|
|
3545
|
+
"parameters": [
|
|
3546
|
+
{
|
|
3547
|
+
"name": "rangeStart",
|
|
3548
|
+
"type": {
|
|
3549
|
+
"text": "Date"
|
|
3550
|
+
}
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
"name": "rangeEnd",
|
|
3554
|
+
"type": {
|
|
3555
|
+
"text": "Date"
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
],
|
|
3559
|
+
"description": "Reads, resolves, and filters slotted entries to those overlapping `[rangeStart, rangeEnd]`."
|
|
3560
|
+
},
|
|
3561
|
+
{
|
|
3562
|
+
"kind": "method",
|
|
3563
|
+
"name": "entryKey",
|
|
3564
|
+
"privacy": "protected",
|
|
3565
|
+
"return": {
|
|
3566
|
+
"type": {
|
|
3567
|
+
"text": "string"
|
|
3568
|
+
}
|
|
3569
|
+
},
|
|
3570
|
+
"parameters": [
|
|
3571
|
+
{
|
|
3572
|
+
"name": "entry",
|
|
3573
|
+
"type": {
|
|
3574
|
+
"text": "LanedEntry"
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
],
|
|
3578
|
+
"description": "Current render key shared by an entry's rendered cells/blocks."
|
|
3579
|
+
},
|
|
3580
|
+
{
|
|
3581
|
+
"kind": "method",
|
|
3582
|
+
"name": "setEntryInteraction",
|
|
3583
|
+
"privacy": "protected",
|
|
3584
|
+
"return": {
|
|
3585
|
+
"type": {
|
|
3586
|
+
"text": "void"
|
|
3587
|
+
}
|
|
3588
|
+
},
|
|
3589
|
+
"parameters": [
|
|
3590
|
+
{
|
|
3591
|
+
"name": "entryKey",
|
|
3592
|
+
"type": {
|
|
3593
|
+
"text": "string"
|
|
3594
|
+
}
|
|
3595
|
+
},
|
|
3596
|
+
{
|
|
3597
|
+
"name": "className",
|
|
3598
|
+
"type": {
|
|
3599
|
+
"text": "string"
|
|
3600
|
+
}
|
|
3601
|
+
},
|
|
3602
|
+
{
|
|
3603
|
+
"name": "active",
|
|
3604
|
+
"type": {
|
|
3605
|
+
"text": "boolean"
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
],
|
|
3609
|
+
"description": "Toggles one interaction class on every rendered element belonging to an entry."
|
|
3610
|
+
},
|
|
3611
|
+
{
|
|
3612
|
+
"kind": "method",
|
|
3613
|
+
"name": "syncEntryInteractions",
|
|
3614
|
+
"privacy": "protected",
|
|
3615
|
+
"return": {
|
|
3616
|
+
"type": {
|
|
3617
|
+
"text": "void"
|
|
3618
|
+
}
|
|
3619
|
+
},
|
|
3620
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render."
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"kind": "method",
|
|
3624
|
+
"name": "renderEntryLink",
|
|
3625
|
+
"privacy": "protected",
|
|
3626
|
+
"parameters": [
|
|
3627
|
+
{
|
|
3628
|
+
"name": "entry",
|
|
3629
|
+
"type": {
|
|
3630
|
+
"text": "LanedEntry"
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3633
|
+
{
|
|
3634
|
+
"name": "accessibleText",
|
|
3635
|
+
"type": {
|
|
3636
|
+
"text": "string"
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
],
|
|
3640
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text."
|
|
3641
|
+
}
|
|
3642
|
+
],
|
|
3643
|
+
"superclass": {
|
|
3644
|
+
"name": "LitElement",
|
|
3645
|
+
"package": "lit"
|
|
3646
|
+
},
|
|
3647
|
+
"customElement": true
|
|
3648
|
+
}
|
|
3649
|
+
],
|
|
3650
|
+
"exports": [
|
|
3651
|
+
{
|
|
3652
|
+
"kind": "js",
|
|
3653
|
+
"name": "CalendarTimelineBase",
|
|
3654
|
+
"declaration": {
|
|
3655
|
+
"name": "CalendarTimelineBase",
|
|
3656
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3659
|
+
]
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"kind": "javascript-module",
|
|
3663
|
+
"path": "src/calendar-week.ts",
|
|
3664
|
+
"declarations": [
|
|
3665
|
+
{
|
|
3666
|
+
"kind": "class",
|
|
3667
|
+
"description": "Sunday-through-Saturday week rendered as one shared hourly time grid — the\nseven-day sibling of `calendar-day`. Unlike `calendar-year` composing 12\n`calendar-month` children, this is its own independent 7-column layout\n(not 7 nested `<calendar-day>` elements): a single hour gutter is drawn\nonce, and multi-day/all-day entries span the days they cover as one\ncontinuous bar in a shared all-day band, since lanes for that band are\nassigned once across the whole visible week (unlike `calendar-month`'s\ndocumented per-instance lane limitation). Timed entries stack into\nside-by-side columns independently per day, same as `calendar-day`.\nRead-only.\n\nShares its slotted-entry observation, resolution, and hover/focus\ninteraction sync with `calendar-day` via `CalendarTimelineBase`.",
|
|
3668
|
+
"name": "CalendarWeek",
|
|
3669
|
+
"slots": [
|
|
3670
|
+
{
|
|
3671
|
+
"description": "Declarative `calendar-entry` elements to render for this week.",
|
|
3672
|
+
"name": ""
|
|
3673
|
+
}
|
|
3674
|
+
],
|
|
3675
|
+
"members": [
|
|
3676
|
+
{
|
|
3677
|
+
"kind": "field",
|
|
3678
|
+
"name": "date",
|
|
3679
|
+
"type": {
|
|
3680
|
+
"text": "string"
|
|
3681
|
+
},
|
|
3682
|
+
"description": "Any date within the displayed week (`\"YYYY-MM-DD\"`) — the week runs Sunday through Saturday.",
|
|
3683
|
+
"attribute": "date",
|
|
3684
|
+
"reflects": true
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"kind": "method",
|
|
3688
|
+
"name": "_renderAllDayEntry",
|
|
3689
|
+
"privacy": "private",
|
|
3690
|
+
"parameters": [
|
|
3691
|
+
{
|
|
3692
|
+
"name": "entry",
|
|
3693
|
+
"type": {
|
|
3694
|
+
"text": "LanedEntry"
|
|
3695
|
+
}
|
|
3696
|
+
},
|
|
3697
|
+
{
|
|
3698
|
+
"name": "weekStart",
|
|
3699
|
+
"type": {
|
|
3700
|
+
"text": "Date"
|
|
3701
|
+
}
|
|
3702
|
+
},
|
|
3703
|
+
{
|
|
3704
|
+
"name": "weekEnd",
|
|
3705
|
+
"type": {
|
|
3706
|
+
"text": "Date"
|
|
3707
|
+
}
|
|
3708
|
+
}
|
|
3709
|
+
],
|
|
3710
|
+
"description": "Renders one all-day/multi-day bar, spanning the visible-week columns it covers."
|
|
3711
|
+
},
|
|
3712
|
+
{
|
|
3713
|
+
"kind": "method",
|
|
3714
|
+
"name": "_renderTimedEntry",
|
|
3715
|
+
"privacy": "private",
|
|
3716
|
+
"parameters": [
|
|
3717
|
+
{
|
|
3718
|
+
"name": "entry",
|
|
3719
|
+
"type": {
|
|
3720
|
+
"text": "LanedEntry"
|
|
3721
|
+
}
|
|
3722
|
+
},
|
|
3723
|
+
{
|
|
3724
|
+
"name": "laneCount",
|
|
3725
|
+
"type": {
|
|
3726
|
+
"text": "number"
|
|
3727
|
+
}
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
"name": "dayStart",
|
|
3731
|
+
"type": {
|
|
3732
|
+
"text": "Date"
|
|
3733
|
+
}
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
"name": "dayEnd",
|
|
3737
|
+
"type": {
|
|
3738
|
+
"text": "Date"
|
|
3739
|
+
}
|
|
3740
|
+
}
|
|
3741
|
+
],
|
|
3742
|
+
"description": "Renders a positioned/sized block for one timed entry, clamped to `day`'s bounds."
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
"kind": "method",
|
|
3746
|
+
"name": "_renderDayColumn",
|
|
3747
|
+
"privacy": "private",
|
|
3748
|
+
"parameters": [
|
|
3749
|
+
{
|
|
3750
|
+
"name": "day",
|
|
3751
|
+
"type": {
|
|
3752
|
+
"text": "Date"
|
|
3753
|
+
}
|
|
3754
|
+
},
|
|
3755
|
+
{
|
|
3756
|
+
"name": "timedWeek",
|
|
3757
|
+
"type": {
|
|
3758
|
+
"text": "ResolvedTimedEntry[]"
|
|
3759
|
+
}
|
|
3760
|
+
},
|
|
3761
|
+
{
|
|
3762
|
+
"name": "todayIso",
|
|
3763
|
+
"type": {
|
|
3764
|
+
"text": "string"
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3767
|
+
],
|
|
3768
|
+
"description": "Renders one day's hour column: grid lines plus its own independently laned timed entries."
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
"kind": "field",
|
|
3772
|
+
"name": "entryElements",
|
|
3773
|
+
"type": {
|
|
3774
|
+
"text": "CalendarEntry[]"
|
|
3775
|
+
},
|
|
3776
|
+
"privacy": "protected",
|
|
3777
|
+
"readonly": true,
|
|
3778
|
+
"inheritedFrom": {
|
|
3779
|
+
"name": "CalendarTimelineBase",
|
|
3780
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"kind": "field",
|
|
3785
|
+
"name": "entriesVersion",
|
|
3786
|
+
"type": {
|
|
3787
|
+
"text": "number"
|
|
3788
|
+
},
|
|
3789
|
+
"privacy": "protected",
|
|
3790
|
+
"default": "0",
|
|
3791
|
+
"description": "Bumped when entry elements, attributes, or slotted text change to force a re-render.",
|
|
3792
|
+
"inheritedFrom": {
|
|
3793
|
+
"name": "CalendarTimelineBase",
|
|
3794
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3795
|
+
}
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"kind": "field",
|
|
3799
|
+
"name": "entriesObserver",
|
|
3800
|
+
"type": {
|
|
3801
|
+
"text": "MutationObserver | undefined"
|
|
3802
|
+
},
|
|
3803
|
+
"privacy": "private",
|
|
3804
|
+
"inheritedFrom": {
|
|
3805
|
+
"name": "CalendarTimelineBase",
|
|
3806
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3807
|
+
}
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"kind": "method",
|
|
3811
|
+
"name": "handleSlotChange",
|
|
3812
|
+
"privacy": "protected",
|
|
3813
|
+
"return": {
|
|
3814
|
+
"type": {
|
|
3815
|
+
"text": "void"
|
|
3816
|
+
}
|
|
3817
|
+
},
|
|
3818
|
+
"description": "Re-renders when declarative `calendar-entry` children are added or removed.",
|
|
3819
|
+
"inheritedFrom": {
|
|
3820
|
+
"name": "CalendarTimelineBase",
|
|
3821
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3822
|
+
}
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
"kind": "method",
|
|
3826
|
+
"name": "resolveTimedEntriesFor",
|
|
3827
|
+
"privacy": "protected",
|
|
3828
|
+
"return": {
|
|
3829
|
+
"type": {
|
|
3830
|
+
"text": "ResolvedTimedEntry[]"
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
"parameters": [
|
|
3834
|
+
{
|
|
3835
|
+
"name": "rangeStart",
|
|
3836
|
+
"type": {
|
|
3837
|
+
"text": "Date"
|
|
3838
|
+
}
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
"name": "rangeEnd",
|
|
3842
|
+
"type": {
|
|
3843
|
+
"text": "Date"
|
|
3844
|
+
}
|
|
3845
|
+
}
|
|
3846
|
+
],
|
|
3847
|
+
"description": "Reads, resolves, and filters slotted entries to those overlapping `[rangeStart, rangeEnd]`.",
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "CalendarTimelineBase",
|
|
3850
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3851
|
+
}
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
"kind": "method",
|
|
3855
|
+
"name": "entryKey",
|
|
3856
|
+
"privacy": "protected",
|
|
3857
|
+
"return": {
|
|
3858
|
+
"type": {
|
|
3859
|
+
"text": "string"
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3862
|
+
"parameters": [
|
|
3863
|
+
{
|
|
3864
|
+
"name": "entry",
|
|
3865
|
+
"type": {
|
|
3866
|
+
"text": "LanedEntry"
|
|
3867
|
+
}
|
|
3868
|
+
}
|
|
3869
|
+
],
|
|
3870
|
+
"description": "Current render key shared by an entry's rendered cells/blocks.",
|
|
3871
|
+
"inheritedFrom": {
|
|
3872
|
+
"name": "CalendarTimelineBase",
|
|
3873
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3874
|
+
}
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"kind": "method",
|
|
3878
|
+
"name": "setEntryInteraction",
|
|
3879
|
+
"privacy": "protected",
|
|
3880
|
+
"return": {
|
|
3881
|
+
"type": {
|
|
3882
|
+
"text": "void"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
"parameters": [
|
|
3886
|
+
{
|
|
3887
|
+
"name": "entryKey",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "string"
|
|
3890
|
+
}
|
|
3891
|
+
},
|
|
3892
|
+
{
|
|
3893
|
+
"name": "className",
|
|
3894
|
+
"type": {
|
|
3895
|
+
"text": "string"
|
|
3896
|
+
}
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
"name": "active",
|
|
3900
|
+
"type": {
|
|
3901
|
+
"text": "boolean"
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
],
|
|
3905
|
+
"description": "Toggles one interaction class on every rendered element belonging to an entry.",
|
|
3906
|
+
"inheritedFrom": {
|
|
3907
|
+
"name": "CalendarTimelineBase",
|
|
3908
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"kind": "method",
|
|
3913
|
+
"name": "syncEntryInteractions",
|
|
3914
|
+
"privacy": "protected",
|
|
3915
|
+
"return": {
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "void"
|
|
3918
|
+
}
|
|
3919
|
+
},
|
|
3920
|
+
"description": "Reconciles classes against the links actually hovered or focused after a render.",
|
|
3921
|
+
"inheritedFrom": {
|
|
3922
|
+
"name": "CalendarTimelineBase",
|
|
3923
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3924
|
+
}
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
"kind": "method",
|
|
3928
|
+
"name": "renderEntryLink",
|
|
3929
|
+
"privacy": "protected",
|
|
3930
|
+
"parameters": [
|
|
3931
|
+
{
|
|
3932
|
+
"name": "entry",
|
|
3933
|
+
"type": {
|
|
3934
|
+
"text": "LanedEntry"
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
"name": "accessibleText",
|
|
3939
|
+
"type": {
|
|
3940
|
+
"text": "string"
|
|
3941
|
+
}
|
|
3942
|
+
}
|
|
3943
|
+
],
|
|
3944
|
+
"description": "Renders a transparent full-cell link without wrapping the visible text.",
|
|
3945
|
+
"inheritedFrom": {
|
|
3946
|
+
"name": "CalendarTimelineBase",
|
|
3947
|
+
"module": "src/calendar-timeline-base.ts"
|
|
3948
|
+
}
|
|
3949
|
+
}
|
|
3950
|
+
],
|
|
3951
|
+
"attributes": [
|
|
3952
|
+
{
|
|
3953
|
+
"name": "date",
|
|
3954
|
+
"type": {
|
|
3955
|
+
"text": "string"
|
|
3956
|
+
},
|
|
3957
|
+
"description": "Any date within the displayed week (`\"YYYY-MM-DD\"`) — the week runs Sunday through Saturday.",
|
|
3958
|
+
"fieldName": "date"
|
|
3959
|
+
}
|
|
3960
|
+
],
|
|
3961
|
+
"superclass": {
|
|
3962
|
+
"name": "CalendarTimelineBase",
|
|
3963
|
+
"module": "/src/calendar-timeline-base.js"
|
|
3964
|
+
},
|
|
3965
|
+
"tagName": "calendar-week",
|
|
3966
|
+
"customElement": true
|
|
3967
|
+
}
|
|
3968
|
+
],
|
|
3969
|
+
"exports": [
|
|
3970
|
+
{
|
|
3971
|
+
"kind": "js",
|
|
3972
|
+
"name": "CalendarWeek",
|
|
3973
|
+
"declaration": {
|
|
3974
|
+
"name": "CalendarWeek",
|
|
3975
|
+
"module": "src/calendar-week.ts"
|
|
3976
|
+
}
|
|
3977
|
+
},
|
|
3978
|
+
{
|
|
3979
|
+
"kind": "custom-element-definition",
|
|
3980
|
+
"name": "calendar-week",
|
|
3981
|
+
"declaration": {
|
|
3982
|
+
"name": "CalendarWeek",
|
|
3983
|
+
"module": "src/calendar-week.ts"
|
|
3190
3984
|
}
|
|
3191
3985
|
}
|
|
3192
3986
|
]
|
|
@@ -7906,6 +8700,22 @@
|
|
|
7906
8700
|
"module": "./confirm-dialog.js"
|
|
7907
8701
|
}
|
|
7908
8702
|
},
|
|
8703
|
+
{
|
|
8704
|
+
"kind": "js",
|
|
8705
|
+
"name": "ModalDialog",
|
|
8706
|
+
"declaration": {
|
|
8707
|
+
"name": "ModalDialog",
|
|
8708
|
+
"module": "./modal-dialog.js"
|
|
8709
|
+
}
|
|
8710
|
+
},
|
|
8711
|
+
{
|
|
8712
|
+
"kind": "js",
|
|
8713
|
+
"name": "ModalDialogSize",
|
|
8714
|
+
"declaration": {
|
|
8715
|
+
"name": "ModalDialogSize",
|
|
8716
|
+
"module": "./modal-dialog.js"
|
|
8717
|
+
}
|
|
8718
|
+
},
|
|
7909
8719
|
{
|
|
7910
8720
|
"kind": "js",
|
|
7911
8721
|
"name": "ContentDivider",
|
|
@@ -8554,6 +9364,14 @@
|
|
|
8554
9364
|
"module": "./timeline-entry.js"
|
|
8555
9365
|
}
|
|
8556
9366
|
},
|
|
9367
|
+
{
|
|
9368
|
+
"kind": "js",
|
|
9369
|
+
"name": "CalendarDay",
|
|
9370
|
+
"declaration": {
|
|
9371
|
+
"name": "CalendarDay",
|
|
9372
|
+
"module": "./calendar-day.js"
|
|
9373
|
+
}
|
|
9374
|
+
},
|
|
8557
9375
|
{
|
|
8558
9376
|
"kind": "js",
|
|
8559
9377
|
"name": "CalendarEntry",
|
|
@@ -8570,6 +9388,14 @@
|
|
|
8570
9388
|
"module": "./calendar-month.js"
|
|
8571
9389
|
}
|
|
8572
9390
|
},
|
|
9391
|
+
{
|
|
9392
|
+
"kind": "js",
|
|
9393
|
+
"name": "CalendarWeek",
|
|
9394
|
+
"declaration": {
|
|
9395
|
+
"name": "CalendarWeek",
|
|
9396
|
+
"module": "./calendar-week.js"
|
|
9397
|
+
}
|
|
9398
|
+
},
|
|
8573
9399
|
{
|
|
8574
9400
|
"kind": "js",
|
|
8575
9401
|
"name": "CalendarYear",
|
|
@@ -10912,143 +11738,326 @@
|
|
|
10912
11738
|
"description": "Fires on every keystroke in the Write tab; detail: { value: string }."
|
|
10913
11739
|
},
|
|
10914
11740
|
{
|
|
10915
|
-
"name": "change",
|
|
11741
|
+
"name": "change",
|
|
11742
|
+
"type": {
|
|
11743
|
+
"text": "CustomEvent"
|
|
11744
|
+
},
|
|
11745
|
+
"description": "Native change semantics (on blur, if the value changed); detail: { value: string }."
|
|
11746
|
+
}
|
|
11747
|
+
],
|
|
11748
|
+
"attributes": [
|
|
11749
|
+
{
|
|
11750
|
+
"name": "value",
|
|
11751
|
+
"type": {
|
|
11752
|
+
"text": "string"
|
|
11753
|
+
},
|
|
11754
|
+
"default": "\"\"",
|
|
11755
|
+
"description": "Full raw document text, including any front matter block.",
|
|
11756
|
+
"fieldName": "value"
|
|
11757
|
+
},
|
|
11758
|
+
{
|
|
11759
|
+
"name": "rows",
|
|
11760
|
+
"type": {
|
|
11761
|
+
"text": "number"
|
|
11762
|
+
},
|
|
11763
|
+
"default": "12",
|
|
11764
|
+
"description": "Visible row count for the Write tab's textarea.",
|
|
11765
|
+
"fieldName": "rows"
|
|
11766
|
+
},
|
|
11767
|
+
{
|
|
11768
|
+
"name": "placeholder",
|
|
11769
|
+
"type": {
|
|
11770
|
+
"text": "string"
|
|
11771
|
+
},
|
|
11772
|
+
"default": "\"\"",
|
|
11773
|
+
"description": "Placeholder text shown when the Write tab is empty.",
|
|
11774
|
+
"fieldName": "placeholder"
|
|
11775
|
+
}
|
|
11776
|
+
],
|
|
11777
|
+
"superclass": {
|
|
11778
|
+
"name": "LitElement",
|
|
11779
|
+
"package": "lit"
|
|
11780
|
+
},
|
|
11781
|
+
"tagName": "markdown-editor",
|
|
11782
|
+
"customElement": true
|
|
11783
|
+
}
|
|
11784
|
+
],
|
|
11785
|
+
"exports": [
|
|
11786
|
+
{
|
|
11787
|
+
"kind": "js",
|
|
11788
|
+
"name": "MarkdownEditor",
|
|
11789
|
+
"declaration": {
|
|
11790
|
+
"name": "MarkdownEditor",
|
|
11791
|
+
"module": "src/markdown-editor.ts"
|
|
11792
|
+
}
|
|
11793
|
+
},
|
|
11794
|
+
{
|
|
11795
|
+
"kind": "custom-element-definition",
|
|
11796
|
+
"name": "markdown-editor",
|
|
11797
|
+
"declaration": {
|
|
11798
|
+
"name": "MarkdownEditor",
|
|
11799
|
+
"module": "src/markdown-editor.ts"
|
|
11800
|
+
}
|
|
11801
|
+
}
|
|
11802
|
+
]
|
|
11803
|
+
},
|
|
11804
|
+
{
|
|
11805
|
+
"kind": "javascript-module",
|
|
11806
|
+
"path": "src/markdown-view.ts",
|
|
11807
|
+
"declarations": [
|
|
11808
|
+
{
|
|
11809
|
+
"kind": "class",
|
|
11810
|
+
"description": "Renders a markdown string as sanitized, styled HTML — headings, lists,\ncode, tables, blockquotes, and links all get token-driven styling, with\nwide content (code blocks, tables) scrolling in its own container instead\nof widening the page.\n\nThe markdown source is treated as untrusted: it is always parsed with\n`marked` and sanitized with `DOMPurify` before being injected, never\nrendered as-is.",
|
|
11811
|
+
"name": "MarkdownView",
|
|
11812
|
+
"members": [
|
|
11813
|
+
{
|
|
11814
|
+
"kind": "field",
|
|
11815
|
+
"name": "markdown",
|
|
11816
|
+
"type": {
|
|
11817
|
+
"text": "string"
|
|
11818
|
+
},
|
|
11819
|
+
"default": "\"\"",
|
|
11820
|
+
"description": "Raw markdown source to render.",
|
|
11821
|
+
"attribute": "markdown"
|
|
11822
|
+
},
|
|
11823
|
+
{
|
|
11824
|
+
"kind": "method",
|
|
11825
|
+
"name": "_renderedHtml",
|
|
11826
|
+
"privacy": "private",
|
|
11827
|
+
"return": {
|
|
11828
|
+
"type": {
|
|
11829
|
+
"text": "string"
|
|
11830
|
+
}
|
|
11831
|
+
}
|
|
11832
|
+
}
|
|
11833
|
+
],
|
|
11834
|
+
"attributes": [
|
|
11835
|
+
{
|
|
11836
|
+
"name": "markdown",
|
|
11837
|
+
"type": {
|
|
11838
|
+
"text": "string"
|
|
11839
|
+
},
|
|
11840
|
+
"default": "\"\"",
|
|
11841
|
+
"description": "Raw markdown source to render.",
|
|
11842
|
+
"fieldName": "markdown"
|
|
11843
|
+
}
|
|
11844
|
+
],
|
|
11845
|
+
"superclass": {
|
|
11846
|
+
"name": "LitElement",
|
|
11847
|
+
"package": "lit"
|
|
11848
|
+
},
|
|
11849
|
+
"tagName": "markdown-view",
|
|
11850
|
+
"customElement": true
|
|
11851
|
+
}
|
|
11852
|
+
],
|
|
11853
|
+
"exports": [
|
|
11854
|
+
{
|
|
11855
|
+
"kind": "js",
|
|
11856
|
+
"name": "MarkdownView",
|
|
11857
|
+
"declaration": {
|
|
11858
|
+
"name": "MarkdownView",
|
|
11859
|
+
"module": "src/markdown-view.ts"
|
|
11860
|
+
}
|
|
11861
|
+
},
|
|
11862
|
+
{
|
|
11863
|
+
"kind": "custom-element-definition",
|
|
11864
|
+
"name": "markdown-view",
|
|
11865
|
+
"declaration": {
|
|
11866
|
+
"name": "MarkdownView",
|
|
11867
|
+
"module": "src/markdown-view.ts"
|
|
11868
|
+
}
|
|
11869
|
+
}
|
|
11870
|
+
]
|
|
11871
|
+
},
|
|
11872
|
+
{
|
|
11873
|
+
"kind": "javascript-module",
|
|
11874
|
+
"path": "src/mcp-server.ts",
|
|
11875
|
+
"declarations": [],
|
|
11876
|
+
"exports": []
|
|
11877
|
+
},
|
|
11878
|
+
{
|
|
11879
|
+
"kind": "javascript-module",
|
|
11880
|
+
"path": "src/modal-dialog.ts",
|
|
11881
|
+
"declarations": [
|
|
11882
|
+
{
|
|
11883
|
+
"kind": "class",
|
|
11884
|
+
"description": "Generic centered modal-dialog shell: overlay + card with header chrome, a\nclose button, and an arbitrary slotted body — the modal sibling to\n`slide-panel` (fixed-edge) and `popover-panel` (anchored). Unlike\n`confirm-dialog`, it has no baked-in actions; the consumer supplies the\nbody content (a form, a read-only viewer, a table) and any footer buttons\nitself. Instant `display:none` → `display:flex` toggle, no transition.\nTraps focus, closes on Escape, and restores focus to the trigger on\nclose, stacking correctly against other open `confirm-dialog`/\n`slide-panel`/`popover-panel`/`modal-dialog` layers.",
|
|
11885
|
+
"name": "ModalDialog",
|
|
11886
|
+
"slots": [
|
|
11887
|
+
{
|
|
11888
|
+
"description": "Dialog body content.",
|
|
11889
|
+
"name": ""
|
|
11890
|
+
},
|
|
11891
|
+
{
|
|
11892
|
+
"description": "Overrides the header title text (falls back to the `heading` property).",
|
|
11893
|
+
"name": "title"
|
|
11894
|
+
}
|
|
11895
|
+
],
|
|
11896
|
+
"members": [
|
|
11897
|
+
{
|
|
11898
|
+
"kind": "field",
|
|
11899
|
+
"name": "open",
|
|
11900
|
+
"type": {
|
|
11901
|
+
"text": "boolean"
|
|
11902
|
+
},
|
|
11903
|
+
"default": "false",
|
|
11904
|
+
"description": "Whether the dialog is visible.",
|
|
11905
|
+
"attribute": "open"
|
|
11906
|
+
},
|
|
11907
|
+
{
|
|
11908
|
+
"kind": "field",
|
|
11909
|
+
"name": "heading",
|
|
11910
|
+
"type": {
|
|
11911
|
+
"text": "string"
|
|
11912
|
+
},
|
|
11913
|
+
"default": "\"\"",
|
|
11914
|
+
"description": "Title text shown in the dialog header (overridable via slot=\"title\").",
|
|
11915
|
+
"attribute": "heading"
|
|
11916
|
+
},
|
|
11917
|
+
{
|
|
11918
|
+
"kind": "field",
|
|
11919
|
+
"name": "size",
|
|
11920
|
+
"type": {
|
|
11921
|
+
"text": "ModalDialogSize"
|
|
11922
|
+
},
|
|
11923
|
+
"default": "\"default\"",
|
|
11924
|
+
"description": "`\"lg\"` widens the dialog to 60rem for content like tables; `\"default\"`\nis 25rem; `\"fullscreen\"` covers the entire viewport edge-to-edge with\nno border-radius or overlay padding.",
|
|
11925
|
+
"attribute": "size"
|
|
11926
|
+
},
|
|
11927
|
+
{
|
|
11928
|
+
"kind": "field",
|
|
11929
|
+
"name": "dismissible",
|
|
11930
|
+
"type": {
|
|
11931
|
+
"text": "boolean"
|
|
11932
|
+
},
|
|
11933
|
+
"default": "false",
|
|
11934
|
+
"description": "When true, clicking the backdrop also closes the dialog (off by default — safe for forms with unsaved input).",
|
|
11935
|
+
"attribute": "dismissible"
|
|
11936
|
+
},
|
|
11937
|
+
{
|
|
11938
|
+
"kind": "field",
|
|
11939
|
+
"name": "_previousFocus",
|
|
11940
|
+
"type": {
|
|
11941
|
+
"text": "HTMLElement | null"
|
|
11942
|
+
},
|
|
11943
|
+
"privacy": "private",
|
|
11944
|
+
"default": "null"
|
|
11945
|
+
},
|
|
11946
|
+
{
|
|
11947
|
+
"kind": "method",
|
|
11948
|
+
"name": "_close",
|
|
11949
|
+
"privacy": "private"
|
|
11950
|
+
},
|
|
11951
|
+
{
|
|
11952
|
+
"kind": "method",
|
|
11953
|
+
"name": "_getFocusableElements",
|
|
11954
|
+
"privacy": "private",
|
|
11955
|
+
"return": {
|
|
11956
|
+
"type": {
|
|
11957
|
+
"text": "HTMLElement[]"
|
|
11958
|
+
}
|
|
11959
|
+
}
|
|
11960
|
+
},
|
|
11961
|
+
{
|
|
11962
|
+
"kind": "method",
|
|
11963
|
+
"name": "_focusInitial",
|
|
11964
|
+
"privacy": "private",
|
|
11965
|
+
"return": {
|
|
11966
|
+
"type": {
|
|
11967
|
+
"text": "void"
|
|
11968
|
+
}
|
|
11969
|
+
}
|
|
11970
|
+
},
|
|
11971
|
+
{
|
|
11972
|
+
"kind": "field",
|
|
11973
|
+
"name": "_onDocumentFocusIn",
|
|
11974
|
+
"privacy": "private"
|
|
11975
|
+
},
|
|
11976
|
+
{
|
|
11977
|
+
"kind": "field",
|
|
11978
|
+
"name": "_onWindowKeydown",
|
|
11979
|
+
"privacy": "private"
|
|
11980
|
+
},
|
|
11981
|
+
{
|
|
11982
|
+
"kind": "field",
|
|
11983
|
+
"name": "_onOverlayClick",
|
|
11984
|
+
"privacy": "private"
|
|
11985
|
+
}
|
|
11986
|
+
],
|
|
11987
|
+
"events": [
|
|
11988
|
+
{
|
|
11989
|
+
"name": "panel-close",
|
|
10916
11990
|
"type": {
|
|
10917
11991
|
"text": "CustomEvent"
|
|
10918
11992
|
},
|
|
10919
|
-
"description": "
|
|
11993
|
+
"description": "User clicked the close (✕) button, pressed Escape, or (when `dismissible`) clicked the backdrop."
|
|
10920
11994
|
}
|
|
10921
11995
|
],
|
|
10922
11996
|
"attributes": [
|
|
10923
11997
|
{
|
|
10924
|
-
"name": "
|
|
10925
|
-
"type": {
|
|
10926
|
-
"text": "string"
|
|
10927
|
-
},
|
|
10928
|
-
"default": "\"\"",
|
|
10929
|
-
"description": "Full raw document text, including any front matter block.",
|
|
10930
|
-
"fieldName": "value"
|
|
10931
|
-
},
|
|
10932
|
-
{
|
|
10933
|
-
"name": "rows",
|
|
11998
|
+
"name": "open",
|
|
10934
11999
|
"type": {
|
|
10935
|
-
"text": "
|
|
12000
|
+
"text": "boolean"
|
|
10936
12001
|
},
|
|
10937
|
-
"default": "
|
|
10938
|
-
"description": "
|
|
10939
|
-
"fieldName": "
|
|
12002
|
+
"default": "false",
|
|
12003
|
+
"description": "Whether the dialog is visible.",
|
|
12004
|
+
"fieldName": "open"
|
|
10940
12005
|
},
|
|
10941
12006
|
{
|
|
10942
|
-
"name": "
|
|
12007
|
+
"name": "heading",
|
|
10943
12008
|
"type": {
|
|
10944
12009
|
"text": "string"
|
|
10945
12010
|
},
|
|
10946
12011
|
"default": "\"\"",
|
|
10947
|
-
"description": "
|
|
10948
|
-
"fieldName": "
|
|
10949
|
-
}
|
|
10950
|
-
],
|
|
10951
|
-
"superclass": {
|
|
10952
|
-
"name": "LitElement",
|
|
10953
|
-
"package": "lit"
|
|
10954
|
-
},
|
|
10955
|
-
"tagName": "markdown-editor",
|
|
10956
|
-
"customElement": true
|
|
10957
|
-
}
|
|
10958
|
-
],
|
|
10959
|
-
"exports": [
|
|
10960
|
-
{
|
|
10961
|
-
"kind": "js",
|
|
10962
|
-
"name": "MarkdownEditor",
|
|
10963
|
-
"declaration": {
|
|
10964
|
-
"name": "MarkdownEditor",
|
|
10965
|
-
"module": "src/markdown-editor.ts"
|
|
10966
|
-
}
|
|
10967
|
-
},
|
|
10968
|
-
{
|
|
10969
|
-
"kind": "custom-element-definition",
|
|
10970
|
-
"name": "markdown-editor",
|
|
10971
|
-
"declaration": {
|
|
10972
|
-
"name": "MarkdownEditor",
|
|
10973
|
-
"module": "src/markdown-editor.ts"
|
|
10974
|
-
}
|
|
10975
|
-
}
|
|
10976
|
-
]
|
|
10977
|
-
},
|
|
10978
|
-
{
|
|
10979
|
-
"kind": "javascript-module",
|
|
10980
|
-
"path": "src/markdown-view.ts",
|
|
10981
|
-
"declarations": [
|
|
10982
|
-
{
|
|
10983
|
-
"kind": "class",
|
|
10984
|
-
"description": "Renders a markdown string as sanitized, styled HTML — headings, lists,\ncode, tables, blockquotes, and links all get token-driven styling, with\nwide content (code blocks, tables) scrolling in its own container instead\nof widening the page.\n\nThe markdown source is treated as untrusted: it is always parsed with\n`marked` and sanitized with `DOMPurify` before being injected, never\nrendered as-is.",
|
|
10985
|
-
"name": "MarkdownView",
|
|
10986
|
-
"members": [
|
|
12012
|
+
"description": "Title text shown in the dialog header (overridable via slot=\"title\").",
|
|
12013
|
+
"fieldName": "heading"
|
|
12014
|
+
},
|
|
10987
12015
|
{
|
|
10988
|
-
"
|
|
10989
|
-
"name": "markdown",
|
|
12016
|
+
"name": "size",
|
|
10990
12017
|
"type": {
|
|
10991
|
-
"text": "
|
|
12018
|
+
"text": "ModalDialogSize"
|
|
10992
12019
|
},
|
|
10993
|
-
"default": "\"\"",
|
|
10994
|
-
"description": "
|
|
10995
|
-
"
|
|
12020
|
+
"default": "\"default\"",
|
|
12021
|
+
"description": "`\"lg\"` widens the dialog to 60rem for content like tables; `\"default\"`\nis 25rem; `\"fullscreen\"` covers the entire viewport edge-to-edge with\nno border-radius or overlay padding.",
|
|
12022
|
+
"fieldName": "size"
|
|
10996
12023
|
},
|
|
10997
12024
|
{
|
|
10998
|
-
"
|
|
10999
|
-
"name": "_renderedHtml",
|
|
11000
|
-
"privacy": "private",
|
|
11001
|
-
"return": {
|
|
11002
|
-
"type": {
|
|
11003
|
-
"text": "string"
|
|
11004
|
-
}
|
|
11005
|
-
}
|
|
11006
|
-
}
|
|
11007
|
-
],
|
|
11008
|
-
"attributes": [
|
|
11009
|
-
{
|
|
11010
|
-
"name": "markdown",
|
|
12025
|
+
"name": "dismissible",
|
|
11011
12026
|
"type": {
|
|
11012
|
-
"text": "
|
|
12027
|
+
"text": "boolean"
|
|
11013
12028
|
},
|
|
11014
|
-
"default": "
|
|
11015
|
-
"description": "
|
|
11016
|
-
"fieldName": "
|
|
12029
|
+
"default": "false",
|
|
12030
|
+
"description": "When true, clicking the backdrop also closes the dialog (off by default — safe for forms with unsaved input).",
|
|
12031
|
+
"fieldName": "dismissible"
|
|
11017
12032
|
}
|
|
11018
12033
|
],
|
|
11019
12034
|
"superclass": {
|
|
11020
12035
|
"name": "LitElement",
|
|
11021
12036
|
"package": "lit"
|
|
11022
12037
|
},
|
|
11023
|
-
"tagName": "
|
|
12038
|
+
"tagName": "modal-dialog",
|
|
11024
12039
|
"customElement": true
|
|
11025
12040
|
}
|
|
11026
12041
|
],
|
|
11027
12042
|
"exports": [
|
|
11028
12043
|
{
|
|
11029
12044
|
"kind": "js",
|
|
11030
|
-
"name": "
|
|
12045
|
+
"name": "ModalDialog",
|
|
11031
12046
|
"declaration": {
|
|
11032
|
-
"name": "
|
|
11033
|
-
"module": "src/
|
|
12047
|
+
"name": "ModalDialog",
|
|
12048
|
+
"module": "src/modal-dialog.ts"
|
|
11034
12049
|
}
|
|
11035
12050
|
},
|
|
11036
12051
|
{
|
|
11037
12052
|
"kind": "custom-element-definition",
|
|
11038
|
-
"name": "
|
|
12053
|
+
"name": "modal-dialog",
|
|
11039
12054
|
"declaration": {
|
|
11040
|
-
"name": "
|
|
11041
|
-
"module": "src/
|
|
12055
|
+
"name": "ModalDialog",
|
|
12056
|
+
"module": "src/modal-dialog.ts"
|
|
11042
12057
|
}
|
|
11043
12058
|
}
|
|
11044
12059
|
]
|
|
11045
12060
|
},
|
|
11046
|
-
{
|
|
11047
|
-
"kind": "javascript-module",
|
|
11048
|
-
"path": "src/mcp-server.ts",
|
|
11049
|
-
"declarations": [],
|
|
11050
|
-
"exports": []
|
|
11051
|
-
},
|
|
11052
12061
|
{
|
|
11053
12062
|
"kind": "javascript-module",
|
|
11054
12063
|
"path": "src/multi-select.ts",
|
|
@@ -16650,6 +17659,16 @@
|
|
|
16650
17659
|
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
16651
17660
|
"attribute": "size"
|
|
16652
17661
|
},
|
|
17662
|
+
{
|
|
17663
|
+
"kind": "field",
|
|
17664
|
+
"name": "pill",
|
|
17665
|
+
"type": {
|
|
17666
|
+
"text": "boolean"
|
|
17667
|
+
},
|
|
17668
|
+
"default": "false",
|
|
17669
|
+
"description": "Renders fully rounded (pill-shaped) corners instead of the default `--ui-radius-sm`.",
|
|
17670
|
+
"attribute": "pill"
|
|
17671
|
+
},
|
|
16653
17672
|
{
|
|
16654
17673
|
"kind": "field",
|
|
16655
17674
|
"name": "href",
|
|
@@ -16730,6 +17749,15 @@
|
|
|
16730
17749
|
"description": "Size — `sm` reduces height/padding/font-size one step below the default.",
|
|
16731
17750
|
"fieldName": "size"
|
|
16732
17751
|
},
|
|
17752
|
+
{
|
|
17753
|
+
"name": "pill",
|
|
17754
|
+
"type": {
|
|
17755
|
+
"text": "boolean"
|
|
17756
|
+
},
|
|
17757
|
+
"default": "false",
|
|
17758
|
+
"description": "Renders fully rounded (pill-shaped) corners instead of the default `--ui-radius-sm`.",
|
|
17759
|
+
"fieldName": "pill"
|
|
17760
|
+
},
|
|
16733
17761
|
{
|
|
16734
17762
|
"name": "href",
|
|
16735
17763
|
"type": {
|
|
@@ -17872,6 +18900,120 @@
|
|
|
17872
18900
|
}
|
|
17873
18901
|
],
|
|
17874
18902
|
"description": "Assigns each entry a 0-based stacking lane via greedy interval\npartitioning (\"meeting rooms II\"): entries are sorted by start date, then\neach is placed in the lowest-numbered lane whose current occupant ends\nstrictly before the entry starts. Because entry ranges are\ninclusive-inclusive, an entry ending on day X and one starting on day X\nboth occupy day X and must not share a lane — hence the strict `<`.\n\nLane assignment is meant to be computed independently per `calendar-month`\n(from only the entries overlapping that month); an entry spanning a month\nboundary may therefore land in a different lane in adjacent months. This\nis an accepted v1 limitation, not a bug."
|
|
18903
|
+
},
|
|
18904
|
+
{
|
|
18905
|
+
"kind": "function",
|
|
18906
|
+
"name": "addDays",
|
|
18907
|
+
"return": {
|
|
18908
|
+
"type": {
|
|
18909
|
+
"text": "Date"
|
|
18910
|
+
}
|
|
18911
|
+
},
|
|
18912
|
+
"parameters": [
|
|
18913
|
+
{
|
|
18914
|
+
"name": "date",
|
|
18915
|
+
"type": {
|
|
18916
|
+
"text": "Date"
|
|
18917
|
+
}
|
|
18918
|
+
},
|
|
18919
|
+
{
|
|
18920
|
+
"name": "days",
|
|
18921
|
+
"type": {
|
|
18922
|
+
"text": "number"
|
|
18923
|
+
}
|
|
18924
|
+
}
|
|
18925
|
+
],
|
|
18926
|
+
"description": "Adds `days` (negative to subtract) to `date`, returning a new local `Date`."
|
|
18927
|
+
},
|
|
18928
|
+
{
|
|
18929
|
+
"kind": "function",
|
|
18930
|
+
"name": "startOfWeek",
|
|
18931
|
+
"return": {
|
|
18932
|
+
"type": {
|
|
18933
|
+
"text": "Date"
|
|
18934
|
+
}
|
|
18935
|
+
},
|
|
18936
|
+
"parameters": [
|
|
18937
|
+
{
|
|
18938
|
+
"name": "date",
|
|
18939
|
+
"type": {
|
|
18940
|
+
"text": "Date"
|
|
18941
|
+
}
|
|
18942
|
+
}
|
|
18943
|
+
],
|
|
18944
|
+
"description": "The Sunday (local midnight) of the week containing `date`, per `WEEKDAY_ABBR`'s Sunday-first convention."
|
|
18945
|
+
},
|
|
18946
|
+
{
|
|
18947
|
+
"kind": "function",
|
|
18948
|
+
"name": "minutesSinceMidnight",
|
|
18949
|
+
"return": {
|
|
18950
|
+
"type": {
|
|
18951
|
+
"text": "number"
|
|
18952
|
+
}
|
|
18953
|
+
},
|
|
18954
|
+
"parameters": [
|
|
18955
|
+
{
|
|
18956
|
+
"name": "date",
|
|
18957
|
+
"type": {
|
|
18958
|
+
"text": "Date"
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18961
|
+
],
|
|
18962
|
+
"description": "Minutes elapsed since local midnight on `date`'s day, for hour-grid vertical positioning."
|
|
18963
|
+
},
|
|
18964
|
+
{
|
|
18965
|
+
"kind": "function",
|
|
18966
|
+
"name": "hasTimeComponent",
|
|
18967
|
+
"return": {
|
|
18968
|
+
"type": {
|
|
18969
|
+
"text": "boolean"
|
|
18970
|
+
}
|
|
18971
|
+
},
|
|
18972
|
+
"parameters": [
|
|
18973
|
+
{
|
|
18974
|
+
"name": "iso",
|
|
18975
|
+
"type": {
|
|
18976
|
+
"text": "string"
|
|
18977
|
+
}
|
|
18978
|
+
}
|
|
18979
|
+
],
|
|
18980
|
+
"description": "Whether `iso` carries a time-of-day component (`\"YYYY-MM-DDTHH:MM\"`) rather than being date-only."
|
|
18981
|
+
},
|
|
18982
|
+
{
|
|
18983
|
+
"kind": "function",
|
|
18984
|
+
"name": "parseIsoDateTime",
|
|
18985
|
+
"return": {
|
|
18986
|
+
"type": {
|
|
18987
|
+
"text": "Date | null"
|
|
18988
|
+
}
|
|
18989
|
+
},
|
|
18990
|
+
"parameters": [
|
|
18991
|
+
{
|
|
18992
|
+
"name": "iso",
|
|
18993
|
+
"type": {
|
|
18994
|
+
"text": "string"
|
|
18995
|
+
}
|
|
18996
|
+
}
|
|
18997
|
+
],
|
|
18998
|
+
"description": "Parses `\"YYYY-MM-DDTHH:MM\"` as a local `Date`, falling back to\n`parseIsoDate` (local midnight) for a plain `\"YYYY-MM-DD\"` string. Returns\n`null` for anything else, including a datetime whose components don't\nround-trip (e.g. an invalid hour)."
|
|
18999
|
+
},
|
|
19000
|
+
{
|
|
19001
|
+
"kind": "function",
|
|
19002
|
+
"name": "resolveTimedEntry",
|
|
19003
|
+
"return": {
|
|
19004
|
+
"type": {
|
|
19005
|
+
"text": "ResolvedTimedEntry | null"
|
|
19006
|
+
}
|
|
19007
|
+
},
|
|
19008
|
+
"parameters": [
|
|
19009
|
+
{
|
|
19010
|
+
"name": "data",
|
|
19011
|
+
"type": {
|
|
19012
|
+
"text": "CalendarEntryData"
|
|
19013
|
+
}
|
|
19014
|
+
}
|
|
19015
|
+
],
|
|
19016
|
+
"description": "Resolves a `CalendarEntryData`'s date/datetime strings for hour-grid\nrendering. Returns `null` when `start` is missing or unparseable. A blank\n`end` defaults to `start`; when `start` has a time but `end` doesn't (or is\nblank), `end` defaults to one hour after `start` rather than clamping to\n`start`'s instant, so a timed entry with no explicit end still renders as\na visible block. `allDay` is true only when neither endpoint carries a\ntime-of-day component — this is a separate, additive resolution path from\n`resolveEntry`/`ResolvedCalendarEntry`, which stay date-only and are used\nunchanged by `calendar-month`/`calendar-year`."
|
|
17875
19017
|
}
|
|
17876
19018
|
],
|
|
17877
19019
|
"exports": [
|
|
@@ -17962,6 +19104,54 @@
|
|
|
17962
19104
|
"name": "assignLanes",
|
|
17963
19105
|
"module": "src/utils/calendar.ts"
|
|
17964
19106
|
}
|
|
19107
|
+
},
|
|
19108
|
+
{
|
|
19109
|
+
"kind": "js",
|
|
19110
|
+
"name": "addDays",
|
|
19111
|
+
"declaration": {
|
|
19112
|
+
"name": "addDays",
|
|
19113
|
+
"module": "src/utils/calendar.ts"
|
|
19114
|
+
}
|
|
19115
|
+
},
|
|
19116
|
+
{
|
|
19117
|
+
"kind": "js",
|
|
19118
|
+
"name": "startOfWeek",
|
|
19119
|
+
"declaration": {
|
|
19120
|
+
"name": "startOfWeek",
|
|
19121
|
+
"module": "src/utils/calendar.ts"
|
|
19122
|
+
}
|
|
19123
|
+
},
|
|
19124
|
+
{
|
|
19125
|
+
"kind": "js",
|
|
19126
|
+
"name": "minutesSinceMidnight",
|
|
19127
|
+
"declaration": {
|
|
19128
|
+
"name": "minutesSinceMidnight",
|
|
19129
|
+
"module": "src/utils/calendar.ts"
|
|
19130
|
+
}
|
|
19131
|
+
},
|
|
19132
|
+
{
|
|
19133
|
+
"kind": "js",
|
|
19134
|
+
"name": "hasTimeComponent",
|
|
19135
|
+
"declaration": {
|
|
19136
|
+
"name": "hasTimeComponent",
|
|
19137
|
+
"module": "src/utils/calendar.ts"
|
|
19138
|
+
}
|
|
19139
|
+
},
|
|
19140
|
+
{
|
|
19141
|
+
"kind": "js",
|
|
19142
|
+
"name": "parseIsoDateTime",
|
|
19143
|
+
"declaration": {
|
|
19144
|
+
"name": "parseIsoDateTime",
|
|
19145
|
+
"module": "src/utils/calendar.ts"
|
|
19146
|
+
}
|
|
19147
|
+
},
|
|
19148
|
+
{
|
|
19149
|
+
"kind": "js",
|
|
19150
|
+
"name": "resolveTimedEntry",
|
|
19151
|
+
"declaration": {
|
|
19152
|
+
"name": "resolveTimedEntry",
|
|
19153
|
+
"module": "src/utils/calendar.ts"
|
|
19154
|
+
}
|
|
17965
19155
|
}
|
|
17966
19156
|
]
|
|
17967
19157
|
},
|