@jeecg/online 3.6.2-GA → 3.7.0-beta
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/AiModal-fe3988fb.mjs +84 -0
- package/AuthButtonConfig-d50a0a65.mjs +134 -0
- package/{AuthButtonTree-c2602a7c.mjs → AuthButtonTree-589395ed.mjs} +2 -2
- package/AuthDataConfig-7bb0cd85.mjs +237 -0
- package/{AuthDataTree-9dc58b20.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
- package/AuthFieldConfig-490fc0ab.mjs +139 -0
- package/{AuthFieldTree-d836be59.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
- package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
- package/AuthSetterModal-6f74449c.mjs +273 -0
- package/{CgformCopyList-86157923.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
- package/{CgformModal-5cf02d51.mjs → CgformModal-36faf29a.mjs} +256 -246
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs → CgreportModal-5a23d089.mjs} +140 -117
- package/CheckDictTable-b5cb0e2b.mjs +226 -0
- package/{CodeFileListModal-f747daae.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
- package/{CodeFileViewModal-a9fb2900.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
- package/CodeGeneratorModal-b722d976.mjs +238 -0
- package/{CustomButtonList-b9b27a93.mjs → CustomButtonList-37639061.mjs} +118 -100
- package/{DBAttributeTable-6bdcb1e8.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
- package/{DbToOnlineModal-3705e91a.mjs → DbToOnlineModal-f49b9530.mjs} +56 -50
- package/DetailForm-4aa2570b.mjs +485 -0
- package/{EnhanceJavaModal-c13de6e0.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
- package/{EnhanceJsHistory-154101f0.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
- package/EnhanceJsModal-247f640d.mjs +532 -0
- package/{EnhanceSqlModal-221c22dc.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
- package/ExtendConfigModal-00f2fb55.mjs +117 -0
- package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
- package/{FileSelectModal-de40a706.mjs → FileSelectModal-38660e3c.mjs} +1 -1
- package/{ForeignKeyTable-22989042.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
- package/{IndexTable-833d34ff.mjs → IndexTable-1b496559.mjs} +10 -10
- package/{JModalTip-0413ad6a.mjs → JModalTip-4a83aaed.mjs} +1 -1
- package/{JOnlineSearchSelect-9ea89e13.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
- package/{LeftDepart-b0a535c0.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
- package/{LeftRole-22c90d6b.mjs → LeftRole-7d8c5acc.mjs} +1 -1
- package/{LeftUser-a44d63dd.mjs → LeftUser-b4d1372a.mjs} +3 -3
- package/LinkTableConfigModal-a138c85e.mjs +240 -0
- package/{LinkTableFieldConfigModal-06693eaa.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
- package/{LinkTableListPiece-46e8af51.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
- package/{ModalFormDemo-d107fa87.mjs → ModalFormDemo-0544737d.mjs} +1 -1
- package/OnlCgformErpList-30e416c8.mjs +470 -0
- package/OnlCgformErpSubTable-9a876058.mjs +427 -0
- package/OnlCgformInnerSubTable-290ace5d.mjs +266 -0
- package/OnlCgformInnerTableList-f89b6687.mjs +458 -0
- package/OnlCgformTabList-7a2f2c03.mjs +408 -0
- package/OnlineAutoList-46c6c8b9.mjs +493 -0
- package/OnlineAutoModal-971bef13.mjs +236 -0
- package/{OnlineAutoTreeList-ec27d271.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
- package/{OnlineCustomModal-3e6792d3.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
- package/{OnlineDetailModal-f40e37e1.mjs → OnlineDetailModal-2a271e0b.mjs} +74 -64
- package/OnlineForm-018981b2.mjs +924 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-e036cd11.mjs +342 -0
- package/OnlineFormUrlAdd-7fb3dcca.mjs +115 -0
- package/OnlineFormUrlDetail-b2292137.mjs +119 -0
- package/OnlineFormUrlEdit-44080fb3.mjs +113 -0
- package/OnlineFormUrlSuccess-af285b02.mjs +59 -0
- package/OnlineQueryForm-998c12a4.mjs +444 -0
- package/{OnlineSearchFormItem-fe308194.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
- package/{OnlineSelectCascade-abc345f9.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
- package/{OnlineSubFormDetail-02326a8c.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
- package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
- package/{OnlineTabDetailModal-d23bd4c9.mjs → OnlineTabDetailModal-88143301.mjs} +22 -20
- package/OnlineTabForm-9ad7d29a.mjs +805 -0
- package/OnlineTabFormDetail-bbf23caa.mjs +327 -0
- package/PageAttributeTable-6c23547b.mjs +446 -0
- package/{ProcessOnlineForm-84f4d02d.mjs → ProcessOnlineForm-b42198f5.mjs} +32 -28
- package/QueryTable-96b3dbd0.mjs +144 -0
- package/SetSwitchOptions-a452fa0f.mjs +62 -0
- package/SuperQuery-cbfba908.mjs +975 -0
- package/{auth.data-8be5c9e3.mjs → auth.data-22948e87.mjs} +56 -14
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-3304d553.mjs} +3 -3
- package/index-173949bb.mjs +57 -0
- package/{index-0a93652b.mjs → index-581bef24.mjs} +29 -27
- package/{index-e1bda35b.mjs → index-d2abb8a0.mjs} +394 -361
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-8755a94e.mjs +426 -0
- package/useExtendComponent-bb7cca20.mjs +4295 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-7ddb9a46.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-47e45edc.mjs} +167 -86
- package/{useTableSync-774c3774.mjs → useTableSync-f6089e8a.mjs} +1 -1
- package/AuthButtonConfig-f142147a.mjs +0 -125
- package/AuthDataConfig-8e5c7b0c.mjs +0 -212
- package/AuthFieldConfig-e9a45f94.mjs +0 -139
- package/AuthManagerDrawer-5b558c23.mjs +0 -114
- package/AuthSetterModal-0cc557cf.mjs +0 -267
- package/CgreportModal-2eb9c9e1.mjs +0 -13
- package/CheckDictTable-27102064.mjs +0 -211
- package/CodeGeneratorModal-3a0e9f0e.mjs +0 -233
- package/DetailForm-cdeb54e3.mjs +0 -462
- package/EnhanceJsModal-6158804c.mjs +0 -311
- package/ExtendConfigModal-0564ef83.mjs +0 -111
- package/FieldExtendJsonModal-40d961c1.mjs +0 -219
- package/LinkTableConfigModal-5edaa08d.mjs +0 -230
- package/OnlCgformErpList-4c51cdb3.mjs +0 -454
- package/OnlCgformErpSubTable-d7081b9f.mjs +0 -403
- package/OnlCgformInnerSubTable-4c3925bb.mjs +0 -253
- package/OnlCgformInnerTableList-1e5014fa.mjs +0 -444
- package/OnlCgformTabList-c59c7cc7.mjs +0 -395
- package/OnlineAutoList-a7a9de5d.mjs +0 -479
- package/OnlineAutoModal-a33f1a63.mjs +0 -207
- package/OnlineForm-fb3a2379.mjs +0 -750
- package/OnlineFormDetail-52b1c303.mjs +0 -297
- package/OnlineQueryForm-7c70734e.mjs +0 -386
- package/OnlineTabAutoModal-6d9da8b0.mjs +0 -254
- package/OnlineTabForm-29ca07f7.mjs +0 -766
- package/OnlineTabFormDetail-aa7e1144.mjs +0 -324
- package/PageAttributeTable-d82946c5.mjs +0 -404
- package/QueryTable-d4599fca.mjs +0 -115
- package/SuperQuery-07162778.mjs +0 -843
- package/constant-754f1a9d.mjs +0 -9
- package/index-73993b18.mjs +0 -56
- package/useCgformList-b135794d.mjs +0 -400
- package/useExtendComponent-f4e29152.mjs +0 -3926
- package/useListButton-4dd33e7a.mjs +0 -676
|
@@ -1,53 +1,56 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { BasicTable as
|
|
3
|
-
import { C as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
1
|
+
import { ref as D, onMounted as zt, defineComponent as Wt, resolveComponent as S, openBlock as tt, createElementBlock as ut, Fragment as Yt, createElementVNode as ft, normalizeClass as q, createVNode as y, mergeProps as Kt, withCtx as j, createTextVNode as O, createBlock as Xt, createCommentVNode as pt } from "vue";
|
|
2
|
+
import { BasicTable as Qt, TableAction as Ut } from "/@/components/Table";
|
|
3
|
+
import { C as Zt } from "./CgformModal-36faf29a.mjs";
|
|
4
|
+
import te from "./DbToOnlineModal-f49b9530.mjs";
|
|
5
|
+
import ee from "./CodeGeneratorModal-b722d976.mjs";
|
|
6
|
+
import ne from "./CustomButtonList-37639061.mjs";
|
|
7
|
+
import oe from "./EnhanceJsModal-247f640d.mjs";
|
|
8
|
+
import ie from "./EnhanceJavaModal-98934198.mjs";
|
|
9
|
+
import re from "./EnhanceSqlModal-65b74b0f.mjs";
|
|
10
|
+
import se from "./AuthManagerDrawer-5e2ed5ce.mjs";
|
|
11
|
+
import ae from "./AuthSetterModal-6f74449c.mjs";
|
|
12
|
+
import le from "./AiModal-fe3988fb.mjs";
|
|
13
|
+
import { u as ce, C as ue } from "./useCgformList-8755a94e.mjs";
|
|
14
|
+
import { c as pe, s as de } from "./cgform.data-475d4984.mjs";
|
|
15
|
+
import { useDesign as he } from "/@/hooks/web/useDesign";
|
|
16
|
+
import { _ as me } from "./index-173949bb.mjs";
|
|
16
17
|
import "/@/components/Icon";
|
|
17
18
|
import "/@/components/Modal";
|
|
18
19
|
import "/@/components/Form/index";
|
|
19
20
|
import "/@/hooks/web/useMessage";
|
|
20
|
-
import "./useSchemas-
|
|
21
|
+
import "./useSchemas-47e45edc.mjs";
|
|
21
22
|
import "ant-design-vue";
|
|
22
23
|
import "@ant-design/icons-vue";
|
|
23
24
|
import "/@/utils/common/compUtils";
|
|
24
25
|
import "/@/hooks/web/usePermission";
|
|
25
26
|
import "/@/utils/helper/validator";
|
|
26
|
-
import "./DBAttributeTable-
|
|
27
|
+
import "./DBAttributeTable-95dc66c1.mjs";
|
|
27
28
|
import "/@/components/jeecg/JVxeTable/types";
|
|
28
|
-
import "./useTableSync-
|
|
29
|
+
import "./useTableSync-f6089e8a.mjs";
|
|
29
30
|
import "lodash-es";
|
|
30
31
|
import "/@/utils/dict";
|
|
31
32
|
import "/@/utils/dict/JDictSelectUtil";
|
|
32
33
|
import "/@/utils/uuid";
|
|
33
34
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
34
35
|
import "vue-router";
|
|
35
|
-
import "./PageAttributeTable-
|
|
36
|
-
import "./LinkTableConfigModal-
|
|
36
|
+
import "./PageAttributeTable-6c23547b.mjs";
|
|
37
|
+
import "./LinkTableConfigModal-a138c85e.mjs";
|
|
37
38
|
import "/@/utils/http/axios";
|
|
38
|
-
import "./LinkTableFieldConfigModal-
|
|
39
|
-
import "./FieldExtendJsonModal-
|
|
40
|
-
import "./
|
|
41
|
-
import "
|
|
39
|
+
import "./LinkTableFieldConfigModal-17b413b0.mjs";
|
|
40
|
+
import "./FieldExtendJsonModal-cc7fce26.mjs";
|
|
41
|
+
import "./SetSwitchOptions-a452fa0f.mjs";
|
|
42
|
+
import "/@/utils/is";
|
|
43
|
+
import "./constant-fa63bd66.mjs";
|
|
44
|
+
import "./CheckDictTable-b5cb0e2b.mjs";
|
|
42
45
|
import "/@/components/jeecg/JPrompt";
|
|
43
|
-
import "./ForeignKeyTable-
|
|
44
|
-
import "./IndexTable-
|
|
45
|
-
import "./QueryTable-
|
|
46
|
-
import "./ExtendConfigModal-
|
|
46
|
+
import "./ForeignKeyTable-a78cb5ad.mjs";
|
|
47
|
+
import "./IndexTable-1b496559.mjs";
|
|
48
|
+
import "./QueryTable-96b3dbd0.mjs";
|
|
49
|
+
import "./ExtendConfigModal-00f2fb55.mjs";
|
|
47
50
|
import "/@/components/Form";
|
|
48
51
|
import "./useOnlineTest-e4bd8be3.mjs";
|
|
49
52
|
import "/@/utils";
|
|
50
|
-
import "./useExtendComponent-
|
|
53
|
+
import "./useExtendComponent-bb7cca20.mjs";
|
|
51
54
|
import "/@/components/Form/src/componentMap";
|
|
52
55
|
import "/@/utils/propTypes";
|
|
53
56
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
@@ -58,38 +61,38 @@ import "/@/store/modules/permission";
|
|
|
58
61
|
import "/@/hooks/system/useListPage";
|
|
59
62
|
import "/@/components/Form/src/utils/Area";
|
|
60
63
|
import "/@/components/Preview/index";
|
|
61
|
-
import "./LinkTableListPiece-
|
|
62
|
-
import "./OnlineSelectCascade-abc345f9.mjs";
|
|
63
|
-
import "/@/components/Loading";
|
|
64
|
+
import "./LinkTableListPiece-2660d709.mjs";
|
|
64
65
|
import "/@/utils/auth";
|
|
65
|
-
import "
|
|
66
|
+
import "/@/api/common/api";
|
|
66
67
|
import "/@/hooks/web/useAppInject";
|
|
68
|
+
import "/@/assets/images/placeholderImage.png";
|
|
69
|
+
import "./OnlineSelectCascade-471fcc76.mjs";
|
|
70
|
+
import "/@/components/Loading";
|
|
71
|
+
import "./JModalTip-4a83aaed.mjs";
|
|
67
72
|
import "@vueuse/core";
|
|
68
|
-
import "./CodeFileListModal-
|
|
69
|
-
import "./CodeFileViewModal-
|
|
73
|
+
import "./CodeFileListModal-0e26b7e0.mjs";
|
|
74
|
+
import "./CodeFileViewModal-9d4a5b5f.mjs";
|
|
70
75
|
import "/@/utils/file/download";
|
|
71
|
-
import "./FileSelectModal-
|
|
72
|
-
import "./EnhanceJsHistory-
|
|
76
|
+
import "./FileSelectModal-38660e3c.mjs";
|
|
77
|
+
import "./EnhanceJsHistory-9c4acdaf.mjs";
|
|
73
78
|
import "/@/utils/dateUtil";
|
|
74
79
|
import "/@/store";
|
|
75
80
|
import "pinia";
|
|
76
81
|
import "/@/utils/cache";
|
|
77
82
|
import "./enhance.api-138e6826.mjs";
|
|
78
|
-
import "
|
|
79
|
-
import "./enhance.data-efc7e155.mjs";
|
|
83
|
+
import "./enhance.data-3304d553.mjs";
|
|
80
84
|
import "/@/components/Drawer";
|
|
81
|
-
import "./AuthFieldConfig-
|
|
85
|
+
import "./AuthFieldConfig-490fc0ab.mjs";
|
|
82
86
|
import "./auth.api-d3a6c4b3.mjs";
|
|
83
|
-
import "./auth.data-
|
|
84
|
-
import "./AuthButtonConfig-
|
|
85
|
-
import "./AuthDataConfig-
|
|
86
|
-
import "./LeftRole-
|
|
87
|
-
import "./LeftDepart-
|
|
88
|
-
import "
|
|
89
|
-
import "./
|
|
90
|
-
import "./
|
|
91
|
-
import "./
|
|
92
|
-
import "./AuthDataTree-9dc58b20.mjs";
|
|
87
|
+
import "./auth.data-22948e87.mjs";
|
|
88
|
+
import "./AuthButtonConfig-d50a0a65.mjs";
|
|
89
|
+
import "./AuthDataConfig-7bb0cd85.mjs";
|
|
90
|
+
import "./LeftRole-7d8c5acc.mjs";
|
|
91
|
+
import "./LeftDepart-8ade4bf7.mjs";
|
|
92
|
+
import "./LeftUser-b4d1372a.mjs";
|
|
93
|
+
import "./AuthFieldTree-b7cd091e.mjs";
|
|
94
|
+
import "./AuthButtonTree-589395ed.mjs";
|
|
95
|
+
import "./AuthDataTree-6e3bb86f.mjs";
|
|
93
96
|
import "clipboard";
|
|
94
97
|
import "./cgformState-d9f8ec42.mjs";
|
|
95
98
|
/*!
|
|
@@ -110,24 +113,24 @@ function it(t) {
|
|
|
110
113
|
}
|
|
111
114
|
function f(t, e, n, o) {
|
|
112
115
|
return new (n || (n = Promise))(function(i, r) {
|
|
113
|
-
function s(
|
|
116
|
+
function s(p) {
|
|
114
117
|
try {
|
|
115
|
-
c(o.next(
|
|
118
|
+
c(o.next(p));
|
|
116
119
|
} catch (l) {
|
|
117
120
|
r(l);
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
|
-
function a(
|
|
123
|
+
function a(p) {
|
|
121
124
|
try {
|
|
122
|
-
c(o.throw(
|
|
125
|
+
c(o.throw(p));
|
|
123
126
|
} catch (l) {
|
|
124
127
|
r(l);
|
|
125
128
|
}
|
|
126
129
|
}
|
|
127
|
-
function c(
|
|
130
|
+
function c(p) {
|
|
128
131
|
var l;
|
|
129
|
-
|
|
130
|
-
|
|
132
|
+
p.done ? i(p.value) : (l = p.value, l instanceof n ? l : new n(function(u) {
|
|
133
|
+
u(l);
|
|
131
134
|
})).then(s, a);
|
|
132
135
|
}
|
|
133
136
|
c((o = o.apply(t, e || [])).next());
|
|
@@ -143,7 +146,7 @@ function g(t, e) {
|
|
|
143
146
|
return this;
|
|
144
147
|
}), r;
|
|
145
148
|
function a(c) {
|
|
146
|
-
return function(
|
|
149
|
+
return function(p) {
|
|
147
150
|
return function(l) {
|
|
148
151
|
if (n)
|
|
149
152
|
throw new TypeError("Generator is already executing.");
|
|
@@ -185,15 +188,15 @@ function g(t, e) {
|
|
|
185
188
|
continue;
|
|
186
189
|
}
|
|
187
190
|
l = e.call(t, s);
|
|
188
|
-
} catch (
|
|
189
|
-
l = [6,
|
|
191
|
+
} catch (u) {
|
|
192
|
+
l = [6, u], o = 0;
|
|
190
193
|
} finally {
|
|
191
194
|
n = i = 0;
|
|
192
195
|
}
|
|
193
196
|
if (5 & l[0])
|
|
194
197
|
throw l[1];
|
|
195
198
|
return { value: l[0] ? l[1] : void 0, done: !0 };
|
|
196
|
-
}([c,
|
|
199
|
+
}([c, p]);
|
|
197
200
|
};
|
|
198
201
|
}
|
|
199
202
|
}
|
|
@@ -215,7 +218,7 @@ function Et(t) {
|
|
|
215
218
|
}), e)[t];
|
|
216
219
|
var e;
|
|
217
220
|
}
|
|
218
|
-
function
|
|
221
|
+
function fe(t, e) {
|
|
219
222
|
e ? wt(t._options.dontShowAgainCookie, "true", t._options.dontShowAgainCookieDays) : wt(t._options.dontShowAgainCookie, "", -1);
|
|
220
223
|
}
|
|
221
224
|
var et, ht = (et = {}, function(t, e) {
|
|
@@ -235,7 +238,7 @@ var et, ht = (et = {}, function(t, e) {
|
|
|
235
238
|
var s = this._id(n, o, i), a = e[this.events_key] && e[this.events_key][s];
|
|
236
239
|
a && ("removeEventListener" in e ? e.removeEventListener(n, a, r) : "detachEvent" in e && e.detachEvent("on".concat(n), a), e[this.events_key][s] = null);
|
|
237
240
|
}, t;
|
|
238
|
-
}())(),
|
|
241
|
+
}())(), _ = function(t) {
|
|
239
242
|
return typeof t == "function";
|
|
240
243
|
};
|
|
241
244
|
function I(t, e) {
|
|
@@ -284,18 +287,18 @@ function St(t, e, n, o, i) {
|
|
|
284
287
|
r.bottom - (r.bottom - r.top) < 0 || o.clientHeight > s ? window.scrollBy(0, r.top - (s / 2 - r.height / 2) - n) : window.scrollBy(0, r.top - (s / 2 - r.height / 2) + n);
|
|
285
288
|
}
|
|
286
289
|
}
|
|
287
|
-
function
|
|
290
|
+
function U(t) {
|
|
288
291
|
t.setAttribute("role", "button"), t.tabIndex = 0;
|
|
289
292
|
}
|
|
290
293
|
function at(t) {
|
|
291
294
|
var e = t.parentElement;
|
|
292
295
|
return !(!e || e.nodeName === "HTML") && (gt(t, "position") === "fixed" || at(e));
|
|
293
296
|
}
|
|
294
|
-
function
|
|
297
|
+
function Y(t, e) {
|
|
295
298
|
var n = document.body, o = document.documentElement, i = window.pageYOffset || o.scrollTop || n.scrollTop, r = window.pageXOffset || o.scrollLeft || n.scrollLeft;
|
|
296
299
|
e = e || n;
|
|
297
|
-
var s = t.getBoundingClientRect(), a = e.getBoundingClientRect(), c = gt(e, "position"),
|
|
298
|
-
return e.tagName.toLowerCase() !== "body" && c === "relative" || c === "sticky" ? Object.assign(
|
|
300
|
+
var s = t.getBoundingClientRect(), a = e.getBoundingClientRect(), c = gt(e, "position"), p = { width: s.width, height: s.height };
|
|
301
|
+
return e.tagName.toLowerCase() !== "body" && c === "relative" || c === "sticky" ? Object.assign(p, { top: s.top - a.top, left: s.left - a.left }) : at(t) ? Object.assign(p, { top: s.top, left: s.left }) : Object.assign(p, { top: s.top + i, left: s.left + r });
|
|
299
302
|
}
|
|
300
303
|
function vt(t, e) {
|
|
301
304
|
if (t instanceof SVGElement) {
|
|
@@ -304,7 +307,7 @@ function vt(t, e) {
|
|
|
304
307
|
} else
|
|
305
308
|
t.className = t.className.replace(e, "").replace(/^\s+|\s+$/g, "");
|
|
306
309
|
}
|
|
307
|
-
function
|
|
310
|
+
function H(t, e) {
|
|
308
311
|
var n = "";
|
|
309
312
|
if (t.style.cssText && (n += t.style.cssText), typeof e == "string")
|
|
310
313
|
n += e;
|
|
@@ -313,10 +316,10 @@ function D(t, e) {
|
|
|
313
316
|
n += "".concat(o, ":").concat(e[o], ";");
|
|
314
317
|
t.style.cssText = n;
|
|
315
318
|
}
|
|
316
|
-
function
|
|
319
|
+
function P(t, e, n) {
|
|
317
320
|
if (n && e) {
|
|
318
|
-
var o =
|
|
319
|
-
e.element instanceof Element && at(e.element) ? I(n, "introjs-fixedTooltip") : vt(n, "introjs-fixedTooltip"), e.position === "floating" && (i = 0),
|
|
321
|
+
var o = Y(e.element, t._targetElement), i = t._options.helperElementPadding;
|
|
322
|
+
e.element instanceof Element && at(e.element) ? I(n, "introjs-fixedTooltip") : vt(n, "introjs-fixedTooltip"), e.position === "floating" && (i = 0), H(n, { width: "".concat(o.width + i, "px"), height: "".concat(o.height + i, "px"), top: "".concat(o.top - i / 2, "px"), left: "".concat(o.left - i / 2, "px") });
|
|
320
323
|
}
|
|
321
324
|
}
|
|
322
325
|
function nt(t, e, n, o, i) {
|
|
@@ -328,27 +331,27 @@ function ot(t, e, n, o) {
|
|
|
328
331
|
function B(t, e) {
|
|
329
332
|
t.includes(e) && t.splice(t.indexOf(e), 1);
|
|
330
333
|
}
|
|
331
|
-
function
|
|
332
|
-
var i = t.slice(), r = bt(), s =
|
|
333
|
-
if (c.bottom + s > r.height && B(i, "bottom"), c.top - s < 0 && B(i, "top"), c.right + a > r.width && B(i, "right"), c.left - a < 0 && B(i, "left"), o && (o = o.split("-")[0]), i.length && (
|
|
334
|
-
var l = void 0,
|
|
335
|
-
|
|
336
|
-
var w = b / 2,
|
|
337
|
-
return
|
|
338
|
-
}(c.left, a, r.width,
|
|
334
|
+
function ge(t, e, n, o) {
|
|
335
|
+
var i = t.slice(), r = bt(), s = Y(n).height + 10, a = Y(n).width + 20, c = e.getBoundingClientRect(), p = "floating";
|
|
336
|
+
if (c.bottom + s > r.height && B(i, "bottom"), c.top - s < 0 && B(i, "top"), c.right + a > r.width && B(i, "right"), c.left - a < 0 && B(i, "left"), o && (o = o.split("-")[0]), i.length && (p = i[0], i.includes(o) && (p = o)), p === "top" || p === "bottom") {
|
|
337
|
+
var l = void 0, u = [];
|
|
338
|
+
p === "top" ? (l = "top-middle-aligned", u = ["top-left-aligned", "top-middle-aligned", "top-right-aligned"]) : (l = "bottom-middle-aligned", u = ["bottom-left-aligned", "bottom-middle-aligned", "bottom-right-aligned"]), p = function(m, b, v, C) {
|
|
339
|
+
var w = b / 2, E = Math.min(v, window.screen.width);
|
|
340
|
+
return E - m < b && (B(C, "top-left-aligned"), B(C, "bottom-left-aligned")), (m < w || E - m < w) && (B(C, "top-middle-aligned"), B(C, "bottom-middle-aligned")), m < b && (B(C, "top-right-aligned"), B(C, "bottom-right-aligned")), C.length ? C[0] : null;
|
|
341
|
+
}(c.left, a, r.width, u) || l;
|
|
339
342
|
}
|
|
340
|
-
return
|
|
343
|
+
return p;
|
|
341
344
|
}
|
|
342
345
|
function rt(t, e, n, o, i) {
|
|
343
346
|
if (i === void 0 && (i = !1), e) {
|
|
344
|
-
var r, s, a, c,
|
|
345
|
-
n.style.top = "", n.style.right = "", n.style.bottom = "", n.style.left = "", n.style.marginLeft = "", n.style.marginTop = "", o.style.display = "inherit",
|
|
347
|
+
var r, s, a, c, p = "";
|
|
348
|
+
n.style.top = "", n.style.right = "", n.style.bottom = "", n.style.left = "", n.style.marginLeft = "", n.style.marginTop = "", o.style.display = "inherit", p = typeof e.tooltipClass == "string" ? e.tooltipClass : t._options.tooltipClass, n.className = ["introjs-tooltip", p].filter(Boolean).join(" "), n.setAttribute("role", "dialog"), (c = e.position) !== "floating" && t._options.autoPosition && (c = ge(t._options.positionPrecedence, e.element, n, c)), s = Y(e.element), r = Y(n), a = bt(), I(n, "introjs-".concat(c));
|
|
346
349
|
var l = s.width / 2 - r.width / 2;
|
|
347
350
|
switch (c) {
|
|
348
351
|
case "top-right-aligned":
|
|
349
352
|
o.className = "introjs-arrow bottom-right";
|
|
350
|
-
var
|
|
351
|
-
ot(s,
|
|
353
|
+
var u = 0;
|
|
354
|
+
ot(s, u, r, n), n.style.bottom = "".concat(s.height + 20, "px");
|
|
352
355
|
break;
|
|
353
356
|
case "top-middle-aligned":
|
|
354
357
|
o.className = "introjs-arrow bottom-middle", i && (l += 5), ot(s, l, r, n) && (n.style.right = "", nt(s, l, r, a, n)), n.style.bottom = "".concat(s.height + 20, "px");
|
|
@@ -367,7 +370,7 @@ function rt(t, e, n, o, i) {
|
|
|
367
370
|
o.style.display = "none", n.style.left = "50%", n.style.top = "50%", n.style.marginLeft = "-".concat(r.width / 2, "px"), n.style.marginTop = "-".concat(r.height / 2, "px");
|
|
368
371
|
break;
|
|
369
372
|
case "bottom-right-aligned":
|
|
370
|
-
o.className = "introjs-arrow top-right", ot(s,
|
|
373
|
+
o.className = "introjs-arrow top-right", ot(s, u = 0, r, n), n.style.top = "".concat(s.height + 20, "px");
|
|
371
374
|
break;
|
|
372
375
|
case "bottom-middle-aligned":
|
|
373
376
|
o.className = "introjs-arrow top-middle", i && (l += 5), ot(s, l, r, n) && (n.style.right = "", nt(s, l, r, a, n)), n.style.top = "".concat(s.height + 20, "px");
|
|
@@ -377,7 +380,7 @@ function rt(t, e, n, o, i) {
|
|
|
377
380
|
}
|
|
378
381
|
}
|
|
379
382
|
}
|
|
380
|
-
function
|
|
383
|
+
function Tt() {
|
|
381
384
|
for (var t = 0, e = Array.from(document.querySelectorAll(".introjs-showElement")); t < e.length; t++)
|
|
382
385
|
vt(e[t], /introjs-[a-zA-Z]+/g);
|
|
383
386
|
}
|
|
@@ -387,20 +390,20 @@ function h(t, e) {
|
|
|
387
390
|
var o = /^(?:role|data-|aria-)/;
|
|
388
391
|
for (var i in e) {
|
|
389
392
|
var r = e[i];
|
|
390
|
-
i === "style" && typeof r != "function" ?
|
|
393
|
+
i === "style" && typeof r != "function" ? H(n, r) : typeof r == "string" && i.match(o) ? n.setAttribute(i, r) : n[i] = r;
|
|
391
394
|
}
|
|
392
395
|
return n;
|
|
393
396
|
}
|
|
394
|
-
function
|
|
397
|
+
function At(t, e, n) {
|
|
395
398
|
if (n === void 0 && (n = !1), n) {
|
|
396
399
|
var o = e.style.opacity || "1";
|
|
397
|
-
|
|
398
|
-
|
|
400
|
+
H(e, { opacity: "0" }), window.setTimeout(function() {
|
|
401
|
+
H(e, { opacity: o });
|
|
399
402
|
}, 10);
|
|
400
403
|
}
|
|
401
404
|
t.appendChild(e);
|
|
402
405
|
}
|
|
403
|
-
function
|
|
406
|
+
function Nt(t, e) {
|
|
404
407
|
return (t + 1) / e * 100;
|
|
405
408
|
}
|
|
406
409
|
function xt(t, e) {
|
|
@@ -409,49 +412,49 @@ function xt(t, e) {
|
|
|
409
412
|
var o = h("ul");
|
|
410
413
|
o.setAttribute("role", "tablist");
|
|
411
414
|
for (var i = function() {
|
|
412
|
-
var
|
|
413
|
-
|
|
415
|
+
var p = this.getAttribute("data-step-number");
|
|
416
|
+
p != null && t.goToStep(parseInt(p, 10));
|
|
414
417
|
}, r = 0; r < t._introItems.length; r++) {
|
|
415
418
|
var s = t._introItems[r].step, a = h("li"), c = h("a");
|
|
416
|
-
a.setAttribute("role", "presentation"), c.setAttribute("role", "tab"), c.onclick = i, r === e.step - 1 && (c.className = "active"),
|
|
419
|
+
a.setAttribute("role", "presentation"), c.setAttribute("role", "tab"), c.onclick = i, r === e.step - 1 && (c.className = "active"), U(c), c.innerHTML = " ", c.setAttribute("data-step-number", s.toString()), a.appendChild(c), o.appendChild(a);
|
|
417
420
|
}
|
|
418
421
|
return n.appendChild(o), n;
|
|
419
422
|
}
|
|
420
423
|
function Bt(t, e, n) {
|
|
421
424
|
var o = t.querySelector(".introjs-progress .introjs-progressbar");
|
|
422
425
|
if (o) {
|
|
423
|
-
var i =
|
|
426
|
+
var i = Nt(e, n);
|
|
424
427
|
o.style.cssText = "width:".concat(i, "%;"), o.setAttribute("aria-valuenow", i.toString());
|
|
425
428
|
}
|
|
426
429
|
}
|
|
427
430
|
function It(t, e) {
|
|
428
431
|
return f(this, void 0, void 0, function() {
|
|
429
|
-
var n, o, i, r, s, a, c,
|
|
430
|
-
return g(this, function(
|
|
431
|
-
switch (
|
|
432
|
+
var n, o, i, r, s, a, c, p, l, u, m, b, v, C, w, E, T, M, N, R, V, x, z, W, X = this;
|
|
433
|
+
return g(this, function(J) {
|
|
434
|
+
switch (J.label) {
|
|
432
435
|
case 0:
|
|
433
|
-
return
|
|
436
|
+
return _(t._introChangeCallback) ? [4, t._introChangeCallback.call(t, e.element)] : [3, 2];
|
|
434
437
|
case 1:
|
|
435
|
-
|
|
438
|
+
J.sent(), J.label = 2;
|
|
436
439
|
case 2:
|
|
437
|
-
return n = document.querySelector(".introjs-helperLayer"), o = document.querySelector(".introjs-tooltipReferenceLayer"), i = "introjs-helperLayer", typeof e.highlightClass == "string" && (i += " ".concat(e.highlightClass)), typeof t._options.highlightClass == "string" && (i += " ".concat(t._options.highlightClass)), n !== null && o !== null ? (c = o.querySelector(".introjs-helperNumberLayer"),
|
|
438
|
-
c !== null && (c.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length)),
|
|
440
|
+
return n = document.querySelector(".introjs-helperLayer"), o = document.querySelector(".introjs-tooltipReferenceLayer"), i = "introjs-helperLayer", typeof e.highlightClass == "string" && (i += " ".concat(e.highlightClass)), typeof t._options.highlightClass == "string" && (i += " ".concat(t._options.highlightClass)), n !== null && o !== null ? (c = o.querySelector(".introjs-helperNumberLayer"), p = o.querySelector(".introjs-tooltiptext"), l = o.querySelector(".introjs-tooltip-title"), u = o.querySelector(".introjs-arrow"), m = o.querySelector(".introjs-tooltip"), a = o.querySelector(".introjs-skipbutton"), s = o.querySelector(".introjs-prevbutton"), r = o.querySelector(".introjs-nextbutton"), n.className = i, m.style.opacity = "0", m.style.display = "none", Ct(t._options.scrollToElement, e.element), P(t, e, n), P(t, e, o), Tt(), t._lastShowElementTimer && window.clearTimeout(t._lastShowElementTimer), t._lastShowElementTimer = window.setTimeout(function() {
|
|
441
|
+
c !== null && (c.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length)), p.innerHTML = e.intro || "", l.innerHTML = e.title || "", m.style.display = "block", rt(t, e, m, u), function(d, A, k) {
|
|
439
442
|
if (d) {
|
|
440
|
-
var
|
|
441
|
-
|
|
443
|
+
var $ = A.querySelector(".introjs-bullets li > a.active"), Z = A.querySelector('.introjs-bullets li > a[data-step-number="'.concat(k.step, '"]'));
|
|
444
|
+
$ && Z && ($.className = "", Z.className = "active");
|
|
442
445
|
}
|
|
443
|
-
}(t._options.showBullets, o, e), Bt(o, t._currentStep, t._introItems.length), m.style.opacity = "1", (r != null && /introjs-donebutton/gi.test(r.className) || r != null) && r.focus(), St(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element,
|
|
444
|
-
}, 350)) : (b = h("div", { className: i }), v = h("div", { className: "introjs-tooltipReferenceLayer" }), C = h("div", { className: "introjs-arrow" }), w = h("div", { className: "introjs-tooltip" }),
|
|
446
|
+
}(t._options.showBullets, o, e), Bt(o, t._currentStep, t._introItems.length), m.style.opacity = "1", (r != null && /introjs-donebutton/gi.test(r.className) || r != null) && r.focus(), St(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, p);
|
|
447
|
+
}, 350)) : (b = h("div", { className: i }), v = h("div", { className: "introjs-tooltipReferenceLayer" }), C = h("div", { className: "introjs-arrow" }), w = h("div", { className: "introjs-tooltip" }), E = h("div", { className: "introjs-tooltiptext" }), T = h("div", { className: "introjs-tooltip-header" }), M = h("h1", { className: "introjs-tooltip-title" }), N = h("div"), H(b, { "box-shadow": "0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(t._options.overlayOpacity.toString(), ") 0 0 0 5000px") }), Ct(t._options.scrollToElement, e.element), P(t, e, b), P(t, e, v), At(t._targetElement, b, !0), At(t._targetElement, v), E.innerHTML = e.intro, M.innerHTML = e.title, N.className = "introjs-tooltipbuttons", t._options.showButtons === !1 && (N.style.display = "none"), T.appendChild(M), w.appendChild(T), w.appendChild(E), t._options.dontShowAgain && (R = h("div", { className: "introjs-dontShowAgain" }), (V = h("input", { type: "checkbox", id: "introjs-dontShowAgain", name: "introjs-dontShowAgain" })).onchange = function(d) {
|
|
445
448
|
t.setDontShowAgain(d.target.checked);
|
|
446
|
-
}, (
|
|
447
|
-
var
|
|
448
|
-
|
|
449
|
+
}, (x = h("label", { htmlFor: "introjs-dontShowAgain" })).innerText = t._options.dontShowAgainLabel, R.appendChild(V), R.appendChild(x), w.appendChild(R)), w.appendChild(xt(t, e)), w.appendChild(function(d) {
|
|
450
|
+
var A = h("div");
|
|
451
|
+
A.className = "introjs-progress", d._options.showProgress === !1 && (A.style.display = "none");
|
|
449
452
|
var k = h("div", { className: "introjs-progressbar" });
|
|
450
453
|
d._options.progressBarAdditionalClass && (k.className += " " + d._options.progressBarAdditionalClass);
|
|
451
|
-
var
|
|
452
|
-
return k.setAttribute("role", "progress"), k.setAttribute("aria-valuemin", "0"), k.setAttribute("aria-valuemax", "100"), k.setAttribute("aria-valuenow",
|
|
453
|
-
}(t)),
|
|
454
|
-
return f(
|
|
454
|
+
var $ = Nt(d._currentStep, d._introItems.length);
|
|
455
|
+
return k.setAttribute("role", "progress"), k.setAttribute("aria-valuemin", "0"), k.setAttribute("aria-valuemax", "100"), k.setAttribute("aria-valuenow", $.toString()), k.style.cssText = "width:".concat($, "%;"), A.appendChild(k), A;
|
|
456
|
+
}(t)), z = h("div"), t._options.showStepNumbers === !0 && (z.className = "introjs-helperNumberLayer", z.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length), w.appendChild(z)), w.appendChild(C), v.appendChild(w), (r = h("a")).onclick = function() {
|
|
457
|
+
return f(X, void 0, void 0, function() {
|
|
455
458
|
return g(this, function(d) {
|
|
456
459
|
switch (d.label) {
|
|
457
460
|
case 0:
|
|
@@ -459,7 +462,7 @@ function It(t, e) {
|
|
|
459
462
|
case 1:
|
|
460
463
|
return d.sent(), [3, 6];
|
|
461
464
|
case 2:
|
|
462
|
-
return /introjs-donebutton/gi.test(r.className) ?
|
|
465
|
+
return /introjs-donebutton/gi.test(r.className) ? _(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "done")] : [3, 4] : [3, 6];
|
|
463
466
|
case 3:
|
|
464
467
|
d.sent(), d.label = 4;
|
|
465
468
|
case 4:
|
|
@@ -471,8 +474,8 @@ function It(t, e) {
|
|
|
471
474
|
}
|
|
472
475
|
});
|
|
473
476
|
});
|
|
474
|
-
},
|
|
475
|
-
return f(
|
|
477
|
+
}, U(r), r.innerHTML = t._options.nextLabel, (s = h("a")).onclick = function() {
|
|
478
|
+
return f(X, void 0, void 0, function() {
|
|
476
479
|
return g(this, function(d) {
|
|
477
480
|
switch (d.label) {
|
|
478
481
|
case 0:
|
|
@@ -484,16 +487,16 @@ function It(t, e) {
|
|
|
484
487
|
}
|
|
485
488
|
});
|
|
486
489
|
});
|
|
487
|
-
},
|
|
488
|
-
return f(
|
|
490
|
+
}, U(s), s.innerHTML = t._options.prevLabel, U(a = h("a", { className: "introjs-skipbutton" })), a.innerHTML = t._options.skipLabel, a.onclick = function() {
|
|
491
|
+
return f(X, void 0, void 0, function() {
|
|
489
492
|
return g(this, function(d) {
|
|
490
493
|
switch (d.label) {
|
|
491
494
|
case 0:
|
|
492
|
-
return t._introItems.length - 1 === t._currentStep &&
|
|
495
|
+
return t._introItems.length - 1 === t._currentStep && _(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 2];
|
|
493
496
|
case 1:
|
|
494
497
|
d.sent(), d.label = 2;
|
|
495
498
|
case 2:
|
|
496
|
-
return
|
|
499
|
+
return _(t._introSkipCallback) ? [4, t._introSkipCallback.call(t, t._currentStep)] : [3, 4];
|
|
497
500
|
case 3:
|
|
498
501
|
d.sent(), d.label = 4;
|
|
499
502
|
case 4:
|
|
@@ -503,23 +506,23 @@ function It(t, e) {
|
|
|
503
506
|
}
|
|
504
507
|
});
|
|
505
508
|
});
|
|
506
|
-
},
|
|
509
|
+
}, T.appendChild(a), t._introItems.length > 1 && N.appendChild(s), N.appendChild(r), w.appendChild(N), rt(t, e, w, C), St(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, w)), (W = t._targetElement.querySelector(".introjs-disableInteraction")) && W.parentNode && W.parentNode.removeChild(W), e.disableInteraction && function(d, A) {
|
|
507
510
|
var k = document.querySelector(".introjs-disableInteraction");
|
|
508
|
-
k === null && (k = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(k)),
|
|
511
|
+
k === null && (k = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(k)), P(d, A, k);
|
|
509
512
|
}(t, e), t._currentStep === 0 && t._introItems.length > 1 ? (r != null && (r.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), r.innerHTML = t._options.nextLabel), t._options.hidePrev === !0 ? (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-hidden")), r != null && I(r, "introjs-fullbutton")) : s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-disabled"))) : t._introItems.length - 1 === t._currentStep || t._introItems.length === 1 ? (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), t._options.hideNext === !0 ? (r != null && (r.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-hidden")), s != null && I(s, "introjs-fullbutton")) : r != null && (t._options.nextToDone === !0 ? (r.innerHTML = t._options.doneLabel, I(r, "".concat(t._options.buttonClass, " introjs-nextbutton introjs-donebutton"))) : r.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-disabled"))) : (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), r != null && (r.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), r.innerHTML = t._options.nextLabel)), s != null && s.setAttribute("role", "button"), r != null && r.setAttribute("role", "button"), a != null && a.setAttribute("role", "button"), r != null && r.focus(), function(d) {
|
|
510
513
|
I(d, "introjs-showElement");
|
|
511
|
-
var
|
|
512
|
-
|
|
513
|
-
}(e.element),
|
|
514
|
+
var A = gt(d, "position");
|
|
515
|
+
A !== "absolute" && A !== "relative" && A !== "sticky" && A !== "fixed" && I(d, "introjs-relativePosition");
|
|
516
|
+
}(e.element), _(t._introAfterChangeCallback) ? [4, t._introAfterChangeCallback.call(t, e.element)] : [3, 4];
|
|
514
517
|
case 3:
|
|
515
|
-
|
|
518
|
+
J.sent(), J.label = 4;
|
|
516
519
|
case 4:
|
|
517
520
|
return [2];
|
|
518
521
|
}
|
|
519
522
|
});
|
|
520
523
|
});
|
|
521
524
|
}
|
|
522
|
-
function
|
|
525
|
+
function be(t, e) {
|
|
523
526
|
return f(this, void 0, void 0, function() {
|
|
524
527
|
return g(this, function(n) {
|
|
525
528
|
switch (n.label) {
|
|
@@ -533,7 +536,7 @@ function de(t, e) {
|
|
|
533
536
|
});
|
|
534
537
|
});
|
|
535
538
|
}
|
|
536
|
-
function
|
|
539
|
+
function ve(t, e) {
|
|
537
540
|
return f(this, void 0, void 0, function() {
|
|
538
541
|
return g(this, function(n) {
|
|
539
542
|
switch (n.label) {
|
|
@@ -556,11 +559,11 @@ function F(t) {
|
|
|
556
559
|
if (t._direction = "forward", t._currentStepNumber !== void 0)
|
|
557
560
|
for (e = 0; e < t._introItems.length; e++)
|
|
558
561
|
t._introItems[e].step === t._currentStepNumber && (t._currentStep = e - 1, t._currentStepNumber = void 0);
|
|
559
|
-
return t._currentStep === -1 ? t._currentStep = 0 : ++t._currentStep, n = t._introItems[t._currentStep], o = !0,
|
|
562
|
+
return t._currentStep === -1 ? t._currentStep = 0 : ++t._currentStep, n = t._introItems[t._currentStep], o = !0, _(t._introBeforeChangeCallback) ? [4, t._introBeforeChangeCallback.call(t, n && n.element, t._currentStep, t._direction)] : [3, 2];
|
|
560
563
|
case 1:
|
|
561
564
|
o = i.sent(), i.label = 2;
|
|
562
565
|
case 2:
|
|
563
|
-
return o === !1 ? (--t._currentStep, [2, !1]) : t._introItems.length <= t._currentStep ?
|
|
566
|
+
return o === !1 ? (--t._currentStep, [2, !1]) : t._introItems.length <= t._currentStep ? _(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "end")] : [3, 4] : [3, 6];
|
|
564
567
|
case 3:
|
|
565
568
|
i.sent(), i.label = 4;
|
|
566
569
|
case 4:
|
|
@@ -581,7 +584,7 @@ function st(t) {
|
|
|
581
584
|
return g(this, function(o) {
|
|
582
585
|
switch (o.label) {
|
|
583
586
|
case 0:
|
|
584
|
-
return t._direction = "backward", t._currentStep <= 0 ? [2, !1] : (--t._currentStep, e = t._introItems[t._currentStep], n = !0,
|
|
587
|
+
return t._direction = "backward", t._currentStep <= 0 ? [2, !1] : (--t._currentStep, e = t._introItems[t._currentStep], n = !0, _(t._introBeforeChangeCallback) ? [4, t._introBeforeChangeCallback.call(t, e && e.element, t._currentStep, t._direction)] : [3, 2]);
|
|
585
588
|
case 1:
|
|
586
589
|
n = o.sent(), o.label = 2;
|
|
587
590
|
case 2:
|
|
@@ -614,7 +617,7 @@ function Lt(t, e) {
|
|
|
614
617
|
case 7:
|
|
615
618
|
return i.sent(), [3, 15];
|
|
616
619
|
case 8:
|
|
617
|
-
return o && o.className.match("introjs-skipbutton") ? t._introItems.length - 1 === t._currentStep &&
|
|
620
|
+
return o && o.className.match("introjs-skipbutton") ? t._introItems.length - 1 === t._currentStep && _(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 10] : [3, 12];
|
|
618
621
|
case 9:
|
|
619
622
|
i.sent(), i.label = 10;
|
|
620
623
|
case 10:
|
|
@@ -643,7 +646,7 @@ function yt(t) {
|
|
|
643
646
|
"jQuery" in window && t[n] instanceof window.jQuery ? e[n] = t[n] : e[n] = yt(t[n]);
|
|
644
647
|
return e;
|
|
645
648
|
}
|
|
646
|
-
function
|
|
649
|
+
function K(t) {
|
|
647
650
|
var e = document.querySelector(".introjs-hints");
|
|
648
651
|
return e ? Array.from(e.querySelectorAll(t)) : [];
|
|
649
652
|
}
|
|
@@ -653,7 +656,7 @@ function _t(t, e) {
|
|
|
653
656
|
return g(this, function(o) {
|
|
654
657
|
switch (o.label) {
|
|
655
658
|
case 0:
|
|
656
|
-
return n =
|
|
659
|
+
return n = K('.introjs-hint[data-step="'.concat(e, '"]'))[0], lt(), n && I(n, "introjs-hidehint"), _(t._hintCloseCallback) ? [4, t._hintCloseCallback.call(t, e)] : [3, 2];
|
|
657
660
|
case 1:
|
|
658
661
|
o.sent(), o.label = 2;
|
|
659
662
|
case 2:
|
|
@@ -662,13 +665,13 @@ function _t(t, e) {
|
|
|
662
665
|
});
|
|
663
666
|
});
|
|
664
667
|
}
|
|
665
|
-
function
|
|
668
|
+
function ye(t) {
|
|
666
669
|
return f(this, void 0, void 0, function() {
|
|
667
670
|
var e, n, o, i, r;
|
|
668
671
|
return g(this, function(s) {
|
|
669
672
|
switch (s.label) {
|
|
670
673
|
case 0:
|
|
671
|
-
e =
|
|
674
|
+
e = K(".introjs-hint"), n = 0, o = e, s.label = 1;
|
|
672
675
|
case 1:
|
|
673
676
|
return n < o.length ? (i = o[n], (r = i.getAttribute("data-step")) ? [4, _t(t, parseInt(r, 10))] : [3, 3]) : [3, 4];
|
|
674
677
|
case 2:
|
|
@@ -681,13 +684,13 @@ function me(t) {
|
|
|
681
684
|
});
|
|
682
685
|
});
|
|
683
686
|
}
|
|
684
|
-
function
|
|
687
|
+
function _e(t) {
|
|
685
688
|
return f(this, void 0, void 0, function() {
|
|
686
689
|
var e, n, o, i, r;
|
|
687
690
|
return g(this, function(s) {
|
|
688
691
|
switch (s.label) {
|
|
689
692
|
case 0:
|
|
690
|
-
if (!(e =
|
|
693
|
+
if (!(e = K(".introjs-hint")) || !e.length)
|
|
691
694
|
return [3, 1];
|
|
692
695
|
for (n = 0, o = e; n < o.length; n++)
|
|
693
696
|
i = o[n], (r = i.getAttribute("data-step")) && Mt(parseInt(r, 10));
|
|
@@ -703,14 +706,14 @@ function fe(t) {
|
|
|
703
706
|
});
|
|
704
707
|
}
|
|
705
708
|
function Mt(t) {
|
|
706
|
-
var e =
|
|
709
|
+
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
707
710
|
e && vt(e, /introjs-hidehint/g);
|
|
708
711
|
}
|
|
709
|
-
function
|
|
710
|
-
var e =
|
|
712
|
+
function kt(t) {
|
|
713
|
+
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
711
714
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
712
715
|
}
|
|
713
|
-
function
|
|
716
|
+
function we(t) {
|
|
714
717
|
return f(this, void 0, void 0, function() {
|
|
715
718
|
var e, n, o, i, r, s, a;
|
|
716
719
|
return g(this, function(c) {
|
|
@@ -724,29 +727,29 @@ function ge(t) {
|
|
|
724
727
|
}, o = 0; o < t._hintItems.length; o++) {
|
|
725
728
|
if (i = t._hintItems[o], document.querySelector('.introjs-hint[data-step="'.concat(o, '"]')))
|
|
726
729
|
return [2];
|
|
727
|
-
|
|
730
|
+
U(r = h("a", { className: "introjs-hint" })), r.onclick = n(o), i.hintAnimation || I(r, "introjs-hint-no-anim"), at(i.element) && I(r, "introjs-fixedhint"), s = h("div", { className: "introjs-hint-dot" }), a = h("div", { className: "introjs-hint-pulse" }), r.appendChild(s), r.appendChild(a), r.setAttribute("data-step", o.toString()), i.hintTargetElement = i.element, i.element = r, qt(i.hintPosition, r, i.hintTargetElement), e.appendChild(r);
|
|
728
731
|
}
|
|
729
|
-
return document.body.appendChild(e),
|
|
732
|
+
return document.body.appendChild(e), _(t._hintsAddedCallback) ? [4, t._hintsAddedCallback.call(t)] : [3, 2];
|
|
730
733
|
case 1:
|
|
731
734
|
c.sent(), c.label = 2;
|
|
732
735
|
case 2:
|
|
733
|
-
return t._options.hintAutoRefreshInterval >= 0 && (t._hintsAutoRefreshFunction = (
|
|
736
|
+
return t._options.hintAutoRefreshInterval >= 0 && (t._hintsAutoRefreshFunction = (p = function() {
|
|
734
737
|
return ct(t);
|
|
735
738
|
}, l = t._options.hintAutoRefreshInterval, function() {
|
|
736
739
|
for (var m = [], b = 0; b < arguments.length; b++)
|
|
737
740
|
m[b] = arguments[b];
|
|
738
|
-
window.clearTimeout(
|
|
739
|
-
|
|
741
|
+
window.clearTimeout(u), u = window.setTimeout(function() {
|
|
742
|
+
p(m);
|
|
740
743
|
}, l);
|
|
741
744
|
}), L.on(window, "scroll", t._hintsAutoRefreshFunction, t, !0)), [2];
|
|
742
745
|
}
|
|
743
|
-
var
|
|
746
|
+
var p, l, u;
|
|
744
747
|
});
|
|
745
748
|
});
|
|
746
749
|
}
|
|
747
750
|
function qt(t, e, n) {
|
|
748
751
|
if (n !== void 0) {
|
|
749
|
-
var o =
|
|
752
|
+
var o = Y(n), i = 20, r = 20;
|
|
750
753
|
switch (t) {
|
|
751
754
|
default:
|
|
752
755
|
case "top-left":
|
|
@@ -780,19 +783,19 @@ function qt(t, e, n) {
|
|
|
780
783
|
}
|
|
781
784
|
function Pt(t, e) {
|
|
782
785
|
return f(this, void 0, void 0, function() {
|
|
783
|
-
var n, o, i, r, s, a, c,
|
|
786
|
+
var n, o, i, r, s, a, c, p, l, u, m;
|
|
784
787
|
return g(this, function(b) {
|
|
785
788
|
switch (b.label) {
|
|
786
789
|
case 0:
|
|
787
|
-
return n = document.querySelector('.introjs-hint[data-step="'.concat(e, '"]')), o = t._hintItems[e],
|
|
790
|
+
return n = document.querySelector('.introjs-hint[data-step="'.concat(e, '"]')), o = t._hintItems[e], _(t._hintClickCallback) ? [4, t._hintClickCallback.call(t, n, o, e)] : [3, 2];
|
|
788
791
|
case 1:
|
|
789
792
|
b.sent(), b.label = 2;
|
|
790
793
|
case 2:
|
|
791
794
|
return (i = lt()) !== void 0 && parseInt(i, 10) === e || (r = h("div", { className: "introjs-tooltip" }), s = h("div"), a = h("div"), c = h("div"), r.onclick = function(v) {
|
|
792
795
|
v.stopPropagation ? v.stopPropagation() : v.cancelBubble = !0;
|
|
793
|
-
}, s.className = "introjs-tooltiptext", (
|
|
796
|
+
}, s.className = "introjs-tooltiptext", (p = h("p")).innerHTML = o.hint || "", s.appendChild(p), t._options.hintShowButton && ((l = h("a")).className = t._options.buttonClass, l.setAttribute("role", "button"), l.innerHTML = t._options.hintButtonLabel, l.onclick = function() {
|
|
794
797
|
return _t(t, e);
|
|
795
|
-
}, s.appendChild(l)), a.className = "introjs-arrow", r.appendChild(a), r.appendChild(s),
|
|
798
|
+
}, s.appendChild(l)), a.className = "introjs-arrow", r.appendChild(a), r.appendChild(s), u = n.getAttribute("data-step") || "", t._currentStep = parseInt(u, 10), m = t._hintItems[t._currentStep], c.className = "introjs-tooltipReferenceLayer introjs-hintReference", c.setAttribute("data-step", u), P(t, m, c), c.appendChild(r), document.body.appendChild(c), rt(t, m, r, a, !0)), [2];
|
|
796
799
|
}
|
|
797
800
|
});
|
|
798
801
|
});
|
|
@@ -806,7 +809,7 @@ function lt() {
|
|
|
806
809
|
}
|
|
807
810
|
function Rt(t, e) {
|
|
808
811
|
return f(this, void 0, void 0, function() {
|
|
809
|
-
var n, o, i, r, s, a, c,
|
|
812
|
+
var n, o, i, r, s, a, c, p, l, u;
|
|
810
813
|
return g(this, function(m) {
|
|
811
814
|
switch (m.label) {
|
|
812
815
|
case 0:
|
|
@@ -817,9 +820,9 @@ function Rt(t, e) {
|
|
|
817
820
|
if (!(s = Array.from(e.querySelectorAll("*[data-hint]"))) || !s.length)
|
|
818
821
|
return [2, !1];
|
|
819
822
|
for (a = 0, c = s; a < c.length; a++)
|
|
820
|
-
|
|
823
|
+
p = c[a], l = p.getAttribute("data-hint-animation"), u = t._options.hintAnimation, l && (u = l === "true"), t._hintItems.push({ element: p, hint: p.getAttribute("data-hint") || "", hintPosition: p.getAttribute("data-hint-position") || t._options.hintPosition, hintAnimation: u, tooltipClass: p.getAttribute("data-tooltip-class") || void 0, position: p.getAttribute("data-position") || t._options.tooltipPosition });
|
|
821
824
|
}
|
|
822
|
-
return [4,
|
|
825
|
+
return [4, we(t)];
|
|
823
826
|
case 1:
|
|
824
827
|
return m.sent(), L.on(document, "click", lt, t, !1), L.on(window, "resize", ct, t, !0), [2, !0];
|
|
825
828
|
}
|
|
@@ -847,47 +850,47 @@ function Dt(t, e) {
|
|
|
847
850
|
var c = void 0;
|
|
848
851
|
if (n.length < 1)
|
|
849
852
|
return [];
|
|
850
|
-
for (var
|
|
851
|
-
var
|
|
852
|
-
if ((!t._options.group ||
|
|
853
|
-
var m = parseInt(
|
|
854
|
-
c = t._options.disableInteraction,
|
|
853
|
+
for (var p = 0, l = n; p < l.length; p++) {
|
|
854
|
+
var u = l[p];
|
|
855
|
+
if ((!t._options.group || u.getAttribute("data-intro-group") === t._options.group) && u.style.display !== "none") {
|
|
856
|
+
var m = parseInt(u.getAttribute("data-step") || "", 10);
|
|
857
|
+
c = t._options.disableInteraction, u.hasAttribute("data-disable-interaction") && (c = !!u.getAttribute("data-disable-interaction")), m > 0 && (o[m - 1] = { step: m, element: u, title: u.getAttribute("data-title") || "", intro: u.getAttribute("data-intro") || "", tooltipClass: u.getAttribute("data-tooltip-class") || void 0, highlightClass: u.getAttribute("data-highlight-class") || void 0, position: u.getAttribute("data-position") || t._options.tooltipPosition, scrollTo: u.getAttribute("data-scroll-to") || t._options.scrollTo, disableInteraction: c });
|
|
855
858
|
}
|
|
856
859
|
}
|
|
857
860
|
for (var b = 0, v = 0, C = n; v < C.length; v++)
|
|
858
|
-
if (
|
|
861
|
+
if (u = C[v], (!t._options.group || u.getAttribute("data-intro-group") === t._options.group) && u.getAttribute("data-step") === null) {
|
|
859
862
|
for (; o[b] !== void 0; )
|
|
860
863
|
b++;
|
|
861
|
-
c =
|
|
864
|
+
c = u.hasAttribute("data-disable-interaction") ? !!u.getAttribute("data-disable-interaction") : t._options.disableInteraction, o[b] = { element: u, title: u.getAttribute("data-title") || "", intro: u.getAttribute("data-intro") || "", step: b + 1, tooltipClass: u.getAttribute("data-tooltip-class") || void 0, highlightClass: u.getAttribute("data-highlight-class") || void 0, position: u.getAttribute("data-position") || t._options.tooltipPosition, scrollTo: u.getAttribute("data-scroll-to") || t._options.scrollTo, disableInteraction: c };
|
|
862
865
|
}
|
|
863
866
|
}
|
|
864
|
-
for (var w = [],
|
|
865
|
-
o[
|
|
866
|
-
return (o = w).sort(function(
|
|
867
|
-
return
|
|
867
|
+
for (var w = [], E = 0; E < o.length; E++)
|
|
868
|
+
o[E] && w.push(o[E]);
|
|
869
|
+
return (o = w).sort(function(T, M) {
|
|
870
|
+
return T.step - M.step;
|
|
868
871
|
}), o;
|
|
869
872
|
}
|
|
870
|
-
function
|
|
873
|
+
function Ot(t, e) {
|
|
871
874
|
var n = t._currentStep;
|
|
872
875
|
if (n != null && n != -1) {
|
|
873
876
|
var o = t._introItems[n], i = document.querySelector(".introjs-tooltipReferenceLayer"), r = document.querySelector(".introjs-helperLayer"), s = document.querySelector(".introjs-disableInteraction");
|
|
874
|
-
|
|
875
|
-
if (
|
|
876
|
-
var
|
|
877
|
-
|
|
877
|
+
P(t, o, r), P(t, o, i), P(t, o, s), e && (t._introItems = Dt(t, t._targetElement), function(p, l) {
|
|
878
|
+
if (p._options.showBullets) {
|
|
879
|
+
var u = document.querySelector(".introjs-bullets");
|
|
880
|
+
u && u.parentNode && u.parentNode.replaceChild(xt(p, l), u);
|
|
878
881
|
}
|
|
879
882
|
}(t, o), Bt(i, n, t._introItems.length));
|
|
880
883
|
var a = document.querySelector(".introjs-arrow"), c = document.querySelector(".introjs-tooltip");
|
|
881
884
|
return c && a && rt(t, t._introItems[n], c, a), ct(t), t;
|
|
882
885
|
}
|
|
883
886
|
}
|
|
884
|
-
function
|
|
885
|
-
|
|
887
|
+
function Ht(t) {
|
|
888
|
+
Ot(t);
|
|
886
889
|
}
|
|
887
|
-
function
|
|
890
|
+
function Q(t, e) {
|
|
888
891
|
if (e === void 0 && (e = !1), t && t.parentElement) {
|
|
889
892
|
var n = t.parentElement;
|
|
890
|
-
e ? (
|
|
893
|
+
e ? (H(t, { opacity: "0" }), window.setTimeout(function() {
|
|
891
894
|
try {
|
|
892
895
|
n.removeChild(t);
|
|
893
896
|
} catch (o) {
|
|
@@ -909,8 +912,8 @@ function G(t, e, n) {
|
|
|
909
912
|
return [2];
|
|
910
913
|
if ((i = Array.from(e.querySelectorAll(".introjs-overlay"))) && i.length)
|
|
911
914
|
for (r = 0, s = i; r < s.length; r++)
|
|
912
|
-
|
|
913
|
-
return
|
|
915
|
+
Q(s[r]);
|
|
916
|
+
return Q(e.querySelector(".introjs-helperLayer"), !0), Q(e.querySelector(".introjs-tooltipReferenceLayer")), Q(e.querySelector(".introjs-disableInteraction")), Q(document.querySelector(".introjsFloatingElement")), Tt(), L.off(window, "keydown", Lt, t, !0), L.off(window, "resize", Ht, t, !0), _(t._introExitCallback) ? [4, t._introExitCallback.call(t)] : [3, 4];
|
|
914
917
|
case 3:
|
|
915
918
|
a.sent(), a.label = 4;
|
|
916
919
|
case 4:
|
|
@@ -919,19 +922,19 @@ function G(t, e, n) {
|
|
|
919
922
|
});
|
|
920
923
|
});
|
|
921
924
|
}
|
|
922
|
-
function
|
|
925
|
+
function Ce(t, e) {
|
|
923
926
|
return f(this, void 0, void 0, function() {
|
|
924
927
|
var n;
|
|
925
928
|
return g(this, function(o) {
|
|
926
929
|
switch (o.label) {
|
|
927
930
|
case 0:
|
|
928
|
-
return t.isActive() ?
|
|
931
|
+
return t.isActive() ? _(t._introStartCallback) ? [4, t._introStartCallback.call(t, e)] : [3, 2] : [2, !1];
|
|
929
932
|
case 1:
|
|
930
933
|
o.sent(), o.label = 2;
|
|
931
934
|
case 2:
|
|
932
935
|
return (n = Dt(t, e)).length === 0 ? [2, !1] : (t._introItems = n, function(i, r) {
|
|
933
936
|
var s = this, a = h("div", { className: "introjs-overlay" });
|
|
934
|
-
|
|
937
|
+
H(a, { top: 0, bottom: 0, left: 0, right: 0, position: "fixed" }), r.appendChild(a), i._options.exitOnOverlayClick === !0 && (H(a, { cursor: "pointer" }), a.onclick = function() {
|
|
935
938
|
return f(s, void 0, void 0, function() {
|
|
936
939
|
return g(this, function(c) {
|
|
937
940
|
switch (c.label) {
|
|
@@ -945,7 +948,7 @@ function be(t, e) {
|
|
|
945
948
|
});
|
|
946
949
|
}(t, e), [4, F(t)]);
|
|
947
950
|
case 3:
|
|
948
|
-
o.sent(), e.addEventListener, t._options.keyboardNavigation && L.on(window, "keydown", Lt, t, !0), L.on(window, "resize",
|
|
951
|
+
o.sent(), e.addEventListener, t._options.keyboardNavigation && L.on(window, "keydown", Lt, t, !0), L.on(window, "resize", Ht, t, !0), o.label = 4;
|
|
949
952
|
case 4:
|
|
950
953
|
return [2, !1];
|
|
951
954
|
}
|
|
@@ -979,7 +982,7 @@ var dt = function() {
|
|
|
979
982
|
return g(this, function(e) {
|
|
980
983
|
switch (e.label) {
|
|
981
984
|
case 0:
|
|
982
|
-
return [4,
|
|
985
|
+
return [4, Ce(this, this._targetElement)];
|
|
983
986
|
case 1:
|
|
984
987
|
return e.sent(), [2, this];
|
|
985
988
|
}
|
|
@@ -990,7 +993,7 @@ var dt = function() {
|
|
|
990
993
|
return g(this, function(n) {
|
|
991
994
|
switch (n.label) {
|
|
992
995
|
case 0:
|
|
993
|
-
return [4,
|
|
996
|
+
return [4, be(this, e)];
|
|
994
997
|
case 1:
|
|
995
998
|
return n.sent(), [2, this];
|
|
996
999
|
}
|
|
@@ -1009,7 +1012,7 @@ var dt = function() {
|
|
|
1009
1012
|
return g(this, function(n) {
|
|
1010
1013
|
switch (n.label) {
|
|
1011
1014
|
case 0:
|
|
1012
|
-
return [4,
|
|
1015
|
+
return [4, ve(this, e)];
|
|
1013
1016
|
case 1:
|
|
1014
1017
|
return n.sent(), [2, this];
|
|
1015
1018
|
}
|
|
@@ -1051,51 +1054,51 @@ var dt = function() {
|
|
|
1051
1054
|
});
|
|
1052
1055
|
});
|
|
1053
1056
|
}, t.prototype.refresh = function(e) {
|
|
1054
|
-
return
|
|
1057
|
+
return Ot(this, e), this;
|
|
1055
1058
|
}, t.prototype.setDontShowAgain = function(e) {
|
|
1056
|
-
return
|
|
1059
|
+
return fe(this, e), this;
|
|
1057
1060
|
}, t.prototype.onbeforechange = function(e) {
|
|
1058
|
-
if (!
|
|
1061
|
+
if (!_(e))
|
|
1059
1062
|
throw new Error("Provided callback for onbeforechange was not a function");
|
|
1060
1063
|
return this._introBeforeChangeCallback = e, this;
|
|
1061
1064
|
}, t.prototype.onchange = function(e) {
|
|
1062
|
-
if (!
|
|
1065
|
+
if (!_(e))
|
|
1063
1066
|
throw new Error("Provided callback for onchange was not a function.");
|
|
1064
1067
|
return this._introChangeCallback = e, this;
|
|
1065
1068
|
}, t.prototype.onafterchange = function(e) {
|
|
1066
|
-
if (!
|
|
1069
|
+
if (!_(e))
|
|
1067
1070
|
throw new Error("Provided callback for onafterchange was not a function");
|
|
1068
1071
|
return this._introAfterChangeCallback = e, this;
|
|
1069
1072
|
}, t.prototype.oncomplete = function(e) {
|
|
1070
|
-
if (!
|
|
1073
|
+
if (!_(e))
|
|
1071
1074
|
throw new Error("Provided callback for oncomplete was not a function.");
|
|
1072
1075
|
return this._introCompleteCallback = e, this;
|
|
1073
1076
|
}, t.prototype.onhintsadded = function(e) {
|
|
1074
|
-
if (!
|
|
1077
|
+
if (!_(e))
|
|
1075
1078
|
throw new Error("Provided callback for onhintsadded was not a function.");
|
|
1076
1079
|
return this._hintsAddedCallback = e, this;
|
|
1077
1080
|
}, t.prototype.onhintclick = function(e) {
|
|
1078
|
-
if (!
|
|
1081
|
+
if (!_(e))
|
|
1079
1082
|
throw new Error("Provided callback for onhintclick was not a function.");
|
|
1080
1083
|
return this._hintClickCallback = e, this;
|
|
1081
1084
|
}, t.prototype.onhintclose = function(e) {
|
|
1082
|
-
if (!
|
|
1085
|
+
if (!_(e))
|
|
1083
1086
|
throw new Error("Provided callback for onhintclose was not a function.");
|
|
1084
1087
|
return this._hintCloseCallback = e, this;
|
|
1085
1088
|
}, t.prototype.onstart = function(e) {
|
|
1086
|
-
if (!
|
|
1089
|
+
if (!_(e))
|
|
1087
1090
|
throw new Error("Provided callback for onstart was not a function.");
|
|
1088
1091
|
return this._introStartCallback = e, this;
|
|
1089
1092
|
}, t.prototype.onexit = function(e) {
|
|
1090
|
-
if (!
|
|
1093
|
+
if (!_(e))
|
|
1091
1094
|
throw new Error("Provided callback for onexit was not a function.");
|
|
1092
1095
|
return this._introExitCallback = e, this;
|
|
1093
1096
|
}, t.prototype.onskip = function(e) {
|
|
1094
|
-
if (!
|
|
1097
|
+
if (!_(e))
|
|
1095
1098
|
throw new Error("Provided callback for onskip was not a function.");
|
|
1096
1099
|
return this._introSkipCallback = e, this;
|
|
1097
1100
|
}, t.prototype.onbeforeexit = function(e) {
|
|
1098
|
-
if (!
|
|
1101
|
+
if (!_(e))
|
|
1099
1102
|
throw new Error("Provided callback for onbeforeexit was not a function.");
|
|
1100
1103
|
return this._introBeforeExitCallback = e, this;
|
|
1101
1104
|
}, t.prototype.addHints = function() {
|
|
@@ -1125,7 +1128,7 @@ var dt = function() {
|
|
|
1125
1128
|
return g(this, function(e) {
|
|
1126
1129
|
switch (e.label) {
|
|
1127
1130
|
case 0:
|
|
1128
|
-
return [4,
|
|
1131
|
+
return [4, ye(this)];
|
|
1129
1132
|
case 1:
|
|
1130
1133
|
return e.sent(), [2, this];
|
|
1131
1134
|
}
|
|
@@ -1138,7 +1141,7 @@ var dt = function() {
|
|
|
1138
1141
|
return g(this, function(e) {
|
|
1139
1142
|
switch (e.label) {
|
|
1140
1143
|
case 0:
|
|
1141
|
-
return [4,
|
|
1144
|
+
return [4, _e(this)];
|
|
1142
1145
|
case 1:
|
|
1143
1146
|
return e.sent(), [2, this];
|
|
1144
1147
|
}
|
|
@@ -1146,14 +1149,14 @@ var dt = function() {
|
|
|
1146
1149
|
});
|
|
1147
1150
|
}, t.prototype.removeHints = function() {
|
|
1148
1151
|
return function(e) {
|
|
1149
|
-
for (var n = 0, o =
|
|
1152
|
+
for (var n = 0, o = K(".introjs-hint"); n < o.length; n++) {
|
|
1150
1153
|
var i = o[n].getAttribute("data-step");
|
|
1151
|
-
i &&
|
|
1154
|
+
i && kt(parseInt(i, 10));
|
|
1152
1155
|
}
|
|
1153
1156
|
L.off(document, "click", lt, e, !1), L.off(window, "resize", ct, e, !0), e._hintsAutoRefreshFunction && L.off(window, "scroll", e._hintsAutoRefreshFunction, e, !0);
|
|
1154
1157
|
}(this), this;
|
|
1155
1158
|
}, t.prototype.removeHint = function(e) {
|
|
1156
|
-
return
|
|
1159
|
+
return kt(e), this;
|
|
1157
1160
|
}, t.prototype.showHintDialog = function(e) {
|
|
1158
1161
|
return f(this, void 0, void 0, function() {
|
|
1159
1162
|
return g(this, function(n) {
|
|
@@ -1180,10 +1183,10 @@ var dt = function() {
|
|
|
1180
1183
|
return t.instances[ht(n, "introjs-instance")] = n, n;
|
|
1181
1184
|
};
|
|
1182
1185
|
mt.version = "7.2.0", mt.instances = {};
|
|
1183
|
-
const
|
|
1184
|
-
const { prefixVar: t } =
|
|
1185
|
-
let
|
|
1186
|
-
|
|
1186
|
+
const Se = () => {
|
|
1187
|
+
const { prefixVar: t } = he(""), e = D(`${t}-online-aiCreateTable`), n = D(`${t}-online-newAddBtn`), o = D(`${t}-online-customBtn`), i = D(`${t}-online-enhanceJsBtn`), r = D(`${t}-online-enhanceSqlBtn`), s = D(`${t}-online-enhanceJavaBtn`), a = D(`${t}-online-exportDbBtn`), c = D(`${t}-online-codeGenerator`), p = `${t}-online-guide`, l = () => {
|
|
1188
|
+
let u = mt();
|
|
1189
|
+
u.setOptions({
|
|
1187
1190
|
nextLabel: "下一步",
|
|
1188
1191
|
prevLabel: "上一步",
|
|
1189
1192
|
//skipLabel: '跳过',
|
|
@@ -1191,7 +1194,7 @@ const ve = () => {
|
|
|
1191
1194
|
steps: [
|
|
1192
1195
|
{
|
|
1193
1196
|
title: "第一步",
|
|
1194
|
-
element: document.querySelector(`.${
|
|
1197
|
+
element: document.querySelector(`.${n.value}`),
|
|
1195
1198
|
intro: "点击<strong>新增</strong>按钮,新建一个表。"
|
|
1196
1199
|
},
|
|
1197
1200
|
{
|
|
@@ -1202,245 +1205,271 @@ const ve = () => {
|
|
|
1202
1205
|
title: "第三步",
|
|
1203
1206
|
intro: '在列表中找到刚才新建数据,在操作列点击<strong>"更多"</strong>,选择<strong>"功能测试"</strong>。'
|
|
1204
1207
|
},
|
|
1208
|
+
{
|
|
1209
|
+
title: "AI建表",
|
|
1210
|
+
element: document.querySelector(`.${e.value}`),
|
|
1211
|
+
intro: "输入修饰词即可通过AI创建工作表"
|
|
1212
|
+
},
|
|
1205
1213
|
{
|
|
1206
1214
|
title: "代码生成",
|
|
1207
|
-
element: document.querySelector(`.${
|
|
1215
|
+
element: document.querySelector(`.${c.value}`),
|
|
1208
1216
|
intro: "选中一条记录,通过代码生成可将已配置好的表单,一键生成前后端代码,复杂需求可在此基础上进行二次开发。"
|
|
1209
1217
|
},
|
|
1210
1218
|
{
|
|
1211
1219
|
title: "自定义按钮",
|
|
1212
|
-
element: document.querySelector(`.${
|
|
1220
|
+
element: document.querySelector(`.${o.value}`),
|
|
1213
1221
|
intro: '选中一条记录,点击自定义按钮,配置按钮相关信息即可在当前记录的<strong>"功能测试"</strong>页面新增一个按钮'
|
|
1214
1222
|
},
|
|
1215
1223
|
{
|
|
1216
1224
|
title: "JS强增",
|
|
1217
|
-
element: document.querySelector(`.${
|
|
1225
|
+
element: document.querySelector(`.${i.value}`),
|
|
1218
1226
|
intro: '选中一条记录,通过js增强可为<strong>"自定义按钮"</strong>添加不同操作,可操作列表和表单数据等,也可以添加表单前置事件。'
|
|
1219
1227
|
},
|
|
1220
1228
|
{
|
|
1221
1229
|
title: "SQL增强",
|
|
1222
|
-
element: document.querySelector(`.${
|
|
1230
|
+
element: document.querySelector(`.${r.value}`),
|
|
1223
1231
|
intro: "选中一条记录,通过增强SQL,可以关联修改业务数据。"
|
|
1224
1232
|
},
|
|
1225
1233
|
{
|
|
1226
1234
|
title: "java增强",
|
|
1227
|
-
element: document.querySelector(`.${
|
|
1235
|
+
element: document.querySelector(`.${s.value}`),
|
|
1228
1236
|
intro: "选中一条记录,通过Java增强可在表单的增加、修改、和删除数据时实现额外的功能,类似spring中的AOP切面编程。"
|
|
1229
1237
|
},
|
|
1230
1238
|
{
|
|
1231
1239
|
title: "导入数据库表",
|
|
1232
|
-
element: document.querySelector(`.${
|
|
1240
|
+
element: document.querySelector(`.${a.value}`),
|
|
1233
1241
|
intro: "可将已有数据库中的表,直接导入生成表单。"
|
|
1234
1242
|
}
|
|
1235
1243
|
]
|
|
1236
|
-
}),
|
|
1244
|
+
}), u.start();
|
|
1237
1245
|
};
|
|
1238
|
-
return
|
|
1239
|
-
localStorage.getItem(
|
|
1240
|
-
|
|
1246
|
+
return zt(() => {
|
|
1247
|
+
localStorage.getItem(p) || setTimeout(() => {
|
|
1248
|
+
l(), localStorage.setItem(p, "1");
|
|
1241
1249
|
}, 2e3);
|
|
1242
1250
|
}), {
|
|
1243
|
-
newAddBtn:
|
|
1244
|
-
customBtn:
|
|
1245
|
-
enhanceJsBtn:
|
|
1246
|
-
enhanceSqlBtn:
|
|
1247
|
-
exportDbBtn:
|
|
1248
|
-
enhanceJavaBtn:
|
|
1249
|
-
codeGeneratorBtn:
|
|
1251
|
+
newAddBtn: n,
|
|
1252
|
+
customBtn: o,
|
|
1253
|
+
enhanceJsBtn: i,
|
|
1254
|
+
enhanceSqlBtn: r,
|
|
1255
|
+
exportDbBtn: a,
|
|
1256
|
+
enhanceJavaBtn: s,
|
|
1257
|
+
codeGeneratorBtn: c,
|
|
1258
|
+
aiCreateTable: e
|
|
1250
1259
|
};
|
|
1251
|
-
},
|
|
1260
|
+
}, Ae = Wt({
|
|
1252
1261
|
name: "CgformIndex",
|
|
1253
1262
|
components: {
|
|
1254
|
-
BasicTable:
|
|
1255
|
-
TableAction:
|
|
1256
|
-
CgformModal:
|
|
1257
|
-
DbToOnlineModal:
|
|
1258
|
-
CodeGeneratorModal:
|
|
1259
|
-
CustomButtonList:
|
|
1260
|
-
EnhanceJsModal:
|
|
1261
|
-
EnhanceJavaModal:
|
|
1262
|
-
EnhanceSqlModal:
|
|
1263
|
-
AuthManagerDrawer:
|
|
1264
|
-
AuthSetterModal:
|
|
1263
|
+
BasicTable: Qt,
|
|
1264
|
+
TableAction: Ut,
|
|
1265
|
+
CgformModal: Zt,
|
|
1266
|
+
DbToOnlineModal: te,
|
|
1267
|
+
CodeGeneratorModal: ee,
|
|
1268
|
+
CustomButtonList: ne,
|
|
1269
|
+
EnhanceJsModal: oe,
|
|
1270
|
+
EnhanceJavaModal: ie,
|
|
1271
|
+
EnhanceSqlModal: re,
|
|
1272
|
+
AuthManagerDrawer: se,
|
|
1273
|
+
AuthSetterModal: ae,
|
|
1274
|
+
AiModal: le
|
|
1265
1275
|
},
|
|
1266
1276
|
setup() {
|
|
1267
1277
|
const {
|
|
1268
1278
|
pageContext: t,
|
|
1269
1279
|
onAdd: e,
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1280
|
+
onAiCreateTable: n,
|
|
1281
|
+
onSuccess: o,
|
|
1282
|
+
onCreateAiTable: i,
|
|
1283
|
+
onDeleteBatch: r,
|
|
1284
|
+
onImportDbTable: s,
|
|
1285
|
+
onGenerateCode: a,
|
|
1286
|
+
onShowCustomButton: c,
|
|
1287
|
+
onShowEnhanceJs: p,
|
|
1288
|
+
onShowEnhanceSql: l,
|
|
1277
1289
|
onShowEnhanceJava: u,
|
|
1278
|
-
getTableAction:
|
|
1279
|
-
getDropDownAction:
|
|
1280
|
-
registerAuthManagerDrawer:
|
|
1281
|
-
registerAuthSetterModal:
|
|
1282
|
-
registerCustomButtonModal:
|
|
1283
|
-
registerEnhanceJsModal:
|
|
1284
|
-
registerEnhanceSqlModal:
|
|
1285
|
-
registerEnhanceJavaModal:
|
|
1290
|
+
getTableAction: m,
|
|
1291
|
+
getDropDownAction: b,
|
|
1292
|
+
registerAuthManagerDrawer: v,
|
|
1293
|
+
registerAuthSetterModal: C,
|
|
1294
|
+
registerCustomButtonModal: w,
|
|
1295
|
+
registerEnhanceJsModal: E,
|
|
1296
|
+
registerEnhanceSqlModal: T,
|
|
1297
|
+
registerEnhanceJavaModal: M,
|
|
1286
1298
|
registerCgformModal: N,
|
|
1287
|
-
registerDbToOnlineModal:
|
|
1288
|
-
registerCodeGeneratorModal:
|
|
1289
|
-
|
|
1290
|
-
|
|
1299
|
+
registerDbToOnlineModal: R,
|
|
1300
|
+
registerCodeGeneratorModal: V,
|
|
1301
|
+
registerAiToOnlineModal: x
|
|
1302
|
+
} = ce({
|
|
1303
|
+
pageType: ue.normal,
|
|
1291
1304
|
designScope: "online-cgform-list",
|
|
1292
|
-
columns:
|
|
1293
|
-
formSchemas:
|
|
1294
|
-
}), { prefixCls:
|
|
1295
|
-
newAddBtn:
|
|
1296
|
-
customBtn:
|
|
1297
|
-
enhanceJsBtn:
|
|
1298
|
-
enhanceSqlBtn:
|
|
1299
|
-
exportDbBtn:
|
|
1300
|
-
enhanceJavaBtn:
|
|
1301
|
-
codeGeneratorBtn:
|
|
1302
|
-
|
|
1305
|
+
columns: pe,
|
|
1306
|
+
formSchemas: de
|
|
1307
|
+
}), { prefixCls: z, tableContext: W } = t, [X, { reload: J }, { rowSelection: d, selectedRowKeys: A }] = W, {
|
|
1308
|
+
newAddBtn: k,
|
|
1309
|
+
customBtn: $,
|
|
1310
|
+
enhanceJsBtn: Z,
|
|
1311
|
+
enhanceSqlBtn: Jt,
|
|
1312
|
+
exportDbBtn: $t,
|
|
1313
|
+
enhanceJavaBtn: Ft,
|
|
1314
|
+
codeGeneratorBtn: Gt,
|
|
1315
|
+
aiCreateTable: Vt
|
|
1316
|
+
} = Se();
|
|
1303
1317
|
return {
|
|
1304
|
-
prefixCls:
|
|
1305
|
-
reload:
|
|
1306
|
-
rowSelection:
|
|
1307
|
-
selectedRowKeys:
|
|
1318
|
+
prefixCls: z,
|
|
1319
|
+
reload: J,
|
|
1320
|
+
rowSelection: d,
|
|
1321
|
+
selectedRowKeys: A,
|
|
1308
1322
|
onAdd: e,
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1323
|
+
onAiCreateTable: n,
|
|
1324
|
+
onSuccess: o,
|
|
1325
|
+
onDeleteBatch: r,
|
|
1326
|
+
onImportDbTable: s,
|
|
1327
|
+
onGenerateCode: a,
|
|
1328
|
+
onShowCustomButton: c,
|
|
1329
|
+
onShowEnhanceJs: p,
|
|
1330
|
+
onShowEnhanceSql: l,
|
|
1316
1331
|
onShowEnhanceJava: u,
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1332
|
+
onCreateAiTable: i,
|
|
1333
|
+
getTableAction: m,
|
|
1334
|
+
getDropDownAction: b,
|
|
1335
|
+
registerAuthManagerDrawer: v,
|
|
1336
|
+
registerAuthSetterModal: C,
|
|
1337
|
+
registerCustomButtonModal: w,
|
|
1338
|
+
registerEnhanceJsModal: E,
|
|
1339
|
+
registerEnhanceSqlModal: T,
|
|
1340
|
+
registerEnhanceJavaModal: M,
|
|
1341
|
+
registerTable: X,
|
|
1326
1342
|
registerCgformModal: N,
|
|
1327
|
-
registerDbToOnlineModal:
|
|
1328
|
-
registerCodeGeneratorModal:
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1343
|
+
registerDbToOnlineModal: R,
|
|
1344
|
+
registerCodeGeneratorModal: V,
|
|
1345
|
+
registerAiToOnlineModal: x,
|
|
1346
|
+
newAddBtn: k,
|
|
1347
|
+
customBtn: $,
|
|
1348
|
+
enhanceJsBtn: Z,
|
|
1349
|
+
enhanceSqlBtn: Jt,
|
|
1350
|
+
enhanceJavaBtn: Ft,
|
|
1351
|
+
exportDbBtn: $t,
|
|
1352
|
+
codeGeneratorBtn: Gt,
|
|
1353
|
+
aiCreateTable: Vt
|
|
1336
1354
|
};
|
|
1337
1355
|
}
|
|
1338
|
-
}),
|
|
1356
|
+
}), ke = /* @__PURE__ */ ft("span", null, "删除", -1), je = /* @__PURE__ */ ft("span", null, "批量操作", -1), Ee = {
|
|
1339
1357
|
key: 0,
|
|
1340
1358
|
style: { color: "limegreen" }
|
|
1341
|
-
},
|
|
1359
|
+
}, Te = {
|
|
1342
1360
|
key: 1,
|
|
1343
1361
|
style: { color: "red" }
|
|
1344
1362
|
};
|
|
1345
|
-
function
|
|
1346
|
-
const s =
|
|
1347
|
-
return tt(), ut(
|
|
1363
|
+
function Ne(t, e, n, o, i, r) {
|
|
1364
|
+
const s = S("a-button"), a = S("a-icon"), c = S("a-menu-item"), p = S("a-menu"), l = S("a-dropdown"), u = S("TableAction"), m = S("BasicTable"), b = S("CgformModal"), v = S("DbToOnlineModal"), C = S("CodeGeneratorModal"), w = S("CustomButtonList"), E = S("EnhanceJsModal"), T = S("EnhanceJavaModal"), M = S("EnhanceSqlModal"), N = S("AuthManagerDrawer"), R = S("AuthSetterModal"), V = S("AiModal");
|
|
1365
|
+
return tt(), ut(Yt, null, [
|
|
1348
1366
|
ft("div", {
|
|
1349
|
-
class:
|
|
1367
|
+
class: q(t.prefixCls)
|
|
1350
1368
|
}, [
|
|
1351
|
-
|
|
1369
|
+
y(m, Kt({
|
|
1352
1370
|
onRegister: t.registerTable,
|
|
1353
1371
|
rowSelection: t.rowSelection
|
|
1354
1372
|
}, t.$attrs), {
|
|
1355
|
-
tableTitle:
|
|
1356
|
-
|
|
1357
|
-
class:
|
|
1373
|
+
tableTitle: j(() => [
|
|
1374
|
+
y(s, {
|
|
1375
|
+
class: q(t.newAddBtn),
|
|
1358
1376
|
onClick: t.onAdd,
|
|
1359
1377
|
type: "primary",
|
|
1360
1378
|
preIcon: "ant-design:plus"
|
|
1361
1379
|
}, {
|
|
1362
|
-
default:
|
|
1363
|
-
|
|
1380
|
+
default: j(() => [
|
|
1381
|
+
O("新增")
|
|
1382
|
+
]),
|
|
1383
|
+
_: 1
|
|
1384
|
+
}, 8, ["class", "onClick"]),
|
|
1385
|
+
y(s, {
|
|
1386
|
+
class: q(t.aiCreateTable),
|
|
1387
|
+
onClick: t.onAiCreateTable,
|
|
1388
|
+
type: "primary",
|
|
1389
|
+
preIcon: "ant-design:plus"
|
|
1390
|
+
}, {
|
|
1391
|
+
default: j(() => [
|
|
1392
|
+
O("AI建表")
|
|
1364
1393
|
]),
|
|
1365
1394
|
_: 1
|
|
1366
1395
|
}, 8, ["class", "onClick"]),
|
|
1367
|
-
|
|
1368
|
-
class:
|
|
1396
|
+
y(s, {
|
|
1397
|
+
class: q(t.customBtn),
|
|
1369
1398
|
onClick: t.onShowCustomButton,
|
|
1370
1399
|
type: "primary",
|
|
1371
1400
|
preIcon: "ant-design:highlight"
|
|
1372
1401
|
}, {
|
|
1373
|
-
default:
|
|
1374
|
-
|
|
1402
|
+
default: j(() => [
|
|
1403
|
+
O("自定义按钮")
|
|
1375
1404
|
]),
|
|
1376
1405
|
_: 1
|
|
1377
1406
|
}, 8, ["class", "onClick"]),
|
|
1378
|
-
|
|
1379
|
-
class:
|
|
1407
|
+
y(s, {
|
|
1408
|
+
class: q(t.enhanceJsBtn),
|
|
1380
1409
|
onClick: t.onShowEnhanceJs,
|
|
1381
1410
|
type: "primary",
|
|
1382
1411
|
preIcon: "ant-design:strikethrough"
|
|
1383
1412
|
}, {
|
|
1384
|
-
default:
|
|
1385
|
-
|
|
1413
|
+
default: j(() => [
|
|
1414
|
+
O("JS增强")
|
|
1386
1415
|
]),
|
|
1387
1416
|
_: 1
|
|
1388
1417
|
}, 8, ["class", "onClick"]),
|
|
1389
|
-
|
|
1390
|
-
class:
|
|
1418
|
+
y(s, {
|
|
1419
|
+
class: q(t.enhanceSqlBtn),
|
|
1391
1420
|
onClick: t.onShowEnhanceSql,
|
|
1392
1421
|
type: "primary",
|
|
1393
1422
|
preIcon: "ant-design:filter"
|
|
1394
1423
|
}, {
|
|
1395
|
-
default:
|
|
1396
|
-
|
|
1424
|
+
default: j(() => [
|
|
1425
|
+
O(" SQL增强 ")
|
|
1397
1426
|
]),
|
|
1398
1427
|
_: 1
|
|
1399
1428
|
}, 8, ["class", "onClick"]),
|
|
1400
|
-
|
|
1401
|
-
class:
|
|
1429
|
+
y(s, {
|
|
1430
|
+
class: q(t.enhanceJavaBtn),
|
|
1402
1431
|
onClick: t.onShowEnhanceJava,
|
|
1403
1432
|
type: "primary",
|
|
1404
1433
|
preIcon: "ant-design:tool"
|
|
1405
1434
|
}, {
|
|
1406
|
-
default:
|
|
1407
|
-
|
|
1435
|
+
default: j(() => [
|
|
1436
|
+
O("JAVA增强")
|
|
1408
1437
|
]),
|
|
1409
1438
|
_: 1
|
|
1410
1439
|
}, 8, ["class", "onClick"]),
|
|
1411
|
-
|
|
1412
|
-
class:
|
|
1440
|
+
y(s, {
|
|
1441
|
+
class: q(t.exportDbBtn),
|
|
1413
1442
|
onClick: t.onImportDbTable,
|
|
1414
1443
|
type: "primary",
|
|
1415
1444
|
preIcon: "ant-design:database"
|
|
1416
1445
|
}, {
|
|
1417
|
-
default:
|
|
1418
|
-
|
|
1446
|
+
default: j(() => [
|
|
1447
|
+
O("导入数据库表")
|
|
1419
1448
|
]),
|
|
1420
1449
|
_: 1
|
|
1421
1450
|
}, 8, ["class", "onClick"]),
|
|
1422
|
-
|
|
1423
|
-
class:
|
|
1451
|
+
y(s, {
|
|
1452
|
+
class: q(t.codeGeneratorBtn),
|
|
1424
1453
|
onClick: t.onGenerateCode,
|
|
1425
1454
|
type: "primary",
|
|
1426
1455
|
preIcon: "bx:bx-code-alt"
|
|
1427
1456
|
}, {
|
|
1428
|
-
default:
|
|
1429
|
-
|
|
1457
|
+
default: j(() => [
|
|
1458
|
+
O(" 代码生成 ")
|
|
1430
1459
|
]),
|
|
1431
1460
|
_: 1
|
|
1432
1461
|
}, 8, ["class", "onClick"]),
|
|
1433
|
-
t.selectedRowKeys.length > 0 ? (tt(),
|
|
1434
|
-
overlay:
|
|
1435
|
-
|
|
1436
|
-
default:
|
|
1437
|
-
|
|
1462
|
+
t.selectedRowKeys.length > 0 ? (tt(), Xt(l, { key: 0 }, {
|
|
1463
|
+
overlay: j(() => [
|
|
1464
|
+
y(p, null, {
|
|
1465
|
+
default: j(() => [
|
|
1466
|
+
y(c, {
|
|
1438
1467
|
key: "1",
|
|
1439
1468
|
onClick: t.onDeleteBatch
|
|
1440
1469
|
}, {
|
|
1441
|
-
default:
|
|
1442
|
-
|
|
1443
|
-
|
|
1470
|
+
default: j(() => [
|
|
1471
|
+
y(a, { type: "delete" }),
|
|
1472
|
+
ke
|
|
1444
1473
|
]),
|
|
1445
1474
|
_: 1
|
|
1446
1475
|
}, 8, ["onClick"])
|
|
@@ -1448,11 +1477,11 @@ function ke(t, e, n, o, i, r) {
|
|
|
1448
1477
|
_: 1
|
|
1449
1478
|
})
|
|
1450
1479
|
]),
|
|
1451
|
-
default:
|
|
1452
|
-
|
|
1453
|
-
default:
|
|
1454
|
-
|
|
1455
|
-
|
|
1480
|
+
default: j(() => [
|
|
1481
|
+
y(s, null, {
|
|
1482
|
+
default: j(() => [
|
|
1483
|
+
je,
|
|
1484
|
+
y(a, { type: "down" })
|
|
1456
1485
|
]),
|
|
1457
1486
|
_: 1
|
|
1458
1487
|
})
|
|
@@ -1460,12 +1489,12 @@ function ke(t, e, n, o, i, r) {
|
|
|
1460
1489
|
_: 1
|
|
1461
1490
|
})) : pt("", !0)
|
|
1462
1491
|
]),
|
|
1463
|
-
dbSync:
|
|
1464
|
-
x === "Y" ? (tt(), ut("span",
|
|
1465
|
-
x === "N" ? (tt(), ut("span",
|
|
1492
|
+
dbSync: j(({ text: x }) => [
|
|
1493
|
+
x === "Y" ? (tt(), ut("span", Ee, "已同步")) : pt("", !0),
|
|
1494
|
+
x === "N" ? (tt(), ut("span", Te, "未同步")) : pt("", !0)
|
|
1466
1495
|
]),
|
|
1467
|
-
action:
|
|
1468
|
-
|
|
1496
|
+
action: j(({ record: x }) => [
|
|
1497
|
+
y(u, {
|
|
1469
1498
|
actions: t.getTableAction(x),
|
|
1470
1499
|
dropDownActions: t.getDropDownAction(x)
|
|
1471
1500
|
}, null, 8, ["actions", "dropDownActions"])
|
|
@@ -1473,24 +1502,28 @@ function ke(t, e, n, o, i, r) {
|
|
|
1473
1502
|
_: 1
|
|
1474
1503
|
}, 16, ["onRegister", "rowSelection"])
|
|
1475
1504
|
], 2),
|
|
1476
|
-
|
|
1505
|
+
y(b, {
|
|
1477
1506
|
onRegister: t.registerCgformModal,
|
|
1478
1507
|
onSuccess: t.onSuccess
|
|
1479
1508
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1480
|
-
|
|
1509
|
+
y(v, {
|
|
1481
1510
|
onRegister: t.registerDbToOnlineModal,
|
|
1482
1511
|
onSuccess: t.onSuccess
|
|
1483
1512
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1513
|
+
y(C, { onRegister: t.registerCodeGeneratorModal }, null, 8, ["onRegister"]),
|
|
1514
|
+
y(w, { onRegister: t.registerCustomButtonModal }, null, 8, ["onRegister"]),
|
|
1515
|
+
y(E, { onRegister: t.registerEnhanceJsModal }, null, 8, ["onRegister"]),
|
|
1516
|
+
y(T, { onRegister: t.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
|
|
1517
|
+
y(M, { onRegister: t.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
|
|
1518
|
+
y(N, { onRegister: t.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
|
|
1519
|
+
y(R, { onRegister: t.registerAuthSetterModal }, null, 8, ["onRegister"]),
|
|
1520
|
+
y(V, {
|
|
1521
|
+
onRegister: t.registerAiToOnlineModal,
|
|
1522
|
+
onSuccess: t.onCreateAiTable
|
|
1523
|
+
}, null, 8, ["onRegister", "onSuccess"])
|
|
1491
1524
|
], 64);
|
|
1492
1525
|
}
|
|
1493
|
-
const
|
|
1526
|
+
const wo = /* @__PURE__ */ me(Ae, [["render", Ne]]);
|
|
1494
1527
|
export {
|
|
1495
|
-
|
|
1528
|
+
wo as default
|
|
1496
1529
|
};
|