@jeecg/online 1.0.1 → 3.4.3

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 (95) hide show
  1. package/AuthButtonConfig.js +15 -9
  2. package/AuthButtonTree.js +4 -7
  3. package/AuthDataConfig.js +10 -8
  4. package/AuthDataTree.js +4 -7
  5. package/AuthFieldConfig.js +16 -14
  6. package/AuthFieldTree.js +25 -20
  7. package/AuthManagerDrawer.js +2 -3
  8. package/AuthSetterModal.js +2 -2
  9. package/CgformCopyList.js +34 -24
  10. package/CgformModal.js +57 -50
  11. package/CgreportModal.js +32 -39
  12. package/CheckDictTable.js +146 -26
  13. package/CodeFileListModal.js +174 -0
  14. package/CodeFileViewModal.js +324 -0
  15. package/CodeGeneratorModal.js +42 -40
  16. package/CustomButtonList.js +19 -23
  17. package/DBAttributeTable.js +250 -14
  18. package/DbToOnlineModal.js +28 -27
  19. package/DetailForm.js +607 -0
  20. package/EnhanceJavaModal.js +12 -19
  21. package/EnhanceJsHistory.js +6 -8
  22. package/EnhanceJsModal.js +17 -18
  23. package/EnhanceSqlModal.js +12 -19
  24. package/ExtendConfigModal.js +26 -17
  25. package/FileSelectModal.js +1 -2
  26. package/ForeignKeyTable.js +6 -5
  27. package/FormSchemaFactory.js +163 -30
  28. package/IndexTable.js +8 -7
  29. package/JModalTip.js +54 -0
  30. package/LeftDepart.js +3 -3
  31. package/LeftRole.js +8 -6
  32. package/LeftUser.js +8 -6
  33. package/LinkTableConfigModal.js +288 -0
  34. package/LinkTableFieldConfigModal.js +217 -0
  35. package/LinkTableListPiece.js +36 -0
  36. package/ModalFormDemo.js +4 -4
  37. package/OnlCgReportList.js +34 -0
  38. package/OnlineAutoList.js +155 -58
  39. package/OnlineAutoModal.js +91 -132
  40. package/OnlineAutoTreeList.js +92 -54
  41. package/OnlineCustomModal.js +31 -17
  42. package/OnlineDetailModal.js +182 -0
  43. package/OnlineForm.js +272 -141
  44. package/OnlineFormDetail.js +324 -0
  45. package/OnlineQueryForm.js +72 -42
  46. package/OnlineSearchFormItem.js +28 -23
  47. package/OnlineSubFormDetail.js +165 -0
  48. package/OnlineSuperQuery.js +72 -76
  49. package/OnlineSuperQueryValComponent.js +1 -0
  50. package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +1 -17
  51. package/PageAttributeTable.js +233 -31
  52. package/ProcessOnlineForm.js +41 -18
  53. package/QueryTable.js +6 -5
  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 +358 -34
  64. package/index2.js +49 -48
  65. package/index3.js +29 -26
  66. package/isArray.js +1 -1
  67. package/main.index.js +3 -3
  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 -3792
  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/JOnlineSearchSelect.js +0 -107
  89. package/LICENSE +0 -7
  90. package/OnlineSelectCascade.js +0 -217
  91. package/OnlineSubForm.js +0 -200
  92. package/ParamsTable.js +0 -71
  93. package/graphreport.api.js +0 -23
  94. package/useChartRender.js +0 -405
  95. package/useMessageOnline.js +0 -71
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,53 +19,72 @@ 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";
30
32
  import "/@/utils/dict";
31
33
  import "/@/utils/dict/JDictSelectUtil";
32
34
  import "/@/utils/uuid";
33
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
34
- import "vue-router";
35
+ import "/@/utils/http/axios";
36
+ import "@vueuse/core";
35
37
  import "./PageAttributeTable.js";
38
+ import "./LinkTableConfigModal.js";
39
+ import "./omit.js";
40
+ import "./_baseClone.js";
41
+ import "./_baseSlice.js";
42
+ import "./LinkTableFieldConfigModal.js";
36
43
  import "./CheckDictTable.js";
