@shortfuse/materialdesignweb 0.8.0 → 0.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/README.md +32 -24
- package/bin/mdw-css.js +1 -1
- package/components/Badge.js +12 -5
- package/components/Body.js +3 -0
- package/components/BottomAppBar.js +1 -8
- package/components/BottomSheet.js +424 -0
- package/components/Box.js +11 -49
- package/components/Button.js +61 -82
- package/components/Card.js +56 -61
- package/components/Checkbox.js +7 -25
- package/components/CheckboxIcon.js +10 -28
- package/components/Chip.js +13 -11
- package/components/Dialog.js +49 -98
- package/components/Display.js +55 -0
- package/components/Fab.js +83 -17
- package/components/FabContainer.js +48 -0
- package/components/FilterChip.js +34 -32
- package/components/Grid.js +176 -0
- package/components/Headline.js +5 -28
- package/components/Icon.js +54 -69
- package/components/IconButton.js +71 -120
- package/components/Input.js +669 -83
- package/components/InputChip.js +161 -0
- package/components/Label.js +3 -0
- package/components/List.js +1 -5
- package/components/ListItem.js +39 -23
- package/components/ListOption.js +79 -62
- package/components/Listbox.js +19 -10
- package/components/Menu.js +8 -18
- package/components/MenuItem.js +25 -26
- package/components/NavBar.js +53 -19
- package/components/NavDrawer.js +15 -15
- package/components/NavDrawerItem.js +2 -4
- package/components/NavItem.js +40 -33
- package/components/NavRail.js +23 -21
- package/components/NavRailItem.js +5 -2
- package/components/Page.js +105 -0
- package/components/Pane.js +18 -0
- package/components/Popup.js +17 -8
- package/components/Radio.js +2 -5
- package/components/RadioIcon.js +10 -14
- package/components/Ripple.js +11 -7
- package/components/Root.js +209 -0
- package/components/Scrim.js +87 -0
- package/components/Search.js +12 -20
- package/components/SegmentedButton.js +33 -36
- package/components/SegmentedButtonGroup.js +9 -3
- package/components/Select.js +6 -7
- package/components/Shape.js +5 -65
- package/components/SideSheet.js +308 -0
- package/components/Slider.js +71 -34
- package/components/Snackbar.js +22 -16
- package/components/SnackbarContainer.js +42 -0
- package/components/Surface.js +15 -10
- package/components/Switch.js +3 -16
- package/components/SwitchIcon.js +40 -32
- package/components/Tab.js +57 -38
- package/components/TabContent.js +1 -0
- package/components/TabList.js +60 -32
- package/components/TabPanel.js +1 -1
- package/components/Table.js +116 -0
- package/components/TextArea.js +16 -15
- package/components/Title.js +4 -9
- package/components/Tooltip.js +43 -21
- package/components/TopAppBar.js +56 -78
- package/constants/shapes.js +36 -0
- package/constants/typography.js +127 -0
- package/core/Composition.js +354 -192
- package/core/CompositionAdapter.js +11 -12
- package/core/CustomElement.js +588 -236
- package/core/css.js +117 -12
- package/core/customTypes.js +120 -25
- package/core/dom.js +17 -11
- package/core/jsonMergePatch.js +12 -10
- package/core/observe.js +298 -253
- package/core/optimizations.js +9 -9
- package/core/template.js +14 -57
- package/dist/index.min.js +85 -115
- package/dist/index.min.js.map +4 -4
- package/dist/meta.json +1 -1
- package/dom/HTMLOptionsCollectionProxy.js +106 -0
- package/{theming/themableMixinLoader.js → loaders/palette.js} +4 -3
- package/loaders/theme.js +12 -0
- package/mixins/AriaReflectorMixin.js +53 -13
- package/mixins/AriaToolbarMixin.js +3 -0
- package/mixins/ControlMixin.js +76 -33
- package/mixins/DelegatesFocusMixin.js +54 -0
- package/mixins/DensityMixin.js +2 -2
- package/mixins/ElevationMixin.js +62 -0
- package/mixins/FlexableMixin.js +66 -37
- package/mixins/FormAssociatedMixin.js +60 -8
- package/mixins/HyperlinkMixin.js +66 -0
- package/mixins/InputMixin.js +205 -32
- package/mixins/KeyboardNavMixin.js +8 -6
- package/mixins/NavigationListenerMixin.js +33 -0
- package/mixins/PopupMixin.js +176 -208
- package/mixins/ResizeObserverMixin.js +16 -4
- package/mixins/RippleMixin.js +8 -6
- package/mixins/ScrollListenerMixin.js +1 -1
- package/mixins/SemiStickyMixin.js +44 -98
- package/mixins/ShapeMaskedMixin.js +117 -0
- package/mixins/ShapeMixin.js +22 -204
- package/mixins/StateMixin.js +70 -34
- package/mixins/TextFieldMixin.js +107 -143
- package/mixins/ThemableMixin.js +44 -56
- package/mixins/TooltipTriggerMixin.js +291 -359
- package/mixins/TouchTargetMixin.js +1 -1
- package/mixins/TypographyMixin.js +121 -0
- package/package.json +110 -74
- package/services/rtl.js +10 -0
- package/services/svgAlias.js +17 -0
- package/{theming/index.js → services/theme.js} +24 -174
- package/types/bin/mdw-css.d.ts +3 -0
- package/types/bin/mdw-css.d.ts.map +1 -0
- package/types/components/Badge.d.ts +39 -0
- package/types/components/Badge.d.ts.map +1 -0
- package/types/components/Body.d.ts +29 -0
- package/types/components/Body.d.ts.map +1 -0
- package/types/components/BottomAppBar.d.ts +73 -0
- package/types/components/BottomAppBar.d.ts.map +1 -0
- package/types/components/BottomSheet.d.ts +109 -0
- package/types/components/BottomSheet.d.ts.map +1 -0
- package/types/components/Box.d.ts +16 -0
- package/types/components/Box.d.ts.map +1 -0
- package/types/components/Button.d.ts +714 -0
- package/types/components/Button.d.ts.map +1 -0
- package/types/components/Card.d.ts +412 -0
- package/types/components/Card.d.ts.map +1 -0
- package/types/components/Checkbox.d.ts +205 -0
- package/types/components/Checkbox.d.ts.map +1 -0
- package/types/components/CheckboxIcon.d.ts +44 -0
- package/types/components/CheckboxIcon.d.ts.map +1 -0
- package/types/components/Chip.d.ts +1425 -0
- package/types/components/Chip.d.ts.map +1 -0
- package/types/components/Dialog.d.ts +286 -0
- package/types/components/Dialog.d.ts.map +1 -0
- package/types/components/DialogActions.d.ts +4 -0
- package/types/components/DialogActions.d.ts.map +1 -0
- package/types/components/Display.d.ts +45 -0
- package/types/components/Display.d.ts.map +1 -0
- package/types/components/Divider.d.ts +10 -0
- package/types/components/Divider.d.ts.map +1 -0
- package/types/components/Fab.d.ts +741 -0
- package/types/components/Fab.d.ts.map +1 -0
- package/types/components/FabContainer.d.ts +10 -0
- package/types/components/FabContainer.d.ts.map +1 -0
- package/types/components/FilterChip.d.ts +4283 -0
- package/types/components/FilterChip.d.ts.map +1 -0
- package/types/components/Grid.d.ts +37 -0
- package/types/components/Grid.d.ts.map +1 -0
- package/types/components/Headline.d.ts +47 -0
- package/types/components/Headline.d.ts.map +1 -0
- package/types/components/Icon.d.ts +103 -0
- package/types/components/Icon.d.ts.map +1 -0
- package/types/components/IconButton.d.ts +1486 -0
- package/types/components/IconButton.d.ts.map +1 -0
- package/types/components/Input.d.ts +51288 -0
- package/types/components/Input.d.ts.map +1 -0
- package/types/components/InputChip.d.ts +243 -0
- package/types/components/InputChip.d.ts.map +1 -0
- package/types/components/Label.d.ts +29 -0
- package/types/components/Label.d.ts.map +1 -0
- package/types/components/List.d.ts +31 -0
- package/types/components/List.d.ts.map +1 -0
- package/types/components/ListItem.d.ts +349 -0
- package/types/components/ListItem.d.ts.map +1 -0
- package/types/components/ListOption.d.ts +1493 -0
- package/types/components/ListOption.d.ts.map +1 -0
- package/types/components/Listbox.d.ts +12012 -0
- package/types/components/Listbox.d.ts.map +1 -0
- package/types/components/Menu.d.ts +119 -0
- package/types/components/Menu.d.ts.map +1 -0
- package/types/components/MenuItem.d.ts +3109 -0
- package/types/components/MenuItem.d.ts.map +1 -0
- package/types/components/NavBar.d.ts +18 -0
- package/types/components/NavBar.d.ts.map +1 -0
- package/types/components/NavBarItem.d.ts +186 -0
- package/types/components/NavBarItem.d.ts.map +1 -0
- package/types/components/NavDrawer.d.ts +108 -0
- package/types/components/NavDrawer.d.ts.map +1 -0
- package/types/components/NavDrawerItem.d.ts +186 -0
- package/types/components/NavDrawerItem.d.ts.map +1 -0
- package/types/components/NavItem.d.ts +190 -0
- package/types/components/NavItem.d.ts.map +1 -0
- package/types/components/NavRail.d.ts +109 -0
- package/types/components/NavRail.d.ts.map +1 -0
- package/types/components/NavRailItem.d.ts +186 -0
- package/types/components/NavRailItem.d.ts.map +1 -0
- package/types/components/Page.d.ts +24 -0
- package/types/components/Page.d.ts.map +1 -0
- package/types/components/Pane.d.ts +44 -0
- package/types/components/Pane.d.ts.map +1 -0
- package/types/components/Popup.d.ts +76 -0
- package/types/components/Popup.d.ts.map +1 -0
- package/types/components/Progress.d.ts +19 -0
- package/types/components/Progress.d.ts.map +1 -0
- package/types/components/Radio.d.ts +199 -0
- package/types/components/Radio.d.ts.map +1 -0
- package/types/components/RadioIcon.d.ts +46 -0
- package/types/components/RadioIcon.d.ts.map +1 -0
- package/types/components/Ripple.d.ts +34 -0
- package/types/components/Ripple.d.ts.map +1 -0
- package/types/components/Root.d.ts +68 -0
- package/types/components/Root.d.ts.map +1 -0
- package/types/components/Scrim.d.ts +6 -0
- package/types/components/Scrim.d.ts.map +1 -0
- package/types/components/Search.d.ts +16 -0
- package/types/components/Search.d.ts.map +1 -0
- package/types/components/SegmentedButton.d.ts +718 -0
- package/types/components/SegmentedButton.d.ts.map +1 -0
- package/types/components/SegmentedButtonGroup.d.ts +44 -0
- package/types/components/SegmentedButtonGroup.d.ts.map +1 -0
- package/types/components/Select.d.ts +1361 -0
- package/types/components/Select.d.ts.map +1 -0
- package/types/components/Shape.d.ts +10 -0
- package/types/components/Shape.d.ts.map +1 -0
- package/types/components/SideSheet.d.ts +106 -0
- package/types/components/SideSheet.d.ts.map +1 -0
- package/types/components/Slider.d.ts +382 -0
- package/types/components/Slider.d.ts.map +1 -0
- package/types/components/Snackbar.d.ts +65 -0
- package/types/components/Snackbar.d.ts.map +1 -0
- package/types/components/SnackbarContainer.d.ts +6 -0
- package/types/components/SnackbarContainer.d.ts.map +1 -0
- package/types/components/Surface.d.ts +45 -0
- package/types/components/Surface.d.ts.map +1 -0
- package/types/components/Switch.d.ts +183 -0
- package/types/components/Switch.d.ts.map +1 -0
- package/types/components/SwitchIcon.d.ts +169 -0
- package/types/components/SwitchIcon.d.ts.map +1 -0
- package/types/components/Tab.d.ts +879 -0
- package/types/components/Tab.d.ts.map +1 -0
- package/types/components/TabContent.d.ts +122 -0
- package/types/components/TabContent.d.ts.map +1 -0
- package/types/components/TabList.d.ts +6266 -0
- package/types/components/TabList.d.ts.map +1 -0
- package/types/components/TabPanel.d.ts +28 -0
- package/types/components/TabPanel.d.ts.map +1 -0
- package/types/components/Table.d.ts +2 -0
- package/types/components/Table.d.ts.map +1 -0
- package/types/components/TextArea.d.ts +1394 -0
- package/types/components/TextArea.d.ts.map +1 -0
- package/types/components/Title.d.ts +47 -0
- package/types/components/Title.d.ts.map +1 -0
- package/types/components/Tooltip.d.ts +49 -0
- package/types/components/Tooltip.d.ts.map +1 -0
- package/types/components/TopAppBar.d.ts +130 -0
- package/types/components/TopAppBar.d.ts.map +1 -0
- package/types/constants/colorKeywords.d.ts +2 -0
- package/types/constants/colorKeywords.d.ts.map +1 -0
- package/types/constants/shapes.d.ts +38 -0
- package/types/constants/shapes.d.ts.map +1 -0
- package/types/constants/typography.d.ts +212 -0
- package/types/constants/typography.d.ts.map +1 -0
- package/types/core/Composition.d.ts +252 -0
- package/types/core/Composition.d.ts.map +1 -0
- package/types/core/CompositionAdapter.d.ts +92 -0
- package/types/core/CompositionAdapter.d.ts.map +1 -0
- package/types/core/CustomElement.d.ts +302 -0
- package/types/core/CustomElement.d.ts.map +1 -0
- package/types/core/css.d.ts +44 -0
- package/types/core/css.d.ts.map +1 -0
- package/types/core/customTypes.d.ts +26 -0
- package/types/core/customTypes.d.ts.map +1 -0
- package/types/core/dom.d.ts +32 -0
- package/types/core/dom.d.ts.map +1 -0
- package/types/core/jsonMergePatch.d.ts +31 -0
- package/types/core/jsonMergePatch.d.ts.map +1 -0
- package/types/core/observe.d.ts +113 -0
- package/types/core/observe.d.ts.map +1 -0
- package/types/core/optimizations.d.ts +7 -0
- package/types/core/optimizations.d.ts.map +1 -0
- package/types/core/template.d.ts +47 -0
- package/types/core/template.d.ts.map +1 -0
- package/types/core/uid.d.ts +6 -0
- package/types/core/uid.d.ts.map +1 -0
- package/types/dom/HTMLOptionsCollectionProxy.d.ts +18 -0
- package/types/dom/HTMLOptionsCollectionProxy.d.ts.map +1 -0
- package/types/index.d.ts +88 -0
- package/types/index.d.ts.map +1 -0
- package/types/loaders/palette.d.ts +2 -0
- package/types/loaders/palette.d.ts.map +1 -0
- package/types/loaders/theme.d.ts +2 -0
- package/types/loaders/theme.d.ts.map +1 -0
- package/types/mixins/AriaReflectorMixin.d.ts +23 -0
- package/types/mixins/AriaReflectorMixin.d.ts.map +1 -0
- package/types/mixins/AriaToolbarMixin.d.ts +32 -0
- package/types/mixins/AriaToolbarMixin.d.ts.map +1 -0
- package/types/mixins/ControlMixin.d.ts +124 -0
- package/types/mixins/ControlMixin.d.ts.map +1 -0
- package/types/mixins/DelegatesFocusMixin.d.ts +5 -0
- package/types/mixins/DelegatesFocusMixin.d.ts.map +1 -0
- package/types/mixins/DensityMixin.d.ts +5 -0
- package/types/mixins/DensityMixin.d.ts.map +1 -0
- package/types/mixins/ElevationMixin.d.ts +33 -0
- package/types/mixins/ElevationMixin.d.ts.map +1 -0
- package/types/mixins/FlexableMixin.d.ts +13 -0
- package/types/mixins/FlexableMixin.d.ts.map +1 -0
- package/types/mixins/FormAssociatedMixin.d.ts +122 -0
- package/types/mixins/FormAssociatedMixin.d.ts.map +1 -0
- package/types/mixins/HyperlinkMixin.d.ts +22 -0
- package/types/mixins/HyperlinkMixin.d.ts.map +1 -0
- package/types/mixins/InputMixin.d.ts +179 -0
- package/types/mixins/InputMixin.d.ts.map +1 -0
- package/types/mixins/KeyboardNavMixin.d.ts +47 -0
- package/types/mixins/KeyboardNavMixin.d.ts.map +1 -0
- package/types/mixins/NavigationListenerMixin.d.ts +8 -0
- package/types/mixins/NavigationListenerMixin.d.ts.map +1 -0
- package/types/mixins/PopupMixin.d.ts +82 -0
- package/types/mixins/PopupMixin.d.ts.map +1 -0
- package/types/mixins/RTLObserverMixin.d.ts +7 -0
- package/types/mixins/RTLObserverMixin.d.ts.map +1 -0
- package/types/mixins/ResizeObserverMixin.d.ts +12 -0
- package/types/mixins/ResizeObserverMixin.d.ts.map +1 -0
- package/types/mixins/RippleMixin.d.ts +92 -0
- package/types/mixins/RippleMixin.d.ts.map +1 -0
- package/types/mixins/ScrollListenerMixin.d.ts +41 -0
- package/types/mixins/ScrollListenerMixin.d.ts.map +1 -0
- package/types/mixins/SemiStickyMixin.d.ts +50 -0
- package/types/mixins/SemiStickyMixin.d.ts.map +1 -0
- package/types/mixins/ShapeMaskedMixin.d.ts +9 -0
- package/types/mixins/ShapeMaskedMixin.d.ts.map +1 -0
- package/types/mixins/ShapeMixin.d.ts +38 -0
- package/types/mixins/ShapeMixin.d.ts.map +1 -0
- package/types/mixins/StateMixin.d.ts +27 -0
- package/types/mixins/StateMixin.d.ts.map +1 -0
- package/types/mixins/TextFieldMixin.d.ts +1354 -0
- package/types/mixins/TextFieldMixin.d.ts.map +1 -0
- package/types/mixins/ThemableMixin.d.ts +9 -0
- package/types/mixins/ThemableMixin.d.ts.map +1 -0
- package/types/mixins/TooltipTriggerMixin.d.ts +106 -0
- package/types/mixins/TooltipTriggerMixin.d.ts.map +1 -0
- package/types/mixins/TouchTargetMixin.d.ts +3 -0
- package/types/mixins/TouchTargetMixin.d.ts.map +1 -0
- package/types/mixins/TypographyMixin.d.ts +17 -0
- package/types/mixins/TypographyMixin.d.ts.map +1 -0
- package/types/services/rtl.d.ts +3 -0
- package/types/services/rtl.d.ts.map +1 -0
- package/types/services/svgAlias.d.ts +13 -0
- package/types/services/svgAlias.d.ts.map +1 -0
- package/types/services/theme.d.ts +45 -0
- package/types/services/theme.d.ts.map +1 -0
- package/types/utils/cli.d.ts +3 -0
- package/types/utils/cli.d.ts.map +1 -0
- package/types/utils/function.d.ts +3 -0
- package/types/utils/function.d.ts.map +1 -0
- package/types/utils/jsx-runtime.d.ts +20 -0
- package/types/utils/jsx-runtime.d.ts.map +1 -0
- package/types/utils/material-color/blend.d.ts +34 -0
- package/types/utils/material-color/blend.d.ts.map +1 -0
- package/types/utils/material-color/hct/Cam16.d.ts +142 -0
- package/types/utils/material-color/hct/Cam16.d.ts.map +1 -0
- package/types/utils/material-color/hct/Hct.d.ts +93 -0
- package/types/utils/material-color/hct/Hct.d.ts.map +1 -0
- package/types/utils/material-color/hct/ViewingConditions.d.ts +69 -0
- package/types/utils/material-color/hct/ViewingConditions.d.ts.map +1 -0
- package/types/utils/material-color/hct/hctSolver.d.ts +30 -0
- package/types/utils/material-color/hct/hctSolver.d.ts.map +1 -0
- package/types/utils/material-color/helper.d.ts +8 -0
- package/types/utils/material-color/helper.d.ts.map +1 -0
- package/types/utils/material-color/palettes/CorePalette.d.ts +75 -0
- package/types/utils/material-color/palettes/CorePalette.d.ts.map +1 -0
- package/types/utils/material-color/palettes/TonalPalette.d.ts +38 -0
- package/types/utils/material-color/palettes/TonalPalette.d.ts.map +1 -0
- package/types/utils/material-color/scheme/Scheme.d.ts +264 -0
- package/types/utils/material-color/scheme/Scheme.d.ts.map +1 -0
- package/types/utils/material-color/utils/color.d.ts +172 -0
- package/types/utils/material-color/utils/color.d.ts.map +1 -0
- package/types/utils/material-color/utils/math.d.ts +94 -0
- package/types/utils/material-color/utils/math.d.ts.map +1 -0
- package/types/utils/pixelmatch.d.ts +22 -0
- package/types/utils/pixelmatch.d.ts.map +1 -0
- package/types/utils/popup.d.ts +106 -0
- package/types/utils/popup.d.ts.map +1 -0
- package/types/utils/searchParams.d.ts +3 -0
- package/types/utils/searchParams.d.ts.map +1 -0
- package/types/utils/svg.d.ts +7 -0
- package/types/utils/svg.d.ts.map +1 -0
- package/utils/material-color/scheme/Scheme.js +1 -1
- package/utils/pixelmatch.js +360 -0
- package/utils/popup.js +86 -10
- package/utils/searchParams.js +19 -0
- package/components/ExtendedFab.js +0 -32
- package/components/Layout.js +0 -504
- package/components/Nav.js +0 -38
- package/core/DomAdapter.js +0 -586
- package/core/ICustomElement.d.ts +0 -291
- package/core/ICustomElement.js +0 -1
- package/core/test.js +0 -126
- package/core/typings.d.ts +0 -142
- package/core/typings.js +0 -1
- package/mixins/SurfaceMixin.js +0 -127
- package/theming/loader.js +0 -22
- /package/{utils/color_keywords.js → constants/colorKeywords.js} +0 -0
|
@@ -0,0 +1,1361 @@
|
|
|
1
|
+
declare const _default: typeof CustomElement & import("../core/CustomElement.js").Class<{
|
|
2
|
+
disabled: boolean;
|
|
3
|
+
focused: boolean;
|
|
4
|
+
hovered: boolean;
|
|
5
|
+
pressed: boolean;
|
|
6
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
7
|
+
_hovered: boolean;
|
|
8
|
+
_focused: boolean;
|
|
9
|
+
_focusedSynthetic: boolean;
|
|
10
|
+
_keyPressed: boolean;
|
|
11
|
+
_keyReleased: boolean;
|
|
12
|
+
_pointerPressed: boolean;
|
|
13
|
+
stateLayer: boolean;
|
|
14
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
15
|
+
disabledState: boolean;
|
|
16
|
+
hoveredState: boolean;
|
|
17
|
+
focusedState: boolean;
|
|
18
|
+
pressedState: boolean;
|
|
19
|
+
touchedState: boolean;
|
|
20
|
+
pointedState: boolean;
|
|
21
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
22
|
+
stateTargetElement: HTMLElement;
|
|
23
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
24
|
+
color: string;
|
|
25
|
+
ink: string;
|
|
26
|
+
typeStyle: string;
|
|
27
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
28
|
+
shapeTop: boolean;
|
|
29
|
+
shapeBottom: boolean;
|
|
30
|
+
shapeStart: boolean;
|
|
31
|
+
shapeEnd: boolean;
|
|
32
|
+
shapeStyle: string;
|
|
33
|
+
outlined: boolean;
|
|
34
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
35
|
+
density: number;
|
|
36
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
37
|
+
delegatesFocus: boolean;
|
|
38
|
+
}, any[]> & {
|
|
39
|
+
formAssociated: true;
|
|
40
|
+
} & import("../core/CustomElement.js").Class<{
|
|
41
|
+
_ipcListener: EventListener;
|
|
42
|
+
_ipcTarget: EventTarget;
|
|
43
|
+
_files: FileList;
|
|
44
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
45
|
+
ariaControls: string;
|
|
46
|
+
autocomplete: string;
|
|
47
|
+
name: string;
|
|
48
|
+
readOnly: boolean;
|
|
49
|
+
formNoValidate: boolean;
|
|
50
|
+
defaultChecked: boolean;
|
|
51
|
+
_checkedDirty: boolean;
|
|
52
|
+
_checked: boolean;
|
|
53
|
+
required: boolean;
|
|
54
|
+
type: string;
|
|
55
|
+
_defaultValue: string;
|
|
56
|
+
_value: string;
|
|
57
|
+
_valueDirty: boolean;
|
|
58
|
+
_userInteracted: boolean;
|
|
59
|
+
_invalid: boolean;
|
|
60
|
+
_badInput: boolean;
|
|
61
|
+
_validationMessage: string;
|
|
62
|
+
_formDisabled: boolean;
|
|
63
|
+
_formReset: boolean;
|
|
64
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
65
|
+
erroredState: boolean;
|
|
66
|
+
defaultValue: string;
|
|
67
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
68
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
69
|
+
_onSetValue(value: string): void;
|
|
70
|
+
_onSetChecked(checked: boolean): void;
|
|
71
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
72
|
+
value: string;
|
|
73
|
+
checked: boolean;
|
|
74
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
75
|
+
form: HTMLFormElement;
|
|
76
|
+
validity: ValidityState;
|
|
77
|
+
validationMessage: string;
|
|
78
|
+
willValidate: boolean;
|
|
79
|
+
labels: NodeList;
|
|
80
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
81
|
+
disabledState: boolean;
|
|
82
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
83
|
+
checkValidity(): boolean;
|
|
84
|
+
reportValidity(): boolean;
|
|
85
|
+
setCustomValidity(error: string): void;
|
|
86
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
87
|
+
refreshFormAssociation(): void;
|
|
88
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
89
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
90
|
+
formDisabledCallback(disabled: boolean): void;
|
|
91
|
+
formResetCallback(): void;
|
|
92
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
93
|
+
_updateFormAssociatedValue(): void;
|
|
94
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
95
|
+
ariaLabel: string;
|
|
96
|
+
_slotInnerText: string;
|
|
97
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
98
|
+
focusableOnDisabled: boolean;
|
|
99
|
+
controlTagName: string;
|
|
100
|
+
controlVoidElement: boolean;
|
|
101
|
+
_slotMutationObserver: any;
|
|
102
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
103
|
+
_onControlValue(value: string): void;
|
|
104
|
+
onValueChangingContentAttribute(): void;
|
|
105
|
+
focus(options?: FocusOptions): void;
|
|
106
|
+
click(): void;
|
|
107
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
108
|
+
stateTargetElement: HTMLElement;
|
|
109
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
110
|
+
checkValidity(): boolean;
|
|
111
|
+
reportValidity(): boolean;
|
|
112
|
+
setCustomValidity(error: string): void;
|
|
113
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
114
|
+
_computedAriaLabel: string;
|
|
115
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
116
|
+
_computedAriaLabelledby: never;
|
|
117
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
118
|
+
stateLayer: boolean;
|
|
119
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
120
|
+
type: string;
|
|
121
|
+
icon: string;
|
|
122
|
+
iconVariation: string;
|
|
123
|
+
label: string;
|
|
124
|
+
filled: boolean;
|
|
125
|
+
outlined: boolean;
|
|
126
|
+
inputPrefix: string;
|
|
127
|
+
inputSuffix: string;
|
|
128
|
+
trailingIcon: string;
|
|
129
|
+
trailingIconInk: string;
|
|
130
|
+
trailingIconLabel: string;
|
|
131
|
+
supporting: string;
|
|
132
|
+
error: string;
|
|
133
|
+
placeholder: string;
|
|
134
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
135
|
+
erroredState: boolean;
|
|
136
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
137
|
+
computePlaceholder: () => ReturnType<({ filled, outlined, label, placeholder }: CustomElement & {
|
|
138
|
+
disabled: boolean;
|
|
139
|
+
focused: boolean;
|
|
140
|
+
hovered: boolean;
|
|
141
|
+
pressed: boolean;
|
|
142
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
143
|
+
_hovered: boolean;
|
|
144
|
+
_focused: boolean;
|
|
145
|
+
_focusedSynthetic: boolean;
|
|
146
|
+
_keyPressed: boolean;
|
|
147
|
+
_keyReleased: boolean;
|
|
148
|
+
_pointerPressed: boolean;
|
|
149
|
+
stateLayer: boolean;
|
|
150
|
+
} & {
|
|
151
|
+
disabledState: boolean;
|
|
152
|
+
hoveredState: boolean;
|
|
153
|
+
focusedState: boolean;
|
|
154
|
+
pressedState: boolean;
|
|
155
|
+
touchedState: boolean;
|
|
156
|
+
pointedState: boolean;
|
|
157
|
+
} & {
|
|
158
|
+
stateTargetElement: HTMLElement;
|
|
159
|
+
} & {
|
|
160
|
+
color: string;
|
|
161
|
+
ink: string;
|
|
162
|
+
typeStyle: string;
|
|
163
|
+
} & {
|
|
164
|
+
shapeTop: boolean;
|
|
165
|
+
shapeBottom: boolean;
|
|
166
|
+
shapeStart: boolean;
|
|
167
|
+
shapeEnd: boolean;
|
|
168
|
+
shapeStyle: string;
|
|
169
|
+
outlined: boolean;
|
|
170
|
+
} & {
|
|
171
|
+
density: number;
|
|
172
|
+
} & {
|
|
173
|
+
delegatesFocus: boolean;
|
|
174
|
+
} & {
|
|
175
|
+
_ipcListener: EventListener;
|
|
176
|
+
_ipcTarget: EventTarget;
|
|
177
|
+
_files: FileList;
|
|
178
|
+
} & {
|
|
179
|
+
ariaControls: string;
|
|
180
|
+
autocomplete: string;
|
|
181
|
+
name: string;
|
|
182
|
+
readOnly: boolean;
|
|
183
|
+
formNoValidate: boolean;
|
|
184
|
+
defaultChecked: boolean;
|
|
185
|
+
_checkedDirty: boolean;
|
|
186
|
+
_checked: boolean;
|
|
187
|
+
required: boolean;
|
|
188
|
+
type: string;
|
|
189
|
+
_defaultValue: string;
|
|
190
|
+
_value: string;
|
|
191
|
+
_valueDirty: boolean;
|
|
192
|
+
_userInteracted: boolean;
|
|
193
|
+
_invalid: boolean;
|
|
194
|
+
_badInput: boolean;
|
|
195
|
+
_validationMessage: string;
|
|
196
|
+
_formDisabled: boolean;
|
|
197
|
+
_formReset: boolean;
|
|
198
|
+
} & {
|
|
199
|
+
erroredState: boolean;
|
|
200
|
+
defaultValue: string;
|
|
201
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
202
|
+
} & {
|
|
203
|
+
_onSetValue(value: string): void;
|
|
204
|
+
_onSetChecked(checked: boolean): void;
|
|
205
|
+
} & {
|
|
206
|
+
value: string;
|
|
207
|
+
checked: boolean;
|
|
208
|
+
} & {
|
|
209
|
+
form: HTMLFormElement;
|
|
210
|
+
validity: ValidityState;
|
|
211
|
+
validationMessage: string;
|
|
212
|
+
willValidate: boolean;
|
|
213
|
+
labels: NodeList;
|
|
214
|
+
} & {
|
|
215
|
+
disabledState: boolean;
|
|
216
|
+
} & {
|
|
217
|
+
checkValidity(): boolean;
|
|
218
|
+
reportValidity(): boolean;
|
|
219
|
+
setCustomValidity(error: string): void;
|
|
220
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
221
|
+
refreshFormAssociation(): void;
|
|
222
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
223
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
224
|
+
formDisabledCallback(disabled: boolean): void;
|
|
225
|
+
formResetCallback(): void;
|
|
226
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
227
|
+
_updateFormAssociatedValue(): void;
|
|
228
|
+
} & {
|
|
229
|
+
ariaLabel: string;
|
|
230
|
+
_slotInnerText: string;
|
|
231
|
+
} & {
|
|
232
|
+
focusableOnDisabled: boolean;
|
|
233
|
+
controlTagName: string;
|
|
234
|
+
controlVoidElement: boolean;
|
|
235
|
+
_slotMutationObserver: any;
|
|
236
|
+
} & {
|
|
237
|
+
_onControlValue(value: string): void;
|
|
238
|
+
onValueChangingContentAttribute(): void;
|
|
239
|
+
focus(options?: FocusOptions): void;
|
|
240
|
+
click(): void;
|
|
241
|
+
} & {
|
|
242
|
+
stateTargetElement: HTMLElement;
|
|
243
|
+
} & {
|
|
244
|
+
checkValidity(): boolean;
|
|
245
|
+
reportValidity(): boolean;
|
|
246
|
+
setCustomValidity(error: string): void;
|
|
247
|
+
} & {
|
|
248
|
+
_computedAriaLabel: string;
|
|
249
|
+
} & {
|
|
250
|
+
_computedAriaLabelledby: never;
|
|
251
|
+
} & {
|
|
252
|
+
stateLayer: boolean;
|
|
253
|
+
} & {
|
|
254
|
+
type: string;
|
|
255
|
+
icon: string;
|
|
256
|
+
iconVariation: string;
|
|
257
|
+
label: string;
|
|
258
|
+
filled: boolean;
|
|
259
|
+
outlined: boolean;
|
|
260
|
+
inputPrefix: string;
|
|
261
|
+
inputSuffix: string;
|
|
262
|
+
trailingIcon: string;
|
|
263
|
+
trailingIconInk: string;
|
|
264
|
+
trailingIconLabel: string;
|
|
265
|
+
supporting: string;
|
|
266
|
+
error: string;
|
|
267
|
+
placeholder: string;
|
|
268
|
+
} & {
|
|
269
|
+
erroredState: boolean;
|
|
270
|
+
}) => string>;
|
|
271
|
+
shouldShowSupporting: () => ReturnType<({ erroredState, supporting }: CustomElement & {
|
|
272
|
+
disabled: boolean;
|
|
273
|
+
focused: boolean;
|
|
274
|
+
hovered: boolean;
|
|
275
|
+
pressed: boolean;
|
|
276
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
277
|
+
_hovered: boolean;
|
|
278
|
+
_focused: boolean;
|
|
279
|
+
_focusedSynthetic: boolean;
|
|
280
|
+
_keyPressed: boolean;
|
|
281
|
+
_keyReleased: boolean;
|
|
282
|
+
_pointerPressed: boolean;
|
|
283
|
+
stateLayer: boolean;
|
|
284
|
+
} & {
|
|
285
|
+
disabledState: boolean;
|
|
286
|
+
hoveredState: boolean;
|
|
287
|
+
focusedState: boolean;
|
|
288
|
+
pressedState: boolean;
|
|
289
|
+
touchedState: boolean;
|
|
290
|
+
pointedState: boolean;
|
|
291
|
+
} & {
|
|
292
|
+
stateTargetElement: HTMLElement;
|
|
293
|
+
} & {
|
|
294
|
+
color: string;
|
|
295
|
+
ink: string;
|
|
296
|
+
typeStyle: string;
|
|
297
|
+
} & {
|
|
298
|
+
shapeTop: boolean;
|
|
299
|
+
shapeBottom: boolean;
|
|
300
|
+
shapeStart: boolean;
|
|
301
|
+
shapeEnd: boolean;
|
|
302
|
+
shapeStyle: string;
|
|
303
|
+
outlined: boolean;
|
|
304
|
+
} & {
|
|
305
|
+
density: number;
|
|
306
|
+
} & {
|
|
307
|
+
delegatesFocus: boolean;
|
|
308
|
+
} & {
|
|
309
|
+
_ipcListener: EventListener;
|
|
310
|
+
_ipcTarget: EventTarget;
|
|
311
|
+
_files: FileList;
|
|
312
|
+
} & {
|
|
313
|
+
ariaControls: string;
|
|
314
|
+
autocomplete: string;
|
|
315
|
+
name: string;
|
|
316
|
+
readOnly: boolean;
|
|
317
|
+
formNoValidate: boolean;
|
|
318
|
+
defaultChecked: boolean;
|
|
319
|
+
_checkedDirty: boolean;
|
|
320
|
+
_checked: boolean;
|
|
321
|
+
required: boolean;
|
|
322
|
+
type: string;
|
|
323
|
+
_defaultValue: string;
|
|
324
|
+
_value: string;
|
|
325
|
+
_valueDirty: boolean;
|
|
326
|
+
_userInteracted: boolean;
|
|
327
|
+
_invalid: boolean;
|
|
328
|
+
_badInput: boolean;
|
|
329
|
+
_validationMessage: string;
|
|
330
|
+
_formDisabled: boolean;
|
|
331
|
+
_formReset: boolean;
|
|
332
|
+
} & {
|
|
333
|
+
erroredState: boolean;
|
|
334
|
+
defaultValue: string;
|
|
335
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
336
|
+
} & {
|
|
337
|
+
_onSetValue(value: string): void;
|
|
338
|
+
_onSetChecked(checked: boolean): void;
|
|
339
|
+
} & {
|
|
340
|
+
value: string;
|
|
341
|
+
checked: boolean;
|
|
342
|
+
} & {
|
|
343
|
+
form: HTMLFormElement;
|
|
344
|
+
validity: ValidityState;
|
|
345
|
+
validationMessage: string;
|
|
346
|
+
willValidate: boolean;
|
|
347
|
+
labels: NodeList;
|
|
348
|
+
} & {
|
|
349
|
+
disabledState: boolean;
|
|
350
|
+
} & {
|
|
351
|
+
checkValidity(): boolean;
|
|
352
|
+
reportValidity(): boolean;
|
|
353
|
+
setCustomValidity(error: string): void;
|
|
354
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
355
|
+
refreshFormAssociation(): void;
|
|
356
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
357
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
358
|
+
formDisabledCallback(disabled: boolean): void;
|
|
359
|
+
formResetCallback(): void;
|
|
360
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
361
|
+
_updateFormAssociatedValue(): void;
|
|
362
|
+
} & {
|
|
363
|
+
ariaLabel: string;
|
|
364
|
+
_slotInnerText: string;
|
|
365
|
+
} & {
|
|
366
|
+
focusableOnDisabled: boolean;
|
|
367
|
+
controlTagName: string;
|
|
368
|
+
controlVoidElement: boolean;
|
|
369
|
+
_slotMutationObserver: any;
|
|
370
|
+
} & {
|
|
371
|
+
_onControlValue(value: string): void;
|
|
372
|
+
onValueChangingContentAttribute(): void;
|
|
373
|
+
focus(options?: FocusOptions): void;
|
|
374
|
+
click(): void;
|
|
375
|
+
} & {
|
|
376
|
+
stateTargetElement: HTMLElement;
|
|
377
|
+
} & {
|
|
378
|
+
checkValidity(): boolean;
|
|
379
|
+
reportValidity(): boolean;
|
|
380
|
+
setCustomValidity(error: string): void;
|
|
381
|
+
} & {
|
|
382
|
+
_computedAriaLabel: string;
|
|
383
|
+
} & {
|
|
384
|
+
_computedAriaLabelledby: never;
|
|
385
|
+
} & {
|
|
386
|
+
stateLayer: boolean;
|
|
387
|
+
} & {
|
|
388
|
+
type: string;
|
|
389
|
+
icon: string;
|
|
390
|
+
iconVariation: string;
|
|
391
|
+
label: string;
|
|
392
|
+
filled: boolean;
|
|
393
|
+
outlined: boolean;
|
|
394
|
+
inputPrefix: string;
|
|
395
|
+
inputSuffix: string;
|
|
396
|
+
trailingIcon: string;
|
|
397
|
+
trailingIconInk: string;
|
|
398
|
+
trailingIconLabel: string;
|
|
399
|
+
supporting: string;
|
|
400
|
+
error: string;
|
|
401
|
+
placeholder: string;
|
|
402
|
+
} & {
|
|
403
|
+
erroredState: boolean;
|
|
404
|
+
}) => boolean>;
|
|
405
|
+
computeSupportingText: () => ReturnType<({ error, erroredState, _validationMessage, supporting }: CustomElement & {
|
|
406
|
+
disabled: boolean;
|
|
407
|
+
focused: boolean;
|
|
408
|
+
hovered: boolean;
|
|
409
|
+
pressed: boolean;
|
|
410
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
411
|
+
_hovered: boolean;
|
|
412
|
+
_focused: boolean;
|
|
413
|
+
_focusedSynthetic: boolean;
|
|
414
|
+
_keyPressed: boolean;
|
|
415
|
+
_keyReleased: boolean;
|
|
416
|
+
_pointerPressed: boolean;
|
|
417
|
+
stateLayer: boolean;
|
|
418
|
+
} & {
|
|
419
|
+
disabledState: boolean;
|
|
420
|
+
hoveredState: boolean;
|
|
421
|
+
focusedState: boolean;
|
|
422
|
+
pressedState: boolean;
|
|
423
|
+
touchedState: boolean;
|
|
424
|
+
pointedState: boolean;
|
|
425
|
+
} & {
|
|
426
|
+
stateTargetElement: HTMLElement;
|
|
427
|
+
} & {
|
|
428
|
+
color: string;
|
|
429
|
+
ink: string;
|
|
430
|
+
typeStyle: string;
|
|
431
|
+
} & {
|
|
432
|
+
shapeTop: boolean;
|
|
433
|
+
shapeBottom: boolean;
|
|
434
|
+
shapeStart: boolean;
|
|
435
|
+
shapeEnd: boolean;
|
|
436
|
+
shapeStyle: string;
|
|
437
|
+
outlined: boolean;
|
|
438
|
+
} & {
|
|
439
|
+
density: number;
|
|
440
|
+
} & {
|
|
441
|
+
delegatesFocus: boolean;
|
|
442
|
+
} & {
|
|
443
|
+
_ipcListener: EventListener;
|
|
444
|
+
_ipcTarget: EventTarget;
|
|
445
|
+
_files: FileList;
|
|
446
|
+
} & {
|
|
447
|
+
ariaControls: string;
|
|
448
|
+
autocomplete: string;
|
|
449
|
+
name: string;
|
|
450
|
+
readOnly: boolean;
|
|
451
|
+
formNoValidate: boolean;
|
|
452
|
+
defaultChecked: boolean;
|
|
453
|
+
_checkedDirty: boolean;
|
|
454
|
+
_checked: boolean;
|
|
455
|
+
required: boolean;
|
|
456
|
+
type: string;
|
|
457
|
+
_defaultValue: string;
|
|
458
|
+
_value: string;
|
|
459
|
+
_valueDirty: boolean;
|
|
460
|
+
_userInteracted: boolean;
|
|
461
|
+
_invalid: boolean;
|
|
462
|
+
_badInput: boolean;
|
|
463
|
+
_validationMessage: string;
|
|
464
|
+
_formDisabled: boolean;
|
|
465
|
+
_formReset: boolean;
|
|
466
|
+
} & {
|
|
467
|
+
erroredState: boolean;
|
|
468
|
+
defaultValue: string;
|
|
469
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
470
|
+
} & {
|
|
471
|
+
_onSetValue(value: string): void;
|
|
472
|
+
_onSetChecked(checked: boolean): void;
|
|
473
|
+
} & {
|
|
474
|
+
value: string;
|
|
475
|
+
checked: boolean;
|
|
476
|
+
} & {
|
|
477
|
+
form: HTMLFormElement;
|
|
478
|
+
validity: ValidityState;
|
|
479
|
+
validationMessage: string;
|
|
480
|
+
willValidate: boolean;
|
|
481
|
+
labels: NodeList;
|
|
482
|
+
} & {
|
|
483
|
+
disabledState: boolean;
|
|
484
|
+
} & {
|
|
485
|
+
checkValidity(): boolean;
|
|
486
|
+
reportValidity(): boolean;
|
|
487
|
+
setCustomValidity(error: string): void;
|
|
488
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
489
|
+
refreshFormAssociation(): void;
|
|
490
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
491
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
492
|
+
formDisabledCallback(disabled: boolean): void;
|
|
493
|
+
formResetCallback(): void;
|
|
494
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
495
|
+
_updateFormAssociatedValue(): void;
|
|
496
|
+
} & {
|
|
497
|
+
ariaLabel: string;
|
|
498
|
+
_slotInnerText: string;
|
|
499
|
+
} & {
|
|
500
|
+
focusableOnDisabled: boolean;
|
|
501
|
+
controlTagName: string;
|
|
502
|
+
controlVoidElement: boolean;
|
|
503
|
+
_slotMutationObserver: any;
|
|
504
|
+
} & {
|
|
505
|
+
_onControlValue(value: string): void;
|
|
506
|
+
onValueChangingContentAttribute(): void;
|
|
507
|
+
focus(options?: FocusOptions): void;
|
|
508
|
+
click(): void;
|
|
509
|
+
} & {
|
|
510
|
+
stateTargetElement: HTMLElement;
|
|
511
|
+
} & {
|
|
512
|
+
checkValidity(): boolean;
|
|
513
|
+
reportValidity(): boolean;
|
|
514
|
+
setCustomValidity(error: string): void;
|
|
515
|
+
} & {
|
|
516
|
+
_computedAriaLabel: string;
|
|
517
|
+
} & {
|
|
518
|
+
_computedAriaLabelledby: never;
|
|
519
|
+
} & {
|
|
520
|
+
stateLayer: boolean;
|
|
521
|
+
} & {
|
|
522
|
+
type: string;
|
|
523
|
+
icon: string;
|
|
524
|
+
iconVariation: string;
|
|
525
|
+
label: string;
|
|
526
|
+
filled: boolean;
|
|
527
|
+
outlined: boolean;
|
|
528
|
+
inputPrefix: string;
|
|
529
|
+
inputSuffix: string;
|
|
530
|
+
trailingIcon: string;
|
|
531
|
+
trailingIconInk: string;
|
|
532
|
+
trailingIconLabel: string;
|
|
533
|
+
supporting: string;
|
|
534
|
+
error: string;
|
|
535
|
+
placeholder: string;
|
|
536
|
+
} & {
|
|
537
|
+
erroredState: boolean;
|
|
538
|
+
}) => string>;
|
|
539
|
+
populatedState: () => ReturnType<({ value, _badInput }: CustomElement & {
|
|
540
|
+
disabled: boolean;
|
|
541
|
+
focused: boolean;
|
|
542
|
+
hovered: boolean;
|
|
543
|
+
pressed: boolean;
|
|
544
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
545
|
+
_hovered: boolean;
|
|
546
|
+
_focused: boolean;
|
|
547
|
+
_focusedSynthetic: boolean;
|
|
548
|
+
_keyPressed: boolean;
|
|
549
|
+
_keyReleased: boolean;
|
|
550
|
+
_pointerPressed: boolean;
|
|
551
|
+
stateLayer: boolean;
|
|
552
|
+
} & {
|
|
553
|
+
disabledState: boolean;
|
|
554
|
+
hoveredState: boolean;
|
|
555
|
+
focusedState: boolean;
|
|
556
|
+
pressedState: boolean;
|
|
557
|
+
touchedState: boolean;
|
|
558
|
+
pointedState: boolean;
|
|
559
|
+
} & {
|
|
560
|
+
stateTargetElement: HTMLElement;
|
|
561
|
+
} & {
|
|
562
|
+
color: string;
|
|
563
|
+
ink: string;
|
|
564
|
+
typeStyle: string;
|
|
565
|
+
} & {
|
|
566
|
+
shapeTop: boolean;
|
|
567
|
+
shapeBottom: boolean;
|
|
568
|
+
shapeStart: boolean;
|
|
569
|
+
shapeEnd: boolean;
|
|
570
|
+
shapeStyle: string;
|
|
571
|
+
outlined: boolean;
|
|
572
|
+
} & {
|
|
573
|
+
density: number;
|
|
574
|
+
} & {
|
|
575
|
+
delegatesFocus: boolean;
|
|
576
|
+
} & {
|
|
577
|
+
_ipcListener: EventListener;
|
|
578
|
+
_ipcTarget: EventTarget;
|
|
579
|
+
_files: FileList;
|
|
580
|
+
} & {
|
|
581
|
+
ariaControls: string;
|
|
582
|
+
autocomplete: string;
|
|
583
|
+
name: string;
|
|
584
|
+
readOnly: boolean;
|
|
585
|
+
formNoValidate: boolean;
|
|
586
|
+
defaultChecked: boolean;
|
|
587
|
+
_checkedDirty: boolean;
|
|
588
|
+
_checked: boolean;
|
|
589
|
+
required: boolean;
|
|
590
|
+
type: string;
|
|
591
|
+
_defaultValue: string;
|
|
592
|
+
_value: string;
|
|
593
|
+
_valueDirty: boolean;
|
|
594
|
+
_userInteracted: boolean;
|
|
595
|
+
_invalid: boolean;
|
|
596
|
+
_badInput: boolean;
|
|
597
|
+
_validationMessage: string;
|
|
598
|
+
_formDisabled: boolean;
|
|
599
|
+
_formReset: boolean;
|
|
600
|
+
} & {
|
|
601
|
+
erroredState: boolean;
|
|
602
|
+
defaultValue: string;
|
|
603
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
604
|
+
} & {
|
|
605
|
+
_onSetValue(value: string): void;
|
|
606
|
+
_onSetChecked(checked: boolean): void;
|
|
607
|
+
} & {
|
|
608
|
+
value: string;
|
|
609
|
+
checked: boolean;
|
|
610
|
+
} & {
|
|
611
|
+
form: HTMLFormElement;
|
|
612
|
+
validity: ValidityState;
|
|
613
|
+
validationMessage: string;
|
|
614
|
+
willValidate: boolean;
|
|
615
|
+
labels: NodeList;
|
|
616
|
+
} & {
|
|
617
|
+
disabledState: boolean;
|
|
618
|
+
} & {
|
|
619
|
+
checkValidity(): boolean;
|
|
620
|
+
reportValidity(): boolean;
|
|
621
|
+
setCustomValidity(error: string): void;
|
|
622
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
623
|
+
refreshFormAssociation(): void;
|
|
624
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
625
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
626
|
+
formDisabledCallback(disabled: boolean): void;
|
|
627
|
+
formResetCallback(): void;
|
|
628
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
629
|
+
_updateFormAssociatedValue(): void;
|
|
630
|
+
} & {
|
|
631
|
+
ariaLabel: string;
|
|
632
|
+
_slotInnerText: string;
|
|
633
|
+
} & {
|
|
634
|
+
focusableOnDisabled: boolean;
|
|
635
|
+
controlTagName: string;
|
|
636
|
+
controlVoidElement: boolean;
|
|
637
|
+
_slotMutationObserver: any;
|
|
638
|
+
} & {
|
|
639
|
+
_onControlValue(value: string): void;
|
|
640
|
+
onValueChangingContentAttribute(): void;
|
|
641
|
+
focus(options?: FocusOptions): void;
|
|
642
|
+
click(): void;
|
|
643
|
+
} & {
|
|
644
|
+
stateTargetElement: HTMLElement;
|
|
645
|
+
} & {
|
|
646
|
+
checkValidity(): boolean;
|
|
647
|
+
reportValidity(): boolean;
|
|
648
|
+
setCustomValidity(error: string): void;
|
|
649
|
+
} & {
|
|
650
|
+
_computedAriaLabel: string;
|
|
651
|
+
} & {
|
|
652
|
+
_computedAriaLabelledby: never;
|
|
653
|
+
} & {
|
|
654
|
+
stateLayer: boolean;
|
|
655
|
+
} & {
|
|
656
|
+
type: string;
|
|
657
|
+
icon: string;
|
|
658
|
+
iconVariation: string;
|
|
659
|
+
label: string;
|
|
660
|
+
filled: boolean;
|
|
661
|
+
outlined: boolean;
|
|
662
|
+
inputPrefix: string;
|
|
663
|
+
inputSuffix: string;
|
|
664
|
+
trailingIcon: string;
|
|
665
|
+
trailingIconInk: string;
|
|
666
|
+
trailingIconLabel: string;
|
|
667
|
+
supporting: string;
|
|
668
|
+
error: string;
|
|
669
|
+
placeholder: string;
|
|
670
|
+
} & {
|
|
671
|
+
erroredState: boolean;
|
|
672
|
+
}) => boolean>;
|
|
673
|
+
_showLabelText: never;
|
|
674
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
675
|
+
_shapeShapeTop: never;
|
|
676
|
+
computedIconVariation: () => ReturnType<({ iconVariation, outlined }: CustomElement & {
|
|
677
|
+
disabled: boolean;
|
|
678
|
+
focused: boolean;
|
|
679
|
+
hovered: boolean;
|
|
680
|
+
pressed: boolean;
|
|
681
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
682
|
+
_hovered: boolean;
|
|
683
|
+
_focused: boolean;
|
|
684
|
+
_focusedSynthetic: boolean;
|
|
685
|
+
_keyPressed: boolean;
|
|
686
|
+
_keyReleased: boolean;
|
|
687
|
+
_pointerPressed: boolean;
|
|
688
|
+
stateLayer: boolean;
|
|
689
|
+
} & {
|
|
690
|
+
disabledState: boolean;
|
|
691
|
+
hoveredState: boolean;
|
|
692
|
+
focusedState: boolean;
|
|
693
|
+
pressedState: boolean;
|
|
694
|
+
touchedState: boolean;
|
|
695
|
+
pointedState: boolean;
|
|
696
|
+
} & {
|
|
697
|
+
stateTargetElement: HTMLElement;
|
|
698
|
+
} & {
|
|
699
|
+
color: string;
|
|
700
|
+
ink: string;
|
|
701
|
+
typeStyle: string;
|
|
702
|
+
} & {
|
|
703
|
+
shapeTop: boolean;
|
|
704
|
+
shapeBottom: boolean;
|
|
705
|
+
shapeStart: boolean;
|
|
706
|
+
shapeEnd: boolean;
|
|
707
|
+
shapeStyle: string;
|
|
708
|
+
outlined: boolean;
|
|
709
|
+
} & {
|
|
710
|
+
density: number;
|
|
711
|
+
} & {
|
|
712
|
+
delegatesFocus: boolean;
|
|
713
|
+
} & {
|
|
714
|
+
_ipcListener: EventListener;
|
|
715
|
+
_ipcTarget: EventTarget;
|
|
716
|
+
_files: FileList;
|
|
717
|
+
} & {
|
|
718
|
+
ariaControls: string;
|
|
719
|
+
autocomplete: string;
|
|
720
|
+
name: string;
|
|
721
|
+
readOnly: boolean;
|
|
722
|
+
formNoValidate: boolean;
|
|
723
|
+
defaultChecked: boolean;
|
|
724
|
+
_checkedDirty: boolean;
|
|
725
|
+
_checked: boolean;
|
|
726
|
+
required: boolean;
|
|
727
|
+
type: string;
|
|
728
|
+
_defaultValue: string;
|
|
729
|
+
_value: string;
|
|
730
|
+
_valueDirty: boolean;
|
|
731
|
+
_userInteracted: boolean;
|
|
732
|
+
_invalid: boolean;
|
|
733
|
+
_badInput: boolean;
|
|
734
|
+
_validationMessage: string;
|
|
735
|
+
_formDisabled: boolean;
|
|
736
|
+
_formReset: boolean;
|
|
737
|
+
} & {
|
|
738
|
+
erroredState: boolean;
|
|
739
|
+
defaultValue: string;
|
|
740
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
741
|
+
} & {
|
|
742
|
+
_onSetValue(value: string): void;
|
|
743
|
+
_onSetChecked(checked: boolean): void;
|
|
744
|
+
} & {
|
|
745
|
+
value: string;
|
|
746
|
+
checked: boolean;
|
|
747
|
+
} & {
|
|
748
|
+
form: HTMLFormElement;
|
|
749
|
+
validity: ValidityState;
|
|
750
|
+
validationMessage: string;
|
|
751
|
+
willValidate: boolean;
|
|
752
|
+
labels: NodeList;
|
|
753
|
+
} & {
|
|
754
|
+
disabledState: boolean;
|
|
755
|
+
} & {
|
|
756
|
+
checkValidity(): boolean;
|
|
757
|
+
reportValidity(): boolean;
|
|
758
|
+
setCustomValidity(error: string): void;
|
|
759
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
760
|
+
refreshFormAssociation(): void;
|
|
761
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
762
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
763
|
+
formDisabledCallback(disabled: boolean): void;
|
|
764
|
+
formResetCallback(): void;
|
|
765
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
766
|
+
_updateFormAssociatedValue(): void;
|
|
767
|
+
} & {
|
|
768
|
+
ariaLabel: string;
|
|
769
|
+
_slotInnerText: string;
|
|
770
|
+
} & {
|
|
771
|
+
focusableOnDisabled: boolean;
|
|
772
|
+
controlTagName: string;
|
|
773
|
+
controlVoidElement: boolean;
|
|
774
|
+
_slotMutationObserver: any;
|
|
775
|
+
} & {
|
|
776
|
+
_onControlValue(value: string): void;
|
|
777
|
+
onValueChangingContentAttribute(): void;
|
|
778
|
+
focus(options?: FocusOptions): void;
|
|
779
|
+
click(): void;
|
|
780
|
+
} & {
|
|
781
|
+
stateTargetElement: HTMLElement;
|
|
782
|
+
} & {
|
|
783
|
+
checkValidity(): boolean;
|
|
784
|
+
reportValidity(): boolean;
|
|
785
|
+
setCustomValidity(error: string): void;
|
|
786
|
+
} & {
|
|
787
|
+
_computedAriaLabel: string;
|
|
788
|
+
} & {
|
|
789
|
+
_computedAriaLabelledby: never;
|
|
790
|
+
} & {
|
|
791
|
+
stateLayer: boolean;
|
|
792
|
+
} & {
|
|
793
|
+
type: string;
|
|
794
|
+
icon: string;
|
|
795
|
+
iconVariation: string;
|
|
796
|
+
label: string;
|
|
797
|
+
filled: boolean;
|
|
798
|
+
outlined: boolean;
|
|
799
|
+
inputPrefix: string;
|
|
800
|
+
inputSuffix: string;
|
|
801
|
+
trailingIcon: string;
|
|
802
|
+
trailingIconInk: string;
|
|
803
|
+
trailingIconLabel: string;
|
|
804
|
+
supporting: string;
|
|
805
|
+
error: string;
|
|
806
|
+
placeholder: string;
|
|
807
|
+
} & {
|
|
808
|
+
erroredState: boolean;
|
|
809
|
+
} & {
|
|
810
|
+
computePlaceholder: () => ReturnType<({ filled, outlined, label, placeholder }: CustomElement & {
|
|
811
|
+
disabled: boolean;
|
|
812
|
+
focused: boolean;
|
|
813
|
+
hovered: boolean;
|
|
814
|
+
pressed: boolean;
|
|
815
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
816
|
+
_hovered: boolean;
|
|
817
|
+
_focused: boolean;
|
|
818
|
+
_focusedSynthetic: boolean;
|
|
819
|
+
_keyPressed: boolean;
|
|
820
|
+
_keyReleased: boolean;
|
|
821
|
+
_pointerPressed: boolean;
|
|
822
|
+
stateLayer: boolean;
|
|
823
|
+
} & {
|
|
824
|
+
disabledState: boolean;
|
|
825
|
+
hoveredState: boolean;
|
|
826
|
+
focusedState: boolean;
|
|
827
|
+
pressedState: boolean;
|
|
828
|
+
touchedState: boolean;
|
|
829
|
+
pointedState: boolean;
|
|
830
|
+
} & {
|
|
831
|
+
stateTargetElement: HTMLElement;
|
|
832
|
+
} & {
|
|
833
|
+
color: string;
|
|
834
|
+
ink: string;
|
|
835
|
+
typeStyle: string;
|
|
836
|
+
} & {
|
|
837
|
+
shapeTop: boolean;
|
|
838
|
+
shapeBottom: boolean;
|
|
839
|
+
shapeStart: boolean;
|
|
840
|
+
shapeEnd: boolean;
|
|
841
|
+
shapeStyle: string;
|
|
842
|
+
outlined: boolean;
|
|
843
|
+
} & {
|
|
844
|
+
density: number;
|
|
845
|
+
} & {
|
|
846
|
+
delegatesFocus: boolean;
|
|
847
|
+
} & {
|
|
848
|
+
_ipcListener: EventListener;
|
|
849
|
+
_ipcTarget: EventTarget;
|
|
850
|
+
_files: FileList;
|
|
851
|
+
} & {
|
|
852
|
+
ariaControls: string;
|
|
853
|
+
autocomplete: string;
|
|
854
|
+
name: string;
|
|
855
|
+
readOnly: boolean;
|
|
856
|
+
formNoValidate: boolean;
|
|
857
|
+
defaultChecked: boolean;
|
|
858
|
+
_checkedDirty: boolean;
|
|
859
|
+
_checked: boolean;
|
|
860
|
+
required: boolean;
|
|
861
|
+
type: string;
|
|
862
|
+
_defaultValue: string;
|
|
863
|
+
_value: string;
|
|
864
|
+
_valueDirty: boolean;
|
|
865
|
+
_userInteracted: boolean;
|
|
866
|
+
_invalid: boolean;
|
|
867
|
+
_badInput: boolean;
|
|
868
|
+
_validationMessage: string;
|
|
869
|
+
_formDisabled: boolean;
|
|
870
|
+
_formReset: boolean;
|
|
871
|
+
} & {
|
|
872
|
+
erroredState: boolean;
|
|
873
|
+
defaultValue: string;
|
|
874
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
875
|
+
} & {
|
|
876
|
+
_onSetValue(value: string): void;
|
|
877
|
+
_onSetChecked(checked: boolean): void;
|
|
878
|
+
} & {
|
|
879
|
+
value: string;
|
|
880
|
+
checked: boolean;
|
|
881
|
+
} & {
|
|
882
|
+
form: HTMLFormElement;
|
|
883
|
+
validity: ValidityState;
|
|
884
|
+
validationMessage: string;
|
|
885
|
+
willValidate: boolean;
|
|
886
|
+
labels: NodeList;
|
|
887
|
+
} & {
|
|
888
|
+
disabledState: boolean;
|
|
889
|
+
} & {
|
|
890
|
+
checkValidity(): boolean;
|
|
891
|
+
reportValidity(): boolean;
|
|
892
|
+
setCustomValidity(error: string): void;
|
|
893
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
894
|
+
refreshFormAssociation(): void;
|
|
895
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
896
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
897
|
+
formDisabledCallback(disabled: boolean): void;
|
|
898
|
+
formResetCallback(): void;
|
|
899
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
900
|
+
_updateFormAssociatedValue(): void;
|
|
901
|
+
} & {
|
|
902
|
+
ariaLabel: string;
|
|
903
|
+
_slotInnerText: string;
|
|
904
|
+
} & {
|
|
905
|
+
focusableOnDisabled: boolean;
|
|
906
|
+
controlTagName: string;
|
|
907
|
+
controlVoidElement: boolean;
|
|
908
|
+
_slotMutationObserver: any;
|
|
909
|
+
} & {
|
|
910
|
+
_onControlValue(value: string): void;
|
|
911
|
+
onValueChangingContentAttribute(): void;
|
|
912
|
+
focus(options?: FocusOptions): void;
|
|
913
|
+
click(): void;
|
|
914
|
+
} & {
|
|
915
|
+
stateTargetElement: HTMLElement;
|
|
916
|
+
} & {
|
|
917
|
+
checkValidity(): boolean;
|
|
918
|
+
reportValidity(): boolean;
|
|
919
|
+
setCustomValidity(error: string): void;
|
|
920
|
+
} & {
|
|
921
|
+
_computedAriaLabel: string;
|
|
922
|
+
} & {
|
|
923
|
+
_computedAriaLabelledby: never;
|
|
924
|
+
} & {
|
|
925
|
+
stateLayer: boolean;
|
|
926
|
+
} & {
|
|
927
|
+
type: string;
|
|
928
|
+
icon: string;
|
|
929
|
+
iconVariation: string;
|
|
930
|
+
label: string;
|
|
931
|
+
filled: boolean;
|
|
932
|
+
outlined: boolean;
|
|
933
|
+
inputPrefix: string;
|
|
934
|
+
inputSuffix: string;
|
|
935
|
+
trailingIcon: string;
|
|
936
|
+
trailingIconInk: string;
|
|
937
|
+
trailingIconLabel: string;
|
|
938
|
+
supporting: string;
|
|
939
|
+
error: string;
|
|
940
|
+
placeholder: string;
|
|
941
|
+
} & {
|
|
942
|
+
erroredState: boolean;
|
|
943
|
+
}) => string>;
|
|
944
|
+
shouldShowSupporting: () => ReturnType<({ erroredState, supporting }: CustomElement & {
|
|
945
|
+
disabled: boolean;
|
|
946
|
+
focused: boolean;
|
|
947
|
+
hovered: boolean;
|
|
948
|
+
pressed: boolean;
|
|
949
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
950
|
+
_hovered: boolean;
|
|
951
|
+
_focused: boolean;
|
|
952
|
+
_focusedSynthetic: boolean;
|
|
953
|
+
_keyPressed: boolean;
|
|
954
|
+
_keyReleased: boolean;
|
|
955
|
+
_pointerPressed: boolean;
|
|
956
|
+
stateLayer: boolean;
|
|
957
|
+
} & {
|
|
958
|
+
disabledState: boolean;
|
|
959
|
+
hoveredState: boolean;
|
|
960
|
+
focusedState: boolean;
|
|
961
|
+
pressedState: boolean;
|
|
962
|
+
touchedState: boolean;
|
|
963
|
+
pointedState: boolean;
|
|
964
|
+
} & {
|
|
965
|
+
stateTargetElement: HTMLElement;
|
|
966
|
+
} & {
|
|
967
|
+
color: string;
|
|
968
|
+
ink: string;
|
|
969
|
+
typeStyle: string;
|
|
970
|
+
} & {
|
|
971
|
+
shapeTop: boolean;
|
|
972
|
+
shapeBottom: boolean;
|
|
973
|
+
shapeStart: boolean;
|
|
974
|
+
shapeEnd: boolean;
|
|
975
|
+
shapeStyle: string;
|
|
976
|
+
outlined: boolean;
|
|
977
|
+
} & {
|
|
978
|
+
density: number;
|
|
979
|
+
} & {
|
|
980
|
+
delegatesFocus: boolean;
|
|
981
|
+
} & {
|
|
982
|
+
_ipcListener: EventListener;
|
|
983
|
+
_ipcTarget: EventTarget;
|
|
984
|
+
_files: FileList;
|
|
985
|
+
} & {
|
|
986
|
+
ariaControls: string;
|
|
987
|
+
autocomplete: string;
|
|
988
|
+
name: string;
|
|
989
|
+
readOnly: boolean;
|
|
990
|
+
formNoValidate: boolean;
|
|
991
|
+
defaultChecked: boolean;
|
|
992
|
+
_checkedDirty: boolean;
|
|
993
|
+
_checked: boolean;
|
|
994
|
+
required: boolean;
|
|
995
|
+
type: string;
|
|
996
|
+
_defaultValue: string;
|
|
997
|
+
_value: string;
|
|
998
|
+
_valueDirty: boolean;
|
|
999
|
+
_userInteracted: boolean;
|
|
1000
|
+
_invalid: boolean;
|
|
1001
|
+
_badInput: boolean;
|
|
1002
|
+
_validationMessage: string;
|
|
1003
|
+
_formDisabled: boolean;
|
|
1004
|
+
_formReset: boolean;
|
|
1005
|
+
} & {
|
|
1006
|
+
erroredState: boolean;
|
|
1007
|
+
defaultValue: string;
|
|
1008
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
1009
|
+
} & {
|
|
1010
|
+
_onSetValue(value: string): void;
|
|
1011
|
+
_onSetChecked(checked: boolean): void;
|
|
1012
|
+
} & {
|
|
1013
|
+
value: string;
|
|
1014
|
+
checked: boolean;
|
|
1015
|
+
} & {
|
|
1016
|
+
form: HTMLFormElement;
|
|
1017
|
+
validity: ValidityState;
|
|
1018
|
+
validationMessage: string;
|
|
1019
|
+
willValidate: boolean;
|
|
1020
|
+
labels: NodeList;
|
|
1021
|
+
} & {
|
|
1022
|
+
disabledState: boolean;
|
|
1023
|
+
} & {
|
|
1024
|
+
checkValidity(): boolean;
|
|
1025
|
+
reportValidity(): boolean;
|
|
1026
|
+
setCustomValidity(error: string): void;
|
|
1027
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
1028
|
+
refreshFormAssociation(): void;
|
|
1029
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
1030
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
1031
|
+
formDisabledCallback(disabled: boolean): void;
|
|
1032
|
+
formResetCallback(): void;
|
|
1033
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
1034
|
+
_updateFormAssociatedValue(): void;
|
|
1035
|
+
} & {
|
|
1036
|
+
ariaLabel: string;
|
|
1037
|
+
_slotInnerText: string;
|
|
1038
|
+
} & {
|
|
1039
|
+
focusableOnDisabled: boolean;
|
|
1040
|
+
controlTagName: string;
|
|
1041
|
+
controlVoidElement: boolean;
|
|
1042
|
+
_slotMutationObserver: any;
|
|
1043
|
+
} & {
|
|
1044
|
+
_onControlValue(value: string): void;
|
|
1045
|
+
onValueChangingContentAttribute(): void;
|
|
1046
|
+
focus(options?: FocusOptions): void;
|
|
1047
|
+
click(): void;
|
|
1048
|
+
} & {
|
|
1049
|
+
stateTargetElement: HTMLElement;
|
|
1050
|
+
} & {
|
|
1051
|
+
checkValidity(): boolean;
|
|
1052
|
+
reportValidity(): boolean;
|
|
1053
|
+
setCustomValidity(error: string): void;
|
|
1054
|
+
} & {
|
|
1055
|
+
_computedAriaLabel: string;
|
|
1056
|
+
} & {
|
|
1057
|
+
_computedAriaLabelledby: never;
|
|
1058
|
+
} & {
|
|
1059
|
+
stateLayer: boolean;
|
|
1060
|
+
} & {
|
|
1061
|
+
type: string;
|
|
1062
|
+
icon: string;
|
|
1063
|
+
iconVariation: string;
|
|
1064
|
+
label: string;
|
|
1065
|
+
filled: boolean;
|
|
1066
|
+
outlined: boolean;
|
|
1067
|
+
inputPrefix: string;
|
|
1068
|
+
inputSuffix: string;
|
|
1069
|
+
trailingIcon: string;
|
|
1070
|
+
trailingIconInk: string;
|
|
1071
|
+
trailingIconLabel: string;
|
|
1072
|
+
supporting: string;
|
|
1073
|
+
error: string;
|
|
1074
|
+
placeholder: string;
|
|
1075
|
+
} & {
|
|
1076
|
+
erroredState: boolean;
|
|
1077
|
+
}) => boolean>;
|
|
1078
|
+
computeSupportingText: () => ReturnType<({ error, erroredState, _validationMessage, supporting }: CustomElement & {
|
|
1079
|
+
disabled: boolean;
|
|
1080
|
+
focused: boolean;
|
|
1081
|
+
hovered: boolean;
|
|
1082
|
+
pressed: boolean;
|
|
1083
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
1084
|
+
_hovered: boolean;
|
|
1085
|
+
_focused: boolean;
|
|
1086
|
+
_focusedSynthetic: boolean;
|
|
1087
|
+
_keyPressed: boolean;
|
|
1088
|
+
_keyReleased: boolean;
|
|
1089
|
+
_pointerPressed: boolean;
|
|
1090
|
+
stateLayer: boolean;
|
|
1091
|
+
} & {
|
|
1092
|
+
disabledState: boolean;
|
|
1093
|
+
hoveredState: boolean;
|
|
1094
|
+
focusedState: boolean;
|
|
1095
|
+
pressedState: boolean;
|
|
1096
|
+
touchedState: boolean;
|
|
1097
|
+
pointedState: boolean;
|
|
1098
|
+
} & {
|
|
1099
|
+
stateTargetElement: HTMLElement;
|
|
1100
|
+
} & {
|
|
1101
|
+
color: string;
|
|
1102
|
+
ink: string;
|
|
1103
|
+
typeStyle: string;
|
|
1104
|
+
} & {
|
|
1105
|
+
shapeTop: boolean;
|
|
1106
|
+
shapeBottom: boolean;
|
|
1107
|
+
shapeStart: boolean;
|
|
1108
|
+
shapeEnd: boolean;
|
|
1109
|
+
shapeStyle: string;
|
|
1110
|
+
outlined: boolean;
|
|
1111
|
+
} & {
|
|
1112
|
+
density: number;
|
|
1113
|
+
} & {
|
|
1114
|
+
delegatesFocus: boolean;
|
|
1115
|
+
} & {
|
|
1116
|
+
_ipcListener: EventListener;
|
|
1117
|
+
_ipcTarget: EventTarget;
|
|
1118
|
+
_files: FileList;
|
|
1119
|
+
} & {
|
|
1120
|
+
ariaControls: string;
|
|
1121
|
+
autocomplete: string;
|
|
1122
|
+
name: string;
|
|
1123
|
+
readOnly: boolean;
|
|
1124
|
+
formNoValidate: boolean;
|
|
1125
|
+
defaultChecked: boolean;
|
|
1126
|
+
_checkedDirty: boolean;
|
|
1127
|
+
_checked: boolean;
|
|
1128
|
+
required: boolean;
|
|
1129
|
+
type: string;
|
|
1130
|
+
_defaultValue: string;
|
|
1131
|
+
_value: string;
|
|
1132
|
+
_valueDirty: boolean;
|
|
1133
|
+
_userInteracted: boolean;
|
|
1134
|
+
_invalid: boolean;
|
|
1135
|
+
_badInput: boolean;
|
|
1136
|
+
_validationMessage: string;
|
|
1137
|
+
_formDisabled: boolean;
|
|
1138
|
+
_formReset: boolean;
|
|
1139
|
+
} & {
|
|
1140
|
+
erroredState: boolean;
|
|
1141
|
+
defaultValue: string;
|
|
1142
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
1143
|
+
} & {
|
|
1144
|
+
_onSetValue(value: string): void;
|
|
1145
|
+
_onSetChecked(checked: boolean): void;
|
|
1146
|
+
} & {
|
|
1147
|
+
value: string;
|
|
1148
|
+
checked: boolean;
|
|
1149
|
+
} & {
|
|
1150
|
+
form: HTMLFormElement;
|
|
1151
|
+
validity: ValidityState;
|
|
1152
|
+
validationMessage: string;
|
|
1153
|
+
willValidate: boolean;
|
|
1154
|
+
labels: NodeList;
|
|
1155
|
+
} & {
|
|
1156
|
+
disabledState: boolean;
|
|
1157
|
+
} & {
|
|
1158
|
+
checkValidity(): boolean;
|
|
1159
|
+
reportValidity(): boolean;
|
|
1160
|
+
setCustomValidity(error: string): void;
|
|
1161
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
1162
|
+
refreshFormAssociation(): void;
|
|
1163
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
1164
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
1165
|
+
formDisabledCallback(disabled: boolean): void;
|
|
1166
|
+
formResetCallback(): void;
|
|
1167
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
1168
|
+
_updateFormAssociatedValue(): void;
|
|
1169
|
+
} & {
|
|
1170
|
+
ariaLabel: string;
|
|
1171
|
+
_slotInnerText: string;
|
|
1172
|
+
} & {
|
|
1173
|
+
focusableOnDisabled: boolean;
|
|
1174
|
+
controlTagName: string;
|
|
1175
|
+
controlVoidElement: boolean;
|
|
1176
|
+
_slotMutationObserver: any;
|
|
1177
|
+
} & {
|
|
1178
|
+
_onControlValue(value: string): void;
|
|
1179
|
+
onValueChangingContentAttribute(): void;
|
|
1180
|
+
focus(options?: FocusOptions): void;
|
|
1181
|
+
click(): void;
|
|
1182
|
+
} & {
|
|
1183
|
+
stateTargetElement: HTMLElement;
|
|
1184
|
+
} & {
|
|
1185
|
+
checkValidity(): boolean;
|
|
1186
|
+
reportValidity(): boolean;
|
|
1187
|
+
setCustomValidity(error: string): void;
|
|
1188
|
+
} & {
|
|
1189
|
+
_computedAriaLabel: string;
|
|
1190
|
+
} & {
|
|
1191
|
+
_computedAriaLabelledby: never;
|
|
1192
|
+
} & {
|
|
1193
|
+
stateLayer: boolean;
|
|
1194
|
+
} & {
|
|
1195
|
+
type: string;
|
|
1196
|
+
icon: string;
|
|
1197
|
+
iconVariation: string;
|
|
1198
|
+
label: string;
|
|
1199
|
+
filled: boolean;
|
|
1200
|
+
outlined: boolean;
|
|
1201
|
+
inputPrefix: string;
|
|
1202
|
+
inputSuffix: string;
|
|
1203
|
+
trailingIcon: string;
|
|
1204
|
+
trailingIconInk: string;
|
|
1205
|
+
trailingIconLabel: string;
|
|
1206
|
+
supporting: string;
|
|
1207
|
+
error: string;
|
|
1208
|
+
placeholder: string;
|
|
1209
|
+
} & {
|
|
1210
|
+
erroredState: boolean;
|
|
1211
|
+
}) => string>;
|
|
1212
|
+
populatedState: () => ReturnType<({ value, _badInput }: CustomElement & {
|
|
1213
|
+
disabled: boolean;
|
|
1214
|
+
focused: boolean;
|
|
1215
|
+
hovered: boolean;
|
|
1216
|
+
pressed: boolean;
|
|
1217
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
1218
|
+
_hovered: boolean;
|
|
1219
|
+
_focused: boolean;
|
|
1220
|
+
_focusedSynthetic: boolean;
|
|
1221
|
+
_keyPressed: boolean;
|
|
1222
|
+
_keyReleased: boolean;
|
|
1223
|
+
_pointerPressed: boolean;
|
|
1224
|
+
stateLayer: boolean;
|
|
1225
|
+
} & {
|
|
1226
|
+
disabledState: boolean;
|
|
1227
|
+
hoveredState: boolean;
|
|
1228
|
+
focusedState: boolean;
|
|
1229
|
+
pressedState: boolean;
|
|
1230
|
+
touchedState: boolean;
|
|
1231
|
+
pointedState: boolean;
|
|
1232
|
+
} & {
|
|
1233
|
+
stateTargetElement: HTMLElement;
|
|
1234
|
+
} & {
|
|
1235
|
+
color: string;
|
|
1236
|
+
ink: string;
|
|
1237
|
+
typeStyle: string;
|
|
1238
|
+
} & {
|
|
1239
|
+
shapeTop: boolean;
|
|
1240
|
+
shapeBottom: boolean;
|
|
1241
|
+
shapeStart: boolean;
|
|
1242
|
+
shapeEnd: boolean;
|
|
1243
|
+
shapeStyle: string;
|
|
1244
|
+
outlined: boolean;
|
|
1245
|
+
} & {
|
|
1246
|
+
density: number;
|
|
1247
|
+
} & {
|
|
1248
|
+
delegatesFocus: boolean;
|
|
1249
|
+
} & {
|
|
1250
|
+
_ipcListener: EventListener;
|
|
1251
|
+
_ipcTarget: EventTarget;
|
|
1252
|
+
_files: FileList;
|
|
1253
|
+
} & {
|
|
1254
|
+
ariaControls: string;
|
|
1255
|
+
autocomplete: string;
|
|
1256
|
+
name: string;
|
|
1257
|
+
readOnly: boolean;
|
|
1258
|
+
formNoValidate: boolean;
|
|
1259
|
+
defaultChecked: boolean;
|
|
1260
|
+
_checkedDirty: boolean;
|
|
1261
|
+
_checked: boolean;
|
|
1262
|
+
required: boolean;
|
|
1263
|
+
type: string;
|
|
1264
|
+
_defaultValue: string;
|
|
1265
|
+
_value: string;
|
|
1266
|
+
_valueDirty: boolean;
|
|
1267
|
+
_userInteracted: boolean;
|
|
1268
|
+
_invalid: boolean;
|
|
1269
|
+
_badInput: boolean;
|
|
1270
|
+
_validationMessage: string;
|
|
1271
|
+
_formDisabled: boolean;
|
|
1272
|
+
_formReset: boolean;
|
|
1273
|
+
} & {
|
|
1274
|
+
erroredState: boolean;
|
|
1275
|
+
defaultValue: string;
|
|
1276
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
1277
|
+
} & {
|
|
1278
|
+
_onSetValue(value: string): void;
|
|
1279
|
+
_onSetChecked(checked: boolean): void;
|
|
1280
|
+
} & {
|
|
1281
|
+
value: string;
|
|
1282
|
+
checked: boolean;
|
|
1283
|
+
} & {
|
|
1284
|
+
form: HTMLFormElement;
|
|
1285
|
+
validity: ValidityState;
|
|
1286
|
+
validationMessage: string;
|
|
1287
|
+
willValidate: boolean;
|
|
1288
|
+
labels: NodeList;
|
|
1289
|
+
} & {
|
|
1290
|
+
disabledState: boolean;
|
|
1291
|
+
} & {
|
|
1292
|
+
checkValidity(): boolean;
|
|
1293
|
+
reportValidity(): boolean;
|
|
1294
|
+
setCustomValidity(error: string): void;
|
|
1295
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
1296
|
+
refreshFormAssociation(): void;
|
|
1297
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
1298
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
1299
|
+
formDisabledCallback(disabled: boolean): void;
|
|
1300
|
+
formResetCallback(): void;
|
|
1301
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
1302
|
+
_updateFormAssociatedValue(): void;
|
|
1303
|
+
} & {
|
|
1304
|
+
ariaLabel: string;
|
|
1305
|
+
_slotInnerText: string;
|
|
1306
|
+
} & {
|
|
1307
|
+
focusableOnDisabled: boolean;
|
|
1308
|
+
controlTagName: string;
|
|
1309
|
+
controlVoidElement: boolean;
|
|
1310
|
+
_slotMutationObserver: any;
|
|
1311
|
+
} & {
|
|
1312
|
+
_onControlValue(value: string): void;
|
|
1313
|
+
onValueChangingContentAttribute(): void;
|
|
1314
|
+
focus(options?: FocusOptions): void;
|
|
1315
|
+
click(): void;
|
|
1316
|
+
} & {
|
|
1317
|
+
stateTargetElement: HTMLElement;
|
|
1318
|
+
} & {
|
|
1319
|
+
checkValidity(): boolean;
|
|
1320
|
+
reportValidity(): boolean;
|
|
1321
|
+
setCustomValidity(error: string): void;
|
|
1322
|
+
} & {
|
|
1323
|
+
_computedAriaLabel: string;
|
|
1324
|
+
} & {
|
|
1325
|
+
_computedAriaLabelledby: never;
|
|
1326
|
+
} & {
|
|
1327
|
+
stateLayer: boolean;
|
|
1328
|
+
} & {
|
|
1329
|
+
type: string;
|
|
1330
|
+
icon: string;
|
|
1331
|
+
iconVariation: string;
|
|
1332
|
+
label: string;
|
|
1333
|
+
filled: boolean;
|
|
1334
|
+
outlined: boolean;
|
|
1335
|
+
inputPrefix: string;
|
|
1336
|
+
inputSuffix: string;
|
|
1337
|
+
trailingIcon: string;
|
|
1338
|
+
trailingIconInk: string;
|
|
1339
|
+
trailingIconLabel: string;
|
|
1340
|
+
supporting: string;
|
|
1341
|
+
error: string;
|
|
1342
|
+
placeholder: string;
|
|
1343
|
+
} & {
|
|
1344
|
+
erroredState: boolean;
|
|
1345
|
+
}) => boolean>;
|
|
1346
|
+
_showLabelText: never;
|
|
1347
|
+
}) => string>;
|
|
1348
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
1349
|
+
trailingIcon: string;
|
|
1350
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
1351
|
+
controlTagName: string;
|
|
1352
|
+
controlVoidElement: boolean;
|
|
1353
|
+
type: string;
|
|
1354
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
1355
|
+
_select: HTMLSelectElement;
|
|
1356
|
+
multiple: boolean;
|
|
1357
|
+
size: number;
|
|
1358
|
+
}, any[]>;
|
|
1359
|
+
export default _default;
|
|
1360
|
+
import CustomElement from '../core/CustomElement.js';
|
|
1361
|
+
//# sourceMappingURL=Select.d.ts.map
|