@m3e/web 2.0.5 → 2.1.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.
Files changed (137) hide show
  1. package/dist/all.js +773 -473
  2. package/dist/all.js.map +1 -1
  3. package/dist/all.min.js +52 -58
  4. package/dist/all.min.js.map +1 -1
  5. package/dist/autocomplete.js +342 -69
  6. package/dist/autocomplete.js.map +1 -1
  7. package/dist/autocomplete.min.js +1 -1
  8. package/dist/autocomplete.min.js.map +1 -1
  9. package/dist/chips.js +18 -4
  10. package/dist/chips.js.map +1 -1
  11. package/dist/chips.min.js +1 -1
  12. package/dist/chips.min.js.map +1 -1
  13. package/dist/core-a11y.js +3 -118
  14. package/dist/core-a11y.js.map +1 -1
  15. package/dist/core-a11y.min.js +13 -4
  16. package/dist/core-a11y.min.js.map +1 -1
  17. package/dist/core-anchoring.js +193 -1
  18. package/dist/core-anchoring.js.map +1 -1
  19. package/dist/core-anchoring.min.js +1 -1
  20. package/dist/core-anchoring.min.js.map +1 -1
  21. package/dist/core.js +119 -91
  22. package/dist/core.js.map +1 -1
  23. package/dist/core.min.js +1 -1
  24. package/dist/core.min.js.map +1 -1
  25. package/dist/css-custom-data.json +406 -326
  26. package/dist/custom-elements.json +4321 -3297
  27. package/dist/html-custom-data.json +169 -94
  28. package/dist/loading-indicator.js +1 -0
  29. package/dist/loading-indicator.js.map +1 -1
  30. package/dist/loading-indicator.min.js +1 -1
  31. package/dist/loading-indicator.min.js.map +1 -1
  32. package/dist/menu.js +1 -1
  33. package/dist/menu.js.map +1 -1
  34. package/dist/menu.min.js +1 -1
  35. package/dist/menu.min.js.map +1 -1
  36. package/dist/option.js +94 -121
  37. package/dist/option.js.map +1 -1
  38. package/dist/option.min.js +1 -1
  39. package/dist/option.min.js.map +1 -1
  40. package/dist/progress-indicator.js +2 -0
  41. package/dist/progress-indicator.js.map +1 -1
  42. package/dist/progress-indicator.min.js +2 -2
  43. package/dist/progress-indicator.min.js.map +1 -1
  44. package/dist/select.js +59 -23
  45. package/dist/select.js.map +1 -1
  46. package/dist/select.min.js +1 -1
  47. package/dist/select.min.js.map +1 -1
  48. package/dist/src/autocomplete/AutocompleteElement.d.ts +71 -2
  49. package/dist/src/autocomplete/AutocompleteElement.d.ts.map +1 -1
  50. package/dist/src/autocomplete/AutocompleteFilterMode.d.ts +3 -0
  51. package/dist/src/autocomplete/AutocompleteFilterMode.d.ts.map +1 -0
  52. package/dist/src/autocomplete/QueryEventDetail.d.ts +12 -0
  53. package/dist/src/autocomplete/QueryEventDetail.d.ts.map +1 -0
  54. package/dist/src/autocomplete/index.d.ts +2 -0
  55. package/dist/src/autocomplete/index.d.ts.map +1 -1
  56. package/dist/src/chips/ChipElement.d.ts +2 -0
  57. package/dist/src/chips/ChipElement.d.ts.map +1 -1
  58. package/dist/src/chips/InputChipSetChangeEventDetail.d.ts +13 -0
  59. package/dist/src/chips/InputChipSetChangeEventDetail.d.ts.map +1 -0
  60. package/dist/src/chips/InputChipSetElement.d.ts +10 -0
  61. package/dist/src/chips/InputChipSetElement.d.ts.map +1 -1
  62. package/dist/src/chips/index.d.ts +1 -0
  63. package/dist/src/chips/index.d.ts.map +1 -1
  64. package/dist/src/core/a11y/FocusTrapElement.d.ts +1 -1
  65. package/dist/src/core/a11y/list-key/ListKeyManager.d.ts.map +1 -1
  66. package/dist/src/core/a11y/list-key/RadioKeyManager.d.ts +1 -2
  67. package/dist/src/core/a11y/list-key/RadioKeyManager.d.ts.map +1 -1
  68. package/dist/src/core/a11y/list-key/SelectionManager.d.ts +1 -2
  69. package/dist/src/core/a11y/list-key/SelectionManager.d.ts.map +1 -1
  70. package/dist/src/core/a11y/list-key/Typeahead.d.ts.map +1 -1
  71. package/dist/src/core/anchoring/FloatingPanelElement.d.ts +74 -0
  72. package/dist/src/core/anchoring/FloatingPanelElement.d.ts.map +1 -0
  73. package/dist/src/core/anchoring/index.d.ts +1 -0
  74. package/dist/src/core/anchoring/index.d.ts.map +1 -1
  75. package/dist/src/core/shared/controllers/MutationController.d.ts.map +1 -1
  76. package/dist/src/core/shared/controllers/ResizeController.d.ts.map +1 -1
  77. package/dist/src/core/shared/mixins/AttachInternals.d.ts.map +1 -1
  78. package/dist/src/core/shared/primitives/TextHighlightElement.d.ts +9 -2
  79. package/dist/src/core/shared/primitives/TextHighlightElement.d.ts.map +1 -1
  80. package/dist/src/core/shared/primitives/TextHighlightMode.d.ts +3 -0
  81. package/dist/src/core/shared/primitives/TextHighlightMode.d.ts.map +1 -0
  82. package/dist/src/core/shared/primitives/index.d.ts +2 -1
  83. package/dist/src/core/shared/primitives/index.d.ts.map +1 -1
  84. package/dist/src/loading-indicator/LoadingIndicatorElement.d.ts.map +1 -1
  85. package/dist/src/menu/MenuItemElementBase.d.ts.map +1 -1
  86. package/dist/src/option/OptionElement.d.ts +21 -1
  87. package/dist/src/option/OptionElement.d.ts.map +1 -1
  88. package/dist/src/option/OptionPanelElement.d.ts +11 -34
  89. package/dist/src/option/OptionPanelElement.d.ts.map +1 -1
  90. package/dist/src/option/OptionPanelState.d.ts +3 -0
  91. package/dist/src/option/OptionPanelState.d.ts.map +1 -0
  92. package/dist/src/option/index.d.ts +1 -0
  93. package/dist/src/option/index.d.ts.map +1 -1
  94. package/dist/src/progress-indicator/CircularProgressIndicatorElement.d.ts.map +1 -1
  95. package/dist/src/progress-indicator/LinearProgressIndicatorElement.d.ts.map +1 -1
  96. package/dist/src/select/SelectElement.d.ts +3 -2
  97. package/dist/src/select/SelectElement.d.ts.map +1 -1
  98. package/dist/src/toc/TocElement.d.ts.map +1 -1
  99. package/dist/toc.js +0 -1
  100. package/dist/toc.js.map +1 -1
  101. package/dist/toc.min.js +1 -1
  102. package/dist/toc.min.js.map +1 -1
  103. package/package.json +1 -1
  104. package/dist/datepicker.js +0 -2346
  105. package/dist/datepicker.js.map +0 -1
  106. package/dist/datepicker.min.js +0 -102
  107. package/dist/datepicker.min.js.map +0 -1
  108. package/dist/src/core/shared/decorators/component.d.ts +0 -19
  109. package/dist/src/core/shared/decorators/component.d.ts.map +0 -1
  110. package/dist/src/core/shared/decorators/element.d.ts +0 -19
  111. package/dist/src/core/shared/decorators/element.d.ts.map +0 -1
  112. package/dist/src/core/shared/utils/getState.d.ts +0 -15
  113. package/dist/src/core/shared/utils/getState.d.ts.map +0 -1
  114. package/dist/src/datepicker/CalendarElement.d.ts +0 -203
  115. package/dist/src/datepicker/CalendarElement.d.ts.map +0 -1
  116. package/dist/src/datepicker/CalendarView.d.ts +0 -3
  117. package/dist/src/datepicker/CalendarView.d.ts.map +0 -1
  118. package/dist/src/datepicker/CalendarViewElementBase.d.ts +0 -28
  119. package/dist/src/datepicker/CalendarViewElementBase.d.ts.map +0 -1
  120. package/dist/src/datepicker/DateAdapter.d.ts +0 -4
  121. package/dist/src/datepicker/DateAdapter.d.ts.map +0 -1
  122. package/dist/src/datepicker/DatepickerElement.d.ts +0 -180
  123. package/dist/src/datepicker/DatepickerElement.d.ts.map +0 -1
  124. package/dist/src/datepicker/DatepickerToggleElement.d.ts +0 -21
  125. package/dist/src/datepicker/DatepickerToggleElement.d.ts.map +0 -1
  126. package/dist/src/datepicker/DatepickerVariant.d.ts +0 -3
  127. package/dist/src/datepicker/DatepickerVariant.d.ts.map +0 -1
  128. package/dist/src/datepicker/MonthViewElement.d.ts +0 -35
  129. package/dist/src/datepicker/MonthViewElement.d.ts.map +0 -1
  130. package/dist/src/datepicker/MultiYearViewElement.d.ts +0 -27
  131. package/dist/src/datepicker/MultiYearViewElement.d.ts.map +0 -1
  132. package/dist/src/datepicker/YearViewElement.d.ts +0 -27
  133. package/dist/src/datepicker/YearViewElement.d.ts.map +0 -1
  134. package/dist/src/datepicker/index.d.ts +0 -10
  135. package/dist/src/datepicker/index.d.ts.map +0 -1
  136. package/dist/src/datepicker/utils.d.ts +0 -26
  137. package/dist/src/datepicker/utils.d.ts.map +0 -1
