@jeecg/online 3.8.2-beta → 3.9.0-beta2

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 (112) hide show
  1. package/{AccountLoginForm-79fa7b01.mjs → AccountLoginForm-634a76b1.mjs} +1 -1
  2. package/{AiModal-942b59ec.mjs → AiModal-204a2146.mjs} +1 -1
  3. package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-f9a6258a.mjs} +2 -2
  4. package/{AppLogin-41372985.mjs → AppLogin-bf783eab.mjs} +9 -9
  5. package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-55594326.mjs} +1 -1
  6. package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-54026ea8.mjs} +2 -2
  7. package/{AppRegister-433c54db.mjs → AppRegister-043efc45.mjs} +3 -3
  8. package/{AppTenant-e49dfa9b.mjs → AppTenant-c7bb8700.mjs} +2 -2
  9. package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-5e7e1144.mjs} +1 -1
  10. package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-4887be0d.mjs} +1 -1
  11. package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-7e47b44b.mjs} +1 -1
  12. package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-3cd10ca2.mjs} +1 -1
  13. package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-714c259c.mjs} +1 -1
  14. package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-bb65f78b.mjs} +1 -1
  15. package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-3e38b12b.mjs} +1 -1
  16. package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-dee39b07.mjs} +4 -4
  17. package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-f176c221.mjs} +7 -7
  18. package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-a3903b24.mjs} +1 -1
  19. package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-4be1000f.mjs} +37 -37
  20. package/{CgformModal-cebc698b.mjs → CgformModal-115710a6.mjs} +10 -10
  21. package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-3bef8abe.mjs} +1 -1
  22. package/{CgreportModal-2e4421e6.mjs → CgreportModal-0cc48587.mjs} +143 -139
  23. package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-65157c48.mjs} +1 -1
  24. package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-305c1a62.mjs} +2 -2
  25. package/CodeFileViewModal-320d7acf.mjs +269 -0
  26. package/CodeGeneratorModal-2ba18bd1.mjs +298 -0
  27. package/{CustomButtonList-26490688.mjs → CustomButtonList-98db8fd2.mjs} +1 -1
  28. package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-56701599.mjs} +40 -39
  29. package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-a82cdeb5.mjs} +1 -1
  30. package/{DetailForm-b92a5e9d.mjs → DetailForm-7d4f630e.mjs} +163 -152
  31. package/{DropMenuItem-82213be6.mjs → DropMenuItem-b3a9cd6a.mjs} +1 -1
  32. package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-469e645e.mjs} +1 -1
  33. package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-bb6ba865.mjs} +1 -1
  34. package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-b0527cbf.mjs} +2 -2
  35. package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-c6e8bce1.mjs} +1 -1
  36. package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-7b00b49a.mjs} +1 -1
  37. package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-536e6d5b.mjs} +2 -2
  38. package/{FileSelectModal-49d6dade.mjs → FileSelectModal-eb026170.mjs} +1 -1
  39. package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-97a5827f.mjs} +1 -1
  40. package/{IndexTable-c0478faa.mjs → IndexTable-4d350e4e.mjs} +1 -1
  41. package/{JModalTip-b1d19eaa.mjs → JModalTip-c3e6726c.mjs} +1 -1
  42. package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-ffeac61d.mjs} +1 -1
  43. package/{LeftDepart-4b1003f0.mjs → LeftDepart-a727aab7.mjs} +1 -1
  44. package/{LeftRole-8486ba4f.mjs → LeftRole-b533dcf6.mjs} +1 -1
  45. package/{LeftUser-09894a2f.mjs → LeftUser-aaac52cb.mjs} +1 -1
  46. package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-4053b62d.mjs} +1 -1
  47. package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-93552099.mjs} +1 -1
  48. package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-0f4ca559.mjs} +1 -1
  49. package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-b8478356.mjs} +1 -1
  50. package/OnlCgformErpList-b0605798.mjs +527 -0
  51. package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-89699bc9.mjs} +42 -41
  52. package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f2722f77.mjs} +105 -102
  53. package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-992aa7e9.mjs} +20 -19
  54. package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-882a0e0c.mjs} +20 -19
  55. package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-caedb54a.mjs} +19 -18
  56. package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-a0d1a6b8.mjs} +7 -7
  57. package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-624106c1.mjs} +19 -18
  58. package/OnlineCustomModal-f4e17bed.mjs +246 -0
  59. package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-35394778.mjs} +44 -43
  60. package/OnlineForm-86b5966d.mjs +1079 -0
  61. package/OnlineFormDetail-4b3ad130.mjs +349 -0
  62. package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-708c91fb.mjs} +9 -9
  63. package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-5c8efaeb.mjs} +14 -13
  64. package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-8f08474e.mjs} +9 -9
  65. package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-0c2431a4.mjs} +1 -1
  66. package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-3017a4ca.mjs} +119 -120
  67. package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-1b54585f.mjs} +2 -2
  68. package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-fab4426d.mjs} +61 -55
  69. package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-bbc48c3e.mjs} +48 -45
  70. package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-b0f9fce8.mjs} +6 -6
  71. package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-401a26ad.mjs} +38 -37
  72. package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-5c04cbc5.mjs} +22 -22
  73. package/OnlineTabFormDetail-2a28febf.mjs +328 -0
  74. package/{PageAttributeTable-21314341.mjs → PageAttributeTable-18aabf81.mjs} +5 -5
  75. package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-4a9d7869.mjs} +18 -18
  76. package/ProcessOnlineForm-0ddce4fb.mjs +218 -0
  77. package/{QueryTable-413d1366.mjs → QueryTable-342fd89a.mjs} +1 -1
  78. package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-e1d5a6b4.mjs} +1 -1
  79. package/{ShareAddView-a2dba2ef.mjs → ShareAddView-a5154da3.mjs} +22 -21
  80. package/{ShareEditView-ecd590dc.mjs → ShareEditView-cf761cf3.mjs} +22 -21
  81. package/{ShareView-84f333e7.mjs → ShareView-3b2f5457.mjs} +20 -19
  82. package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-9ea579c2.mjs} +2 -2
  83. package/{SingleView-d4f29169.mjs → SingleView-3cab20a9.mjs} +15 -14
  84. package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-24d417dc.mjs} +4 -4
  85. package/{SuperQuery-290f5080.mjs → SuperQuery-270b0968.mjs} +39 -39
  86. package/TaskOpinionList-60cf4080.mjs +13 -0
  87. package/{aiModal-6e338c79.mjs → aiModal-e7362c3f.mjs} +2 -2
  88. package/{index-bc0d747e.mjs → index-6d1a78e2.mjs} +2 -2
  89. package/index-740b2c4a.mjs +57 -0
  90. package/{index-7bab525f.mjs → index-8fd12d0f.mjs} +3 -3
  91. package/{index-7890e2b4.mjs → index-b5fe9bd4.mjs} +1 -1
  92. package/{index-9bebbfe5.mjs → index-b811abb9.mjs} +2 -2
  93. package/{index-c5737cbb.mjs → index-d95bb7c2.mjs} +4 -4
  94. package/{index-254a82b7.mjs → index-e2c3e6f3.mjs} +129 -123
  95. package/main.index.js +1 -1
  96. package/package.json +1 -1
  97. package/style.css +1 -1
  98. package/useCgformList-6d5547ff.mjs +410 -0
  99. package/{useExtendComponent-d1db211d.mjs → useExtendComponent-95ce0719.mjs} +405 -405
  100. package/{useListButton-7f9674a0.mjs → useListButton-73071548.mjs} +21 -21
  101. package/CodeFileViewModal-12299ab5.mjs +0 -253
  102. package/CodeGeneratorModal-791b1695.mjs +0 -281
  103. package/OnlCgformErpList-63089149.mjs +0 -498
  104. package/OnlineCustomModal-7e31297e.mjs +0 -232
  105. package/OnlineForm-0438f4bf.mjs +0 -1012
  106. package/OnlineFormDetail-76d243ed.mjs +0 -348
  107. package/OnlineTabFormDetail-b8650175.mjs +0 -327
  108. package/ProcessOnlineForm-d6113dec.mjs +0 -188
  109. package/README.md +0 -26
  110. package/index-30c0a14f.mjs +0 -57
  111. package/useCgformList-52631580.mjs +0 -395
  112. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
