@aurodesignsystem-dev/auro-formkit 0.0.0-pr1477.2 → 0.0.0-pr1480.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +7 -0
- package/components/bibtemplate/dist/index.js +9 -1
- package/components/bibtemplate/dist/registered.js +9 -1
- package/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/demo/pages.json +1 -1
- package/components/checkbox/demo/why-checkbox.html +57 -0
- package/components/checkbox/demo/why-checkbox.md +86 -0
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +236 -18
- package/components/combobox/demo/getting-started.min.js +236 -18
- package/components/combobox/demo/index.min.js +236 -18
- package/components/combobox/demo/keyboard-behavior.md +8 -68
- package/components/combobox/demo/pages.json +1 -1
- package/components/combobox/demo/why-combobox.html +57 -0
- package/components/combobox/demo/why-combobox.md +113 -0
- package/components/combobox/dist/index.js +236 -18
- package/components/combobox/dist/registered.js +236 -18
- package/components/counter/demo/customize.min.js +233 -15
- package/components/counter/demo/index.min.js +233 -15
- package/components/counter/demo/keyboard-behavior.md +1 -0
- package/components/counter/demo/pages.json +1 -1
- package/components/counter/demo/why-counter.html +57 -0
- package/components/counter/demo/why-counter.md +108 -0
- package/components/counter/dist/index.js +10 -2
- package/components/counter/dist/registered.js +10 -2
- package/components/datepicker/demo/accessibility.md +54 -3
- package/components/datepicker/demo/api.md +11 -2
- package/components/datepicker/demo/customize.html +2 -0
- package/components/datepicker/demo/customize.js +19 -0
- package/components/datepicker/demo/customize.md +72 -8
- package/components/datepicker/demo/customize.min.js +26498 -0
- package/components/datepicker/demo/design.md +3 -1
- package/components/datepicker/demo/index.js +5 -1
- package/components/datepicker/demo/index.md +85 -2
- package/components/datepicker/demo/index.min.js +2122 -185
- package/components/datepicker/demo/keyboard-behavior.md +201 -2
- package/components/datepicker/demo/pages.json +1 -1
- package/components/datepicker/demo/voiceover.md +21 -12
- package/components/datepicker/demo/why-datepicker.html +57 -0
- package/components/datepicker/demo/why-datepicker.md +133 -0
- package/components/datepicker/dist/index.js +2017 -156
- package/components/datepicker/dist/registered.js +2017 -156
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +112 -11
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +37 -0
- package/components/datepicker/dist/src/auro-calendar.d.ts +177 -0
- package/components/datepicker/dist/src/auro-datepicker.d.ts +88 -0
- package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +5 -3
- package/components/dropdown/demo/accessibility.md +11 -0
- package/components/dropdown/demo/api.md +1 -0
- package/components/dropdown/demo/customize.md +3 -0
- package/components/dropdown/demo/customize.min.js +223 -13
- package/components/dropdown/demo/getting-started.min.js +223 -13
- package/components/dropdown/demo/index.min.js +223 -13
- package/components/dropdown/demo/keyboard-behavior.md +1 -0
- package/components/dropdown/demo/pages.json +1 -1
- package/components/dropdown/demo/why-dropdown.html +57 -0
- package/components/dropdown/demo/why-dropdown.md +97 -0
- package/components/dropdown/dist/auro-dropdown.d.ts +33 -1
- package/components/dropdown/dist/index.js +223 -13
- package/components/dropdown/dist/registered.js +223 -13
- package/components/form/demo/customize.min.js +2733 -220
- package/components/form/demo/getting-started.min.js +2733 -220
- package/components/form/demo/index.min.js +2733 -220
- package/components/form/demo/pages.json +1 -1
- package/components/form/demo/registerDemoDeps.min.js +2733 -220
- package/components/form/demo/why-form.html +57 -0
- package/components/form/demo/why-form.md +101 -0
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/demo/pages.json +1 -1
- package/components/input/demo/why-input.html +57 -0
- package/components/input/demo/why-input.md +121 -0
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/pages.json +1 -1
- package/components/menu/demo/why-menu.html +57 -0
- package/components/menu/demo/why-menu.md +104 -0
- package/components/radio/demo/customize.min.js +2186 -0
- package/components/radio/demo/demo-support.min.js +55807 -0
- package/components/radio/demo/getting-started.js +1 -1
- package/components/radio/demo/getting-started.md +1 -1
- package/components/radio/demo/getting-started.min.js +2205 -0
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/pages.json +1 -1
- package/components/radio/demo/why-radio.html +57 -0
- package/components/radio/demo/why-radio.md +92 -0
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +249 -33
- package/components/select/demo/getting-started.min.js +249 -33
- package/components/select/demo/index.min.js +249 -33
- package/components/select/demo/keyboard-behavior.md +9 -54
- package/components/select/demo/pages.json +1 -1
- package/components/select/demo/why-select.html +57 -0
- package/components/select/demo/why-select.md +128 -0
- package/components/select/dist/index.js +249 -33
- package/components/select/dist/registered.js +249 -33
- package/custom-elements.json +1018 -74
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -128,6 +128,17 @@
|
|
|
128
128
|
},
|
|
129
129
|
"attribute": "isFullscreen",
|
|
130
130
|
"reflects": true
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "field",
|
|
134
|
+
"name": "showFooter",
|
|
135
|
+
"privacy": "public",
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "boolean"
|
|
138
|
+
},
|
|
139
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
140
|
+
"attribute": "showFooter",
|
|
141
|
+
"reflects": true
|
|
131
142
|
}
|
|
132
143
|
],
|
|
133
144
|
"events": [
|
|
@@ -159,6 +170,14 @@
|
|
|
159
170
|
},
|
|
160
171
|
"default": "false",
|
|
161
172
|
"fieldName": "large"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "showFooter",
|
|
176
|
+
"type": {
|
|
177
|
+
"text": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
180
|
+
"fieldName": "showFooter"
|
|
162
181
|
}
|
|
163
182
|
],
|
|
164
183
|
"superclass": {
|
|
@@ -2435,7 +2454,7 @@
|
|
|
2435
2454
|
"type": {
|
|
2436
2455
|
"text": "object"
|
|
2437
2456
|
},
|
|
2438
|
-
"default": "{ ArrowDown(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowDown normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.
|
|
2457
|
+
"default": "{ ArrowDown(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowDown normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateLastEnabledAvailableOption(); } else { navigateArrow(component, 'down'); } } else { component.showBib(); } } }, ArrowUp(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowUp normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateFirstEnabledAvailableOption(); } else { navigateArrow(component, 'up'); } } else { component.showBib(); } } }, End(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateLastEnabledAvailableOption(); } }, Enter(component, evt, ctx) { if (isClearBtnFocused(ctx)) { // If the clear button has focus, let the browser activate it normally. // stopPropagation prevents parent containers (e.g., forms) from treating // Enter as a submit, but we must NOT call preventDefault — that would // block the browser's built-in \"Enter activates focused button\" behavior. evt.stopPropagation(); } else if (ctx.isExpanded && component.menu.optionActive) { component.menu.makeSelection(); if (ctx.isModal) { component.setTriggerInputFocus(); } evt.preventDefault(); evt.stopPropagation(); } else { // Prevent the keypress from bubbling to parent containers (e.g., forms) // which could interpret Enter as a submit or trigger other unintended behavior. // This is safe because showBib() opens the dialog programmatically, // not via event propagation. evt.preventDefault(); evt.stopPropagation(); component.showBib(); } }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); if (ctx.isModal) { component.setTriggerInputFocus(); } component.hideBib(); }, Home(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateFirstEnabledAvailableOption(); } }, Tab(component, evt, ctx) { if (ctx.isExpanded && !isClearBtnFocused(ctx)) { // When the clear button is focused, Tab events do not bubble out of // its shadow DOM, so this handler only fires when the clear button // is NOT focused. In that case, select the active option and close. component.menu.makeSelection(); component.hideBib(); // In fullscreen modal mode, closing the dialog does not // automatically restores focus to the input. In the tab case, // Explicitly move focus to the trigger's clear button so the // user can continues tabbing through the page normally. if (ctx.isModal && !evt.shiftKey) { component.setClearBtnFocus(); } } }, }"
|
|
2439
2458
|
}
|
|
2440
2459
|
],
|
|
2441
2460
|
"exports": [
|
|
@@ -4179,13 +4198,6 @@
|
|
|
4179
4198
|
"text": "Number"
|
|
4180
4199
|
}
|
|
4181
4200
|
},
|
|
4182
|
-
{
|
|
4183
|
-
"name": "hoveredDate",
|
|
4184
|
-
"description": "Hovered date.",
|
|
4185
|
-
"type": {
|
|
4186
|
-
"text": "Number"
|
|
4187
|
-
}
|
|
4188
|
-
},
|
|
4189
4201
|
{
|
|
4190
4202
|
"name": "day",
|
|
4191
4203
|
"description": "An object containing the dateFrom and day of month values.",
|
|
@@ -4194,7 +4206,7 @@
|
|
|
4194
4206
|
}
|
|
4195
4207
|
}
|
|
4196
4208
|
],
|
|
4197
|
-
"description": "Handles selected
|
|
4209
|
+
"description": "Handles selected state of the calendar cell when the selection changes.\nAlso clears any imperative range preview classes so classMap is the\nsole source of truth after a selection update.",
|
|
4198
4210
|
"privacy": "private",
|
|
4199
4211
|
"return": {
|
|
4200
4212
|
"type": {
|
|
@@ -4216,7 +4228,18 @@
|
|
|
4216
4228
|
{
|
|
4217
4229
|
"kind": "method",
|
|
4218
4230
|
"name": "handleHover",
|
|
4219
|
-
"description": "Handles user hover events and dispatches a custom event.",
|
|
4231
|
+
"description": "Handles user hover events and dispatches a custom event.\nDoes NOT set any reactive properties — the range preview is handled\nimperatively by the calendar component to avoid O(N) re-renders.",
|
|
4232
|
+
"privacy": "private",
|
|
4233
|
+
"return": {
|
|
4234
|
+
"type": {
|
|
4235
|
+
"text": "void"
|
|
4236
|
+
}
|
|
4237
|
+
}
|
|
4238
|
+
},
|
|
4239
|
+
{
|
|
4240
|
+
"kind": "method",
|
|
4241
|
+
"name": "handleFocus",
|
|
4242
|
+
"description": "Handles focus events on the cell button.\nDispatches a lightweight event for the calendar to handle SR\nannouncements and range preview updates without triggering\nany Lit lifecycle updates.",
|
|
4220
4243
|
"privacy": "private",
|
|
4221
4244
|
"return": {
|
|
4222
4245
|
"type": {
|
|
@@ -4224,6 +4247,51 @@
|
|
|
4224
4247
|
}
|
|
4225
4248
|
}
|
|
4226
4249
|
},
|
|
4250
|
+
{
|
|
4251
|
+
"kind": "method",
|
|
4252
|
+
"name": "isOutOfRange",
|
|
4253
|
+
"parameters": [
|
|
4254
|
+
{
|
|
4255
|
+
"name": "day",
|
|
4256
|
+
"description": "An object containing the dateFrom and day of month values.",
|
|
4257
|
+
"type": {
|
|
4258
|
+
"text": "Object"
|
|
4259
|
+
}
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"name": "min",
|
|
4263
|
+
"description": "The minimum date value.",
|
|
4264
|
+
"type": {
|
|
4265
|
+
"text": "Number"
|
|
4266
|
+
}
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "max",
|
|
4270
|
+
"description": "The maximum date value.",
|
|
4271
|
+
"type": {
|
|
4272
|
+
"text": "Number"
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
],
|
|
4276
|
+
"description": "Checks if the current date is outside the valid min/max range.\nOut-of-range cells are not focusable and are hidden from screen readers.",
|
|
4277
|
+
"privacy": "private",
|
|
4278
|
+
"return": {
|
|
4279
|
+
"type": {
|
|
4280
|
+
"text": "Boolean"
|
|
4281
|
+
}
|
|
4282
|
+
}
|
|
4283
|
+
},
|
|
4284
|
+
{
|
|
4285
|
+
"kind": "method",
|
|
4286
|
+
"name": "isBlackout",
|
|
4287
|
+
"description": "Checks if the current date is a blackout date (in disabledDays but within range).\nBlackout cells are focusable but not selectable.",
|
|
4288
|
+
"privacy": "private",
|
|
4289
|
+
"return": {
|
|
4290
|
+
"type": {
|
|
4291
|
+
"text": "Boolean"
|
|
4292
|
+
}
|
|
4293
|
+
}
|
|
4294
|
+
},
|
|
4227
4295
|
{
|
|
4228
4296
|
"kind": "method",
|
|
4229
4297
|
"name": "isEnabled",
|
|
@@ -4257,7 +4325,7 @@
|
|
|
4257
4325
|
}
|
|
4258
4326
|
}
|
|
4259
4327
|
],
|
|
4260
|
-
"description": "Checks if the current date is
|
|
4328
|
+
"description": "Checks if the current date is disabled based on min/max range or the\nlegacy disabledDays timestamp list. Sets the `disabled` attribute on the\nhost when the date falls outside the allowed range or appears in\ndisabledDays. Note: blackout dates are handled separately by `isBlackout()`.",
|
|
4261
4329
|
"privacy": "private",
|
|
4262
4330
|
"return": {
|
|
4263
4331
|
"type": {
|
|
@@ -4265,6 +4333,39 @@
|
|
|
4265
4333
|
}
|
|
4266
4334
|
}
|
|
4267
4335
|
},
|
|
4336
|
+
{
|
|
4337
|
+
"kind": "method",
|
|
4338
|
+
"name": "getCellId",
|
|
4339
|
+
"description": "Generates a unique cell ID in the format cell-YYYY-MM-DD.",
|
|
4340
|
+
"privacy": "private",
|
|
4341
|
+
"return": {
|
|
4342
|
+
"type": {
|
|
4343
|
+
"text": "String"
|
|
4344
|
+
}
|
|
4345
|
+
}
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"kind": "method",
|
|
4349
|
+
"name": "getAriaLabel",
|
|
4350
|
+
"description": "Generates a localized aria-label for the cell button using Intl.DateTimeFormat.\nIncludes range position and blackout status.",
|
|
4351
|
+
"privacy": "private",
|
|
4352
|
+
"return": {
|
|
4353
|
+
"type": {
|
|
4354
|
+
"text": "String"
|
|
4355
|
+
}
|
|
4356
|
+
}
|
|
4357
|
+
},
|
|
4358
|
+
{
|
|
4359
|
+
"kind": "method",
|
|
4360
|
+
"name": "getRangePosition",
|
|
4361
|
+
"description": "Determines the range position of this cell relative to the current selection.",
|
|
4362
|
+
"privacy": "private",
|
|
4363
|
+
"return": {
|
|
4364
|
+
"type": {
|
|
4365
|
+
"text": "String|null"
|
|
4366
|
+
}
|
|
4367
|
+
}
|
|
4368
|
+
},
|
|
4268
4369
|
{
|
|
4269
4370
|
"kind": "method",
|
|
4270
4371
|
"name": "isDepartDate",
|
|
@@ -4462,6 +4563,98 @@
|
|
|
4462
4563
|
}
|
|
4463
4564
|
}
|
|
4464
4565
|
},
|
|
4566
|
+
{
|
|
4567
|
+
"kind": "method",
|
|
4568
|
+
"name": "configurePopover",
|
|
4569
|
+
"description": "Configures the popover instance with the calendar month boundary.\nCalled from firstUpdated and updated because the popover element is only\nrendered after hasPopoverContent becomes true (set by handleSlotContent).",
|
|
4570
|
+
"privacy": "private",
|
|
4571
|
+
"return": {
|
|
4572
|
+
"type": {
|
|
4573
|
+
"text": "void"
|
|
4574
|
+
}
|
|
4575
|
+
}
|
|
4576
|
+
},
|
|
4577
|
+
{
|
|
4578
|
+
"kind": "method",
|
|
4579
|
+
"name": "updateHostAria",
|
|
4580
|
+
"description": "Updates ARIA attributes on the host element so that\nariaActiveDescendantElement can expose cell info to the SR.",
|
|
4581
|
+
"privacy": "private",
|
|
4582
|
+
"return": {
|
|
4583
|
+
"type": {
|
|
4584
|
+
"text": "void"
|
|
4585
|
+
}
|
|
4586
|
+
}
|
|
4587
|
+
},
|
|
4588
|
+
{
|
|
4589
|
+
"kind": "method",
|
|
4590
|
+
"name": "focusButton",
|
|
4591
|
+
"description": "Programmatically focuses the cell's interactive button element.\nUses focusVisible: true so the :focus-visible ring appears even when\nthe bib was opened via mouse click (which sets mouse input modality).",
|
|
4592
|
+
"return": {
|
|
4593
|
+
"type": {
|
|
4594
|
+
"text": "void"
|
|
4595
|
+
}
|
|
4596
|
+
}
|
|
4597
|
+
},
|
|
4598
|
+
{
|
|
4599
|
+
"kind": "method",
|
|
4600
|
+
"name": "setActive",
|
|
4601
|
+
"description": "Imperatively marks this cell as active (tabindex=\"0\") without\ntriggering a Lit re-render.",
|
|
4602
|
+
"return": {
|
|
4603
|
+
"type": {
|
|
4604
|
+
"text": "void"
|
|
4605
|
+
}
|
|
4606
|
+
}
|
|
4607
|
+
},
|
|
4608
|
+
{
|
|
4609
|
+
"kind": "method",
|
|
4610
|
+
"name": "clearActive",
|
|
4611
|
+
"description": "Imperatively marks this cell as inactive (tabindex=\"-1\") without\ntriggering a Lit re-render.",
|
|
4612
|
+
"return": {
|
|
4613
|
+
"type": {
|
|
4614
|
+
"text": "void"
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
},
|
|
4618
|
+
{
|
|
4619
|
+
"kind": "method",
|
|
4620
|
+
"name": "updateRangePreviewClasses",
|
|
4621
|
+
"parameters": [
|
|
4622
|
+
{
|
|
4623
|
+
"name": "hoveredDate",
|
|
4624
|
+
"description": "Unix timestamp of the currently hovered/focused date.",
|
|
4625
|
+
"type": {
|
|
4626
|
+
"text": "Number"
|
|
4627
|
+
}
|
|
4628
|
+
},
|
|
4629
|
+
{
|
|
4630
|
+
"name": "dateFrom",
|
|
4631
|
+
"description": "Unix timestamp of the selected departure date.",
|
|
4632
|
+
"type": {
|
|
4633
|
+
"text": "Number"
|
|
4634
|
+
}
|
|
4635
|
+
}
|
|
4636
|
+
],
|
|
4637
|
+
"description": "Updates range preview classes imperatively (no Lit re-render).\nCalled by the calendar component when the hovered date changes\nduring range selection (dateFrom set, dateTo not yet set).",
|
|
4638
|
+
"return": {
|
|
4639
|
+
"type": {
|
|
4640
|
+
"text": "void"
|
|
4641
|
+
}
|
|
4642
|
+
}
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
"kind": "method",
|
|
4646
|
+
"name": "clearRangePreviewClasses",
|
|
4647
|
+
"description": "Clears all imperative range preview classes from the cell button.\nCalled when a selection occurs so classMap becomes the sole source of truth.",
|
|
4648
|
+
"return": {
|
|
4649
|
+
"type": {
|
|
4650
|
+
"text": "void"
|
|
4651
|
+
}
|
|
4652
|
+
}
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
"kind": "method",
|
|
4656
|
+
"name": "renderCellButton"
|
|
4657
|
+
},
|
|
4465
4658
|
{
|
|
4466
4659
|
"kind": "field",
|
|
4467
4660
|
"name": "day",
|
|
@@ -4482,16 +4675,6 @@
|
|
|
4482
4675
|
"default": "false",
|
|
4483
4676
|
"attribute": "selected"
|
|
4484
4677
|
},
|
|
4485
|
-
{
|
|
4486
|
-
"kind": "field",
|
|
4487
|
-
"name": "hovered",
|
|
4488
|
-
"privacy": "public",
|
|
4489
|
-
"type": {
|
|
4490
|
-
"text": "boolean"
|
|
4491
|
-
},
|
|
4492
|
-
"default": "false",
|
|
4493
|
-
"attribute": "hovered"
|
|
4494
|
-
},
|
|
4495
4678
|
{
|
|
4496
4679
|
"kind": "field",
|
|
4497
4680
|
"name": "dateTo",
|
|
@@ -4563,16 +4746,6 @@
|
|
|
4563
4746
|
"default": "[]",
|
|
4564
4747
|
"attribute": "disabledDays"
|
|
4565
4748
|
},
|
|
4566
|
-
{
|
|
4567
|
-
"kind": "field",
|
|
4568
|
-
"name": "hoveredDate",
|
|
4569
|
-
"privacy": "public",
|
|
4570
|
-
"type": {
|
|
4571
|
-
"text": "null"
|
|
4572
|
-
},
|
|
4573
|
-
"default": "null",
|
|
4574
|
-
"attribute": "hoveredDate"
|
|
4575
|
-
},
|
|
4576
4749
|
{
|
|
4577
4750
|
"kind": "field",
|
|
4578
4751
|
"name": "isCurrentDate",
|
|
@@ -4611,6 +4784,24 @@
|
|
|
4611
4784
|
"default": "false",
|
|
4612
4785
|
"attribute": "renderForDateSlot"
|
|
4613
4786
|
},
|
|
4787
|
+
{
|
|
4788
|
+
"kind": "field",
|
|
4789
|
+
"name": "active",
|
|
4790
|
+
"type": {
|
|
4791
|
+
"text": "boolean"
|
|
4792
|
+
},
|
|
4793
|
+
"default": "false"
|
|
4794
|
+
},
|
|
4795
|
+
{
|
|
4796
|
+
"kind": "field",
|
|
4797
|
+
"name": "hasPopoverContent",
|
|
4798
|
+
"privacy": "public",
|
|
4799
|
+
"type": {
|
|
4800
|
+
"text": "boolean"
|
|
4801
|
+
},
|
|
4802
|
+
"default": "false",
|
|
4803
|
+
"attribute": "hasPopoverContent"
|
|
4804
|
+
},
|
|
4614
4805
|
{
|
|
4615
4806
|
"kind": "field",
|
|
4616
4807
|
"name": "runtimeUtils",
|
|
@@ -4622,11 +4813,23 @@
|
|
|
4622
4813
|
}
|
|
4623
4814
|
],
|
|
4624
4815
|
"events": [
|
|
4816
|
+
{
|
|
4817
|
+
"name": "calendar-cell-activate",
|
|
4818
|
+
"type": {
|
|
4819
|
+
"text": "CustomEvent"
|
|
4820
|
+
}
|
|
4821
|
+
},
|
|
4625
4822
|
{
|
|
4626
4823
|
"name": "date-is-hovered",
|
|
4627
4824
|
"type": {
|
|
4628
4825
|
"text": "CustomEvent"
|
|
4629
4826
|
}
|
|
4827
|
+
},
|
|
4828
|
+
{
|
|
4829
|
+
"name": "calendar-cell-focused",
|
|
4830
|
+
"type": {
|
|
4831
|
+
"text": "CustomEvent"
|
|
4832
|
+
}
|
|
4630
4833
|
}
|
|
4631
4834
|
],
|
|
4632
4835
|
"attributes": [
|
|
@@ -4646,14 +4849,6 @@
|
|
|
4646
4849
|
"default": "false",
|
|
4647
4850
|
"fieldName": "selected"
|
|
4648
4851
|
},
|
|
4649
|
-
{
|
|
4650
|
-
"name": "hovered",
|
|
4651
|
-
"type": {
|
|
4652
|
-
"text": "boolean"
|
|
4653
|
-
},
|
|
4654
|
-
"default": "false",
|
|
4655
|
-
"fieldName": "hovered"
|
|
4656
|
-
},
|
|
4657
4852
|
{
|
|
4658
4853
|
"name": "dateTo",
|
|
4659
4854
|
"type": {
|
|
@@ -4710,14 +4905,6 @@
|
|
|
4710
4905
|
"default": "[]",
|
|
4711
4906
|
"fieldName": "disabledDays"
|
|
4712
4907
|
},
|
|
4713
|
-
{
|
|
4714
|
-
"name": "hoveredDate",
|
|
4715
|
-
"type": {
|
|
4716
|
-
"text": "null"
|
|
4717
|
-
},
|
|
4718
|
-
"default": "null",
|
|
4719
|
-
"fieldName": "hoveredDate"
|
|
4720
|
-
},
|
|
4721
4908
|
{
|
|
4722
4909
|
"name": "isCurrentDate",
|
|
4723
4910
|
"type": {
|
|
@@ -4748,6 +4935,14 @@
|
|
|
4748
4935
|
},
|
|
4749
4936
|
"default": "false",
|
|
4750
4937
|
"fieldName": "renderForDateSlot"
|
|
4938
|
+
},
|
|
4939
|
+
{
|
|
4940
|
+
"name": "hasPopoverContent",
|
|
4941
|
+
"type": {
|
|
4942
|
+
"text": "boolean"
|
|
4943
|
+
},
|
|
4944
|
+
"default": "false",
|
|
4945
|
+
"fieldName": "hasPopoverContent"
|
|
4751
4946
|
}
|
|
4752
4947
|
],
|
|
4753
4948
|
"superclass": {
|
|
@@ -4806,10 +5001,21 @@
|
|
|
4806
5001
|
}
|
|
4807
5002
|
}
|
|
4808
5003
|
},
|
|
5004
|
+
{
|
|
5005
|
+
"kind": "method",
|
|
5006
|
+
"name": "getHeadingId",
|
|
5007
|
+
"description": "Returns the unique heading ID for this month, used by aria-labelledby.",
|
|
5008
|
+
"privacy": "private",
|
|
5009
|
+
"return": {
|
|
5010
|
+
"type": {
|
|
5011
|
+
"text": "String"
|
|
5012
|
+
}
|
|
5013
|
+
}
|
|
5014
|
+
},
|
|
4809
5015
|
{
|
|
4810
5016
|
"kind": "method",
|
|
4811
5017
|
"name": "localeChanged",
|
|
4812
|
-
"description": "Determines the current month name based on locale.\nThis is a rewrite of the function used in the class RangeDatepickerCalendar and should not be removed from here.",
|
|
5018
|
+
"description": "Determines the current month name based on locale.\nAlso builds parallel arrays of full day names for abbr attributes.\nThis is a rewrite of the function used in the class RangeDatepickerCalendar and should not be removed from here.",
|
|
4813
5019
|
"privacy": "private",
|
|
4814
5020
|
"return": {
|
|
4815
5021
|
"type": {
|
|
@@ -4819,16 +5025,102 @@
|
|
|
4819
5025
|
},
|
|
4820
5026
|
{
|
|
4821
5027
|
"kind": "method",
|
|
4822
|
-
"name": "
|
|
5028
|
+
"name": "renderDayOfWeek",
|
|
4823
5029
|
"parameters": [
|
|
4824
5030
|
{
|
|
4825
|
-
"name": "
|
|
5031
|
+
"name": "dayOfWeek",
|
|
5032
|
+
"description": "The short day name.",
|
|
5033
|
+
"type": {
|
|
5034
|
+
"text": "String"
|
|
5035
|
+
}
|
|
5036
|
+
},
|
|
5037
|
+
{
|
|
5038
|
+
"name": "index",
|
|
5039
|
+
"description": "The index in the dayNamesOfTheWeek array.",
|
|
5040
|
+
"type": {
|
|
5041
|
+
"text": "Number"
|
|
5042
|
+
}
|
|
4826
5043
|
}
|
|
4827
|
-
]
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
"
|
|
4831
|
-
|
|
5044
|
+
],
|
|
5045
|
+
"description": "Renders a day-of-week header with abbr attribute for the full day name.",
|
|
5046
|
+
"privacy": "private",
|
|
5047
|
+
"return": {
|
|
5048
|
+
"type": {
|
|
5049
|
+
"text": "Object"
|
|
5050
|
+
}
|
|
5051
|
+
}
|
|
5052
|
+
},
|
|
5053
|
+
{
|
|
5054
|
+
"kind": "method",
|
|
5055
|
+
"name": "getFocusableCells",
|
|
5056
|
+
"description": "Returns all focusable cell elements (enabled + blackout, not out-of-range) in this month.",
|
|
5057
|
+
"return": {
|
|
5058
|
+
"type": {
|
|
5059
|
+
"text": "Array"
|
|
5060
|
+
}
|
|
5061
|
+
}
|
|
5062
|
+
},
|
|
5063
|
+
{
|
|
5064
|
+
"kind": "method",
|
|
5065
|
+
"name": "handleDateHovered",
|
|
5066
|
+
"parameters": [
|
|
5067
|
+
{
|
|
5068
|
+
"name": "event",
|
|
5069
|
+
"description": "The date-is-hovered event from a cell.",
|
|
5070
|
+
"type": {
|
|
5071
|
+
"text": "CustomEvent"
|
|
5072
|
+
}
|
|
5073
|
+
}
|
|
5074
|
+
],
|
|
5075
|
+
"description": "Overrides the base class handler to prevent setting `this.hoveredDate`\nas a reactive property. Instead, just dispatches the event upward so\nthe calendar can handle range preview imperatively.",
|
|
5076
|
+
"privacy": "private",
|
|
5077
|
+
"return": {
|
|
5078
|
+
"type": {
|
|
5079
|
+
"text": "void"
|
|
5080
|
+
}
|
|
5081
|
+
}
|
|
5082
|
+
},
|
|
5083
|
+
{
|
|
5084
|
+
"kind": "method",
|
|
5085
|
+
"name": "handleGridKeyDown",
|
|
5086
|
+
"parameters": [
|
|
5087
|
+
{
|
|
5088
|
+
"name": "event",
|
|
5089
|
+
"description": "The keyboard event.",
|
|
5090
|
+
"type": {
|
|
5091
|
+
"text": "KeyboardEvent"
|
|
5092
|
+
}
|
|
5093
|
+
}
|
|
5094
|
+
],
|
|
5095
|
+
"description": "Handles arrow key navigation within the month grid.\nDispatches a cross-month navigation event when the boundary is reached.",
|
|
5096
|
+
"privacy": "private",
|
|
5097
|
+
"return": {
|
|
5098
|
+
"type": {
|
|
5099
|
+
"text": "void"
|
|
5100
|
+
}
|
|
5101
|
+
}
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
"kind": "method",
|
|
5105
|
+
"name": "renderWeek",
|
|
5106
|
+
"parameters": [
|
|
5107
|
+
{
|
|
5108
|
+
"name": "week"
|
|
5109
|
+
}
|
|
5110
|
+
]
|
|
5111
|
+
},
|
|
5112
|
+
{
|
|
5113
|
+
"kind": "method",
|
|
5114
|
+
"name": "renderDay",
|
|
5115
|
+
"parameters": [
|
|
5116
|
+
{
|
|
5117
|
+
"name": "day"
|
|
5118
|
+
}
|
|
5119
|
+
]
|
|
5120
|
+
},
|
|
5121
|
+
{
|
|
5122
|
+
"kind": "field",
|
|
5123
|
+
"name": "monthFirst",
|
|
4832
5124
|
"privacy": "private",
|
|
4833
5125
|
"type": {
|
|
4834
5126
|
"text": "boolean"
|
|
@@ -4837,6 +5129,26 @@
|
|
|
4837
5129
|
"reflects": true
|
|
4838
5130
|
}
|
|
4839
5131
|
],
|
|
5132
|
+
"events": [
|
|
5133
|
+
{
|
|
5134
|
+
"name": "hovered-date-changed",
|
|
5135
|
+
"type": {
|
|
5136
|
+
"text": "CustomEvent"
|
|
5137
|
+
}
|
|
5138
|
+
},
|
|
5139
|
+
{
|
|
5140
|
+
"name": "calendar-month-boundary",
|
|
5141
|
+
"type": {
|
|
5142
|
+
"text": "CustomEvent"
|
|
5143
|
+
}
|
|
5144
|
+
},
|
|
5145
|
+
{
|
|
5146
|
+
"name": "calendar-cell-activate",
|
|
5147
|
+
"type": {
|
|
5148
|
+
"text": "CustomEvent"
|
|
5149
|
+
}
|
|
5150
|
+
}
|
|
5151
|
+
],
|
|
4840
5152
|
"attributes": [
|
|
4841
5153
|
{
|
|
4842
5154
|
"name": "monthFirst",
|
|
@@ -4884,8 +5196,325 @@
|
|
|
4884
5196
|
"members": [
|
|
4885
5197
|
{
|
|
4886
5198
|
"kind": "method",
|
|
4887
|
-
"name": "handlePrevMonth",
|
|
4888
|
-
"description": "Updates the month and year when the user navigates to the previous calendar month.",
|
|
5199
|
+
"name": "handlePrevMonth",
|
|
5200
|
+
"description": "Updates the month and year when the user navigates to the previous calendar month.",
|
|
5201
|
+
"privacy": "private",
|
|
5202
|
+
"return": {
|
|
5203
|
+
"type": {
|
|
5204
|
+
"text": "void"
|
|
5205
|
+
}
|
|
5206
|
+
}
|
|
5207
|
+
},
|
|
5208
|
+
{
|
|
5209
|
+
"kind": "method",
|
|
5210
|
+
"name": "handleNextMonth",
|
|
5211
|
+
"description": "Updates the month and year when the user navigates to the next calendar month.",
|
|
5212
|
+
"privacy": "private",
|
|
5213
|
+
"return": {
|
|
5214
|
+
"type": {
|
|
5215
|
+
"text": "void"
|
|
5216
|
+
}
|
|
5217
|
+
}
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5220
|
+
"kind": "method",
|
|
5221
|
+
"name": "announceMonthChange",
|
|
5222
|
+
"description": "Announces the current month and year via the live region after navigation.",
|
|
5223
|
+
"privacy": "private",
|
|
5224
|
+
"return": {
|
|
5225
|
+
"type": {
|
|
5226
|
+
"text": "void"
|
|
5227
|
+
}
|
|
5228
|
+
}
|
|
5229
|
+
},
|
|
5230
|
+
{
|
|
5231
|
+
"kind": "method",
|
|
5232
|
+
"name": "updateActiveCellForVisibleMonth",
|
|
5233
|
+
"description": "Recomputes and sets the active cell for the newly visible month after\nmonth navigation. Without this, activeCellDate can point at a date in\nthe old month, leaving no tabindex=\"0\" cell in the grid.",
|
|
5234
|
+
"privacy": "private",
|
|
5235
|
+
"return": {
|
|
5236
|
+
"type": {
|
|
5237
|
+
"text": "void"
|
|
5238
|
+
}
|
|
5239
|
+
}
|
|
5240
|
+
},
|
|
5241
|
+
{
|
|
5242
|
+
"kind": "method",
|
|
5243
|
+
"name": "renderAllCalendars",
|
|
5244
|
+
"description": "Renders all of the auro-calendar-months HTML.",
|
|
5245
|
+
"privacy": "private",
|
|
5246
|
+
"return": {
|
|
5247
|
+
"type": {
|
|
5248
|
+
"text": "Object"
|
|
5249
|
+
}
|
|
5250
|
+
}
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
"kind": "method",
|
|
5254
|
+
"name": "focusCloseButton",
|
|
5255
|
+
"description": "Focuses the close button inside the calendar's bibtemplate.\nUsed by datepicker to set initial focus when the fullscreen dialog opens.",
|
|
5256
|
+
"return": {
|
|
5257
|
+
"type": {
|
|
5258
|
+
"text": "void"
|
|
5259
|
+
}
|
|
5260
|
+
}
|
|
5261
|
+
},
|
|
5262
|
+
{
|
|
5263
|
+
"kind": "method",
|
|
5264
|
+
"name": "scrollMonthIntoView",
|
|
5265
|
+
"parameters": [
|
|
5266
|
+
{
|
|
5267
|
+
"name": "date",
|
|
5268
|
+
"description": "The date to scroll into view.",
|
|
5269
|
+
"type": {
|
|
5270
|
+
"text": "String"
|
|
5271
|
+
}
|
|
5272
|
+
}
|
|
5273
|
+
],
|
|
5274
|
+
"description": "Request the calendar be scrolled to a given date.",
|
|
5275
|
+
"return": {
|
|
5276
|
+
"type": {
|
|
5277
|
+
"text": "void"
|
|
5278
|
+
}
|
|
5279
|
+
}
|
|
5280
|
+
},
|
|
5281
|
+
{
|
|
5282
|
+
"kind": "method",
|
|
5283
|
+
"name": "getMonthComponents",
|
|
5284
|
+
"description": "Gets all rendered month components.",
|
|
5285
|
+
"privacy": "private",
|
|
5286
|
+
"return": {
|
|
5287
|
+
"type": {
|
|
5288
|
+
"text": "Array"
|
|
5289
|
+
}
|
|
5290
|
+
}
|
|
5291
|
+
},
|
|
5292
|
+
{
|
|
5293
|
+
"kind": "method",
|
|
5294
|
+
"name": "getAllFocusableCells",
|
|
5295
|
+
"description": "Gets all focusable cells across all rendered months.",
|
|
5296
|
+
"privacy": "private",
|
|
5297
|
+
"return": {
|
|
5298
|
+
"type": {
|
|
5299
|
+
"text": "Array"
|
|
5300
|
+
}
|
|
5301
|
+
}
|
|
5302
|
+
},
|
|
5303
|
+
{
|
|
5304
|
+
"kind": "method",
|
|
5305
|
+
"name": "setActiveCell",
|
|
5306
|
+
"parameters": [
|
|
5307
|
+
{
|
|
5308
|
+
"name": "date",
|
|
5309
|
+
"description": "Unix timestamp of the cell to activate.",
|
|
5310
|
+
"type": {
|
|
5311
|
+
"text": "Number"
|
|
5312
|
+
}
|
|
5313
|
+
}
|
|
5314
|
+
],
|
|
5315
|
+
"description": "Sets the active cell across all months. Only one cell has tabindex=\"0\" at a time.\nUses imperative DOM manipulation — no Lit re-render triggered.\nAlso updates ariaActiveDescendantElement on the grid wrapper so\nscreen readers announce the active cell without moving DOM focus.",
|
|
5316
|
+
"return": {
|
|
5317
|
+
"type": {
|
|
5318
|
+
"text": "void"
|
|
5319
|
+
}
|
|
5320
|
+
}
|
|
5321
|
+
},
|
|
5322
|
+
{
|
|
5323
|
+
"kind": "method",
|
|
5324
|
+
"name": "focusActiveCell",
|
|
5325
|
+
"description": "Focuses the calendar grid wrapper and sets the active cell.\nDOM focus stays on the grid wrapper; ariaActiveDescendantElement\ntells the screen reader which cell is \"active\".",
|
|
5326
|
+
"return": {
|
|
5327
|
+
"type": {
|
|
5328
|
+
"text": "void"
|
|
5329
|
+
}
|
|
5330
|
+
}
|
|
5331
|
+
},
|
|
5332
|
+
{
|
|
5333
|
+
"kind": "method",
|
|
5334
|
+
"name": "computeActiveDate",
|
|
5335
|
+
"parameters": [
|
|
5336
|
+
{
|
|
5337
|
+
"name": "options",
|
|
5338
|
+
"default": "{}",
|
|
5339
|
+
"description": "Optional settings.",
|
|
5340
|
+
"optional": true,
|
|
5341
|
+
"type": {
|
|
5342
|
+
"text": "@param {boolean} [options.skipDateFrom=false] - When true, skip the selected-date\n * shortcut (step 1). Used after month navigation so the active cell lands in the\n * newly visible month instead of jumping back to the selected date's month.\n * "
|
|
5343
|
+
}
|
|
5344
|
+
}
|
|
5345
|
+
],
|
|
5346
|
+
"description": "Computes the initial active date from data properties alone — no DOM required.\nPriority:\n 1. Selected date (dateFrom) if within range\n 2. Today's date if not disabled (in-range and not blackout)\n 3. First future non-disabled date (scans day-by-day from today up to 1 year)\n 4. First previous non-disabled date (scans day-by-day from today up to 1 year)\n 5. First enabled date in finite [min, max] range\n 5b. First enabled date scanning forward from finite min (unbounded max)\n 5c. First enabled date scanning backward from finite max (unbounded min)\n 6. First in-range date (even if blackout) so focus can land somewhere\n 7. undefined — no valid target",
|
|
5347
|
+
"privacy": "private",
|
|
5348
|
+
"return": {
|
|
5349
|
+
"type": {
|
|
5350
|
+
"text": "Number|undefined"
|
|
5351
|
+
}
|
|
5352
|
+
}
|
|
5353
|
+
},
|
|
5354
|
+
{
|
|
5355
|
+
"kind": "method",
|
|
5356
|
+
"name": "handleGridKeyDown",
|
|
5357
|
+
"parameters": [
|
|
5358
|
+
{
|
|
5359
|
+
"name": "event",
|
|
5360
|
+
"description": "The keyboard event.",
|
|
5361
|
+
"type": {
|
|
5362
|
+
"text": "KeyboardEvent"
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
],
|
|
5366
|
+
"description": "Handles arrow key navigation on the calendar grid wrapper.\nFocus stays on the grid wrapper; only ariaActiveDescendantElement\nand the visual active-cell indicator change.",
|
|
5367
|
+
"privacy": "private",
|
|
5368
|
+
"return": {
|
|
5369
|
+
"type": {
|
|
5370
|
+
"text": "void"
|
|
5371
|
+
}
|
|
5372
|
+
}
|
|
5373
|
+
},
|
|
5374
|
+
{
|
|
5375
|
+
"kind": "method",
|
|
5376
|
+
"name": "handleMonthBoundary",
|
|
5377
|
+
"parameters": [
|
|
5378
|
+
{
|
|
5379
|
+
"name": "event",
|
|
5380
|
+
"description": "The boundary event with direction and source date info.",
|
|
5381
|
+
"type": {
|
|
5382
|
+
"text": "CustomEvent"
|
|
5383
|
+
}
|
|
5384
|
+
}
|
|
5385
|
+
],
|
|
5386
|
+
"description": "Handles cross-month boundary navigation events from month components.",
|
|
5387
|
+
"privacy": "private",
|
|
5388
|
+
"return": {
|
|
5389
|
+
"type": {
|
|
5390
|
+
"text": "void"
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
},
|
|
5394
|
+
{
|
|
5395
|
+
"kind": "method",
|
|
5396
|
+
"name": "handleCellActivate",
|
|
5397
|
+
"parameters": [
|
|
5398
|
+
{
|
|
5399
|
+
"name": "event",
|
|
5400
|
+
"description": "The activation event with target date.",
|
|
5401
|
+
"type": {
|
|
5402
|
+
"text": "CustomEvent"
|
|
5403
|
+
}
|
|
5404
|
+
}
|
|
5405
|
+
],
|
|
5406
|
+
"description": "Handles cell activation events from month components.",
|
|
5407
|
+
"privacy": "private",
|
|
5408
|
+
"return": {
|
|
5409
|
+
"type": {
|
|
5410
|
+
"text": "void"
|
|
5411
|
+
}
|
|
5412
|
+
}
|
|
5413
|
+
},
|
|
5414
|
+
{
|
|
5415
|
+
"kind": "method",
|
|
5416
|
+
"name": "handleCellFocused",
|
|
5417
|
+
"parameters": [
|
|
5418
|
+
{
|
|
5419
|
+
"name": "event",
|
|
5420
|
+
"description": "The calendar-cell-focused event.",
|
|
5421
|
+
"type": {
|
|
5422
|
+
"text": "CustomEvent"
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
],
|
|
5426
|
+
"description": "Handles focus events from calendar cells.\nUpdates the live region with an SR announcement and triggers\nthe imperative range preview if applicable.",
|
|
5427
|
+
"privacy": "private",
|
|
5428
|
+
"return": {
|
|
5429
|
+
"type": {
|
|
5430
|
+
"text": "void"
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5433
|
+
},
|
|
5434
|
+
{
|
|
5435
|
+
"kind": "method",
|
|
5436
|
+
"name": "buildFocusAnnouncement",
|
|
5437
|
+
"parameters": [
|
|
5438
|
+
{
|
|
5439
|
+
"name": "date",
|
|
5440
|
+
"description": "Unix timestamp (seconds) of the focused cell.",
|
|
5441
|
+
"type": {
|
|
5442
|
+
"text": "Number"
|
|
5443
|
+
}
|
|
5444
|
+
}
|
|
5445
|
+
],
|
|
5446
|
+
"description": "Builds a full SR announcement string for a focused cell date.\nIncludes the localized date, range position, popover content,\nand blackout status.",
|
|
5447
|
+
"privacy": "private",
|
|
5448
|
+
"return": {
|
|
5449
|
+
"type": {
|
|
5450
|
+
"text": "String"
|
|
5451
|
+
}
|
|
5452
|
+
}
|
|
5453
|
+
},
|
|
5454
|
+
{
|
|
5455
|
+
"kind": "method",
|
|
5456
|
+
"name": "getRangePositionLabel",
|
|
5457
|
+
"parameters": [
|
|
5458
|
+
{
|
|
5459
|
+
"name": "date",
|
|
5460
|
+
"description": "Unix timestamp (seconds).",
|
|
5461
|
+
"type": {
|
|
5462
|
+
"text": "Number"
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5465
|
+
],
|
|
5466
|
+
"description": "Determines the range position label for a given date.",
|
|
5467
|
+
"privacy": "private",
|
|
5468
|
+
"return": {
|
|
5469
|
+
"type": {
|
|
5470
|
+
"text": "String|null"
|
|
5471
|
+
}
|
|
5472
|
+
}
|
|
5473
|
+
},
|
|
5474
|
+
{
|
|
5475
|
+
"kind": "method",
|
|
5476
|
+
"name": "isDateBlackout",
|
|
5477
|
+
"parameters": [
|
|
5478
|
+
{
|
|
5479
|
+
"name": "dateTs",
|
|
5480
|
+
"description": "Unix timestamp (seconds).",
|
|
5481
|
+
"type": {
|
|
5482
|
+
"text": "Number"
|
|
5483
|
+
}
|
|
5484
|
+
}
|
|
5485
|
+
],
|
|
5486
|
+
"description": "Checks whether a given date is a blackout date.",
|
|
5487
|
+
"privacy": "private",
|
|
5488
|
+
"return": {
|
|
5489
|
+
"type": {
|
|
5490
|
+
"text": "Boolean"
|
|
5491
|
+
}
|
|
5492
|
+
}
|
|
5493
|
+
},
|
|
5494
|
+
{
|
|
5495
|
+
"kind": "method",
|
|
5496
|
+
"name": "updateRangePreview",
|
|
5497
|
+
"parameters": [
|
|
5498
|
+
{
|
|
5499
|
+
"name": "hoveredDate",
|
|
5500
|
+
"description": "Unix timestamp of the hovered/focused date.",
|
|
5501
|
+
"type": {
|
|
5502
|
+
"text": "Number"
|
|
5503
|
+
}
|
|
5504
|
+
}
|
|
5505
|
+
],
|
|
5506
|
+
"description": "Updates the range preview classes imperatively across all cells.\nOnly active when in range mode with dateFrom set and dateTo not yet set.",
|
|
5507
|
+
"privacy": "private",
|
|
5508
|
+
"return": {
|
|
5509
|
+
"type": {
|
|
5510
|
+
"text": "void"
|
|
5511
|
+
}
|
|
5512
|
+
}
|
|
5513
|
+
},
|
|
5514
|
+
{
|
|
5515
|
+
"kind": "method",
|
|
5516
|
+
"name": "clearRangePreview",
|
|
5517
|
+
"description": "Clears range preview classes from all cells.",
|
|
4889
5518
|
"privacy": "private",
|
|
4890
5519
|
"return": {
|
|
4891
5520
|
"type": {
|
|
@@ -4895,8 +5524,17 @@
|
|
|
4895
5524
|
},
|
|
4896
5525
|
{
|
|
4897
5526
|
"kind": "method",
|
|
4898
|
-
"name": "
|
|
4899
|
-
"
|
|
5527
|
+
"name": "hoveredDateChanged",
|
|
5528
|
+
"parameters": [
|
|
5529
|
+
{
|
|
5530
|
+
"name": "event",
|
|
5531
|
+
"description": "The hovered-date-changed event from a month.",
|
|
5532
|
+
"type": {
|
|
5533
|
+
"text": "CustomEvent"
|
|
5534
|
+
}
|
|
5535
|
+
}
|
|
5536
|
+
],
|
|
5537
|
+
"description": "Overrides the base class handler to prevent setting `this.hoveredDate`\nas a reactive property. Instead, handles the range preview imperatively.",
|
|
4900
5538
|
"privacy": "private",
|
|
4901
5539
|
"return": {
|
|
4902
5540
|
"type": {
|
|
@@ -4906,19 +5544,29 @@
|
|
|
4906
5544
|
},
|
|
4907
5545
|
{
|
|
4908
5546
|
"kind": "method",
|
|
4909
|
-
"name": "
|
|
4910
|
-
"description": "
|
|
5547
|
+
"name": "scrollToActiveCell",
|
|
5548
|
+
"description": "Scrolls the calendar to ensure the month containing the active cell is visible.",
|
|
4911
5549
|
"privacy": "private",
|
|
4912
5550
|
"return": {
|
|
4913
5551
|
"type": {
|
|
4914
|
-
"text": "
|
|
5552
|
+
"text": "void"
|
|
4915
5553
|
}
|
|
4916
5554
|
}
|
|
4917
5555
|
},
|
|
4918
5556
|
{
|
|
4919
5557
|
"kind": "method",
|
|
4920
|
-
"name": "
|
|
4921
|
-
"
|
|
5558
|
+
"name": "announceSelection",
|
|
5559
|
+
"parameters": [
|
|
5560
|
+
{
|
|
5561
|
+
"name": "dateStr",
|
|
5562
|
+
"description": "The localized date string to announce.",
|
|
5563
|
+
"type": {
|
|
5564
|
+
"text": "String"
|
|
5565
|
+
}
|
|
5566
|
+
}
|
|
5567
|
+
],
|
|
5568
|
+
"description": "Announces a date selection or focus change via the live region.",
|
|
5569
|
+
"privacy": "private",
|
|
4922
5570
|
"return": {
|
|
4923
5571
|
"type": {
|
|
4924
5572
|
"text": "void"
|
|
@@ -4927,23 +5575,44 @@
|
|
|
4927
5575
|
},
|
|
4928
5576
|
{
|
|
4929
5577
|
"kind": "method",
|
|
4930
|
-
"name": "
|
|
5578
|
+
"name": "announceFocusDebounced",
|
|
4931
5579
|
"parameters": [
|
|
4932
5580
|
{
|
|
4933
|
-
"name": "
|
|
4934
|
-
"description": "The date to
|
|
5581
|
+
"name": "dateStr",
|
|
5582
|
+
"description": "The localized date string to announce.",
|
|
4935
5583
|
"type": {
|
|
4936
5584
|
"text": "String"
|
|
4937
5585
|
}
|
|
4938
5586
|
}
|
|
4939
5587
|
],
|
|
4940
|
-
"description": "
|
|
5588
|
+
"description": "Debounced version of announceSelection for focus navigation.\nOnly announces the last focused date after rapid navigation pauses,\npreventing the screen reader from queueing up stale announcements\nthat can't keep pace with arrow-key traversal.",
|
|
5589
|
+
"privacy": "private",
|
|
4941
5590
|
"return": {
|
|
4942
5591
|
"type": {
|
|
4943
5592
|
"text": "void"
|
|
4944
5593
|
}
|
|
4945
5594
|
}
|
|
4946
5595
|
},
|
|
5596
|
+
{
|
|
5597
|
+
"kind": "method",
|
|
5598
|
+
"name": "formatAnnouncementDate",
|
|
5599
|
+
"parameters": [
|
|
5600
|
+
{
|
|
5601
|
+
"name": "timestamp",
|
|
5602
|
+
"description": "Unix timestamp in seconds.",
|
|
5603
|
+
"type": {
|
|
5604
|
+
"text": "String|Number"
|
|
5605
|
+
}
|
|
5606
|
+
}
|
|
5607
|
+
],
|
|
5608
|
+
"description": "Formats a Unix timestamp (seconds) as a localized date string for SR announcements.",
|
|
5609
|
+
"privacy": "private",
|
|
5610
|
+
"return": {
|
|
5611
|
+
"type": {
|
|
5612
|
+
"text": "String"
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
},
|
|
4947
5616
|
{
|
|
4948
5617
|
"kind": "method",
|
|
4949
5618
|
"name": "injectSlot",
|
|
@@ -5047,6 +5716,16 @@
|
|
|
5047
5716
|
"attribute": "isFullscreen",
|
|
5048
5717
|
"reflects": true
|
|
5049
5718
|
},
|
|
5719
|
+
{
|
|
5720
|
+
"kind": "field",
|
|
5721
|
+
"name": "activeCellDate",
|
|
5722
|
+
"type": {
|
|
5723
|
+
"text": "null"
|
|
5724
|
+
},
|
|
5725
|
+
"description": "The date of the currently active cell (Unix timestamp).\nOnly one cell across the entire calendar has tabindex=\"0\" at a time.",
|
|
5726
|
+
"privacy": "private",
|
|
5727
|
+
"default": "null"
|
|
5728
|
+
},
|
|
5050
5729
|
{
|
|
5051
5730
|
"kind": "field",
|
|
5052
5731
|
"name": "firstMonthRenderable",
|
|
@@ -5671,6 +6350,17 @@
|
|
|
5671
6350
|
}
|
|
5672
6351
|
}
|
|
5673
6352
|
},
|
|
6353
|
+
{
|
|
6354
|
+
"kind": "method",
|
|
6355
|
+
"name": "focusActiveCellWhenReady",
|
|
6356
|
+
"description": "Attempts to focus the active calendar cell using a rAF retry loop.\nShared by both fullscreen and desktop open paths.",
|
|
6357
|
+
"privacy": "private",
|
|
6358
|
+
"return": {
|
|
6359
|
+
"type": {
|
|
6360
|
+
"text": "void"
|
|
6361
|
+
}
|
|
6362
|
+
}
|
|
6363
|
+
},
|
|
5674
6364
|
{
|
|
5675
6365
|
"kind": "method",
|
|
5676
6366
|
"name": "configureDropdown",
|
|
@@ -5822,6 +6512,26 @@
|
|
|
5822
6512
|
}
|
|
5823
6513
|
}
|
|
5824
6514
|
},
|
|
6515
|
+
{
|
|
6516
|
+
"kind": "method",
|
|
6517
|
+
"name": "isBlackoutDate",
|
|
6518
|
+
"parameters": [
|
|
6519
|
+
{
|
|
6520
|
+
"name": "dateStr",
|
|
6521
|
+
"description": "A date string in the component's configured format.",
|
|
6522
|
+
"type": {
|
|
6523
|
+
"text": "string"
|
|
6524
|
+
}
|
|
6525
|
+
}
|
|
6526
|
+
],
|
|
6527
|
+
"description": "Checks whether a formatted date string matches a blackout date.",
|
|
6528
|
+
"privacy": "private",
|
|
6529
|
+
"return": {
|
|
6530
|
+
"type": {
|
|
6531
|
+
"text": "boolean"
|
|
6532
|
+
}
|
|
6533
|
+
}
|
|
6534
|
+
},
|
|
5825
6535
|
{
|
|
5826
6536
|
"kind": "method",
|
|
5827
6537
|
"name": "validate",
|
|
@@ -6151,6 +6861,114 @@
|
|
|
6151
6861
|
"attribute": "range",
|
|
6152
6862
|
"reflects": true
|
|
6153
6863
|
},
|
|
6864
|
+
{
|
|
6865
|
+
"kind": "field",
|
|
6866
|
+
"name": "rangeLabelStart",
|
|
6867
|
+
"privacy": "public",
|
|
6868
|
+
"type": {
|
|
6869
|
+
"text": "string"
|
|
6870
|
+
},
|
|
6871
|
+
"description": "Label announced for the range start date cell.",
|
|
6872
|
+
"default": "'range start'",
|
|
6873
|
+
"attribute": "rangeLabelStart",
|
|
6874
|
+
"reflects": true
|
|
6875
|
+
},
|
|
6876
|
+
{
|
|
6877
|
+
"kind": "field",
|
|
6878
|
+
"name": "rangeLabelEnd",
|
|
6879
|
+
"privacy": "public",
|
|
6880
|
+
"type": {
|
|
6881
|
+
"text": "string"
|
|
6882
|
+
},
|
|
6883
|
+
"description": "Label announced for the range end date cell.",
|
|
6884
|
+
"default": "'range end'",
|
|
6885
|
+
"attribute": "rangeLabelEnd",
|
|
6886
|
+
"reflects": true
|
|
6887
|
+
},
|
|
6888
|
+
{
|
|
6889
|
+
"kind": "field",
|
|
6890
|
+
"name": "rangeLabelBeforeRange",
|
|
6891
|
+
"privacy": "public",
|
|
6892
|
+
"type": {
|
|
6893
|
+
"text": "string"
|
|
6894
|
+
},
|
|
6895
|
+
"description": "Label announced for cells before the range start.",
|
|
6896
|
+
"default": "'before range'",
|
|
6897
|
+
"attribute": "rangeLabelBeforeRange",
|
|
6898
|
+
"reflects": true
|
|
6899
|
+
},
|
|
6900
|
+
{
|
|
6901
|
+
"kind": "field",
|
|
6902
|
+
"name": "rangeLabelInRange",
|
|
6903
|
+
"privacy": "public",
|
|
6904
|
+
"type": {
|
|
6905
|
+
"text": "string"
|
|
6906
|
+
},
|
|
6907
|
+
"description": "Label announced for cells within the selected range.",
|
|
6908
|
+
"default": "'in range'",
|
|
6909
|
+
"attribute": "rangeLabelInRange",
|
|
6910
|
+
"reflects": true
|
|
6911
|
+
},
|
|
6912
|
+
{
|
|
6913
|
+
"kind": "field",
|
|
6914
|
+
"name": "rangeLabelAfterRange",
|
|
6915
|
+
"privacy": "public",
|
|
6916
|
+
"type": {
|
|
6917
|
+
"text": "string"
|
|
6918
|
+
},
|
|
6919
|
+
"description": "Label announced for cells after the range (or after start when no end is selected).",
|
|
6920
|
+
"default": "'after range'",
|
|
6921
|
+
"attribute": "rangeLabelAfterRange",
|
|
6922
|
+
"reflects": true
|
|
6923
|
+
},
|
|
6924
|
+
{
|
|
6925
|
+
"kind": "field",
|
|
6926
|
+
"name": "blackoutDates",
|
|
6927
|
+
"privacy": "public",
|
|
6928
|
+
"type": {
|
|
6929
|
+
"text": "array"
|
|
6930
|
+
},
|
|
6931
|
+
"description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).",
|
|
6932
|
+
"default": "[]",
|
|
6933
|
+
"attribute": "blackoutDates",
|
|
6934
|
+
"reflects": true
|
|
6935
|
+
},
|
|
6936
|
+
{
|
|
6937
|
+
"kind": "field",
|
|
6938
|
+
"name": "blackoutLabel",
|
|
6939
|
+
"privacy": "public",
|
|
6940
|
+
"type": {
|
|
6941
|
+
"text": "string"
|
|
6942
|
+
},
|
|
6943
|
+
"description": "Label announced for blackout (disabled but in-range) date cells.",
|
|
6944
|
+
"default": "'unavailable'",
|
|
6945
|
+
"attribute": "blackoutLabel",
|
|
6946
|
+
"reflects": true
|
|
6947
|
+
},
|
|
6948
|
+
{
|
|
6949
|
+
"kind": "field",
|
|
6950
|
+
"name": "navLabelPrevMonth",
|
|
6951
|
+
"privacy": "public",
|
|
6952
|
+
"type": {
|
|
6953
|
+
"text": "string"
|
|
6954
|
+
},
|
|
6955
|
+
"description": "Accessible label for the previous month navigation button.",
|
|
6956
|
+
"default": "'Previous month'",
|
|
6957
|
+
"attribute": "navLabelPrevMonth",
|
|
6958
|
+
"reflects": true
|
|
6959
|
+
},
|
|
6960
|
+
{
|
|
6961
|
+
"kind": "field",
|
|
6962
|
+
"name": "navLabelNextMonth",
|
|
6963
|
+
"privacy": "public",
|
|
6964
|
+
"type": {
|
|
6965
|
+
"text": "string"
|
|
6966
|
+
},
|
|
6967
|
+
"description": "Accessible label for the next month navigation button.",
|
|
6968
|
+
"default": "'Next month'",
|
|
6969
|
+
"attribute": "navLabelNextMonth",
|
|
6970
|
+
"reflects": true
|
|
6971
|
+
},
|
|
6154
6972
|
{
|
|
6155
6973
|
"kind": "field",
|
|
6156
6974
|
"name": "stacked",
|
|
@@ -6604,7 +7422,7 @@
|
|
|
6604
7422
|
"type": {
|
|
6605
7423
|
"text": "string"
|
|
6606
7424
|
},
|
|
6607
|
-
"description": "Custom help text message to display when validity = `customError
|
|
7425
|
+
"description": "Custom help text message to display when validity = `customError`.\nAlso used as the validation message when a blackout date is typed into the input.",
|
|
6608
7426
|
"attribute": "setCustomValidityCustomError"
|
|
6609
7427
|
},
|
|
6610
7428
|
{
|
|
@@ -6714,8 +7532,11 @@
|
|
|
6714
7532
|
"description": "Notifies that new slot content has been added to the datepicker."
|
|
6715
7533
|
},
|
|
6716
7534
|
{
|
|
6717
|
-
"
|
|
6718
|
-
"
|
|
7535
|
+
"name": "auroFormElement-validated",
|
|
7536
|
+
"type": {
|
|
7537
|
+
"text": "CustomEvent"
|
|
7538
|
+
},
|
|
7539
|
+
"description": "Notifies that the component value(s) have been validated."
|
|
6719
7540
|
}
|
|
6720
7541
|
],
|
|
6721
7542
|
"attributes": [
|
|
@@ -6980,6 +7801,87 @@
|
|
|
6980
7801
|
"default": "false",
|
|
6981
7802
|
"fieldName": "range"
|
|
6982
7803
|
},
|
|
7804
|
+
{
|
|
7805
|
+
"name": "rangeLabelStart",
|
|
7806
|
+
"type": {
|
|
7807
|
+
"text": "string"
|
|
7808
|
+
},
|
|
7809
|
+
"description": "Label announced for the range start date cell.",
|
|
7810
|
+
"default": "'range start'",
|
|
7811
|
+
"fieldName": "rangeLabelStart"
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
"name": "rangeLabelEnd",
|
|
7815
|
+
"type": {
|
|
7816
|
+
"text": "string"
|
|
7817
|
+
},
|
|
7818
|
+
"description": "Label announced for the range end date cell.",
|
|
7819
|
+
"default": "'range end'",
|
|
7820
|
+
"fieldName": "rangeLabelEnd"
|
|
7821
|
+
},
|
|
7822
|
+
{
|
|
7823
|
+
"name": "rangeLabelBeforeRange",
|
|
7824
|
+
"type": {
|
|
7825
|
+
"text": "string"
|
|
7826
|
+
},
|
|
7827
|
+
"description": "Label announced for cells before the range start.",
|
|
7828
|
+
"default": "'before range'",
|
|
7829
|
+
"fieldName": "rangeLabelBeforeRange"
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
"name": "rangeLabelInRange",
|
|
7833
|
+
"type": {
|
|
7834
|
+
"text": "string"
|
|
7835
|
+
},
|
|
7836
|
+
"description": "Label announced for cells within the selected range.",
|
|
7837
|
+
"default": "'in range'",
|
|
7838
|
+
"fieldName": "rangeLabelInRange"
|
|
7839
|
+
},
|
|
7840
|
+
{
|
|
7841
|
+
"name": "rangeLabelAfterRange",
|
|
7842
|
+
"type": {
|
|
7843
|
+
"text": "string"
|
|
7844
|
+
},
|
|
7845
|
+
"description": "Label announced for cells after the range (or after start when no end is selected).",
|
|
7846
|
+
"default": "'after range'",
|
|
7847
|
+
"fieldName": "rangeLabelAfterRange"
|
|
7848
|
+
},
|
|
7849
|
+
{
|
|
7850
|
+
"name": "blackoutDates",
|
|
7851
|
+
"type": {
|
|
7852
|
+
"text": "array"
|
|
7853
|
+
},
|
|
7854
|
+
"description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).",
|
|
7855
|
+
"default": "[]",
|
|
7856
|
+
"fieldName": "blackoutDates"
|
|
7857
|
+
},
|
|
7858
|
+
{
|
|
7859
|
+
"name": "blackoutLabel",
|
|
7860
|
+
"type": {
|
|
7861
|
+
"text": "string"
|
|
7862
|
+
},
|
|
7863
|
+
"description": "Label announced for blackout (disabled but in-range) date cells.",
|
|
7864
|
+
"default": "'unavailable'",
|
|
7865
|
+
"fieldName": "blackoutLabel"
|
|
7866
|
+
},
|
|
7867
|
+
{
|
|
7868
|
+
"name": "navLabelPrevMonth",
|
|
7869
|
+
"type": {
|
|
7870
|
+
"text": "string"
|
|
7871
|
+
},
|
|
7872
|
+
"description": "Accessible label for the previous month navigation button.",
|
|
7873
|
+
"default": "'Previous month'",
|
|
7874
|
+
"fieldName": "navLabelPrevMonth"
|
|
7875
|
+
},
|
|
7876
|
+
{
|
|
7877
|
+
"name": "navLabelNextMonth",
|
|
7878
|
+
"type": {
|
|
7879
|
+
"text": "string"
|
|
7880
|
+
},
|
|
7881
|
+
"description": "Accessible label for the next month navigation button.",
|
|
7882
|
+
"default": "'Next month'",
|
|
7883
|
+
"fieldName": "navLabelNextMonth"
|
|
7884
|
+
},
|
|
6983
7885
|
{
|
|
6984
7886
|
"name": "referenceDates",
|
|
6985
7887
|
"type": {
|
|
@@ -7010,7 +7912,7 @@
|
|
|
7010
7912
|
"type": {
|
|
7011
7913
|
"text": "string"
|
|
7012
7914
|
},
|
|
7013
|
-
"description": "Custom help text message to display when validity = `customError
|
|
7915
|
+
"description": "Custom help text message to display when validity = `customError`.\nAlso used as the validation message when a blackout date is typed into the input.",
|
|
7014
7916
|
"fieldName": "setCustomValidityCustomError"
|
|
7015
7917
|
},
|
|
7016
7918
|
{
|
|
@@ -7151,7 +8053,7 @@
|
|
|
7151
8053
|
"type": {
|
|
7152
8054
|
"text": "object"
|
|
7153
8055
|
},
|
|
7154
|
-
"default": "{ Escape(component, evt) { if (!component.
|
|
8056
|
+
"default": "{ Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Stop propagation so parent containers (auro-dialog, auro-drawer) // don't also react to Escape. evt.stopPropagation(); evt.preventDefault(); component.hideBib(); }, Enter(component, evt, ctx) { if (ctx.isExpanded) { return; } // Only open from the trigger input, not the clear button or other internal elements. // evt.target is retargeted to the host in shadow DOM, so use composedPath() // to find the real origin. The clear button is rendered with class \"clearBtn\". const path = evt.composedPath(); if (path.some(el => el.classList?.contains('clearBtn'))) { return; } evt.preventDefault(); component.dropdown.show(); }, ' '(component, evt, ctx) { if (ctx.isExpanded) { return; } // Only open from the trigger input, not the clear button or other internal elements. // evt.target is retargeted to the host in shadow DOM, so use composedPath() // to find the real origin. The clear button is rendered with class \"clearBtn\". const path = evt.composedPath(); if (path.some(el => el.classList?.contains('clearBtn'))) { return; } evt.preventDefault(); component.dropdown.show(); }, }"
|
|
7155
8057
|
}
|
|
7156
8058
|
],
|
|
7157
8059
|
"exports": [
|
|
@@ -8005,6 +8907,29 @@
|
|
|
8005
8907
|
"name": "updateFocusTrap",
|
|
8006
8908
|
"privacy": "private"
|
|
8007
8909
|
},
|
|
8910
|
+
{
|
|
8911
|
+
"kind": "method",
|
|
8912
|
+
"name": "_getActiveElements",
|
|
8913
|
+
"description": "Returns the chain of active (focused) elements through shadow roots.",
|
|
8914
|
+
"privacy": "private",
|
|
8915
|
+
"return": {
|
|
8916
|
+
"type": {
|
|
8917
|
+
"text": "Array<HTMLElement>"
|
|
8918
|
+
}
|
|
8919
|
+
}
|
|
8920
|
+
},
|
|
8921
|
+
{
|
|
8922
|
+
"kind": "method",
|
|
8923
|
+
"name": "_setPageInert",
|
|
8924
|
+
"description": "Sets `inert` on sibling elements of the dropdown's top-level host\nso that content outside the dropdown is not interactive while the modal is open.\nWalks up through shadow DOM boundaries to find the outermost host element\nin the light DOM, then sets `inert` on siblings at each ancestor level\nto ensure all page content outside the host subtree is inert.",
|
|
8925
|
+
"privacy": "private"
|
|
8926
|
+
},
|
|
8927
|
+
{
|
|
8928
|
+
"kind": "method",
|
|
8929
|
+
"name": "_clearPageInert",
|
|
8930
|
+
"description": "Restores `inert` state on siblings that were tracked by `_setPageInert`.\nPreserves the previous inert state so externally-inerted elements are\nnot inadvertently re-enabled.",
|
|
8931
|
+
"privacy": "private"
|
|
8932
|
+
},
|
|
8008
8933
|
{
|
|
8009
8934
|
"kind": "method",
|
|
8010
8935
|
"name": "handleFocusout",
|
|
@@ -8311,6 +9236,17 @@
|
|
|
8311
9236
|
"attribute": "autoPlacement",
|
|
8312
9237
|
"reflects": true
|
|
8313
9238
|
},
|
|
9239
|
+
{
|
|
9240
|
+
"kind": "field",
|
|
9241
|
+
"name": "desktopModal",
|
|
9242
|
+
"privacy": "public",
|
|
9243
|
+
"type": {
|
|
9244
|
+
"text": "boolean"
|
|
9245
|
+
},
|
|
9246
|
+
"description": "If declared, the dropdown will behave as a modal dialog when in a desktop viewport size.",
|
|
9247
|
+
"attribute": "desktopModal",
|
|
9248
|
+
"reflects": true
|
|
9249
|
+
},
|
|
8314
9250
|
{
|
|
8315
9251
|
"kind": "field",
|
|
8316
9252
|
"name": "disableEventShow",
|
|
@@ -8617,6 +9553,14 @@
|
|
|
8617
9553
|
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
8618
9554
|
"fieldName": "autoPlacement"
|
|
8619
9555
|
},
|
|
9556
|
+
{
|
|
9557
|
+
"name": "desktopModal",
|
|
9558
|
+
"type": {
|
|
9559
|
+
"text": "boolean"
|
|
9560
|
+
},
|
|
9561
|
+
"description": "If declared, the dropdown will behave as a modal dialog when in a desktop viewport size.",
|
|
9562
|
+
"fieldName": "desktopModal"
|
|
9563
|
+
},
|
|
8620
9564
|
{
|
|
8621
9565
|
"name": "disableEventShow",
|
|
8622
9566
|
"type": {
|
|
@@ -18793,7 +19737,7 @@
|
|
|
18793
19737
|
"type": {
|
|
18794
19738
|
"text": "object"
|
|
18795
19739
|
},
|
|
18796
|
-
"default": "{ ArrowDown(component, evt, ctx) { evt.preventDefault(); if (
|
|
19740
|
+
"default": "{ ArrowDown(component, evt, ctx) { evt.preventDefault(); if (evt.altKey || evt.metaKey) { // navigate to last enabled option selectKeyboardStrategy.End(component, evt, ctx); return; } navigateArrow(component, 'down', { ctx, showFn: () => component.dropdown.show(), }); }, ArrowUp(component, evt, ctx) { evt.preventDefault(); if (evt.altKey || evt.metaKey) { // navigate to first enabled option selectKeyboardStrategy.Home(component, evt, ctx); return; } navigateArrow(component, 'up', { ctx, showFn: () => component.dropdown.show(), }); }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); component.dropdown.hide(); }, End(component, evt, ctx) { if (!ctx.isExpanded) { return; } evt.preventDefault(); evt.stopPropagation(); const lastOption = [...component.menu.menuService.menuOptions].reverse().find((option) => !option.disabled); if (lastOption) { component.menu.updateActiveOption(lastOption); } }, Enter(component, evt, ctx) { evt.preventDefault(); evt.stopPropagation(); if (!ctx.isExpanded) { component.dropdown.show(); return; } component.menu.makeSelection(); }, Home(component, evt, ctx) { if (!ctx.isExpanded) { return; } evt.preventDefault(); evt.stopPropagation(); const firstOption = component.menu.menuService.menuOptions.find((option) => !option.disabled); if (firstOption) { component.menu.updateActiveOption(firstOption); } }, Tab(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Tab selects the focused option and closes the popup per the // WAI-ARIA APG select-only combobox / listbox pattern. if (component.optionActive) { component.menu.makeSelection(); } component.dropdown.hide(); }, default(component, evt, ctx) { component.updateActiveOptionBasedOnKey(evt.key); if (evt.key === ' ') { evt.preventDefault(); evt.stopPropagation(); if (ctx.isExpanded) { component.dropdown.hide(); return; } component.dropdown.show(); } }, }"
|
|
18797
19741
|
}
|
|
18798
19742
|
],
|
|
18799
19743
|
"exports": [
|