├── static └── .gitkeep ├── .eslintignore ├── config ├── prod.env.js ├── test.env.js ├── dev.env.js └── index.js ├── src ├── assets │ └── logo.png ├── components │ └── Toast │ │ ├── template.html │ │ ├── index.css │ │ ├── package.json │ │ └── index.js ├── main.js └── App.vue ├── .babelrc ├── .gitignore ├── .editorconfig ├── index.html ├── docs ├── index.html └── static │ ├── js │ ├── manifest.1992ad6907126b49e557.js │ ├── app.2afdeb63cc73edf761aa.js │ ├── manifest.1992ad6907126b49e557.js.map │ ├── app.2afdeb63cc73edf761aa.js.map │ └── vendor.f36392182cdef8a7a738.js │ └── css │ ├── app.48da4dae6e4c815ccf59bdc0356cdc48.css │ └── app.48da4dae6e4c815ccf59bdc0356cdc48.css.map ├── LICENSE ├── package.json └── README.md /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | build/*.js 2 | config/*.js 3 | -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | NODE_ENV: '"production"' 3 | } 4 | -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frehaiku/vue-toast/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"], 3 | "plugins": ["transform-runtime"], 4 | "comments": false 5 | } 6 | -------------------------------------------------------------------------------- /src/components/Toast/template.html: -------------------------------------------------------------------------------- 1 |
4 | {{message}} 5 |
6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | dist/ 4 | .idea/ 5 | npm-debug.log 6 | selenium-debug.log 7 | test/unit/coverage 8 | test/e2e/reports 9 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App' 3 | 4 | /* eslint-disable no-new */ 5 | new Vue({ 6 | el: 'body', 7 | components: { App } 8 | }) 9 | -------------------------------------------------------------------------------- /config/test.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var devEnv = require('./dev.env') 3 | 4 | module.exports = merge(devEnv, { 5 | NODE_ENV: '"testing"' 6 | }) 7 | -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- 1 | var merge = require('webpack-merge') 2 | var prodEnv = require('./prod.env') 3 | 4 | module.exports = merge(prodEnv, { 5 | NODE_ENV: '"development"' 6 | }) 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | vue-cushy-toast 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/components/Toast/index.css: -------------------------------------------------------------------------------- 1 | #toast-container { 2 | position: fixed; 3 | z-index: 9999; 4 | background-color: rgba(0, 0, 0, 0.5); 5 | padding: 10px; 6 | -webkit-transition: all .3s ease-out; 7 | transition: all .3s ease-out; 8 | color: #fff; 9 | font-size: 17px; 10 | border-radius: 5px; 11 | font-family: 'Microsoft YaHei'; 12 | } 13 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | vue-cushy-toast -------------------------------------------------------------------------------- /docs/static/js/manifest.1992ad6907126b49e557.js: -------------------------------------------------------------------------------- 1 | !function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={exports:{},id:a,loaded:!1};return e[a].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a=window.webpackJsonp;window.webpackJsonp=function(c,o){for(var p,s,l=0,i=[];l A Vue component for showing friendly operation tip to user. 4 | [vue2+ version is working](https://github.com/frehaiku/vue-toast/tree/vue2) 5 | 6 | ## Install 7 | 8 | Using `npm` to install `vue-cushy-toast` 9 | 10 | ```bash 11 | npm install vue-cushy-toast 12 | ``` 13 | 14 | ## Usage 15 | 16 | In your `.vue` file 17 | 18 | ```html 19 | 22 | 23 | 36 | ``` 37 | 38 | ## Params 39 | 40 | | param | type | description | default | optional | required 41 | | --- | --- | --- | --- | --- | --- 42 | | message | String | toast content | '' | \w | No 43 | | position | String | toast location | 'bottom middle' | 'bottom middle', 'top middle' | No 44 | | sustain | Number | toast sustain time (ms) | 2000 | \d | No 45 | | animate | String | toast show animation | scale | 'opacity', 'scale' | No 46 | | options | Object | callback with toast | {} | Object | No 47 | 48 | the `options` params contains two key-value 49 | 50 | | param | type | description 51 | | --- | --- | --- 52 | | onHide | Function | before show callback 53 | | onShow | Function | after show callback 54 | 55 | ## Methods 56 | 57 | - showMessage(String msg); manually set toast's content 58 | 59 | ## Lisence 60 | 61 | MIT 62 | -------------------------------------------------------------------------------- /docs/static/css/app.48da4dae6e4c815ccf59bdc0356cdc48.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///webpack:///src/App.vue","webpack:///webpack:///src/components/Toast/index.css"],"names":[],"mappings":"AAuDA,UAHE,WAAa,CAed,KAXC,oBACA,oBACA,aACA,yBACI,sBACI,mBACR,wBACI,qBACI,uBAER,qCAA2C,CAG7C,KACE,WACA,gBACA,iDACA,iBAAmB,CAGrB,QACE,cAAgB,CAGlB,OACE,cAAgB,CAElB,OACE,eACA,WACA,yBAA2B,CAG7B,OACE,YACA,YACA,WACA,mBACA,eACA,aACA,YACA,YACA,iBAAmB,CAGrB,cACE,wBAA0B,CCtG5B,iBACE,eACA,aACA,gCACA,aACA,oCACA,4BACA,WACA,eACA,kBACA,2BAA+B","file":"static/css/app.48da4dae6e4c815ccf59bdc0356cdc48.css","sourcesContent":["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nhtml {\n height: 100%;\n}\n\nbody {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n height: 100%;\n background-color: rgba(66, 185, 131, 0.74);\n}\n\n#app {\n color: #fff;\n max-width: 600px;\n font-family: Source Sans Pro, Helvetica, sans-serif;\n text-align: center;\n}\n\n#app h1 {\n font-size: 40px;\n}\n\n#app p{\n font-size: 20px;\n}\n#app a {\n font-size: 18px;\n color: #fff;\n text-decoration: underline;\n}\n\nbutton {\n width: 100px;\n height: 50px;\n color: #ffffff;\n background: #8991dc;\n font-size: 17px;\n outline: none;\n border: none;\n padding: 5px;\n border-radius: 5px;\n}\n\nbutton:active {\n background-color: #7c82bd;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/App.vue","#toast-container {\n position: fixed;\n z-index: 9999;\n background-color: rgba(0, 0, 0, 0.5);\n padding: 10px;\n -webkit-transition: all .3s ease-out;\n transition: all .3s ease-out;\n color: #fff;\n font-size: 17px;\n border-radius: 5px;\n font-family: 'Microsoft YaHei';\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/Toast/index.css"],"sourceRoot":""} -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 31 | 32 | 50 | 51 | 100 | -------------------------------------------------------------------------------- /docs/static/js/app.2afdeb63cc73edf761aa.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([2,0],{0:function(t,e,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var n=o(12),i=s(n),a=o(45),r=s(a);new i.default({el:"body",components:{App:r.default}})},10:function(t,e){},11:function(t,e){},13:function(t,e){t.exports='

