gds-plus-design-vue 1.0.23 → 1.0.25
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/gd-initial.mjs +14 -13
- package/lib/gd-initial.umd.js +72 -72
- package/lib/{index.8c3514dc.mjs → index.fba2b43e.mjs} +9841 -6527
- package/lib/{main.7703d8d0.mjs → main.151417b3.mjs} +19 -11
- package/lib/style.css +2 -2
- package/locale/en_US.js +10 -1
- package/locale/id_ID.js +11 -1
- package/locale/vi_VN.js +10 -1
- package/locale/zh_CN.js +12 -2
- package/package.json +110 -104
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "vue";
|
|
2
|
-
import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as A, d as b, e as y, f as R } from "./index.
|
|
2
|
+
import { n, m as l, c as u, g as h, a as f, u as g, r as w, b as v, l as A, d as b, e as y, f as R } from "./index.fba2b43e.mjs";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "GdVerificationCode",
|
|
5
5
|
props: {
|
|
@@ -132,7 +132,9 @@ var x = function() {
|
|
|
132
132
|
var e = this, t = e._self._c;
|
|
133
133
|
return t("el-dialog", { attrs: { visible: e.visible, width: e.width, "before-close": e.close, "append-to-body": !0, "show-close": !1, center: !0, top: e.dialogTop }, on: { "update:visible": function(s) {
|
|
134
134
|
e.visible = s;
|
|
135
|
-
} } }, [t("div", { staticClass: "dialog-code" }, [t("el-form", { ref: "ruleForm", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top" }
|
|
135
|
+
} } }, [t("div", { staticClass: "dialog-code" }, [t("el-form", { ref: "ruleForm", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top" }, nativeOn: { submit: function(s) {
|
|
136
|
+
s.preventDefault();
|
|
137
|
+
} } }, [t("el-form-item", { staticStyle: { "margin-bottom": "0" }, attrs: { prop: "code", rules: [{ required: !0, message: e.$i18nt("gd.login.codeTip"), trigger: "blur" }] } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.login.codeTip") }, nativeOn: { keyup: function(s) {
|
|
136
138
|
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.save.apply(null, arguments);
|
|
137
139
|
} }, model: { value: e.ruleForm.code, callback: function(s) {
|
|
138
140
|
e.$set(e.ruleForm, "code", s);
|
|
@@ -143,7 +145,7 @@ var x = function() {
|
|
|
143
145
|
F,
|
|
144
146
|
!1,
|
|
145
147
|
null,
|
|
146
|
-
"
|
|
148
|
+
"3cfce932",
|
|
147
149
|
null,
|
|
148
150
|
null
|
|
149
151
|
);
|
|
@@ -382,7 +384,9 @@ var L = function() {
|
|
|
382
384
|
var e = this, t = e._self._c;
|
|
383
385
|
return t("div", [t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", attrs: { visible: e.visible, width: e.width, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px" }, on: { "update:visible": function(s) {
|
|
384
386
|
e.visible = s;
|
|
385
|
-
}, close: e.handleCancel } }, [t("template", { slot: "title" }, [t("div", { staticClass: "gd-dialog-head" }, [t("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.title))])])]), t("el-form", { ref: "ruleForm", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top" }
|
|
387
|
+
}, close: e.handleCancel } }, [t("template", { slot: "title" }, [t("div", { staticClass: "gd-dialog-head" }, [t("div", { staticClass: "dialog-head-title" }, [e._v(e._s(e.title))])])]), t("el-form", { ref: "ruleForm", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top" }, nativeOn: { submit: function(s) {
|
|
388
|
+
s.preventDefault();
|
|
389
|
+
} } }, [e.type != 3 ? t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticStyle: { margin: "10px 40px 20px" } }, [e.type == 1 ? t("span", { style: e.styleTitle }, [e._v(" " + e._s(e.loginTitle) + " ")]) : e._e(), !e.isShow && e.type == 2 ? e._e() : [t("el-form-item", { directives: [{ name: "show", rawName: "v-show", value: e.type == 1 || !e.isShow, expression: "type == 1 || !isShow" }], attrs: { label: e.$i18nt("gd.account.userName", "\u8D26\u53F7"), porp: "account", rules: [
|
|
386
390
|
{ required: !0, message: e.$i18nt("gd.account.userNameTip", "\u8BF7\u8F93\u5165\u8D26\u53F7") },
|
|
387
391
|
{ validator: e.handleUsernameOrEmail }
|
|
388
392
|
] } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.account.userNameTip", "\u8BF7\u8F93\u5165\u8D26\u53F7"), disabled: e.isShow, size: "medium" }, model: { value: e.ruleForm.account, callback: function(s) {
|
|
@@ -421,7 +425,7 @@ var L = function() {
|
|
|
421
425
|
k,
|
|
422
426
|
!1,
|
|
423
427
|
null,
|
|
424
|
-
"
|
|
428
|
+
"036a57bd",
|
|
425
429
|
null,
|
|
426
430
|
null
|
|
427
431
|
);
|
|
@@ -573,7 +577,9 @@ var V = function() {
|
|
|
573
577
|
var e = this, t = e._self._c;
|
|
574
578
|
return t("el-dialog", { directives: [{ name: "drag", rawName: "v-drag" }], ref: "dialog", attrs: { visible: e.visible, width: e.titleWidth, center: !0, "close-on-click-modal": !1, "append-to-body": !0, "modal-append-to-body": !1, top: "80px" }, on: { "update:visible": function(s) {
|
|
575
579
|
e.visible = s;
|
|
576
|
-
}, closed: e.handleCancel } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "main", style: e.style }, [e.num == 1 ? t("div", { ref: "wx_qrcode", staticStyle: { height: "380px" }, attrs: { id: "wx_qrcode" } }) : e.num == 2 ? t("div", [t("el-form", { ref: "ruleForm", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top" }
|
|
580
|
+
}, closed: e.handleCancel } }, [t("div", { directives: [{ name: "loading", rawName: "v-loading", value: e.confirmLoading, expression: "confirmLoading" }], staticClass: "main", style: e.style }, [e.num == 1 ? t("div", { ref: "wx_qrcode", staticStyle: { height: "380px" }, attrs: { id: "wx_qrcode" } }) : e.num == 2 ? t("div", [t("el-form", { ref: "ruleForm", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top" }, nativeOn: { submit: function(s) {
|
|
581
|
+
s.preventDefault();
|
|
582
|
+
} } }, [t("a-form-item", { attrs: { label: e.$i18nt("gd.system.account.loginID"), prop: "account", rules: [
|
|
577
583
|
{ required: !0, message: e.$i18nt("gd.account.userNameTip", "\u8BF7\u8F93\u5165\u8D26\u53F7") },
|
|
578
584
|
{ validator: e.handleUsernameOrEmail }
|
|
579
585
|
] } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.account.userNameTip", "\u8BF7\u8F93\u5165\u8D26\u53F7") }, model: { value: e.ruleForm.account, callback: function(s) {
|
|
@@ -587,7 +593,7 @@ var V = function() {
|
|
|
587
593
|
Z,
|
|
588
594
|
!1,
|
|
589
595
|
null,
|
|
590
|
-
"
|
|
596
|
+
"8400fc32",
|
|
591
597
|
null,
|
|
592
598
|
null
|
|
593
599
|
);
|
|
@@ -600,8 +606,8 @@ const M = {
|
|
|
600
606
|
customActiveKey: "paw",
|
|
601
607
|
accountLoginErrMsg: "",
|
|
602
608
|
ruleForm: {
|
|
603
|
-
account: "
|
|
604
|
-
password: "
|
|
609
|
+
account: "",
|
|
610
|
+
password: "",
|
|
605
611
|
checked: !1
|
|
606
612
|
},
|
|
607
613
|
enterpriseNum: 1,
|
|
@@ -873,7 +879,9 @@ const M = {
|
|
|
873
879
|
};
|
|
874
880
|
var B = function() {
|
|
875
881
|
var e = this, t = e._self._c;
|
|
876
|
-
return t("div", { staticClass: "main", style: e.style }, [t("div", { staticClass: "mode" }, [t("div", { staticClass: "item", class: e.customActiveKey === "paw" ? "item-active" : "item-noactive" }, [e._v(" " + e._s(e.$i18nt("gd.login.title")) + " ")]), t("div", { staticClass: "error" }, [e.isLoginError ? t("el-alert", { attrs: { title: e.accountLoginErrMsg, type: "error", "show-icon": "", closable: !1 } }) : e._e()], 1)]), t("el-form", { ref: "ruleForm", staticClass: "user-login", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top", id: "formLogin" }
|
|
882
|
+
return t("div", { staticClass: "main", style: e.style }, [t("div", { staticClass: "mode" }, [t("div", { staticClass: "item", class: e.customActiveKey === "paw" ? "item-active" : "item-noactive" }, [e._v(" " + e._s(e.$i18nt("gd.login.title")) + " ")]), t("div", { staticClass: "error" }, [e.isLoginError ? t("el-alert", { attrs: { title: e.accountLoginErrMsg, type: "error", "show-icon": "", closable: !1 } }) : e._e()], 1)]), t("el-form", { ref: "ruleForm", staticClass: "user-login", attrs: { model: e.ruleForm, "label-width": "100px", "label-position": "top", id: "formLogin" }, nativeOn: { submit: function(s) {
|
|
883
|
+
s.preventDefault();
|
|
884
|
+
} } }, [t("el-form-item", { staticStyle: { height: "96px", "margin-bottom": "0" }, attrs: { prop: "account", rules: [{ required: !0, message: e.$i18nt("gd.login.accountTip"), trigger: "blur" }] } }, [t("el-input", { attrs: { placeholder: e.$i18nt("gd.login.accountTip") }, nativeOn: { keyup: function(s) {
|
|
877
885
|
return !s.type.indexOf("key") && e._k(s.keyCode, "enter", 13, s.key, "Enter") ? null : e.submitForm.apply(null, arguments);
|
|
878
886
|
} }, model: { value: e.ruleForm.account, callback: function(s) {
|
|
879
887
|
e.$set(e.ruleForm, "account", s);
|
|
@@ -892,7 +900,7 @@ var B = function() {
|
|
|
892
900
|
O,
|
|
893
901
|
!1,
|
|
894
902
|
null,
|
|
895
|
-
"
|
|
903
|
+
"43600593",
|
|
896
904
|
null,
|
|
897
905
|
null
|
|
898
906
|
);
|