@jeecg/online 1.0.1 → 3.4.3-GA

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 (93) 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 +609 -0
  20. package/EnhanceJavaModal.js +11 -17
  21. package/EnhanceJsHistory.js +6 -8
  22. package/EnhanceJsModal.js +16 -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 +92 -131
  39. package/OnlineAutoTreeList.js +93 -53
  40. package/OnlineCustomModal.js +30 -14
  41. package/OnlineDetailModal.js +184 -0
  42. package/OnlineForm.js +274 -141
  43. package/OnlineFormDetail.js +326 -0
  44. package/OnlineQueryForm.js +72 -40
  45. package/OnlineSearchFormItem.js +26 -18
  46. package/OnlineSelectCascade.js +37 -26
  47. package/OnlineSubFormDetail.js +167 -0
  48. package/OnlineSuperQuery.js +70 -75
  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 +27 -8
  64. package/index2.js +48 -45
  65. package/index3.js +29 -26
  66. package/isArray.js +1 -1
  67. package/main.index.js +2 -2
  68. package/omit.js +60 -0
  69. package/package.json +1 -1
  70. package/pick.js +3 -173
  71. package/style.css +1 -1
  72. package/toString.js +2 -2
  73. package/useAutoForm.js +3457 -3791
  74. package/useCgformList.js +44 -31
  75. package/{useTableColumns.js → useListButton.js} +218 -409
  76. package/useOnlineTest.js +5 -26827
  77. package/useSchemas.js +382 -234
  78. package/useTableSync.js +19 -7
  79. package/ChartAutoRender.js +0 -69
  80. package/ChartDoubleRender.js +0 -154
  81. package/ChartSingleRender.js +0 -132
  82. package/ChartTabsRender.js +0 -218
  83. package/ErrorTip.js +0 -21
  84. package/FieldTable.js +0 -185
  85. package/GraphreportAutoChart.js +0 -352
  86. package/GraphreportList.js +0 -239
  87. package/GraphreportModal.js +0 -559
  88. package/LICENSE +0 -7
  89. package/OnlineSubForm.js +0 -200
  90. package/ParamsTable.js +0 -71
  91. package/graphreport.api.js +0 -23
  92. package/useChartRender.js +0 -405
  93. package/useMessageOnline.js +0 -71
@@ -17,21 +17,31 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, ref, resolveComponent, openBlock, createBlock } from "vue";
20
+ import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, mergeProps, withCtx, createBlock, createTextVNode, createCommentVNode } from "vue";
21
21
  import { JVxeTypes } from "/@/components/jeecg/JVxeTable/types";
22
22
  import { u as useTableSync } from "./useTableSync.js";
23
+ import LinkTableConfigModal from "./LinkTableConfigModal.js";
24
+ import LinkTableFieldConfigModal from "./LinkTableFieldConfigModal.js";
25
+ import { useModal } from "/@/components/Modal";
23
26
  import { _ as _export_sfc } from "./index.js";
24
27
  import "./cgform.data.js";
25
28
  import "/@/utils/dict";
26
29
  import "/@/utils/dict/JDictSelectUtil";
27
30
  import "/@/utils/uuid";
28
31
  import "./pick.js";
32
+ import "./_flatRest.js";
29
33
  import "./isArray.js";
30
34
  import "./toString.js";
31
35
  import "./_arrayPush.js";
32
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
36
+ import "/@/components/Form/index";
37
+ import "/@/utils/http/axios";
38
+ import "./omit.js";
39
+ import "./_baseClone.js";
40
+ import "./_baseSlice.js";
33
41
  import "/@/hooks/web/useMessage";
42
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
34
43
  import "vue-router";
