@jeecg/online 1.0.1 → 3.4.3-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 (91) hide show
  1. package/AuthButtonConfig.js +14 -7
  2. package/AuthButtonTree.js +3 -5
  3. package/AuthDataConfig.js +9 -6
  4. package/AuthDataTree.js +3 -5
  5. package/AuthFieldConfig.js +15 -12
  6. package/AuthFieldTree.js +24 -18
  7. package/AuthManagerDrawer.js +1 -1
  8. package/AuthSetterModal.js +1 -0
  9. package/CgformCopyList.js +34 -22
  10. package/CgformModal.js +57 -50
  11. package/CgreportModal.js +32 -39
  12. package/CheckDictTable.js +144 -24
  13. package/CodeFileListModal.js +175 -0
  14. package/CodeFileViewModal.js +325 -0
  15. package/CodeGeneratorModal.js +41 -38
  16. package/CustomButtonList.js +19 -22
  17. package/DBAttributeTable.js +248 -12
  18. package/DbToOnlineModal.js +27 -25
  19. package/DetailForm.js +605 -0
  20. package/EnhanceJavaModal.js +11 -17
  21. package/EnhanceJsHistory.js +6 -8
  22. package/EnhanceJsModal.js +9 -16
  23. package/EnhanceSqlModal.js +11 -17
  24. package/ExtendConfigModal.js +24 -15
  25. package/ForeignKeyTable.js +4 -3
  26. package/FormSchemaFactory.js +163 -30
  27. package/IndexTable.js +6 -5
  28. package/JModalTip.js +54 -0
  29. package/JOnlineSearchSelect.js +18 -10
  30. package/LeftDepart.js +1 -1
  31. package/LeftRole.js +7 -4
  32. package/LeftUser.js +7 -4
  33. package/LinkTableConfigModal.js +289 -0
  34. package/LinkTableFieldConfigModal.js +218 -0
  35. package/LinkTableListPiece.js +36 -0
  36. package/ModalFormDemo.js +3 -2
  37. package/OnlineAutoList.js +154 -55
  38. package/OnlineAutoModal.js +88 -131
  39. package/OnlineAutoTreeList.js +93 -53
  40. package/OnlineCustomModal.js +30 -14
  41. package/OnlineDetailModal.js +184 -0
  42. package/OnlineForm.js +259 -141
  43. package/OnlineFormDetail.js +326 -0
  44. package/OnlineQueryForm.js +72 -40
  45. package/OnlineSearchFormItem.js +26 -18
  46. package/OnlineSelectCascade.js +67 -53
  47. package/OnlineSubFormDetail.js +167 -0
  48. package/OnlineSuperQuery.js +69 -74
  49. package/OnlineSuperQueryValComponent.js +1 -0
  50. package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +1 -17
  51. package/PageAttributeTable.js +233 -30
  52. package/ProcessOnlineForm.js +41 -16
  53. package/QueryTable.js +4 -3
  54. package/README.md +3 -8
  55. package/_arrayPush.js +5 -3
  56. package/{cloneDeep.js → _baseClone.js} +5 -9
  57. package/_baseSlice.js +18 -0
  58. package/_commonjsHelpers.js +5 -0
  59. package/_flatRest.js +174 -0
  60. package/auth.data.js +1 -3
  61. package/cgform.data.js +18 -9
  62. package/enhance.api.js +27 -18
  63. package/index.js +16 -6
  64. package/index2.js +48 -45
  65. package/index3.js +29 -26
  66. package/isArray.js +1 -1
  67. package/omit.js +60 -0
  68. package/package.json +1 -1
  69. package/pick.js +3 -173
  70. package/style.css +1 -1
  71. package/toString.js +2 -2
  72. package/useAutoForm.js +3437 -3791
  73. package/useCgformList.js +44 -31
  74. package/{useTableColumns.js → useListButton.js} +212 -407
  75. package/useOnlineTest.js +5 -26827
  76. package/useSchemas.js +364 -230
  77. package/useTableSync.js +19 -7
  78. package/ChartAutoRender.js +0 -69
  79. package/ChartDoubleRender.js +0 -154
  80. package/ChartSingleRender.js +0 -132
  81. package/ChartTabsRender.js +0 -218
  82. package/ErrorTip.js +0 -21
  83. package/FieldTable.js +0 -185
  84. package/GraphreportAutoChart.js +0 -352
  85. package/GraphreportList.js +0 -239
  86. package/GraphreportModal.js +0 -559
  87. package/OnlineSubForm.js +0 -200
  88. package/ParamsTable.js +0 -71
  89. package/graphreport.api.js +0 -23
  90. package/useChartRender.js +0 -405
  91. package/useMessageOnline.js +0 -71
