sparta-ui 3.48.0 → 3.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/lib/model/ModalManage.js +1 -1
  2. package/lib/model/PopManage.js +1 -1
  3. package/lib/sdkBaoxue/button/index.css +1 -0
  4. package/lib/{plusCashier → sdkBaoxue}/button/index.js +1 -1
  5. package/lib/sdkBaoxue/checkbox/index.css +1 -0
  6. package/lib/{plusCashier → sdkBaoxue}/checkbox/index.js +1 -1
  7. package/lib/{plusCashier → sdkBaoxue}/checkbox-group/index.js +1 -1
  8. package/lib/sdkBaoxue/confirm/index.css +1 -0
  9. package/lib/{plusCashier → sdkBaoxue}/confirm/index.js +1 -1
  10. package/lib/{plusCashier → sdkBaoxue}/form/index.css +1 -1
  11. package/lib/{plusCashier → sdkBaoxue}/form/index.js +1 -1
  12. package/lib/sdkBaoxue/form-item/index.css +1 -0
  13. package/lib/{plusCashier → sdkBaoxue}/form-item/index.js +1 -1
  14. package/lib/{plusCashier → sdkBaoxue}/index.css +300 -213
  15. package/lib/{plusCashier → sdkBaoxue}/index.js +574 -564
  16. package/lib/sdkBaoxue/input/index.css +1 -0
  17. package/lib/{plusCashier → sdkBaoxue}/input/index.js +1 -1
  18. package/lib/sdkBaoxue/modal/index.css +1 -0
  19. package/lib/sdkBaoxue/option/index.css +1 -0
  20. package/lib/{plusCashier → sdkBaoxue}/option/index.js +1 -1
  21. package/lib/{epay → sdkBaoxue}/option-group/index.css +1 -1
  22. package/lib/{plusCashier → sdkBaoxue}/option-group/index.js +1 -1
  23. package/lib/sdkBaoxue/password-input/index.css +1 -0
  24. package/lib/{plusCashier → sdkBaoxue}/password-input/index.js +1 -1
  25. package/lib/sdkBaoxue/popup-tip/index.css +1 -0
  26. package/lib/{plusCashier → sdkBaoxue}/popup-tip/index.js +1 -1
  27. package/lib/sdkBaoxue/radio/index.css +1 -0
  28. package/lib/{plusCashier → sdkBaoxue}/radio/index.js +1 -1
  29. package/lib/{plusCashier → sdkBaoxue}/radio-group/index.js +1 -1
  30. package/lib/{plusCashier → sdkBaoxue}/row/index.js +1 -1
  31. package/lib/sdkBaoxue/select/index.css +1 -0
  32. package/lib/{plusCashier → sdkBaoxue}/select/index.js +1 -1
  33. package/lib/sdkBaoxue/style/index.css +1 -0
  34. package/lib/{plusCashier → sdkBaoxue}/style/index.js +1 -1
  35. package/lib/{epay → sdkBaoxue}/tag/index.css +1 -1
  36. package/lib/{plusCashier → sdkBaoxue}/tag/index.js +1 -1
  37. package/lib/sdkBaoxue/toast/index.css +1 -0
  38. package/lib/{plusCashier → sdkBaoxue}/toast/index.js +1 -1
  39. package/package.json +5 -2
  40. package/lib/epay/aside/index.css +0 -1
  41. package/lib/epay/aside/index.js +0 -1
  42. package/lib/epay/button/index.css +0 -1
  43. package/lib/epay/button/index.js +0 -1
  44. package/lib/epay/cascader/index.css +0 -1
  45. package/lib/epay/cascader/index.js +0 -1
  46. package/lib/epay/cascader-panel/index.css +0 -1
  47. package/lib/epay/cascader-panel/index.js +0 -1
  48. package/lib/epay/checkbox/index.css +0 -1
  49. package/lib/epay/checkbox/index.js +0 -1
  50. package/lib/epay/checkbox-group/index.js +0 -1
  51. package/lib/epay/col/index.css +0 -1
  52. package/lib/epay/col/index.js +0 -1
  53. package/lib/epay/confirm/index.css +0 -1
  54. package/lib/epay/confirm/index.js +0 -1
  55. package/lib/epay/date-picker/index.css +0 -1
  56. package/lib/epay/date-picker/index.js +0 -1
  57. package/lib/epay/dropdown/index.css +0 -1
  58. package/lib/epay/dropdown/index.js +0 -1
  59. package/lib/epay/dropdown-item/index.css +0 -1
  60. package/lib/epay/dropdown-item/index.js +0 -1
  61. package/lib/epay/epay/font/iconfont.ttf +0 -0
  62. package/lib/epay/epay/font/iconfont.woff +0 -0
  63. package/lib/epay/epay/font/iconfont.woff2 +0 -0
  64. package/lib/epay/epay/img/loading-small.gif +0 -0
  65. package/lib/epay/epay/img/loading.gif +0 -0
  66. package/lib/epay/font/iconfont.ttf +0 -0
  67. package/lib/epay/font/iconfont.woff +0 -0
  68. package/lib/epay/font/iconfont.woff2 +0 -0
  69. package/lib/epay/footer/index.js +0 -1
  70. package/lib/epay/form/index.css +0 -1
  71. package/lib/epay/form/index.js +0 -1
  72. package/lib/epay/form-item/index.css +0 -1
  73. package/lib/epay/form-item/index.js +0 -1
  74. package/lib/epay/form-submit-btns/index.css +0 -1
  75. package/lib/epay/form-submit-btns/index.js +0 -1
  76. package/lib/epay/header/index.js +0 -1
  77. package/lib/epay/img/loading-small.gif +0 -0
  78. package/lib/epay/img/loading.gif +0 -0
  79. package/lib/epay/img-preview/index.css +0 -1
  80. package/lib/epay/img-preview/index.js +0 -1
  81. package/lib/epay/index.css +0 -11338
  82. package/lib/epay/index.js +0 -38440
  83. package/lib/epay/input/index.css +0 -1
  84. package/lib/epay/input/index.js +0 -1
  85. package/lib/epay/layout/index.css +0 -1
  86. package/lib/epay/layout/index.js +0 -1
  87. package/lib/epay/main/index.css +0 -1
  88. package/lib/epay/main/index.js +0 -1
  89. package/lib/epay/menu/index.css +0 -1
  90. package/lib/epay/menu/index.js +0 -1
  91. package/lib/epay/modal/index.css +0 -1
  92. package/lib/epay/modal/index.js +0 -1
  93. package/lib/epay/option/index.css +0 -1
  94. package/lib/epay/option/index.js +0 -1
  95. package/lib/epay/option-group/index.js +0 -1
  96. package/lib/epay/pagination/index.css +0 -1
  97. package/lib/epay/pagination/index.js +0 -1
  98. package/lib/epay/password-input/index.css +0 -1
  99. package/lib/epay/password-input/index.js +0 -1
  100. package/lib/epay/popup-tip/index.css +0 -1
  101. package/lib/epay/popup-tip/index.js +0 -1
  102. package/lib/epay/progress/index.css +0 -1
  103. package/lib/epay/progress/index.js +0 -1
  104. package/lib/epay/radio/index.css +0 -1
  105. package/lib/epay/radio/index.js +0 -1
  106. package/lib/epay/radio-button/index.css +0 -1
  107. package/lib/epay/radio-button/index.js +0 -1
  108. package/lib/epay/radio-group/index.js +0 -1
  109. package/lib/epay/row/index.js +0 -1
  110. package/lib/epay/scrollbar/index.css +0 -1
  111. package/lib/epay/scrollbar/index.js +0 -1
  112. package/lib/epay/select/index.css +0 -1
  113. package/lib/epay/select/index.js +0 -1
  114. package/lib/epay/step/index.css +0 -1
  115. package/lib/epay/step/index.js +0 -1
  116. package/lib/epay/step-item/index.css +0 -1
  117. package/lib/epay/step-item/index.js +0 -1
  118. package/lib/epay/style/index.css +0 -1
  119. package/lib/epay/style/index.js +0 -1
  120. package/lib/epay/switch/index.css +0 -1
  121. package/lib/epay/switch/index.js +0 -1
  122. package/lib/epay/tab-pane/index.js +0 -1
  123. package/lib/epay/table/index.css +0 -1
  124. package/lib/epay/table/index.js +0 -1
  125. package/lib/epay/table-cell/index.js +0 -1
  126. package/lib/epay/table-column/index.js +0 -1
  127. package/lib/epay/tabs/index.css +0 -1
  128. package/lib/epay/tabs/index.js +0 -1
  129. package/lib/epay/tag/index.js +0 -1
  130. package/lib/epay/time-picker/index.css +0 -1
  131. package/lib/epay/time-picker/index.js +0 -1
  132. package/lib/epay/time-select/index.css +0 -1
  133. package/lib/epay/time-select/index.js +0 -1
  134. package/lib/epay/toast/index.css +0 -1
  135. package/lib/epay/toast/index.js +0 -1
  136. package/lib/epay/tree/index.css +0 -1
  137. package/lib/epay/tree/index.js +0 -1
  138. package/lib/epay/upload/index.css +0 -1
  139. package/lib/epay/upload/index.js +0 -1
  140. package/lib/epay/upload-pro/index.css +0 -1
  141. package/lib/epay/upload-pro/index.js +0 -1
  142. package/lib/epay/window/index.css +0 -1
  143. package/lib/epay/window/index.js +0 -1
  144. package/lib/miniCashier/button/index.css +0 -1
  145. package/lib/miniCashier/button/index.js +0 -1
  146. package/lib/miniCashier/confirm/index.css +0 -1
  147. package/lib/miniCashier/confirm/index.js +0 -1
  148. package/lib/miniCashier/form/index.css +0 -1
  149. package/lib/miniCashier/form/index.js +0 -1
  150. package/lib/miniCashier/form-item/index.css +0 -1
  151. package/lib/miniCashier/form-item/index.js +0 -1
  152. package/lib/miniCashier/index.css +0 -2134
  153. package/lib/miniCashier/index.js +0 -16874
  154. package/lib/miniCashier/input/index.css +0 -1
  155. package/lib/miniCashier/input/index.js +0 -1
  156. package/lib/miniCashier/modal/index.css +0 -1
  157. package/lib/miniCashier/modal/index.js +0 -1
  158. package/lib/miniCashier/password-input/index.css +0 -1
  159. package/lib/miniCashier/password-input/index.js +0 -1
  160. package/lib/miniCashier/popup-tip/index.css +0 -1
  161. package/lib/miniCashier/popup-tip/index.js +0 -1
  162. package/lib/miniCashier/radio/index.css +0 -1
  163. package/lib/miniCashier/radio/index.js +0 -1
  164. package/lib/miniCashier/radio-group/index.css +0 -1
  165. package/lib/miniCashier/radio-group/index.js +0 -1
  166. package/lib/miniCashier/row/index.css +0 -1
  167. package/lib/miniCashier/row/index.js +0 -1
  168. package/lib/miniCashier/style/index.css +0 -1
  169. package/lib/miniCashier/style/index.js +0 -1
  170. package/lib/miniCashier/toast/index.css +0 -1
  171. package/lib/miniCashier/toast/index.js +0 -1
  172. package/lib/plusCashier/button/index.css +0 -1
  173. package/lib/plusCashier/checkbox/index.css +0 -1
  174. package/lib/plusCashier/checkbox-group/index.css +0 -1
  175. package/lib/plusCashier/confirm/index.css +0 -1
  176. package/lib/plusCashier/form-item/index.css +0 -1
  177. package/lib/plusCashier/input/index.css +0 -1
  178. package/lib/plusCashier/modal/index.css +0 -1
  179. package/lib/plusCashier/option/index.css +0 -1
  180. package/lib/plusCashier/option-group/index.css +0 -1
  181. package/lib/plusCashier/password-input/index.css +0 -1
  182. package/lib/plusCashier/popup-tip/index.css +0 -1
  183. package/lib/plusCashier/radio/index.css +0 -1
  184. package/lib/plusCashier/radio-group/index.css +0 -1
  185. package/lib/plusCashier/row/index.css +0 -1
  186. package/lib/plusCashier/select/index.css +0 -1
  187. package/lib/plusCashier/style/index.css +0 -1
  188. package/lib/plusCashier/tag/index.css +0 -1
  189. package/lib/plusCashier/toast/index.css +0 -1
  190. /package/lib/{epay → sdkBaoxue}/checkbox-group/index.css +0 -0
  191. /package/lib/{plusCashier → sdkBaoxue}/font/iconfont.ttf +0 -0
  192. /package/lib/{plusCashier → sdkBaoxue}/font/iconfont.woff +0 -0
  193. /package/lib/{plusCashier → sdkBaoxue}/font/iconfont.woff2 +0 -0
  194. /package/lib/{plusCashier → sdkBaoxue}/modal/index.js +0 -0
  195. /package/lib/{epay → sdkBaoxue}/radio-group/index.css +0 -0
  196. /package/lib/{epay → sdkBaoxue}/row/index.css +0 -0
  197. /package/lib/{plusCashier/plusCashier → sdkBaoxue/sdkBaoxue}/font/iconfont.ttf +0 -0
  198. /package/lib/{plusCashier/plusCashier → sdkBaoxue/sdkBaoxue}/font/iconfont.woff +0 -0
  199. /package/lib/{plusCashier/plusCashier → sdkBaoxue/sdkBaoxue}/font/iconfont.woff2 +0 -0
