@aurodesignsystem-dev/auro-formkit 0.0.0-pr1475.6 → 0.0.0-pr1477.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +0 -7
- package/components/bibtemplate/dist/index.js +1 -9
- package/components/bibtemplate/dist/registered.js +1 -9
- 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/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +18 -236
- package/components/combobox/demo/getting-started.min.js +18 -236
- package/components/combobox/demo/index.min.js +18 -236
- package/components/combobox/demo/keyboard-behavior.md +68 -8
- package/components/combobox/demo/pages.json +1 -1
- package/components/combobox/dist/index.js +18 -236
- package/components/combobox/dist/registered.js +18 -236
- package/components/counter/demo/customize.min.js +15 -233
- package/components/counter/demo/index.min.js +15 -233
- package/components/counter/demo/keyboard-behavior.md +0 -1
- package/components/counter/demo/pages.json +1 -1
- package/components/counter/dist/index.js +2 -10
- package/components/counter/dist/registered.js +2 -10
- package/components/datepicker/demo/accessibility.md +3 -51
- package/components/datepicker/demo/api.md +2 -11
- package/components/datepicker/demo/customize.html +0 -2
- package/components/datepicker/demo/customize.md +8 -72
- package/components/datepicker/demo/design.md +1 -3
- package/components/datepicker/demo/index.js +1 -5
- package/components/datepicker/demo/index.md +2 -83
- package/components/datepicker/demo/index.min.js +100 -1567
- package/components/datepicker/demo/keyboard-behavior.md +2 -201
- package/components/datepicker/demo/pages.json +1 -1
- package/components/datepicker/demo/voiceover.md +12 -19
- package/components/datepicker/dist/index.js +98 -1489
- package/components/datepicker/dist/registered.js +98 -1489
- package/components/datepicker/dist/src/auro-calendar-cell.d.ts +1 -66
- package/components/datepicker/dist/src/auro-calendar-month.d.ts +0 -28
- package/components/datepicker/dist/src/auro-calendar.d.ts +0 -100
- package/components/datepicker/dist/src/auro-datepicker.d.ts +0 -88
- package/components/datepicker/dist/src/datepickerKeyboardStrategy.d.ts +3 -5
- package/components/dropdown/demo/accessibility.md +0 -11
- package/components/dropdown/demo/api.md +0 -1
- package/components/dropdown/demo/customize.md +0 -3
- package/components/dropdown/demo/customize.min.js +13 -223
- package/components/dropdown/demo/getting-started.min.js +13 -223
- package/components/dropdown/demo/index.min.js +13 -223
- package/components/dropdown/demo/keyboard-behavior.md +0 -1
- package/components/dropdown/demo/pages.json +1 -1
- package/components/dropdown/dist/auro-dropdown.d.ts +1 -33
- package/components/dropdown/dist/index.js +13 -223
- package/components/dropdown/dist/registered.js +13 -223
- package/components/form/demo/customize.min.js +165 -2208
- package/components/form/demo/getting-started.min.js +165 -2208
- package/components/form/demo/index.min.js +165 -2208
- package/components/form/demo/pages.json +1 -1
- package/components/form/demo/registerDemoDeps.min.js +165 -2208
- 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/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/pages.json +1 -1
- package/components/radio/demo/getting-started.js +1 -1
- package/components/radio/demo/getting-started.md +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/demo/pages.json +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +33 -249
- package/components/select/demo/getting-started.min.js +33 -249
- package/components/select/demo/index.min.js +33 -249
- package/components/select/demo/keyboard-behavior.md +54 -9
- package/components/select/demo/pages.json +1 -1
- package/components/select/dist/index.js +33 -249
- package/components/select/dist/registered.js +33 -249
- package/custom-elements.json +21 -738
- package/package.json +2 -2
- package/components/checkbox/demo/why-checkbox.html +0 -57
- package/components/checkbox/demo/why-checkbox.md +0 -86
- package/components/combobox/demo/why-combobox.html +0 -57
- package/components/combobox/demo/why-combobox.md +0 -113
- package/components/counter/demo/why-counter.html +0 -57
- package/components/counter/demo/why-counter.md +0 -108
- package/components/datepicker/demo/customize.js +0 -19
- package/components/datepicker/demo/customize.min.js +0 -26028
- package/components/datepicker/demo/why-datepicker.html +0 -57
- package/components/datepicker/demo/why-datepicker.md +0 -133
- package/components/dropdown/demo/why-dropdown.html +0 -57
- package/components/dropdown/demo/why-dropdown.md +0 -97
- package/components/form/demo/why-form.html +0 -57
- package/components/form/demo/why-form.md +0 -101
- package/components/input/demo/why-input.html +0 -57
- package/components/input/demo/why-input.md +0 -121
- package/components/menu/demo/why-menu.html +0 -57
- package/components/menu/demo/why-menu.md +0 -104
- package/components/radio/demo/customize.min.js +0 -2186
- package/components/radio/demo/demo-support.min.js +0 -55807
- package/components/radio/demo/getting-started.min.js +0 -2205
- package/components/radio/demo/why-radio.html +0 -57
- package/components/radio/demo/why-radio.md +0 -92
- package/components/select/demo/why-select.html +0 -57
- package/components/select/demo/why-select.md +0 -128
package/custom-elements.json
CHANGED
|
@@ -128,17 +128,6 @@
|
|
|
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
|
|
142
131
|
}
|
|
143
132
|
],
|
|
144
133
|
"events": [
|
|
@@ -170,14 +159,6 @@
|
|
|
170
159
|
},
|
|
171
160
|
"default": "false",
|
|
172
161
|
"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"
|
|
181
162
|
}
|
|
182
163
|
],
|
|
183
164
|
"superclass": {
|
|
@@ -2454,7 +2435,7 @@
|
|
|
2454
2435
|
"type": {
|
|
2455
2436
|
"text": "object"
|
|
2456
2437
|
},
|
|
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(); } } }, }"
|
|
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.ctrlKey || 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.ctrlKey || 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(); } } }, }"
|
|
2458
2439
|
}
|
|
2459
2440
|
],
|
|
2460
2441
|
"exports": [
|
|
@@ -4235,7 +4216,7 @@
|
|
|
4235
4216
|
{
|
|
4236
4217
|
"kind": "method",
|
|
4237
4218
|
"name": "handleHover",
|
|
4238
|
-
"description": "Handles user hover events and dispatches a custom event
|
|
4219
|
+
"description": "Handles user hover events and dispatches a custom event.",
|
|
4239
4220
|
"privacy": "private",
|
|
4240
4221
|
"return": {
|
|
4241
4222
|
"type": {
|
|
@@ -4243,51 +4224,6 @@
|
|
|
4243
4224
|
}
|
|
4244
4225
|
}
|
|
4245
4226
|
},
|
|
4246
|
-
{
|
|
4247
|
-
"kind": "method",
|
|
4248
|
-
"name": "isOutOfRange",
|
|
4249
|
-
"parameters": [
|
|
4250
|
-
{
|
|
4251
|
-
"name": "day",
|
|
4252
|
-
"description": "An object containing the dateFrom and day of month values.",
|
|
4253
|
-
"type": {
|
|
4254
|
-
"text": "Object"
|
|
4255
|
-
}
|
|
4256
|
-
},
|
|
4257
|
-
{
|
|
4258
|
-
"name": "min",
|
|
4259
|
-
"description": "The minimum date value.",
|
|
4260
|
-
"type": {
|
|
4261
|
-
"text": "Number"
|
|
4262
|
-
}
|
|
4263
|
-
},
|
|
4264
|
-
{
|
|
4265
|
-
"name": "max",
|
|
4266
|
-
"description": "The maximum date value.",
|
|
4267
|
-
"type": {
|
|
4268
|
-
"text": "Number"
|
|
4269
|
-
}
|
|
4270
|
-
}
|
|
4271
|
-
],
|
|
4272
|
-
"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.",
|
|
4273
|
-
"privacy": "private",
|
|
4274
|
-
"return": {
|
|
4275
|
-
"type": {
|
|
4276
|
-
"text": "Boolean"
|
|
4277
|
-
}
|
|
4278
|
-
}
|
|
4279
|
-
},
|
|
4280
|
-
{
|
|
4281
|
-
"kind": "method",
|
|
4282
|
-
"name": "isBlackout",
|
|
4283
|
-
"description": "Checks if the current date is a blackout date (in disabledDays but within range).\nBlackout cells are focusable but not selectable.",
|
|
4284
|
-
"privacy": "private",
|
|
4285
|
-
"return": {
|
|
4286
|
-
"type": {
|
|
4287
|
-
"text": "Boolean"
|
|
4288
|
-
}
|
|
4289
|
-
}
|
|
4290
|
-
},
|
|
4291
4227
|
{
|
|
4292
4228
|
"kind": "method",
|
|
4293
4229
|
"name": "isEnabled",
|
|
@@ -4321,7 +4257,7 @@
|
|
|
4321
4257
|
}
|
|
4322
4258
|
}
|
|
4323
4259
|
],
|
|
4324
|
-
"description": "Checks if the current date is
|
|
4260
|
+
"description": "Checks if the current date is a valid date depending on the min and max values.",
|
|
4325
4261
|
"privacy": "private",
|
|
4326
4262
|
"return": {
|
|
4327
4263
|
"type": {
|
|
@@ -4329,39 +4265,6 @@
|
|
|
4329
4265
|
}
|
|
4330
4266
|
}
|
|
4331
4267
|
},
|
|
4332
|
-
{
|
|
4333
|
-
"kind": "method",
|
|
4334
|
-
"name": "getCellId",
|
|
4335
|
-
"description": "Generates a unique cell ID in the format cell-YYYY-MM-DD.",
|
|
4336
|
-
"privacy": "private",
|
|
4337
|
-
"return": {
|
|
4338
|
-
"type": {
|
|
4339
|
-
"text": "String"
|
|
4340
|
-
}
|
|
4341
|
-
}
|
|
4342
|
-
},
|
|
4343
|
-
{
|
|
4344
|
-
"kind": "method",
|
|
4345
|
-
"name": "getAriaLabel",
|
|
4346
|
-
"description": "Generates a localized aria-label for the cell button using Intl.DateTimeFormat.\nIncludes range position and blackout status.",
|
|
4347
|
-
"privacy": "private",
|
|
4348
|
-
"return": {
|
|
4349
|
-
"type": {
|
|
4350
|
-
"text": "String"
|
|
4351
|
-
}
|
|
4352
|
-
}
|
|
4353
|
-
},
|
|
4354
|
-
{
|
|
4355
|
-
"kind": "method",
|
|
4356
|
-
"name": "getRangePosition",
|
|
4357
|
-
"description": "Determines the range position of this cell relative to the current selection.",
|
|
4358
|
-
"privacy": "private",
|
|
4359
|
-
"return": {
|
|
4360
|
-
"type": {
|
|
4361
|
-
"text": "String|null"
|
|
4362
|
-
}
|
|
4363
|
-
}
|
|
4364
|
-
},
|
|
4365
4268
|
{
|
|
4366
4269
|
"kind": "method",
|
|
4367
4270
|
"name": "isDepartDate",
|
|
@@ -4559,31 +4462,6 @@
|
|
|
4559
4462
|
}
|
|
4560
4463
|
}
|
|
4561
4464
|
},
|
|
4562
|
-
{
|
|
4563
|
-
"kind": "method",
|
|
4564
|
-
"name": "configurePopover",
|
|
4565
|
-
"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).",
|
|
4566
|
-
"privacy": "private",
|
|
4567
|
-
"return": {
|
|
4568
|
-
"type": {
|
|
4569
|
-
"text": "void"
|
|
4570
|
-
}
|
|
4571
|
-
}
|
|
4572
|
-
},
|
|
4573
|
-
{
|
|
4574
|
-
"kind": "method",
|
|
4575
|
-
"name": "focusButton",
|
|
4576
|
-
"description": "Programmatically focuses the cell's interactive button element.",
|
|
4577
|
-
"return": {
|
|
4578
|
-
"type": {
|
|
4579
|
-
"text": "void"
|
|
4580
|
-
}
|
|
4581
|
-
}
|
|
4582
|
-
},
|
|
4583
|
-
{
|
|
4584
|
-
"kind": "method",
|
|
4585
|
-
"name": "renderCellButton"
|
|
4586
|
-
},
|
|
4587
4465
|
{
|
|
4588
4466
|
"kind": "field",
|
|
4589
4467
|
"name": "day",
|
|
@@ -4733,27 +4611,6 @@
|
|
|
4733
4611
|
"default": "false",
|
|
4734
4612
|
"attribute": "renderForDateSlot"
|
|
4735
4613
|
},
|
|
4736
|
-
{
|
|
4737
|
-
"kind": "field",
|
|
4738
|
-
"name": "active",
|
|
4739
|
-
"privacy": "public",
|
|
4740
|
-
"type": {
|
|
4741
|
-
"text": "boolean"
|
|
4742
|
-
},
|
|
4743
|
-
"default": "false",
|
|
4744
|
-
"attribute": "active",
|
|
4745
|
-
"reflects": true
|
|
4746
|
-
},
|
|
4747
|
-
{
|
|
4748
|
-
"kind": "field",
|
|
4749
|
-
"name": "hasPopoverContent",
|
|
4750
|
-
"privacy": "public",
|
|
4751
|
-
"type": {
|
|
4752
|
-
"text": "boolean"
|
|
4753
|
-
},
|
|
4754
|
-
"default": "false",
|
|
4755
|
-
"attribute": "hasPopoverContent"
|
|
4756
|
-
},
|
|
4757
4614
|
{
|
|
4758
4615
|
"kind": "field",
|
|
4759
4616
|
"name": "runtimeUtils",
|
|
@@ -4765,12 +4622,6 @@
|
|
|
4765
4622
|
}
|
|
4766
4623
|
],
|
|
4767
4624
|
"events": [
|
|
4768
|
-
{
|
|
4769
|
-
"name": "calendar-cell-activate",
|
|
4770
|
-
"type": {
|
|
4771
|
-
"text": "CustomEvent"
|
|
4772
|
-
}
|
|
4773
|
-
},
|
|
4774
4625
|
{
|
|
4775
4626
|
"name": "date-is-hovered",
|
|
4776
4627
|
"type": {
|
|
@@ -4897,22 +4748,6 @@
|
|
|
4897
4748
|
},
|
|
4898
4749
|
"default": "false",
|
|
4899
4750
|
"fieldName": "renderForDateSlot"
|
|
4900
|
-
},
|
|
4901
|
-
{
|
|
4902
|
-
"name": "active",
|
|
4903
|
-
"type": {
|
|
4904
|
-
"text": "boolean"
|
|
4905
|
-
},
|
|
4906
|
-
"default": "false",
|
|
4907
|
-
"fieldName": "active"
|
|
4908
|
-
},
|
|
4909
|
-
{
|
|
4910
|
-
"name": "hasPopoverContent",
|
|
4911
|
-
"type": {
|
|
4912
|
-
"text": "boolean"
|
|
4913
|
-
},
|
|
4914
|
-
"default": "false",
|
|
4915
|
-
"fieldName": "hasPopoverContent"
|
|
4916
4751
|
}
|
|
4917
4752
|
],
|
|
4918
4753
|
"superclass": {
|
|
@@ -4971,78 +4806,10 @@
|
|
|
4971
4806
|
}
|
|
4972
4807
|
}
|
|
4973
4808
|
},
|
|
4974
|
-
{
|
|
4975
|
-
"kind": "method",
|
|
4976
|
-
"name": "getHeadingId",
|
|
4977
|
-
"description": "Returns the unique heading ID for this month, used by aria-labelledby.",
|
|
4978
|
-
"privacy": "private",
|
|
4979
|
-
"return": {
|
|
4980
|
-
"type": {
|
|
4981
|
-
"text": "String"
|
|
4982
|
-
}
|
|
4983
|
-
}
|
|
4984
|
-
},
|
|
4985
4809
|
{
|
|
4986
4810
|
"kind": "method",
|
|
4987
4811
|
"name": "localeChanged",
|
|
4988
|
-
"description": "Determines the current month name based on locale.\
|
|
4989
|
-
"privacy": "private",
|
|
4990
|
-
"return": {
|
|
4991
|
-
"type": {
|
|
4992
|
-
"text": "void"
|
|
4993
|
-
}
|
|
4994
|
-
}
|
|
4995
|
-
},
|
|
4996
|
-
{
|
|
4997
|
-
"kind": "method",
|
|
4998
|
-
"name": "renderDayOfWeek",
|
|
4999
|
-
"parameters": [
|
|
5000
|
-
{
|
|
5001
|
-
"name": "dayOfWeek",
|
|
5002
|
-
"description": "The short day name.",
|
|
5003
|
-
"type": {
|
|
5004
|
-
"text": "String"
|
|
5005
|
-
}
|
|
5006
|
-
},
|
|
5007
|
-
{
|
|
5008
|
-
"name": "index",
|
|
5009
|
-
"description": "The index in the dayNamesOfTheWeek array.",
|
|
5010
|
-
"type": {
|
|
5011
|
-
"text": "Number"
|
|
5012
|
-
}
|
|
5013
|
-
}
|
|
5014
|
-
],
|
|
5015
|
-
"description": "Renders a day-of-week header with abbr attribute for the full day name.",
|
|
5016
|
-
"privacy": "private",
|
|
5017
|
-
"return": {
|
|
5018
|
-
"type": {
|
|
5019
|
-
"text": "Object"
|
|
5020
|
-
}
|
|
5021
|
-
}
|
|
5022
|
-
},
|
|
5023
|
-
{
|
|
5024
|
-
"kind": "method",
|
|
5025
|
-
"name": "getFocusableCells",
|
|
5026
|
-
"description": "Returns all focusable cell elements (enabled + blackout, not out-of-range) in this month.",
|
|
5027
|
-
"return": {
|
|
5028
|
-
"type": {
|
|
5029
|
-
"text": "Array"
|
|
5030
|
-
}
|
|
5031
|
-
}
|
|
5032
|
-
},
|
|
5033
|
-
{
|
|
5034
|
-
"kind": "method",
|
|
5035
|
-
"name": "handleGridKeyDown",
|
|
5036
|
-
"parameters": [
|
|
5037
|
-
{
|
|
5038
|
-
"name": "event",
|
|
5039
|
-
"description": "The keyboard event.",
|
|
5040
|
-
"type": {
|
|
5041
|
-
"text": "KeyboardEvent"
|
|
5042
|
-
}
|
|
5043
|
-
}
|
|
5044
|
-
],
|
|
5045
|
-
"description": "Handles arrow key navigation within the month grid.\nDispatches a cross-month navigation event when the boundary is reached.",
|
|
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.",
|
|
5046
4813
|
"privacy": "private",
|
|
5047
4814
|
"return": {
|
|
5048
4815
|
"type": {
|
|
@@ -5050,15 +4817,6 @@
|
|
|
5050
4817
|
}
|
|
5051
4818
|
}
|
|
5052
4819
|
},
|
|
5053
|
-
{
|
|
5054
|
-
"kind": "method",
|
|
5055
|
-
"name": "renderWeek",
|
|
5056
|
-
"parameters": [
|
|
5057
|
-
{
|
|
5058
|
-
"name": "week"
|
|
5059
|
-
}
|
|
5060
|
-
]
|
|
5061
|
-
},
|
|
5062
4820
|
{
|
|
5063
4821
|
"kind": "method",
|
|
5064
4822
|
"name": "renderDay",
|
|
@@ -5079,20 +4837,6 @@
|
|
|
5079
4837
|
"reflects": true
|
|
5080
4838
|
}
|
|
5081
4839
|
],
|
|
5082
|
-
"events": [
|
|
5083
|
-
{
|
|
5084
|
-
"name": "calendar-month-boundary",
|
|
5085
|
-
"type": {
|
|
5086
|
-
"text": "CustomEvent"
|
|
5087
|
-
}
|
|
5088
|
-
},
|
|
5089
|
-
{
|
|
5090
|
-
"name": "calendar-cell-activate",
|
|
5091
|
-
"type": {
|
|
5092
|
-
"text": "CustomEvent"
|
|
5093
|
-
}
|
|
5094
|
-
}
|
|
5095
|
-
],
|
|
5096
4840
|
"attributes": [
|
|
5097
4841
|
{
|
|
5098
4842
|
"name": "monthFirst",
|
|
@@ -5160,28 +4904,6 @@
|
|
|
5160
4904
|
}
|
|
5161
4905
|
}
|
|
5162
4906
|
},
|
|
5163
|
-
{
|
|
5164
|
-
"kind": "method",
|
|
5165
|
-
"name": "announceMonthChange",
|
|
5166
|
-
"description": "Announces the current month and year via the live region after navigation.",
|
|
5167
|
-
"privacy": "private",
|
|
5168
|
-
"return": {
|
|
5169
|
-
"type": {
|
|
5170
|
-
"text": "void"
|
|
5171
|
-
}
|
|
5172
|
-
}
|
|
5173
|
-
},
|
|
5174
|
-
{
|
|
5175
|
-
"kind": "method",
|
|
5176
|
-
"name": "updateActiveCellForVisibleMonth",
|
|
5177
|
-
"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.",
|
|
5178
|
-
"privacy": "private",
|
|
5179
|
-
"return": {
|
|
5180
|
-
"type": {
|
|
5181
|
-
"text": "void"
|
|
5182
|
-
}
|
|
5183
|
-
}
|
|
5184
|
-
},
|
|
5185
4907
|
{
|
|
5186
4908
|
"kind": "method",
|
|
5187
4909
|
"name": "renderAllCalendars",
|
|
@@ -5224,185 +4946,21 @@
|
|
|
5224
4946
|
},
|
|
5225
4947
|
{
|
|
5226
4948
|
"kind": "method",
|
|
5227
|
-
"name": "
|
|
5228
|
-
"
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
4949
|
+
"name": "injectSlot",
|
|
4950
|
+
"parameters": [
|
|
4951
|
+
{
|
|
4952
|
+
"name": "slotName"
|
|
4953
|
+
},
|
|
4954
|
+
{
|
|
4955
|
+
"name": "nodes"
|
|
5233
4956
|
}
|
|
5234
|
-
|
|
4957
|
+
]
|
|
5235
4958
|
},
|
|
5236
4959
|
{
|
|
5237
|
-
"kind": "
|
|
5238
|
-
"name": "
|
|
5239
|
-
"description": "Gets all focusable cells across all rendered months.",
|
|
4960
|
+
"kind": "field",
|
|
4961
|
+
"name": "util",
|
|
5240
4962
|
"privacy": "private",
|
|
5241
|
-
"
|
|
5242
|
-
"type": {
|
|
5243
|
-
"text": "Array"
|
|
5244
|
-
}
|
|
5245
|
-
}
|
|
5246
|
-
},
|
|
5247
|
-
{
|
|
5248
|
-
"kind": "method",
|
|
5249
|
-
"name": "setActiveCell",
|
|
5250
|
-
"parameters": [
|
|
5251
|
-
{
|
|
5252
|
-
"name": "date",
|
|
5253
|
-
"description": "Unix timestamp of the cell to activate.",
|
|
5254
|
-
"type": {
|
|
5255
|
-
"text": "Number"
|
|
5256
|
-
}
|
|
5257
|
-
}
|
|
5258
|
-
],
|
|
5259
|
-
"description": "Sets the active cell across all months. Only one cell has tabindex=\"0\" at a time.",
|
|
5260
|
-
"return": {
|
|
5261
|
-
"type": {
|
|
5262
|
-
"text": "void"
|
|
5263
|
-
}
|
|
5264
|
-
}
|
|
5265
|
-
},
|
|
5266
|
-
{
|
|
5267
|
-
"kind": "method",
|
|
5268
|
-
"name": "focusActiveCell",
|
|
5269
|
-
"description": "Focuses the currently active cell. If activeCellDate is set but no cell\nhas the active attribute yet, sets it first. Waits for the cell's render\nto complete so the focused button is the final DOM element.",
|
|
5270
|
-
"return": {
|
|
5271
|
-
"type": {
|
|
5272
|
-
"text": "void"
|
|
5273
|
-
}
|
|
5274
|
-
}
|
|
5275
|
-
},
|
|
5276
|
-
{
|
|
5277
|
-
"kind": "method",
|
|
5278
|
-
"name": "computeActiveDate",
|
|
5279
|
-
"parameters": [
|
|
5280
|
-
{
|
|
5281
|
-
"name": "options",
|
|
5282
|
-
"default": "{}",
|
|
5283
|
-
"description": "Optional settings.",
|
|
5284
|
-
"optional": true,
|
|
5285
|
-
"type": {
|
|
5286
|
-
"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 * "
|
|
5287
|
-
}
|
|
5288
|
-
}
|
|
5289
|
-
],
|
|
5290
|
-
"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",
|
|
5291
|
-
"privacy": "private",
|
|
5292
|
-
"return": {
|
|
5293
|
-
"type": {
|
|
5294
|
-
"text": "Number|undefined"
|
|
5295
|
-
}
|
|
5296
|
-
}
|
|
5297
|
-
},
|
|
5298
|
-
{
|
|
5299
|
-
"kind": "method",
|
|
5300
|
-
"name": "handleMonthBoundary",
|
|
5301
|
-
"parameters": [
|
|
5302
|
-
{
|
|
5303
|
-
"name": "event",
|
|
5304
|
-
"description": "The boundary event with direction and source date info.",
|
|
5305
|
-
"type": {
|
|
5306
|
-
"text": "CustomEvent"
|
|
5307
|
-
}
|
|
5308
|
-
}
|
|
5309
|
-
],
|
|
5310
|
-
"description": "Handles cross-month boundary navigation events from month components.",
|
|
5311
|
-
"privacy": "private",
|
|
5312
|
-
"return": {
|
|
5313
|
-
"type": {
|
|
5314
|
-
"text": "void"
|
|
5315
|
-
}
|
|
5316
|
-
}
|
|
5317
|
-
},
|
|
5318
|
-
{
|
|
5319
|
-
"kind": "method",
|
|
5320
|
-
"name": "handleCellActivate",
|
|
5321
|
-
"parameters": [
|
|
5322
|
-
{
|
|
5323
|
-
"name": "event",
|
|
5324
|
-
"description": "The activation event with target date.",
|
|
5325
|
-
"type": {
|
|
5326
|
-
"text": "CustomEvent"
|
|
5327
|
-
}
|
|
5328
|
-
}
|
|
5329
|
-
],
|
|
5330
|
-
"description": "Handles cell activation events from month components.",
|
|
5331
|
-
"privacy": "private",
|
|
5332
|
-
"return": {
|
|
5333
|
-
"type": {
|
|
5334
|
-
"text": "void"
|
|
5335
|
-
}
|
|
5336
|
-
}
|
|
5337
|
-
},
|
|
5338
|
-
{
|
|
5339
|
-
"kind": "method",
|
|
5340
|
-
"name": "scrollToActiveCell",
|
|
5341
|
-
"description": "Scrolls the calendar to ensure the month containing the active cell is visible.",
|
|
5342
|
-
"privacy": "private",
|
|
5343
|
-
"return": {
|
|
5344
|
-
"type": {
|
|
5345
|
-
"text": "void"
|
|
5346
|
-
}
|
|
5347
|
-
}
|
|
5348
|
-
},
|
|
5349
|
-
{
|
|
5350
|
-
"kind": "method",
|
|
5351
|
-
"name": "announceSelection",
|
|
5352
|
-
"parameters": [
|
|
5353
|
-
{
|
|
5354
|
-
"name": "dateStr",
|
|
5355
|
-
"description": "The localized date string to announce.",
|
|
5356
|
-
"type": {
|
|
5357
|
-
"text": "String"
|
|
5358
|
-
}
|
|
5359
|
-
}
|
|
5360
|
-
],
|
|
5361
|
-
"description": "Announces a date selection via the live region.",
|
|
5362
|
-
"privacy": "private",
|
|
5363
|
-
"return": {
|
|
5364
|
-
"type": {
|
|
5365
|
-
"text": "void"
|
|
5366
|
-
}
|
|
5367
|
-
}
|
|
5368
|
-
},
|
|
5369
|
-
{
|
|
5370
|
-
"kind": "method",
|
|
5371
|
-
"name": "formatAnnouncementDate",
|
|
5372
|
-
"parameters": [
|
|
5373
|
-
{
|
|
5374
|
-
"name": "timestamp",
|
|
5375
|
-
"description": "Unix timestamp in seconds.",
|
|
5376
|
-
"type": {
|
|
5377
|
-
"text": "String|Number"
|
|
5378
|
-
}
|
|
5379
|
-
}
|
|
5380
|
-
],
|
|
5381
|
-
"description": "Formats a Unix timestamp (seconds) as a localized date string for SR announcements.",
|
|
5382
|
-
"privacy": "private",
|
|
5383
|
-
"return": {
|
|
5384
|
-
"type": {
|
|
5385
|
-
"text": "String"
|
|
5386
|
-
}
|
|
5387
|
-
}
|
|
5388
|
-
},
|
|
5389
|
-
{
|
|
5390
|
-
"kind": "method",
|
|
5391
|
-
"name": "injectSlot",
|
|
5392
|
-
"parameters": [
|
|
5393
|
-
{
|
|
5394
|
-
"name": "slotName"
|
|
5395
|
-
},
|
|
5396
|
-
{
|
|
5397
|
-
"name": "nodes"
|
|
5398
|
-
}
|
|
5399
|
-
]
|
|
5400
|
-
},
|
|
5401
|
-
{
|
|
5402
|
-
"kind": "field",
|
|
5403
|
-
"name": "util",
|
|
5404
|
-
"privacy": "private",
|
|
5405
|
-
"default": "new AuroDatepickerUtilities()"
|
|
4963
|
+
"default": "new AuroDatepickerUtilities()"
|
|
5406
4964
|
},
|
|
5407
4965
|
{
|
|
5408
4966
|
"kind": "field",
|
|
@@ -5489,16 +5047,6 @@
|
|
|
5489
5047
|
"attribute": "isFullscreen",
|
|
5490
5048
|
"reflects": true
|
|
5491
5049
|
},
|
|
5492
|
-
{
|
|
5493
|
-
"kind": "field",
|
|
5494
|
-
"name": "activeCellDate",
|
|
5495
|
-
"type": {
|
|
5496
|
-
"text": "null"
|
|
5497
|
-
},
|
|
5498
|
-
"description": "The date of the currently active cell (Unix timestamp).\nOnly one cell across the entire calendar has tabindex=\"0\" at a time.",
|
|
5499
|
-
"privacy": "private",
|
|
5500
|
-
"default": "null"
|
|
5501
|
-
},
|
|
5502
5050
|
{
|
|
5503
5051
|
"kind": "field",
|
|
5504
5052
|
"name": "firstMonthRenderable",
|
|
@@ -6123,17 +5671,6 @@
|
|
|
6123
5671
|
}
|
|
6124
5672
|
}
|
|
6125
5673
|
},
|
|
6126
|
-
{
|
|
6127
|
-
"kind": "method",
|
|
6128
|
-
"name": "focusActiveCellWhenReady",
|
|
6129
|
-
"description": "Attempts to focus the active calendar cell using a rAF retry loop.\nShared by both fullscreen and desktop open paths.",
|
|
6130
|
-
"privacy": "private",
|
|
6131
|
-
"return": {
|
|
6132
|
-
"type": {
|
|
6133
|
-
"text": "void"
|
|
6134
|
-
}
|
|
6135
|
-
}
|
|
6136
|
-
},
|
|
6137
5674
|
{
|
|
6138
5675
|
"kind": "method",
|
|
6139
5676
|
"name": "configureDropdown",
|
|
@@ -6285,26 +5822,6 @@
|
|
|
6285
5822
|
}
|
|
6286
5823
|
}
|
|
6287
5824
|
},
|
|
6288
|
-
{
|
|
6289
|
-
"kind": "method",
|
|
6290
|
-
"name": "isBlackoutDate",
|
|
6291
|
-
"parameters": [
|
|
6292
|
-
{
|
|
6293
|
-
"name": "dateStr",
|
|
6294
|
-
"description": "A date string in the component's configured format.",
|
|
6295
|
-
"type": {
|
|
6296
|
-
"text": "string"
|
|
6297
|
-
}
|
|
6298
|
-
}
|
|
6299
|
-
],
|
|
6300
|
-
"description": "Checks whether a formatted date string matches a blackout date.",
|
|
6301
|
-
"privacy": "private",
|
|
6302
|
-
"return": {
|
|
6303
|
-
"type": {
|
|
6304
|
-
"text": "boolean"
|
|
6305
|
-
}
|
|
6306
|
-
}
|
|
6307
|
-
},
|
|
6308
5825
|
{
|
|
6309
5826
|
"kind": "method",
|
|
6310
5827
|
"name": "validate",
|
|
@@ -6634,114 +6151,6 @@
|
|
|
6634
6151
|
"attribute": "range",
|
|
6635
6152
|
"reflects": true
|
|
6636
6153
|
},
|
|
6637
|
-
{
|
|
6638
|
-
"kind": "field",
|
|
6639
|
-
"name": "rangeLabelStart",
|
|
6640
|
-
"privacy": "public",
|
|
6641
|
-
"type": {
|
|
6642
|
-
"text": "string"
|
|
6643
|
-
},
|
|
6644
|
-
"description": "Label announced for the range start date cell.",
|
|
6645
|
-
"default": "'range start'",
|
|
6646
|
-
"attribute": "rangeLabelStart",
|
|
6647
|
-
"reflects": true
|
|
6648
|
-
},
|
|
6649
|
-
{
|
|
6650
|
-
"kind": "field",
|
|
6651
|
-
"name": "rangeLabelEnd",
|
|
6652
|
-
"privacy": "public",
|
|
6653
|
-
"type": {
|
|
6654
|
-
"text": "string"
|
|
6655
|
-
},
|
|
6656
|
-
"description": "Label announced for the range end date cell.",
|
|
6657
|
-
"default": "'range end'",
|
|
6658
|
-
"attribute": "rangeLabelEnd",
|
|
6659
|
-
"reflects": true
|
|
6660
|
-
},
|
|
6661
|
-
{
|
|
6662
|
-
"kind": "field",
|
|
6663
|
-
"name": "rangeLabelBeforeRange",
|
|
6664
|
-
"privacy": "public",
|
|
6665
|
-
"type": {
|
|
6666
|
-
"text": "string"
|
|
6667
|
-
},
|
|
6668
|
-
"description": "Label announced for cells before the range start.",
|
|
6669
|
-
"default": "'before range'",
|
|
6670
|
-
"attribute": "rangeLabelBeforeRange",
|
|
6671
|
-
"reflects": true
|
|
6672
|
-
},
|
|
6673
|
-
{
|
|
6674
|
-
"kind": "field",
|
|
6675
|
-
"name": "rangeLabelInRange",
|
|
6676
|
-
"privacy": "public",
|
|
6677
|
-
"type": {
|
|
6678
|
-
"text": "string"
|
|
6679
|
-
},
|
|
6680
|
-
"description": "Label announced for cells within the selected range.",
|
|
6681
|
-
"default": "'in range'",
|
|
6682
|
-
"attribute": "rangeLabelInRange",
|
|
6683
|
-
"reflects": true
|
|
6684
|
-
},
|
|
6685
|
-
{
|
|
6686
|
-
"kind": "field",
|
|
6687
|
-
"name": "rangeLabelAfterRange",
|
|
6688
|
-
"privacy": "public",
|
|
6689
|
-
"type": {
|
|
6690
|
-
"text": "string"
|
|
6691
|
-
},
|
|
6692
|
-
"description": "Label announced for cells after the range (or after start when no end is selected).",
|
|
6693
|
-
"default": "'after range'",
|
|
6694
|
-
"attribute": "rangeLabelAfterRange",
|
|
6695
|
-
"reflects": true
|
|
6696
|
-
},
|
|
6697
|
-
{
|
|
6698
|
-
"kind": "field",
|
|
6699
|
-
"name": "blackoutDates",
|
|
6700
|
-
"privacy": "public",
|
|
6701
|
-
"type": {
|
|
6702
|
-
"text": "array"
|
|
6703
|
-
},
|
|
6704
|
-
"description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).",
|
|
6705
|
-
"default": "[]",
|
|
6706
|
-
"attribute": "blackoutDates",
|
|
6707
|
-
"reflects": true
|
|
6708
|
-
},
|
|
6709
|
-
{
|
|
6710
|
-
"kind": "field",
|
|
6711
|
-
"name": "blackoutLabel",
|
|
6712
|
-
"privacy": "public",
|
|
6713
|
-
"type": {
|
|
6714
|
-
"text": "string"
|
|
6715
|
-
},
|
|
6716
|
-
"description": "Label announced for blackout (disabled but in-range) date cells.",
|
|
6717
|
-
"default": "'unavailable'",
|
|
6718
|
-
"attribute": "blackoutLabel",
|
|
6719
|
-
"reflects": true
|
|
6720
|
-
},
|
|
6721
|
-
{
|
|
6722
|
-
"kind": "field",
|
|
6723
|
-
"name": "navLabelPrevMonth",
|
|
6724
|
-
"privacy": "public",
|
|
6725
|
-
"type": {
|
|
6726
|
-
"text": "string"
|
|
6727
|
-
},
|
|
6728
|
-
"description": "Accessible label for the previous month navigation button.",
|
|
6729
|
-
"default": "'Previous month'",
|
|
6730
|
-
"attribute": "navLabelPrevMonth",
|
|
6731
|
-
"reflects": true
|
|
6732
|
-
},
|
|
6733
|
-
{
|
|
6734
|
-
"kind": "field",
|
|
6735
|
-
"name": "navLabelNextMonth",
|
|
6736
|
-
"privacy": "public",
|
|
6737
|
-
"type": {
|
|
6738
|
-
"text": "string"
|
|
6739
|
-
},
|
|
6740
|
-
"description": "Accessible label for the next month navigation button.",
|
|
6741
|
-
"default": "'Next month'",
|
|
6742
|
-
"attribute": "navLabelNextMonth",
|
|
6743
|
-
"reflects": true
|
|
6744
|
-
},
|
|
6745
6154
|
{
|
|
6746
6155
|
"kind": "field",
|
|
6747
6156
|
"name": "stacked",
|
|
@@ -7195,7 +6604,7 @@
|
|
|
7195
6604
|
"type": {
|
|
7196
6605
|
"text": "string"
|
|
7197
6606
|
},
|
|
7198
|
-
"description": "Custom help text message to display when validity = `customError
|
|
6607
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
7199
6608
|
"attribute": "setCustomValidityCustomError"
|
|
7200
6609
|
},
|
|
7201
6610
|
{
|
|
@@ -7305,11 +6714,8 @@
|
|
|
7305
6714
|
"description": "Notifies that new slot content has been added to the datepicker."
|
|
7306
6715
|
},
|
|
7307
6716
|
{
|
|
7308
|
-
"
|
|
7309
|
-
"
|
|
7310
|
-
"text": "CustomEvent"
|
|
7311
|
-
},
|
|
7312
|
-
"description": "Notifies that the component value(s) have been validated."
|
|
6717
|
+
"description": "Notifies that the component value(s) have been validated.",
|
|
6718
|
+
"name": "auroFormElement-validated"
|
|
7313
6719
|
}
|
|
7314
6720
|
],
|
|
7315
6721
|
"attributes": [
|
|
@@ -7574,87 +6980,6 @@
|
|
|
7574
6980
|
"default": "false",
|
|
7575
6981
|
"fieldName": "range"
|
|
7576
6982
|
},
|
|
7577
|
-
{
|
|
7578
|
-
"name": "rangeLabelStart",
|
|
7579
|
-
"type": {
|
|
7580
|
-
"text": "string"
|
|
7581
|
-
},
|
|
7582
|
-
"description": "Label announced for the range start date cell.",
|
|
7583
|
-
"default": "'range start'",
|
|
7584
|
-
"fieldName": "rangeLabelStart"
|
|
7585
|
-
},
|
|
7586
|
-
{
|
|
7587
|
-
"name": "rangeLabelEnd",
|
|
7588
|
-
"type": {
|
|
7589
|
-
"text": "string"
|
|
7590
|
-
},
|
|
7591
|
-
"description": "Label announced for the range end date cell.",
|
|
7592
|
-
"default": "'range end'",
|
|
7593
|
-
"fieldName": "rangeLabelEnd"
|
|
7594
|
-
},
|
|
7595
|
-
{
|
|
7596
|
-
"name": "rangeLabelBeforeRange",
|
|
7597
|
-
"type": {
|
|
7598
|
-
"text": "string"
|
|
7599
|
-
},
|
|
7600
|
-
"description": "Label announced for cells before the range start.",
|
|
7601
|
-
"default": "'before range'",
|
|
7602
|
-
"fieldName": "rangeLabelBeforeRange"
|
|
7603
|
-
},
|
|
7604
|
-
{
|
|
7605
|
-
"name": "rangeLabelInRange",
|
|
7606
|
-
"type": {
|
|
7607
|
-
"text": "string"
|
|
7608
|
-
},
|
|
7609
|
-
"description": "Label announced for cells within the selected range.",
|
|
7610
|
-
"default": "'in range'",
|
|
7611
|
-
"fieldName": "rangeLabelInRange"
|
|
7612
|
-
},
|
|
7613
|
-
{
|
|
7614
|
-
"name": "rangeLabelAfterRange",
|
|
7615
|
-
"type": {
|
|
7616
|
-
"text": "string"
|
|
7617
|
-
},
|
|
7618
|
-
"description": "Label announced for cells after the range (or after start when no end is selected).",
|
|
7619
|
-
"default": "'after range'",
|
|
7620
|
-
"fieldName": "rangeLabelAfterRange"
|
|
7621
|
-
},
|
|
7622
|
-
{
|
|
7623
|
-
"name": "blackoutDates",
|
|
7624
|
-
"type": {
|
|
7625
|
-
"text": "array"
|
|
7626
|
-
},
|
|
7627
|
-
"description": "Array of dates that cannot be selected. Dates should be in ISO format (YYYY-MM-DD).",
|
|
7628
|
-
"default": "[]",
|
|
7629
|
-
"fieldName": "blackoutDates"
|
|
7630
|
-
},
|
|
7631
|
-
{
|
|
7632
|
-
"name": "blackoutLabel",
|
|
7633
|
-
"type": {
|
|
7634
|
-
"text": "string"
|
|
7635
|
-
},
|
|
7636
|
-
"description": "Label announced for blackout (disabled but in-range) date cells.",
|
|
7637
|
-
"default": "'unavailable'",
|
|
7638
|
-
"fieldName": "blackoutLabel"
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
"name": "navLabelPrevMonth",
|
|
7642
|
-
"type": {
|
|
7643
|
-
"text": "string"
|
|
7644
|
-
},
|
|
7645
|
-
"description": "Accessible label for the previous month navigation button.",
|
|
7646
|
-
"default": "'Previous month'",
|
|
7647
|
-
"fieldName": "navLabelPrevMonth"
|
|
7648
|
-
},
|
|
7649
|
-
{
|
|
7650
|
-
"name": "navLabelNextMonth",
|
|
7651
|
-
"type": {
|
|
7652
|
-
"text": "string"
|
|
7653
|
-
},
|
|
7654
|
-
"description": "Accessible label for the next month navigation button.",
|
|
7655
|
-
"default": "'Next month'",
|
|
7656
|
-
"fieldName": "navLabelNextMonth"
|
|
7657
|
-
},
|
|
7658
6983
|
{
|
|
7659
6984
|
"name": "referenceDates",
|
|
7660
6985
|
"type": {
|
|
@@ -7685,7 +7010,7 @@
|
|
|
7685
7010
|
"type": {
|
|
7686
7011
|
"text": "string"
|
|
7687
7012
|
},
|
|
7688
|
-
"description": "Custom help text message to display when validity = `customError
|
|
7013
|
+
"description": "Custom help text message to display when validity = `customError`.",
|
|
7689
7014
|
"fieldName": "setCustomValidityCustomError"
|
|
7690
7015
|
},
|
|
7691
7016
|
{
|
|
@@ -7826,7 +7151,7 @@
|
|
|
7826
7151
|
"type": {
|
|
7827
7152
|
"text": "object"
|
|
7828
7153
|
},
|
|
7829
|
-
"default": "{ Escape(component, evt
|
|
7154
|
+
"default": "{ Escape(component, evt) { if (!component.dropdown || !component.dropdown.isPopoverVisible) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups. // Because stopPropagation prevents the document-level floatingUI keydown handler from // seeing this event, we must also close the dropdown explicitly. evt.stopPropagation(); component.dropdown.hide(); }, }"
|
|
7830
7155
|
}
|
|
7831
7156
|
],
|
|
7832
7157
|
"exports": [
|
|
@@ -8680,29 +8005,6 @@
|
|
|
8680
8005
|
"name": "updateFocusTrap",
|
|
8681
8006
|
"privacy": "private"
|
|
8682
8007
|
},
|
|
8683
|
-
{
|
|
8684
|
-
"kind": "method",
|
|
8685
|
-
"name": "_getActiveElements",
|
|
8686
|
-
"description": "Returns the chain of active (focused) elements through shadow roots.",
|
|
8687
|
-
"privacy": "private",
|
|
8688
|
-
"return": {
|
|
8689
|
-
"type": {
|
|
8690
|
-
"text": "Array<HTMLElement>"
|
|
8691
|
-
}
|
|
8692
|
-
}
|
|
8693
|
-
},
|
|
8694
|
-
{
|
|
8695
|
-
"kind": "method",
|
|
8696
|
-
"name": "_setPageInert",
|
|
8697
|
-
"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.",
|
|
8698
|
-
"privacy": "private"
|
|
8699
|
-
},
|
|
8700
|
-
{
|
|
8701
|
-
"kind": "method",
|
|
8702
|
-
"name": "_clearPageInert",
|
|
8703
|
-
"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.",
|
|
8704
|
-
"privacy": "private"
|
|
8705
|
-
},
|
|
8706
8008
|
{
|
|
8707
8009
|
"kind": "method",
|
|
8708
8010
|
"name": "handleFocusout",
|
|
@@ -9009,17 +8311,6 @@
|
|
|
9009
8311
|
"attribute": "autoPlacement",
|
|
9010
8312
|
"reflects": true
|
|
9011
8313
|
},
|
|
9012
|
-
{
|
|
9013
|
-
"kind": "field",
|
|
9014
|
-
"name": "desktopModal",
|
|
9015
|
-
"privacy": "public",
|
|
9016
|
-
"type": {
|
|
9017
|
-
"text": "boolean"
|
|
9018
|
-
},
|
|
9019
|
-
"description": "If declared, the dropdown will behave as a modal dialog when in a desktop viewport size.",
|
|
9020
|
-
"attribute": "desktopModal",
|
|
9021
|
-
"reflects": true
|
|
9022
|
-
},
|
|
9023
8314
|
{
|
|
9024
8315
|
"kind": "field",
|
|
9025
8316
|
"name": "disableEventShow",
|
|
@@ -9326,14 +8617,6 @@
|
|
|
9326
8617
|
"description": "If declared, bib's position will be automatically calculated where to appear.",
|
|
9327
8618
|
"fieldName": "autoPlacement"
|
|
9328
8619
|
},
|
|
9329
|
-
{
|
|
9330
|
-
"name": "desktopModal",
|
|
9331
|
-
"type": {
|
|
9332
|
-
"text": "boolean"
|
|
9333
|
-
},
|
|
9334
|
-
"description": "If declared, the dropdown will behave as a modal dialog when in a desktop viewport size.",
|
|
9335
|
-
"fieldName": "desktopModal"
|
|
9336
|
-
},
|
|
9337
8620
|
{
|
|
9338
8621
|
"name": "disableEventShow",
|
|
9339
8622
|
"type": {
|
|
@@ -19510,7 +18793,7 @@
|
|
|
19510
18793
|
"type": {
|
|
19511
18794
|
"text": "object"
|
|
19512
18795
|
},
|
|
19513
|
-
"default": "{ ArrowDown(component, evt, ctx) { evt.preventDefault(); if (evt.altKey || evt.metaKey) { // navigate to last enabled option selectKeyboardStrategy.End(component, evt, ctx);
|
|
18796
|
+
"default": "{ ArrowDown(component, evt, ctx) { evt.preventDefault(); if (ctx.isExpanded) { if (evt.altKey || evt.ctrlKey || evt.metaKey) { // navigate to last enabled option selectKeyboardStrategy.End(component, evt, ctx); } else { navigateArrow(component, 'down', { ctx }); } } else { component.dropdown.show(); } }, ArrowUp(component, evt, ctx) { evt.preventDefault(); if (ctx.isExpanded) { if (evt.altKey || evt.ctrlKey || evt.metaKey) { // navigate to first enabled option selectKeyboardStrategy.Home(component, evt, ctx); } else { navigateArrow(component, 'up', { ctx }); } } else { 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(); } }, }"
|
|
19514
18797
|
}
|
|
19515
18798
|
],
|
|
19516
18799
|
"exports": [
|