@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
@@ -0,0 +1,165 @@
1
+ var __async = (__this, __arguments, generator) => {
2
+ return new Promise((resolve, reject) => {
3
+ var fulfilled = (value) => {
4
+ try {
5
+ step(generator.next(value));
6
+ } catch (e) {
7
+ reject(e);
8
+ }
9
+ };
10
+ var rejected = (value) => {
11
+ try {
12
+ step(generator.throw(value));
13
+ } catch (e) {
14
+ reject(e);
15
+ }
16
+ };
17
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
18
+ step((generator = generator.apply(__this, __arguments)).next());
19
+ });
20
+ };
21
+ import { useMessage } from "/@/hooks/web/useMessage";
22
+ import { ref, watch, resolveComponent, openBlock, createBlock } from "vue";
23
+ import { BasicForm } from "/@/components/Form/index";
24
+ import { defHttp } from "/@/utils/http/axios";
25
+ import { d as getDetailFormSchemas, g as getRefPromise } from "./useAutoForm.js";
26
+ import { Loading } from "/@/components/Loading";
27
+ import DetailForm from "./DetailForm.js";
28
+ import { _ as _export_sfc } from "./index.js";
29
+ import "./FormSchemaFactory.js";
30
+ import "/@/components/Form/src/jeecg/components/JUpload";
31
+ import "/@/views/system/user/user.api";
32
+ import "./_commonjsHelpers.js";
33
+ import "/@/store/modules/user";
34
+ import "/@/utils";
35
+ import "/@/utils/desform/customExpression";
36
+ import "/@/components/Form/src/componentMap";
37
+ import "/@/store/modules/permission";
38
+ import "/@/utils/propTypes";
39
+ import "@ant-design/icons-vue";
40
+ import "/@/components/Modal";
41
+ import "/@/utils/dict/JDictSelectUtil";
42
+ import "/@/utils/common/compUtils";
43
+ import "./pick.js";
44
+ import "./_flatRest.js";
45
+ import "./isArray.js";
46
+ import "./toString.js";
47
+ import "./_arrayPush.js";
48
+ import "/@/components/Table";
49
+ import "/@/hooks/system/useListPage";
50
+ import "vue-router";
51
+ import "/@/components/Form/src/utils/Area";
52
+ import "/@/components/Preview/index";
53
+ import "./LinkTableListPiece.js";
54
+ import "@vueuse/core";
55
+ import "/@/utils/auth";
56
+ import "./JModalTip.js";
57
+ import "ant-design-vue";
58
+ import "/@/utils/dict";
59
+ import "/@/utils/dict/index";
60
+ import "/@/api/common/api";
61
+ const baseUrl = "/online/cgform/api/subform";
62
+ const _sfc_main = {
63
+ name: "OnlineSubFormDetail",
64
+ components: {
65
+ BasicForm,
66
+ Loading,
67
+ DetailForm
68
+ },
69
+ props: {
70
+ properties: {
71
+ type: Object,
72
+ required: true
73
+ },
74
+ mainId: {
75
+ type: String,
76
+ default: ""
77
+ },
78
+ table: {
79
+ type: String,
80
+ default: ""
81
+ },
82
+ formTemplate: {
83
+ type: Number,
84
+ default: 1
85
+ }
86
+ },
87
+ emits: ["formChange"],
88
+ setup(props) {
89
+ const formRendered = ref(false);
90
+ const { createMessage: $message } = useMessage();
91
+ const tableName = ref("");
92
+ const subFormData = ref({});
93
+ const { detailFormSchemas, createFormSchemas, formSpan } = getDetailFormSchemas(props);
94
+ watch(
95
+ () => props.table,
96
+ () => {
97
+ tableName.value = props.table;
98
+ },
99
+ { immediate: true }
100
+ );
101
+ watch(
102
+ () => props.properties,
103
+ () => {
104
+ console.log("\u4E3B\u8868properties\u6539\u53D8", props.properties);
105
+ formRendered.value = false;
106
+ createFormSchemas(props.properties);
107
+ formRendered.value = true;
108
+ },
109
+ { deep: true, immediate: true }
110
+ );
111
+ watch(
112
+ () => props.mainId,
113
+ () => {
114
+ console.log("\u4E3B\u8868ID\u6539\u53D8", props.mainId);
115
+ setTimeout(() => {
116
+ resetSubForm();
117
+ }, 100);
118
+ },
119
+ { immediate: true }
120
+ );
121
+ function resetSubForm() {
122
+ return __async(this, null, function* () {
123
+ yield getRefPromise(formRendered);
124
+ subFormData.value = {};
125
+ const { table, mainId } = props;
126
+ if (!table || !mainId) {
127
+ return;
128
+ }
129
+ let values = (yield loadData(table, mainId)) || {};
130
+ subFormData.value = values;
131
+ });
132
+ }
133
+ function loadData(table, mainId) {
134
+ let url = `${baseUrl}/${table}/${mainId}`;
135
+ return new Promise((resolve, reject) => {
136
+ defHttp.get({ url }, { isTransformResponse: false }).then((res) => {
137
+ console.log(res);
138
+ if (res.success) {
139
+ resolve(res.result);
140
+ } else {
141
+ console.log(res.message);
142
+ reject();
143
+ }
144
+ });
145
+ }).catch(() => {
146
+ $message.warning("\u5B50\u8868\u83B7\u53D6\u6570\u636E\u5931\u8D25:" + table);
147
+ });
148
+ }
149
+ return {
150
+ detailFormSchemas,
151
+ subFormData,
152
+ formSpan
153
+ };
154
+ }
155
+ };
156
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
157
+ const _component_detail_form = resolveComponent("detail-form");
158
+ return openBlock(), createBlock(_component_detail_form, {
159
+ schemas: $setup.detailFormSchemas,
160
+ data: $setup.subFormData,
161
+ span: $setup.formSpan
162
+ }, null, 8, ["schemas", "data", "span"]);
163
+ }
164
+ var OnlineSubFormDetail = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
165
+ export { OnlineSubFormDetail as default };
@@ -1,11 +1,11 @@
1
- import { ref, reactive, toRaw, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, createBlock, withCtx, createVNode, Teleport, createCommentVNode, normalizeClass, withDirectives, vShow, renderList, toDisplayString, pushScopeId, popScopeId, createTextVNode } from "vue";
1
+ import { ref, reactive, watch, toRaw, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, createBlock, withCtx, createVNode, createTextVNode, Teleport, createCommentVNode, normalizeClass, withDirectives, vShow, renderList, toDisplayString, pushScopeId, popScopeId } from "vue";
2
2
  import { useModalInner, BasicModal, useModal } from "/@/components/Modal";