package/_flatRest.js ADDED
@@ -0,0 +1,174 @@
1
+ import { i as isArray, S as Symbol$1 } from "./isArray.js";
2
+ import { i as isSymbol, t as toString } from "./toString.js";
3
+ import { e as defineProperty, M as MapCache, b as isArguments, f as arrayPush } from "./_arrayPush.js";
4
+ function identity(value) {
5
+ return value;
6
+ }
7
+ function apply(func, thisArg, args) {
8
+ switch (args.length) {
9
+ case 0:
10
+ return func.call(thisArg);
11
+ case 1:
12
+ return func.call(thisArg, args[0]);
13
+ case 2:
14
+ return func.call(thisArg, args[0], args[1]);
15
+ case 3:
16
+ return func.call(thisArg, args[0], args[1], args[2]);
17
+ }
18
+ return func.apply(thisArg, args);
19
+ }
20
+ var HOT_COUNT = 800, HOT_SPAN = 16;
21
+ var nativeNow = Date.now;
22
+ function shortOut(func) {
23
+ var count = 0, lastCalled = 0;
24
+ return function() {
25
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
26
+ lastCalled = stamp;
27
+ if (remaining > 0) {
28
+ if (++count >= HOT_COUNT) {
29
+ return arguments[0];
30
+ }
31
+ } else {
32
+ count = 0;
33
+ }
34
+ return func.apply(void 0, arguments);
35
+ };
36
+ }
37
+ function constant(value) {
38
+ return function() {
39
+ return value;
40
+ };
41
+ }
42
+ var baseSetToString = !defineProperty ? identity : function(func, string) {
43
+ return defineProperty(func, "toString", {
44
+ "configurable": true,
45
+ "enumerable": false,
46
+ "value": constant(string),
47
+ "writable": true
48
+ });
49
+ };
50
+ var baseSetToString$1 = baseSetToString;
51
+ var setToString = shortOut(baseSetToString$1);
52
+ var setToString$1 = setToString;
53
+ var nativeMax = Math.max;
54
+ function overRest(func, start, transform) {
55
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
56
+ return function() {
57
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
58
+ while (++index < length) {
59
+ array[index] = args[start + index];
60
+ }
61
+ index = -1;
62
+ var otherArgs = Array(start + 1);
63
+ while (++index < start) {
64
+ otherArgs[index] = args[index];
65
+ }
66
+ otherArgs[start] = transform(array);
67
+ return apply(func, this, otherArgs);
68
+ };
69
+ }
70
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
71
+ function isKey(value, object) {
72
+ if (isArray(value)) {
73
+ return false;
74
+ }
75
+ var type = typeof value;
76
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
77
+ return true;
78
+ }
79
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
80
+ }
81
+ var FUNC_ERROR_TEXT = "Expected a function";
82
+ function memoize(func, resolver) {
83
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") {
84
+ throw new TypeError(FUNC_ERROR_TEXT);
85
+ }
86
+ var memoized = function() {
87
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
88
+ if (cache.has(key)) {
89
+ return cache.get(key);
90
+ }
91
+ var result = func.apply(this, args);
92
+ memoized.cache = cache.set(key, result) || cache;
93
+ return result;
94
+ };
95
+ memoized.cache = new (memoize.Cache || MapCache)();
96
+ return memoized;
97
+ }
98
+ memoize.Cache = MapCache;
99
+ var MAX_MEMOIZE_SIZE = 500;
100
+ function memoizeCapped(func) {
101
+ var result = memoize(func, function(key) {
102
+ if (cache.size === MAX_MEMOIZE_SIZE) {
103
+ cache.clear();
104
+ }
105
+ return key;
106
+ });
107
+ var cache = result.cache;
108
+ return result;
109
+ }
110
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
111
+ var reEscapeChar = /\\(\\)?/g;
112
+ var stringToPath = memoizeCapped(function(string) {
113
+ var result = [];
114
+ if (string.charCodeAt(0) === 46) {
115
+ result.push("");
116
+ }
117
+ string.replace(rePropName, function(match, number, quote, subString) {
118
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
119
+ });
120
+ return result;
121
+ });
122
+ var stringToPath$1 = stringToPath;
123
+ function castPath(value, object) {
124
+ if (isArray(value)) {
125
+ return value;
126
+ }
127
+ return isKey(value, object) ? [value] : stringToPath$1(toString(value));
128
+ }
129
+ var INFINITY = 1 / 0;
130
+ function toKey(value) {
131
+ if (typeof value == "string" || isSymbol(value)) {
132
+ return value;
133
+ }
134
+ var result = value + "";
135
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
136
+ }
137
+ function baseGet(object, path) {
138
+ path = castPath(path, object);
139
+ var index = 0, length = path.length;
140
+ while (object != null && index < length) {
141
+ object = object[toKey(path[index++])];
142
+ }
143
+ return index && index == length ? object : void 0;
144
+ }
145
+ var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
146
+ function isFlattenable(value) {
147
+ return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
148
+ }
149
+ function baseFlatten(array, depth, predicate, isStrict, result) {
150
+ var index = -1, length = array.length;
151
+ predicate || (predicate = isFlattenable);
152
+ result || (result = []);
153
+ while (++index < length) {
154
+ var value = array[index];
155
+ if (depth > 0 && predicate(value)) {
156
+ if (depth > 1) {
157
+ baseFlatten(value, depth - 1, predicate, isStrict, result);
158
+ } else {
159
+ arrayPush(result, value);
160
+ }
161
+ } else if (!isStrict) {
162
+ result[result.length] = value;
163
+ }
164
+ }
165
+ return result;
166
+ }
167
+ function flatten(array) {
168
+ var length = array == null ? 0 : array.length;
169
+ return length ? baseFlatten(array, 1) : [];
170
+ }
171
+ function flatRest(func) {
172
+ return setToString$1(overRest(func, void 0, flatten), func + "");
173
+ }
174
+ export { baseGet as b, castPath as c, flatRest as f, toKey as t };
package/auth.data.js CHANGED
@@ -103,9 +103,7 @@ function useAuthDataFormSchemas(props, methods) {
103
103
  getPopupContainer: () => document.body
104
104
  },
