@jeecg/online 3.7.1-RC → 3.7.4-beta

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 (143) hide show
  1. package/AccountLoginForm-84cbd344.mjs +254 -0
  2. package/AiModal-26903538.mjs +84 -0
  3. package/AppForgetPassword-52443f23.mjs +310 -0
  4. package/AppLogin-ecf798fa.mjs +287 -0
  5. package/AppLoginHeader-4432c584.mjs +27 -0
  6. package/AppNameEmail-3303a037.mjs +180 -0
  7. package/AppRegister-79a62c59.mjs +303 -0
  8. package/AppTenant-f0bef7ca.mjs +373 -0
  9. package/AppThirdForm-fd8b4604.mjs +189 -0
  10. package/AuthButtonConfig-d5bffca0.mjs +156 -0
  11. package/AuthButtonTree-b0bd6c40.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-d3b7afa4.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-f14a98d9.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-f1e224cc.mjs} +71 -71
  15. package/AuthFieldTree-5cc0da05.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-32556109.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-364f1f67.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1131274c.mjs +260 -0
  21. package/CgformCopyList-5fba0810.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-c4a4e0c2.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-8a84aae5.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-8a938e3a.mjs} +3 -3
  25. package/CodeFileListModal-a924902a.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-405e2b58.mjs} +66 -66
  27. package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
  28. package/CustomButtonList-c453b654.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-1a45c7b7.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-f28ff0a3.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c592b8d8.mjs} +5 -5
  32. package/DropMenuItem-1e49abea.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-dc4f9ade.mjs} +104 -104
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-2ded2014.mjs} +3 -3
  44. package/JModalTip-a927f85d.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-04ec87d0.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-52cb6743.mjs} +1 -1
  47. package/LeftRole-b0e0b496.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-dd4b10e2.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
  53. package/OnlCgformErpList-5c5acdaa.mjs +488 -0
  54. package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +38 -38
  56. package/OnlCgformInnerTableList-b283a525.mjs +474 -0
  57. package/OnlCgformTabList-91e3dd78.mjs +424 -0
  58. package/OnlineAutoList-84475f1b.mjs +513 -0
  59. package/OnlineAutoModal-95f46901.mjs +260 -0
  60. package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
  61. package/OnlineCustomModal-c8b1e780.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
  63. package/OnlineForm-58282699.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-ad912560.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
  69. package/OnlineQueryForm-9248341f.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-8be879b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
  75. package/OnlineTabForm-1940e88b.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-66e7b485.mjs} +108 -108
  78. package/PhoneLoginForm-86437a9d.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-98ede18d.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-65d3f54f.mjs} +3 -3
  81. package/SetSwitchOptions-f914bc17.mjs +62 -0
  82. package/ShareAddView-657f0f8b.mjs +86 -0
  83. package/ShareEditView-1b945fd3.mjs +92 -0
  84. package/ShareView-222ed3d8.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
  86. package/SingleView-23b0cb4e.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
  88. package/SuperQuery-46032e66.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/button.data-fe45d43b.mjs +12 -0
  94. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  95. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  96. package/index-19eaef11.mjs +11 -0
  97. package/index-1a2e8832.mjs +135 -0
  98. package/{index-f30613d1.mjs → index-2fb8e07f.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-9e1e1e53.mjs +57 -0
  101. package/{index-30e0e923.mjs → index-a039036e.mjs} +272 -262
  102. package/index-c5a79b0b.mjs +219 -0
  103. package/index-cce225be.mjs +110 -0
  104. package/index-f2c2d1cf.mjs +74 -0
  105. package/main.index.js +1 -1
  106. package/package.json +1 -1
  107. package/shareStore-7de6c7a6.mjs +67 -0
  108. package/style.css +1 -1
  109. package/useCgformList-f3cb9156.mjs +378 -0
  110. package/useExtendComponent-bb98e568.mjs +4460 -0
  111. package/useListButton-98908683.mjs +719 -0
  112. package/{useSchemas-a9c75b0f.mjs → useSchemas-b074f3a1.mjs} +33 -0
  113. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  114. package/utils-9fce7606.mjs +16 -0
  115. package/AiModal-6de335e3.mjs +0 -84
  116. package/AuthButtonConfig-89763932.mjs +0 -154
  117. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  118. package/AuthFieldTree-e326fc38.mjs +0 -232
  119. package/CgformCopyList-365b3e8f.mjs +0 -251
  120. package/CodeFileListModal-24601898.mjs +0 -159
  121. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  122. package/CustomButtonList-f07bc695.mjs +0 -397
  123. package/JModalTip-b055ab60.mjs +0 -49
  124. package/LeftRole-2ed8a2bf.mjs +0 -86
  125. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  126. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  127. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  128. package/OnlCgformTabList-019ad753.mjs +0 -408
  129. package/OnlineAutoList-48589d09.mjs +0 -493
  130. package/OnlineAutoModal-c2928847.mjs +0 -239
  131. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  132. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  133. package/OnlineForm-9f1153ba.mjs +0 -985
  134. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  135. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  136. package/OnlineTabForm-27655c83.mjs +0 -817
  137. package/SetSwitchOptions-b2af757f.mjs +0 -62
  138. package/SuperQuery-a8592995.mjs +0 -967
  139. package/index-1d1a6e56.mjs +0 -57
  140. package/useCgformList-f41d4dc1.mjs +0 -426
  141. package/useExtendComponent-dcae5c78.mjs +0 -4399
  142. package/useListButton-bfac4ecf.mjs +0 -697
  143. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -0,0 +1,214 @@
1
+ var y = (M, T, d) => new Promise((t, s) => {
2
+ var p = (i) => {
3
+ try {
4
+ n(d.next(i));
5
+ } catch (u) {
6
+ s(u);
7
+ }
8
+ }, g = (i) => {
9
+ try {
10
+ n(d.throw(i));
11
+ } catch (u) {
12
+ s(u);
13
+ }
14
+ }, n = (i) => i.done ? t(i.value) : Promise.resolve(i.value).then(p, g);
15
+ n((d = d.apply(M, T)).next());
16
+ });
17
+ import { defineComponent as ee, ref as r, reactive as A, computed as c, unref as o, resolveComponent as C, openBlock as h, createElementBlock as V, Fragment as oe, createVNode as m, withKeys as te, withCtx as k, createElementVNode as v, normalizeClass as R, toDisplayString as I, createBlock as H, createTextVNode as ne, createCommentVNode as le, toRaw as se } from "vue";
18
+ import { useUserStore as ie } from "/@/store/modules/user";
19
+ import { SmsEnum as ae } from "/@/views/sys/login/useLogin";
20
+ import { useI18n as re } from "/@/hooks/web/useI18n";
21
+ import { getCaptcha as ue } from "/@/api/sys/user";
22
+ import { useMessage as K } from "/@/hooks/web/useMessage";
23
+ import ce from "/@/components/jeecg/captcha/CaptchaModal.vue";
24
+ import { useModal as me } from "/@/components/Modal";
25
+ import { ExceptionEnum as de } from "/@/enums/exceptionEnum";
26
+ import { _ as fe } from "./index-9e1e1e53.mjs";
27
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
28
+ import "vue-router";
29
+ const pe = /* @__PURE__ */ ee({
30
+ __name: "PhoneLoginForm",
31
+ props: { bindThirdAccount: { type: Boolean, default: !1 } },
32
+ emits: ["login", "login-success", "bind-third-phone"],
33
+ setup(M, { emit: T }) {
34
+ const { createMessage: d } = K(), { t } = re(), s = r(""), p = r(!1), g = r();
35
+ A({
36
+ randCodeImage: "",
37
+ requestCodeSuccess: !1,
38
+ checkKey: -1
39
+ });
40
+ const n = A({
41
+ mobile: "",
42
+ sms: ""
43
+ }), i = ie(), u = T;
44
+ r(!1);
45
+ const q = c(() => n.mobile != "" || o(s) === "mobile" ? "current-active" : ""), $ = c(() => n.sms != "" || o(s) === "sms" ? "current-active" : ""), { notification: z, createErrorModal: ve } = K(), x = r(!0), f = r(60), b = r(null), E = r(), S = r(), G = c(() => P(t("sys.login.accountPlaceholder"))), W = c(() => P(t("sys.login.smsPlaceholder"))), j = c(() => ({
46
+ mobile: o(G),
47
+ sms: o(W)
48
+ })), L = c(() => t("component.countdown.normalText")), w = c(() => t("component.countdown.sendText", [o(f)])), F = M, [J, { openModal: Q }] = me();
49
+ function P(l) {
50
+ return [
51
+ {
52
+ required: !0,
53
+ message: l,
54
+ trigger: "change"
55
+ }
56
+ ];
57
+ }
58
+ function B(l) {
59
+ s.value = l, l === "sms" ? E.value.focus() : S.value.focus();
60
+ }
61
+ function N() {
62
+ s.value = "";
63
+ }
64
+ function O() {
65
+ return y(this, null, function* () {
66
+ g.value.validateFields().then((l) => y(this, null, function* () {
67
+ if (F.bindThirdAccount)
68
+ u("bind-third-phone", l);
69
+ else
70
+ try {
71
+ p.value = !0;
72
+ const { userInfo: e } = yield i.phoneLogin(
73
+ se({
74
+ mobile: l.mobile,
75
+ captcha: l.sms,
76
+ mode: "none",
77
+ //不要默认的错误提示
78
+ goHome: !1
79
+ })
80
+ );
81
+ e && u("login-success", e.realname);
82
+ } catch (e) {
83
+ z.error({
84
+ message: t("sys.api.errorTip"),
85
+ description: e.message || t("sys.api.networkExceptionMsg"),
86
+ duration: 3
87
+ });
88
+ } finally {
89
+ p.value = !1;
90
+ }
91
+ }));
92
+ });
93
+ }
94
+ function U() {
95
+ return y(this, null, function* () {
96
+ if (!n.mobile) {
97
+ d.warn(t("sys.login.mobilePlaceholder"));
98
+ return;
99
+ }
100
+ (yield ue({ mobile: n.mobile, smsmode: ae.FORGET_PASSWORD }).catch((e) => {
101
+ e.code === de.PHONE_SMS_FAIL_CODE && Q(!0, {});
102
+ })) && (o(b) || (f.value = 60, x.value = !1, b.value = setInterval(() => {
103
+ o(f) > 0 && o(f) <= 60 ? f.value = f.value - 1 : (x.value = !0, clearInterval(o(b)), b.value = null);
104
+ }, 1e3)));
105
+ });
106
+ }
107
+ function X() {
108
+ u("login", "accountLogin");
109
+ }
110
+ return (l, e) => {
111
+ const _ = C("a-input"), D = C("a-form-item"), Y = C("a-button"), Z = C("a-form");
112
+ return h(), V(oe, null, [
113
+ m(Z, {
114
+ ref_key: "loginPhoneRef",
115
+ ref: g,
116
+ model: n,
117
+ rules: j.value,
118
+ onKeyup: te(O, ["enter", "native"])
119
+ }, {
120
+ default: k(() => [
121
+ v("div", {
122
+ class: R(["content-item", q.value]),
123
+ onClick: e[1] || (e[1] = (a) => B("mobile"))
124
+ }, [
125
+ m(D, { name: "mobile" }, {
126
+ default: k(() => [
127
+ m(_, {
128
+ ref_key: "mobileRef",
129
+ ref: S,
130
+ value: n.mobile,
131
+ "onUpdate:value": e[0] || (e[0] = (a) => n.mobile = a),
132
+ style: { height: "40px" },
133
+ onBlur: N
134
+ }, null, 8, ["value"]),
135
+ v("div", {
136
+ class: R(["form-title", s.value === "mobile" ? "active-title" : ""])
137
+ }, I(o(t)("sys.login.mobile")), 3)
138
+ ]),
139
+ _: 1
140
+ })
141
+ ], 2),
142
+ v("div", {
143
+ class: R(["content-item", $.value])
144
+ }, [
145
+ m(D, {
146
+ name: "sms",
147
+ onClick: e[3] || (e[3] = (a) => B("sms"))
148
+ }, {
149
+ default: k(() => [
150
+ m(_, {
151
+ ref_key: "smsCodeRef",
152
+ ref: E,
153
+ maxLength: 6,
154
+ value: n.sms,
155
+ "onUpdate:value": e[2] || (e[2] = (a) => n.sms = a),
156
+ style: { height: "40px" },
157
+ onBlur: N
158
+ }, null, 8, ["value"]),
159
+ v("div", {
160
+ class: R(["form-title", s.value === "sms" ? "active-title" : ""])
161
+ }, I(o(t)("sys.login.smsCode")), 3)
162
+ ]),
163
+ _: 1
164
+ }),
165
+ x.value ? (h(), H(_, {
166
+ key: 0,
167
+ type: "button",
168
+ class: "aui-code-line pointer",
169
+ bordered: !1,
170
+ onClick: U,
171
+ value: L.value,
172
+ "onUpdate:value": e[4] || (e[4] = (a) => L.value = a)
173
+ }, null, 8, ["value"])) : (h(), H(_, {
174
+ key: 1,
175
+ type: "button",
176
+ class: "aui-code-line disabled-btn",
177
+ bordered: !1,
178
+ value: w.value,
179
+ "onUpdate:value": e[5] || (e[5] = (a) => w.value = a)
180
+ }, null, 8, ["value"]))
181
+ ], 2),
182
+ v("div", null, [
183
+ m(Y, {
184
+ type: "primary",
185
+ onClick: O,
186
+ loading: p.value,
187
+ class: "login-btn"
188
+ }, {
189
+ default: k(() => [
190
+ ne(I(o(t)("sys.login.loginButton")), 1)
191
+ ]),
192
+ _: 1
193
+ }, 8, ["loading"])
194
+ ]),
195
+ F.bindThirdAccount ? le("", !0) : (h(), V("div", {
196
+ key: 0,
197
+ class: "phone-login-btn pointer",
198
+ onClick: X
199
+ }, I(o(t)("sys.login.backSignIn")), 1))
200
+ ]),
201
+ _: 1
202
+ }, 8, ["model", "rules"]),
203
+ m(ce, {
204
+ onRegister: o(J),
205
+ onOk: U
206
+ }, null, 8, ["onRegister"])
207
+ ], 64);
208
+ };
209
+ }
210
+ });
211
+ const Se = /* @__PURE__ */ fe(pe, [["__scopeId", "data-v-471134ff"]]);
212
+ export {
213
+ Se as default
214
+ };
@@ -1,24 +1,24 @@
1
- var u = (e, r, t) => new Promise((p, s) => {
1
+ var u = (e, t, n) => new Promise((p, s) => {
2
2
  var d = (o) => {
3
3
  try {
4
- a(t.next(o));
5
- } catch (n) {
6
- s(n);
4
+ a(n.next(o));
5
+ } catch (r) {
6
+ s(r);
7
7
  }
8
8
  }, i = (o) => {
9
9
  try {
10
- a(t.throw(o));
11
- } catch (n) {
12
- s(n);
10
+ a(n.throw(o));
11
+ } catch (r) {
12
+ s(r);
13
13
  }
14
14
  }, a = (o) => o.done ? p(o.value) : Promise.resolve(o.value).then(d, i);
15
- a((t = t.apply(e, r)).next());
15
+ a((n = n.apply(e, t)).next());
16
16
  });
17
- import C from "./OnlineForm-9f1153ba.mjs";
18
- import { defineComponent as S, ref as m, watch as T, nextTick as w, resolveComponent as f, openBlock as _, createElementBlock as y, createVNode as g, withCtx as h, createTextVNode as N, createCommentVNode as P } from "vue";
17
+ import C from "./OnlineForm-58282699.mjs";
18
+ import { defineComponent as S, ref as m, watch as T, nextTick as w, resolveComponent as f, openBlock as y, createElementBlock as _, createVNode as g, withCtx as h, createTextVNode as N, createCommentVNode as P } from "vue";
19
19
  import { defHttp as R } from "/@/utils/http/axios";
20
- import { g as b } from "./useExtendComponent-dcae5c78.mjs";
21
- import { _ as L } from "./index-1d1a6e56.mjs";
20
+ import { g as b } from "./useExtendComponent-bb98e568.mjs";
21
+ import { _ as L } from "./index-9e1e1e53.mjs";
22
22
  import "/@/hooks/web/useMessage";
23
23
  import "/@/components/Form/index";
24
24
  import "lodash-es";
@@ -38,7 +38,7 @@ import "./constant-fa63bd66.mjs";
38
38
  import "/@/hooks/web/useAppInject";
39
39
  import "/@/utils/is";
40
40
  import "/@/store/modules/permission";
41
- import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
41
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
42
42
  import "/@/components/Form/src/componentMap";
43
43
  import "/@/utils/propTypes";
44
44
  import "/@/components/Form/src/jeecg/components/JUpload";
@@ -50,11 +50,11 @@ import "/@/hooks/system/useListPage";
50
50
  import "vue-router";
51
51
  import "/@/components/Form/src/utils/Area";
52
52
  import "/@/components/Preview/index";
53
- import "./LinkTableListPiece-f3a8e0d7.mjs";
53
+ import "./LinkTableListPiece-e016b8e6.mjs";
54
54
  import "/@/api/common/api";
55
55
  import "/@/assets/images/placeholderImage.png";
56
- import "./OnlineSelectCascade-05c40fef.mjs";
57
- import "./JModalTip-b055ab60.mjs";
56
+ import "./OnlineSelectCascade-d631ed72.mjs";
57
+ import "./JModalTip-a927f85d.mjs";
58
58
  import "ant-design-vue";
59
59
  import "@vueuse/core";
60
60
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
@@ -83,7 +83,7 @@ const $ = S({
83
83
  }
84
84
  },
85
85
  setup(e) {
86
- const r = m(), t = m(""), p = m(1), s = m(!1), d = m(""), i = m(!1);
86
+ const t = m(), n = m(""), p = m(1), s = m(!1), d = m(""), i = m(!1);
87
87
  T(
88
88
  () => e.tableName,
89
89
  (c) => {
@@ -97,8 +97,8 @@ const $ = S({
97
97
  const c = `/online/cgform/api/getFormItemBytbname/${e.tableName}`, k = { taskId: e.taskId };
98
98
  try {
99
99
  let l = yield R.get({ url: c, params: k });
100
- t.value = l.head.id, p.value = Number(l.head.formTemplate || 1), s.value = l.head.isTree === "Y", d.value = l.head.treeParentIdField || "", yield w(() => u(this, null, function* () {
101
- (yield b(r)).createRootProperties(l);
100
+ n.value = l.head.id, p.value = Number(l.head.formTemplate || 1), s.value = l.head.isTree === "Y", d.value = l.head.treeParentIdField || "", yield w(() => u(this, null, function* () {
101
+ (yield b(t)).createRootProperties(l);
102
102
  }));
103
103
  } catch (l) {
104
104
  }
@@ -106,27 +106,27 @@ const $ = S({
106
106
  }
107
107
  function o() {
108
108
  return u(this, null, function* () {
109
- let c = yield b(r);
109
+ let c = yield b(t);
110
110
  i.value = !1, c.show(!0, {
111
111
  id: e.dataId
112
112
  });
113
113
  });
114
114
  }
115
- const n = m(!1);
115
+ const r = m(!1);
116
116
  function F() {
117
117
  return u(this, null, function* () {
118
- n.value = !0, r.value.handleSubmit();
118
+ r.value = !0, t.value.handleSubmit();
119
119
  });
120
120
  }
121
121
  function v() {
122
- n.value = !1;
122
+ r.value = !1;
123
123
  }
124
124
  function I() {
125
- n.value = !1;
125
+ r.value = !1;
126
126
  }
127
127
  return {
128
- onlineFormCompRef: r,
129
- formId: t,
128
+ onlineFormCompRef: t,
129
+ formId: n,
130
130
  formTemplate: p,
131
131
  isTreeForm: s,
132
132
  pidFieldName: d,
@@ -134,7 +134,7 @@ const $ = S({
134
134
  handleSuccess: v,
135
135
  handleClose: I,
136
136
  handleSubmit: F,
137
- buttonLoading: n,
137
+ buttonLoading: r,
138
138
  spinLoading: i
139
139
  };
140
140
  }
@@ -142,9 +142,9 @@ const $ = S({
142
142
  key: 0,
143
143
  style: { width: "100%", "text-align": "center", "margin-top": "5px" }
144
144
  };
145
- function V(e, r, t, p, s, d) {
145
+ function V(e, t, n, p, s, d) {
146
146
  const i = f("a-button"), a = f("online-form"), o = f("a-spin");
147
- return _(), y("div", B, [
147
+ return y(), _("div", B, [
148
148
  g(o, { spinning: e.spinLoading }, {
149
149
  default: h(() => [
150
150
  g(a, {
@@ -160,7 +160,7 @@ function V(e, r, t, p, s, d) {
160
160
  onClose: e.handleClose
161
161
  }, {
162
162
  bottom: h(() => [
163
- !e.disabled && !e.spinLoading ? (_(), y("div", O, [
163
+ !e.disabled && !e.spinLoading ? (y(), _("div", O, [
164
164
  g(i, {
165
165
  preIcon: "ant-design:check",
166
166
  style: { width: "126px" },
@@ -168,9 +168,9 @@ function V(e, r, t, p, s, d) {
168
168
  onClick: e.handleSubmit,
169
169
  loading: e.buttonLoading
170
170
  }, {
171
- default: h(() => [
171
+ default: h(() => t[0] || (t[0] = [
172
172
  N(" 提 交 ")
173
- ]),
173
+ ])),
174
174
  _: 1
175
175
  }, 8, ["onClick", "loading"])
176
176
  ])) : P("", !0)
@@ -12,9 +12,9 @@ var f = (e, t, l) => t in e ? T(e, t, { enumerable: !0, configurable: !0, writab
12
12
  }, h = (e, t) => _(e, C(t));
13
13
  import { defineComponent as V, ref as F, resolveComponent as x, openBlock as w, createBlock as H, mergeProps as S } from "vue";
14
14
  import { JVxeTypes as r } from "/@/components/jeecg/JVxeTable/types";
15
- import { u as P } from "./useTableSync-d7e9f18d.mjs";
16
- import { _ as $ } from "./index-1d1a6e56.mjs";
17
- import "./cgform.data-475d4984.mjs";
15
+ import { u as P } from "./useTableSync-075826a1.mjs";
16
+ import { _ as $ } from "./index-9e1e1e53.mjs";
17
+ import "./cgform.data-0ca62d09.mjs";
18
18
  import "/@/utils/dict";
19
19
  import "/@/utils/dict/JDictSelectUtil";
20
20
  import "/@/utils/uuid";
@@ -0,0 +1,62 @@
1
+ import { ref as r, watch as _, onMounted as f, resolveComponent as N, openBlock as g, createElementBlock as S, createElementVNode as o, createVNode as v } from "vue";
2
+ import { isArray as b } from "/@/utils/is";
3
+ import { _ as y } from "./index-9e1e1e53.mjs";
4
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
5
+ import "/@/hooks/web/useMessage";
6
+ import "vue-router";
7
+ const h = { class: "setSwitchOptions" }, w = "Y", Y = "N", x = {
8
+ __name: "SetSwitchOptions",
9
+ props: {
10
+ value: {
11
+ type: [Array, String],
12
+ default: ["Y", "N"]
13
+ }
14
+ },
15
+ emits: "change",
16
+ setup(m, { emit: c }) {
17
+ const d = m, u = c, n = r(w), a = r(Y);
18
+ _(
19
+ () => d.value,
20
+ (t) => {
21
+ if (typeof t == "string") {
22
+ const e = t.split(",");
23
+ n.value = e[0], a.value = e[1];
24
+ } else
25
+ b(t) && (n.value = t[0], a.value = t[1]);
26
+ },
27
+ { immediate: !0 }
28
+ );
29
+ const s = () => {
30
+ n.value != "" && a.value != "" && i();
31
+ }, i = () => {
32
+ let t = Number(n.value), e = Number(a.value);
33
+ (Number.isNaN(t) || Number.isNaN(e)) && (t = n.value, e = a.value), u("change", [t, e]), u("update:value", [t, e]);
34
+ };
35
+ return f(() => {
36
+ i();
37
+ }), (t, e) => {
38
+ const p = N("a-input");
39
+ return g(), S("div", h, [
40
+ o("p", null, [
41
+ e[2] || (e[2] = o("span", null, "是", -1)),
42
+ v(p, {
43
+ value: n.value,
44
+ "onUpdate:value": e[0] || (e[0] = (l) => n.value = l),
45
+ onChange: s
46
+ }, null, 8, ["value"])
47
+ ]),
48
+ o("p", null, [
49
+ e[3] || (e[3] = o("span", null, "否", -1)),
50
+ v(p, {
51
+ value: a.value,
52
+ "onUpdate:value": e[1] || (e[1] = (l) => a.value = l),
53
+ onChange: s
54
+ }, null, 8, ["value"])
55
+ ])
56
+ ]);
57
+ };
58
+ }
59
+ }, U = /* @__PURE__ */ y(x, [["__scopeId", "data-v-b718aa7e"]]);
60
+ export {
61
+ U as default
62
+ };
@@ -0,0 +1,86 @@
1
+ import { defineComponent as o, openBlock as r, createBlock as t } from "vue";
2
+ import { _ as p } from "./ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs";
3
+ import "./shareStore-7de6c7a6.mjs";
4
+ import "pinia";
5
+ import "/@/store/modules/user";
6
+ import "/@/utils/auth";
7
+ import "/@/enums/cacheEnum";
8
+ import "/@/api/sys/user";
9
+ import "./OnlineAutoList-84475f1b.mjs";
10
+ import "/@/components/Table";
11
+ import "/@/hooks/web/useMessage";
12
+ import "./OnlineAutoModal-95f46901.mjs";
13
+ import "/@/components/Modal";
14
+ import "./OnlineForm-58282699.mjs";
15
+ import "/@/components/Form/index";
16
+ import "./useExtendComponent-bb98e568.mjs";
17
+ import "/@/components/Form/src/componentMap";
18
+ import "/@/utils/propTypes";
19
+ import "@ant-design/icons-vue";
20
+ import "/@/utils/http/axios";
21
+ import "lodash-es";
22
+ import "./constant-fa63bd66.mjs";
23
+ import "/@/utils/common/compUtils";
24
+ import "/@/components/Form/src/jeecg/components/JUpload";
25
+ import "/@/utils/is";
26
+ import "/@/views/system/user/user.api";
27
+ import "/@/utils";
28
+ import "/@/utils/desform/customExpression";
29
+ import "/@/store/modules/permission";
30
+ import "/@/utils/dict/JDictSelectUtil";
31
+ import "/@/hooks/system/useListPage";
32
+ import "vue-router";
33
+ import "/@/components/Form/src/utils/Area";
34
+ import "/@/components/Preview/index";
35
+ import "./LinkTableListPiece-e016b8e6.mjs";
36
+ import "./index-9e1e1e53.mjs";
37
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
38
+ import "/@/api/common/api";
39
+ import "/@/hooks/web/useAppInject";
40
+ import "/@/assets/images/placeholderImage.png";
41
+ import "./OnlineSelectCascade-d631ed72.mjs";
42
+ import "/@/components/Loading";
43
+ import "./JModalTip-a927f85d.mjs";
44
+ import "ant-design-vue";
45
+ import "@vueuse/core";
46
+ import "/@/components/jeecg/JVxeTable/types";
47
+ import "/@/hooks/core/useContext";
48
+ import "/@/utils/mitt";
49
+ import "./useCustomHook-acb00837.mjs";
50
+ import "/@/utils/cache";
51
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
52
+ import "/@/components/jeecg/comment/CommentPanel.vue";
53
+ import "./OnlineCustomModal-c8b1e780.mjs";
54
+ import "./OnlineDetailModal-5b412bb9.mjs";
55
+ import "./OnlineFormDetail-fc087725.mjs";
56
+ import "./DetailForm-c592b8d8.mjs";
57
+ import "/@/utils/dict";
58
+ import "/@/utils/dict/index";
59
+ import "/@/components/Markdown";
60
+ import "./OnlineSubFormDetail-8be879b9.mjs";
61
+ import "/@/components/Form/src/jeecg/components/JImportModal.vue";
62
+ import "./useListButton-98908683.mjs";
63
+ import "/@/router";
64
+ import "/@/hooks/core/onMountedOrActivated";
65
+ import "/@/store/modules/multipleTab";
66
+ import "./cgformState-d9f8ec42.mjs";
67
+ import "/@/store";
68
+ import "/@/hooks/system/useMethods";
69
+ import "./OnlineQueryForm-9248341f.mjs";
70
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
71
+ import "./SuperQuery-46032e66.mjs";
72
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
73
+ import "/@/utils/index";
74
+ import "/@/hooks/web/useDesign";
75
+ import "./useOnlinePopEvent-687070b7.mjs";
76
+ import "./SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs";
77
+ import "/@/hooks/web/usePage";
78
+ const vo = /* @__PURE__ */ o({
79
+ __name: "ShareAddView",
80
+ setup(m) {
81
+ return (i, e) => (r(), t(p, { isUpdate: !1 }));
82
+ }
83
+ });
84
+ export {
85
+ vo as default
86
+ };
@@ -0,0 +1,92 @@
1
+ import { defineComponent as r, computed as o, openBlock as i, createBlock as m } from "vue";
2
+ import { router as p } from "/@/router";
3
+ import { S as e } from "./index-5e89258d.mjs";
4
+ import { _ as a } from "./ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs";
5
+ import "/@/enums/pageEnum";
6
+ import "./shareStore-7de6c7a6.mjs";
7
+ import "pinia";
8
+ import "/@/store/modules/user";
9
+ import "/@/utils/auth";
10
+ import "/@/enums/cacheEnum";
11
+ import "/@/api/sys/user";
12
+ import "./OnlineAutoList-84475f1b.mjs";
13
+ import "/@/components/Table";
14
+ import "/@/hooks/web/useMessage";
15
+ import "./OnlineAutoModal-95f46901.mjs";
16
+ import "/@/components/Modal";
17
+ import "./OnlineForm-58282699.mjs";
18
+ import "/@/components/Form/index";
19
+ import "./useExtendComponent-bb98e568.mjs";
20
+ import "/@/components/Form/src/componentMap";
21
+ import "/@/utils/propTypes";
22
+ import "@ant-design/icons-vue";
23
+ import "/@/utils/http/axios";
24
+ import "lodash-es";
25
+ import "./constant-fa63bd66.mjs";
26
+ import "/@/utils/common/compUtils";
27
+ import "/@/components/Form/src/jeecg/components/JUpload";
28
+ import "/@/utils/is";
29
+ import "/@/views/system/user/user.api";
30
+ import "/@/utils";
31
+ import "/@/utils/desform/customExpression";
32
+ import "/@/store/modules/permission";
33
+ import "/@/utils/dict/JDictSelectUtil";
34
+ import "/@/hooks/system/useListPage";
35
+ import "vue-router";
36
+ import "/@/components/Form/src/utils/Area";
37
+ import "/@/components/Preview/index";
38
+ import "./LinkTableListPiece-e016b8e6.mjs";
39
+ import "./index-9e1e1e53.mjs";
40
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
41
+ import "/@/api/common/api";
42
+ import "/@/hooks/web/useAppInject";
43
+ import "/@/assets/images/placeholderImage.png";
44
+ import "./OnlineSelectCascade-d631ed72.mjs";
45
+ import "/@/components/Loading";
46
+ import "./JModalTip-a927f85d.mjs";
47
+ import "ant-design-vue";
48
+ import "@vueuse/core";
49
+ import "/@/components/jeecg/JVxeTable/types";
50
+ import "/@/hooks/core/useContext";
51
+ import "/@/utils/mitt";
52
+ import "./useCustomHook-acb00837.mjs";
53
+ import "/@/utils/cache";
54
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
55
+ import "/@/components/jeecg/comment/CommentPanel.vue";
56
+ import "./OnlineCustomModal-c8b1e780.mjs";
57
+ import "./OnlineDetailModal-5b412bb9.mjs";
58
+ import "./OnlineFormDetail-fc087725.mjs";
59
+ import "./DetailForm-c592b8d8.mjs";
60
+ import "/@/utils/dict";
61
+ import "/@/utils/dict/index";
62
+ import "/@/components/Markdown";
63
+ import "./OnlineSubFormDetail-8be879b9.mjs";
64
+ import "/@/components/Form/src/jeecg/components/JImportModal.vue";
65
+ import "./useListButton-98908683.mjs";
66
+ import "/@/hooks/core/onMountedOrActivated";
67
+ import "/@/store/modules/multipleTab";
68
+ import "./cgformState-d9f8ec42.mjs";
69
+ import "/@/store";
70
+ import "/@/hooks/system/useMethods";
71
+ import "./OnlineQueryForm-9248341f.mjs";
72
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
73
+ import "./SuperQuery-46032e66.mjs";
74
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
75
+ import "/@/utils/index";
76
+ import "/@/hooks/web/useDesign";
77
+ import "./useOnlinePopEvent-687070b7.mjs";
78
+ import "./SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs";
79
+ import "/@/hooks/web/usePage";
80
+ const Vt = /* @__PURE__ */ r({
81
+ __name: "ShareEditView",
82
+ setup(n) {
83
+ const t = o(() => p.currentRoute.value.name === e);
84
+ return (_, s) => (i(), m(a, {
85
+ isUpdate: !0,
86
+ isDetail: t.value
87
+ }, null, 8, ["isDetail"]));
88
+ }
89
+ });
90
+ export {
91
+ Vt as default
92
+ };