@jeecg/online 3.7.1-RC → 3.7.4

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 (142) hide show
  1. package/AccountLoginForm-d2fed52f.mjs +254 -0
  2. package/AiModal-fbe4b68a.mjs +84 -0
  3. package/AppForgetPassword-3b3bec82.mjs +310 -0
  4. package/AppLogin-cd2e2a87.mjs +287 -0
  5. package/AppLoginHeader-9b5be678.mjs +27 -0
  6. package/AppNameEmail-b4e32ae8.mjs +180 -0
  7. package/AppRegister-7117b66a.mjs +303 -0
  8. package/AppTenant-5817729b.mjs +373 -0
  9. package/AppThirdForm-d14fb5e5.mjs +189 -0
  10. package/AuthButtonConfig-5e3b6d72.mjs +156 -0
  11. package/AuthButtonTree-7b4ec967.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
  15. package/AuthFieldTree-2d458c0c.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1b9cbe19.mjs +260 -0
  21. package/CgformCopyList-580bba0f.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
  25. package/CodeFileListModal-71752603.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
  27. package/CodeGeneratorModal-2fe1e920.mjs +281 -0
  28. package/CustomButtonList-22b5cdb3.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
  32. package/DropMenuItem-b1a8f47d.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
  44. package/JModalTip-192fafa1.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
  47. package/LeftRole-9d88976d.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
  53. package/OnlCgformErpList-8fd15fc1.mjs +488 -0
  54. package/OnlCgformErpSubTable-3515150b.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
  56. package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
  57. package/OnlCgformTabList-583ac15f.mjs +424 -0
  58. package/OnlineAutoList-36ec0957.mjs +513 -0
  59. package/OnlineAutoModal-c0743caf.mjs +260 -0
  60. package/OnlineAutoTreeList-1cd718be.mjs +523 -0
  61. package/OnlineCustomModal-661ee850.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
  63. package/OnlineForm-c1fb38eb.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
  69. package/OnlineQueryForm-ca6186a3.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
  75. package/OnlineTabForm-89389384.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
  78. package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
  81. package/SetSwitchOptions-cdcb22a1.mjs +62 -0
  82. package/ShareAddView-f713c0a5.mjs +86 -0
  83. package/ShareEditView-691764ad.mjs +92 -0
  84. package/ShareView-df344a8d.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
  86. package/SingleView-ad0287d6.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
  88. package/SuperQuery-2b293e3b.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  94. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  95. package/index-181f8344.mjs +219 -0
  96. package/index-19eaef11.mjs +11 -0
  97. package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
  98. package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-93341e02.mjs +110 -0
  101. package/index-bef7fe2d.mjs +74 -0
  102. package/index-d6f9ada7.mjs +135 -0
  103. package/index-f3683351.mjs +57 -0
  104. package/main.index.js +1 -1
  105. package/package.json +1 -1
  106. package/shareStore-7de6c7a6.mjs +67 -0
  107. package/style.css +1 -1
  108. package/useCgformList-13c8aab7.mjs +378 -0
  109. package/useExtendComponent-3f5734ca.mjs +4459 -0
  110. package/useListButton-ee23874a.mjs +719 -0
  111. package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
  112. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  113. package/utils-9fce7606.mjs +16 -0
  114. package/AiModal-6de335e3.mjs +0 -84
  115. package/AuthButtonConfig-89763932.mjs +0 -154
  116. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  117. package/AuthFieldTree-e326fc38.mjs +0 -232
  118. package/CgformCopyList-365b3e8f.mjs +0 -251
  119. package/CodeFileListModal-24601898.mjs +0 -159
  120. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  121. package/CustomButtonList-f07bc695.mjs +0 -397
  122. package/JModalTip-b055ab60.mjs +0 -49
  123. package/LeftRole-2ed8a2bf.mjs +0 -86
  124. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  125. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  126. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  127. package/OnlCgformTabList-019ad753.mjs +0 -408
  128. package/OnlineAutoList-48589d09.mjs +0 -493
  129. package/OnlineAutoModal-c2928847.mjs +0 -239
  130. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  131. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  132. package/OnlineForm-9f1153ba.mjs +0 -985
  133. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  134. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  135. package/OnlineTabForm-27655c83.mjs +0 -817
  136. package/SetSwitchOptions-b2af757f.mjs +0 -62
  137. package/SuperQuery-a8592995.mjs +0 -967
  138. package/index-1d1a6e56.mjs +0 -57
  139. package/useCgformList-f41d4dc1.mjs +0 -426
  140. package/useExtendComponent-dcae5c78.mjs +0 -4399
  141. package/useListButton-bfac4ecf.mjs +0 -697
  142. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -1,57 +0,0 @@