44
+ import "/@/components/jeecg/JPrompt";
45
+ import "/@/hooks/web/useDesign";
37
46
  import "./ForeignKeyTable.js";
38
47
  import "./IndexTable.js";
39
48
  import "./QueryTable.js";
40
49
  import "./ExtendConfigModal.js";
41
50
  import "/@/components/Form";
42
- import "/@/utils/http/axios";
51
+ import "./useOnlineTest.js";
43
52
  import "/@/utils";
44
53
  import "./useAutoForm.js";
45
54
  import "./FormSchemaFactory.js";
46
55
  import "/@/components/Form/src/jeecg/components/JUpload";
47
56
  import "/@/views/system/user/user.api";
57
+ import "./_commonjsHelpers.js";
48
58
  import "/@/store/modules/user";
49
59
  import "/@/utils/desform/customExpression";
50
60
  import "/@/components/Form/src/componentMap";
51
- import "./OnlineSelectCascade.js";
61
+ import "/@/store/modules/permission";
62
+ import "/@/utils/propTypes";
52
63
  import "/@/hooks/system/useListPage";
64
+ import "vue-router";
65
+ import "/@/components/Form/src/utils/Area";
66
+ import "/@/components/Preview/index";
67
+ import "./LinkTableListPiece.js";
68
+ import "/@/components/Loading";
69
+ import "/@/utils/auth";
70
+ import "./JModalTip.js";
71
+ import "./CodeFileListModal.js";
72
+ import "./CodeFileViewModal.js";
53
73
  import "/@/utils/file/download";
54
74
  import "./FileSelectModal.js";
55
- import "./useMessageOnline.js";
56
- import "/@/utils/is";
57
- import "/@/utils/cache";
58
75
  import "./EnhanceJsHistory.js";
59
76
  import "/@/utils/dateUtil";
60
77
  import "/@/store";
61
78
  import "pinia";
79
+ import "/@/utils/cache";
62
80
  import "./enhance.api.js";
81
+ import "/@/utils/is";
63
82
  import "./enhance.data.js";
64
83
  import "/@/components/Drawer";
65
84
  import "./AuthFieldConfig.js";
66
85
  import "./auth.api.js";
67
86
  import "./auth.data.js";
68
87
  import "./AuthButtonConfig.js";
69
- import "./cloneDeep.js";
70
88
  import "./AuthDataConfig.js";
71
89
  import "./LeftRole.js";
72
90
  import "./LeftDepart.js";
@@ -149,21 +167,13 @@ const _sfc_main = defineComponent({
149
167
  };
150
168
  }
151
169
  });
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 = {
170
+ const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", null, "\u5220\u9664", -1);
171
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, "\u6279\u91CF\u64CD\u4F5C", -1);
172
+ const _hoisted_3 = {
163
173
  key: 0,
164
174
  style: { "color": "limegreen" }
165
175
  };