105
105
  dynamicRules({ model }) {
106
- return [
107
- { required: model.ruleOperator != USE_SQL_RULES, message: "\u8BF7\u8F93\u5165\u89C4\u5219\u5B57\u6BB5" }
108
- ];
106
+ return [{ required: model.ruleOperator != USE_SQL_RULES, message: "\u8BF7\u8F93\u5165\u89C4\u5219\u5B57\u6BB5" }];
109
107
  },
110
108
  show: ({ model }) => model.ruleOperator != USE_SQL_RULES
111
109
  },
package/cgform.data.js CHANGED
@@ -86,7 +86,8 @@ const ExtConfigDefaultJson = {
86
86
  reportPrintUrl: "",
87
87
  joinQuery: 0,
88
88
  modelFullscreen: 0,
89
- modalMinWidth: ""
89
+ modalMinWidth: "",
90
+ commentStatus: 0
90
91
  };
91
92
  function useInitialData() {
92
93
  let initialData = [
@@ -104,7 +105,8 @@ function useInitialData() {
104
105
  isReadOnly: "1",
105
106
  fieldShowType: "text",
106
107
  fieldLength: "120",
107
- queryMode: "single"
108
+ queryMode: "single",
109
+ dbIsSync: "1"
108
110
  },
109
111
  {
110
112
  dbFieldName: "create_by",
@@ -119,7 +121,8 @@ function useInitialData() {
119
121
  isShowList: "0",
120
122
  fieldShowType: "text",
121
123
  fieldLength: "120",
122
- queryMode: "single"
124
+ queryMode: "single",
125
+ dbIsSync: "1"
123
126
  },
124
127
  {
125
128
  dbFieldName: "create_time",
@@ -134,7 +137,8 @@ function useInitialData() {
134
137
  isShowList: "0",
135
138
  fieldShowType: "datetime",
136
139
  fieldLength: "120",
137
- queryMode: "single"
140
+ queryMode: "single",
141
+ dbIsSync: "1"
138
142
  },
139
143
  {
140
144
  dbFieldName: "update_by",
@@ -149,7 +153,8 @@ function useInitialData() {
149
153
  isShowList: "0",
150
154
  fieldShowType: "text",
151
155
  fieldLength: "120",
152
- queryMode: "single"
156
+ queryMode: "single",
157
+ dbIsSync: "1"
153
158
  },
154
159
  {
155
160
  dbFieldName: "update_time",
@@ -164,7 +169,8 @@ function useInitialData() {
164
169
  isShowList: "0",
165
170
  fieldShowType: "datetime",
166
171
  fieldLength: "120",
167
- queryMode: "single"
172
+ queryMode: "single",
173
+ dbIsSync: "1"
168
174
  },
169
175
  {
170
176
  dbFieldName: "sys_org_code",
@@ -179,7 +185,8 @@ function useInitialData() {
179
185
  isShowList: "0",
180
186
  fieldShowType: "text",
181
187
  fieldLength: "120",
182
- queryMode: "single"
188
+ queryMode: "single",
189
+ dbIsSync: "1"
183
190
  }
184
191
  ];
185
192
  let tempIds = [];
@@ -204,7 +211,8 @@ function useTreeNeedFields() {
204
211
  isShowList: "0",
205
212
  fieldShowType: "text",
206
213
  fieldLength: "120",
207
- queryMode: "single"
214
+ queryMode: "single",
215
+ dbIsSync: "1"
208
216
  },
209
217
  {
210
218
  dbFieldName: "has_child",
@@ -220,7 +228,8 @@ function useTreeNeedFields() {
220
228
  fieldShowType: "list",
221
229
  fieldLength: "120",
222
230
  queryMode: "single",
223
- dictField: "yn"
231
+ dictField: "yn",
232
+ dbIsSync: "1"
224
233
  }
225
234
  ];
226
235
  }
package/enhance.api.js CHANGED
@@ -41,12 +41,15 @@ import { defHttp } from "/@/utils/http/axios";
41
41
  import { isArray } from "/@/utils/is";
42
42
  function getEnhanceJsByCode(code, type, params) {
43
43
  return __async(this, null, function* () {
44
- let { success, result } = yield defHttp.get({
45
- url: "/online/cgform/head/enhanceJs/" + code,
46
- params: __spreadProps(__spreadValues({}, params), {
47
- type
48
- })
49
- }, { isTransformResponse: false });
44
+ let { success, result } = yield defHttp.get(
45
+ {
46
+ url: "/online/cgform/head/enhanceJs/" + code,
47
+ params: __spreadProps(__spreadValues({}, params), {
48
+ type
49
+ })
50
+ },
51
+ { isTransformResponse: false }
52
+ );
50
53
  if (!success) {
51
54
  result = { cgJs: "" };
52
55
  }
@@ -74,12 +77,15 @@ function getEnhanceJavaByCode(code, params) {
74
77
  });
75
78
  }
76
79
  function doEnhanceJavaBatchDelete(idList) {
77
- return defHttp.delete({
78
- url: "/online/cgform/head/deleteBatchEnhanceJava",
79
- params: {
80
- ids: idList.join(",")
81
- }
82
- }, { joinParamsToUrl: true });
80
+ return defHttp.delete(
81
+ {
82
+ url: "/online/cgform/head/deleteBatchEnhanceJava",
83
+ params: {
84
+ ids: idList.join(",")
85
+ }
86
+ },
87
+ { joinParamsToUrl: true }
88
+ );
83
89
  }
84
90
  const saveEnhanceJava = (code, params, isUpdate) => {
85
91
  let url = `${"/online/cgform/head/enhanceJava"}/${code}`;
@@ -102,12 +108,15 @@ function getEnhanceSqlByCode(code, params) {
102
108
  });
103
109
  }
104
110
  function doEnhanceSqlBatchDelete(idList) {
105
- return defHttp.delete({
106
- url: "/online/cgform/head/deletebatchEnhanceSql",
107
- params: {
108
- ids: idList.join(",")
109
- }
110
- }, { joinParamsToUrl: true });
111
+ return defHttp.delete(
112
+ {
113
+ url: "/online/cgform/head/deletebatchEnhanceSql",
114
+ params: {
115
+ ids: idList.join(",")
116
+ }
117
+ },
118
+ { joinParamsToUrl: true }
119
+ );
111
120
  }
112
121
  const saveEnhanceSql = (code, params, isUpdate) => {
113
122
  let url = `${"/online/cgform/head/enhanceSql"}/${code}`;
package/index.js CHANGED
@@ -48,17 +48,27 @@ var index = {
48
48
  console.log("--- online init ----");
49
49
  },
50
50
  getViews() {
51
- return { "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList.js"), "./src/views/super/online/cgform/index.vue": () => import("./index2.js"), "./src/views/super/online/cgreport/index.vue": () => import("./index3.js"), "./src/views/super/online/graphreport/GraphreportList.vue": () => import("./GraphreportList.js"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal.js").then(function(n) {
51
+ return { "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList.js"), "./src/views/super/online/cgform/index.vue": () => import("./index2.js"), "./src/views/super/online/cgreport/index.vue": () => import("./index3.js"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal.js").then(function(n) {
52
52
  return n.f;
53
- }), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal.js"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal.js"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal.js"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal.js"), "./src/views/super/online/cgform/hooks/useMessageOnline.tsx": () => import("./useMessageOnline.js"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(function() {
53
+ }), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal.js"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal.js"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal.js"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal.js"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal.js"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal.js"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(function() {
54
54
  return OnlCgReportList$1;
55
55
  }), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal.js").then(function(n) {
56
56
  return n.C;
57
- }), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo.js"), "./src/views/super/online/graphreport/auto/GraphreportAutoChart.vue": () => import("./GraphreportAutoChart.js"), "./src/views/super/online/graphreport/components/GraphreportModal.vue": () => import("./GraphreportModal.js"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect.js"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm.js").then(function(n) {
57
+ }), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo.js"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect.js"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail.js"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useAutoForm.js").then(function(n) {
58
+ return n.n;
59
+ }), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useAutoForm.js").then(function(n) {
60
+ return n.q;
61
+ }), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useAutoForm.js").then(function(n) {
62
+ return n.o;
63
+ }), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem.js"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade.js"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useAutoForm.js").then(function(n) {
64
+ return n.m;
65
+ }), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail.js"), "./src/views/super/online/cgform/auto/comp/OnlineSuperQuery.vue": () => import("./OnlineSuperQuery.js"), "./src/views/super/online/cgform/auto/comp/OnlineSuperQueryValComponent.vue": () => import("./OnlineSuperQueryValComponent.js"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal.js"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal.js"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal.js"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList.js"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer.js"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal.js"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory.js").then(function(n) {
58
66
  return n.a;
59
- }), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem.js"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade.js"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./OnlineSubForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineSuperQuery.vue": () => import("./OnlineSuperQuery.js"), "./src/views/super/online/cgform/auto/comp/OnlineSuperQueryValComponent.vue": () => import("./OnlineSuperQueryValComponent.js"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal.js"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal.js"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList.js"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer.js"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal.js"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory.js").then(function(n) {
60
- return n.a;
61
- }), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal.js"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal.js"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable.js"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable.js"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable.js"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable.js"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable.js"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable.js"), "./src/views/super/online/graphreport/auto/components/ErrorTip.vue": () => import("./ErrorTip.js"), "./src/views/super/online/graphreport/components/tables/FieldTable.vue": () => import("./FieldTable.js"), "./src/views/super/online/graphreport/components/tables/ParamsTable.vue": () => import("./ParamsTable.js"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig.js"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig.js"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig.js"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree.js"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree.js"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree.js"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart.js"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole.js"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser.js"), "./src/views/super/online/graphreport/auto/components/render/ChartAutoRender.vue": () => import("./ChartAutoRender.js"), "./src/views/super/online/graphreport/auto/components/render/ChartDoubleRender.vue": () => import("./ChartDoubleRender.js"), "./src/views/super/online/graphreport/auto/components/render/ChartSingleRender.vue": () => import("./ChartSingleRender.js"), "./src/views/super/online/graphreport/auto/components/render/ChartTabsRender.vue": () => import("./ChartTabsRender.js") };
67
+ }), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal.js"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal.js"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable.js"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable.js"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable.js"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable.js"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable.js"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable.js"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm.js"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useAutoForm.js").then(function(n) {
68
+ return n.r;
69
+ }), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useAutoForm.js").then(function(n) {
70
+ return n.p;
71
+ }), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig.js"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig.js"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig.js"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree.js"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree.js"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree.js"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart.js"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole.js"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser.js") };
62
72
  }
