@jeecg/online 3.6.2-beta → 3.7.1-RC
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-6de335e3.mjs +84 -0
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/AuthDataConfig-5c3a8e6b.mjs +238 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/AuthManagerDrawer-76f15e8d.mjs +119 -0
- package/AuthSetterModal-f5d2e87f.mjs +274 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
- package/CheckDictTable-1bc8322d.mjs +229 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/CodeFileViewModal-2fe911f4.mjs +253 -0
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/CustomButtonList-f07bc695.mjs +397 -0
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/DetailForm-deecbf3d.mjs +486 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
- package/EnhanceJsModal-175357a1.mjs +548 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
- package/ExtendConfigModal-a89ae052.mjs +117 -0
- package/FieldExtendJsonModal-32135634.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
- package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
- package/LinkTableConfigModal-9242d750.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/OnlCgformErpList-58acdfa0.mjs +470 -0
- package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
- package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
- package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
- package/OnlCgformTabList-019ad753.mjs +408 -0
- package/OnlineAutoList-48589d09.mjs +493 -0
- package/OnlineAutoModal-c2928847.mjs +239 -0
- package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
- package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-022ca117.mjs +342 -0
- package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
- package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
- package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
- package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
- package/OnlineTabForm-27655c83.mjs +817 -0
- package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
- package/PageAttributeTable-25e3b7da.mjs +466 -0
- package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
- package/QueryTable-f7bfca7f.mjs +147 -0
- package/SetSwitchOptions-b2af757f.mjs +62 -0
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/auth.data-511e5197.mjs +217 -0
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
- package/index-1d1a6e56.mjs +57 -0
- package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
- package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-f41d4dc1.mjs +426 -0
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-bfac4ecf.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
- package/useTableSync-d7e9f18d.mjs +89 -0
- package/AuthButtonConfig-244ec09f.mjs +0 -125
- package/AuthDataConfig-83891eea.mjs +0 -212
- package/AuthFieldConfig-6b21915c.mjs +0 -139
- package/AuthManagerDrawer-300dd4e4.mjs +0 -114
- package/AuthSetterModal-a414fb35.mjs +0 -267
- package/CgformModal-eccfc38e.mjs +0 -611
- package/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeFileViewModal-373e8058.mjs +0 -244
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- package/CustomButtonList-02e3d897.mjs +0 -363
- package/DbToOnlineModal-9f13956f.mjs +0 -160
- package/DetailForm-424638eb.mjs +0 -462
- package/EnhanceJsModal-05c73a59.mjs +0 -311
- package/ExtendConfigModal-1dde390a.mjs +0 -111
- package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
- package/JOnlineSearchSelect-c287af12.mjs +0 -95
- package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
- package/OnlCgformErpList-db45e22b.mjs +0 -454
- package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
- package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
- package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
- package/OnlCgformTabList-a9e1e36a.mjs +0 -395
- package/OnlineAutoList-0583a910.mjs +0 -479
- package/OnlineAutoModal-510991eb.mjs +0 -207
- package/OnlineForm-1fa2d893.mjs +0 -750
- package/OnlineFormDetail-0e7294ca.mjs +0 -297
- package/OnlineQueryForm-1bfc8320.mjs +0 -386
- package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
- package/OnlineTabForm-512d3951.mjs +0 -766
- package/OnlineTabFormDetail-5a70219d.mjs +0 -324
- package/PageAttributeTable-965dc58e.mjs +0 -404
- package/QueryTable-eb9a5b21.mjs +0 -115
- package/SuperQuery-5d1ca957.mjs +0 -843
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/auth.data-8be5c9e3.mjs +0 -141
- package/constant-754f1a9d.mjs +0 -9
- package/index-0e3ab3af.mjs +0 -56
- package/useCgformList-423282b7.mjs +0 -400
- package/useExtendComponent-325fe3f1.mjs +0 -3926
- package/useListButton-cdbab702.mjs +0 -676
- package/useTableSync-774c3774.mjs +0 -87
|
@@ -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-21c5c387.mjs";
|
|
4
|
+
import te from "./DbToOnlineModal-5dcb67c3.mjs";
|
|
5
|
+
import ee from "./CodeGeneratorModal-f09fe903.mjs";
|
|
6
|
+
import ne from "./CustomButtonList-f07bc695.mjs";
|
|
7
|
+
import oe from "./EnhanceJsModal-175357a1.mjs";
|
|
8
|
+
import ie from "./EnhanceJavaModal-45c66cd5.mjs";
|
|
9
|
+
import re from "./EnhanceSqlModal-7ea1b300.mjs";
|
|
10
|
+
import se from "./AuthManagerDrawer-76f15e8d.mjs";
|
|
11
|
+
import ae from "./AuthSetterModal-f5d2e87f.mjs";
|
|
12
|
+
import le from "./AiModal-6de335e3.mjs";
|
|
13
|
+
import { u as ce, C as ue } from "./useCgformList-f41d4dc1.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-1d1a6e56.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-a9c75b0f.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-285d40db.mjs";
|
|
27
28
|
import "/@/components/jeecg/JVxeTable/types";
|
|
28
|
-
import "./useTableSync-
|
|
29
|
+
import "./useTableSync-d7e9f18d.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-25e3b7da.mjs";
|
|
37
|
+
import "./LinkTableConfigModal-9242d750.mjs";
|
|
37
38
|
import "/@/utils/http/axios";
|
|
38
|
-
import "./LinkTableFieldConfigModal-
|
|
39
|
-
import "./FieldExtendJsonModal-
|
|
40
|
-
import "./
|
|
41
|
-
import "
|
|
39
|
+
import "./LinkTableFieldConfigModal-24adc50c.mjs";
|
|
40
|
+
import "./FieldExtendJsonModal-32135634.mjs";
|
|
41
|
+
import "./SetSwitchOptions-b2af757f.mjs";
|
|
42
|
+
import "/@/utils/is";
|
|
43
|
+
import "./constant-fa63bd66.mjs";
|
|
44
|
+
import "./CheckDictTable-1bc8322d.mjs";
|
|
42
45
|
import "/@/components/jeecg/JPrompt";
|
|
43
|
-
import "./ForeignKeyTable-
|
|
44
|
-
import "./IndexTable-
|
|
45
|
-
import "./QueryTable-
|
|
46
|
-
import "./ExtendConfigModal-
|
|
46
|
+
import "./ForeignKeyTable-7f7e28a7.mjs";
|
|
47
|
+
import "./IndexTable-cdcc2b48.mjs";
|
|
48
|
+
import "./QueryTable-f7bfca7f.mjs";
|
|
49
|
+
import "./ExtendConfigModal-a89ae052.mjs";
|
|
47
50
|
import "/@/components/Form";
|
|
48
51
|
import "./useOnlineTest-e4bd8be3.mjs";
|
|
49
52
|
import "/@/utils";
|
|
50
|
-
import "./useExtendComponent-
|
|
53
|
+
import "./useExtendComponent-dcae5c78.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,39 @@ 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-4265c95d.mjs";
|
|
63
|
-
import "/@/components/Loading";
|
|
64
|
+
import "./LinkTableListPiece-f3a8e0d7.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-05c40fef.mjs";
|
|
70
|
+
import "/@/components/Loading";
|
|
71
|
+
import "./JModalTip-b055ab60.mjs";
|
|
67
72
|
import "@vueuse/core";
|
|
68
|
-
import "./CodeFileListModal-
|
|
69
|
-
import "./CodeFileViewModal-
|
|
73
|
+
import "./CodeFileListModal-24601898.mjs";
|
|
74
|
+
import "./CodeFileViewModal-2fe911f4.mjs";
|
|
70
75
|
import "/@/utils/file/download";
|
|
71
|
-
import "./FileSelectModal-
|
|
72
|
-
import "./EnhanceJsHistory-
|
|
76
|
+
import "./FileSelectModal-1643c8b9.mjs";
|
|
77
|
+
import "./EnhanceJsHistory-fab3102e.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-a67572e1.mjs";
|
|
80
84
|
import "/@/components/Drawer";
|
|
81
|
-
import "./AuthFieldConfig-
|
|
82
|
-
import "./auth.api-
|
|
83
|
-
import "./auth.data-
|
|
84
|
-
import "
|
|
85
|
-
import "./
|
|
86
|
-
import "./
|
|
87
|
-
import "./
|
|
88
|
-
import "
|
|
89
|
-
import "./LeftUser-
|
|
90
|
-
import "./AuthFieldTree-
|
|
91
|
-
import "./AuthButtonTree-
|
|
92
|
-
import "./AuthDataTree-
|
|
85
|
+
import "./AuthFieldConfig-9f6fa06c.mjs";
|
|
86
|
+
import "./auth.api-ea1d33d4.mjs";
|
|
87
|
+
import "./auth.data-511e5197.mjs";
|
|
88
|
+
import "/@/utils/index";
|
|
89
|
+
import "./AuthButtonConfig-89763932.mjs";
|
|
90
|
+
import "./AuthDataConfig-5c3a8e6b.mjs";
|
|
91
|
+
import "./LeftRole-2ed8a2bf.mjs";
|
|
92
|
+
import "./LeftDepart-d5615ed9.mjs";
|
|
93
|
+
import "./LeftUser-22baa378.mjs";
|
|
94
|
+
import "./AuthFieldTree-e326fc38.mjs";
|
|
95
|
+
import "./AuthButtonTree-2d87d0b3.mjs";
|
|
96
|
+
import "./AuthDataTree-dd7a1240.mjs";
|
|
93
97
|
import "clipboard";
|
|
94
98
|
import "./cgformState-d9f8ec42.mjs";
|
|
95
99
|
/*!
|
|
@@ -110,24 +114,24 @@ function it(t) {
|
|
|
110
114
|
}
|
|
111
115
|
function f(t, e, n, o) {
|
|
112
116
|
return new (n || (n = Promise))(function(i, r) {
|
|
113
|
-
function s(
|
|
117
|
+
function s(p) {
|
|
114
118
|
try {
|
|
115
|
-
c(o.next(
|
|
119
|
+
c(o.next(p));
|
|
116
120
|
} catch (l) {
|
|
117
121
|
r(l);
|
|
118
122
|
}
|
|
119
123
|
}
|
|
120
|
-
function a(
|
|
124
|
+
function a(p) {
|
|
121
125
|
try {
|
|
122
|
-
c(o.throw(
|
|
126
|
+
c(o.throw(p));
|
|
123
127
|
} catch (l) {
|
|
124
128
|
r(l);
|
|
125
129
|
}
|
|
126
130
|
}
|
|
127
|
-
function c(
|
|
131
|
+
function c(p) {
|
|
128
132
|
var l;
|
|
129
|
-
|
|
130
|
-
|
|
133
|
+
p.done ? i(p.value) : (l = p.value, l instanceof n ? l : new n(function(u) {
|
|
134
|
+
u(l);
|
|
131
135
|
})).then(s, a);
|
|
132
136
|
}
|
|
133
137
|
c((o = o.apply(t, e || [])).next());
|
|
@@ -143,7 +147,7 @@ function g(t, e) {
|
|
|
143
147
|
return this;
|
|
144
148
|
}), r;
|
|
145
149
|
function a(c) {
|
|
146
|
-
return function(
|
|
150
|
+
return function(p) {
|
|
147
151
|
return function(l) {
|
|
148
152
|
if (n)
|
|
149
153
|
throw new TypeError("Generator is already executing.");
|
|
@@ -185,15 +189,15 @@ function g(t, e) {
|
|
|
185
189
|
continue;
|
|
186
190
|
}
|
|
187
191
|
l = e.call(t, s);
|
|
188
|
-
} catch (
|
|
189
|
-
l = [6,
|
|
192
|
+
} catch (u) {
|
|
193
|
+
l = [6, u], o = 0;
|
|
190
194
|
} finally {
|
|
191
195
|
n = i = 0;
|
|
192
196
|
}
|
|
193
197
|
if (5 & l[0])
|
|
194
198
|
throw l[1];
|
|
195
199
|
return { value: l[0] ? l[1] : void 0, done: !0 };
|
|
196
|
-
}([c,
|
|
200
|
+
}([c, p]);
|
|
197
201
|
};
|
|
198
202
|
}
|
|
199
203
|
}
|
|
@@ -215,7 +219,7 @@ function Et(t) {
|
|
|
215
219
|
}), e)[t];
|
|
216
220
|
var e;
|
|
217
221
|
}
|
|
218
|
-
function
|
|
222
|
+
function fe(t, e) {
|
|
219
223
|
e ? wt(t._options.dontShowAgainCookie, "true", t._options.dontShowAgainCookieDays) : wt(t._options.dontShowAgainCookie, "", -1);
|
|
220
224
|
}
|
|
221
225
|
var et, ht = (et = {}, function(t, e) {
|
|
@@ -235,7 +239,7 @@ var et, ht = (et = {}, function(t, e) {
|
|
|
235
239
|
var s = this._id(n, o, i), a = e[this.events_key] && e[this.events_key][s];
|
|
236
240
|
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
241
|
}, t;
|
|
238
|
-
}())(),
|
|
242
|
+
}())(), _ = function(t) {
|
|
239
243
|
return typeof t == "function";
|
|
240
244
|
};
|
|
241
245
|
function I(t, e) {
|
|
@@ -284,18 +288,18 @@ function St(t, e, n, o, i) {
|
|
|
284
288
|
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
289
|
}
|
|
286
290
|
}
|
|
287
|
-
function
|
|
291
|
+
function U(t) {
|
|
288
292
|
t.setAttribute("role", "button"), t.tabIndex = 0;
|
|
289
293
|
}
|
|
290
294
|
function at(t) {
|
|
291
295
|
var e = t.parentElement;
|
|
292
296
|
return !(!e || e.nodeName === "HTML") && (gt(t, "position") === "fixed" || at(e));
|
|
293
297
|
}
|
|
294
|
-
function
|
|
298
|
+
function Y(t, e) {
|
|
295
299
|
var n = document.body, o = document.documentElement, i = window.pageYOffset || o.scrollTop || n.scrollTop, r = window.pageXOffset || o.scrollLeft || n.scrollLeft;
|
|
296
300
|
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(
|
|
301
|
+
var s = t.getBoundingClientRect(), a = e.getBoundingClientRect(), c = gt(e, "position"), p = { width: s.width, height: s.height };
|
|
302
|
+
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
303
|
}
|
|
300
304
|
function vt(t, e) {
|
|
301
305
|
if (t instanceof SVGElement) {
|
|
@@ -304,7 +308,7 @@ function vt(t, e) {
|
|
|
304
308
|
} else
|
|
305
309
|
t.className = t.className.replace(e, "").replace(/^\s+|\s+$/g, "");
|
|
306
310
|
}
|
|
307
|
-
function
|
|
311
|
+
function H(t, e) {
|
|
308
312
|
var n = "";
|
|
309
313
|
if (t.style.cssText && (n += t.style.cssText), typeof e == "string")
|
|
310
314
|
n += e;
|
|
@@ -313,10 +317,10 @@ function D(t, e) {
|
|
|
313
317
|
n += "".concat(o, ":").concat(e[o], ";");
|
|
314
318
|
t.style.cssText = n;
|
|
315
319
|
}
|
|
316
|
-
function
|
|
320
|
+
function P(t, e, n) {
|
|
317
321
|
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),
|
|
322
|
+
var o = Y(e.element, t._targetElement), i = t._options.helperElementPadding;
|
|
323
|
+
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
324
|
}
|
|
321
325
|
}
|
|
322
326
|
function nt(t, e, n, o, i) {
|
|
@@ -328,27 +332,27 @@ function ot(t, e, n, o) {
|
|
|
328
332
|
function B(t, e) {
|
|
329
333
|
t.includes(e) && t.splice(t.indexOf(e), 1);
|
|
330
334
|
}
|
|
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,
|
|
335
|
+
function ge(t, e, n, o) {
|
|
336
|
+
var i = t.slice(), r = bt(), s = Y(n).height + 10, a = Y(n).width + 20, c = e.getBoundingClientRect(), p = "floating";
|
|
337
|
+
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") {
|
|
338
|
+
var l = void 0, u = [];
|
|
339
|
+
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) {
|
|
340
|
+
var w = b / 2, E = Math.min(v, window.screen.width);
|
|
341
|
+
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;
|
|
342
|
+
}(c.left, a, r.width, u) || l;
|
|
339
343
|
}
|
|
340
|
-
return
|
|
344
|
+
return p;
|
|
341
345
|
}
|
|
342
346
|
function rt(t, e, n, o, i) {
|
|
343
347
|
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",
|
|
348
|
+
var r, s, a, c, p = "";
|
|
349
|
+
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
350
|
var l = s.width / 2 - r.width / 2;
|
|
347
351
|
switch (c) {
|
|
348
352
|
case "top-right-aligned":
|
|
349
353
|
o.className = "introjs-arrow bottom-right";
|
|
350
|
-
var
|
|
351
|
-
ot(s,
|
|
354
|
+
var u = 0;
|
|
355
|
+
ot(s, u, r, n), n.style.bottom = "".concat(s.height + 20, "px");
|
|
352
356
|
break;
|
|
353
357
|
case "top-middle-aligned":
|
|
354
358
|
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 +371,7 @@ function rt(t, e, n, o, i) {
|
|
|
367
371
|
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
372
|
break;
|
|
369
373
|
case "bottom-right-aligned":
|
|
370
|
-
o.className = "introjs-arrow top-right", ot(s,
|
|
374
|
+
o.className = "introjs-arrow top-right", ot(s, u = 0, r, n), n.style.top = "".concat(s.height + 20, "px");
|
|
371
375
|
break;
|
|
372
376
|
case "bottom-middle-aligned":
|
|
373
377
|
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 +381,7 @@ function rt(t, e, n, o, i) {
|
|
|
377
381
|
}
|
|
378
382
|
}
|
|
379
383
|
}
|
|
380
|
-
function
|
|
384
|
+
function Tt() {
|
|
381
385
|
for (var t = 0, e = Array.from(document.querySelectorAll(".introjs-showElement")); t < e.length; t++)
|
|
382
386
|
vt(e[t], /introjs-[a-zA-Z]+/g);
|
|
383
387
|
}
|
|
@@ -387,20 +391,20 @@ function h(t, e) {
|
|
|
387
391
|
var o = /^(?:role|data-|aria-)/;
|
|
388
392
|
for (var i in e) {
|
|
389
393
|
var r = e[i];
|
|
390
|
-
i === "style" && typeof r != "function" ?
|
|
394
|
+
i === "style" && typeof r != "function" ? H(n, r) : typeof r == "string" && i.match(o) ? n.setAttribute(i, r) : n[i] = r;
|
|
391
395
|
}
|
|
392
396
|
return n;
|
|
393
397
|
}
|
|
394
|
-
function
|
|
398
|
+
function At(t, e, n) {
|
|
395
399
|
if (n === void 0 && (n = !1), n) {
|
|
396
400
|
var o = e.style.opacity || "1";
|
|
397
|
-
|
|
398
|
-
|
|
401
|
+
H(e, { opacity: "0" }), window.setTimeout(function() {
|
|
402
|
+
H(e, { opacity: o });
|
|
399
403
|
}, 10);
|
|
400
404
|
}
|
|
401
405
|
t.appendChild(e);
|
|
402
406
|
}
|
|
403
|
-
function
|
|
407
|
+
function Nt(t, e) {
|
|
404
408
|
return (t + 1) / e * 100;
|
|
405
409
|
}
|
|
406
410
|
function xt(t, e) {
|
|
@@ -409,49 +413,49 @@ function xt(t, e) {
|
|
|
409
413
|
var o = h("ul");
|
|
410
414
|
o.setAttribute("role", "tablist");
|
|
411
415
|
for (var i = function() {
|
|
412
|
-
var
|
|
413
|
-
|
|
416
|
+
var p = this.getAttribute("data-step-number");
|
|
417
|
+
p != null && t.goToStep(parseInt(p, 10));
|
|
414
418
|
}, r = 0; r < t._introItems.length; r++) {
|
|
415
419
|
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"),
|
|
420
|
+
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
421
|
}
|
|
418
422
|
return n.appendChild(o), n;
|
|
419
423
|
}
|
|
420
424
|
function Bt(t, e, n) {
|
|
421
425
|
var o = t.querySelector(".introjs-progress .introjs-progressbar");
|
|
422
426
|
if (o) {
|
|
423
|
-
var i =
|
|
427
|
+
var i = Nt(e, n);
|
|
424
428
|
o.style.cssText = "width:".concat(i, "%;"), o.setAttribute("aria-valuenow", i.toString());
|
|
425
429
|
}
|
|
426
430
|
}
|
|
427
431
|
function It(t, e) {
|
|
428
432
|
return f(this, void 0, void 0, function() {
|
|
429
|
-
var n, o, i, r, s, a, c,
|
|
430
|
-
return g(this, function(
|
|
431
|
-
switch (
|
|
433
|
+
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;
|
|
434
|
+
return g(this, function(J) {
|
|
435
|
+
switch (J.label) {
|
|
432
436
|
case 0:
|
|
433
|
-
return
|
|
437
|
+
return _(t._introChangeCallback) ? [4, t._introChangeCallback.call(t, e.element)] : [3, 2];
|
|
434
438
|
case 1:
|
|
435
|
-
|
|
439
|
+
J.sent(), J.label = 2;
|
|
436
440
|
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)),
|
|
441
|
+
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() {
|
|
442
|
+
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
443
|
if (d) {
|
|
440
|
-
var
|
|
441
|
-
|
|
444
|
+
var $ = A.querySelector(".introjs-bullets li > a.active"), Z = A.querySelector('.introjs-bullets li > a[data-step-number="'.concat(k.step, '"]'));
|
|
445
|
+
$ && Z && ($.className = "", Z.className = "active");
|
|
442
446
|
}
|
|
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" }),
|
|
447
|
+
}(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);
|
|
448
|
+
}, 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
449
|
t.setDontShowAgain(d.target.checked);
|
|
446
|
-
}, (
|
|
447
|
-
var
|
|
448
|
-
|
|
450
|
+
}, (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) {
|
|
451
|
+
var A = h("div");
|
|
452
|
+
A.className = "introjs-progress", d._options.showProgress === !1 && (A.style.display = "none");
|
|
449
453
|
var k = h("div", { className: "introjs-progressbar" });
|
|
450
454
|
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(
|
|
455
|
+
var $ = Nt(d._currentStep, d._introItems.length);
|
|
456
|
+
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;
|
|
457
|
+
}(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() {
|
|
458
|
+
return f(X, void 0, void 0, function() {
|
|
455
459
|
return g(this, function(d) {
|
|
456
460
|
switch (d.label) {
|
|
457
461
|
case 0:
|
|
@@ -459,7 +463,7 @@ function It(t, e) {
|
|
|
459
463
|
case 1:
|
|
460
464
|
return d.sent(), [3, 6];
|
|
461
465
|
case 2:
|
|
462
|
-
return /introjs-donebutton/gi.test(r.className) ?
|
|
466
|
+
return /introjs-donebutton/gi.test(r.className) ? _(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "done")] : [3, 4] : [3, 6];
|
|
463
467
|
case 3:
|
|
464
468
|
d.sent(), d.label = 4;
|
|
465
469
|
case 4:
|
|
@@ -471,8 +475,8 @@ function It(t, e) {
|
|
|
471
475
|
}
|
|
472
476
|
});
|
|
473
477
|
});
|
|
474
|
-
},
|
|
475
|
-
return f(
|
|
478
|
+
}, U(r), r.innerHTML = t._options.nextLabel, (s = h("a")).onclick = function() {
|
|
479
|
+
return f(X, void 0, void 0, function() {
|
|
476
480
|
return g(this, function(d) {
|
|
477
481
|
switch (d.label) {
|
|
478
482
|
case 0:
|
|
@@ -484,16 +488,16 @@ function It(t, e) {
|
|
|
484
488
|
}
|
|
485
489
|
});
|
|
486
490
|
});
|
|
487
|
-
},
|
|
488
|
-
return f(
|
|
491
|
+
}, U(s), s.innerHTML = t._options.prevLabel, U(a = h("a", { className: "introjs-skipbutton" })), a.innerHTML = t._options.skipLabel, a.onclick = function() {
|
|
492
|
+
return f(X, void 0, void 0, function() {
|
|
489
493
|
return g(this, function(d) {
|
|
490
494
|
switch (d.label) {
|
|
491
495
|
case 0:
|
|
492
|
-
return t._introItems.length - 1 === t._currentStep &&
|
|
496
|
+
return t._introItems.length - 1 === t._currentStep && _(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 2];
|
|
493
497
|
case 1:
|
|
494
498
|
d.sent(), d.label = 2;
|
|
495
499
|
case 2:
|
|
496
|
-
return
|
|
500
|
+
return _(t._introSkipCallback) ? [4, t._introSkipCallback.call(t, t._currentStep)] : [3, 4];
|
|
497
501
|
case 3:
|
|
498
502
|
d.sent(), d.label = 4;
|
|
499
503
|
case 4:
|
|
@@ -503,23 +507,23 @@ function It(t, e) {
|
|
|
503
507
|
}
|
|
504
508
|
});
|
|
505
509
|
});
|
|
506
|
-
},
|
|
510
|
+
}, 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
511
|
var k = document.querySelector(".introjs-disableInteraction");
|
|
508
|
-
k === null && (k = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(k)),
|
|
512
|
+
k === null && (k = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(k)), P(d, A, k);
|
|
509
513
|
}(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
514
|
I(d, "introjs-showElement");
|
|
511
|
-
var
|
|
512
|
-
|
|
513
|
-
}(e.element),
|
|
515
|
+
var A = gt(d, "position");
|
|
516
|
+
A !== "absolute" && A !== "relative" && A !== "sticky" && A !== "fixed" && I(d, "introjs-relativePosition");
|
|
517
|
+
}(e.element), _(t._introAfterChangeCallback) ? [4, t._introAfterChangeCallback.call(t, e.element)] : [3, 4];
|
|
514
518
|
case 3:
|
|
515
|
-
|
|
519
|
+
J.sent(), J.label = 4;
|
|
516
520
|
case 4:
|
|
517
521
|
return [2];
|
|
518
522
|
}
|
|
519
523
|
});
|
|
520
524
|
});
|
|
521
525
|
}
|
|
522
|
-
function
|
|
526
|
+
function be(t, e) {
|
|
523
527
|
return f(this, void 0, void 0, function() {
|
|
524
528
|
return g(this, function(n) {
|
|
525
529
|
switch (n.label) {
|
|
@@ -533,7 +537,7 @@ function de(t, e) {
|
|
|
533
537
|
});
|
|
534
538
|
});
|
|
535
539
|
}
|
|
536
|
-
function
|
|
540
|
+
function ve(t, e) {
|
|
537
541
|
return f(this, void 0, void 0, function() {
|
|
538
542
|
return g(this, function(n) {
|
|
539
543
|
switch (n.label) {
|
|
@@ -556,11 +560,11 @@ function F(t) {
|
|
|
556
560
|
if (t._direction = "forward", t._currentStepNumber !== void 0)
|
|
557
561
|
for (e = 0; e < t._introItems.length; e++)
|
|
558
562
|
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,
|
|
563
|
+
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
564
|
case 1:
|
|
561
565
|
o = i.sent(), i.label = 2;
|
|
562
566
|
case 2:
|
|
563
|
-
return o === !1 ? (--t._currentStep, [2, !1]) : t._introItems.length <= t._currentStep ?
|
|
567
|
+
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
568
|
case 3:
|
|
565
569
|
i.sent(), i.label = 4;
|
|
566
570
|
case 4:
|
|
@@ -581,7 +585,7 @@ function st(t) {
|
|
|
581
585
|
return g(this, function(o) {
|
|
582
586
|
switch (o.label) {
|
|
583
587
|
case 0:
|
|
584
|
-
return t._direction = "backward", t._currentStep <= 0 ? [2, !1] : (--t._currentStep, e = t._introItems[t._currentStep], n = !0,
|
|
588
|
+
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
589
|
case 1:
|
|
586
590
|
n = o.sent(), o.label = 2;
|
|
587
591
|
case 2:
|
|
@@ -614,7 +618,7 @@ function Lt(t, e) {
|
|
|
614
618
|
case 7:
|
|
615
619
|
return i.sent(), [3, 15];
|
|
616
620
|
case 8:
|
|
617
|
-
return o && o.className.match("introjs-skipbutton") ? t._introItems.length - 1 === t._currentStep &&
|
|
621
|
+
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
622
|
case 9:
|
|
619
623
|
i.sent(), i.label = 10;
|
|
620
624
|
case 10:
|
|
@@ -643,7 +647,7 @@ function yt(t) {
|
|
|
643
647
|
"jQuery" in window && t[n] instanceof window.jQuery ? e[n] = t[n] : e[n] = yt(t[n]);
|
|
644
648
|
return e;
|
|
645
649
|
}
|
|
646
|
-
function
|
|
650
|
+
function K(t) {
|
|
647
651
|
var e = document.querySelector(".introjs-hints");
|
|
648
652
|
return e ? Array.from(e.querySelectorAll(t)) : [];
|
|
649
653
|
}
|
|
@@ -653,7 +657,7 @@ function _t(t, e) {
|
|
|
653
657
|
return g(this, function(o) {
|
|
654
658
|
switch (o.label) {
|
|
655
659
|
case 0:
|
|
656
|
-
return n =
|
|
660
|
+
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
661
|
case 1:
|
|
658
662
|
o.sent(), o.label = 2;
|
|
659
663
|
case 2:
|
|
@@ -662,13 +666,13 @@ function _t(t, e) {
|
|
|
662
666
|
});
|
|
663
667
|
});
|
|
664
668
|
}
|
|
665
|
-
function
|
|
669
|
+
function ye(t) {
|
|
666
670
|
return f(this, void 0, void 0, function() {
|
|
667
671
|
var e, n, o, i, r;
|
|
668
672
|
return g(this, function(s) {
|
|
669
673
|
switch (s.label) {
|
|
670
674
|
case 0:
|
|
671
|
-
e =
|
|
675
|
+
e = K(".introjs-hint"), n = 0, o = e, s.label = 1;
|
|
672
676
|
case 1:
|
|
673
677
|
return n < o.length ? (i = o[n], (r = i.getAttribute("data-step")) ? [4, _t(t, parseInt(r, 10))] : [3, 3]) : [3, 4];
|
|
674
678
|
case 2:
|
|
@@ -681,13 +685,13 @@ function me(t) {
|
|
|
681
685
|
});
|
|
682
686
|
});
|
|
683
687
|
}
|
|
684
|
-
function
|
|
688
|
+
function _e(t) {
|
|
685
689
|
return f(this, void 0, void 0, function() {
|
|
686
690
|
var e, n, o, i, r;
|
|
687
691
|
return g(this, function(s) {
|
|
688
692
|
switch (s.label) {
|
|
689
693
|
case 0:
|
|
690
|
-
if (!(e =
|
|
694
|
+
if (!(e = K(".introjs-hint")) || !e.length)
|
|
691
695
|
return [3, 1];
|
|
692
696
|
for (n = 0, o = e; n < o.length; n++)
|
|
693
697
|
i = o[n], (r = i.getAttribute("data-step")) && Mt(parseInt(r, 10));
|
|
@@ -703,14 +707,14 @@ function fe(t) {
|
|
|
703
707
|
});
|
|
704
708
|
}
|
|
705
709
|
function Mt(t) {
|
|
706
|
-
var e =
|
|
710
|
+
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
707
711
|
e && vt(e, /introjs-hidehint/g);
|
|
708
712
|
}
|
|
709
|
-
function
|
|
710
|
-
var e =
|
|
713
|
+
function kt(t) {
|
|
714
|
+
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
711
715
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
712
716
|
}
|
|
713
|
-
function
|
|
717
|
+
function we(t) {
|
|
714
718
|
return f(this, void 0, void 0, function() {
|
|
715
719
|
var e, n, o, i, r, s, a;
|
|
716
720
|
return g(this, function(c) {
|
|
@@ -724,29 +728,29 @@ function ge(t) {
|
|
|
724
728
|
}, o = 0; o < t._hintItems.length; o++) {
|
|
725
729
|
if (i = t._hintItems[o], document.querySelector('.introjs-hint[data-step="'.concat(o, '"]')))
|
|
726
730
|
return [2];
|
|
727
|
-
|
|
731
|
+
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
732
|
}
|
|
729
|
-
return document.body.appendChild(e),
|
|
733
|
+
return document.body.appendChild(e), _(t._hintsAddedCallback) ? [4, t._hintsAddedCallback.call(t)] : [3, 2];
|
|
730
734
|
case 1:
|
|
731
735
|
c.sent(), c.label = 2;
|
|
732
736
|
case 2:
|
|
733
|
-
return t._options.hintAutoRefreshInterval >= 0 && (t._hintsAutoRefreshFunction = (
|
|
737
|
+
return t._options.hintAutoRefreshInterval >= 0 && (t._hintsAutoRefreshFunction = (p = function() {
|
|
734
738
|
return ct(t);
|
|
735
739
|
}, l = t._options.hintAutoRefreshInterval, function() {
|
|
736
740
|
for (var m = [], b = 0; b < arguments.length; b++)
|
|
737
741
|
m[b] = arguments[b];
|
|
738
|
-
window.clearTimeout(
|
|
739
|
-
|
|
742
|
+
window.clearTimeout(u), u = window.setTimeout(function() {
|
|
743
|
+
p(m);
|
|
740
744
|
}, l);
|
|
741
745
|
}), L.on(window, "scroll", t._hintsAutoRefreshFunction, t, !0)), [2];
|
|
742
746
|
}
|
|
743
|
-
var
|
|
747
|
+
var p, l, u;
|
|
744
748
|
});
|
|
745
749
|
});
|
|
746
750
|
}
|
|
747
751
|
function qt(t, e, n) {
|
|
748
752
|
if (n !== void 0) {
|
|
749
|
-
var o =
|
|
753
|
+
var o = Y(n), i = 20, r = 20;
|
|
750
754
|
switch (t) {
|
|
751
755
|
default:
|
|
752
756
|
case "top-left":
|
|
@@ -780,19 +784,19 @@ function qt(t, e, n) {
|
|
|
780
784
|
}
|
|
781
785
|
function Pt(t, e) {
|
|
782
786
|
return f(this, void 0, void 0, function() {
|
|
783
|
-
var n, o, i, r, s, a, c,
|
|
787
|
+
var n, o, i, r, s, a, c, p, l, u, m;
|
|
784
788
|
return g(this, function(b) {
|
|
785
789
|
switch (b.label) {
|
|
786
790
|
case 0:
|
|
787
|
-
return n = document.querySelector('.introjs-hint[data-step="'.concat(e, '"]')), o = t._hintItems[e],
|
|
791
|
+
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
792
|
case 1:
|
|
789
793
|
b.sent(), b.label = 2;
|
|
790
794
|
case 2:
|
|
791
795
|
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
796
|
v.stopPropagation ? v.stopPropagation() : v.cancelBubble = !0;
|
|
793
|
-
}, s.className = "introjs-tooltiptext", (
|
|
797
|
+
}, 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
798
|
return _t(t, e);
|
|
795
|
-
}, s.appendChild(l)), a.className = "introjs-arrow", r.appendChild(a), r.appendChild(s),
|
|
799
|
+
}, 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
800
|
}
|
|
797
801
|
});
|
|
798
802
|
});
|
|
@@ -806,7 +810,7 @@ function lt() {
|
|
|
806
810
|
}
|
|
807
811
|
function Rt(t, e) {
|
|
808
812
|
return f(this, void 0, void 0, function() {
|
|
809
|
-
var n, o, i, r, s, a, c,
|
|
813
|
+
var n, o, i, r, s, a, c, p, l, u;
|
|
810
814
|
return g(this, function(m) {
|
|
811
815
|
switch (m.label) {
|
|
812
816
|
case 0:
|
|
@@ -817,9 +821,9 @@ function Rt(t, e) {
|
|
|
817
821
|
if (!(s = Array.from(e.querySelectorAll("*[data-hint]"))) || !s.length)
|
|
818
822
|
return [2, !1];
|
|
819
823
|
for (a = 0, c = s; a < c.length; a++)
|
|
820
|
-
|
|
824
|
+
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
825
|
}
|
|
822
|
-
return [4,
|
|
826
|
+
return [4, we(t)];
|
|
823
827
|
case 1:
|
|
824
828
|
return m.sent(), L.on(document, "click", lt, t, !1), L.on(window, "resize", ct, t, !0), [2, !0];
|
|
825
829
|
}
|
|
@@ -847,47 +851,47 @@ function Dt(t, e) {
|
|
|
847
851
|
var c = void 0;
|
|
848
852
|
if (n.length < 1)
|
|
849
853
|
return [];
|
|
850
|
-
for (var
|
|
851
|
-
var
|
|
852
|
-
if ((!t._options.group ||
|
|
853
|
-
var m = parseInt(
|
|
854
|
-
c = t._options.disableInteraction,
|
|
854
|
+
for (var p = 0, l = n; p < l.length; p++) {
|
|
855
|
+
var u = l[p];
|
|
856
|
+
if ((!t._options.group || u.getAttribute("data-intro-group") === t._options.group) && u.style.display !== "none") {
|
|
857
|
+
var m = parseInt(u.getAttribute("data-step") || "", 10);
|
|
858
|
+
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
859
|
}
|
|
856
860
|
}
|
|
857
861
|
for (var b = 0, v = 0, C = n; v < C.length; v++)
|
|
858
|
-
if (
|
|
862
|
+
if (u = C[v], (!t._options.group || u.getAttribute("data-intro-group") === t._options.group) && u.getAttribute("data-step") === null) {
|
|
859
863
|
for (; o[b] !== void 0; )
|
|
860
864
|
b++;
|
|
861
|
-
c =
|
|
865
|
+
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
866
|
}
|
|
863
867
|
}
|
|
864
|
-
for (var w = [],
|
|
865
|
-
o[
|
|
866
|
-
return (o = w).sort(function(
|
|
867
|
-
return
|
|
868
|
+
for (var w = [], E = 0; E < o.length; E++)
|
|
869
|
+
o[E] && w.push(o[E]);
|
|
870
|
+
return (o = w).sort(function(T, M) {
|
|
871
|
+
return T.step - M.step;
|
|
868
872
|
}), o;
|
|
869
873
|
}
|
|
870
|
-
function
|
|
874
|
+
function Ot(t, e) {
|
|
871
875
|
var n = t._currentStep;
|
|
872
876
|
if (n != null && n != -1) {
|
|
873
877
|
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
|
-
|
|
878
|
+
P(t, o, r), P(t, o, i), P(t, o, s), e && (t._introItems = Dt(t, t._targetElement), function(p, l) {
|
|
879
|
+
if (p._options.showBullets) {
|
|
880
|
+
var u = document.querySelector(".introjs-bullets");
|
|
881
|
+
u && u.parentNode && u.parentNode.replaceChild(xt(p, l), u);
|
|
878
882
|
}
|
|
879
883
|
}(t, o), Bt(i, n, t._introItems.length));
|
|
880
884
|
var a = document.querySelector(".introjs-arrow"), c = document.querySelector(".introjs-tooltip");
|
|
881
885
|
return c && a && rt(t, t._introItems[n], c, a), ct(t), t;
|
|
882
886
|
}
|
|
883
887
|
}
|
|
884
|
-
function
|
|
885
|
-
|
|
888
|
+
function Ht(t) {
|
|
889
|
+
Ot(t);
|
|
886
890
|
}
|
|
887
|
-
function
|
|
891
|
+
function Q(t, e) {
|
|
888
892
|
if (e === void 0 && (e = !1), t && t.parentElement) {
|
|
889
893
|
var n = t.parentElement;
|
|
890
|
-
e ? (
|
|
894
|
+
e ? (H(t, { opacity: "0" }), window.setTimeout(function() {
|
|
891
895
|
try {
|
|
892
896
|
n.removeChild(t);
|
|
893
897
|
} catch (o) {
|
|
@@ -909,8 +913,8 @@ function G(t, e, n) {
|
|
|
909
913
|
return [2];
|
|
910
914
|
if ((i = Array.from(e.querySelectorAll(".introjs-overlay"))) && i.length)
|
|
911
915
|
for (r = 0, s = i; r < s.length; r++)
|
|
912
|
-
|
|
913
|
-
return
|
|
916
|
+
Q(s[r]);
|
|
917
|
+
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
918
|
case 3:
|
|
915
919
|
a.sent(), a.label = 4;
|
|
916
920
|
case 4:
|
|
@@ -919,19 +923,19 @@ function G(t, e, n) {
|
|
|
919
923
|
});
|
|
920
924
|
});
|
|
921
925
|
}
|
|
922
|
-
function
|
|
926
|
+
function Ce(t, e) {
|
|
923
927
|
return f(this, void 0, void 0, function() {
|
|
924
928
|
var n;
|
|
925
929
|
return g(this, function(o) {
|
|
926
930
|
switch (o.label) {
|
|
927
931
|
case 0:
|
|
928
|
-
return t.isActive() ?
|
|
932
|
+
return t.isActive() ? _(t._introStartCallback) ? [4, t._introStartCallback.call(t, e)] : [3, 2] : [2, !1];
|
|
929
933
|
case 1:
|
|
930
934
|
o.sent(), o.label = 2;
|
|
931
935
|
case 2:
|
|
932
936
|
return (n = Dt(t, e)).length === 0 ? [2, !1] : (t._introItems = n, function(i, r) {
|
|
933
937
|
var s = this, a = h("div", { className: "introjs-overlay" });
|
|
934
|
-
|
|
938
|
+
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
939
|
return f(s, void 0, void 0, function() {
|
|
936
940
|
return g(this, function(c) {
|
|
937
941
|
switch (c.label) {
|
|
@@ -945,7 +949,7 @@ function be(t, e) {
|
|
|
945
949
|
});
|
|
946
950
|
}(t, e), [4, F(t)]);
|
|
947
951
|
case 3:
|
|
948
|
-
o.sent(), e.addEventListener, t._options.keyboardNavigation && L.on(window, "keydown", Lt, t, !0), L.on(window, "resize",
|
|
952
|
+
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
953
|
case 4:
|
|
950
954
|
return [2, !1];
|
|
951
955
|
}
|
|
@@ -979,7 +983,7 @@ var dt = function() {
|
|
|
979
983
|
return g(this, function(e) {
|
|
980
984
|
switch (e.label) {
|
|
981
985
|
case 0:
|
|
982
|
-
return [4,
|
|
986
|
+
return [4, Ce(this, this._targetElement)];
|
|
983
987
|
case 1:
|
|
984
988
|
return e.sent(), [2, this];
|
|
985
989
|
}
|
|
@@ -990,7 +994,7 @@ var dt = function() {
|
|
|
990
994
|
return g(this, function(n) {
|
|
991
995
|
switch (n.label) {
|
|
992
996
|
case 0:
|
|
993
|
-
return [4,
|
|
997
|
+
return [4, be(this, e)];
|
|
994
998
|
case 1:
|
|
995
999
|
return n.sent(), [2, this];
|
|
996
1000
|
}
|
|
@@ -1009,7 +1013,7 @@ var dt = function() {
|
|
|
1009
1013
|
return g(this, function(n) {
|
|
1010
1014
|
switch (n.label) {
|
|
1011
1015
|
case 0:
|
|
1012
|
-
return [4,
|
|
1016
|
+
return [4, ve(this, e)];
|
|
1013
1017
|
case 1:
|
|
1014
1018
|
return n.sent(), [2, this];
|
|
1015
1019
|
}
|
|
@@ -1051,51 +1055,51 @@ var dt = function() {
|
|
|
1051
1055
|
});
|
|
1052
1056
|
});
|
|
1053
1057
|
}, t.prototype.refresh = function(e) {
|
|
1054
|
-
return
|
|
1058
|
+
return Ot(this, e), this;
|
|
1055
1059
|
}, t.prototype.setDontShowAgain = function(e) {
|
|
1056
|
-
return
|
|
1060
|
+
return fe(this, e), this;
|
|
1057
1061
|
}, t.prototype.onbeforechange = function(e) {
|
|
1058
|
-
if (!
|
|
1062
|
+
if (!_(e))
|
|
1059
1063
|
throw new Error("Provided callback for onbeforechange was not a function");
|
|
1060
1064
|
return this._introBeforeChangeCallback = e, this;
|
|
1061
1065
|
}, t.prototype.onchange = function(e) {
|
|
1062
|
-
if (!
|
|
1066
|
+
if (!_(e))
|
|
1063
1067
|
throw new Error("Provided callback for onchange was not a function.");
|
|
1064
1068
|
return this._introChangeCallback = e, this;
|
|
1065
1069
|
}, t.prototype.onafterchange = function(e) {
|
|
1066
|
-
if (!
|
|
1070
|
+
if (!_(e))
|
|
1067
1071
|
throw new Error("Provided callback for onafterchange was not a function");
|
|
1068
1072
|
return this._introAfterChangeCallback = e, this;
|
|
1069
1073
|
}, t.prototype.oncomplete = function(e) {
|
|
1070
|
-
if (!
|
|
1074
|
+
if (!_(e))
|
|
1071
1075
|
throw new Error("Provided callback for oncomplete was not a function.");
|
|
1072
1076
|
return this._introCompleteCallback = e, this;
|
|
1073
1077
|
}, t.prototype.onhintsadded = function(e) {
|
|
1074
|
-
if (!
|
|
1078
|
+
if (!_(e))
|
|
1075
1079
|
throw new Error("Provided callback for onhintsadded was not a function.");
|
|
1076
1080
|
return this._hintsAddedCallback = e, this;
|
|
1077
1081
|
}, t.prototype.onhintclick = function(e) {
|
|
1078
|
-
if (!
|
|
1082
|
+
if (!_(e))
|
|
1079
1083
|
throw new Error("Provided callback for onhintclick was not a function.");
|
|
1080
1084
|
return this._hintClickCallback = e, this;
|
|
1081
1085
|
}, t.prototype.onhintclose = function(e) {
|
|
1082
|
-
if (!
|
|
1086
|
+
if (!_(e))
|
|
1083
1087
|
throw new Error("Provided callback for onhintclose was not a function.");
|
|
1084
1088
|
return this._hintCloseCallback = e, this;
|
|
1085
1089
|
}, t.prototype.onstart = function(e) {
|
|
1086
|
-
if (!
|
|
1090
|
+
if (!_(e))
|
|
1087
1091
|
throw new Error("Provided callback for onstart was not a function.");
|
|
1088
1092
|
return this._introStartCallback = e, this;
|
|
1089
1093
|
}, t.prototype.onexit = function(e) {
|
|
1090
|
-
if (!
|
|
1094
|
+
if (!_(e))
|
|
1091
1095
|
throw new Error("Provided callback for onexit was not a function.");
|
|
1092
1096
|
return this._introExitCallback = e, this;
|
|
1093
1097
|
}, t.prototype.onskip = function(e) {
|
|
1094
|
-
if (!
|
|
1098
|
+
if (!_(e))
|
|
1095
1099
|
throw new Error("Provided callback for onskip was not a function.");
|
|
1096
1100
|
return this._introSkipCallback = e, this;
|
|
1097
1101
|
}, t.prototype.onbeforeexit = function(e) {
|
|
1098
|
-
if (!
|
|
1102
|
+
if (!_(e))
|
|
1099
1103
|
throw new Error("Provided callback for onbeforeexit was not a function.");
|
|
1100
1104
|
return this._introBeforeExitCallback = e, this;
|
|
1101
1105
|
}, t.prototype.addHints = function() {
|
|
@@ -1125,7 +1129,7 @@ var dt = function() {
|
|
|
1125
1129
|
return g(this, function(e) {
|
|
1126
1130
|
switch (e.label) {
|
|
1127
1131
|
case 0:
|
|
1128
|
-
return [4,
|
|
1132
|
+
return [4, ye(this)];
|
|
1129
1133
|
case 1:
|
|
1130
1134
|
return e.sent(), [2, this];
|
|
1131
1135
|
}
|
|
@@ -1138,7 +1142,7 @@ var dt = function() {
|
|
|
1138
1142
|
return g(this, function(e) {
|
|
1139
1143
|
switch (e.label) {
|
|
1140
1144
|
case 0:
|
|
1141
|
-
return [4,
|
|
1145
|
+
return [4, _e(this)];
|
|
1142
1146
|
case 1:
|
|
1143
1147
|
return e.sent(), [2, this];
|
|
1144
1148
|
}
|
|
@@ -1146,14 +1150,14 @@ var dt = function() {
|
|
|
1146
1150
|
});
|
|
1147
1151
|
}, t.prototype.removeHints = function() {
|
|
1148
1152
|
return function(e) {
|
|
1149
|
-
for (var n = 0, o =
|
|
1153
|
+
for (var n = 0, o = K(".introjs-hint"); n < o.length; n++) {
|
|
1150
1154
|
var i = o[n].getAttribute("data-step");
|
|
1151
|
-
i &&
|
|
1155
|
+
i && kt(parseInt(i, 10));
|
|
1152
1156
|
}
|
|
1153
1157
|
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
1158
|
}(this), this;
|
|
1155
1159
|
}, t.prototype.removeHint = function(e) {
|
|
1156
|
-
return
|
|
1160
|
+
return kt(e), this;
|
|
1157
1161
|
}, t.prototype.showHintDialog = function(e) {
|
|
1158
1162
|
return f(this, void 0, void 0, function() {
|
|
1159
1163
|
return g(this, function(n) {
|
|
@@ -1180,10 +1184,10 @@ var dt = function() {
|
|
|
1180
1184
|
return t.instances[ht(n, "introjs-instance")] = n, n;
|
|
1181
1185
|
};
|
|
1182
1186
|
mt.version = "7.2.0", mt.instances = {};
|
|
1183
|
-
const
|
|
1184
|
-
const { prefixVar: t } =
|
|
1185
|
-
let
|
|
1186
|
-
|
|
1187
|
+
const Se = () => {
|
|
1188
|
+
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 = () => {
|
|
1189
|
+
let u = mt();
|
|
1190
|
+
u.setOptions({
|
|
1187
1191
|
nextLabel: "下一步",
|
|
1188
1192
|
prevLabel: "上一步",
|
|
1189
1193
|
//skipLabel: '跳过',
|
|
@@ -1191,7 +1195,7 @@ const ve = () => {
|
|
|
1191
1195
|
steps: [
|
|
1192
1196
|
{
|
|
1193
1197
|
title: "第一步",
|
|
1194
|
-
element: document.querySelector(`.${
|
|
1198
|
+
element: document.querySelector(`.${n.value}`),
|
|
1195
1199
|
intro: "点击<strong>新增</strong>按钮,新建一个表。"
|
|
1196
1200
|
},
|
|
1197
1201
|
{
|
|
@@ -1202,245 +1206,271 @@ const ve = () => {
|
|
|
1202
1206
|
title: "第三步",
|
|
1203
1207
|
intro: '在列表中找到刚才新建数据,在操作列点击<strong>"更多"</strong>,选择<strong>"功能测试"</strong>。'
|
|
1204
1208
|
},
|
|
1209
|
+
{
|
|
1210
|
+
title: "AI建表",
|
|
1211
|
+
element: document.querySelector(`.${e.value}`),
|
|
1212
|
+
intro: "输入修饰词即可通过AI创建工作表"
|
|
1213
|
+
},
|
|
1205
1214
|
{
|
|
1206
1215
|
title: "代码生成",
|
|
1207
|
-
element: document.querySelector(`.${
|
|
1216
|
+
element: document.querySelector(`.${c.value}`),
|
|
1208
1217
|
intro: "选中一条记录,通过代码生成可将已配置好的表单,一键生成前后端代码,复杂需求可在此基础上进行二次开发。"
|
|
1209
1218
|
},
|
|
1210
1219
|
{
|
|
1211
1220
|
title: "自定义按钮",
|
|
1212
|
-
element: document.querySelector(`.${
|
|
1221
|
+
element: document.querySelector(`.${o.value}`),
|
|
1213
1222
|
intro: '选中一条记录,点击自定义按钮,配置按钮相关信息即可在当前记录的<strong>"功能测试"</strong>页面新增一个按钮'
|
|
1214
1223
|
},
|
|
1215
1224
|
{
|
|
1216
1225
|
title: "JS强增",
|
|
1217
|
-
element: document.querySelector(`.${
|
|
1226
|
+
element: document.querySelector(`.${i.value}`),
|
|
1218
1227
|
intro: '选中一条记录,通过js增强可为<strong>"自定义按钮"</strong>添加不同操作,可操作列表和表单数据等,也可以添加表单前置事件。'
|
|
1219
1228
|
},
|
|
1220
1229
|
{
|
|
1221
1230
|
title: "SQL增强",
|
|
1222
|
-
element: document.querySelector(`.${
|
|
1231
|
+
element: document.querySelector(`.${r.value}`),
|
|
1223
1232
|
intro: "选中一条记录,通过增强SQL,可以关联修改业务数据。"
|
|
1224
1233
|
},
|
|
1225
1234
|
{
|
|
1226
1235
|
title: "java增强",
|
|
1227
|
-
element: document.querySelector(`.${
|
|
1236
|
+
element: document.querySelector(`.${s.value}`),
|
|
1228
1237
|
intro: "选中一条记录,通过Java增强可在表单的增加、修改、和删除数据时实现额外的功能,类似spring中的AOP切面编程。"
|
|
1229
1238
|
},
|
|
1230
1239
|
{
|
|
1231
1240
|
title: "导入数据库表",
|
|
1232
|
-
element: document.querySelector(`.${
|
|
1241
|
+
element: document.querySelector(`.${a.value}`),
|
|
1233
1242
|
intro: "可将已有数据库中的表,直接导入生成表单。"
|
|
1234
1243
|
}
|
|
1235
1244
|
]
|
|
1236
|
-
}),
|
|
1245
|
+
}), u.start();
|
|
1237
1246
|
};
|
|
1238
|
-
return
|
|
1239
|
-
localStorage.getItem(
|
|
1240
|
-
|
|
1247
|
+
return zt(() => {
|
|
1248
|
+
localStorage.getItem(p) || setTimeout(() => {
|
|
1249
|
+
l(), localStorage.setItem(p, "1");
|
|
1241
1250
|
}, 2e3);
|
|
1242
1251
|
}), {
|
|
1243
|
-
newAddBtn:
|
|
1244
|
-
customBtn:
|
|
1245
|
-
enhanceJsBtn:
|
|
1246
|
-
enhanceSqlBtn:
|
|
1247
|
-
exportDbBtn:
|
|
1248
|
-
enhanceJavaBtn:
|
|
1249
|
-
codeGeneratorBtn:
|
|
1252
|
+
newAddBtn: n,
|
|
1253
|
+
customBtn: o,
|
|
1254
|
+
enhanceJsBtn: i,
|
|
1255
|
+
enhanceSqlBtn: r,
|
|
1256
|
+
exportDbBtn: a,
|
|
1257
|
+
enhanceJavaBtn: s,
|
|
1258
|
+
codeGeneratorBtn: c,
|
|
1259
|
+
aiCreateTable: e
|
|
1250
1260
|
};
|
|
1251
|
-
},
|
|
1261
|
+
}, Ae = Wt({
|
|
1252
1262
|
name: "CgformIndex",
|
|
1253
1263
|
components: {
|
|
1254
|
-
BasicTable:
|
|
1255
|
-
TableAction:
|
|
1256
|
-
CgformModal:
|
|
1257
|
-
DbToOnlineModal:
|
|
1258
|
-
CodeGeneratorModal:
|
|
1259
|
-
CustomButtonList:
|
|
1260
|
-
EnhanceJsModal:
|
|
1261
|
-
EnhanceJavaModal:
|
|
1262
|
-
EnhanceSqlModal:
|
|
1263
|
-
AuthManagerDrawer:
|
|
1264
|
-
AuthSetterModal:
|
|
1264
|
+
BasicTable: Qt,
|
|
1265
|
+
TableAction: Ut,
|
|
1266
|
+
CgformModal: Zt,
|
|
1267
|
+
DbToOnlineModal: te,
|
|
1268
|
+
CodeGeneratorModal: ee,
|
|
1269
|
+
CustomButtonList: ne,
|
|
1270
|
+
EnhanceJsModal: oe,
|
|
1271
|
+
EnhanceJavaModal: ie,
|
|
1272
|
+
EnhanceSqlModal: re,
|
|
1273
|
+
AuthManagerDrawer: se,
|
|
1274
|
+
AuthSetterModal: ae,
|
|
1275
|
+
AiModal: le
|
|
1265
1276
|
},
|
|
1266
1277
|
setup() {
|
|
1267
1278
|
const {
|
|
1268
1279
|
pageContext: t,
|
|
1269
1280
|
onAdd: e,
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1281
|
+
onAiCreateTable: n,
|
|
1282
|
+
onSuccess: o,
|
|
1283
|
+
onCreateAiTable: i,
|
|
1284
|
+
onDeleteBatch: r,
|
|
1285
|
+
onImportDbTable: s,
|
|
1286
|
+
onGenerateCode: a,
|
|
1287
|
+
onShowCustomButton: c,
|
|
1288
|
+
onShowEnhanceJs: p,
|
|
1289
|
+
onShowEnhanceSql: l,
|
|
1277
1290
|
onShowEnhanceJava: u,
|
|
1278
|
-
getTableAction:
|
|
1279
|
-
getDropDownAction:
|
|
1280
|
-
registerAuthManagerDrawer:
|
|
1281
|
-
registerAuthSetterModal:
|
|
1282
|
-
registerCustomButtonModal:
|
|
1283
|
-
registerEnhanceJsModal:
|
|
1284
|
-
registerEnhanceSqlModal:
|
|
1285
|
-
registerEnhanceJavaModal:
|
|
1291
|
+
getTableAction: m,
|
|
1292
|
+
getDropDownAction: b,
|
|
1293
|
+
registerAuthManagerDrawer: v,
|
|
1294
|
+
registerAuthSetterModal: C,
|
|
1295
|
+
registerCustomButtonModal: w,
|
|
1296
|
+
registerEnhanceJsModal: E,
|
|
1297
|
+
registerEnhanceSqlModal: T,
|
|
1298
|
+
registerEnhanceJavaModal: M,
|
|
1286
1299
|
registerCgformModal: N,
|
|
1287
|
-
registerDbToOnlineModal:
|
|
1288
|
-
registerCodeGeneratorModal:
|
|
1289
|
-
|
|
1290
|
-
|
|
1300
|
+
registerDbToOnlineModal: R,
|
|
1301
|
+
registerCodeGeneratorModal: V,
|
|
1302
|
+
registerAiToOnlineModal: x
|
|
1303
|
+
} = ce({
|
|
1304
|
+
pageType: ue.normal,
|
|
1291
1305
|
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
|
-
|
|
1306
|
+
columns: pe,
|
|
1307
|
+
formSchemas: de
|
|
1308
|
+
}), { prefixCls: z, tableContext: W } = t, [X, { reload: J }, { rowSelection: d, selectedRowKeys: A }] = W, {
|
|
1309
|
+
newAddBtn: k,
|
|
1310
|
+
customBtn: $,
|
|
1311
|
+
enhanceJsBtn: Z,
|
|
1312
|
+
enhanceSqlBtn: Jt,
|
|
1313
|
+
exportDbBtn: $t,
|
|
1314
|
+
enhanceJavaBtn: Ft,
|
|
1315
|
+
codeGeneratorBtn: Gt,
|
|
1316
|
+
aiCreateTable: Vt
|
|
1317
|
+
} = Se();
|
|
1303
1318
|
return {
|
|
1304
|
-
prefixCls:
|
|
1305
|
-
reload:
|
|
1306
|
-
rowSelection:
|
|
1307
|
-
selectedRowKeys:
|
|
1319
|
+
prefixCls: z,
|
|
1320
|
+
reload: J,
|
|
1321
|
+
rowSelection: d,
|
|
1322
|
+
selectedRowKeys: A,
|
|
1308
1323
|
onAdd: e,
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1324
|
+
onAiCreateTable: n,
|
|
1325
|
+
onSuccess: o,
|
|
1326
|
+
onDeleteBatch: r,
|
|
1327
|
+
onImportDbTable: s,
|
|
1328
|
+
onGenerateCode: a,
|
|
1329
|
+
onShowCustomButton: c,
|
|
1330
|
+
onShowEnhanceJs: p,
|
|
1331
|
+
onShowEnhanceSql: l,
|
|
1316
1332
|
onShowEnhanceJava: u,
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1333
|
+
onCreateAiTable: i,
|
|
1334
|
+
getTableAction: m,
|
|
1335
|
+
getDropDownAction: b,
|
|
1336
|
+
registerAuthManagerDrawer: v,
|
|
1337
|
+
registerAuthSetterModal: C,
|
|
1338
|
+
registerCustomButtonModal: w,
|
|
1339
|
+
registerEnhanceJsModal: E,
|
|
1340
|
+
registerEnhanceSqlModal: T,
|
|
1341
|
+
registerEnhanceJavaModal: M,
|
|
1342
|
+
registerTable: X,
|
|
1326
1343
|
registerCgformModal: N,
|
|
1327
|
-
registerDbToOnlineModal:
|
|
1328
|
-
registerCodeGeneratorModal:
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1344
|
+
registerDbToOnlineModal: R,
|
|
1345
|
+
registerCodeGeneratorModal: V,
|
|
1346
|
+
registerAiToOnlineModal: x,
|
|
1347
|
+
newAddBtn: k,
|
|
1348
|
+
customBtn: $,
|
|
1349
|
+
enhanceJsBtn: Z,
|
|
1350
|
+
enhanceSqlBtn: Jt,
|
|
1351
|
+
enhanceJavaBtn: Ft,
|
|
1352
|
+
exportDbBtn: $t,
|
|
1353
|
+
codeGeneratorBtn: Gt,
|
|
1354
|
+
aiCreateTable: Vt
|
|
1336
1355
|
};
|
|
1337
1356
|
}
|
|
1338
|
-
}),
|
|
1357
|
+
}), ke = /* @__PURE__ */ ft("span", null, "删除", -1), je = /* @__PURE__ */ ft("span", null, "批量操作", -1), Ee = {
|
|
1339
1358
|
key: 0,
|
|
1340
1359
|
style: { color: "limegreen" }
|
|
1341
|
-
},
|
|
1360
|
+
}, Te = {
|
|
1342
1361
|
key: 1,
|
|
1343
1362
|
style: { color: "red" }
|
|
1344
1363
|
};
|
|
1345
|
-
function
|
|
1346
|
-
const s =
|
|
1347
|
-
return tt(), ut(
|
|
1364
|
+
function Ne(t, e, n, o, i, r) {
|
|
1365
|
+
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");
|
|
1366
|
+
return tt(), ut(Yt, null, [
|
|
1348
1367
|
ft("div", {
|
|
1349
|
-
class:
|
|
1368
|
+
class: q(t.prefixCls)
|
|
1350
1369
|
}, [
|
|
1351
|
-
|
|
1370
|
+
y(m, Kt({
|
|
1352
1371
|
onRegister: t.registerTable,
|
|
1353
1372
|
rowSelection: t.rowSelection
|
|
1354
1373
|
}, t.$attrs), {
|
|
1355
|
-
tableTitle:
|
|
1356
|
-
|
|
1357
|
-
class:
|
|
1374
|
+
tableTitle: j(() => [
|
|
1375
|
+
y(s, {
|
|
1376
|
+
class: q(t.newAddBtn),
|
|
1358
1377
|
onClick: t.onAdd,
|
|
1359
1378
|
type: "primary",
|
|
1360
1379
|
preIcon: "ant-design:plus"
|
|
1361
1380
|
}, {
|
|
1362
|
-
default:
|
|
1363
|
-
|
|
1381
|
+
default: j(() => [
|
|
1382
|
+
O("新增")
|
|
1383
|
+
]),
|
|
1384
|
+
_: 1
|
|
1385
|
+
}, 8, ["class", "onClick"]),
|
|
1386
|
+
y(s, {
|
|
1387
|
+
class: q(t.aiCreateTable),
|
|
1388
|
+
onClick: t.onAiCreateTable,
|
|
1389
|
+
type: "primary",
|
|
1390
|
+
preIcon: "ant-design:plus"
|
|
1391
|
+
}, {
|
|
1392
|
+
default: j(() => [
|
|
1393
|
+
O("AI建表")
|
|
1364
1394
|
]),
|
|
1365
1395
|
_: 1
|
|
1366
1396
|
}, 8, ["class", "onClick"]),
|
|
1367
|
-
|
|
1368
|
-
class:
|
|
1397
|
+
y(s, {
|
|
1398
|
+
class: q(t.customBtn),
|
|
1369
1399
|
onClick: t.onShowCustomButton,
|
|
1370
1400
|
type: "primary",
|
|
1371
1401
|
preIcon: "ant-design:highlight"
|
|
1372
1402
|
}, {
|
|
1373
|
-
default:
|
|
1374
|
-
|
|
1403
|
+
default: j(() => [
|
|
1404
|
+
O("自定义按钮")
|
|
1375
1405
|
]),
|
|
1376
1406
|
_: 1
|
|
1377
1407
|
}, 8, ["class", "onClick"]),
|
|
1378
|
-
|
|
1379
|
-
class:
|
|
1408
|
+
y(s, {
|
|
1409
|
+
class: q(t.enhanceJsBtn),
|
|
1380
1410
|
onClick: t.onShowEnhanceJs,
|
|
1381
1411
|
type: "primary",
|
|
1382
1412
|
preIcon: "ant-design:strikethrough"
|
|
1383
1413
|
}, {
|
|
1384
|
-
default:
|
|
1385
|
-
|
|
1414
|
+
default: j(() => [
|
|
1415
|
+
O("JS增强")
|
|
1386
1416
|
]),
|
|
1387
1417
|
_: 1
|
|
1388
1418
|
}, 8, ["class", "onClick"]),
|
|
1389
|
-
|
|
1390
|
-
class:
|
|
1419
|
+
y(s, {
|
|
1420
|
+
class: q(t.enhanceSqlBtn),
|
|
1391
1421
|
onClick: t.onShowEnhanceSql,
|
|
1392
1422
|
type: "primary",
|
|
1393
1423
|
preIcon: "ant-design:filter"
|
|
1394
1424
|
}, {
|
|
1395
|
-
default:
|
|
1396
|
-
|
|
1425
|
+
default: j(() => [
|
|
1426
|
+
O(" SQL增强 ")
|
|
1397
1427
|
]),
|
|
1398
1428
|
_: 1
|
|
1399
1429
|
}, 8, ["class", "onClick"]),
|
|
1400
|
-
|
|
1401
|
-
class:
|
|
1430
|
+
y(s, {
|
|
1431
|
+
class: q(t.enhanceJavaBtn),
|
|
1402
1432
|
onClick: t.onShowEnhanceJava,
|
|
1403
1433
|
type: "primary",
|
|
1404
1434
|
preIcon: "ant-design:tool"
|
|
1405
1435
|
}, {
|
|
1406
|
-
default:
|
|
1407
|
-
|
|
1436
|
+
default: j(() => [
|
|
1437
|
+
O("JAVA增强")
|
|
1408
1438
|
]),
|
|
1409
1439
|
_: 1
|
|
1410
1440
|
}, 8, ["class", "onClick"]),
|
|
1411
|
-
|
|
1412
|
-
class:
|
|
1441
|
+
y(s, {
|
|
1442
|
+
class: q(t.exportDbBtn),
|
|
1413
1443
|
onClick: t.onImportDbTable,
|
|
1414
1444
|
type: "primary",
|
|
1415
1445
|
preIcon: "ant-design:database"
|
|
1416
1446
|
}, {
|
|
1417
|
-
default:
|
|
1418
|
-
|
|
1447
|
+
default: j(() => [
|
|
1448
|
+
O("导入数据库表")
|
|
1419
1449
|
]),
|
|
1420
1450
|
_: 1
|
|
1421
1451
|
}, 8, ["class", "onClick"]),
|
|
1422
|
-
|
|
1423
|
-
class:
|
|
1452
|
+
y(s, {
|
|
1453
|
+
class: q(t.codeGeneratorBtn),
|
|
1424
1454
|
onClick: t.onGenerateCode,
|
|
1425
1455
|
type: "primary",
|
|
1426
1456
|
preIcon: "bx:bx-code-alt"
|
|
1427
1457
|
}, {
|
|
1428
|
-
default:
|
|
1429
|
-
|
|
1458
|
+
default: j(() => [
|
|
1459
|
+
O(" 代码生成 ")
|
|
1430
1460
|
]),
|
|
1431
1461
|
_: 1
|
|
1432
1462
|
}, 8, ["class", "onClick"]),
|
|
1433
|
-
t.selectedRowKeys.length > 0 ? (tt(),
|
|
1434
|
-
overlay:
|
|
1435
|
-
|
|
1436
|
-
default:
|
|
1437
|
-
|
|
1463
|
+
t.selectedRowKeys.length > 0 ? (tt(), Xt(l, { key: 0 }, {
|
|
1464
|
+
overlay: j(() => [
|
|
1465
|
+
y(p, null, {
|
|
1466
|
+
default: j(() => [
|
|
1467
|
+
y(c, {
|
|
1438
1468
|
key: "1",
|
|
1439
1469
|
onClick: t.onDeleteBatch
|
|
1440
1470
|
}, {
|
|
1441
|
-
default:
|
|
1442
|
-
|
|
1443
|
-
|
|
1471
|
+
default: j(() => [
|
|
1472
|
+
y(a, { type: "delete" }),
|
|
1473
|
+
ke
|
|
1444
1474
|
]),
|
|
1445
1475
|
_: 1
|
|
1446
1476
|
}, 8, ["onClick"])
|
|
@@ -1448,11 +1478,11 @@ function ke(t, e, n, o, i, r) {
|
|
|
1448
1478
|
_: 1
|
|
1449
1479
|
})
|
|
1450
1480
|
]),
|
|
1451
|
-
default:
|
|
1452
|
-
|
|
1453
|
-
default:
|
|
1454
|
-
|
|
1455
|
-
|
|
1481
|
+
default: j(() => [
|
|
1482
|
+
y(s, null, {
|
|
1483
|
+
default: j(() => [
|
|
1484
|
+
je,
|
|
1485
|
+
y(a, { type: "down" })
|
|
1456
1486
|
]),
|
|
1457
1487
|
_: 1
|
|
1458
1488
|
})
|
|
@@ -1460,12 +1490,12 @@ function ke(t, e, n, o, i, r) {
|
|
|
1460
1490
|
_: 1
|
|
1461
1491
|
})) : pt("", !0)
|
|
1462
1492
|
]),
|
|
1463
|
-
dbSync:
|
|
1464
|
-
x === "Y" ? (tt(), ut("span",
|
|
1465
|
-
x === "N" ? (tt(), ut("span",
|
|
1493
|
+
dbSync: j(({ text: x }) => [
|
|
1494
|
+
x === "Y" ? (tt(), ut("span", Ee, "已同步")) : pt("", !0),
|
|
1495
|
+
x === "N" ? (tt(), ut("span", Te, "未同步")) : pt("", !0)
|
|
1466
1496
|
]),
|
|
1467
|
-
action:
|
|
1468
|
-
|
|
1497
|
+
action: j(({ record: x }) => [
|
|
1498
|
+
y(u, {
|
|
1469
1499
|
actions: t.getTableAction(x),
|
|
1470
1500
|
dropDownActions: t.getDropDownAction(x)
|
|
1471
1501
|
}, null, 8, ["actions", "dropDownActions"])
|
|
@@ -1473,24 +1503,28 @@ function ke(t, e, n, o, i, r) {
|
|
|
1473
1503
|
_: 1
|
|
1474
1504
|
}, 16, ["onRegister", "rowSelection"])
|
|
1475
1505
|
], 2),
|
|
1476
|
-
|
|
1506
|
+
y(b, {
|
|
1477
1507
|
onRegister: t.registerCgformModal,
|
|
1478
1508
|
onSuccess: t.onSuccess
|
|
1479
1509
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1480
|
-
|
|
1510
|
+
y(v, {
|
|
1481
1511
|
onRegister: t.registerDbToOnlineModal,
|
|
1482
1512
|
onSuccess: t.onSuccess
|
|
1483
1513
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1514
|
+
y(C, { onRegister: t.registerCodeGeneratorModal }, null, 8, ["onRegister"]),
|
|
1515
|
+
y(w, { onRegister: t.registerCustomButtonModal }, null, 8, ["onRegister"]),
|
|
1516
|
+
y(E, { onRegister: t.registerEnhanceJsModal }, null, 8, ["onRegister"]),
|
|
1517
|
+
y(T, { onRegister: t.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
|
|
1518
|
+
y(M, { onRegister: t.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
|
|
1519
|
+
y(N, { onRegister: t.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
|
|
1520
|
+
y(R, { onRegister: t.registerAuthSetterModal }, null, 8, ["onRegister"]),
|
|
1521
|
+
y(V, {
|
|
1522
|
+
onRegister: t.registerAiToOnlineModal,
|
|
1523
|
+
onSuccess: t.onCreateAiTable
|
|
1524
|
+
}, null, 8, ["onRegister", "onSuccess"])
|
|
1491
1525
|
], 64);
|
|
1492
1526
|
}
|
|
1493
|
-
const
|
|
1527
|
+
const Co = /* @__PURE__ */ me(Ae, [["render", Ne]]);
|
|
1494
1528
|
export {
|
|
1495
|
-
|
|
1529
|
+
Co as default
|
|
1496
1530
|
};
|