sparta-ui 3.49.1 → 3.49.2
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.
- package/lib/epay/aside/index.css +1 -0
- package/lib/epay/aside/index.js +1 -0
- package/lib/epay/button/index.css +1 -0
- package/lib/epay/button/index.js +1 -0
- package/lib/epay/cascader/index.css +1 -0
- package/lib/epay/cascader/index.js +1 -0
- package/lib/epay/cascader-panel/index.css +1 -0
- package/lib/epay/cascader-panel/index.js +1 -0
- package/lib/epay/checkbox/index.css +1 -0
- package/lib/epay/checkbox/index.js +1 -0
- package/lib/epay/checkbox-group/index.css +1 -0
- package/lib/epay/checkbox-group/index.js +1 -0
- package/lib/epay/col/index.css +1 -0
- package/lib/epay/col/index.js +1 -0
- package/lib/epay/confirm/index.css +1 -0
- package/lib/epay/confirm/index.js +1 -0
- package/lib/epay/date-picker/index.css +1 -0
- package/lib/epay/date-picker/index.js +1 -0
- package/lib/epay/dropdown/index.css +1 -0
- package/lib/epay/dropdown/index.js +1 -0
- package/lib/epay/dropdown-item/index.css +1 -0
- package/lib/epay/dropdown-item/index.js +1 -0
- package/lib/epay/epay/font/iconfont.ttf +0 -0
- package/lib/epay/epay/font/iconfont.woff +0 -0
- package/lib/epay/epay/font/iconfont.woff2 +0 -0
- package/lib/epay/epay/img/loading-small.gif +0 -0
- package/lib/epay/epay/img/loading.gif +0 -0
- package/lib/epay/font/iconfont.ttf +0 -0
- package/lib/epay/font/iconfont.woff +0 -0
- package/lib/epay/font/iconfont.woff2 +0 -0
- package/lib/epay/footer/index.js +1 -0
- package/lib/epay/form/index.css +1 -0
- package/lib/epay/form/index.js +1 -0
- package/lib/epay/form-item/index.css +1 -0
- package/lib/epay/form-item/index.js +1 -0
- package/lib/epay/form-submit-btns/index.css +1 -0
- package/lib/epay/form-submit-btns/index.js +1 -0
- package/lib/epay/header/index.js +1 -0
- package/lib/epay/img/loading-small.gif +0 -0
- package/lib/epay/img/loading.gif +0 -0
- package/lib/epay/img-preview/index.css +1 -0
- package/lib/epay/img-preview/index.js +1 -0
- package/lib/epay/index.css +11339 -0
- package/lib/epay/index.js +38440 -0
- package/lib/epay/input/index.css +1 -0
- package/lib/epay/input/index.js +1 -0
- package/lib/epay/layout/index.css +1 -0
- package/lib/epay/layout/index.js +1 -0
- package/lib/epay/main/index.css +1 -0
- package/lib/epay/main/index.js +1 -0
- package/lib/epay/menu/index.css +1 -0
- package/lib/epay/menu/index.js +1 -0
- package/lib/epay/modal/index.css +1 -0
- package/lib/epay/modal/index.js +1 -0
- package/lib/epay/option/index.css +1 -0
- package/lib/epay/option/index.js +1 -0
- package/lib/epay/option-group/index.css +1 -0
- package/lib/epay/option-group/index.js +1 -0
- package/lib/epay/pagination/index.css +1 -0
- package/lib/epay/pagination/index.js +1 -0
- package/lib/epay/password-input/index.css +1 -0
- package/lib/epay/password-input/index.js +1 -0
- package/lib/epay/popup-tip/index.css +1 -0
- package/lib/epay/popup-tip/index.js +1 -0
- package/lib/epay/progress/index.css +1 -0
- package/lib/epay/progress/index.js +1 -0
- package/lib/epay/radio/index.css +1 -0
- package/lib/epay/radio/index.js +1 -0
- package/lib/epay/radio-button/index.css +1 -0
- package/lib/epay/radio-button/index.js +1 -0
- package/lib/epay/radio-group/index.css +1 -0
- package/lib/epay/radio-group/index.js +1 -0
- package/lib/epay/row/index.css +1 -0
- package/lib/epay/row/index.js +1 -0
- package/lib/epay/scrollbar/index.css +1 -0
- package/lib/epay/scrollbar/index.js +1 -0
- package/lib/epay/select/index.css +1 -0
- package/lib/epay/select/index.js +1 -0
- package/lib/epay/step/index.css +1 -0
- package/lib/epay/step/index.js +1 -0
- package/lib/epay/step-item/index.css +1 -0
- package/lib/epay/step-item/index.js +1 -0
- package/lib/epay/style/index.css +1 -0
- package/lib/epay/style/index.js +1 -0
- package/lib/epay/switch/index.css +1 -0
- package/lib/epay/switch/index.js +1 -0
- package/lib/epay/tab-pane/index.js +1 -0
- package/lib/epay/table/index.css +1 -0
- package/lib/epay/table/index.js +1 -0
- package/lib/epay/table-cell/index.js +1 -0
- package/lib/epay/table-column/index.js +1 -0
- package/lib/epay/tabs/index.css +1 -0
- package/lib/epay/tabs/index.js +1 -0
- package/lib/epay/tag/index.css +1 -0
- package/lib/epay/tag/index.js +1 -0
- package/lib/epay/time-picker/index.css +1 -0
- package/lib/epay/time-picker/index.js +1 -0
- package/lib/epay/time-select/index.css +1 -0
- package/lib/epay/time-select/index.js +1 -0
- package/lib/epay/toast/index.css +1 -0
- package/lib/epay/toast/index.js +1 -0
- package/lib/epay/tree/index.css +1 -0
- package/lib/epay/tree/index.js +1 -0
- package/lib/epay/upload/index.css +1 -0
- package/lib/epay/upload/index.js +1 -0
- package/lib/epay/upload-pro/index.css +1 -0
- package/lib/epay/upload-pro/index.js +1 -0
- package/lib/epay/window/index.css +1 -0
- package/lib/epay/window/index.js +1 -0
- package/lib/miniCashier/button/index.css +1 -0
- package/lib/miniCashier/button/index.js +1 -0
- package/lib/miniCashier/confirm/index.css +1 -0
- package/lib/miniCashier/confirm/index.js +1 -0
- package/lib/miniCashier/form/index.css +1 -0
- package/lib/miniCashier/form/index.js +1 -0
- package/lib/miniCashier/form-item/index.css +1 -0
- package/lib/miniCashier/form-item/index.js +1 -0
- package/lib/miniCashier/index.css +2135 -0
- package/lib/miniCashier/index.js +16874 -0
- package/lib/miniCashier/input/index.css +1 -0
- package/lib/miniCashier/input/index.js +1 -0
- package/lib/miniCashier/modal/index.css +1 -0
- package/lib/miniCashier/modal/index.js +1 -0
- package/lib/miniCashier/password-input/index.css +1 -0
- package/lib/miniCashier/password-input/index.js +1 -0
- package/lib/miniCashier/popup-tip/index.css +1 -0
- package/lib/miniCashier/popup-tip/index.js +1 -0
- package/lib/miniCashier/radio/index.css +1 -0
- package/lib/miniCashier/radio/index.js +1 -0
- package/lib/miniCashier/radio-group/index.css +1 -0
- package/lib/miniCashier/radio-group/index.js +1 -0
- package/lib/miniCashier/row/index.css +1 -0
- package/lib/miniCashier/row/index.js +1 -0
- package/lib/miniCashier/style/index.css +1 -0
- package/lib/miniCashier/style/index.js +1 -0
- package/lib/miniCashier/toast/index.css +1 -0
- package/lib/miniCashier/toast/index.js +1 -0
- package/lib/plusCashier/button/index.css +1 -0
- package/lib/plusCashier/button/index.js +1 -0
- package/lib/plusCashier/checkbox/index.css +1 -0
- package/lib/plusCashier/checkbox/index.js +1 -0
- package/lib/plusCashier/checkbox-group/index.css +1 -0
- package/lib/plusCashier/checkbox-group/index.js +1 -0
- package/lib/plusCashier/confirm/index.css +1 -0
- package/lib/plusCashier/confirm/index.js +1 -0
- package/lib/plusCashier/font/iconfont.ttf +0 -0
- package/lib/plusCashier/font/iconfont.woff +0 -0
- package/lib/plusCashier/font/iconfont.woff2 +0 -0
- package/lib/plusCashier/form/index.css +1 -0
- package/lib/plusCashier/form/index.js +1 -0
- package/lib/plusCashier/form-item/index.css +1 -0
- package/lib/plusCashier/form-item/index.js +1 -0
- package/lib/plusCashier/index.css +3001 -0
- package/lib/plusCashier/index.js +19379 -0
- package/lib/plusCashier/input/index.css +1 -0
- package/lib/plusCashier/input/index.js +1 -0
- package/lib/plusCashier/modal/index.css +1 -0
- package/lib/plusCashier/modal/index.js +1 -0
- package/lib/plusCashier/option/index.css +1 -0
- package/lib/plusCashier/option/index.js +1 -0
- package/lib/plusCashier/option-group/index.css +1 -0
- package/lib/plusCashier/option-group/index.js +1 -0
- package/lib/plusCashier/password-input/index.css +1 -0
- package/lib/plusCashier/password-input/index.js +1 -0
- package/lib/plusCashier/plusCashier/font/iconfont.ttf +0 -0
- package/lib/plusCashier/plusCashier/font/iconfont.woff +0 -0
- package/lib/plusCashier/plusCashier/font/iconfont.woff2 +0 -0
- package/lib/plusCashier/popup-tip/index.css +1 -0
- package/lib/plusCashier/popup-tip/index.js +1 -0
- package/lib/plusCashier/radio/index.css +1 -0
- package/lib/plusCashier/radio/index.js +1 -0
- package/lib/plusCashier/radio-group/index.css +1 -0
- package/lib/plusCashier/radio-group/index.js +1 -0
- package/lib/plusCashier/row/index.css +1 -0
- package/lib/plusCashier/row/index.js +1 -0
- package/lib/plusCashier/select/index.css +1 -0
- package/lib/plusCashier/select/index.js +1 -0
- package/lib/plusCashier/style/index.css +1 -0
- package/lib/plusCashier/style/index.js +1 -0
- package/lib/plusCashier/tag/index.css +1 -0
- package/lib/plusCashier/tag/index.js +1 -0
- package/lib/plusCashier/toast/index.css +1 -0
- package/lib/plusCashier/toast/index.js +1 -0
- package/lib/sdkBaoxue/index.css +12 -9
- package/lib/sdkBaoxue/input/index.css +1 -1
- package/lib/sdkBaoxue/password-input/index.css +1 -1
- package/lib/sdkBaoxue/select/index.css +1 -1
- package/lib/sdkBaoxue/style/index.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
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}})}));
|