(("undefined"!==typeof self?self:this)["webpackJsonpfe_bootstrap_vue"]=("undefined"!==typeof self?self:this)["webpackJsonpfe_bootstrap_vue"]||[]).push([[17],{aa6e:function(e,r,t){"use strict";t.r(r);var o=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",[t("FeForm",{ref:"formSetting",attrs:{form:e.form},on:{submit:e.onSubmit,reset:e.onReset,scroll:e.onScroll}},[e._l(e.formSetting,(function(r,o){return t("FeFormItemSetting",e._b({key:r.prop||"setting-"+o,model:{value:e.form[r.prop],callback:function(t){e.$set(e.form,r.prop,t)},expression:"form[setting.prop]"}},"FeFormItemSetting",r,!1))})),t("FeButton",{attrs:{type:"submit",variant:"primary"}},[e._v("Submit")]),t("FeButton",{attrs:{type:"reset",variant:"danger"}},[e._v("Reset")]),t("FeButton",{attrs:{variant:"primary"},on:{click:e.setData}},[e._v("Set Data")])],2)],1)},s=[],a={name:"DemoFormItemSetting",data:function(){return{form:{input:"",number:0,email:"",password:"",search:"",url:"",tel:"",date:"",time:"",range:"",color:"",textarea:"",radio:"",upload:null,uploadFile:[],uploadImgs:[],datepicker:"",spinButton:0,timepicker:"",rating:0,select:null,tags:[],checked:[],switch:!1,switchCus:!1},formSetting:[{label:"input",prop:"input",item:"FeInput",rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Number",prop:"number",item:"FeInput",formProps:{type:"number"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Password",prop:"password",item:"FeInput",formProps:{type:"password",autocomplete:"current-password"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Email",prop:"email",item:"FeInput",formProps:{type:"email"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Search",prop:"search",item:"FeInput",formProps:{type:"search"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput URL",prop:"url",item:"FeInput",formProps:{type:"url"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Tel",prop:"tel",item:"FeInput",formProps:{type:"tel"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Date",prop:"date",item:"FeInput",formProps:{type:"date"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Time",prop:"time",item:"FeInput",formProps:{type:"time"},rules:[{required:!0,message:"不準為空"}]},{label:"FeInput Range",prop:"range",item:"FeInput",formProps:{type:"range"},rules:[{required:!0,message:"不準為空"}]},{label:"Textarea",prop:"textarea",item:"FeTextarea",rules:[{required:!0,message:"不準為空"}]},{label:"Radio",prop:"radio",item:"FeRadio",rules:[{required:!0,message:"不準為空"}],formProps:{options:[{text:"First radio",value:"first"},{text:"Second radio",value:"second"},{text:"Third radio",value:"third"}]}},{label:"Upload",prop:"upload",item:"FeUpload",rules:[{required:!0,message:"不準為空"}]},{label:"CusUpload",prop:"uploadFile",item:"FeCusUpload",rules:[{required:!0,message:"不準為空"}]},{label:"CusUpload { type: imgs }",prop:"uploadImgs",item:"FeCusUpload",formProps:{type:"imgs"},formEvents:{remove:function(e){console.log("%cdemo-form-setting.vue line:171 index","color: #007acc;",e)}},rules:[{required:!0,message:"不準為空"}]},{label:"Datepicker",prop:"datepicker",item:"FeDatepicker",rules:[{required:!0,message:"不準為空"}]},{label:"Timepicker",prop:"timepicker",item:"FeTimepicker",rules:[{required:!0,message:"不準為空"}]},{label:"SpinButton",prop:"spinButton",item:"FeSpinButton",rules:[{required:!0,message:"不準為空"}]},{label:"Tags",prop:"tags",item:"FeTags",rules:[{required:!0,message:"不準為空"}]},{label:"Rating",prop:"rating",item:"FeRating",rules:[{required:!0,message:"不準為空"}]},{label:"CheckBoxGroup",prop:"checked",item:"FeCheckBoxGroup",formProps:{options:[{text:"Orange",value:"orange"},{text:"Apple",value:"apple"},{text:"Pineapple",value:"pineapple"},{text:"Grape",value:"grape"}]},rules:[{required:!0,message:"不準為空"}]},{label:"Switch",prop:"switch",item:"FeSwitch",rules:[{required:!0,message:"不準為空"}]},{label:"CusSwitch",prop:"switchCus",item:"FeCusSwitch",rules:[{required:!0,message:"不準為空"}]}]}},mounted:function(){},methods:{onSubmit:function(e){e&&(alert("is submited"),console.log("%cdemo-form-setting.vue line:244 object","color: #007acc;",e))},onReset:function(){this.$refs.formSetting.resetFields()},onScroll:function(e){window.scrollTo({top:e,behavior:"smooth"})},setData:function(){this.form={input:"1",number:2,email:"123@gmail.com",password:"4",search:"5",url:"https://google.com",tel:"7",date:"2021-04-19",time:"19:50",range:"10",color:"11",textarea:"12",radio:"first",upload:null,uploadFile:[],uploadImgs:[],datepicker:"2021-04-14",spinButton:3,timepicker:"23:59:00",rating:4,select:null,tags:["apple","orange"],checked:["orange"],switch:!0,switchCus:!0}}}},p=a,i=t("2877"),l=Object(i["a"])(p,o,s,!1,null,null,null);r["default"]=l.exports}}]);
//# sourceMappingURL=fe-bootstrap-vue.umd.min.17.js.map