@jeecg/online 3.6.2-GA → 3.7.0-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 (118) hide show
  1. package/AiModal-fe3988fb.mjs +84 -0
  2. package/AuthButtonConfig-d50a0a65.mjs +134 -0
  3. package/{AuthButtonTree-c2602a7c.mjs → AuthButtonTree-589395ed.mjs} +2 -2
  4. package/AuthDataConfig-7bb0cd85.mjs +237 -0
  5. package/{AuthDataTree-9dc58b20.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
  6. package/AuthFieldConfig-490fc0ab.mjs +139 -0
  7. package/{AuthFieldTree-d836be59.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
  8. package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
  9. package/AuthSetterModal-6f74449c.mjs +273 -0
  10. package/{CgformCopyList-86157923.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
  11. package/{CgformModal-5cf02d51.mjs → CgformModal-36faf29a.mjs} +256 -246
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs → CgreportModal-5a23d089.mjs} +140 -117
  13. package/CheckDictTable-b5cb0e2b.mjs +226 -0
  14. package/{CodeFileListModal-f747daae.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
  15. package/{CodeFileViewModal-a9fb2900.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
  16. package/CodeGeneratorModal-b722d976.mjs +238 -0
  17. package/{CustomButtonList-b9b27a93.mjs → CustomButtonList-37639061.mjs} +118 -100
  18. package/{DBAttributeTable-6bdcb1e8.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
  19. package/{DbToOnlineModal-3705e91a.mjs → DbToOnlineModal-f49b9530.mjs} +56 -50
  20. package/DetailForm-4aa2570b.mjs +485 -0
  21. package/{EnhanceJavaModal-c13de6e0.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
  22. package/{EnhanceJsHistory-154101f0.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
  23. package/EnhanceJsModal-247f640d.mjs +532 -0
  24. package/{EnhanceSqlModal-221c22dc.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
  25. package/ExtendConfigModal-00f2fb55.mjs +117 -0
  26. package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
  27. package/{FileSelectModal-de40a706.mjs → FileSelectModal-38660e3c.mjs} +1 -1
  28. package/{ForeignKeyTable-22989042.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
  29. package/{IndexTable-833d34ff.mjs → IndexTable-1b496559.mjs} +10 -10
  30. package/{JModalTip-0413ad6a.mjs → JModalTip-4a83aaed.mjs} +1 -1
  31. package/{JOnlineSearchSelect-9ea89e13.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
  32. package/{LeftDepart-b0a535c0.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
  33. package/{LeftRole-22c90d6b.mjs → LeftRole-7d8c5acc.mjs} +1 -1
  34. package/{LeftUser-a44d63dd.mjs → LeftUser-b4d1372a.mjs} +3 -3
  35. package/LinkTableConfigModal-a138c85e.mjs +240 -0
  36. package/{LinkTableFieldConfigModal-06693eaa.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
  37. package/{LinkTableListPiece-46e8af51.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
  38. package/{ModalFormDemo-d107fa87.mjs → ModalFormDemo-0544737d.mjs} +1 -1
  39. package/OnlCgformErpList-30e416c8.mjs +470 -0
  40. package/OnlCgformErpSubTable-9a876058.mjs +427 -0
  41. package/OnlCgformInnerSubTable-290ace5d.mjs +266 -0
  42. package/OnlCgformInnerTableList-f89b6687.mjs +458 -0
  43. package/OnlCgformTabList-7a2f2c03.mjs +408 -0
  44. package/OnlineAutoList-46c6c8b9.mjs +493 -0
  45. package/OnlineAutoModal-971bef13.mjs +236 -0
  46. package/{OnlineAutoTreeList-ec27d271.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
  47. package/{OnlineCustomModal-3e6792d3.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
  48. package/{OnlineDetailModal-f40e37e1.mjs → OnlineDetailModal-2a271e0b.mjs} +74 -64
  49. package/OnlineForm-018981b2.mjs +924 -0
  50. package/OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs +1 -0
  51. package/OnlineFormDetail-e036cd11.mjs +342 -0
  52. package/OnlineFormUrlAdd-7fb3dcca.mjs +115 -0
  53. package/OnlineFormUrlDetail-b2292137.mjs +119 -0
  54. package/OnlineFormUrlEdit-44080fb3.mjs +113 -0
  55. package/OnlineFormUrlSuccess-af285b02.mjs +59 -0
  56. package/OnlineQueryForm-998c12a4.mjs +444 -0
  57. package/{OnlineSearchFormItem-fe308194.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
  58. package/{OnlineSelectCascade-abc345f9.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
  59. package/{OnlineSubFormDetail-02326a8c.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
  60. package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
  61. package/{OnlineTabDetailModal-d23bd4c9.mjs → OnlineTabDetailModal-88143301.mjs} +22 -20
  62. package/OnlineTabForm-9ad7d29a.mjs +805 -0
  63. package/OnlineTabFormDetail-bbf23caa.mjs +327 -0
  64. package/PageAttributeTable-6c23547b.mjs +446 -0
  65. package/{ProcessOnlineForm-84f4d02d.mjs → ProcessOnlineForm-b42198f5.mjs} +32 -28
  66. package/QueryTable-96b3dbd0.mjs +144 -0
  67. package/SetSwitchOptions-a452fa0f.mjs +62 -0
  68. package/SuperQuery-cbfba908.mjs +975 -0
  69. package/{auth.data-8be5c9e3.mjs → auth.data-22948e87.mjs} +56 -14
  70. package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
  71. package/constant-fa63bd66.mjs +10 -0
  72. package/{enhance.data-efc7e155.mjs → enhance.data-3304d553.mjs} +3 -3
  73. package/index-173949bb.mjs +57 -0
  74. package/{index-0a93652b.mjs → index-581bef24.mjs} +29 -27
  75. package/{index-e1bda35b.mjs → index-d2abb8a0.mjs} +394 -361
  76. package/main.index.js +1 -1
  77. package/package.json +1 -1
  78. package/style.css +1 -1
  79. package/useCgformList-8755a94e.mjs +426 -0
  80. package/useExtendComponent-bb7cca20.mjs +4295 -0
  81. package/useFormUrl-2ee1a82d.mjs +24 -0
  82. package/useListButton-7ddb9a46.mjs +697 -0
  83. package/{useSchemas-0433a403.mjs → useSchemas-47e45edc.mjs} +167 -86
  84. package/{useTableSync-774c3774.mjs → useTableSync-f6089e8a.mjs} +1 -1
  85. package/AuthButtonConfig-f142147a.mjs +0 -125
  86. package/AuthDataConfig-8e5c7b0c.mjs +0 -212
  87. package/AuthFieldConfig-e9a45f94.mjs +0 -139
  88. package/AuthManagerDrawer-5b558c23.mjs +0 -114
  89. package/AuthSetterModal-0cc557cf.mjs +0 -267
  90. package/CgreportModal-2eb9c9e1.mjs +0 -13
  91. package/CheckDictTable-27102064.mjs +0 -211
  92. package/CodeGeneratorModal-3a0e9f0e.mjs +0 -233
  93. package/DetailForm-cdeb54e3.mjs +0 -462
  94. package/EnhanceJsModal-6158804c.mjs +0 -311
  95. package/ExtendConfigModal-0564ef83.mjs +0 -111
  96. package/FieldExtendJsonModal-40d961c1.mjs +0 -219
  97. package/LinkTableConfigModal-5edaa08d.mjs +0 -230
  98. package/OnlCgformErpList-4c51cdb3.mjs +0 -454
  99. package/OnlCgformErpSubTable-d7081b9f.mjs +0 -403
  100. package/OnlCgformInnerSubTable-4c3925bb.mjs +0 -253
  101. package/OnlCgformInnerTableList-1e5014fa.mjs +0 -444
  102. package/OnlCgformTabList-c59c7cc7.mjs +0 -395
  103. package/OnlineAutoList-a7a9de5d.mjs +0 -479
  104. package/OnlineAutoModal-a33f1a63.mjs +0 -207
  105. package/OnlineForm-fb3a2379.mjs +0 -750
  106. package/OnlineFormDetail-52b1c303.mjs +0 -297
  107. package/OnlineQueryForm-7c70734e.mjs +0 -386
  108. package/OnlineTabAutoModal-6d9da8b0.mjs +0 -254
  109. package/OnlineTabForm-29ca07f7.mjs +0 -766
  110. package/OnlineTabFormDetail-aa7e1144.mjs +0 -324
  111. package/PageAttributeTable-d82946c5.mjs +0 -404
  112. package/QueryTable-d4599fca.mjs +0 -115
  113. package/SuperQuery-07162778.mjs +0 -843
  114. package/constant-754f1a9d.mjs +0 -9
  115. package/index-73993b18.mjs +0 -56
  116. package/useCgformList-b135794d.mjs +0 -400
  117. package/useExtendComponent-f4e29152.mjs +0 -3926
  118. package/useListButton-4dd33e7a.mjs +0 -676
@@ -16,19 +16,20 @@ var p = (e, f, r) => new Promise((m, u) => {
16
16
  });
17
17
  import { defineComponent as z, ref as i, nextTick as T, watch as J, reactive as Q, markRaw as W, defineAsyncComponent as X, resolveComponent as C, openBlock as S, createBlock as k, mergeProps as Y, withCtx as d, createVNode as R, createTextVNode as P, resolveDynamicComponent as Z } from "vue";
18
18
  import { BasicModal as x, useModalInner as ee } from "/@/components/Modal";
19
- import { g as _ } from "./useExtendComponent-f4e29152.mjs";
19
+ import { g as _ } from "./useExtendComponent-bb7cca20.mjs";
20
20
  import { defHttp as oe } from "/@/utils/http/axios";
21
- import te from "./OnlineForm-fb3a2379.mjs";
21
+ import te from "./OnlineForm-018981b2.mjs";
22
22
  import { importViewsFile as ne } from "/@/utils";
23
- import { _ as re } from "./index-73993b18.mjs";
23
+ import { _ as re } from "./index-173949bb.mjs";
24
24
  import "/@/components/Form/src/componentMap";
25
25
  import "/@/utils/propTypes";
26
26
  import "@ant-design/icons-vue";
27
27
  import "/@/hooks/web/useMessage";
28
28
  import "/@/components/Form/index";
29
29
  import "lodash-es";
30
- import "./constant-754f1a9d.mjs";
30
+ import "./constant-fa63bd66.mjs";
31
31
  import "/@/components/Form/src/jeecg/components/JUpload";
32
+ import "/@/utils/is";
32
33
  import "/@/views/system/user/user.api";
33
34
  import "/@/store/modules/user";
34
35
  import "/@/utils/desform/customExpression";
@@ -40,12 +41,15 @@ import "/@/hooks/system/useListPage";
40
41
  import "vue-router";
41
42
  import "/@/components/Form/src/utils/Area";
42
43
  import "/@/components/Preview/index";
43
- import "./LinkTableListPiece-46e8af51.mjs";
44
- import "./OnlineSelectCascade-abc345f9.mjs";
45
- import "/@/components/Loading";
44
+ import "./LinkTableListPiece-2660d709.mjs";
45
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
46
46
  import "/@/utils/auth";
47
- import "./JModalTip-0413ad6a.mjs";
47
+ import "/@/api/common/api";
48
48
  import "/@/hooks/web/useAppInject";
49
+ import "/@/assets/images/placeholderImage.png";
50
+ import "./OnlineSelectCascade-471fcc76.mjs";
51
+ import "/@/components/Loading";
52
+ import "./JModalTip-4a83aaed.mjs";
49
53
  import "ant-design-vue";
50
54
  import "@vueuse/core";
51
55
  import "/@/components/jeecg/JVxeTable/types";
@@ -53,7 +57,7 @@ import "/@/hooks/core/useContext";
53
57
  import "/@/utils/mitt";
54
58
  import "./useCustomHook-acb00837.mjs";
55
59
  import "/@/utils/cache";
56
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
60
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs";
57
61
  const ie = {
58
62
  code: "",
59
63
  title: "自定义弹框",
@@ -222,7 +226,7 @@ function le(e, f, r, m, u, c) {
222
226
  _: 1
223
227
  }, 16, ["title", "width", "style", "onRegister", "onOk"]);
224
228
  }
225
- const We = /* @__PURE__ */ re(me, [["render", le]]);
229
+ const xe = /* @__PURE__ */ re(me, [["render", le]]);
226
230
  export {
227
- We as default
231
+ xe as default
228
232
  };
@@ -1,31 +1,32 @@
1
- var c = (e, a, o) => new Promise((l, i) => {
1
+ var u = (e, n, o) => new Promise((l, i) => {
2
2
  var p = (t) => {
3
3
  try {
4
4
  m(o.next(t));
5
5
  } catch (r) {
6
6
  i(r);
7
7
  }
8
- }, n = (t) => {
8
+ }, a = (t) => {
9
9
  try {
10
10
  m(o.throw(t));
11
11
  } catch (r) {
12
12
  i(r);
13
13
  }
14
- }, m = (t) => t.done ? l(t.value) : Promise.resolve(t.value).then(p, n);
15
- m((o = o.apply(e, a)).next());
14
+ }, m = (t) => t.done ? l(t.value) : Promise.resolve(t.value).then(p, a);
15
+ m((o = o.apply(e, n)).next());
16
16
  });
17
- import { defineComponent as I, ref as $, watch as v, resolveComponent as d, openBlock as P, createBlock as y, mergeProps as O, withCtx as s, createVNode as f, createTextVNode as L } from "vue";
18
- import { BasicModal as V } from "/@/components/Modal";
19
- import W from "./OnlineFormDetail-52b1c303.mjs";
20
- import { b as j } from "./useExtendComponent-f4e29152.mjs";
21
- import q from "/@/components/jeecg/comment/CommentPanel.vue";
22
- import { _ as A } from "./index-73993b18.mjs";
17
+ import { defineComponent as I, ref as P, watch as $, resolveComponent as d, openBlock as v, createBlock as E, mergeProps as L, withCtx as s, createVNode as f, createTextVNode as O } from "vue";
18
+ import { BasicModal as A } from "/@/components/Modal";
19
+ import V from "./OnlineFormDetail-e036cd11.mjs";
20
+ import { b as W } from "./useExtendComponent-bb7cca20.mjs";
21
+ import j from "/@/components/jeecg/comment/CommentPanel.vue";
22
+ import { a as q } from "./constant-fa63bd66.mjs";
23
+ import { _ as H } from "./index-173949bb.mjs";
23
24
  import "/@/hooks/web/useMessage";
24
25
  import "/@/components/Loading";
25
26
  import "/@/utils/auth";
26
27
  import "/@/utils";
27
28
  import "@ant-design/icons-vue";
28
- import "./DetailForm-cdeb54e3.mjs";
29
+ import "./DetailForm-4aa2570b.mjs";
29
30
  import "/@/utils/propTypes";
30
31
  import "/@/utils/dict";
31
32
  import "/@/utils/dict/JDictSelectUtil";
@@ -36,12 +37,11 @@ import "/@/components/Form/src/utils/Area";
36
37
  import "/@/utils/common/compUtils";
37
38
  import "/@/components/Preview/index";
38
39
  import "/@/components/Markdown";
39
- import "./OnlineSubFormDetail-02326a8c.mjs";
40
- import "/@/components/Form/index";
41
- import "./constant-754f1a9d.mjs";
42
40
  import "/@/components/Form/src/componentMap";
41
+ import "/@/components/Form/index";
43
42
  import "lodash-es";
44
43
  import "/@/components/Form/src/jeecg/components/JUpload";
44
+ import "/@/utils/is";
45
45
  import "/@/views/system/user/user.api";
46
46
  import "/@/store/modules/user";
47
47
  import "/@/utils/desform/customExpression";
@@ -49,89 +49,99 @@ import "/@/store/modules/permission";
49
49
  import "/@/components/Table";
50
50
  import "/@/hooks/system/useListPage";
51
51
  import "vue-router";
52
- import "./LinkTableListPiece-46e8af51.mjs";
53
- import "./OnlineSelectCascade-abc345f9.mjs";
54
- import "./JModalTip-0413ad6a.mjs";
52
+ import "./LinkTableListPiece-2660d709.mjs";
53
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
55
54
  import "/@/hooks/web/useAppInject";
55
+ import "/@/assets/images/placeholderImage.png";
56
+ import "./OnlineSelectCascade-471fcc76.mjs";
57
+ import "./JModalTip-4a83aaed.mjs";
56
58
  import "ant-design-vue";
57
59
  import "@vueuse/core";
58
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
59
- const E = I({
60
+ import "./OnlineSubFormDetail-03f8ee5c.mjs";
61
+ const U = I({
60
62
  name: "OnlineDetailModal",
61
63
  props: {
62
64
  id: {
63
65
  type: String,
64
66
  required: !1,
65
67
  default: ""
68
+ },
69
+ // 为了区分来源,编码时主要是erp子表有特殊处理
70
+ source: {
71
+ type: String,
72
+ default: ""
66
73
  }
67
74
  },
68
75
  components: {
69
- BasicModal: V,
70
- OnlineFormDetail: W,
71
- CommentPanel: q
76
+ BasicModal: A,
77
+ OnlineFormDetail: V,
78
+ CommentPanel: j
72
79
  },
73
80
  emits: ["success", "register", "formConfig"],
74
- setup(e, { emit: a }) {
75
- const o = $();
81
+ setup(e, { emit: n }) {
82
+ const o = P();
76
83
  function l() {
77
84
  o.value && o.value.reload();
78
85
  }
79
86
  const {
80
87
  title: i,
81
88
  modalWidth: p,
82
- registerModal: n,
89
+ registerModal: a,
83
90
  cgButtonList: m,
84
91
  handleCgButtonClick: t,
85
92
  disableSubmit: r,
86
- handleSubmit: u,
87
- submitLoading: h,
88
- handleCancel: b,
89
- handleFormConfig: C,
90
- onlineFormCompRef: g,
91
- formTemplate: w,
93
+ handleSubmit: h,
94
+ submitLoading: b,
95
+ handleCancel: C,
96
+ handleFormConfig: g,
97
+ onlineFormCompRef: w,
98
+ formTemplate: R,
92
99
  isTreeForm: _,
93
- pidFieldName: R,
94
- renderSuccess: F,
95
- formRendered: M,
96
- showSub: N,
97
- tableName: T,
98
- formDataId: k,
99
- enableComment: B,
100
- themeTemplate: S
101
- } = j(!1, { emit: a }, l);
102
- v(() => e.id, D, { immediate: !0 });
103
- function D() {
104
- return c(this, null, function* () {
105
- M.value = !1, e.id && (yield C(e.id, {}));
100
+ pidFieldName: B,
101
+ renderSuccess: S,
102
+ formRendered: T,
103
+ showSub: F,
104
+ tableName: M,
105
+ formDataId: N,
106
+ enableComment: k,
107
+ themeTemplate: D
108
+ } = W(!1, { emit: n }, l);
109
+ $(() => e.id, y, { immediate: !0 });
110
+ function y() {
111
+ return u(this, null, function* () {
112
+ if (T.value = !1, !e.id)
113
+ return;
114
+ let c = {};
115
+ e.source === q && (c.tabletype = 3), yield g(e.id, c);
106
116
  });
107
117
  }
108
118
  return {
109
119
  title: i,
110
- onlineFormCompRef: g,
111
- renderSuccess: F,
112
- registerModal: n,
113
- handleSubmit: u,
114
- handleCancel: b,
120
+ onlineFormCompRef: w,
121
+ renderSuccess: S,
122
+ registerModal: a,
123
+ handleSubmit: h,
124
+ handleCancel: C,
115
125
  modalWidth: p,
116
- formTemplate: w,
126
+ formTemplate: R,
117
127
  disableSubmit: r,
118
128
  cgButtonList: m,
119
129
  handleCgButtonClick: t,
120
130
  isTreeForm: _,
121
- pidFieldName: R,
122
- submitLoading: h,
123
- showSub: N,
124
- tableName: T,
125
- formDataId: k,
126
- enableComment: B,
131
+ pidFieldName: B,
132
+ submitLoading: b,
133
+ showSub: F,
134
+ tableName: M,
135
+ formDataId: N,
136
+ enableComment: k,
127
137
  commentPanelRef: o,
128
- themeTemplate: S
138
+ themeTemplate: D
129
139
  };
130
140
  }
131
141
  });
132
- function H(e, a, o, l, i, p) {
133
- const n = d("a-button"), m = d("online-form-detail"), t = d("comment-panel"), r = d("BasicModal");
134
- return P(), y(r, O({
142
+ function z(e, n, o, l, i, p) {
143
+ const a = d("a-button"), m = d("online-form-detail"), t = d("comment-panel"), r = d("BasicModal");
144
+ return v(), E(r, L({
135
145
  title: e.title,
136
146
  width: e.modalWidth,
137
147
  maxHeight: 600,
@@ -142,12 +152,12 @@ function H(e, a, o, l, i, p) {
142
152
  wrapClassName: "jeecg-online-detail-modal"
143
153
  }), {
144
154
  footer: s(() => [
145
- f(n, {
155
+ f(a, {
146
156
  key: "back",
147
157
  onClick: e.handleCancel
148
158
  }, {
149
159
  default: s(() => [
150
- L("关闭")
160
+ O("关闭")
151
161
  ]),
152
162
  _: 1
153
163
  }, 8, ["onClick"])
@@ -172,7 +182,7 @@ function H(e, a, o, l, i, p) {
172
182
  _: 1
173
183
  }, 16, ["title", "width", "enableComment", "onRegister"]);
174
184
  }
175
- const ye = /* @__PURE__ */ A(E, [["render", H]]);
185
+ const Ae = /* @__PURE__ */ H(U, [["render", z]]);
176
186
  export {
177
- ye as default
187
+ Ae as default
178
188
  };