63
73
  };
64
74
  export { _export_sfc as _, index as i };
package/index2.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, resolveComponent, resolveDirective, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, withCtx, withDirectives, createBlock, createCommentVNode, createTextVNode } from "vue";
1
+ import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, mergeProps, withCtx, createTextVNode, createBlock, createCommentVNode } from "vue";
2
2
  import { BasicTable, TableAction } from "/@/components/Table";
3
3
  import { C as CgformModal } from "./CgformModal.js";
4
4
  import DbToOnlineModal from "./DbToOnlineModal.js";
@@ -9,8 +9,7 @@ import EnhanceJavaModal from "./EnhanceJavaModal.js";
9
9
  import EnhanceSqlModal from "./EnhanceSqlModal.js";
10
10
  import AuthManagerDrawer from "./AuthManagerDrawer.js";
11
11
  import AuthSetterModal from "./AuthSetterModal.js";
12
- import { u as useCgformList } from "./useCgformList.js";
13
- import { C as CgformPageType } from "./useOnlineTest.js";
12
+ import { u as useCgformList, C as CgformPageType } from "./useCgformList.js";
14
13
  import { c as columns, s as searchFormSchema } from "./cgform.data.js";
15
14
  import { _ as _export_sfc } from "./index.js";
16
15
  import "/@/components/Modal";
