@jeecg/online 3.6.2-beta → 3.7.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 (127) hide show
  1. package/AiModal-6de335e3.mjs +84 -0
  2. package/AuthButtonConfig-89763932.mjs +154 -0
  3. package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
  4. package/AuthDataConfig-5c3a8e6b.mjs +238 -0
  5. package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
  6. package/AuthFieldConfig-9f6fa06c.mjs +245 -0
  7. package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
  8. package/AuthManagerDrawer-76f15e8d.mjs +119 -0
  9. package/AuthSetterModal-f5d2e87f.mjs +274 -0
  10. package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
  11. package/CgformModal-21c5c387.mjs +671 -0
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
  13. package/CheckDictTable-1bc8322d.mjs +229 -0
  14. package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
  15. package/CodeFileViewModal-2fe911f4.mjs +253 -0
  16. package/CodeGeneratorModal-f09fe903.mjs +282 -0
  17. package/CustomButtonList-f07bc695.mjs +397 -0
  18. package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
  19. package/DbToOnlineModal-5dcb67c3.mjs +169 -0
  20. package/DetailForm-deecbf3d.mjs +486 -0
  21. package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
  22. package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
  23. package/EnhanceJsModal-175357a1.mjs +548 -0
  24. package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
  25. package/ExtendConfigModal-a89ae052.mjs +117 -0
  26. package/FieldExtendJsonModal-32135634.mjs +277 -0
  27. package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
  28. package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
  29. package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
  30. package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
  31. package/JOnlineSearchSelect-22aae934.mjs +128 -0
  32. package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
  33. package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
  34. package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
  35. package/LinkTableConfigModal-9242d750.mjs +240 -0
  36. package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
  37. package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
  38. package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
  39. package/OnlCgformErpList-58acdfa0.mjs +470 -0
  40. package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
  41. package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
  42. package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
  43. package/OnlCgformTabList-019ad753.mjs +408 -0
  44. package/OnlineAutoList-48589d09.mjs +493 -0
  45. package/OnlineAutoModal-c2928847.mjs +239 -0
  46. package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
  47. package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
  48. package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
  49. package/OnlineForm-9f1153ba.mjs +985 -0
  50. package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
  51. package/OnlineFormDetail-022ca117.mjs +342 -0
  52. package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
  53. package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
  54. package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
  55. package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
  56. package/OnlineQueryForm-eedb9a60.mjs +466 -0
  57. package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
  58. package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
  59. package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
  60. package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
  61. package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
  62. package/OnlineTabForm-27655c83.mjs +817 -0
  63. package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
  64. package/PageAttributeTable-25e3b7da.mjs +466 -0
  65. package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
  66. package/QueryTable-f7bfca7f.mjs +147 -0
  67. package/SetSwitchOptions-b2af757f.mjs +62 -0
  68. package/SuperQuery-a8592995.mjs +967 -0
  69. package/auth.api-ea1d33d4.mjs +41 -0
  70. package/auth.data-511e5197.mjs +217 -0
  71. package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
  72. package/constant-fa63bd66.mjs +10 -0
  73. package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
  74. package/index-1d1a6e56.mjs +57 -0
  75. package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
  76. package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
  77. package/main.index.js +1 -1
  78. package/package.json +1 -1
  79. package/style.css +1 -1
  80. package/useCgformList-f41d4dc1.mjs +426 -0
  81. package/useExtendComponent-dcae5c78.mjs +4399 -0
  82. package/useFormUrl-2ee1a82d.mjs +24 -0
  83. package/useListButton-bfac4ecf.mjs +697 -0
  84. package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
  85. package/useTableSync-d7e9f18d.mjs +89 -0
  86. package/AuthButtonConfig-244ec09f.mjs +0 -125
  87. package/AuthDataConfig-83891eea.mjs +0 -212
  88. package/AuthFieldConfig-6b21915c.mjs +0 -139
  89. package/AuthManagerDrawer-300dd4e4.mjs +0 -114
  90. package/AuthSetterModal-a414fb35.mjs +0 -267
  91. package/CgformModal-eccfc38e.mjs +0 -611
  92. package/CgreportModal-2065f5a9.mjs +0 -13
  93. package/CheckDictTable-134cbb83.mjs +0 -211
  94. package/CodeFileViewModal-373e8058.mjs +0 -244
  95. package/CodeGeneratorModal-f08a89cd.mjs +0 -233
  96. package/CustomButtonList-02e3d897.mjs +0 -363
  97. package/DbToOnlineModal-9f13956f.mjs +0 -160
  98. package/DetailForm-424638eb.mjs +0 -462
  99. package/EnhanceJsModal-05c73a59.mjs +0 -311
  100. package/ExtendConfigModal-1dde390a.mjs +0 -111
  101. package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
  102. package/JOnlineSearchSelect-c287af12.mjs +0 -95
  103. package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
  104. package/OnlCgformErpList-db45e22b.mjs +0 -454
  105. package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
  106. package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
  107. package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
  108. package/OnlCgformTabList-a9e1e36a.mjs +0 -395
  109. package/OnlineAutoList-0583a910.mjs +0 -479
  110. package/OnlineAutoModal-510991eb.mjs +0 -207
  111. package/OnlineForm-1fa2d893.mjs +0 -750
  112. package/OnlineFormDetail-0e7294ca.mjs +0 -297
  113. package/OnlineQueryForm-1bfc8320.mjs +0 -386
  114. package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
  115. package/OnlineTabForm-512d3951.mjs +0 -766
  116. package/OnlineTabFormDetail-5a70219d.mjs +0 -324
  117. package/PageAttributeTable-965dc58e.mjs +0 -404
  118. package/QueryTable-eb9a5b21.mjs +0 -115
  119. package/SuperQuery-5d1ca957.mjs +0 -843
  120. package/auth.api-d3a6c4b3.mjs +0 -39
  121. package/auth.data-8be5c9e3.mjs +0 -141
  122. package/constant-754f1a9d.mjs +0 -9
  123. package/index-0e3ab3af.mjs +0 -56
  124. package/useCgformList-423282b7.mjs +0 -400
  125. package/useExtendComponent-325fe3f1.mjs +0 -3926
  126. package/useListButton-cdbab702.mjs +0 -676
  127. package/useTableSync-774c3774.mjs +0 -87