166
- const _hoisted_12 = {
176
+ const _hoisted_4 = {
167
177
  key: 1,
168
178
  style: { "color": "red" }
169
179
  };
@@ -184,15 +194,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
184
194
  const _component_EnhanceSqlModal = resolveComponent("EnhanceSqlModal");
185
195
  const _component_AuthManagerDrawer = resolveComponent("AuthManagerDrawer");
186
196
  const _component_AuthSetterModal = resolveComponent("AuthSetterModal");
187
- const _directive_auth = resolveDirective("auth");
188
197
  return openBlock(), createElementBlock(Fragment, null, [
189
198
  createElementVNode("div", {
190
199
  class: normalizeClass(_ctx.prefixCls)
191
200
  }, [
192
- createVNode(_component_BasicTable, {
201
+ createVNode(_component_BasicTable, mergeProps({
193
202
  onRegister: _ctx.registerTable,
194
203
  rowSelection: _ctx.rowSelection
195
- }, {
204
+ }, _ctx.$attrs), {
196
205
  tableTitle: withCtx(() => [
197
206
  createVNode(_component_a_button, {
198
207
  onClick: _ctx.onAdd,
@@ -200,7 +209,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
200
209
  preIcon: "ant-design:plus"
201
210
  }, {
202
211
  default: withCtx(() => [
203
- _hoisted_1
212
+ createTextVNode("\u65B0\u589E")
204
213
  ]),
205
214
  _: 1
206
215
  }, 8, ["onClick"]),
@@ -210,7 +219,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
210
219
  preIcon: "ant-design:highlight"
211
220
  }, {
212
221
  default: withCtx(() => [
213
- _hoisted_2
222
+ createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE")
214
223
  ]),
215
224
  _: 1
216
225
  }, 8, ["onClick"]),
@@ -220,29 +229,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
220
229
  preIcon: "ant-design:strikethrough"
221
230
  }, {
222
231
  default: withCtx(() => [
223
- _hoisted_3
232
+ createTextVNode("JS\u589E\u5F3A")
224
233
  ]),
225
234
  _: 1
226
235
  }, 8, ["onClick"]),
227
- withDirectives((openBlock(), createBlock(_component_a_button, {
236
+ createVNode(_component_a_button, {
228
237
  onClick: _ctx.onShowEnhanceSql,
229
238
  type: "primary",
230
239
  preIcon: "ant-design:filter"
231
240
  }, {
232
241
  default: withCtx(() => [
233
- _hoisted_4
242
+ createTextVNode(" SQL\u589E\u5F3A ")
234
243
  ]),
235
244
  _: 1
236
- }, 8, ["onClick"])), [
237
- [_directive_auth, "online:sql"]
238
- ]),
245
+ }, 8, ["onClick"]),
239
246
  createVNode(_component_a_button, {
240
247
  onClick: _ctx.onShowEnhanceJava,
241
248
  type: "primary",
242
249
  preIcon: "ant-design:tool"
243
250
  }, {
244
251
  default: withCtx(() => [
245
- _hoisted_5
252
+ createTextVNode("JAVA\u589E\u5F3A")
246
253
  ]),
247
254
  _: 1
248
255
  }, 8, ["onClick"]),
@@ -252,7 +259,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
252
259
  preIcon: "ant-design:database"
253
260
  }, {
254
261
  default: withCtx(() => [
255
- _hoisted_6
262
+ createTextVNode("\u5BFC\u5165\u6570\u636E\u5E93\u8868")
256
263
  ]),
257
264
  _: 1
258
265
  }, 8, ["onClick"]),
@@ -262,16 +269,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
262
269
  preIcon: "bx:bx-code-alt"
263
270
  }, {
264
271
  default: withCtx(() => [
265
- _hoisted_7
272
+ createTextVNode(" \u4EE3\u7801\u751F\u6210 ")
266
273
  ]),
267
274
  _: 1
268
275
  }, 8, ["onClick"]),
269
- createVNode(_component_a_button, { type: "primary" }, {
270
- default: withCtx(() => [
271
- _hoisted_8
272
- ]),
273
- _: 1
274
- }),
275
276
  _ctx.selectedRowKeys.length > 0 ? (openBlock(), createBlock(_component_a_dropdown, { key: 0 }, {
276
277
  overlay: withCtx(() => [
277
278
  createVNode(_component_a_menu, null, {
@@ -282,7 +283,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
282
283
  }, {
283
284
  default: withCtx(() => [
284
285
  createVNode(_component_a_icon, { type: "delete" }),
285
- _hoisted_9
286
+ _hoisted_1
286
287
  ]),
287
288
  _: 1
288
289
  }, 8, ["onClick"])
@@ -293,7 +294,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
293
294
  default: withCtx(() => [
294
295
  createVNode(_component_a_button, null, {
295
296
  default: withCtx(() => [
296
- _hoisted_10,
297
+ _hoisted_2,
297
298
  createVNode(_component_a_icon, { type: "down" })
298
299
  ]),
299
300
  _: 1
@@ -303,8 +304,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
303
304
  })) : createCommentVNode("", true)
304
305
  ]),
305
306
  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)
307
+ text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_3, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
308
+ text === "N" ? (openBlock(), createElementBlock("span", _hoisted_4, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
308
309
  ]),
309
310
  action: withCtx(({ record }) => [
310
311
  createVNode(_component_TableAction, {
@@ -313,7 +314,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
313
314
  }, null, 8, ["actions", "dropDownActions"])
314
315
  ]),
315
316
  _: 1
316
- }, 8, ["onRegister", "rowSelection"])
317
+ }, 16, ["onRegister", "rowSelection"])
317
318
  ], 2),