Vue-Toast

A Vue component show tip to user(just like Android system\'s toast).

It will automatically disappear in some seconds :)

Fork me on Github!

'},14:function(t,e){t.exports="
{{message}}
"},43:function(t,e,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var n=o(42),i=s(n);o(11);var a=o(14),r=s(a),u={onHide:function(){},onShow:function(){}},l={scale:{common:{},before:{transform:"scale(0)"},after:{transform:"scale(1)"}},opacity:{common:{},before:{display:"none",opacity:0},after:{display:"block",opacity:1}}},c={"bottom middle":{bottom:"10%",left:"50%",transform:"translateX(-50%)"},"top middle":{top:"10%",left:"50%",transform:"translateX(-50%)"}};e.default={template:r.default,props:{message:{type:String,twoWay:!0},position:{type:String,default:"bottom middle"},sustain:{type:Number,default:2e3},animate:{type:String,default:"scale"},options:{type:Object,coerce:function(t){return(0,i.default)({},u,t)}}},computed:{toaststyle:function(){return(0,i.default)({},this.styleHandler(this.show))}},data:function(){return{show:!1}},methods:{styleHandler:function(t){function e(t,e,o){for(var s in o[t]){var n=o[t][s],i=o[e],a=i[s];"transform"===s&&s in i?(console.log(a+" "+n),o[e][s]=(a+" "+n).replace(/\b([^\s]+)\s+\1/,"$1"),console.log(o[e][s])):o[e][s]=n}}var o=this.position,s=this.animate,n=l[s];n.common=c[o];var i=t?"after":"before";return e("common",i,n),n[i]},showMessage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.options.onShow(),t?this.message=t:null,this.show=!0,this._disappear()},_disappear:function(){var t=this;this._clearTime();var e=document.defaultView.getComputedStyle(this.$el,null).getPropertyValue("transition-duration");this.timeRemain=setTimeout(function(){t.options.onHide(),t.show=!1},this.sustain+1e3*parseFloat(e))},_clearTime:function(){this.timeRemain&&clearTimeout(this.timeRemain)}},detached:function(){this._clearTime()}}},44:function(t,e,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var n=o(43),i=s(n);e.default={components:{VueToast:i.default},methods:{showBelow:function(){this.$refs.tbelow.showMessage()},showAbove:function(){this.$refs.tabove.showMessage()}}}},45:function(t,e,o){var s,n,i={};o(10),s=o(44),n=o(13),t.exports=s||{},t.exports.__esModule&&(t.exports=t.exports.default);var a="function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports;n&&(a.template=n),a.computed||(a.computed={}),Object.keys(i).forEach(function(t){var e=i[t];a.computed[t]=function(){return e}})}}); 2 | //# sourceMappingURL=app.2afdeb63cc73edf761aa.js.map -------------------------------------------------------------------------------- /src/components/Toast/index.js: -------------------------------------------------------------------------------- 1 | import './index.css' 2 | import template from './template.html' 3 | 4 | let defaultOpt = { 5 | onHide: function () { 6 | }, 7 | onShow: function () { 8 | } 9 | } 10 | 11 | let entireShift = { 12 | scale: { 13 | common: {}, 14 | before: { 15 | transform: 'scale(0)' 16 | }, 17 | after: { 18 | transform: 'scale(1)' 19 | } 20 | }, 21 | 22 | opacity: { 23 | common: {}, 24 | before: { 25 | display: 'none', 26 | opacity: 0 27 | }, 28 | after: { 29 | display: 'block', 30 | opacity: 1 31 | } 32 | } 33 | } 34 | 35 | const posShift = { 36 | 'bottom middle': { 37 | bottom: '10%', 38 | left: '50%', 39 | transform: 'translateX(-50%)' 40 | }, 41 | 42 | 'top middle': { 43 | top: '10%', 44 | left: '50%', 45 | transform: 'translateX(-50%)' 46 | }, 47 | } 48 | 49 | export default { 50 | template: template, 51 | props: { 52 | 53 | /** 54 | * toast content 55 | */ 56 | message: { 57 | type: String, 58 | twoWay: true 59 | }, 60 | 61 | /** 62 | * 'bottom middle'|'top middle' 63 | */ 64 | position: { 65 | type: String, 66 | default: 'bottom middle' 67 | }, 68 | 69 | /** 70 | * disappear time 71 | */ 72 | sustain: { 73 | type: Number, 74 | default: 2000 75 | }, 76 | 77 | /** 78 | * 'opacity' | 'scale' 79 | */ 80 | animate: { 81 | type: String, 82 | default: 'scale' 83 | }, 84 | 85 | options: { 86 | type: Object, 87 | coerce (val) { 88 | return Object.assign({}, defaultOpt, val) 89 | } 90 | } 91 | }, 92 | /** 93 | * Toast inline style 94 | */ 95 | computed: { 96 | toaststyle () { 97 | return Object.assign({}, this.styleHandler(this.show)) 98 | } 99 | }, 100 | 101 | data () { 102 | return { 103 | show: false 104 | } 105 | }, 106 | 107 | methods: { 108 | styleHandler (isShow) { 109 | const posConf = this.position, 110 | animateConf = this.animate 111 | 112 | let config = entireShift[animateConf] 113 | config.common = posShift[posConf] 114 | 115 | function _concatAttr(needAttr, goalAttr, obj) { 116 | 117 | for (var need in obj[needAttr]) { 118 | const nonceNeed = obj[needAttr][need] 119 | const goal = obj[goalAttr] 120 | const nonceGoal = goal[need] 121 | if (need === 'transform' && 122 | need in goal) { 123 | console.log(`${nonceGoal} ${nonceNeed}`) 124 | // remove extra same property 125 | obj[goalAttr][need] = `${nonceGoal} ${nonceNeed}`.replace(/\b([^\s]+)\s+\1/, '$1') 126 | console.log(obj[goalAttr][need]) 127 | 128 | } else { 129 | obj[goalAttr][need] = nonceNeed 130 | } 131 | } 132 | } 133 | 134 | const goalAttr = isShow ? 'after' : 'before' 135 | _concatAttr( 136 | 'common', 137 | goalAttr, 138 | config 139 | ) 140 | 141 | return config[goalAttr] 142 | }, 143 | showMessage (txt = '') { 144 | this.options.onShow() 145 | 146 | txt ? (this.message = txt) : null 147 | this.show = true 148 | this._disappear() 149 | }, 150 | 151 | _disappear () { 152 | this._clearTime() 153 | // Plus the transtion's duration to extend the disappearance of the time 154 | let duration = document.defaultView.getComputedStyle(this.$el, null) 155 | .getPropertyValue('transition-duration') 156 | 157 | this.timeRemain = setTimeout(() => { 158 | this.options.onHide() 159 | 160 | this.show = false 161 | }, this.sustain + parseFloat(duration) * 1000) 162 | }, 163 | 164 | _clearTime () { 165 | if (this.timeRemain) { 166 | clearTimeout(this.timeRemain) 167 | } 168 | } 169 | }, 170 | 171 | detached () { 172 | this._clearTime() 173 | } 174 | } 175 | -------------------------------------------------------------------------------- /docs/static/js/manifest.1992ad6907126b49e557.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///static/js/manifest.1992ad6907126b49e557.js","webpack:///webpack/bootstrap d5bcd549d052c67d79c6"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","parentJsonpFunction","window","chunkIds","moreModules","chunkId","i","callbacks","length","installedChunks","push","apply","shift","0","e","callback","undefined","head","document","getElementsByTagName","script","createElement","type","charset","async","src","p","1","2","appendChild","m","c"],"mappings":"CAAS,SAAUA,GCmCnB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAtDA,GAAAK,GAAAC,OAAA,YACAA,QAAA,sBAAAC,EAAAC,GAIA,IADA,GAAAV,GAAAW,EAAAC,EAAA,EAAAC,KACQD,EAAAH,EAAAK,OAAoBF,IAC5BD,EAAAF,EAAAG,GACAG,EAAAJ,IACAE,EAAAG,KAAAC,MAAAJ,EAAAE,EAAAJ,IACAI,EAAAJ,GAAA,CAEA,KAAAX,IAAAU,GACAZ,EAAAE,GAAAU,EAAAV,EAGA,KADAO,KAAAE,EAAAC,GACAG,EAAAC,QACAD,EAAAK,QAAAZ,KAAA,KAAAP,EACA,IAAAW,EAAA,GAEA,MADAT,GAAA,KACAF,EAAA,GAKA,IAAAE,MAKAc,GACAI,EAAA,EA6BApB,GAAAqB,EAAA,SAAAT,EAAAU,GAEA,OAAAN,EAAAJ,GACA,MAAAU,GAAAf,KAAA,KAAAP,EAGA,IAAAuB,SAAAP,EAAAJ,GACAI,EAAAJ,GAAAK,KAAAK,OACI,CAEJN,EAAAJ,IAAAU,EACA,IAAAE,GAAAC,SAAAC,qBAAA,WACAC,EAAAF,SAAAG,cAAA,SACAD,GAAAE,KAAA,kBACAF,EAAAG,QAAA,QACAH,EAAAI,OAAA,EAEAJ,EAAAK,IAAAhC,EAAAiC,EAAA,aAAArB,EAAA,KAAyEsB,EAAA,uBAAAC,EAAA,wBAAsDvB,GAAA,MAC/HY,EAAAY,YAAAT,KAKA3B,EAAAqC,EAAAtC,EAGAC,EAAAsC,EAAApC,EAGAF,EAAAiC,EAAA","file":"static/js/manifest.1992ad6907126b49e557.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// install a JSONP callback for chunk loading\n/******/ \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n/******/ \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules) {\n/******/ \t\t// add \"moreModules\" to the modules object,\n/******/ \t\t// then flag all \"chunkIds\" as loaded and fire callback\n/******/ \t\tvar moduleId, chunkId, i = 0, callbacks = [];\n/******/ \t\tfor(;i < chunkIds.length; i++) {\n/******/ \t\t\tchunkId = chunkIds[i];\n/******/ \t\t\tif(installedChunks[chunkId])\n/******/ \t\t\t\tcallbacks.push.apply(callbacks, installedChunks[chunkId]);\n/******/ \t\t\tinstalledChunks[chunkId] = 0;\n/******/ \t\t}\n/******/ \t\tfor(moduleId in moreModules) {\n/******/ \t\t\tmodules[moduleId] = moreModules[moduleId];\n/******/ \t\t}\n/******/ \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules);\n/******/ \t\twhile(callbacks.length)\n/******/ \t\t\tcallbacks.shift().call(null, __webpack_require__);\n/******/ \t\tif(moreModules[0]) {\n/******/ \t\t\tinstalledModules[0] = 0;\n/******/ \t\t\treturn __webpack_require__(0);\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// object to store loaded and loading chunks\n/******/ \t// \"0\" means \"already loaded\"\n/******/ \t// Array means \"loading\", array contains callbacks\n/******/ \tvar installedChunks = {\n/******/ \t\t0:0\n/******/ \t};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/ \t// This file contains only the entry chunk.\n/******/ \t// The chunk loading function for additional chunks\n/******/ \t__webpack_require__.e = function requireEnsure(chunkId, callback) {\n/******/ \t\t// \"0\" is the signal for \"already loaded\"\n/******/ \t\tif(installedChunks[chunkId] === 0)\n/******/ \t\t\treturn callback.call(null, __webpack_require__);\n/******/\n/******/ \t\t// an array means \"currently loading\".\n/******/ \t\tif(installedChunks[chunkId] !== undefined) {\n/******/ \t\t\tinstalledChunks[chunkId].push(callback);\n/******/ \t\t} else {\n/******/ \t\t\t// start chunk loading\n/******/ \t\t\tinstalledChunks[chunkId] = [callback];\n/******/ \t\t\tvar head = document.getElementsByTagName('head')[0];\n/******/ \t\t\tvar script = document.createElement('script');\n/******/ \t\t\tscript.type = 'text/javascript';\n/******/ \t\t\tscript.charset = 'utf-8';\n/******/ \t\t\tscript.async = true;\n/******/\n/******/ \t\t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"1\":\"f36392182cdef8a7a738\",\"2\":\"2afdeb63cc73edf761aa\"}[chunkId] + \".js\";\n/******/ \t\t\thead.appendChild(script);\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/\";\n/******/ })\n/************************************************************************/\n/******/ ([]);\n\n\n// WEBPACK FOOTER //\n// static/js/manifest.1992ad6907126b49e557.js"," \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, callbacks = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId])\n \t\t\t\tcallbacks.push.apply(callbacks, installedChunks[chunkId]);\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules);\n \t\twhile(callbacks.length)\n \t\t\tcallbacks.shift().call(null, __webpack_require__);\n \t\tif(moreModules[0]) {\n \t\t\tinstalledModules[0] = 0;\n \t\t\treturn __webpack_require__(0);\n \t\t}\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// \"0\" means \"already loaded\"\n \t// Array means \"loading\", array contains callbacks\n \tvar installedChunks = {\n \t\t0:0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId, callback) {\n \t\t// \"0\" is the signal for \"already loaded\"\n \t\tif(installedChunks[chunkId] === 0)\n \t\t\treturn callback.call(null, __webpack_require__);\n\n \t\t// an array means \"currently loading\".\n \t\tif(installedChunks[chunkId] !== undefined) {\n \t\t\tinstalledChunks[chunkId].push(callback);\n \t\t} else {\n \t\t\t// start chunk loading\n \t\t\tinstalledChunks[chunkId] = [callback];\n \t\t\tvar head = document.getElementsByTagName('head')[0];\n \t\t\tvar script = document.createElement('script');\n \t\t\tscript.type = 'text/javascript';\n \t\t\tscript.charset = 'utf-8';\n \t\t\tscript.async = true;\n\n \t\t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"1\":\"f36392182cdef8a7a738\",\"2\":\"2afdeb63cc73edf761aa\"}[chunkId] + \".js\";\n \t\t\thead.appendChild(script);\n \t\t}\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap d5bcd549d052c67d79c6"],"sourceRoot":""} -------------------------------------------------------------------------------- /docs/static/js/app.2afdeb63cc73edf761aa.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///static/js/app.2afdeb63cc73edf761aa.js","webpack:///./src/main.js","webpack:///./src/App.vue?4bca","webpack:///./src/components/Toast/template.html","webpack:///./src/components/Toast/index.js","webpack:///App.vue","webpack:///./src/App.vue"],"names":["webpackJsonp","0","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","_vue","_vue2","_App","_App2","el","components","App","10","11","13","14","43","Object","defineProperty","value","_assign","_assign2","_template","_template2","defaultOpt","onHide","onShow","entireShift","scale","common","before","transform","after","opacity","display","posShift","bottom middle","bottom","left","top middle","top","template","props","message","type","String","twoWay","position","sustain","Number","animate","options","coerce","val","computed","toaststyle","this","styleHandler","show","data","methods","isShow","_concatAttr","needAttr","goalAttr","need","nonceNeed","goal","nonceGoal","console","log","replace","posConf","animateConf","config","showMessage","txt","arguments","length","undefined","_disappear","_this","_clearTime","duration","document","defaultView","getComputedStyle","$el","getPropertyValue","timeRemain","setTimeout","parseFloat","clearTimeout","detached","44","_index","_index2","VueToast","showBelow","$refs","tbelow","showAbove","tabove","45","__vue_script__","__vue_template__","__vue_styles__","__vue_options__","keys","forEach","key"],"mappings":"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","file":"static/js/app.2afdeb63cc73edf761aa.js","sourcesContent":["webpackJsonp([2,0],{\n\n/***/ 0:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _vue = __webpack_require__(12);\n\t\n\tvar _vue2 = _interopRequireDefault(_vue);\n\t\n\tvar _App = __webpack_require__(45);\n\t\n\tvar _App2 = _interopRequireDefault(_App);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tnew _vue2.default({\n\t el: 'body',\n\t components: { App: _App2.default }\n\t});\n\n/***/ },\n\n/***/ 10:\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n\n/***/ 11:\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n\n/***/ 13:\n/***/ function(module, exports) {\n\n\tmodule.exports = \"

