@nvidia-elements/core 2.8.0 → 2.9.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/CHANGELOG.md +23 -0
- package/dist/accordion/accordion.examples.json +9 -9
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert.examples.json +3 -3
- package/dist/alert/alert2.js +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge.examples.json +2 -2
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb.examples.json +1 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundle.d.ts +2 -0
- package/dist/bundles/index.d.ts +211 -0
- package/dist/bundles/index.js +6 -6
- package/dist/button/button.examples.json +3 -3
- package/dist/button/button2.js +1 -1
- package/dist/button-group/button-group2.js +1 -1
- package/dist/card/card.examples.json +2 -2
- package/dist/card/card2.js +4 -4
- package/dist/chat-message/chat-message.examples.json +4 -4
- package/dist/chat-message/chat-message2.js +1 -1
- package/dist/checkbox/checkbox-group2.js +1 -1
- package/dist/checkbox/checkbox2.js +1 -1
- package/dist/color/color2.js +1 -1
- package/dist/combobox/combobox.examples.json +5 -5
- package/dist/combobox/combobox2.js +1 -1
- package/dist/copy-button/copy-button.examples.json +2 -2
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements-jsx.d.ts +112 -1
- package/dist/custom-elements-vue.d.ts +110 -1
- package/dist/custom-elements.json +3554 -291
- package/dist/data.html.json +95 -1
- package/dist/data.snippets.json +45 -45
- package/dist/date/date2.js +1 -1
- package/dist/datetime/datetime2.js +1 -1
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog.examples.json +3 -3
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider.examples.json +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/drawer/drawer-content2.js +1 -1
- package/dist/drawer/drawer-footer2.js +1 -1
- package/dist/drawer/drawer-header2.js +1 -1
- package/dist/drawer/drawer2.js +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.examples.json +4 -4
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone.examples.json +1 -1
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-bytes/format-bytes2.js +1 -1
- package/dist/format-datetime/format-datetime.examples.json +3 -3
- package/dist/format-datetime/format-datetime2.js +1 -1
- package/dist/format-number/format-number2.js +1 -1
- package/dist/format-relative-time/format-relative-time2.js +1 -1
- package/dist/format-truncate/format-truncate.examples.json +4 -4
- package/dist/format-truncate/format-truncate2.js +1 -1
- package/dist/forms/actions.examples.json +1 -1
- package/dist/forms/control/control.examples.json +1 -1
- package/dist/forms/control/control2.js +1 -1
- package/dist/forms/control-group/control-group2.js +1 -1
- package/dist/forms/control-message/control-message2.js +1 -1
- package/dist/gauge/gauge.examples.json +2 -2
- package/dist/gauge/gauge2.js +1 -1
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column2.js +1 -1
- package/dist/grid/footer/footer2.js +1 -1
- package/dist/grid/grid.examples.js.map +1 -1
- package/dist/grid/grid.examples.json +34 -34
- package/dist/grid/grid2.js +1 -1
- package/dist/grid/header/header2.js +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +1 -1
- package/dist/icon/icon2.js +2 -2
- package/dist/icon-button/icon-button2.js +1 -1
- package/dist/index.js +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/controllers/gesture.controller.d.ts +122 -42
- package/dist/internal/controllers/gesture.controller.examples.js.map +1 -1
- package/dist/internal/controllers/gesture.controller.examples.json +2 -2
- package/dist/internal/controllers/gesture.controller.js +300 -159
- package/dist/internal/controllers/gesture.controller.js.map +1 -1
- package/dist/internal/controllers/key-state.controller.d.ts +18 -0
- package/dist/internal/controllers/key-state.controller.js +84 -0
- package/dist/internal/controllers/key-state.controller.js.map +1 -0
- package/dist/internal/controllers/keynav-grid.controller.examples.json +1 -1
- package/dist/internal/controllers/keynav-list.controller.examples.json +1 -1
- package/dist/internal/controllers/keynav-spatial.controller.d.ts +4 -1
- package/dist/internal/controllers/keynav-spatial.controller.js +7 -6
- package/dist/internal/controllers/keynav-spatial.controller.js.map +1 -1
- package/dist/internal/controllers/popover.examples.json +2 -2
- package/dist/internal/index.d.ts +2 -0
- package/dist/internal/index.js +29 -27
- package/dist/internal/services/global.service.js +1 -1
- package/dist/internal/utils/dom.d.ts +1 -0
- package/dist/internal/utils/dom.js +42 -38
- package/dist/internal/utils/dom.js.map +1 -1
- package/dist/internal/utils/focus.d.ts +2 -0
- package/dist/internal/utils/focus.js +14 -7
- package/dist/internal/utils/focus.js.map +1 -1
- package/dist/internal/utils/numeric.d.ts +3 -0
- package/dist/internal/utils/numeric.js +14 -0
- package/dist/internal/utils/numeric.js.map +1 -0
- package/dist/logo/logo.examples.json +1 -1
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-item2.js +1 -1
- package/dist/menu/menu.examples.js.map +1 -1
- package/dist/menu/menu.examples.json +4 -4
- package/dist/menu/menu2.js +1 -1
- package/dist/month/month2.js +1 -1
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification.examples.json +3 -3
- package/dist/notification/notification2.js +1 -1
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +1 -1
- package/dist/page/page-panel/page-panel-header2.js +1 -1
- package/dist/page/page-panel/page-panel2.js +1 -1
- package/dist/page/page.examples.json +10 -10
- package/dist/page/page2.js +1 -1
- package/dist/page-header/page-header.examples.json +1 -1
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader2.js +1 -1
- package/dist/pagination/pagination.examples.json +6 -6
- package/dist/pagination/pagination2.js +1 -1
- package/dist/panel/panel2.js +4 -4
- package/dist/password/password2.js +1 -1
- package/dist/preferences-input/preferences-input.examples.json +1 -1
- package/dist/preferences-input/preferences-input2.js +1 -1
- package/dist/progress-bar/progress-bar.examples.json +1 -1
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range.examples.json +1 -1
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle.examples.json +4 -4
- package/dist/resize-handle/resize-handle2.js +6 -10
- package/dist/resize-handle/resize-handle2.js.map +1 -1
- package/dist/search/search2.js +1 -1
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline.examples.json +2 -2
- package/dist/sparkline/sparkline2.js +1 -1
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps2.js +2 -2
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group2.js +1 -1
- package/dist/tabs/tabs.examples.json +4 -4
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag.examples.json +1 -1
- package/dist/tag/tag2.js +1 -1
- package/dist/textarea/textarea.d.ts +7 -1
- package/dist/textarea/textarea.examples.js.map +1 -1
- package/dist/textarea/textarea.examples.json +22 -0
- package/dist/textarea/textarea.js +1 -1
- package/dist/textarea/textarea.js.map +1 -1
- package/dist/textarea/textarea2.js +10 -3
- package/dist/textarea/textarea2.js.map +1 -1
- package/dist/time/time2.js +1 -1
- package/dist/toast/toast.examples.json +1 -1
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip.examples.json +2 -2
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/viewport/define.d.ts +7 -0
- package/dist/viewport/define.js +7 -0
- package/dist/viewport/define.js.map +1 -0
- package/dist/viewport/index.d.ts +3 -0
- package/dist/viewport/index.js +3 -0
- package/dist/viewport/viewport-animation.controller.d.ts +21 -0
- package/dist/viewport/viewport-animation.controller.js +93 -0
- package/dist/viewport/viewport-animation.controller.js.map +1 -0
- package/dist/viewport/viewport-autofit.controller.d.ts +18 -0
- package/dist/viewport/viewport-autofit.controller.js +105 -0
- package/dist/viewport/viewport-autofit.controller.js.map +1 -0
- package/dist/viewport/viewport-fitting.utils.d.ts +36 -0
- package/dist/viewport/viewport-fitting.utils.js +35 -0
- package/dist/viewport/viewport-fitting.utils.js.map +1 -0
- package/dist/viewport/viewport-gesture-navigation.controller.d.ts +29 -0
- package/dist/viewport/viewport-gesture-navigation.controller.js +311 -0
- package/dist/viewport/viewport-gesture-navigation.controller.js.map +1 -0
- package/dist/viewport/viewport-gridlines.d.ts +38 -0
- package/dist/viewport/viewport-gridlines.js +6 -0
- package/dist/viewport/viewport-gridlines.js.map +1 -0
- package/dist/viewport/viewport-gridlines.utils.d.ts +11 -0
- package/dist/viewport/viewport-gridlines.utils.js +54 -0
- package/dist/viewport/viewport-gridlines.utils.js.map +1 -0
- package/dist/viewport/viewport-gridlines2.js +154 -0
- package/dist/viewport/viewport-gridlines2.js.map +1 -0
- package/dist/viewport/viewport-navigation.controller.d.ts +27 -0
- package/dist/viewport/viewport-navigation.controller.js +142 -0
- package/dist/viewport/viewport-navigation.controller.js.map +1 -0
- package/dist/viewport/viewport-navigation.types.d.ts +9 -0
- package/dist/viewport/viewport-projection.utils.d.ts +7 -0
- package/dist/viewport/viewport-projection.utils.js +25 -0
- package/dist/viewport/viewport-projection.utils.js.map +1 -0
- package/dist/viewport/viewport.d.ts +92 -0
- package/dist/viewport/viewport.examples.js +6 -0
- package/dist/viewport/viewport.examples.js.map +1 -0
- package/dist/viewport/viewport.examples.json +60 -0
- package/dist/viewport/viewport.js +6 -0
- package/dist/viewport/viewport.js.map +1 -0
- package/dist/viewport/viewport.types.d.ts +66 -0
- package/dist/viewport/viewport2.js +375 -0
- package/dist/viewport/viewport2.js.map +1 -0
- package/dist/week/week2.js +1 -1
- package/package.json +14 -2
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"themes": true,
|
|
48
48
|
"aria": "https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/",
|
|
49
49
|
"entrypoint": "@nvidia-elements/core/accordion",
|
|
50
|
-
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
50
|
+
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>",
|
|
51
51
|
"package": true,
|
|
52
52
|
"documentation": "https://nvidia.github.io/elements/docs/elements/accordion/",
|
|
53
53
|
"since": "0.12.0",
|
|
54
54
|
"status": "stable",
|
|
55
55
|
"behavior": "container",
|
|
56
|
-
"markdown": "## nve-accordion-header\n\nProvides the clickable heading region of an accordion that toggles the visibility of associated content.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
56
|
+
"markdown": "## nve-accordion-header\n\nProvides the clickable heading region of an accordion that toggles the visibility of associated content.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/accordion/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Heading text and supporting content that labels the accordion section. |\n| prefix | `string` | slot for prefix content |\n| suffix | `string` | slot for suffix content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |"
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
{
|
|
@@ -89,13 +89,13 @@
|
|
|
89
89
|
"themes": true,
|
|
90
90
|
"aria": "https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/",
|
|
91
91
|
"entrypoint": "@nvidia-elements/core/accordion",
|
|
92
|
-
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
92
|
+
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>",
|
|
93
93
|
"package": true,
|
|
94
94
|
"documentation": "https://nvidia.github.io/elements/docs/elements/accordion/",
|
|
95
95
|
"since": "0.12.0",
|
|
96
96
|
"status": "stable",
|
|
97
97
|
"behavior": "container",
|
|
98
|
-
"markdown": "## nve-accordion-content\n\nContains the collapsible body content that reveals or hides when the parent accordion expands or collapses.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
98
|
+
"markdown": "## nve-accordion-content\n\nContains the collapsible body content that reveals or hides when the parent accordion expands or collapses.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/accordion/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default/unnamed slot for accordion content |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -348,13 +348,13 @@
|
|
|
348
348
|
"themes": true,
|
|
349
349
|
"aria": "https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/",
|
|
350
350
|
"entrypoint": "@nvidia-elements/core/accordion",
|
|
351
|
-
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
351
|
+
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>",
|
|
352
352
|
"package": true,
|
|
353
353
|
"documentation": "https://nvidia.github.io/elements/docs/elements/accordion/",
|
|
354
354
|
"since": "0.12.0",
|
|
355
355
|
"status": "stable",
|
|
356
356
|
"behavior": "container",
|
|
357
|
-
"markdown": "## nve-accordion\n\nAn accordion is a vertical stack of interactive headings used to toggle the display of further information.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
357
|
+
"markdown": "## nve-accordion\n\nAn accordion is a vertical stack of interactive headings used to toggle the display of further information.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/accordion/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content displayed in the collapsible region, typically an `nve-accordion-content` element. |\n| icon-button | `string` | icon elements to display for expand/collapse |\n| header | `string` | header element (Use `accordion-header` or custom content) |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| i18n | | Enables updating internal string values for internationalization. |\n| container | `'flat' \\| 'inset' \\| undefined` | Determines the container styles of component. Flat suits nesting accordions within other containers. Inset suits more complex accordions where content needs distinct separation. |\n| expanded | `boolean` | Indicates whether collapsible content is currently visible or hidden from the user. [MDN](https://mdn.dev/ARIA/Attributes/aria-expanded) - `true` The associated content expands and becomes visible to the user. - `false` The associated content collapses and hides from the user. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| behaviorExpand (behavior-expand) | `boolean` | Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless) |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --open | `CommandEvent` | use to open the accordion |\n| --close | `CommandEvent` | use to close the accordion |\n| --toggle | `CommandEvent` | use to toggle the accordion |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --header-padding | `string` | Padding around the header content. |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --transition | `string` | [MDN](https://mdn.dev/CSS/transition) |"
|
|
358
358
|
},
|
|
359
359
|
"commands": [
|
|
360
360
|
{
|
|
@@ -529,13 +529,13 @@
|
|
|
529
529
|
"themes": true,
|
|
530
530
|
"aria": "https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/",
|
|
531
531
|
"entrypoint": "@nvidia-elements/core/accordion",
|
|
532
|
-
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
532
|
+
"example": "<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>",
|
|
533
533
|
"package": true,
|
|
534
534
|
"documentation": "https://nvidia.github.io/elements/docs/elements/accordion/",
|
|
535
535
|
"since": "0.12.0",
|
|
536
536
|
"status": "stable",
|
|
537
537
|
"behavior": "container",
|
|
538
|
-
"markdown": "## nve-accordion-group\n\nOrganizes many accordions into a cohesive group, enabling coordinated expand/collapse behavior such as single-item expansion.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content
|
|
538
|
+
"markdown": "## nve-accordion-group\n\nOrganizes many accordions into a cohesive group, enabling coordinated expand/collapse behavior such as single-item expansion.\n\n### Example\n\n```html\n<nve-accordion-group behavior-expand>\n <nve-accordion>\n <nve-accordion-header>\n <h2 nve-text=\"heading xs medium\">Workspace Settings</h2>\n </nve-accordion-header>\n <nve-accordion-content>Adjust workspace preferences and project configurations to customize your experience.</nve-accordion-content>\n </nve-accordion>\n</nve-accordion-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/accordion/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | This is a default slot for accordions within the group |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| behaviorExpand (behavior-expand) | `boolean` | Determines whether the accordion should opt-in to stateful expansion behavior (defaults to stateless) |\n| behaviorExpandSingle (behavior-expand-single) | `boolean` | Determines whether the accordion should opt-in to stateful expansion of a single accordion at a time |\n| container | `'flat' \\| 'inset' \\| undefined` | Controls the container style applied to child accordions. `flat` removes the visual container, `inset` adds rounded containment, and omission uses the default divided presentation. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |"
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
],
|
|
@@ -3062,6 +3062,14 @@
|
|
|
3062
3062
|
"package": "@nvidia-elements/core/tree"
|
|
3063
3063
|
}
|
|
3064
3064
|
},
|
|
3065
|
+
{
|
|
3066
|
+
"kind": "js",
|
|
3067
|
+
"name": "*",
|
|
3068
|
+
"declaration": {
|
|
3069
|
+
"name": "*",
|
|
3070
|
+
"package": "@nvidia-elements/core/viewport"
|
|
3071
|
+
}
|
|
3072
|
+
},
|
|
3065
3073
|
{
|
|
3066
3074
|
"kind": "js",
|
|
3067
3075
|
"name": "*",
|
|
@@ -11060,13 +11068,13 @@
|
|
|
11060
11068
|
"themes": true,
|
|
11061
11069
|
"aria": "https://www.w3.org/WAI/ARIA/apg/patterns/menubar/",
|
|
11062
11070
|
"entrypoint": "@nvidia-elements/core/dropdown-group",
|
|
11063
|
-
"example": "<nve-button popovertarget=\"menu-1\">menu</nve-button>\n<nve-dropdown-group>\n <nve-dropdown id=\"menu-1\">\n <nve-menu>\n <nve-menu-item popovertarget=\"menu-2\"
|
|
11071
|
+
"example": "<nve-button popovertarget=\"menu-1\">menu</nve-button>\n<nve-dropdown-group>\n <nve-dropdown id=\"menu-1\">\n <nve-menu>\n <nve-menu-item popovertarget=\"menu-2\"> item 1-1 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 1-2</nve-menu-item>\n <nve-menu-item>item 1-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-2\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 2-1</nve-menu-item>\n <nve-menu-item popovertarget=\"menu-3\"> item 2-2 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 2-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-3\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 3-1</nve-menu-item>\n <nve-menu-item>item 3-2</nve-menu-item>\n <nve-menu-item>item 3-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n</nve-dropdown-group>",
|
|
11064
11072
|
"package": true,
|
|
11065
11073
|
"documentation": "https://nvidia.github.io/elements/docs/elements/dropdown-group/",
|
|
11066
11074
|
"since": "1.30.1",
|
|
11067
11075
|
"status": "stable",
|
|
11068
11076
|
"behavior": "navigation",
|
|
11069
|
-
"markdown": "## nve-dropdown-group\n\nA Dropdown Group streamlines the management of linked dropdowns and supports nested dropdowns for a more organized and intuitive user experience\n\n### Example\n\n```html\n<nve-button popovertarget=\"menu-1\">menu</nve-button>\n<nve-dropdown-group>\n <nve-dropdown id=\"menu-1\">\n <nve-menu>\n <nve-menu-item popovertarget=\"menu-2\"
|
|
11077
|
+
"markdown": "## nve-dropdown-group\n\nA Dropdown Group streamlines the management of linked dropdowns and supports nested dropdowns for a more organized and intuitive user experience\n\n### Example\n\n```html\n<nve-button popovertarget=\"menu-1\">menu</nve-button>\n<nve-dropdown-group>\n <nve-dropdown id=\"menu-1\">\n <nve-menu>\n <nve-menu-item popovertarget=\"menu-2\"> item 1-1 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 1-2</nve-menu-item>\n <nve-menu-item>item 1-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-2\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 2-1</nve-menu-item>\n <nve-menu-item popovertarget=\"menu-3\"> item 2-2 <nve-icon name=\"caret\" direction=\"right\" size=\"sm\" slot=\"suffix\"></nve-icon> </nve-menu-item>\n <nve-menu-item>item 2-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n <nve-dropdown id=\"menu-3\" position=\"right\">\n <nve-menu>\n <nve-menu-item>item 3-1</nve-menu-item>\n <nve-menu-item>item 3-2</nve-menu-item>\n <nve-menu-item>item 3-3</nve-menu-item>\n </nve-menu>\n </nve-dropdown>\n</nve-dropdown-group>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/dropdown-group/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | default slot for dropdown content |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| close | | Closes every descendant dropdown in the group. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| open | `CustomEvent` | Dispatched when a dropdown in the group opens |\n| close | `CustomEvent` | Dispatched when a dropdown in the group closes |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --arrow-transform | `string` | Transform applied to the popover arrow |"
|
|
11070
11078
|
}
|
|
11071
11079
|
}
|
|
11072
11080
|
],
|
|
@@ -17899,13 +17907,13 @@
|
|
|
17899
17907
|
"themes": true,
|
|
17900
17908
|
"aria": "https://www.w3.org/WAI/ARIA/apg/patterns/grid/",
|
|
17901
17909
|
"entrypoint": "@nvidia-elements/core/grid",
|
|
17902
|
-
"example": "<nve-grid>\n <nve-grid-header>\n <nve-grid-column>column 0</nve-grid-column><nve-grid-column>column 1</nve-grid-column
|
|
17910
|
+
"example": "<nve-grid>\n <nve-grid-header>\n <nve-grid-column>column 0</nve-grid-column><nve-grid-column>column 1</nve-grid-column><nve-grid-column>column 2</nve-grid-column><nve-grid-column>column 3</nve-grid-column><nve-grid-column>column 4</nve-grid-column>\n </nve-grid-header>\n\n <nve-grid-row>\n <nve-grid-cell>cell 0-0</nve-grid-cell><nve-grid-cell>cell 0-1</nve-grid-cell><nve-grid-cell>cell 0-2</nve-grid-cell><nve-grid-cell>cell 0-3</nve-grid-cell><nve-grid-cell>cell 0-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 1-0</nve-grid-cell><nve-grid-cell>cell 1-1</nve-grid-cell><nve-grid-cell>cell 1-2</nve-grid-cell><nve-grid-cell>cell 1-3</nve-grid-cell><nve-grid-cell>cell 1-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 2-0</nve-grid-cell><nve-grid-cell>cell 2-1</nve-grid-cell><nve-grid-cell>cell 2-2</nve-grid-cell><nve-grid-cell>cell 2-3</nve-grid-cell><nve-grid-cell>cell 2-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 3-0</nve-grid-cell><nve-grid-cell>cell 3-1</nve-grid-cell><nve-grid-cell>cell 3-2</nve-grid-cell><nve-grid-cell>cell 3-3</nve-grid-cell><nve-grid-cell>cell 3-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 4-0</nve-grid-cell><nve-grid-cell>cell 4-1</nve-grid-cell><nve-grid-cell>cell 4-2</nve-grid-cell><nve-grid-cell>cell 4-3</nve-grid-cell><nve-grid-cell>cell 4-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 5-0</nve-grid-cell><nve-grid-cell>cell 5-1</nve-grid-cell><nve-grid-cell>cell 5-2</nve-grid-cell><nve-grid-cell>cell 5-3</nve-grid-cell><nve-grid-cell>cell 5-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 6-0</nve-grid-cell><nve-grid-cell>cell 6-1</nve-grid-cell><nve-grid-cell>cell 6-2</nve-grid-cell><nve-grid-cell>cell 6-3</nve-grid-cell><nve-grid-cell>cell 6-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 7-0</nve-grid-cell><nve-grid-cell>cell 7-1</nve-grid-cell><nve-grid-cell>cell 7-2</nve-grid-cell><nve-grid-cell>cell 7-3</nve-grid-cell><nve-grid-cell>cell 7-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 8-0</nve-grid-cell><nve-grid-cell>cell 8-1</nve-grid-cell><nve-grid-cell>cell 8-2</nve-grid-cell><nve-grid-cell>cell 8-3</nve-grid-cell><nve-grid-cell>cell 8-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 9-0</nve-grid-cell><nve-grid-cell>cell 9-1</nve-grid-cell><nve-grid-cell>cell 9-2</nve-grid-cell><nve-grid-cell>cell 9-3</nve-grid-cell><nve-grid-cell>cell 9-4</nve-grid-cell>\n </nve-grid-row>\n</nve-grid>",
|
|
17903
17911
|
"package": true,
|
|
17904
17912
|
"documentation": "https://nvidia.github.io/elements/docs/elements/data-grid/",
|
|
17905
17913
|
"since": "0.11.0",
|
|
17906
17914
|
"status": "stable",
|
|
17907
17915
|
"behavior": "list",
|
|
17908
|
-
"markdown": "## nve-grid\n\nA versatile table/datagrid component with built-in keyboard navigation for displaying and interacting with structured data. Use it for anything from simple read-only tables to fully interactive, spreadsheet experiences.\n\n### Example\n\n```html\n<nve-grid>\n <nve-grid-header>\n <nve-grid-column>column 0</nve-grid-column><nve-grid-column>column 1</nve-grid-column
|
|
17916
|
+
"markdown": "## nve-grid\n\nA versatile table/datagrid component with built-in keyboard navigation for displaying and interacting with structured data. Use it for anything from simple read-only tables to fully interactive, spreadsheet experiences.\n\n### Example\n\n```html\n<nve-grid>\n <nve-grid-header>\n <nve-grid-column>column 0</nve-grid-column><nve-grid-column>column 1</nve-grid-column><nve-grid-column>column 2</nve-grid-column><nve-grid-column>column 3</nve-grid-column><nve-grid-column>column 4</nve-grid-column>\n </nve-grid-header>\n\n <nve-grid-row>\n <nve-grid-cell>cell 0-0</nve-grid-cell><nve-grid-cell>cell 0-1</nve-grid-cell><nve-grid-cell>cell 0-2</nve-grid-cell><nve-grid-cell>cell 0-3</nve-grid-cell><nve-grid-cell>cell 0-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 1-0</nve-grid-cell><nve-grid-cell>cell 1-1</nve-grid-cell><nve-grid-cell>cell 1-2</nve-grid-cell><nve-grid-cell>cell 1-3</nve-grid-cell><nve-grid-cell>cell 1-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 2-0</nve-grid-cell><nve-grid-cell>cell 2-1</nve-grid-cell><nve-grid-cell>cell 2-2</nve-grid-cell><nve-grid-cell>cell 2-3</nve-grid-cell><nve-grid-cell>cell 2-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 3-0</nve-grid-cell><nve-grid-cell>cell 3-1</nve-grid-cell><nve-grid-cell>cell 3-2</nve-grid-cell><nve-grid-cell>cell 3-3</nve-grid-cell><nve-grid-cell>cell 3-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 4-0</nve-grid-cell><nve-grid-cell>cell 4-1</nve-grid-cell><nve-grid-cell>cell 4-2</nve-grid-cell><nve-grid-cell>cell 4-3</nve-grid-cell><nve-grid-cell>cell 4-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 5-0</nve-grid-cell><nve-grid-cell>cell 5-1</nve-grid-cell><nve-grid-cell>cell 5-2</nve-grid-cell><nve-grid-cell>cell 5-3</nve-grid-cell><nve-grid-cell>cell 5-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 6-0</nve-grid-cell><nve-grid-cell>cell 6-1</nve-grid-cell><nve-grid-cell>cell 6-2</nve-grid-cell><nve-grid-cell>cell 6-3</nve-grid-cell><nve-grid-cell>cell 6-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 7-0</nve-grid-cell><nve-grid-cell>cell 7-1</nve-grid-cell><nve-grid-cell>cell 7-2</nve-grid-cell><nve-grid-cell>cell 7-3</nve-grid-cell><nve-grid-cell>cell 7-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 8-0</nve-grid-cell><nve-grid-cell>cell 8-1</nve-grid-cell><nve-grid-cell>cell 8-2</nve-grid-cell><nve-grid-cell>cell 8-3</nve-grid-cell><nve-grid-cell>cell 8-4</nve-grid-cell>\n </nve-grid-row>\n\n <nve-grid-row>\n <nve-grid-cell>cell 9-0</nve-grid-cell><nve-grid-cell>cell 9-1</nve-grid-cell><nve-grid-cell>cell 9-2</nve-grid-cell><nve-grid-cell>cell 9-3</nve-grid-cell><nve-grid-cell>cell 9-4</nve-grid-cell>\n </nve-grid-row>\n</nve-grid>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/grid/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | `nve-grid-header`, `nve-grid-row`, and `nve-grid-placeholder` elements. |\n| footer | `string` | slot for grid-footer or toolbar |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| container | `'flat' \\| 'full' \\| undefined` | Determines the container styles of component. Flat nests the grid within other containers. Full spans the full edge-to-edge viewport width. |\n| stripe | `boolean` | Determine style variant stripe rows |\n| scrollTo | | Scroll to a specific position in the grid. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --box-shadow | `string` | [MDN](https://mdn.dev/CSS/box-shadow) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --row-height | `string` | fixed height of each row |\n| --scroll-height | `string` | height of the scrollable area |"
|
|
17909
17917
|
}
|
|
17910
17918
|
}
|
|
17911
17919
|
],
|
|
@@ -25120,7 +25128,7 @@
|
|
|
25120
25128
|
"declarations": [
|
|
25121
25129
|
{
|
|
25122
25130
|
"kind": "class",
|
|
25123
|
-
"description": "
|
|
25131
|
+
"description": "Normalizes claimable platform pointer and wheel input on a dynamically assigned target.\nA pointer claim owns native input competition for its lifetime: the controller prevents claimed movement and text\nselection, and can suppress native drag when configured.",
|
|
25124
25132
|
"name": "GestureController",
|
|
25125
25133
|
"members": [
|
|
25126
25134
|
{
|
|
@@ -25154,17 +25162,10 @@
|
|
|
25154
25162
|
},
|
|
25155
25163
|
{
|
|
25156
25164
|
"kind": "field",
|
|
25157
|
-
"name": "#
|
|
25158
|
-
"privacy": "private",
|
|
25159
|
-
"readonly": true,
|
|
25160
|
-
"default": "new Set<number>()"
|
|
25161
|
-
},
|
|
25162
|
-
{
|
|
25163
|
-
"kind": "field",
|
|
25164
|
-
"name": "#pointerPositions",
|
|
25165
|
+
"name": "#pointerStates",
|
|
25165
25166
|
"privacy": "private",
|
|
25166
25167
|
"readonly": true,
|
|
25167
|
-
"default": "new Map<number,
|
|
25168
|
+
"default": "new Map<number, PointerState>()"
|
|
25168
25169
|
},
|
|
25169
25170
|
{
|
|
25170
25171
|
"kind": "field",
|
|
@@ -25207,6 +25208,43 @@
|
|
|
25207
25208
|
"values": []
|
|
25208
25209
|
}
|
|
25209
25210
|
},
|
|
25211
|
+
{
|
|
25212
|
+
"kind": "field",
|
|
25213
|
+
"name": "#touchActionState",
|
|
25214
|
+
"privacy": "private",
|
|
25215
|
+
"type": {
|
|
25216
|
+
"text": "TouchActionState | undefined",
|
|
25217
|
+
"_sourceAliases": [],
|
|
25218
|
+
"values": []
|
|
25219
|
+
}
|
|
25220
|
+
},
|
|
25221
|
+
{
|
|
25222
|
+
"kind": "field",
|
|
25223
|
+
"name": "#userSelectState",
|
|
25224
|
+
"privacy": "private",
|
|
25225
|
+
"type": {
|
|
25226
|
+
"text": "UserSelectState | undefined",
|
|
25227
|
+
"_sourceAliases": [],
|
|
25228
|
+
"values": []
|
|
25229
|
+
}
|
|
25230
|
+
},
|
|
25231
|
+
{
|
|
25232
|
+
"kind": "method",
|
|
25233
|
+
"name": "getWheelZoomFactor",
|
|
25234
|
+
"return": {
|
|
25235
|
+
"type": {
|
|
25236
|
+
"text": "number"
|
|
25237
|
+
}
|
|
25238
|
+
},
|
|
25239
|
+
"parameters": [
|
|
25240
|
+
{
|
|
25241
|
+
"name": "input",
|
|
25242
|
+
"type": {
|
|
25243
|
+
"text": "Pick<WheelGesture, 'deltaY' | 'event'>"
|
|
25244
|
+
}
|
|
25245
|
+
}
|
|
25246
|
+
]
|
|
25247
|
+
},
|
|
25210
25248
|
{
|
|
25211
25249
|
"kind": "field",
|
|
25212
25250
|
"name": "target"
|
|
@@ -25229,6 +25267,15 @@
|
|
|
25229
25267
|
}
|
|
25230
25268
|
}
|
|
25231
25269
|
},
|
|
25270
|
+
{
|
|
25271
|
+
"kind": "method",
|
|
25272
|
+
"name": "hostUpdated",
|
|
25273
|
+
"return": {
|
|
25274
|
+
"type": {
|
|
25275
|
+
"text": "void"
|
|
25276
|
+
}
|
|
25277
|
+
}
|
|
25278
|
+
},
|
|
25232
25279
|
{
|
|
25233
25280
|
"kind": "method",
|
|
25234
25281
|
"name": "#addTargetListeners",
|
|
@@ -25249,6 +25296,21 @@
|
|
|
25249
25296
|
}
|
|
25250
25297
|
}
|
|
25251
25298
|
},
|
|
25299
|
+
{
|
|
25300
|
+
"kind": "method",
|
|
25301
|
+
"name": "#shouldListenForPointerDownReservation",
|
|
25302
|
+
"privacy": "private",
|
|
25303
|
+
"return": {
|
|
25304
|
+
"type": {
|
|
25305
|
+
"text": "boolean"
|
|
25306
|
+
}
|
|
25307
|
+
}
|
|
25308
|
+
},
|
|
25309
|
+
{
|
|
25310
|
+
"kind": "field",
|
|
25311
|
+
"name": "#handlePointerDownReservation",
|
|
25312
|
+
"privacy": "private"
|
|
25313
|
+
},
|
|
25252
25314
|
{
|
|
25253
25315
|
"kind": "field",
|
|
25254
25316
|
"name": "#handleEvent",
|
|
@@ -25256,7 +25318,7 @@
|
|
|
25256
25318
|
},
|
|
25257
25319
|
{
|
|
25258
25320
|
"kind": "method",
|
|
25259
|
-
"name": "#
|
|
25321
|
+
"name": "#handleNativeDrag",
|
|
25260
25322
|
"privacy": "private",
|
|
25261
25323
|
"return": {
|
|
25262
25324
|
"type": {
|
|
@@ -25267,20 +25329,14 @@
|
|
|
25267
25329
|
{
|
|
25268
25330
|
"name": "event",
|
|
25269
25331
|
"type": {
|
|
25270
|
-
"text": "
|
|
25271
|
-
}
|
|
25272
|
-
},
|
|
25273
|
-
{
|
|
25274
|
-
"name": "capabilities",
|
|
25275
|
-
"type": {
|
|
25276
|
-
"text": "GestureCapabilities"
|
|
25332
|
+
"text": "Event"
|
|
25277
25333
|
}
|
|
25278
25334
|
}
|
|
25279
25335
|
]
|
|
25280
25336
|
},
|
|
25281
25337
|
{
|
|
25282
25338
|
"kind": "method",
|
|
25283
|
-
"name": "#
|
|
25339
|
+
"name": "#handleContextMenu",
|
|
25284
25340
|
"privacy": "private",
|
|
25285
25341
|
"return": {
|
|
25286
25342
|
"type": {
|
|
@@ -25291,20 +25347,14 @@
|
|
|
25291
25347
|
{
|
|
25292
25348
|
"name": "event",
|
|
25293
25349
|
"type": {
|
|
25294
|
-
"text": "
|
|
25295
|
-
}
|
|
25296
|
-
},
|
|
25297
|
-
{
|
|
25298
|
-
"name": "capabilities",
|
|
25299
|
-
"type": {
|
|
25300
|
-
"text": "GestureCapabilities"
|
|
25350
|
+
"text": "MouseEvent"
|
|
25301
25351
|
}
|
|
25302
25352
|
}
|
|
25303
25353
|
]
|
|
25304
25354
|
},
|
|
25305
25355
|
{
|
|
25306
25356
|
"kind": "method",
|
|
25307
|
-
"name": "#
|
|
25357
|
+
"name": "#handleSelectStart",
|
|
25308
25358
|
"privacy": "private",
|
|
25309
25359
|
"return": {
|
|
25310
25360
|
"type": {
|
|
@@ -25315,20 +25365,14 @@
|
|
|
25315
25365
|
{
|
|
25316
25366
|
"name": "event",
|
|
25317
25367
|
"type": {
|
|
25318
|
-
"text": "
|
|
25319
|
-
}
|
|
25320
|
-
},
|
|
25321
|
-
{
|
|
25322
|
-
"name": "capabilities",
|
|
25323
|
-
"type": {
|
|
25324
|
-
"text": "GestureCapabilities"
|
|
25368
|
+
"text": "Event"
|
|
25325
25369
|
}
|
|
25326
25370
|
}
|
|
25327
25371
|
]
|
|
25328
25372
|
},
|
|
25329
25373
|
{
|
|
25330
25374
|
"kind": "method",
|
|
25331
|
-
"name": "#
|
|
25375
|
+
"name": "#handlePointerEvent",
|
|
25332
25376
|
"privacy": "private",
|
|
25333
25377
|
"return": {
|
|
25334
25378
|
"type": {
|
|
@@ -25341,18 +25385,30 @@
|
|
|
25341
25385
|
"type": {
|
|
25342
25386
|
"text": "PointerEvent"
|
|
25343
25387
|
}
|
|
25344
|
-
}
|
|
25388
|
+
}
|
|
25389
|
+
]
|
|
25390
|
+
},
|
|
25391
|
+
{
|
|
25392
|
+
"kind": "method",
|
|
25393
|
+
"name": "#handleWheel",
|
|
25394
|
+
"privacy": "private",
|
|
25395
|
+
"return": {
|
|
25396
|
+
"type": {
|
|
25397
|
+
"text": "void"
|
|
25398
|
+
}
|
|
25399
|
+
},
|
|
25400
|
+
"parameters": [
|
|
25345
25401
|
{
|
|
25346
|
-
"name": "
|
|
25402
|
+
"name": "event",
|
|
25347
25403
|
"type": {
|
|
25348
|
-
"text": "
|
|
25404
|
+
"text": "WheelEvent"
|
|
25349
25405
|
}
|
|
25350
25406
|
}
|
|
25351
25407
|
]
|
|
25352
25408
|
},
|
|
25353
25409
|
{
|
|
25354
25410
|
"kind": "method",
|
|
25355
|
-
"name": "#
|
|
25411
|
+
"name": "#handlePointerDown",
|
|
25356
25412
|
"privacy": "private",
|
|
25357
25413
|
"return": {
|
|
25358
25414
|
"type": {
|
|
@@ -25383,22 +25439,16 @@
|
|
|
25383
25439
|
"type": {
|
|
25384
25440
|
"text": "PointerEvent"
|
|
25385
25441
|
}
|
|
25386
|
-
},
|
|
25387
|
-
{
|
|
25388
|
-
"name": "capabilities",
|
|
25389
|
-
"type": {
|
|
25390
|
-
"text": "GestureCapabilities"
|
|
25391
|
-
}
|
|
25392
25442
|
}
|
|
25393
25443
|
]
|
|
25394
25444
|
},
|
|
25395
25445
|
{
|
|
25396
25446
|
"kind": "method",
|
|
25397
|
-
"name": "#
|
|
25447
|
+
"name": "#updatePointerPosition",
|
|
25398
25448
|
"privacy": "private",
|
|
25399
25449
|
"return": {
|
|
25400
25450
|
"type": {
|
|
25401
|
-
"text": "
|
|
25451
|
+
"text": "PointerState | undefined"
|
|
25402
25452
|
}
|
|
25403
25453
|
},
|
|
25404
25454
|
"parameters": [
|
|
@@ -25412,11 +25462,11 @@
|
|
|
25412
25462
|
},
|
|
25413
25463
|
{
|
|
25414
25464
|
"kind": "method",
|
|
25415
|
-
"name": "#
|
|
25465
|
+
"name": "#dispatchPointerMovementGesture",
|
|
25416
25466
|
"privacy": "private",
|
|
25417
25467
|
"return": {
|
|
25418
25468
|
"type": {
|
|
25419
|
-
"text": "
|
|
25469
|
+
"text": "void"
|
|
25420
25470
|
}
|
|
25421
25471
|
},
|
|
25422
25472
|
"parameters": [
|
|
@@ -25427,26 +25477,26 @@
|
|
|
25427
25477
|
}
|
|
25428
25478
|
},
|
|
25429
25479
|
{
|
|
25430
|
-
"name": "
|
|
25480
|
+
"name": "pointerState",
|
|
25431
25481
|
"type": {
|
|
25432
|
-
"text": "
|
|
25482
|
+
"text": "PointerState"
|
|
25433
25483
|
}
|
|
25434
25484
|
},
|
|
25435
25485
|
{
|
|
25436
|
-
"name": "
|
|
25486
|
+
"name": "kind",
|
|
25437
25487
|
"type": {
|
|
25438
|
-
"text": "
|
|
25488
|
+
"text": "'drag' | 'pan'"
|
|
25439
25489
|
}
|
|
25440
25490
|
}
|
|
25441
25491
|
]
|
|
25442
25492
|
},
|
|
25443
25493
|
{
|
|
25444
25494
|
"kind": "method",
|
|
25445
|
-
"name": "#
|
|
25495
|
+
"name": "#endPointer",
|
|
25446
25496
|
"privacy": "private",
|
|
25447
25497
|
"return": {
|
|
25448
25498
|
"type": {
|
|
25449
|
-
"text": "
|
|
25499
|
+
"text": "void"
|
|
25450
25500
|
}
|
|
25451
25501
|
},
|
|
25452
25502
|
"parameters": [
|
|
@@ -25455,6 +25505,12 @@
|
|
|
25455
25505
|
"type": {
|
|
25456
25506
|
"text": "PointerEvent"
|
|
25457
25507
|
}
|
|
25508
|
+
},
|
|
25509
|
+
{
|
|
25510
|
+
"name": "reason",
|
|
25511
|
+
"type": {
|
|
25512
|
+
"text": "PointerEndReason"
|
|
25513
|
+
}
|
|
25458
25514
|
}
|
|
25459
25515
|
]
|
|
25460
25516
|
},
|
|
@@ -25476,6 +25532,30 @@
|
|
|
25476
25532
|
}
|
|
25477
25533
|
]
|
|
25478
25534
|
},
|
|
25535
|
+
{
|
|
25536
|
+
"kind": "method",
|
|
25537
|
+
"name": "#dispatchActivePinch",
|
|
25538
|
+
"privacy": "private",
|
|
25539
|
+
"return": {
|
|
25540
|
+
"type": {
|
|
25541
|
+
"text": "boolean"
|
|
25542
|
+
}
|
|
25543
|
+
},
|
|
25544
|
+
"parameters": [
|
|
25545
|
+
{
|
|
25546
|
+
"name": "event",
|
|
25547
|
+
"type": {
|
|
25548
|
+
"text": "PointerEvent"
|
|
25549
|
+
}
|
|
25550
|
+
},
|
|
25551
|
+
{
|
|
25552
|
+
"name": "pinch",
|
|
25553
|
+
"type": {
|
|
25554
|
+
"text": "ActivePinchState<TPinchContext>"
|
|
25555
|
+
}
|
|
25556
|
+
}
|
|
25557
|
+
]
|
|
25558
|
+
},
|
|
25479
25559
|
{
|
|
25480
25560
|
"kind": "method",
|
|
25481
25561
|
"name": "#startPinchIfNeeded",
|
|
@@ -25488,35 +25568,45 @@
|
|
|
25488
25568
|
},
|
|
25489
25569
|
{
|
|
25490
25570
|
"kind": "method",
|
|
25491
|
-
"name": "#
|
|
25571
|
+
"name": "#beginPendingPinchIfPossible",
|
|
25492
25572
|
"privacy": "private",
|
|
25493
25573
|
"return": {
|
|
25494
25574
|
"type": {
|
|
25495
|
-
"text": "
|
|
25575
|
+
"text": "void"
|
|
25496
25576
|
}
|
|
25497
25577
|
}
|
|
25498
25578
|
},
|
|
25499
25579
|
{
|
|
25500
25580
|
"kind": "method",
|
|
25501
|
-
"name": "#
|
|
25581
|
+
"name": "#countPinchCandidates",
|
|
25502
25582
|
"privacy": "private",
|
|
25503
25583
|
"return": {
|
|
25504
25584
|
"type": {
|
|
25505
|
-
"text": "number
|
|
25585
|
+
"text": "number"
|
|
25586
|
+
}
|
|
25587
|
+
}
|
|
25588
|
+
},
|
|
25589
|
+
{
|
|
25590
|
+
"kind": "method",
|
|
25591
|
+
"name": "#capturePointer",
|
|
25592
|
+
"privacy": "private",
|
|
25593
|
+
"return": {
|
|
25594
|
+
"type": {
|
|
25595
|
+
"text": "void"
|
|
25506
25596
|
}
|
|
25507
25597
|
},
|
|
25508
25598
|
"parameters": [
|
|
25509
25599
|
{
|
|
25510
|
-
"name": "
|
|
25600
|
+
"name": "pointerId",
|
|
25511
25601
|
"type": {
|
|
25512
|
-
"text": "
|
|
25602
|
+
"text": "number"
|
|
25513
25603
|
}
|
|
25514
25604
|
}
|
|
25515
25605
|
]
|
|
25516
25606
|
},
|
|
25517
25607
|
{
|
|
25518
25608
|
"kind": "method",
|
|
25519
|
-
"name": "#
|
|
25609
|
+
"name": "#applyTouchAction",
|
|
25520
25610
|
"privacy": "private",
|
|
25521
25611
|
"return": {
|
|
25522
25612
|
"type": {
|
|
@@ -25525,13 +25615,71 @@
|
|
|
25525
25615
|
},
|
|
25526
25616
|
"parameters": [
|
|
25527
25617
|
{
|
|
25528
|
-
"name": "
|
|
25618
|
+
"name": "target",
|
|
25529
25619
|
"type": {
|
|
25530
|
-
"text": "
|
|
25620
|
+
"text": "HTMLElement"
|
|
25621
|
+
}
|
|
25622
|
+
}
|
|
25623
|
+
]
|
|
25624
|
+
},
|
|
25625
|
+
{
|
|
25626
|
+
"kind": "method",
|
|
25627
|
+
"name": "#restoreTouchAction",
|
|
25628
|
+
"privacy": "private",
|
|
25629
|
+
"return": {
|
|
25630
|
+
"type": {
|
|
25631
|
+
"text": "void"
|
|
25632
|
+
}
|
|
25633
|
+
}
|
|
25634
|
+
},
|
|
25635
|
+
{
|
|
25636
|
+
"kind": "method",
|
|
25637
|
+
"name": "#syncTouchAction",
|
|
25638
|
+
"privacy": "private",
|
|
25639
|
+
"return": {
|
|
25640
|
+
"type": {
|
|
25641
|
+
"text": "void"
|
|
25642
|
+
}
|
|
25643
|
+
}
|
|
25644
|
+
},
|
|
25645
|
+
{
|
|
25646
|
+
"kind": "method",
|
|
25647
|
+
"name": "#getTouchAction",
|
|
25648
|
+
"privacy": "private",
|
|
25649
|
+
"return": {
|
|
25650
|
+
"type": {
|
|
25651
|
+
"text": "string | undefined"
|
|
25652
|
+
}
|
|
25653
|
+
}
|
|
25654
|
+
},
|
|
25655
|
+
{
|
|
25656
|
+
"kind": "method",
|
|
25657
|
+
"name": "#applyUserSelect",
|
|
25658
|
+
"privacy": "private",
|
|
25659
|
+
"return": {
|
|
25660
|
+
"type": {
|
|
25661
|
+
"text": "void"
|
|
25662
|
+
}
|
|
25663
|
+
},
|
|
25664
|
+
"parameters": [
|
|
25665
|
+
{
|
|
25666
|
+
"name": "target",
|
|
25667
|
+
"type": {
|
|
25668
|
+
"text": "HTMLElement"
|
|
25531
25669
|
}
|
|
25532
25670
|
}
|
|
25533
25671
|
]
|
|
25534
25672
|
},
|
|
25673
|
+
{
|
|
25674
|
+
"kind": "method",
|
|
25675
|
+
"name": "#restoreUserSelect",
|
|
25676
|
+
"privacy": "private",
|
|
25677
|
+
"return": {
|
|
25678
|
+
"type": {
|
|
25679
|
+
"text": "void"
|
|
25680
|
+
}
|
|
25681
|
+
}
|
|
25682
|
+
},
|
|
25535
25683
|
{
|
|
25536
25684
|
"kind": "method",
|
|
25537
25685
|
"name": "#dispatchGesture",
|
|
@@ -25552,7 +25700,7 @@
|
|
|
25552
25700
|
},
|
|
25553
25701
|
{
|
|
25554
25702
|
"kind": "method",
|
|
25555
|
-
"name": "#
|
|
25703
|
+
"name": "#dispatchGestureInput",
|
|
25556
25704
|
"privacy": "private",
|
|
25557
25705
|
"return": {
|
|
25558
25706
|
"type": {
|
|
@@ -25563,7 +25711,7 @@
|
|
|
25563
25711
|
{
|
|
25564
25712
|
"name": "input",
|
|
25565
25713
|
"type": {
|
|
25566
|
-
"text": "
|
|
25714
|
+
"text": "GestureInput"
|
|
25567
25715
|
}
|
|
25568
25716
|
}
|
|
25569
25717
|
]
|
|
@@ -25681,6 +25829,160 @@
|
|
|
25681
25829
|
}
|
|
25682
25830
|
]
|
|
25683
25831
|
},
|
|
25832
|
+
{
|
|
25833
|
+
"kind": "javascript-module",
|
|
25834
|
+
"path": "/src/internal/controllers/key-state.controller.js",
|
|
25835
|
+
"declarations": [
|
|
25836
|
+
{
|
|
25837
|
+
"kind": "class",
|
|
25838
|
+
"description": "Provides host-scoped access to shared raw keyboard state without assigning interaction semantics to any key.",
|
|
25839
|
+
"name": "KeyStateController",
|
|
25840
|
+
"members": [
|
|
25841
|
+
{
|
|
25842
|
+
"kind": "field",
|
|
25843
|
+
"name": "#host",
|
|
25844
|
+
"privacy": "private",
|
|
25845
|
+
"type": {
|
|
25846
|
+
"text": "KeyStateHost",
|
|
25847
|
+
"_sourceAliases": [],
|
|
25848
|
+
"values": []
|
|
25849
|
+
},
|
|
25850
|
+
"readonly": true,
|
|
25851
|
+
"default": "host"
|
|
25852
|
+
},
|
|
25853
|
+
{
|
|
25854
|
+
"kind": "field",
|
|
25855
|
+
"name": "#subscriber",
|
|
25856
|
+
"privacy": "private",
|
|
25857
|
+
"type": {
|
|
25858
|
+
"text": "KeyStateSubscriber",
|
|
25859
|
+
"_sourceAliases": [],
|
|
25860
|
+
"values": []
|
|
25861
|
+
},
|
|
25862
|
+
"readonly": true,
|
|
25863
|
+
"default": "{ watchedCodes: new Set(watchedCodes), requestUpdate: () => host.requestUpdate() }"
|
|
25864
|
+
},
|
|
25865
|
+
{
|
|
25866
|
+
"kind": "field",
|
|
25867
|
+
"name": "#connected",
|
|
25868
|
+
"privacy": "private",
|
|
25869
|
+
"type": {
|
|
25870
|
+
"text": "boolean",
|
|
25871
|
+
"_sourceAliases": [],
|
|
25872
|
+
"values": [
|
|
25873
|
+
{
|
|
25874
|
+
"value": "boolean",
|
|
25875
|
+
"description": ""
|
|
25876
|
+
}
|
|
25877
|
+
]
|
|
25878
|
+
},
|
|
25879
|
+
"default": "false"
|
|
25880
|
+
},
|
|
25881
|
+
{
|
|
25882
|
+
"kind": "field",
|
|
25883
|
+
"name": "#enabled",
|
|
25884
|
+
"privacy": "private",
|
|
25885
|
+
"type": {
|
|
25886
|
+
"text": "boolean",
|
|
25887
|
+
"_sourceAliases": [],
|
|
25888
|
+
"values": [
|
|
25889
|
+
{
|
|
25890
|
+
"value": "boolean",
|
|
25891
|
+
"description": ""
|
|
25892
|
+
}
|
|
25893
|
+
]
|
|
25894
|
+
},
|
|
25895
|
+
"default": "false"
|
|
25896
|
+
},
|
|
25897
|
+
{
|
|
25898
|
+
"kind": "field",
|
|
25899
|
+
"name": "#source",
|
|
25900
|
+
"privacy": "private",
|
|
25901
|
+
"type": {
|
|
25902
|
+
"text": "DocumentKeyStateSource | undefined",
|
|
25903
|
+
"_sourceAliases": [],
|
|
25904
|
+
"values": []
|
|
25905
|
+
}
|
|
25906
|
+
},
|
|
25907
|
+
{
|
|
25908
|
+
"kind": "field",
|
|
25909
|
+
"name": "enabled",
|
|
25910
|
+
"type": {
|
|
25911
|
+
"text": "boolean",
|
|
25912
|
+
"_sourceAliases": [],
|
|
25913
|
+
"values": [
|
|
25914
|
+
{
|
|
25915
|
+
"value": "true",
|
|
25916
|
+
"description": ""
|
|
25917
|
+
},
|
|
25918
|
+
{
|
|
25919
|
+
"value": "false",
|
|
25920
|
+
"description": ""
|
|
25921
|
+
}
|
|
25922
|
+
]
|
|
25923
|
+
},
|
|
25924
|
+
"description": "Enables shared keyboard tracking during the host's connected lifecycle."
|
|
25925
|
+
},
|
|
25926
|
+
{
|
|
25927
|
+
"kind": "method",
|
|
25928
|
+
"name": "isPressed",
|
|
25929
|
+
"return": {
|
|
25930
|
+
"type": {
|
|
25931
|
+
"text": "boolean"
|
|
25932
|
+
}
|
|
25933
|
+
},
|
|
25934
|
+
"parameters": [
|
|
25935
|
+
{
|
|
25936
|
+
"name": "code",
|
|
25937
|
+
"type": {
|
|
25938
|
+
"text": "string"
|
|
25939
|
+
}
|
|
25940
|
+
}
|
|
25941
|
+
],
|
|
25942
|
+
"description": "Returns whether a key identified by `KeyboardEvent.code` is currently held."
|
|
25943
|
+
},
|
|
25944
|
+
{
|
|
25945
|
+
"kind": "method",
|
|
25946
|
+
"name": "hostConnected",
|
|
25947
|
+
"return": {
|
|
25948
|
+
"type": {
|
|
25949
|
+
"text": "void"
|
|
25950
|
+
}
|
|
25951
|
+
}
|
|
25952
|
+
},
|
|
25953
|
+
{
|
|
25954
|
+
"kind": "method",
|
|
25955
|
+
"name": "hostDisconnected",
|
|
25956
|
+
"return": {
|
|
25957
|
+
"type": {
|
|
25958
|
+
"text": "void"
|
|
25959
|
+
}
|
|
25960
|
+
}
|
|
25961
|
+
},
|
|
25962
|
+
{
|
|
25963
|
+
"kind": "method",
|
|
25964
|
+
"name": "#syncSubscription",
|
|
25965
|
+
"privacy": "private",
|
|
25966
|
+
"return": {
|
|
25967
|
+
"type": {
|
|
25968
|
+
"text": "void"
|
|
25969
|
+
}
|
|
25970
|
+
}
|
|
25971
|
+
}
|
|
25972
|
+
]
|
|
25973
|
+
}
|
|
25974
|
+
],
|
|
25975
|
+
"exports": [
|
|
25976
|
+
{
|
|
25977
|
+
"kind": "js",
|
|
25978
|
+
"name": "KeyStateController",
|
|
25979
|
+
"declaration": {
|
|
25980
|
+
"name": "KeyStateController",
|
|
25981
|
+
"module": "/src/internal/controllers/key-state.controller.js"
|
|
25982
|
+
}
|
|
25983
|
+
}
|
|
25984
|
+
]
|
|
25985
|
+
},
|
|
25684
25986
|
{
|
|
25685
25987
|
"kind": "javascript-module",
|
|
25686
25988
|
"path": "/src/internal/controllers/keynav-grid.controller.js",
|
|
@@ -26118,6 +26420,23 @@
|
|
|
26118
26420
|
"readonly": true,
|
|
26119
26421
|
"default": "host"
|
|
26120
26422
|
},
|
|
26423
|
+
{
|
|
26424
|
+
"kind": "field",
|
|
26425
|
+
"name": "#isEnabled",
|
|
26426
|
+
"privacy": "private",
|
|
26427
|
+
"type": {
|
|
26428
|
+
"text": "() => boolean",
|
|
26429
|
+
"_sourceAliases": [],
|
|
26430
|
+
"values": [
|
|
26431
|
+
{
|
|
26432
|
+
"value": "() => boolean",
|
|
26433
|
+
"description": ""
|
|
26434
|
+
}
|
|
26435
|
+
]
|
|
26436
|
+
},
|
|
26437
|
+
"readonly": true,
|
|
26438
|
+
"default": "isEnabled"
|
|
26439
|
+
},
|
|
26121
26440
|
{
|
|
26122
26441
|
"kind": "method",
|
|
26123
26442
|
"name": "hostConnected",
|
|
@@ -27262,6 +27581,14 @@
|
|
|
27262
27581
|
"module": "home/runner/work/elements/elements/projects/core/src/internal/controllers/i18n.controller.js"
|
|
27263
27582
|
}
|
|
27264
27583
|
},
|
|
27584
|
+
{
|
|
27585
|
+
"kind": "js",
|
|
27586
|
+
"name": "*",
|
|
27587
|
+
"declaration": {
|
|
27588
|
+
"name": "*",
|
|
27589
|
+
"module": "home/runner/work/elements/elements/projects/core/src/internal/controllers/key-state.controller.js"
|
|
27590
|
+
}
|
|
27591
|
+
},
|
|
27265
27592
|
{
|
|
27266
27593
|
"kind": "js",
|
|
27267
27594
|
"name": "*",
|
|
@@ -27502,6 +27829,14 @@
|
|
|
27502
27829
|
"module": "home/runner/work/elements/elements/projects/core/src/internal/utils/keynav.js"
|
|
27503
27830
|
}
|
|
27504
27831
|
},
|
|
27832
|
+
{
|
|
27833
|
+
"kind": "js",
|
|
27834
|
+
"name": "*",
|
|
27835
|
+
"declaration": {
|
|
27836
|
+
"name": "*",
|
|
27837
|
+
"module": "home/runner/work/elements/elements/projects/core/src/internal/utils/numeric.js"
|
|
27838
|
+
}
|
|
27839
|
+
},
|
|
27505
27840
|
{
|
|
27506
27841
|
"kind": "js",
|
|
27507
27842
|
"name": "*",
|
|
@@ -28574,6 +28909,24 @@
|
|
|
28574
28909
|
],
|
|
28575
28910
|
"description": "parses number out of basic calc generated by the design tokens"
|
|
28576
28911
|
},
|
|
28912
|
+
{
|
|
28913
|
+
"kind": "function",
|
|
28914
|
+
"name": "getCustomElementRegistry",
|
|
28915
|
+
"return": {
|
|
28916
|
+
"type": {
|
|
28917
|
+
"text": "CustomElementRegistry | undefined"
|
|
28918
|
+
}
|
|
28919
|
+
},
|
|
28920
|
+
"parameters": [
|
|
28921
|
+
{
|
|
28922
|
+
"name": "element",
|
|
28923
|
+
"type": {
|
|
28924
|
+
"text": "Element",
|
|
28925
|
+
"_sourceAliases": []
|
|
28926
|
+
}
|
|
28927
|
+
}
|
|
28928
|
+
]
|
|
28929
|
+
},
|
|
28577
28930
|
{
|
|
28578
28931
|
"kind": "variable",
|
|
28579
28932
|
"name": "supportsScopedRegistry",
|
|
@@ -29077,6 +29430,14 @@
|
|
|
29077
29430
|
"module": "/src/internal/utils/dom.js"
|
|
29078
29431
|
}
|
|
29079
29432
|
},
|
|
29433
|
+
{
|
|
29434
|
+
"kind": "js",
|
|
29435
|
+
"name": "getCustomElementRegistry",
|
|
29436
|
+
"declaration": {
|
|
29437
|
+
"name": "getCustomElementRegistry",
|
|
29438
|
+
"module": "/src/internal/utils/dom.js"
|
|
29439
|
+
}
|
|
29440
|
+
},
|
|
29080
29441
|
{
|
|
29081
29442
|
"kind": "js",
|
|
29082
29443
|
"name": "supportsScopedRegistry",
|
|
@@ -29470,6 +29831,25 @@
|
|
|
29470
29831
|
}
|
|
29471
29832
|
]
|
|
29472
29833
|
},
|
|
29834
|
+
{
|
|
29835
|
+
"kind": "function",
|
|
29836
|
+
"name": "isImmediateRootActiveElement",
|
|
29837
|
+
"return": {
|
|
29838
|
+
"type": {
|
|
29839
|
+
"text": "boolean"
|
|
29840
|
+
}
|
|
29841
|
+
},
|
|
29842
|
+
"parameters": [
|
|
29843
|
+
{
|
|
29844
|
+
"name": "element",
|
|
29845
|
+
"type": {
|
|
29846
|
+
"text": "Element",
|
|
29847
|
+
"_sourceAliases": []
|
|
29848
|
+
}
|
|
29849
|
+
}
|
|
29850
|
+
],
|
|
29851
|
+
"description": "Returns whether an element itself owns focus in its immediate document or shadow root."
|
|
29852
|
+
},
|
|
29473
29853
|
{
|
|
29474
29854
|
"kind": "function",
|
|
29475
29855
|
"name": "focusElement",
|
|
@@ -29576,6 +29956,14 @@
|
|
|
29576
29956
|
"module": "/src/internal/utils/focus.js"
|
|
29577
29957
|
}
|
|
29578
29958
|
},
|
|
29959
|
+
{
|
|
29960
|
+
"kind": "js",
|
|
29961
|
+
"name": "isImmediateRootActiveElement",
|
|
29962
|
+
"declaration": {
|
|
29963
|
+
"name": "isImmediateRootActiveElement",
|
|
29964
|
+
"module": "/src/internal/utils/focus.js"
|
|
29965
|
+
}
|
|
29966
|
+
},
|
|
29579
29967
|
{
|
|
29580
29968
|
"kind": "js",
|
|
29581
29969
|
"name": "focusElement",
|
|
@@ -29689,6 +30077,113 @@
|
|
|
29689
30077
|
}
|
|
29690
30078
|
]
|
|
29691
30079
|
},
|
|
30080
|
+
{
|
|
30081
|
+
"kind": "javascript-module",
|
|
30082
|
+
"path": "/src/internal/utils/numeric.js",
|
|
30083
|
+
"declarations": [
|
|
30084
|
+
{
|
|
30085
|
+
"kind": "function",
|
|
30086
|
+
"name": "finiteOr",
|
|
30087
|
+
"return": {
|
|
30088
|
+
"type": {
|
|
30089
|
+
"text": "number"
|
|
30090
|
+
}
|
|
30091
|
+
},
|
|
30092
|
+
"parameters": [
|
|
30093
|
+
{
|
|
30094
|
+
"name": "value",
|
|
30095
|
+
"type": {
|
|
30096
|
+
"text": "number | undefined",
|
|
30097
|
+
"_sourceAliases": []
|
|
30098
|
+
}
|
|
30099
|
+
},
|
|
30100
|
+
{
|
|
30101
|
+
"name": "fallback",
|
|
30102
|
+
"type": {
|
|
30103
|
+
"text": "number",
|
|
30104
|
+
"_sourceAliases": []
|
|
30105
|
+
}
|
|
30106
|
+
}
|
|
30107
|
+
]
|
|
30108
|
+
},
|
|
30109
|
+
{
|
|
30110
|
+
"kind": "function",
|
|
30111
|
+
"name": "nonnegativeFiniteOr",
|
|
30112
|
+
"return": {
|
|
30113
|
+
"type": {
|
|
30114
|
+
"text": "number"
|
|
30115
|
+
}
|
|
30116
|
+
},
|
|
30117
|
+
"parameters": [
|
|
30118
|
+
{
|
|
30119
|
+
"name": "value",
|
|
30120
|
+
"type": {
|
|
30121
|
+
"text": "number | undefined",
|
|
30122
|
+
"_sourceAliases": []
|
|
30123
|
+
}
|
|
30124
|
+
},
|
|
30125
|
+
{
|
|
30126
|
+
"name": "fallback",
|
|
30127
|
+
"type": {
|
|
30128
|
+
"text": "number",
|
|
30129
|
+
"_sourceAliases": []
|
|
30130
|
+
}
|
|
30131
|
+
}
|
|
30132
|
+
]
|
|
30133
|
+
},
|
|
30134
|
+
{
|
|
30135
|
+
"kind": "function",
|
|
30136
|
+
"name": "positiveFiniteOr",
|
|
30137
|
+
"return": {
|
|
30138
|
+
"type": {
|
|
30139
|
+
"text": "number"
|
|
30140
|
+
}
|
|
30141
|
+
},
|
|
30142
|
+
"parameters": [
|
|
30143
|
+
{
|
|
30144
|
+
"name": "value",
|
|
30145
|
+
"type": {
|
|
30146
|
+
"text": "number | undefined",
|
|
30147
|
+
"_sourceAliases": []
|
|
30148
|
+
}
|
|
30149
|
+
},
|
|
30150
|
+
{
|
|
30151
|
+
"name": "fallback",
|
|
30152
|
+
"type": {
|
|
30153
|
+
"text": "number",
|
|
30154
|
+
"_sourceAliases": []
|
|
30155
|
+
}
|
|
30156
|
+
}
|
|
30157
|
+
]
|
|
30158
|
+
}
|
|
30159
|
+
],
|
|
30160
|
+
"exports": [
|
|
30161
|
+
{
|
|
30162
|
+
"kind": "js",
|
|
30163
|
+
"name": "finiteOr",
|
|
30164
|
+
"declaration": {
|
|
30165
|
+
"name": "finiteOr",
|
|
30166
|
+
"module": "/src/internal/utils/numeric.js"
|
|
30167
|
+
}
|
|
30168
|
+
},
|
|
30169
|
+
{
|
|
30170
|
+
"kind": "js",
|
|
30171
|
+
"name": "nonnegativeFiniteOr",
|
|
30172
|
+
"declaration": {
|
|
30173
|
+
"name": "nonnegativeFiniteOr",
|
|
30174
|
+
"module": "/src/internal/utils/numeric.js"
|
|
30175
|
+
}
|
|
30176
|
+
},
|
|
30177
|
+
{
|
|
30178
|
+
"kind": "js",
|
|
30179
|
+
"name": "positiveFiniteOr",
|
|
30180
|
+
"declaration": {
|
|
30181
|
+
"name": "positiveFiniteOr",
|
|
30182
|
+
"module": "/src/internal/utils/numeric.js"
|
|
30183
|
+
}
|
|
30184
|
+
}
|
|
30185
|
+
]
|
|
30186
|
+
},
|
|
29692
30187
|
{
|
|
29693
30188
|
"kind": "javascript-module",
|
|
29694
30189
|
"path": "/src/internal/utils/objects.js",
|
|
@@ -36415,13 +36910,13 @@
|
|
|
36415
36910
|
"themes": true,
|
|
36416
36911
|
"aria": "https://www.w3.org/WAI/ARIA/apg/patterns/listbox/",
|
|
36417
36912
|
"entrypoint": "@nvidia-elements/core/preferences-input",
|
|
36418
|
-
"example": "<nve-preferences-input
|
|
36913
|
+
"example": "<nve-preferences-input name=\"theme\" value='{ \"color-scheme\": \"dark\", \"scale\": \"compact\", \"reduced-motion\": \"true\" }'></nve-preferences-input>",
|
|
36419
36914
|
"package": true,
|
|
36420
36915
|
"documentation": "https://nvidia.github.io/elements/docs/elements/preferences-input/",
|
|
36421
36916
|
"since": "1.23.7",
|
|
36422
36917
|
"status": "stable",
|
|
36423
36918
|
"behavior": "form",
|
|
36424
|
-
"markdown": "## nve-preferences-input\n\nA preferences input is a widget for controlling apperance. Stylesheets register to the preferences input by including a css-property, see Standard for an example.\n\n### Example\n\n```html\n<nve-preferences-input
|
|
36919
|
+
"markdown": "## nve-preferences-input\n\nA preferences input is a widget for controlling apperance. Stylesheets register to the preferences input by including a css-property, see Standard for an example.\n\n### Example\n\n```html\n<nve-preferences-input name=\"theme\" value='{ \"color-scheme\": \"dark\", \"scale\": \"compact\", \"reduced-motion\": \"true\" }'></nve-preferences-input>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/preferences-input/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| i18n | | Enables updating internal string values for internationalization. |\n| value | property: `PreferencesInputValue`; attribute: `string` | Contains the current color scheme, scale, and reduced motion preferences. Assign an object through JavaScript or provide its JSON serialization in the HTML `value` attribute. |\n| defaultValue | `string` | The initial value used when the parent form resets. |\n| readOnly (readonly) | `boolean` | Indicates whether the user can change the element's value while it remains visible and focusable. [MDN](https://mdn.dev/HTML/Attributes/readonly) - `true` The element has a readonly state: the user cannot change its value, but can still focus and copy it. - `false` The element allows editing and the user can change its value through interaction. |\n| disabled | `boolean` | This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. [MDN](https://mdn.dev/ARIA/Attributes/aria-disabled) - `true` The element has a disabled state and does not accept interaction. - `false` The element has an enabled state and accepts interaction. |\n| required | `boolean` | Requires a value before the parent form can submit. https://mdn.dev/HTML/Attributes/required |\n| pattern | `string` | Defines the pattern that text values must match. https://mdn.dev/HTML/Attributes/pattern |\n| min | `number \\| null` | Defines the minimum numeric value. https://mdn.dev/HTML/Attributes/min |\n| max | `number \\| null` | Defines the maximum numeric value. https://mdn.dev/HTML/Attributes/max |\n| step | `number \\| null` | Defines the value granularity for numeric inputs. https://mdn.dev/HTML/Attributes/step |\n| minLength (minlength) | `number` | Defines the minimum text length. https://mdn.dev/HTML/Attributes/minlength |\n| maxLength (maxlength) | `number` | Defines the maximum text length. https://mdn.dev/HTML/Attributes/maxlength |\n| name | `string` | The name submitted with the control value as part of the form data. https://mdn.dev/HTML/Attributes/name |\n| noValidate (novalidate) | `boolean` | Disables constraint validation for this control. https://mdn.dev/HTML/Attributes/novalidate |\n| form | `HTMLFormElement \\| null` | The form associated with the control. https://mdn.dev/ElementInternals/form |\n| willValidate | `boolean` | Indicates whether the control participates in constraint validation. https://mdn.dev/ElementInternals/willValidate |\n| validity | `ValidityState` | The control validity state. https://mdn.dev/ElementInternals/validity |\n| validationMessage | `string` | The validation message shown when the control is invalid. https://mdn.dev/ElementInternals/validationMessage |\n| valueAsString | `string` | The current value serialized as a string. |\n| valueAsNumber | `number` | The current value parsed as a number. |\n| type | `string` | The control type. |\n| labels | `NodeList` | Labels associated with the control. https://mdn.dev/ElementInternals/labels |\n| composedLabel | `string` | Text content from labels associated with the control. |\n| reportValidity | `() => boolean` | Reports whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/reportValidity |\n| checkValidity | `() => boolean` | Checks whether the control satisfies its constraints. https://mdn.dev/HTMLInputElement/checkValidity |\n| setCustomValidity | `(message: string) => void` | Sets a custom validation message. https://mdn.dev/HTMLInputElement/setCustomValidity |\n| reset | `() => void` | Resets the control value to its initial value. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| input | `CustomEvent` | Dispatched when the value has changed |\n| change | `CustomEvent` | Dispatched when the value has changed |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |"
|
|
36425
36920
|
}
|
|
36426
36921
|
}
|
|
36427
36922
|
],
|
|
@@ -47539,220 +48034,15 @@
|
|
|
47539
48034
|
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/height)"
|
|
47540
48035
|
}
|
|
47541
48036
|
],
|
|
47542
|
-
"
|
|
47543
|
-
{
|
|
47544
|
-
"kind": "field",
|
|
47545
|
-
"name": "status",
|
|
47546
|
-
"type": {
|
|
47547
|
-
"text": "'warning' | 'error' | 'success' | 'disabled'",
|
|
47548
|
-
"_sourceAliases": [],
|
|
47549
|
-
"values": [
|
|
47550
|
-
{
|
|
47551
|
-
"value": "warning",
|
|
47552
|
-
"description": ""
|
|
47553
|
-
},
|
|
47554
|
-
{
|
|
47555
|
-
"value": "error",
|
|
47556
|
-
"description": ""
|
|
47557
|
-
},
|
|
47558
|
-
{
|
|
47559
|
-
"value": "success",
|
|
47560
|
-
"description": ""
|
|
47561
|
-
},
|
|
47562
|
-
{
|
|
47563
|
-
"value": "disabled",
|
|
47564
|
-
"description": ""
|
|
47565
|
-
}
|
|
47566
|
-
]
|
|
47567
|
-
},
|
|
47568
|
-
"description": "Set current visual state for control. This overrides any validation states active.",
|
|
47569
|
-
"attribute": "status",
|
|
47570
|
-
"inheritedFrom": {
|
|
47571
|
-
"name": "Control",
|
|
47572
|
-
"module": "/src/forms/control/control.js"
|
|
47573
|
-
}
|
|
47574
|
-
},
|
|
47575
|
-
{
|
|
47576
|
-
"kind": "field",
|
|
47577
|
-
"name": "layout",
|
|
47578
|
-
"type": {
|
|
47579
|
-
"text": "| 'vertical'\n | 'vertical-inline'\n | 'horizontal'\n | 'horizontal-inline'",
|
|
47580
|
-
"_sourceAliases": [],
|
|
47581
|
-
"values": [
|
|
47582
|
-
{
|
|
47583
|
-
"value": "vertical",
|
|
47584
|
-
"description": "Arranges content in a vertical stack with block-level spacing."
|
|
47585
|
-
},
|
|
47586
|
-
{
|
|
47587
|
-
"value": "vertical-inline",
|
|
47588
|
-
"description": "Arranges content vertically with compact inline spacing for dense layouts."
|
|
47589
|
-
},
|
|
47590
|
-
{
|
|
47591
|
-
"value": "horizontal",
|
|
47592
|
-
"description": "Arranges content in a horizontal row with block-level spacing."
|
|
47593
|
-
},
|
|
47594
|
-
{
|
|
47595
|
-
"value": "horizontal-inline",
|
|
47596
|
-
"description": "Arranges content horizontally with compact inline spacing."
|
|
47597
|
-
}
|
|
47598
|
-
]
|
|
47599
|
-
},
|
|
47600
|
-
"description": "Controls the directional arrangement and spacing behavior of the element's content.\n- `vertical` Arranges content in a vertical stack with block-level spacing.\n\n- `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts.\n\n- `horizontal` Arranges content in a horizontal row with block-level spacing.\n\n- `horizontal-inline` Arranges content horizontally with compact inline spacing.",
|
|
47601
|
-
"attribute": "layout",
|
|
47602
|
-
"reflects": true,
|
|
47603
|
-
"inheritedFrom": {
|
|
47604
|
-
"name": "Control",
|
|
47605
|
-
"module": "/src/forms/control/control.js"
|
|
47606
|
-
},
|
|
47607
|
-
"descriptionText": "Controls the directional arrangement and spacing behavior of the element's content."
|
|
47608
|
-
},
|
|
47609
|
-
{
|
|
47610
|
-
"kind": "field",
|
|
47611
|
-
"name": "fitText",
|
|
47612
|
-
"type": {
|
|
47613
|
-
"text": "boolean",
|
|
47614
|
-
"_sourceAliases": [],
|
|
47615
|
-
"values": [
|
|
47616
|
-
{
|
|
47617
|
-
"value": "true",
|
|
47618
|
-
"description": ""
|
|
47619
|
-
},
|
|
47620
|
-
{
|
|
47621
|
-
"value": "false",
|
|
47622
|
-
"description": ""
|
|
47623
|
-
}
|
|
47624
|
-
]
|
|
47625
|
-
},
|
|
47626
|
-
"default": "false",
|
|
47627
|
-
"description": "Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select)",
|
|
47628
|
-
"attribute": "fit-text",
|
|
47629
|
-
"reflects": true,
|
|
47630
|
-
"inheritedFrom": {
|
|
47631
|
-
"name": "Control",
|
|
47632
|
-
"module": "/src/forms/control/control.js"
|
|
47633
|
-
}
|
|
47634
|
-
},
|
|
47635
|
-
{
|
|
47636
|
-
"kind": "field",
|
|
47637
|
-
"name": "fitContent",
|
|
47638
|
-
"type": {
|
|
47639
|
-
"text": "boolean",
|
|
47640
|
-
"_sourceAliases": [],
|
|
47641
|
-
"values": [
|
|
47642
|
-
{
|
|
47643
|
-
"value": "true",
|
|
47644
|
-
"description": ""
|
|
47645
|
-
},
|
|
47646
|
-
{
|
|
47647
|
-
"value": "false",
|
|
47648
|
-
"description": ""
|
|
47649
|
-
}
|
|
47650
|
-
]
|
|
47651
|
-
},
|
|
47652
|
-
"default": "false",
|
|
47653
|
-
"description": "Sets the input to match native default content block",
|
|
47654
|
-
"attribute": "fit-content",
|
|
47655
|
-
"reflects": true,
|
|
47656
|
-
"inheritedFrom": {
|
|
47657
|
-
"name": "Control",
|
|
47658
|
-
"module": "/src/forms/control/control.js"
|
|
47659
|
-
}
|
|
47660
|
-
},
|
|
47661
|
-
{
|
|
47662
|
-
"kind": "field",
|
|
47663
|
-
"name": "i18n",
|
|
47664
|
-
"description": "Enables internal string values to update for internationalization.",
|
|
47665
|
-
"attribute": "i18n",
|
|
47666
|
-
"inheritedFrom": {
|
|
47667
|
-
"name": "Control",
|
|
47668
|
-
"module": "/src/forms/control/control.js"
|
|
47669
|
-
}
|
|
47670
|
-
},
|
|
47671
|
-
{
|
|
47672
|
-
"kind": "field",
|
|
47673
|
-
"name": "prominence",
|
|
47674
|
-
"type": {
|
|
47675
|
-
"text": "'muted'",
|
|
47676
|
-
"_sourceAliases": [],
|
|
47677
|
-
"values": [
|
|
47678
|
-
{
|
|
47679
|
-
"value": "muted",
|
|
47680
|
-
"description": ""
|
|
47681
|
-
}
|
|
47682
|
-
]
|
|
47683
|
-
},
|
|
47684
|
-
"description": "Set the visual prominence of the control",
|
|
47685
|
-
"attribute": "prominence",
|
|
47686
|
-
"reflects": true,
|
|
47687
|
-
"inheritedFrom": {
|
|
47688
|
-
"name": "Control",
|
|
47689
|
-
"module": "/src/forms/control/control.js"
|
|
47690
|
-
}
|
|
47691
|
-
},
|
|
48037
|
+
"slots": [
|
|
47692
48038
|
{
|
|
47693
|
-
"
|
|
47694
|
-
"name": "
|
|
47695
|
-
"type": {
|
|
47696
|
-
"text": "string",
|
|
47697
|
-
"_sourceAliases": [],
|
|
47698
|
-
"values": [
|
|
47699
|
-
{
|
|
47700
|
-
"value": "string",
|
|
47701
|
-
"description": ""
|
|
47702
|
-
}
|
|
47703
|
-
]
|
|
47704
|
-
},
|
|
47705
|
-
"privacy": "protected",
|
|
47706
|
-
"default": "''",
|
|
47707
|
-
"inheritedFrom": {
|
|
47708
|
-
"name": "Control",
|
|
47709
|
-
"module": "/src/forms/control/control.js"
|
|
47710
|
-
}
|
|
48039
|
+
"description": "Content to display before the textarea.",
|
|
48040
|
+
"name": "prefix"
|
|
47711
48041
|
},
|
|
47712
48042
|
{
|
|
47713
|
-
"
|
|
47714
|
-
"name": "
|
|
47715
|
-
"description": "Resets control value to initial attribute value and clears any active validation rules.",
|
|
47716
|
-
"inheritedFrom": {
|
|
47717
|
-
"name": "Control",
|
|
47718
|
-
"module": "/src/forms/control/control.js"
|
|
47719
|
-
}
|
|
48043
|
+
"description": "Content to display after the textarea.",
|
|
48044
|
+
"name": "suffix"
|
|
47720
48045
|
},
|
|
47721
|
-
{
|
|
47722
|
-
"kind": "method",
|
|
47723
|
-
"name": "showPicker",
|
|
47724
|
-
"privacy": "protected",
|
|
47725
|
-
"inheritedFrom": {
|
|
47726
|
-
"name": "Control",
|
|
47727
|
-
"module": "/src/forms/control/control.js"
|
|
47728
|
-
}
|
|
47729
|
-
}
|
|
47730
|
-
],
|
|
47731
|
-
"superclass": {
|
|
47732
|
-
"name": "Control",
|
|
47733
|
-
"package": "@nvidia-elements/core/forms"
|
|
47734
|
-
},
|
|
47735
|
-
"tagName": "nve-textarea",
|
|
47736
|
-
"customElement": true,
|
|
47737
|
-
"metadata": {
|
|
47738
|
-
"unitTests": true,
|
|
47739
|
-
"apiReview": true,
|
|
47740
|
-
"performance": true,
|
|
47741
|
-
"stable": true,
|
|
47742
|
-
"vqa": true,
|
|
47743
|
-
"responsive": true,
|
|
47744
|
-
"themes": true,
|
|
47745
|
-
"aria": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea",
|
|
47746
|
-
"entrypoint": "@nvidia-elements/core/textarea",
|
|
47747
|
-
"example": "<nve-textarea>\n <label>label</label>\n <textarea></textarea>\n <nve-control-message>message</nve-control-message>\n</nve-textarea>",
|
|
47748
|
-
"package": true,
|
|
47749
|
-
"documentation": "https://nvidia.github.io/elements/docs/elements/textarea/",
|
|
47750
|
-
"since": "0.3.0",
|
|
47751
|
-
"status": "stable",
|
|
47752
|
-
"behavior": "form",
|
|
47753
|
-
"markdown": "## nve-textarea\n\nA textarea is a control that enables users to enter and edit text.\n\n### Example\n\n```html\n<nve-textarea>\n <label>label</label>\n <textarea></textarea>\n <nve-control-message>message</nve-control-message>\n</nve-textarea>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/textarea/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| i18n | | Enables internal string values to update for internationalization. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| reset | | Resets control value to initial attribute value and clears any active validation rules. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |"
|
|
47754
|
-
},
|
|
47755
|
-
"slots": [
|
|
47756
48046
|
{
|
|
47757
48047
|
"description": "Control input element",
|
|
47758
48048
|
"name": "",
|
|
@@ -47770,7 +48060,220 @@
|
|
|
47770
48060
|
}
|
|
47771
48061
|
}
|
|
47772
48062
|
],
|
|
47773
|
-
"
|
|
48063
|
+
"members": [
|
|
48064
|
+
{
|
|
48065
|
+
"kind": "field",
|
|
48066
|
+
"name": "status",
|
|
48067
|
+
"type": {
|
|
48068
|
+
"text": "'warning' | 'error' | 'success' | 'disabled'",
|
|
48069
|
+
"_sourceAliases": [],
|
|
48070
|
+
"values": [
|
|
48071
|
+
{
|
|
48072
|
+
"value": "warning",
|
|
48073
|
+
"description": ""
|
|
48074
|
+
},
|
|
48075
|
+
{
|
|
48076
|
+
"value": "error",
|
|
48077
|
+
"description": ""
|
|
48078
|
+
},
|
|
48079
|
+
{
|
|
48080
|
+
"value": "success",
|
|
48081
|
+
"description": ""
|
|
48082
|
+
},
|
|
48083
|
+
{
|
|
48084
|
+
"value": "disabled",
|
|
48085
|
+
"description": ""
|
|
48086
|
+
}
|
|
48087
|
+
]
|
|
48088
|
+
},
|
|
48089
|
+
"description": "Set current visual state for control. This overrides any validation states active.",
|
|
48090
|
+
"attribute": "status",
|
|
48091
|
+
"inheritedFrom": {
|
|
48092
|
+
"name": "Control",
|
|
48093
|
+
"module": "/src/forms/control/control.js"
|
|
48094
|
+
}
|
|
48095
|
+
},
|
|
48096
|
+
{
|
|
48097
|
+
"kind": "field",
|
|
48098
|
+
"name": "layout",
|
|
48099
|
+
"type": {
|
|
48100
|
+
"text": "| 'vertical'\n | 'vertical-inline'\n | 'horizontal'\n | 'horizontal-inline'",
|
|
48101
|
+
"_sourceAliases": [],
|
|
48102
|
+
"values": [
|
|
48103
|
+
{
|
|
48104
|
+
"value": "vertical",
|
|
48105
|
+
"description": "Arranges content in a vertical stack with block-level spacing."
|
|
48106
|
+
},
|
|
48107
|
+
{
|
|
48108
|
+
"value": "vertical-inline",
|
|
48109
|
+
"description": "Arranges content vertically with compact inline spacing for dense layouts."
|
|
48110
|
+
},
|
|
48111
|
+
{
|
|
48112
|
+
"value": "horizontal",
|
|
48113
|
+
"description": "Arranges content in a horizontal row with block-level spacing."
|
|
48114
|
+
},
|
|
48115
|
+
{
|
|
48116
|
+
"value": "horizontal-inline",
|
|
48117
|
+
"description": "Arranges content horizontally with compact inline spacing."
|
|
48118
|
+
}
|
|
48119
|
+
]
|
|
48120
|
+
},
|
|
48121
|
+
"description": "Controls the directional arrangement and spacing behavior of the element's content.\n- `vertical` Arranges content in a vertical stack with block-level spacing.\n\n- `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts.\n\n- `horizontal` Arranges content in a horizontal row with block-level spacing.\n\n- `horizontal-inline` Arranges content horizontally with compact inline spacing.",
|
|
48122
|
+
"attribute": "layout",
|
|
48123
|
+
"reflects": true,
|
|
48124
|
+
"inheritedFrom": {
|
|
48125
|
+
"name": "Control",
|
|
48126
|
+
"module": "/src/forms/control/control.js"
|
|
48127
|
+
},
|
|
48128
|
+
"descriptionText": "Controls the directional arrangement and spacing behavior of the element's content."
|
|
48129
|
+
},
|
|
48130
|
+
{
|
|
48131
|
+
"kind": "field",
|
|
48132
|
+
"name": "fitText",
|
|
48133
|
+
"type": {
|
|
48134
|
+
"text": "boolean",
|
|
48135
|
+
"_sourceAliases": [],
|
|
48136
|
+
"values": [
|
|
48137
|
+
{
|
|
48138
|
+
"value": "true",
|
|
48139
|
+
"description": ""
|
|
48140
|
+
},
|
|
48141
|
+
{
|
|
48142
|
+
"value": "false",
|
|
48143
|
+
"description": ""
|
|
48144
|
+
}
|
|
48145
|
+
]
|
|
48146
|
+
},
|
|
48147
|
+
"default": "false",
|
|
48148
|
+
"description": "Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select)",
|
|
48149
|
+
"attribute": "fit-text",
|
|
48150
|
+
"reflects": true,
|
|
48151
|
+
"inheritedFrom": {
|
|
48152
|
+
"name": "Control",
|
|
48153
|
+
"module": "/src/forms/control/control.js"
|
|
48154
|
+
}
|
|
48155
|
+
},
|
|
48156
|
+
{
|
|
48157
|
+
"kind": "field",
|
|
48158
|
+
"name": "fitContent",
|
|
48159
|
+
"type": {
|
|
48160
|
+
"text": "boolean",
|
|
48161
|
+
"_sourceAliases": [],
|
|
48162
|
+
"values": [
|
|
48163
|
+
{
|
|
48164
|
+
"value": "true",
|
|
48165
|
+
"description": ""
|
|
48166
|
+
},
|
|
48167
|
+
{
|
|
48168
|
+
"value": "false",
|
|
48169
|
+
"description": ""
|
|
48170
|
+
}
|
|
48171
|
+
]
|
|
48172
|
+
},
|
|
48173
|
+
"default": "false",
|
|
48174
|
+
"description": "Sets the input to match native default content block",
|
|
48175
|
+
"attribute": "fit-content",
|
|
48176
|
+
"reflects": true,
|
|
48177
|
+
"inheritedFrom": {
|
|
48178
|
+
"name": "Control",
|
|
48179
|
+
"module": "/src/forms/control/control.js"
|
|
48180
|
+
}
|
|
48181
|
+
},
|
|
48182
|
+
{
|
|
48183
|
+
"kind": "field",
|
|
48184
|
+
"name": "i18n",
|
|
48185
|
+
"description": "Enables internal string values to update for internationalization.",
|
|
48186
|
+
"attribute": "i18n",
|
|
48187
|
+
"inheritedFrom": {
|
|
48188
|
+
"name": "Control",
|
|
48189
|
+
"module": "/src/forms/control/control.js"
|
|
48190
|
+
}
|
|
48191
|
+
},
|
|
48192
|
+
{
|
|
48193
|
+
"kind": "field",
|
|
48194
|
+
"name": "prominence",
|
|
48195
|
+
"type": {
|
|
48196
|
+
"text": "'muted'",
|
|
48197
|
+
"_sourceAliases": [],
|
|
48198
|
+
"values": [
|
|
48199
|
+
{
|
|
48200
|
+
"value": "muted",
|
|
48201
|
+
"description": ""
|
|
48202
|
+
}
|
|
48203
|
+
]
|
|
48204
|
+
},
|
|
48205
|
+
"description": "Set the visual prominence of the control",
|
|
48206
|
+
"attribute": "prominence",
|
|
48207
|
+
"reflects": true,
|
|
48208
|
+
"inheritedFrom": {
|
|
48209
|
+
"name": "Control",
|
|
48210
|
+
"module": "/src/forms/control/control.js"
|
|
48211
|
+
}
|
|
48212
|
+
},
|
|
48213
|
+
{
|
|
48214
|
+
"kind": "field",
|
|
48215
|
+
"name": "nveControl",
|
|
48216
|
+
"type": {
|
|
48217
|
+
"text": "string",
|
|
48218
|
+
"_sourceAliases": [],
|
|
48219
|
+
"values": [
|
|
48220
|
+
{
|
|
48221
|
+
"value": "string",
|
|
48222
|
+
"description": ""
|
|
48223
|
+
}
|
|
48224
|
+
]
|
|
48225
|
+
},
|
|
48226
|
+
"privacy": "protected",
|
|
48227
|
+
"default": "''",
|
|
48228
|
+
"inheritedFrom": {
|
|
48229
|
+
"name": "Control",
|
|
48230
|
+
"module": "/src/forms/control/control.js"
|
|
48231
|
+
}
|
|
48232
|
+
},
|
|
48233
|
+
{
|
|
48234
|
+
"kind": "method",
|
|
48235
|
+
"name": "reset",
|
|
48236
|
+
"description": "Resets control value to initial attribute value and clears any active validation rules.",
|
|
48237
|
+
"inheritedFrom": {
|
|
48238
|
+
"name": "Control",
|
|
48239
|
+
"module": "/src/forms/control/control.js"
|
|
48240
|
+
}
|
|
48241
|
+
},
|
|
48242
|
+
{
|
|
48243
|
+
"kind": "method",
|
|
48244
|
+
"name": "showPicker",
|
|
48245
|
+
"privacy": "protected",
|
|
48246
|
+
"inheritedFrom": {
|
|
48247
|
+
"name": "Control",
|
|
48248
|
+
"module": "/src/forms/control/control.js"
|
|
48249
|
+
}
|
|
48250
|
+
}
|
|
48251
|
+
],
|
|
48252
|
+
"superclass": {
|
|
48253
|
+
"name": "Control",
|
|
48254
|
+
"package": "@nvidia-elements/core/forms"
|
|
48255
|
+
},
|
|
48256
|
+
"tagName": "nve-textarea",
|
|
48257
|
+
"customElement": true,
|
|
48258
|
+
"metadata": {
|
|
48259
|
+
"unitTests": true,
|
|
48260
|
+
"apiReview": true,
|
|
48261
|
+
"performance": true,
|
|
48262
|
+
"stable": true,
|
|
48263
|
+
"vqa": true,
|
|
48264
|
+
"responsive": true,
|
|
48265
|
+
"themes": true,
|
|
48266
|
+
"aria": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea",
|
|
48267
|
+
"entrypoint": "@nvidia-elements/core/textarea",
|
|
48268
|
+
"example": "<nve-textarea>\n <label>label</label>\n <textarea></textarea>\n <nve-control-message>message</nve-control-message>\n</nve-textarea>",
|
|
48269
|
+
"package": true,
|
|
48270
|
+
"documentation": "https://nvidia.github.io/elements/docs/elements/textarea/",
|
|
48271
|
+
"since": "0.3.0",
|
|
48272
|
+
"status": "stable",
|
|
48273
|
+
"behavior": "form",
|
|
48274
|
+
"markdown": "## nve-textarea\n\nA textarea is a control that enables users to enter and edit text.\n\n### Example\n\n```html\n<nve-textarea>\n <label>label</label>\n <textarea></textarea>\n <nve-control-message>message</nve-control-message>\n</nve-textarea>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/textarea/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| prefix | `string` | Content to display before the textarea. |\n| suffix | `string` | Content to display after the textarea. |\n| (default) | `string` | Control input element |\n| label | `string` | Label element |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| status | `'warning' \\| 'error' \\| 'success' \\| 'disabled'` | Set current visual state for control. This overrides any validation states active. |\n| layout | `\\| 'vertical'\n \\| 'vertical-inline'\n \\| 'horizontal'\n \\| 'horizontal-inline'` | Controls the directional arrangement and spacing behavior of the element's content. - `vertical` Arranges content in a vertical stack with block-level spacing. - `vertical-inline` Arranges content vertically with compact inline spacing for dense layouts. - `horizontal` Arranges content in a horizontal row with block-level spacing. - `horizontal-inline` Arranges content horizontally with compact inline spacing. |\n| fitText (fit-text) | `boolean` | Sets the input to match the width of the active text content of the control value. Only applicable to vertical input box type controls (input, select) |\n| fitContent (fit-content) | `boolean` | Sets the input to match native default content block |\n| i18n | | Enables internal string values to update for internationalization. |\n| prominence | `'muted'` | Set the visual prominence of the control |\n| reset | | Resets control value to initial attribute value and clears any active validation rules. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| reset | `CustomEvent` | |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --padding | `string` | [MDN](https://mdn.dev/CSS/padding) |\n| --font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --height | `string` | [MDN](https://mdn.dev/CSS/height) |\n| --width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --background | `string` | [MDN](https://mdn.dev/CSS/background) |\n| --border-radius | `string` | [MDN](https://mdn.dev/CSS/border-radius) |\n| --cursor | `string` | [MDN](https://mdn.dev/CSS/cursor) |\n| --border | `string` | [MDN](https://mdn.dev/CSS/border) |\n| --color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --accent-color | `string` | [MDN](https://mdn.dev/CSS/accent-color) |\n| --label-color | `string` | [MDN](https://mdn.dev/CSS/color) |\n| --label-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --label-font-weight | `string` | [MDN](https://mdn.dev/CSS/font-weight) |\n| --label-font-size | `string` | [MDN](https://mdn.dev/CSS/font-size) |\n| --control-width | `string` | [MDN](https://mdn.dev/CSS/width) |\n| --control-height | `string` | [MDN](https://mdn.dev/CSS/height) |"
|
|
48275
|
+
},
|
|
48276
|
+
"attributes": [
|
|
47774
48277
|
{
|
|
47775
48278
|
"name": "status",
|
|
47776
48279
|
"type": {
|
|
@@ -51062,6 +51565,2766 @@
|
|
|
51062
51565
|
}
|
|
51063
51566
|
]
|
|
51064
51567
|
},
|
|
51568
|
+
{
|
|
51569
|
+
"kind": "javascript-module",
|
|
51570
|
+
"path": "/src/viewport/define.js",
|
|
51571
|
+
"declarations": [],
|
|
51572
|
+
"exports": []
|
|
51573
|
+
},
|
|
51574
|
+
{
|
|
51575
|
+
"kind": "javascript-module",
|
|
51576
|
+
"path": "/src/viewport/index.js",
|
|
51577
|
+
"declarations": [],
|
|
51578
|
+
"exports": [
|
|
51579
|
+
{
|
|
51580
|
+
"kind": "js",
|
|
51581
|
+
"name": "*",
|
|
51582
|
+
"declaration": {
|
|
51583
|
+
"name": "*",
|
|
51584
|
+
"module": "home/runner/work/elements/elements/projects/core/src/viewport/viewport.js"
|
|
51585
|
+
}
|
|
51586
|
+
},
|
|
51587
|
+
{
|
|
51588
|
+
"kind": "js",
|
|
51589
|
+
"name": "*",
|
|
51590
|
+
"declaration": {
|
|
51591
|
+
"name": "*",
|
|
51592
|
+
"module": "home/runner/work/elements/elements/projects/core/src/viewport/viewport-gridlines.js"
|
|
51593
|
+
}
|
|
51594
|
+
},
|
|
51595
|
+
{
|
|
51596
|
+
"kind": "js",
|
|
51597
|
+
"name": "ViewportAnimationOptions",
|
|
51598
|
+
"declaration": {
|
|
51599
|
+
"name": "ViewportAnimationOptions",
|
|
51600
|
+
"module": "./viewport.types.js"
|
|
51601
|
+
}
|
|
51602
|
+
},
|
|
51603
|
+
{
|
|
51604
|
+
"kind": "js",
|
|
51605
|
+
"name": "ViewportDiscretePanDetail",
|
|
51606
|
+
"declaration": {
|
|
51607
|
+
"name": "ViewportDiscretePanDetail",
|
|
51608
|
+
"module": "./viewport.types.js"
|
|
51609
|
+
}
|
|
51610
|
+
},
|
|
51611
|
+
{
|
|
51612
|
+
"kind": "js",
|
|
51613
|
+
"name": "ViewportPanBehavior",
|
|
51614
|
+
"declaration": {
|
|
51615
|
+
"name": "ViewportPanBehavior",
|
|
51616
|
+
"module": "./viewport.types.js"
|
|
51617
|
+
}
|
|
51618
|
+
},
|
|
51619
|
+
{
|
|
51620
|
+
"kind": "js",
|
|
51621
|
+
"name": "ViewportPanDetail",
|
|
51622
|
+
"declaration": {
|
|
51623
|
+
"name": "ViewportPanDetail",
|
|
51624
|
+
"module": "./viewport.types.js"
|
|
51625
|
+
}
|
|
51626
|
+
},
|
|
51627
|
+
{
|
|
51628
|
+
"kind": "js",
|
|
51629
|
+
"name": "ViewportPanEndDetail",
|
|
51630
|
+
"declaration": {
|
|
51631
|
+
"name": "ViewportPanEndDetail",
|
|
51632
|
+
"module": "./viewport.types.js"
|
|
51633
|
+
}
|
|
51634
|
+
},
|
|
51635
|
+
{
|
|
51636
|
+
"kind": "js",
|
|
51637
|
+
"name": "ViewportPanEndReason",
|
|
51638
|
+
"declaration": {
|
|
51639
|
+
"name": "ViewportPanEndReason",
|
|
51640
|
+
"module": "./viewport.types.js"
|
|
51641
|
+
}
|
|
51642
|
+
},
|
|
51643
|
+
{
|
|
51644
|
+
"kind": "js",
|
|
51645
|
+
"name": "ViewportPoint",
|
|
51646
|
+
"declaration": {
|
|
51647
|
+
"name": "ViewportPoint",
|
|
51648
|
+
"module": "./viewport.types.js"
|
|
51649
|
+
}
|
|
51650
|
+
},
|
|
51651
|
+
{
|
|
51652
|
+
"kind": "js",
|
|
51653
|
+
"name": "ViewportPointerPanDetail",
|
|
51654
|
+
"declaration": {
|
|
51655
|
+
"name": "ViewportPointerPanDetail",
|
|
51656
|
+
"module": "./viewport.types.js"
|
|
51657
|
+
}
|
|
51658
|
+
},
|
|
51659
|
+
{
|
|
51660
|
+
"kind": "js",
|
|
51661
|
+
"name": "ViewportRect",
|
|
51662
|
+
"declaration": {
|
|
51663
|
+
"name": "ViewportRect",
|
|
51664
|
+
"module": "./viewport.types.js"
|
|
51665
|
+
}
|
|
51666
|
+
},
|
|
51667
|
+
{
|
|
51668
|
+
"kind": "js",
|
|
51669
|
+
"name": "ViewportRevealOptions",
|
|
51670
|
+
"declaration": {
|
|
51671
|
+
"name": "ViewportRevealOptions",
|
|
51672
|
+
"module": "./viewport.types.js"
|
|
51673
|
+
}
|
|
51674
|
+
},
|
|
51675
|
+
{
|
|
51676
|
+
"kind": "js",
|
|
51677
|
+
"name": "ViewportTransform",
|
|
51678
|
+
"declaration": {
|
|
51679
|
+
"name": "ViewportTransform",
|
|
51680
|
+
"module": "./viewport.types.js"
|
|
51681
|
+
}
|
|
51682
|
+
},
|
|
51683
|
+
{
|
|
51684
|
+
"kind": "js",
|
|
51685
|
+
"name": "ViewportWheelPanDetail",
|
|
51686
|
+
"declaration": {
|
|
51687
|
+
"name": "ViewportWheelPanDetail",
|
|
51688
|
+
"module": "./viewport.types.js"
|
|
51689
|
+
}
|
|
51690
|
+
},
|
|
51691
|
+
{
|
|
51692
|
+
"kind": "js",
|
|
51693
|
+
"name": "ViewportZoomDetail",
|
|
51694
|
+
"declaration": {
|
|
51695
|
+
"name": "ViewportZoomDetail",
|
|
51696
|
+
"module": "./viewport.types.js"
|
|
51697
|
+
}
|
|
51698
|
+
}
|
|
51699
|
+
]
|
|
51700
|
+
},
|
|
51701
|
+
{
|
|
51702
|
+
"kind": "javascript-module",
|
|
51703
|
+
"path": "/src/viewport/viewport-animation.controller.js",
|
|
51704
|
+
"declarations": [
|
|
51705
|
+
{
|
|
51706
|
+
"kind": "class",
|
|
51707
|
+
"description": "",
|
|
51708
|
+
"name": "ViewportAnimationController",
|
|
51709
|
+
"members": [
|
|
51710
|
+
{
|
|
51711
|
+
"kind": "field",
|
|
51712
|
+
"name": "#delegate",
|
|
51713
|
+
"privacy": "private",
|
|
51714
|
+
"type": {
|
|
51715
|
+
"text": "ViewportAnimationDelegate",
|
|
51716
|
+
"_sourceAliases": [],
|
|
51717
|
+
"values": []
|
|
51718
|
+
},
|
|
51719
|
+
"readonly": true,
|
|
51720
|
+
"default": "delegate"
|
|
51721
|
+
},
|
|
51722
|
+
{
|
|
51723
|
+
"kind": "field",
|
|
51724
|
+
"name": "#animation",
|
|
51725
|
+
"privacy": "private",
|
|
51726
|
+
"type": {
|
|
51727
|
+
"text": "ViewportAnimation | undefined",
|
|
51728
|
+
"_sourceAliases": [],
|
|
51729
|
+
"values": []
|
|
51730
|
+
}
|
|
51731
|
+
},
|
|
51732
|
+
{
|
|
51733
|
+
"kind": "field",
|
|
51734
|
+
"name": "destinationScale",
|
|
51735
|
+
"type": {
|
|
51736
|
+
"text": "number | undefined",
|
|
51737
|
+
"_sourceAliases": [],
|
|
51738
|
+
"values": [
|
|
51739
|
+
{
|
|
51740
|
+
"value": "number",
|
|
51741
|
+
"description": ""
|
|
51742
|
+
}
|
|
51743
|
+
]
|
|
51744
|
+
},
|
|
51745
|
+
"readonly": true
|
|
51746
|
+
},
|
|
51747
|
+
{
|
|
51748
|
+
"kind": "method",
|
|
51749
|
+
"name": "animateTo",
|
|
51750
|
+
"return": {
|
|
51751
|
+
"type": {
|
|
51752
|
+
"text": "void"
|
|
51753
|
+
}
|
|
51754
|
+
},
|
|
51755
|
+
"parameters": [
|
|
51756
|
+
{
|
|
51757
|
+
"name": "target",
|
|
51758
|
+
"type": {
|
|
51759
|
+
"text": "Partial<ViewportTransform>"
|
|
51760
|
+
}
|
|
51761
|
+
},
|
|
51762
|
+
{
|
|
51763
|
+
"name": "options",
|
|
51764
|
+
"default": "{}",
|
|
51765
|
+
"type": {
|
|
51766
|
+
"text": "ViewportAnimationOptions"
|
|
51767
|
+
}
|
|
51768
|
+
}
|
|
51769
|
+
]
|
|
51770
|
+
},
|
|
51771
|
+
{
|
|
51772
|
+
"kind": "method",
|
|
51773
|
+
"name": "cancel",
|
|
51774
|
+
"return": {
|
|
51775
|
+
"type": {
|
|
51776
|
+
"text": "void"
|
|
51777
|
+
}
|
|
51778
|
+
}
|
|
51779
|
+
},
|
|
51780
|
+
{
|
|
51781
|
+
"kind": "method",
|
|
51782
|
+
"name": "hostDisconnected",
|
|
51783
|
+
"return": {
|
|
51784
|
+
"type": {
|
|
51785
|
+
"text": "void"
|
|
51786
|
+
}
|
|
51787
|
+
}
|
|
51788
|
+
},
|
|
51789
|
+
{
|
|
51790
|
+
"kind": "field",
|
|
51791
|
+
"name": "#animateFrame",
|
|
51792
|
+
"privacy": "private"
|
|
51793
|
+
},
|
|
51794
|
+
{
|
|
51795
|
+
"kind": "method",
|
|
51796
|
+
"name": "#startAnimation",
|
|
51797
|
+
"privacy": "private",
|
|
51798
|
+
"return": {
|
|
51799
|
+
"type": {
|
|
51800
|
+
"text": "void"
|
|
51801
|
+
}
|
|
51802
|
+
},
|
|
51803
|
+
"parameters": [
|
|
51804
|
+
{
|
|
51805
|
+
"name": "animation",
|
|
51806
|
+
"type": {
|
|
51807
|
+
"text": "ViewportAnimation"
|
|
51808
|
+
}
|
|
51809
|
+
},
|
|
51810
|
+
{
|
|
51811
|
+
"name": "time",
|
|
51812
|
+
"type": {
|
|
51813
|
+
"text": "number"
|
|
51814
|
+
}
|
|
51815
|
+
}
|
|
51816
|
+
]
|
|
51817
|
+
}
|
|
51818
|
+
]
|
|
51819
|
+
},
|
|
51820
|
+
{
|
|
51821
|
+
"kind": "variable",
|
|
51822
|
+
"name": "start"
|
|
51823
|
+
},
|
|
51824
|
+
{
|
|
51825
|
+
"kind": "variable",
|
|
51826
|
+
"name": "duration"
|
|
51827
|
+
}
|
|
51828
|
+
],
|
|
51829
|
+
"exports": [
|
|
51830
|
+
{
|
|
51831
|
+
"kind": "js",
|
|
51832
|
+
"name": "ViewportAnimationController",
|
|
51833
|
+
"declaration": {
|
|
51834
|
+
"name": "ViewportAnimationController",
|
|
51835
|
+
"module": "/src/viewport/viewport-animation.controller.js"
|
|
51836
|
+
}
|
|
51837
|
+
}
|
|
51838
|
+
]
|
|
51839
|
+
},
|
|
51840
|
+
{
|
|
51841
|
+
"kind": "javascript-module",
|
|
51842
|
+
"path": "/src/viewport/viewport-autofit.controller.js",
|
|
51843
|
+
"declarations": [
|
|
51844
|
+
{
|
|
51845
|
+
"kind": "class",
|
|
51846
|
+
"description": "Coordinates one initial fit once default-slot children have definitions and measurable layout.",
|
|
51847
|
+
"name": "ViewportAutoFitController",
|
|
51848
|
+
"members": [
|
|
51849
|
+
{
|
|
51850
|
+
"kind": "field",
|
|
51851
|
+
"name": "#applyInitialFit",
|
|
51852
|
+
"privacy": "private",
|
|
51853
|
+
"type": {
|
|
51854
|
+
"text": "ApplyInitialFit",
|
|
51855
|
+
"_sourceAliases": [],
|
|
51856
|
+
"values": []
|
|
51857
|
+
},
|
|
51858
|
+
"readonly": true,
|
|
51859
|
+
"default": "applyInitialFit"
|
|
51860
|
+
},
|
|
51861
|
+
{
|
|
51862
|
+
"kind": "field",
|
|
51863
|
+
"name": "#host",
|
|
51864
|
+
"privacy": "private",
|
|
51865
|
+
"type": {
|
|
51866
|
+
"text": "ViewportAutoFitHost",
|
|
51867
|
+
"_sourceAliases": [],
|
|
51868
|
+
"values": []
|
|
51869
|
+
},
|
|
51870
|
+
"readonly": true,
|
|
51871
|
+
"default": "host"
|
|
51872
|
+
},
|
|
51873
|
+
{
|
|
51874
|
+
"kind": "field",
|
|
51875
|
+
"name": "#children",
|
|
51876
|
+
"privacy": "private",
|
|
51877
|
+
"type": {
|
|
51878
|
+
"text": "readonly Element[] | undefined",
|
|
51879
|
+
"_sourceAliases": [],
|
|
51880
|
+
"values": [
|
|
51881
|
+
{
|
|
51882
|
+
"value": "readonly Element[]",
|
|
51883
|
+
"description": ""
|
|
51884
|
+
}
|
|
51885
|
+
]
|
|
51886
|
+
}
|
|
51887
|
+
},
|
|
51888
|
+
{
|
|
51889
|
+
"kind": "field",
|
|
51890
|
+
"name": "#consumed",
|
|
51891
|
+
"privacy": "private",
|
|
51892
|
+
"type": {
|
|
51893
|
+
"text": "boolean",
|
|
51894
|
+
"_sourceAliases": [],
|
|
51895
|
+
"values": [
|
|
51896
|
+
{
|
|
51897
|
+
"value": "boolean",
|
|
51898
|
+
"description": ""
|
|
51899
|
+
}
|
|
51900
|
+
]
|
|
51901
|
+
},
|
|
51902
|
+
"default": "false"
|
|
51903
|
+
},
|
|
51904
|
+
{
|
|
51905
|
+
"kind": "field",
|
|
51906
|
+
"name": "#frame",
|
|
51907
|
+
"privacy": "private",
|
|
51908
|
+
"type": {
|
|
51909
|
+
"text": "number | undefined",
|
|
51910
|
+
"_sourceAliases": [],
|
|
51911
|
+
"values": [
|
|
51912
|
+
{
|
|
51913
|
+
"value": "number",
|
|
51914
|
+
"description": ""
|
|
51915
|
+
}
|
|
51916
|
+
]
|
|
51917
|
+
}
|
|
51918
|
+
},
|
|
51919
|
+
{
|
|
51920
|
+
"kind": "field",
|
|
51921
|
+
"name": "#generation",
|
|
51922
|
+
"privacy": "private",
|
|
51923
|
+
"type": {
|
|
51924
|
+
"text": "number",
|
|
51925
|
+
"_sourceAliases": [],
|
|
51926
|
+
"values": [
|
|
51927
|
+
{
|
|
51928
|
+
"value": "number",
|
|
51929
|
+
"description": ""
|
|
51930
|
+
}
|
|
51931
|
+
]
|
|
51932
|
+
},
|
|
51933
|
+
"default": "0"
|
|
51934
|
+
},
|
|
51935
|
+
{
|
|
51936
|
+
"kind": "field",
|
|
51937
|
+
"name": "#observer",
|
|
51938
|
+
"privacy": "private",
|
|
51939
|
+
"type": {
|
|
51940
|
+
"text": "ResizeObserver | undefined",
|
|
51941
|
+
"_sourceAliases": [],
|
|
51942
|
+
"values": []
|
|
51943
|
+
}
|
|
51944
|
+
},
|
|
51945
|
+
{
|
|
51946
|
+
"kind": "method",
|
|
51947
|
+
"name": "hostConnected",
|
|
51948
|
+
"return": {
|
|
51949
|
+
"type": {
|
|
51950
|
+
"text": "void"
|
|
51951
|
+
}
|
|
51952
|
+
}
|
|
51953
|
+
},
|
|
51954
|
+
{
|
|
51955
|
+
"kind": "method",
|
|
51956
|
+
"name": "hostDisconnected",
|
|
51957
|
+
"return": {
|
|
51958
|
+
"type": {
|
|
51959
|
+
"text": "void"
|
|
51960
|
+
}
|
|
51961
|
+
}
|
|
51962
|
+
},
|
|
51963
|
+
{
|
|
51964
|
+
"kind": "method",
|
|
51965
|
+
"name": "hostUpdated",
|
|
51966
|
+
"return": {
|
|
51967
|
+
"type": {
|
|
51968
|
+
"text": "void"
|
|
51969
|
+
}
|
|
51970
|
+
}
|
|
51971
|
+
},
|
|
51972
|
+
{
|
|
51973
|
+
"kind": "field",
|
|
51974
|
+
"name": "contentChanged"
|
|
51975
|
+
},
|
|
51976
|
+
{
|
|
51977
|
+
"kind": "method",
|
|
51978
|
+
"name": "consume",
|
|
51979
|
+
"return": {
|
|
51980
|
+
"type": {
|
|
51981
|
+
"text": "void"
|
|
51982
|
+
}
|
|
51983
|
+
}
|
|
51984
|
+
},
|
|
51985
|
+
{
|
|
51986
|
+
"kind": "method",
|
|
51987
|
+
"name": "#cancelPending",
|
|
51988
|
+
"privacy": "private",
|
|
51989
|
+
"return": {
|
|
51990
|
+
"type": {
|
|
51991
|
+
"text": "void"
|
|
51992
|
+
}
|
|
51993
|
+
}
|
|
51994
|
+
},
|
|
51995
|
+
{
|
|
51996
|
+
"kind": "method",
|
|
51997
|
+
"name": "#start",
|
|
51998
|
+
"privacy": "private",
|
|
51999
|
+
"return": {
|
|
52000
|
+
"type": {
|
|
52001
|
+
"text": "void"
|
|
52002
|
+
}
|
|
52003
|
+
},
|
|
52004
|
+
"parameters": [
|
|
52005
|
+
{
|
|
52006
|
+
"name": "slot",
|
|
52007
|
+
"optional": true,
|
|
52008
|
+
"type": {
|
|
52009
|
+
"text": "HTMLSlotElement"
|
|
52010
|
+
}
|
|
52011
|
+
}
|
|
52012
|
+
]
|
|
52013
|
+
},
|
|
52014
|
+
{
|
|
52015
|
+
"kind": "method",
|
|
52016
|
+
"name": "#waitForDefinitions",
|
|
52017
|
+
"privacy": "private",
|
|
52018
|
+
"return": {
|
|
52019
|
+
"type": {
|
|
52020
|
+
"text": "Promise<void>"
|
|
52021
|
+
}
|
|
52022
|
+
},
|
|
52023
|
+
"parameters": [
|
|
52024
|
+
{
|
|
52025
|
+
"name": "children",
|
|
52026
|
+
"type": {
|
|
52027
|
+
"text": "readonly Element[]"
|
|
52028
|
+
}
|
|
52029
|
+
}
|
|
52030
|
+
]
|
|
52031
|
+
},
|
|
52032
|
+
{
|
|
52033
|
+
"kind": "method",
|
|
52034
|
+
"name": "#waitForLayout",
|
|
52035
|
+
"privacy": "private",
|
|
52036
|
+
"return": {
|
|
52037
|
+
"type": {
|
|
52038
|
+
"text": "void"
|
|
52039
|
+
}
|
|
52040
|
+
},
|
|
52041
|
+
"parameters": [
|
|
52042
|
+
{
|
|
52043
|
+
"name": "generation",
|
|
52044
|
+
"type": {
|
|
52045
|
+
"text": "number"
|
|
52046
|
+
}
|
|
52047
|
+
}
|
|
52048
|
+
]
|
|
52049
|
+
},
|
|
52050
|
+
{
|
|
52051
|
+
"kind": "method",
|
|
52052
|
+
"name": "#scheduleFit",
|
|
52053
|
+
"privacy": "private",
|
|
52054
|
+
"return": {
|
|
52055
|
+
"type": {
|
|
52056
|
+
"text": "void"
|
|
52057
|
+
}
|
|
52058
|
+
},
|
|
52059
|
+
"parameters": [
|
|
52060
|
+
{
|
|
52061
|
+
"name": "generation",
|
|
52062
|
+
"type": {
|
|
52063
|
+
"text": "number"
|
|
52064
|
+
}
|
|
52065
|
+
}
|
|
52066
|
+
]
|
|
52067
|
+
},
|
|
52068
|
+
{
|
|
52069
|
+
"kind": "method",
|
|
52070
|
+
"name": "#fit",
|
|
52071
|
+
"privacy": "private",
|
|
52072
|
+
"return": {
|
|
52073
|
+
"type": {
|
|
52074
|
+
"text": "void"
|
|
52075
|
+
}
|
|
52076
|
+
},
|
|
52077
|
+
"parameters": [
|
|
52078
|
+
{
|
|
52079
|
+
"name": "generation",
|
|
52080
|
+
"type": {
|
|
52081
|
+
"text": "number"
|
|
52082
|
+
}
|
|
52083
|
+
}
|
|
52084
|
+
]
|
|
52085
|
+
},
|
|
52086
|
+
{
|
|
52087
|
+
"kind": "method",
|
|
52088
|
+
"name": "#measurableClientRects",
|
|
52089
|
+
"privacy": "private",
|
|
52090
|
+
"return": {
|
|
52091
|
+
"type": {
|
|
52092
|
+
"text": "ViewportClientRect[]"
|
|
52093
|
+
}
|
|
52094
|
+
},
|
|
52095
|
+
"parameters": [
|
|
52096
|
+
{
|
|
52097
|
+
"name": "children",
|
|
52098
|
+
"type": {
|
|
52099
|
+
"text": "readonly Element[]"
|
|
52100
|
+
}
|
|
52101
|
+
}
|
|
52102
|
+
]
|
|
52103
|
+
},
|
|
52104
|
+
{
|
|
52105
|
+
"kind": "method",
|
|
52106
|
+
"name": "#isCurrent",
|
|
52107
|
+
"privacy": "private",
|
|
52108
|
+
"return": {
|
|
52109
|
+
"type": {
|
|
52110
|
+
"text": "boolean"
|
|
52111
|
+
}
|
|
52112
|
+
},
|
|
52113
|
+
"parameters": [
|
|
52114
|
+
{
|
|
52115
|
+
"name": "generation",
|
|
52116
|
+
"type": {
|
|
52117
|
+
"text": "number"
|
|
52118
|
+
}
|
|
52119
|
+
}
|
|
52120
|
+
]
|
|
52121
|
+
}
|
|
52122
|
+
]
|
|
52123
|
+
}
|
|
52124
|
+
],
|
|
52125
|
+
"exports": [
|
|
52126
|
+
{
|
|
52127
|
+
"kind": "js",
|
|
52128
|
+
"name": "ViewportAutoFitController",
|
|
52129
|
+
"declaration": {
|
|
52130
|
+
"name": "ViewportAutoFitController",
|
|
52131
|
+
"module": "/src/viewport/viewport-autofit.controller.js"
|
|
52132
|
+
}
|
|
52133
|
+
}
|
|
52134
|
+
]
|
|
52135
|
+
},
|
|
52136
|
+
{
|
|
52137
|
+
"kind": "javascript-module",
|
|
52138
|
+
"path": "/src/viewport/viewport-fitting.utils.js",
|
|
52139
|
+
"declarations": [
|
|
52140
|
+
{
|
|
52141
|
+
"kind": "function",
|
|
52142
|
+
"name": "contentBoundsFromClientRects",
|
|
52143
|
+
"return": {
|
|
52144
|
+
"type": {
|
|
52145
|
+
"text": "ViewportRect | undefined"
|
|
52146
|
+
}
|
|
52147
|
+
},
|
|
52148
|
+
"parameters": [
|
|
52149
|
+
{
|
|
52150
|
+
"name": "clientRects",
|
|
52151
|
+
"type": {
|
|
52152
|
+
"text": "Iterable<ViewportClientRect>",
|
|
52153
|
+
"_sourceAliases": []
|
|
52154
|
+
}
|
|
52155
|
+
},
|
|
52156
|
+
{
|
|
52157
|
+
"name": "viewportFrame",
|
|
52158
|
+
"type": {
|
|
52159
|
+
"text": "ViewportClientFrame",
|
|
52160
|
+
"_sourceAliases": []
|
|
52161
|
+
}
|
|
52162
|
+
},
|
|
52163
|
+
{
|
|
52164
|
+
"name": "transform",
|
|
52165
|
+
"type": {
|
|
52166
|
+
"text": "ViewportTransform",
|
|
52167
|
+
"_sourceAliases": []
|
|
52168
|
+
}
|
|
52169
|
+
}
|
|
52170
|
+
],
|
|
52171
|
+
"description": "Converts measurable client-space rectangles into their single content-space union."
|
|
52172
|
+
},
|
|
52173
|
+
{
|
|
52174
|
+
"kind": "function",
|
|
52175
|
+
"name": "revealTarget",
|
|
52176
|
+
"return": {
|
|
52177
|
+
"type": {
|
|
52178
|
+
"text": "ViewportTransform"
|
|
52179
|
+
}
|
|
52180
|
+
},
|
|
52181
|
+
"parameters": [
|
|
52182
|
+
{
|
|
52183
|
+
"name": "region",
|
|
52184
|
+
"type": {
|
|
52185
|
+
"text": "{ x: number; y: number; width?: number; height?: number }",
|
|
52186
|
+
"_sourceAliases": []
|
|
52187
|
+
}
|
|
52188
|
+
},
|
|
52189
|
+
{
|
|
52190
|
+
"name": "configuration",
|
|
52191
|
+
"type": {
|
|
52192
|
+
"text": "{\n options: ViewportFitOptions;\n scaleRange: { min: number; max: number };\n transform: ViewportTransform;\n viewport: { width: number; height: number };\n }",
|
|
52193
|
+
"_sourceAliases": []
|
|
52194
|
+
}
|
|
52195
|
+
}
|
|
52196
|
+
],
|
|
52197
|
+
"description": "Calculates the viewport transform that centers or fits a content-space region."
|
|
52198
|
+
}
|
|
52199
|
+
],
|
|
52200
|
+
"exports": [
|
|
52201
|
+
{
|
|
52202
|
+
"kind": "js",
|
|
52203
|
+
"name": "contentBoundsFromClientRects",
|
|
52204
|
+
"declaration": {
|
|
52205
|
+
"name": "contentBoundsFromClientRects",
|
|
52206
|
+
"module": "/src/viewport/viewport-fitting.utils.js"
|
|
52207
|
+
}
|
|
52208
|
+
},
|
|
52209
|
+
{
|
|
52210
|
+
"kind": "js",
|
|
52211
|
+
"name": "revealTarget",
|
|
52212
|
+
"declaration": {
|
|
52213
|
+
"name": "revealTarget",
|
|
52214
|
+
"module": "/src/viewport/viewport-fitting.utils.js"
|
|
52215
|
+
}
|
|
52216
|
+
}
|
|
52217
|
+
]
|
|
52218
|
+
},
|
|
52219
|
+
{
|
|
52220
|
+
"kind": "javascript-module",
|
|
52221
|
+
"path": "/src/viewport/viewport-gesture-navigation.controller.js",
|
|
52222
|
+
"declarations": [
|
|
52223
|
+
{
|
|
52224
|
+
"kind": "class",
|
|
52225
|
+
"description": "Coordinates the viewport's opt-in pointer, touch, pinch, and wheel navigation behavior.",
|
|
52226
|
+
"name": "ViewportGestureNavigationController",
|
|
52227
|
+
"members": [
|
|
52228
|
+
{
|
|
52229
|
+
"kind": "field",
|
|
52230
|
+
"name": "#host",
|
|
52231
|
+
"privacy": "private",
|
|
52232
|
+
"type": {
|
|
52233
|
+
"text": "ViewportGestureNavigationHost",
|
|
52234
|
+
"_sourceAliases": [],
|
|
52235
|
+
"values": []
|
|
52236
|
+
},
|
|
52237
|
+
"readonly": true,
|
|
52238
|
+
"default": "host"
|
|
52239
|
+
},
|
|
52240
|
+
{
|
|
52241
|
+
"kind": "field",
|
|
52242
|
+
"name": "#delegate",
|
|
52243
|
+
"privacy": "private",
|
|
52244
|
+
"type": {
|
|
52245
|
+
"text": "ViewportGestureNavigationDelegate",
|
|
52246
|
+
"_sourceAliases": [],
|
|
52247
|
+
"values": []
|
|
52248
|
+
},
|
|
52249
|
+
"readonly": true,
|
|
52250
|
+
"default": "delegate"
|
|
52251
|
+
},
|
|
52252
|
+
{
|
|
52253
|
+
"kind": "field",
|
|
52254
|
+
"name": "#gestureController",
|
|
52255
|
+
"privacy": "private",
|
|
52256
|
+
"type": {
|
|
52257
|
+
"text": "GestureController<PinchContext>",
|
|
52258
|
+
"_sourceAliases": [],
|
|
52259
|
+
"values": [
|
|
52260
|
+
{
|
|
52261
|
+
"value": "GestureController<PinchContext>",
|
|
52262
|
+
"description": ""
|
|
52263
|
+
}
|
|
52264
|
+
]
|
|
52265
|
+
},
|
|
52266
|
+
"readonly": true,
|
|
52267
|
+
"default": "new GestureController(host, { beginPinch: this.#beginPinch, claimPriority: 'descendant-first', shouldIgnoreEvent: this.#shouldIgnoreEvent, shouldPreventContextMenu: this.#shouldPreventContextMenu, shouldReservePointerDown: this.#shouldReservePointerDown, suppressNativeDrag: true, touchAction: this.#getTouchAction })"
|
|
52268
|
+
},
|
|
52269
|
+
{
|
|
52270
|
+
"kind": "field",
|
|
52271
|
+
"name": "#keyStateController",
|
|
52272
|
+
"privacy": "private",
|
|
52273
|
+
"type": {
|
|
52274
|
+
"text": "KeyStateController",
|
|
52275
|
+
"_sourceAliases": [],
|
|
52276
|
+
"values": []
|
|
52277
|
+
},
|
|
52278
|
+
"readonly": true,
|
|
52279
|
+
"default": "new KeyStateController(host, { watchedCodes: ['Space'] })"
|
|
52280
|
+
},
|
|
52281
|
+
{
|
|
52282
|
+
"kind": "field",
|
|
52283
|
+
"name": "#pointerPanSessions",
|
|
52284
|
+
"privacy": "private",
|
|
52285
|
+
"readonly": true,
|
|
52286
|
+
"default": "new Map<number, PointerPanSession>()"
|
|
52287
|
+
},
|
|
52288
|
+
{
|
|
52289
|
+
"kind": "field",
|
|
52290
|
+
"name": "#suppressedClicks",
|
|
52291
|
+
"privacy": "private",
|
|
52292
|
+
"readonly": true,
|
|
52293
|
+
"default": "new Map< number, { eventType: 'auxclick' | 'click'; timer: ReturnType<typeof setTimeout> } >()"
|
|
52294
|
+
},
|
|
52295
|
+
{
|
|
52296
|
+
"kind": "field",
|
|
52297
|
+
"name": "#connected",
|
|
52298
|
+
"privacy": "private",
|
|
52299
|
+
"type": {
|
|
52300
|
+
"text": "boolean",
|
|
52301
|
+
"_sourceAliases": [],
|
|
52302
|
+
"values": [
|
|
52303
|
+
{
|
|
52304
|
+
"value": "boolean",
|
|
52305
|
+
"description": ""
|
|
52306
|
+
}
|
|
52307
|
+
]
|
|
52308
|
+
},
|
|
52309
|
+
"default": "false"
|
|
52310
|
+
},
|
|
52311
|
+
{
|
|
52312
|
+
"kind": "field",
|
|
52313
|
+
"name": "#clickListenersActive",
|
|
52314
|
+
"privacy": "private",
|
|
52315
|
+
"type": {
|
|
52316
|
+
"text": "boolean",
|
|
52317
|
+
"_sourceAliases": [],
|
|
52318
|
+
"values": [
|
|
52319
|
+
{
|
|
52320
|
+
"value": "boolean",
|
|
52321
|
+
"description": ""
|
|
52322
|
+
}
|
|
52323
|
+
]
|
|
52324
|
+
},
|
|
52325
|
+
"default": "false"
|
|
52326
|
+
},
|
|
52327
|
+
{
|
|
52328
|
+
"kind": "field",
|
|
52329
|
+
"name": "#spaceKeyListenerTarget",
|
|
52330
|
+
"privacy": "private",
|
|
52331
|
+
"type": {
|
|
52332
|
+
"text": "Window | undefined",
|
|
52333
|
+
"_sourceAliases": [],
|
|
52334
|
+
"values": []
|
|
52335
|
+
}
|
|
52336
|
+
},
|
|
52337
|
+
{
|
|
52338
|
+
"kind": "field",
|
|
52339
|
+
"name": "#nativeInteractionHovered",
|
|
52340
|
+
"privacy": "private",
|
|
52341
|
+
"type": {
|
|
52342
|
+
"text": "boolean",
|
|
52343
|
+
"_sourceAliases": [],
|
|
52344
|
+
"values": [
|
|
52345
|
+
{
|
|
52346
|
+
"value": "boolean",
|
|
52347
|
+
"description": ""
|
|
52348
|
+
}
|
|
52349
|
+
]
|
|
52350
|
+
},
|
|
52351
|
+
"default": "false"
|
|
52352
|
+
},
|
|
52353
|
+
{
|
|
52354
|
+
"kind": "field",
|
|
52355
|
+
"name": "#pinchPointerIds",
|
|
52356
|
+
"privacy": "private",
|
|
52357
|
+
"type": {
|
|
52358
|
+
"text": "ReadonlySet<number> | undefined",
|
|
52359
|
+
"_sourceAliases": [],
|
|
52360
|
+
"values": [
|
|
52361
|
+
{
|
|
52362
|
+
"value": "ReadonlySet<number>",
|
|
52363
|
+
"description": ""
|
|
52364
|
+
}
|
|
52365
|
+
]
|
|
52366
|
+
}
|
|
52367
|
+
},
|
|
52368
|
+
{
|
|
52369
|
+
"kind": "method",
|
|
52370
|
+
"name": "hostConnected",
|
|
52371
|
+
"return": {
|
|
52372
|
+
"type": {
|
|
52373
|
+
"text": "void"
|
|
52374
|
+
}
|
|
52375
|
+
}
|
|
52376
|
+
},
|
|
52377
|
+
{
|
|
52378
|
+
"kind": "method",
|
|
52379
|
+
"name": "hostDisconnected",
|
|
52380
|
+
"return": {
|
|
52381
|
+
"type": {
|
|
52382
|
+
"text": "void"
|
|
52383
|
+
}
|
|
52384
|
+
}
|
|
52385
|
+
},
|
|
52386
|
+
{
|
|
52387
|
+
"kind": "method",
|
|
52388
|
+
"name": "hostUpdated",
|
|
52389
|
+
"return": {
|
|
52390
|
+
"type": {
|
|
52391
|
+
"text": "void"
|
|
52392
|
+
}
|
|
52393
|
+
}
|
|
52394
|
+
},
|
|
52395
|
+
{
|
|
52396
|
+
"kind": "method",
|
|
52397
|
+
"name": "rebasePointerSessions",
|
|
52398
|
+
"return": {
|
|
52399
|
+
"type": {
|
|
52400
|
+
"text": "void"
|
|
52401
|
+
}
|
|
52402
|
+
},
|
|
52403
|
+
"description": "Rebase in-progress pointer math synchronously after an independent transform change."
|
|
52404
|
+
},
|
|
52405
|
+
{
|
|
52406
|
+
"kind": "method",
|
|
52407
|
+
"name": "#syncBehaviorPolicy",
|
|
52408
|
+
"privacy": "private",
|
|
52409
|
+
"return": {
|
|
52410
|
+
"type": {
|
|
52411
|
+
"text": "void"
|
|
52412
|
+
}
|
|
52413
|
+
}
|
|
52414
|
+
},
|
|
52415
|
+
{
|
|
52416
|
+
"kind": "method",
|
|
52417
|
+
"name": "#syncDisabledPanEligibility",
|
|
52418
|
+
"privacy": "private",
|
|
52419
|
+
"return": {
|
|
52420
|
+
"type": {
|
|
52421
|
+
"text": "void"
|
|
52422
|
+
}
|
|
52423
|
+
},
|
|
52424
|
+
"parameters": [
|
|
52425
|
+
{
|
|
52426
|
+
"name": "panBehavior",
|
|
52427
|
+
"type": {
|
|
52428
|
+
"text": "ViewportPanBehavior"
|
|
52429
|
+
}
|
|
52430
|
+
}
|
|
52431
|
+
]
|
|
52432
|
+
},
|
|
52433
|
+
{
|
|
52434
|
+
"kind": "field",
|
|
52435
|
+
"name": "#handleGestureInput",
|
|
52436
|
+
"privacy": "private"
|
|
52437
|
+
},
|
|
52438
|
+
{
|
|
52439
|
+
"kind": "method",
|
|
52440
|
+
"name": "#handlePointerDown",
|
|
52441
|
+
"privacy": "private",
|
|
52442
|
+
"return": {
|
|
52443
|
+
"type": {
|
|
52444
|
+
"text": "void"
|
|
52445
|
+
}
|
|
52446
|
+
},
|
|
52447
|
+
"parameters": [
|
|
52448
|
+
{
|
|
52449
|
+
"name": "input",
|
|
52450
|
+
"type": {
|
|
52451
|
+
"text": "Extract<GestureInput, { kind: 'pointerdown' }>"
|
|
52452
|
+
}
|
|
52453
|
+
}
|
|
52454
|
+
]
|
|
52455
|
+
},
|
|
52456
|
+
{
|
|
52457
|
+
"kind": "method",
|
|
52458
|
+
"name": "#focusSpaceViewportFromUnclaimedPointer",
|
|
52459
|
+
"privacy": "private",
|
|
52460
|
+
"return": {
|
|
52461
|
+
"type": {
|
|
52462
|
+
"text": "void"
|
|
52463
|
+
}
|
|
52464
|
+
},
|
|
52465
|
+
"parameters": [
|
|
52466
|
+
{
|
|
52467
|
+
"name": "event",
|
|
52468
|
+
"type": {
|
|
52469
|
+
"text": "PointerEvent"
|
|
52470
|
+
}
|
|
52471
|
+
}
|
|
52472
|
+
]
|
|
52473
|
+
},
|
|
52474
|
+
{
|
|
52475
|
+
"kind": "method",
|
|
52476
|
+
"name": "#handlePointerEnd",
|
|
52477
|
+
"privacy": "private",
|
|
52478
|
+
"return": {
|
|
52479
|
+
"type": {
|
|
52480
|
+
"text": "void"
|
|
52481
|
+
}
|
|
52482
|
+
},
|
|
52483
|
+
"parameters": [
|
|
52484
|
+
{
|
|
52485
|
+
"name": "input",
|
|
52486
|
+
"type": {
|
|
52487
|
+
"text": "PointerEndGesture"
|
|
52488
|
+
}
|
|
52489
|
+
}
|
|
52490
|
+
]
|
|
52491
|
+
},
|
|
52492
|
+
{
|
|
52493
|
+
"kind": "method",
|
|
52494
|
+
"name": "#endPinchIfNeeded",
|
|
52495
|
+
"privacy": "private",
|
|
52496
|
+
"return": {
|
|
52497
|
+
"type": {
|
|
52498
|
+
"text": "boolean"
|
|
52499
|
+
}
|
|
52500
|
+
},
|
|
52501
|
+
"parameters": [
|
|
52502
|
+
{
|
|
52503
|
+
"name": "pointerId",
|
|
52504
|
+
"type": {
|
|
52505
|
+
"text": "number"
|
|
52506
|
+
}
|
|
52507
|
+
}
|
|
52508
|
+
]
|
|
52509
|
+
},
|
|
52510
|
+
{
|
|
52511
|
+
"kind": "method",
|
|
52512
|
+
"name": "#finishPointerPan",
|
|
52513
|
+
"privacy": "private",
|
|
52514
|
+
"return": {
|
|
52515
|
+
"type": {
|
|
52516
|
+
"text": "void"
|
|
52517
|
+
}
|
|
52518
|
+
},
|
|
52519
|
+
"parameters": [
|
|
52520
|
+
{
|
|
52521
|
+
"name": "input",
|
|
52522
|
+
"type": {
|
|
52523
|
+
"text": "PointerEndGesture"
|
|
52524
|
+
}
|
|
52525
|
+
},
|
|
52526
|
+
{
|
|
52527
|
+
"name": "session",
|
|
52528
|
+
"type": {
|
|
52529
|
+
"text": "PointerPanSession"
|
|
52530
|
+
}
|
|
52531
|
+
},
|
|
52532
|
+
{
|
|
52533
|
+
"name": "endedPinch",
|
|
52534
|
+
"type": {
|
|
52535
|
+
"text": "boolean"
|
|
52536
|
+
}
|
|
52537
|
+
}
|
|
52538
|
+
]
|
|
52539
|
+
},
|
|
52540
|
+
{
|
|
52541
|
+
"kind": "method",
|
|
52542
|
+
"name": "#handleWheel",
|
|
52543
|
+
"privacy": "private",
|
|
52544
|
+
"return": {
|
|
52545
|
+
"type": {
|
|
52546
|
+
"text": "void"
|
|
52547
|
+
}
|
|
52548
|
+
},
|
|
52549
|
+
"parameters": [
|
|
52550
|
+
{
|
|
52551
|
+
"name": "input",
|
|
52552
|
+
"type": {
|
|
52553
|
+
"text": "WheelGestureInput"
|
|
52554
|
+
}
|
|
52555
|
+
}
|
|
52556
|
+
]
|
|
52557
|
+
},
|
|
52558
|
+
{
|
|
52559
|
+
"kind": "method",
|
|
52560
|
+
"name": "#handleWheelZoom",
|
|
52561
|
+
"privacy": "private",
|
|
52562
|
+
"return": {
|
|
52563
|
+
"type": {
|
|
52564
|
+
"text": "void"
|
|
52565
|
+
}
|
|
52566
|
+
},
|
|
52567
|
+
"parameters": [
|
|
52568
|
+
{
|
|
52569
|
+
"name": "input",
|
|
52570
|
+
"type": {
|
|
52571
|
+
"text": "WheelGestureInput"
|
|
52572
|
+
}
|
|
52573
|
+
}
|
|
52574
|
+
]
|
|
52575
|
+
},
|
|
52576
|
+
{
|
|
52577
|
+
"kind": "method",
|
|
52578
|
+
"name": "#handleWheelPan",
|
|
52579
|
+
"privacy": "private",
|
|
52580
|
+
"return": {
|
|
52581
|
+
"type": {
|
|
52582
|
+
"text": "void"
|
|
52583
|
+
}
|
|
52584
|
+
},
|
|
52585
|
+
"parameters": [
|
|
52586
|
+
{
|
|
52587
|
+
"name": "input",
|
|
52588
|
+
"type": {
|
|
52589
|
+
"text": "WheelGestureInput"
|
|
52590
|
+
}
|
|
52591
|
+
}
|
|
52592
|
+
]
|
|
52593
|
+
},
|
|
52594
|
+
{
|
|
52595
|
+
"kind": "field",
|
|
52596
|
+
"name": "#handleGesture",
|
|
52597
|
+
"privacy": "private"
|
|
52598
|
+
},
|
|
52599
|
+
{
|
|
52600
|
+
"kind": "method",
|
|
52601
|
+
"name": "#handlePointerPan",
|
|
52602
|
+
"privacy": "private",
|
|
52603
|
+
"return": {
|
|
52604
|
+
"type": {
|
|
52605
|
+
"text": "void"
|
|
52606
|
+
}
|
|
52607
|
+
},
|
|
52608
|
+
"parameters": [
|
|
52609
|
+
{
|
|
52610
|
+
"name": "gesture",
|
|
52611
|
+
"type": {
|
|
52612
|
+
"text": "PointerMovementGesture & { readonly kind: 'pan' }"
|
|
52613
|
+
}
|
|
52614
|
+
}
|
|
52615
|
+
]
|
|
52616
|
+
},
|
|
52617
|
+
{
|
|
52618
|
+
"kind": "method",
|
|
52619
|
+
"name": "#dispatchPointerPanAndApplyDefault",
|
|
52620
|
+
"privacy": "private",
|
|
52621
|
+
"return": {
|
|
52622
|
+
"type": {
|
|
52623
|
+
"text": "void"
|
|
52624
|
+
}
|
|
52625
|
+
},
|
|
52626
|
+
"parameters": [
|
|
52627
|
+
{
|
|
52628
|
+
"name": "pointerId",
|
|
52629
|
+
"type": {
|
|
52630
|
+
"text": "number"
|
|
52631
|
+
}
|
|
52632
|
+
},
|
|
52633
|
+
{
|
|
52634
|
+
"name": "session",
|
|
52635
|
+
"type": {
|
|
52636
|
+
"text": "PointerPanSession"
|
|
52637
|
+
}
|
|
52638
|
+
},
|
|
52639
|
+
{
|
|
52640
|
+
"name": "detail",
|
|
52641
|
+
"type": {
|
|
52642
|
+
"text": "ViewportPointerPanDetail"
|
|
52643
|
+
}
|
|
52644
|
+
}
|
|
52645
|
+
]
|
|
52646
|
+
},
|
|
52647
|
+
{
|
|
52648
|
+
"kind": "method",
|
|
52649
|
+
"name": "#activatePendingPan",
|
|
52650
|
+
"privacy": "private",
|
|
52651
|
+
"return": {
|
|
52652
|
+
"type": {
|
|
52653
|
+
"text": "boolean"
|
|
52654
|
+
}
|
|
52655
|
+
},
|
|
52656
|
+
"parameters": [
|
|
52657
|
+
{
|
|
52658
|
+
"name": "pointerId",
|
|
52659
|
+
"type": {
|
|
52660
|
+
"text": "number"
|
|
52661
|
+
}
|
|
52662
|
+
},
|
|
52663
|
+
{
|
|
52664
|
+
"name": "session",
|
|
52665
|
+
"type": {
|
|
52666
|
+
"text": "PointerPanSession"
|
|
52667
|
+
}
|
|
52668
|
+
},
|
|
52669
|
+
{
|
|
52670
|
+
"name": "gesture",
|
|
52671
|
+
"type": {
|
|
52672
|
+
"text": "PointerMovementGesture"
|
|
52673
|
+
}
|
|
52674
|
+
}
|
|
52675
|
+
]
|
|
52676
|
+
},
|
|
52677
|
+
{
|
|
52678
|
+
"kind": "method",
|
|
52679
|
+
"name": "#getAuthoritativePointerPanLifecycle",
|
|
52680
|
+
"privacy": "private",
|
|
52681
|
+
"return": {
|
|
52682
|
+
"type": {
|
|
52683
|
+
"text": "PointerPanLifecycle | undefined"
|
|
52684
|
+
}
|
|
52685
|
+
},
|
|
52686
|
+
"parameters": [
|
|
52687
|
+
{
|
|
52688
|
+
"name": "pointerId",
|
|
52689
|
+
"type": {
|
|
52690
|
+
"text": "number"
|
|
52691
|
+
}
|
|
52692
|
+
},
|
|
52693
|
+
{
|
|
52694
|
+
"name": "session",
|
|
52695
|
+
"type": {
|
|
52696
|
+
"text": "PointerPanSession"
|
|
52697
|
+
}
|
|
52698
|
+
}
|
|
52699
|
+
]
|
|
52700
|
+
},
|
|
52701
|
+
{
|
|
52702
|
+
"kind": "method",
|
|
52703
|
+
"name": "#handlePinchGesture",
|
|
52704
|
+
"privacy": "private",
|
|
52705
|
+
"return": {
|
|
52706
|
+
"type": {
|
|
52707
|
+
"text": "void"
|
|
52708
|
+
}
|
|
52709
|
+
},
|
|
52710
|
+
"parameters": [
|
|
52711
|
+
{
|
|
52712
|
+
"name": "gesture",
|
|
52713
|
+
"type": {
|
|
52714
|
+
"text": "Extract<Gesture<PinchContext>, { kind: 'pinch' }>"
|
|
52715
|
+
}
|
|
52716
|
+
}
|
|
52717
|
+
]
|
|
52718
|
+
},
|
|
52719
|
+
{
|
|
52720
|
+
"kind": "field",
|
|
52721
|
+
"name": "#beginPinch",
|
|
52722
|
+
"privacy": "private"
|
|
52723
|
+
},
|
|
52724
|
+
{
|
|
52725
|
+
"kind": "method",
|
|
52726
|
+
"name": "#interruptPointerPansForPinch",
|
|
52727
|
+
"privacy": "private",
|
|
52728
|
+
"return": {
|
|
52729
|
+
"type": {
|
|
52730
|
+
"text": "void"
|
|
52731
|
+
}
|
|
52732
|
+
},
|
|
52733
|
+
"parameters": [
|
|
52734
|
+
{
|
|
52735
|
+
"name": "event",
|
|
52736
|
+
"type": {
|
|
52737
|
+
"text": "PointerEvent"
|
|
52738
|
+
}
|
|
52739
|
+
}
|
|
52740
|
+
]
|
|
52741
|
+
},
|
|
52742
|
+
{
|
|
52743
|
+
"kind": "method",
|
|
52744
|
+
"name": "#interruptPointerPan",
|
|
52745
|
+
"privacy": "private",
|
|
52746
|
+
"return": {
|
|
52747
|
+
"type": {
|
|
52748
|
+
"text": "void"
|
|
52749
|
+
}
|
|
52750
|
+
},
|
|
52751
|
+
"parameters": [
|
|
52752
|
+
{
|
|
52753
|
+
"name": "end",
|
|
52754
|
+
"type": {
|
|
52755
|
+
"text": "{ readonly event: PointerEvent; readonly reason: ViewportPanEndReason }"
|
|
52756
|
+
}
|
|
52757
|
+
},
|
|
52758
|
+
{
|
|
52759
|
+
"name": "session",
|
|
52760
|
+
"type": {
|
|
52761
|
+
"text": "PointerPanSession"
|
|
52762
|
+
}
|
|
52763
|
+
}
|
|
52764
|
+
]
|
|
52765
|
+
},
|
|
52766
|
+
{
|
|
52767
|
+
"kind": "method",
|
|
52768
|
+
"name": "#suppressPointerPan",
|
|
52769
|
+
"privacy": "private",
|
|
52770
|
+
"return": {
|
|
52771
|
+
"type": {
|
|
52772
|
+
"text": "void"
|
|
52773
|
+
}
|
|
52774
|
+
},
|
|
52775
|
+
"parameters": [
|
|
52776
|
+
{
|
|
52777
|
+
"name": "session",
|
|
52778
|
+
"type": {
|
|
52779
|
+
"text": "PointerPanSession"
|
|
52780
|
+
}
|
|
52781
|
+
}
|
|
52782
|
+
]
|
|
52783
|
+
},
|
|
52784
|
+
{
|
|
52785
|
+
"kind": "method",
|
|
52786
|
+
"name": "#dispatchPanEnd",
|
|
52787
|
+
"privacy": "private",
|
|
52788
|
+
"return": {
|
|
52789
|
+
"type": {
|
|
52790
|
+
"text": "void"
|
|
52791
|
+
}
|
|
52792
|
+
},
|
|
52793
|
+
"parameters": [
|
|
52794
|
+
{
|
|
52795
|
+
"name": "end",
|
|
52796
|
+
"type": {
|
|
52797
|
+
"text": "{ readonly event: PointerEvent; readonly reason: ViewportPanEndReason }"
|
|
52798
|
+
}
|
|
52799
|
+
},
|
|
52800
|
+
{
|
|
52801
|
+
"name": "session",
|
|
52802
|
+
"type": {
|
|
52803
|
+
"text": "PointerPanSession"
|
|
52804
|
+
}
|
|
52805
|
+
},
|
|
52806
|
+
{
|
|
52807
|
+
"name": "interrupted",
|
|
52808
|
+
"type": {
|
|
52809
|
+
"text": "boolean"
|
|
52810
|
+
}
|
|
52811
|
+
}
|
|
52812
|
+
]
|
|
52813
|
+
},
|
|
52814
|
+
{
|
|
52815
|
+
"kind": "field",
|
|
52816
|
+
"name": "#handleSpaceKeyDown",
|
|
52817
|
+
"privacy": "private"
|
|
52818
|
+
},
|
|
52819
|
+
{
|
|
52820
|
+
"kind": "field",
|
|
52821
|
+
"name": "#handleFocus",
|
|
52822
|
+
"privacy": "private"
|
|
52823
|
+
},
|
|
52824
|
+
{
|
|
52825
|
+
"kind": "field",
|
|
52826
|
+
"name": "#handleBlur",
|
|
52827
|
+
"privacy": "private"
|
|
52828
|
+
},
|
|
52829
|
+
{
|
|
52830
|
+
"kind": "field",
|
|
52831
|
+
"name": "#handlePointerOver",
|
|
52832
|
+
"privacy": "private"
|
|
52833
|
+
},
|
|
52834
|
+
{
|
|
52835
|
+
"kind": "method",
|
|
52836
|
+
"name": "#acceptsPointerPan",
|
|
52837
|
+
"privacy": "private",
|
|
52838
|
+
"return": {
|
|
52839
|
+
"type": {
|
|
52840
|
+
"text": "boolean"
|
|
52841
|
+
}
|
|
52842
|
+
},
|
|
52843
|
+
"parameters": [
|
|
52844
|
+
{
|
|
52845
|
+
"name": "event",
|
|
52846
|
+
"type": {
|
|
52847
|
+
"text": "PointerEvent"
|
|
52848
|
+
}
|
|
52849
|
+
}
|
|
52850
|
+
]
|
|
52851
|
+
},
|
|
52852
|
+
{
|
|
52853
|
+
"kind": "method",
|
|
52854
|
+
"name": "#isSpacePanEligible",
|
|
52855
|
+
"privacy": "private",
|
|
52856
|
+
"return": {
|
|
52857
|
+
"type": {
|
|
52858
|
+
"text": "boolean"
|
|
52859
|
+
}
|
|
52860
|
+
}
|
|
52861
|
+
},
|
|
52862
|
+
{
|
|
52863
|
+
"kind": "field",
|
|
52864
|
+
"name": "#shouldIgnoreEvent",
|
|
52865
|
+
"privacy": "private"
|
|
52866
|
+
},
|
|
52867
|
+
{
|
|
52868
|
+
"kind": "field",
|
|
52869
|
+
"name": "#shouldPreventContextMenu",
|
|
52870
|
+
"privacy": "private"
|
|
52871
|
+
},
|
|
52872
|
+
{
|
|
52873
|
+
"kind": "field",
|
|
52874
|
+
"name": "#shouldReservePointerDown",
|
|
52875
|
+
"privacy": "private"
|
|
52876
|
+
},
|
|
52877
|
+
{
|
|
52878
|
+
"kind": "field",
|
|
52879
|
+
"name": "#getTouchAction",
|
|
52880
|
+
"privacy": "private"
|
|
52881
|
+
},
|
|
52882
|
+
{
|
|
52883
|
+
"kind": "method",
|
|
52884
|
+
"name": "#rebasePointerPans",
|
|
52885
|
+
"privacy": "private",
|
|
52886
|
+
"return": {
|
|
52887
|
+
"type": {
|
|
52888
|
+
"text": "void"
|
|
52889
|
+
}
|
|
52890
|
+
}
|
|
52891
|
+
},
|
|
52892
|
+
{
|
|
52893
|
+
"kind": "method",
|
|
52894
|
+
"name": "#rebaseEligiblePointerPan",
|
|
52895
|
+
"privacy": "private",
|
|
52896
|
+
"return": {
|
|
52897
|
+
"type": {
|
|
52898
|
+
"text": "void"
|
|
52899
|
+
}
|
|
52900
|
+
},
|
|
52901
|
+
"parameters": [
|
|
52902
|
+
{
|
|
52903
|
+
"name": "session",
|
|
52904
|
+
"type": {
|
|
52905
|
+
"text": "PointerPanSession"
|
|
52906
|
+
}
|
|
52907
|
+
},
|
|
52908
|
+
{
|
|
52909
|
+
"name": "transformStart",
|
|
52910
|
+
"type": {
|
|
52911
|
+
"text": "ViewportTransform"
|
|
52912
|
+
}
|
|
52913
|
+
}
|
|
52914
|
+
]
|
|
52915
|
+
},
|
|
52916
|
+
{
|
|
52917
|
+
"kind": "field",
|
|
52918
|
+
"name": "#handleClickCapture",
|
|
52919
|
+
"privacy": "private"
|
|
52920
|
+
},
|
|
52921
|
+
{
|
|
52922
|
+
"kind": "method",
|
|
52923
|
+
"name": "#queueClickSuppression",
|
|
52924
|
+
"privacy": "private",
|
|
52925
|
+
"return": {
|
|
52926
|
+
"type": {
|
|
52927
|
+
"text": "void"
|
|
52928
|
+
}
|
|
52929
|
+
},
|
|
52930
|
+
"parameters": [
|
|
52931
|
+
{
|
|
52932
|
+
"name": "pointerId",
|
|
52933
|
+
"type": {
|
|
52934
|
+
"text": "number"
|
|
52935
|
+
}
|
|
52936
|
+
},
|
|
52937
|
+
{
|
|
52938
|
+
"name": "session",
|
|
52939
|
+
"type": {
|
|
52940
|
+
"text": "PointerPanSession"
|
|
52941
|
+
}
|
|
52942
|
+
}
|
|
52943
|
+
]
|
|
52944
|
+
},
|
|
52945
|
+
{
|
|
52946
|
+
"kind": "method",
|
|
52947
|
+
"name": "#clearSuppressedClick",
|
|
52948
|
+
"privacy": "private",
|
|
52949
|
+
"return": {
|
|
52950
|
+
"type": {
|
|
52951
|
+
"text": "void"
|
|
52952
|
+
}
|
|
52953
|
+
},
|
|
52954
|
+
"parameters": [
|
|
52955
|
+
{
|
|
52956
|
+
"name": "pointerId",
|
|
52957
|
+
"type": {
|
|
52958
|
+
"text": "number"
|
|
52959
|
+
}
|
|
52960
|
+
}
|
|
52961
|
+
]
|
|
52962
|
+
},
|
|
52963
|
+
{
|
|
52964
|
+
"kind": "method",
|
|
52965
|
+
"name": "#clearPointerState",
|
|
52966
|
+
"privacy": "private",
|
|
52967
|
+
"return": {
|
|
52968
|
+
"type": {
|
|
52969
|
+
"text": "void"
|
|
52970
|
+
}
|
|
52971
|
+
}
|
|
52972
|
+
},
|
|
52973
|
+
{
|
|
52974
|
+
"kind": "method",
|
|
52975
|
+
"name": "#syncPanningState",
|
|
52976
|
+
"privacy": "private",
|
|
52977
|
+
"return": {
|
|
52978
|
+
"type": {
|
|
52979
|
+
"text": "void"
|
|
52980
|
+
}
|
|
52981
|
+
}
|
|
52982
|
+
},
|
|
52983
|
+
{
|
|
52984
|
+
"kind": "method",
|
|
52985
|
+
"name": "#syncPanEligibleState",
|
|
52986
|
+
"privacy": "private",
|
|
52987
|
+
"return": {
|
|
52988
|
+
"type": {
|
|
52989
|
+
"text": "void"
|
|
52990
|
+
}
|
|
52991
|
+
}
|
|
52992
|
+
},
|
|
52993
|
+
{
|
|
52994
|
+
"kind": "method",
|
|
52995
|
+
"name": "#setSpaceKeyListener",
|
|
52996
|
+
"privacy": "private",
|
|
52997
|
+
"return": {
|
|
52998
|
+
"type": {
|
|
52999
|
+
"text": "void"
|
|
53000
|
+
}
|
|
53001
|
+
},
|
|
53002
|
+
"parameters": [
|
|
53003
|
+
{
|
|
53004
|
+
"name": "enabled",
|
|
53005
|
+
"type": {
|
|
53006
|
+
"text": "boolean"
|
|
53007
|
+
}
|
|
53008
|
+
}
|
|
53009
|
+
]
|
|
53010
|
+
},
|
|
53011
|
+
{
|
|
53012
|
+
"kind": "method",
|
|
53013
|
+
"name": "#setClickListeners",
|
|
53014
|
+
"privacy": "private",
|
|
53015
|
+
"return": {
|
|
53016
|
+
"type": {
|
|
53017
|
+
"text": "void"
|
|
53018
|
+
}
|
|
53019
|
+
},
|
|
53020
|
+
"parameters": [
|
|
53021
|
+
{
|
|
53022
|
+
"name": "enabled",
|
|
53023
|
+
"type": {
|
|
53024
|
+
"text": "boolean"
|
|
53025
|
+
}
|
|
53026
|
+
}
|
|
53027
|
+
]
|
|
53028
|
+
}
|
|
53029
|
+
]
|
|
53030
|
+
},
|
|
53031
|
+
{
|
|
53032
|
+
"kind": "variable",
|
|
53033
|
+
"name": "start"
|
|
53034
|
+
},
|
|
53035
|
+
{
|
|
53036
|
+
"kind": "variable",
|
|
53037
|
+
"name": "anchor"
|
|
53038
|
+
},
|
|
53039
|
+
{
|
|
53040
|
+
"kind": "variable",
|
|
53041
|
+
"name": "factor"
|
|
53042
|
+
},
|
|
53043
|
+
{
|
|
53044
|
+
"kind": "variable",
|
|
53045
|
+
"name": "next"
|
|
53046
|
+
}
|
|
53047
|
+
],
|
|
53048
|
+
"exports": [
|
|
53049
|
+
{
|
|
53050
|
+
"kind": "js",
|
|
53051
|
+
"name": "ViewportGestureNavigationController",
|
|
53052
|
+
"declaration": {
|
|
53053
|
+
"name": "ViewportGestureNavigationController",
|
|
53054
|
+
"module": "/src/viewport/viewport-gesture-navigation.controller.js"
|
|
53055
|
+
}
|
|
53056
|
+
}
|
|
53057
|
+
]
|
|
53058
|
+
},
|
|
53059
|
+
{
|
|
53060
|
+
"kind": "javascript-module",
|
|
53061
|
+
"path": "/src/viewport/viewport-gridlines.js",
|
|
53062
|
+
"declarations": [
|
|
53063
|
+
{
|
|
53064
|
+
"kind": "class",
|
|
53065
|
+
"description": "Renders origin-stable, zoom-adaptive gridlines behind viewport content.",
|
|
53066
|
+
"name": "ViewportGridlines",
|
|
53067
|
+
"cssProperties": [
|
|
53068
|
+
{
|
|
53069
|
+
"description": "Sets the gridline stroke color. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color)",
|
|
53070
|
+
"name": "--color"
|
|
53071
|
+
},
|
|
53072
|
+
{
|
|
53073
|
+
"description": "Sets the approximate stroke width in CSS pixels.",
|
|
53074
|
+
"name": "--line-width"
|
|
53075
|
+
}
|
|
53076
|
+
],
|
|
53077
|
+
"members": [
|
|
53078
|
+
{
|
|
53079
|
+
"kind": "field",
|
|
53080
|
+
"name": "step",
|
|
53081
|
+
"type": {
|
|
53082
|
+
"text": "number",
|
|
53083
|
+
"_sourceAliases": [],
|
|
53084
|
+
"values": [
|
|
53085
|
+
{
|
|
53086
|
+
"value": "number",
|
|
53087
|
+
"description": ""
|
|
53088
|
+
}
|
|
53089
|
+
]
|
|
53090
|
+
},
|
|
53091
|
+
"description": "Smallest gridline interval in content-space units.",
|
|
53092
|
+
"attribute": "step",
|
|
53093
|
+
"reflects": true
|
|
53094
|
+
},
|
|
53095
|
+
{
|
|
53096
|
+
"kind": "field",
|
|
53097
|
+
"name": "originX",
|
|
53098
|
+
"type": {
|
|
53099
|
+
"text": "number",
|
|
53100
|
+
"_sourceAliases": [],
|
|
53101
|
+
"values": [
|
|
53102
|
+
{
|
|
53103
|
+
"value": "number",
|
|
53104
|
+
"description": ""
|
|
53105
|
+
}
|
|
53106
|
+
]
|
|
53107
|
+
},
|
|
53108
|
+
"description": "Content-space x coordinate of the grid origin.",
|
|
53109
|
+
"attribute": "origin-x",
|
|
53110
|
+
"reflects": true
|
|
53111
|
+
},
|
|
53112
|
+
{
|
|
53113
|
+
"kind": "field",
|
|
53114
|
+
"name": "originY",
|
|
53115
|
+
"type": {
|
|
53116
|
+
"text": "number",
|
|
53117
|
+
"_sourceAliases": [],
|
|
53118
|
+
"values": [
|
|
53119
|
+
{
|
|
53120
|
+
"value": "number",
|
|
53121
|
+
"description": ""
|
|
53122
|
+
}
|
|
53123
|
+
]
|
|
53124
|
+
},
|
|
53125
|
+
"description": "Content-space y coordinate of the grid origin.",
|
|
53126
|
+
"attribute": "origin-y",
|
|
53127
|
+
"reflects": true
|
|
53128
|
+
},
|
|
53129
|
+
{
|
|
53130
|
+
"kind": "field",
|
|
53131
|
+
"name": "targetSpacing",
|
|
53132
|
+
"type": {
|
|
53133
|
+
"text": "number",
|
|
53134
|
+
"_sourceAliases": [],
|
|
53135
|
+
"values": [
|
|
53136
|
+
{
|
|
53137
|
+
"value": "number",
|
|
53138
|
+
"description": ""
|
|
53139
|
+
}
|
|
53140
|
+
]
|
|
53141
|
+
},
|
|
53142
|
+
"description": "Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels.",
|
|
53143
|
+
"attribute": "target-spacing",
|
|
53144
|
+
"reflects": true
|
|
53145
|
+
}
|
|
53146
|
+
],
|
|
53147
|
+
"attributes": [
|
|
53148
|
+
{
|
|
53149
|
+
"name": "step",
|
|
53150
|
+
"type": {
|
|
53151
|
+
"text": "number",
|
|
53152
|
+
"_sourceAliases": [],
|
|
53153
|
+
"values": [
|
|
53154
|
+
{
|
|
53155
|
+
"value": "number",
|
|
53156
|
+
"description": ""
|
|
53157
|
+
}
|
|
53158
|
+
]
|
|
53159
|
+
},
|
|
53160
|
+
"description": "Smallest gridline interval in content-space units.",
|
|
53161
|
+
"fieldName": "step"
|
|
53162
|
+
},
|
|
53163
|
+
{
|
|
53164
|
+
"name": "origin-x",
|
|
53165
|
+
"type": {
|
|
53166
|
+
"text": "number",
|
|
53167
|
+
"_sourceAliases": [],
|
|
53168
|
+
"values": [
|
|
53169
|
+
{
|
|
53170
|
+
"value": "number",
|
|
53171
|
+
"description": ""
|
|
53172
|
+
}
|
|
53173
|
+
]
|
|
53174
|
+
},
|
|
53175
|
+
"description": "Content-space x coordinate of the grid origin.",
|
|
53176
|
+
"fieldName": "originX"
|
|
53177
|
+
},
|
|
53178
|
+
{
|
|
53179
|
+
"name": "origin-y",
|
|
53180
|
+
"type": {
|
|
53181
|
+
"text": "number",
|
|
53182
|
+
"_sourceAliases": [],
|
|
53183
|
+
"values": [
|
|
53184
|
+
{
|
|
53185
|
+
"value": "number",
|
|
53186
|
+
"description": ""
|
|
53187
|
+
}
|
|
53188
|
+
]
|
|
53189
|
+
},
|
|
53190
|
+
"description": "Content-space y coordinate of the grid origin.",
|
|
53191
|
+
"fieldName": "originY"
|
|
53192
|
+
},
|
|
53193
|
+
{
|
|
53194
|
+
"name": "target-spacing",
|
|
53195
|
+
"type": {
|
|
53196
|
+
"text": "number",
|
|
53197
|
+
"_sourceAliases": [],
|
|
53198
|
+
"values": [
|
|
53199
|
+
{
|
|
53200
|
+
"value": "number",
|
|
53201
|
+
"description": ""
|
|
53202
|
+
}
|
|
53203
|
+
]
|
|
53204
|
+
},
|
|
53205
|
+
"description": "Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels.",
|
|
53206
|
+
"fieldName": "targetSpacing"
|
|
53207
|
+
}
|
|
53208
|
+
],
|
|
53209
|
+
"superclass": {
|
|
53210
|
+
"name": "LitElement",
|
|
53211
|
+
"package": "lit"
|
|
53212
|
+
},
|
|
53213
|
+
"tagName": "nve-viewport-gridlines",
|
|
53214
|
+
"customElement": true,
|
|
53215
|
+
"metadata": {
|
|
53216
|
+
"unitTests": true,
|
|
53217
|
+
"apiReview": true,
|
|
53218
|
+
"performance": true,
|
|
53219
|
+
"stable": true,
|
|
53220
|
+
"vqa": true,
|
|
53221
|
+
"responsive": true,
|
|
53222
|
+
"themes": true,
|
|
53223
|
+
"aria": "#",
|
|
53224
|
+
"entrypoint": "@nvidia-elements/core/viewport",
|
|
53225
|
+
"example": "",
|
|
53226
|
+
"package": true,
|
|
53227
|
+
"documentation": "https://nvidia.github.io/elements/docs/elements/viewport/",
|
|
53228
|
+
"since": "0.0.0",
|
|
53229
|
+
"status": "beta",
|
|
53230
|
+
"behavior": "content",
|
|
53231
|
+
"markdown": "## nve-viewport-gridlines\n\nRenders origin-stable, zoom-adaptive gridlines behind viewport content.\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| step | `number` | Smallest gridline interval in content-space units. |\n| originX (origin-x) | `number` | Content-space x coordinate of the grid origin. |\n| originY (origin-y) | `number` | Content-space y coordinate of the grid origin. |\n| targetSpacing (target-spacing) | `number` | Target on-screen separation used to choose the adaptive gridline interval, in CSS pixels. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --color | `string` | Sets the gridline stroke color. [MDN](https://mdn.dev/CSS/color) |\n| --line-width | `string` | Sets the approximate stroke width in CSS pixels. |"
|
|
53232
|
+
}
|
|
53233
|
+
}
|
|
53234
|
+
],
|
|
53235
|
+
"exports": [
|
|
53236
|
+
{
|
|
53237
|
+
"kind": "js",
|
|
53238
|
+
"name": "ViewportGridlines",
|
|
53239
|
+
"declaration": {
|
|
53240
|
+
"name": "ViewportGridlines",
|
|
53241
|
+
"module": "/src/viewport/viewport-gridlines.js"
|
|
53242
|
+
}
|
|
53243
|
+
}
|
|
53244
|
+
]
|
|
53245
|
+
},
|
|
53246
|
+
{
|
|
53247
|
+
"kind": "javascript-module",
|
|
53248
|
+
"path": "/src/viewport/viewport-gridlines.utils.js",
|
|
53249
|
+
"declarations": [
|
|
53250
|
+
{
|
|
53251
|
+
"kind": "function",
|
|
53252
|
+
"name": "selectGridlineInterval",
|
|
53253
|
+
"return": {
|
|
53254
|
+
"type": {
|
|
53255
|
+
"text": "number"
|
|
53256
|
+
}
|
|
53257
|
+
},
|
|
53258
|
+
"parameters": [
|
|
53259
|
+
{
|
|
53260
|
+
"name": "options",
|
|
53261
|
+
"type": {
|
|
53262
|
+
"text": "GridlineIntervalOptions",
|
|
53263
|
+
"_sourceAliases": []
|
|
53264
|
+
}
|
|
53265
|
+
}
|
|
53266
|
+
]
|
|
53267
|
+
},
|
|
53268
|
+
{
|
|
53269
|
+
"kind": "function",
|
|
53270
|
+
"name": "createGridlineCoverage",
|
|
53271
|
+
"return": {
|
|
53272
|
+
"type": {
|
|
53273
|
+
"text": "ViewportRect"
|
|
53274
|
+
}
|
|
53275
|
+
},
|
|
53276
|
+
"parameters": [
|
|
53277
|
+
{
|
|
53278
|
+
"name": "visible",
|
|
53279
|
+
"type": {
|
|
53280
|
+
"text": "ViewportRect",
|
|
53281
|
+
"_sourceAliases": []
|
|
53282
|
+
}
|
|
53283
|
+
}
|
|
53284
|
+
]
|
|
53285
|
+
},
|
|
53286
|
+
{
|
|
53287
|
+
"kind": "function",
|
|
53288
|
+
"name": "gridlineCoverageNeedsUpdate",
|
|
53289
|
+
"return": {
|
|
53290
|
+
"type": {
|
|
53291
|
+
"text": "boolean"
|
|
53292
|
+
}
|
|
53293
|
+
},
|
|
53294
|
+
"parameters": [
|
|
53295
|
+
{
|
|
53296
|
+
"name": "coverage",
|
|
53297
|
+
"type": {
|
|
53298
|
+
"text": "ViewportRect | undefined",
|
|
53299
|
+
"_sourceAliases": []
|
|
53300
|
+
}
|
|
53301
|
+
},
|
|
53302
|
+
{
|
|
53303
|
+
"name": "visible",
|
|
53304
|
+
"type": {
|
|
53305
|
+
"text": "ViewportRect",
|
|
53306
|
+
"_sourceAliases": []
|
|
53307
|
+
}
|
|
53308
|
+
}
|
|
53309
|
+
]
|
|
53310
|
+
}
|
|
53311
|
+
],
|
|
53312
|
+
"exports": [
|
|
53313
|
+
{
|
|
53314
|
+
"kind": "js",
|
|
53315
|
+
"name": "selectGridlineInterval",
|
|
53316
|
+
"declaration": {
|
|
53317
|
+
"name": "selectGridlineInterval",
|
|
53318
|
+
"module": "/src/viewport/viewport-gridlines.utils.js"
|
|
53319
|
+
}
|
|
53320
|
+
},
|
|
53321
|
+
{
|
|
53322
|
+
"kind": "js",
|
|
53323
|
+
"name": "createGridlineCoverage",
|
|
53324
|
+
"declaration": {
|
|
53325
|
+
"name": "createGridlineCoverage",
|
|
53326
|
+
"module": "/src/viewport/viewport-gridlines.utils.js"
|
|
53327
|
+
}
|
|
53328
|
+
},
|
|
53329
|
+
{
|
|
53330
|
+
"kind": "js",
|
|
53331
|
+
"name": "gridlineCoverageNeedsUpdate",
|
|
53332
|
+
"declaration": {
|
|
53333
|
+
"name": "gridlineCoverageNeedsUpdate",
|
|
53334
|
+
"module": "/src/viewport/viewport-gridlines.utils.js"
|
|
53335
|
+
}
|
|
53336
|
+
}
|
|
53337
|
+
]
|
|
53338
|
+
},
|
|
53339
|
+
{
|
|
53340
|
+
"kind": "javascript-module",
|
|
53341
|
+
"path": "/src/viewport/viewport-navigation.controller.js",
|
|
53342
|
+
"declarations": [
|
|
53343
|
+
{
|
|
53344
|
+
"kind": "class",
|
|
53345
|
+
"description": "Coordinates the viewport's opt-in keyboard and Invoker navigation behavior.",
|
|
53346
|
+
"name": "ViewportNavigationController",
|
|
53347
|
+
"members": [
|
|
53348
|
+
{
|
|
53349
|
+
"kind": "field",
|
|
53350
|
+
"name": "#host",
|
|
53351
|
+
"privacy": "private",
|
|
53352
|
+
"type": {
|
|
53353
|
+
"text": "ViewportNavigationHost",
|
|
53354
|
+
"_sourceAliases": [],
|
|
53355
|
+
"values": []
|
|
53356
|
+
},
|
|
53357
|
+
"readonly": true,
|
|
53358
|
+
"default": "host"
|
|
53359
|
+
},
|
|
53360
|
+
{
|
|
53361
|
+
"kind": "field",
|
|
53362
|
+
"name": "#delegate",
|
|
53363
|
+
"privacy": "private",
|
|
53364
|
+
"type": {
|
|
53365
|
+
"text": "ViewportNavigationDelegate",
|
|
53366
|
+
"_sourceAliases": [],
|
|
53367
|
+
"values": []
|
|
53368
|
+
},
|
|
53369
|
+
"readonly": true,
|
|
53370
|
+
"default": "delegate"
|
|
53371
|
+
},
|
|
53372
|
+
{
|
|
53373
|
+
"kind": "field",
|
|
53374
|
+
"name": "#managesTabIndex",
|
|
53375
|
+
"privacy": "private",
|
|
53376
|
+
"type": {
|
|
53377
|
+
"text": "boolean",
|
|
53378
|
+
"_sourceAliases": [],
|
|
53379
|
+
"values": [
|
|
53380
|
+
{
|
|
53381
|
+
"value": "boolean",
|
|
53382
|
+
"description": ""
|
|
53383
|
+
}
|
|
53384
|
+
]
|
|
53385
|
+
},
|
|
53386
|
+
"default": "false"
|
|
53387
|
+
},
|
|
53388
|
+
{
|
|
53389
|
+
"kind": "method",
|
|
53390
|
+
"name": "hostConnected",
|
|
53391
|
+
"return": {
|
|
53392
|
+
"type": {
|
|
53393
|
+
"text": "void"
|
|
53394
|
+
}
|
|
53395
|
+
}
|
|
53396
|
+
},
|
|
53397
|
+
{
|
|
53398
|
+
"kind": "method",
|
|
53399
|
+
"name": "hostDisconnected",
|
|
53400
|
+
"return": {
|
|
53401
|
+
"type": {
|
|
53402
|
+
"text": "void"
|
|
53403
|
+
}
|
|
53404
|
+
}
|
|
53405
|
+
},
|
|
53406
|
+
{
|
|
53407
|
+
"kind": "method",
|
|
53408
|
+
"name": "hostUpdated",
|
|
53409
|
+
"return": {
|
|
53410
|
+
"type": {
|
|
53411
|
+
"text": "void"
|
|
53412
|
+
}
|
|
53413
|
+
}
|
|
53414
|
+
},
|
|
53415
|
+
{
|
|
53416
|
+
"kind": "field",
|
|
53417
|
+
"name": "#handleCommand",
|
|
53418
|
+
"privacy": "private"
|
|
53419
|
+
},
|
|
53420
|
+
{
|
|
53421
|
+
"kind": "field",
|
|
53422
|
+
"name": "#handleSpatialKey",
|
|
53423
|
+
"privacy": "private"
|
|
53424
|
+
},
|
|
53425
|
+
{
|
|
53426
|
+
"kind": "method",
|
|
53427
|
+
"name": "#requestDiscretePan",
|
|
53428
|
+
"privacy": "private",
|
|
53429
|
+
"return": {
|
|
53430
|
+
"type": {
|
|
53431
|
+
"text": "void"
|
|
53432
|
+
}
|
|
53433
|
+
},
|
|
53434
|
+
"parameters": [
|
|
53435
|
+
{
|
|
53436
|
+
"name": "event",
|
|
53437
|
+
"type": {
|
|
53438
|
+
"text": "CommandEvent | KeyboardEvent"
|
|
53439
|
+
}
|
|
53440
|
+
},
|
|
53441
|
+
{
|
|
53442
|
+
"name": "request",
|
|
53443
|
+
"type": {
|
|
53444
|
+
"text": "DiscretePanRequest"
|
|
53445
|
+
}
|
|
53446
|
+
}
|
|
53447
|
+
]
|
|
53448
|
+
},
|
|
53449
|
+
{
|
|
53450
|
+
"kind": "field",
|
|
53451
|
+
"name": "#handleViewportKeyDown",
|
|
53452
|
+
"privacy": "private"
|
|
53453
|
+
},
|
|
53454
|
+
{
|
|
53455
|
+
"kind": "method",
|
|
53456
|
+
"name": "#requestZoom",
|
|
53457
|
+
"privacy": "private",
|
|
53458
|
+
"return": {
|
|
53459
|
+
"type": {
|
|
53460
|
+
"text": "void"
|
|
53461
|
+
}
|
|
53462
|
+
},
|
|
53463
|
+
"parameters": [
|
|
53464
|
+
{
|
|
53465
|
+
"name": "event",
|
|
53466
|
+
"type": {
|
|
53467
|
+
"text": "CommandEvent | KeyboardEvent"
|
|
53468
|
+
}
|
|
53469
|
+
},
|
|
53470
|
+
{
|
|
53471
|
+
"name": "next",
|
|
53472
|
+
"type": {
|
|
53473
|
+
"text": "ViewportTransform"
|
|
53474
|
+
}
|
|
53475
|
+
},
|
|
53476
|
+
{
|
|
53477
|
+
"name": "source",
|
|
53478
|
+
"type": {
|
|
53479
|
+
"text": "'command' | 'keyboard'"
|
|
53480
|
+
}
|
|
53481
|
+
}
|
|
53482
|
+
]
|
|
53483
|
+
},
|
|
53484
|
+
{
|
|
53485
|
+
"kind": "method",
|
|
53486
|
+
"name": "#acceptsKeyboardZoom",
|
|
53487
|
+
"privacy": "private",
|
|
53488
|
+
"return": {
|
|
53489
|
+
"type": {
|
|
53490
|
+
"text": "boolean"
|
|
53491
|
+
}
|
|
53492
|
+
},
|
|
53493
|
+
"parameters": [
|
|
53494
|
+
{
|
|
53495
|
+
"name": "event",
|
|
53496
|
+
"type": {
|
|
53497
|
+
"text": "KeyboardEvent"
|
|
53498
|
+
}
|
|
53499
|
+
}
|
|
53500
|
+
]
|
|
53501
|
+
},
|
|
53502
|
+
{
|
|
53503
|
+
"kind": "method",
|
|
53504
|
+
"name": "#acceptsKeyboardPan",
|
|
53505
|
+
"privacy": "private",
|
|
53506
|
+
"return": {
|
|
53507
|
+
"type": {
|
|
53508
|
+
"text": "boolean"
|
|
53509
|
+
}
|
|
53510
|
+
},
|
|
53511
|
+
"parameters": [
|
|
53512
|
+
{
|
|
53513
|
+
"name": "event",
|
|
53514
|
+
"type": {
|
|
53515
|
+
"text": "KeyboardEvent"
|
|
53516
|
+
}
|
|
53517
|
+
}
|
|
53518
|
+
]
|
|
53519
|
+
},
|
|
53520
|
+
{
|
|
53521
|
+
"kind": "method",
|
|
53522
|
+
"name": "#syncFocusability",
|
|
53523
|
+
"privacy": "private",
|
|
53524
|
+
"return": {
|
|
53525
|
+
"type": {
|
|
53526
|
+
"text": "void"
|
|
53527
|
+
}
|
|
53528
|
+
},
|
|
53529
|
+
"parameters": [
|
|
53530
|
+
{
|
|
53531
|
+
"name": "behaviorEnabled",
|
|
53532
|
+
"type": {
|
|
53533
|
+
"text": "boolean"
|
|
53534
|
+
}
|
|
53535
|
+
}
|
|
53536
|
+
]
|
|
53537
|
+
}
|
|
53538
|
+
]
|
|
53539
|
+
},
|
|
53540
|
+
{
|
|
53541
|
+
"kind": "variable",
|
|
53542
|
+
"name": "next"
|
|
53543
|
+
},
|
|
53544
|
+
{
|
|
53545
|
+
"kind": "variable",
|
|
53546
|
+
"name": "start"
|
|
53547
|
+
}
|
|
53548
|
+
],
|
|
53549
|
+
"exports": [
|
|
53550
|
+
{
|
|
53551
|
+
"kind": "js",
|
|
53552
|
+
"name": "ViewportNavigationController",
|
|
53553
|
+
"declaration": {
|
|
53554
|
+
"name": "ViewportNavigationController",
|
|
53555
|
+
"module": "/src/viewport/viewport-navigation.controller.js"
|
|
53556
|
+
}
|
|
53557
|
+
}
|
|
53558
|
+
]
|
|
53559
|
+
},
|
|
53560
|
+
{
|
|
53561
|
+
"kind": "javascript-module",
|
|
53562
|
+
"path": "/src/viewport/viewport-navigation.types.js",
|
|
53563
|
+
"declarations": [],
|
|
53564
|
+
"exports": []
|
|
53565
|
+
},
|
|
53566
|
+
{
|
|
53567
|
+
"kind": "javascript-module",
|
|
53568
|
+
"path": "/src/viewport/viewport-projection.utils.js",
|
|
53569
|
+
"declarations": [
|
|
53570
|
+
{
|
|
53571
|
+
"kind": "function",
|
|
53572
|
+
"name": "anchoredTransform",
|
|
53573
|
+
"return": {
|
|
53574
|
+
"type": {
|
|
53575
|
+
"text": "ViewportTransform"
|
|
53576
|
+
}
|
|
53577
|
+
},
|
|
53578
|
+
"parameters": [
|
|
53579
|
+
{
|
|
53580
|
+
"name": "anchor",
|
|
53581
|
+
"type": {
|
|
53582
|
+
"text": "ViewportPoint",
|
|
53583
|
+
"_sourceAliases": []
|
|
53584
|
+
}
|
|
53585
|
+
},
|
|
53586
|
+
{
|
|
53587
|
+
"name": "viewport",
|
|
53588
|
+
"type": {
|
|
53589
|
+
"text": "ViewportPoint",
|
|
53590
|
+
"_sourceAliases": []
|
|
53591
|
+
}
|
|
53592
|
+
},
|
|
53593
|
+
{
|
|
53594
|
+
"name": "scale",
|
|
53595
|
+
"type": {
|
|
53596
|
+
"text": "number",
|
|
53597
|
+
"_sourceAliases": []
|
|
53598
|
+
}
|
|
53599
|
+
}
|
|
53600
|
+
]
|
|
53601
|
+
},
|
|
53602
|
+
{
|
|
53603
|
+
"kind": "function",
|
|
53604
|
+
"name": "contentPointFromViewport",
|
|
53605
|
+
"return": {
|
|
53606
|
+
"type": {
|
|
53607
|
+
"text": "ViewportPoint"
|
|
53608
|
+
}
|
|
53609
|
+
},
|
|
53610
|
+
"parameters": [
|
|
53611
|
+
{
|
|
53612
|
+
"name": "viewportX",
|
|
53613
|
+
"type": {
|
|
53614
|
+
"text": "number",
|
|
53615
|
+
"_sourceAliases": []
|
|
53616
|
+
}
|
|
53617
|
+
},
|
|
53618
|
+
{
|
|
53619
|
+
"name": "viewportY",
|
|
53620
|
+
"type": {
|
|
53621
|
+
"text": "number",
|
|
53622
|
+
"_sourceAliases": []
|
|
53623
|
+
}
|
|
53624
|
+
},
|
|
53625
|
+
{
|
|
53626
|
+
"name": "transform",
|
|
53627
|
+
"type": {
|
|
53628
|
+
"text": "ViewportTransform",
|
|
53629
|
+
"_sourceAliases": []
|
|
53630
|
+
}
|
|
53631
|
+
}
|
|
53632
|
+
]
|
|
53633
|
+
},
|
|
53634
|
+
{
|
|
53635
|
+
"kind": "function",
|
|
53636
|
+
"name": "centeredScaleTransform",
|
|
53637
|
+
"return": {
|
|
53638
|
+
"type": {
|
|
53639
|
+
"text": "ViewportTransform"
|
|
53640
|
+
}
|
|
53641
|
+
},
|
|
53642
|
+
"parameters": [
|
|
53643
|
+
{
|
|
53644
|
+
"name": "scale",
|
|
53645
|
+
"type": {
|
|
53646
|
+
"text": "number",
|
|
53647
|
+
"_sourceAliases": []
|
|
53648
|
+
}
|
|
53649
|
+
},
|
|
53650
|
+
{
|
|
53651
|
+
"name": "transform",
|
|
53652
|
+
"type": {
|
|
53653
|
+
"text": "ViewportTransform",
|
|
53654
|
+
"_sourceAliases": []
|
|
53655
|
+
}
|
|
53656
|
+
},
|
|
53657
|
+
{
|
|
53658
|
+
"name": "viewportSize",
|
|
53659
|
+
"type": {
|
|
53660
|
+
"text": "{ width: number; height: number }",
|
|
53661
|
+
"_sourceAliases": []
|
|
53662
|
+
}
|
|
53663
|
+
}
|
|
53664
|
+
]
|
|
53665
|
+
}
|
|
53666
|
+
],
|
|
53667
|
+
"exports": [
|
|
53668
|
+
{
|
|
53669
|
+
"kind": "js",
|
|
53670
|
+
"name": "anchoredTransform",
|
|
53671
|
+
"declaration": {
|
|
53672
|
+
"name": "anchoredTransform",
|
|
53673
|
+
"module": "/src/viewport/viewport-projection.utils.js"
|
|
53674
|
+
}
|
|
53675
|
+
},
|
|
53676
|
+
{
|
|
53677
|
+
"kind": "js",
|
|
53678
|
+
"name": "contentPointFromViewport",
|
|
53679
|
+
"declaration": {
|
|
53680
|
+
"name": "contentPointFromViewport",
|
|
53681
|
+
"module": "/src/viewport/viewport-projection.utils.js"
|
|
53682
|
+
}
|
|
53683
|
+
},
|
|
53684
|
+
{
|
|
53685
|
+
"kind": "js",
|
|
53686
|
+
"name": "centeredScaleTransform",
|
|
53687
|
+
"declaration": {
|
|
53688
|
+
"name": "centeredScaleTransform",
|
|
53689
|
+
"module": "/src/viewport/viewport-projection.utils.js"
|
|
53690
|
+
}
|
|
53691
|
+
}
|
|
53692
|
+
]
|
|
53693
|
+
},
|
|
53694
|
+
{
|
|
53695
|
+
"kind": "javascript-module",
|
|
53696
|
+
"path": "/src/viewport/viewport.js",
|
|
53697
|
+
"declarations": [
|
|
53698
|
+
{
|
|
53699
|
+
"kind": "class",
|
|
53700
|
+
"description": "A viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.",
|
|
53701
|
+
"name": "Viewport",
|
|
53702
|
+
"cssProperties": [
|
|
53703
|
+
{
|
|
53704
|
+
"description": "Background color of the fixed viewport area. [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/background)",
|
|
53705
|
+
"name": "--background"
|
|
53706
|
+
},
|
|
53707
|
+
{
|
|
53708
|
+
"name": "--min-height",
|
|
53709
|
+
"description": "[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/min-height)"
|
|
53710
|
+
},
|
|
53711
|
+
{
|
|
53712
|
+
"description": "Cursor shown over a background eligible for primary-pointer panning.",
|
|
53713
|
+
"name": "--pan-cursor"
|
|
53714
|
+
},
|
|
53715
|
+
{
|
|
53716
|
+
"description": "Cursor shown while a pointer pan is active.",
|
|
53717
|
+
"name": "--panning-cursor"
|
|
53718
|
+
}
|
|
53719
|
+
],
|
|
53720
|
+
"slots": [
|
|
53721
|
+
{
|
|
53722
|
+
"description": "Content positioned in the viewport's infinite content space.",
|
|
53723
|
+
"name": ""
|
|
53724
|
+
},
|
|
53725
|
+
{
|
|
53726
|
+
"description": "Custom content rendered behind viewport content and excluded from content fitting",
|
|
53727
|
+
"name": "background"
|
|
53728
|
+
}
|
|
53729
|
+
],
|
|
53730
|
+
"members": [
|
|
53731
|
+
{
|
|
53732
|
+
"kind": "field",
|
|
53733
|
+
"name": "x",
|
|
53734
|
+
"type": {
|
|
53735
|
+
"text": "number",
|
|
53736
|
+
"_sourceAliases": [],
|
|
53737
|
+
"values": [
|
|
53738
|
+
{
|
|
53739
|
+
"value": "number",
|
|
53740
|
+
"description": ""
|
|
53741
|
+
}
|
|
53742
|
+
]
|
|
53743
|
+
},
|
|
53744
|
+
"description": "Horizontal content-space coordinate at the viewport origin.",
|
|
53745
|
+
"attribute": "x"
|
|
53746
|
+
},
|
|
53747
|
+
{
|
|
53748
|
+
"kind": "field",
|
|
53749
|
+
"name": "y",
|
|
53750
|
+
"type": {
|
|
53751
|
+
"text": "number",
|
|
53752
|
+
"_sourceAliases": [],
|
|
53753
|
+
"values": [
|
|
53754
|
+
{
|
|
53755
|
+
"value": "number",
|
|
53756
|
+
"description": ""
|
|
53757
|
+
}
|
|
53758
|
+
]
|
|
53759
|
+
},
|
|
53760
|
+
"description": "Vertical content-space coordinate at the viewport origin.",
|
|
53761
|
+
"attribute": "y"
|
|
53762
|
+
},
|
|
53763
|
+
{
|
|
53764
|
+
"kind": "field",
|
|
53765
|
+
"name": "scale",
|
|
53766
|
+
"type": {
|
|
53767
|
+
"text": "number",
|
|
53768
|
+
"_sourceAliases": [],
|
|
53769
|
+
"values": [
|
|
53770
|
+
{
|
|
53771
|
+
"value": "number",
|
|
53772
|
+
"description": ""
|
|
53773
|
+
}
|
|
53774
|
+
]
|
|
53775
|
+
},
|
|
53776
|
+
"description": "Content-to-viewport CSS-pixel scale.",
|
|
53777
|
+
"attribute": "scale"
|
|
53778
|
+
},
|
|
53779
|
+
{
|
|
53780
|
+
"kind": "field",
|
|
53781
|
+
"name": "minScale",
|
|
53782
|
+
"type": {
|
|
53783
|
+
"text": "number",
|
|
53784
|
+
"_sourceAliases": [],
|
|
53785
|
+
"values": [
|
|
53786
|
+
{
|
|
53787
|
+
"value": "number",
|
|
53788
|
+
"description": ""
|
|
53789
|
+
}
|
|
53790
|
+
]
|
|
53791
|
+
},
|
|
53792
|
+
"description": "Inclusive lower scale limit.",
|
|
53793
|
+
"attribute": "min-scale",
|
|
53794
|
+
"reflects": true
|
|
53795
|
+
},
|
|
53796
|
+
{
|
|
53797
|
+
"kind": "field",
|
|
53798
|
+
"name": "maxScale",
|
|
53799
|
+
"type": {
|
|
53800
|
+
"text": "number",
|
|
53801
|
+
"_sourceAliases": [],
|
|
53802
|
+
"values": [
|
|
53803
|
+
{
|
|
53804
|
+
"value": "number",
|
|
53805
|
+
"description": ""
|
|
53806
|
+
}
|
|
53807
|
+
]
|
|
53808
|
+
},
|
|
53809
|
+
"description": "Inclusive upper scale limit.",
|
|
53810
|
+
"attribute": "max-scale",
|
|
53811
|
+
"reflects": true
|
|
53812
|
+
},
|
|
53813
|
+
{
|
|
53814
|
+
"kind": "field",
|
|
53815
|
+
"name": "behaviorPan",
|
|
53816
|
+
"type": {
|
|
53817
|
+
"text": "boolean | 'space'",
|
|
53818
|
+
"_sourceAliases": [
|
|
53819
|
+
"ViewportPanBehavior"
|
|
53820
|
+
],
|
|
53821
|
+
"values": [
|
|
53822
|
+
{
|
|
53823
|
+
"value": "boolean",
|
|
53824
|
+
"description": ""
|
|
53825
|
+
},
|
|
53826
|
+
{
|
|
53827
|
+
"value": "space",
|
|
53828
|
+
"description": ""
|
|
53829
|
+
}
|
|
53830
|
+
]
|
|
53831
|
+
},
|
|
53832
|
+
"description": "Enables panning by pointer, focused wheel, focused keyboard, and Invoker commands; requires Space for primary-pointer dragging when set to space.",
|
|
53833
|
+
"attribute": "behavior-pan",
|
|
53834
|
+
"reflects": true
|
|
53835
|
+
},
|
|
53836
|
+
{
|
|
53837
|
+
"kind": "field",
|
|
53838
|
+
"name": "behaviorZoom",
|
|
53839
|
+
"type": {
|
|
53840
|
+
"text": "boolean",
|
|
53841
|
+
"_sourceAliases": [],
|
|
53842
|
+
"values": [
|
|
53843
|
+
{
|
|
53844
|
+
"value": "true",
|
|
53845
|
+
"description": ""
|
|
53846
|
+
},
|
|
53847
|
+
{
|
|
53848
|
+
"value": "false",
|
|
53849
|
+
"description": ""
|
|
53850
|
+
}
|
|
53851
|
+
]
|
|
53852
|
+
},
|
|
53853
|
+
"default": "false",
|
|
53854
|
+
"description": "Enables zooming by pinch, focused modified wheel, focused keyboard, and Invoker commands.",
|
|
53855
|
+
"attribute": "behavior-zoom",
|
|
53856
|
+
"reflects": true
|
|
53857
|
+
},
|
|
53858
|
+
{
|
|
53859
|
+
"kind": "field",
|
|
53860
|
+
"name": "autoFit",
|
|
53861
|
+
"type": {
|
|
53862
|
+
"text": "boolean",
|
|
53863
|
+
"_sourceAliases": [],
|
|
53864
|
+
"values": [
|
|
53865
|
+
{
|
|
53866
|
+
"value": "true",
|
|
53867
|
+
"description": ""
|
|
53868
|
+
},
|
|
53869
|
+
{
|
|
53870
|
+
"value": "false",
|
|
53871
|
+
"description": ""
|
|
53872
|
+
}
|
|
53873
|
+
]
|
|
53874
|
+
},
|
|
53875
|
+
"default": "false",
|
|
53876
|
+
"description": "Fits measurable direct default-slot content once after initial layout.",
|
|
53877
|
+
"attribute": "autoFit",
|
|
53878
|
+
"reflects": true
|
|
53879
|
+
},
|
|
53880
|
+
{
|
|
53881
|
+
"kind": "field",
|
|
53882
|
+
"name": "fitInset",
|
|
53883
|
+
"type": {
|
|
53884
|
+
"text": "number",
|
|
53885
|
+
"_sourceAliases": [],
|
|
53886
|
+
"values": [
|
|
53887
|
+
{
|
|
53888
|
+
"value": "number",
|
|
53889
|
+
"description": ""
|
|
53890
|
+
}
|
|
53891
|
+
]
|
|
53892
|
+
},
|
|
53893
|
+
"description": "Default uniform CSS-pixel inset reserved around bounds when fitting content.",
|
|
53894
|
+
"attribute": "fit-inset",
|
|
53895
|
+
"reflects": true
|
|
53896
|
+
},
|
|
53897
|
+
{
|
|
53898
|
+
"kind": "field",
|
|
53899
|
+
"name": "dragThreshold",
|
|
53900
|
+
"type": {
|
|
53901
|
+
"text": "number",
|
|
53902
|
+
"_sourceAliases": [],
|
|
53903
|
+
"values": [
|
|
53904
|
+
{
|
|
53905
|
+
"value": "number",
|
|
53906
|
+
"description": ""
|
|
53907
|
+
}
|
|
53908
|
+
]
|
|
53909
|
+
},
|
|
53910
|
+
"description": "CSS-pixel pointer movement required before a pointer pan begins.",
|
|
53911
|
+
"attribute": "drag-threshold",
|
|
53912
|
+
"reflects": true
|
|
53913
|
+
},
|
|
53914
|
+
{
|
|
53915
|
+
"kind": "method",
|
|
53916
|
+
"name": "toViewportCoords",
|
|
53917
|
+
"return": {
|
|
53918
|
+
"type": {
|
|
53919
|
+
"text": "ViewportPoint"
|
|
53920
|
+
}
|
|
53921
|
+
},
|
|
53922
|
+
"parameters": [
|
|
53923
|
+
{
|
|
53924
|
+
"name": "contentX",
|
|
53925
|
+
"type": {
|
|
53926
|
+
"text": "number"
|
|
53927
|
+
}
|
|
53928
|
+
},
|
|
53929
|
+
{
|
|
53930
|
+
"name": "contentY",
|
|
53931
|
+
"type": {
|
|
53932
|
+
"text": "number"
|
|
53933
|
+
}
|
|
53934
|
+
}
|
|
53935
|
+
],
|
|
53936
|
+
"description": "Converts a content-space point to viewport CSS pixels."
|
|
53937
|
+
},
|
|
53938
|
+
{
|
|
53939
|
+
"kind": "method",
|
|
53940
|
+
"name": "toContentCoords",
|
|
53941
|
+
"return": {
|
|
53942
|
+
"type": {
|
|
53943
|
+
"text": "ViewportPoint"
|
|
53944
|
+
}
|
|
53945
|
+
},
|
|
53946
|
+
"parameters": [
|
|
53947
|
+
{
|
|
53948
|
+
"name": "viewportX",
|
|
53949
|
+
"type": {
|
|
53950
|
+
"text": "number"
|
|
53951
|
+
}
|
|
53952
|
+
},
|
|
53953
|
+
{
|
|
53954
|
+
"name": "viewportY",
|
|
53955
|
+
"type": {
|
|
53956
|
+
"text": "number"
|
|
53957
|
+
}
|
|
53958
|
+
}
|
|
53959
|
+
],
|
|
53960
|
+
"description": "Converts a viewport CSS-pixel point to content space."
|
|
53961
|
+
},
|
|
53962
|
+
{
|
|
53963
|
+
"kind": "method",
|
|
53964
|
+
"name": "getTransform",
|
|
53965
|
+
"return": {
|
|
53966
|
+
"type": {
|
|
53967
|
+
"text": "ViewportTransform"
|
|
53968
|
+
}
|
|
53969
|
+
},
|
|
53970
|
+
"description": "Returns the current content-space origin and CSS-pixel scale."
|
|
53971
|
+
},
|
|
53972
|
+
{
|
|
53973
|
+
"kind": "method",
|
|
53974
|
+
"name": "getVisibleRect",
|
|
53975
|
+
"return": {
|
|
53976
|
+
"type": {
|
|
53977
|
+
"text": "ViewportRect"
|
|
53978
|
+
}
|
|
53979
|
+
},
|
|
53980
|
+
"description": "Returns the visible content-space rectangle."
|
|
53981
|
+
},
|
|
53982
|
+
{
|
|
53983
|
+
"kind": "method",
|
|
53984
|
+
"name": "animateTo",
|
|
53985
|
+
"return": {
|
|
53986
|
+
"type": {
|
|
53987
|
+
"text": "void"
|
|
53988
|
+
}
|
|
53989
|
+
},
|
|
53990
|
+
"parameters": [
|
|
53991
|
+
{
|
|
53992
|
+
"name": "target",
|
|
53993
|
+
"type": {
|
|
53994
|
+
"text": "Partial<ViewportTransform>"
|
|
53995
|
+
}
|
|
53996
|
+
},
|
|
53997
|
+
{
|
|
53998
|
+
"name": "options",
|
|
53999
|
+
"default": "{}",
|
|
54000
|
+
"type": {
|
|
54001
|
+
"text": "ViewportAnimationOptions"
|
|
54002
|
+
}
|
|
54003
|
+
}
|
|
54004
|
+
],
|
|
54005
|
+
"description": "Animates the viewport to the requested partial transform."
|
|
54006
|
+
},
|
|
54007
|
+
{
|
|
54008
|
+
"kind": "method",
|
|
54009
|
+
"name": "reveal",
|
|
54010
|
+
"return": {
|
|
54011
|
+
"type": {
|
|
54012
|
+
"text": "void"
|
|
54013
|
+
}
|
|
54014
|
+
},
|
|
54015
|
+
"parameters": [
|
|
54016
|
+
{
|
|
54017
|
+
"name": "region",
|
|
54018
|
+
"type": {
|
|
54019
|
+
"text": "{ x: number; y: number; width?: number; height?: number }"
|
|
54020
|
+
}
|
|
54021
|
+
},
|
|
54022
|
+
{
|
|
54023
|
+
"name": "options",
|
|
54024
|
+
"default": "{}",
|
|
54025
|
+
"type": {
|
|
54026
|
+
"text": "ViewportRevealOptions"
|
|
54027
|
+
}
|
|
54028
|
+
}
|
|
54029
|
+
],
|
|
54030
|
+
"description": "Centers or fits a content-space region within the viewport."
|
|
54031
|
+
},
|
|
54032
|
+
{
|
|
54033
|
+
"kind": "method",
|
|
54034
|
+
"name": "fitContents",
|
|
54035
|
+
"return": {
|
|
54036
|
+
"type": {
|
|
54037
|
+
"text": "void"
|
|
54038
|
+
}
|
|
54039
|
+
},
|
|
54040
|
+
"parameters": [
|
|
54041
|
+
{
|
|
54042
|
+
"name": "options",
|
|
54043
|
+
"default": "{}",
|
|
54044
|
+
"type": {
|
|
54045
|
+
"text": "ViewportRevealOptions"
|
|
54046
|
+
}
|
|
54047
|
+
}
|
|
54048
|
+
],
|
|
54049
|
+
"description": "Fits the union of direct default-slot element boxes within the viewport."
|
|
54050
|
+
}
|
|
54051
|
+
],
|
|
54052
|
+
"events": [
|
|
54053
|
+
{
|
|
54054
|
+
"name": "viewportchange",
|
|
54055
|
+
"type": {
|
|
54056
|
+
"text": "CustomEvent"
|
|
54057
|
+
},
|
|
54058
|
+
"description": "Dispatched once after a render that commits one or more viewport transform changes."
|
|
54059
|
+
},
|
|
54060
|
+
{
|
|
54061
|
+
"name": "type",
|
|
54062
|
+
"type": {
|
|
54063
|
+
"text": "CustomEvent"
|
|
54064
|
+
}
|
|
54065
|
+
},
|
|
54066
|
+
{
|
|
54067
|
+
"description": "Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence.",
|
|
54068
|
+
"name": "panstart"
|
|
54069
|
+
},
|
|
54070
|
+
{
|
|
54071
|
+
"description": "Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation.",
|
|
54072
|
+
"name": "pan"
|
|
54073
|
+
},
|
|
54074
|
+
{
|
|
54075
|
+
"description": "Dispatched when a pointer pan ends, including its terminal reason.",
|
|
54076
|
+
"name": "panend"
|
|
54077
|
+
},
|
|
54078
|
+
{
|
|
54079
|
+
"description": "Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation.",
|
|
54080
|
+
"name": "zoom"
|
|
54081
|
+
}
|
|
54082
|
+
],
|
|
54083
|
+
"attributes": [
|
|
54084
|
+
{
|
|
54085
|
+
"name": "x",
|
|
54086
|
+
"type": {
|
|
54087
|
+
"text": "number",
|
|
54088
|
+
"_sourceAliases": [],
|
|
54089
|
+
"values": [
|
|
54090
|
+
{
|
|
54091
|
+
"value": "number",
|
|
54092
|
+
"description": ""
|
|
54093
|
+
}
|
|
54094
|
+
]
|
|
54095
|
+
},
|
|
54096
|
+
"description": "Horizontal content-space coordinate at the viewport origin.",
|
|
54097
|
+
"fieldName": "x"
|
|
54098
|
+
},
|
|
54099
|
+
{
|
|
54100
|
+
"name": "y",
|
|
54101
|
+
"type": {
|
|
54102
|
+
"text": "number",
|
|
54103
|
+
"_sourceAliases": [],
|
|
54104
|
+
"values": [
|
|
54105
|
+
{
|
|
54106
|
+
"value": "number",
|
|
54107
|
+
"description": ""
|
|
54108
|
+
}
|
|
54109
|
+
]
|
|
54110
|
+
},
|
|
54111
|
+
"description": "Vertical content-space coordinate at the viewport origin.",
|
|
54112
|
+
"fieldName": "y"
|
|
54113
|
+
},
|
|
54114
|
+
{
|
|
54115
|
+
"name": "scale",
|
|
54116
|
+
"type": {
|
|
54117
|
+
"text": "number",
|
|
54118
|
+
"_sourceAliases": [],
|
|
54119
|
+
"values": [
|
|
54120
|
+
{
|
|
54121
|
+
"value": "number",
|
|
54122
|
+
"description": ""
|
|
54123
|
+
}
|
|
54124
|
+
]
|
|
54125
|
+
},
|
|
54126
|
+
"description": "Content-to-viewport CSS-pixel scale.",
|
|
54127
|
+
"fieldName": "scale"
|
|
54128
|
+
},
|
|
54129
|
+
{
|
|
54130
|
+
"name": "min-scale",
|
|
54131
|
+
"type": {
|
|
54132
|
+
"text": "number",
|
|
54133
|
+
"_sourceAliases": [],
|
|
54134
|
+
"values": [
|
|
54135
|
+
{
|
|
54136
|
+
"value": "number",
|
|
54137
|
+
"description": ""
|
|
54138
|
+
}
|
|
54139
|
+
]
|
|
54140
|
+
},
|
|
54141
|
+
"description": "Inclusive lower scale limit.",
|
|
54142
|
+
"fieldName": "minScale"
|
|
54143
|
+
},
|
|
54144
|
+
{
|
|
54145
|
+
"name": "max-scale",
|
|
54146
|
+
"type": {
|
|
54147
|
+
"text": "number",
|
|
54148
|
+
"_sourceAliases": [],
|
|
54149
|
+
"values": [
|
|
54150
|
+
{
|
|
54151
|
+
"value": "number",
|
|
54152
|
+
"description": ""
|
|
54153
|
+
}
|
|
54154
|
+
]
|
|
54155
|
+
},
|
|
54156
|
+
"description": "Inclusive upper scale limit.",
|
|
54157
|
+
"fieldName": "maxScale"
|
|
54158
|
+
},
|
|
54159
|
+
{
|
|
54160
|
+
"name": "behavior-pan",
|
|
54161
|
+
"type": {
|
|
54162
|
+
"text": "boolean | 'space'",
|
|
54163
|
+
"_sourceAliases": [
|
|
54164
|
+
"ViewportPanBehavior"
|
|
54165
|
+
],
|
|
54166
|
+
"values": [
|
|
54167
|
+
{
|
|
54168
|
+
"value": "boolean",
|
|
54169
|
+
"description": ""
|
|
54170
|
+
},
|
|
54171
|
+
{
|
|
54172
|
+
"value": "space",
|
|
54173
|
+
"description": ""
|
|
54174
|
+
}
|
|
54175
|
+
]
|
|
54176
|
+
},
|
|
54177
|
+
"description": "Enables panning by pointer, focused wheel, focused keyboard, and Invoker commands; requires Space for primary-pointer dragging when set to space.",
|
|
54178
|
+
"fieldName": "behaviorPan"
|
|
54179
|
+
},
|
|
54180
|
+
{
|
|
54181
|
+
"name": "behavior-zoom",
|
|
54182
|
+
"type": {
|
|
54183
|
+
"text": "boolean",
|
|
54184
|
+
"_sourceAliases": [],
|
|
54185
|
+
"values": [
|
|
54186
|
+
{
|
|
54187
|
+
"value": "true",
|
|
54188
|
+
"description": ""
|
|
54189
|
+
},
|
|
54190
|
+
{
|
|
54191
|
+
"value": "false",
|
|
54192
|
+
"description": ""
|
|
54193
|
+
}
|
|
54194
|
+
]
|
|
54195
|
+
},
|
|
54196
|
+
"default": "false",
|
|
54197
|
+
"description": "Enables zooming by pinch, focused modified wheel, focused keyboard, and Invoker commands.",
|
|
54198
|
+
"fieldName": "behaviorZoom"
|
|
54199
|
+
},
|
|
54200
|
+
{
|
|
54201
|
+
"name": "autoFit",
|
|
54202
|
+
"type": {
|
|
54203
|
+
"text": "boolean",
|
|
54204
|
+
"_sourceAliases": [],
|
|
54205
|
+
"values": [
|
|
54206
|
+
{
|
|
54207
|
+
"value": "true",
|
|
54208
|
+
"description": ""
|
|
54209
|
+
},
|
|
54210
|
+
{
|
|
54211
|
+
"value": "false",
|
|
54212
|
+
"description": ""
|
|
54213
|
+
}
|
|
54214
|
+
]
|
|
54215
|
+
},
|
|
54216
|
+
"default": "false",
|
|
54217
|
+
"description": "Fits measurable direct default-slot content once after initial layout.",
|
|
54218
|
+
"fieldName": "autoFit"
|
|
54219
|
+
},
|
|
54220
|
+
{
|
|
54221
|
+
"name": "fit-inset",
|
|
54222
|
+
"type": {
|
|
54223
|
+
"text": "number",
|
|
54224
|
+
"_sourceAliases": [],
|
|
54225
|
+
"values": [
|
|
54226
|
+
{
|
|
54227
|
+
"value": "number",
|
|
54228
|
+
"description": ""
|
|
54229
|
+
}
|
|
54230
|
+
]
|
|
54231
|
+
},
|
|
54232
|
+
"description": "Default uniform CSS-pixel inset reserved around bounds when fitting content.",
|
|
54233
|
+
"fieldName": "fitInset"
|
|
54234
|
+
},
|
|
54235
|
+
{
|
|
54236
|
+
"name": "drag-threshold",
|
|
54237
|
+
"type": {
|
|
54238
|
+
"text": "number",
|
|
54239
|
+
"_sourceAliases": [],
|
|
54240
|
+
"values": [
|
|
54241
|
+
{
|
|
54242
|
+
"value": "number",
|
|
54243
|
+
"description": ""
|
|
54244
|
+
}
|
|
54245
|
+
]
|
|
54246
|
+
},
|
|
54247
|
+
"description": "CSS-pixel pointer movement required before a pointer pan begins.",
|
|
54248
|
+
"fieldName": "dragThreshold"
|
|
54249
|
+
}
|
|
54250
|
+
],
|
|
54251
|
+
"superclass": {
|
|
54252
|
+
"name": "LitElement",
|
|
54253
|
+
"package": "lit"
|
|
54254
|
+
},
|
|
54255
|
+
"tagName": "nve-viewport",
|
|
54256
|
+
"customElement": true,
|
|
54257
|
+
"metadata": {
|
|
54258
|
+
"unitTests": true,
|
|
54259
|
+
"apiReview": true,
|
|
54260
|
+
"performance": true,
|
|
54261
|
+
"stable": false,
|
|
54262
|
+
"vqa": true,
|
|
54263
|
+
"responsive": true,
|
|
54264
|
+
"themes": true,
|
|
54265
|
+
"aria": "#",
|
|
54266
|
+
"entrypoint": "@nvidia-elements/core/viewport",
|
|
54267
|
+
"example": "<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"710\" height=\"410\" viewBox=\"0 0 710 410\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"100\" cy=\"300\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"250\" y=\"0\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 600 190 L 710 300 L 600 410 L 490 300 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n </svg>\n</nve-viewport>",
|
|
54268
|
+
"package": true,
|
|
54269
|
+
"documentation": "https://nvidia.github.io/elements/docs/elements/viewport/",
|
|
54270
|
+
"since": "0.0.0",
|
|
54271
|
+
"status": "beta",
|
|
54272
|
+
"behavior": "content",
|
|
54273
|
+
"markdown": "## nve-viewport\n\nA viewport provides a spatial surface for arbitrary content, with optional pan and zoom navigation.\n\n### Example\n\n```html\n<nve-viewport autofit fit-inset=\"24\" behavior-pan behavior-zoom style=\"height: 420px\">\n <nve-viewport-gridlines></nve-viewport-gridlines>\n <svg role=\"img\" aria-label=\"Three geometric forms in a spatial field\" width=\"710\" height=\"410\" viewBox=\"0 0 710 410\" style=\"position: absolute; left: 0; top: 0\">\n <circle cx=\"100\" cy=\"300\" r=\"100\" fill=\"var(--nve-ref-color-green-jade-600)\"></circle>\n <rect x=\"250\" y=\"0\" width=\"200\" height=\"200\" rx=\"50\" fill=\"var(--nve-ref-color-blue-cobalt-600)\"></rect>\n <path d=\"M 600 190 L 710 300 L 600 410 L 490 300 Z\" fill=\"var(--nve-ref-color-purple-lavender-600)\"></path>\n </svg>\n</nve-viewport>\n```\n\n### Import\n\n```javascript\nimport '@nvidia-elements/core/viewport/define.js';\n```\n\n### Slots\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| (default) | `string` | Content positioned in the viewport's infinite content space. |\n| background | `string` | Custom content rendered behind viewport content and excluded from content fitting |\n\n### Properties / Attributes\n\n| property (attribute) | value | description |\n| -------------------- | ----- | ----------- |\n| x | `number` | Horizontal content-space coordinate at the viewport origin. |\n| y | `number` | Vertical content-space coordinate at the viewport origin. |\n| scale | `number` | Content-to-viewport CSS-pixel scale. |\n| minScale (min-scale) | `number` | Inclusive lower scale limit. |\n| maxScale (max-scale) | `number` | Inclusive upper scale limit. |\n| behaviorPan (behavior-pan) | `boolean \\| 'space'` | Enables panning by pointer, focused wheel, focused keyboard, and Invoker commands; requires Space for primary-pointer dragging when set to space. |\n| behaviorZoom (behavior-zoom) | `boolean` | Enables zooming by pinch, focused modified wheel, focused keyboard, and Invoker commands. |\n| autoFit | `boolean` | Fits measurable direct default-slot content once after initial layout. |\n| fitInset (fit-inset) | `number` | Default uniform CSS-pixel inset reserved around bounds when fitting content. |\n| dragThreshold (drag-threshold) | `number` | CSS-pixel pointer movement required before a pointer pan begins. |\n| toViewportCoords | | Converts a content-space point to viewport CSS pixels. |\n| toContentCoords | | Converts a viewport CSS-pixel point to content space. |\n| getTransform | | Returns the current content-space origin and CSS-pixel scale. |\n| getVisibleRect | | Returns the visible content-space rectangle. |\n| animateTo | | Animates the viewport to the requested partial transform. |\n| reveal | | Centers or fits a content-space region within the viewport. |\n| fitContents | | Fits the union of direct default-slot element boxes within the viewport. |\n\n### Events\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| viewportchange | `CustomEvent` | Dispatched once after a render that commits one or more viewport transform changes. |\n| type | `CustomEvent` | |\n| panstart | `CustomEvent` | Dispatched when pointer movement crosses the pan threshold. Cancel to disable built-in pointer panning for the sequence. |\n| pan | `CustomEvent` | Dispatched when pointer, wheel, keyboard, or command input requests a pan. Cancel to skip the proposed transform mutation. |\n| panend | `CustomEvent` | Dispatched when a pointer pan ends, including its terminal reason. |\n| zoom | `CustomEvent` | Dispatched when wheel, pinch, or command input requests a scale change. Cancel to skip the proposed transform mutation. |\n\n### Invoker Commands\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --pan-left | `CommandEvent` | With behavior-pan enabled, pans left by one discrete step. |\n| --pan-right | `CommandEvent` | With behavior-pan enabled, pans right by one discrete step. |\n| --pan-up | `CommandEvent` | With behavior-pan enabled, pans up by one discrete step. |\n| --pan-down | `CommandEvent` | With behavior-pan enabled, pans down by one discrete step. |\n| --zoom-in | `CommandEvent` | With behavior-zoom enabled, animates to the next permitted scale step. |\n| --zoom-out | `CommandEvent` | With behavior-zoom enabled, animates to the previous permitted scale step. |\n| --zoom-reset | `CommandEvent` | With behavior-zoom enabled, animates to 100% scale. |\n| --zoom-to-fit | `CommandEvent` | With behavior-zoom enabled, animates to fit direct default-slot element boxes. |\n\n### CSS Properties\n\n| name | value | description |\n| ---- | ----- | ----------- |\n| --background | `string` | Background color of the fixed viewport area. [MDN](https://mdn.dev/CSS/background) |\n| --min-height | `string` | [MDN](https://mdn.dev/CSS/min-height) |\n| --pan-cursor | `string` | Cursor shown over a background eligible for primary-pointer panning. |\n| --panning-cursor | `string` | Cursor shown while a pointer pan is active. |"
|
|
54274
|
+
},
|
|
54275
|
+
"commands": [
|
|
54276
|
+
{
|
|
54277
|
+
"name": "--pan-left",
|
|
54278
|
+
"description": "With behavior-pan enabled, pans left by one discrete step."
|
|
54279
|
+
},
|
|
54280
|
+
{
|
|
54281
|
+
"name": "--pan-right",
|
|
54282
|
+
"description": "With behavior-pan enabled, pans right by one discrete step."
|
|
54283
|
+
},
|
|
54284
|
+
{
|
|
54285
|
+
"name": "--pan-up",
|
|
54286
|
+
"description": "With behavior-pan enabled, pans up by one discrete step."
|
|
54287
|
+
},
|
|
54288
|
+
{
|
|
54289
|
+
"name": "--pan-down",
|
|
54290
|
+
"description": "With behavior-pan enabled, pans down by one discrete step."
|
|
54291
|
+
},
|
|
54292
|
+
{
|
|
54293
|
+
"name": "--zoom-in",
|
|
54294
|
+
"description": "With behavior-zoom enabled, animates to the next permitted scale step."
|
|
54295
|
+
},
|
|
54296
|
+
{
|
|
54297
|
+
"name": "--zoom-out",
|
|
54298
|
+
"description": "With behavior-zoom enabled, animates to the previous permitted scale step."
|
|
54299
|
+
},
|
|
54300
|
+
{
|
|
54301
|
+
"name": "--zoom-reset",
|
|
54302
|
+
"description": "With behavior-zoom enabled, animates to 100% scale."
|
|
54303
|
+
},
|
|
54304
|
+
{
|
|
54305
|
+
"name": "--zoom-to-fit",
|
|
54306
|
+
"description": "With behavior-zoom enabled, animates to fit direct default-slot element boxes."
|
|
54307
|
+
}
|
|
54308
|
+
]
|
|
54309
|
+
}
|
|
54310
|
+
],
|
|
54311
|
+
"exports": [
|
|
54312
|
+
{
|
|
54313
|
+
"kind": "js",
|
|
54314
|
+
"name": "Viewport",
|
|
54315
|
+
"declaration": {
|
|
54316
|
+
"name": "Viewport",
|
|
54317
|
+
"module": "/src/viewport/viewport.js"
|
|
54318
|
+
}
|
|
54319
|
+
}
|
|
54320
|
+
]
|
|
54321
|
+
},
|
|
54322
|
+
{
|
|
54323
|
+
"kind": "javascript-module",
|
|
54324
|
+
"path": "/src/viewport/viewport.types.js",
|
|
54325
|
+
"declarations": [],
|
|
54326
|
+
"exports": []
|
|
54327
|
+
},
|
|
51065
54328
|
{
|
|
51066
54329
|
"kind": "javascript-module",
|
|
51067
54330
|
"path": "/src/week/define.js",
|