@@ -20,10 +19,13 @@ import "./useSchemas.js";
20
19
  import "ant-design-vue";
21
20
  import "@ant-design/icons-vue";
22
21
  import "/@/utils/common/compUtils";
22
+ import "/@/hooks/web/usePermission";
23
+ import "/@/utils/helper/validator";
23
24
  import "./DBAttributeTable.js";
24
25
  import "/@/components/jeecg/JVxeTable/types";
25
26
  import "./useTableSync.js";
26
27
  import "./pick.js";
28
+ import "./_flatRest.js";
27
29
  import "./isArray.js";
28
30
  import "./toString.js";
29
31
  import "./_arrayPush.js";
@@ -33,40 +35,58 @@ import "/@/utils/uuid";
33
35
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
34
36
  import "vue-router";
35
37
  import "./PageAttributeTable.js";
38
+ import "./LinkTableConfigModal.js";
39
+ import "/@/utils/http/axios";
40
+ import "./omit.js";
41
+ import "./_baseClone.js";
42
+ import "./_baseSlice.js";
43
+ import "./LinkTableFieldConfigModal.js";
36
44
  import "./CheckDictTable.js";
45
+ import "/@/components/jeecg/JPrompt";
46
+ import "/@/hooks/web/useDesign";
37
47
  import "./ForeignKeyTable.js";