Vue-Toast

A Vue component show tip to user(just like Android system's toast).

It will automatically disappear in some seconds :)

Fork me on Github!

\";\n\n/***/ },\n\n/***/ 14:\n/***/ function(module, exports) {\n\n\tmodule.exports = \"
{{message}}
\";\n\n/***/ },\n\n/***/ 43:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _assign = __webpack_require__(42);\n\t\n\tvar _assign2 = _interopRequireDefault(_assign);\n\t\n\t__webpack_require__(11);\n\t\n\tvar _template = __webpack_require__(14);\n\t\n\tvar _template2 = _interopRequireDefault(_template);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar defaultOpt = {\n\t onHide: function onHide() {},\n\t onShow: function onShow() {}\n\t};\n\t\n\tvar entireShift = {\n\t scale: {\n\t common: {},\n\t before: {\n\t transform: 'scale(0)'\n\t },\n\t after: {\n\t transform: 'scale(1)'\n\t }\n\t },\n\t\n\t opacity: {\n\t common: {},\n\t before: {\n\t display: 'none',\n\t opacity: 0\n\t },\n\t after: {\n\t display: 'block',\n\t opacity: 1\n\t }\n\t }\n\t};\n\t\n\tvar posShift = {\n\t 'bottom middle': {\n\t bottom: '10%',\n\t left: '50%',\n\t transform: 'translateX(-50%)'\n\t },\n\t\n\t 'top middle': {\n\t top: '10%',\n\t left: '50%',\n\t transform: 'translateX(-50%)'\n\t }\n\t};\n\t\n\texports.default = {\n\t template: _template2.default,\n\t props: {\n\t message: {\n\t type: String,\n\t twoWay: true\n\t },\n\t\n\t position: {\n\t type: String,\n\t default: 'bottom middle'\n\t },\n\t\n\t sustain: {\n\t type: Number,\n\t default: 2000\n\t },\n\t\n\t animate: {\n\t type: String,\n\t default: 'scale'\n\t },\n\t\n\t options: {\n\t type: Object,\n\t coerce: function coerce(val) {\n\t return (0, _assign2.default)({}, defaultOpt, val);\n\t }\n\t }\n\t },\n\t\n\t computed: {\n\t toaststyle: function toaststyle() {\n\t return (0, _assign2.default)({}, this.styleHandler(this.show));\n\t }\n\t },\n\t\n\t data: function data() {\n\t return {\n\t show: false\n\t };\n\t },\n\t\n\t\n\t methods: {\n\t styleHandler: function styleHandler(isShow) {\n\t var posConf = this.position,\n\t animateConf = this.animate;\n\t\n\t var config = entireShift[animateConf];\n\t config.common = posShift[posConf];\n\t\n\t function _concatAttr(needAttr, goalAttr, obj) {\n\t\n\t for (var need in obj[needAttr]) {\n\t var nonceNeed = obj[needAttr][need];\n\t var goal = obj[goalAttr];\n\t var nonceGoal = goal[need];\n\t if (need === 'transform' && need in goal) {\n\t console.log(nonceGoal + ' ' + nonceNeed);\n\t\n\t obj[goalAttr][need] = (nonceGoal + ' ' + nonceNeed).replace(/\\b([^\\s]+)\\s+\\1/, '$1');\n\t console.log(obj[goalAttr][need]);\n\t } else {\n\t obj[goalAttr][need] = nonceNeed;\n\t }\n\t }\n\t }\n\t\n\t var goalAttr = isShow ? 'after' : 'before';\n\t _concatAttr('common', goalAttr, config);\n\t\n\t return config[goalAttr];\n\t },\n\t showMessage: function showMessage() {\n\t var txt = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n\t\n\t this.options.onShow();\n\t\n\t txt ? this.message = txt : null;\n\t this.show = true;\n\t this._disappear();\n\t },\n\t _disappear: function _disappear() {\n\t var _this = this;\n\t\n\t this._clearTime();\n\t\n\t var duration = document.defaultView.getComputedStyle(this.$el, null).getPropertyValue('transition-duration');\n\t\n\t this.timeRemain = setTimeout(function () {\n\t _this.options.onHide();\n\t\n\t _this.show = false;\n\t }, this.sustain + parseFloat(duration) * 1000);\n\t },\n\t _clearTime: function _clearTime() {\n\t if (this.timeRemain) {\n\t clearTimeout(this.timeRemain);\n\t }\n\t }\n\t },\n\t\n\t detached: function detached() {\n\t this._clearTime();\n\t }\n\t};\n\n/***/ },\n\n/***/ 44:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _index = __webpack_require__(43);\n\t\n\tvar _index2 = _interopRequireDefault(_index);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t components: {\n\t VueToast: _index2.default\n\t },\n\t methods: {\n\t showBelow: function showBelow() {\n\t this.$refs.tbelow.showMessage();\n\t },\n\t showAbove: function showAbove() {\n\t this.$refs.tabove.showMessage();\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 45:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_script__, __vue_template__\n\tvar __vue_styles__ = {}\n\t__webpack_require__(10)\n\t__vue_script__ = __webpack_require__(44)\n\t__vue_template__ = __webpack_require__(13)\n\tmodule.exports = __vue_script__ || {}\n\tif (module.exports.__esModule) module.exports = module.exports.default\n\tvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\n\tif (__vue_template__) {\n\t__vue_options__.template = __vue_template__\n\t}\n\tif (!__vue_options__.computed) __vue_options__.computed = {}\n\tObject.keys(__vue_styles__).forEach(function (key) {\n\tvar module = __vue_styles__[key]\n\t__vue_options__.computed[key] = function () { return module }\n\t})\n\n\n/***/ }\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/app.2afdeb63cc73edf761aa.js","import Vue from 'vue'\nimport App from './App'\n\n/* eslint-disable no-new */\nnew Vue({\n el: 'body',\n components: { App }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","module.exports = \"

