@m3e/web 2.5.15 → 2.6.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 (67) hide show
  1. package/dist/TextOverflowElement.js +3605 -0
  2. package/dist/TextOverflowElement.js.map +1 -0
  3. package/dist/TextOverflowElement.min.js +7 -0
  4. package/dist/TextOverflowElement.min.js.map +1 -0
  5. package/dist/all.js +1566 -7
  6. package/dist/all.js.map +1 -1
  7. package/dist/all.min.js +89 -81
  8. package/dist/all.min.js.map +1 -1
  9. package/dist/badge.js +2 -1
  10. package/dist/badge.js.map +1 -1
  11. package/dist/badge.min.js +1 -1
  12. package/dist/badge.min.js.map +1 -1
  13. package/dist/core.js +415 -3968
  14. package/dist/core.js.map +1 -1
  15. package/dist/core.min.js +1 -1
  16. package/dist/core.min.js.map +1 -1
  17. package/dist/css-custom-data.json +590 -0
  18. package/dist/custom-elements.json +4385 -611
  19. package/dist/html-custom-data.json +251 -0
  20. package/dist/list.js +12 -4
  21. package/dist/list.js.map +1 -1
  22. package/dist/list.min.js +1 -1
  23. package/dist/list.min.js.map +1 -1
  24. package/dist/nav-bar.js +1 -1
  25. package/dist/nav-bar.js.map +1 -1
  26. package/dist/nav-bar.min.js +1 -1
  27. package/dist/nav-bar.min.js.map +1 -1
  28. package/dist/src/all.d.ts +1 -0
  29. package/dist/src/all.d.ts.map +1 -1
  30. package/dist/src/badge/BadgeElement.d.ts.map +1 -1
  31. package/dist/src/core/shared/converters/index.d.ts +1 -0
  32. package/dist/src/core/shared/converters/index.d.ts.map +1 -1
  33. package/dist/src/core/shared/converters/timeConverter.d.ts +11 -0
  34. package/dist/src/core/shared/converters/timeConverter.d.ts.map +1 -0
  35. package/dist/src/list/ListItemElement.d.ts.map +1 -1
  36. package/dist/src/nav-bar/NavItemElement.d.ts.map +1 -1
  37. package/dist/src/timepicker/TimepickerDialElement.d.ts +76 -0
  38. package/dist/src/timepicker/TimepickerDialElement.d.ts.map +1 -0
  39. package/dist/src/timepicker/TimepickerElement.d.ts +266 -0
  40. package/dist/src/timepicker/TimepickerElement.d.ts.map +1 -0
  41. package/dist/src/timepicker/TimepickerFormat.d.ts +3 -0
  42. package/dist/src/timepicker/TimepickerFormat.d.ts.map +1 -0
  43. package/dist/src/timepicker/TimepickerInputElement.d.ts +110 -0
  44. package/dist/src/timepicker/TimepickerInputElement.d.ts.map +1 -0
  45. package/dist/src/timepicker/TimepickerInputElementBase.d.ts +69 -0
  46. package/dist/src/timepicker/TimepickerInputElementBase.d.ts.map +1 -0
  47. package/dist/src/timepicker/TimepickerInputPeriodToggleElement.d.ts +18 -0
  48. package/dist/src/timepicker/TimepickerInputPeriodToggleElement.d.ts.map +1 -0
  49. package/dist/src/timepicker/TimepickerMode.d.ts +3 -0
  50. package/dist/src/timepicker/TimepickerMode.d.ts.map +1 -0
  51. package/dist/src/timepicker/TimepickerOrientation.d.ts +3 -0
  52. package/dist/src/timepicker/TimepickerOrientation.d.ts.map +1 -0
  53. package/dist/src/timepicker/TimepickerPeriod.d.ts +8 -0
  54. package/dist/src/timepicker/TimepickerPeriod.d.ts.map +1 -0
  55. package/dist/src/timepicker/TimepickerToggleElement.d.ts +21 -0
  56. package/dist/src/timepicker/TimepickerToggleElement.d.ts.map +1 -0
  57. package/dist/src/timepicker/TimepickerVariant.d.ts +3 -0
  58. package/dist/src/timepicker/TimepickerVariant.d.ts.map +1 -0
  59. package/dist/src/timepicker/TimepickerView.d.ts +3 -0
  60. package/dist/src/timepicker/TimepickerView.d.ts.map +1 -0
  61. package/dist/src/timepicker/index.d.ts +11 -0
  62. package/dist/src/timepicker/index.d.ts.map +1 -0
  63. package/dist/timepicker.js +1533 -0
  64. package/dist/timepicker.js.map +1 -0
  65. package/dist/timepicker.min.js +15 -0
  66. package/dist/timepicker.min.js.map +1 -0
  67. package/package.json +6 -1