38
48
  import "./IndexTable.js";
39
49
  import "./QueryTable.js";
40
50
  import "./ExtendConfigModal.js";
41
51
  import "/@/components/Form";
42
- import "/@/utils/http/axios";
52
+ import "./useOnlineTest.js";
43
53
  import "/@/utils";
44
54
  import "./useAutoForm.js";
45
55
  import "./FormSchemaFactory.js";
46
56
  import "/@/components/Form/src/jeecg/components/JUpload";
47
57
  import "/@/views/system/user/user.api";
58
+ import "./_commonjsHelpers.js";
48
59
  import "/@/store/modules/user";
49
60
  import "/@/utils/desform/customExpression";
50
61
  import "/@/components/Form/src/componentMap";
51
62
  import "./OnlineSelectCascade.js";
63
+ import "/@/store/modules/permission";
64
+ import "/@/utils/propTypes";
52
65
  import "/@/hooks/system/useListPage";
66
+ import "/@/components/Form/src/utils/Area";
67
+ import "/@/components/Preview/index";
68
+ import "./LinkTableListPiece.js";
69
+ import "/@/components/Loading";
70
+ import "/@/utils/auth";
71
+ import "./JModalTip.js";
72
+ import "@vueuse/core";
73
+ import "./CodeFileListModal.js";
74
+ import "./CodeFileViewModal.js";
53
75
  import "/@/utils/file/download";