@@ -1 +0,0 @@
1
- .sp-img-preview{background-color:rgba(41,46,51,.6);bottom:0;left:0;position:fixed;right:0;top:0}.sp-img-preview img{height:auto;width:auto}.sp-img-preview__img-box{height:90%;width:calc(100% - 105px)}.sp-img-preview__img-box,.sp-img-preview__img-box img{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.sp-img-preview__close{background:#4e4e52;border-radius:50%;color:#fff;cursor:pointer;font-size:0;height:37px;line-height:37px;position:absolute;right:15px;text-align:center;top:15px;width:37px}.sp-img-preview__close i{font-size:16px}
@@ -1 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("sparta-ui/lib/model/PopManage")):"function"==typeof define&&define.amd?define("img-preview",["vue","sparta-ui/lib/model/PopManage"],t):"object"==typeof exports?exports["img-preview"]=t(require("vue"),require("sparta-ui/lib/model/PopManage")):e["img-preview"]=t(e.Vue,e["sparta-ui/lib/model/PopManage"])}(this,(function(e,t){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=611)}({119:function(e,n){e.exports=t},18:function(e,t,n){"use strict";function i(e,t,n,i,r,o,s,a){var u,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=u):r&&(u=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},452:function(e,t,n){},553:function(e,t,n){"use strict";n(452)},611:function(e,t,n){"use strict";n.r(t);var i=n(89),r=n.n(i),o=function(){var e=this._self._c;return e("transition",{attrs:{name:"sp-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"sp-img-preview",style:{"z-index":this.zIndex},on:{click:this.handleClose}},[e("div",{staticClass:"sp-img-preview__close"},[e("i",{staticClass:"sp-icon-close"})]),this._v(" "),e("div",{staticClass:"sp-img-preview__img-box"},[e("img",{ref:"image",style:this.imageStyle,attrs:{src:this.imgUrl,alt:""},on:{click:function(e){e.stopPropagation()},load:this.handleImageLoadEvent}})])])])};o._withStripped=!0;var s={name:"SpImgPreview",data:function(){return{imgUrl:"",visible:!1,zIndex:1,imageStyle:{}}},methods:{handleClose:function(){this.visible=!1},handleImageLoadEvent:function(){var e=this.$refs.image||{},t=e.width,n=e.height,i=window,r=i.innerWidth,o=i.innerHeight;this.imageStyle=r/o>t/n?{height:"100%"}:{width:"100%"}}}},a=(n(553),n(18)),u=Object(a.a)(s,o,[],!1,null,null,null).exports,l=n(119),c=n.n(l),d=r.a.extend(u),f=function(){var e=new d;return e.vm=e.$mount(),document.body.appendChild(e.vm.$el),function(t){e.vm.imgUrl=t;var n=c.a.getInstance();e.vm.zIndex=n.getZIndex(),e.vm.visible=!0}};t.default=f},89:function(t,n){t.exports=e}})}));