318
319
  createVNode(_component_CgformModal, {
319
320
  onRegister: _ctx.registerCgformModal,
package/index3.js CHANGED
@@ -18,23 +18,19 @@ var __async = (__this, __arguments, generator) => {
18
18
  step((generator = generator.apply(__this, __arguments)).next());
19
19
  });
20
20
  };
21
- import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createBlock, createCommentVNode, createTextVNode } from "vue";
21
+ import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, unref, mergeProps, withCtx, createTextVNode, createBlock, createCommentVNode } from "vue";
22
22
  import { BasicTable, TableAction } from "/@/components/Table";
23
23
  import { useListPage } from "/@/hooks/system/useListPage";
24
- import { l as list, c as columns, s as searchFormSchema, _ as _sfc_main$1, d as deleteOne, b as batchDelete, g as getReportParam } from "./CgreportModal.js";
24
+ import { l as list, c as columns, s as searchFormSchema, _ as _sfc_main$1, b as batchDelete, g as getReportParam, d as deleteOne } from "./CgreportModal.js";
25
25
  import { useModal } from "/@/components/Modal";
26
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers.js";
26
27
  import { useRouter } from "vue-router";
27
28
  import "/@/components/Form/index";
28
29
  import "/@/hooks/system/useJvxeMethods.ts";
29
30
  import "/@/components/jeecg/JVxeTable/types";
30
31
  import "/@/views/system/user/user.api";
31
32
  import "/@/utils/http/axios";
32
- import "ant-design-vue";
33
33
  import "/@/hooks/web/useMessage";
34
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
35
- function getDefaultExportFromCjs(x) {
36
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
37
- }
38
34
  var clipboard = { exports: {} };