1
- import p from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
2
- import { defineComponent as m, resolveComponent as l, openBlock as a, createElementBlock as v, createVNode as f, defineAsyncComponent as s } from "vue";
3
- import { useMessage as g } from "/@/hooks/web/useMessage";
4
- import { useRoute as d } from "vue-router";
5
- const w = m({
6
- name: "OnlCgReportList",
7
- components: {
8
- JPopupOnlReport: p
9
- },
10
- setup(e, { emit: r, refs: o }) {
11
- g();
12
- const t = d().path;
13
- return {
14
- id: t.substr(t.lastIndexOf("/") + 1)
15
- };
16
- }
17
- }), b = (e, r) => {
18
- const o = e.__vccOpts || e;
19
- for (const [n, t] of r)
20
- o[n] = t;
21
- return o;
22
- }, h = { class: "p-2" };
23
- function O(e, r, o, n, t, c) {
24
- const u = l("JPopupOnlReport");
25
- return a(), v("div", h, [
26
- f(u, {
27
- id: e.id,
28
- multi: !0,
29
- clickToRowSelect: !1
30
- }, null, 8, ["id"])
31
- ]);
32
- }
33
- const i = /* @__PURE__ */ b(w, [["render", O]]), T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
34
- __proto__: null,
35
- default: i
36
- }, Symbol.toStringTag, { value: "Module" })), F = {
37
- /**
38
- * 注册组件
39
- */
40
- install(e, r) {
41
- e.provide("baseImport", r.baseImport), e.component("OnlCgReportList", i);
42
- const o = s(() => import("./JOnlineSearchSelect-22aae934.mjs"));
43
- e.component("JOnlineSearchSelect", o);
44
- const n = s(() => import("./SuperQuery-a8592995.mjs"));
45
- e.component("SuperQuery", n);
46
- },
47
- getViews() {
48
- return /* @__PURE__ */ Object.assign({ "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList-365b3e8f.mjs"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect-22aae934.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm-9f1153ba.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail-022ca117.mjs"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.t), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.x), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.v), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm-eedb9a60.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem-6c557343.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade-05c40fef.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.s), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail-58e896ce.mjs"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm-148632fe.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQuery.vue": () => import("./SuperQuery-a8592995.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQueryValComponent.vue": () => import("./SuperQueryValComponent-7ad86d4b.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList-48589d09.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal-c2928847.mjs"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal-9e17b6ce.mjs"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal-d5895734.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlAdd.vue": () => import("./OnlineFormUrlAdd-9715d70a.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlDetail.vue": () => import("./OnlineFormUrlDetail-8f864b1a.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlEdit.vue": () => import("./OnlineFormUrlEdit-ac985b36.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlSuccess.vue": () => import("./OnlineFormUrlSuccess-3dfc54ab.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpList.vue": () => import("./OnlCgformErpList-58acdfa0.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpSubTable.vue": () => import("./OnlCgformErpSubTable-9b1e1938.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerSubTable.vue": () => import("./OnlCgformInnerSubTable-6c23781f.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerTableList.vue": () => import("./OnlCgformInnerTableList-4b5e14ed.mjs"), "./src/views/super/online/cgform/auto/tab/OnlCgformTabList.vue": () => import("./OnlCgformTabList-019ad753.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabAutoModal.vue": () => import("./OnlineTabAutoModal-47b18ad6.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabDetailModal.vue": () => import("./OnlineTabDetailModal-82de1465.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabForm.vue": () => import("./OnlineTabForm-27655c83.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabFormDetail.vue": () => import("./OnlineTabFormDetail-8d0c40c0.mjs"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList-3baa1d00.mjs"), "./src/views/super/online/cgform/components/AiModal.vue": () => import("./AiModal-6de335e3.mjs"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal-21c5c387.mjs").then((e) => e.h), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal-24601898.mjs"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal-2fe911f4.mjs"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal-f09fe903.mjs"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal-5dcb67c3.mjs"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal-a89ae052.mjs"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal-1643c8b9.mjs"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer-76f15e8d.mjs"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal-f5d2e87f.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig-89763932.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig-5c3a8e6b.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig-9f6fa06c.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree-2d87d0b3.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree-dd7a1240.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree-e326fc38.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart-d5615ed9.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole-2ed8a2bf.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser-22baa378.mjs"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList-f07bc695.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal-45c66cd5.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory-fab3102e.mjs").then((e) => e.a), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal-175357a1.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal-7ea1b300.mjs"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable-1bc8322d.mjs"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable-285d40db.mjs"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable-7f7e28a7.mjs"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable-cdcc2b48.mjs"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable-25e3b7da.mjs"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable-f7bfca7f.mjs"), "./src/views/super/online/cgform/extend/FieldExtendJsonModal.vue": () => import("./FieldExtendJsonModal-32135634.mjs"), "./src/views/super/online/cgform/extend/SetSwitchOptions.vue": () => import("./SetSwitchOptions-b2af757f.mjs"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm-deecbf3d.mjs"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip-b055ab60.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.y), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal-9242d750.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal-24adc50c.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece-f3a8e0d7.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.w), "./src/views/super/online/cgform/index.vue": () => import("./index-30e0e923.mjs"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(() => T), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal-edefa8e3.mjs").then((e) => e.a), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo-711418db.mjs"), "./src/views/super/online/cgreport/index.vue": () => import("./index-f30613d1.mjs") });
49
- }
50
- }, x = s(() => import("./OnlineSelectCascade-05c40fef.mjs")), k = s(() => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.y)), _ = s(() => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.w));
51
- export {
52
- k as L,
53
- x as O,
54
- b as _,
55
- _ as a,
56
- F as i
57
- };
@@ -1,426 +0,0 @@
1
- var ke = Object.defineProperty, Le = Object.defineProperties;
2
- var ve = Object.getOwnPropertyDescriptors;
3
- var D = Object.getOwnPropertySymbols;
4
- var xe = Object.prototype.hasOwnProperty, _e = Object.prototype.propertyIsEnumerable;
5
- var U = (t, o, a) => o in t ? ke(t, o, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[o] = a, w = (t, o) => {
6
- for (var a in o || (o = {}))
7
- xe.call(o, a) && U(t, a, o[a]);
8
- if (D)
9
- for (var a of D(o))
10
- _e.call(o, a) && U(t, a, o[a]);
11
- return t;
12
- }, M = (t, o) => Le(t, ve(o));
13
- var g = (t, o, a) => new Promise((d, f) => {
14
- var m = (l) => {
15
- try {
16
- u(a.next(l));
17
- } catch (s) {
18
- f(s);
19
- }
20
- }, i = (l) => {
21
- try {
22
- u(a.throw(l));
23
- } catch (s) {
24
- f(s);
25
- }
26
- }, u = (l) => l.done ? d(l.value) : Promise.resolve(l.value).then(m, i);
27
- u((a = a.apply(t, o)).next());
28
- });
29
- import { unref as De, isRef as Ue, watch as Oe, createVNode as O, ref as k, h as y } from "vue";
30
- import { useRouter as Be } from "vue-router";
31
- import { Modal as B, RadioGroup as Ne, Radio as N, Input as $e } from "ant-design-vue";
32
- import { ExclamationCircleOutlined as $ } from "@ant-design/icons-vue";
33
- import { useModal as p } from "/@/components/Modal";
34
- import { useDrawer as Pe } from "/@/components/Drawer";
35
- import { useListPage as Re } from "/@/hooks/system/useListPage";
36
- import { l as Ee, d as Ae, a as Ie, b as Ye, c as qe, e as Je, f as Ge, g as je } from "./CgformModal-21c5c387.mjs";
37
- import P from "clipboard";
38
- import { useMessage as Ve } from "/@/hooks/web/useMessage";
39
- import { buildUUID as Fe } from "/@/utils/uuid";
40
- import { isArray as Qe } from "/@/utils/is";
41
- import { u as Ke } from "./cgformState-d9f8ec42.mjs";
42
- var E = /* @__PURE__ */ ((t) => (t[t.normal = 0] = "normal", t[t.copy = 1] = "copy", t))(E || {});
43
- const L = "copy-this-text", R = "data-clipboard-text";
44
- function Xe() {
45
- return { createCopyModal: He };
46
- }
47
- const { createMessage: C, createConfirm: ze } = Ve();
48
- function He(t) {
49
- var f, m, i, u, l;
50
- const o = De(t.copyText), a = `INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external)
51
- VALUES ('${Fe()}', NULL, '${t.copyTitle}', '${o}', '1', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)`;
52
- let d = ze(M(w({}, t), {
53
- iconType: (f = t.iconType) != null ? f : "info",
54
- width: (m = t.width) != null ? m : 500,
55
- title: (i = t.title) != null ? i : "复制",
56
- closable: !0,
57
- maskClosable: (u = t.maskClosable) != null ? u : !0,
58
- cancelText: "复制SQL",
59
- okText: (l = t.okText) != null ? l : "复制URL",
60
- cancelButtonProps: {
61
- class: "copy-this-sql",
62
- "data-clipboard-text": a
63
- },
64
- okButtonProps: M(w({}, t.okButtonProps), {
65
- class: L,
66
- [R]: o
67
- }),
68
- onOk() {
69
- return new Promise((s) => {
70
- const r = new P("." + L);
71
- r.on("success", () => {
72
- r.destroy(), C.success("复制URL成功"), s();
73
- }), r.on("error", () => {
74
- C.error("该浏览器不支持自动复制"), r.destroy(), s();
75
- });
76
- });
77
- },
78
- onCancel() {
79
- return new Promise((s) => {
80
- const r = new P(".copy-this-sql");
81
- r.on("success", () => {
82
- r.destroy(), C.success("复制插入菜单SQL成功"), s();
83
- }), r.on("error", () => {
84
- C.error("该浏览器不支持自动复制"), r.destroy(), s();
85
- });
86
- });
87
- }
88
- }));
89
- return Ue(t.copyText) && Oe(t.copyText, (s) => {
90
- d.update({
91
- okButtonProps: M(w({}, t.okButtonProps), {
92
- class: L,
93
- [R]: s
94
- })
95
- });
96
- }), d;
97
- }
98
- function ft(t) {
99
- const o = t.pageType === E.normal, a = Be(), d = Ke(), f = Re({
100
- designScope: t.designScope,
101
- tableProps: {
102
- api: Ee,
103
- columns: t.columns,
104
- formConfig: {
105
- //labelWidth: 200,
106
- schemas: t.formSchemas
107
- },
108
- beforeFetch: (e) => {
109
- let n = o ? 0 : 1, c = o ? void 0 : a.currentRoute.value.params.code;
110
- return Qe(e.tableType_MultiString) && (e.tableType_MultiString = e.tableType_MultiString.join(",")), Object.assign(e, { copyType: n, physicId: c });
111
- }
112
- }
113
- }), { tableContext: m, createMessage: i, createConfirm: u } = f, [, { reload: l, setLoading: s }, { selectedRowKeys: r, selectedRows: b }] = m, [A, v] = p(), [I, Y] = p(), [q, J] = p(), [G, j] = p(), [V, F] = p(), [Q, K] = p(), [X, z] = p(), [H, W] = p(), [Z, ee] = Pe(), [te, ne] = p();
114
- function oe() {
115
- v.openModal(!0, { isUpdate: !1 });
116
- }
117
- function ae() {
118
- J.openModal(!0);
119
- }
120
- function le() {
121
- l();
122
- }
123
- let h = null;
124
- function ie(e) {
125
- h = e, v.openModal(!0, { isUpdate: !0, record: e });
126
- }
127
- function se() {
128
- h != null && h.id && (d.addChangedTable(h.id), h = null), l();
129
- }
130
- function re(e) {
131
- return g(this, null, function* () {
132
- yield Ie(e), l();
133
- });
134
- }
135
- function ce(e) {
136
- return g(this, null, function* () {
137
- yield Ye(e), l();
138
- });
139
- }
140
- function ue() {
141
- let e = r.value;
142
- if (e.length <= 0) {
143
- i.warning("请先选择一条记录!");
144
- return;
145
- }
146
- u({
147
- title: "删除",
148
- content: "<p>移除只会删除表单配置;<br>删除则会删除对应的数据库表以及子表且不能恢复。<br>请确认您的操作…</p>",
149
- iconType: "warning",
150
- closable: !0,
151
- okText: "移除",
152
- cancelText: "删除",
153
- cancelButtonProps: { danger: !0 },
154
- onOk: () => g(this, null, function* () {
155
- return x(qe, e, !0);
156
- }),
157
- onCancel(n) {
158
- if (n.name)
159
- return n != null && n.triggerCancel ? Promise.resolve() : x(Je, e, !0);
160
- }
161
- });
162
- }
163
- function x(e, n, c = !1) {
164
- return g(this, null, function* () {
165
- try {
166
- s(!0);
167
- const S = yield e(n);
168
- return l(), c && (r.value = []), S;
169
- } finally {
170
- s(!1);
171
- }
172
- return Promise.reject();
173
- });
174
- }
175
- function pe() {
176
- T(([e]) => F.openModal(!0, { row: e }));
177
- }
178
- function fe() {
179
- T(([e]) => K.openModal(!0, { row: e }));
180
- }
181
- function de() {
182
- T(([e]) => z.openModal(!0, { row: e }));
183
- }
184
- function me() {
185
- T(([e]) => W.openModal(!0, { row: e }));
186
- }
187
- function be() {
188
- Y.openModal(!0, {});
189
- }
190
- function T(e, n = 1, c = 1) {
191
- b.value.length < n ? i.warning(`请先至少选中 ${n} 条记录`) : b.value.length > c ? i.warning(`最多只能选中 ${n} 条记录`) : e(b.value);
192
- }
193
- function he() {
194
- if (b.value.length === 0)
195
- i.warning("请先选中一条记录");
196
- else if (b.value.length > 1)
197
- i.warning("代码生成只能选中一条记录");
198
- else {
199
- let e = b.value[0];
200
- e ? e.isDbSynch != "Y" ? i.warning("请先同步数据库!") : e.tableType == 3 ? i.warning("请选中该表对应的主表") : j.openModal(!0, { code: e.id }) : i.warning("请选中当前页的数据!");
201
- }
202
- }
203
- function ge(e) {
204
- if (e.isTree == "Y")
205
- a.push({ path: "/online/cgformTreeList/" + e.id });
206
- else
207
- switch (e.themeTemplate) {
208
- case "erp":
209
- a.push({ path: "/online/cgformErpList/" + e.id });
210
- break;
211
- case "tab":
212
- a.push({ path: "/online/cgformTabList/" + e.id });
213
- break;
214
- case "innerTable":
215
- a.push({ path: "/online/cgformInnerTableList/" + e.id });
216
- break;
217
- default:
218
- a.push({ path: "/online/cgformList/" + e.id });
219
- break;
220
- }
221
- }
222
- function ye(e) {
223
- const n = k("normal"), c = k(!1), S = u({
224
- iconType: "info",
225
- title: "同步数据库",
226
- content: () => y(
227
- "div",
228
- {
229
- style: "margin: 20px 0;"
230
- },
231
- y(
232
- Ne,
233
- {
234
- value: n.value,
235
- disabled: c.value,
236
- "onUpdate:value": (_) => n.value = _
237
- },
238
- () => [y(N, { value: "normal" }, () => "普通同步(保留表数据)"), y(N, { value: "force" }, () => "强制同步(删除表,重新生成)")]
239
- )
240
- ),
241
- maskClosable: !0,
242
- okText: "开始同步",
243
- onOk() {
244
- return g(this, null, function* () {
245
- c.value = !0, S.update({
246
- maskClosable: !1,
247
- keyboard: !1,
248
- okText: "同步中…",
249
- okButtonProps: { loading: c.value },
250
- cancelButtonProps: { disabled: c.value }
251
- });
252
- try {
253
- yield Ge(e.id, n.value);
254
- } catch (_) {
255
- } finally {
256
- l();
257
- }
258
- });
259
- }
260
- });
261
- }
262
- const { createCopyModal: Te } = Xe();
263
- function we(e) {
264
- let n;
265
- e.themeTemplate === "erp" ? n = `/online/cgformErpList/${e.id}` : e.themeTemplate === "innerTable" ? n = `/online/cgformInnerTableList/${e.id}` : e.themeTemplate === "tab" ? n = `/online/cgformTabList/${e.id}` : e.isTree == "Y" ? n = `/online/cgformTreeList/${e.id}` : n = `/online/cgformList/${e.id}`, Te({
266
- title: `菜单链接【${e.tableTxt}】`,
267
- content: n,
268
- copyText: n,
269
- copyTitle: `${e.tableTxt}`
270
- });
271
- }
272
- function Me(e) {
273
- const n = k(e.tableName + "_copy");
274
- u({
275
- title: "复制表",
276
- content: () => y(
277
- "div",
278
- {
279
- style: "margin: 20px 0;"
280
- },
281
- [
282
- "请输入新表名:",
283
- y($e, {
284
- value: n.value,
285
- "onUpdate:value": (c) => n.value = c
286
- })
287
- ]
288
- ),
289
- iconType: "info",
290
- closable: !0,
291
- okText: "复制",
292
- onOk() {
293
- n.value ? n.value === e.tableName ? i.warning("新表名和旧表名不能一致") : je(e.id, n.value).then(l) : i.warning("请输入新表名");
294
- }
295
- });
296
- }
297
- function Ce(e) {
298
- return [
299
- {
300
- label: "编辑",
301
- onClick: () => ie(e)
302
- }
303
- ];
304
- }
305
- function Se(e) {
306
- return [
307
- {
308
- label: "同步数据库",
309
- onClick: () => ye(e),
310
- ifShow: () => o && e.isDbSynch != "Y"
311
- },
312
- {
313
- // TODO 功能测试
314
- label: "功能测试",
315
- class: ["low-app-hide"],
316
- onClick: () => ge(e),
317
- ifShow: () => o ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
318
- },
319
- {
320
- label: "配置地址",
321
- class: ["low-app-hide"],
322
- onClick: () => we(e),
323
- ifShow: () => o ? e.isDbSynch == "Y" && e.tableType !== 3 : !0
324
- },
325
- {
326
- label: "权限控制",
327
- onClick: () => ee.openDrawer(!0, { cgformId: e.id, tableType: e.tableType })
328
- },
329
- {
330
- label: "角色授权",
331
- onClick: () => ne.openModal(!0, { cgformId: e.id })
332
- },
333
- {
334
- label: "视图管理",
335
- class: ["low-app-hide"],
336
- onClick: () => a.push(`/online/copyform/${e.id}`),
337
- ifShow: () => o && e.hascopy == 1
338
- },
339
- {
340
- label: "生成视图",
341
- class: ["low-app-hide"],
342
- popConfirm: {
343
- title: "确定生成视图吗?",
344
- placement: "left",
345
- confirm: () => {
346
- s(!0), Ae(e.id).then(() => {
347
- i.success("已成功生成视图");
348
- }).finally(() => {
349
- s(!1), l();
350
- });
351
- }
352
- },
353
- ifShow: () => o
354
- },
355
- {
356
- label: "复制表",
357
- onClick: () => Me(e),
358
- ifShow: () => o
359
- },
360
- // update-begin--author:liaozhiyang---date:20240313---for:【QQYUN-8485】online删除提示优化
361
- {
362
- label: "移除",
363
- onClick: () => {
364
- B.confirm({
365
- title: "确认移除该表吗?",
366
- icon: O($),
367
- content: "只删除online配置表,数据库物理表保留",
368
- onOk() {
369
- return ce(e.id);
370
- },
371
- okText: "移除",
372
- cancelText: "取消"
373
- });
374
- }
375
- },
376
- {
377
- label: "删除",
378
- onClick: () => {
379
- B.confirm({
380
- title: "确认彻底删除该表吗?",
381
- icon: O($),
382
- content: "删除online配置表的同时会删除数据库物理表",
383
- onOk() {
384
- return re(e.id);
385
- },
386
- okText: "删除",
387
- cancelText: "取消"
388
- });
389
- },
390
- ifShow: () => o
391
- }
392
- // update-end--author:liaozhiyang---date:20240313---for:【QQYUN-8485】online删除提示优化
393
- ];
394
- }
395
- return {
396
- router: a,
397
- pageContext: f,
398
- onAdd: oe,
399
- onAiCreateTable: ae,
400
- onSuccess: se,
401
- onDeleteBatch: ue,
402
- onImportDbTable: be,
403
- onGenerateCode: he,
404
- onShowCustomButton: pe,
405
- onShowEnhanceJs: fe,
406
- onShowEnhanceSql: de,
407
- onShowEnhanceJava: me,
408
- onCreateAiTable: le,
409
- getTableAction: Ce,
410
- getDropDownAction: Se,
411
- registerCustomButtonModal: V,
412
- registerEnhanceJsModal: Q,
413
- registerEnhanceSqlModal: X,
414
- registerEnhanceJavaModal: H,
415
- registerAuthManagerDrawer: Z,
416
- registerAuthSetterModal: te,
417
- registerCgformModal: A,
418
- registerDbToOnlineModal: I,
419
- registerCodeGeneratorModal: G,
420
- registerAiToOnlineModal: q
421
- };
422
- }
423
- export {
424
- E as C,
425
- ft as u
426
- };