@@ -1,203 +0,0 @@
1
- /**
2
- * Adapted from Angular Material Datepicker
3
- * Source: https://github.com/angular/components/blob/main/src/material/datepicker/calendar.ts
4
- *
5
- * @license MIT
6
- * Copyright (c) 2025 Google LLC
7
- * See LICENSE file in the project root for full license text.
8
- */
9
- import { CSSResultGroup, LitElement, PropertyValues } from "lit";
10
- import { CalendarView } from "./CalendarView";
11
- /**
12
- * A calendar used to select a date.
13
- *
14
- * @description
15
- * The `m3e-calendar` component provides structured navigation and selection across
16
- * month, year, and multi‑year views. It supports single‑date and range selection,
17
- * applies disabled rules including minimum, maximum, and blackout constraints, and
18
- * provides styling hooks for special date states.
19
- *
20
- * @example
21
- * The following example illustrates use of the `m3e-calendar`. In this example, a calendar is displayed
22
- * with a selected date.
23
- *
24
- * ```html
25
- * <m3e-calendar date="2025-12-13"></m3e-calendar>
26
- * ```
27
- *
28
- * @tag m3e-calendar
29
- *
30
- * @slot header - Renders the header of the calendar.
31
- *
32
- * @attr date - The selected date.
33
- * @attr max-date - The maximum date that can be selected.
34
- * @attr min-date - The minimum date that can be selected.
35
- * @attr range-end - End of a date range.
36
- * @attr range-start - Start of a date range.
37
- * @attr start-at - A date specifying the period (month or year) to start the calendar in.
38
- * @attr start-view - The initial view used to select a date.
39
- * @attr previous-month-label - The accessible label given to the button used to move to the previous month.
40
- * @attr next-month-label - The accessible label given to the button used to move to the next month.
41
- * @attr previous-year-label - The accessible label given to the button used to move to the previous year.
42
- * @attr next-year-label - The accessible label given to the button used to move to the next year.
43
- * @attr previous-multi-year-label - The accessible label given to the button used to move to the previous 24 years.
44
- * @attr next-multi-year-label - The accessible label given to the button used to move to the next 24 years.
45
- *
46
- * @fires change - Emitted when the selected date changes.
47
- *
48
- * @cssprop --m3e-calendar-padding - Padding applied to the calendar header and body.
49
- * @cssprop --m3e-calendar-period-button-text-color - Text color used for the period‑navigation buttons in the header.
50
- * @cssprop --m3e-calendar-weekday-font-size - Font size of weekday labels in month view.
51
- * @cssprop --m3e-calendar-weekday-font-weight - Font weight of weekday labels in month view.
52
- * @cssprop --m3e-calendar-weekday-line-height - Line height of weekday labels in month view.
53
- * @cssprop --m3e-calendar-weekday-tracking - Letter spacing of weekday labels in month view.
54
- * @cssprop --m3e-calendar-date-font-size - Font size of date cells in month view.
55
- * @cssprop --m3e-calendar-date-font-weight - Font weight of date cells in month view.
56
- * @cssprop --m3e-calendar-date-line-height - Line height of date cells in month view.
57
- * @cssprop --m3e-calendar-date-tracking - Letter spacing of date cells in month view.
58
- * @cssprop --m3e-calendar-item-font-size - Font size of items in year and multi‑year views.
59
- * @cssprop --m3e-calendar-item-font-weight - Font weight of items in year and multi‑year views.
60
- * @cssprop --m3e-calendar-item-line-height - Line height of items in year and multi‑year views.
61
- * @cssprop --m3e-calendar-item-tracking - Letter spacing of items in year and multi‑year views.
62
- * @cssprop --m3e-calendar-item-selected-color - Text color for selected date items.
63
- * @cssprop --m3e-calendar-item-selected-container-color - Background color for selected date items.
64
- * @cssprop --m3e-calendar-item-selected-ripple-color - Ripple color used when interacting with selected date items.
65
- * @cssprop --m3e-calendar-item-selected-hover-color - Hover color used when interacting with selected date items.
66
- * @cssprop --m3e-calendar-item-selected-focus-color - Focus color used when interacting with selected date items.
67
- * @cssprop --m3e-calendar-item-current-outline-thickness - Outline thickness used to indicate the current date.
68
- * @cssprop --m3e-calendar-item-current-outline-color - Outline color used to indicate the current date.
69
- * @cssprop --m3e-calendar-item-special-color - Text color for dates marked as special.
70
- * @cssprop --m3e-calendar-item-special-container-color - Background color for dates marked as special.
71
- * @cssprop --m3e-calendar-item-special-ripple-color - Ripple color used when interacting with dates marked as special.
72
- * @cssprop --m3e-calendar-item-special-hover-color - Hover color used when interacting with dates marked as special.
73
- * @cssprop --m3e-calendar-item-special-focus-color - Focus color used when interacting with dates marked as special.
74
- * @cssprop --m3e-calendar-range-container-color - Background color applied to the selected date range.
75
- * @cssprop --m3e-calendar-range-color - Text color for dates within a selected range.
76
- * @cssprop --m3e-calendar-item-disabled-color - Color used for disabled date items.
77
- * @cssprop --m3e-calendar-item-disabled-color-opacity - Opacity applied to the disabled item color.
78
- * @cssprop --m3e-calendar-slide-animation-duration - Duration of slide transitions between calendar views.
79
- */
80
- export declare class M3eCalendarElement extends LitElement {
81
- #private;
82
- /** The styles of the element. */
83
- static styles: CSSResultGroup;
84
- /** @private */ private _today;
85
- /** @private */ private _activeView;
86
- /** @private */ private _activeDate;
87
- /** @private */ private readonly _view?;
88
- /**
89
- * The initial view used to select a date.
90
- * @default "month"
91
- */
92
- startView: CalendarView;
93
- /**
94
- * The selected date.
95
- * @default null
96
- */
97
- date: Date | null;
98
- /**
99
- * A date specifying the period (month or year) to start the calendar in.
100
- * @default null
101
- */
102
- startAt: Date | null;
103
- /**
104
- * The minimum date that can be selected.
105
- * @default null
106
- */
107
- minDate: Date | null;
108
- /**
109
- * The maximum date that can be selected.
110
- * @default null
111
- */
112
- maxDate: Date | null;
113
- /**
114
- * Start of a date range.
115
- * @default null
116
- */
117
- rangeStart: Date | null;
118
- /**
119
- * End of a date range.
120
- * @default null
121
- */
122
- rangeEnd: Date | null;
123
- /**
124
- * A function used to determine whether a date cannot be selected.
125
- * @default null
126
- */
127
- blackoutDates: ((date: Date) => boolean) | null;
128
- /**
129
- * A function used to determine whether a date is special.
130
- * @default null
131
- */
132
- specialDates: ((date: Date) => boolean) | null;
133
- /**
134
- * The accessible label given to the button used to move to the previous month.
135
- * @default "Previous month"
136
- */
137
- previousMonthLabel: string;
138
- /**
139
- * The accessible label given to the button used to move to the previous year.
140
- * @default "Previous year"
141
- */
142
- previousYearLabel: string;
143
- /**
144
- * The accessible label given to the button used to move to the previous 24 years.
145
- * @default "Previous 24 years"
146
- */
147
- previousMultiYearLabel: string;
148
- /**
149
- * The accessible label given to the button used to move to the next month.
150
- * @default "Next month"
151
- */
152
- nextMonthLabel: string;
153
- /**
154
- * The accessible label given to the button used to move to the next year.
155
- * @default "Next year"
156
- */
157
- nextYearLabel: string;
158
- /**
159
- * The accessible label given to the button used to move to the next 24 years.
160
- * @default "Next 24 years"
161
- */
162
- nextMultiYearLabel: string;
163
- /** The label to present for the current period. */
164
- get periodLabel(): string;
165
- /** Whether the calendar can move to the previous period. */
166
- get canMovePreviousPeriod(): boolean;
167
- /** Whether the calendar can move to the next period. */
168
- get canMoveNextPeriod(): boolean;
169
- /**
170
- * Asynchronously focuses the active date.
171
- * @returns {Promise<void>} A promise that resolves after the active date has been focused.
172
- */
173
- focusActiveCell(): Promise<void>;
174
- /** Updates today's date. */
175
- updateTodayDate(): void;
176
- /**
177
- * Moves the calendar to the previous period.
178
- * @returns {Promise<void>} A promise that resolves when the operation is complete.
179
- */
180
- movePreviousPeriod(): Promise<void>;
181
- /**
182
- * Moves the calendar to the next period.
183
- * @returns {Promise<void>} A promise that resolves when the operation is complete.
184
- */
185
- moveNextPeriod(): Promise<void>;
186
- /**
187
- * Toggles the current period.
188
- * @returns {Promise<void>} A promise that resolves when the operation is complete.
189
- */
190
- togglePeriod(): Promise<void>;
191
- /** @inheritdoc */
192
- protected update(changedProperties: PropertyValues<this>): void;
193
- /** @inheritdoc */
194
- protected updated(_changedProperties: PropertyValues<this>): void;
195
- /** @inheritdoc */
196
- protected render(): unknown;
197
- }
198
- declare global {
199
- interface HTMLElementTagNameMap {
200
- "m3e-calendar": M3eCalendarElement;
201
- }
202
- }
203
- //# sourceMappingURL=CalendarElement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CalendarElement.d.ts","sourceRoot":"","sources":["../../../src/datepicker/CalendarElement.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;AAQvF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,qBACa,kBAAmB,SAAQ,UAAU;;IAChD,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAuGpC;IAGF,eAAe,CAAU,OA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C5B,eAAe,IAAI,IAAI;IAIvB;;;OAGG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAmCzC;;;OAGG;IACG,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAmCrC;;;OAGG;IACG,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAMnC,kBAAkB;cACC,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAcxE,kBAAkB;cACC,OAAO,CAAC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAa1E,kBAAkB;cACC,MAAM,IAAI,OAAO;CA8MrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,kBAAkB,CAAC;KACpC;CACF"}
@@ -1,3 +0,0 @@
1
- /** Specifies the possible views of a calendar. */
2
- export type CalendarView = "month" | "year" | "multi-year";
3
- //# sourceMappingURL=CalendarView.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CalendarView.d.ts","sourceRoot":"","sources":["../../../src/datepicker/CalendarView.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC"}
@@ -1,28 +0,0 @@
1
- import { CSSResultGroup, LitElement } from "lit";
2
- /**
3
- * A base implementation for a view in a calendar. This class must be inherited.
4
- * @internal
5
- */
6
- export declare abstract class CalendarViewElementBase extends LitElement {
7
- /** The styles of the element. */
8
- static styles: CSSResultGroup;
9
- /** @private */ private readonly _activeItem?;
10
- /** Today's date. */
11
- today: Date;
12
- /** The selected date. */
13
- date: Date | null;
14
- /** The active date. */
15
- activeDate: Date;
16
- /** The minimum date that can be selected. */
17
- minDate: Date | null;
18
- /** The maximum date that can be selected. */
19
- maxDate: Date | null;
20
- /**
21
- * Asynchronously focuses the active date.
22
- * @returns {Promise<void>} A promise that resolves after the active date has been focused.
23
- */
24
- focusActiveCell(): Promise<void>;
25
- /** @internal */
26
- protected _changeActiveDate(activeDate: Date): void;
27
- }
28
- //# sourceMappingURL=CalendarViewElementBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CalendarViewElementBase.d.ts","sourceRoot":"","sources":["../../../src/datepicker/CalendarViewElementBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAOtD;;;GAGG;AACH,8BAAsB,uBAAwB,SAAQ,UAAU;IAC9D,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAsFpC;IAEF,eAAe,CAA2B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAc;IAErF,oBAAoB;IACmC,KAAK,EAAE,IAAI,CAAc;IAEhF,yBAAyB;IAC8B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IAEhF,uBAAuB;IAC0D,UAAU,EAAE,IAAI,CAAc;IAE/G,6CAA6C;IACiC,OAAO,EAAE,IAAI,GAAG,IAAI,CAAQ;IAE1G,6CAA6C;IACiC,OAAO,EAAE,IAAI,GAAG,IAAI,CAAQ;IAE1G;;;OAGG;IACG,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IAUtC,gBAAgB;IAChB,SAAS,CAAC,iBAAiB,CAAC,UAAU,EAAE,IAAI,GAAG,IAAI;CAWpD"}
@@ -1,4 +0,0 @@
1
- export interface DateAdapter {
2
- parse(value: string | null): Date | null;
3
- }
4
- //# sourceMappingURL=DateAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DateAdapter.d.ts","sourceRoot":"","sources":["../../../src/datepicker/DateAdapter.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC1C"}
@@ -1,180 +0,0 @@
1
- import { CSSResultGroup, LitElement, PropertyValues } from "lit";
2
- import type { CalendarView } from "./CalendarView";
3
- import { DatepickerVariant } from "./DatepickerVariant";
4
- declare const M3eDatepickerElement_base: import("../core/shared/mixins/Constructor").Constructor & typeof LitElement;
5
- /**
6
- * Presents a date picker on a temporary surface.
7
- *
8
- * @description
9
- * The `m3e-datepicker` component provides a date selection interface that presents
10
- * a temporary surface for picking a date. It supports various variants and modes, including modal
11
- * and input-based presentations, with full keyboard navigation and accessibility support.
12
- *
13
- * @tag m3e-datepicker
14
- *
15
- * @fires change - Dispatched when the selected date changes.
16
- * @fires beforetoggle - Dispatched before the toggle state changes.
17
- * @fires toggle - Dispatched after the toggle state has changed.
18
- *
19
- * @cssprop --m3e-datepicker-container-shape - Controls the corner radius of the container.
20
- * @cssprop --m3e-datepicker-container-padding-block - Vertical padding inside the container.
21
- * @cssprop --m3e-datepicker-container-color - Background color of the container.
22
- * @cssprop --m3e-datepicker-container-elevation - Box shadow elevation of the container.
23
- */
24
- export declare class M3eDatepickerElement extends M3eDatepickerElement_base {
25
- #private;
26
- /** The styles of the element. */
27
- static styles: CSSResultGroup;
28
- /** @private */ private _date?;
29
- /** @private */ private _rangeStart?;
30
- /** @private */ private _rangeEnd?;
31
- /** @private */ private readonly _calendar;
32
- /** @private */ private _variant?;
33
- /**
34
- * The appearance variant of the picker.
35
- * @default "docked"
36
- */
37
- variant: DatepickerVariant;
38
- /**
39
- * The initial view used to select a date.
40
- * @default "month"
41
- */
42
- startView: CalendarView;
43
- /**
44
- * The selected date.
45
- * @default null
46
- */
47
- date: Date | null;
48
- /**
49
- * A date specifying the period (month or year) to start the calendar in.
50
- * @default null
51
- */
52
- startAt: Date | null;
53
- /**
54
- * The minimum date that can be selected.
55
- * @default null
56
- */
57
- minDate: Date | null;
58
- /**
59
- * The maximum date that can be selected.
60
- * @default null
61
- */
62
- maxDate: Date | null;
63
- /**
64
- * Start of a date range.
65
- * @default null
66
- */
67
- rangeStart: Date | null;
68
- /**
69
- * End of a date range.
70
- * @default null
71
- */
72
- rangeEnd: Date | null;
73
- /**
74
- * A function used to determine whether a date cannot be selected.
75
- * @default null
76
- */
77
- blackoutDates: ((date: Date) => boolean) | null;
78
- /**
79
- * A function used to determine whether a date is special.
80
- * @default null
81
- */
82
- specialDates: ((date: Date) => boolean) | null;
83
- /**
84
- * The accessible label given to the button used to move to the previous month.
85
- * @default "Previous month"
86
- */
87
- previousMonthLabel: string;
88
- /**
89
- * The accessible label given to the button used to move to the previous year.
90
- * @default "Previous year"
91
- */
92
- previousYearLabel: string;
93
- /**
94
- * The accessible label given to the button used to move to the previous 24 years.
95
- * @default "Previous 24 years"
96
- */
97
- previousMultiYearLabel: string;
98
- /**
99
- * The accessible label given to the button used to move to the next month.
100
- * @default "Next month"
101
- */
102
- nextMonthLabel: string;
103
- /**
104
- * The accessible label given to the button used to move to the next year.
105
- * @default "Next year"
106
- */
107
- nextYearLabel: string;
108
- /**
109
- * The accessible label given to the button used to move to the next 24 years.
110
- * @default "Next 24 years"
111
- */
112
- nextMultiYearLabel: string;
113
- /**
114
- * The label given to the button used apply the selected date and close the picker.
115
- * @default "OK"
116
- */
117
- confirmLabel: string;
118
- /**
119
- * The label given to the button used discard the selected date and close the picker.
120
- * @default "Cancel"
121
- */
122
- dismissLabel: string;
123
- /**
124
- * The label given to the the picker.
125
- * @default "Select date"
126
- */
127
- label: string;
128
- /** Whether the picker is open. */
129
- get isOpen(): boolean;
130
- /** The current variant applied to the picker. */
131
- get currentVariant(): Exclude<DatepickerVariant, "auto">;
132
- /** @inheritdoc */
133
- connectedCallback(): void;
134
- /** @inheritdoc */
135
- disconnectedCallback(): void;
136
- /**
137
- * Opens the picker.
138
- * @param {HTMLElement} trigger The element that triggered the picker.
139
- * @param {HTMLElement | undefined} anchor The element used to position the picker.
140
- * @returns {Promise<void>} A `Promise` that resolves when the picker is opened.
141
- */
142
- show(trigger: HTMLElement, anchor?: HTMLElement): Promise<void>;
143
- /**
144
- * Hides the picker.
145
- * @param {boolean} [restoreFocus=false] Whether to restore focus to the picker's trigger.
146
- */
147
- hide(restoreFocus?: boolean): void;
148
- /**
149
- * Toggles the picker.
150
- * @param {HTMLElement} trigger The element that triggered the picker.
151
- * @param {HTMLElement | undefined} anchor The element used to position the picker.
152
- * @returns {Promise<void>} A `Promise` that resolves when the picker is opened or closed.
153
- */
154
- toggle(trigger: HTMLElement, anchor?: HTMLElement): Promise<void>;
155
- /** @inheritdoc */
156
- protected render(): unknown;
157
- /** @inheritdoc */
158
- protected firstUpdated(_changedProperties: PropertyValues): void;
159
- /** @inheritdoc */
160
- protected update(changedProperties: PropertyValues<this>): void;
161
- /** @inheritdoc */
162
- protected updated(_changedProperties: PropertyValues<this>): void;
163
- }
164
- interface M3eDatepickerElementEventMap extends HTMLElementEventMap {
165
- beforetoggle: ToggleEvent;
166
- toggle: ToggleEvent;
167
- }
168
- export interface M3eDatepickerElement {
169
- addEventListener<K extends keyof M3eDatepickerElementEventMap>(type: K, listener: (this: M3eDatepickerElement, ev: M3eDatepickerElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
170
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
171
- removeEventListener<K extends keyof M3eDatepickerElementEventMap>(type: K, listener: (this: M3eDatepickerElement, ev: M3eDatepickerElementEventMap[K]) => void, options?: boolean | EventListenerOptions): void;
172
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
173
- }
174
- declare global {
175
- interface HTMLElementTagNameMap {
176
- "m3e-datepicker": M3eDatepickerElement;
177
- }
178
- }
179
- export {};
180
- //# sourceMappingURL=DatepickerElement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatepickerElement.d.ts","sourceRoot":"","sources":["../../../src/datepicker/DatepickerElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAa,MAAM,KAAK,CAAC;AAUhG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC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C,KAAK,IAAI,EACnF,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,gBAAgB,CACd,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,uBAAuB,GAC1C,IAAI,CAAC;IAER,mBAAmB,CAAC,CAAC,SAAS,MAAM,4BAA4B,EAC9D,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAC,CAAC,KAAK,IAAI,EACnF,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;IAER,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,kCAAkC,EAC5C,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,GACvC,IAAI,CAAC;CACT;AAOD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,oBAAoB,CAAC;KACxC;CACF"}
@@ -1,21 +0,0 @@
1
- import { ActionElementBase } from "@m3e/web/core";
2
- declare const M3eDatepickerToggleElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").HtmlForMixin> & typeof ActionElementBase;
3
- /**
4
- * An element, nested within a clickable element, used to toggle a datepicker.
5
- * @tag m3e-datepicker-toggle
6
- */
7
- export declare class M3eDatepickerToggleElement extends M3eDatepickerToggleElement_base {
8
- /** @inheritdoc */
9
- connectedCallback(): void;
10
- /** @inheritdoc */
11
- disconnectedCallback(): void;
12
- /** @inheritdoc */
13
- _onClick(): void;
14
- }
15
- declare global {
16
- interface HTMLElementTagNameMap {
17
- "m3e-datepicker-toggle": M3eDatepickerToggleElement;
18
- }
19
- }
20
- export {};
21
- //# sourceMappingURL=DatepickerToggleElement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatepickerToggleElement.d.ts","sourceRoot":"","sources":["../../../src/datepicker/DatepickerToggleElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAW,MAAM,eAAe,CAAC;;AAK3D;;;GAGG;AACH,qBACa,0BAA2B,SAAQ,+BAA0B;IACxE,kBAAkB;IACT,iBAAiB,IAAI,IAAI;IAQlC,kBAAkB;IACT,oBAAoB,IAAI,IAAI;IAQrC,kBAAkB;IACT,QAAQ,IAAI,IAAI;CAK1B;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,uBAAuB,EAAE,0BAA0B,CAAC;KACrD;CACF"}
@@ -1,3 +0,0 @@
1
- /** Specifies the various appearance variants of a datepicker. */
2
- export type DatepickerVariant = "docked" | "modal" | "auto";
3
- //# sourceMappingURL=DatepickerVariant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DatepickerVariant.d.ts","sourceRoot":"","sources":["../../../src/datepicker/DatepickerVariant.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC"}
@@ -1,35 +0,0 @@
1
- /**
2
- * Adapted from Angular Material Datepicker
3
- * Source: https://github.com/angular/components/blob/main/src/material/datepicker/month-view.ts
4
- *
5
- * @license MIT
6
- * Copyright (c) 2025 Google LLC
7
- * See LICENSE file in the project root for full license text.
8
- */
9
- import { CSSResultGroup } from "lit";
10
- import { CalendarViewElementBase } from "./CalendarViewElementBase";
11
- /**
12
- * An internal component used to display a single month in a calendar.
13
- * @internal
14
- */
15
- export declare class M3eMonthViewElement extends CalendarViewElementBase {
16
- #private;
17
- /** The styles of the element. */
18
- static styles: CSSResultGroup;
19
- /** Start of a date range. */
20
- rangeStart: Date | null;
21
- /** End of a date range. */
22
- rangeEnd: Date | null;
23
- /** A function used to determine whether a date cannot be selected. */
24
- blackoutDates: ((date: Date) => boolean) | null;
25
- /** A function used to determine whether a date is special. */
26
- specialDates: ((date: Date) => boolean) | null;
27
- /** @inheritdoc */
28
- protected render(): unknown;
29
- }
30
- declare global {
31
- interface HTMLElementTagNameMap {
32
- "m3e-month-view": M3eMonthViewElement;
33
- }
34
- }
35
- //# sourceMappingURL=MonthViewElement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MonthViewElement.d.ts","sourceRoot":"","sources":["../../../src/datepicker/MonthViewElement.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAO,cAAc,EAAiB,MAAM,KAAK,CAAC;AAQzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAYpE;;;GAGG;AACH,qBACa,mBAAoB,SAAQ,uBAAuB;;IAC9D,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CA+FpC;IAEF,6BAA6B;IACoD,UAAU,EAAE,IAAI,GAAG,IAAI,CAAQ;IAEhH,2BAA2B;IACoD,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAQ;IAE5G,sEAAsE;IACtC,aAAa,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,IAAI,CAAQ;IAEvF,8DAA8D;IAC9B,YAAY,EAAE,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,GAAG,IAAI,CAAQ;IAEtF,kBAAkB;cACC,MAAM,IAAI,OAAO;CA2PrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,mBAAmB,CAAC;KACvC;CACF"}
@@ -1,27 +0,0 @@
1
- /**
2
- * Adapted from Angular Material Datepicker
3
- * Source: https://github.com/angular/components/blob/main/src/material/datepicker/multi-year-view.ts
4
- *
5
- * @license MIT
6
- * Copyright (c) 2025 Google LLC
7
- * See LICENSE file in the project root for full license text.
8
- */
9
- import { CSSResultGroup } from "lit";
10
- import { CalendarViewElementBase } from "./CalendarViewElementBase";
11
- /**
12
- * An internal component used to display a year selector in a calendar.
13
- * @internal
14
- */
15
- export declare class M3eMultiYearViewElement extends CalendarViewElementBase {
16
- #private;
17
- /** The styles of the element. */
18
- static styles: CSSResultGroup;
19
- /** @inheritdoc */
20
- protected render(): unknown;
21
- }
22
- declare global {
23
- interface HTMLElementTagNameMap {
24
- "m3e-multi-year-view": M3eMultiYearViewElement;
25
- }
26
- }
27
- //# sourceMappingURL=MultiYearViewElement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiYearViewElement.d.ts","sourceRoot":"","sources":["../../../src/datepicker/MultiYearViewElement.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAO,cAAc,EAAQ,MAAM,KAAK,CAAC;AAQhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE;;;GAGG;AACH,qBACa,uBAAwB,SAAQ,uBAAuB;;IAClE,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAsBpC;IAEF,kBAAkB;cACC,MAAM,IAAI,OAAO;CAgIrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,uBAAuB,CAAC;KAChD;CACF"}
@@ -1,27 +0,0 @@
1
- /**
2
- * Adapted from Angular Material Datepicker
3
- * Source: https://github.com/angular/components/blob/main/src/material/datepicker/year-view.ts
4
- *
5
- * @license MIT
6
- * Copyright (c) 2025 Google LLC
7
- * See LICENSE file in the project root for full license text.
8
- */
9
- import { CSSResultGroup } from "lit";
10
- import { CalendarViewElementBase } from "./CalendarViewElementBase";
11
- /**
12
- * An internal component used to display a single year in a calendar.
13
- * @internal
14
- */
15
- export declare class M3eYearViewElement extends CalendarViewElementBase {
16
- #private;
17
- /** The styles of the element. */
18
- static styles: CSSResultGroup;
19
- /** @inheritdoc */
20
- protected render(): unknown;
21
- }
22
- declare global {
23
- interface HTMLElementTagNameMap {
24
- "m3e-year-view": M3eYearViewElement;
25
- }
26
- }
27
- //# sourceMappingURL=YearViewElement.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"YearViewElement.d.ts","sourceRoot":"","sources":["../../../src/datepicker/YearViewElement.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAO,cAAc,EAAQ,MAAM,KAAK,CAAC;AAQhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE;;;GAGG;AACH,qBACa,kBAAmB,SAAQ,uBAAuB;;IAC7D,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAsBpC;IAEF,kBAAkB;cACC,MAAM,IAAI,OAAO;CA8IrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,kBAAkB,CAAC;KACrC;CACF"}
@@ -1,10 +0,0 @@
1
- export * from "./CalendarElement";
2
- export * from "./CalendarView";
3
- export * from "./CalendarViewElementBase";
4
- export * from "./DatepickerElement";
5
- export * from "./DatepickerToggleElement";
6
- export * from "./DatepickerVariant";
7
- export * from "./MonthViewElement";
8
- export * from "./MultiYearViewElement";
9
- export * from "./YearViewElement";
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/datepicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC"}
@@ -1,26 +0,0 @@
1
- /** @internal */
2
- export declare function addCalendarDays(date: Date, days: number): Date;
3
- /** @internal */
4
- export declare function addCalendarMonths(date: Date, months: number): Date;
5
- /** @internal */
6
- export declare function addCalendarYears(date: Date, years: number): Date;
7
- /** @internal */
8
- export declare function getNumDaysInMonth(date: Date): number;
9
- /** @internal */
10
- export declare function compareDate(first: Date, second: Date): number;
11
- /** @internal */
12
- export declare function sameDate(first: Date | null, second: Date | null): boolean;
13
- /** @internal */
14
- export declare function parseDate(value: string | null): Date | null;
15
- /** @internal */
16
- export declare function getActiveOffset(activeDate: Date, minDate: Date | null, maxDate: Date | null): number;
17
- /** @internal */
18
- export declare function minYearOfPage(activeDate: Date, minDate: Date | null, maxDate: Date | null): number;
19
- /** @internal */
20
- export declare function maxYearOfPage(activeDate: Date, minDate: Date | null, maxDate: Date | null): number;
21
- /** @internal */
22
- export declare function clampDate(date: Date, minDate: Date | null, maxDate: Date | null): Date;
23
- /** @internal */ export declare const YEARS_PER_PAGE = 15;
24
- /** @internal */ export declare const YEARS_PER_ROW = 3;
25
- /** @internal */ export declare const MONTHS_PER_ROW = 4;
26
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/datepicker/utils.ts"],"names":[],"mappings":"AAuBA,gBAAgB;AAChB,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAE9D;AAED,gBAAgB;AAChB,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAMlE;AAED,gBAAgB;AAChB,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAEhE;AAED,gBAAgB;AAChB,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAEpD;AAED,gBAAgB;AAChB,wBAAgB,WAAW,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,GAAG,MAAM,CAM7D;AAED,gBAAgB;AAChB,wBAAgB,QAAQ,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,EAAE,MAAM,EAAE,IAAI,GAAG,IAAI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