Comparing version 0.1.16 to 0.1.17
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("mint-ui/lib/spinner")):"function"==typeof define&&define.amd?define("indicator",["vue","mint-ui/lib/spinner"],t):"object"==typeof exports?exports.indicator=t(require("vue"),require("mint-ui/lib/spinner")):(e.MINT=e.MINT||{},e.MINT.indicator=t(e.Vue,e["MINT.index.spinner"]))}(this,function(e,t){return function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){e.exports=n(200)},1:function(t,n){t.exports=e},191:function(e,t){e.exports="<div class=mint-indicator v-show=visible transition=mint-indicator> <div class=mint-indicator-wrapper :style=\"{ 'padding': text ? '20px' : '15px' }\"> <spinner class=mint-indicator-spin :type=convertedSpinnerType :size=32></spinner> <span class=mint-indicator-text v-show=text>{{ text }}</span> </div> <div class=mint-indicator-mask @touchmove.stop.prevent></div> </div>"},192:function(e,t,n){var i,o;n(214),i=n(212),o=n(191),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports["default"]),o&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=o)},200:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(1),r=i(o),s=r["default"].extend(n(192)),p=void 0,u=void 0;e.exports={open:function(e){p||(p=new s({el:document.createElement("div")})),p.visible||("string"==typeof e?(p.text=e,p.spinnerType="snake"):"[object Object]"===Object.prototype.toString.call(e)?(p.text=e.text||"",p.spinnerType=e.spinnerType||"snake"):(p.text="",p.spinnerType="snake"),p.$appendTo(document.body),u&&clearTimeout(u),r["default"].nextTick(function(){p.visible=!0}))},close:function(){p&&r["default"].nextTick(function(){p.visible=!1,u=setTimeout(function(){p.$el&&(p.$el.style.display="none")},400)})}}},212:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(222),r=i(o);t["default"]={data:function(){return{visible:!1}},components:{Spinner:r["default"]},computed:{convertedSpinnerType:function(){switch(this.spinnerType){case"double-bounce":return 1;case"triple-bounce":return 2;case"fading-circle":return 3;default:return 0}}},props:{text:String,spinnerType:{type:String,"default":"snake"}}}},214:function(e,t){},222:function(e,n){e.exports=t}})}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("mint-ui/lib/spinner")):"function"==typeof define&&define.amd?define("indicator",["vue","mint-ui/lib/spinner"],t):"object"==typeof exports?exports.indicator=t(require("vue"),require("mint-ui/lib/spinner")):(e.MINT=e.MINT||{},e.MINT.indicator=t(e.Vue,e["MINT.index.spinner"]))}(this,function(e,t){return function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){e.exports=n(200)},1:function(t,n){t.exports=e},191:function(e,t){e.exports="<div class=mint-indicator v-show=visible transition=mint-indicator> <div class=mint-indicator-wrapper :style=\"{ 'padding': text ? '20px' : '15px' }\"> <spinner class=mint-indicator-spin :type=convertedSpinnerType :size=32></spinner> <span class=mint-indicator-text v-show=text>{{ text }}</span> </div> <div class=mint-indicator-mask @touchmove.stop.prevent></div> </div>"},192:function(e,t,n){var i,o;n(214),i=n(212),o=n(191),e.exports=i||{},e.exports.__esModule&&(e.exports=e.exports["default"]),o&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=o)},200:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}var o=n(1),r=i(o),s=r["default"].extend(n(192)),p=void 0,u=void 0;e.exports={open:function(e){p||(p=new s({el:document.createElement("div")})),p.visible||("string"==typeof e?(p.text=e,p.spinnerType="snake"):"[object Object]"===Object.prototype.toString.call(e)?(p.text=e.text||"",p.spinnerType=e.spinnerType||"snake"):(p.text="",p.spinnerType="snake"),p.$appendTo(document.body),u&&clearTimeout(u),r["default"].nextTick(function(){p.visible=!0}))},close:function(){p&&r["default"].nextTick(function(){p.visible=!1,u=setTimeout(function(){p.$el&&(p.$el.style.display="none")},400)})}}},212:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(223),r=i(o);t["default"]={data:function(){return{visible:!1}},components:{Spinner:r["default"]},computed:{convertedSpinnerType:function(){switch(this.spinnerType){case"double-bounce":return 1;case"triple-bounce":return 2;case"fading-circle":return 3;default:return 0}}},props:{text:String,spinnerType:{type:String,"default":"snake"}}}},214:function(e,t){},223:function(e,n){e.exports=t}})}); |
{ | ||
"name": "mint-ui", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "Mobile UI elements for vue.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -22,2 +22,3 @@ import uppercamelcase from 'uppercamelcase'; | ||
import Indicator from 'packages/indicator/index.js'; | ||
import 'packages/indicator/lib/style.css'; | ||
import MessageBox from 'packages/message-box/index.js'; | ||
@@ -24,0 +25,0 @@ import 'vue-msgbox/lib/vue-msgbox.css'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
302005
366
2