@jeecg/online 3.8.2-beta → 3.9.0-beta2

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 (112) hide show
  1. package/{AccountLoginForm-79fa7b01.mjs → AccountLoginForm-634a76b1.mjs} +1 -1
  2. package/{AiModal-942b59ec.mjs → AiModal-204a2146.mjs} +1 -1
  3. package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-f9a6258a.mjs} +2 -2
  4. package/{AppLogin-41372985.mjs → AppLogin-bf783eab.mjs} +9 -9
  5. package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-55594326.mjs} +1 -1
  6. package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-54026ea8.mjs} +2 -2
  7. package/{AppRegister-433c54db.mjs → AppRegister-043efc45.mjs} +3 -3
  8. package/{AppTenant-e49dfa9b.mjs → AppTenant-c7bb8700.mjs} +2 -2
  9. package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-5e7e1144.mjs} +1 -1
  10. package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-4887be0d.mjs} +1 -1
  11. package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-7e47b44b.mjs} +1 -1
  12. package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-3cd10ca2.mjs} +1 -1
  13. package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-714c259c.mjs} +1 -1
  14. package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-bb65f78b.mjs} +1 -1
  15. package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-3e38b12b.mjs} +1 -1
  16. package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-dee39b07.mjs} +4 -4
  17. package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-f176c221.mjs} +7 -7
  18. package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-a3903b24.mjs} +1 -1
  19. package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-4be1000f.mjs} +37 -37
  20. package/{CgformModal-cebc698b.mjs → CgformModal-115710a6.mjs} +10 -10
  21. package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-3bef8abe.mjs} +1 -1
  22. package/{CgreportModal-2e4421e6.mjs → CgreportModal-0cc48587.mjs} +143 -139
  23. package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-65157c48.mjs} +1 -1
  24. package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-305c1a62.mjs} +2 -2
  25. package/CodeFileViewModal-320d7acf.mjs +269 -0
  26. package/CodeGeneratorModal-2ba18bd1.mjs +298 -0
  27. package/{CustomButtonList-26490688.mjs → CustomButtonList-98db8fd2.mjs} +1 -1
  28. package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-56701599.mjs} +40 -39
  29. package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-a82cdeb5.mjs} +1 -1
  30. package/{DetailForm-b92a5e9d.mjs → DetailForm-7d4f630e.mjs} +163 -152
  31. package/{DropMenuItem-82213be6.mjs → DropMenuItem-b3a9cd6a.mjs} +1 -1
  32. package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-469e645e.mjs} +1 -1
  33. package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-bb6ba865.mjs} +1 -1
  34. package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-b0527cbf.mjs} +2 -2
  35. package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-c6e8bce1.mjs} +1 -1
  36. package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-7b00b49a.mjs} +1 -1
  37. package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-536e6d5b.mjs} +2 -2
  38. package/{FileSelectModal-49d6dade.mjs → FileSelectModal-eb026170.mjs} +1 -1
  39. package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-97a5827f.mjs} +1 -1
  40. package/{IndexTable-c0478faa.mjs → IndexTable-4d350e4e.mjs} +1 -1
  41. package/{JModalTip-b1d19eaa.mjs → JModalTip-c3e6726c.mjs} +1 -1
  42. package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-ffeac61d.mjs} +1 -1
  43. package/{LeftDepart-4b1003f0.mjs → LeftDepart-a727aab7.mjs} +1 -1
  44. package/{LeftRole-8486ba4f.mjs → LeftRole-b533dcf6.mjs} +1 -1
  45. package/{LeftUser-09894a2f.mjs → LeftUser-aaac52cb.mjs} +1 -1
  46. package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-4053b62d.mjs} +1 -1
  47. package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-93552099.mjs} +1 -1
  48. package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-0f4ca559.mjs} +1 -1
  49. package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-b8478356.mjs} +1 -1
  50. package/OnlCgformErpList-b0605798.mjs +527 -0
  51. package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-89699bc9.mjs} +42 -41
  52. package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f2722f77.mjs} +105 -102
  53. package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-992aa7e9.mjs} +20 -19
  54. package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-882a0e0c.mjs} +20 -19
  55. package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-caedb54a.mjs} +19 -18
  56. package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-a0d1a6b8.mjs} +7 -7
  57. package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-624106c1.mjs} +19 -18
  58. package/OnlineCustomModal-f4e17bed.mjs +246 -0
  59. package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-35394778.mjs} +44 -43
  60. package/OnlineForm-86b5966d.mjs +1079 -0
  61. package/OnlineFormDetail-4b3ad130.mjs +349 -0
  62. package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-708c91fb.mjs} +9 -9
  63. package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-5c8efaeb.mjs} +14 -13
  64. package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-8f08474e.mjs} +9 -9
  65. package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-0c2431a4.mjs} +1 -1
  66. package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-3017a4ca.mjs} +119 -120
  67. package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-1b54585f.mjs} +2 -2
  68. package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-fab4426d.mjs} +61 -55
  69. package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-bbc48c3e.mjs} +48 -45
  70. package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-b0f9fce8.mjs} +6 -6
  71. package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-401a26ad.mjs} +38 -37
  72. package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-5c04cbc5.mjs} +22 -22
  73. package/OnlineTabFormDetail-2a28febf.mjs +328 -0
  74. package/{PageAttributeTable-21314341.mjs → PageAttributeTable-18aabf81.mjs} +5 -5
  75. package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-4a9d7869.mjs} +18 -18
  76. package/ProcessOnlineForm-0ddce4fb.mjs +218 -0
  77. package/{QueryTable-413d1366.mjs → QueryTable-342fd89a.mjs} +1 -1
  78. package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-e1d5a6b4.mjs} +1 -1
  79. package/{ShareAddView-a2dba2ef.mjs → ShareAddView-a5154da3.mjs} +22 -21
  80. package/{ShareEditView-ecd590dc.mjs → ShareEditView-cf761cf3.mjs} +22 -21
  81. package/{ShareView-84f333e7.mjs → ShareView-3b2f5457.mjs} +20 -19
  82. package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs} +2 -2
  83. package/{SingleView-d4f29169.mjs → SingleView-3cab20a9.mjs} +15 -14
  84. package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs} +4 -4
  85. package/{SuperQuery-290f5080.mjs → SuperQuery-270b0968.mjs} +39 -39
  86. package/TaskOpinionList-60cf4080.mjs +13 -0
  87. package/{aiModal-6e338c79.mjs → aiModal-e7362c3f.mjs} +2 -2
  88. package/{index-bc0d747e.mjs → index-6d1a78e2.mjs} +2 -2
  89. package/index-740b2c4a.mjs +57 -0
  90. package/{index-7bab525f.mjs → index-8fd12d0f.mjs} +3 -3
  91. package/{index-7890e2b4.mjs → index-b5fe9bd4.mjs} +1 -1
  92. package/{index-9bebbfe5.mjs → index-b811abb9.mjs} +2 -2
  93. package/{index-c5737cbb.mjs → index-d95bb7c2.mjs} +4 -4
  94. package/{index-254a82b7.mjs → index-e2c3e6f3.mjs} +129 -123
  95. package/main.index.js +1 -1
  96. package/package.json +1 -1
  97. package/style.css +1 -1
  98. package/useCgformList-6d5547ff.mjs +410 -0
  99. package/{useExtendComponent-d1db211d.mjs → useExtendComponent-95ce0719.mjs} +405 -405
  100. package/{useListButton-7f9674a0.mjs → useListButton-73071548.mjs} +21 -21
  101. package/CodeFileViewModal-12299ab5.mjs +0 -253
  102. package/CodeGeneratorModal-791b1695.mjs +0 -281
  103. package/OnlCgformErpList-63089149.mjs +0 -498
  104. package/OnlineCustomModal-7e31297e.mjs +0 -232
  105. package/OnlineForm-0438f4bf.mjs +0 -1012
  106. package/OnlineFormDetail-76d243ed.mjs +0 -348
  107. package/OnlineTabFormDetail-b8650175.mjs +0 -327
  108. package/ProcessOnlineForm-d6113dec.mjs +0 -188
  109. package/README.md +0 -26
  110. package/index-30c0a14f.mjs +0 -57
  111. package/useCgformList-52631580.mjs +0 -395
  112. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