@@ -16,36 +16,40 @@ 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-325fe3f1.mjs";
19
+ import { g as _ } from "./useExtendComponent-dcae5c78.mjs";
20
20
  import { defHttp as oe } from "/@/utils/http/axios";
21
- import te from "./OnlineForm-1fa2d893.mjs";
21
+ import te from "./OnlineForm-9f1153ba.mjs";
22
22
  import { importViewsFile as ne } from "/@/utils";
23
- import { _ as re } from "./index-0e3ab3af.mjs";
23
+ import { _ as re } from "./index-1d1a6e56.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
+ import "/@/utils/common/compUtils";
31
32
  import "/@/components/Form/src/jeecg/components/JUpload";
33
+ import "/@/utils/is";
32
34
  import "/@/views/system/user/user.api";
33
35
  import "/@/store/modules/user";
34
36
  import "/@/utils/desform/customExpression";
35
37
  import "/@/store/modules/permission";
36
38
  import "/@/utils/dict/JDictSelectUtil";
37
- import "/@/utils/common/compUtils";
38
39
  import "/@/components/Table";
39
40
  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-8499a318.mjs";
44
- import "./OnlineSelectCascade-4265c95d.mjs";
45
- import "/@/components/Loading";
44
+ import "./LinkTableListPiece-f3a8e0d7.mjs";
45
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
46
46
  import "/@/utils/auth";
47
- import "./JModalTip-33c7dc44.mjs";
47
+ import "/@/api/common/api";
48
48
  import "/@/hooks/web/useAppInject";
49
+ import "/@/assets/images/placeholderImage.png";
50
+ import "./OnlineSelectCascade-05c40fef.mjs";
51
+ import "/@/components/Loading";
52
+ import "./JModalTip-b055ab60.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_4657b304_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-0e7294ca.mjs";
20
- import { b as j } from "./useExtendComponent-325fe3f1.mjs";
21
- import q from "/@/components/jeecg/comment/CommentPanel.vue";
22
- import { _ as A } from "./index-0e3ab3af.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-022ca117.mjs";
20
+ import { b as W } from "./useExtendComponent-dcae5c78.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-1d1a6e56.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-424638eb.mjs";
29
+ import "./DetailForm-deecbf3d.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-f0d2c016.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-8499a318.mjs";
53
- import "./OnlineSelectCascade-4265c95d.mjs";
54
- import "./JModalTip-33c7dc44.mjs";
52
+ import "./LinkTableListPiece-f3a8e0d7.mjs";
53
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
55
54
  import "/@/hooks/web/useAppInject";
55
+ import "/@/assets/images/placeholderImage.png";
56
+ import "./OnlineSelectCascade-05c40fef.mjs";
57
+ import "./JModalTip-b055ab60.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-58e896ce.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
  };