Vue-Toast

A Vue component show tip to user(just like Android system's toast).

It will automatically disappear in some seconds :)

Fork me on Github!

\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.1.2.4@vue-html-loader!./~/.8.7.0@vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 13\n// module chunks = 2","module.exports = \"
{{message}}
\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Toast/template.html\n// module id = 14\n// module chunks = 2","import './index.css'\nimport template from './template.html'\n\nlet defaultOpt = {\n onHide: function () {\n },\n onShow: function () {\n }\n}\n\nlet entireShift = {\n scale: {\n common: {},\n before: {\n transform: 'scale(0)'\n },\n after: {\n transform: 'scale(1)'\n }\n },\n\n opacity: {\n common: {},\n before: {\n display: 'none',\n opacity: 0\n },\n after: {\n display: 'block',\n opacity: 1\n }\n }\n}\n\nconst posShift = {\n 'bottom middle': {\n bottom: '10%',\n left: '50%',\n transform: 'translateX(-50%)'\n },\n\n 'top middle': {\n top: '10%',\n left: '50%',\n transform: 'translateX(-50%)'\n },\n}\n\nexport default {\n template: template,\n props: {\n\n /**\n * toast content\n */\n message: {\n type: String,\n twoWay: true\n },\n\n /**\n * 'bottom middle'|'top middle'\n */\n position: {\n type: String,\n default: 'bottom middle'\n },\n\n /**\n * disappear time\n */\n sustain: {\n type: Number,\n default: 2000\n },\n\n /**\n * 'opacity' | 'scale'\n */\n animate: {\n type: String,\n default: 'scale'\n },\n\n options: {\n type: Object,\n coerce (val) {\n return Object.assign({}, defaultOpt, val)\n }\n }\n },\n /**\n * Toast inline style\n */\n computed: {\n toaststyle () {\n return Object.assign({}, this.styleHandler(this.show))\n }\n },\n\n data () {\n return {\n show: false\n }\n },\n\n methods: {\n styleHandler (isShow) {\n const posConf = this.position,\n animateConf = this.animate\n\n let config = entireShift[animateConf]\n config.common = posShift[posConf]\n\n function _concatAttr(needAttr, goalAttr, obj) {\n\n for (var need in obj[needAttr]) {\n const nonceNeed = obj[needAttr][need]\n const goal = obj[goalAttr]\n const nonceGoal = goal[need]\n if (need === 'transform' &&\n need in goal) {\n console.log(`${nonceGoal} ${nonceNeed}`)\n // remove extra same property\n obj[goalAttr][need] = `${nonceGoal} ${nonceNeed}`.replace(/\\b([^\\s]+)\\s+\\1/, '$1')\n console.log(obj[goalAttr][need])\n\n } else {\n obj[goalAttr][need] = nonceNeed\n }\n }\n }\n\n const goalAttr = isShow ? 'after' : 'before'\n _concatAttr(\n 'common',\n goalAttr,\n config\n )\n\n return config[goalAttr]\n },\n showMessage (txt = '') {\n this.options.onShow()\n\n txt ? (this.message = txt) : null\n this.show = true\n this._disappear()\n },\n\n _disappear () {\n this._clearTime()\n // Plus the transtion's duration to extend the disappearance of the time\n let duration = document.defaultView.getComputedStyle(this.$el, null)\n .getPropertyValue('transition-duration')\n\n this.timeRemain = setTimeout(() => {\n this.options.onHide()\n\n this.show = false\n }, this.sustain + parseFloat(duration) * 1000)\n },\n\n _clearTime () {\n if (this.timeRemain) {\n clearTimeout(this.timeRemain)\n }\n }\n },\n\n detached () {\n this._clearTime()\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/Toast/index.js","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// App.vue?7b8de140","var __vue_script__, __vue_template__\nvar __vue_styles__ = {}\nrequire(\"!!../node_modules/.1.0.1@extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../node_modules/.8.7.0@vue-loader/lib/style-rewriter.js!../node_modules/.8.7.0@vue-loader/lib/selector.js?type=style&index=0!./App.vue\")\n__vue_script__ = require(\"!!babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!../node_modules/.8.7.0@vue-loader/lib/selector.js?type=script&index=0!./App.vue\")\n__vue_template__ = require(\"!!vue-html-loader!../node_modules/.8.7.0@vue-loader/lib/selector.js?type=template&index=0!./App.vue\")\nmodule.exports = __vue_script__ || {}\nif (module.exports.__esModule) module.exports = module.exports.default\nvar __vue_options__ = typeof module.exports === \"function\" ? (module.exports.options || (module.exports.options = {})) : module.exports\nif (__vue_template__) {\n__vue_options__.template = __vue_template__\n}\nif (!__vue_options__.computed) __vue_options__.computed = {}\nObject.keys(__vue_styles__).forEach(function (key) {\nvar module = __vue_styles__[key]\n__vue_options__.computed[key] = function () { return module }\n})\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = 45\n// module chunks = 2"],"sourceRoot":""} -------------------------------------------------------------------------------- /docs/static/js/vendor.f36392182cdef8a7a738.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([1,0],[,function(t,e,n){t.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(19);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(7),r=n(6);t.exports=function(t){return i(r(t))}},,,function(t,e,n){/*! 2 | * Vue.js v1.0.28 3 | * (c) 2016 Evan You 4 | * Released under the MIT License. 5 | */ 6 | "use strict";function i(t,e,n){if(s(t,e))return void(t[e]=n);if(t._isVue)return void i(t._data,e,n);var r=t.__ob__;if(!r)return void(t[e]=n);if(r.convert(e,n),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var a=r.vms[o];a._proxy(e),a._digest()}return n}function r(t,e){if(s(t,e)){delete t[e];var n=t.__ob__;if(!n)return void(t._isVue&&(delete t._data[e],t._digest()));if(n.dep.notify(),n.vms)for(var i=n.vms.length;i--;){var r=n.vms[i];r._unproxy(e),r._digest()}}}function s(t,e){return zn.call(t,e)}function o(t){return Un.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function h(t){return null==t?"":t.toString()}function l(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function u(t){return"true"===t||"false"!==t&&t}function c(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function f(t){return t.replace(Jn,p)}function p(t,e){return e?e.toUpperCase():""}function d(t){return t.replace(qn,"$1-$2").replace(qn,"$1-$2").toLowerCase()}function v(t){return t.replace(Qn,p)}function m(t,e){return function(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function g(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function _(t,e){for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t}function y(t){return null!==t&&"object"==typeof t}function b(t){return Gn.call(t)===Zn}function w(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function C(t,e){var n,i,r,s,o,a=function a(){var h=Date.now()-s;h=0?n=setTimeout(a,e-h):(n=null,o=t.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,s=Date.now(),n||(n=setTimeout(a,e)),o}}function $(t,e){for(var n=t.length;n--;)if(t[n]===e)return n;return-1}function k(t){var e=function e(){if(!e.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function x(t,e){return t==e||!(!y(t)||!y(e))&&JSON.stringify(t)===JSON.stringify(e)}function A(t){return/native code/.test(t.toString())}function O(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function T(){return vi.charCodeAt(_i+1)}function j(){return vi.charCodeAt(++_i)}function N(){return _i>=gi}function E(){for(;T()===Ei;)j()}function S(t){return t===Oi||t===Ti}function F(t){return Si[t]}function P(t,e){return Fi[t]===e}function D(){for(var t,e=j();!N();)if(t=j(),t===Ni)j();else if(t===e)break}function R(t){for(var e=0,n=t;!N();)if(t=T(),S(t))D();else if(n===t&&e++,P(n,t)&&e--,j(),0===e)break}function M(){for(var t=_i;!N();)if(yi=T(),S(yi))D();else if(F(yi))R(yi);else if(yi===ji){if(j(),yi=T(),yi!==ji){bi!==$i&&bi!==Ai||(bi=ki);break}j()}else{if(yi===Ei&&(bi===xi||bi===Ai)){E();break}bi===ki&&(bi=xi),j()}return vi.slice(t+1,_i)||null}function L(){for(var t=[];!N();)t.push(I());return t}function I(){var t,e={};return bi=ki,e.name=M().trim(),bi=Ai,t=H(),t.length&&(e.args=t),e}function H(){for(var t=[];!N()&&bi!==ki;){var e=M();if(!e)break;t.push(B(e))}return t}function B(t){if(Ci.test(t))return{value:l(t),dynamic:!1};var e=c(t),n=e===t;return{value:n?t:e,dynamic:n}}function W(t){var e=wi.get(t);if(e)return e;vi=t,mi={},gi=vi.length,_i=-1,yi="",bi=$i;var n;return vi.indexOf("|")<0?mi.expression=vi.trim():(mi.expression=M().trim(),n=L(),n.length&&(mi.filters=n)),wi.put(t,mi),mi}function V(t){return t.replace(Di,"\\$&")}function z(){var t=V(Vi.delimiters[0]),e=V(Vi.delimiters[1]),n=V(Vi.unsafeDelimiters[0]),i=V(Vi.unsafeDelimiters[1]);Mi=new RegExp(n+"((?:.|\\n)+?)"+i+"|"+t+"((?:.|\\n)+?)"+e,"g"),Li=new RegExp("^"+n+"((?:.|\\n)+?)"+i+"$"),Ri=new O(1e3)}function U(t){Ri||z();var e=Ri.get(t);if(e)return e;if(!Mi.test(t))return null;for(var n,i,r,s,o,a,h=[],l=Mi.lastIndex=0;n=Mi.exec(t);)i=n.index,i>l&&h.push({value:t.slice(l,i)}),r=Li.test(n[0]),s=r?n[1]:n[2],o=s.charCodeAt(0),a=42===o,s=a?s.slice(1):s,h.push({tag:!0,value:s.trim(),html:r,oneTime:a}),l=i+n[0].length;return l1?t.map(function(t){return q(t,e)}).join("+"):q(t[0],e,!0)}function q(t,e,n){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':Q(t.value,n):'"'+t.value+'"'}function Q(t,e){if(Ii.test(t)){var n=W(t);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function G(t,e,n,i){Y(t,1,function(){e.appendChild(t)},n,i)}function Z(t,e,n,i){Y(t,1,function(){rt(t,e)},n,i)}function X(t,e,n){Y(t,-1,function(){ot(t)},e,n)}function Y(t,e,n,i,r){var s=t.__v_trans;if(!s||!s.hooks&&!ai||!i._isCompiled||i.$parent&&!i.$parent._isCompiled)return n(),void(r&&r());var o=e>0?"enter":"leave";s[o](n,r)}function K(t){if("string"==typeof t){t=document.querySelector(t)}return t}function tt(t){if(!t)return!1;var e=t.ownerDocument.documentElement,n=t.parentNode;return e===t||e===n||!(!n||1!==n.nodeType||!e.contains(n))}function et(t,e){var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n}function nt(t,e){var n=et(t,":"+e);return null===n&&(n=et(t,"v-bind:"+e)),n}function it(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function rt(t,e){e.parentNode.insertBefore(t,e)}function st(t,e){e.nextSibling?rt(t,e.nextSibling):e.parentNode.appendChild(t)}function ot(t){t.parentNode.removeChild(t)}function at(t,e){e.firstChild?rt(t,e.firstChild):e.appendChild(t)}function ht(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)}function lt(t,e,n,i){t.addEventListener(e,n,i)}function ut(t,e,n){t.removeEventListener(e,n)}function ct(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function ft(t,e){ii&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function pt(t,e){if(t.classList)t.classList.add(e);else{var n=" "+ct(t)+" ";n.indexOf(" "+e+" ")<0&&ft(t,(n+e).trim())}}function dt(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+ct(t)+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");ft(t,n.trim())}t.className||t.removeAttribute("class")}function vt(t,e){var n,i;if(_t(t)&&$t(t.content)&&(t=t.content),t.hasChildNodes())for(mt(t),i=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)i.appendChild(n);return i}function mt(t){for(var e;e=t.firstChild,gt(e);)t.removeChild(e);for(;e=t.lastChild,gt(e);)t.removeChild(e)}function gt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function _t(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function yt(t,e){var n=Vi.debug?document.createComment(t):document.createTextNode(e?" ":"");return n.__v_anchor=!0,n}function bt(t){if(t.hasAttributes())for(var e=t.attributes,n=0,i=e.length;n=h.length){for(var t=0;t=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function Vt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(o(e)?c(e):"*"+e)}function zt(t){function e(){var e=t[u+1];if(c===dr&&"'"===e||c===vr&&'"'===e)return u++,i="\\"+e,p[sr](),!0}var n,i,r,s,o,a,h,l=[],u=-1,c=lr,f=0,p=[];for(p[or]=function(){void 0!==r&&(l.push(r),r=void 0)},p[sr]=function(){void 0===r?r=i:r+=i},p[ar]=function(){p[sr](),f++},p[hr]=function(){if(f>0)f--,c=pr,p[sr]();else{if(f=0,r=Vt(r),r===!1)return!1;p[or]()}};null!=c;)if(u++,n=t[u],"\\"!==n||!e()){if(s=Wt(n),h=_r[c],o=h[s]||h.else||gr,o===gr)return;if(c=o[0],a=p[o[1]],a&&(i=o[2],i=void 0===i?n:i,a()===!1))return;if(c===mr)return l.raw=t,l}}function Ut(t){var e=rr.get(t);return e||(e=zt(t),e&&rr.put(t,e)),e}function Jt(t,e){return ee(e).get(t)}function qt(t,e,n){var r=t;if("string"==typeof e&&(e=zt(e)),!e||!y(t))return!1;for(var s,o,a=0,h=e.length;a-1?n.replace(Tr,Xt):n,e+"scope."+n)}function Xt(t,e){return Sr[e]}function Yt(t){kr.test(t),Sr.length=0;var e=t.replace(Or,Gt).replace(xr,"");return e=(" "+e).replace(Nr,Zt).replace(Tr,Xt),Kt(e)}function Kt(t){try{return new Function("scope","return "+t+";")}catch(t){return Qt}}function te(t){var e=Ut(t);if(e)return function(t,n){qt(t,e,n)}}function ee(t,e){t=t.trim();var n=br.get(t);if(n)return e&&!n.set&&(n.set=te(n.exp)),n;var i={exp:t};return i.get=ne(t)&&t.indexOf("[")<0?Kt("scope."+t):Yt(t),e&&(i.set=te(t)),br.put(t,i),i}function ne(t){return jr.test(t)&&!Er.test(t)&&"Math."!==t.slice(0,5)}function ie(){Pr.length=0,Dr.length=0,Rr={},Mr={},Lr=!1}function re(){for(var t=!0;t;)t=!1,se(Pr),se(Dr),Pr.length?t=!0:(ti&&Vi.devtools&&ti.emit("flush"),ie())}function se(t){for(var e=0;e0){var o=s+(i?e:kt(e));r=Yr.get(o),r||(r=Ze(n,t.$options,!0),Yr.put(o,r))}else r=Ze(n,t.$options,!0);this.linker=r}function Ce(t,e,n){var i=t.node.previousSibling;if(i){for(t=i.__v_frag;!(t&&t.forId===n&&t.inserted||i===e);){if(i=i.previousSibling,!i)return;t=i.__v_frag}return t}}function $e(t){for(var e=-1,n=new Array(Math.floor(t));++e47&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:ys[t]});return n=[].concat.apply([],n),function(e){if(n.indexOf(e.keyCode)>-1)return t.call(this,e)}}function je(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function Ne(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ee(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function Se(t){if(ks[t])return ks[t];var e=Fe(t);return ks[t]=ks[e]=e,e}function Fe(t){t=d(t);var e=f(t),n=e.charAt(0).toUpperCase()+e.slice(1);xs||(xs=document.createElement("div"));var i,r=ws.length;if("filter"!==e&&e in xs.style)return{kebab:t,camel:e};for(;r--;)if(i=Cs[r]+n,i in xs.style)return{kebab:ws[r]+t,camel:i}}function Pe(t){var e=[];if(Xn(t))for(var n=0,i=t.length;n=r?n():t[s].call(e,i)}var r=t.length,s=0;t[0].call(e,i)}function Me(t,e,n){for(var i,r,s,a,h,l,u,c=[],p=n.$options.propsData,v=Object.keys(e),m=v.length;m--;)if(r=v[m],i=e[r]||Bs,h=f(r),Ws.test(h)){if(u={name:r,path:h,options:i,mode:Hs.ONE_WAY,raw:null},s=d(r),null===(a=nt(t,s))&&(null!==(a=nt(t,s+".sync"))?u.mode=Hs.TWO_WAY:null!==(a=nt(t,s+".once"))&&(u.mode=Hs.ONE_TIME)),null!==a)u.raw=a,l=W(a),a=l.expression,u.filters=l.filters,o(a)&&!l.filters?u.optimizedLiteral=!0:u.dynamic=!0,u.parentPath=a;else if(null!==(a=et(t,s)))u.raw=a;else if(p&&null!==(a=p[r]||p[h]))u.raw=a;else;c.push(u)}return Le(c)}function Le(t){return function(e,n){e._props={};for(var i,r,o,a,h,f=e.$options.propsData,p=t.length;p--;)if(i=t[p],h=i.raw,r=i.path,o=i.options,e._props[r]=i,f&&s(f,r)&&He(e,i,f[r]),null===h)He(e,i,void 0);else if(i.dynamic)i.mode===Hs.ONE_TIME?(a=(n||e._context||e).$get(i.parentPath),He(e,i,a)):e._context?e._bindDir({name:"prop",def:zs,prop:i},null,null,n):He(e,i,e.$get(i.parentPath));else if(i.optimizedLiteral){var v=c(h);a=v===h?u(l(h)):v,He(e,i,a)}else a=o.type===Boolean&&(""===h||h===d(i.name))||h,He(e,i,a)}}function Ie(t,e,n,i){var r=e.dynamic&&ne(e.parentPath),s=n;void 0===s&&(s=We(t,e)),s=ze(e,s,t);var o=s!==n;Ve(e,s,t)||(s=void 0),r&&!o?Dt(function(){i(s)}):i(s)}function He(t,e,n){Ie(t,e,n,function(n){Ht(t,e.path,n)})}function Be(t,e,n){Ie(t,e,n,function(n){t[e.path]=n})}function We(t,e){var n=e.options;if(!s(n,"default"))return n.type!==Boolean&&void 0;var i=n.default;return y(i),"function"==typeof i&&n.type!==Function?i.call(t):i}function Ve(t,e,n){if(!t.options.required&&(null===t.raw||null==e))return!0;var i=t.options,r=i.type,s=!r,o=[];if(r){Xn(r)||(r=[r]);for(var a=0;ae?-1:t===e?0:1}),e=0,n=a.length;ep.priority)&&(p=f,u=r.name,a=_n(r.name),o=r.value,l=h[1],c=h[2]));return p?mn(t,l,o,n,p,u,c,a):void 0}function vn(){}function mn(t,e,n,i,r,s,o,a){var h=W(n),l={name:e,arg:o,expression:h.expression,filters:h.filters,raw:n,attr:s,modifiers:a,def:r};"for"!==e&&"router-view"!==e||(l.ref=bt(t));var u=function(t,e,n,i,r){l.ref&&Ht((i||t).$refs,l.ref,null),t._bindDir(l,e,n,i,r)};return u.terminal=!0,u}function gn(t,e){function n(t,e,n){var i=n&&bn(n),r=!i&&W(s);v.push({name:t,attr:o,raw:a,def:e,arg:l,modifiers:u,expression:r&&r.expression,filters:r&&r.filters,interp:n,hasOneTime:i})}for(var i,r,s,o,a,h,l,u,c,f,p,d=t.length,v=[];d--;)if(i=t[d],r=o=i.name,s=a=i.value,f=U(s),l=null,u=_n(r),r=r.replace(so,""),f)s=J(f),l=r,n("bind",Ms.bind,f);else if(oo.test(r))u.literal=!no.test(r),n("transition",eo.transition);else if(io.test(r))l=r.replace(io,""),n("on",Ms.on);else if(no.test(r))h=r.replace(no,""),"style"===h||"class"===h?n(h,eo[h]):(l=h,n("bind",Ms.bind));else if(p=r.match(ro)){if(h=p[1],l=p[2],"else"===h)continue;c=Ft(e,"directives",h,!0),c&&n(h,c)}if(v.length)return yn(v)}function _n(t){var e=Object.create(null),n=t.match(so);if(n)for(var i=n.length;i--;)e[n[i].slice(1)]=!0;return e}function yn(t){return function(e,n,i,r,s){for(var o=t.length;o--;)e._bindDir(t[o],n,i,r,s)}}function bn(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function wn(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function Cn(t,e){return e&&(e._containerAttrs=kn(t)),_t(t)&&(t=pe(t)),e&&(e._asComponent&&!e.template&&(e.template=""),e.template&&(e._content=vt(t),t=$n(t,e))),$t(t)&&(at(yt("v-start",!0),t),t.appendChild(yt("v-end",!0))),t}function $n(t,e){var n=e.template,i=pe(n,!0);if(i){var r=i.firstChild;if(!r)return i;var s=r.tagName&&r.tagName.toLowerCase();return e.replace?(t===document.body,i.childNodes.length>1||1!==r.nodeType||"component"===s||Ft(e,"components",s)||it(r,"is")||Ft(e,"elementDirectives",s)||r.hasAttribute("v-for")||r.hasAttribute("v-if")?i:(e._replacerAttrs=kn(r),xn(t,r),r)):(t.appendChild(i),t)}}function kn(t){if(1===t.nodeType&&t.hasAttributes())return g(t.attributes)}function xn(t,e){for(var n,i,r=t.attributes,s=r.length;s--;)n=r[s].name,i=r[s].value,e.hasAttribute(n)||lo.test(n)?"class"===n&&!U(i)&&(i=i.trim())&&i.split(/\s+/).forEach(function(t){pt(e,t)}):e.setAttribute(n,i)}function An(t,e){if(e){for(var n,i,r=t._slotContents=Object.create(null),s=0,o=e.children.length;s1?g(n):n;var r=e&&n.some(function(t){return t._fromParent});r&&(i=!1);for(var s=g(arguments,1),o=0,a=n.length;oe?s:-s}var n=null,i=void 0;t=go(t);var r=g(arguments,1),s=r[r.length-1];"number"==typeof s?(s=s<0?-1:1,r=r.length>1?r.slice(0,-1):r):s=1;var o=r[0];return o?("function"==typeof o?n=function(t,e){return o(t,e)*s}:(i=Array.prototype.concat.apply([],r),n=function(t,r,s){return s=s||0,s>=i.length-1?e(t,r,s):e(t,r,s)||n(t,r,s+1)}),t.slice().sort(n)):t}function Wn(t,e){var n;if(b(t)){var i=Object.keys(t);for(n=i.length;n--;)if(Wn(t[i[n]],e))return!0}else if(Xn(t)){for(n=t.length;n--;)if(Wn(t[n],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Vn(t){function e(t){return new Function("return function "+v(t)+" (options) { this._init(options) }")()}t.options={directives:Ms,elementDirectives:mo,filters:yo,transitions:{},components:{},partials:{},replace:!0},t.util=nr,t.config=Vi,t.set=i,t.delete=r,t.nextTick=fi,t.compiler=uo,t.FragmentFactory=we,t.internalDirectives=eo,t.parsers={path:yr,text:Hi,template:Zr,directive:Pi,expression:Fr},t.cid=0;var n=1;t.extend=function(t){t=t||{};var i=this,r=0===i.cid;if(r&&t._Ctor)return t._Ctor;var s=t.name||i.options.name,o=e(s||"VueComponent");return o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.cid=n++,o.options=St(i.options,t),o.super=i,o.extend=i.extend,Vi._assetTypes.forEach(function(t){o[t]=i[t]}),s&&(o.options.components[s]=o),r&&(t._Ctor=o),o},t.use=function(t){if(!t.installed){var e=g(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},t.mixin=function(e){t.options=St(t.options,e)},Vi._assetTypes.forEach(function(e){t[e]=function(n,i){return i?("component"===e&&b(i)&&(i.name||(i.name=n),i=t.extend(i)),this.options[e+"s"][n]=i,i):this.options[e+"s"][n]}}),_(t.transition,Ui)}var zn=Object.prototype.hasOwnProperty,Un=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Jn=/-(\w)/g,qn=/([^-])([A-Z])/g,Qn=/(?:^|[-_\/])(\w)/g,Gn=Object.prototype.toString,Zn="[object Object]",Xn=Array.isArray,Yn="__proto__"in{},Kn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),ti=Kn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,ei=Kn&&window.navigator.userAgent.toLowerCase(),ni=ei&&ei.indexOf("trident")>0,ii=ei&&ei.indexOf("msie 9.0")>0,ri=ei&&ei.indexOf("android")>0,si=ei&&/iphone|ipad|ipod|ios/.test(ei),oi=void 0,ai=void 0,hi=void 0,li=void 0;if(Kn&&!ii){var ui=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,ci=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;oi=ui?"WebkitTransition":"transition",ai=ui?"webkitTransitionEnd":"transitionend",hi=ci?"WebkitAnimation":"animation",li=ci?"webkitAnimationEnd":"animationend"}var fi=function(){function t(){n=!1;var t=e.slice(0);e.length=0;for(var i=0;i=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),w(Yi,"$remove",function(t){if(this.length){var e=$(this,t);return e>-1?this.splice(e,1):void 0}});var tr=Object.getOwnPropertyNames(Ki),er=!0;Rt.prototype.walk=function(t){for(var e=Object.keys(t),n=0,i=e.length;n",""],tr:[2,"","
"],col:[2,"","
"]};zr.td=zr.th=[3,"","
"],zr.option=zr.optgroup=[1,'"],zr.thead=zr.tbody=zr.colgroup=zr.caption=zr.tfoot=[1,"","
"],zr.g=zr.defs=zr.symbol=zr.use=zr.image=zr.text=zr.circle=zr.ellipse=zr.line=zr.path=zr.polygon=zr.polyline=zr.rect=[1,'',""];var Ur=/<([\w:-]+)/,Jr=/&#?\w+?;/,qr=/