@@ -1,26 +1,26 @@
1
- var S = (t, a, o) => new Promise((d, l) => {
1
+ var _ = (t, r, s) => new Promise((d, l) => {
2
2
  var g = (i) => {
3
3
  try {
4
- r(o.next(i));
5
- } catch (s) {
6
- l(s);
4
+ f(s.next(i));
5
+ } catch (u) {
6
+ l(u);
7
7
  }
8
- }, f = (i) => {
8
+ }, c = (i) => {
9
9
  try {
10
- r(o.throw(i));
11
- } catch (s) {
12
- l(s);
10
+ f(s.throw(i));
11
+ } catch (u) {
12
+ l(u);
13
13
  }
14
- }, r = (i) => i.done ? d(i.value) : Promise.resolve(i.value).then(g, f);
15
- r((o = o.apply(t, a)).next());
14
+ }, f = (i) => i.done ? d(i.value) : Promise.resolve(i.value).then(g, c);
15
+ f((s = s.apply(t, r)).next());
16
16
  });
17
- import { defineComponent as w, ref as p, watch as y, resolveComponent as v, openBlock as _, createBlock as C, withCtx as x, createElementBlock as T, Fragment as k, renderList as B, createElementVNode as E, toDisplayString as N } from "vue";
18
- import { defHttp as F } from "/@/utils/http/axios";
19
- import { useMessage as V } from "/@/hooks/web/useMessage";
20
- import { _ as L } from "./index-30c0a14f.mjs";
17
+ import { defineComponent as $, ref as p, watch as y, resolveComponent as C, openBlock as S, createBlock as v, withCtx as O, createElementBlock as T, Fragment as k, renderList as L, createElementVNode as B, toDisplayString as E } from "vue";
18
+ import { defHttp as w } from "/@/utils/http/axios";
19
+ import { useMessage as N } from "/@/hooks/web/useMessage";
20
+ import { _ as V } from "./index-740b2c4a.mjs";
21
21
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
22
22
  import "vue-router";
23
- const O = "/online/cgform/api/querySelectOptions", P = w({
23
+ const x = "/online/cgform/api/querySelectOptions", P = $({
24
24
  name: "OnlineSelectCascade",
25
25
  props: {
26
26
  table: { type: String, default: "" },
@@ -36,11 +36,11 @@ const O = "/online/cgform/api/querySelectOptions", P = w({
36
36
  placeholder: { type: String, default: "请选择" }
37
37
  },
38
38
  emits: ["change", "next"],
39
- setup(t, { emit: a }) {
40
- const { createMessage: o } = V(), d = p(""), l = p([]), g = p(!0);
41
- function f(e) {
39
+ setup(t, { emit: r }) {
40
+ const { createMessage: s } = N(), d = p(""), l = p([]), g = p(!0);
41
+ function c(e) {
42
42
  let n = e || "";
43
- a("change", n), m(n);
43
+ r("change", n), m(n);
44
44
  }
45
45
  y(
46
46
  () => t.condition,
@@ -56,29 +56,29 @@ const O = "/online/cgform/api/querySelectOptions", P = w({
56
56
  ), y(
57
57
  () => t.value,
58
58
  (e, n) => {
59
- e ? d.value = e : (d.value = [], n && (a("change", ""), a("next", "-1"))), e && !n && r(e);
59
+ e ? d.value = e : (d.value = [], n && (r("change", ""), r("next", "-1"))), e && !n && f(e);
60
60
  },
61
61
  { immediate: !0 }
62
62
  );
63
- function r(e) {
64
- return S(this, null, function* () {
63
+ function f(e) {
64
+ return _(this, null, function* () {
65
65
  if (t.idField === t.store)
66
- a("next", e);
66
+ r("next", e);
67
67
  else if (t.origin === !0)
68
- yield b(), m(e);
68
+ yield F(), m(e);
69
69
  else {
70
- let n = yield $();
70
+ let n = yield b();
71
71
  m(e, n);
72
72
  }
73
73
  });
74
74
  }
75
75
  function i() {
76
- let e = s();
77
- t.origin === !0 ? e.condition = t.condition : e.pidValue = t.pidValue, l.value = [], F.get({ url: O, params: e }, { isTransformResponse: !1 }).then((n) => {
78
- n.success ? l.value = [...n.result] : o.warning("联动组件数据加载失败,请检查配置!");
76
+ let e = u();
77
+ t.origin === !0 ? e.condition = t.condition : e.pidValue = t.pidValue, l.value = [], w.get({ url: x, params: e }, { isTransformResponse: !1 }).then((n) => {
78
+ n.success ? l.value = [...n.result] : s.warning("联动组件数据加载失败,请检查配置!");
79
79
  });
80
80
  }
81
- function s() {
81
+ function u() {
82
82
  return {
83
83
  table: t.table,
84
84
  txt: t.txt,
@@ -87,25 +87,25 @@ const O = "/online/cgform/api/querySelectOptions", P = w({
87
87
  pidField: t.pidField
88
88
  };
89
89
  }
90
- function $() {
90
+ function b() {
91
91
  return new Promise((e) => {
92
92
  if (!t.value)
93
93
  d.value = [], e([]);
94
94
  else {
95
- let n = s();
96
- t.isNumber === !0 ? n.condition = `${t.store} = ${t.value}` : n.condition = `${t.store} = '${t.value}'`, F.get({ url: O, params: n }, { isTransformResponse: !1 }).then((u) => {
97
- u.success ? e(u.result) : (o.warning("联动组件数据加载失败,请检查配置!"), e([]));
95
+ let n = u();
96
+ t.isNumber === !0 ? n.condition = `${t.store} = ${t.value}` : n.condition = `${t.store} = '${t.value}'`, w.get({ url: x, params: n }, { isTransformResponse: !1 }).then((a) => {
97
+ a.success ? e(a.result) : (s.warning("联动组件数据加载失败,请检查配置!"), e([]));
98
98
  });
99
99
  }
100
100
  });
101
101
  }
102
- function b() {
102
+ function F() {
103
103
  return new Promise((e) => {
104
- (function u(c) {
105
- c > 10 && e([]);
104
+ (function a(o) {
105
+ o > 10 && e([]);
106
106
  let h = l.value;
107
107
  h && h.length > 0 ? e(h) : setTimeout(() => {
108
- u(c++);
108
+ a(o++);
109
109
  }, 300);
110
110
  })(0);
111
111
  });
@@ -113,47 +113,53 @@ const O = "/online/cgform/api/querySelectOptions", P = w({
113
113
  function m(e, n = []) {
114
114
  if (e && e.length > 0) {
115
115
  (!n || n.length == 0) && (n = l.value);
116
- let u = n.filter((c) => c.store === e);
117
- if (u && u.length > 0) {
118
- let c = u[0].id;
119
- a("next", c);
116
+ let a = n.filter((o) => o.store === e);
117
+ if (a && a.length > 0) {
118
+ let o = a[0].id;
119
+ r("next", o);
120
120
  }
121
121
  }
122
122
  }
123
123
  return {
124
124
  selectedValue: d,
125
125
  dictOptions: l,
126
- handleChange: f
126
+ handleChange: c,
127
+ filterOption: (e, n) => {
128
+ var o;
129
+ return ((o = n.children()[0]) == null ? void 0 : o.children.toLowerCase().indexOf(e.toLowerCase())) >= 0;
130
+ }
127
131
  };
128
132
  }
129
- }), R = ["title"];
130
- function M(t, a, o, d, l, g) {
131
- const f = v("a-select-option"), r = v("a-select");
132
- return _(), C(r, {
133
+ }), I = ["title"];
134
+ function R(t, r, s, d, l, g) {
135
+ const c = C("a-select-option"), f = C("a-select");
136
+ return S(), v(f, {
137
+ "show-search": "",
138
+ "filter-option": t.filterOption,
133
139
  placeholder: t.placeholder,
134
140
  value: t.selectedValue,
135
141
  onChange: t.handleChange,
136
142
  allowClear: "",
137
143
  style: { width: "100%" }
138
144
  }, {
139
- default: x(() => [
140
- (_(!0), T(k, null, B(t.dictOptions, (i, s) => (_(), C(f, {
141
- key: s,
145
+ default: O(() => [
146
+ (S(!0), T(k, null, L(t.dictOptions, (i, u) => (S(), v(c, {
147
+ key: u,
142
148
  value: i.store
143
149
  }, {
144
- default: x(() => [
145
- E("span", {
150
+ default: O(() => [
151
+ B("span", {
146
152
  style: { display: "inline-block", width: "100%" },
147
153
  title: i.label
148
- }, N(i.label), 9, R)
154
+ }, E(i.label), 9, I)
149
155
  ]),
150
156
  _: 2
151
157
  }, 1032, ["value"]))), 128))
152
158
  ]),
153
159
  _: 1
154
- }, 8, ["placeholder", "value", "onChange"]);
160
+ }, 8, ["filter-option", "placeholder", "value", "onChange"]);
155
161
  }
156
- const z = /* @__PURE__ */ L(P, [["render", M]]);
162
+ const A = /* @__PURE__ */ V(P, [["render", R]]);
157
163
  export {
158
- z as default
164
+ A as default
159
165
  };
@@ -1,27 +1,27 @@
1
- var f = (t, i, m) => new Promise((e, a) => {
2
- var s = (r) => {
1
+ var u = (t, i, m) => new Promise((e, a) => {
2
+ var l = (r) => {
3
3
  try {
4
- n(m.next(r));
4
+ p(m.next(r));
5
5
  } catch (o) {
6
6
  a(o);
7
7
  }
8
- }, p = (r) => {
8
+ }, n = (r) => {
9
9
  try {
10
- n(m.throw(r));
10
+ p(m.throw(r));
11
11
  } catch (o) {
12
12
  a(o);
13
13
  }
14
- }, n = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(s, p);
15
- n((m = m.apply(t, i)).next());
14
+ }, p = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(l, n);
15
+ p((m = m.apply(t, i)).next());
16
16
  });
17
17
  import { useMessage as h } from "/@/hooks/web/useMessage";
18
- import { ref as u, watch as d, resolveComponent as F, openBlock as S, createBlock as v } from "vue";
19
- import { BasicForm as D } from "/@/components/Form/index";
20
- import { defHttp as y } from "/@/utils/http/axios";
21
- import { m as w, g as $ } from "./useExtendComponent-d1db211d.mjs";
22
- import { Loading as x } from "/@/components/Loading";
23
- import B from "./DetailForm-b92a5e9d.mjs";
24
- import { _ as I } from "./index-30c0a14f.mjs";
18
+ import { ref as d, watch as b, resolveComponent as F, openBlock as S, createBlock as v } from "vue";
19
+ import { BasicForm as y } from "/@/components/Form/index";
20
+ import { defHttp as D } from "/@/utils/http/axios";
21
+ import { m as w, g as x } from "./useExtendComponent-95ce0719.mjs";
22
+ import { Loading as O } from "/@/components/Loading";
23
+ import $ from "./DetailForm-7d4f630e.mjs";
24
+ import { _ as k } from "./index-740b2c4a.mjs";
25
25
  import "/@/components/Form/src/componentMap";
26
26
  import "/@/utils/propTypes";
27
27
  import "@ant-design/icons-vue";
@@ -42,25 +42,25 @@ import "/@/hooks/system/useListPage";
42
42
  import "vue-router";
43
43
  import "/@/components/Form/src/utils/Area";
44
44
  import "/@/components/Preview/index";
45
- import "./LinkTableListPiece-4187ad7d.mjs";
45
+ import "./LinkTableListPiece-0f4ca559.mjs";
46
46
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
47
47
  import "/@/utils/auth";
48
48
  import "/@/api/common/api";
49
49
  import "/@/hooks/web/useAppInject";
50
50
  import "/@/assets/images/placeholderImage.png";
51
- import "./OnlineSelectCascade-b218691c.mjs";
52
- import "./JModalTip-b1d19eaa.mjs";
51
+ import "./OnlineSelectCascade-fab4426d.mjs";
52
+ import "./JModalTip-c3e6726c.mjs";
53
53
  import "ant-design-vue";
54
54
  import "@vueuse/core";
55
55
  import "/@/utils/dict";
56
56
  import "/@/utils/dict/index";
57
57
  import "/@/components/Markdown";
58
- const O = "/online/cgform/api/subform", P = {
58
+ const B = "/online/cgform/api/subform", I = {
59
59
  name: "OnlineSubFormDetail",
60
60
  components: {
61
- BasicForm: D,
62
- Loading: x,
63
- DetailForm: B
61
+ BasicForm: y,
62
+ Loading: O,
63
+ DetailForm: $
64
64
  },
65
65
  props: {
66
66
  properties: {
@@ -82,63 +82,66 @@ const O = "/online/cgform/api/subform", P = {
82
82
  },
83
83
  emits: ["formChange"],
84
84
  setup(t) {
85
- const i = u(!1);
85
+ const i = d(!1);
86
86
  h();
87
- const m = u(""), e = u({}), { detailFormSchemas: a, createFormSchemas: s, formSpan: p } = w(t);
88
- d(
87
+ const m = d(""), e = d({}), { detailFormSchemas: a, createFormSchemas: l, formSpan: n } = w(t);
88
+ b(
89
89
  () => t.table,
90
90
  () => {
91
91
  m.value = t.table;
92
92
  },
93
93
  { immediate: !0 }
94
- ), d(
94
+ ), b(
95
95
  () => t.properties,
96
96
  () => {
97
- i.value = !1, s(t.properties), i.value = !0;
97
+ i.value = !1, l(t.properties), i.value = !0;
98
98
  },
99
99
  { deep: !0, immediate: !0 }
100
- ), d(
100
+ ), b(
101
101
  () => t.mainId,
102
102
  () => {
103
103
  setTimeout(() => {
104
- n();
104
+ p();
105
105
  }, 100);
106
106
  },
107
107
  { immediate: !0 }
108
108
  );
109
- function n() {
110
- return f(this, null, function* () {
111
- yield $(i), e.value = {};
112
- const { table: o, mainId: l } = t;
113
- !o || !l || (e.value = (yield r(o, l)) || {});
109
+ function p() {
110
+ return u(this, null, function* () {
111
+ yield x(i), e.value = {};
112
+ const { table: o, mainId: s } = t;
113
+ if (!o || !s)
114
+ return;
115
+ let c = s.substring(0, s.indexOf("__"));
116
+ e.value = (yield r(o, c)) || {};
114
117
  });
115
118
  }
116
- function r(o, l) {
117
- return f(this, null, function* () {
118
- let _ = `${O}/${o}/${l}`;
119
- return new Promise((b, g) => {
120
- y.get({ url: _ }, { isTransformResponse: !1 }).then((c) => {
121
- c.success ? b(c.result) : g(c.message);
119
+ function r(o, s) {
120
+ return u(this, null, function* () {
121
+ let c = `${B}/${o}/${s}`;
122
+ return new Promise((_, g) => {
123
+ D.get({ url: c }, { isTransformResponse: !1 }).then((f) => {
124
+ f.success ? _(f.result) : g(f.message);
122
125
  });
123
- }).catch((b) => Promise.resolve({}));
126
+ }).catch((_) => Promise.resolve({}));
124
127
  });
125
128
  }
126
129
  return {
127
130
  detailFormSchemas: a,
128
131
  subFormData: e,
129
- formSpan: p
132
+ formSpan: n
130
133
  };
131
134
  }
132
135
  };
133
- function R(t, i, m, e, a, s) {
134
- const p = F("detail-form");
135
- return S(), v(p, {
136
+ function P(t, i, m, e, a, l) {
137
+ const n = F("detail-form");
138
+ return S(), v(n, {
136
139
  schemas: e.detailFormSchemas,
137
140
  data: e.subFormData,
138
141
  span: e.formSpan
139
142
  }, null, 8, ["schemas", "data", "span"]);
140
143
  }
141
- const St = /* @__PURE__ */ I(P, [["render", R]]);
144
+ const St = /* @__PURE__ */ k(I, [["render", P]]);
142
145
  export {
143
146
  St as default
144
147
  };
@@ -16,12 +16,12 @@ var L = (e, n, i) => new Promise((c, d) => {
16
16
  });
17
17
  import { defineComponent as oe, ref as B, watch as ne, computed as ae, resolveComponent as r, openBlock as m, createBlock as u, mergeProps as re, createSlots as le, withCtx as o, createVNode as f, createElementBlock as A, Fragment as V, renderList as j, createTextVNode as I, toDisplayString as g, createElementVNode as N, createCommentVNode as me } from "vue";
18
18
  import { BasicModal as ie } from "/@/components/Modal";
19
- import de from "./OnlineTabForm-9682158f.mjs";
20
- import { b as se } from "./useExtendComponent-d1db211d.mjs";
19
+ import de from "./OnlineTabForm-5c04cbc5.mjs";
20
+ import { b as se } from "./useExtendComponent-95ce0719.mjs";
21
21
  import pe from "/@/components/jeecg/comment/CommentPanel.vue";
22
22
  import { T as ue } from "./constant-fa63bd66.mjs";
23
23
  import { useAppInject as ce } from "/@/hooks/web/useAppInject";
24
- import { _ as be } from "./index-30c0a14f.mjs";
24
+ import { _ as be } from "./index-740b2c4a.mjs";
25
25
  import "/@/hooks/web/useMessage";
26
26
  import "/@/components/Form/index";
27
27
  import "/@/utils/http/axios";
@@ -47,11 +47,11 @@ import "/@/hooks/system/useListPage";
47
47
  import "vue-router";
48
48
  import "/@/components/Form/src/utils/Area";
49
49
  import "/@/components/Preview/index";
50
- import "./LinkTableListPiece-4187ad7d.mjs";
50
+ import "./LinkTableListPiece-0f4ca559.mjs";
51
51
  import "/@/api/common/api";
52
52
  import "/@/assets/images/placeholderImage.png";
53
- import "./OnlineSelectCascade-b218691c.mjs";
54
- import "./JModalTip-b1d19eaa.mjs";
53
+ import "./OnlineSelectCascade-fab4426d.mjs";
54
+ import "./JModalTip-c3e6726c.mjs";
55
55
  import "ant-design-vue";
56
56
  import "@vueuse/core";
57
57
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
@@ -1,32 +1,32 @@
1
1
  var F = (e, t, a) => new Promise((s, i) => {
2
- var u = (o) => {
2
+ var b = (o) => {
3
3
  try {
4
- n(a.next(o));
5
- } catch (r) {
6
- i(r);
4
+ r(a.next(o));
5
+ } catch (n) {
6
+ i(n);
7
7
  }
8
8
  }, p = (o) => {
9
9
  try {
10
- n(a.throw(o));
11
- } catch (r) {
12
- i(r);
10
+ r(a.throw(o));
11
+ } catch (n) {
12
+ i(n);
13
13
  }
14
- }, n = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(u, p);
15
- n((a = a.apply(e, t)).next());
14
+ }, r = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(b, p);
15
+ r((a = a.apply(e, t)).next());
16
16
  });
17
- import { defineComponent as z, ref as C, watch as G, resolveComponent as d, openBlock as I, createBlock as M, mergeProps as J, withCtx as m, createElementVNode as N, toDisplayString as R, createVNode as f, createElementBlock as K, Fragment as Q, renderList as X, createTextVNode as S } from "vue";
17
+ import { defineComponent as z, ref as v, watch as G, resolveComponent as d, openBlock as I, createBlock as M, mergeProps as J, withCtx as m, createElementVNode as N, toDisplayString as R, createVNode as f, createElementBlock as K, Fragment as Q, renderList as X, createTextVNode as S } from "vue";
18
18
  import { BasicModal as Y } from "/@/components/Modal";
19
- import Z from "./OnlineTabFormDetail-b8650175.mjs";
20
- import { b as ee } from "./useExtendComponent-d1db211d.mjs";
19
+ import Z from "./OnlineTabFormDetail-2a28febf.mjs";
20
+ import { b as ee } from "./useExtendComponent-95ce0719.mjs";
21
21
  import te from "/@/components/jeecg/comment/CommentPanel.vue";
22
22
  import { T as oe } from "./constant-fa63bd66.mjs";
23
- import { _ as ae } from "./index-30c0a14f.mjs";
23
+ import { _ as ae } from "./index-740b2c4a.mjs";
24
24
  import "/@/hooks/web/useMessage";
25
25
  import "/@/components/Loading";
26
26
  import "/@/utils/auth";
27
27
  import "/@/utils";
28
28
  import "@ant-design/icons-vue";
29
- import "./DetailForm-b92a5e9d.mjs";
29
+ import "./DetailForm-7d4f630e.mjs";
30
30
  import "/@/utils/propTypes";
31
31
  import "/@/utils/dict";
32
32
  import "/@/utils/dict/JDictSelectUtil";
@@ -37,9 +37,10 @@ import "/@/components/Form/src/utils/Area";
37
37
  import "/@/utils/common/compUtils";
38
38
  import "/@/components/Preview/index";
39
39
  import "/@/components/Markdown";
40
- import "./OnlineSubFormDetail-a1b7f33f.mjs";
40
+ import "./OnlineSubFormDetail-bbc48c3e.mjs";
41
41
  import "/@/components/Form/index";
42
42
  import "/@/hooks/web/useAppInject";
43
+ import "/@/utils/uuid";
43
44
  import "/@/components/Form/src/componentMap";
44
45
  import "lodash-es";
45
46
  import "/@/components/Form/src/jeecg/components/JUpload";
@@ -51,14 +52,14 @@ import "/@/store/modules/permission";
51
52
  import "/@/components/Table";
52
53
  import "/@/hooks/system/useListPage";
53
54
  import "vue-router";
54
- import "./LinkTableListPiece-4187ad7d.mjs";
55
+ import "./LinkTableListPiece-0f4ca559.mjs";
55
56
  import "/@/assets/images/placeholderImage.png";
56
- import "./OnlineSelectCascade-b218691c.mjs";
57
- import "./JModalTip-b1d19eaa.mjs";
57
+ import "./OnlineSelectCascade-fab4426d.mjs";
58
+ import "./JModalTip-c3e6726c.mjs";
58
59
  import "ant-design-vue";
59
60
  import "@vueuse/core";
60
61
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
61
- const ne = z({
62
+ const re = z({
62
63
  name: "OnlineTabDetailModal",
63
64
  props: {
64
65
  id: {
@@ -74,15 +75,15 @@ const ne = z({
74
75
  },
75
76
  emits: ["success", "register", "formConfig"],
76
77
  setup(e, { emit: t }) {
77
- const a = C(), s = C([]), i = C("-1");
78
- function u() {
78
+ const a = v(), s = v([]), i = v("-1");
79
+ function b() {
79
80
  a.value && a.value.reload();
80
81
  }
81
82
  const {
82
83
  title: p,
83
- modalWidth: n,
84
+ modalWidth: r,
84
85
  registerModal: o,
85
- cgButtonList: r,
86
+ cgButtonList: n,
86
87
  handleCgButtonClick: c,
87
88
  disableSubmit: h,
88
89
  handleSubmit: l,
@@ -100,15 +101,15 @@ const ne = z({
100
101
  formDataId: j,
101
102
  enableComment: W,
102
103
  themeTemplate: q
103
- } = ee(!1, { emit: t }, u);
104
+ } = ee(!1, { emit: t }, b);
104
105
  G(() => e.id, H, { immediate: !0 });
105
106
  function H() {
106
107
  return F(this, null, function* () {
107
108
  P.value = !1, e.id && (yield D(e.id, {}, (T) => {
108
109
  const w = [], _ = [], { head: B, schema: U } = T, { properties: x } = U;
109
- w.push({ tableName: B.tableName, tableTxt: B.tableTxt }), Object.entries(x).forEach(([v, b]) => {
110
- b.view == "tab" && _.push({ tableName: v, tableTxt: b.describe });
111
- }), _.sort((v, b) => v.order - b.order), s.value = [...w, ..._];
110
+ w.push({ tableName: B.tableName, tableTxt: B.tableTxt }), Object.entries(x).forEach(([C, u]) => {
111
+ u.view == "tab" && _.push({ tableName: C, tableTxt: u.describe, order: u.order });
112
+ }), _.sort((C, u) => C.order - u.order), s.value = [...w, ..._];
112
113
  }));
113
114
  });
114
115
  }
@@ -119,10 +120,10 @@ const ne = z({
119
120
  registerModal: o,
120
121
  handleSubmit: l,
121
122
  handleCancel: k,
122
- modalWidth: n,
123
+ modalWidth: r,
123
124
  formTemplate: V,
124
125
  disableSubmit: h,
125
- cgButtonList: r,
126
+ cgButtonList: n,
126
127
  handleCgButtonClick: c,
127
128
  isTreeForm: O,
128
129
  pidFieldName: $,
@@ -145,9 +146,9 @@ const ne = z({
145
146
  };
146
147
  }
147
148
  });
148
- const re = { class: "titleArea" }, me = { class: "title" }, ie = { class: "right" };
149
- function le(e, t, a, s, i, u) {
150
- const p = d("a-radio-button"), n = d("a-radio-group"), o = d("a-button"), r = d("online-form-detail"), c = d("comment-panel"), h = d("BasicModal");
149
+ const ne = { class: "titleArea" }, me = { class: "title" }, ie = { class: "right" };
150
+ function le(e, t, a, s, i, b) {
151
+ const p = d("a-radio-button"), r = d("a-radio-group"), o = d("a-button"), n = d("online-form-detail"), c = d("comment-panel"), h = d("BasicModal");
151
152
  return I(), M(h, J({
152
153
  title: e.title,
153
154
  onCancel: t[2] || (t[2] = () => {
@@ -162,10 +163,10 @@ function le(e, t, a, s, i, u) {
162
163
  wrapClassName: "jeecg-online-detail-modal"
163
164
  }), {
164
165
  title: m(() => [
165
- N("div", re, [
166
+ N("div", ne, [
166
167
  N("div", me, R(e.title), 1),
167
168
  N("div", ie, [
168
- f(n, {
169
+ f(r, {
169
170
  value: e.tabIndex,
170
171
  "onUpdate:value": t[0] || (t[0] = (l) => e.tabIndex = l)
171
172
  }, {
@@ -206,7 +207,7 @@ function le(e, t, a, s, i, u) {
206
207
  }, null, 8, ["tableName", "dataId"])
207
208
  ]),
208
209
  default: m(() => [
209
- f(r, {
210
+ f(n, {
210
211
  ref: "onlineFormCompRef",
211
212
  id: e.id,
212
213
  "form-template": e.formTemplate,
@@ -219,7 +220,7 @@ function le(e, t, a, s, i, u) {
219
220
  _: 1
220
221
  }, 16, ["title", "width", "enableComment", "onRegister"]);
221
222
  }
222
- const at = /* @__PURE__ */ ae(ne, [["render", le], ["__scopeId", "data-v-220dd945"]]);
223
+ const rt = /* @__PURE__ */ ae(re, [["render", le], ["__scopeId", "data-v-1d94bf71"]]);
223
224
  export {
224
- at as default
225
+ rt as default
225
226
  };