@jeecg/online 1.0.1

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 (82) hide show
  1. package/AuthButtonConfig.js +140 -0
  2. package/AuthButtonTree.js +183 -0
  3. package/AuthDataConfig.js +243 -0
  4. package/AuthDataTree.js +160 -0
  5. package/AuthFieldConfig.js +167 -0
  6. package/AuthFieldTree.js +273 -0
  7. package/AuthManagerDrawer.js +125 -0
  8. package/AuthSetterModal.js +317 -0
  9. package/CgformCopyList.js +253 -0
  10. package/CgformModal.js +748 -0
  11. package/CgreportModal.js +673 -0
  12. package/ChartAutoRender.js +69 -0
  13. package/ChartDoubleRender.js +154 -0
  14. package/ChartSingleRender.js +132 -0
  15. package/ChartTabsRender.js +218 -0
  16. package/CheckDictTable.js +121 -0
  17. package/CodeGeneratorModal.js +293 -0
  18. package/CustomButtonList.js +413 -0
  19. package/DBAttributeTable.js +278 -0
  20. package/DbToOnlineModal.js +190 -0
  21. package/EnhanceJavaModal.js +304 -0
  22. package/EnhanceJsHistory.js +231 -0
  23. package/EnhanceJsModal.js +293 -0
  24. package/EnhanceSqlModal.js +305 -0
  25. package/ErrorTip.js +21 -0
  26. package/ExtendConfigModal.js +142 -0
  27. package/FieldTable.js +185 -0
  28. package/FileSelectModal.js +102 -0
  29. package/ForeignKeyTable.js +78 -0
  30. package/FormSchemaFactory.js +938 -0
  31. package/GraphreportAutoChart.js +352 -0
  32. package/GraphreportList.js +239 -0
  33. package/GraphreportModal.js +559 -0
  34. package/IndexTable.js +96 -0
  35. package/JOnlineSearchSelect.js +107 -0
  36. package/LICENSE +7 -0
  37. package/LeftDepart.js +96 -0
  38. package/LeftRole.js +95 -0
  39. package/LeftUser.js +114 -0
  40. package/ModalFormDemo.js +84 -0
  41. package/OnlineAutoList.js +410 -0
  42. package/OnlineAutoModal.js +265 -0
  43. package/OnlineAutoTreeList.js +513 -0
  44. package/OnlineCustomModal.js +269 -0
  45. package/OnlineForm.js +809 -0
  46. package/OnlineQueryForm.js +442 -0
  47. package/OnlineSearchFormItem.js +428 -0
  48. package/OnlineSelectCascade.js +217 -0
  49. package/OnlineSubForm.js +200 -0
  50. package/OnlineSuperQuery.js +912 -0
  51. package/OnlineSuperQueryValComponent.js +8 -0
  52. package/OnlineSuperQueryValComponent.vue_vue_type_script_lang.js +172 -0
  53. package/PageAttributeTable.js +242 -0
  54. package/ParamsTable.js +71 -0
  55. package/ProcessOnlineForm.js +183 -0
  56. package/QueryTable.js +128 -0
  57. package/README.md +23 -0
  58. package/_arrayPush.js +276 -0
  59. package/auth.api.js +43 -0
  60. package/auth.data.js +144 -0
  61. package/cgform.data.js +235 -0
  62. package/cloneDeep.js +475 -0
  63. package/enhance.api.js +120 -0
  64. package/enhance.data.js +196 -0
  65. package/graphreport.api.js +23 -0
  66. package/index.js +64 -0
  67. package/index2.js +336 -0
  68. package/index3.js +799 -0
  69. package/isArray.js +47 -0
  70. package/main.index.js +6 -0
  71. package/package.json +6 -0
  72. package/pick.js +238 -0
  73. package/style.css +1 -0
  74. package/toString.js +31 -0
  75. package/useAutoForm.js +4274 -0
  76. package/useCgformList.js +353 -0
  77. package/useChartRender.js +405 -0
  78. package/useMessageOnline.js +71 -0
  79. package/useOnlineTest.js +26866 -0
  80. package/useSchemas.js +505 -0
  81. package/useTableColumns.js +1154 -0
  82. package/useTableSync.js +105 -0
