@m3e/web 2.0.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/LICENSE +22 -0
- package/README.md +85 -0
- package/dist/all.js +28231 -0
- package/dist/all.js.map +1 -0
- package/dist/all.min.js +482 -0
- package/dist/all.min.js.map +1 -0
- package/dist/app-bar.js +763 -0
- package/dist/app-bar.js.map +1 -0
- package/dist/app-bar.min.js +40 -0
- package/dist/app-bar.min.js.map +1 -0
- package/dist/autocomplete.js +883 -0
- package/dist/autocomplete.js.map +1 -0
- package/dist/autocomplete.min.js +29 -0
- package/dist/autocomplete.min.js.map +1 -0
- package/dist/avatar.js +416 -0
- package/dist/avatar.js.map +1 -0
- package/dist/avatar.min.js +23 -0
- package/dist/avatar.min.js.map +1 -0
- package/dist/badge.js +583 -0
- package/dist/badge.js.map +1 -0
- package/dist/badge.min.js +29 -0
- package/dist/badge.min.js.map +1 -0
- package/dist/bottom-sheet.js +1193 -0
- package/dist/bottom-sheet.js.map +1 -0
- package/dist/bottom-sheet.min.js +29 -0
- package/dist/bottom-sheet.min.js.map +1 -0
- package/dist/button-group.js +643 -0
- package/dist/button-group.js.map +1 -0
- package/dist/button-group.min.js +44 -0
- package/dist/button-group.min.js.map +1 -0
- package/dist/button.js +1690 -0
- package/dist/button.js.map +1 -0
- package/dist/button.min.js +40 -0
- package/dist/button.min.js.map +1 -0
- package/dist/card.js +821 -0
- package/dist/card.js.map +1 -0
- package/dist/card.min.js +40 -0
- package/dist/card.min.js.map +1 -0
- package/dist/checkbox.js +608 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/checkbox.min.js +40 -0
- package/dist/checkbox.min.js.map +1 -0
- package/dist/chips.js +1761 -0
- package/dist/chips.js.map +1 -0
- package/dist/chips.min.js +46 -0
- package/dist/chips.min.js.map +1 -0
- package/dist/core-a11y.js +1810 -0
- package/dist/core-a11y.js.map +1 -0
- package/dist/core-a11y.min.js +74 -0
- package/dist/core-a11y.min.js.map +1 -0
- package/dist/core-anchoring.js +1747 -0
- package/dist/core-anchoring.js.map +1 -0
- package/dist/core-anchoring.min.js +7 -0
- package/dist/core-anchoring.min.js.map +1 -0
- package/dist/core-bidi.js +105 -0
- package/dist/core-bidi.js.map +1 -0
- package/dist/core-bidi.min.js +16 -0
- package/dist/core-bidi.min.js.map +1 -0
- package/dist/core-layout.js +64 -0
- package/dist/core-layout.js.map +1 -0
- package/dist/core-layout.min.js +15 -0
- package/dist/core-layout.min.js.map +1 -0
- package/dist/core-platform.js +46 -0
- package/dist/core-platform.js.map +1 -0
- package/dist/core-platform.min.js +15 -0
- package/dist/core-platform.min.js.map +1 -0
- package/dist/core.js +5641 -0
- package/dist/core.js.map +1 -0
- package/dist/core.min.js +55 -0
- package/dist/core.min.js.map +1 -0
- package/dist/css-custom-data.json +11892 -0
- package/dist/custom-elements.json +63037 -0
- package/dist/dialog.js +1079 -0
- package/dist/dialog.js.map +1 -0
- package/dist/dialog.min.js +51 -0
- package/dist/dialog.min.js.map +1 -0
- package/dist/divider.js +489 -0
- package/dist/divider.js.map +1 -0
- package/dist/divider.min.js +29 -0
- package/dist/divider.min.js.map +1 -0
- package/dist/drawer-container.js +861 -0
- package/dist/drawer-container.js.map +1 -0
- package/dist/drawer-container.min.js +34 -0
- package/dist/drawer-container.min.js.map +1 -0
- package/dist/expansion-panel.js +878 -0
- package/dist/expansion-panel.js.map +1 -0
- package/dist/expansion-panel.min.js +40 -0
- package/dist/expansion-panel.min.js.map +1 -0
- package/dist/fab-menu.js +850 -0
- package/dist/fab-menu.js.map +1 -0
- package/dist/fab-menu.min.js +40 -0
- package/dist/fab-menu.min.js.map +1 -0
- package/dist/fab.js +1459 -0
- package/dist/fab.js.map +1 -0
- package/dist/fab.min.js +40 -0
- package/dist/fab.min.js.map +1 -0
- package/dist/form-field.js +919 -0
- package/dist/form-field.js.map +1 -0
- package/dist/form-field.min.js +61 -0
- package/dist/form-field.min.js.map +1 -0
- package/dist/heading.js +597 -0
- package/dist/heading.js.map +1 -0
- package/dist/heading.min.js +29 -0
- package/dist/heading.min.js.map +1 -0
- package/dist/html-custom-data.json +2628 -0
- package/dist/icon-button.js +1419 -0
- package/dist/icon-button.js.map +1 -0
- package/dist/icon-button.min.js +40 -0
- package/dist/icon-button.min.js.map +1 -0
- package/dist/icon.js +547 -0
- package/dist/icon.js.map +1 -0
- package/dist/icon.min.js +40 -0
- package/dist/icon.min.js.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/list.js +1840 -0
- package/dist/list.js.map +1 -0
- package/dist/list.min.js +52 -0
- package/dist/list.min.js.map +1 -0
- package/dist/loading-indicator.js +533 -0
- package/dist/loading-indicator.js.map +1 -0
- package/dist/loading-indicator.min.js +40 -0
- package/dist/loading-indicator.min.js.map +1 -0
- package/dist/menu.js +1509 -0
- package/dist/menu.js.map +1 -0
- package/dist/menu.min.js +45 -0
- package/dist/menu.min.js.map +1 -0
- package/dist/nav-bar.js +738 -0
- package/dist/nav-bar.js.map +1 -0
- package/dist/nav-bar.min.js +45 -0
- package/dist/nav-bar.min.js.map +1 -0
- package/dist/nav-menu.js +1498 -0
- package/dist/nav-menu.js.map +1 -0
- package/dist/nav-menu.min.js +50 -0
- package/dist/nav-menu.min.js.map +1 -0
- package/dist/nav-rail.js +565 -0
- package/dist/nav-rail.js.map +1 -0
- package/dist/nav-rail.min.js +23 -0
- package/dist/nav-rail.min.js.map +1 -0
- package/dist/option.js +802 -0
- package/dist/option.js.map +1 -0
- package/dist/option.min.js +40 -0
- package/dist/option.min.js.map +1 -0
- package/dist/paginator.js +700 -0
- package/dist/paginator.js.map +1 -0
- package/dist/paginator.min.js +37 -0
- package/dist/paginator.min.js.map +1 -0
- package/dist/progress-indicator.js +1405 -0
- package/dist/progress-indicator.js.map +1 -0
- package/dist/progress-indicator.min.js +108 -0
- package/dist/progress-indicator.min.js.map +1 -0
- package/dist/radio-group.js +757 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/radio-group.min.js +40 -0
- package/dist/radio-group.min.js.map +1 -0
- package/dist/segmented-button.js +782 -0
- package/dist/segmented-button.js.map +1 -0
- package/dist/segmented-button.min.js +40 -0
- package/dist/segmented-button.min.js.map +1 -0
- package/dist/select.js +1235 -0
- package/dist/select.js.map +1 -0
- package/dist/select.min.js +57 -0
- package/dist/select.min.js.map +1 -0
- package/dist/shape.js +543 -0
- package/dist/shape.js.map +1 -0
- package/dist/shape.min.js +29 -0
- package/dist/shape.min.js.map +1 -0
- package/dist/slide-group.js +655 -0
- package/dist/slide-group.js.map +1 -0
- package/dist/slide-group.min.js +45 -0
- package/dist/slide-group.min.js.map +1 -0
- package/dist/slider.js +1343 -0
- package/dist/slider.js.map +1 -0
- package/dist/slider.min.js +50 -0
- package/dist/slider.min.js.map +1 -0
- package/dist/snackbar.js +632 -0
- package/dist/snackbar.js.map +1 -0
- package/dist/snackbar.min.js +29 -0
- package/dist/snackbar.min.js.map +1 -0
- package/dist/split-button.js +661 -0
- package/dist/split-button.js.map +1 -0
- package/dist/split-button.min.js +40 -0
- package/dist/split-button.min.js.map +1 -0
- package/dist/src/all.d.ts +47 -0
- package/dist/src/all.d.ts.map +1 -0
- package/dist/src/app-bar/AppBarElement.d.ts +139 -0
- package/dist/src/app-bar/AppBarElement.d.ts.map +1 -0
- package/dist/src/app-bar/AppBarSize.d.ts +3 -0
- package/dist/src/app-bar/AppBarSize.d.ts.map +1 -0
- package/dist/src/app-bar/index.d.ts +3 -0
- package/dist/src/app-bar/index.d.ts.map +1 -0
- package/dist/src/app-bar/styles/AppBarSizeStyle.d.ts +7 -0
- package/dist/src/app-bar/styles/AppBarSizeStyle.d.ts.map +1 -0
- package/dist/src/app-bar/styles/AppBarSizeToken.d.ts +28 -0
- package/dist/src/app-bar/styles/AppBarSizeToken.d.ts.map +1 -0
- package/dist/src/app-bar/styles/AppBarStyle.d.ts +7 -0
- package/dist/src/app-bar/styles/AppBarStyle.d.ts.map +1 -0
- package/dist/src/app-bar/styles/AppBarToken.d.ts +15 -0
- package/dist/src/app-bar/styles/AppBarToken.d.ts.map +1 -0
- package/dist/src/app-bar/styles/index.d.ts +3 -0
- package/dist/src/app-bar/styles/index.d.ts.map +1 -0
- package/dist/src/autocomplete/AutocompleteElement.d.ts +79 -0
- package/dist/src/autocomplete/AutocompleteElement.d.ts.map +1 -0
- package/dist/src/autocomplete/index.d.ts +2 -0
- package/dist/src/autocomplete/index.d.ts.map +1 -0
- package/dist/src/avatar/AvatarElement.d.ts +54 -0
- package/dist/src/avatar/AvatarElement.d.ts.map +1 -0
- package/dist/src/avatar/index.d.ts +2 -0
- package/dist/src/avatar/index.d.ts.map +1 -0
- package/dist/src/badge/BadgeElement.d.ts +76 -0
- package/dist/src/badge/BadgeElement.d.ts.map +1 -0
- package/dist/src/badge/BadgePosition.d.ts +3 -0
- package/dist/src/badge/BadgePosition.d.ts.map +1 -0
- package/dist/src/badge/BadgeSize.d.ts +3 -0
- package/dist/src/badge/BadgeSize.d.ts.map +1 -0
- package/dist/src/badge/index.d.ts +4 -0
- package/dist/src/badge/index.d.ts.map +1 -0
- package/dist/src/bottom-sheet/BottomSheetActionElement.d.ts +17 -0
- package/dist/src/bottom-sheet/BottomSheetActionElement.d.ts.map +1 -0
- package/dist/src/bottom-sheet/BottomSheetElement.d.ts +189 -0
- package/dist/src/bottom-sheet/BottomSheetElement.d.ts.map +1 -0
- package/dist/src/bottom-sheet/BottomSheetTriggerElement.d.ts +36 -0
- package/dist/src/bottom-sheet/BottomSheetTriggerElement.d.ts.map +1 -0
- package/dist/src/bottom-sheet/index.d.ts +4 -0
- package/dist/src/bottom-sheet/index.d.ts.map +1 -0
- package/dist/src/button/ButtonElement.d.ts +429 -0
- package/dist/src/button/ButtonElement.d.ts.map +1 -0
- package/dist/src/button/ButtonShape.d.ts +3 -0
- package/dist/src/button/ButtonShape.d.ts.map +1 -0
- package/dist/src/button/ButtonSize.d.ts +3 -0
- package/dist/src/button/ButtonSize.d.ts.map +1 -0
- package/dist/src/button/ButtonVariant.d.ts +3 -0
- package/dist/src/button/ButtonVariant.d.ts.map +1 -0
- package/dist/src/button/index.d.ts +5 -0
- package/dist/src/button/index.d.ts.map +1 -0
- package/dist/src/button/styles/ButtonSizeStyle.d.ts +7 -0
- package/dist/src/button/styles/ButtonSizeStyle.d.ts.map +1 -0
- package/dist/src/button/styles/ButtonSizeToken.d.ts +27 -0
- package/dist/src/button/styles/ButtonSizeToken.d.ts.map +1 -0
- package/dist/src/button/styles/ButtonStyle.d.ts +7 -0
- package/dist/src/button/styles/ButtonStyle.d.ts.map +1 -0
- package/dist/src/button/styles/ButtonVariantStyle.d.ts +7 -0
- package/dist/src/button/styles/ButtonVariantStyle.d.ts.map +1 -0
- package/dist/src/button/styles/ButtonVariantToken.d.ts +75 -0
- package/dist/src/button/styles/ButtonVariantToken.d.ts.map +1 -0
- package/dist/src/button/styles/index.d.ts +4 -0
- package/dist/src/button/styles/index.d.ts.map +1 -0
- package/dist/src/button-group/ButtonGroupElement.d.ts +98 -0
- package/dist/src/button-group/ButtonGroupElement.d.ts.map +1 -0
- package/dist/src/button-group/ButtonGroupSize.d.ts +3 -0
- package/dist/src/button-group/ButtonGroupSize.d.ts.map +1 -0
- package/dist/src/button-group/ButtonGroupVariant.d.ts +3 -0
- package/dist/src/button-group/ButtonGroupVariant.d.ts.map +1 -0
- package/dist/src/button-group/index.d.ts +4 -0
- package/dist/src/button-group/index.d.ts.map +1 -0
- package/dist/src/card/CardElement.d.ts +171 -0
- package/dist/src/card/CardElement.d.ts.map +1 -0
- package/dist/src/card/CardOrientation.d.ts +3 -0
- package/dist/src/card/CardOrientation.d.ts.map +1 -0
- package/dist/src/card/CardVariant.d.ts +3 -0
- package/dist/src/card/CardVariant.d.ts.map +1 -0
- package/dist/src/card/index.d.ts +4 -0
- package/dist/src/card/index.d.ts.map +1 -0
- package/dist/src/card/styles/CardStyle.d.ts +7 -0
- package/dist/src/card/styles/CardStyle.d.ts.map +1 -0
- package/dist/src/card/styles/CardToken.d.ts +9 -0
- package/dist/src/card/styles/CardToken.d.ts.map +1 -0
- package/dist/src/card/styles/CardVariantStyle.d.ts +7 -0
- package/dist/src/card/styles/CardVariantStyle.d.ts.map +1 -0
- package/dist/src/card/styles/CardVariantToken.d.ts +50 -0
- package/dist/src/card/styles/CardVariantToken.d.ts.map +1 -0
- package/dist/src/card/styles/index.d.ts +3 -0
- package/dist/src/card/styles/index.d.ts.map +1 -0
- package/dist/src/checkbox/CheckboxElement.d.ts +100 -0
- package/dist/src/checkbox/CheckboxElement.d.ts.map +1 -0
- package/dist/src/checkbox/index.d.ts +2 -0
- package/dist/src/checkbox/index.d.ts.map +1 -0
- package/dist/src/chips/AssistChipElement.d.ts +83 -0
- package/dist/src/chips/AssistChipElement.d.ts.map +1 -0
- package/dist/src/chips/ChipElement.d.ts +83 -0
- package/dist/src/chips/ChipElement.d.ts.map +1 -0
- package/dist/src/chips/ChipSetElement.d.ts +42 -0
- package/dist/src/chips/ChipSetElement.d.ts.map +1 -0
- package/dist/src/chips/ChipVariant.d.ts +3 -0
- package/dist/src/chips/ChipVariant.d.ts.map +1 -0
- package/dist/src/chips/FilterChipElement.d.ts +105 -0
- package/dist/src/chips/FilterChipElement.d.ts.map +1 -0
- package/dist/src/chips/FilterChipSetElement.d.ts +81 -0
- package/dist/src/chips/FilterChipSetElement.d.ts.map +1 -0
- package/dist/src/chips/InputChipElement.d.ts +117 -0
- package/dist/src/chips/InputChipElement.d.ts.map +1 -0
- package/dist/src/chips/InputChipSetElement.d.ts +74 -0
- package/dist/src/chips/InputChipSetElement.d.ts.map +1 -0
- package/dist/src/chips/SuggestionChipElement.d.ts +84 -0
- package/dist/src/chips/SuggestionChipElement.d.ts.map +1 -0
- package/dist/src/chips/index.d.ts +10 -0
- package/dist/src/chips/index.d.ts.map +1 -0
- package/dist/src/core/a11y/AriaDescriber.d.ts +31 -0
- package/dist/src/core/a11y/AriaDescriber.d.ts.map +1 -0
- package/dist/src/core/a11y/FocusTrapElement.d.ts +25 -0
- package/dist/src/core/a11y/FocusTrapElement.d.ts.map +1 -0
- package/dist/src/core/a11y/InteractivityChecker.d.ts +22 -0
- package/dist/src/core/a11y/InteractivityChecker.d.ts.map +1 -0
- package/dist/src/core/a11y/LiveAnnouncer.d.ts +56 -0
- package/dist/src/core/a11y/LiveAnnouncer.d.ts.map +1 -0
- package/dist/src/core/a11y/aria-reference.d.ts +30 -0
- package/dist/src/core/a11y/aria-reference.d.ts.map +1 -0
- package/dist/src/core/a11y/index.d.ts +8 -0
- package/dist/src/core/a11y/index.d.ts.map +1 -0
- package/dist/src/core/a11y/keycodes/KeyCode.d.ts +118 -0
- package/dist/src/core/a11y/keycodes/KeyCode.d.ts.map +1 -0
- package/dist/src/core/a11y/keycodes/ModifierKeys.d.ts +5 -0
- package/dist/src/core/a11y/keycodes/ModifierKeys.d.ts.map +1 -0
- package/dist/src/core/a11y/keycodes/getKeyCode.d.ts +7 -0
- package/dist/src/core/a11y/keycodes/getKeyCode.d.ts.map +1 -0
- package/dist/src/core/a11y/keycodes/hasModifierKey.d.ts +9 -0
- package/dist/src/core/a11y/keycodes/hasModifierKey.d.ts.map +1 -0
- package/dist/src/core/a11y/keycodes/index.d.ts +6 -0
- package/dist/src/core/a11y/keycodes/index.d.ts.map +1 -0
- package/dist/src/core/a11y/keycodes/isModifierAllowed.d.ts +9 -0
- package/dist/src/core/a11y/keycodes/isModifierAllowed.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/FocusKeyManager.d.ts +17 -0
- package/dist/src/core/a11y/list-key/FocusKeyManager.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/ListKeyManager.d.ts +125 -0
- package/dist/src/core/a11y/list-key/ListKeyManager.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/ListManager.d.ts +37 -0
- package/dist/src/core/a11y/list-key/ListManager.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/RadioKeyManager.d.ts +20 -0
- package/dist/src/core/a11y/list-key/RadioKeyManager.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/RovingTabIndexManager.d.ts +22 -0
- package/dist/src/core/a11y/list-key/RovingTabIndexManager.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/SelectionManager.d.ts +46 -0
- package/dist/src/core/a11y/list-key/SelectionManager.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/Typeahead.d.ts +64 -0
- package/dist/src/core/a11y/list-key/Typeahead.d.ts.map +1 -0
- package/dist/src/core/a11y/list-key/index.d.ts +8 -0
- package/dist/src/core/a11y/list-key/index.d.ts.map +1 -0
- package/dist/src/core/a11y/visuallyHide.d.ts +6 -0
- package/dist/src/core/a11y/visuallyHide.d.ts.map +1 -0
- package/dist/src/core/anchoring/AnchorOptions.d.ts +15 -0
- package/dist/src/core/anchoring/AnchorOptions.d.ts.map +1 -0
- package/dist/src/core/anchoring/AnchorPosition.d.ts +3 -0
- package/dist/src/core/anchoring/AnchorPosition.d.ts.map +1 -0
- package/dist/src/core/anchoring/index.d.ts +4 -0
- package/dist/src/core/anchoring/index.d.ts.map +1 -0
- package/dist/src/core/anchoring/positionAnchor.d.ts +12 -0
- package/dist/src/core/anchoring/positionAnchor.d.ts.map +1 -0
- package/dist/src/core/bidi/Directionality.d.ts +27 -0
- package/dist/src/core/bidi/Directionality.d.ts.map +1 -0
- package/dist/src/core/bidi/index.d.ts +2 -0
- package/dist/src/core/bidi/index.d.ts.map +1 -0
- package/dist/src/core/index.d.ts +2 -0
- package/dist/src/core/index.d.ts.map +1 -0
- package/dist/src/core/layout/Breakpoint.d.ts +26 -0
- package/dist/src/core/layout/Breakpoint.d.ts.map +1 -0
- package/dist/src/core/layout/BreakpointObserver.d.ts +18 -0
- package/dist/src/core/layout/BreakpointObserver.d.ts.map +1 -0
- package/dist/src/core/layout/index.d.ts +3 -0
- package/dist/src/core/layout/index.d.ts.map +1 -0
- package/dist/src/core/platform/Platform.d.ts +34 -0
- package/dist/src/core/platform/Platform.d.ts.map +1 -0
- package/dist/src/core/platform/index.d.ts +2 -0
- package/dist/src/core/platform/index.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/AnimationLoopController.d.ts +13 -0
- package/dist/src/core/shared/controllers/AnimationLoopController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/FocusController.d.ts +34 -0
- package/dist/src/core/shared/controllers/FocusController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/HoverController.d.ts +40 -0
- package/dist/src/core/shared/controllers/HoverController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/IntersectionController.d.ts +40 -0
- package/dist/src/core/shared/controllers/IntersectionController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/LongPressController.d.ts +32 -0
- package/dist/src/core/shared/controllers/LongPressController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/MonitorControllerBase.d.ts +62 -0
- package/dist/src/core/shared/controllers/MonitorControllerBase.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/MutationController.d.ts +37 -0
- package/dist/src/core/shared/controllers/MutationController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/PressedController.d.ts +47 -0
- package/dist/src/core/shared/controllers/PressedController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/ResizeController.d.ts +40 -0
- package/dist/src/core/shared/controllers/ResizeController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/ScrollController.d.ts +34 -0
- package/dist/src/core/shared/controllers/ScrollController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/ScrollLockController.d.ts +16 -0
- package/dist/src/core/shared/controllers/ScrollLockController.d.ts.map +1 -0
- package/dist/src/core/shared/controllers/index.d.ts +11 -0
- package/dist/src/core/shared/controllers/index.d.ts.map +1 -0
- package/dist/src/core/shared/converters/index.d.ts +2 -0
- package/dist/src/core/shared/converters/index.d.ts.map +1 -0
- package/dist/src/core/shared/converters/spaceSeparatedStringConverter.d.ts +4 -0
- package/dist/src/core/shared/converters/spaceSeparatedStringConverter.d.ts.map +1 -0
- package/dist/src/core/shared/decorators/debounce.d.ts +7 -0
- package/dist/src/core/shared/decorators/debounce.d.ts.map +1 -0
- package/dist/src/core/shared/decorators/index.d.ts +2 -0
- package/dist/src/core/shared/decorators/index.d.ts.map +1 -0
- package/dist/src/core/shared/directives/index.d.ts +2 -0
- package/dist/src/core/shared/directives/index.d.ts.map +1 -0
- package/dist/src/core/shared/directives/safeStyleMap.d.ts +44 -0
- package/dist/src/core/shared/directives/safeStyleMap.d.ts.map +1 -0
- package/dist/src/core/shared/index.d.ts +9 -0
- package/dist/src/core/shared/index.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/AttachInternals.d.ts +24 -0
- package/dist/src/core/shared/mixins/AttachInternals.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Checked.d.ts +24 -0
- package/dist/src/core/shared/mixins/Checked.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/CheckedIndeterminate.d.ts +25 -0
- package/dist/src/core/shared/mixins/CheckedIndeterminate.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/CheckedOrSelected.d.ts +23 -0
- package/dist/src/core/shared/mixins/CheckedOrSelected.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/ConstraintValidation.d.ts +48 -0
- package/dist/src/core/shared/mixins/ConstraintValidation.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Constructor.d.ts +3 -0
- package/dist/src/core/shared/mixins/Constructor.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Dirty.d.ts +27 -0
- package/dist/src/core/shared/mixins/Dirty.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Disabled.d.ts +25 -0
- package/dist/src/core/shared/mixins/Disabled.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/DisabledInteractive.d.ts +25 -0
- package/dist/src/core/shared/mixins/DisabledInteractive.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/EventAttribute.d.ts +11 -0
- package/dist/src/core/shared/mixins/EventAttribute.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Focusable.d.ts +11 -0
- package/dist/src/core/shared/mixins/Focusable.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/FormAssociated.d.ts +34 -0
- package/dist/src/core/shared/mixins/FormAssociated.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/FormSubmitter.d.ts +34 -0
- package/dist/src/core/shared/mixins/FormSubmitter.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/HtmlFor.d.ts +30 -0
- package/dist/src/core/shared/mixins/HtmlFor.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/KeyboardClick.d.ts +11 -0
- package/dist/src/core/shared/mixins/KeyboardClick.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Labelled.d.ts +26 -0
- package/dist/src/core/shared/mixins/Labelled.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/LinkButton.d.ts +46 -0
- package/dist/src/core/shared/mixins/LinkButton.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/ReadOnly.d.ts +25 -0
- package/dist/src/core/shared/mixins/ReadOnly.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Required.d.ts +26 -0
- package/dist/src/core/shared/mixins/Required.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/RequiredConstraintValidation.d.ts +21 -0
- package/dist/src/core/shared/mixins/RequiredConstraintValidation.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Role.d.ts +13 -0
- package/dist/src/core/shared/mixins/Role.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Selected.d.ts +24 -0
- package/dist/src/core/shared/mixins/Selected.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Touched.d.ts +27 -0
- package/dist/src/core/shared/mixins/Touched.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/Vertical.d.ts +24 -0
- package/dist/src/core/shared/mixins/Vertical.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/hasKeys.d.ts +9 -0
- package/dist/src/core/shared/mixins/hasKeys.d.ts.map +1 -0
- package/dist/src/core/shared/mixins/index.d.ts +25 -0
- package/dist/src/core/shared/mixins/index.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/ActionElementBase.d.ts +22 -0
- package/dist/src/core/shared/primitives/ActionElementBase.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/CollapsibleElement.d.ts +58 -0
- package/dist/src/core/shared/primitives/CollapsibleElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/ElevationElement.d.ts +87 -0
- package/dist/src/core/shared/primitives/ElevationElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/ElevationLevel.d.ts +3 -0
- package/dist/src/core/shared/primitives/ElevationLevel.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/ElevationToken.d.ts +15 -0
- package/dist/src/core/shared/primitives/ElevationToken.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/FocusRingElement.d.ts +77 -0
- package/dist/src/core/shared/primitives/FocusRingElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/FocusRingToken.d.ts +17 -0
- package/dist/src/core/shared/primitives/FocusRingToken.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/PseudoCheckboxElement.d.ts +49 -0
- package/dist/src/core/shared/primitives/PseudoCheckboxElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/PseudoRadioElement.d.ts +40 -0
- package/dist/src/core/shared/primitives/PseudoRadioElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/RippleElement.d.ts +97 -0
- package/dist/src/core/shared/primitives/RippleElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/RippleToken.d.ts +12 -0
- package/dist/src/core/shared/primitives/RippleToken.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/ScrollContainerElement.d.ts +61 -0
- package/dist/src/core/shared/primitives/ScrollContainerElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/ScrollDividers.d.ts +3 -0
- package/dist/src/core/shared/primitives/ScrollDividers.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/SlideElement.d.ts +45 -0
- package/dist/src/core/shared/primitives/SlideElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/StateLayerElement.d.ts +83 -0
- package/dist/src/core/shared/primitives/StateLayerElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/StateLayerToken.d.ts +13 -0
- package/dist/src/core/shared/primitives/StateLayerToken.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/TextHighlightElement.d.ts +81 -0
- package/dist/src/core/shared/primitives/TextHighlightElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/TextOverflowElement.d.ts +38 -0
- package/dist/src/core/shared/primitives/TextOverflowElement.d.ts.map +1 -0
- package/dist/src/core/shared/primitives/index.d.ts +15 -0
- package/dist/src/core/shared/primitives/index.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/ColorToken.d.ts +96 -0
- package/dist/src/core/shared/tokens/ColorToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/DensityToken.d.ts +15 -0
- package/dist/src/core/shared/tokens/DensityToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/DesignToken.d.ts +366 -0
- package/dist/src/core/shared/tokens/DesignToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/ElevationToken.d.ts +16 -0
- package/dist/src/core/shared/tokens/ElevationToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/MotionToken.d.ts +69 -0
- package/dist/src/core/shared/tokens/MotionToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/ScrollbarToken.d.ts +10 -0
- package/dist/src/core/shared/tokens/ScrollbarToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/ShapeToken.d.ts +79 -0
- package/dist/src/core/shared/tokens/ShapeToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/StateToken.d.ts +10 -0
- package/dist/src/core/shared/tokens/StateToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/TypescaleToken.d.ts +220 -0
- package/dist/src/core/shared/tokens/TypescaleToken.d.ts.map +1 -0
- package/dist/src/core/shared/tokens/index.d.ts +2 -0
- package/dist/src/core/shared/tokens/index.d.ts.map +1 -0
- package/dist/src/core/shared/utils/VelocityTracker.d.ts +22 -0
- package/dist/src/core/shared/utils/VelocityTracker.d.ts.map +1 -0
- package/dist/src/core/shared/utils/computeCssSize.d.ts +8 -0
- package/dist/src/core/shared/utils/computeCssSize.d.ts.map +1 -0
- package/dist/src/core/shared/utils/computeLineCount.d.ts +7 -0
- package/dist/src/core/shared/utils/computeLineCount.d.ts.map +1 -0
- package/dist/src/core/shared/utils/focusWhenReady.d.ts +8 -0
- package/dist/src/core/shared/utils/focusWhenReady.d.ts.map +1 -0
- package/dist/src/core/shared/utils/forcedColorsActive.d.ts +6 -0
- package/dist/src/core/shared/utils/forcedColorsActive.d.ts.map +1 -0
- package/dist/src/core/shared/utils/generateClipPaths.d.ts +8 -0
- package/dist/src/core/shared/utils/generateClipPaths.d.ts.map +1 -0
- package/dist/src/core/shared/utils/getTextContent.d.ts +8 -0
- package/dist/src/core/shared/utils/getTextContent.d.ts.map +1 -0
- package/dist/src/core/shared/utils/guid.d.ts +6 -0
- package/dist/src/core/shared/utils/guid.d.ts.map +1 -0
- package/dist/src/core/shared/utils/hasAssignedNodes.d.ts +7 -0
- package/dist/src/core/shared/utils/hasAssignedNodes.d.ts.map +1 -0
- package/dist/src/core/shared/utils/index.d.ts +15 -0
- package/dist/src/core/shared/utils/index.d.ts.map +1 -0
- package/dist/src/core/shared/utils/interceptProperty.d.ts +17 -0
- package/dist/src/core/shared/utils/interceptProperty.d.ts.map +1 -0
- package/dist/src/core/shared/utils/prefersReducedMotion.d.ts +6 -0
- package/dist/src/core/shared/utils/prefersReducedMotion.d.ts.map +1 -0
- package/dist/src/core/shared/utils/resolveElementById.d.ts +8 -0
- package/dist/src/core/shared/utils/resolveElementById.d.ts.map +1 -0
- package/dist/src/core/shared/utils/resolveFragmentUrl.d.ts +22 -0
- package/dist/src/core/shared/utils/resolveFragmentUrl.d.ts.map +1 -0
- package/dist/src/core/shared/utils/scrollIntoViewIfNeeded.d.ts +8 -0
- package/dist/src/core/shared/utils/scrollIntoViewIfNeeded.d.ts.map +1 -0
- package/dist/src/dialog/DialogActionElement.d.ts +24 -0
- package/dist/src/dialog/DialogActionElement.d.ts.map +1 -0
- package/dist/src/dialog/DialogElement.d.ts +142 -0
- package/dist/src/dialog/DialogElement.d.ts.map +1 -0
- package/dist/src/dialog/DialogTriggerElement.d.ts +21 -0
- package/dist/src/dialog/DialogTriggerElement.d.ts.map +1 -0
- package/dist/src/dialog/index.d.ts +4 -0
- package/dist/src/dialog/index.d.ts.map +1 -0
- package/dist/src/divider/DividerElement.d.ts +63 -0
- package/dist/src/divider/DividerElement.d.ts.map +1 -0
- package/dist/src/divider/index.d.ts +2 -0
- package/dist/src/divider/index.d.ts.map +1 -0
- package/dist/src/drawer-container/DrawerContainerElement.d.ts +107 -0
- package/dist/src/drawer-container/DrawerContainerElement.d.ts.map +1 -0
- package/dist/src/drawer-container/DrawerMode.d.ts +3 -0
- package/dist/src/drawer-container/DrawerMode.d.ts.map +1 -0
- package/dist/src/drawer-container/DrawerPosition.d.ts +3 -0
- package/dist/src/drawer-container/DrawerPosition.d.ts.map +1 -0
- package/dist/src/drawer-container/DrawerToggleElement.d.ts +42 -0
- package/dist/src/drawer-container/DrawerToggleElement.d.ts.map +1 -0
- package/dist/src/drawer-container/index.d.ts +5 -0
- package/dist/src/drawer-container/index.d.ts.map +1 -0
- package/dist/src/drawer-container/styles/DrawerContainerStyle.d.ts +7 -0
- package/dist/src/drawer-container/styles/DrawerContainerStyle.d.ts.map +1 -0
- package/dist/src/drawer-container/styles/DrawerContainerToken.d.ts +16 -0
- package/dist/src/drawer-container/styles/DrawerContainerToken.d.ts.map +1 -0
- package/dist/src/drawer-container/styles/index.d.ts +2 -0
- package/dist/src/drawer-container/styles/index.d.ts.map +1 -0
- package/dist/src/expansion-panel/AccordionElement.d.ts +53 -0
- package/dist/src/expansion-panel/AccordionElement.d.ts.map +1 -0
- package/dist/src/expansion-panel/ExpansionHeaderElement.d.ts +62 -0
- package/dist/src/expansion-panel/ExpansionHeaderElement.d.ts.map +1 -0
- package/dist/src/expansion-panel/ExpansionPanelElement.d.ts +132 -0
- package/dist/src/expansion-panel/ExpansionPanelElement.d.ts.map +1 -0
- package/dist/src/expansion-panel/ExpansionToggleDirection.d.ts +3 -0
- package/dist/src/expansion-panel/ExpansionToggleDirection.d.ts.map +1 -0
- package/dist/src/expansion-panel/ExpansionTogglePosition.d.ts +3 -0
- package/dist/src/expansion-panel/ExpansionTogglePosition.d.ts.map +1 -0
- package/dist/src/expansion-panel/index.d.ts +6 -0
- package/dist/src/expansion-panel/index.d.ts.map +1 -0
- package/dist/src/expansion-panel/styles/ExpansionHeaderStyle.d.ts +6 -0
- package/dist/src/expansion-panel/styles/ExpansionHeaderStyle.d.ts.map +1 -0
- package/dist/src/expansion-panel/styles/ExpansionHeaderToken.d.ts +17 -0
- package/dist/src/expansion-panel/styles/ExpansionHeaderToken.d.ts.map +1 -0
- package/dist/src/expansion-panel/styles/ExpansionPanelStyle.d.ts +6 -0
- package/dist/src/expansion-panel/styles/ExpansionPanelStyle.d.ts.map +1 -0
- package/dist/src/expansion-panel/styles/ExpansionPanelToken.d.ts +21 -0
- package/dist/src/expansion-panel/styles/ExpansionPanelToken.d.ts.map +1 -0
- package/dist/src/expansion-panel/styles/index.d.ts +3 -0
- package/dist/src/expansion-panel/styles/index.d.ts.map +1 -0
- package/dist/src/fab/FabElement.d.ts +356 -0
- package/dist/src/fab/FabElement.d.ts.map +1 -0
- package/dist/src/fab/FabSize.d.ts +3 -0
- package/dist/src/fab/FabSize.d.ts.map +1 -0
- package/dist/src/fab/FabVariant.d.ts +3 -0
- package/dist/src/fab/FabVariant.d.ts.map +1 -0
- package/dist/src/fab/index.d.ts +4 -0
- package/dist/src/fab/index.d.ts.map +1 -0
- package/dist/src/fab/styles/FabSizeStyle.d.ts +7 -0
- package/dist/src/fab/styles/FabSizeStyle.d.ts.map +1 -0
- package/dist/src/fab/styles/FabSizeToken.d.ts +25 -0
- package/dist/src/fab/styles/FabSizeToken.d.ts.map +1 -0
- package/dist/src/fab/styles/FabStyle.d.ts +7 -0
- package/dist/src/fab/styles/FabStyle.d.ts.map +1 -0
- package/dist/src/fab/styles/FabVariantStyle.d.ts +7 -0
- package/dist/src/fab/styles/FabVariantStyle.d.ts.map +1 -0
- package/dist/src/fab/styles/FabVariantToken.d.ts +52 -0
- package/dist/src/fab/styles/FabVariantToken.d.ts.map +1 -0
- package/dist/src/fab/styles/index.d.ts +4 -0
- package/dist/src/fab/styles/index.d.ts.map +1 -0
- package/dist/src/fab-menu/FabMenuElement.d.ts +110 -0
- package/dist/src/fab-menu/FabMenuElement.d.ts.map +1 -0
- package/dist/src/fab-menu/FabMenuItemElement.d.ts +74 -0
- package/dist/src/fab-menu/FabMenuItemElement.d.ts.map +1 -0
- package/dist/src/fab-menu/FabMenuTriggerElement.d.ts +43 -0
- package/dist/src/fab-menu/FabMenuTriggerElement.d.ts.map +1 -0
- package/dist/src/fab-menu/FabMenuVariant.d.ts +3 -0
- package/dist/src/fab-menu/FabMenuVariant.d.ts.map +1 -0
- package/dist/src/fab-menu/index.d.ts +5 -0
- package/dist/src/fab-menu/index.d.ts.map +1 -0
- package/dist/src/form-field/FloatLabelType.d.ts +3 -0
- package/dist/src/form-field/FloatLabelType.d.ts.map +1 -0
- package/dist/src/form-field/FormFieldControl.d.ts +48 -0
- package/dist/src/form-field/FormFieldControl.d.ts.map +1 -0
- package/dist/src/form-field/FormFieldElement.d.ts +145 -0
- package/dist/src/form-field/FormFieldElement.d.ts.map +1 -0
- package/dist/src/form-field/FormFieldVariant.d.ts +3 -0
- package/dist/src/form-field/FormFieldVariant.d.ts.map +1 -0
- package/dist/src/form-field/HideSubscriptType.d.ts +3 -0
- package/dist/src/form-field/HideSubscriptType.d.ts.map +1 -0
- package/dist/src/form-field/index.d.ts +6 -0
- package/dist/src/form-field/index.d.ts.map +1 -0
- package/dist/src/heading/HeadingElement.d.ts +176 -0
- package/dist/src/heading/HeadingElement.d.ts.map +1 -0
- package/dist/src/heading/HeadingLevel.d.ts +3 -0
- package/dist/src/heading/HeadingLevel.d.ts.map +1 -0
- package/dist/src/heading/HeadingSize.d.ts +3 -0
- package/dist/src/heading/HeadingSize.d.ts.map +1 -0
- package/dist/src/heading/HeadingVariant.d.ts +3 -0
- package/dist/src/heading/HeadingVariant.d.ts.map +1 -0
- package/dist/src/heading/index.d.ts +5 -0
- package/dist/src/heading/index.d.ts.map +1 -0
- package/dist/src/icon/IconElement.d.ts +83 -0
- package/dist/src/icon/IconElement.d.ts.map +1 -0
- package/dist/src/icon/IconGrade.d.ts +3 -0
- package/dist/src/icon/IconGrade.d.ts.map +1 -0
- package/dist/src/icon/IconVariant.d.ts +3 -0
- package/dist/src/icon/IconVariant.d.ts.map +1 -0
- package/dist/src/icon/index.d.ts +4 -0
- package/dist/src/icon/index.d.ts.map +1 -0
- package/dist/src/icon-button/IconButtonElement.d.ts +316 -0
- package/dist/src/icon-button/IconButtonElement.d.ts.map +1 -0
- package/dist/src/icon-button/IconButtonShape.d.ts +3 -0
- package/dist/src/icon-button/IconButtonShape.d.ts.map +1 -0
- package/dist/src/icon-button/IconButtonSize.d.ts +3 -0
- package/dist/src/icon-button/IconButtonSize.d.ts.map +1 -0
- package/dist/src/icon-button/IconButtonVariant.d.ts +3 -0
- package/dist/src/icon-button/IconButtonVariant.d.ts.map +1 -0
- package/dist/src/icon-button/IconButtonWidth.d.ts +3 -0
- package/dist/src/icon-button/IconButtonWidth.d.ts.map +1 -0
- package/dist/src/icon-button/index.d.ts +6 -0
- package/dist/src/icon-button/index.d.ts.map +1 -0
- package/dist/src/icon-button/styles/IconButtonSizeStyle.d.ts +7 -0
- package/dist/src/icon-button/styles/IconButtonSizeStyle.d.ts.map +1 -0
- package/dist/src/icon-button/styles/IconButtonSizeToken.d.ts +26 -0
- package/dist/src/icon-button/styles/IconButtonSizeToken.d.ts.map +1 -0
- package/dist/src/icon-button/styles/IconButtonStyle.d.ts +7 -0
- package/dist/src/icon-button/styles/IconButtonStyle.d.ts.map +1 -0
- package/dist/src/icon-button/styles/IconButtonVariantStyle.d.ts +7 -0
- package/dist/src/icon-button/styles/IconButtonVariantStyle.d.ts.map +1 -0
- package/dist/src/icon-button/styles/IconButtonVariantToken.d.ts +61 -0
- package/dist/src/icon-button/styles/IconButtonVariantToken.d.ts.map +1 -0
- package/dist/src/icon-button/styles/index.d.ts +4 -0
- package/dist/src/icon-button/styles/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/list/ActionListElement.d.ts +46 -0
- package/dist/src/list/ActionListElement.d.ts.map +1 -0
- package/dist/src/list/ExpandableListItemElement.d.ts +152 -0
- package/dist/src/list/ExpandableListItemElement.d.ts.map +1 -0
- package/dist/src/list/ListActionElement.d.ts +111 -0
- package/dist/src/list/ListActionElement.d.ts.map +1 -0
- package/dist/src/list/ListElement.d.ts +89 -0
- package/dist/src/list/ListElement.d.ts.map +1 -0
- package/dist/src/list/ListItemButtonElement.d.ts +25 -0
- package/dist/src/list/ListItemButtonElement.d.ts.map +1 -0
- package/dist/src/list/ListItemContentType.d.ts +3 -0
- package/dist/src/list/ListItemContentType.d.ts.map +1 -0
- package/dist/src/list/ListItemElement.d.ts +112 -0
- package/dist/src/list/ListItemElement.d.ts.map +1 -0
- package/dist/src/list/ListOptionElement.d.ts +127 -0
- package/dist/src/list/ListOptionElement.d.ts.map +1 -0
- package/dist/src/list/ListVariant.d.ts +3 -0
- package/dist/src/list/ListVariant.d.ts.map +1 -0
- package/dist/src/list/SelectionListElement.d.ts +77 -0
- package/dist/src/list/SelectionListElement.d.ts.map +1 -0
- package/dist/src/list/index.d.ts +11 -0
- package/dist/src/list/index.d.ts.map +1 -0
- package/dist/src/loading-indicator/LoadingIndicatorElement.d.ts +56 -0
- package/dist/src/loading-indicator/LoadingIndicatorElement.d.ts.map +1 -0
- package/dist/src/loading-indicator/LoadingIndicatorToken.d.ts +9 -0
- package/dist/src/loading-indicator/LoadingIndicatorToken.d.ts.map +1 -0
- package/dist/src/loading-indicator/LoadingIndicatorVariant.d.ts +3 -0
- package/dist/src/loading-indicator/LoadingIndicatorVariant.d.ts.map +1 -0
- package/dist/src/loading-indicator/ShapePolygon.d.ts +7 -0
- package/dist/src/loading-indicator/ShapePolygon.d.ts.map +1 -0
- package/dist/src/loading-indicator/index.d.ts +3 -0
- package/dist/src/loading-indicator/index.d.ts.map +1 -0
- package/dist/src/menu/MenuElement.d.ts +156 -0
- package/dist/src/menu/MenuElement.d.ts.map +1 -0
- package/dist/src/menu/MenuItemCheckboxElement.d.ts +94 -0
- package/dist/src/menu/MenuItemCheckboxElement.d.ts.map +1 -0
- package/dist/src/menu/MenuItemElement.d.ts +130 -0
- package/dist/src/menu/MenuItemElement.d.ts.map +1 -0
- package/dist/src/menu/MenuItemElementBase.d.ts +21 -0
- package/dist/src/menu/MenuItemElementBase.d.ts.map +1 -0
- package/dist/src/menu/MenuItemGroupElement.d.ts +27 -0
- package/dist/src/menu/MenuItemGroupElement.d.ts.map +1 -0
- package/dist/src/menu/MenuItemRadioElement.d.ts +95 -0
- package/dist/src/menu/MenuItemRadioElement.d.ts.map +1 -0
- package/dist/src/menu/MenuPosition.d.ts +5 -0
- package/dist/src/menu/MenuPosition.d.ts.map +1 -0
- package/dist/src/menu/MenuTriggerElement.d.ts +78 -0
- package/dist/src/menu/MenuTriggerElement.d.ts.map +1 -0
- package/dist/src/menu/MenuVariant.d.ts +3 -0
- package/dist/src/menu/MenuVariant.d.ts.map +1 -0
- package/dist/src/menu/index.d.ts +9 -0
- package/dist/src/menu/index.d.ts.map +1 -0
- package/dist/src/nav-bar/NavBarElement.d.ts +73 -0
- package/dist/src/nav-bar/NavBarElement.d.ts.map +1 -0
- package/dist/src/nav-bar/NavBarMode.d.ts +3 -0
- package/dist/src/nav-bar/NavBarMode.d.ts.map +1 -0
- package/dist/src/nav-bar/NavItemElement.d.ts +105 -0
- package/dist/src/nav-bar/NavItemElement.d.ts.map +1 -0
- package/dist/src/nav-bar/NavItemOrientation.d.ts +3 -0
- package/dist/src/nav-bar/NavItemOrientation.d.ts.map +1 -0
- package/dist/src/nav-bar/index.d.ts +5 -0
- package/dist/src/nav-bar/index.d.ts.map +1 -0
- package/dist/src/nav-menu/NavMenuElement.d.ts +113 -0
- package/dist/src/nav-menu/NavMenuElement.d.ts.map +1 -0
- package/dist/src/nav-menu/NavMenuItemElement.d.ts +189 -0
- package/dist/src/nav-menu/NavMenuItemElement.d.ts.map +1 -0
- package/dist/src/nav-menu/NavMenuItemGroupElement.d.ts +63 -0
- package/dist/src/nav-menu/NavMenuItemGroupElement.d.ts.map +1 -0
- package/dist/src/nav-menu/index.d.ts +4 -0
- package/dist/src/nav-menu/index.d.ts.map +1 -0
- package/dist/src/nav-rail/NavRailElement.d.ts +69 -0
- package/dist/src/nav-rail/NavRailElement.d.ts.map +1 -0
- package/dist/src/nav-rail/NavRailToggleElement.d.ts +46 -0
- package/dist/src/nav-rail/NavRailToggleElement.d.ts.map +1 -0
- package/dist/src/nav-rail/index.d.ts +3 -0
- package/dist/src/nav-rail/index.d.ts.map +1 -0
- package/dist/src/option/OptGroupElement.d.ts +42 -0
- package/dist/src/option/OptGroupElement.d.ts.map +1 -0
- package/dist/src/option/OptionElement.d.ts +79 -0
- package/dist/src/option/OptionElement.d.ts.map +1 -0
- package/dist/src/option/OptionPanelElement.d.ts +82 -0
- package/dist/src/option/OptionPanelElement.d.ts.map +1 -0
- package/dist/src/option/index.d.ts +4 -0
- package/dist/src/option/index.d.ts.map +1 -0
- package/dist/src/paginator/PageEventDetail.d.ts +12 -0
- package/dist/src/paginator/PageEventDetail.d.ts.map +1 -0
- package/dist/src/paginator/PaginatorElement.d.ts +170 -0
- package/dist/src/paginator/PaginatorElement.d.ts.map +1 -0
- package/dist/src/paginator/index.d.ts +3 -0
- package/dist/src/paginator/index.d.ts.map +1 -0
- package/dist/src/progress-indicator/CircularProgressIndicatorElement.d.ts +65 -0
- package/dist/src/progress-indicator/CircularProgressIndicatorElement.d.ts.map +1 -0
- package/dist/src/progress-indicator/LinearProgressIndicatorElement.d.ts +70 -0
- package/dist/src/progress-indicator/LinearProgressIndicatorElement.d.ts.map +1 -0
- package/dist/src/progress-indicator/LinearProgressMode.d.ts +3 -0
- package/dist/src/progress-indicator/LinearProgressMode.d.ts.map +1 -0
- package/dist/src/progress-indicator/ProgressElementIndicatorBase.d.ts +29 -0
- package/dist/src/progress-indicator/ProgressElementIndicatorBase.d.ts.map +1 -0
- package/dist/src/progress-indicator/ProgressIndicatorVariant.d.ts +3 -0
- package/dist/src/progress-indicator/ProgressIndicatorVariant.d.ts.map +1 -0
- package/dist/src/progress-indicator/index.d.ts +6 -0
- package/dist/src/progress-indicator/index.d.ts.map +1 -0
- package/dist/src/radio-group/RadioElement.d.ts +88 -0
- package/dist/src/radio-group/RadioElement.d.ts.map +1 -0
- package/dist/src/radio-group/RadioGroupElement.d.ts +77 -0
- package/dist/src/radio-group/RadioGroupElement.d.ts.map +1 -0
- package/dist/src/radio-group/index.d.ts +3 -0
- package/dist/src/radio-group/index.d.ts.map +1 -0
- package/dist/src/segmented-button/ButtonSegmentElement.d.ts +105 -0
- package/dist/src/segmented-button/ButtonSegmentElement.d.ts.map +1 -0
- package/dist/src/segmented-button/SegmentedButtonElement.d.ts +90 -0
- package/dist/src/segmented-button/SegmentedButtonElement.d.ts.map +1 -0
- package/dist/src/segmented-button/index.d.ts +3 -0
- package/dist/src/segmented-button/index.d.ts.map +1 -0
- package/dist/src/select/SelectElement.d.ts +119 -0
- package/dist/src/select/SelectElement.d.ts.map +1 -0
- package/dist/src/select/index.d.ts +2 -0
- package/dist/src/select/index.d.ts.map +1 -0
- package/dist/src/shape/ShapeElement.d.ts +48 -0
- package/dist/src/shape/ShapeElement.d.ts.map +1 -0
- package/dist/src/shape/ShapeName.d.ts +3 -0
- package/dist/src/shape/ShapeName.d.ts.map +1 -0
- package/dist/src/shape/ShapeNameStyle.d.ts +7 -0
- package/dist/src/shape/ShapeNameStyle.d.ts.map +1 -0
- package/dist/src/shape/ShapePolygon.d.ts +8 -0
- package/dist/src/shape/ShapePolygon.d.ts.map +1 -0
- package/dist/src/shape/ShapeStyle.d.ts +7 -0
- package/dist/src/shape/ShapeStyle.d.ts.map +1 -0
- package/dist/src/shape/ShapeToken.d.ts +13 -0
- package/dist/src/shape/ShapeToken.d.ts.map +1 -0
- package/dist/src/shape/index.d.ts +3 -0
- package/dist/src/shape/index.d.ts.map +1 -0
- package/dist/src/slide-group/SlideGroupElement.d.ts +91 -0
- package/dist/src/slide-group/SlideGroupElement.d.ts.map +1 -0
- package/dist/src/slide-group/index.d.ts +2 -0
- package/dist/src/slide-group/index.d.ts.map +1 -0
- package/dist/src/slider/SliderElement.d.ts +144 -0
- package/dist/src/slider/SliderElement.d.ts.map +1 -0
- package/dist/src/slider/SliderSize.d.ts +3 -0
- package/dist/src/slider/SliderSize.d.ts.map +1 -0
- package/dist/src/slider/SliderThumbElement.d.ts +80 -0
- package/dist/src/slider/SliderThumbElement.d.ts.map +1 -0
- package/dist/src/slider/index.d.ts +4 -0
- package/dist/src/slider/index.d.ts.map +1 -0
- package/dist/src/snackbar/Snackbar.d.ts +62 -0
- package/dist/src/snackbar/Snackbar.d.ts.map +1 -0
- package/dist/src/snackbar/SnackbarElement.d.ts +79 -0
- package/dist/src/snackbar/SnackbarElement.d.ts.map +1 -0
- package/dist/src/snackbar/index.d.ts +3 -0
- package/dist/src/snackbar/index.d.ts.map +1 -0
- package/dist/src/split-button/SplitButtonElement.d.ts +106 -0
- package/dist/src/split-button/SplitButtonElement.d.ts.map +1 -0
- package/dist/src/split-button/SplitButtonVariant.d.ts +3 -0
- package/dist/src/split-button/SplitButtonVariant.d.ts.map +1 -0
- package/dist/src/split-button/index.d.ts +3 -0
- package/dist/src/split-button/index.d.ts.map +1 -0
- package/dist/src/stepper/StepElement.d.ts +161 -0
- package/dist/src/stepper/StepElement.d.ts.map +1 -0
- package/dist/src/stepper/StepHeaderPosition.d.ts +3 -0
- package/dist/src/stepper/StepHeaderPosition.d.ts.map +1 -0
- package/dist/src/stepper/StepLabelPosition.d.ts +3 -0
- package/dist/src/stepper/StepLabelPosition.d.ts.map +1 -0
- package/dist/src/stepper/StepPanelElement.d.ts +76 -0
- package/dist/src/stepper/StepPanelElement.d.ts.map +1 -0
- package/dist/src/stepper/StepperButtonElementBase.d.ts +9 -0
- package/dist/src/stepper/StepperButtonElementBase.d.ts.map +1 -0
- package/dist/src/stepper/StepperElement.d.ts +139 -0
- package/dist/src/stepper/StepperElement.d.ts.map +1 -0
- package/dist/src/stepper/StepperNextElement.d.ts +16 -0
- package/dist/src/stepper/StepperNextElement.d.ts.map +1 -0
- package/dist/src/stepper/StepperOrientation.d.ts +3 -0
- package/dist/src/stepper/StepperOrientation.d.ts.map +1 -0
- package/dist/src/stepper/StepperPreviousElement.d.ts +16 -0
- package/dist/src/stepper/StepperPreviousElement.d.ts.map +1 -0
- package/dist/src/stepper/StepperResetElement.d.ts +16 -0
- package/dist/src/stepper/StepperResetElement.d.ts.map +1 -0
- package/dist/src/stepper/index.d.ts +11 -0
- package/dist/src/stepper/index.d.ts.map +1 -0
- package/dist/src/switch/SwitchElement.d.ts +147 -0
- package/dist/src/switch/SwitchElement.d.ts.map +1 -0
- package/dist/src/switch/SwitchIcons.d.ts +3 -0
- package/dist/src/switch/SwitchIcons.d.ts.map +1 -0
- package/dist/src/switch/index.d.ts +3 -0
- package/dist/src/switch/index.d.ts.map +1 -0
- package/dist/src/switch/styles/SwitchHandleStyle.d.ts +6 -0
- package/dist/src/switch/styles/SwitchHandleStyle.d.ts.map +1 -0
- package/dist/src/switch/styles/SwitchIconStyle.d.ts +6 -0
- package/dist/src/switch/styles/SwitchIconStyle.d.ts.map +1 -0
- package/dist/src/switch/styles/SwitchStateLayerStyle.d.ts +6 -0
- package/dist/src/switch/styles/SwitchStateLayerStyle.d.ts.map +1 -0
- package/dist/src/switch/styles/SwitchStyle.d.ts +6 -0
- package/dist/src/switch/styles/SwitchStyle.d.ts.map +1 -0
- package/dist/src/switch/styles/SwitchToken.d.ts +76 -0
- package/dist/src/switch/styles/SwitchToken.d.ts.map +1 -0
- package/dist/src/switch/styles/SwitchTrackStyle.d.ts +6 -0
- package/dist/src/switch/styles/SwitchTrackStyle.d.ts.map +1 -0
- package/dist/src/switch/styles/index.d.ts +6 -0
- package/dist/src/switch/styles/index.d.ts.map +1 -0
- package/dist/src/tabs/TabElement.d.ts +90 -0
- package/dist/src/tabs/TabElement.d.ts.map +1 -0
- package/dist/src/tabs/TabHeaderPosition.d.ts +3 -0
- package/dist/src/tabs/TabHeaderPosition.d.ts.map +1 -0
- package/dist/src/tabs/TabPanelElement.d.ts +45 -0
- package/dist/src/tabs/TabPanelElement.d.ts.map +1 -0
- package/dist/src/tabs/TabVariant.d.ts +3 -0
- package/dist/src/tabs/TabVariant.d.ts.map +1 -0
- package/dist/src/tabs/TabsElement.d.ts +118 -0
- package/dist/src/tabs/TabsElement.d.ts.map +1 -0
- package/dist/src/tabs/index.d.ts +6 -0
- package/dist/src/tabs/index.d.ts.map +1 -0
- package/dist/src/textarea-autosize/TextareaAutosizeElement.d.ts +81 -0
- package/dist/src/textarea-autosize/TextareaAutosizeElement.d.ts.map +1 -0
- package/dist/src/textarea-autosize/index.d.ts +2 -0
- package/dist/src/textarea-autosize/index.d.ts.map +1 -0
- package/dist/src/theme/ColorScheme.d.ts +3 -0
- package/dist/src/theme/ColorScheme.d.ts.map +1 -0
- package/dist/src/theme/ContrastLevel.d.ts +3 -0
- package/dist/src/theme/ContrastLevel.d.ts.map +1 -0
- package/dist/src/theme/MotionScheme.d.ts +3 -0
- package/dist/src/theme/MotionScheme.d.ts.map +1 -0
- package/dist/src/theme/ThemeElement.d.ts +91 -0
- package/dist/src/theme/ThemeElement.d.ts.map +1 -0
- package/dist/src/theme/index.d.ts +5 -0
- package/dist/src/theme/index.d.ts.map +1 -0
- package/dist/src/toc/TocElement.d.ts +86 -0
- package/dist/src/toc/TocElement.d.ts.map +1 -0
- package/dist/src/toc/TocGenerator.d.ts +25 -0
- package/dist/src/toc/TocGenerator.d.ts.map +1 -0
- package/dist/src/toc/TocItemElement.d.ts +49 -0
- package/dist/src/toc/TocItemElement.d.ts.map +1 -0
- package/dist/src/toc/index.d.ts +4 -0
- package/dist/src/toc/index.d.ts.map +1 -0
- package/dist/src/toolbar/ToolbarElement.d.ts +89 -0
- package/dist/src/toolbar/ToolbarElement.d.ts.map +1 -0
- package/dist/src/toolbar/ToolbarShape.d.ts +3 -0
- package/dist/src/toolbar/ToolbarShape.d.ts.map +1 -0
- package/dist/src/toolbar/ToolbarVariant.d.ts +3 -0
- package/dist/src/toolbar/ToolbarVariant.d.ts.map +1 -0
- package/dist/src/toolbar/index.d.ts +4 -0
- package/dist/src/toolbar/index.d.ts.map +1 -0
- package/dist/src/tooltip/RichTooltipActionElement.d.ts +21 -0
- package/dist/src/tooltip/RichTooltipActionElement.d.ts.map +1 -0
- package/dist/src/tooltip/RichTooltipElement.d.ts +116 -0
- package/dist/src/tooltip/RichTooltipElement.d.ts.map +1 -0
- package/dist/src/tooltip/RichTooltipPosition.d.ts +3 -0
- package/dist/src/tooltip/RichTooltipPosition.d.ts.map +1 -0
- package/dist/src/tooltip/TooltipElement.d.ts +73 -0
- package/dist/src/tooltip/TooltipElement.d.ts.map +1 -0
- package/dist/src/tooltip/TooltipElementBase.d.ts +69 -0
- package/dist/src/tooltip/TooltipElementBase.d.ts.map +1 -0
- package/dist/src/tooltip/TooltipPosition.d.ts +3 -0
- package/dist/src/tooltip/TooltipPosition.d.ts.map +1 -0
- package/dist/src/tooltip/TooltipTouchGestures.d.ts +3 -0
- package/dist/src/tooltip/TooltipTouchGestures.d.ts.map +1 -0
- package/dist/src/tooltip/index.d.ts +8 -0
- package/dist/src/tooltip/index.d.ts.map +1 -0
- package/dist/stepper.js +1498 -0
- package/dist/stepper.js.map +1 -0
- package/dist/stepper.min.js +57 -0
- package/dist/stepper.min.js.map +1 -0
- package/dist/switch.js +758 -0
- package/dist/switch.js.map +1 -0
- package/dist/switch.min.js +40 -0
- package/dist/switch.min.js.map +1 -0
- package/dist/tabs.js +1173 -0
- package/dist/tabs.js.map +1 -0
- package/dist/tabs.min.js +51 -0
- package/dist/tabs.min.js.map +1 -0
- package/dist/textarea-autosize.js +688 -0
- package/dist/textarea-autosize.js.map +1 -0
- package/dist/textarea-autosize.min.js +37 -0
- package/dist/textarea-autosize.min.js.map +1 -0
- package/dist/theme.js +3712 -0
- package/dist/theme.js.map +1 -0
- package/dist/theme.min.js +339 -0
- package/dist/theme.min.js.map +1 -0
- package/dist/toc.js +795 -0
- package/dist/toc.js.map +1 -0
- package/dist/toc.min.js +45 -0
- package/dist/toc.min.js.map +1 -0
- package/dist/toolbar.js +557 -0
- package/dist/toolbar.js.map +1 -0
- package/dist/toolbar.min.js +29 -0
- package/dist/toolbar.min.js.map +1 -0
- package/dist/tooltip.js +1378 -0
- package/dist/tooltip.js.map +1 -0
- package/dist/tooltip.min.js +57 -0
- package/dist/tooltip.min.js.map +1 -0
- package/package.json +287 -0
|
@@ -0,0 +1,919 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license MIT
|
|
3
|
+
* Copyright (c) 2025 matraic
|
|
4
|
+
* See LICENSE file in the project root for full license text.
|
|
5
|
+
*/
|
|
6
|
+
import { LitElement, nothing, html, css, unsafeCSS } from 'lit';
|
|
7
|
+
import { AttachInternals, MutationController, ResizeController, FocusController, HoverController, PressedController, isReadOnlyMixin, DesignToken, hasAssignedNodes, interceptProperty, getTextContent } from '@m3e/web/core';
|
|
8
|
+
import { M3eAriaDescriber } from '@m3e/web/core/a11y';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Adapted from Angular Material Form Field Control
|
|
12
|
+
* Source: https://github.com/angular/components/blob/main/src/material/form-field/form-field-control.ts
|
|
13
|
+
*
|
|
14
|
+
* @license MIT
|
|
15
|
+
* Copyright (c) 2025 Google LLC
|
|
16
|
+
* See LICENSE file in the project root for full license text.
|
|
17
|
+
*/
|
|
18
|
+
const KNOWN_FORM_FIELD_TAGS = ["m3e-input-chip-set", "m3e-select"];
|
|
19
|
+
/**
|
|
20
|
+
* Determines whether a value is a `FormFieldControl`.
|
|
21
|
+
* @param {unknown} value The value to test.
|
|
22
|
+
* @returns {value is FormFieldControl} A value indicating whether `value` is a `FormFieldControl`.
|
|
23
|
+
*/
|
|
24
|
+
function isFormFieldControl(value) {
|
|
25
|
+
return value instanceof HTMLElement && (value instanceof HTMLInputElement || value instanceof HTMLTextAreaElement || value instanceof HTMLSelectElement || KNOWN_FORM_FIELD_TAGS.includes(value.tagName.toLowerCase()));
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Locates the first `FormFieldControl` in a given slot.
|
|
29
|
+
* @param {HTMLSlotElement} slot The slot in which to locate a `FormFieldControl`.
|
|
30
|
+
* @returns {FormFieldControl | null} The `FormFieldControl` located in `slot`.
|
|
31
|
+
*/
|
|
32
|
+
function findFormFieldControl(slot) {
|
|
33
|
+
for (const element of slot.assignedElements({
|
|
34
|
+
flatten: true
|
|
35
|
+
})) {
|
|
36
|
+
if (isFormFieldControl(element)) {
|
|
37
|
+
return element;
|
|
38
|
+
}
|
|
39
|
+
const walker = document.createTreeWalker(element, NodeFilter.SHOW_ELEMENT);
|
|
40
|
+
while (walker.nextNode()) {
|
|
41
|
+
if (isFormFieldControl(walker.currentNode)) {
|
|
42
|
+
return walker.currentNode;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/******************************************************************************
|
|
50
|
+
Copyright (c) Microsoft Corporation.
|
|
51
|
+
|
|
52
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
53
|
+
purpose with or without fee is hereby granted.
|
|
54
|
+
|
|
55
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
56
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
57
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
58
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
59
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
60
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
61
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
62
|
+
***************************************************************************** */
|
|
63
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
64
|
+
|
|
65
|
+
function __decorate(decorators, target, key, desc) {
|
|
66
|
+
var c = arguments.length,
|
|
67
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
68
|
+
d;
|
|
69
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
70
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
71
|
+
}
|
|
72
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
73
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
74
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
75
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
76
|
+
}
|
|
77
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
78
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
79
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
80
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
81
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
82
|
+
}
|
|
83
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
84
|
+
var e = new Error(message);
|
|
85
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @license
|
|
90
|
+
* Copyright 2017 Google LLC
|
|
91
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
92
|
+
*/
|
|
93
|
+
const t$1 = t => (e, o) => {
|
|
94
|
+
void 0 !== o ? o.addInitializer(() => {
|
|
95
|
+
customElements.define(t, e);
|
|
96
|
+
}) : customElements.define(t, e);
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @license
|
|
101
|
+
* Copyright 2019 Google LLC
|
|
102
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
103
|
+
*/
|
|
104
|
+
const t = globalThis,
|
|
105
|
+
e$3 = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
106
|
+
s = Symbol(),
|
|
107
|
+
o$2 = new WeakMap();
|
|
108
|
+
let n$2 = class n {
|
|
109
|
+
constructor(t, e, o) {
|
|
110
|
+
if (this._$cssResult$ = true, o !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
111
|
+
this.cssText = t, this.t = e;
|
|
112
|
+
}
|
|
113
|
+
get styleSheet() {
|
|
114
|
+
let t = this.o;
|
|
115
|
+
const s = this.t;
|
|
116
|
+
if (e$3 && void 0 === t) {
|
|
117
|
+
const e = void 0 !== s && 1 === s.length;
|
|
118
|
+
e && (t = o$2.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$2.set(s, t));
|
|
119
|
+
}
|
|
120
|
+
return t;
|
|
121
|
+
}
|
|
122
|
+
toString() {
|
|
123
|
+
return this.cssText;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
const r$3 = t => new n$2("string" == typeof t ? t : t + "", void 0, s),
|
|
127
|
+
S = (s, o) => {
|
|
128
|
+
if (e$3) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {
|
|
129
|
+
const o = document.createElement("style"),
|
|
130
|
+
n = t.litNonce;
|
|
131
|
+
void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
c$1 = e$3 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
|
|
135
|
+
let e = "";
|
|
136
|
+
for (const s of t.cssRules) e += s.cssText;
|
|
137
|
+
return r$3(e);
|
|
138
|
+
})(t) : t;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @license
|
|
142
|
+
* Copyright 2017 Google LLC
|
|
143
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
144
|
+
*/
|
|
145
|
+
const {
|
|
146
|
+
is: i,
|
|
147
|
+
defineProperty: e$2,
|
|
148
|
+
getOwnPropertyDescriptor: h,
|
|
149
|
+
getOwnPropertyNames: r$2,
|
|
150
|
+
getOwnPropertySymbols: o$1,
|
|
151
|
+
getPrototypeOf: n$1
|
|
152
|
+
} = Object,
|
|
153
|
+
a = globalThis,
|
|
154
|
+
c = a.trustedTypes,
|
|
155
|
+
l = c ? c.emptyScript : "",
|
|
156
|
+
p = a.reactiveElementPolyfillSupport,
|
|
157
|
+
d = (t, s) => t,
|
|
158
|
+
u = {
|
|
159
|
+
toAttribute(t, s) {
|
|
160
|
+
switch (s) {
|
|
161
|
+
case Boolean:
|
|
162
|
+
t = t ? l : null;
|
|
163
|
+
break;
|
|
164
|
+
case Object:
|
|
165
|
+
case Array:
|
|
166
|
+
t = null == t ? t : JSON.stringify(t);
|
|
167
|
+
}
|
|
168
|
+
return t;
|
|
169
|
+
},
|
|
170
|
+
fromAttribute(t, s) {
|
|
171
|
+
let i = t;
|
|
172
|
+
switch (s) {
|
|
173
|
+
case Boolean:
|
|
174
|
+
i = null !== t;
|
|
175
|
+
break;
|
|
176
|
+
case Number:
|
|
177
|
+
i = null === t ? null : Number(t);
|
|
178
|
+
break;
|
|
179
|
+
case Object:
|
|
180
|
+
case Array:
|
|
181
|
+
try {
|
|
182
|
+
i = JSON.parse(t);
|
|
183
|
+
} catch (t) {
|
|
184
|
+
i = null;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
return i;
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
f = (t, s) => !i(t, s),
|
|
191
|
+
b = {
|
|
192
|
+
attribute: true,
|
|
193
|
+
type: String,
|
|
194
|
+
converter: u,
|
|
195
|
+
reflect: false,
|
|
196
|
+
useDefault: false,
|
|
197
|
+
hasChanged: f
|
|
198
|
+
};
|
|
199
|
+
Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= new WeakMap();
|
|
200
|
+
class y extends HTMLElement {
|
|
201
|
+
static addInitializer(t) {
|
|
202
|
+
this._$Ei(), (this.l ??= []).push(t);
|
|
203
|
+
}
|
|
204
|
+
static get observedAttributes() {
|
|
205
|
+
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
206
|
+
}
|
|
207
|
+
static createProperty(t, s = b) {
|
|
208
|
+
if (s.state && (s.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = true), this.elementProperties.set(t, s), !s.noAccessor) {
|
|
209
|
+
const i = Symbol(),
|
|
210
|
+
h = this.getPropertyDescriptor(t, i, s);
|
|
211
|
+
void 0 !== h && e$2(this.prototype, t, h);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
static getPropertyDescriptor(t, s, i) {
|
|
215
|
+
const {
|
|
216
|
+
get: e,
|
|
217
|
+
set: r
|
|
218
|
+
} = h(this.prototype, t) ?? {
|
|
219
|
+
get() {
|
|
220
|
+
return this[s];
|
|
221
|
+
},
|
|
222
|
+
set(t) {
|
|
223
|
+
this[s] = t;
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
return {
|
|
227
|
+
get: e,
|
|
228
|
+
set(s) {
|
|
229
|
+
const h = e?.call(this);
|
|
230
|
+
r?.call(this, s), this.requestUpdate(t, h, i);
|
|
231
|
+
},
|
|
232
|
+
configurable: true,
|
|
233
|
+
enumerable: true
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
static getPropertyOptions(t) {
|
|
237
|
+
return this.elementProperties.get(t) ?? b;
|
|
238
|
+
}
|
|
239
|
+
static _$Ei() {
|
|
240
|
+
if (this.hasOwnProperty(d("elementProperties"))) return;
|
|
241
|
+
const t = n$1(this);
|
|
242
|
+
t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
243
|
+
}
|
|
244
|
+
static finalize() {
|
|
245
|
+
if (this.hasOwnProperty(d("finalized"))) return;
|
|
246
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
|
|
247
|
+
const t = this.properties,
|
|
248
|
+
s = [...r$2(t), ...o$1(t)];
|
|
249
|
+
for (const i of s) this.createProperty(i, t[i]);
|
|
250
|
+
}
|
|
251
|
+
const t = this[Symbol.metadata];
|
|
252
|
+
if (null !== t) {
|
|
253
|
+
const s = litPropertyMetadata.get(t);
|
|
254
|
+
if (void 0 !== s) for (const [t, i] of s) this.elementProperties.set(t, i);
|
|
255
|
+
}
|
|
256
|
+
this._$Eh = new Map();
|
|
257
|
+
for (const [t, s] of this.elementProperties) {
|
|
258
|
+
const i = this._$Eu(t, s);
|
|
259
|
+
void 0 !== i && this._$Eh.set(i, t);
|
|
260
|
+
}
|
|
261
|
+
this.elementStyles = this.finalizeStyles(this.styles);
|
|
262
|
+
}
|
|
263
|
+
static finalizeStyles(s) {
|
|
264
|
+
const i = [];
|
|
265
|
+
if (Array.isArray(s)) {
|
|
266
|
+
const e = new Set(s.flat(1 / 0).reverse());
|
|
267
|
+
for (const s of e) i.unshift(c$1(s));
|
|
268
|
+
} else void 0 !== s && i.push(c$1(s));
|
|
269
|
+
return i;
|
|
270
|
+
}
|
|
271
|
+
static _$Eu(t, s) {
|
|
272
|
+
const i = s.attribute;
|
|
273
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
274
|
+
}
|
|
275
|
+
constructor() {
|
|
276
|
+
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
277
|
+
}
|
|
278
|
+
_$Ev() {
|
|
279
|
+
this._$ES = new Promise(t => this.enableUpdating = t), this._$AL = new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(t => t(this));
|
|
280
|
+
}
|
|
281
|
+
addController(t) {
|
|
282
|
+
(this._$EO ??= new Set()).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.();
|
|
283
|
+
}
|
|
284
|
+
removeController(t) {
|
|
285
|
+
this._$EO?.delete(t);
|
|
286
|
+
}
|
|
287
|
+
_$E_() {
|
|
288
|
+
const t = new Map(),
|
|
289
|
+
s = this.constructor.elementProperties;
|
|
290
|
+
for (const i of s.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
|
|
291
|
+
t.size > 0 && (this._$Ep = t);
|
|
292
|
+
}
|
|
293
|
+
createRenderRoot() {
|
|
294
|
+
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
295
|
+
return S(t, this.constructor.elementStyles), t;
|
|
296
|
+
}
|
|
297
|
+
connectedCallback() {
|
|
298
|
+
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach(t => t.hostConnected?.());
|
|
299
|
+
}
|
|
300
|
+
enableUpdating(t) {}
|
|
301
|
+
disconnectedCallback() {
|
|
302
|
+
this._$EO?.forEach(t => t.hostDisconnected?.());
|
|
303
|
+
}
|
|
304
|
+
attributeChangedCallback(t, s, i) {
|
|
305
|
+
this._$AK(t, i);
|
|
306
|
+
}
|
|
307
|
+
_$ET(t, s) {
|
|
308
|
+
const i = this.constructor.elementProperties.get(t),
|
|
309
|
+
e = this.constructor._$Eu(t, i);
|
|
310
|
+
if (void 0 !== e && true === i.reflect) {
|
|
311
|
+
const h = (void 0 !== i.converter?.toAttribute ? i.converter : u).toAttribute(s, i.type);
|
|
312
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
_$AK(t, s) {
|
|
316
|
+
const i = this.constructor,
|
|
317
|
+
e = i._$Eh.get(t);
|
|
318
|
+
if (void 0 !== e && this._$Em !== e) {
|
|
319
|
+
const t = i.getPropertyOptions(e),
|
|
320
|
+
h = "function" == typeof t.converter ? {
|
|
321
|
+
fromAttribute: t.converter
|
|
322
|
+
} : void 0 !== t.converter?.fromAttribute ? t.converter : u;
|
|
323
|
+
this._$Em = e;
|
|
324
|
+
const r = h.fromAttribute(s, t.type);
|
|
325
|
+
this[e] = r ?? this._$Ej?.get(e) ?? r, this._$Em = null;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
requestUpdate(t, s, i) {
|
|
329
|
+
if (void 0 !== t) {
|
|
330
|
+
const e = this.constructor,
|
|
331
|
+
h = this[t];
|
|
332
|
+
if (i ??= e.getPropertyOptions(t), !((i.hasChanged ?? f)(h, s) || i.useDefault && i.reflect && h === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, i)))) return;
|
|
333
|
+
this.C(t, s, i);
|
|
334
|
+
}
|
|
335
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
336
|
+
}
|
|
337
|
+
C(t, s, {
|
|
338
|
+
useDefault: i,
|
|
339
|
+
reflect: e,
|
|
340
|
+
wrapped: h
|
|
341
|
+
}, r) {
|
|
342
|
+
i && !(this._$Ej ??= new Map()).has(t) && (this._$Ej.set(t, r ?? s ?? this[t]), true !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), true === e && this._$Em !== t && (this._$Eq ??= new Set()).add(t));
|
|
343
|
+
}
|
|
344
|
+
async _$EP() {
|
|
345
|
+
this.isUpdatePending = true;
|
|
346
|
+
try {
|
|
347
|
+
await this._$ES;
|
|
348
|
+
} catch (t) {
|
|
349
|
+
Promise.reject(t);
|
|
350
|
+
}
|
|
351
|
+
const t = this.scheduleUpdate();
|
|
352
|
+
return null != t && (await t), !this.isUpdatePending;
|
|
353
|
+
}
|
|
354
|
+
scheduleUpdate() {
|
|
355
|
+
return this.performUpdate();
|
|
356
|
+
}
|
|
357
|
+
performUpdate() {
|
|
358
|
+
if (!this.isUpdatePending) return;
|
|
359
|
+
if (!this.hasUpdated) {
|
|
360
|
+
if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
|
|
361
|
+
for (const [t, s] of this._$Ep) this[t] = s;
|
|
362
|
+
this._$Ep = void 0;
|
|
363
|
+
}
|
|
364
|
+
const t = this.constructor.elementProperties;
|
|
365
|
+
if (t.size > 0) for (const [s, i] of t) {
|
|
366
|
+
const {
|
|
367
|
+
wrapped: t
|
|
368
|
+
} = i,
|
|
369
|
+
e = this[s];
|
|
370
|
+
true !== t || this._$AL.has(s) || void 0 === e || this.C(s, void 0, i, e);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
let t = false;
|
|
374
|
+
const s = this._$AL;
|
|
375
|
+
try {
|
|
376
|
+
t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EM();
|
|
377
|
+
} catch (s) {
|
|
378
|
+
throw t = false, this._$EM(), s;
|
|
379
|
+
}
|
|
380
|
+
t && this._$AE(s);
|
|
381
|
+
}
|
|
382
|
+
willUpdate(t) {}
|
|
383
|
+
_$AE(t) {
|
|
384
|
+
this._$EO?.forEach(t => t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
|
385
|
+
}
|
|
386
|
+
_$EM() {
|
|
387
|
+
this._$AL = new Map(), this.isUpdatePending = false;
|
|
388
|
+
}
|
|
389
|
+
get updateComplete() {
|
|
390
|
+
return this.getUpdateComplete();
|
|
391
|
+
}
|
|
392
|
+
getUpdateComplete() {
|
|
393
|
+
return this._$ES;
|
|
394
|
+
}
|
|
395
|
+
shouldUpdate(t) {
|
|
396
|
+
return true;
|
|
397
|
+
}
|
|
398
|
+
update(t) {
|
|
399
|
+
this._$Eq &&= this._$Eq.forEach(t => this._$ET(t, this[t])), this._$EM();
|
|
400
|
+
}
|
|
401
|
+
updated(t) {}
|
|
402
|
+
firstUpdated(t) {}
|
|
403
|
+
}
|
|
404
|
+
y.elementStyles = [], y.shadowRootOptions = {
|
|
405
|
+
mode: "open"
|
|
406
|
+
}, y[d("elementProperties")] = new Map(), y[d("finalized")] = new Map(), p?.({
|
|
407
|
+
ReactiveElement: y
|
|
408
|
+
}), (a.reactiveElementVersions ??= []).push("2.1.1");
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* @license
|
|
412
|
+
* Copyright 2017 Google LLC
|
|
413
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
414
|
+
*/
|
|
415
|
+
const o = {
|
|
416
|
+
attribute: true,
|
|
417
|
+
type: String,
|
|
418
|
+
converter: u,
|
|
419
|
+
reflect: false,
|
|
420
|
+
hasChanged: f
|
|
421
|
+
},
|
|
422
|
+
r$1 = (t = o, e, r) => {
|
|
423
|
+
const {
|
|
424
|
+
kind: n,
|
|
425
|
+
metadata: i
|
|
426
|
+
} = r;
|
|
427
|
+
let s = globalThis.litPropertyMetadata.get(i);
|
|
428
|
+
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map()), "setter" === n && ((t = Object.create(t)).wrapped = true), s.set(r.name, t), "accessor" === n) {
|
|
429
|
+
const {
|
|
430
|
+
name: o
|
|
431
|
+
} = r;
|
|
432
|
+
return {
|
|
433
|
+
set(r) {
|
|
434
|
+
const n = e.get.call(this);
|
|
435
|
+
e.set.call(this, r), this.requestUpdate(o, n, t);
|
|
436
|
+
},
|
|
437
|
+
init(e) {
|
|
438
|
+
return void 0 !== e && this.C(o, void 0, t, e), e;
|
|
439
|
+
}
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
if ("setter" === n) {
|
|
443
|
+
const {
|
|
444
|
+
name: o
|
|
445
|
+
} = r;
|
|
446
|
+
return function (r) {
|
|
447
|
+
const n = this[o];
|
|
448
|
+
e.call(this, r), this.requestUpdate(o, n, t);
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
throw Error("Unsupported decorator location: " + n);
|
|
452
|
+
};
|
|
453
|
+
function n(t) {
|
|
454
|
+
return (e, o) => "object" == typeof o ? r$1(t, e, o) : ((t, e, o) => {
|
|
455
|
+
const r = e.hasOwnProperty(o);
|
|
456
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
457
|
+
})(t, e, o);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
* @license
|
|
462
|
+
* Copyright 2017 Google LLC
|
|
463
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
464
|
+
*/
|
|
465
|
+
function r(r) {
|
|
466
|
+
return n({
|
|
467
|
+
...r,
|
|
468
|
+
state: true,
|
|
469
|
+
attribute: false
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @license
|
|
475
|
+
* Copyright 2017 Google LLC
|
|
476
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
477
|
+
*/
|
|
478
|
+
const e$1 = (e, t, c) => (c.configurable = true, c.enumerable = true, Reflect.decorate && "object" != typeof t && Object.defineProperty(e, t, c), c);
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* @license
|
|
482
|
+
* Copyright 2017 Google LLC
|
|
483
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
484
|
+
*/
|
|
485
|
+
function e(e, r) {
|
|
486
|
+
return (n, s, i) => {
|
|
487
|
+
const o = t => t.renderRoot?.querySelector(e) ?? null;
|
|
488
|
+
return e$1(n, s, {
|
|
489
|
+
get() {
|
|
490
|
+
return o(this);
|
|
491
|
+
}
|
|
492
|
+
});
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Adapted from Angular Material Form Field
|
|
498
|
+
* Source: https://github.com/angular/components/blob/main/src/material/form-field/form-field.ts
|
|
499
|
+
*
|
|
500
|
+
* @license MIT
|
|
501
|
+
* Copyright (c) 2025 Google LLC
|
|
502
|
+
* See LICENSE file in the project root for full license text.
|
|
503
|
+
*/
|
|
504
|
+
var _M3eFormFieldElement_instances, _M3eFormFieldElement_control, _M3eFormFieldElement_removeValueInterceptor, _M3eFormFieldElement_formResetHandler, _M3eFormFieldElement_controlInvalidHandler, _M3eFormFieldElement_controlMutationController, _M3eFormFieldElement_resizeController, _M3eFormFieldElement_focusController, _M3eFormFieldElement_hintMutationController, _M3eFormFieldElement_errorMutationController, _M3eFormFieldElement_focused, _M3eFormFieldElement_hintText, _M3eFormFieldElement_errorText, _M3eFormFieldElement_shouldFloatLabel_get, _M3eFormFieldElement_stopPropagation, _M3eFormFieldElement_handleLabelSlotChange, _M3eFormFieldElement_handlePrefixSlotChange, _M3eFormFieldElement_handleSuffixSlotChange, _M3eFormFieldElement_handlePrefixResize, _M3eFormFieldElement_handleSlotChange, _M3eFormFieldElement_handleContainerClick, _M3eFormFieldElement_handleControlInvalid, _M3eFormFieldElement_handleControlChange, _M3eFormFieldElement_handleFormReset, _M3eFormFieldElement_changeControl, _M3eFormFieldElement_bindValueInterceptor, _M3eFormFieldElement_handleHintChange, _M3eFormFieldElement_handleErrorChange;
|
|
505
|
+
/**
|
|
506
|
+
* A container for form controls that applies Material Design styling and behavior.
|
|
507
|
+
*
|
|
508
|
+
* @description
|
|
509
|
+
* The `m3e-form-field` component is a semantic, expressive container for form controls that anchors
|
|
510
|
+
* label behavior, subscript messaging, and variant-specific layout. Designed according to Material Design 3
|
|
511
|
+
* guidelines, it supports two visual variants—`outlined` and `filled`—each with dynamic elevation,
|
|
512
|
+
* shape transitions, and adaptive color theming. The component responds to control state changes
|
|
513
|
+
* (focus, hover, press, disabled, invalid) with smooth motion and semantic clarity, ensuring
|
|
514
|
+
* visual hierarchy and emotional resonance.
|
|
515
|
+
|
|
516
|
+
* The component is accessible by default, with ARIA annotations, contrast-safe color tokens,
|
|
517
|
+
* and dynamic descriptions for hint and error messaging. It supports prefix and suffix content,
|
|
518
|
+
* floating labels, and adaptive subscript visibility. When hosting a control with validation,
|
|
519
|
+
* error messages are surfaced with `aria-invalid` and described for assistive technology.
|
|
520
|
+
|
|
521
|
+
* Native form controls may not expose full state or messaging on their own. `m3e-form-field` bridges
|
|
522
|
+
* these gaps by coordinating label floating, container styling, and subscript feedback.
|
|
523
|
+
*
|
|
524
|
+
* @example
|
|
525
|
+
* The following example illustrates a basic usage of the `m3e-form-field`.
|
|
526
|
+
* ```html
|
|
527
|
+
* <m3e-form-field>
|
|
528
|
+
* <label slot="label" for="field">Text field</label>
|
|
529
|
+
* <input id="field" />
|
|
530
|
+
* </m3e-form-field>
|
|
531
|
+
* ```
|
|
532
|
+
*
|
|
533
|
+
* @tag m3e-form-field
|
|
534
|
+
*
|
|
535
|
+
* @slot - Renders the control of the field.
|
|
536
|
+
* @slot prefix - Renders content before the fields's control.
|
|
537
|
+
* @slot prefix-text - Renders text before the fields's control.
|
|
538
|
+
* @slot suffix - Renders content after the fields's control.
|
|
539
|
+
* @slot suffix-text - Renders text after the fields's control.
|
|
540
|
+
* @slot hint - Renders hint text in the fields's subscript, when the control is valid.
|
|
541
|
+
* @slot error - Renders error text in the fields's subscript, when the control is invalid.
|
|
542
|
+
*
|
|
543
|
+
* @attr float-label - Specifies whether the label should float always or only when necessary.
|
|
544
|
+
* @attr hide-required-marker - Whether the required marker should be hidden.
|
|
545
|
+
* @attr hide-subscript - Whether subscript content is hidden.
|
|
546
|
+
* @attr variant - The appearance variant of the field.
|
|
547
|
+
*
|
|
548
|
+
* @cssprop --m3e-form-field-font-size - Font size for the form field container text.
|
|
549
|
+
* @cssprop --m3e-form-field-font-weight - Font weight for the form field container text.
|
|
550
|
+
* @cssprop --m3e-form-field-line-height - Line height for the form field container text.
|
|
551
|
+
* @cssprop --m3e-form-field-tracking - Letter spacing for the form field container text.
|
|
552
|
+
* @cssprop --m3e-form-field-label-font-size - Font size for the floating label.
|
|
553
|
+
* @cssprop --m3e-form-field-label-font-weight - Font weight for the floating label.
|
|
554
|
+
* @cssprop --m3e-form-field-label-line-height - Line height for the floating label.
|
|
555
|
+
* @cssprop --m3e-form-field-label-tracking - Letter spacing for the floating label.
|
|
556
|
+
* @cssprop --m3e-form-field-subscript-font-size - Font size for hint and error text.
|
|
557
|
+
* @cssprop --m3e-form-field-subscript-font-weight - Font weight for hint and error text.
|
|
558
|
+
* @cssprop --m3e-form-field-subscript-line-height - Line height for hint and error text.
|
|
559
|
+
* @cssprop --m3e-form-field-subscript-tracking - Letter spacing for hint and error text.
|
|
560
|
+
* @cssprop --m3e-form-field-color - Text color for the form field container.
|
|
561
|
+
* @cssprop --m3e-form-field-subscript-color - Color for hint and error text.
|
|
562
|
+
* @cssprop --m3e-form-field-invalid-color - Color used when the control is invalid.
|
|
563
|
+
* @cssprop --m3e-form-field-focused-outline-color - Outline color when focused.
|
|
564
|
+
* @cssprop --m3e-form-field-focused-color - Label color when focused.
|
|
565
|
+
* @cssprop --m3e-form-field-outline-color - Outline color in outlined variant.
|
|
566
|
+
* @cssprop --m3e-form-field-container-color - Background color in filled variant.
|
|
567
|
+
* @cssprop --m3e-form-field-hover-container-color - Hover background color in filled variant.
|
|
568
|
+
* @cssprop --m3e-form-field-width - Width of the form field container.
|
|
569
|
+
* @cssprop --m3e-form-field-icon-size - Size of prefix and suffix icons.
|
|
570
|
+
* @cssprop --m3e-outlined-form-field-container-shape - Corner radius for outlined container.
|
|
571
|
+
* @cssprop --m3e-form-field-container-shape - Corner radius for filled container.
|
|
572
|
+
* @cssprop --m3e-form-field-hover-container-opacity - Opacity for hover background in filled variant.
|
|
573
|
+
* @cssprop --m3e-form-field-disabled-opacity - Opacity for disabled text.
|
|
574
|
+
* @cssprop --m3e-form-field-disabled-container-opacity - Opacity for disabled container background.
|
|
575
|
+
*/
|
|
576
|
+
let M3eFormFieldElement = class M3eFormFieldElement extends AttachInternals(LitElement) {
|
|
577
|
+
constructor() {
|
|
578
|
+
super();
|
|
579
|
+
_M3eFormFieldElement_instances.add(this);
|
|
580
|
+
/** @private */
|
|
581
|
+
_M3eFormFieldElement_control.set(this, null);
|
|
582
|
+
/** @private */
|
|
583
|
+
_M3eFormFieldElement_removeValueInterceptor.set(this, void 0);
|
|
584
|
+
/** @private */
|
|
585
|
+
_M3eFormFieldElement_formResetHandler.set(this, () => __classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleFormReset).call(this));
|
|
586
|
+
/** @private */
|
|
587
|
+
_M3eFormFieldElement_controlInvalidHandler.set(this, () => __classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleControlInvalid).call(this));
|
|
588
|
+
/** @private */
|
|
589
|
+
_M3eFormFieldElement_controlMutationController.set(this, new MutationController(this, {
|
|
590
|
+
target: null,
|
|
591
|
+
config: {
|
|
592
|
+
attributeFilter: ["disabled", "readonly", "required"]
|
|
593
|
+
},
|
|
594
|
+
callback: () => this.notifyControlStateChange()
|
|
595
|
+
}));
|
|
596
|
+
/** @private */
|
|
597
|
+
_M3eFormFieldElement_resizeController.set(this, new ResizeController(this, {
|
|
598
|
+
target: null,
|
|
599
|
+
callback: () => __classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handlePrefixResize).call(this)
|
|
600
|
+
}));
|
|
601
|
+
/** @private */
|
|
602
|
+
_M3eFormFieldElement_focusController.set(this, new FocusController(this, {
|
|
603
|
+
target: null,
|
|
604
|
+
callback: focused => {
|
|
605
|
+
focused = focused && !(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.disabled ?? true);
|
|
606
|
+
this.classList.toggle("-no-animate", false);
|
|
607
|
+
__classPrivateFieldSet(this, _M3eFormFieldElement_focused, focused, "f");
|
|
608
|
+
if (focused) {
|
|
609
|
+
this.classList.toggle("-float-label", true);
|
|
610
|
+
} else {
|
|
611
|
+
this._invalid = !(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.checkValidity?.() ?? true);
|
|
612
|
+
this.notifyControlStateChange();
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}));
|
|
616
|
+
/** @private */
|
|
617
|
+
_M3eFormFieldElement_hintMutationController.set(this, new MutationController(this, {
|
|
618
|
+
target: null,
|
|
619
|
+
config: {
|
|
620
|
+
childList: true,
|
|
621
|
+
subtree: true
|
|
622
|
+
},
|
|
623
|
+
callback: () => __classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleHintChange).call(this)
|
|
624
|
+
}));
|
|
625
|
+
/** @private */
|
|
626
|
+
_M3eFormFieldElement_errorMutationController.set(this, new MutationController(this, {
|
|
627
|
+
target: null,
|
|
628
|
+
config: {
|
|
629
|
+
childList: true,
|
|
630
|
+
subtree: true
|
|
631
|
+
},
|
|
632
|
+
callback: () => __classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleErrorChange).call(this)
|
|
633
|
+
}));
|
|
634
|
+
/** @private */
|
|
635
|
+
_M3eFormFieldElement_focused.set(this, false);
|
|
636
|
+
/** @private */
|
|
637
|
+
this._pseudoLabel = "";
|
|
638
|
+
/** @private */
|
|
639
|
+
this._required = false;
|
|
640
|
+
/** @private */
|
|
641
|
+
this._invalid = false;
|
|
642
|
+
/** @private */
|
|
643
|
+
this._validationMessage = "";
|
|
644
|
+
/** @private */
|
|
645
|
+
_M3eFormFieldElement_hintText.set(this, "");
|
|
646
|
+
/** @private */
|
|
647
|
+
_M3eFormFieldElement_errorText.set(this, "");
|
|
648
|
+
/**
|
|
649
|
+
* The appearance variant of the field.
|
|
650
|
+
* @default "outlined"
|
|
651
|
+
*/
|
|
652
|
+
this.variant = "outlined";
|
|
653
|
+
/**
|
|
654
|
+
* Whether the required marker should be hidden.
|
|
655
|
+
* @default false
|
|
656
|
+
*/
|
|
657
|
+
this.hideRequiredMarker = false;
|
|
658
|
+
/**
|
|
659
|
+
* Whether subscript content is hidden.
|
|
660
|
+
* @default "auto"
|
|
661
|
+
*/
|
|
662
|
+
this.hideSubscript = "auto";
|
|
663
|
+
/**
|
|
664
|
+
* Specifies whether the label should float always or only when necessary.
|
|
665
|
+
* @default "auto"
|
|
666
|
+
*/
|
|
667
|
+
this.floatLabel = "auto";
|
|
668
|
+
new HoverController(this, {
|
|
669
|
+
callback: () => this.classList.toggle("-no-animate", false)
|
|
670
|
+
});
|
|
671
|
+
new PressedController(this, {
|
|
672
|
+
callback: pressed => this.classList.toggle("-pressed", pressed && !(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.disabled ?? true))
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
/** A reference to the element used to anchor dropdown menus. */
|
|
676
|
+
get menuAnchor() {
|
|
677
|
+
return this._base;
|
|
678
|
+
}
|
|
679
|
+
/** A reference to the hosted form field control. */
|
|
680
|
+
get control() {
|
|
681
|
+
return __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f");
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* Notifies the form field that the state of the hosted `control` has changed.
|
|
685
|
+
* @param {boolean} [checkValidity=false] Whether to check validity.
|
|
686
|
+
*/
|
|
687
|
+
notifyControlStateChange(checkValidity = false) {
|
|
688
|
+
this._required = __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.required === true;
|
|
689
|
+
this.classList.toggle("-required", this._required);
|
|
690
|
+
this.classList.toggle("-disabled", __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.disabled === true);
|
|
691
|
+
this.classList.toggle("-readonly", isReadOnlyMixin(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")) && __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").readOnly === true);
|
|
692
|
+
if (this.floatLabel === "auto") {
|
|
693
|
+
this.classList.toggle("-float-label", __classPrivateFieldGet(this, _M3eFormFieldElement_instances, "a", _M3eFormFieldElement_shouldFloatLabel_get) || __classPrivateFieldGet(this, _M3eFormFieldElement_focused, "f"));
|
|
694
|
+
}
|
|
695
|
+
if (checkValidity) {
|
|
696
|
+
this._invalid = !(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.checkValidity?.() ?? true);
|
|
697
|
+
}
|
|
698
|
+
this.classList.toggle("-invalid", this._invalid);
|
|
699
|
+
this._validationMessage = __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.validationMessage ?? "";
|
|
700
|
+
if (!this.isUpdatePending) {
|
|
701
|
+
this.performUpdate();
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
/** @inheritdoc */
|
|
705
|
+
connectedCallback() {
|
|
706
|
+
super.connectedCallback();
|
|
707
|
+
// Label animations are disabled on initial paint.
|
|
708
|
+
this.classList.toggle("-no-animate", true);
|
|
709
|
+
}
|
|
710
|
+
/** @inheritdoc */
|
|
711
|
+
disconnectedCallback() {
|
|
712
|
+
super.disconnectedCallback();
|
|
713
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_changeControl).call(this, null);
|
|
714
|
+
}
|
|
715
|
+
/** @private */
|
|
716
|
+
firstUpdated(_changedProperties) {
|
|
717
|
+
super.firstUpdated(_changedProperties);
|
|
718
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_focusController, "f").observe(this._base);
|
|
719
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_hintMutationController, "f").observe(this._hint);
|
|
720
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleHintChange).call(this);
|
|
721
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_errorMutationController, "f").observe(this._error);
|
|
722
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleErrorChange).call(this);
|
|
723
|
+
}
|
|
724
|
+
/** @inheritdoc */
|
|
725
|
+
update(changedProperties) {
|
|
726
|
+
super.update(changedProperties);
|
|
727
|
+
if (changedProperties.has("_invalid") && __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")) {
|
|
728
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").ariaInvalid = this._invalid ? "true" : null;
|
|
729
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f")) {
|
|
730
|
+
if (this._invalid) {
|
|
731
|
+
M3eAriaDescriber.describe(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f"));
|
|
732
|
+
} else {
|
|
733
|
+
M3eAriaDescriber.removeDescription(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f"));
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
/** @inheritdoc */
|
|
739
|
+
render() {
|
|
740
|
+
return html`<div class="base" @click="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleContainerClick)}">${this.variant === "outlined" ? html`<div class="outline" aria-hidden="true"><div class="outline-start"></div><div class="outline-notch"><div class="pseudo-label">${this._pseudoLabel} ${!this.hideRequiredMarker && this._required ? html` *` : nothing}</div></div><div class="outline-end"></div></div>` : nothing}<div class="prefix"><slot name="prefix" @slotchange="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handlePrefixSlotChange)}"></slot></div><div class="content"><span class="prefix-text"><slot name="prefix-text"></slot></span><span class="input"><slot @slotchange="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleSlotChange)}" @change="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleControlChange)}"></slot></span><span class="suffix-text"><slot name="suffix-text"></slot></span><span class="label"><slot name="label" @slotchange="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleLabelSlotChange)}"></slot>${!this.hideRequiredMarker && this._required ? html`<span class="required-marker" aria-hidden="true"> *</span>` : nothing}</span></div><div class="suffix" @click="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_stopPropagation)}" @focusin="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_stopPropagation)}" @focusout="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_stopPropagation)}" @pointerdown="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_stopPropagation)}" @keydown="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_stopPropagation)}" @keyup="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_stopPropagation)}"><slot name="suffix" @slotchange="${__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_handleSuffixSlotChange)}"></slot></div></div><span class="subscript" aria-hidden="true"><span class="error"><slot name="error">${this._validationMessage}</slot></span><span class="hint"><slot name="hint"></slot></span></span>`;
|
|
741
|
+
}
|
|
742
|
+
};
|
|
743
|
+
_M3eFormFieldElement_control = new WeakMap();
|
|
744
|
+
_M3eFormFieldElement_removeValueInterceptor = new WeakMap();
|
|
745
|
+
_M3eFormFieldElement_formResetHandler = new WeakMap();
|
|
746
|
+
_M3eFormFieldElement_controlInvalidHandler = new WeakMap();
|
|
747
|
+
_M3eFormFieldElement_controlMutationController = new WeakMap();
|
|
748
|
+
_M3eFormFieldElement_resizeController = new WeakMap();
|
|
749
|
+
_M3eFormFieldElement_focusController = new WeakMap();
|
|
750
|
+
_M3eFormFieldElement_hintMutationController = new WeakMap();
|
|
751
|
+
_M3eFormFieldElement_errorMutationController = new WeakMap();
|
|
752
|
+
_M3eFormFieldElement_focused = new WeakMap();
|
|
753
|
+
_M3eFormFieldElement_hintText = new WeakMap();
|
|
754
|
+
_M3eFormFieldElement_errorText = new WeakMap();
|
|
755
|
+
_M3eFormFieldElement_instances = new WeakSet();
|
|
756
|
+
_M3eFormFieldElement_shouldFloatLabel_get = function _M3eFormFieldElement_shouldFloatLabel_get() {
|
|
757
|
+
return __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.shouldLabelFloat !== undefined ? __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").shouldLabelFloat === true : typeof __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.value == "string" && __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").value.length > 0;
|
|
758
|
+
};
|
|
759
|
+
_M3eFormFieldElement_stopPropagation = function _M3eFormFieldElement_stopPropagation(e) {
|
|
760
|
+
e.stopImmediatePropagation();
|
|
761
|
+
e.stopPropagation();
|
|
762
|
+
};
|
|
763
|
+
_M3eFormFieldElement_handleLabelSlotChange = function _M3eFormFieldElement_handleLabelSlotChange(e) {
|
|
764
|
+
const assignedElements = e.target.assignedElements({
|
|
765
|
+
flatten: true
|
|
766
|
+
});
|
|
767
|
+
this.classList.toggle("-with-label", assignedElements.length > 0);
|
|
768
|
+
this._pseudoLabel = assignedElements[0]?.textContent ?? "";
|
|
769
|
+
};
|
|
770
|
+
_M3eFormFieldElement_handlePrefixSlotChange = function _M3eFormFieldElement_handlePrefixSlotChange(e) {
|
|
771
|
+
this.classList.toggle("-with-prefix", hasAssignedNodes(e.target));
|
|
772
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_resizeController, "f").observe(this._prefix);
|
|
773
|
+
};
|
|
774
|
+
_M3eFormFieldElement_handleSuffixSlotChange = function _M3eFormFieldElement_handleSuffixSlotChange(e) {
|
|
775
|
+
this.classList.toggle("-with-suffix", hasAssignedNodes(e.target));
|
|
776
|
+
};
|
|
777
|
+
_M3eFormFieldElement_handlePrefixResize = function _M3eFormFieldElement_handlePrefixResize() {
|
|
778
|
+
if (this.variant === "outlined") {
|
|
779
|
+
this._base.style.setProperty("--_prefix-width", `${this._prefix.clientWidth}px`);
|
|
780
|
+
}
|
|
781
|
+
};
|
|
782
|
+
_M3eFormFieldElement_handleSlotChange = function _M3eFormFieldElement_handleSlotChange(e) {
|
|
783
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_changeControl).call(this, findFormFieldControl(e.target));
|
|
784
|
+
};
|
|
785
|
+
_M3eFormFieldElement_handleContainerClick = function _M3eFormFieldElement_handleContainerClick(e) {
|
|
786
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f") && !__classPrivateFieldGet(this, _M3eFormFieldElement_focused, "f") && !__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").disabled) {
|
|
787
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").onContainerClick) {
|
|
788
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").onContainerClick(e);
|
|
789
|
+
} else {
|
|
790
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").focus();
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
_M3eFormFieldElement_handleControlInvalid = function _M3eFormFieldElement_handleControlInvalid() {
|
|
795
|
+
this._invalid = true;
|
|
796
|
+
this.notifyControlStateChange();
|
|
797
|
+
};
|
|
798
|
+
_M3eFormFieldElement_handleControlChange = function _M3eFormFieldElement_handleControlChange() {
|
|
799
|
+
this._invalid = !(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.checkValidity?.() ?? true);
|
|
800
|
+
this.notifyControlStateChange();
|
|
801
|
+
};
|
|
802
|
+
_M3eFormFieldElement_handleFormReset = function _M3eFormFieldElement_handleFormReset() {
|
|
803
|
+
this._invalid = false;
|
|
804
|
+
setTimeout(() => this.notifyControlStateChange());
|
|
805
|
+
};
|
|
806
|
+
_M3eFormFieldElement_changeControl = function _M3eFormFieldElement_changeControl(control) {
|
|
807
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f") === control) return;
|
|
808
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")) {
|
|
809
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f")) {
|
|
810
|
+
M3eAriaDescriber.removeDescription(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f"));
|
|
811
|
+
}
|
|
812
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f")) {
|
|
813
|
+
M3eAriaDescriber.removeDescription(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f"));
|
|
814
|
+
}
|
|
815
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_controlMutationController, "f").unobserve(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"));
|
|
816
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").removeEventListener("invalid", __classPrivateFieldGet(this, _M3eFormFieldElement_controlInvalidHandler, "f"));
|
|
817
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").form?.removeEventListener("reset", __classPrivateFieldGet(this, _M3eFormFieldElement_formResetHandler, "f"));
|
|
818
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_removeValueInterceptor, "f")?.call(this);
|
|
819
|
+
__classPrivateFieldSet(this, _M3eFormFieldElement_removeValueInterceptor, undefined, "f");
|
|
820
|
+
}
|
|
821
|
+
__classPrivateFieldSet(this, _M3eFormFieldElement_control, control, "f");
|
|
822
|
+
if (["INPUT", "TEXTAREA"].includes(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.tagName ?? "")) {
|
|
823
|
+
this._base.style.setProperty("--_form-field-cursor", "text");
|
|
824
|
+
} else {
|
|
825
|
+
this._base.style.removeProperty("--_form-field-cursor");
|
|
826
|
+
}
|
|
827
|
+
this.classList.toggle("-with-select", __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")?.tagName === "M3E-SELECT");
|
|
828
|
+
if (this.classList.contains("-with-select")) {
|
|
829
|
+
this._base.style.setProperty("--_form-field-cursor", "pointer");
|
|
830
|
+
}
|
|
831
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")) {
|
|
832
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_controlMutationController, "f").observe(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"));
|
|
833
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").addEventListener("invalid", __classPrivateFieldGet(this, _M3eFormFieldElement_controlInvalidHandler, "f"));
|
|
834
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").form?.addEventListener("reset", __classPrivateFieldGet(this, _M3eFormFieldElement_formResetHandler, "f"));
|
|
835
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").removeAttribute("aria-invalid");
|
|
836
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f")) {
|
|
837
|
+
M3eAriaDescriber.describe(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f"));
|
|
838
|
+
}
|
|
839
|
+
this.notifyControlStateChange();
|
|
840
|
+
const tagname = __classPrivateFieldGet(this, _M3eFormFieldElement_control, "f").tagName.toLowerCase();
|
|
841
|
+
if (tagname.startsWith("m3e-") && !customElements.get(tagname)) {
|
|
842
|
+
customElements.whenDefined(tagname).then(() => __classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_bindValueInterceptor).call(this));
|
|
843
|
+
} else {
|
|
844
|
+
__classPrivateFieldGet(this, _M3eFormFieldElement_instances, "m", _M3eFormFieldElement_bindValueInterceptor).call(this);
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
};
|
|
848
|
+
_M3eFormFieldElement_bindValueInterceptor = function _M3eFormFieldElement_bindValueInterceptor() {
|
|
849
|
+
if (!__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f")) return;
|
|
850
|
+
__classPrivateFieldSet(this, _M3eFormFieldElement_removeValueInterceptor, interceptProperty(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), "value", {
|
|
851
|
+
set: (value, setter) => {
|
|
852
|
+
setter(value);
|
|
853
|
+
this.notifyControlStateChange(true);
|
|
854
|
+
}
|
|
855
|
+
}), "f");
|
|
856
|
+
};
|
|
857
|
+
_M3eFormFieldElement_handleHintChange = function _M3eFormFieldElement_handleHintChange() {
|
|
858
|
+
const hintText = getTextContent(this._hint, true);
|
|
859
|
+
if (hintText === __classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f")) return;
|
|
860
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f") && __classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f")) {
|
|
861
|
+
M3eAriaDescriber.removeDescription(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f"));
|
|
862
|
+
}
|
|
863
|
+
__classPrivateFieldSet(this, _M3eFormFieldElement_hintText, hintText, "f");
|
|
864
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f") && __classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f")) {
|
|
865
|
+
M3eAriaDescriber.describe(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_hintText, "f"));
|
|
866
|
+
}
|
|
867
|
+
};
|
|
868
|
+
_M3eFormFieldElement_handleErrorChange = function _M3eFormFieldElement_handleErrorChange() {
|
|
869
|
+
const errorText = getTextContent(this._error, true);
|
|
870
|
+
if (errorText === __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f")) return;
|
|
871
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f") && __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f")) {
|
|
872
|
+
M3eAriaDescriber.removeDescription(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f"));
|
|
873
|
+
}
|
|
874
|
+
__classPrivateFieldSet(this, _M3eFormFieldElement_errorText, errorText, "f");
|
|
875
|
+
if (__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f") && __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f") && this._invalid) {
|
|
876
|
+
M3eAriaDescriber.describe(__classPrivateFieldGet(this, _M3eFormFieldElement_control, "f"), __classPrivateFieldGet(this, _M3eFormFieldElement_errorText, "f"));
|
|
877
|
+
}
|
|
878
|
+
};
|
|
879
|
+
(() => {
|
|
880
|
+
if (document) {
|
|
881
|
+
const lightDomStyle = new CSSStyleSheet();
|
|
882
|
+
lightDomStyle.replaceSync(css`m3e-form-field input::placeholder, m3e-form-field textarea::placeholder { user-select: none; color: currentColor; transition: opacity ${DesignToken.motion.duration.extraLong1}; } m3e-form-field[float-label="auto"]:not(.-float-label).-with-label input::placeholder, m3e-form-field[float-label="auto"]:not(.-float-label).-with-label textarea::placeholder { opacity: 0; transition: opacity 0s; } m3e-form-field[variant="outlined"] m3e-input-chip-set { margin-block: calc(calc(3.5rem + ${DesignToken.density.calc(-2)}) / 4); } @media (prefers-reduced-motion) { m3e-form-field input::placeholder, m3e-form-field textarea::placeholder { transition: none !important; } }`.toString());
|
|
883
|
+
document.adoptedStyleSheets = [...document.adoptedStyleSheets, lightDomStyle];
|
|
884
|
+
}
|
|
885
|
+
})();
|
|
886
|
+
/** The styles of the element. */
|
|
887
|
+
M3eFormFieldElement.styles = css`:host { display: inline-flex; flex-direction: column; vertical-align: middle; font-size: var(--m3e-form-field-font-size, ${DesignToken.typescale.standard.body.large.fontSize}); font-weight: var(--m3e-form-field-font-weight, ${DesignToken.typescale.standard.body.large.fontWeight}); line-height: var(--m3e-form-field-line-height, ${DesignToken.typescale.standard.body.large.lineHeight}); letter-spacing: var(--m3e-form-field-tracking, ${DesignToken.typescale.standard.body.large.tracking}); width: var(--m3e-form-field-width, 14.5rem); color: var(--_form-field-color); } :host(:not(.-disabled)) .base { cursor: var(--_form-field-cursor); } .base { display: flex; align-items: center; position: relative; min-height: calc(3.5rem + ${DesignToken.density.calc(-2)}); --_form-field-label-font-size: var( --m3e-form-field-label-font-size, ${DesignToken.typescale.standard.body.small.fontSize} ); --_form-field-label-line-height: var( --m3e-form-field-label-line-height, ${DesignToken.typescale.standard.body.small.lineHeight} ); } .content { display: flex; align-items: center; position: relative; flex: 1 1 auto; min-width: 0; min-height: var(--m3e-form-field-icon-size, 1.5rem); } .prefix, .suffix { display: flex; align-items: center; position: relative; user-select: none; flex: none; font-size: var(--m3e-form-field-icon-size, 1.5rem); } .prefix-text, .suffix-text { opacity: 1; transition: opacity ${DesignToken.motion.duration.extraLong1}; user-select: none; flex: none; } .input { display: inline-flex; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; } .label { display: flex; position: absolute; pointer-events: none; user-select: none; top: 0; left: 0; right: 0; font-size: var(--m3e-form-field-label-font-size, ${DesignToken.typescale.standard.body.small.fontSize}); font-weight: var(--m3e-form-field-label-font-weight, ${DesignToken.typescale.standard.body.small.fontWeight}); line-height: var(--m3e-form-field-label-line-height, ${DesignToken.typescale.standard.body.small.lineHeight}); letter-spacing: var(--m3e-form-field-label-tracking, ${DesignToken.typescale.standard.body.small.tracking}); color: var(--_form-field-label-color, inherit); transition: ${unsafeCSS(`top ${DesignToken.motion.duration.short4},
|
|
888
|
+
font-size ${DesignToken.motion.duration.short4},
|
|
889
|
+
line-height ${DesignToken.motion.duration.short4}`)}; } :host(.-with-select) .label { margin-inline-end: 1.5rem; } ::slotted([slot="label"]) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .subscript { display: inline-flex; width: 100%; margin-top: 0.25rem; font-size: var(--m3e-form-field-subscript-font-size, ${DesignToken.typescale.standard.body.small.fontSize}); font-weight: var(--m3e-form-field-subscript-font-weight, ${DesignToken.typescale.standard.body.small.fontWeight}); line-height: var(--m3e-form-field-subscript-line-height, ${DesignToken.typescale.standard.body.small.lineHeight}); letter-spacing: var(--m3e-form-field-subscript-tracking, ${DesignToken.typescale.standard.body.small.tracking}); min-height: var(--m3e-form-field-subscript-line-height, ${DesignToken.typescale.standard.body.small.lineHeight}); color: var(--m3e-form-field-subscript-color, ${DesignToken.color.onSurfaceVariant}); } .error, .hint { flex: 1 1 auto; } :host([hide-subscript="always"]) .subscript { display: none; } :host([hide-subscript="auto"]:not(.-invalid)) .subscript { opacity: 0; margin-top: 0px; margin-bottom: 0.25rem; transition: ${unsafeCSS(`opacity ${DesignToken.motion.duration.short4},
|
|
890
|
+
margin-top ${DesignToken.motion.duration.short4},
|
|
891
|
+
margin-bottom ${DesignToken.motion.duration.short4}`)}; } :host([hide-subscript="auto"]:not(.-invalid):focus-within) .subscript, :host([hide-subscript="auto"]:not(.-invalid).-pressed) .subscript { opacity: 1; margin-top: 0.25rem; margin-bottom: 0; } :host(.-invalid) .hint { display: none; } :host(:not(.-invalid)) .error { display: none; } ::slotted(input), ::slotted(textarea), ::slotted(select) { outline: unset; border: unset; background-color: transparent; box-shadow: none; font-family: inherit; font-size: inherit; line-height: initial; letter-spacing: inherit; color: var(--_form-field-input-color, inherit); flex: 1 1 auto; min-width: 0; padding: unset; } ::slotted(textarea) { scrollbar-width: ${DesignToken.scrollbar.thinWidth}; scrollbar-color: ${DesignToken.scrollbar.color}; } ::slotted(m3e-select), ::slotted(m3e-input-chip-set) { flex: 1 1 auto; min-width: 0; } :host([float-label="auto"]:not(.-float-label):not(.-pressed)) .label { font-size: inherit; } :host([float-label="auto"]:not(.-float-label).-with-label) .prefix-text, :host([float-label="auto"]:not(.-float-label).-with-label) .suffix-text { opacity: 0; transition: opacity 0s; } .prefix { margin-inline-start: 1rem; } :host(.-with-prefix) .prefix { margin-inline-end: 1rem; margin-inline-start: 0.75rem; } .suffix { margin-inline-end: 1rem; } :host(.-with-suffix) .suffix { margin-inline-start: 0.25rem; margin-inline-end: 0.5rem; } :host(.-with-suffix.-with-select) .suffix { margin-inline-start: unset; } :host(.-with-select) .suffix-text { display: none; } :host([variant="outlined"]) .label { margin-top: calc(0px - var(--_form-field-label-line-height) / 2); } :host([variant="outlined"]) .outline { position: absolute; display: flex; pointer-events: none; left: 0; top: 0; bottom: 0; right: 0; } :host([variant="outlined"]) .pseudo-label { visibility: hidden; margin-inline-end: 0.25rem; font-size: var(--_form-field-label-font-size); line-height: var(--_form-field-label-line-height); letter-spacing: var(--_form-field-label-tracking); max-width: 100%; transition-property: max-width, margin-inline-end; transition-duration: 1ms; } :host([variant="outlined"][float-label="auto"]:not(.-float-label):not(.-pressed)) .pseudo-label { max-width: 0; margin-inline-end: 0px; transition-delay: ${DesignToken.motion.duration.short2}; } :host([variant="outlined"]) .outline-start, :host([variant="outlined"]) .outline-notch, :host([variant="outlined"]) .outline-end { box-sizing: border-box; border-width: var(--_form-field-outline-size, 0.0625rem); border-color: var(--_form-field-outline-color); transition: border-color ${DesignToken.motion.duration.short4}; } :host([variant="outlined"]:not(.-with-label)) .outline-notch { display: none; } :host([variant="outlined"]) .outline-start { min-width: 0.75rem; border-top-style: solid; border-inline-start-style: solid; border-bottom-style: solid; border-start-start-radius: var(--m3e-outlined-form-field-container-shape, ${DesignToken.shape.corner.extraSmall}); border-end-start-radius: var(--m3e-outlined-form-field-container-shape, ${DesignToken.shape.corner.extraSmall}); } :host([variant="outlined"]) .outline-notch { border-bottom-style: solid; } :host([variant="outlined"]) .outline-end { flex-grow: 1; min-width: 1rem; border-top-style: solid; border-inline-end-style: solid; border-bottom-style: solid; border-start-end-radius: var(--m3e-outlined-form-field-container-shape, ${DesignToken.shape.corner.extraSmall}); border-end-end-radius: var(--m3e-outlined-form-field-container-shape, ${DesignToken.shape.corner.extraSmall}); } :host([variant="outlined"].-with-prefix) .outline-start { min-width: calc(1.25rem + var(--_prefix-width, 0px) + 0.25rem); } :host([variant="outlined"]:not(.-disabled)) .base:hover .outline, :host([variant="outlined"]:not(.-disabled):focus-within) .outline, :host([variant="outlined"]:not(.-disabled).-pressed) .outline { --_form-field-outline-size: 0.125rem; } :host([variant="outlined"]) .subscript { margin-inline: 1rem; width: calc(100% - 2rem); } :host([variant="outlined"]) .content { min-height: calc(3.5rem + ${DesignToken.density.calc(-2)}); --_form-field-label-font-size: var( --m3e-form-field-label-font-size, ${DesignToken.typescale.standard.body.small.fontSize} ); } :host([variant="outlined"][float-label="auto"]:not(.-float-label):not(.-pressed)) .label { margin-top: unset; line-height: calc(3.5rem + ${DesignToken.density.calc(-2)}); --_form-field-label-font-size: var( --m3e-form-field-label-font-size, ${DesignToken.typescale.standard.body.small.fontSize} ); } :host([variant="filled"]) .base { --_select-arrow-margin-top: calc( 0px - calc(1rem / max(calc(0 - calc(var(--md-sys-density-scale, 0) + var(--md-sys-density-scale, 0))), 1)) ); } :host([variant="filled"]) .base::before { content: ""; box-sizing: border-box; position: absolute; pointer-events: none; top: 0; left: 0; right: 0; bottom: 0; border-bottom-style: solid; border-width: 0.0625rem; border-radius: var(--m3e-form-field-container-shape, ${DesignToken.shape.corner.extraSmallTop}); border-color: var(--_form-field-outline-color); background-color: var(--_form-field-container-color); } :host([variant="filled"]:not(.-disabled)) .base:hover::before, :host([variant="filled"]:not(.-disabled):focus-within) .base::before, :host([variant="filled"]:not(.-disabled).-pressed) .base::before { border-width: 0.1875rem; } :host([variant="filled"]) .base::after { content: ""; box-sizing: border-box; position: absolute; pointer-events: none; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--_form-field-hover-container-color); transition: background-color ${DesignToken.motion.duration.short4}; } :host([variant="filled"]) .subscript { margin-inline: 1rem; width: calc(100% - 2rem); } :host([variant="filled"]) .content { padding-top: calc(1.5rem + ${DesignToken.density.calc(-2)}); margin-bottom: 0.5rem; } :host([variant="filled"]) .label { top: calc(0.5rem + ${DesignToken.density.calc(-2)}); } :host([variant="filled"][float-label="auto"]:not(.-float-label):not(.-pressed)) .label { top: 0px; line-height: calc(3.5rem + ${DesignToken.density.calc(-2)} - 0.0625rem); --_form-field-label-font-size: var( --m3e-form-field-label-font-size, ${DesignToken.typescale.standard.body.small.fontSize} ); } :host(:not(.-disabled):not(:focus-within):not(.-pressed)) .base:hover { --_form-field-hover-container-color: color-mix( in srgb, var(--m3e-form-field-hover-container-color, ${DesignToken.color.onSurface}) var(--m3e-form-field-hover-container-opacity, 8%), transparent ); } :host(:not(.-disabled):not(.-invalid)) { color: var(--m3e-form-field-color, ${DesignToken.color.onSurface}); } :host([variant="outlined"]:not(.-disabled):not(.-invalid)) .base { --_form-field-outline-color: var(--m3e-form-field-outline-color, ${DesignToken.color.outline}); } :host([variant="filled"]:not(.-disabled):not(.-invalid)) .base { --_form-field-outline-color: var(--m3e-form-field-outline-color, ${DesignToken.color.onSurfaceVariant}); } :host([variant="outlined"]:not(.-disabled):not(.-invalid):focus-within) .base, :host([variant="outlined"]:not(.-disabled):not(.-invalid).-pressed) .base, :host([variant="filled"]:not(.-disabled):not(.-invalid):focus-within) .base, :host([variant="filled"]:not(.-disabled):not(.-invalid).-pressed) .base { --_form-field-outline-color: var(--m3e-form-field-focused-outline-color, ${DesignToken.color.primary}); --_form-field-label-color: var(--m3e-form-field-focused-color, ${DesignToken.color.primary}); } :host(:not(.-disabled)) .base { --_form-field-container-color: var( --m3e-form-field-container-color, ${DesignToken.color.surfaceContainerHighest} ); } :host(:not(.-disabled).-invalid) .base { --_form-field-label-color: var(--m3e-form-field-invalid-color, ${DesignToken.color.error}); --_form-field-outline-color: var(--m3e-form-field-invalid-color, ${DesignToken.color.error}); } :host(:not(.-disabled).-invalid) .subscript { color: var(--m3e-form-field-invalid-color, ${DesignToken.color.error}); } :host(.-disabled) { color: color-mix( in srgb, var(--m3e-form-field-disabled-color, ${DesignToken.color.onSurface}) var(--m3e-form-field-disabled-opacity, 38%), transparent ); } :host(.-disabled) .base { --_form-field-container-color: color-mix( in srgb, var(--m3e-form-field-disabled-container-color, ${DesignToken.color.onSurface}) var(--m3e-form-field-disabled-container-opacity, 4%), transparent ); } :host(.-no-animate) *, :host(.-no-animate) *::before, :host(.-no-animate) *::after { transition: none !important; } @media (forced-colors: active) { :host([variant="filled"]) .base::after { transition: none; } :host { --_form-field-outline-color: CanvasText; } :host(.-disabled) { --_form-field-input-color: GrayText; --_form-field-color: GrayText; --_form-field-label-color: GrayText; --_form-field-outline-color: GrayText; } } @media (prefers-reduced-motion) { .base::before, .prefix-text, .suffix-text, .label, .subscript, .outline-start, .outline-notch, .outline-end, .pseudo-label { transition: none !important; } }`;
|
|
892
|
+
__decorate([e(".base")], M3eFormFieldElement.prototype, "_base", void 0);
|
|
893
|
+
__decorate([e(".prefix")], M3eFormFieldElement.prototype, "_prefix", void 0);
|
|
894
|
+
__decorate([e(".error")], M3eFormFieldElement.prototype, "_error", void 0);
|
|
895
|
+
__decorate([e(".hint")], M3eFormFieldElement.prototype, "_hint", void 0);
|
|
896
|
+
__decorate([r()], M3eFormFieldElement.prototype, "_pseudoLabel", void 0);
|
|
897
|
+
__decorate([r()], M3eFormFieldElement.prototype, "_required", void 0);
|
|
898
|
+
__decorate([r()], M3eFormFieldElement.prototype, "_invalid", void 0);
|
|
899
|
+
__decorate([r()], M3eFormFieldElement.prototype, "_validationMessage", void 0);
|
|
900
|
+
__decorate([n({
|
|
901
|
+
reflect: true
|
|
902
|
+
})], M3eFormFieldElement.prototype, "variant", void 0);
|
|
903
|
+
__decorate([n({
|
|
904
|
+
attribute: "hide-required-marker",
|
|
905
|
+
type: Boolean,
|
|
906
|
+
reflect: true
|
|
907
|
+
})], M3eFormFieldElement.prototype, "hideRequiredMarker", void 0);
|
|
908
|
+
__decorate([n({
|
|
909
|
+
attribute: "hide-subscript",
|
|
910
|
+
reflect: true
|
|
911
|
+
})], M3eFormFieldElement.prototype, "hideSubscript", void 0);
|
|
912
|
+
__decorate([n({
|
|
913
|
+
attribute: "float-label",
|
|
914
|
+
reflect: true
|
|
915
|
+
})], M3eFormFieldElement.prototype, "floatLabel", void 0);
|
|
916
|
+
M3eFormFieldElement = __decorate([t$1("m3e-form-field")], M3eFormFieldElement);
|
|
917
|
+
|
|
918
|
+
export { M3eFormFieldElement, findFormFieldControl, isFormFieldControl };
|
|
919
|
+
//# sourceMappingURL=form-field.js.map
|