@jeecg/online 1.0.1 → 3.4.3-GA
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.
- package/AuthButtonConfig.js +14 -7
- package/AuthButtonTree.js +3 -5
- package/AuthDataConfig.js +9 -6
- package/AuthDataTree.js +3 -5
- package/AuthFieldConfig.js +15 -12
- package/AuthFieldTree.js +24 -18
- package/AuthManagerDrawer.js +1 -1
- package/AuthSetterModal.js +1 -0
- package/CgformCopyList.js +34 -22
- package/CgformModal.js +57 -50
- package/CgreportModal.js +32 -39
- package/CheckDictTable.js +144 -24
- package/CodeFileListModal.js +175 -0
- package/CodeFileViewModal.js +325 -0
- package/CodeGeneratorModal.js +41 -38
- package/CustomButtonList.js +19 -22
- package/DBAttributeTable.js +248 -12
- package/DbToOnlineModal.js +27 -25
- package/DetailForm.js +609 -0
- package/EnhanceJavaModal.js +11 -17
- package/EnhanceJsHistory.js +6 -8
- package/EnhanceJsModal.js +16 -16
- package/EnhanceSqlModal.js +11 -17
- package/ExtendConfigModal.js +24 -15
- package/ForeignKeyTable.js +4 -3
- package/FormSchemaFactory.js +163 -30
- package/IndexTable.js +6 -5
- package/JModalTip.js +54 -0
- package/JOnlineSearchSelect.js +18 -10
- package/LeftDepart.js +1 -1
- package/LeftRole.js +7 -4
- package/LeftUser.js +7 -4
- package/LinkTableConfigModal.js +289 -0
- package/LinkTableFieldConfigModal.js +218 -0
- package/LinkTableListPiece.js +36 -0
- package/ModalFormDemo.js +3 -2
- package/OnlineAutoList.js +154 -55
- package/OnlineAutoModal.js +92 -131
- package/OnlineAutoTreeList.js +93 -53
- package/OnlineCustomModal.js +30 -14
- package/OnlineDetailModal.js +184 -0
- package/OnlineForm.js +274 -141
- package/OnlineFormDetail.js +326 -0
- package/OnlineQueryForm.js +72 -40
- package/OnlineSearchFormItem.js +26 -18
- package/OnlineSelectCascade.js +37 -26
- package/OnlineSubFormDetail.js +167 -0
- package/OnlineSuperQuery.js +70 -75
- package/OnlineSuperQueryValComponent.js +1 -0
- package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +1 -17
- package/PageAttributeTable.js +233 -30
- package/ProcessOnlineForm.js +41 -16
- package/QueryTable.js +4 -3
- package/README.md +3 -8
- package/_arrayPush.js +5 -3
- package/{cloneDeep.js → _baseClone.js} +5 -9
- package/_baseSlice.js +18 -0
- package/_commonjsHelpers.js +5 -0
- package/_flatRest.js +174 -0
- package/auth.data.js +1 -3
- package/cgform.data.js +18 -9
- package/enhance.api.js +27 -18
- package/index.js +27 -8
- package/index2.js +48 -45
- package/index3.js +29 -26
- package/isArray.js +1 -1
- package/main.index.js +2 -2
- package/omit.js +60 -0
- package/package.json +1 -1
- package/pick.js +3 -173
- package/style.css +1 -1
- package/toString.js +2 -2
- package/useAutoForm.js +3457 -3791
- package/useCgformList.js +44 -31
- package/{useTableColumns.js → useListButton.js} +218 -409
- package/useOnlineTest.js +5 -26827
- package/useSchemas.js +382 -234
- package/useTableSync.js +19 -7
- package/ChartAutoRender.js +0 -69
- package/ChartDoubleRender.js +0 -154
- package/ChartSingleRender.js +0 -132
- package/ChartTabsRender.js +0 -218
- package/ErrorTip.js +0 -21
- package/FieldTable.js +0 -185
- package/GraphreportAutoChart.js +0 -352
- package/GraphreportList.js +0 -239
- package/GraphreportModal.js +0 -559
- package/LICENSE +0 -7
- package/OnlineSubForm.js +0 -200
- package/ParamsTable.js +0 -71
- package/graphreport.api.js +0 -23
- package/useChartRender.js +0 -405
- package/useMessageOnline.js +0 -71
package/index2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, mergeProps, withCtx, createTextVNode, createBlock, createCommentVNode } from "vue";
|
|
2
2
|
import { BasicTable, TableAction } from "/@/components/Table";
|
|
3
3
|
import { C as CgformModal } from "./CgformModal.js";
|
|
4
4
|
import DbToOnlineModal from "./DbToOnlineModal.js";
|
|
@@ -9,8 +9,7 @@ import EnhanceJavaModal from "./EnhanceJavaModal.js";
|
|
|
9
9
|
import EnhanceSqlModal from "./EnhanceSqlModal.js";
|
|
10
10
|
import AuthManagerDrawer from "./AuthManagerDrawer.js";
|
|
11
11
|
import AuthSetterModal from "./AuthSetterModal.js";
|
|
12
|
-
import { u as useCgformList } from "./useCgformList.js";
|
|
13
|
-
import { C as CgformPageType } from "./useOnlineTest.js";
|
|
12
|
+
import { u as useCgformList, C as CgformPageType } from "./useCgformList.js";
|
|
14
13
|
import { c as columns, s as searchFormSchema } from "./cgform.data.js";
|
|
15
14
|
import { _ as _export_sfc } from "./index.js";
|
|
16
15
|
import "/@/components/Modal";
|
|
@@ -20,10 +19,13 @@ import "./useSchemas.js";
|
|
|
20
19
|
import "ant-design-vue";
|
|
21
20
|
import "@ant-design/icons-vue";
|
|
22
21
|
import "/@/utils/common/compUtils";
|
|
22
|
+
import "/@/hooks/web/usePermission";
|
|
23
|
+
import "/@/utils/helper/validator";
|
|
23
24
|
import "./DBAttributeTable.js";
|
|
24
25
|
import "/@/components/jeecg/JVxeTable/types";
|
|
25
26
|
import "./useTableSync.js";
|
|
26
27
|
import "./pick.js";
|
|
28
|
+
import "./_flatRest.js";
|
|
27
29
|
import "./isArray.js";
|
|
28
30
|
import "./toString.js";
|
|
29
31
|
import "./_arrayPush.js";
|
|
@@ -33,40 +35,58 @@ import "/@/utils/uuid";
|
|
|
33
35
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
34
36
|
import "vue-router";
|
|
35
37
|
import "./PageAttributeTable.js";
|
|
38
|
+
import "./LinkTableConfigModal.js";
|
|
39
|
+
import "/@/utils/http/axios";
|
|
40
|
+
import "./omit.js";
|
|
41
|
+
import "./_baseClone.js";
|
|
42
|
+
import "./_baseSlice.js";
|
|
43
|
+
import "./LinkTableFieldConfigModal.js";
|
|
36
44
|
import "./CheckDictTable.js";
|
|
45
|
+
import "/@/components/jeecg/JPrompt";
|
|
46
|
+
import "/@/hooks/web/useDesign";
|
|
37
47
|
import "./ForeignKeyTable.js";
|
|
38
48
|
import "./IndexTable.js";
|
|
39
49
|
import "./QueryTable.js";
|
|
40
50
|
import "./ExtendConfigModal.js";
|
|
41
51
|
import "/@/components/Form";
|
|
42
|
-
import "
|
|
52
|
+
import "./useOnlineTest.js";
|
|
43
53
|
import "/@/utils";
|
|
44
54
|
import "./useAutoForm.js";
|
|
45
55
|
import "./FormSchemaFactory.js";
|
|
46
56
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
47
57
|
import "/@/views/system/user/user.api";
|
|
58
|
+
import "./_commonjsHelpers.js";
|
|
48
59
|
import "/@/store/modules/user";
|
|
49
60
|
import "/@/utils/desform/customExpression";
|
|
50
61
|
import "/@/components/Form/src/componentMap";
|
|
51
62
|
import "./OnlineSelectCascade.js";
|
|
63
|
+
import "/@/store/modules/permission";
|
|
64
|
+
import "/@/utils/propTypes";
|
|
52
65
|
import "/@/hooks/system/useListPage";
|
|
66
|
+
import "/@/components/Form/src/utils/Area";
|
|
67
|
+
import "/@/components/Preview/index";
|
|
68
|
+
import "./LinkTableListPiece.js";
|
|
69
|
+
import "/@/components/Loading";
|
|
70
|
+
import "/@/utils/auth";
|
|
71
|
+
import "./JModalTip.js";
|
|
72
|
+
import "@vueuse/core";
|
|
73
|
+
import "./CodeFileListModal.js";
|
|
74
|
+
import "./CodeFileViewModal.js";
|
|
53
75
|
import "/@/utils/file/download";
|
|
54
76
|
import "./FileSelectModal.js";
|
|
55
|
-
import "./useMessageOnline.js";
|
|
56
|
-
import "/@/utils/is";
|
|
57
|
-
import "/@/utils/cache";
|
|
58
77
|
import "./EnhanceJsHistory.js";
|
|
59
78
|
import "/@/utils/dateUtil";
|
|
60
79
|
import "/@/store";
|
|
61
80
|
import "pinia";
|
|
81
|
+
import "/@/utils/cache";
|
|
62
82
|
import "./enhance.api.js";
|
|
83
|
+
import "/@/utils/is";
|
|
63
84
|
import "./enhance.data.js";
|
|
64
85
|
import "/@/components/Drawer";
|
|
65
86
|
import "./AuthFieldConfig.js";
|
|
66
87
|
import "./auth.api.js";
|
|
67
88
|
import "./auth.data.js";
|
|
68
89
|
import "./AuthButtonConfig.js";
|
|
69
|
-
import "./cloneDeep.js";
|
|
70
90
|
import "./AuthDataConfig.js";
|
|
71
91
|
import "./LeftRole.js";
|
|
72
92
|
import "./LeftDepart.js";
|
|
@@ -149,21 +169,13 @@ const _sfc_main = defineComponent({
|
|
|
149
169
|
};
|
|
150
170
|
}
|
|
151
171
|
});
|
|
152
|
-
const _hoisted_1 = /* @__PURE__ */
|
|
153
|
-
const _hoisted_2 = /* @__PURE__ */
|
|
154
|
-
const _hoisted_3 =
|
|
155
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode(" SQL\u589E\u5F3A ");
|
|
156
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("JAVA\u589E\u5F3A");
|
|
157
|
-
const _hoisted_6 = /* @__PURE__ */ createTextVNode("\u5BFC\u5165\u6570\u636E\u5E93\u8868");
|
|
158
|
-
const _hoisted_7 = /* @__PURE__ */ createTextVNode(" \u4EE3\u7801\u751F\u6210 ");
|
|
159
|
-
const _hoisted_8 = /* @__PURE__ */ createTextVNode("\u9AD8\u7EA7\u67E5\u8BE2\uFF1F");
|
|
160
|
-
const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", null, "\u5220\u9664", -1);
|
|
161
|
-
const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", null, "\u6279\u91CF\u64CD\u4F5C", -1);
|
|
162
|
-
const _hoisted_11 = {
|
|
172
|
+
const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", null, "\u5220\u9664", -1);
|
|
173
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, "\u6279\u91CF\u64CD\u4F5C", -1);
|
|
174
|
+
const _hoisted_3 = {
|
|
163
175
|
key: 0,
|
|
164
176
|
style: { "color": "limegreen" }
|
|
165
177
|
};
|
|
166
|
-
const
|
|
178
|
+
const _hoisted_4 = {
|
|
167
179
|
key: 1,
|
|
168
180
|
style: { "color": "red" }
|
|
169
181
|
};
|
|
@@ -184,15 +196,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
184
196
|
const _component_EnhanceSqlModal = resolveComponent("EnhanceSqlModal");
|
|
185
197
|
const _component_AuthManagerDrawer = resolveComponent("AuthManagerDrawer");
|
|
186
198
|
const _component_AuthSetterModal = resolveComponent("AuthSetterModal");
|
|
187
|
-
const _directive_auth = resolveDirective("auth");
|
|
188
199
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
189
200
|
createElementVNode("div", {
|
|
190
201
|
class: normalizeClass(_ctx.prefixCls)
|
|
191
202
|
}, [
|
|
192
|
-
createVNode(_component_BasicTable, {
|
|
203
|
+
createVNode(_component_BasicTable, mergeProps({
|
|
193
204
|
onRegister: _ctx.registerTable,
|
|
194
205
|
rowSelection: _ctx.rowSelection
|
|
195
|
-
}, {
|
|
206
|
+
}, _ctx.$attrs), {
|
|
196
207
|
tableTitle: withCtx(() => [
|
|
197
208
|
createVNode(_component_a_button, {
|
|
198
209
|
onClick: _ctx.onAdd,
|
|
@@ -200,7 +211,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
200
211
|
preIcon: "ant-design:plus"
|
|
201
212
|
}, {
|
|
202
213
|
default: withCtx(() => [
|
|
203
|
-
|
|
214
|
+
createTextVNode("\u65B0\u589E")
|
|
204
215
|
]),
|
|
205
216
|
_: 1
|
|
206
217
|
}, 8, ["onClick"]),
|
|
@@ -210,7 +221,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
210
221
|
preIcon: "ant-design:highlight"
|
|
211
222
|
}, {
|
|
212
223
|
default: withCtx(() => [
|
|
213
|
-
|
|
224
|
+
createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE")
|
|
214
225
|
]),
|
|
215
226
|
_: 1
|
|
216
227
|
}, 8, ["onClick"]),
|
|
@@ -220,29 +231,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
220
231
|
preIcon: "ant-design:strikethrough"
|
|
221
232
|
}, {
|
|
222
233
|
default: withCtx(() => [
|
|
223
|
-
|
|
234
|
+
createTextVNode("JS\u589E\u5F3A")
|
|
224
235
|
]),
|
|
225
236
|
_: 1
|
|
226
237
|
}, 8, ["onClick"]),
|
|
227
|
-
|
|
238
|
+
createVNode(_component_a_button, {
|
|
228
239
|
onClick: _ctx.onShowEnhanceSql,
|
|
229
240
|
type: "primary",
|
|
230
241
|
preIcon: "ant-design:filter"
|
|
231
242
|
}, {
|
|
232
243
|
default: withCtx(() => [
|
|
233
|
-
|
|
244
|
+
createTextVNode(" SQL\u589E\u5F3A ")
|
|
234
245
|
]),
|
|
235
246
|
_: 1
|
|
236
|
-
}, 8, ["onClick"])
|
|
237
|
-
[_directive_auth, "online:sql"]
|
|
238
|
-
]),
|
|
247
|
+
}, 8, ["onClick"]),
|
|
239
248
|
createVNode(_component_a_button, {
|
|
240
249
|
onClick: _ctx.onShowEnhanceJava,
|
|
241
250
|
type: "primary",
|
|
242
251
|
preIcon: "ant-design:tool"
|
|
243
252
|
}, {
|
|
244
253
|
default: withCtx(() => [
|
|
245
|
-
|
|
254
|
+
createTextVNode("JAVA\u589E\u5F3A")
|
|
246
255
|
]),
|
|
247
256
|
_: 1
|
|
248
257
|
}, 8, ["onClick"]),
|
|
@@ -252,7 +261,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
252
261
|
preIcon: "ant-design:database"
|
|
253
262
|
}, {
|
|
254
263
|
default: withCtx(() => [
|
|
255
|
-
|
|
264
|
+
createTextVNode("\u5BFC\u5165\u6570\u636E\u5E93\u8868")
|
|
256
265
|
]),
|
|
257
266
|
_: 1
|
|
258
267
|
}, 8, ["onClick"]),
|
|
@@ -262,16 +271,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
262
271
|
preIcon: "bx:bx-code-alt"
|
|
263
272
|
}, {
|
|
264
273
|
default: withCtx(() => [
|
|
265
|
-
|
|
274
|
+
createTextVNode(" \u4EE3\u7801\u751F\u6210 ")
|
|
266
275
|
]),
|
|
267
276
|
_: 1
|
|
268
277
|
}, 8, ["onClick"]),
|
|
269
|
-
createVNode(_component_a_button, { type: "primary" }, {
|
|
270
|
-
default: withCtx(() => [
|
|
271
|
-
_hoisted_8
|
|
272
|
-
]),
|
|
273
|
-
_: 1
|
|
274
|
-
}),
|
|
275
278
|
_ctx.selectedRowKeys.length > 0 ? (openBlock(), createBlock(_component_a_dropdown, { key: 0 }, {
|
|
276
279
|
overlay: withCtx(() => [
|
|
277
280
|
createVNode(_component_a_menu, null, {
|
|
@@ -282,7 +285,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
282
285
|
}, {
|
|
283
286
|
default: withCtx(() => [
|
|
284
287
|
createVNode(_component_a_icon, { type: "delete" }),
|
|
285
|
-
|
|
288
|
+
_hoisted_1
|
|
286
289
|
]),
|
|
287
290
|
_: 1
|
|
288
291
|
}, 8, ["onClick"])
|
|
@@ -293,7 +296,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
293
296
|
default: withCtx(() => [
|
|
294
297
|
createVNode(_component_a_button, null, {
|
|
295
298
|
default: withCtx(() => [
|
|
296
|
-
|
|
299
|
+
_hoisted_2,
|
|
297
300
|
createVNode(_component_a_icon, { type: "down" })
|
|
298
301
|
]),
|
|
299
302
|
_: 1
|
|
@@ -303,8 +306,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
303
306
|
})) : createCommentVNode("", true)
|
|
304
307
|
]),
|
|
305
308
|
dbSync: withCtx(({ text }) => [
|
|
306
|
-
text === "Y" ? (openBlock(), createElementBlock("span",
|
|
307
|
-
text === "N" ? (openBlock(), createElementBlock("span",
|
|
309
|
+
text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_3, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
|
|
310
|
+
text === "N" ? (openBlock(), createElementBlock("span", _hoisted_4, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
|
|
308
311
|
]),
|
|
309
312
|
action: withCtx(({ record }) => [
|
|
310
313
|
createVNode(_component_TableAction, {
|
|
@@ -313,7 +316,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
313
316
|
}, null, 8, ["actions", "dropDownActions"])
|
|
314
317
|
]),
|
|
315
318
|
_: 1
|
|
316
|
-
},
|
|
319
|
+
}, 16, ["onRegister", "rowSelection"])
|
|
317
320
|
], 2),
|
|
318
321
|
createVNode(_component_CgformModal, {
|
|
319
322
|
onRegister: _ctx.registerCgformModal,
|
package/index3.js
CHANGED
|
@@ -18,23 +18,19 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18
18
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createBlock, createCommentVNode
|
|
21
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, unref, mergeProps, withCtx, createTextVNode, createBlock, createCommentVNode } from "vue";
|
|
22
22
|
import { BasicTable, TableAction } from "/@/components/Table";
|
|
23
23
|
import { useListPage } from "/@/hooks/system/useListPage";
|
|
24
|
-
import { l as list, c as columns, s as searchFormSchema, _ as _sfc_main$1,
|
|
24
|
+
import { l as list, c as columns, s as searchFormSchema, _ as _sfc_main$1, b as batchDelete, g as getReportParam, d as deleteOne } from "./CgreportModal.js";
|
|
25
25
|
import { useModal } from "/@/components/Modal";
|
|
26
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers.js";
|
|
26
27
|
import { useRouter } from "vue-router";
|
|
27
28
|
import "/@/components/Form/index";
|
|
28
29
|
import "/@/hooks/system/useJvxeMethods.ts";
|
|
29
30
|
import "/@/components/jeecg/JVxeTable/types";
|
|
30
31
|
import "/@/views/system/user/user.api";
|
|
31
32
|
import "/@/utils/http/axios";
|
|
32
|
-
import "ant-design-vue";
|
|
33
33
|
import "/@/hooks/web/useMessage";
|
|
34
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
35
|
-
function getDefaultExportFromCjs(x) {
|
|
36
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
37
|
-
}
|
|
38
34
|
var clipboard = { exports: {} };
|
|
39
35
|
/*!
|
|
40
36
|
* clipboard.js v2.0.11
|
|
@@ -218,17 +214,17 @@ var clipboard = { exports: {} };
|
|
|
218
214
|
return _possibleConstructorReturn(this, result);
|
|
219
215
|
};
|
|
220
216
|
}
|
|
221
|
-
function _possibleConstructorReturn(
|
|
217
|
+
function _possibleConstructorReturn(self, call) {
|
|
222
218
|
if (call && (clipboard_typeof(call) === "object" || typeof call === "function")) {
|
|
223
219
|
return call;
|
|
224
220
|
}
|
|
225
|
-
return _assertThisInitialized(
|
|
221
|
+
return _assertThisInitialized(self);
|
|
226
222
|
}
|
|
227
|
-
function _assertThisInitialized(
|
|
228
|
-
if (
|
|
223
|
+
function _assertThisInitialized(self) {
|
|
224
|
+
if (self === void 0) {
|
|
229
225
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
230
226
|
}
|
|
231
|
-
return
|
|
227
|
+
return self;
|
|
232
228
|
}
|
|
233
229
|
function _isNativeReflectConstruct() {
|
|
234
230
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
@@ -521,9 +517,9 @@ var clipboard = { exports: {} };
|
|
|
521
517
|
return this;
|
|
522
518
|
},
|
|
523
519
|
once: function(name, callback, ctx) {
|
|
524
|
-
var
|
|
520
|
+
var self = this;
|
|
525
521
|
function listener() {
|
|
526
|
-
|
|
522
|
+
self.off(name, listener);
|
|
527
523
|
callback.apply(ctx, arguments);
|
|
528
524
|
}
|
|
529
525
|
listener._ = callback;
|
|
@@ -598,15 +594,17 @@ var clipboard = { exports: {} };
|
|
|
598
594
|
});
|
|
599
595
|
})(clipboard);
|
|
600
596
|
var Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboard.exports);
|
|
601
|
-
const _hoisted_1 = /* @__PURE__ */ createTextVNode("\u5F55\u5165");
|
|
602
|
-
const _hoisted_2 = /* @__PURE__ */ createTextVNode(" \u5220\u9664 ");
|
|
603
|
-
const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u6279\u91CF\u64CD\u4F5C ");
|
|
604
597
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
605
|
-
|
|
606
|
-
setup(__props) {
|
|
598
|
+
__name: "index",
|
|
599
|
+
setup(__props, { expose }) {
|
|
607
600
|
let router = useRouter();
|
|
608
601
|
const [registerModal, { openModal }] = useModal();
|
|
609
|
-
const {
|
|
602
|
+
const {
|
|
603
|
+
prefixCls,
|
|
604
|
+
tableContext,
|
|
605
|
+
createMessage: $message,
|
|
606
|
+
createConfirm: $confirm
|
|
607
|
+
} = useListPage({
|
|
610
608
|
designScope: "online-cgreport-list",
|
|
611
609
|
pagination: true,
|
|
612
610
|
tableProps: {
|
|
@@ -663,10 +661,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
663
661
|
return [
|
|
664
662
|
{
|
|
665
663
|
label: "\u529F\u80FD\u6D4B\u8BD5",
|
|
664
|
+
class: ["low-app-hide"],
|
|
666
665
|
onClick: () => onShowList(record.id)
|
|
667
666
|
},
|
|
668
667
|
{
|
|
669
668
|
label: "\u914D\u7F6E\u5730\u5740",
|
|
669
|
+
class: ["low-app-hide"],
|
|
670
670
|
onClick: () => onShowOnlineUrl(record)
|
|
671
671
|
},
|
|
672
672
|
{
|
|
@@ -727,6 +727,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
727
727
|
});
|
|
728
728
|
});
|
|
729
729
|
}
|
|
730
|
+
expose({
|
|
731
|
+
handleAdd
|
|
732
|
+
});
|
|
730
733
|
return (_ctx, _cache) => {
|
|
731
734
|
const _component_a_button = resolveComponent("a-button");
|
|
732
735
|
const _component_Icon = resolveComponent("Icon");
|
|
@@ -734,10 +737,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
734
737
|
const _component_a_menu = resolveComponent("a-menu");
|
|
735
738
|
const _component_a_dropdown = resolveComponent("a-dropdown");
|
|
736
739
|
return openBlock(), createElementBlock("div", null, [
|
|
737
|
-
createVNode(unref(BasicTable), {
|
|
740
|
+
createVNode(unref(BasicTable), mergeProps({
|
|
738
741
|
onRegister: unref(registerTable),
|
|
739
742
|
rowSelection: unref(rowSelection)
|
|
740
|
-
}, {
|
|
743
|
+
}, _ctx.$attrs), {
|
|
741
744
|
tableTitle: withCtx(() => [
|
|
742
745
|
createVNode(_component_a_button, {
|
|
743
746
|
preIcon: "ant-design:plus-outlined",
|
|
@@ -746,7 +749,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
746
749
|
style: { "margin-right": "5px" }
|
|
747
750
|
}, {
|
|
748
751
|
default: withCtx(() => [
|
|
749
|
-
|
|
752
|
+
createTextVNode("\u5F55\u5165")
|
|
750
753
|
]),
|
|
751
754
|
_: 1
|
|
752
755
|
}),
|
|
@@ -760,7 +763,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
760
763
|
}, {
|
|
761
764
|
default: withCtx(() => [
|
|
762
765
|
createVNode(_component_Icon, { icon: "ant-design:delete-outlined" }),
|
|
763
|
-
|
|
766
|
+
createTextVNode(" \u5220\u9664 ")
|
|
764
767
|
]),
|
|
765
768
|
_: 1
|
|
766
769
|
})
|
|
@@ -771,7 +774,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
771
774
|
default: withCtx(() => [
|
|
772
775
|
createVNode(_component_a_button, null, {
|
|
773
776
|
default: withCtx(() => [
|
|
774
|
-
|
|
777
|
+
createTextVNode("\u6279\u91CF\u64CD\u4F5C "),
|
|
775
778
|
createVNode(_component_Icon, { icon: "mdi:chevron-down" })
|
|
776
779
|
]),
|
|
777
780
|
_: 1
|
|
@@ -787,7 +790,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
787
790
|
}, null, 8, ["actions", "dropDownActions"])
|
|
788
791
|
]),
|
|
789
792
|
_: 1
|
|
790
|
-
},
|
|
793
|
+
}, 16, ["onRegister", "rowSelection"]),
|
|
791
794
|
createVNode(_sfc_main$1, {
|
|
792
795
|
onRegister: unref(registerModal),
|
|
793
796
|
onSuccess: handleSuccess
|
package/isArray.js
CHANGED
|
@@ -44,4 +44,4 @@ function isObjectLike(value) {
|
|
|
44
44
|
}
|
|
45
45
|
var isArray = Array.isArray;
|
|
46
46
|
var isArray$1 = isArray;
|
|
47
|
-
export { Symbol$2 as S,
|
|
47
|
+
export { Symbol$2 as S, isObjectLike as a, baseGetTag as b, freeGlobal$1 as f, isArray$1 as i, root$1 as r };
|
package/main.index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { i as default } from "./index.js";
|
|
2
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
1
|
+
export { L as LinkTableCard, a as LinkTableSelect, O as OnlineSelectCascade, i as default } from "./index.js";
|
|
3
2
|
import "vue";
|
|
3
|
+
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
4
4
|
import "/@/hooks/web/useMessage";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
import "./style.css";
|
package/omit.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { a as arrayMap } from "./toString.js";
|
|
2
|
+
import { g as getPrototype, c as copyObject, a as getAllKeysIn, b as baseClone } from "./_baseClone.js";
|
|
3
|
+
import { b as baseGet, c as castPath, t as toKey, f as flatRest } from "./_flatRest.js";
|
|
4
|
+
import { b as baseSlice } from "./_baseSlice.js";
|
|
5
|
+
import { a as isObjectLike, b as baseGetTag } from "./isArray.js";
|
|
6
|
+
var objectTag = "[object Object]";
|
|
7
|
+
var funcProto = Function.prototype, objectProto = Object.prototype;
|
|
8
|
+
var funcToString = funcProto.toString;
|
|
9
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
10
|
+
var objectCtorString = funcToString.call(Object);
|
|
11
|
+
function isPlainObject(value) {
|
|
12
|
+
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
var proto = getPrototype(value);
|
|
16
|
+
if (proto === null) {
|
|
17
|
+
return true;
|
|
18
|
+
}
|
|
19
|
+
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
20
|
+
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
21
|
+
}
|
|
22
|
+
function last(array) {
|
|
23
|
+
var length = array == null ? 0 : array.length;
|
|
24
|
+
return length ? array[length - 1] : void 0;
|
|
25
|
+
}
|
|
26
|
+
function parent(object, path) {
|
|
27
|
+
return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
|
|
28
|
+
}
|
|
29
|
+
function baseUnset(object, path) {
|
|
30
|
+
path = castPath(path, object);
|
|
31
|
+
object = parent(object, path);
|
|
32
|
+
return object == null || delete object[toKey(last(path))];
|
|
33
|
+
}
|
|
34
|
+
function customOmitClone(value) {
|
|
35
|
+
return isPlainObject(value) ? void 0 : value;
|
|
36
|
+
}
|
|
37
|
+
var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
|
|
38
|
+
var omit = flatRest(function(object, paths) {
|
|
39
|
+
var result = {};
|
|
40
|
+
if (object == null) {
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
var isDeep = false;
|
|
44
|
+
paths = arrayMap(paths, function(path) {
|
|
45
|
+
path = castPath(path, object);
|
|
46
|
+
isDeep || (isDeep = path.length > 1);
|
|
47
|
+
return path;
|
|
48
|
+
});
|
|
49
|
+
copyObject(object, getAllKeysIn(object), result);
|
|
50
|
+
if (isDeep) {
|
|
51
|
+
result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
|
|
52
|
+
}
|
|
53
|
+
var length = paths.length;
|
|
54
|
+
while (length--) {
|
|
55
|
+
baseUnset(result, paths[length]);
|
|
56
|
+
}
|
|
57
|
+
return result;
|
|
58
|
+
});
|
|
59
|
+
var omit$1 = omit;
|
|
60
|
+
export { omit$1 as o };
|
package/package.json
CHANGED
package/pick.js
CHANGED
|
@@ -1,176 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
4
|
-
function identity(value) {
|
|
5
|
-
return value;
|
|
6
|
-
}
|
|
7
|
-
function apply(func, thisArg, args) {
|
|
8
|
-
switch (args.length) {
|
|
9
|
-
case 0:
|
|
10
|
-
return func.call(thisArg);
|
|
11
|
-
case 1:
|
|
12
|
-
return func.call(thisArg, args[0]);
|
|
13
|
-
case 2:
|
|
14
|
-
return func.call(thisArg, args[0], args[1]);
|
|
15
|
-
case 3:
|
|
16
|
-
return func.call(thisArg, args[0], args[1], args[2]);
|
|
17
|
-
}
|
|
18
|
-
return func.apply(thisArg, args);
|
|
19
|
-
}
|
|
20
|
-
var HOT_COUNT = 800, HOT_SPAN = 16;
|
|
21
|
-
var nativeNow = Date.now;
|
|
22
|
-
function shortOut(func) {
|
|
23
|
-
var count = 0, lastCalled = 0;
|
|
24
|
-
return function() {
|
|
25
|
-
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
26
|
-
lastCalled = stamp;
|
|
27
|
-
if (remaining > 0) {
|
|
28
|
-
if (++count >= HOT_COUNT) {
|
|
29
|
-
return arguments[0];
|
|
30
|
-
}
|
|
31
|
-
} else {
|
|
32
|
-
count = 0;
|
|
33
|
-
}
|
|
34
|
-
return func.apply(void 0, arguments);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function constant(value) {
|
|
38
|
-
return function() {
|
|
39
|
-
return value;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
var baseSetToString = !defineProperty ? identity : function(func, string) {
|
|
43
|
-
return defineProperty(func, "toString", {
|
|
44
|
-
"configurable": true,
|
|
45
|
-
"enumerable": false,
|
|
46
|
-
"value": constant(string),
|
|
47
|
-
"writable": true
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
var baseSetToString$1 = baseSetToString;
|
|
51
|
-
var setToString = shortOut(baseSetToString$1);
|
|
52
|
-
var setToString$1 = setToString;
|
|
53
|
-
var nativeMax = Math.max;
|
|
54
|
-
function overRest(func, start, transform) {
|
|
55
|
-
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
56
|
-
return function() {
|
|
57
|
-
var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
|
|
58
|
-
while (++index < length) {
|
|
59
|
-
array[index] = args[start + index];
|
|
60
|
-
}
|
|
61
|
-
index = -1;
|
|
62
|
-
var otherArgs = Array(start + 1);
|
|
63
|
-
while (++index < start) {
|
|
64
|
-
otherArgs[index] = args[index];
|
|
65
|
-
}
|
|
66
|
-
otherArgs[start] = transform(array);
|
|
67
|
-
return apply(func, this, otherArgs);
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
|
|
71
|
-
function isKey(value, object) {
|
|
72
|
-
if (isArray(value)) {
|
|
73
|
-
return false;
|
|
74
|
-
}
|
|
75
|
-
var type = typeof value;
|
|
76
|
-
if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
|
|
77
|
-
return true;
|
|
78
|
-
}
|
|
79
|
-
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
80
|
-
}
|
|
81
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
82
|
-
function memoize(func, resolver) {
|
|
83
|
-
if (typeof func != "function" || resolver != null && typeof resolver != "function") {
|
|
84
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
85
|
-
}
|
|
86
|
-
var memoized = function() {
|
|
87
|
-
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
88
|
-
if (cache.has(key)) {
|
|
89
|
-
return cache.get(key);
|
|
90
|
-
}
|
|
91
|
-
var result = func.apply(this, args);
|
|
92
|
-
memoized.cache = cache.set(key, result) || cache;
|
|
93
|
-
return result;
|
|
94
|
-
};
|
|
95
|
-
memoized.cache = new (memoize.Cache || MapCache)();
|
|
96
|
-
return memoized;
|
|
97
|
-
}
|
|
98
|
-
memoize.Cache = MapCache;
|
|
99
|
-
var MAX_MEMOIZE_SIZE = 500;
|
|
100
|
-
function memoizeCapped(func) {
|
|
101
|
-
var result = memoize(func, function(key) {
|
|
102
|
-
if (cache.size === MAX_MEMOIZE_SIZE) {
|
|
103
|
-
cache.clear();
|
|
104
|
-
}
|
|
105
|
-
return key;
|
|
106
|
-
});
|
|
107
|
-
var cache = result.cache;
|
|
108
|
-
return result;
|
|
109
|
-
}
|
|
110
|
-
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
111
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
112
|
-
var stringToPath = memoizeCapped(function(string) {
|
|
113
|
-
var result = [];
|
|
114
|
-
if (string.charCodeAt(0) === 46) {
|
|
115
|
-
result.push("");
|
|
116
|
-
}
|
|
117
|
-
string.replace(rePropName, function(match, number, quote, subString) {
|
|
118
|
-
result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
|
|
119
|
-
});
|
|
120
|
-
return result;
|
|
121
|
-
});
|
|
122
|
-
var stringToPath$1 = stringToPath;
|
|
123
|
-
function castPath(value, object) {
|
|
124
|
-
if (isArray(value)) {
|
|
125
|
-
return value;
|
|
126
|
-
}
|
|
127
|
-
return isKey(value, object) ? [value] : stringToPath$1(toString(value));
|
|
128
|
-
}
|
|
129
|
-
var INFINITY = 1 / 0;
|
|
130
|
-
function toKey(value) {
|
|
131
|
-
if (typeof value == "string" || isSymbol(value)) {
|
|
132
|
-
return value;
|
|
133
|
-
}
|
|
134
|
-
var result = value + "";
|
|
135
|
-
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
|
136
|
-
}
|
|
137
|
-
function baseGet(object, path) {
|
|
138
|
-
path = castPath(path, object);
|
|
139
|
-
var index = 0, length = path.length;
|
|
140
|
-
while (object != null && index < length) {
|
|
141
|
-
object = object[toKey(path[index++])];
|
|
142
|
-
}
|
|
143
|
-
return index && index == length ? object : void 0;
|
|
144
|
-
}
|
|
145
|
-
var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
|
|
146
|
-
function isFlattenable(value) {
|
|
147
|
-
return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
148
|
-
}
|
|
149
|
-
function baseFlatten(array, depth, predicate, isStrict, result) {
|
|
150
|
-
var index = -1, length = array.length;
|
|
151
|
-
predicate || (predicate = isFlattenable);
|
|
152
|
-
result || (result = []);
|
|
153
|
-
while (++index < length) {
|
|
154
|
-
var value = array[index];
|
|
155
|
-
if (depth > 0 && predicate(value)) {
|
|
156
|
-
if (depth > 1) {
|
|
157
|
-
baseFlatten(value, depth - 1, predicate, isStrict, result);
|
|
158
|
-
} else {
|
|
159
|
-
arrayPush(result, value);
|
|
160
|
-
}
|
|
161
|
-
} else if (!isStrict) {
|
|
162
|
-
result[result.length] = value;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
return result;
|
|
166
|
-
}
|
|
167
|
-
function flatten(array) {
|
|
168
|
-
var length = array == null ? 0 : array.length;
|
|
169
|
-
return length ? baseFlatten(array, 1) : [];
|
|
170
|
-
}
|
|
171
|
-
function flatRest(func) {
|
|
172
|
-
return setToString$1(overRest(func, void 0, flatten), func + "");
|
|
173
|
-
}
|
|
1
|
+
import { c as castPath, t as toKey, b as baseGet, f as flatRest } from "./_flatRest.js";
|
|
2
|
+
import { i as isLength, a as isIndex, b as isArguments, c as isObject, d as assignValue } from "./_arrayPush.js";
|
|
3
|
+
import { i as isArray } from "./isArray.js";
|
|
174
4
|
function baseHasIn(object, key) {
|
|
175
5
|
return object != null && key in Object(object);
|
|
176
6
|
}
|