@@ -28,12 +28,12 @@ var R = (t, a, n) => new Promise((f, i) => {
28
28
  });
29
29
  import { defineComponent as C, ref as m, reactive as j, toRaw as D, toRefs as K, resolveComponent as w, openBlock as $, createBlock as A, mergeProps as J, withCtx as y, createVNode as O } from "vue";
30
30
  import { BasicModal as U, useModalInner as Y } from "/@/components/Modal";
31
- import q from "./SetSwitchOptions-82fd6265.mjs";
31
+ import q from "./SetSwitchOptions-e1d5a6b4.mjs";
32
32
  import { BasicForm as H, useForm as W } from "/@/components/Form/index";
33
33
  import { pick as z } from "lodash-es";
34
34
  import { L as x } from "./constant-fa63bd66.mjs";
35
35
  import { isArray as Q } from "/@/utils/is";
36
- import { _ as X } from "./index-30c0a14f.mjs";
36
+ import { _ as X } from "./index-740b2c4a.mjs";
37
37
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
38
38
  import "/@/hooks/web/useMessage";
39
39
  import "vue-router";
@@ -17,7 +17,7 @@ var u = (e, i, o) => new Promise((n, a) => {
17
17
  import { defineComponent as R, ref as f, resolveComponent as p, openBlock as v, createBlock as h, withCtx as m, createVNode as g, createElementVNode as k, createTextVNode as D, createCommentVNode as w } from "vue";
18
18
  import { defHttp as y } from "/@/utils/http/axios";
19
19
  import { BasicModal as B, useModalInner as b } from "/@/components/Modal";
20
- import { _ as F } from "./index-30c0a14f.mjs";
20
+ import { _ as F } from "./index-740b2c4a.mjs";
21
21
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
22
22
  import "/@/hooks/web/useMessage";
23
23
  import "vue-router";
@@ -13,7 +13,7 @@ var i = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writab
13
13
  import { defineComponent as b, ref as f, resolveComponent as y, openBlock as h, createBlock as g, mergeProps as T } from "vue";
14
14
  import { JVxeTypes as l } from "/@/components/jeecg/JVxeTable/types";
15
15
  import { u as k } from "./useTableSync-dbfba20e.mjs";
16
- import { _ as w } from "./index-30c0a14f.mjs";
16
+ import { _ as w } from "./index-740b2c4a.mjs";
17
17
  import "./cgform.data-0ca62d09.mjs";
18
18
  import "/@/utils/dict";
19
19
  import "/@/utils/dict/JDictSelectUtil";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, ref as b, resolveComponent as g, openBlock as h, createBlock as y, mergeProps as $ } from "vue";
2
2
  import { JVxeTypes as o } from "/@/components/jeecg/JVxeTable/types";
3
3
  import { u as T } from "./useTableSync-dbfba20e.mjs";
4
- import { _ as v } from "./index-30c0a14f.mjs";
4
+ import { _ as v } from "./index-740b2c4a.mjs";
5
5
  import "./cgform.data-0ca62d09.mjs";
6
6
  import "/@/utils/dict";
7
7
  import "/@/utils/dict/JDictSelectUtil";
@@ -1,6 +1,6 @@
1
1
  import { computed as a, openBlock as l, createElementBlock as r, normalizeClass as c, createElementVNode as t, createCommentVNode as p } from "vue";
2
2
  import { useAppInject as d } from "/@/hooks/web/useAppInject";
3
- import { _ as m } from "./index-30c0a14f.mjs";
3
+ import { _ as m } from "./index-740b2c4a.mjs";
4
4
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
5
5
  import "/@/hooks/web/useMessage";
6
6
  import "vue-router";
@@ -18,7 +18,7 @@ import { useDebounceFn as O } from "@vueuse/core";
18
18
  import { defHttp as P } from "/@/utils/http/axios";
19
19
  import { useMessage as k } from "/@/hooks/web/useMessage";
20
20
  import { ref as m, watch as S, resolveComponent as _, openBlock as g, createBlock as y, withCtx as w, createElementBlock as B, Fragment as D, renderList as H, createTextVNode as I, toDisplayString as q } from "vue";
21
- import { _ as L } from "./index-30c0a14f.mjs";
21
+ import { _ as L } from "./index-740b2c4a.mjs";
22
22
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
23
  import "vue-router";
24
24
  const { createMessage: N } = k(), T = {
@@ -16,7 +16,7 @@ var f = (n, r, o) => new Promise((s, c) => {
16
16
  });
17
17
  import { defineComponent as h, ref as u, resolveComponent as m, openBlock as y, createElementBlock as K, createBlock as _, withCtx as D, createVNode as v, normalizeStyle as S, createCommentVNode as k } from "vue";
18
18
  import { queryTreeList as x } from "/@/api/common/api";
19
- import { _ as C } from "./index-30c0a14f.mjs";
19
+ import { _ as C } from "./index-740b2c4a.mjs";
20
20
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
21
21
  import "/@/hooks/web/useMessage";
22
22
  import "vue-router";
@@ -18,7 +18,7 @@ import { defineComponent as g, resolveComponent as w, openBlock as b, createBloc
18
18
  import { defHttp as C } from "/@/utils/http/axios";
19
19
  import { BasicTable as R } from "/@/components/Table";
20
20
  import { useListPage as h } from "/@/hooks/system/useListPage";
21
- import { _ as x } from "./index-30c0a14f.mjs";
21
+ import { _ as x } from "./index-740b2c4a.mjs";
22
22
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
23
  import "/@/hooks/web/useMessage";
24
24
  import "vue-router";
@@ -18,7 +18,7 @@ import { defineComponent as g, resolveComponent as w, openBlock as b, createBloc
18
18
  import { defHttp as _ } from "/@/utils/http/axios";
19
19
  import { BasicTable as C } from "/@/components/Table";
20
20
  import { useListPage as x } from "/@/hooks/system/useListPage";
21
- import { _ as B } from "./index-30c0a14f.mjs";
21
+ import { _ as B } from "./index-740b2c4a.mjs";
22
22
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
23
  import "/@/hooks/web/useMessage";
24
24
  import "vue-router";
@@ -31,7 +31,7 @@ import { BasicForm as z, useForm as D } from "/@/components/Form/index";
31
31
  import { defHttp as E } from "/@/utils/http/axios";
32
32
  import { omit as Q } from "lodash-es";
33
33
  import { useMessage as U } from "/@/hooks/web/useMessage";
34
- import { _ as W } from "./index-30c0a14f.mjs";
34
+ import { _ as W } from "./index-740b2c4a.mjs";
35
35
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
36
36
  import "vue-router";
37
37
  const X = {
@@ -31,7 +31,7 @@ import { BasicForm as $, useForm as j } from "/@/components/Form/index";
31
31
  import { defHttp as G } from "/@/utils/http/axios";
32
32
  import { omit as z } from "lodash-es";
33
33
  import { useMessage as D } from "/@/hooks/web/useMessage";
34
- import { _ as E } from "./index-30c0a14f.mjs";
34
+ import { _ as E } from "./index-740b2c4a.mjs";
35
35
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
36
36
  import "vue-router";
37
37
  const Q = {
@@ -1,6 +1,6 @@
1
1
  import { propTypes as o } from "/@/utils/propTypes";
2
2
  import { openBlock as a, createElementBlock as s, createElementVNode as l, toDisplayString as p } from "vue";
3
- import { _ as c } from "./index-30c0a14f.mjs";
3
+ import { _ as c } from "./index-740b2c4a.mjs";
4
4
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
5
5
  import "/@/hooks/web/useMessage";
6
6
  import "vue-router";
@@ -2,7 +2,7 @@ import { defineComponent as i, resolveComponent as p, openBlock as a, createElem
2
2
  import { BasicForm as d, useForm as u } from "/@/components/Form/index";
3
3
  import { defHttp as f } from "/@/utils/http/axios";
4
4
  import { pick as _ } from "lodash-es";
5
- import { _ as g } from "./index-30c0a14f.mjs";
5
+ import { _ as g } from "./index-740b2c4a.mjs";
6
6
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
7
7
  import "/@/hooks/web/useMessage";
8
8
  import "vue-router";
@@ -0,0 +1,527 @@
1
+ var it = Object.defineProperty;
2
+ var Z = Object.getOwnPropertySymbols;
3
+ var at = Object.prototype.hasOwnProperty, st = Object.prototype.propertyIsEnumerable;
4
+ var ee = (f, a, l) => a in f ? it(f, a, { enumerable: !0, configurable: !0, writable: !0, value: l }) : f[a] = l, z = (f, a) => {
5
+ for (var l in a || (a = {}))
6
+ at.call(a, l) && ee(f, l, a[l]);
7
+ if (Z)
8
+ for (var l of Z(a))
9
+ st.call(a, l) && ee(f, l, a[l]);
10
+ return f;
11
+ };
12
+ var P = (f, a, l) => new Promise((B, I) => {
13
+ var A = (y) => {
14
+ try {
15
+ C(l.next(y));
16
+ } catch (L) {
17
+ I(L);
18
+ }
19
+ }, O = (y) => {
20
+ try {
21
+ C(l.throw(y));
22
+ } catch (L) {
23
+ I(L);
24
+ }
25
+ }, C = (y) => y.done ? B(y.value) : Promise.resolve(y.value).then(A, O);
26
+ C((l = l.apply(f, a)).next());
27
+ });
28
+ import { ref as v, computed as ct, watch as $, watchEffect as ut, resolveComponent as M, openBlock as r, createElementBlock as h, createElementVNode as S, unref as e, createBlock as p, createCommentVNode as b, withDirectives as te, createVNode as g, vShow as oe, normalizeClass as pt, withCtx as i, toDisplayString as k, Fragment as J, renderList as ne, createTextVNode as j, mergeProps as dt, toHandlers as mt, resolveDynamicComponent as gt, normalizeProps as ft, guardReactiveProps as yt } from "vue";
29
+ import { BasicTable as bt, TableAction as _t } from "/@/components/Table";
30
+ import { useMessage as ht } from "/@/hooks/web/useMessage";
31
+ import Ct from "./OnlineAutoModal-a0d1a6b8.mjs";
32
+ import vt from "./OnlineCustomModal-f4e17bed.mjs";
33
+ import re from "./OnlineDetailModal-35394778.mjs";
34
+ import kt from "/@/components/Form/src/jeecg/components/JImportModal.vue";
35
+ import { u as St, a as wt } from "./useListButton-73071548.mjs";
36
+ import { u as Rt, a as Tt, O as Bt, g as It } from "./useExtendComponent-95ce0719.mjs";
37
+ import Lt from "./OnlineQueryForm-3017a4ca.mjs";
38
+ import Et from "./SuperQuery-270b0968.mjs";
39
+ import { u as Mt } from "./useOnlinePopEvent-687070b7.mjs";
40
+ import Ot from "./OnlCgformErpSubTable-89699bc9.mjs";
41
+ import { E as le } from "./constant-fa63bd66.mjs";
42
+ import { cloneDeep as xt } from "lodash-es";
43
+ import { Loading as Dt } from "/@/components/Loading";
44
+ import { isObject as Pt } from "/@/utils/is";
45
+ import { _ as At } from "./index-740b2c4a.mjs";
46
+ import "/@/components/Modal";
47
+ import "./OnlineForm-86b5966d.mjs";
48
+ import "/@/components/Form/index";
49
+ import "/@/utils/http/axios";
50
+ import "/@/utils";
51
+ import "/@/components/jeecg/JVxeTable/types";
52
+ import "/@/utils/auth";
53
+ import "@ant-design/icons-vue";
54
+ import "/@/hooks/core/useContext";
55
+ import "/@/utils/mitt";
56
+ import "./useCustomHook-3a17a690.mjs";
57
+ import "/@/utils/cache";
58
+ import "/@/utils/common/compUtils";
59
+ import "/@/store/modules/user";
60
+ import "/@/hooks/web/useAppInject";
61
+ import "/@/store/modules/permission";
62
+ import "./OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs";
63
+ import "/@/components/jeecg/comment/CommentPanel.vue";
64
+ import "./OnlineFormDetail-4b3ad130.mjs";
65
+ import "./DetailForm-7d4f630e.mjs";
66
+ import "/@/utils/propTypes";
67
+ import "/@/utils/dict";
68
+ import "/@/utils/dict/JDictSelectUtil";
69
+ import "/@/utils/dict/index";
70
+ import "/@/api/common/api";
71
+ import "/@/components/Form/src/utils/Area";
72
+ import "/@/components/Preview/index";
73
+ import "/@/components/Markdown";
74
+ import "./OnlineSubFormDetail-bbc48c3e.mjs";
75
+ import "/@/utils/uuid";
76
+ import "vue-router";
77
+ import "/@/router";
78
+ import "/@/hooks/core/onMountedOrActivated";
79
+ import "/@/store/modules/multipleTab";
80
+ import "./cgformState-d9f8ec42.mjs";
81
+ import "pinia";
82
+ import "/@/store";
83
+ import "/@/router/menus";
84
+ import "ant-design-vue";
85
+ import "/@/hooks/system/useMethods";
86
+ import "/@/components/Form/src/componentMap";
87
+ import "/@/components/Form/src/jeecg/components/JUpload";
88
+ import "/@/views/system/user/user.api";
89
+ import "/@/utils/desform/customExpression";
90
+ import "/@/hooks/system/useListPage";
91
+ import "./LinkTableListPiece-0f4ca559.mjs";
92
+ import "/@/assets/images/placeholderImage.png";
93
+ import "./OnlineSelectCascade-fab4426d.mjs";
94
+ import "./JModalTip-c3e6726c.mjs";
95
+ import "@vueuse/core";
96
+ import "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
97
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
98
+ import "/@/utils/index";
99
+ import "/@/hooks/web/useDesign";
100
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
101
+ const Ft = { class: "content" }, Ht = {
102
+ key: 0,
103
+ style: { "font-size": "12px", "font-style": "italic" }
104
+ }, qt = {
105
+ key: 0,
106
+ style: { "font-size": "12px", "font-style": "italic" }
107
+ }, Kt = ["src", "onClick"], Nt = ["innerHTML", "onClick"], Qt = ["innerHTML"], zt = ["title"], $t = {
108
+ __name: "OnlCgformErpList",
109
+ setup(f) {
110
+ const a = v([]), l = v(0), B = v(null), I = v({}), { createMessage: A } = ht(), O = v(null), C = v(null), y = v({}), L = (t, n) => {
111
+ y.value[t] = n;
112
+ }, {
113
+ ID: w,
114
+ onlineTableContext: m,
115
+ onlineQueryFormOuter: ie,
116
+ loading: F,
117
+ reload: R,
118
+ dataSource: x,
119
+ pagination: V,
120
+ handleSpecialConfig: ae,
121
+ getColumnList: se,
122
+ handleChangeInTable: ce,
123
+ loadData: ue,
124
+ superQueryButtonRef: H,
125
+ superQueryStatus: pe,
126
+ handleSuperQuery: de,
127
+ onlineExtConfigJson: U,
128
+ handleFormConfig: me,
129
+ registerCustomModal: ge,
130
+ tableReloading: q,
131
+ pageLoading: fe
132
+ } = St({ themeTemplate: le }), ye = ct(() => {
133
+ const t = { y: 300 };
134
+ return Pt(G.value) ? z(z({}, G.value), t) : t;
135
+ });
136
+ if ($(x, (t) => {
137
+ _.value.length > 0 && (_.value = _.value.filter((n) => t.some((u) => u.jeecg_row_key === n))), V.value.current == 1 && _.value.length === 0 && setTimeout(() => {
138
+ var u;
139
+ const n = document.querySelector(".ant-table-wrapper .ant-table-tbody");
140
+ (u = n == null ? void 0 : n.querySelector(".ant-table-row")) == null || u.click();
141
+ }, 100);
142
+ }), !w.value)
143
+ throw A.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
144
+ let { initCgEnhanceJs: be } = Rt(m);
145
+ const {
146
+ buttonSwitch: T,
147
+ cgLinkButtonList: Jt,
148
+ cgBIBtnMap: s,
149
+ getQueryButtonCfg: _e,
150
+ getResetButtonCfg: he,
151
+ getFormConfirmButtonCfg: Ce,
152
+ cgTopButtonList: K,
153
+ importUrl: ve,
154
+ registerModal: ke,
155
+ handleAdd: Se,
156
+ handleEdit: jt,
157
+ handleBatchDelete: we,
158
+ registerImportModal: Re,
159
+ onImportExcel: Te,
160
+ onExportExcel: Be,
161
+ cgButtonJsHandler: Ie,
162
+ cgButtonActionHandler: Le,
163
+ cgButtonLinkHandler: Vt,
164
+ handleSubmitFlow: Ut,
165
+ getDropDownActions: Ee,
166
+ getActions: Me,
167
+ initButtonList: Oe,
168
+ initButtonSwitch: xe,
169
+ registerDetailModal: De,
170
+ registerBpmModal: Gt
171
+ } = wt(m, U, {
172
+ singleDelCallback: (t) => {
173
+ Array.isArray(m.selectedRowKeys) && m.selectedRowKeys.includes(t) && m.clearSelectedRow();
174
+ },
175
+ editClickCallback: (t, n) => {
176
+ Array.isArray(m.selectedRowKeys) && m.selectedRowKeys.includes(t) && n.stopPropagation();
177
+ }
178
+ }), N = v(!1);
179
+ function Pe() {
180
+ return P(this, null, function* () {
181
+ try {
182
+ N.value = !0, yield Be();
183
+ } finally {
184
+ setTimeout(() => N.value = !1, 1500);
185
+ }
186
+ });
187
+ }
188
+ const {
189
+ columns: Ae,
190
+ actionColumn: Fe,
191
+ selectedKeys: _,
192
+ rowSelection: He,
193
+ enableScrollBar: qe,
194
+ tableScroll: G,
195
+ downloadRowFile: Ke,
196
+ getImgView: Ne,
197
+ getPcaText: W,
198
+ getFormatDate: Qe,
199
+ handleColumnResult: ze,
200
+ hrefComponent: D,
201
+ viewOnlineCellImage: $e,
202
+ hrefMainTableId: Je,
203
+ registerOnlineHrefModal: je,
204
+ registerPopModal: Ve,
205
+ openPopModal: Ue,
206
+ onlinePopModalRef: Ge,
207
+ popTableId: X,
208
+ handleClickFieldHref: We
209
+ } = Tt(m, U);
210
+ $(
211
+ _,
212
+ (t) => {
213
+ var n;
214
+ (n = _.value) != null && n.length ? B.value = x.value.find((u) => u.id === _.value[0]) : B.value = null;
215
+ },
216
+ {
217
+ immediate: !0
218
+ }
219
+ ), $(
220
+ w,
221
+ () => {
222
+ Xe();
223
+ },
224
+ { immediate: !0 }
225
+ );
226
+ function Xe() {
227
+ return P(this, null, function* () {
228
+ F.value = !0;
229
+ let t = yield se(le);
230
+ Ye(t.main), a.value = t.subList, yield ue(), F.value = !1, m.execButtonEnhance("setup");
231
+ });
232
+ }
233
+ function Ye(t) {
234
+ let n = be(t.enhanceJs);
235
+ m.EnhanceJS = n, Oe(t.cgButtonList), xe(t.hideColumns), ze(t, "radio"), ae(t), I.value = {
236
+ cacheKey: `online_erp_mainTable_${t.currentTableName}`
237
+ };
238
+ }
239
+ function Ze(t) {
240
+ m.queryParam = t, R({ mode: "search" });
241
+ }
242
+ function et() {
243
+ return P(this, arguments, function* (t = {}) {
244
+ yield It(H);
245
+ const n = xt(t), { properties: u = {} } = n;
246
+ Object.entries(u).forEach(([c, Q]) => {
247
+ Q.view == "table" && delete u[c];
248
+ }), H.value.init(n);
249
+ });
250
+ }
251
+ function tt(t) {
252
+ X.value = t.id;
253
+ let n = {
254
+ title: t.describe
255
+ };
256
+ t.record && t.record.id && (n.record = t.record, n.isUpdate = !0), Ue(!0, n);
257
+ }
258
+ Mt(tt);
259
+ const ot = (t, n) => {
260
+ de(t, n), _.value = [];
261
+ };
262
+ return ut(() => {
263
+ var n, u;
264
+ const t = (u = (n = C == null ? void 0 : C.value) == null ? void 0 : n.getBindValuesRef().value) == null ? void 0 : u.size;
265
+ setTimeout(() => {
266
+ const c = O.value.querySelector(".ant-table-wrapper .ant-table-body");
267
+ c && (c.style.height = "auto", x.value.length > 0 && c.offsetHeight < 300 && (c.style.height = `${c.offsetHeight + 1}px`));
268
+ }, 0);
269
+ }, {
270
+ flush: "post"
271
+ }), (t, n) => {
272
+ var Y;
273
+ const u = M("a-skeleton"), c = M("a-button"), Q = M("a-tab-pane"), nt = M("a-tabs"), rt = M("a-modal");
274
+ return r(), h("div", {
275
+ ref_key: "cgformErpListRef",
276
+ ref: O,
277
+ class: "p-2 cgformErpList"
278
+ }, [
279
+ S("div", Ft, [
280
+ e(q) ? (r(), p(u, {
281
+ key: 0,
282
+ active: ""
283
+ })) : b("", !0),
284
+ te(g(Lt, {
285
+ ref_key: "onlineQueryFormOuter",
286
+ ref: ie,
287
+ id: e(w),
288
+ queryBtnCfg: e(_e),
289
+ resetBtnCfg: e(he),
290
+ onSearch: Ze,
291
+ onLoaded: et
292
+ }, null, 8, ["id", "queryBtnCfg", "resetBtnCfg"]), [
293
+ [oe, !e(q)]
294
+ ]),
295
+ e(q) ? b("", !0) : (r(), p(e(bt), {
296
+ key: 1,
297
+ ref_key: "onlineTable",
298
+ ref: C,
299
+ rowKey: "jeecg_row_key",
300
+ canResize: !0,
301
+ bordered: !0,
302
+ showIndexColumn: !1,
303
+ loading: e(F),
304
+ columns: e(Ae),
305
+ dataSource: e(x),
306
+ pagination: e(V),
307
+ rowSelection: e(He),
308
+ actionColumn: e(Fe),
309
+ showTableSetting: !0,
310
+ clickToRowSelect: !0,
311
+ scroll: ye.value,
312
+ onTableRedo: e(R),
313
+ tableSetting: I.value,
314
+ class: pt({ "j-table-force-nowrap": e(qe) }),
315
+ onChange: e(ce)
316
+ }, {
317
+ tableTitle: i(() => [
318
+ e(T).add && e(s).add.enabled ? (r(), p(c, {
319
+ key: 0,
320
+ type: "primary",
321
+ preIcon: e(s).add.buttonIcon,
322
+ onClick: e(Se)
323
+ }, {
324
+ default: i(() => [
325
+ S("span", null, k(e(s).add.buttonName), 1)
326
+ ]),
327
+ _: 1
328
+ }, 8, ["preIcon", "onClick"])) : b("", !0),
329
+ e(T).import && e(s).import.enabled ? (r(), p(c, {
330
+ key: 1,
331
+ type: "primary",
332
+ preIcon: e(s).import.buttonIcon,
333
+ onClick: e(Te)
334
+ }, {
335
+ default: i(() => [
336
+ S("span", null, k(e(s).import.buttonName), 1)
337
+ ]),
338
+ _: 1
339
+ }, 8, ["preIcon", "onClick"])) : b("", !0),
340
+ e(T).export && e(s).export.enabled ? (r(), p(c, {
341
+ key: 2,
342
+ type: "primary",
343
+ preIcon: e(s).export.buttonIcon,
344
+ loading: N.value,
345
+ onClick: Pe
346
+ }, {
347
+ default: i(() => [
348
+ S("span", null, k(e(s).export.buttonName), 1)
349
+ ]),
350
+ _: 1
351
+ }, 8, ["preIcon", "loading"])) : b("", !0),
352
+ e(K) && e(K).length > 0 ? (r(!0), h(J, { key: 3 }, ne(e(K), (o, d) => (r(), h(J, null, [
353
+ o.optType == "js" ? (r(), p(c, {
354
+ key: "cgbtn" + d,
355
+ onClick: (E) => e(Ie)(o.buttonCode),
356
+ type: "primary",
357
+ preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
358
+ }, {
359
+ default: i(() => [
360
+ j(k(o.buttonName), 1)
361
+ ]),
362
+ _: 2
363
+ }, 1032, ["onClick", "preIcon"])) : o.optType == "action" ? (r(), p(c, {
364
+ key: "cgbtn" + d,
365
+ onClick: (E) => e(Le)(o.buttonCode),
366
+ type: "primary",
367
+ preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
368
+ }, {
369
+ default: i(() => [
370
+ j(k(o.buttonName), 1)
371
+ ]),
372
+ _: 2
373
+ }, 1032, ["onClick", "preIcon"])) : b("", !0)
374
+ ], 64))), 256)) : b("", !0),
375
+ e(T).batch_delete && e(s).batch_delete.enabled ? te((r(), p(c, {
376
+ key: 4,
377
+ preIcon: e(s).batch_delete.buttonIcon,
378
+ onClick: e(we)
379
+ }, {
380
+ default: i(() => [
381
+ S("span", null, k(e(s).batch_delete.buttonName), 1)
382
+ ]),
383
+ _: 1
384
+ }, 8, ["preIcon", "onClick"])), [
385
+ [oe, e(_).length > 0]
386
+ ]) : b("", !0),
387
+ e(T).super_query && e(s).super_query.enabled ? (r(), p(Et, {
388
+ key: 5,
389
+ ref_key: "superQueryButtonRef",
390
+ ref: H,
391
+ online: "",
392
+ status: e(pe),
393
+ queryBtnCfg: e(s).super_query,
394
+ onSearch: ot
395
+ }, null, 8, ["status", "queryBtnCfg"])) : b("", !0)
396
+ ]),
397
+ fileSlot: i(({ text: o, record: d, column: E }) => [
398
+ o ? (r(), p(c, {
399
+ key: 1,
400
+ ghost: !0,
401
+ type: "primary",
402
+ preIcon: "ant-design:download",
403
+ size: "small",
404
+ onClick: (lt) => e(Ke)(o, d, E, e(w))
405
+ }, {
406
+ default: i(() => n[1] || (n[1] = [
407
+ j(" 下载 ")
408
+ ])),
409
+ _: 2
410
+ }, 1032, ["onClick"])) : (r(), h("span", Ht, "无文件"))
411
+ ]),
412
+ imgSlot: i(({ text: o }) => [
413
+ o ? (r(), h("img", {
414
+ key: 1,
415
+ src: e(Ne)(o),
416
+ alt: "图片不存在",
417
+ class: "online-cell-image",
418
+ onClick: (d) => e($e)(o)
419
+ }, null, 8, Kt)) : (r(), h("span", qt, "无图片"))
420
+ ]),
421
+ htmlSlot: i(({ text: o, column: d, record: E }) => [
422
+ d.fieldHref ? (r(), h("a", {
423
+ key: 0,
424
+ innerHTML: o,
425
+ onClick: (lt) => e(We)(d.fieldHref, E)
426
+ }, null, 8, Nt)) : (r(), h("div", {
427
+ key: 1,
428
+ innerHTML: o
429
+ }, null, 8, Qt))
430
+ ]),
431
+ pcaSlot: i(({ text: o }) => [
432
+ S("div", {
433
+ title: e(W)(o)
434
+ }, k(e(W)(o)), 9, zt)
435
+ ]),
436
+ dateSlot: i(({ text: o, column: d }) => [
437
+ S("span", null, k(e(Qe)(o, d)), 1)
438
+ ]),
439
+ action: i(({ record: o }) => [
440
+ g(e(_t), {
441
+ actions: e(Me)(o),
442
+ dropDownActions: e(Ee)(o)
443
+ }, null, 8, ["actions", "dropDownActions"])
444
+ ]),
445
+ _: 1
446
+ }, 8, ["loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "tableSetting", "class", "onChange"])),
447
+ (Y = a.value) != null && Y.length ? (r(), p(nt, {
448
+ key: 2,
449
+ animated: "",
450
+ activeKey: l.value,
451
+ "onUpdate:activeKey": n[0] || (n[0] = (o) => l.value = o),
452
+ style: { margin: "10px" }
453
+ }, {
454
+ default: i(() => [
455
+ (r(!0), h(J, null, ne(a.value, (o, d) => (r(), p(Q, {
456
+ tab: o.description,
457
+ key: d,
458
+ forceRender: ""
459
+ }, {
460
+ default: i(() => [
461
+ g(Ot, {
462
+ data: o,
463
+ mainTableSelectedRowRcord: B.value,
464
+ onGetSource: L
465
+ }, null, 8, ["data", "mainTableSelectedRowRcord"])
466
+ ]),
467
+ _: 2
468
+ }, 1032, ["tab"]))), 128))
469
+ ]),
470
+ _: 1
471
+ }, 8, ["activeKey"])) : b("", !0),
472
+ g(Ct, {
473
+ onRegister: e(ke),
474
+ id: e(w),
475
+ subTableSource: y.value,
476
+ cgBIBtnMap: e(s),
477
+ buttonSwitch: e(T),
478
+ confirmBtnCfg: e(Ce),
479
+ onSuccess: e(R),
480
+ onFormConfig: e(me)
481
+ }, null, 8, ["onRegister", "id", "subTableSource", "cgBIBtnMap", "buttonSwitch", "confirmBtnCfg", "onSuccess", "onFormConfig"]),
482
+ g(re, {
483
+ id: e(w),
484
+ onRegister: e(De)
485
+ }, null, 8, ["id", "onRegister"]),
486
+ g(kt, {
487
+ onRegister: e(Re),
488
+ url: e(ve)(),
489
+ onOk: e(R),
490
+ online: ""
491
+ }, null, 8, ["onRegister", "url", "onOk"]),
492
+ g(rt, dt(e(D).model, mt(e(D).on)), {
493
+ default: i(() => [
494
+ (r(), p(gt(e(D).is), ft(yt(e(D).params)), null, 16))
495
+ ]),
496
+ _: 1
497
+ }, 16),
498
+ g(vt, {
499
+ onRegister: e(ge),
500
+ onSuccess: e(R)
501
+ }, null, 8, ["onRegister", "onSuccess"]),
502
+ g(re, {
503
+ id: e(Je),
504
+ onRegister: e(je),
505
+ defaultFullscreen: !1
506
+ }, null, 8, ["id", "onRegister"]),
507
+ g(Bt, {
508
+ ref_key: "onlinePopModalRef",
509
+ ref: Ge,
510
+ id: e(X),
511
+ onRegister: e(Ve),
512
+ onSuccess: e(R),
513
+ request: "",
514
+ topTip: ""
515
+ }, null, 8, ["id", "onRegister", "onSuccess"]),
516
+ g(e(Dt), {
517
+ loading: e(fe),
518
+ absolute: !0
519
+ }, null, 8, ["loading"])
520
+ ])
521
+ ], 512);
522
+ };
523
+ }
524
+ }, _n = /* @__PURE__ */ At($t, [["__scopeId", "data-v-a7e4db94"]]);
525
+ export {
526
+ _n as default
527
+ };