@jeecg/online 3.5.3-beta2 → 3.5.3-vite4

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 (154) hide show
  1. package/AuthButtonConfig-2f71787c.mjs +125 -0
  2. package/AuthButtonTree-d73bccf5.mjs +156 -0
  3. package/AuthDataConfig-32cf23d2.mjs +212 -0
  4. package/AuthDataTree-03d62d3f.mjs +139 -0
  5. package/AuthFieldConfig-b1217a0c.mjs +139 -0
  6. package/AuthFieldTree-888e04a9.mjs +232 -0
  7. package/AuthManagerDrawer-f127b8a2.mjs +114 -0
  8. package/AuthSetterModal-37da78ed.mjs +261 -0
  9. package/CgformCopyList-3adab58f.mjs +245 -0
  10. package/CgformModal-6938d8c2.mjs +613 -0
  11. package/CgreportModal-77ec8c17.mjs +12 -0
  12. package/CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs +567 -0
  13. package/CheckDictTable-414313f2.mjs +211 -0
  14. package/CodeFileListModal-4831ce3d.mjs +158 -0
  15. package/CodeFileViewModal-5990dac4.mjs +244 -0
  16. package/CodeGeneratorModal-7df9e25d.mjs +234 -0
  17. package/CustomButtonList-1c9bd859.mjs +363 -0
  18. package/DBAttributeTable-cd1c41e5.mjs +473 -0
  19. package/DbToOnlineModal-dc5d2030.mjs +160 -0
  20. package/DetailForm-e4538e7a.mjs +446 -0
  21. package/EnhanceJavaModal-7f53d2ca.mjs +260 -0
  22. package/EnhanceJsHistory-c30805ce.mjs +184 -0
  23. package/EnhanceJsModal-0b133341.mjs +233 -0
  24. package/EnhanceSqlModal-33a94c83.mjs +259 -0
  25. package/ExtendConfigModal-60f2cf86.mjs +111 -0
  26. package/FieldExtendJsonModal-48f7d67f.mjs +220 -0
  27. package/FileSelectModal-64aaf623.mjs +91 -0
  28. package/ForeignKeyTable-cb1abd1d.mjs +69 -0
  29. package/IndexTable-4e94cd1f.mjs +89 -0
  30. package/JModalTip-abe1515a.mjs +46 -0
  31. package/JOnlineSearchSelect-5608a5cf.mjs +94 -0
  32. package/LeftDepart-ca7a7375.mjs +82 -0
  33. package/LeftRole-d0fa8398.mjs +86 -0
  34. package/LeftUser-0c88c240.mjs +105 -0
  35. package/LinkTableConfigModal-77d7c0b9.mjs +230 -0
  36. package/LinkTableFieldConfigModal-c5689ab0.mjs +178 -0
  37. package/LinkTableListPiece-34266919.mjs +34 -0
  38. package/ModalFormDemo-0eeea994.mjs +78 -0
  39. package/OnlCgformErpList-7a0388d8.mjs +425 -0
  40. package/OnlCgformErpSubTable-fc6ade76.mjs +388 -0
  41. package/OnlineAutoList-85e6a30d.mjs +472 -0
  42. package/OnlineAutoModal-2a146238.mjs +206 -0
  43. package/OnlineAutoTreeList-f8d0e100.mjs +495 -0
  44. package/OnlineCustomModal-456a85a6.mjs +227 -0
  45. package/OnlineDetailModal-f967f080.mjs +177 -0
  46. package/OnlineForm-630a22c2.mjs +778 -0
  47. package/OnlineFormDetail-1b216792.mjs +296 -0
  48. package/OnlineQueryForm-1c5949a7.mjs +378 -0
  49. package/OnlineSearchFormItem-7c2ea9ed.mjs +352 -0
  50. package/OnlineSelectCascade-c7baf52b.mjs +160 -0
  51. package/OnlineSubFormDetail-0aa4966c.mjs +140 -0
  52. package/PageAttributeTable-811185fd.mjs +404 -0
  53. package/ProcessOnlineForm-27be6f6f.mjs +177 -0
  54. package/QueryTable-4ba771ef.mjs +115 -0
  55. package/SuperQuery-3821f984.mjs +845 -0
  56. package/SuperQueryValComponent-471110b5.mjs +8 -0
  57. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +101 -0
  58. package/auth.api-d3a6c4b3.mjs +39 -0
  59. package/auth.data-8be5c9e3.mjs +141 -0
  60. package/{cgform.data.js → cgform.data-cbdd88c3.mjs} +93 -62
  61. package/constant-fe20103a.mjs +6 -0
  62. package/enhance.api-138e6826.mjs +104 -0
  63. package/enhance.data-efc7e155.mjs +175 -0
  64. package/index-074b92e5.mjs +236 -0
  65. package/index-6a09a912.mjs +58 -0
  66. package/index-9d32ae88.mjs +313 -0
  67. package/main.index.js +7 -1
  68. package/package.json +1 -1
  69. package/style.css +1 -1
  70. package/useCgformList-2d6a5955.mjs +388 -0
  71. package/useExtendComponent-48d37d9b.mjs +3919 -0
  72. package/useListButton-cef1371a.mjs +656 -0
  73. package/useOnlinePopEvent-e9a042f8.mjs +19 -0
  74. package/useOnlineTest-0df0ae86.mjs +43 -0
  75. package/useSchemas-fc8d97ce.mjs +669 -0
  76. package/useTableSync-dc333087.mjs +83 -0
  77. package/AuthButtonConfig.js +0 -147
  78. package/AuthButtonTree.js +0 -183
  79. package/AuthDataConfig.js +0 -246
  80. package/AuthDataTree.js +0 -160
  81. package/AuthFieldConfig.js +0 -170
  82. package/AuthFieldTree.js +0 -281
  83. package/AuthManagerDrawer.js +0 -125
  84. package/AuthSetterModal.js +0 -316
  85. package/CgformCopyList.js +0 -266
  86. package/CgformModal.js +0 -780
  87. package/CgreportModal.js +0 -667
  88. package/CheckDictTable.js +0 -242
  89. package/CodeFileListModal.js +0 -175
  90. package/CodeFileViewModal.js +0 -325
  91. package/CodeGeneratorModal.js +0 -297
  92. package/CustomButtonList.js +0 -410
  93. package/DBAttributeTable.js +0 -526
  94. package/DbToOnlineModal.js +0 -192
  95. package/DetailForm.js +0 -608
  96. package/EnhanceJavaModal.js +0 -298
  97. package/EnhanceJsHistory.js +0 -229
  98. package/EnhanceJsModal.js +0 -293
  99. package/EnhanceSqlModal.js +0 -299
  100. package/ExtendConfigModal.js +0 -151
  101. package/FieldExtendJsonModal.js +0 -283
  102. package/FileSelectModal.js +0 -102
  103. package/ForeignKeyTable.js +0 -79
  104. package/IndexTable.js +0 -97
  105. package/JModalTip.js +0 -54
  106. package/JOnlineSearchSelect.js +0 -115
  107. package/LICENSE +0 -9
  108. package/LeftDepart.js +0 -96
  109. package/LeftRole.js +0 -98
  110. package/LeftUser.js +0 -117
  111. package/LinkTableConfigModal.js +0 -289
  112. package/LinkTableFieldConfigModal.js +0 -218
  113. package/LinkTableListPiece.js +0 -36
  114. package/ModalFormDemo.js +0 -85
  115. package/OnlineAutoList.js +0 -524
  116. package/OnlineAutoModal.js +0 -226
  117. package/OnlineAutoTreeList.js +0 -553
  118. package/OnlineCustomModal.js +0 -286
  119. package/OnlineDetailModal.js +0 -190
  120. package/OnlineForm.js +0 -1018
  121. package/OnlineFormDetail.js +0 -347
  122. package/OnlineQueryForm.js +0 -484
  123. package/OnlineSearchFormItem.js +0 -436
  124. package/OnlineSelectCascade.js +0 -228
  125. package/OnlineSubFormDetail.js +0 -166
  126. package/PageAttributeTable.js +0 -486
  127. package/ProcessOnlineForm.js +0 -208
  128. package/QueryTable.js +0 -129
  129. package/SuperQuery.js +0 -1021
  130. package/SuperQueryValComponent.js +0 -9
  131. package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -162
  132. package/_arrayPush.js +0 -278
  133. package/_baseClone.js +0 -471
  134. package/_baseSlice.js +0 -18
  135. package/_commonjsHelpers.js +0 -5
  136. package/_flatRest.js +0 -174
  137. package/auth.api.js +0 -43
  138. package/auth.data.js +0 -142
  139. package/clipboard.js +0 -565
  140. package/enhance.api.js +0 -129
  141. package/enhance.data.js +0 -196
  142. package/index.js +0 -87
  143. package/index2.js +0 -340
  144. package/index3.js +0 -264
  145. package/isArray.js +0 -47
  146. package/omit.js +0 -60
  147. package/pick.js +0 -68
  148. package/toString.js +0 -31
  149. package/useCgformList.js +0 -470
  150. package/useExtendComponent.js +0 -5205
  151. package/useListButton.js +0 -923
  152. package/useOnlineTest.js +0 -44
  153. package/useSchemas.js +0 -653
  154. package/useTableSync.js +0 -117