@@ -0,0 +1,513 @@
1
+ var __async = (__this, __arguments, generator) => {
2
+ return new Promise((resolve, reject) => {
3
+ var fulfilled = (value) => {
4
+ try {
5
+ step(generator.next(value));
6
+ } catch (e) {
7
+ reject(e);
8
+ }
9
+ };
10
+ var rejected = (value) => {
11
+ try {
12
+ step(generator.throw(value));
13
+ } catch (e) {
14
+ reject(e);
15
+ }
16
+ };
17
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
18
+ step((generator = generator.apply(__this, __arguments)).next());
19
+ });
20
+ };
21
+ import { BasicTable, TableAction } from "/@/components/Table";
22
+ import { useMessage } from "/@/hooks/web/useMessage";
23
+ import OnlineAutoModal from "./OnlineAutoModal.js";
24
+ import OnlineCustomModal from "./OnlineCustomModal.js";
25
+ import { ref, watch, resolveComponent, openBlock, createElementBlock, createVNode, normalizeClass, withCtx, createBlock, createCommentVNode, Fragment, renderList, createTextVNode, toDisplayString, withDirectives, vShow, createElementVNode, mergeProps, toHandlers, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
26
+ import JImportModal from "/@/components/Form/src/jeecg/components/JImportModal.vue";
27
+ import { u as useOnlineTableContext, a as useListButton, b as useTableColumns } from "./useTableColumns.js";
28
+ import { u as useEnhance } from "./OnlineForm.js";
29
+ import { defHttp } from "/@/utils/http/axios";
30
+ import OnlineQueryForm from "./OnlineQueryForm.js";
31
+ import OnlineSuperQuery from "./OnlineSuperQuery.js";
32
+ import { _ as _export_sfc } from "./index.js";
33
+ import "/@/components/Modal";
34
+ import "./useAutoForm.js";
35
+ import "./FormSchemaFactory.js";
36
+ import "/@/components/Form/src/jeecg/components/JUpload";
37
+ import "/@/views/system/user/user.api";
38
+ import "/@/store/modules/user";
39
+ import "/@/utils";
40
+ import "/@/utils/desform/customExpression";
41
+ import "/@/components/Form/src/componentMap";
42
+ import "./OnlineSelectCascade.js";
43
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
44
+ import "vue-router";
45
+ import "/@/components/Form/index";
46
+ import "/@/components/Loading";
47
+ import "./OnlineSubForm.js";
48
+ import "./pick.js";
49
+ import "./isArray.js";
50
+ import "./toString.js";
51
+ import "./_arrayPush.js";
52
+ import "/@/utils/common/compUtils";
53
+ import "/@/utils/cache";
54
+ import "/@/hooks/core/onMountedOrActivated";
55
+ import "ant-design-vue";
56
+ import "/@/hooks/system/useMethods";
57
+ import "/@/utils/dict/JDictSelectUtil";
58
+ import "/@/components/Form/src/utils/Area";
59
+ import "/@/components/Preview/index";
60
+ import "./OnlineSuperQueryValComponent.vue_vue_type_script_lang.js";
61
+ import "/@/components/Form/src/helper";
62
+ import "/@/utils/is";
63
+ import "@ant-design/icons-vue";
64
+ var OnlineAutoTreeList_vue_vue_type_style_index_0_lang = "";
65
+ const _sfc_main = {
66
+ name: "DefaultOnlineList",
67
+ components: {
68
+ BasicTable,
69
+ TableAction,
70
+ OnlineAutoModal,
71
+ JImportModal,
72
+ OnlineQueryForm,
73
+ OnlineSuperQuery,
74
+ OnlineCustomModal
75
+ },
76
+ setup() {
77
+ const { createMessage: $message } = useMessage();
78
+ const onlineTreeTableRef = ref();
79
+ const {
80
+ ID,
81
+ onlineTableContext,
82
+ onlineQueryFormOuter,
83
+ loading,
84
+ reload,
85
+ dataSource,
86
+ pagination,
87
+ handleSpecialConfig,
88
+ getColumnList,
89
+ handleChangeInTable,
90
+ loadData,
91
+ superQueryButtonRef,
92
+ superQueryStatus,
93
+ handleSuperQuery,
94
+ registerCustomModal,
95
+ getTreeDataByResult,
96
+ expandedRowKeys,
97
+ handleExpandedRowsChange
98
+ } = useOnlineTableContext();
99
+ if (!ID.value) {
100
+ $message.warning("\u5730\u5740\u9519\u8BEF, \u914D\u7F6EID\u4E0D\u5B58\u5728!");
101
+ return;
102
+ }
103
+ onlineTableContext.isTree(true);
104
+ let { initCgEnhanceJs } = useEnhance(onlineTableContext);
105
+ const {
106
+ buttonSwitch,
107
+ cgLinkButtonList,
108
+ cgTopButtonList,
109
+ importUrl,
110
+ registerModal,
111
+ handleAdd,
112
+ handleEdit,
113
+ handleBatchDelete,
114
+ registerImportModal,
115
+ onImportExcel,
116
+ onExportExcel,
117
+ cgButtonJsHandler,
118
+ cgButtonActionHandler,
119
+ cgButtonLinkHandler,
120
+ handleSubmitFlow,
121
+ getDropDownActions,
122
+ getActions,
123
+ initButtonList,
124
+ initButtonSwitch
125
+ } = useListButton(onlineTableContext);
126
+ const {
127
+ columns,
128
+ actionColumn,
129
+ selectedKeys,
130
+ rowSelection,
131
+ enableScrollBar,
132
+ tableScroll,
133
+ downloadRowFile,
134
+ getImgView,
135
+ getPcaText,
136
+ getFormatDate,
137
+ handleColumnResult,
138
+ hrefComponent,
139
+ viewOnlineCellImage
140
+ } = useTableColumns(onlineTableContext);
141
+ watch(ID, () => {
142
+ initAutoList();
143
+ }, { immediate: true });
144
+ function initAutoList() {
145
+ return __async(this, null, function* () {
146
+ loading.value = true;
147
+ let columnResult = yield getColumnList();
148
+ handleTableConfig(columnResult);
149
+ yield loadData();
150
+ loading.value = false;
151
+ onlineTableContext.execButtonEnhance("setup");
152
+ });
153
+ }
154
+ function handleTableConfig(result) {
155
+ let EnhanceJS = initCgEnhanceJs(result.enhanceJs);
156
+ onlineTableContext["EnhanceJS"] = EnhanceJS;
157
+ initButtonList(result.cgButtonList);
158
+ initButtonSwitch(result.hideColumns);
159
+ handleColumnResult(result);
160
+ handleSpecialConfig(result);
161
+ onlineTableContext["hasChildrenField"] = result.hasChildrenField;
162
+ onlineTableContext["pidField"] = result.pidField;
163
+ }
164
+ function queryWithCondition(data, status) {
165
+ onlineTableContext["queryParam"] = data;
166
+ if (status === true) {
167
+ reload();
168
+ } else {
169
+ searchReset();
170
+ }
171
+ }
172
+ function onQueryFormLoaded(json) {
173
+ superQueryButtonRef.value.init(json);
174
+ }
175
+ function handleExpand(expanded, record) {
176
+ let expandedRowKeysValue = expandedRowKeys.value;
177
+ if (expanded) {
178
+ addExpandedRowKey(record.id);
179
+ if (record.children.length > 0 && record.children[0].isLoading === true) {
180
+ let hasChildrenField = onlineTableContext.hasChildrenField;
181
+ const { sortField, sortType } = onlineTableContext;
182
+ let params = Object.assign({}, { column: sortField, order: sortType });
183
+ params[onlineTableContext["pidField"]] = record.id;
184
+ params[hasChildrenField] = record[hasChildrenField];
185
+ let url = `${onlineTableContext.onlineUrl.getTreeData}${onlineTableContext.ID}`;
186
+ defHttp.get({ url, params }, { isTransformResponse: false }).then((res) => {
187
+ console.log("handleExpand", res.result);
188
+ if (res.success) {
189
+ if (Number(res.result.total) > 0) {
190
+ record.children = getTreeDataByResult(res.result.records);
191
+ } else {
192
+ record.children = "";
193
+ record.hasChildrenField = "0";
194
+ }
195
+ } else {
196
+ $message.warning(res.message);
197
+ }
198
+ }).catch(() => {
199
+ $message.warning("\u52A0\u8F7D\u5B50\u8282\u70B9\u5931\u8D25!");
200
+ });
201
+ }
202
+ } else {
203
+ let keyIndex = expandedRowKeysValue.indexOf(record.id);
204
+ if (keyIndex >= 0) {
205
+ expandedRowKeys.value = expandedRowKeysValue.splice(keyIndex, 1);
206
+ }
207
+ }
208
+ }
209
+ function addExpandedRowKey(key) {
210
+ let arr = expandedRowKeys.value;
211
+ if (arr && arr.indexOf(key) < 0) {
212
+ arr.push(key);
213
+ }
214
+ expandedRowKeys.value = arr;
215
+ }
216
+ function searchReset() {
217
+ return __async(this, null, function* () {
218
+ if (onlineTableContext.isTree() === true) {
219
+ expandedRowKeys.value = [];
220
+ onlineTreeTableRef.value.collapseAll();
221
+ }
222
+ reload();
223
+ });
224
+ }
225
+ function handlerFormSuccess(formData) {
226
+ console.log("expandedRowKeys.value", expandedRowKeys.value);
227
+ if (loadParent.value === true) {
228
+ let pid = formData[onlineTableContext.pidField];
229
+ if (pid) {
230
+ let arr = expandedRowKeys.value;
231
+ if (arr.indexOf(pid) < 0) {
232
+ arr.push(pid);
233
+ }
234
+ expandedRowKeys.value = arr;
235
+ }
236
+ }
237
+ reload();
238
+ }
239
+ const addChildButton = (record) => {
240
+ return {
241
+ label: "\u6DFB\u52A0\u5B50\u8282\u70B9",
242
+ onClick: handleAddChild.bind(null, record)
243
+ };
244
+ };
245
+ const loadParent = ref(false);
246
+ function handleAddChild(record) {
247
+ loadParent.value = true;
248
+ let param = {
249
+ [onlineTableContext.pidField]: record["id"]
250
+ };
251
+ handleAdd(param);
252
+ }
253
+ function getTreeDropDownActions(record) {
254
+ let arr = getDropDownActions(record);
255
+ arr.unshift(addChildButton(record));
256
+ return arr;
257
+ }
258
+ const that = {
259
+ ID,
260
+ onlineQueryFormOuter,
261
+ queryWithCondition,
262
+ onQueryFormLoaded,
263
+ reload,
264
+ superQueryButtonRef,
265
+ superQueryStatus,
266
+ handleSuperQuery,
267
+ loading,
268
+ columns,
269
+ actionColumn,
270
+ dataSource,
271
+ pagination,
272
+ rowSelection,
273
+ selectedKeys,
274
+ tableScroll,
275
+ enableScrollBar,
276
+ handleChangeInTable,
277
+ buttonSwitch,
278
+ handleAdd,
279
+ handleEdit,
280
+ onImportExcel,
281
+ onExportExcel,
282
+ cgTopButtonList,
283
+ cgLinkButtonList,
284
+ cgButtonJsHandler,
285
+ cgButtonActionHandler,
286
+ cgButtonLinkHandler,
287
+ handleBatchDelete,
288
+ downloadRowFile,
289
+ getImgView,
290
+ getPcaText,
291
+ getFormatDate,
292
+ getActions,
293
+ getTreeDropDownActions,
294
+ registerModal,
295
+ registerCustomModal,
296
+ registerImportModal,
297
+ importUrl,
298
+ handleSubmitFlow,
299
+ hrefComponent,
300
+ viewOnlineCellImage,
301
+ onlineTreeTableRef,
302
+ handlerFormSuccess,
303
+ searchReset,
304
+ handleExpand,
305
+ expandedRowKeys,
306
+ handleExpandedRowsChange
307
+ };
308
+ return that;
309
+ }
310
+ };
311
+ const _hoisted_1 = { class: "p-2" };
312
+ const _hoisted_2 = /* @__PURE__ */ createTextVNode("\u65B0\u589E");
313
+ const _hoisted_3 = /* @__PURE__ */ createTextVNode("\u5BFC\u5165");
314
+ const _hoisted_4 = /* @__PURE__ */ createTextVNode(" \u5BFC\u51FA");
315
+ const _hoisted_5 = /* @__PURE__ */ createTextVNode(" \u6279\u91CF\u5220\u9664");
316
+ const _hoisted_6 = {
317
+ key: 0,
318
+ style: { "font-size": "12px", "font-style": "italic" }
319
+ };
320
+ const _hoisted_7 = /* @__PURE__ */ createTextVNode(" \u4E0B\u8F7D ");
321
+ const _hoisted_8 = {
322
+ key: 0,
323
+ style: { "font-size": "12px", "font-style": "italic" }
324
+ };
325
+ const _hoisted_9 = ["src", "onClick"];
326
+ const _hoisted_10 = ["innerHTML"];
327
+ const _hoisted_11 = ["title"];
328
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
329
+ const _component_online_query_form = resolveComponent("online-query-form");
330
+ const _component_a_button = resolveComponent("a-button");
331
+ const _component_online_super_query = resolveComponent("online-super-query");
332
+ const _component_TableAction = resolveComponent("TableAction");
333
+ const _component_BasicTable = resolveComponent("BasicTable");
334
+ const _component_OnlineAutoModal = resolveComponent("OnlineAutoModal");
335
+ const _component_JImportModal = resolveComponent("JImportModal");
336
+ const _component_a_modal = resolveComponent("a-modal");
337
+ const _component_online_custom_modal = resolveComponent("online-custom-modal");
338
+ return openBlock(), createElementBlock("div", _hoisted_1, [
339
+ createVNode(_component_online_query_form, {
340
+ ref: "onlineQueryFormOuter",
341
+ id: _ctx.ID,
342
+ onSearch: _ctx.queryWithCondition,
343
+ onLoaded: _ctx.onQueryFormLoaded
344
+ }, null, 8, ["id", "onSearch", "onLoaded"]),
345
+ createVNode(_component_BasicTable, {
346
+ ref: "onlineTreeTableRef",
347
+ isTreeTable: true,
348
+ expandedRowKeys: _ctx.expandedRowKeys,
349
+ onExpandedRowsChange: _ctx.handleExpandedRowsChange,
350
+ onExpand: _ctx.handleExpand,
351
+ rowKey: "jeecg_row_key",
352
+ canResize: true,
353
+ bordered: true,
354
+ showIndexColumn: false,
355
+ loading: _ctx.loading,
356
+ columns: _ctx.columns,
357
+ dataSource: _ctx.dataSource,
358
+ pagination: _ctx.pagination,
359
+ rowSelection: _ctx.rowSelection,
360
+ actionColumn: _ctx.actionColumn,
361
+ showTableSetting: true,
362
+ clickToRowSelect: false,
363
+ scroll: _ctx.tableScroll,
364
+ onTableRedo: _ctx.reload,
365
+ class: normalizeClass({ "j-table-force-nowrap": _ctx.enableScrollBar }),
366
+ onChange: _ctx.handleChangeInTable
367
+ }, {
368
+ tableTitle: withCtx(() => [
369
+ _ctx.buttonSwitch.add ? (openBlock(), createBlock(_component_a_button, {
370
+ key: 0,
371
+ preIcon: "ant-design:plus-outlined",
372
+ type: "primary",
373
+ onClick: _ctx.handleAdd
374
+ }, {
375
+ default: withCtx(() => [
376
+ _hoisted_2
377
+ ]),
378
+ _: 1
379
+ }, 8, ["onClick"])) : createCommentVNode("", true),
380
+ _ctx.buttonSwitch.import ? (openBlock(), createBlock(_component_a_button, {
381
+ key: 1,
382
+ preIcon: "ant-design:import-outlined",
383
+ type: "primary",
384
+ onClick: _ctx.onImportExcel
385
+ }, {
386
+ default: withCtx(() => [
387
+ _hoisted_3
388
+ ]),
389
+ _: 1
390
+ }, 8, ["onClick"])) : createCommentVNode("", true),
391
+ _ctx.buttonSwitch.export ? (openBlock(), createBlock(_component_a_button, {
392
+ key: 2,
393
+ preIcon: "ant-design:export-outlined",
394
+ type: "primary",
395
+ onClick: _ctx.onExportExcel
396
+ }, {
397
+ default: withCtx(() => [
398
+ _hoisted_4
399
+ ]),
400
+ _: 1
401
+ }, 8, ["onClick"])) : createCommentVNode("", true),
402
+ _ctx.cgTopButtonList && _ctx.cgTopButtonList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(_ctx.cgTopButtonList, (item, index) => {
403
+ return openBlock(), createElementBlock(Fragment, null, [
404
+ item.optType == "js" ? (openBlock(), createBlock(_component_a_button, {
405
+ key: "cgbtn" + index,
406
+ onClick: ($event) => _ctx.cgButtonJsHandler(item.buttonCode),
407
+ type: "primary",
408
+ preIcon: item.buttonIcon ? "ant-design:" + item.buttonIcon : ""
409
+ }, {
410
+ default: withCtx(() => [
411
+ createTextVNode(toDisplayString(item.buttonName), 1)
412
+ ]),
413
+ _: 2
414
+ }, 1032, ["onClick", "preIcon"])) : item.optType == "action" ? (openBlock(), createBlock(_component_a_button, {
415
+ key: "cgbtn" + index,
416
+ onClick: ($event) => _ctx.cgButtonActionHandler(item.buttonCode),
417
+ type: "primary",
418
+ preIcon: item.buttonIcon ? "ant-design:" + item.buttonIcon : ""
419
+ }, {
420
+ default: withCtx(() => [
421
+ createTextVNode(toDisplayString(item.buttonName), 1)
422
+ ]),
423
+ _: 2
424
+ }, 1032, ["onClick", "preIcon"])) : createCommentVNode("", true)
425
+ ], 64);
426
+ }), 256)) : createCommentVNode("", true),
427
+ _ctx.buttonSwitch.batch_delete ? withDirectives((openBlock(), createBlock(_component_a_button, {
428
+ key: 4,
429
+ preIcon: "ant-design:delete-outlined",
430
+ onClick: _ctx.handleBatchDelete
431
+ }, {
432
+ default: withCtx(() => [
433
+ _hoisted_5
434
+ ]),
435
+ _: 1
436
+ }, 8, ["onClick"])), [
437
+ [vShow, _ctx.selectedKeys.length > 0]
438
+ ]) : createCommentVNode("", true),
439
+ _ctx.buttonSwitch.super_query ? (openBlock(), createBlock(_component_online_super_query, {
440
+ key: 5,
441
+ ref: "superQueryButtonRef",
442
+ status: _ctx.superQueryStatus,
443
+ onSearch: _ctx.handleSuperQuery
444
+ }, null, 8, ["status", "onSearch"])) : createCommentVNode("", true)
445
+ ]),
446
+ fileSlot: withCtx(({ text }) => [
447
+ !text ? (openBlock(), createElementBlock("span", _hoisted_6, "\u65E0\u6587\u4EF6")) : (openBlock(), createBlock(_component_a_button, {
448
+ key: 1,
449
+ ghost: true,
450
+ type: "primary",
451
+ preIcon: "ant-design:download",
452
+ size: "small",
453
+ onClick: ($event) => _ctx.downloadRowFile(text)
454
+ }, {
455
+ default: withCtx(() => [
456
+ _hoisted_7
457
+ ]),
458
+ _: 2
459
+ }, 1032, ["onClick"]))
460
+ ]),
461
+ imgSlot: withCtx(({ text }) => [
462
+ !text ? (openBlock(), createElementBlock("span", _hoisted_8, "\u65E0\u56FE\u7247")) : (openBlock(), createElementBlock("img", {
463
+ key: 1,
464
+ src: _ctx.getImgView(text),
465
+ alt: "\u56FE\u7247\u4E0D\u5B58\u5728",
466
+ class: "online-cell-image",
467
+ onClick: ($event) => _ctx.viewOnlineCellImage(text)
468
+ }, null, 8, _hoisted_9))
469
+ ]),
470
+ htmlSlot: withCtx(({ text }) => [
471
+ createElementVNode("div", { innerHTML: text }, null, 8, _hoisted_10)
472
+ ]),
473
+ pcaSlot: withCtx(({ text }) => [
474
+ createElementVNode("div", {
475
+ title: _ctx.getPcaText(text)
476
+ }, toDisplayString(_ctx.getPcaText(text)), 9, _hoisted_11)
477
+ ]),
478
+ dateSlot: withCtx(({ text }) => [
479
+ createElementVNode("span", null, toDisplayString(_ctx.getFormatDate(text)), 1)
480
+ ]),
481
+ action: withCtx(({ record }) => [
482
+ createVNode(_component_TableAction, {
483
+ actions: _ctx.getActions(record),
484
+ dropDownActions: _ctx.getTreeDropDownActions(record)
485
+ }, null, 8, ["actions", "dropDownActions"])
486
+ ]),
487
+ _: 1
488
+ }, 8, ["expandedRowKeys", "onExpandedRowsChange", "onExpand", "loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"]),
489
+ createVNode(_component_OnlineAutoModal, {
490
+ id: _ctx.ID,
491
+ onRegister: _ctx.registerModal,
492
+ onSuccess: _ctx.handlerFormSuccess
493
+ }, null, 8, ["id", "onRegister", "onSuccess"]),
494
+ createVNode(_component_JImportModal, {
495
+ onRegister: _ctx.registerImportModal,
496
+ url: _ctx.importUrl(),
497
+ onOk: _ctx.reload,
498
+ online: ""
499
+ }, null, 8, ["onRegister", "url", "onOk"]),
500
+ createVNode(_component_a_modal, mergeProps(_ctx.hrefComponent.model, toHandlers(_ctx.hrefComponent.on)), {
501
+ default: withCtx(() => [
502
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.hrefComponent.is), normalizeProps(guardReactiveProps(_ctx.hrefComponent.params)), null, 16))
503
+ ]),
504
+ _: 1
505
+ }, 16),
506
+ createVNode(_component_online_custom_modal, {
507
+ onRegister: _ctx.registerCustomModal,
508
+ onSuccess: _ctx.reload
509
+ }, null, 8, ["onRegister", "onSuccess"])
510
+ ]);
511
+ }
512
+ var OnlineAutoTreeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
513
+ export { OnlineAutoTreeList as default };