54
76
  import "./FileSelectModal.js";
55
- import "./useMessageOnline.js";
56
- import "/@/utils/is";
57
- import "/@/utils/cache";
58
77
  import "./EnhanceJsHistory.js";
59
78
  import "/@/utils/dateUtil";
60
79
  import "/@/store";
61
80
  import "pinia";
81
+ import "/@/utils/cache";
62
82
  import "./enhance.api.js";
83
+ import "/@/utils/is";
63
84
  import "./enhance.data.js";
64
85
  import "/@/components/Drawer";
65
86
  import "./AuthFieldConfig.js";
66
87
  import "./auth.api.js";
67
88
  import "./auth.data.js";
68
89
  import "./AuthButtonConfig.js";
69
- import "./cloneDeep.js";
70
90
  import "./AuthDataConfig.js";
71
91
  import "./LeftRole.js";
72
92
  import "./LeftDepart.js";
@@ -149,21 +169,13 @@ const _sfc_main = defineComponent({
149
169
  };
150
170
  }
151
171
  });
152
- const _hoisted_1 = /* @__PURE__ */ createTextVNode("\u65B0\u589E");
153
- const _hoisted_2 = /* @__PURE__ */ createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE");
154
- const _hoisted_3 = /* @__PURE__ */ createTextVNode("JS\u589E\u5F3A");
155
- const _hoisted_4 = /* @__PURE__ */ createTextVNode(" SQL\u589E\u5F3A ");
156
- const _hoisted_5 = /* @__PURE__ */ createTextVNode("JAVA\u589E\u5F3A");
157
- const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u5BFC\u5165\u6570\u636E\u5E93\u8868");
158
- const _hoisted_7 = /* @__PURE__ */ createTextVNode(" \u4EE3\u7801\u751F\u6210 ");
159
- const _hoisted_8 = /* @__PURE__ */ createTextVNode("\u9AD8\u7EA7\u67E5\u8BE2\uFF1F");
160
- const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", null, "\u5220\u9664", -1);
161
- const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", null, "\u6279\u91CF\u64CD\u4F5C", -1);
162
- const _hoisted_11 = {
172
+ const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", null, "\u5220\u9664", -1);
173
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, "\u6279\u91CF\u64CD\u4F5C", -1);
174
+ const _hoisted_3 = {
163
175
  key: 0,
164
176
  style: { "color": "limegreen" }
165
177
  };