package/auth.api.js DELETED
@@ -1,43 +0,0 @@
1
- import { defHttp } from "/@/utils/http/axios";
2
- const authFieldLoadData = (cgformId, params) => defHttp.get({ url: `${"/online/cgform/api/authColumn"}/${cgformId}`, params });
3
- const authFieldUpdateStatus = (params) => defHttp.put({ url: "/online/cgform/api/authColumn", params });
4
- const authFieldUpdateCheckbox = (params) => defHttp.post({ url: "/online/cgform/api/authColumn", params });
5
- const authButtonLoadData = (cgformId, params) => defHttp.get({ url: `${"/online/cgform/api/authButton"}/${cgformId}`, params });
6
- const authButtonEnable = (params) => defHttp.post({ url: "/online/cgform/api/authButton", params });
7
- const authButtonDisable = (id, params) => defHttp.put({ url: `${"/online/cgform/api/authButton"}/${id}`, params });
8
- const authDataLoadData = (cgformId, params) => defHttp.get({ url: `${"/online/cgform/api/authData"}/${cgformId}`, params });
9
- const authDataUpdateStatus = (params) => defHttp.put({ url: "/online/cgform/api/authData", params });
10
- const authDataSaveOrUpdate = (params, isUpdate) => {
11
- if (isUpdate) {
12
- return defHttp.put({ url: "/online/cgform/api/authData", params });
13
- } else {
14
- return defHttp.post({ url: "/online/cgform/api/authData", params });
15
- }
16
- };
17
- const authDataDelete = (id, params) => defHttp.delete({ url: `${"/online/cgform/api/authData"}/${id}`, params });
18
- const authFieldLoadTree = (cgformId, authType, params) => {
19
- let url = `${"/online/cgform/api/authPage"}/${cgformId}/${authType}`;
20
- return defHttp.get({ url, params });
21
- };
22
- const authDataLoadTree = (cgformId, params) => {
23
- let url = `${"/online/cgform/api/validAuthData"}/${cgformId}`;
24
- return defHttp.get({ url, params });
25
- };
26
- const authButtonLoadTree = (cgformId, authType, params) => {
27
- let url = `${"/online/cgform/api/authPage"}/${cgformId}/${authType}`;
28
- return defHttp.get({ url, params });
29
- };
30
- const loadRoleAuthChecked = (params) => defHttp.get({ url: "/online/cgform/api/roleAuth", params });
31
- const saveAuthField = (roleId, cgformId, params) => {
32
- let url = `${"/online/cgform/api/roleColumnAuth"}/${roleId}/${cgformId}`;
33
- return defHttp.post({ url, params });
34
- };
35
- const saveAuthData = (roleId, cgformId, params) => {
36
- let url = `${"/online/cgform/api/roleDataAuth"}/${roleId}/${cgformId}`;
37
- return defHttp.post({ url, params });
38
- };
39
- const saveAuthButton = (roleId, cgformId, params) => {
40
- let url = `${"/online/cgform/api/roleButtonAuth"}/${roleId}/${cgformId}`;
41
- return defHttp.post({ url, params });
42
- };
43
- export { authFieldLoadData as a, authFieldUpdateStatus as b, authFieldUpdateCheckbox as c, authButtonLoadData as d, authButtonEnable as e, authButtonDisable as f, authDataLoadData as g, authDataSaveOrUpdate as h, authDataUpdateStatus as i, authDataDelete as j, authFieldLoadTree as k, loadRoleAuthChecked as l, authButtonLoadTree as m, saveAuthButton as n, authDataLoadTree as o, saveAuthData as p, saveAuthField as s };
package/auth.data.js DELETED
@@ -1,142 +0,0 @@
1
- import { computed } from "vue";
2
- const authFieldColumns = [
3
- {
4
- title: "\u542F\u7528",
5
- dataIndex: "switch",
6
- width: 80,
7
- align: "center",
8
- slots: { customRender: "switch" }
9
- },
10
- {
11
- title: "\u5B57\u6BB5\u540D\u79F0",
12
- width: 200,
13
- dataIndex: "code"
14
- },
15
- {
16
- title: "\u5B57\u6BB5\u63CF\u8FF0",
17
- dataIndex: "title"
18
- },
19
- {
20
- title: "\u5217\u8868\u63A7\u5236",
21
- dataIndex: "list",
22
- width: 120,
23
- slots: { customRender: "list" }
24
- },
25
- {
26
- title: "\u8868\u5355\u63A7\u5236",
27
- dataIndex: "form",
28
- width: 180,
29
- slots: { customRender: "form" }
30
- }
31
- ];
32
- const authButtonColumns = [
33
- {
34
- title: "\u542F\u7528",
35
- dataIndex: "switch",
36
- width: 80,
37
- slots: { customRender: "switch" }
38
- },
39
- {
40
- title: "\u540D\u79F0",
41
- dataIndex: "title"
42
- },
43
- {
44
- title: "\u7F16\u7801",
45
- dataIndex: "code"
46
- },
47
- {
48
- title: "\u6743\u9650\u63A7\u5236",
49
- dataIndex: "control",
50
- width: 180,
51
- slots: { customRender: "control" }
52
- }
53
- ];
54
- const authButtonFixedList = [
55
- { code: "add", title: "\u65B0\u589E", status: 0 },
56
- { code: "update", title: "\u7F16\u8F91", status: 0 },
57
- { code: "delete", title: "\u5220\u9664", status: 0 },
58
- { code: "batch_delete", title: "\u6279\u91CF\u5220\u9664", status: 0 },
59
- { code: "export", title: "\u5BFC\u51FA", status: 0 },
60
- { code: "import", title: "\u5BFC\u5165", status: 0 },
61
- { code: "bpm", title: "\u63D0\u4EA4\u6D41\u7A0B", status: 0 },
62
- { code: "super_query", title: "\u9AD8\u7EA7\u67E5\u8BE2", status: 0 }
63
- ];
64
- const USE_SQL_RULES = "USE_SQL_RULES";
65
- const authDataColumns = [
66
- {
67
- title: "\u542F\u7528",
68
- dataIndex: "switch",
69
- width: 80,
70
- slots: { customRender: "switch" }
71
- },
72
- {
73
- title: "\u89C4\u5219\u540D\u79F0",
74
- dataIndex: "ruleName",
75
- width: 130
76
- },
77
- {
78
- title: "\u89C4\u5219\u63CF\u8FF0",
79
- dataIndex: "description",
80
- customRender({ record: { ruleOperator, ruleValue, ruleColumn } }) {
81
- if (ruleOperator == USE_SQL_RULES) {
82
- return `\u81EA\u5B9A\u4E49SQL: ${ruleValue}`;
83
- } else {
84
- return `${ruleColumn} ${ruleOperator} ${ruleValue}`;
85
- }
86
- }
87
- }
88
- ];
89
- function useAuthDataFormSchemas(props, methods) {
90
- const formSchemas = computed(() => [
91
- {
92
- label: "\u89C4\u5219\u540D\u79F0",
93
- field: "ruleName",
94
- required: true,
95
- component: "Input"
96
- },
97
- {
98
- label: "\u89C4\u5219\u5B57\u6BB5",
99
- field: "ruleColumn",
100
- component: "JSearchSelect",
101
- componentProps: {
102
- dictOptions: props.authFields,
103
- getPopupContainer: () => document.body
104
- },
105
- dynamicRules({ model }) {
106
- return [{ required: model.ruleOperator != USE_SQL_RULES, message: "\u8BF7\u8F93\u5165\u89C4\u5219\u5B57\u6BB5" }];
107
- },
108
- show: ({ model }) => model.ruleOperator != USE_SQL_RULES
109
- },
110
- {
111
- label: "\u6761\u4EF6\u89C4\u5219",
112
- field: "ruleOperator",
113
- required: true,
114
- component: "JDictSelectTag",
115
- componentProps: {
116
- dictCode: "rule_conditions",
117
- onChange: methods.onRuleOperatorChange
118
- }
119
- },
120
- {
121
- label: "\u89C4\u5219\u503C",
122
- field: "ruleValue",
123
- required: true,
124
- component: "Input"
125
- },
126
- {
127
- label: "\u72B6\u6001",
128
- field: "status",
129
- required: true,
130
- component: "RadioButtonGroup",
131
- componentProps: {
132
- options: [
133
- { label: "\u6709\u6548", value: 1 },
134
- { label: "\u65E0\u6548", value: 0 }
135
- ]
136
- },
137
- defaultValue: 1
138
- }
139
- ]);
140
- return { formSchemas };
141
- }
142
- export { USE_SQL_RULES as U, authFieldColumns as a, authButtonColumns as b, authButtonFixedList as c, authDataColumns as d, useAuthDataFormSchemas as u };