3
3
  import { randomString } from "/@/utils/common/compUtils";
4
4
  import { useMessage } from "/@/hooks/web/useMessage";
5
5
  import { Modal, Divider } from "ant-design-vue";
6
6
  import { createLocalStorage } from "/@/utils/cache";
7
7
  import { useRoute } from "vue-router";
8
- import { b as FORM_VIEW_TO_QUERY_VIEW, F as FormSchemaFactory } from "./FormSchemaFactory.js";
8
+ import { c as FORM_VIEW_TO_QUERY_VIEW, F as FormSchemaFactory } from "./FormSchemaFactory.js";
9
9
  import { _ as _sfc_main$1 } from "./OnlineSuperQueryValComponent.vue_vue_type_script_lang.js";
10
10
  import { MinusCircleOutlined, PlusOutlined, FileTextOutlined, CloseCircleOutlined, AppstoreTwoTone } from "@ant-design/icons-vue";
11
11
  import { _ as _export_sfc } from "./index.js";
@@ -13,9 +13,11 @@ import "/@/components/Form/src/jeecg/components/JUpload";
13
13
  import "/@/components/Form/src/componentMap";
14
14
  import "/@/components/Form/src/helper";
15
15
  import "/@/utils/is";
16
+ import "./_baseSlice.js";
16
17
  import "./toString.js";
17
18
  import "./isArray.js";
18
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
19
+ import "/@/utils/http/axios";
20
+ import "@vueuse/core";
19
21
  const SAVE_CODE_PRE = "JSuperQuerySaved_";
