import _Object$defineProperty from 'babel-runtime/core-js/object/define-property'; import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; /* Copyright 2013-2015 ASIAL CORPORATION Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ import onsElements from '../ons/elements'; import util from '../ons/util'; import autoStyle from '../ons/autostyle'; import ModifierUtil from '../ons/internal/modifier-util'; import BaseElement from './base/base-element'; import contentReady from '../ons/content-ready'; var scheme = { '': 'select-* select--*', '.select-input': 'select-input--*' }; var defaultClassName = 'select'; var INPUT_ATTRIBUTES = ['autofocus', 'disabled', 'form', 'multiple', 'name', 'required', 'size']; /** * @element ons-select * @category form * @modifier material * [en]Displays a Material Design select input.[/en] * [ja][/ja] * @modifier underbar * [en]Displays a horizontal line underneath a select input.[/en] * [ja][/ja] * @description * [en] * Select component. If you want to place a select with an ID of `my-id` on a page, use ``. * * The component will automatically display as a Material Design select on Android. * * Most attributes that can be used for a normal `