44
+ var PageAttributeTable_vue_vue_type_style_index_0_scoped_true_lang = "";
35
45
  const commonPageOptions = [
36
46
  { title: "\u6587\u672C\u6846", value: "text" },
37
47
  { title: "\u5BC6\u7801", value: "password" },
@@ -48,6 +58,8 @@ const commonPageOptions = [
48
58
  { title: "\u4E0B\u62C9\u591A\u9009\u6846", value: "list_multi" },
49
59
  { title: "\u4E0B\u62C9\u641C\u7D22\u6846", value: "sel_search" },
50
60
  { title: "Popup\u5F39\u6846", value: "popup" },
61
+ { title: "\u5173\u8054\u8BB0\u5F55", value: "link_table" },
62
+ { title: "\u4ED6\u8868\u5B57\u6BB5", value: "link_table_field" },
51
63
  { title: "\u5206\u7C7B\u5B57\u5178\u6811", value: "cat_tree" },
52
64
  { title: "\u90E8\u95E8\u9009\u62E9", value: "sel_depart" },
53
65
  { title: "\u7528\u6237\u9009\u62E9", value: "sel_user" },
@@ -76,7 +88,10 @@ const subTablePageOptions = [
76
88
  ];
77
89
  const _sfc_main = defineComponent({
78
90
  name: "PageAttributeTable",
79
- components: {},
91
+ components: {
92
+ LinkTableConfigModal,
93
+ LinkTableFieldConfigModal
94
+ },
80
95
  setup() {
81
96
  const columns = ref([
82
97
  { title: "\u5B57\u6BB5\u540D\u79F0", key: "dbFieldName", width: 100 },
@@ -125,10 +140,7 @@ const _sfc_main = defineComponent({
125
140
  options: commonPageOptions,
126
141
  defaultValue: "text",
127
142
  placeholder: "\u8BF7\u9009\u62E9${title}",
128
- validateRules: [
129
- { required: true, message: "\u8BF7\u9009\u62E9${title}" },
130
- { handler: validateFieldShowType }
131
- ]
143
+ validateRules: [{ required: true, message: "\u8BF7\u9009\u62E9${title}" }, { handler: validateFieldShowType }]
132
144
  },
133
145
  {
134
146
  title: "\u63A7\u4EF6\u957F\u5EA6",
@@ -164,23 +176,30 @@ const _sfc_main = defineComponent({
164
176
  {
165
177
  title: "\u63A7\u4EF6\u9ED8\u8BA4\u503C",
166
178
  key: "fieldDefaultValue",
167
- width: 180,
179
+ width: 120,
168
180
  type: JVxeTypes.input,
169
181
  defaultValue: ""
170
182
  },
171
183
  {
172
184
  title: "\u6269\u5C55\u53C2\u6570",
173
185
  key: "fieldExtendJson",
174
- width: 160,
186
+ width: 120,
175
187
  type: JVxeTypes.input,
176
188
  defaultValue: ""
177
189
  },
178
190
  {
179
- title: "\u81EA\u5B9A\u4E49\u8F6C\u6362\u5668",
191
+ title: "\u5B9A\u4E49\u8F6C\u6362\u5668",
180
192
  key: "converter",
181
- minWidth: 160,
193
+ width: 150,
182
194
  type: JVxeTypes.input,
183
195
  defaultValue: ""
196
+ },
197
+ {
198
+ title: "\u4E2A\u6027\u914D\u7F6E",
199
+ minWidth: 100,
200
+ key: "fieldConfig",
201
+ type: JVxeTypes.slot,
202
+ slotName: "fieldConfig"
184
203
  }
185
204
  ]);
186
205
  const setup = useTableSync(columns);
@@ -203,10 +222,12 @@ const _sfc_main = defineComponent({
203
222
  if (row.dbType === "Datetime") {
204
223
  showType = "datetime";
205
224
  }
206
- tableRef.value.setValues([{
207
- rowKey: row.id,
208
- values: { fieldShowType: showType }
209
- }]);
225
+ tableRef.value.setValues([
226
+ {
227
+ rowKey: row.id,
228
+ values: { fieldShowType: showType }
229
+ }
230
+ ]);
210
231
  }
211
232
  function changePageType(flag) {
212
233
  for (let col of columns.value) {
@@ -217,26 +238,208 @@ const _sfc_main = defineComponent({
217
238
  }
218
239
  }
219
240
  function enableQuery(id) {
220
- tableRef.value.setValues([{
241
+ tableRef.value.setValues([
242
+ {
243
+ rowKey: id,
244
+ values: { isQuery: "1" }
245
+ }
246
+ ]);
247
+ }
248
+ const [registerModal, { openModal }] = useModal();
249
+ const [registerFieldModal, { openModal: openFieldModal }] = useModal();
250
+ function showConfigButton(props) {
251
+ if (props.row.fieldShowType.indexOf("link_table") >= 0) {
252
+ return true;
253
+ } else {
254
+ return false;
255
+ }
256
+ }
257
+ function showFieldConfig(props) {
258
+ let { row } = props;
259
+ let { checkTable } = tables;
260
+ if (checkTable) {
261
+ let checkTableValue = checkTable.value.tableRef.getTableData({ rowIds: [row.id] })[0];
262
+ if (props.row.fieldShowType == "link_table") {
263
+ let record = getLinkTableModalData(row, checkTableValue);
264
+ openModal(true, {
265
+ record,
266
+ fieldName: row.dbFieldName
267
+ });
268
+ } else if (props.row.fieldShowType == "link_table_field") {
269
+ let data = getLinkTableFieldData(row, checkTableValue);
270
+ openFieldModal(true, data);
271
+ }
272
+ }
273
+ }
274
+ function getLinkTableFieldData(row, checkTableValue) {
275
+ let tableData = tableRef.value.getTableData();
276
+ let pageTableData = tableData.filter((item) => item.fieldShowType == "link_table");
277
+ let tableAndFieldsMap = {};
278
+ if (pageTableData && pageTableData.length > 0) {
279
+ let checkTableData = tables.checkTable.value.tableRef.getTableData();
280
+ for (let pageTable of pageTableData) {
281
+ let tempArray = checkTableData.filter((i) => i.dbFieldName == pageTable.dbFieldName);
282
+ if (tempArray && tempArray.length > 0) {
283
+ let item = tempArray[0];
284
+ tableAndFieldsMap[item.dbFieldName] = {
285
+ title: pageTable.dbFieldTxt,
286
+ table: item.dictTable,
287
+ fields: item.dictText
288
+ };
289
+ }
290
+ }
291
+ }
292
+ const { dictTable, dictText } = checkTableValue;
293
+ const { id, dbFieldTxt } = row;
294
+ let record = {
295
+ rowKey: id,
296
+ dbFieldTxt,
297
+ dictText,
298
+ dictTable
299
+ };
300
+ return {
301
+ record,
302
+ tableAndFieldsMap
303
+ };
304
+ }
305
+ function getLinkTableModalData(row, checkTableValue) {
306
+ const { id, dbFieldTxt, fieldExtendJson } = row;
307
+ const { dictTable, dictText } = checkTableValue;
308
+ let result = {
221
309
  rowKey: id,
222
- values: { isQuery: "1" }
223
- }]);
310
+ dbFieldTxt,
311
+ dictTable
312
+ };
313
+ if (dictText) {
314
+ let arr = dictText.split(",");
315
+ result["titleField"] = arr[0];
316
+ if (arr.length > 1) {
317
+ result["otherFields"] = dictText.substring(dictText.indexOf(",") + 1);
318
+ }
319
+ } else {
320
+ result["titleField"] = "";
321
+ result["otherFields"] = "";
322
+ }
323
+ if (fieldExtendJson) {
324
+ try {
325
+ let json = JSON.parse(fieldExtendJson);
326
+ if (json.multiSelect) {
327
+ result["multiSelect"] = json.multiSelect;
328
+ } else {
329
+ result["multiSelect"] = false;
330
+ }
331
+ if (json.showType) {
332
+ result["showType"] = json.showType;
333
+ } else {
334
+ result["showType"] = "card";
335
+ }
336
+ if (json.imageField) {
337
+ result["imageField"] = json.imageField;
338
+ } else {
339
+ result["imageField"] = "";
340
+ }
341
+ } catch (e) {
342
+ console.error("\u89E3\u6790\u6269\u5C55\u53C2\u6570\u51FA\u9519", fieldExtendJson);
343
+ }
344
+ }
345
+ return result;
346
+ }
347
+ function handleConfigData(record) {
348
+ const { multiSelect, showType, imageField, fieldName } = record;
349
+ let extJson = { showType, multiSelect, imageField };
350
+ let values = [{ rowKey: record.rowKey, values: { fieldExtendJson: JSON.stringify(extJson), dbFieldTxt: record.dbFieldTxt } }];
351
+ tableRef.value.setValues(values);
352
+ let { checkTable, dbTable } = tables;
353
+ if (dbTable) {
354
+ let dbTableValues = [{ rowKey: record.rowKey, values: { dbFieldTxt: record.dbFieldTxt } }];
355
+ dbTable.value.tableRef.setValues(dbTableValues);
356
+ }
357
+ if (checkTable) {
358
+ let dictText = record.titleField;
359
+ if (record.otherFields) {
360
+ dictText += "," + record.otherFields;
361
+ }
362
+ const { dictTable, dictField } = record;
363
+ let temp = {
364
+ dictTable,
365
+ dictField,
366
+ dictText,
367
+ dbFieldName: fieldName
368
+ };
369
+ let dbTableValues = [{ rowKey: record.rowKey, values: temp }];
370
+ checkTable.value.tableRef.setValues(dbTableValues);
371
+ }
372
+ }
373
+ function handleFieldConfigData(record) {
374
+ const { dbFieldTxt, dictTable, dictText, rowKey } = record;
375
+ let values = [{ rowKey, values: { dbFieldTxt } }];
376
+ tableRef.value.setValues(values);
377
+ let { checkTable, dbTable } = tables;
378
+ if (dbTable) {
379
+ let tableValues = [{ rowKey, values: { dbFieldTxt, dbIsPersist: "0" } }];
380
+ dbTable.value.tableRef.setValues(tableValues);
381
+ }
382
+ if (checkTable) {
383
+ let tableValues = [{ rowKey, values: { dictTable, dictText } }];
384
+ checkTable.value.tableRef.setValues(tableValues);
385
+ }
224
386
  }
225
- return __spreadProps(__spreadValues({}, setup), { columns, enableQuery, syncFieldShowType, changePageType });
387
+ return __spreadProps(__spreadValues({}, setup), {
388
+ columns,
389
+ enableQuery,
390
+ syncFieldShowType,
391
+ changePageType,
392
+ showConfigButton,
393
+ showFieldConfig,
394
+ registerModal,
395
+ handleConfigData,
396
+ registerFieldModal,
397
+ handleFieldConfigData
398
+ });
226
399
  }
227
400
  });
228
401
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
402
+ const _component_a_button = resolveComponent("a-button");
229
403
  const _component_JVxeTable = resolveComponent("JVxeTable");
230
- return openBlock(), createBlock(_component_JVxeTable, {
231
- ref: "tableRef",
232
- rowNumber: "",
233
- keyboardEdit: "",
234
- maxHeight: _ctx.tableHeight.noToolbar,
235
- loading: _ctx.loading,
236
- columns: _ctx.columns,
237
- dataSource: _ctx.dataSource,
238
- disabledRows: { dbFieldName: ["id", "has_child"] }
239
- }, null, 8, ["maxHeight", "loading", "columns", "dataSource"]);
404
+ const _component_link_table_config_modal = resolveComponent("link-table-config-modal");
405
+ const _component_link_table_field_config_modal = resolveComponent("link-table-field-config-modal");
406
+ return openBlock(), createElementBlock(Fragment, null, [
407
+ createVNode(_component_JVxeTable, mergeProps({
408
+ ref: "tableRef",
409
+ "row-class-name": "online-config-page",
410
+ rowNumber: "",
411
+ keyboardEdit: "",
412
+ maxHeight: _ctx.tableHeight.noToolbar,
413
+ loading: _ctx.loading,
414
+ columns: _ctx.columns,
415
+ dataSource: _ctx.dataSource,
416
+ disabledRows: { dbFieldName: ["id", "has_child"] }
417
+ }, _ctx.tableProps), {
418
+ fieldConfig: withCtx((props) => [
419
+ _ctx.showConfigButton(props) ? (openBlock(), createBlock(_component_a_button, {
420
+ key: 0,
421
+ type: "primary",
422
+ size: "small",
423
+ ghost: "",
424
+ onClick: ($event) => _ctx.showFieldConfig(props)
425
+ }, {
426
+ default: withCtx(() => [
427
+ createTextVNode("\u6253\u5F00\u914D\u7F6E")
428
+ ]),
429
+ _: 2
430
+ }, 1032, ["onClick"])) : createCommentVNode("", true)
431
+ ]),
432
+ _: 1
433
+ }, 16, ["maxHeight", "loading", "columns", "dataSource"]),
434
+ createVNode(_component_link_table_config_modal, {
435
+ onRegister: _ctx.registerModal,
436
+ onSuccess: _ctx.handleConfigData
437
+ }, null, 8, ["onRegister", "onSuccess"]),
438
+ createVNode(_component_link_table_field_config_modal, {
439
+ onRegister: _ctx.registerFieldModal,
440
+ onSuccess: _ctx.handleFieldConfigData
441
+ }, null, 8, ["onRegister", "onSuccess"])
442
+ ], 64);
240
443
  }
241
- var PageAttributeTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
444
+ var PageAttributeTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-eb3d4aa4"]]);
242
445
  export { PageAttributeTable as default };
@@ -18,8 +18,8 @@ var __async = (__this, __arguments, generator) => {
18
18
  step((generator = generator.apply(__this, __arguments)).next());
19
19
  });
20
20
  };
21
- import { O as OnlineForm } from "./OnlineForm.js";
22
- import { defineComponent, ref, watch, nextTick, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createCommentVNode, createTextVNode } from "vue";
21
+ import OnlineForm from "./OnlineForm.js";
22
+ import { defineComponent, ref, watch, nextTick, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
23
23
  import { defHttp } from "/@/utils/http/axios";
24
24
  import { g as getRefPromise } from "./useAutoForm.js";
25
25
  import { _ as _export_sfc } from "./index.js";
@@ -27,20 +27,42 @@ import "/@/hooks/web/useMessage";
27
27
  import "/@/components/Form/index";
28
28
  import "./FormSchemaFactory.js";
29
29
  import "/@/components/Form/src/jeecg/components/JUpload";
30
+ import "/@/utils";
30
31
  import "/@/components/Loading";
31
- import "./OnlineSubForm.js";
32
+ import "/@/components/jeecg/JVxeTable/types";
33
+ import "/@/utils/auth";
34
+ import "@ant-design/icons-vue";
35
+ import "/@/hooks/core/useContext";
36
+ import "/@/utils/mitt";
37
+ import "/@/components/Modal";
38
+ import "./pick.js";
39
+ import "./_flatRest.js";
40
+ import "./isArray.js";
41
+ import "./toString.js";
42
+ import "./_arrayPush.js";
43
+ import "./omit.js";
44
+ import "./_baseClone.js";
45
+ import "./_baseSlice.js";
32
46
  import "/@/views/system/user/user.api";
47
+ import "./_commonjsHelpers.js";
33
48
  import "/@/store/modules/user";
34
- import "/@/utils";
35
49
  import "/@/utils/desform/customExpression";
36
50
  import "/@/components/Form/src/componentMap";
37
51
  import "./OnlineSelectCascade.js";
38
52
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
39
53
  import "vue-router";
40
- import "./pick.js";
41
- import "./isArray.js";
42
- import "./toString.js";
43
- import "./_arrayPush.js";
54
+ import "/@/store/modules/permission";
55
+ import "/@/utils/propTypes";
56
+ import "/@/utils/dict/JDictSelectUtil";
57
+ import "/@/utils/common/compUtils";
58
+ import "/@/components/Table";
59
+ import "/@/hooks/system/useListPage";
60
+ import "/@/components/Form/src/utils/Area";
61
+ import "/@/components/Preview/index";
62
+ import "./LinkTableListPiece.js";
63
+ import "./JModalTip.js";
64
+ import "ant-design-vue";
65
+ import "@vueuse/core";
44
66
  var ProcessOnlineForm_vue_vue_type_style_index_0_scoped_true_lang = "";
45
67
  const _sfc_main = defineComponent({
46
68
  name: "ProcessOnlineForm",
@@ -73,12 +95,16 @@ const _sfc_main = defineComponent({
73
95
  const isTreeForm = ref(false);
74
96
  const pidFieldName = ref("");
75
97
  const spinLoading = ref(false);
76
- watch(() => props.tableName, (val) => {
77
- if (!val) {
78
- return;
79
- }
80
- loadFormItems();
81
- }, { immediate: true });
98
+ watch(
99
+ () => props.tableName,
100
+ (val) => {
101
+ if (!val) {
102
+ return;
103
+ }
104
+ loadFormItems();
105
+ },
106
+ { immediate: true }
107
+ );
82
108
  function loadFormItems() {
83
109
  return __async(this, null, function* () {
84
110
  spinLoading.value = true;
@@ -138,7 +164,6 @@ const _hoisted_2 = {
138
164
  key: 0,
139
165
  style: { "width": "100%", "text-align": "center", "margin-top": "5px" }
140
166
  };
141
- const _hoisted_3 = /* @__PURE__ */ createTextVNode(" \u63D0 \u4EA4 ");
142
167
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
143
168
  const _component_a_button = resolveComponent("a-button");
144
169
  const _component_online_form = resolveComponent("online-form");
@@ -166,7 +191,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
166
191
  loading: _ctx.buttonLoading
167
192
  }, {
168
193
  default: withCtx(() => [
169
- _hoisted_3
194
+ createTextVNode(" \u63D0 \u4EA4 ")
170
195
  ]),
171
196
  _: 1
172
197
  }, 8, ["onClick", "loading"])
package/QueryTable.js CHANGED
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, ref, resolveComponent, openBlock, createBlock } from "vue";
20
+ import { defineComponent, ref, resolveComponent, openBlock, createBlock, mergeProps } from "vue";
21
21
  import { JVxeTypes } from "/@/components/jeecg/JVxeTable/types";
22
22
  import { u as useTableSync } from "./useTableSync.js";
23
23
  import { _ as _export_sfc } from "./index.js";
@@ -26,6 +26,7 @@ import "/@/utils/dict";
26
26
  import "/@/utils/dict/JDictSelectUtil";
27
27
  import "/@/utils/uuid";
28
28
  import "./pick.js";
29
+ import "./_flatRest.js";
29
30
  import "./isArray.js";
30
31
  import "./toString.js";
31
32
  import "./_arrayPush.js";
@@ -112,7 +113,7 @@ const _sfc_main = defineComponent({
112
113
  });
113
114
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
114
115
  const _component_JVxeTable = resolveComponent("JVxeTable");
115
- return openBlock(), createBlock(_component_JVxeTable, {
116
+ return openBlock(), createBlock(_component_JVxeTable, mergeProps({
116
117
  ref: "tableRef",
117
118
  rowNumber: "",
118
119
  keyboardEdit: "",
@@ -122,7 +123,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
122
123
  dataSource: _ctx.dataSource,
123
124
  disabledRows: { dbFieldName: ["id", "has_child"] },
124
125
  onValueChange: _ctx.handleChange
125
- }, null, 8, ["maxHeight", "loading", "columns", "dataSource", "onValueChange"]);
126
+ }, _ctx.tableProps), null, 16, ["maxHeight", "loading", "columns", "dataSource", "onValueChange"]);
126
127
  }
127
128
  var QueryTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
128
129
  export { QueryTable as default };
package/README.md CHANGED
@@ -7,17 +7,12 @@
7
7
  yarn add @jeecg/online
8
8
  ```
9
9
 
10
- ```javascript
11
- src/main.js
12
10
 
13
- require('@jeecg/antd-online-mini')
14
- require('@jeecg/antd-online-mini/dist/OnlineForm.css')
15
- ```
16
11
 
17
12
  ## Description
18
13
 
19
14
  ```
20
- Jeecg Online UI
21
- 1、低代码开发模块
22
- 2、在线建表功能
15
+ JeecgBoot 在线低代码功能
16
+ 1、在线表单开发
17
+ 2、在线报表开发
23
18
  ```
package/_arrayPush.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as baseGetTag, r as root, i as isObjectLike } from "./isArray.js";
1
+ import { b as baseGetTag, r as root, a as isObjectLike } from "./isArray.js";
2
2
  function isObject(value) {
3
3
  var type = typeof value;
4
4
  return value != null && (type == "object" || type == "function");
@@ -40,7 +40,9 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
40
40
  var funcProto = Function.prototype, objectProto$4 = Object.prototype;
41
41
  var funcToString = funcProto.toString;
42
42
  var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
43
- var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$4).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
43
+ var reIsNative = RegExp(
44
+ "^" + funcToString.call(hasOwnProperty$4).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
45
+ );
44
46
  function baseIsNative(value) {
45
47
  if (!isObject(value) || isMasked(value)) {
46
48
  return false;
@@ -273,4 +275,4 @@ function arrayPush(array, values) {
273
275
  }
274
276
  return array;
275
277
  }
276
- export { ListCache as L, Map$1 as M, assignValue as a, baseAssignValue as b, isLength as c, isFunction as d, isArguments$1 as e, isIndex as f, getNative as g, MapCache as h, isObject as i, arrayPush as j, defineProperty$1 as k, toSource as t };
278
+ export { ListCache as L, MapCache as M, isIndex as a, isArguments$1 as b, isObject as c, assignValue as d, defineProperty$1 as e, arrayPush as f, getNative as g, baseAssignValue as h, isLength as i, isFunction as j, Map$1 as k, toSource as t };
@@ -1,5 +1,5 @@
1
- import { g as getNative, i as isObject, b as baseAssignValue, a as assignValue, c as isLength, d as isFunction, e as isArguments, f as isIndex, L as ListCache, M as Map, h as MapCache, j as arrayPush, t as toSource } from "./_arrayPush.js";
2
- import { r as root, i as isObjectLike, b as baseGetTag, f as freeGlobal, a as isArray, S as Symbol$1 } from "./isArray.js";
1
+ import { g as getNative, c as isObject, h as baseAssignValue, d as assignValue, i as isLength, j as isFunction, b as isArguments, a as isIndex, L as ListCache, k as Map, M as MapCache, f as arrayPush, t as toSource } from "./_arrayPush.js";
2
+ import { r as root, a as isObjectLike, b as baseGetTag, f as freeGlobal, i as isArray, S as Symbol$1 } from "./isArray.js";
3
3
  var WeakMap = getNative(root, "WeakMap");
4
4
  var WeakMap$1 = WeakMap;
5
5
  var objectCreate = Object.create;
@@ -402,14 +402,14 @@ function baseIsSet(value) {
402
402
  var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
403
403
  var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
404
404
  var isSet$1 = isSet;
405
- var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
405
+ var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
406
406
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", objectTag = "[object Object]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", weakMapTag = "[object WeakMap]";
407
407
  var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
408
408
  var cloneableTags = {};
409
409
  cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
410
410
  cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
411
411
  function baseClone(value, bitmask, customizer, key, object, stack) {
412
- var result, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
412
+ var result, isDeep = bitmask & CLONE_DEEP_FLAG, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG;
413
413
  if (customizer) {
414
414
  result = object ? customizer(value, key, object, stack) : customizer(value);
415
415
  }
@@ -468,8 +468,4 @@ function baseClone(value, bitmask, customizer, key, object, stack) {
468
468
  });
469
469
  return result;
470
470
  }
471
- var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
472
- function cloneDeep(value) {
473
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
474
- }
475
- export { cloneDeep as c };
471
+ export { getAllKeysIn as a, baseClone as b, copyObject as c, getPrototype$1 as g };
package/_baseSlice.js ADDED
@@ -0,0 +1,18 @@
1
+ function baseSlice(array, start, end) {
2
+ var index = -1, length = array.length;
3
+ if (start < 0) {
4
+ start = -start > length ? 0 : length + start;
5
+ }
6
+ end = end > length ? length : end;
7
+ if (end < 0) {
8
+ end += length;
9
+ }
10
+ length = start > end ? 0 : end - start >>> 0;
11
+ start >>>= 0;
12
+ var result = Array(length);
13
+ while (++index < length) {
14
+ result[index] = array[index + start];
15
+ }
16
+ return result;
17
+ }
18
+ export { baseSlice as b };
@@ -0,0 +1,5 @@
1
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
2
+ function getDefaultExportFromCjs(x) {
3
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
4
+ }
5
+ export { commonjsGlobal as c, getDefaultExportFromCjs as g };