20
22
  function useSuperQuery() {
21
23
  const { createMessage: $message } = useMessage();
@@ -27,7 +29,7 @@ function useSuperQuery() {
27
29
  const [registerModal, { setModalProps }] = useModalInner(() => {
28
30
  setModalProps({ confirmLoading: false });
29
31
  });
30
- const view2QueryViewMap = Object.assign({}, { "link_down": "text" }, FORM_VIEW_TO_QUERY_VIEW);
32
+ const view2QueryViewMap = Object.assign({}, { link_down: "text" }, FORM_VIEW_TO_QUERY_VIEW);
31
33
  function handleSubmit() {
32
34
  console.log("handleSubmit", dynamicRowValues.values);
33
35
  }
@@ -110,25 +112,32 @@ function useSuperQuery() {
110
112
  });
111
113
  const loading = ref(false);
112
114
  const route = useRoute();
113
- watch(() => route.fullPath, (val) => {
114
- console.log("fullpath", val);
115
- initSaveQueryInfoCode();
116
- });
115
+ watch(
116
+ () => route.fullPath,
117
+ (val) => {
118
+ console.log("fullpath", val);
119
+ initSaveQueryInfoCode();
120
+ }
121
+ );
117
122
  const currentPageSavedArray = ref([]);
118
- watch(() => currentPageSavedArray.value, (val) => {
119
- let temp = [];
120
- if (val && val.length > 0) {
121
- val.map((item) => {
122
- let key = randomString(16);
123
- temp.push({
124
- title: item.title,
125
- slots: { icon: "custom" },
126
- value: key
123
+ watch(
124
+ () => currentPageSavedArray.value,
125
+ (val) => {
126
+ let temp = [];
127
+ if (val && val.length > 0) {
128
+ val.map((item) => {
129
+ let key = randomString(16);
130
+ temp.push({
131
+ title: item.title,
132
+ slots: { icon: "custom" },
133
+ value: key
134
+ });
127
135
  });
128
- });
129
- }
130
- saveTreeData.value = temp;
131
- }, { immediate: true, deep: true });
136
+ }
137
+ saveTreeData.value = temp;
138
+ },
139
+ { immediate: true, deep: true }
140
+ );
132
141
  function initSaveQueryInfoCode() {
133
142
  let code = SAVE_CODE_PRE + route.fullPath;
134
143
  saveInfo.saveCode = code;
@@ -274,7 +283,7 @@ function useSuperQuery() {
274
283
  Object.keys(subProps).map((subField) => {
275
284
  let subItem = subProps[subField];
276
285
  subItem["order"] = subTableOrder + subItem["order"];
277
- let subFieldKey = field + "@" + subField;
286
+ let subFieldKey = field + "," + subField;
278
287
  allFields[subFieldKey] = subItem;
279
288
  subNode.children.push({
280
289
  title: subItem.title,
@@ -407,9 +416,13 @@ const _sfc_main = {
407
416
  initDefaultValues
408
417
  } = useSuperQuery();
409
418
  const superQueryFlag = ref(false);
410
- watch(() => props.status, (val) => {
411
- superQueryFlag.value = val;
412
- }, { immediate: true });
419
+ watch(
420
+ () => props.status,
421
+ (val) => {
422
+ superQueryFlag.value = val;
423
+ },
424
+ { immediate: true }
425
+ );
413
426
  function handleOpen() {
414
427
  formModal.openModal();
415
428
  addOne(true);
@@ -454,34 +467,17 @@ const _sfc_main = {
454
467
  };
455
468
  }
456
469
  };
457
- const _withScopeId = (n) => (pushScopeId("data-v-08fc9755"), n = n(), popScopeId(), n);
470
+ const _withScopeId = (n) => (pushScopeId("data-v-2878ef8e"), n = n(), popScopeId(), n);
458
471
  const _hoisted_1 = { class: "j-super-query-button" };
459
472
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u5DF2\u6709\u9AD8\u7EA7\u67E5\u8BE2\u6761\u4EF6\u751F\u6548", -1));
460
473
  const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u9AD8\u7EA7\u67E5\u8BE2", -1));
461
- const _hoisted_4 = /* @__PURE__ */ createTextVNode(" \u9AD8\u7EA7\u67E5\u8BE2 ");
462
- const _hoisted_5 = { style: { "float": "left" } };
463
- const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
464
- const _hoisted_7 = /* @__PURE__ */ createTextVNode("\u4FDD\u5B58\u67E5\u8BE2\u6761\u4EF6");
465
- const _hoisted_8 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
466
- const _hoisted_9 = /* @__PURE__ */ createTextVNode("\u5173\u95ED");
467
- const _hoisted_10 = { slot: "description" };
468
- const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u6CA1\u6709\u4EFB\u4F55\u67E5\u8BE2\u6761\u4EF6", -1));
469
- const _hoisted_12 = /* @__PURE__ */ createTextVNode("AND\uFF08\u6240\u6709\u6761\u4EF6\u90FD\u8981\u6C42\u5339\u914D\uFF09");
470
- const _hoisted_13 = /* @__PURE__ */ createTextVNode("OR\uFF08\u6761\u4EF6\u4E2D\u7684\u4EFB\u610F\u4E00\u4E2A\u5339\u914D\uFF09");
471
- const _hoisted_14 = /* @__PURE__ */ createTextVNode("\u7B49\u4E8E");
472
- const _hoisted_15 = /* @__PURE__ */ createTextVNode("\u6A21\u7CCA");
473
- const _hoisted_16 = /* @__PURE__ */ createTextVNode("\u4EE5..\u5F00\u59CB");
474
- const _hoisted_17 = /* @__PURE__ */ createTextVNode("\u4EE5..\u7ED3\u5C3E");
475
- const _hoisted_18 = /* @__PURE__ */ createTextVNode("\u5728...\u4E2D");
476
- const _hoisted_19 = /* @__PURE__ */ createTextVNode("\u4E0D\u7B49\u4E8E");
477
- const _hoisted_20 = /* @__PURE__ */ createTextVNode("\u5927\u4E8E");
478
- const _hoisted_21 = /* @__PURE__ */ createTextVNode("\u5927\u4E8E\u7B49\u4E8E");
479
- const _hoisted_22 = /* @__PURE__ */ createTextVNode("\u5C0F\u4E8E");
480
- const _hoisted_23 = /* @__PURE__ */ createTextVNode("\u5C0F\u4E8E\u7B49\u4E8E");
481
- const _hoisted_24 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "\u4FDD\u5B58\u7684\u67E5\u8BE2", -1));
482
- const _hoisted_25 = ["title"];
483
- const _hoisted_26 = { class: "icon-cancle" };
484
- const _hoisted_27 = { style: { "height": "80px", "line-height": "75px", "width": "100%", "text-align": "center" } };
474
+ const _hoisted_4 = { style: { "float": "left" } };
475
+ const _hoisted_5 = { slot: "description" };
476
+ const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", null, "\u6CA1\u6709\u4EFB\u4F55\u67E5\u8BE2\u6761\u4EF6", -1));
477
+ const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", null, "\u4FDD\u5B58\u7684\u67E5\u8BE2", -1));
478
+ const _hoisted_8 = ["title"];
479
+ const _hoisted_9 = { class: "icon-cancle" };
480
+ const _hoisted_10 = { style: { "height": "80px", "line-height": "75px", "width": "100%", "text-align": "center" } };
485
481
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
486
482
  const _component_divider = resolveComponent("divider");
487
483
  const _component_AppstoreTwoTone = resolveComponent("AppstoreTwoTone");
@@ -549,7 +545,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
549
545
  onClick: $setup.handleOpen
550
546
  }, {
551
547
  default: withCtx(() => [
552
- _hoisted_4
548
+ createTextVNode(" \u9AD8\u7EA7\u67E5\u8BE2 ")
553
549
  ]),
554
550
  _: 1
555
551
  }, 8, ["onClick"]))
@@ -558,18 +554,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
558
554
  createVNode(_component_BasicModal, {
559
555
  title: "\u9AD8\u7EA7\u67E5\u8BE2\u6784\u9020\u5668",
560
556
  canFullscreen: false,
561
- width: 1050,
557
+ width: 1055,
562
558
  onRegister: $setup.registerFormModal,
563
559
  onOk: $setup.handleSubmit
564
560
  }, {
565
561
  footer: withCtx(() => [
566
- createElementVNode("div", _hoisted_5, [
562
+ createElementVNode("div", _hoisted_4, [
567
563
  createVNode(_component_a_button, {
568
564
  loading: $setup.loading,
569
565
  onClick: $setup.handleReset
570
566
  }, {
571
567
  default: withCtx(() => [
572
- _hoisted_6
568
+ createTextVNode("\u91CD\u7F6E")
573
569
  ]),
574
570
  _: 1
575
571
  }, 8, ["loading", "onClick"]),
@@ -578,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
578
574
  onClick: $setup.handleSave
579
575
  }, {
580
576
  default: withCtx(() => [
581
- _hoisted_7
577
+ createTextVNode("\u4FDD\u5B58\u67E5\u8BE2\u6761\u4EF6")
582
578
  ]),
583
579
  _: 1
584
580
  }, 8, ["loading", "onClick"])
@@ -589,7 +585,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
589
585
  onClick: $setup.handleSubmit
590
586
  }, {
591
587
  default: withCtx(() => [
592
- _hoisted_8
588
+ createTextVNode("\u786E\u5B9A")
593
589
  ]),
594
590
  _: 1
595
591
  }, 8, ["onClick"]),
@@ -598,7 +594,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
598
594
  onClick: $setup.handleCancel
599
595
  }, {
600
596
  default: withCtx(() => [
601
- _hoisted_9
597
+ createTextVNode("\u5173\u95ED")
602
598
  ]),
603
599
  _: 1
604
600
  }, 8, ["onClick"])
@@ -606,8 +602,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
606
602
  default: withCtx(() => [
607
603
  $setup.dynamicRowValues.values.length == 0 ? (openBlock(), createBlock(_component_a_empty, { key: 0 }, {
608
604
  default: withCtx(() => [
609
- createElementVNode("div", _hoisted_10, [
610
- _hoisted_11,
605
+ createElementVNode("div", _hoisted_5, [
606
+ _hoisted_6,
611
607
  createVNode(_component_a_divider, { type: "vertical" }),
612
608
  createElementVNode("a", {
613
609
  onClick: _cache[1] || (_cache[1] = ($event) => $setup.addOne(-1))
@@ -648,13 +644,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
648
644
  default: withCtx(() => [
649
645
  createVNode(_component_a_select_option, { value: "and" }, {
650
646
  default: withCtx(() => [
651
- _hoisted_12
647
+ createTextVNode("AND\uFF08\u6240\u6709\u6761\u4EF6\u90FD\u8981\u6C42\u5339\u914D\uFF09")
652
648
  ]),
653
649
  _: 1
654
650
  }),
655
651
  createVNode(_component_a_select_option, { value: "or" }, {
656
652
  default: withCtx(() => [
657
- _hoisted_13
653
+ createTextVNode("OR\uFF08\u6761\u4EF6\u4E2D\u7684\u4EFB\u610F\u4E00\u4E2A\u5339\u914D\uFF09")
658
654
  ]),
659
655
  _: 1
660
656
  })
@@ -721,61 +717,61 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
721
717
  default: withCtx(() => [
722
718
  createVNode(_component_a_select_option, { value: "eq" }, {
723
719
  default: withCtx(() => [
724
- _hoisted_14
720
+ createTextVNode("\u7B49\u4E8E")
725
721
  ]),
726
722
  _: 1
727
723
  }),
728
724
  createVNode(_component_a_select_option, { value: "like" }, {
729
725
  default: withCtx(() => [
730
- _hoisted_15
726
+ createTextVNode("\u6A21\u7CCA")
731
727
  ]),
732
728
  _: 1
733
729
  }),
734
730
  createVNode(_component_a_select_option, { value: "right_like" }, {
735
731
  default: withCtx(() => [
736
- _hoisted_16
732
+ createTextVNode("\u4EE5..\u5F00\u59CB")
737
733
  ]),
738
734
  _: 1
739
735
  }),
740
736
  createVNode(_component_a_select_option, { value: "left_like" }, {
741
737
  default: withCtx(() => [
742
- _hoisted_17
738
+ createTextVNode("\u4EE5..\u7ED3\u5C3E")
743
739
  ]),
744
740
  _: 1
745
741
  }),
746
742
  createVNode(_component_a_select_option, { value: "in" }, {
747
743
  default: withCtx(() => [
748
- _hoisted_18
744
+ createTextVNode("\u5728...\u4E2D")
749
745
  ]),
750
746
  _: 1
751
747
  }),
752
748
  createVNode(_component_a_select_option, { value: "ne" }, {
753
749
  default: withCtx(() => [
754
- _hoisted_19
750
+ createTextVNode("\u4E0D\u7B49\u4E8E")
755
751
  ]),
756
752
  _: 1
757
753
  }),
758
754
  createVNode(_component_a_select_option, { value: "gt" }, {
759
755
  default: withCtx(() => [
760
- _hoisted_20
756
+ createTextVNode("\u5927\u4E8E")
761
757
  ]),
762
758
  _: 1
763
759
  }),
764
760
  createVNode(_component_a_select_option, { value: "ge" }, {
765
761
  default: withCtx(() => [
766
- _hoisted_21
762
+ createTextVNode("\u5927\u4E8E\u7B49\u4E8E")
767
763
  ]),
768
764
  _: 1
769
765
  }),
770
766
  createVNode(_component_a_select_option, { value: "lt" }, {
771
767
  default: withCtx(() => [
772
- _hoisted_22
768
+ createTextVNode("\u5C0F\u4E8E")
773
769
  ]),
774
770
  _: 1
775
771
  }),
776
772
  createVNode(_component_a_select_option, { value: "le" }, {
777
773
  default: withCtx(() => [
778
- _hoisted_23
774
+ createTextVNode("\u5C0F\u4E8E\u7B49\u4E8E")
779
775
  ]),
780
776
  _: 1
781
777
  })
@@ -845,7 +841,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
845
841
  bordered: true
846
842
  }, {
847
843
  title: withCtx(() => [
848
- _hoisted_24
844
+ _hoisted_7
849
845
  ]),
850
846
  default: withCtx(() => [
851
847
  $setup.saveTreeData.length === 0 ? (openBlock(), createBlock(_component_a_empty, {
@@ -862,8 +858,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
862
858
  }, {
863
859
  title: withCtx(({ title }) => [
864
860
  createElementVNode("div", null, [
865
- createElementVNode("span", { title }, toDisplayString(title.length > 10 ? title.substring(0, 10) + "..." : title), 9, _hoisted_25),
866
- createElementVNode("span", _hoisted_26, [
861
+ createElementVNode("span", { title }, toDisplayString(title.length > 10 ? title.substring(0, 10) + "..." : title), 9, _hoisted_8),
862
+ createElementVNode("span", _hoisted_9, [
867
863
  createVNode(_component_close_circle_outlined, {
868
864
  onClick: ($event) => $setup.handleRemoveSaveInfo(title)
869
865
  }, null, 8, ["onClick"])
@@ -895,7 +891,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
895
891
  onOk: $setup.doSaveQueryInfo
896
892
  }, {
897
893
  default: withCtx(() => [
898
- createElementVNode("div", _hoisted_27, [
894
+ createElementVNode("div", _hoisted_10, [
899
895
  createVNode(_component_a_input, {
900
896
  value: $setup.saveInfo.title,
901
897
  "onUpdate:value": _cache[3] || (_cache[3] = ($event) => $setup.saveInfo.title = $event),
@@ -908,5 +904,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
908
904
  }, 8, ["visible", "onOk"])
909
905
  ], 64);
910
906
  }
911
- var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-08fc9755"]]);
907
+ var OnlineSuperQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2878ef8e"]]);
912
908
  export { OnlineSuperQuery as default };
@@ -4,5 +4,6 @@ import "vue";
4
4
  import "/@/components/Form/src/componentMap";
5
5
  import "/@/components/Form/src/helper";
6
6
  import "/@/utils/is";
7
+ import "./_baseSlice.js";
7
8
  import "./toString.js";
8
9
  import "./isArray.js";
@@ -21,24 +21,8 @@ import { defineComponent, computed, createVNode, unref } from "vue";
21
21
  import { componentMap } from "/@/components/Form/src/componentMap";
22
22
  import { createPlaceholderMessage } from "/@/components/Form/src/helper";
23
23
  import { isFunction } from "/@/utils/is";
24
+ import { b as baseSlice } from "./_baseSlice.js";
24
25
  import { t as toString } from "./toString.js";
25
- function baseSlice(array, start, end) {
26
- var index = -1, length = array.length;
27
- if (start < 0) {
28
- start = -start > length ? 0 : length + start;
29
- }
30
- end = end > length ? length : end;
31
- if (end < 0) {
32
- end += length;
33
- }
34
- length = start > end ? 0 : end - start >>> 0;
35
- start >>>= 0;
36
- var result = Array(length);
37
- while (++index < length) {
38
- result[index] = array[index + start];
39
- }
40
- return result;
41
- }
42
26
  function castSlice(array, start, end) {
43
27
  var length = array.length;
44
28
  end = end === void 0 ? length : end;