@shortfuse/materialdesignweb 0.7.6 → 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 +87 -90
- package/bin/mdw-css.js +1 -1
- package/components/Badge.js +14 -7
- package/components/Body.js +3 -0
- package/components/BottomAppBar.js +4 -13
- package/components/BottomSheet.js +424 -0
- package/components/Box.js +20 -28
- package/components/Button.js +85 -79
- package/components/Button.md +9 -9
- package/components/Card.js +60 -72
- package/components/Checkbox.js +33 -42
- package/components/CheckboxIcon.js +11 -29
- package/components/Chip.js +13 -11
- package/components/Dialog.js +214 -394
- package/components/DialogActions.js +2 -2
- package/components/Display.js +55 -0
- package/components/Divider.js +3 -3
- package/components/Fab.js +83 -18
- package/components/FabContainer.js +48 -0
- package/components/FilterChip.js +35 -33
- package/components/Grid.js +176 -0
- package/components/Headline.js +5 -28
- package/components/Icon.js +61 -76
- package/components/IconButton.js +72 -126
- package/components/Input.js +859 -1
- package/components/InputChip.js +161 -0
- package/components/Label.js +3 -0
- package/components/List.js +4 -6
- package/components/ListItem.js +46 -30
- package/components/ListOption.js +86 -53
- package/components/Listbox.js +248 -0
- package/components/Menu.js +69 -528
- package/components/MenuItem.js +33 -36
- package/components/NavBar.js +49 -86
- package/components/NavDrawer.js +16 -15
- package/components/NavDrawerItem.js +4 -5
- package/components/NavItem.js +58 -41
- package/components/NavRail.js +30 -20
- package/components/NavRailItem.js +8 -3
- package/components/Page.js +105 -0
- package/components/Pane.js +11 -274
- package/components/Popup.js +29 -0
- package/components/Progress.js +24 -23
- package/components/Radio.js +40 -36
- package/components/RadioIcon.js +12 -16
- package/components/Ripple.js +13 -10
- package/components/Root.js +209 -0
- package/components/Scrim.js +87 -0
- package/components/Search.js +77 -0
- package/components/SegmentedButton.js +33 -45
- package/components/SegmentedButtonGroup.js +25 -13
- package/components/Select.js +10 -11
- package/components/Shape.js +5 -65
- package/components/SideSheet.js +308 -0
- package/components/Slider.js +108 -78
- package/components/Snackbar.js +26 -21
- package/components/SnackbarContainer.js +42 -0
- package/components/Surface.js +17 -12
- package/components/Switch.js +45 -24
- package/components/SwitchIcon.js +49 -39
- package/components/Tab.js +64 -43
- package/components/TabContent.js +5 -3
- package/components/TabList.js +62 -34
- package/components/TabPanel.js +11 -8
- package/components/Table.js +116 -0
- package/components/TextArea.js +54 -50
- package/components/Title.js +4 -9
- package/components/Tooltip.js +44 -22
- package/components/TopAppBar.js +68 -172
- package/constants/shapes.js +36 -0
- package/constants/typography.js +127 -0
- package/core/Composition.js +1164 -645
- package/core/CompositionAdapter.js +314 -0
- package/core/CustomElement.js +701 -286
- package/core/css.js +121 -15
- package/core/customTypes.js +157 -40
- package/core/dom.js +17 -11
- package/{utils → core}/jsonMergePatch.js +42 -18
- package/core/observe.js +343 -244
- package/core/optimizations.js +23 -0
- package/core/template.js +19 -56
- package/core/uid.js +13 -0
- package/dist/index.min.js +85 -184
- package/dist/index.min.js.map +4 -4
- package/dist/meta.json +1 -1
- package/dom/HTMLOptionsCollectionProxy.js +106 -0
- package/loaders/palette.js +13 -0
- package/loaders/theme.js +12 -0
- package/mixins/AriaReflectorMixin.js +53 -14
- package/mixins/AriaToolbarMixin.js +5 -3
- package/mixins/ControlMixin.js +92 -41
- package/mixins/DelegatesFocusMixin.js +54 -0
- package/mixins/DensityMixin.js +2 -3
- package/mixins/ElevationMixin.js +62 -0
- package/mixins/FlexableMixin.js +67 -39
- package/mixins/FormAssociatedMixin.js +71 -16
- package/mixins/HyperlinkMixin.js +66 -0
- package/mixins/InputMixin.js +205 -39
- package/mixins/KeyboardNavMixin.js +22 -7
- package/mixins/NavigationListenerMixin.js +33 -0
- package/mixins/PopupMixin.js +725 -0
- package/mixins/RTLObserverMixin.js +0 -1
- package/mixins/ResizeObserverMixin.js +16 -5
- package/mixins/RippleMixin.js +11 -10
- package/mixins/ScrollListenerMixin.js +42 -33
- package/mixins/SemiStickyMixin.js +97 -0
- package/mixins/ShapeMaskedMixin.js +117 -0
- package/mixins/ShapeMixin.js +17 -194
- package/mixins/StateMixin.js +80 -39
- package/mixins/TextFieldMixin.js +139 -183
- package/mixins/ThemableMixin.js +71 -161
- package/mixins/TooltipTriggerMixin.js +292 -366
- package/mixins/TouchTargetMixin.js +5 -4
- package/mixins/TypographyMixin.js +121 -0
- package/package.json +111 -71
- package/services/rtl.js +10 -0
- package/services/svgAlias.js +17 -0
- package/{theming/index.js → services/theme.js} +25 -175
- 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/{hct → material-color}/blend.js +8 -10
- package/utils/{hct → material-color/hct}/Cam16.js +196 -69
- package/utils/{hct → material-color/hct}/Hct.js +61 -19
- package/utils/{hct → material-color/hct}/ViewingConditions.js +3 -3
- package/utils/{hct → material-color/hct}/hctSolver.js +9 -16
- package/utils/{hct → material-color}/helper.js +11 -18
- package/utils/{hct → material-color/palettes}/CorePalette.js +79 -19
- package/utils/{hct → material-color/palettes}/TonalPalette.js +12 -4
- package/utils/material-color/scheme/Scheme.js +376 -0
- package/utils/{hct/colorUtils.js → material-color/utils/color.js} +61 -1
- package/utils/pixelmatch.js +360 -0
- package/utils/popup.js +127 -30
- package/utils/searchParams.js +19 -0
- package/components/ExtendedFab.js +0 -36
- package/components/Layout.js +0 -35
- package/components/ListSelect.js +0 -220
- package/components/Nav.js +0 -40
- package/components/Option.js +0 -91
- package/core/ICustomElement.d.ts +0 -291
- package/core/ICustomElement.js +0 -1
- package/core/identify.js +0 -40
- package/core/typings.d.ts +0 -136
- package/core/typings.js +0 -1
- package/mixins/SurfaceMixin.js +0 -181
- package/theming/loader.js +0 -22
- package/utils/hct/Scheme.js +0 -587
- /package/{utils/color_keywords.js → constants/colorKeywords.js} +0 -0
- /package/utils/{hct/mathUtils.js → material-color/utils/math.js} +0 -0
|
@@ -0,0 +1,714 @@
|
|
|
1
|
+
declare const _default: typeof CustomElement & import("../core/CustomElement.js").Class<{
|
|
2
|
+
href: string;
|
|
3
|
+
target: string;
|
|
4
|
+
download: string;
|
|
5
|
+
ping: string;
|
|
6
|
+
rel: string;
|
|
7
|
+
hreflang: string;
|
|
8
|
+
referrerPolicy: string;
|
|
9
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
10
|
+
origin: string;
|
|
11
|
+
protocol: string;
|
|
12
|
+
username: string;
|
|
13
|
+
password: string;
|
|
14
|
+
host: string;
|
|
15
|
+
hostname: string;
|
|
16
|
+
port: string;
|
|
17
|
+
pathname: string;
|
|
18
|
+
search: string;
|
|
19
|
+
hash: string;
|
|
20
|
+
}, any[]> & import("../core/CustomElement.js").Class<object, any[]> & import("../core/CustomElement.js").Class<{
|
|
21
|
+
delegatesFocus: boolean;
|
|
22
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
focused: boolean;
|
|
25
|
+
hovered: boolean;
|
|
26
|
+
pressed: boolean;
|
|
27
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
28
|
+
_hovered: boolean;
|
|
29
|
+
_focused: boolean;
|
|
30
|
+
_focusedSynthetic: boolean;
|
|
31
|
+
_keyPressed: boolean;
|
|
32
|
+
_keyReleased: boolean;
|
|
33
|
+
_pointerPressed: boolean;
|
|
34
|
+
stateLayer: boolean;
|
|
35
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
36
|
+
disabledState: boolean;
|
|
37
|
+
hoveredState: boolean;
|
|
38
|
+
focusedState: boolean;
|
|
39
|
+
pressedState: boolean;
|
|
40
|
+
touchedState: boolean;
|
|
41
|
+
pointedState: boolean;
|
|
42
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
43
|
+
stateTargetElement: HTMLElement;
|
|
44
|
+
}, any[]> & {
|
|
45
|
+
formAssociated: true;
|
|
46
|
+
} & import("../core/CustomElement.js").Class<{
|
|
47
|
+
_ipcListener: EventListener;
|
|
48
|
+
_ipcTarget: EventTarget;
|
|
49
|
+
_files: FileList;
|
|
50
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
51
|
+
ariaControls: string;
|
|
52
|
+
autocomplete: string;
|
|
53
|
+
name: string;
|
|
54
|
+
readOnly: boolean;
|
|
55
|
+
formNoValidate: boolean;
|
|
56
|
+
defaultChecked: boolean;
|
|
57
|
+
_checkedDirty: boolean;
|
|
58
|
+
_checked: boolean;
|
|
59
|
+
required: boolean;
|
|
60
|
+
type: string;
|
|
61
|
+
_defaultValue: string;
|
|
62
|
+
_value: string;
|
|
63
|
+
_valueDirty: boolean;
|
|
64
|
+
_userInteracted: boolean;
|
|
65
|
+
_invalid: boolean;
|
|
66
|
+
_badInput: boolean;
|
|
67
|
+
_validationMessage: string;
|
|
68
|
+
_formDisabled: boolean;
|
|
69
|
+
_formReset: boolean;
|
|
70
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
71
|
+
erroredState: boolean;
|
|
72
|
+
defaultValue: string;
|
|
73
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
74
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
75
|
+
_onSetValue(value: string): void;
|
|
76
|
+
_onSetChecked(checked: boolean): void;
|
|
77
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
78
|
+
value: string;
|
|
79
|
+
checked: boolean;
|
|
80
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
81
|
+
form: HTMLFormElement;
|
|
82
|
+
validity: ValidityState;
|
|
83
|
+
validationMessage: string;
|
|
84
|
+
willValidate: boolean;
|
|
85
|
+
labels: NodeList;
|
|
86
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
87
|
+
disabledState: boolean;
|
|
88
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
89
|
+
checkValidity(): boolean;
|
|
90
|
+
reportValidity(): boolean;
|
|
91
|
+
setCustomValidity(error: string): void;
|
|
92
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
93
|
+
refreshFormAssociation(): void;
|
|
94
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
95
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
96
|
+
formDisabledCallback(disabled: boolean): void;
|
|
97
|
+
formResetCallback(): void;
|
|
98
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
99
|
+
_updateFormAssociatedValue(): void;
|
|
100
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
101
|
+
ariaLabel: string;
|
|
102
|
+
_slotInnerText: string;
|
|
103
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
104
|
+
focusableOnDisabled: boolean;
|
|
105
|
+
controlTagName: string;
|
|
106
|
+
controlVoidElement: boolean;
|
|
107
|
+
_slotMutationObserver: any;
|
|
108
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
109
|
+
_onControlValue(value: string): void;
|
|
110
|
+
onValueChangingContentAttribute(): void;
|
|
111
|
+
focus(options?: FocusOptions): void;
|
|
112
|
+
click(): void;
|
|
113
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
114
|
+
stateTargetElement: HTMLElement;
|
|
115
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
116
|
+
checkValidity(): boolean;
|
|
117
|
+
reportValidity(): boolean;
|
|
118
|
+
setCustomValidity(error: string): void;
|
|
119
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
120
|
+
_computedAriaLabel: string;
|
|
121
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
122
|
+
_computedAriaLabelledby: never;
|
|
123
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
124
|
+
accept: string;
|
|
125
|
+
alt: string;
|
|
126
|
+
dirName: string;
|
|
127
|
+
_formAction: string;
|
|
128
|
+
formEnctype: string;
|
|
129
|
+
formMethod: string;
|
|
130
|
+
formTarget: string;
|
|
131
|
+
_height: number;
|
|
132
|
+
_indeterminate: boolean;
|
|
133
|
+
max: string;
|
|
134
|
+
maxLength: number;
|
|
135
|
+
min: string;
|
|
136
|
+
minLength: number;
|
|
137
|
+
multiple: boolean;
|
|
138
|
+
pattern: string;
|
|
139
|
+
placeholder: string;
|
|
140
|
+
size: number;
|
|
141
|
+
src: string;
|
|
142
|
+
step: string;
|
|
143
|
+
_width: number;
|
|
144
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
145
|
+
_useFormImplicitSubmission: boolean;
|
|
146
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
147
|
+
_input: HTMLInputElement;
|
|
148
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
149
|
+
indeterminate: boolean;
|
|
150
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
151
|
+
controlTagName: string;
|
|
152
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
153
|
+
_onSetChecked(checked: boolean): void;
|
|
154
|
+
_onSetValue(value: string): void;
|
|
155
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
156
|
+
performImplicitSubmission(event: Event): void;
|
|
157
|
+
_redispatchControlClickEvent(event: Event): boolean;
|
|
158
|
+
_handleInputClick(event: MouseEvent): void;
|
|
159
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
160
|
+
setRangeText(replacement: string): void;
|
|
161
|
+
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
162
|
+
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
163
|
+
showPicker(): void;
|
|
164
|
+
stepDown(n?: number): void;
|
|
165
|
+
stepUp(n?: number): void;
|
|
166
|
+
select(): void;
|
|
167
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
168
|
+
files: FileList;
|
|
169
|
+
selectionDirection: "none" | "forward" | "backward";
|
|
170
|
+
selectionEnd: number;
|
|
171
|
+
selectionStart: number;
|
|
172
|
+
valueAsDate: Date;
|
|
173
|
+
valueAsNumber: number;
|
|
174
|
+
height: number;
|
|
175
|
+
formAction: string;
|
|
176
|
+
width: number;
|
|
177
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
178
|
+
_lastRippleWeakRef: WeakRef<InstanceType<import("../mixins/RippleMixin.js").Ripple>>;
|
|
179
|
+
_rippleAdded: boolean;
|
|
180
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
181
|
+
_lastRipple: CustomElement & {
|
|
182
|
+
hadRippleHeld: boolean;
|
|
183
|
+
hadRippleReleased: boolean;
|
|
184
|
+
rippleStarted: boolean;
|
|
185
|
+
} & {
|
|
186
|
+
rippleState: string;
|
|
187
|
+
keepAlive: boolean;
|
|
188
|
+
_positionX: number;
|
|
189
|
+
_positionY: number;
|
|
190
|
+
_radius: number;
|
|
191
|
+
holdRipple: boolean;
|
|
192
|
+
} & {
|
|
193
|
+
_positionStyle: import("../core/customTypes.js").ElementStylerOptions | {
|
|
194
|
+
styles: {
|
|
195
|
+
minHeight: string;
|
|
196
|
+
minWidth: string;
|
|
197
|
+
boxShadow: string;
|
|
198
|
+
top: string;
|
|
199
|
+
left: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
} & {
|
|
203
|
+
updatePosition(x?: number, y?: number, size?: number): void;
|
|
204
|
+
handleRippleComplete(): void;
|
|
205
|
+
};
|
|
206
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
207
|
+
addRipple(x?: number, y?: number, hold?: boolean): InstanceType<Ripple>;
|
|
208
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
209
|
+
color: string;
|
|
210
|
+
ink: string;
|
|
211
|
+
typeStyle: string;
|
|
212
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
213
|
+
shapeTop: boolean;
|
|
214
|
+
shapeBottom: boolean;
|
|
215
|
+
shapeStart: boolean;
|
|
216
|
+
shapeEnd: boolean;
|
|
217
|
+
shapeStyle: string;
|
|
218
|
+
outlined: boolean;
|
|
219
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
220
|
+
density: number;
|
|
221
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
222
|
+
stateTargetElement: HTMLElement;
|
|
223
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
224
|
+
stateLayer: boolean;
|
|
225
|
+
_allowedTypes: string[];
|
|
226
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
227
|
+
type: string;
|
|
228
|
+
elevated: boolean;
|
|
229
|
+
filled: string;
|
|
230
|
+
outlined: boolean;
|
|
231
|
+
icon: string;
|
|
232
|
+
iconInk: string;
|
|
233
|
+
src: string;
|
|
234
|
+
svg: string;
|
|
235
|
+
viewBox: string;
|
|
236
|
+
svgPath: string;
|
|
237
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
238
|
+
hasIcon: () => ReturnType<({ icon, svg, src, svgPath }?: CustomElement & {
|
|
239
|
+
href: string;
|
|
240
|
+
target: string;
|
|
241
|
+
download: string;
|
|
242
|
+
ping: string;
|
|
243
|
+
rel: string;
|
|
244
|
+
hreflang: string;
|
|
245
|
+
referrerPolicy: string;
|
|
246
|
+
} & {
|
|
247
|
+
origin: string;
|
|
248
|
+
protocol: string;
|
|
249
|
+
username: string;
|
|
250
|
+
password: string;
|
|
251
|
+
host: string;
|
|
252
|
+
hostname: string;
|
|
253
|
+
port: string;
|
|
254
|
+
pathname: string;
|
|
255
|
+
search: string;
|
|
256
|
+
hash: string;
|
|
257
|
+
} & object & {
|
|
258
|
+
delegatesFocus: boolean;
|
|
259
|
+
} & {
|
|
260
|
+
disabled: boolean;
|
|
261
|
+
focused: boolean;
|
|
262
|
+
hovered: boolean;
|
|
263
|
+
pressed: boolean;
|
|
264
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
265
|
+
_hovered: boolean;
|
|
266
|
+
_focused: boolean;
|
|
267
|
+
_focusedSynthetic: boolean;
|
|
268
|
+
_keyPressed: boolean;
|
|
269
|
+
_keyReleased: boolean;
|
|
270
|
+
_pointerPressed: boolean;
|
|
271
|
+
stateLayer: boolean;
|
|
272
|
+
} & {
|
|
273
|
+
disabledState: boolean;
|
|
274
|
+
hoveredState: boolean;
|
|
275
|
+
focusedState: boolean;
|
|
276
|
+
pressedState: boolean;
|
|
277
|
+
touchedState: boolean;
|
|
278
|
+
pointedState: boolean;
|
|
279
|
+
} & {
|
|
280
|
+
stateTargetElement: HTMLElement;
|
|
281
|
+
} & {
|
|
282
|
+
_ipcListener: EventListener;
|
|
283
|
+
_ipcTarget: EventTarget;
|
|
284
|
+
_files: FileList;
|
|
285
|
+
} & {
|
|
286
|
+
ariaControls: string;
|
|
287
|
+
autocomplete: string;
|
|
288
|
+
name: string;
|
|
289
|
+
readOnly: boolean;
|
|
290
|
+
formNoValidate: boolean;
|
|
291
|
+
defaultChecked: boolean;
|
|
292
|
+
_checkedDirty: boolean;
|
|
293
|
+
_checked: boolean;
|
|
294
|
+
required: boolean;
|
|
295
|
+
type: string;
|
|
296
|
+
_defaultValue: string;
|
|
297
|
+
_value: string;
|
|
298
|
+
_valueDirty: boolean;
|
|
299
|
+
_userInteracted: boolean;
|
|
300
|
+
_invalid: boolean;
|
|
301
|
+
_badInput: boolean;
|
|
302
|
+
_validationMessage: string;
|
|
303
|
+
_formDisabled: boolean;
|
|
304
|
+
_formReset: boolean;
|
|
305
|
+
} & {
|
|
306
|
+
erroredState: boolean;
|
|
307
|
+
defaultValue: string;
|
|
308
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
309
|
+
} & {
|
|
310
|
+
_onSetValue(value: string): void;
|
|
311
|
+
_onSetChecked(checked: boolean): void;
|
|
312
|
+
} & {
|
|
313
|
+
value: string;
|
|
314
|
+
checked: boolean;
|
|
315
|
+
} & {
|
|
316
|
+
form: HTMLFormElement;
|
|
317
|
+
validity: ValidityState;
|
|
318
|
+
validationMessage: string;
|
|
319
|
+
willValidate: boolean;
|
|
320
|
+
labels: NodeList;
|
|
321
|
+
} & {
|
|
322
|
+
disabledState: boolean;
|
|
323
|
+
} & {
|
|
324
|
+
checkValidity(): boolean;
|
|
325
|
+
reportValidity(): boolean;
|
|
326
|
+
setCustomValidity(error: string): void;
|
|
327
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
328
|
+
refreshFormAssociation(): void;
|
|
329
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
330
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
331
|
+
formDisabledCallback(disabled: boolean): void;
|
|
332
|
+
formResetCallback(): void;
|
|
333
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
334
|
+
_updateFormAssociatedValue(): void;
|
|
335
|
+
} & {
|
|
336
|
+
ariaLabel: string;
|
|
337
|
+
_slotInnerText: string;
|
|
338
|
+
} & {
|
|
339
|
+
focusableOnDisabled: boolean;
|
|
340
|
+
controlTagName: string;
|
|
341
|
+
controlVoidElement: boolean;
|
|
342
|
+
_slotMutationObserver: any;
|
|
343
|
+
} & {
|
|
344
|
+
_onControlValue(value: string): void;
|
|
345
|
+
onValueChangingContentAttribute(): void;
|
|
346
|
+
focus(options?: FocusOptions): void;
|
|
347
|
+
click(): void;
|
|
348
|
+
} & {
|
|
349
|
+
stateTargetElement: HTMLElement;
|
|
350
|
+
} & {
|
|
351
|
+
checkValidity(): boolean;
|
|
352
|
+
reportValidity(): boolean;
|
|
353
|
+
setCustomValidity(error: string): void;
|
|
354
|
+
} & {
|
|
355
|
+
_computedAriaLabel: string;
|
|
356
|
+
} & {
|
|
357
|
+
_computedAriaLabelledby: never;
|
|
358
|
+
} & {
|
|
359
|
+
accept: string;
|
|
360
|
+
alt: string;
|
|
361
|
+
dirName: string;
|
|
362
|
+
_formAction: string;
|
|
363
|
+
formEnctype: string;
|
|
364
|
+
formMethod: string;
|
|
365
|
+
formTarget: string;
|
|
366
|
+
_height: number;
|
|
367
|
+
_indeterminate: boolean;
|
|
368
|
+
max: string;
|
|
369
|
+
maxLength: number;
|
|
370
|
+
min: string;
|
|
371
|
+
minLength: number;
|
|
372
|
+
multiple: boolean;
|
|
373
|
+
pattern: string;
|
|
374
|
+
placeholder: string;
|
|
375
|
+
size: number;
|
|
376
|
+
src: string;
|
|
377
|
+
step: string;
|
|
378
|
+
_width: number;
|
|
379
|
+
} & {
|
|
380
|
+
_useFormImplicitSubmission: boolean;
|
|
381
|
+
} & {
|
|
382
|
+
_input: HTMLInputElement;
|
|
383
|
+
} & {
|
|
384
|
+
indeterminate: boolean;
|
|
385
|
+
} & {
|
|
386
|
+
controlTagName: string;
|
|
387
|
+
} & {
|
|
388
|
+
_onSetChecked(checked: boolean): void;
|
|
389
|
+
_onSetValue(value: string): void;
|
|
390
|
+
} & {
|
|
391
|
+
performImplicitSubmission(event: Event): void;
|
|
392
|
+
_redispatchControlClickEvent(event: Event): boolean;
|
|
393
|
+
_handleInputClick(event: MouseEvent): void;
|
|
394
|
+
} & {
|
|
395
|
+
setRangeText(replacement: string): void;
|
|
396
|
+
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
397
|
+
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
398
|
+
showPicker(): void;
|
|
399
|
+
stepDown(n?: number): void;
|
|
400
|
+
stepUp(n?: number): void;
|
|
401
|
+
select(): void;
|
|
402
|
+
} & {
|
|
403
|
+
files: FileList;
|
|
404
|
+
selectionDirection: "none" | "forward" | "backward";
|
|
405
|
+
selectionEnd: number;
|
|
406
|
+
selectionStart: number;
|
|
407
|
+
valueAsDate: Date;
|
|
408
|
+
valueAsNumber: number;
|
|
409
|
+
height: number;
|
|
410
|
+
formAction: string;
|
|
411
|
+
width: number;
|
|
412
|
+
} & {
|
|
413
|
+
_lastRippleWeakRef: WeakRef<InstanceType<import("../mixins/RippleMixin.js").Ripple>>;
|
|
414
|
+
_rippleAdded: boolean;
|
|
415
|
+
} & {
|
|
416
|
+
_lastRipple: CustomElement & {
|
|
417
|
+
hadRippleHeld: boolean;
|
|
418
|
+
hadRippleReleased: boolean;
|
|
419
|
+
rippleStarted: boolean;
|
|
420
|
+
} & {
|
|
421
|
+
rippleState: string;
|
|
422
|
+
keepAlive: boolean;
|
|
423
|
+
_positionX: number;
|
|
424
|
+
_positionY: number;
|
|
425
|
+
_radius: number;
|
|
426
|
+
holdRipple: boolean;
|
|
427
|
+
} & {
|
|
428
|
+
_positionStyle: import("../core/customTypes.js").ElementStylerOptions | {
|
|
429
|
+
styles: {
|
|
430
|
+
minHeight: string;
|
|
431
|
+
minWidth: string;
|
|
432
|
+
boxShadow: string;
|
|
433
|
+
top: string;
|
|
434
|
+
left: string;
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
} & {
|
|
438
|
+
updatePosition(x?: number, y?: number, size?: number): void;
|
|
439
|
+
handleRippleComplete(): void;
|
|
440
|
+
};
|
|
441
|
+
} & {
|
|
442
|
+
addRipple(x?: number, y?: number, hold?: boolean): InstanceType<Ripple>;
|
|
443
|
+
} & {
|
|
444
|
+
color: string;
|
|
445
|
+
ink: string;
|
|
446
|
+
typeStyle: string;
|
|
447
|
+
} & {
|
|
448
|
+
shapeTop: boolean;
|
|
449
|
+
shapeBottom: boolean;
|
|
450
|
+
shapeStart: boolean;
|
|
451
|
+
shapeEnd: boolean;
|
|
452
|
+
shapeStyle: string;
|
|
453
|
+
outlined: boolean;
|
|
454
|
+
} & {
|
|
455
|
+
density: number;
|
|
456
|
+
} & {
|
|
457
|
+
stateTargetElement: HTMLElement;
|
|
458
|
+
} & {
|
|
459
|
+
stateLayer: boolean;
|
|
460
|
+
_allowedTypes: string[];
|
|
461
|
+
} & {
|
|
462
|
+
type: string;
|
|
463
|
+
elevated: boolean;
|
|
464
|
+
filled: string;
|
|
465
|
+
outlined: boolean;
|
|
466
|
+
icon: string;
|
|
467
|
+
iconInk: string;
|
|
468
|
+
src: string;
|
|
469
|
+
svg: string;
|
|
470
|
+
viewBox: string;
|
|
471
|
+
svgPath: string;
|
|
472
|
+
}) => string>;
|
|
473
|
+
iconVariation: () => ReturnType<({ outlined }?: CustomElement & {
|
|
474
|
+
href: string;
|
|
475
|
+
target: string;
|
|
476
|
+
download: string;
|
|
477
|
+
ping: string;
|
|
478
|
+
rel: string;
|
|
479
|
+
hreflang: string;
|
|
480
|
+
referrerPolicy: string;
|
|
481
|
+
} & {
|
|
482
|
+
origin: string;
|
|
483
|
+
protocol: string;
|
|
484
|
+
username: string;
|
|
485
|
+
password: string;
|
|
486
|
+
host: string;
|
|
487
|
+
hostname: string;
|
|
488
|
+
port: string;
|
|
489
|
+
pathname: string;
|
|
490
|
+
search: string;
|
|
491
|
+
hash: string;
|
|
492
|
+
} & object & {
|
|
493
|
+
delegatesFocus: boolean;
|
|
494
|
+
} & {
|
|
495
|
+
disabled: boolean;
|
|
496
|
+
focused: boolean;
|
|
497
|
+
hovered: boolean;
|
|
498
|
+
pressed: boolean;
|
|
499
|
+
_lastInteraction: "key" | "mouse" | "touch" | "pen";
|
|
500
|
+
_hovered: boolean;
|
|
501
|
+
_focused: boolean;
|
|
502
|
+
_focusedSynthetic: boolean;
|
|
503
|
+
_keyPressed: boolean;
|
|
504
|
+
_keyReleased: boolean;
|
|
505
|
+
_pointerPressed: boolean;
|
|
506
|
+
stateLayer: boolean;
|
|
507
|
+
} & {
|
|
508
|
+
disabledState: boolean;
|
|
509
|
+
hoveredState: boolean;
|
|
510
|
+
focusedState: boolean;
|
|
511
|
+
pressedState: boolean;
|
|
512
|
+
touchedState: boolean;
|
|
513
|
+
pointedState: boolean;
|
|
514
|
+
} & {
|
|
515
|
+
stateTargetElement: HTMLElement;
|
|
516
|
+
} & {
|
|
517
|
+
_ipcListener: EventListener;
|
|
518
|
+
_ipcTarget: EventTarget;
|
|
519
|
+
_files: FileList;
|
|
520
|
+
} & {
|
|
521
|
+
ariaControls: string;
|
|
522
|
+
autocomplete: string;
|
|
523
|
+
name: string;
|
|
524
|
+
readOnly: boolean;
|
|
525
|
+
formNoValidate: boolean;
|
|
526
|
+
defaultChecked: boolean;
|
|
527
|
+
_checkedDirty: boolean;
|
|
528
|
+
_checked: boolean;
|
|
529
|
+
required: boolean;
|
|
530
|
+
type: string;
|
|
531
|
+
_defaultValue: string;
|
|
532
|
+
_value: string;
|
|
533
|
+
_valueDirty: boolean;
|
|
534
|
+
_userInteracted: boolean;
|
|
535
|
+
_invalid: boolean;
|
|
536
|
+
_badInput: boolean;
|
|
537
|
+
_validationMessage: string;
|
|
538
|
+
_formDisabled: boolean;
|
|
539
|
+
_formReset: boolean;
|
|
540
|
+
} & {
|
|
541
|
+
erroredState: boolean;
|
|
542
|
+
defaultValue: string;
|
|
543
|
+
_valueBehavior: "default" | "value" | "default/on" | "filename";
|
|
544
|
+
} & {
|
|
545
|
+
_onSetValue(value: string): void;
|
|
546
|
+
_onSetChecked(checked: boolean): void;
|
|
547
|
+
} & {
|
|
548
|
+
value: string;
|
|
549
|
+
checked: boolean;
|
|
550
|
+
} & {
|
|
551
|
+
form: HTMLFormElement;
|
|
552
|
+
validity: ValidityState;
|
|
553
|
+
validationMessage: string;
|
|
554
|
+
willValidate: boolean;
|
|
555
|
+
labels: NodeList;
|
|
556
|
+
} & {
|
|
557
|
+
disabledState: boolean;
|
|
558
|
+
} & {
|
|
559
|
+
checkValidity(): boolean;
|
|
560
|
+
reportValidity(): boolean;
|
|
561
|
+
setCustomValidity(error: string): void;
|
|
562
|
+
_notifyRadioChange(key: string, value: string): void;
|
|
563
|
+
refreshFormAssociation(): void;
|
|
564
|
+
formAssociatedCallback(form: HTMLFormElement | null): void;
|
|
565
|
+
formIPCEvent(event: CustomEvent<[string, string]>): void;
|
|
566
|
+
formDisabledCallback(disabled: boolean): void;
|
|
567
|
+
formResetCallback(): void;
|
|
568
|
+
formStateRestoreCallback(state: string | FormData, mode: "autocomplete" | "restore"): void;
|
|
569
|
+
_updateFormAssociatedValue(): void;
|
|
570
|
+
} & {
|
|
571
|
+
ariaLabel: string;
|
|
572
|
+
_slotInnerText: string;
|
|
573
|
+
} & {
|
|
574
|
+
focusableOnDisabled: boolean;
|
|
575
|
+
controlTagName: string;
|
|
576
|
+
controlVoidElement: boolean;
|
|
577
|
+
_slotMutationObserver: any;
|
|
578
|
+
} & {
|
|
579
|
+
_onControlValue(value: string): void;
|
|
580
|
+
onValueChangingContentAttribute(): void;
|
|
581
|
+
focus(options?: FocusOptions): void;
|
|
582
|
+
click(): void;
|
|
583
|
+
} & {
|
|
584
|
+
stateTargetElement: HTMLElement;
|
|
585
|
+
} & {
|
|
586
|
+
checkValidity(): boolean;
|
|
587
|
+
reportValidity(): boolean;
|
|
588
|
+
setCustomValidity(error: string): void;
|
|
589
|
+
} & {
|
|
590
|
+
_computedAriaLabel: string;
|
|
591
|
+
} & {
|
|
592
|
+
_computedAriaLabelledby: never;
|
|
593
|
+
} & {
|
|
594
|
+
accept: string;
|
|
595
|
+
alt: string;
|
|
596
|
+
dirName: string;
|
|
597
|
+
_formAction: string;
|
|
598
|
+
formEnctype: string;
|
|
599
|
+
formMethod: string;
|
|
600
|
+
formTarget: string;
|
|
601
|
+
_height: number;
|
|
602
|
+
_indeterminate: boolean;
|
|
603
|
+
max: string;
|
|
604
|
+
maxLength: number;
|
|
605
|
+
min: string;
|
|
606
|
+
minLength: number;
|
|
607
|
+
multiple: boolean;
|
|
608
|
+
pattern: string;
|
|
609
|
+
placeholder: string;
|
|
610
|
+
size: number;
|
|
611
|
+
src: string;
|
|
612
|
+
step: string;
|
|
613
|
+
_width: number;
|
|
614
|
+
} & {
|
|
615
|
+
_useFormImplicitSubmission: boolean;
|
|
616
|
+
} & {
|
|
617
|
+
_input: HTMLInputElement;
|
|
618
|
+
} & {
|
|
619
|
+
indeterminate: boolean;
|
|
620
|
+
} & {
|
|
621
|
+
controlTagName: string;
|
|
622
|
+
} & {
|
|
623
|
+
_onSetChecked(checked: boolean): void;
|
|
624
|
+
_onSetValue(value: string): void;
|
|
625
|
+
} & {
|
|
626
|
+
performImplicitSubmission(event: Event): void;
|
|
627
|
+
_redispatchControlClickEvent(event: Event): boolean;
|
|
628
|
+
_handleInputClick(event: MouseEvent): void;
|
|
629
|
+
} & {
|
|
630
|
+
setRangeText(replacement: string): void;
|
|
631
|
+
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
632
|
+
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
633
|
+
showPicker(): void;
|
|
634
|
+
stepDown(n?: number): void;
|
|
635
|
+
stepUp(n?: number): void;
|
|
636
|
+
select(): void;
|
|
637
|
+
} & {
|
|
638
|
+
files: FileList;
|
|
639
|
+
selectionDirection: "none" | "forward" | "backward";
|
|
640
|
+
selectionEnd: number;
|
|
641
|
+
selectionStart: number;
|
|
642
|
+
valueAsDate: Date;
|
|
643
|
+
valueAsNumber: number;
|
|
644
|
+
height: number;
|
|
645
|
+
formAction: string;
|
|
646
|
+
width: number;
|
|
647
|
+
} & {
|
|
648
|
+
_lastRippleWeakRef: WeakRef<InstanceType<import("../mixins/RippleMixin.js").Ripple>>;
|
|
649
|
+
_rippleAdded: boolean;
|
|
650
|
+
} & {
|
|
651
|
+
_lastRipple: CustomElement & {
|
|
652
|
+
hadRippleHeld: boolean;
|
|
653
|
+
hadRippleReleased: boolean;
|
|
654
|
+
rippleStarted: boolean;
|
|
655
|
+
} & {
|
|
656
|
+
rippleState: string;
|
|
657
|
+
keepAlive: boolean;
|
|
658
|
+
_positionX: number;
|
|
659
|
+
_positionY: number;
|
|
660
|
+
_radius: number;
|
|
661
|
+
holdRipple: boolean;
|
|
662
|
+
} & {
|
|
663
|
+
_positionStyle: import("../core/customTypes.js").ElementStylerOptions | {
|
|
664
|
+
styles: {
|
|
665
|
+
minHeight: string;
|
|
666
|
+
minWidth: string;
|
|
667
|
+
boxShadow: string;
|
|
668
|
+
top: string;
|
|
669
|
+
left: string;
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
} & {
|
|
673
|
+
updatePosition(x?: number, y?: number, size?: number): void;
|
|
674
|
+
handleRippleComplete(): void;
|
|
675
|
+
};
|
|
676
|
+
} & {
|
|
677
|
+
addRipple(x?: number, y?: number, hold?: boolean): InstanceType<Ripple>;
|
|
678
|
+
} & {
|
|
679
|
+
color: string;
|
|
680
|
+
ink: string;
|
|
681
|
+
typeStyle: string;
|
|
682
|
+
} & {
|
|
683
|
+
shapeTop: boolean;
|
|
684
|
+
shapeBottom: boolean;
|
|
685
|
+
shapeStart: boolean;
|
|
686
|
+
shapeEnd: boolean;
|
|
687
|
+
shapeStyle: string;
|
|
688
|
+
outlined: boolean;
|
|
689
|
+
} & {
|
|
690
|
+
density: number;
|
|
691
|
+
} & {
|
|
692
|
+
stateTargetElement: HTMLElement;
|
|
693
|
+
} & {
|
|
694
|
+
stateLayer: boolean;
|
|
695
|
+
_allowedTypes: string[];
|
|
696
|
+
} & {
|
|
697
|
+
type: string;
|
|
698
|
+
elevated: boolean;
|
|
699
|
+
filled: string;
|
|
700
|
+
outlined: boolean;
|
|
701
|
+
icon: string;
|
|
702
|
+
iconInk: string;
|
|
703
|
+
src: string;
|
|
704
|
+
svg: string;
|
|
705
|
+
viewBox: string;
|
|
706
|
+
svgPath: string;
|
|
707
|
+
}) => string>;
|
|
708
|
+
}, any[]> & import("../core/CustomElement.js").Class<{
|
|
709
|
+
/** @type {HTMLElement['focus']} */
|
|
710
|
+
focus(options?: FocusOptions): void;
|
|
711
|
+
}, any[]>;
|
|
712
|
+
export default _default;
|
|
713
|
+
import CustomElement from '../core/CustomElement.js';
|
|
714
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../components/Button.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiEI,mCAAmC;;;;0BAhEb,0BAA0B"}
|