@jeecg/online 3.9.0-beta → 3.9.1-RC

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 (171) hide show
  1. package/{AccountLoginForm-cbc75a49.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
  2. package/{AiModal-5bec5218.mjs → AiModal-BgVzn074.mjs} +18 -20
  3. package/{AppForgetPassword-dbc8377e.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
  4. package/AppLogin-BMBmx2oq.mjs +272 -0
  5. package/AppLoginHeader-BtKXOMRR.mjs +23 -0
  6. package/{AppNameEmail-7c6a1406.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
  7. package/{AppRegister-29a00a9d.mjs → AppRegister-C5iH-245.mjs} +33 -37
  8. package/{AppTenant-92890383.mjs → AppTenant-etPXeUcW.mjs} +49 -55
  9. package/AppThirdForm-NMob-JaS.mjs +185 -0
  10. package/AuthButtonConfig-zUioaGwn.mjs +155 -0
  11. package/AuthButtonTree-DYZwphe6.mjs +159 -0
  12. package/{AuthDataConfig-c978c469.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
  13. package/AuthDataTree-Cr28_YKx.mjs +134 -0
  14. package/{AuthFieldConfig-558283bc.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
  15. package/{AuthFieldTree-106db4e2.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
  16. package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
  17. package/{AuthSetterModal-90a76886.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
  18. package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
  19. package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
  20. package/{CgformAddressModal-690b8940.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
  21. package/CgformCopyList-7e96RMbJ.mjs +176 -0
  22. package/{CgformModal-b04a492a.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
  23. package/{CgreportAigcModal-8fdcbd31.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
  24. package/{CgreportModal-da62724c.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
  25. package/{CheckDictTable-7320189b.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
  26. package/{CodeFileListModal-e5ec210d.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
  27. package/{CodeFileViewModal-09053f3a.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
  28. package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
  29. package/{CustomButtonList-704e6d1c.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
  30. package/{DBAttributeTable-4a65c897.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
  31. package/{DbToOnlineModal-cc398c70.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
  32. package/DetailForm-CnfJBMys.mjs +472 -0
  33. package/{DropMenuItem-884f9464.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
  34. package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
  35. package/{EnhanceJsHistory-95ca545c.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
  36. package/{EnhanceJsModal-742b0ee2.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
  37. package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
  38. package/ErrorTip-BDS1uxkW.mjs +4 -0
  39. package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
  40. package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
  41. package/{FieldExtendJsonModal-fe7f7902.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
  42. package/{FileSelectModal-cf41604b.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
  43. package/{ForeignKeyTable-4a59ded1.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
  44. package/{IndexTable-87d67830.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
  45. package/JModalTip-DHrn6ksJ.mjs +46 -0
  46. package/{JOnlineSearchSelect-d8c57973.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
  47. package/{LeftDepart-463bf432.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
  48. package/{LeftRole-1631d3d4.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
  49. package/{LeftUser-5774a5db.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
  50. package/{LinkTableConfigModal-1bab1423.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
  51. package/{LinkTableFieldConfigModal-49470140.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
  52. package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
  53. package/{ModalFormDemo-dbd0aa28.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
  54. package/{OnlCgformErpList-35ad1d6e.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -200
  55. package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
  56. package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
  57. package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
  58. package/OnlCgformTabList-DCy3oudh.mjs +371 -0
  59. package/OnlineAutoList-C4pkORGb.mjs +500 -0
  60. package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
  61. package/{OnlineAutoTreeList-5153f09d.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -182
  62. package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
  63. package/OnlineDetailModal-So0YEah1.mjs +160 -0
  64. package/{OnlineForm-20604e4f.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -74
  65. package/OnlineFormDetail-KaD6cV31.mjs +321 -0
  66. package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
  67. package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
  68. package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
  69. package/{OnlineFormUrlSuccess-302ecb21.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
  70. package/{OnlineQueryForm-5eeceb51.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -168
  71. package/{OnlineSearchFormItem-5536a1a6.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
  72. package/{OnlineSelectCascade-180e8c9a.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
  73. package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
  74. package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
  75. package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
  76. package/{OnlineTabForm-827e7089.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -254
  77. package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
  78. package/{PageAttributeTable-5703e2f1.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
  79. package/{PhoneLoginForm-15dc68ed.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
  80. package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
  81. package/{QueryTable-26c9ee22.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
  82. package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
  83. package/ShareAddView-CxZuNTQB.mjs +11 -0
  84. package/ShareEditView-Dqdzjmpc.mjs +17 -0
  85. package/ShareView-B9TiMmkR.mjs +4 -0
  86. package/{ShareView.vue_vue_type_script_setup_true_lang-d1597c0d.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
  87. package/SingleView-BDXeMLV-.mjs +4 -0
  88. package/{SingleView.vue_vue_type_style_index_0_lang-914483d0.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
  89. package/{SuperQuery-c95f86ee.mjs → SuperQuery-CgkajEWI.mjs} +342 -371
  90. package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
  91. package/TaskOpinionList-C8rcU6ee.mjs +10 -0
  92. package/{aiModal-b44fa135.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
  93. package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
  94. package/index-0kQBIHx0.mjs +58 -0
  95. package/{index-02f6dc7d.mjs → index-B1H394jP.mjs} +35 -38
  96. package/index-CXD6__bJ.mjs +195 -0
  97. package/{index-abbfd327.mjs → index-DIjQbz6A.mjs} +37 -41
  98. package/{index-30da2fc0.mjs → index-Dbr1qL3H.mjs} +474 -609
  99. package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
  100. package/{index-391aec04.mjs → index-pGbTziKP.mjs} +32 -44
  101. package/{index-22a99f2e.mjs → index-siZ6JDIW.mjs} +17 -20
  102. package/main.index.js +8 -9
  103. package/online.css +1 -0
  104. package/package.json +1 -1
  105. package/{useCgformList-aaa30c8c.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
  106. package/useExtendComponent-P9wrWQwT.mjs +4479 -0
  107. package/{useListButton-308458cd.mjs → useListButton-DyOAscwT.mjs} +7 -9
  108. package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
  109. package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
  110. package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
  111. package/AppLogin-786949d3.mjs +0 -287
  112. package/AppLoginHeader-37034b2f.mjs +0 -27
  113. package/AppThirdForm-760064e5.mjs +0 -189
  114. package/AuthButtonConfig-78180aec.mjs +0 -160
  115. package/AuthButtonTree-62c8e70c.mjs +0 -165
  116. package/AuthDataTree-0647a06c.mjs +0 -139
  117. package/AuthManagerDrawer-ec5190d2.mjs +0 -119
  118. package/BuiltInButtonList-bb6cf95c.mjs +0 -10
  119. package/CgformCopyList-af9c99a4.mjs +0 -260
  120. package/CodeGeneratorModal-aba790e3.mjs +0 -298
  121. package/DetailForm-a2bf8c33.mjs +0 -498
  122. package/EnhanceJavaModal-fe8d475d.mjs +0 -264
  123. package/EnhanceSqlModal-6e36bc4f.mjs +0 -268
  124. package/ErrorTip-bb616e32.mjs +0 -7
  125. package/ExtendConfigModal-74d657c7.mjs +0 -117
  126. package/JModalTip-5401f43d.mjs +0 -49
  127. package/LinkTableListPiece-47f4286c.mjs +0 -34
  128. package/OnlCgformErpSubTable-5093d438.mjs +0 -444
  129. package/OnlCgformInnerSubTable-f1dc90db.mjs +0 -270
  130. package/OnlCgformInnerTableList-1b82a7da.mjs +0 -482
  131. package/OnlCgformTabList-d66d1261.mjs +0 -432
  132. package/OnlineAutoList-fbba2a52.mjs +0 -559
  133. package/OnlineAutoModal-68909692.mjs +0 -261
  134. package/OnlineCustomModal-b5f8c799.mjs +0 -247
  135. package/OnlineDetailModal-ac078a9a.mjs +0 -199
  136. package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
  137. package/OnlineFormDetail-719118b6.mjs +0 -350
  138. package/OnlineFormUrlAdd-5b675f48.mjs +0 -117
  139. package/OnlineFormUrlDetail-91156bf2.mjs +0 -122
  140. package/OnlineFormUrlEdit-fb810de6.mjs +0 -115
  141. package/OnlineSubFormDetail-4d64e7be.mjs +0 -148
  142. package/OnlineTabAutoModal-c127ed50.mjs +0 -320
  143. package/OnlineTabDetailModal-e4e9f7e3.mjs +0 -227
  144. package/OnlineTabFormDetail-0f96377e.mjs +0 -329
  145. package/ProcessOnlineForm-1fcbe0af.mjs +0 -219
  146. package/SetSwitchOptions-a3428177.mjs +0 -62
  147. package/ShareAddView-0512e884.mjs +0 -89
  148. package/ShareEditView-b89dfbd3.mjs +0 -95
  149. package/ShareView-faf1a0ab.mjs +0 -83
  150. package/SingleView-21d3a558.mjs +0 -71
  151. package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
  152. package/TaskOpinionList-73ecb3c8.mjs +0 -101
  153. package/dayjs.min-eea532a3.mjs +0 -301
  154. package/index-26940246.mjs +0 -219
  155. package/index-94b6319e.mjs +0 -57
  156. package/style.css +0 -1
  157. package/useExtendComponent-ad499dff.mjs +0 -4164
  158. /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
  159. /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
  160. /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
  161. /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
  162. /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
  163. /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
  164. /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
  165. /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
  166. /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
  167. /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
  168. /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
  169. /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
  170. /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
  171. /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
@@ -0,0 +1,272 @@
1
+ var L = (P, I, u) => new Promise((a, d) => {
2
+ var s = (c) => {
3
+ try {
4
+ g(u.next(c));
5
+ } catch (l) {
6
+ d(l);
7
+ }
8
+ }, w = (c) => {
9
+ try {
10
+ g(u.throw(c));
11
+ } catch (l) {
12
+ d(l);
13
+ }
14
+ }, g = (c) => c.done ? a(c.value) : Promise.resolve(c.value).then(s, w);
15
+ g((u = u.apply(P, I)).next());
16
+ });
17
+ import { defineComponent as Q, ref as r, reactive as X, onMounted as Y, resolveComponent as T, createElementBlock as x, openBlock as F, Fragment as Z, createCommentVNode as U, withDirectives as p, createVNode as t, createElementVNode as o, toDisplayString as R, unref as f, vShow as m, withCtx as v, withModifiers as nn, createTextVNode as on, toRaw as en, nextTick as tn } from "vue";
18
+ import ln from "./AppLoginHeader-BtKXOMRR.mjs";
19
+ import rn from "./AppRegister-C5iH-245.mjs";
20
+ import sn from "./AccountLoginForm-BXyvcSds.mjs";
21
+ import cn from "./PhoneLoginForm-8a0Uehov.mjs";
22
+ import an from "./AppForgetPassword-B-2CvL62.mjs";
23
+ import { useI18n as un } from "/@/hooks/web/useI18n";
24
+ import { createFromIconfontCN as dn, WechatFilled as gn } from "@ant-design/icons-vue";
25
+ import { useMessage as pn } from "/@/hooks/web/useMessage";
26
+ import { useUserStore as fn } from "/@/store/modules/user";
27
+ import mn from "./AppTenant-etPXeUcW.mjs";
28
+ import { router as V } from "/@/router";
29
+ import vn from "./AppThirdForm-NMob-JaS.mjs";
30
+ import { useLocale as _n } from "/@/locales/useLocale";
31
+ import { PageEnum as hn } from "/@/enums/pageEnum";
32
+ import { _ as yn } from "./index-0kQBIHx0.mjs";
33
+ const Ln = {
34
+ key: 0,
35
+ class: "login-box"
36
+ }, Tn = { class: "login-subject" }, wn = { class: "flex-row align-items-center margin-top10" }, An = { class: "login-title" }, bn = { class: "content-box" }, kn = {
37
+ key: 0,
38
+ class: "text-center"
39
+ }, Cn = { class: "login-other" }, Rn = { style: { width: "100%", display: "flex" } }, In = { class: "aui-third-login" }, Sn = { class: "login-language" }, xn = /* @__PURE__ */ Q({
40
+ __name: "AppLogin",
41
+ setup(P) {
42
+ const { changeLocale: I, getLocale: u } = _n(), a = r(), d = fn(), s = r("accountLogin");
43
+ dn({
44
+ scriptUrl: "//at.alicdn.com/t/font_2316098_umqusozousr.js"
45
+ });
46
+ const w = r(), g = r(), c = r(), { t: l } = un(), i = r("login");
47
+ r(), X({
48
+ phone: "",
49
+ smscode: ""
50
+ });
51
+ const { notification: D, createErrorModal: Fn } = pn(), A = r("zh_CN"), b = r(!1), _ = r(!1);
52
+ function H() {
53
+ i.value = "register", setTimeout(() => {
54
+ w.value.clearValidate();
55
+ }, 300);
56
+ }
57
+ function E() {
58
+ i.value = "login", s.value = "accountLogin";
59
+ }
60
+ function N(n) {
61
+ i.value = "login", s.value = "accountLogin", setTimeout(() => {
62
+ g.value.setAccountData(n);
63
+ }, 300);
64
+ }
65
+ function B(n) {
66
+ s.value = n;
67
+ }
68
+ function $() {
69
+ i.value = "forgetPwd";
70
+ }
71
+ function S(n) {
72
+ return L(this, null, function* () {
73
+ var h, y;
74
+ const e = en(d.getLoginInfo), { tenantList: k } = e;
75
+ if (!k || k.length === 0)
76
+ i.value = "tenant";
77
+ else {
78
+ D.success({
79
+ message: l("sys.login.loginSuccessTitle"),
80
+ description: `${l("sys.login.loginSuccessDesc")}: ${n}`,
81
+ duration: 3
82
+ });
83
+ let C = (y = (h = V.currentRoute.value) == null ? void 0 : h.query) == null ? void 0 : y.redirect;
84
+ if (C) {
85
+ window.open(decodeURIComponent(C), "_self");
86
+ return;
87
+ }
88
+ yield V.replace(d.getUserInfo && d.getUserInfo.homePath || hn.BASE_HOME), M();
89
+ }
90
+ });
91
+ }
92
+ function M() {
93
+ window.location.reload();
94
+ }
95
+ function j(n) {
96
+ a.value.onThirdLogin(n);
97
+ }
98
+ function q(n) {
99
+ return L(this, null, function* () {
100
+ yield I(n);
101
+ });
102
+ }
103
+ function O({ key: n }) {
104
+ A.value = n, f(u) !== n && q(n);
105
+ }
106
+ function W(n) {
107
+ tn(() => {
108
+ n.loginType != "thirdLogin" && (b.value = !0, a.value.hideBindThirdAccount()), n.loginType === "login" && (s.value = "phoneLogin"), i.value = n.loginType;
109
+ });
110
+ }
111
+ function G(n) {
112
+ return L(this, null, function* () {
113
+ _.value = !0, yield a.value.bindThirdAccount(n), _.value = !1;
114
+ });
115
+ }
116
+ function J(n) {
117
+ return L(this, null, function* () {
118
+ _.value = !0, yield a.value.createAccountBindThird(n), _.value = !1;
119
+ });
120
+ }
121
+ return Y(() => {
122
+ let n = document.getElementById("app");
123
+ n.style.height = "auto";
124
+ let e = document.getElementsByTagName("body")[0].style;
125
+ e.backgroundColor = "#f2f5f7";
126
+ }), (n, e) => {
127
+ const k = T("a-spin"), h = T("Icon"), y = T("a-menu-item"), C = T("a-menu"), K = T("a-dropdown");
128
+ return F(), x(Z, null, [
129
+ i.value === "login" ? (F(), x("div", Ln, [
130
+ o("div", Tn, [
131
+ t(ln),
132
+ o("div", wn, [
133
+ o("div", An, R(s.value === "accountLogin" ? f(l)("sys.login.signInFormTitle") : f(l)("sys.login.mobileSignInFormTitle")), 1)
134
+ ]),
135
+ o("div", bn, [
136
+ p(o("div", null, [
137
+ t(sn, {
138
+ ref_key: "accountLoginRef",
139
+ ref: g,
140
+ onLogin: B,
141
+ onForgetPwd: $,
142
+ onLoginSuccess: S
143
+ }, null, 512)
144
+ ], 512), [
145
+ [m, s.value === "accountLogin"]
146
+ ]),
147
+ p(o("div", null, [
148
+ t(cn, {
149
+ onLogin: B,
150
+ onLoginSuccess: S,
151
+ bindThirdAccount: b.value,
152
+ onBindThirdPhone: G
153
+ }, null, 8, ["bindThirdAccount"])
154
+ ], 512), [
155
+ [m, s.value === "phoneLogin"]
156
+ ]),
157
+ b.value ? U("", !0) : (F(), x("div", kn, [
158
+ o("div", Cn, R(f(l)("sys.login.otherSignIn")), 1),
159
+ o("div", Rn, [
160
+ o("div", In, [
161
+ o("a", {
162
+ title: "微信",
163
+ onClick: e[0] || (e[0] = (z) => j("wechat_open"))
164
+ }, [
165
+ t(f(gn), { style: { color: "rgb(75, 176, 79)" } })
166
+ ])
167
+ ])
168
+ ]),
169
+ e[3] || (e[3] = o("div", { class: "line" }, null, -1)),
170
+ o("div", {
171
+ class: "register-account pointer",
172
+ onClick: H
173
+ }, R(f(l)("sys.login.registerButton")), 1)
174
+ ]))
175
+ ])
176
+ ])
177
+ ])) : U("", !0),
178
+ p(o("div", null, [
179
+ t(k, { spinning: _.value }, {
180
+ default: v(() => [
181
+ t(rn, {
182
+ ref_key: "appRegisterRef",
183
+ ref: w,
184
+ onReturnLogin: E,
185
+ bindThirdAccount: b.value,
186
+ onLoginAccount: N,
187
+ onBindThirdAccount: J
188
+ }, null, 8, ["bindThirdAccount"])
189
+ ]),
190
+ _: 1
191
+ }, 8, ["spinning"])
192
+ ], 512), [
193
+ [m, i.value === "register"]
194
+ ]),
195
+ p(o("div", null, [
196
+ t(an, {
197
+ ref_key: "appForgetPwdRef",
198
+ ref: c,
199
+ onReturnLogin: E,
200
+ onLoginAccount: N
201
+ }, null, 512)
202
+ ], 512), [
203
+ [m, i.value === "forgetPwd"]
204
+ ]),
205
+ p(o("div", null, [
206
+ t(mn, { onSuccess: M })
207
+ ], 512), [
208
+ [m, i.value === "tenant"]
209
+ ]),
210
+ p(o("div", Sn, [
211
+ t(h, {
212
+ icon: "ant-design:global-outlined",
213
+ style: { "font-size": "13px", color: "#9e9e9e" }
214
+ }),
215
+ t(K, {
216
+ trigger: ["click"],
217
+ placement: "top"
218
+ }, {
219
+ overlay: v(() => [
220
+ t(C, {
221
+ value: A.value,
222
+ "onUpdate:value": e[2] || (e[2] = (z) => A.value = z),
223
+ onClick: O
224
+ }, {
225
+ default: v(() => [
226
+ t(y, { key: "zh_CN" }, {
227
+ default: v(() => [...e[4] || (e[4] = [
228
+ o("span", null, "简体中文", -1)
229
+ ])]),
230
+ _: 1
231
+ }),
232
+ t(y, { key: "en" }, {
233
+ default: v(() => [...e[5] || (e[5] = [
234
+ o("span", null, "English", -1)
235
+ ])]),
236
+ _: 1
237
+ })
238
+ ]),
239
+ _: 1
240
+ }, 8, ["value"])
241
+ ]),
242
+ default: v(() => [
243
+ o("span", {
244
+ class: "language-drop pointer",
245
+ onClick: e[1] || (e[1] = nn(() => {
246
+ }, ["prevent"]))
247
+ }, [
248
+ on(R(A.value === "zh_CN" ? "CN" : "EN") + " ", 1),
249
+ t(h, {
250
+ icon: "ant-design:down-outlined",
251
+ style: { color: "#9e9e9e", "font-size": "13px" }
252
+ })
253
+ ])
254
+ ]),
255
+ _: 1
256
+ })
257
+ ], 512), [
258
+ [m, i.value !== "thirdLogin"]
259
+ ]),
260
+ t(vn, {
261
+ ref_key: "thirdModalRef",
262
+ ref: a,
263
+ onType: W,
264
+ onLoginSuccess: S
265
+ }, null, 512)
266
+ ], 64);
267
+ };
268
+ }
269
+ }), Kn = /* @__PURE__ */ yn(xn, [["__scopeId", "data-v-1103e34e"]]);
270
+ export {
271
+ Kn as default
272
+ };
@@ -0,0 +1,23 @@
1
+ import { defineComponent as t, createElementBlock as r, openBlock as s, createElementVNode as e, unref as a } from "vue";
2
+ import i from "/@/assets/images/logo.png";
3
+ import { _ as l } from "./index-0kQBIHx0.mjs";
4
+ const c = { class: "login-header" }, p = ["src"], m = /* @__PURE__ */ t({
5
+ __name: "AppLoginHeader",
6
+ setup(_) {
7
+ function n() {
8
+ window.open("https://www.qiaoqiaoyun.com/", "_target");
9
+ }
10
+ return (d, o) => (s(), r("div", c, [
11
+ e("img", {
12
+ src: a(i),
13
+ alt: "敲敲云",
14
+ class: "login-image",
15
+ onClick: n
16
+ }, null, 8, p),
17
+ o[0] || (o[0] = e("span", { class: "login-header-name" }, null, -1))
18
+ ]));
19
+ }
20
+ }), w = /* @__PURE__ */ l(m, [["__scopeId", "data-v-6df6e301"]]);
21
+ export {
22
+ w as default
23
+ };
@@ -14,15 +14,12 @@ var h = (E, x, m) => new Promise((o, r) => {
14
14
  }, c = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(v, _);
15
15
  c((m = m.apply(E, x)).next());
16
16
  });
17
- import { defineComponent as q, reactive as L, ref as p, computed as g, unref as t, resolveComponent as y, openBlock as $, createElementBlock as j, createVNode as l, createElementVNode as n, withCtx as k, normalizeClass as w, toDisplayString as z, createTextVNode as H, toRaw as G } from "vue";
18
- import J from "./AppLoginHeader-37034b2f.mjs";
17
+ import { defineComponent as q, reactive as L, ref as p, computed as g, unref as t, resolveComponent as y, createElementBlock as $, openBlock as j, createVNode as l, createElementVNode as n, withCtx as k, normalizeClass as w, toDisplayString as z, createTextVNode as H, toRaw as G } from "vue";
18
+ import J from "./AppLoginHeader-BtKXOMRR.mjs";
19
19
  import { useI18n as K } from "/@/hooks/web/useI18n";
20
20
  import { register as O } from "/@/api/sys/user";
21
21
  import { useMessage as P } from "/@/hooks/web/useMessage";
22
- import { _ as Q } from "./index-94b6319e.mjs";
23
- import "/@/assets/images/logo.png";
24
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
25
- import "vue-router";
22
+ import { _ as Q } from "./index-0kQBIHx0.mjs";
26
23
  const W = { class: "name-email-subject" }, X = { class: "name-email-content" }, Y = /* @__PURE__ */ q({
27
24
  __name: "AppNameEmail",
28
25
  emits: ["login-account", "bind-third-account"],
@@ -30,19 +27,19 @@ const W = { class: "name-email-subject" }, X = { class: "name-email-content" },
30
27
  const o = L({
31
28
  realname: "",
32
29
  email: ""
33
- }), { t: r } = K(), v = p(), _ = p(), c = p(), i = g(() => [{ required: !0, message: "请填写邮箱", trigger: "change" }, { type: "email", message: "请填写正确的邮箱" }]), d = g(() => [{ required: !0, message: "请填写昵称", trigger: "change" }]), M = g(() => ({
30
+ }), { t: r } = K(), v = p(), _ = p(), c = p(), i = g(() => [{ required: !0, message: "请填写邮箱", trigger: "change" }, { type: "email", message: "请填写正确的邮箱" }]), d = g(() => [{ required: !0, message: "请填写昵称", trigger: "change" }]), A = g(() => ({
34
31
  realname: t(d),
35
32
  email: t(i)
36
33
  })), u = p(""), F = g(() => o.realname || t(u) === "realname" ? "current-active" : ""), S = g(() => o.email != "" || t(u) === "email" ? "current-active" : ""), a = p({}), N = m, { notification: C, createErrorModal: Z } = P(), R = p(!1);
37
34
  function b(s) {
38
35
  u.value = s, s === "realname" ? v.value.focus() : _.value.focus();
39
36
  }
40
- function A() {
37
+ function B() {
41
38
  u.value = "";
42
39
  }
43
40
  function T() {
44
41
  return h(this, null, function* () {
45
- c.value.validateFields().then((s) => h(this, null, function* () {
42
+ c.value.validateFields().then((s) => h(null, null, function* () {
46
43
  if (t(a).bindThirdAccount)
47
44
  N("bind-third-account", {
48
45
  username: t(a).phone,
@@ -92,8 +89,8 @@ const W = { class: "name-email-subject" }, X = { class: "name-email-content" },
92
89
  return x({
93
90
  setRegisterData: U
94
91
  }), (s, e) => {
95
- const B = y("a-input"), I = y("a-form-item"), D = y("a-button"), V = y("a-form");
96
- return $(), j("div", W, [
92
+ const I = y("a-input"), M = y("a-form-item"), D = y("a-button"), V = y("a-form");
93
+ return j(), $("div", W, [
97
94
  l(J),
98
95
  e[5] || (e[5] = n("div", { class: "flex-row align-items-center margin-top40" }, [
99
96
  n("div", { class: "register-title" }, " 请填写昵称和邮箱 ")
@@ -106,22 +103,22 @@ const W = { class: "name-email-subject" }, X = { class: "name-email-content" },
106
103
  ref_key: "formRef",
107
104
  ref: c,
108
105
  model: o,
109
- rules: M.value
106
+ rules: A.value
110
107
  }, {
111
108
  default: k(() => [
112
109
  n("div", {
113
110
  class: w(["content-item", F.value]),
114
111
  onClick: e[1] || (e[1] = (f) => b("realname"))
115
112
  }, [
116
- l(I, { name: "realname" }, {
113
+ l(M, { name: "realname" }, {
117
114
  default: k(() => [
118
- l(B, {
115
+ l(I, {
119
116
  ref_key: "realNameRef",
120
117
  ref: v,
121
118
  value: o.realname,
122
119
  "onUpdate:value": e[0] || (e[0] = (f) => o.realname = f),
123
120
  style: { height: "40px" },
124
- onBlur: A
121
+ onBlur: B
125
122
  }, null, 8, ["value"]),
126
123
  n("div", {
127
124
  class: w(["form-title", u.value === "username" ? "active-title" : ""])
@@ -134,15 +131,15 @@ const W = { class: "name-email-subject" }, X = { class: "name-email-content" },
134
131
  class: w(["content-item", S.value]),
135
132
  onClick: e[3] || (e[3] = (f) => b("email"))
136
133
  }, [
137
- l(I, { name: "email" }, {
134
+ l(M, { name: "email" }, {
138
135
  default: k(() => [
139
- l(B, {
136
+ l(I, {
140
137
  ref_key: "emailRef",
141
138
  ref: _,
142
139
  value: o.email,
143
140
  "onUpdate:value": e[2] || (e[2] = (f) => o.email = f),
144
141
  style: { height: "40px" },
145
- onBlur: A
142
+ onBlur: B
146
143
  }, null, 8, ["value"]),
147
144
  n("div", {
148
145
  class: w(["form-title", u.value === "email" ? "active-title" : ""])
@@ -160,9 +157,9 @@ const W = { class: "name-email-subject" }, X = { class: "name-email-content" },
160
157
  class: "next-step",
161
158
  loading: R.value
162
159
  }, {
163
- default: k(() => e[4] || (e[4] = [
164
- H("完成")
165
- ])),
160
+ default: k(() => [...e[4] || (e[4] = [
161
+ H("完成", -1)
162
+ ])]),
166
163
  _: 1
167
164
  }, 8, ["loading"])
168
165
  ])
@@ -173,8 +170,7 @@ const W = { class: "name-email-subject" }, X = { class: "name-email-content" },
173
170
  ]);
174
171
  };
175
172
  }
176
- });
177
- const ce = /* @__PURE__ */ Q(Y, [["__scopeId", "data-v-f3b40873"]]);
173
+ }), ie = /* @__PURE__ */ Q(Y, [["__scopeId", "data-v-f3b40873"]]);
178
174
  export {
179
- ce as default
175
+ ie as default
180
176
  };
@@ -2,32 +2,29 @@ var T = (x, A, f) => new Promise((E, o) => {
2
2
  var n = (c) => {
3
3
  try {
4
4
  g(f.next(c));
5
- } catch (b) {
6
- o(b);
5
+ } catch (_) {
6
+ o(_);
7
7
  }
8
8
  }, k = (c) => {
9
9
  try {
10
10
  g(f.throw(c));
11
- } catch (b) {
12
- o(b);
11
+ } catch (_) {
12
+ o(_);
13
13
  }
14
14
  }, g = (c) => c.done ? E(c.value) : Promise.resolve(c.value).then(n, k);
15
15
  g((f = f.apply(x, A)).next());
16
16
  });
17
- import { defineComponent as ge, reactive as ve, ref as a, computed as u, unref as s, resolveComponent as h, openBlock as w, createElementBlock as F, Fragment as _e, withDirectives as q, createElementVNode as i, createVNode as l, toDisplayString as _, withCtx as p, normalizeClass as y, createBlock as z, createTextVNode as H, createCommentVNode as G, vShow as Z } from "vue";
18
- import ye from "./AppLoginHeader-37034b2f.mjs";
19
- import { useI18n as be } from "/@/hooks/web/useI18n";
17
+ import { defineComponent as ge, reactive as ve, ref as a, computed as u, unref as s, resolveComponent as h, createElementBlock as F, openBlock as w, Fragment as ye, withDirectives as q, createVNode as l, createElementVNode as i, toDisplayString as y, withCtx as p, createCommentVNode as z, normalizeClass as b, createBlock as H, createTextVNode as G, vShow as Z } from "vue";
18
+ import be from "./AppLoginHeader-BtKXOMRR.mjs";
19
+ import { useI18n as _e } from "/@/hooks/web/useI18n";
20
20
  import { useMessage as J } from "/@/hooks/web/useMessage";
21
21
  import { getCaptcha as he, phoneVerify as we } from "/@/api/sys/user";
22
22
  import { SmsEnum as ke } from "/@/views/sys/login/useLogin";
23
- import Ce from "./AppNameEmail-7c6a1406.mjs";
23
+ import Ce from "./AppNameEmail-DCqMNjaK.mjs";
24
24
  import Re from "/@/components/jeecg/captcha/CaptchaModal.vue";
25
25
  import { useModal as Pe } from "/@/components/Modal";
26
26
  import { ExceptionEnum as Te } from "/@/enums/exceptionEnum";
27
- import { _ as xe } from "./index-94b6319e.mjs";
28
- import "/@/assets/images/logo.png";
29
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
30
- import "vue-router";
27
+ import { _ as xe } from "./index-0kQBIHx0.mjs";
31
28
  const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = { class: "flex-row align-items-center margin-top40" }, Ie = { class: "register-title" }, Ue = { class: "register-content" }, Be = { class: "register-rule" }, Ne = {
32
29
  key: 0,
33
30
  class: "line"
@@ -38,12 +35,12 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
38
35
  },
39
36
  emits: ["return-login", "login-account", "bind-third-account"],
40
37
  setup(x, { expose: A, emit: f }) {
41
- const { createMessage: E } = J(), { t: o } = be(), n = ve({
38
+ const { createMessage: E } = J(), { t: o } = _e(), n = ve({
42
39
  mobile: "",
43
40
  sms: "",
44
41
  regPassword: "",
45
42
  policy: !0
46
- }), k = a(), g = a(), c = a(), b = a(), M = a(!1), d = a(""), K = u(() => n.mobile != "" || s(d) === "mobile" ? "current-active" : "");
43
+ }), k = a(), g = a(), c = a(), _ = a(), M = a(!1), d = a(""), K = u(() => n.mobile != "" || s(d) === "mobile" ? "current-active" : "");
47
44
  u(() => n.username != "" || s(d) === "username" ? "current-active" : "");
48
45
  const Q = u(() => n.sms != "" || s(d) === "sms" ? "current-active" : ""), W = u(() => n.regPassword != "" || s(d) === "regPassword" ? "current-active" : ""), I = f, U = a(!0), v = a(60), C = a(null), B = a(), X = u(() => re(o("sys.login.mobilePlaceholder"))), Y = u(() => ne(o("sys.login.smsPlaceholder"))), ee = u(() => [{ required: !0, validator: ie }, { pattern: /^(?=.*[0-9])(?=.*[a-zA-Z])(.{8,20})$/, message: "8-20位,需包含字母和数字" }]), te = u(() => ({
49
46
  mobile: s(X),
@@ -73,7 +70,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
73
70
  ];
74
71
  }
75
72
  function S(t) {
76
- d.value = t, t === "mobile" ? k.value.focus() : t === "sms" ? c.value.focus() : t === "username" ? b.value.focus() : g.value.focus();
73
+ d.value = t, t === "mobile" ? k.value.focus() : t === "sms" ? c.value.focus() : t === "username" ? _.value.focus() : g.value.focus();
77
74
  }
78
75
  function D() {
79
76
  d.value = "";
@@ -99,7 +96,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
99
96
  }
100
97
  function ae() {
101
98
  return T(this, null, function* () {
102
- B.value.validateFields().then((t) => T(this, null, function* () {
99
+ B.value.validateFields().then((t) => T(null, null, function* () {
103
100
  M.value = !0, yield we({ phone: t.mobile, smscode: t.sms }).then((e) => {
104
101
  if (e.success)
105
102
  e.result && e.result.username && L.warning({
@@ -137,12 +134,12 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
137
134
  clearValidate: ce
138
135
  }), (t, e) => {
139
136
  const m = h("a-input"), P = h("a-form-item"), me = h("a-checkbox"), pe = h("a-button"), fe = h("a-form");
140
- return w(), F(_e, null, [
137
+ return w(), F(ye, null, [
141
138
  q(i("div", Ae, [
142
139
  i("div", Ee, [
143
- l(ye),
140
+ l(be),
144
141
  i("div", Me, [
145
- i("div", Ie, _(s(o)("sys.login.signUpFormTitle")), 1)
142
+ i("div", Ie, y(s(o)("sys.login.signUpFormTitle")), 1)
146
143
  ]),
147
144
  i("div", Ue, [
148
145
  l(fe, {
@@ -153,7 +150,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
153
150
  }, {
154
151
  default: p(() => [
155
152
  i("div", {
156
- class: y(["content-item", K.value]),
153
+ class: b(["content-item", K.value]),
157
154
  onClick: e[1] || (e[1] = (r) => S("mobile"))
158
155
  }, [
159
156
  l(P, { name: "mobile" }, {
@@ -167,14 +164,14 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
167
164
  onBlur: D
168
165
  }, null, 8, ["value"]),
169
166
  i("div", {
170
- class: y(["form-title", d.value === "mobile" ? "active-title" : ""])
171
- }, _(s(o)("sys.login.mobile")), 3)
167
+ class: b(["form-title", d.value === "mobile" ? "active-title" : ""])
168
+ }, y(s(o)("sys.login.mobile")), 3)
172
169
  ]),
173
170
  _: 1
174
171
  })
175
172
  ], 2),
176
173
  i("div", {
177
- class: y(["content-item", Q.value])
174
+ class: b(["content-item", Q.value])
178
175
  }, [
179
176
  l(P, {
180
177
  name: "sms",
@@ -191,12 +188,12 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
191
188
  onBlur: D
192
189
  }, null, 8, ["value"]),
193
190
  i("div", {
194
- class: y(["form-title", d.value === "sms" ? "active-title" : ""])
195
- }, _(s(o)("sys.login.smsCode")), 3)
191
+ class: b(["form-title", d.value === "sms" ? "active-title" : ""])
192
+ }, y(s(o)("sys.login.smsCode")), 3)
196
193
  ]),
197
194
  _: 1
198
195
  }),
199
- U.value ? (w(), z(m, {
196
+ U.value ? (w(), H(m, {
200
197
  key: 0,
201
198
  type: "button",
202
199
  class: "aui-code-line pointer",
@@ -204,7 +201,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
204
201
  onClick: j,
205
202
  value: O.value,
206
203
  "onUpdate:value": e[4] || (e[4] = (r) => O.value = r)
207
- }, null, 8, ["value"])) : (w(), z(m, {
204
+ }, null, 8, ["value"])) : (w(), H(m, {
208
205
  key: 1,
209
206
  type: "button",
210
207
  class: "aui-code-line disabled-btn",
@@ -214,7 +211,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
214
211
  }, null, 8, ["value"]))
215
212
  ], 2),
216
213
  i("div", {
217
- class: y(["content-item", W.value]),
214
+ class: b(["content-item", W.value]),
218
215
  onClick: e[7] || (e[7] = (r) => S("regPassword"))
219
216
  }, [
220
217
  l(P, { name: "regPassword" }, {
@@ -230,7 +227,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
230
227
  autocomplete: "new-password"
231
228
  }, null, 8, ["value"]),
232
229
  i("div", {
233
- class: y(["form-title", d.value === "regPassword" ? "active-title" : ""])
230
+ class: b(["form-title", d.value === "regPassword" ? "active-title" : ""])
234
231
  }, " 8-20位,需包含字母和数字 ", 2)
235
232
  ]),
236
233
  _: 1
@@ -244,7 +241,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
244
241
  "onUpdate:checked": e[8] || (e[8] = (r) => n.policy = r)
245
242
  }, {
246
243
  default: p(() => [
247
- H(_(s(o)("sys.login.policy")), 1)
244
+ G(y(s(o)("sys.login.policy")), 1)
248
245
  ]),
249
246
  _: 1
250
247
  }, 8, ["checked"])
@@ -260,17 +257,17 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
260
257
  onClick: ae
261
258
  }, {
262
259
  default: p(() => [
263
- H(_(s(o)("sys.login.nextStep")), 1)
260
+ G(y(s(o)("sys.login.nextStep")), 1)
264
261
  ]),
265
262
  _: 1
266
263
  }, 8, ["loading"])
267
264
  ]),
268
- N.bindThirdAccount ? G("", !0) : (w(), F("div", Ne)),
269
- N.bindThirdAccount ? G("", !0) : (w(), F("span", {
265
+ N.bindThirdAccount ? z("", !0) : (w(), F("div", Ne)),
266
+ N.bindThirdAccount ? z("", !0) : (w(), F("span", {
270
267
  key: 1,
271
268
  class: "to-login pointer",
272
269
  onClick: le
273
- }, _(s(o)("sys.exception.backLogin")), 1))
270
+ }, y(s(o)("sys.exception.backLogin")), 1))
274
271
  ]),
275
272
  _: 1
276
273
  }, 8, ["model", "rules"])
@@ -296,8 +293,7 @@ const Ae = { class: "register-box" }, Ee = { class: "register-subject" }, Me = {
296
293
  ], 64);
297
294
  };
298
295
  }
299
- });
300
- const Xe = /* @__PURE__ */ xe(Se, [["__scopeId", "data-v-288dafe5"]]);
296
+ }), Ke = /* @__PURE__ */ xe(Se, [["__scopeId", "data-v-288dafe5"]]);
301
297
  export {
302
- Xe as default
298
+ Ke as default
303
299
  };