mand-mobile/docs/static/js/EnUSDocsComponentsFeedbackT...

1 line
216 KiB
JavaScript
Raw Normal View History

2023-02-02 11:12:53 +08:00
webpackJsonp([23],{"0LII":function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("cazi"),s=o.n(a);for(var n in a)"default"!==n&&function(t){o.d(e,t,function(){return a[t]})}(n);var i=o("m6H8"),l=o("VU/8"),d=l(s.a,i.a,!1,null,null,null);e["default"]=d.exports},"0SmG":function(t,e){"use strict";e.a={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"md-example-child md-example-child-toast md-example-child-toast-7"},[o("md-toast",{ref:"toast"},[o("md-activity-indicator",{attrs:{size:20,"text-size":16,color:"yellow","text-color":"white"}},[t._v("loading...")])],1),t._v(" "),o("md-button",{on:{click:t.showTextToast}},[t._v("\u5B9A\u5236Toast")])],1)},staticRenderFns:[]}},"18zt":function(t,e,o){var a=o("XmYT");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);o("rjj0")("08048d4c",a,!0,{})},"2Tf+":function(t,e,o){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}Object.defineProperty(e,"__esModule",{value:!0});var n=o("TjX1"),i=a(n),l=o("oOyB"),d=a(l);e.default={name:"toast-demo",title:"\u7EAF\u6587\u5B57",titleEnUS:"Plain text",components:s({},d.default.name,d.default),methods:{showTextToast:function(){i.default.info("\u4E00\u6BB5\u6587\u5B57")}}}},"2pvk":function(t,e,o){var a,s,n;(function(){(function(i,l){s=[e,o("aTn/"),o("U6ik"),o("18zt")],a=l,n="function"==typeof a?a.apply(e,s):a,!(void 0!==n&&(t.exports=n))})(this,function(t,e){"use strict";function o(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(t){return t&&t.__esModule?t:{default:t}}(e);t.default={name:"md-activity-indicator-carousel",components:o({},a.default.name,a.default),props:{size:{type:Number,default:30},color:{type:String,default:"#2F86F6"}},data:function(){return{circleAnimateValues:[[1,.8,.6,.6,.6,.8,1],[.6,.8,1,.8,.6,.6,.6],[.6,.6,.6,.8,1,.8,.6]]}},computed:{viewWidth:function(){var t=this.size,e=this.circleAnimateValues.length;return e*t+(e-1)*t/2},viewBox:function(){return"0 0 "+this.viewWidth+" "+this.size}}}})})(),t.exports.__esModule&&(t.exports=t.exports.default);var i="function"==typeof t.exports?t.exports.options:t.exports;i.render=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"md-activity-indicator-carousel"},[o("svg",{staticClass:"md-activity-indicator-svg carouseling",style:{width:t.viewWidth+"px",height:t.size+"px"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:t.viewBox,fill:t.color}},t._l(t.circleAnimateValues,function(e,a){return o("md-activity-indicator-carousel-circle",{key:"carousel-circle-"+a,attrs:{size:t.size,index:a,"animate-values":e}})}),1)])},i.staticRenderFns=[]},"2q+k":function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=e.info={title:"Toast",preview:"https://didi.github.io/mand-mobile/examples/#/toast"},a=e.body="<h3 id=\"Import\">Import<a href=\"javascript:jumpAnchor('Import')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><pre><code class=\"language-javascript\"><span class=\"hljs-keyword\">import</span> { Toast } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'mand-mobile'</span>\n\nToast.succeed(<span class=\"hljs-string\">'Good Job!'</span>)\n\n<span class=\"hljs-keyword\">this</span>.$toast.info(<span class=\"hljs-string\">'hint'</span>) <span class=\"hljs-comment\">// Totally Import</span></code></pre>\n<h3 id=\"Instruction\">Instruction<a href=\"javascript:jumpAnchor('Instruction')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h3 id=\"Code Examples\">Code Examples<a href=\"javascript:jumpAnchor('Code Examples')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><!-- DEMO -->\n\n<h3 id=\"API\">API<a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"Toast Static Methods\">Toast Static Method