166
- const _hoisted_12 = {
178
+ const _hoisted_4 = {
167
179
  key: 1,
168
180
  style: { "color": "red" }
169
181
  };
@@ -184,15 +196,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
184
196
  const _component_EnhanceSqlModal = resolveComponent("EnhanceSqlModal");
185
197
  const _component_AuthManagerDrawer = resolveComponent("AuthManagerDrawer");
186
198
  const _component_AuthSetterModal = resolveComponent("AuthSetterModal");
187
- const _directive_auth = resolveDirective("auth");
188
199
  return openBlock(), createElementBlock(Fragment, null, [
189
200
  createElementVNode("div", {
190
201
  class: normalizeClass(_ctx.prefixCls)
191
202
  }, [
192
- createVNode(_component_BasicTable, {
203
+ createVNode(_component_BasicTable, mergeProps({
193
204
  onRegister: _ctx.registerTable,
194
205
  rowSelection: _ctx.rowSelection
195
- }, {
206
+ }, _ctx.$attrs), {
196
207
  tableTitle: withCtx(() => [
197
208
  createVNode(_component_a_button, {
198
209
  onClick: _ctx.onAdd,
@@ -200,7 +211,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
200
211
  preIcon: "ant-design:plus"
201
212
  }, {
202
213
  default: withCtx(() => [
203
- _hoisted_1
214
+ createTextVNode("\u65B0\u589E")
204
215
  ]),
205
216
  _: 1
206
217
  }, 8, ["onClick"]),
@@ -210,7 +221,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
210
221
  preIcon: "ant-design:highlight"
211
222
  }, {
212
223
  default: withCtx(() => [
213
- _hoisted_2
224
+ createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE")
214
225
  ]),
215
226
  _: 1
216
227
  }, 8, ["onClick"]),
@@ -220,29 +231,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
220
231
  preIcon: "ant-design:strikethrough"
221
232
  }, {
222
233
  default: withCtx(() => [
223
- _hoisted_3
234
+ createTextVNode("JS\u589E\u5F3A")
224
235
  ]),
225
236
  _: 1
226
237
  }, 8, ["onClick"]),
227
- withDirectives((openBlock(), createBlock(_component_a_button, {
238
+ createVNode(_component_a_button, {
228
239
  onClick: _ctx.onShowEnhanceSql,
229
240
  type: "primary",
230
241
  preIcon: "ant-design:filter"
231
242
  }, {
232
243
  default: withCtx(() => [
233
- _hoisted_4
244
+ createTextVNode(" SQL\u589E\u5F3A ")
234
245
  ]),
235
246
  _: 1
236
- }, 8, ["onClick"])), [
237
- [_directive_auth, "online:sql"]
238
- ]),
247
+ }, 8, ["onClick"]),
239
248
  createVNode(_component_a_button, {
240
249
  onClick: _ctx.onShowEnhanceJava,
241
250
  type: "primary",
242
251
  preIcon: "ant-design:tool"
243
252
  }, {
244
253
  default: withCtx(() => [
245
- _hoisted_5
254
+ createTextVNode("JAVA\u589E\u5F3A")
246
255
  ]),
247
256
  _: 1
248
257
  }, 8, ["onClick"]),
@@ -252,7 +261,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
252
261
  preIcon: "ant-design:database"
253
262
  }, {
254
263
  default: withCtx(() => [
255
- _hoisted_6
264
+ createTextVNode("\u5BFC\u5165\u6570\u636E\u5E93\u8868")
256
265
  ]),
257
266
  _: 1
258
267
  }, 8, ["onClick"]),
@@ -262,16 +271,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
262
271
  preIcon: "bx:bx-code-alt"
263
272
  }, {
264
273
  default: withCtx(() => [
265
- _hoisted_7
274
+ createTextVNode(" \u4EE3\u7801\u751F\u6210 ")
266
275
  ]),
267
276
  _: 1
268
277
  }, 8, ["onClick"]),
269
- createVNode(_component_a_button, { type: "primary" }, {
270
- default: withCtx(() => [
271
- _hoisted_8
272
- ]),
273
- _: 1
274
- }),
275
278
  _ctx.selectedRowKeys.length > 0 ? (openBlock(), createBlock(_component_a_dropdown, { key: 0 }, {
276
279
  overlay: withCtx(() => [
277
280
  createVNode(_component_a_menu, null, {
@@ -282,7 +285,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
282
285
  }, {
283
286
  default: withCtx(() => [
284
287
  createVNode(_component_a_icon, { type: "delete" }),
285
- _hoisted_9
288
+ _hoisted_1
286
289
  ]),
287
290
  _: 1
288
291
  }, 8, ["onClick"])
@@ -293,7 +296,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
293
296
  default: withCtx(() => [
294
297
  createVNode(_component_a_button, null, {
295
298
  default: withCtx(() => [
296
- _hoisted_10,
299
+ _hoisted_2,
297
300
  createVNode(_component_a_icon, { type: "down" })
298
301
  ]),
299
302
  _: 1
@@ -303,8 +306,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
303
306
  })) : createCommentVNode("", true)
304
307
  ]),
305
308
  dbSync: withCtx(({ text }) => [
306
- text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_11, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
307
- text === "N" ? (openBlock(), createElementBlock("span", _hoisted_12, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
309
+ text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_3, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
310
+ text === "N" ? (openBlock(), createElementBlock("span", _hoisted_4, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
308
311
  ]),
309
312
  action: withCtx(({ record }) => [
310
313
  createVNode(_component_TableAction, {
@@ -313,7 +316,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
313
316
  }, null, 8, ["actions", "dropDownActions"])
314
317
  ]),
315
318
  _: 1
316
- }, 8, ["onRegister", "rowSelection"])
319
+ }, 16, ["onRegister", "rowSelection"])
317
320
  ], 2),
318
321
  createVNode(_component_CgformModal, {
319
322
  onRegister: _ctx.registerCgformModal,