39
35
  /*!
40
36
  * clipboard.js v2.0.11
@@ -218,17 +214,17 @@ var clipboard = { exports: {} };
218
214
  return _possibleConstructorReturn(this, result);
219
215
  };
220
216
  }
221
- function _possibleConstructorReturn(self2, call) {
217
+ function _possibleConstructorReturn(self, call) {
222
218
  if (call && (clipboard_typeof(call) === "object" || typeof call === "function")) {
223
219
  return call;
224
220
  }
225
- return _assertThisInitialized(self2);
221
+ return _assertThisInitialized(self);
226
222
  }
227
- function _assertThisInitialized(self2) {
228
- if (self2 === void 0) {
223
+ function _assertThisInitialized(self) {
224
+ if (self === void 0) {
229
225
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
230
226
  }
231
- return self2;
227
+ return self;
232
228
  }
233
229
  function _isNativeReflectConstruct() {
234
230
  if (typeof Reflect === "undefined" || !Reflect.construct)
@@ -521,9 +517,9 @@ var clipboard = { exports: {} };
521
517
  return this;
522
518
  },
523
519
  once: function(name, callback, ctx) {
524
- var self2 = this;
520
+ var self = this;
525
521
  function listener() {
526
- self2.off(name, listener);
522
+ self.off(name, listener);
527
523
  callback.apply(ctx, arguments);
528
524
  }
529
525
  listener._ = callback;
@@ -598,15 +594,17 @@ var clipboard = { exports: {} };
598
594
  });
599
595
  })(clipboard);
600
596
  var Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboard.exports);
601
- const _hoisted_1 = /* @__PURE__ */ createTextVNode("\u5F55\u5165");
602
- const _hoisted_2 = /* @__PURE__ */ createTextVNode(" \u5220\u9664 ");
603
- const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u6279\u91CF\u64CD\u4F5C ");
604
597
  const _sfc_main = /* @__PURE__ */ defineComponent({
605
- name: "index",
606
- setup(__props) {
598
+ __name: "index",
599
+ setup(__props, { expose }) {
607
600
  let router = useRouter();
608
601
  const [registerModal, { openModal }] = useModal();
609
- const { prefixCls, tableContext, createMessage: $message, createConfirm: $confirm } = useListPage({
602
+ const {
603
+ prefixCls,
604
+ tableContext,
605
+ createMessage: $message,
606
+ createConfirm: $confirm
607
+ } = useListPage({
610
608
  designScope: "online-cgreport-list",
611
609
  pagination: true,
612
610
  tableProps: {
@@ -663,10 +661,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
663
661
  return [
664
662
  {
665
663
  label: "\u529F\u80FD\u6D4B\u8BD5",
664
+ class: ["low-app-hide"],
666
665
  onClick: () => onShowList(record.id)
667
666
  },
668
667
  {
669
668
  label: "\u914D\u7F6E\u5730\u5740",
669
+ class: ["low-app-hide"],
670
670
  onClick: () => onShowOnlineUrl(record)
671
671
  },
672
672
  {
@@ -727,6 +727,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
727
727
  });
728
728
  });
729
729
  }
730
+ expose({
731
+ handleAdd
732
+ });
730
733
  return (_ctx, _cache) => {
731
734
  const _component_a_button = resolveComponent("a-button");
732
735
  const _component_Icon = resolveComponent("Icon");
@@ -734,10 +737,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
734
737
  const _component_a_menu = resolveComponent("a-menu");
735
738
  const _component_a_dropdown = resolveComponent("a-dropdown");
736
739
  return openBlock(), createElementBlock("div", null, [
737
- createVNode(unref(BasicTable), {
740
+ createVNode(unref(BasicTable), mergeProps({
738
741
  onRegister: unref(registerTable),
739
742
  rowSelection: unref(rowSelection)
740
- }, {
743
+ }, _ctx.$attrs), {
741
744
  tableTitle: withCtx(() => [
742
745
  createVNode(_component_a_button, {
743
746
  preIcon: "ant-design:plus-outlined",
@@ -746,7 +749,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
746
749
  style: { "margin-right": "5px" }
747
750
  }, {
748
751
  default: withCtx(() => [
749
- _hoisted_1
752
+ createTextVNode("\u5F55\u5165")
750
753
  ]),
751
754
  _: 1
752
755
  }),
@@ -760,7 +763,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
760
763
  }, {
761
764
  default: withCtx(() => [
762
765
  createVNode(_component_Icon, { icon: "ant-design:delete-outlined" }),
763
- _hoisted_2
766
+ createTextVNode(" \u5220\u9664 ")
764
767
  ]),
765
768
  _: 1
766
769
  })
@@ -771,7 +774,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
771
774
  default: withCtx(() => [
772
775
  createVNode(_component_a_button, null, {
773
776
  default: withCtx(() => [
774
- _hoisted_3,
777
+ createTextVNode("\u6279\u91CF\u64CD\u4F5C "),
775
778
  createVNode(_component_Icon, { icon: "mdi:chevron-down" })
776
779
  ]),
777
780
  _: 1
@@ -787,7 +790,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
787
790
  }, null, 8, ["actions", "dropDownActions"])
788
791
  ]),
789
792
  _: 1
790
- }, 8, ["onRegister", "rowSelection"]),
793
+ }, 16, ["onRegister", "rowSelection"]),
791
794
  createVNode(_sfc_main$1, {
792
795
  onRegister: unref(registerModal),
793
796
  onSuccess: handleSuccess
package/isArray.js CHANGED
@@ -44,4 +44,4 @@ function isObjectLike(value) {
44
44
  }
45
45
  var isArray = Array.isArray;
46
46
  var isArray$1 = isArray;
47
- export { Symbol$2 as S, isArray$1 as a, baseGetTag as b, freeGlobal$1 as f, isObjectLike as i, root$1 as r };
47
+ export { Symbol$2 as S, isObjectLike as a, baseGetTag as b, freeGlobal$1 as f, isArray$1 as i, root$1 as r };
package/main.index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { i as default } from "./index.js";
2
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
3
1
  import "vue";
2
+ export { L as LinkTableCard, a as LinkTableSelect, O as OnlineSelectCascade, i as default } from "./index.js";
3
+ import "/@/utils/http/axios";
4
4
  import "/@/hooks/web/useMessage";
5
- import "vue-router";
5
+ import "@vueuse/core";
6
6
  import "./style.css";
package/omit.js ADDED
@@ -0,0 +1,60 @@
1
+ import { a as arrayMap } from "./toString.js";
2
+ import { g as getPrototype, c as copyObject, a as getAllKeysIn, b as baseClone } from "./_baseClone.js";
3
+ import { b as baseGet, c as castPath, t as toKey, f as flatRest } from "./_flatRest.js";
4
+ import { b as baseSlice } from "./_baseSlice.js";
5
+ import { a as isObjectLike, b as baseGetTag } from "./isArray.js";
6
+ var objectTag = "[object Object]";
7
+ var funcProto = Function.prototype, objectProto = Object.prototype;
8
+ var funcToString = funcProto.toString;
9
+ var hasOwnProperty = objectProto.hasOwnProperty;
10
+ var objectCtorString = funcToString.call(Object);
11
+ function isPlainObject(value) {
12
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
13
+ return false;
14
+ }
15
+ var proto = getPrototype(value);
16
+ if (proto === null) {
17
+ return true;
18
+ }
19
+ var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
20
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
21
+ }
22
+ function last(array) {
23
+ var length = array == null ? 0 : array.length;
24
+ return length ? array[length - 1] : void 0;
25
+ }
26
+ function parent(object, path) {
27
+ return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
28
+ }
29
+ function baseUnset(object, path) {
30
+ path = castPath(path, object);
31
+ object = parent(object, path);
32
+ return object == null || delete object[toKey(last(path))];
33
+ }
34
+ function customOmitClone(value) {
35
+ return isPlainObject(value) ? void 0 : value;
36
+ }
37
+ var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
38
+ var omit = flatRest(function(object, paths) {
39
+ var result = {};
40
+ if (object == null) {
41
+ return result;
42
+ }
43
+ var isDeep = false;
44
+ paths = arrayMap(paths, function(path) {
45
+ path = castPath(path, object);
46
+ isDeep || (isDeep = path.length > 1);
47
+ return path;
48
+ });
49
+ copyObject(object, getAllKeysIn(object), result);
50
+ if (isDeep) {
51
+ result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
52
+ }
53
+ var length = paths.length;
54
+ while (length--) {
55
+ baseUnset(result, paths[length]);
56
+ }
57
+ return result;
58
+ });
59
+ var omit$1 = omit;
60
+ export { omit$1 as o };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeecg/online",
3
- "version": "1.0.1",
3
+ "version": "3.4.3",
4
4
  "main": "./main.index.js",
5
5
  "module": "./main.index.js"
6
6
  }
package/pick.js CHANGED
@@ -1,176 +1,6 @@
1
- import { a as isArray, S as Symbol$1 } from "./isArray.js";
2
- import { i as isSymbol, t as toString } from "./toString.js";
3
- import { k as defineProperty, h as MapCache, e as isArguments, j as arrayPush, c as isLength, f as isIndex, i as isObject, a as assignValue } 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
- }
1
+ import { c as castPath, t as toKey, b as baseGet, f as flatRest } from "./_flatRest.js";
2
+ import { i as isLength, a as isIndex, b as isArguments, c as isObject, d as assignValue } from "./_arrayPush.js";
3
+ import { i as isArray } from "./isArray.js";
174
4
  function baseHasIn(object, key) {
175
5
  return object != null && key in Object(object);
176
6
  }