@@ -0,0 +1,266 @@
1
+ import { CSSResultGroup, LitElement, PropertyValues } from "lit";
2
+ import { TimeParts } from "@m3e/web/core";
3
+ import "@m3e/web/core/a11y";
4
+ import "@m3e/web/button";
5
+ import "@m3e/web/icon-button";
6
+ import { TimepickerVariant } from "./TimepickerVariant";
7
+ import { TimepickerMode } from "./TimepickerMode";
8
+ import { TimepickerOrientation } from "./TimepickerOrientation";
9
+ import { TimepickerFormat } from "./TimepickerFormat";
10
+ import "./TimepickerDialElement";
11
+ import "./TimepickerInputElement";
12
+ declare const M3eTimepickerElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").SuppressInitialAnimationMixin> & import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").ReconnectedCallbackMixin> & import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").AttachInternalsMixin> & import("../core/shared/mixins/Constructor").Constructor & typeof LitElement;
13
+ /**
14
+ * Presents a time picker on a temporary surface.
15
+ * @description
16
+ * The `m3e-timepicker` component provides a time-selection experience consistent
17
+ * with Material 3 guidance for layout, motion, and accessibility. It displays a
18
+ * temporary surface that allows users to choose a time using both keyboard-based
19
+ * input and clock-face dial controls.
20
+ *
21
+ * While open, the picker ensures users can review their selection and complete
22
+ * the interaction through confirm, dismiss, or toggle actions, making updates
23
+ * intentional and accessible.
24
+ *
25
+ * It accepts and emits plain `Date` values, allowing applications to apply their
26
+ * own formatting, parsing, and localization.
27
+ *
28
+ * @tag m3e-timepicker
29
+ *
30
+ * @attr variant - The appearance variant of the picker.
31
+ * @attr mode - The mode in which to select time.
32
+ * @attr orientation - The orientation of the picker.
33
+ * @attr date - The selected date.
34
+ * @attr format - Whether to use a 12‑hour or 24‑hour clock.
35
+ * @attr max-time - The maximum time that can be selected.
36
+ * @attr min-time - The minimum time that can be selected.
37
+ * @attr confirm-label - Label given to the button used apply the selected date and close the picker.
38
+ * @attr dismiss-label - Label given to the button used discard the selected date and close the picker.
39
+ * @attr dial-label - Label given to the the picker when in dial mode.
40
+ * @attr input-label - Label given to the the picker when in input mode.
41
+ * @attr hour-label - Label for the hour field.
42
+ * @attr minute-label - Label for the minute field.
43
+ * @attr mode-toggle-label - The accessible label given to the mode toggle button.
44
+ * @attr hide-mode-toggle - Whether to hide the mode toggle button.
45
+ * @attr period-toggle-label - The accessible label given to the period toggle.
46
+ *
47
+ * @fires change - Dispatched when the selected time is confirmed.
48
+ * @fires beforetoggle - Dispatched before the picker toggles.
49
+ * @fires toggle - Dispatched when the picker toggles.
50
+ *
51
+ * @cssprop --m3e-timepicker-container-padding-block - Block padding inside the picker container.
52
+ * @cssprop --m3e-timepicker-container-padding-inline - Inline padding inside the picker container.
53
+ * @cssprop --m3e-timepicker-container-color - Background color of the picker container.
54
+ * @cssprop --m3e-timepicker-container-elevation - Box shadow / elevation of the picker container.
55
+ * @cssprop --m3e-timepicker-docked-container-color - Background color of the docked picker container.
56
+ * @cssprop --m3e-timepicker-docked-container-shape - Border radius of the docked picker container.
57
+ * @cssprop --m3e-timepicker-modal-container-color - Background color of the modal picker container.
58
+ * @cssprop --m3e-timepicker-modal-container-shape - Border radius of the modal picker container.
59
+ * @cssprop --m3e-timepicker-headline-color - Color of the headline.
60
+ * @cssprop --m3e-timepicker-headline-font-size - Font size of the headline.
61
+ * @cssprop --m3e-timepicker-headline-font-weight - Font weight of the headline.
62
+ * @cssprop --m3e-timepicker-headline-line-height - Line height of the headline.
63
+ * @cssprop --m3e-timepicker-headline-tracking - Letter spacing of the headline.
64
+ * @cssprop --m3e-timepicker-headline-top-space - Top margin above the headline.
65
+ * @cssprop --m3e-timepicker-actions-space - Space above the action buttons.
66
+ * @cssprop --m3e-timepicker-label-input-space - Space between Label and the input.
67
+ * @cssprop --m3e-timepicker-vertical-input-dial-space - Space between the input and dial in vertical orientation.
68
+ * @cssprop --m3e-timepicker-horizontal-input-dial-space - Space between the input and dial in horizontal orientation.
69
+ * @cssprop --m3e-timepicker-input-field-container-width - Width of the input field container.
70
+ * @cssprop --m3e-timepicker-input-field-height - Height of the input fields.
71
+ * @cssprop --m3e-timepicker-input-field-container-shape - Corner radius of the input field container.
72
+ * @cssprop --m3e-timepicker-input-field-font-size - Font size of the input field text.
73
+ * @cssprop --m3e-timepicker-input-field-font-weight - Font weight of the input field text.
74
+ * @cssprop --m3e-timepicker-input-field-line-height - Line height of the input field text.
75
+ * @cssprop --m3e-timepicker-input-field-tracking - Letter spacing of the input field text.
76
+ * @cssprop --m3e-timepicker-input-field-label-unselected-color - Text color of unselected input field labels.
77
+ * @cssprop --m3e-timepicker-input-field-unselected-container-color - Background color of unselected input fields.
78
+ * @cssprop --m3e-timepicker-input-field-label-selected-color - Text color of selected input field labels.
79
+ * @cssprop --m3e-timepicker-input-field-selected-container-color - Background color of selected input fields.
80
+ * @cssprop --m3e-timepicker-input-field-label-invalid-color - Text color of invalid input field labels.
81
+ * @cssprop --m3e-timepicker-input-field-invalid-container-color - Background color of invalid input fields.
82
+ * @cssprop --m3e-timepicker-input-field-supporting-text-color - Text color of supporting labels.
83
+ * @cssprop --m3e-timepicker-input-field-supporting-text-font-size - Font size of supporting labels.
84
+ * @cssprop --m3e-timepicker-input-field-supporting-text-font-weight - Font weight of supporting labels.
85
+ * @cssprop --m3e-timepicker-input-field-supporting-text-line-height - Line height of supporting labels.
86
+ * @cssprop --m3e-timepicker-input-field-supporting-text-tracking - Letter spacing of supporting labels.
87
+ * @cssprop --m3e-timepicker-input-field-separator-width - Width of the field separator.
88
+ * @cssprop --m3e-timepicker-input-field-separator-color - Color of the field separator.
89
+ * @cssprop --m3e-timepicker-input-field-separator-font-size - Font size of the field separator.
90
+ * @cssprop --m3e-timepicker-input-field-separator-font-weight - Font weight of the field separator.
91
+ * @cssprop --m3e-timepicker-input-field-separator-tracking - Letter spacing of the field separator.
92
+ * @cssprop --m3e-timepicker-input-horizontal-period-toggle-space - Space between the fields and period toggle in horizontal orientation.
93
+ * @cssprop --m3e-timepicker-input-vertical-period-toggle-space - Space between the fields and period toggle in vertical orientation.
94
+ * @cssprop --m3e-timepicker-dial-container-size - Size of the dial container.
95
+ * @cssprop --m3e-timepicker-dial-container-shape - Corner radius of the dial container.
96
+ * @cssprop --m3e-timepicker-dial-container-color - Background color of the dial container.
97
+ * @cssprop --m3e-timepicker-dial-inset - Inset offset applied to the dial surface.
98
+ * @cssprop --m3e-timepicker-dial-center-size - Size of the dial center.
99
+ * @cssprop --m3e-timepicker-dial-handle-color - Color of the active handle.
100
+ * @cssprop --m3e-timepicker-dial-handle-size - Size of the handle.
101
+ * @cssprop --m3e-timepicker-dial-handle-disabled-color - Color of a disabled handle.
102
+ * @cssprop --m3e-timepicker-dial-handle-disabled-opacity - Opacity of a disabled handle.
103
+ * @cssprop --m3e-timepicker-dial-dial-inset - Inset applied to the handle area.
104
+ * @cssprop --m3e-timepicker-dial-numeral-size - Size of the dial numerals.
105
+ * @cssprop --m3e-timepicker-dial-numeral-color - Text color of inactive numerals.
106
+ * @cssprop --m3e-timepicker-dial-numeral-shape - Corner radius of the numerals.
107
+ * @cssprop --m3e-timepicker-dial-numeral-font-size - Font size of the outer numerals.
108
+ * @cssprop --m3e-timepicker-dial-numeral-font-weight - Font weight of the outer numerals.
109
+ * @cssprop --m3e-timepicker-dial-numeral-line-height - Line height of the outer numerals.
110
+ * @cssprop --m3e-timepicker-dial-numeral-tracking - Letter spacing of the outer numerals.
111
+ * @cssprop --m3e-timepicker-dial-inner-numeral-font-size - Font size of the inner numerals.
112
+ * @cssprop --m3e-timepicker-dial-inner-numeral-font-weight - Font weight of the inner numerals.
113
+ * @cssprop --m3e-timepicker-dial-inner-numeral-line-height - Line height of the inner numerals.
114
+ * @cssprop --m3e-timepicker-dial-inner-numeral-tracking - Letter spacing of the inner numerals.
115
+ * @cssprop --m3e-timepicker-dial-numeral-active-color - Color of active numerals.
116
+ * @cssprop --m3e-timepicker-dial-numeral-disabled-color - Color of disabled numerals.
117
+ * @cssprop --m3e-timepicker-dial-numeral-disabled-opacity - Opacity of disabled numerals.
118
+ * @cssprop --m3e-timepicker-dial-handle-center-size - Size of the handle center indicator.
119
+ */
120
+ export declare class M3eTimepickerElement extends M3eTimepickerElement_base {
121
+ #private;
122
+ /** The styles of the element. */
123
+ static styles: CSSResultGroup;
124
+ /** @private */ private _open;
125
+ /** @private */ private readonly _input;
126
+ /** @private */ _invalid: boolean;
127
+ /** @private */ private _variant?;
128
+ /** @private */ private _orientation?;
129
+ /** @private */ private _mode?;
130
+ /**
131
+ * The appearance variant of the picker.
132
+ * @default "docked"
133
+ */
134
+ variant: TimepickerVariant;
135
+ /**
136
+ * The mode in which to select time.
137
+ * @default "dial"
138
+ */
139
+ mode: TimepickerMode;
140
+ /**
141
+ * The orientation of the picker.
142
+ * @default "vertical"
143
+ */
144
+ orientation: TimepickerOrientation;
145
+ /**
146
+ * The selected date.
147
+ * @default null
148
+ */
149
+ date: Date | null;
150
+ /**
151
+ * Whether to use a 12‑hour or 24‑hour clock.
152
+ * @default "12"
153
+ */
154
+ format: TimepickerFormat;
155
+ /**
156
+ * The minimum time that can be selected.
157
+ * @default null
158
+ */
159
+ minTime: TimeParts | null;
160
+ /**
161
+ * The maximum time that can be selected.
162
+ * @default null
163
+ */
164
+ maxTime: TimeParts | null;
165
+ /** A function used to determine whether a time cannot be selected. */
166
+ blackoutTimes?: (time: TimeParts) => boolean;
167
+ /**
168
+ * Whether to hide the mode toggle button.
169
+ * @default false
170
+ */
171
+ hideModeToggle: boolean;
172
+ /**
173
+ * Label given to the button used apply the selected date and close the picker.
174
+ * @default "OK"
175
+ */
176
+ confirmLabel: string;
177
+ /**
178
+ * Label given to the button used discard the selected date and close the picker.
179
+ * @default "Cancel"
180
+ */
181
+ dismissLabel: string;
182
+ /**
183
+ * Label given to the the picker when in dial mode.
184
+ * @default "Select time"
185
+ */
186
+ dialLabel: string;
187
+ /**
188
+ * Label given to the the picker when in input mode.
189
+ * @default "Edit time"
190
+ */
191
+ inputLabel: string;
192
+ /**
193
+ * Label for the hour field.
194
+ * @default "Hour"
195
+ */
196
+ hourLabel: string;
197
+ /**
198
+ * Label for the minute field.
199
+ * @default "Minute"
200
+ */
201
+ minuteLabel: string;
202
+ /**
203
+ * The accessible label given to the mode toggle button.
204
+ * @default "Toggle input picker"
205
+ */
206
+ modeToggleLabel: string;
207
+ /**
208
+ * The accessible label given to the period toggle.
209
+ * @default "AM or PM"
210
+ */
211
+ periodToggleLabel: string;
212
+ /** Whether the picker is open. */
213
+ get isOpen(): boolean;
214
+ /** The current variant applied to the picker. */
215
+ get currentVariant(): Exclude<TimepickerVariant, "auto">;
216
+ /** The current orientation applied to the picker. */
217
+ get currentOrientation(): Exclude<TimepickerOrientation, "auto">;
218
+ /** The current input mode applied to the picker. */
219
+ get currentMode(): Exclude<TimepickerMode, "auto">;
220
+ /** @inheritdoc */
221
+ connectedCallback(): void;
222
+ /** @inheritdoc */
223
+ disconnectedCallback(): void;
224
+ /** @inheritdoc */
225
+ reconnectedCallback(): void;
226
+ /**
227
+ * Opens the picker.
228
+ * @param {HTMLElement} trigger The element that triggered the picker.
229
+ * @param {HTMLElement | undefined} anchor The element used to position the picker.
230
+ * @returns {Promise<void>} A `Promise` that resolves when the picker is opened.
231
+ */
232
+ show(trigger: HTMLElement, anchor?: HTMLElement): Promise<void>;
233
+ /**
234
+ * Hides the picker.
235
+ * @param {boolean} [restoreFocus=false] Whether to restore focus to the picker's trigger.
236
+ */
237
+ hide(restoreFocus?: boolean): void;
238
+ /**
239
+ * Toggles the picker.
240
+ * @param {HTMLElement} trigger The element that triggered the picker.
241
+ * @param {HTMLElement | undefined} anchor The element used to position the picker.
242
+ * @returns {Promise<void>} A `Promise` that resolves when the picker is opened or closed.
243
+ */
244
+ toggle(trigger: HTMLElement, anchor?: HTMLElement): Promise<void>;
245
+ /** @inheritdoc */
246
+ protected render(): unknown;
247
+ /** @inheritdoc */
248
+ protected willUpdate(changedProperties: PropertyValues<this>): void;
249
+ }
250
+ interface M3eTimepickerElementEventMap extends HTMLElementEventMap {
251
+ beforetoggle: ToggleEvent;
252
+ toggle: ToggleEvent;
253
+ }
254
+ export interface M3eTimepickerElement {
255
+ addEventListener<K extends keyof M3eTimepickerElementEventMap>(type: K, listener: (this: M3eTimepickerElement, ev: M3eTimepickerElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
256
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
257
+ removeEventListener<K extends keyof M3eTimepickerElementEventMap>(type: K, listener: (this: M3eTimepickerElement, ev: M3eTimepickerElementEventMap[K]) => void, options?: boolean | EventListenerOptions): void;
258
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
259
+ }
260
+ declare global {
261
+ interface HTMLElementTagNameMap {
262
+ "m3e-timepicker": M3eTimepickerElement;
263
+ }
264
+ }
265
+ export {};
266
+ //# sourceMappingURL=TimepickerElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerElement.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAW,cAAc,EAAkB,MAAM,KAAK,CAAC;AAIrG,OAAO,EAeL,SAAS,EACV,MAAM,eAAe,CAAC;AAMvB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,sBAAsB,CAAC;AAG9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,yBAAyB,CAAC;AACjC,OAAO,0BAA0B,CAAC;;AAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AACH,qBACa,oBAAqB,SAAQ,yBAEzC;;IACC,iCAAiC;IACjC,OAAgB,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AC,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;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,oBAAoB,CAAC;KACxC;CACF"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the time formats used by a timepicker. */
2
+ export type TimepickerFormat = "12" | "24" | "auto";
3
+ //# sourceMappingURL=TimepickerFormat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerFormat.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerFormat.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC"}
@@ -0,0 +1,110 @@
1
+ import { CSSResultGroup, PropertyValues } from "lit";
2
+ import { TimepickerOrientation } from "./TimepickerOrientation";
3
+ import { TimepickerInputElementBase } from "./TimepickerInputElementBase";
4
+ import "./TimepickerInputPeriodToggleElement";
5
+ declare const M3eTimepickerInputElement_base: import("../core/shared/mixins/Constructor").Constructor<import("@m3e/web/core").HtmlForMixin> & typeof TimepickerInputElementBase;
6
+ /**
7
+ * A keyboard‑based time surface for choosing hours and minutes.
8
+ * @description
9
+ * The `m3e-timepicker-input` component provides a keyboard-focused time
10
+ * entry surface, allowing users to type or navigate hour and minute fields,
11
+ * toggle AM/PM, and receive accessible validation feedback.
12
+ *
13
+ * @tag m3e-timepicker-input
14
+ *
15
+ * @attr format - Whether to use a 12‑hour or 24‑hour clock.
16
+ * @attr hide-labels - Whether to hide field labels.
17
+ * @attr hour - The hour, in 24-hour time, from 0..23.
18
+ * @attr max-time - The maximum time that can be selected.
19
+ * @attr min-time - The minimum time that can be selected.
20
+ * @attr minute - The minute, from 0..59.
21
+ * @attr orientation - The orientation of the input.
22
+ * @attr period - The 12-hour time period.
23
+ * @attr view - The view used to input time.
24
+ * @attr hour-label - The label for the hour field.
25
+ * @attr minute-label - The label for the minute field.
26
+ * @attr period-toggle-label - The accessible label given to the period toggle.
27
+ *
28
+ * @fires change - Dispatched when the selected time changes.
29
+ * @fires view-change - Dispatched when the view changes.
30
+ *
31
+ * @cssprop --m3e-timepicker-input-field-container-width - Width of the input field container.
32
+ * @cssprop --m3e-timepicker-input-field-height - Height of the input fields.
33
+ * @cssprop --m3e-timepicker-input-field-container-shape - Corner radius of the input field container.
34
+ * @cssprop --m3e-timepicker-input-field-font-size - Font size of the input field text.
35
+ * @cssprop --m3e-timepicker-input-field-font-weight - Font weight of the input field text.
36
+ * @cssprop --m3e-timepicker-input-field-line-height - Line height of the input field text.
37
+ * @cssprop --m3e-timepicker-input-field-tracking - Letter spacing of the input field text.
38
+ * @cssprop --m3e-timepicker-input-field-label-unselected-color - Text color of unselected input field labels.
39
+ * @cssprop --m3e-timepicker-input-field-unselected-container-color - Background color of unselected input fields.
40
+ * @cssprop --m3e-timepicker-input-field-label-selected-color - Text color of selected input field labels.
41
+ * @cssprop --m3e-timepicker-input-field-selected-container-color - Background color of selected input fields.
42
+ * @cssprop --m3e-timepicker-input-field-label-invalid-color - Text color of invalid input field labels.
43
+ * @cssprop --m3e-timepicker-input-field-invalid-container-color - Background color of invalid input fields.
44
+ * @cssprop --m3e-timepicker-input-field-supporting-text-color - Text color of supporting labels.
45
+ * @cssprop --m3e-timepicker-input-field-supporting-text-font-size - Font size of supporting labels.
46
+ * @cssprop --m3e-timepicker-input-field-supporting-text-font-weight - Font weight of supporting labels.
47
+ * @cssprop --m3e-timepicker-input-field-supporting-text-line-height - Line height of supporting labels.
48
+ * @cssprop --m3e-timepicker-input-field-supporting-text-tracking - Letter spacing of supporting labels.
49
+ * @cssprop --m3e-timepicker-input-field-separator-width - Width of the field separator.
50
+ * @cssprop --m3e-timepicker-input-field-separator-color - Color of the field separator.
51
+ * @cssprop --m3e-timepicker-input-field-separator-font-size - Font size of the field separator.
52
+ * @cssprop --m3e-timepicker-input-field-separator-font-weight - Font weight of the field separator.
53
+ * @cssprop --m3e-timepicker-input-field-separator-tracking - Letter spacing of the field separator.
54
+ * @cssprop --m3e-timepicker-input-horizontal-period-toggle-space - Space between the fields and period toggle in horizontal orientation.
55
+ * @cssprop --m3e-timepicker-input-vertical-period-toggle-space - Space between the fields and period toggle in vertical orientation.
56
+ */
57
+ export declare class M3eTimepickerInputElement extends M3eTimepickerInputElement_base {
58
+ #private;
59
+ /** The styles of the element. */
60
+ static styles: CSSResultGroup;
61
+ /**
62
+ * The orientation of the input.
63
+ * @default "horizontal"
64
+ */
65
+ orientation: Exclude<TimepickerOrientation, "auto">;
66
+ /**
67
+ * Whether to hide field labels.
68
+ * @default false
69
+ */
70
+ hideLabels: boolean;
71
+ /**
72
+ * The label for the hour field.
73
+ * @default "Hour"
74
+ */
75
+ hourLabel: string;
76
+ /**
77
+ * The label for the minute field.
78
+ * @default "Minute"
79
+ */
80
+ minuteLabel: string;
81
+ /**
82
+ * The accessible label given to the period toggle.
83
+ * @default "AM or PM"
84
+ */
85
+ periodToggleLabel: string;
86
+ /** @inheritdoc */
87
+ attach(control: HTMLElement): void;
88
+ /** @inheritdoc */
89
+ detach(): void;
90
+ /** @inheritdoc */
91
+ protected willUpdate(_changedProperties: PropertyValues<this>): void;
92
+ /** @inheritdoc */
93
+ protected render(): unknown;
94
+ }
95
+ interface M3eTimepickerInputElementEventMap extends HTMLElementEventMap {
96
+ "view-change": CustomEvent;
97
+ }
98
+ export interface M3eTimepickerInputElement {
99
+ addEventListener<K extends keyof M3eTimepickerInputElementEventMap>(type: K, listener: (this: M3eTimepickerInputElement, ev: M3eTimepickerInputElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
100
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
101
+ removeEventListener<K extends keyof M3eTimepickerInputElementEventMap>(type: K, listener: (this: M3eTimepickerInputElement, ev: M3eTimepickerInputElementEventMap[K]) => void, options?: boolean | EventListenerOptions): void;
102
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
103
+ }
104
+ declare global {
105
+ interface HTMLElementTagNameMap {
106
+ "m3e-timepicker-input": M3eTimepickerInputElement;
107
+ }
108
+ }
109
+ export {};
110
+ //# sourceMappingURL=TimepickerInputElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerInputElement.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerInputElement.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,cAAc,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AAOzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,OAAO,sCAAsC,CAAC;;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,qBACa,yBAA0B,SAAQ,8BAAmC;;IAChF,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAsHpC;IAKF;;;OAGG;IAC0B,WAAW,EAAE,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAgB;IAEhG;;;OAGG;IACoD,UAAU,UAAS;IAE1E;;;OAGG;IACoC,SAAS,SAAU;IAE1D;;;OAGG;IACsC,WAAW,SAAY;IAEhE;;;OAGG;IAC6C,iBAAiB,SAAc;IAE/E,kBAAkB;IACT,MAAM,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;IAU3C,kBAAkB;IACT,MAAM,IAAI,IAAI;IAQvB,kBAAkB;cACC,UAAU,CAAC,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IA+B7E,kBAAkB;cACC,MAAM,IAAI,OAAO;CA+RrC;AAED,UAAU,iCAAkC,SAAQ,mBAAmB;IACrE,aAAa,EAAE,WAAW,CAAC;CAC5B;AAED,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,CAAC,CAAC,SAAS,MAAM,iCAAiC,EAChE,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,yBAAyB,EAAE,EAAE,EAAE,iCAAiC,CAAC,CAAC,CAAC,KAAK,IAAI,EAC7F,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,iCAAiC,EACnE,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,IAAI,EAAE,yBAAyB,EAAE,EAAE,EAAE,iCAAiC,CAAC,CAAC,CAAC,KAAK,IAAI,EAC7F,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;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,yBAAyB,CAAC;KACnD;CACF"}
@@ -0,0 +1,69 @@
1
+ import { LitElement, PropertyValues } from "lit";
2
+ import { TimepickerFormat } from "./TimepickerFormat";
3
+ import { TimepickerView } from "./TimepickerView";
4
+ import { TimepickerPeriod } from "./TimepickerPeriod";
5
+ import { TimeParts } from "../core";
6
+ /** A base implementation for an element used to input time. This class must be inherited. */
7
+ export declare class TimepickerInputElementBase extends LitElement {
8
+ #private;
9
+ /**
10
+ * The hour, in 24-hour time, from 0..23.
11
+ * @default null
12
+ */
13
+ get hour(): number | null;
14
+ set hour(value: number | null);
15
+ /**
16
+ * The minute, from 0..59.
17
+ * @default null
18
+ */
19
+ get minute(): number | null;
20
+ set minute(value: number | null);
21
+ /**
22
+ * Whether to use a 12‑hour or 24‑hour clock.
23
+ * @default "12"
24
+ */
25
+ format: TimepickerFormat;
26
+ /**
27
+ * The view used to input time.
28
+ * @default "hour"
29
+ */
30
+ view: TimepickerView;
31
+ /**
32
+ * The 12-hour time period.
33
+ * @default "am"
34
+ */
35
+ period: TimepickerPeriod;
36
+ /**
37
+ * The minimum time that can be selected.
38
+ * @default null
39
+ */
40
+ minTime: TimeParts | null;
41
+ /**
42
+ * The maximum time that can be selected.
43
+ * @default null
44
+ */
45
+ maxTime: TimeParts | null;
46
+ /** A function used to determine whether a time cannot be selected. */
47
+ blackoutTimes?: (time: TimeParts) => boolean;
48
+ /** The hour in 12‑hour time from 1..12. */
49
+ get hourOfPeriod(): number | null;
50
+ set hourOfPeriod(value: number | null);
51
+ /** The current time format. */
52
+ get currentFormat(): Exclude<TimepickerFormat, "auto">;
53
+ /** @inheritdoc */
54
+ protected willUpdate(_changedProperties: PropertyValues<this>): void;
55
+ /**
56
+ * Determines whether the given hour is disabled.
57
+ * @param {number} hour The hour to test.
58
+ * @returns Whether `hour` is disabled.
59
+ */
60
+ isHourDisabled(hour: number): boolean;
61
+ /**
62
+ * Determines whether the given minute of an hour is disabled.
63
+ * @param {number} hour The hour to test.
64
+ * @param {number} minute The minute to test.
65
+ * @returns Whether `minute` is disabled for `hour`.
66
+ */
67
+ isMinuteDisabled(hour: number, minute: number): boolean;
68
+ }
69
+ //# sourceMappingURL=TimepickerInputElementBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerInputElementBase.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerInputEl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;;OAIG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAerC;;;;;OAKG;IACH,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;CAmBxD"}
@@ -0,0 +1,18 @@
1
+ import { CSSResultGroup, LitElement } from "lit";
2
+ import { TimepickerOrientation } from "./TimepickerOrientation";
3
+ import { TimepickerPeriod } from "./TimepickerPeriod";
4
+ declare const M3eTimepickerInputPeriodToggleElement_base: import("../core/shared/mixins/Constructor").Constructor & typeof LitElement;
5
+ /** @internal An internal element responsible for selecting a time period (AM/PM). */
6
+ export declare class M3eTimepickerInputPeriodToggleElement extends M3eTimepickerInputPeriodToggleElement_base {
7
+ #private;
8
+ /** The styles of the element. */
9
+ static styles: CSSResultGroup;
10
+ /** The 12-hour time period. */
11
+ period: TimepickerPeriod;
12
+ /** The orientation of the toggle. */
13
+ orientation: Exclude<TimepickerOrientation, "auto">;
14
+ /** @inheritdoc */
15
+ protected render(): unknown;
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=TimepickerInputPeriodToggleElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerInputPeriodToggleElement.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerInputPeriodToggleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,cAAc,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAMvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;;AAEtD,qFAAqF;AACrF,qBACa,qCAAsC,SAAQ,0CAA8B;;IACvF,iCAAiC;IACjC,OAAgB,MAAM,EAAE,cAAc,CAgIpC;IAEF,+BAA+B;IACnB,MAAM,EAAE,gBAAgB,CAAQ;IAE5C,qCAAqC;IACR,WAAW,EAAE,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAc;IAE9F,kBAAkB;cACC,MAAM,IAAI,OAAO;CAkGrC"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the modes in which users can input time using a timepicker. */
2
+ export type TimepickerMode = "dial" | "input";
3
+ //# sourceMappingURL=TimepickerMode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerMode.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerMode.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the possible layout orientations of a timepicker. */
2
+ export type TimepickerOrientation = "horizontal" | "vertical" | "auto";
3
+ //# sourceMappingURL=TimepickerOrientation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerOrientation.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerOrientation.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Represents the 12‑hour clock period.
3
+ *
4
+ * `"am"` indicates the time range from midnight to noon.
5
+ * `"pm"` indicates the time range from noon to midnight.
6
+ */
7
+ export type TimepickerPeriod = "am" | "pm";
8
+ //# sourceMappingURL=TimepickerPeriod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerPeriod.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerPeriod.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { ActionElementBase } from "@m3e/web/core";
2
+ declare const M3eTimepickerToggleElement_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 timepicker.
5
+ * @tag m3e-timepicker-toggle
6
+ */
7
+ export declare class M3eTimepickerToggleElement extends M3eTimepickerToggleElement_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-timepicker-toggle": M3eTimepickerToggleElement;
18
+ }
19
+ }
20
+ export {};
21
+ //# sourceMappingURL=TimepickerToggleElement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerToggleElement.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerToggleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAW,MAAM,eAAe,CAAC;;AAK1E;;;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"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the various appearance variants of a timepicker. */
2
+ export type TimepickerVariant = "docked" | "modal" | "auto";
3
+ //# sourceMappingURL=TimepickerVariant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerVariant.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerVariant.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Specifies the possible views of a timepicker. */
2
+ export type TimepickerView = "hour" | "minute";
3
+ //# sourceMappingURL=TimepickerView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TimepickerView.d.ts","sourceRoot":"","sources":["../../../src/timepicker/TimepickerView.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,11 @@
1
+ export * from "./TimepickerDialElement";
2
+ export * from "./TimepickerElement";
3
+ export * from "./TimepickerFormat";
4
+ export * from "./TimepickerInputElement";
5
+ export * from "./TimepickerMode";
6
+ export * from "./TimepickerOrientation";
7
+ export * from "./TimepickerPeriod";
8
+ export * from "./TimepickerToggleElement";
9
+ export * from "./TimepickerVariant";
10
+ export * from "./TimepickerView";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/timepicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}