eoss-ui 0.4.26 → 0.4.28
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/eoss-ui.common.js +206 -49
- package/lib/form.js +142 -2
- package/lib/handler.js +5 -7
- package/lib/icon.js +3 -3
- package/lib/index.js +1 -1
- package/lib/login.js +23 -6
- package/lib/theme-chalk/icons.css +1 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/upload.js +10 -8
- package/package.json +1 -1
- package/packages/form/src/main.vue +28 -0
- package/packages/handler/src/main.vue +11 -16
- package/packages/icon/src/main.vue +1 -1
- package/packages/login/src/main.vue +19 -4
- package/packages/theme-chalk/lib/icons.css +1 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/{es-icon.scss → icons.scss} +1 -1
- package/packages/theme-chalk/src/login.scss +3 -0
- package/packages/upload/src/main.vue +7 -3
- package/src/index.js +1 -1
- package/lib/theme-chalk/es-icon.css +0 -1
- package/packages/theme-chalk/lib/es-icon.css +0 -1
package/lib/login.js
CHANGED
|
@@ -2774,7 +2774,7 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
|
|
|
2774
2774
|
// ESM COMPAT FLAG
|
|
2775
2775
|
__webpack_require__.r(__webpack_exports__);
|
|
2776
2776
|
|
|
2777
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=
|
|
2777
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=f634d8fc&
|
|
2778
2778
|
var render = function () {
|
|
2779
2779
|
var _vm = this
|
|
2780
2780
|
var _h = _vm.$createElement
|
|
@@ -3491,14 +3491,17 @@ var render = function () {
|
|
|
3491
3491
|
? _c("div", { staticClass: "es-login-icp" }, [
|
|
3492
3492
|
_c(
|
|
3493
3493
|
"span",
|
|
3494
|
-
{
|
|
3494
|
+
{
|
|
3495
|
+
staticClass: "es-login-icp-item",
|
|
3496
|
+
style: _vm._copyrightStyle,
|
|
3497
|
+
},
|
|
3495
3498
|
[_vm._v(_vm._s(_vm.icpInfo.copyright_unit))]
|
|
3496
3499
|
),
|
|
3497
3500
|
_c(
|
|
3498
3501
|
"a",
|
|
3499
3502
|
{
|
|
3500
3503
|
staticClass: "es-login-icp-item",
|
|
3501
|
-
style: _vm.
|
|
3504
|
+
style: _vm._copyrightStyle,
|
|
3502
3505
|
attrs: {
|
|
3503
3506
|
target: "_blank",
|
|
3504
3507
|
href: _vm.icpInfo.copyright_icp_url,
|
|
@@ -3572,7 +3575,7 @@ var staticRenderFns = []
|
|
|
3572
3575
|
render._withStripped = true
|
|
3573
3576
|
|
|
3574
3577
|
|
|
3575
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
3578
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=f634d8fc&
|
|
3576
3579
|
|
|
3577
3580
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=669156c6&
|
|
3578
3581
|
var resetPasswordvue_type_template_id_669156c6_render = function () {
|
|
@@ -4425,7 +4428,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
4425
4428
|
type: Boolean,
|
|
4426
4429
|
default: true
|
|
4427
4430
|
},
|
|
4428
|
-
|
|
4431
|
+
copyrightStyle: {
|
|
4429
4432
|
type: Object,
|
|
4430
4433
|
default: function _default() {
|
|
4431
4434
|
return { color: '#ffffff' };
|
|
@@ -4542,6 +4545,12 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
4542
4545
|
icon.push(_this.iconfonts[item]);
|
|
4543
4546
|
});
|
|
4544
4547
|
return icon;
|
|
4548
|
+
},
|
|
4549
|
+
_copyrightStyle: function _copyrightStyle() {
|
|
4550
|
+
var style = {};
|
|
4551
|
+
this.copyrightBgColor && (style['background-color'] = this.copyrightBgColor);
|
|
4552
|
+
this.copyrightColor && (style['color'] = this.copyrightColor);
|
|
4553
|
+
return mainvue_type_script_lang_js_extends({}, this.copyrightStyle, style);
|
|
4545
4554
|
}
|
|
4546
4555
|
},
|
|
4547
4556
|
watch: {
|
|
@@ -4630,7 +4639,9 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
4630
4639
|
timer: null,
|
|
4631
4640
|
countdown: 0,
|
|
4632
4641
|
code: null,
|
|
4633
|
-
defaultModel: JSON.parse(JSON.stringify(this.model))
|
|
4642
|
+
defaultModel: JSON.parse(JSON.stringify(this.model)),
|
|
4643
|
+
copyrightColor: null,
|
|
4644
|
+
copyrightBgColor: null
|
|
4634
4645
|
};
|
|
4635
4646
|
},
|
|
4636
4647
|
created: function created() {
|
|
@@ -4838,6 +4849,12 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
4838
4849
|
if (res.subsystemExtend.loginBoxAlign && this.useResults) {
|
|
4839
4850
|
this.align = res.subsystemExtend.loginBoxAlign;
|
|
4840
4851
|
}
|
|
4852
|
+
if (res.subsystemExtend.copyrightColor) {
|
|
4853
|
+
this.copyrightColor = res.subsystemExtend.copyrightColor;
|
|
4854
|
+
}
|
|
4855
|
+
if (res.subsystemExtend.copyrightBackgroundColor) {
|
|
4856
|
+
this.copyrightBgColor = res.subsystemExtend.copyrightBackgroundColor;
|
|
4857
|
+
}
|
|
4841
4858
|
if (res.subsystemExtend.themeColor) {
|
|
4842
4859
|
util["a" /* default */].updateTheme(res.subsystemExtend.themeColor);
|
|
4843
4860
|
localStorage.setItem('theme', res.subsystemExtend.themeColor);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.es-icons{display:inline-block}.es-icons.es-icon-readonly{-webkit-appearance:none;background-color:#fff;background-image:none;border-radius:3px;border:1px solid #d9d9d9;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);display:inline-block;font-size:inherit;height:40px;line-height:40px;outline:0;padding:0 15px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;position:relative}.es-icons .el-input-group__prepend{width:auto;line-height:38px;position:absolute;z-index:3;left:2px;top:2px;right:62px;bottom:2px;border:0;background-color:#fff;padding:0 12px}.es-icons .es-iconfont{color:#606266;font-size:20px}.es-icons .el-input__inner{border-radius:3px!important;color:transparent;padding-right:60px}.es-icons .el-input__suffix{height:auto;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.es-icon-list{clear:both;overflow:hidden;list-style:none;padding:0!important;border:1px solid #eaeefb;border-radius:4px}.es-icon-list li{float:left;width:148px;text-align:center;height:120px;line-height:120px;color:#666;font-size:13px;border-right:1px solid #eee;border-bottom:1px solid #eee;margin-right:-1px;margin-bottom:-1px;-webkit-box-sizing:border-box;box-sizing:border-box}.es-icon-list li span{display:inline-block;line-height:normal;vertical-align:middle;font-family:'Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',SimSun,sans-serif;color:#99a9bf;-webkit-transition:color .15s linear;transition:color .15s linear}.es-icon-list li i{display:block;font-size:32px;margin-bottom:15px;color:#606266;-webkit-transition:color .15s linear;transition:color .15s linear}.es-icon-list li .icon-name{display:inline-block;padding:0 3px;height:1em}.es-icon-list li:hover i,.es-icon-list li:hover span{color:#5cb6ff}
|