import BsAlert from './Alert'; export default { mixins: [ BsAlert ], props: { placeholder: String, default: String }, data: () => ({ value: '', result: false }), created() { if (this.default) this.value = this.default; }, popup(msg, options) { if (typeof options === 'string') options = { default: options }; return BsAlert.popup.bind(this)(msg, options); }, template: ` ` }