@jeecg/online 3.7.0-beta → 3.7.4-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/AccountLoginForm-84cbd344.mjs +254 -0
- package/AiModal-26903538.mjs +84 -0
- package/AppForgetPassword-52443f23.mjs +310 -0
- package/AppLogin-ecf798fa.mjs +287 -0
- package/AppLoginHeader-4432c584.mjs +27 -0
- package/AppNameEmail-3303a037.mjs +180 -0
- package/AppRegister-79a62c59.mjs +303 -0
- package/AppTenant-f0bef7ca.mjs +373 -0
- package/AppThirdForm-fd8b4604.mjs +189 -0
- package/AuthButtonConfig-d5bffca0.mjs +156 -0
- package/AuthButtonTree-b0bd6c40.mjs +165 -0
- package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-d3b7afa4.mjs} +30 -29
- package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-f14a98d9.mjs} +47 -47
- package/AuthFieldConfig-f1e224cc.mjs +245 -0
- package/AuthFieldTree-5cc0da05.mjs +232 -0
- package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-32556109.mjs} +9 -8
- package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-364f1f67.mjs} +12 -11
- package/BuiltInButtonList-bb6cf95c.mjs +10 -0
- package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
- package/CgformAddressModal-1131274c.mjs +260 -0
- package/CgformCopyList-5fba0810.mjs +252 -0
- package/CgformModal-c4a4e0c2.mjs +667 -0
- package/{CgreportModal-5a23d089.mjs → CgreportModal-8a84aae5.mjs} +186 -172
- package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-8a938e3a.mjs} +37 -34
- package/CodeFileListModal-a924902a.mjs +159 -0
- package/CodeFileViewModal-405e2b58.mjs +253 -0
- package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
- package/CustomButtonList-c453b654.mjs +274 -0
- package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-1a45c7b7.mjs} +80 -72
- package/DbToOnlineModal-f28ff0a3.mjs +168 -0
- package/{DetailForm-4aa2570b.mjs → DetailForm-c592b8d8.mjs} +50 -49
- package/DropMenuItem-1e49abea.mjs +44 -0
- package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
- package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
- package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-dc4f9ade.mjs} +154 -138
- package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
- package/ErrorTip-bb616e32.mjs +7 -0
- package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
- package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
- package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
- package/{FileSelectModal-38660e3c.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
- package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
- package/{IndexTable-1b496559.mjs → IndexTable-2ded2014.mjs} +28 -20
- package/JModalTip-a927f85d.mjs +49 -0
- package/JOnlineSearchSelect-04ec87d0.mjs +128 -0
- package/{LeftDepart-8ade4bf7.mjs → LeftDepart-52cb6743.mjs} +1 -1
- package/LeftRole-b0e0b496.mjs +86 -0
- package/{LeftUser-b4d1372a.mjs → LeftUser-dd4b10e2.mjs} +30 -30
- package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
- package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
- package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
- package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
- package/OnlCgformErpList-5c5acdaa.mjs +488 -0
- package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
- package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +106 -107
- package/OnlCgformInnerTableList-b283a525.mjs +474 -0
- package/OnlCgformTabList-91e3dd78.mjs +424 -0
- package/OnlineAutoList-84475f1b.mjs +513 -0
- package/OnlineAutoModal-95f46901.mjs +260 -0
- package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
- package/OnlineCustomModal-c8b1e780.mjs +232 -0
- package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
- package/OnlineForm-58282699.mjs +1012 -0
- package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
- package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +10 -10
- package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-ad912560.mjs} +12 -12
- package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +10 -10
- package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
- package/OnlineQueryForm-9248341f.mjs +484 -0
- package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
- package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
- package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-8be879b9.mjs} +53 -54
- package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
- package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
- package/OnlineTabForm-1940e88b.mjs +814 -0
- package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
- package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-66e7b485.mjs} +169 -149
- package/PhoneLoginForm-86437a9d.mjs +214 -0
- package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-98ede18d.mjs} +64 -58
- package/{QueryTable-96b3dbd0.mjs → QueryTable-65d3f54f.mjs} +40 -37
- package/SetSwitchOptions-f914bc17.mjs +62 -0
- package/ShareAddView-657f0f8b.mjs +86 -0
- package/ShareEditView-1b945fd3.mjs +92 -0
- package/ShareView-222ed3d8.mjs +80 -0
- package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
- package/SingleView-23b0cb4e.mjs +68 -0
- package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
- package/SuperQuery-46032e66.mjs +974 -0
- package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
- package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
- package/auth.api-53df4c33.mjs +41 -0
- package/{auth.data-22948e87.mjs → auth.data-626c5083.mjs} +68 -30
- package/button.data-fe45d43b.mjs +12 -0
- package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
- package/{enhance.data-3304d553.mjs → enhance.data-6601ff44.mjs} +9 -8
- package/index-19eaef11.mjs +11 -0
- package/index-1a2e8832.mjs +135 -0
- package/{index-581bef24.mjs → index-2fb8e07f.mjs} +59 -59
- package/index-5e89258d.mjs +8 -0
- package/index-9e1e1e53.mjs +57 -0
- package/{index-d2abb8a0.mjs → index-a039036e.mjs} +273 -262
- package/index-c5a79b0b.mjs +219 -0
- package/index-cce225be.mjs +110 -0
- package/index-f2c2d1cf.mjs +74 -0
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/shareStore-7de6c7a6.mjs +67 -0
- package/style.css +1 -1
- package/useCgformList-f3cb9156.mjs +378 -0
- package/useExtendComponent-bb98e568.mjs +4460 -0
- package/useListButton-98908683.mjs +719 -0
- package/{useSchemas-47e45edc.mjs → useSchemas-b074f3a1.mjs} +88 -46
- package/useTableSync-075826a1.mjs +89 -0
- package/utils-9fce7606.mjs +16 -0
- package/AiModal-fe3988fb.mjs +0 -84
- package/AuthButtonConfig-d50a0a65.mjs +0 -134
- package/AuthButtonTree-589395ed.mjs +0 -156
- package/AuthFieldConfig-490fc0ab.mjs +0 -139
- package/AuthFieldTree-b7cd091e.mjs +0 -232
- package/CgformCopyList-8077ccc6.mjs +0 -250
- package/CgformModal-36faf29a.mjs +0 -621
- package/CodeFileListModal-0e26b7e0.mjs +0 -158
- package/CodeFileViewModal-9d4a5b5f.mjs +0 -248
- package/CodeGeneratorModal-b722d976.mjs +0 -238
- package/CustomButtonList-37639061.mjs +0 -381
- package/DbToOnlineModal-f49b9530.mjs +0 -166
- package/JModalTip-4a83aaed.mjs +0 -49
- package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
- package/LeftRole-7d8c5acc.mjs +0 -86
- package/OnlCgformErpList-30e416c8.mjs +0 -470
- package/OnlCgformErpSubTable-9a876058.mjs +0 -427
- package/OnlCgformInnerTableList-f89b6687.mjs +0 -458
- package/OnlCgformTabList-7a2f2c03.mjs +0 -408
- package/OnlineAutoList-46c6c8b9.mjs +0 -493
- package/OnlineAutoModal-971bef13.mjs +0 -236
- package/OnlineAutoTreeList-3b92454c.mjs +0 -502
- package/OnlineCustomModal-594244f3.mjs +0 -232
- package/OnlineForm-018981b2.mjs +0 -924
- package/OnlineFormUrlSuccess-af285b02.mjs +0 -59
- package/OnlineQueryForm-998c12a4.mjs +0 -444
- package/OnlineTabForm-9ad7d29a.mjs +0 -805
- package/SetSwitchOptions-a452fa0f.mjs +0 -62
- package/SuperQuery-cbfba908.mjs +0 -975
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/index-173949bb.mjs +0 -57
- package/useCgformList-8755a94e.mjs +0 -426
- package/useExtendComponent-bb7cca20.mjs +0 -4295
- package/useListButton-7ddb9a46.mjs +0 -697
- package/useTableSync-f6089e8a.mjs +0 -87
- /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
import { ref as D, onMounted 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 {
|
|
16
|
-
import {
|
|
1
|
+
import { ref as D, onMounted as Yt, defineComponent as Kt, resolveComponent as S, openBlock as tt, createElementBlock as ut, Fragment as Xt, createElementVNode as pt, normalizeClass as q, createVNode as v, mergeProps as Qt, withCtx as j, createTextVNode as O, createBlock as Ut, createCommentVNode as dt } from "vue";
|
|
2
|
+
import { BasicTable as Zt, TableAction as te } from "/@/components/Table";
|
|
3
|
+
import { C as ee } from "./CgformModal-c4a4e0c2.mjs";
|
|
4
|
+
import ne from "./DbToOnlineModal-f28ff0a3.mjs";
|
|
5
|
+
import oe from "./CodeGeneratorModal-2e1dc13d.mjs";
|
|
6
|
+
import ie from "./CustomButtonList-c453b654.mjs";
|
|
7
|
+
import re from "./EnhanceJsModal-dc4f9ade.mjs";
|
|
8
|
+
import se from "./EnhanceJavaModal-d5a93f2a.mjs";
|
|
9
|
+
import ae from "./EnhanceSqlModal-984f045d.mjs";
|
|
10
|
+
import le from "./AuthManagerDrawer-32556109.mjs";
|
|
11
|
+
import ce from "./AuthSetterModal-364f1f67.mjs";
|
|
12
|
+
import ue from "./AiModal-26903538.mjs";
|
|
13
|
+
import pe from "./CgformAddressModal-1131274c.mjs";
|
|
14
|
+
import { u as de, C as he } from "./useCgformList-f3cb9156.mjs";
|
|
15
|
+
import { c as me, s as fe } from "./cgform.data-0ca62d09.mjs";
|
|
16
|
+
import { useDesign as ge } from "/@/hooks/web/useDesign";
|
|
17
|
+
import { _ as be } from "./index-9e1e1e53.mjs";
|
|
17
18
|
import "/@/components/Icon";
|
|
18
19
|
import "/@/components/Modal";
|
|
19
20
|
import "/@/components/Form/index";
|
|
20
21
|
import "/@/hooks/web/useMessage";
|
|
21
|
-
import "./useSchemas-
|
|
22
|
+
import "./useSchemas-b074f3a1.mjs";
|
|
22
23
|
import "ant-design-vue";
|
|
23
24
|
import "@ant-design/icons-vue";
|
|
24
25
|
import "/@/utils/common/compUtils";
|
|
25
26
|
import "/@/hooks/web/usePermission";
|
|
26
27
|
import "/@/utils/helper/validator";
|
|
27
|
-
import "./DBAttributeTable-
|
|
28
|
+
import "./DBAttributeTable-1a45c7b7.mjs";
|
|
28
29
|
import "/@/components/jeecg/JVxeTable/types";
|
|
29
|
-
import "./useTableSync-
|
|
30
|
+
import "./useTableSync-075826a1.mjs";
|
|
30
31
|
import "lodash-es";
|
|
31
32
|
import "/@/utils/dict";
|
|
32
33
|
import "/@/utils/dict/JDictSelectUtil";
|
|
33
34
|
import "/@/utils/uuid";
|
|
34
35
|
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
35
36
|
import "vue-router";
|
|
36
|
-
import "./PageAttributeTable-
|
|
37
|
-
import "./LinkTableConfigModal-
|
|
37
|
+
import "./PageAttributeTable-66e7b485.mjs";
|
|
38
|
+
import "./LinkTableConfigModal-7eeb3e58.mjs";
|
|
38
39
|
import "/@/utils/http/axios";
|
|
39
|
-
import "./LinkTableFieldConfigModal-
|
|
40
|
-
import "./FieldExtendJsonModal-
|
|
41
|
-
import "./SetSwitchOptions-
|
|
40
|
+
import "./LinkTableFieldConfigModal-b078fcef.mjs";
|
|
41
|
+
import "./FieldExtendJsonModal-bf04d70e.mjs";
|
|
42
|
+
import "./SetSwitchOptions-f914bc17.mjs";
|
|
42
43
|
import "/@/utils/is";
|
|
43
44
|
import "./constant-fa63bd66.mjs";
|
|
44
|
-
import "./CheckDictTable-
|
|
45
|
+
import "./CheckDictTable-8a938e3a.mjs";
|
|
45
46
|
import "/@/components/jeecg/JPrompt";
|
|
46
|
-
import "./ForeignKeyTable-
|
|
47
|
-
import "./IndexTable-
|
|
48
|
-
import "./QueryTable-
|
|
49
|
-
import "./ExtendConfigModal-
|
|
47
|
+
import "./ForeignKeyTable-92decaea.mjs";
|
|
48
|
+
import "./IndexTable-2ded2014.mjs";
|
|
49
|
+
import "./QueryTable-65d3f54f.mjs";
|
|
50
|
+
import "./ExtendConfigModal-7d70f362.mjs";
|
|
50
51
|
import "/@/components/Form";
|
|
51
52
|
import "./useOnlineTest-e4bd8be3.mjs";
|
|
52
53
|
import "/@/utils";
|
|
53
|
-
import "./useExtendComponent-
|
|
54
|
+
import "./useExtendComponent-bb98e568.mjs";
|
|
54
55
|
import "/@/components/Form/src/componentMap";
|
|
55
56
|
import "/@/utils/propTypes";
|
|
56
57
|
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
@@ -61,39 +62,42 @@ import "/@/store/modules/permission";
|
|
|
61
62
|
import "/@/hooks/system/useListPage";
|
|
62
63
|
import "/@/components/Form/src/utils/Area";
|
|
63
64
|
import "/@/components/Preview/index";
|
|
64
|
-
import "./LinkTableListPiece-
|
|
65
|
+
import "./LinkTableListPiece-e016b8e6.mjs";
|
|
65
66
|
import "/@/utils/auth";
|
|
66
67
|
import "/@/api/common/api";
|
|
67
68
|
import "/@/hooks/web/useAppInject";
|
|
68
69
|
import "/@/assets/images/placeholderImage.png";
|
|
69
|
-
import "./OnlineSelectCascade-
|
|
70
|
+
import "./OnlineSelectCascade-d631ed72.mjs";
|
|
70
71
|
import "/@/components/Loading";
|
|
71
|
-
import "./JModalTip-
|
|
72
|
+
import "./JModalTip-a927f85d.mjs";
|
|
72
73
|
import "@vueuse/core";
|
|
73
|
-
import "./
|
|
74
|
-
import "./
|
|
74
|
+
import "./utils-9fce7606.mjs";
|
|
75
|
+
import "./CodeFileListModal-a924902a.mjs";
|
|
76
|
+
import "./CodeFileViewModal-405e2b58.mjs";
|
|
75
77
|
import "/@/utils/file/download";
|
|
76
|
-
import "./FileSelectModal-
|
|
77
|
-
import "./
|
|
78
|
+
import "./FileSelectModal-ffc69d4a.mjs";
|
|
79
|
+
import "./BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs";
|
|
80
|
+
import "./EnhanceJsHistory-8ddb0657.mjs";
|
|
78
81
|
import "/@/utils/dateUtil";
|
|
79
82
|
import "/@/store";
|
|
80
83
|
import "pinia";
|
|
81
84
|
import "/@/utils/cache";
|
|
82
85
|
import "./enhance.api-138e6826.mjs";
|
|
83
|
-
import "./enhance.data-
|
|
86
|
+
import "./enhance.data-6601ff44.mjs";
|
|
84
87
|
import "/@/components/Drawer";
|
|
85
|
-
import "./AuthFieldConfig-
|
|
86
|
-
import "./auth.api-
|
|
87
|
-
import "./auth.data-
|
|
88
|
-
import "
|
|
89
|
-
import "./
|
|
90
|
-
import "./
|
|
91
|
-
import "./
|
|
92
|
-
import "./
|
|
93
|
-
import "./
|
|
94
|
-
import "./
|
|
95
|
-
import "./
|
|
96
|
-
import "
|
|
88
|
+
import "./AuthFieldConfig-f1e224cc.mjs";
|
|
89
|
+
import "./auth.api-53df4c33.mjs";
|
|
90
|
+
import "./auth.data-626c5083.mjs";
|
|
91
|
+
import "/@/utils/index";
|
|
92
|
+
import "./AuthButtonConfig-d5bffca0.mjs";
|
|
93
|
+
import "./AuthDataConfig-d3b7afa4.mjs";
|
|
94
|
+
import "./LeftRole-b0e0b496.mjs";
|
|
95
|
+
import "./LeftDepart-52cb6743.mjs";
|
|
96
|
+
import "./LeftUser-dd4b10e2.mjs";
|
|
97
|
+
import "./AuthFieldTree-5cc0da05.mjs";
|
|
98
|
+
import "./AuthButtonTree-b0bd6c40.mjs";
|
|
99
|
+
import "./AuthDataTree-f14a98d9.mjs";
|
|
100
|
+
import "/@/hooks/web/useCopyToClipboard";
|
|
97
101
|
import "./cgformState-d9f8ec42.mjs";
|
|
98
102
|
/*!
|
|
99
103
|
* Intro.js v7.2.0
|
|
@@ -200,7 +204,7 @@ function g(t, e) {
|
|
|
200
204
|
};
|
|
201
205
|
}
|
|
202
206
|
}
|
|
203
|
-
function
|
|
207
|
+
function _t(t, e, n) {
|
|
204
208
|
var o, i = ((o = {})[t] = e, o.path = "/", o.expires = void 0, o);
|
|
205
209
|
if (n) {
|
|
206
210
|
var r = /* @__PURE__ */ new Date();
|
|
@@ -218,17 +222,17 @@ function Et(t) {
|
|
|
218
222
|
}), e)[t];
|
|
219
223
|
var e;
|
|
220
224
|
}
|
|
221
|
-
function
|
|
222
|
-
e ?
|
|
225
|
+
function ve(t, e) {
|
|
226
|
+
e ? _t(t._options.dontShowAgainCookie, "true", t._options.dontShowAgainCookieDays) : _t(t._options.dontShowAgainCookie, "", -1);
|
|
223
227
|
}
|
|
224
|
-
var et,
|
|
228
|
+
var et, mt = (et = {}, function(t, e) {
|
|
225
229
|
return e === void 0 && (e = "introjs-stamp"), et[e] = et[e] || 0, t[e] === void 0 && (t[e] = et[e]++), t[e];
|
|
226
|
-
}),
|
|
230
|
+
}), M = new (function() {
|
|
227
231
|
function t() {
|
|
228
232
|
this.events_key = "introjs_event";
|
|
229
233
|
}
|
|
230
234
|
return t.prototype._id = function(e, n, o) {
|
|
231
|
-
return e +
|
|
235
|
+
return e + mt(n) + (o ? "_".concat(mt(o)) : "");
|
|
232
236
|
}, t.prototype.on = function(e, n, o, i, r) {
|
|
233
237
|
var s = this._id(n, o, i), a = function(c) {
|
|
234
238
|
return o(i || e, c || window.event);
|
|
@@ -238,7 +242,7 @@ var et, ht = (et = {}, function(t, e) {
|
|
|
238
242
|
var s = this._id(n, o, i), a = e[this.events_key] && e[this.events_key][s];
|
|
239
243
|
a && ("removeEventListener" in e ? e.removeEventListener(n, a, r) : "detachEvent" in e && e.detachEvent("on".concat(n), a), e[this.events_key][s] = null);
|
|
240
244
|
}, t;
|
|
241
|
-
}())(),
|
|
245
|
+
}())(), w = function(t) {
|
|
242
246
|
return typeof t == "function";
|
|
243
247
|
};
|
|
244
248
|
function I(t, e) {
|
|
@@ -316,7 +320,7 @@ function H(t, e) {
|
|
|
316
320
|
n += "".concat(o, ":").concat(e[o], ";");
|
|
317
321
|
t.style.cssText = n;
|
|
318
322
|
}
|
|
319
|
-
function
|
|
323
|
+
function R(t, e, n) {
|
|
320
324
|
if (n && e) {
|
|
321
325
|
var o = Y(e.element, t._targetElement), i = t._options.helperElementPadding;
|
|
322
326
|
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") });
|
|
@@ -331,13 +335,13 @@ function ot(t, e, n, o) {
|
|
|
331
335
|
function B(t, e) {
|
|
332
336
|
t.includes(e) && t.splice(t.indexOf(e), 1);
|
|
333
337
|
}
|
|
334
|
-
function
|
|
338
|
+
function ye(t, e, n, o) {
|
|
335
339
|
var i = t.slice(), r = bt(), s = Y(n).height + 10, a = Y(n).width + 20, c = e.getBoundingClientRect(), p = "floating";
|
|
336
340
|
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
341
|
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,
|
|
339
|
-
var
|
|
340
|
-
return E - m < b && (B(C, "top-left-aligned"), B(C, "bottom-left-aligned")), (m <
|
|
342
|
+
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, y, C) {
|
|
343
|
+
var _ = b / 2, E = Math.min(y, window.screen.width);
|
|
344
|
+
return E - m < b && (B(C, "top-left-aligned"), B(C, "bottom-left-aligned")), (m < _ || E - m < _) && (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
345
|
}(c.left, a, r.width, u) || l;
|
|
342
346
|
}
|
|
343
347
|
return p;
|
|
@@ -345,7 +349,7 @@ function ge(t, e, n, o) {
|
|
|
345
349
|
function rt(t, e, n, o, i) {
|
|
346
350
|
if (i === void 0 && (i = !1), e) {
|
|
347
351
|
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 =
|
|
352
|
+
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 = ye(t._options.positionPrecedence, e.element, n, c)), s = Y(e.element), r = Y(n), a = bt(), I(n, "introjs-".concat(c));
|
|
349
353
|
var l = s.width / 2 - r.width / 2;
|
|
350
354
|
switch (c) {
|
|
351
355
|
case "top-right-aligned":
|
|
@@ -429,31 +433,31 @@ function Bt(t, e, n) {
|
|
|
429
433
|
}
|
|
430
434
|
function It(t, e) {
|
|
431
435
|
return f(this, void 0, void 0, function() {
|
|
432
|
-
var n, o, i, r, s, a, c, p, l, u, m, b,
|
|
436
|
+
var n, o, i, r, s, a, c, p, l, u, m, b, y, C, _, E, N, L, x, P, V, z, T, W, X = this;
|
|
433
437
|
return g(this, function(J) {
|
|
434
438
|
switch (J.label) {
|
|
435
439
|
case 0:
|
|
436
|
-
return
|
|
440
|
+
return w(t._introChangeCallback) ? [4, t._introChangeCallback.call(t, e.element)] : [3, 2];
|
|
437
441
|
case 1:
|
|
438
442
|
J.sent(), J.label = 2;
|
|
439
443
|
case 2:
|
|
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),
|
|
444
|
+
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), R(t, e, n), R(t, e, o), Tt(), t._lastShowElementTimer && window.clearTimeout(t._lastShowElementTimer), t._lastShowElementTimer = window.setTimeout(function() {
|
|
441
445
|
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) {
|
|
442
446
|
if (d) {
|
|
443
447
|
var $ = A.querySelector(".introjs-bullets li > a.active"), Z = A.querySelector('.introjs-bullets li > a[data-step-number="'.concat(k.step, '"]'));
|
|
444
448
|
$ && Z && ($.className = "", Z.className = "active");
|
|
445
449
|
}
|
|
446
450
|
}(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 }),
|
|
451
|
+
}, 350)) : (b = h("div", { className: i }), y = h("div", { className: "introjs-tooltipReferenceLayer" }), C = h("div", { className: "introjs-arrow" }), _ = h("div", { className: "introjs-tooltip" }), E = h("div", { className: "introjs-tooltiptext" }), N = h("div", { className: "introjs-tooltip-header" }), L = h("h1", { className: "introjs-tooltip-title" }), x = 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), R(t, e, b), R(t, e, y), At(t._targetElement, b, !0), At(t._targetElement, y), E.innerHTML = e.intro, L.innerHTML = e.title, x.className = "introjs-tooltipbuttons", t._options.showButtons === !1 && (x.style.display = "none"), N.appendChild(L), _.appendChild(N), _.appendChild(E), t._options.dontShowAgain && (P = h("div", { className: "introjs-dontShowAgain" }), (V = h("input", { type: "checkbox", id: "introjs-dontShowAgain", name: "introjs-dontShowAgain" })).onchange = function(d) {
|
|
448
452
|
t.setDontShowAgain(d.target.checked);
|
|
449
|
-
}, (
|
|
453
|
+
}, (z = h("label", { htmlFor: "introjs-dontShowAgain" })).innerText = t._options.dontShowAgainLabel, P.appendChild(V), P.appendChild(z), _.appendChild(P)), _.appendChild(xt(t, e)), _.appendChild(function(d) {
|
|
450
454
|
var A = h("div");
|
|
451
455
|
A.className = "introjs-progress", d._options.showProgress === !1 && (A.style.display = "none");
|
|
452
456
|
var k = h("div", { className: "introjs-progressbar" });
|
|
453
457
|
d._options.progressBarAdditionalClass && (k.className += " " + d._options.progressBarAdditionalClass);
|
|
454
458
|
var $ = Nt(d._currentStep, d._introItems.length);
|
|
455
459
|
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)),
|
|
460
|
+
}(t)), T = h("div"), t._options.showStepNumbers === !0 && (T.className = "introjs-helperNumberLayer", T.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length), _.appendChild(T)), _.appendChild(C), y.appendChild(_), (r = h("a")).onclick = function() {
|
|
457
461
|
return f(X, void 0, void 0, function() {
|
|
458
462
|
return g(this, function(d) {
|
|
459
463
|
switch (d.label) {
|
|
@@ -462,7 +466,7 @@ function It(t, e) {
|
|
|
462
466
|
case 1:
|
|
463
467
|
return d.sent(), [3, 6];
|
|
464
468
|
case 2:
|
|
465
|
-
return /introjs-donebutton/gi.test(r.className) ?
|
|
469
|
+
return /introjs-donebutton/gi.test(r.className) ? w(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "done")] : [3, 4] : [3, 6];
|
|
466
470
|
case 3:
|
|
467
471
|
d.sent(), d.label = 4;
|
|
468
472
|
case 4:
|
|
@@ -492,11 +496,11 @@ function It(t, e) {
|
|
|
492
496
|
return g(this, function(d) {
|
|
493
497
|
switch (d.label) {
|
|
494
498
|
case 0:
|
|
495
|
-
return t._introItems.length - 1 === t._currentStep &&
|
|
499
|
+
return t._introItems.length - 1 === t._currentStep && w(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 2];
|
|
496
500
|
case 1:
|
|
497
501
|
d.sent(), d.label = 2;
|
|
498
502
|
case 2:
|
|
499
|
-
return
|
|
503
|
+
return w(t._introSkipCallback) ? [4, t._introSkipCallback.call(t, t._currentStep)] : [3, 4];
|
|
500
504
|
case 3:
|
|
501
505
|
d.sent(), d.label = 4;
|
|
502
506
|
case 4:
|
|
@@ -506,14 +510,14 @@ function It(t, e) {
|
|
|
506
510
|
}
|
|
507
511
|
});
|
|
508
512
|
});
|
|
509
|
-
},
|
|
513
|
+
}, N.appendChild(a), t._introItems.length > 1 && x.appendChild(s), x.appendChild(r), _.appendChild(x), rt(t, e, _, C), St(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, _)), (W = t._targetElement.querySelector(".introjs-disableInteraction")) && W.parentNode && W.parentNode.removeChild(W), e.disableInteraction && function(d, A) {
|
|
510
514
|
var k = document.querySelector(".introjs-disableInteraction");
|
|
511
|
-
k === null && (k = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(k)),
|
|
515
|
+
k === null && (k = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(k)), R(d, A, k);
|
|
512
516
|
}(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) {
|
|
513
517
|
I(d, "introjs-showElement");
|
|
514
518
|
var A = gt(d, "position");
|
|
515
519
|
A !== "absolute" && A !== "relative" && A !== "sticky" && A !== "fixed" && I(d, "introjs-relativePosition");
|
|
516
|
-
}(e.element),
|
|
520
|
+
}(e.element), w(t._introAfterChangeCallback) ? [4, t._introAfterChangeCallback.call(t, e.element)] : [3, 4];
|
|
517
521
|
case 3:
|
|
518
522
|
J.sent(), J.label = 4;
|
|
519
523
|
case 4:
|
|
@@ -522,7 +526,7 @@ function It(t, e) {
|
|
|
522
526
|
});
|
|
523
527
|
});
|
|
524
528
|
}
|
|
525
|
-
function
|
|
529
|
+
function we(t, e) {
|
|
526
530
|
return f(this, void 0, void 0, function() {
|
|
527
531
|
return g(this, function(n) {
|
|
528
532
|
switch (n.label) {
|
|
@@ -536,7 +540,7 @@ function be(t, e) {
|
|
|
536
540
|
});
|
|
537
541
|
});
|
|
538
542
|
}
|
|
539
|
-
function
|
|
543
|
+
function _e(t, e) {
|
|
540
544
|
return f(this, void 0, void 0, function() {
|
|
541
545
|
return g(this, function(n) {
|
|
542
546
|
switch (n.label) {
|
|
@@ -559,11 +563,11 @@ function F(t) {
|
|
|
559
563
|
if (t._direction = "forward", t._currentStepNumber !== void 0)
|
|
560
564
|
for (e = 0; e < t._introItems.length; e++)
|
|
561
565
|
t._introItems[e].step === t._currentStepNumber && (t._currentStep = e - 1, t._currentStepNumber = void 0);
|
|
562
|
-
return t._currentStep === -1 ? t._currentStep = 0 : ++t._currentStep, n = t._introItems[t._currentStep], o = !0,
|
|
566
|
+
return t._currentStep === -1 ? t._currentStep = 0 : ++t._currentStep, n = t._introItems[t._currentStep], o = !0, w(t._introBeforeChangeCallback) ? [4, t._introBeforeChangeCallback.call(t, n && n.element, t._currentStep, t._direction)] : [3, 2];
|
|
563
567
|
case 1:
|
|
564
568
|
o = i.sent(), i.label = 2;
|
|
565
569
|
case 2:
|
|
566
|
-
return o === !1 ? (--t._currentStep, [2, !1]) : t._introItems.length <= t._currentStep ?
|
|
570
|
+
return o === !1 ? (--t._currentStep, [2, !1]) : t._introItems.length <= t._currentStep ? w(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "end")] : [3, 4] : [3, 6];
|
|
567
571
|
case 3:
|
|
568
572
|
i.sent(), i.label = 4;
|
|
569
573
|
case 4:
|
|
@@ -584,7 +588,7 @@ function st(t) {
|
|
|
584
588
|
return g(this, function(o) {
|
|
585
589
|
switch (o.label) {
|
|
586
590
|
case 0:
|
|
587
|
-
return t._direction = "backward", t._currentStep <= 0 ? [2, !1] : (--t._currentStep, e = t._introItems[t._currentStep], n = !0,
|
|
591
|
+
return t._direction = "backward", t._currentStep <= 0 ? [2, !1] : (--t._currentStep, e = t._introItems[t._currentStep], n = !0, w(t._introBeforeChangeCallback) ? [4, t._introBeforeChangeCallback.call(t, e && e.element, t._currentStep, t._direction)] : [3, 2]);
|
|
588
592
|
case 1:
|
|
589
593
|
n = o.sent(), o.label = 2;
|
|
590
594
|
case 2:
|
|
@@ -595,7 +599,7 @@ function st(t) {
|
|
|
595
599
|
});
|
|
596
600
|
});
|
|
597
601
|
}
|
|
598
|
-
function
|
|
602
|
+
function Mt(t, e) {
|
|
599
603
|
return f(this, void 0, void 0, function() {
|
|
600
604
|
var n, o;
|
|
601
605
|
return g(this, function(i) {
|
|
@@ -617,7 +621,7 @@ function Lt(t, e) {
|
|
|
617
621
|
case 7:
|
|
618
622
|
return i.sent(), [3, 15];
|
|
619
623
|
case 8:
|
|
620
|
-
return o && o.className.match("introjs-skipbutton") ? t._introItems.length - 1 === t._currentStep &&
|
|
624
|
+
return o && o.className.match("introjs-skipbutton") ? t._introItems.length - 1 === t._currentStep && w(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 10] : [3, 12];
|
|
621
625
|
case 9:
|
|
622
626
|
i.sent(), i.label = 10;
|
|
623
627
|
case 10:
|
|
@@ -650,13 +654,13 @@ function K(t) {
|
|
|
650
654
|
var e = document.querySelector(".introjs-hints");
|
|
651
655
|
return e ? Array.from(e.querySelectorAll(t)) : [];
|
|
652
656
|
}
|
|
653
|
-
function
|
|
657
|
+
function wt(t, e) {
|
|
654
658
|
return f(this, void 0, void 0, function() {
|
|
655
659
|
var n;
|
|
656
660
|
return g(this, function(o) {
|
|
657
661
|
switch (o.label) {
|
|
658
662
|
case 0:
|
|
659
|
-
return n = K('.introjs-hint[data-step="'.concat(e, '"]'))[0], lt(), n && I(n, "introjs-hidehint"),
|
|
663
|
+
return n = K('.introjs-hint[data-step="'.concat(e, '"]'))[0], lt(), n && I(n, "introjs-hidehint"), w(t._hintCloseCallback) ? [4, t._hintCloseCallback.call(t, e)] : [3, 2];
|
|
660
664
|
case 1:
|
|
661
665
|
o.sent(), o.label = 2;
|
|
662
666
|
case 2:
|
|
@@ -665,7 +669,7 @@ function _t(t, e) {
|
|
|
665
669
|
});
|
|
666
670
|
});
|
|
667
671
|
}
|
|
668
|
-
function
|
|
672
|
+
function Ce(t) {
|
|
669
673
|
return f(this, void 0, void 0, function() {
|
|
670
674
|
var e, n, o, i, r;
|
|
671
675
|
return g(this, function(s) {
|
|
@@ -673,7 +677,7 @@ function ye(t) {
|
|
|
673
677
|
case 0:
|
|
674
678
|
e = K(".introjs-hint"), n = 0, o = e, s.label = 1;
|
|
675
679
|
case 1:
|
|
676
|
-
return n < o.length ? (i = o[n], (r = i.getAttribute("data-step")) ? [4,
|
|
680
|
+
return n < o.length ? (i = o[n], (r = i.getAttribute("data-step")) ? [4, wt(t, parseInt(r, 10))] : [3, 3]) : [3, 4];
|
|
677
681
|
case 2:
|
|
678
682
|
s.sent(), s.label = 3;
|
|
679
683
|
case 3:
|
|
@@ -684,7 +688,7 @@ function ye(t) {
|
|
|
684
688
|
});
|
|
685
689
|
});
|
|
686
690
|
}
|
|
687
|
-
function
|
|
691
|
+
function Se(t) {
|
|
688
692
|
return f(this, void 0, void 0, function() {
|
|
689
693
|
var e, n, o, i, r;
|
|
690
694
|
return g(this, function(s) {
|
|
@@ -693,10 +697,10 @@ function _e(t) {
|
|
|
693
697
|
if (!(e = K(".introjs-hint")) || !e.length)
|
|
694
698
|
return [3, 1];
|
|
695
699
|
for (n = 0, o = e; n < o.length; n++)
|
|
696
|
-
i = o[n], (r = i.getAttribute("data-step")) &&
|
|
700
|
+
i = o[n], (r = i.getAttribute("data-step")) && Lt(parseInt(r, 10));
|
|
697
701
|
return [3, 3];
|
|
698
702
|
case 1:
|
|
699
|
-
return [4,
|
|
703
|
+
return [4, Pt(t, t._targetElement)];
|
|
700
704
|
case 2:
|
|
701
705
|
s.sent(), s.label = 3;
|
|
702
706
|
case 3:
|
|
@@ -705,7 +709,7 @@ function _e(t) {
|
|
|
705
709
|
});
|
|
706
710
|
});
|
|
707
711
|
}
|
|
708
|
-
function
|
|
712
|
+
function Lt(t) {
|
|
709
713
|
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
710
714
|
e && vt(e, /introjs-hidehint/g);
|
|
711
715
|
}
|
|
@@ -713,7 +717,7 @@ function kt(t) {
|
|
|
713
717
|
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
714
718
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
715
719
|
}
|
|
716
|
-
function
|
|
720
|
+
function Ae(t) {
|
|
717
721
|
return f(this, void 0, void 0, function() {
|
|
718
722
|
var e, n, o, i, r, s, a;
|
|
719
723
|
return g(this, function(c) {
|
|
@@ -721,15 +725,15 @@ function we(t) {
|
|
|
721
725
|
case 0:
|
|
722
726
|
for ((e = document.querySelector(".introjs-hints")) === null && (e = h("div", { className: "introjs-hints" })), n = function(m) {
|
|
723
727
|
return function(b) {
|
|
724
|
-
var
|
|
725
|
-
|
|
728
|
+
var y = b || window.event;
|
|
729
|
+
y && y.stopPropagation && y.stopPropagation(), y && y.cancelBubble !== null && (y.cancelBubble = !0), Rt(t, m);
|
|
726
730
|
};
|
|
727
731
|
}, o = 0; o < t._hintItems.length; o++) {
|
|
728
732
|
if (i = t._hintItems[o], document.querySelector('.introjs-hint[data-step="'.concat(o, '"]')))
|
|
729
733
|
return [2];
|
|
730
734
|
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);
|
|
731
735
|
}
|
|
732
|
-
return document.body.appendChild(e),
|
|
736
|
+
return document.body.appendChild(e), w(t._hintsAddedCallback) ? [4, t._hintsAddedCallback.call(t)] : [3, 2];
|
|
733
737
|
case 1:
|
|
734
738
|
c.sent(), c.label = 2;
|
|
735
739
|
case 2:
|
|
@@ -741,7 +745,7 @@ function we(t) {
|
|
|
741
745
|
window.clearTimeout(u), u = window.setTimeout(function() {
|
|
742
746
|
p(m);
|
|
743
747
|
}, l);
|
|
744
|
-
}),
|
|
748
|
+
}), M.on(window, "scroll", t._hintsAutoRefreshFunction, t, !0)), [2];
|
|
745
749
|
}
|
|
746
750
|
var p, l, u;
|
|
747
751
|
});
|
|
@@ -781,21 +785,21 @@ function qt(t, e, n) {
|
|
|
781
785
|
}
|
|
782
786
|
}
|
|
783
787
|
}
|
|
784
|
-
function
|
|
788
|
+
function Rt(t, e) {
|
|
785
789
|
return f(this, void 0, void 0, function() {
|
|
786
790
|
var n, o, i, r, s, a, c, p, l, u, m;
|
|
787
791
|
return g(this, function(b) {
|
|
788
792
|
switch (b.label) {
|
|
789
793
|
case 0:
|
|
790
|
-
return n = document.querySelector('.introjs-hint[data-step="'.concat(e, '"]')), o = t._hintItems[e],
|
|
794
|
+
return n = document.querySelector('.introjs-hint[data-step="'.concat(e, '"]')), o = t._hintItems[e], w(t._hintClickCallback) ? [4, t._hintClickCallback.call(t, n, o, e)] : [3, 2];
|
|
791
795
|
case 1:
|
|
792
796
|
b.sent(), b.label = 2;
|
|
793
797
|
case 2:
|
|
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(
|
|
795
|
-
|
|
798
|
+
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(y) {
|
|
799
|
+
y.stopPropagation ? y.stopPropagation() : y.cancelBubble = !0;
|
|
796
800
|
}, 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() {
|
|
797
|
-
return
|
|
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),
|
|
801
|
+
return wt(t, e);
|
|
802
|
+
}, 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), R(t, m, c), c.appendChild(r), document.body.appendChild(c), rt(t, m, r, a, !0)), [2];
|
|
799
803
|
}
|
|
800
804
|
});
|
|
801
805
|
});
|
|
@@ -807,7 +811,7 @@ function lt() {
|
|
|
807
811
|
return e ? (t.parentNode.removeChild(t), e) : void 0;
|
|
808
812
|
}
|
|
809
813
|
}
|
|
810
|
-
function
|
|
814
|
+
function Pt(t, e) {
|
|
811
815
|
return f(this, void 0, void 0, function() {
|
|
812
816
|
var n, o, i, r, s, a, c, p, l, u;
|
|
813
817
|
return g(this, function(m) {
|
|
@@ -822,9 +826,9 @@ function Rt(t, e) {
|
|
|
822
826
|
for (a = 0, c = s; a < c.length; a++)
|
|
823
827
|
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 });
|
|
824
828
|
}
|
|
825
|
-
return [4,
|
|
829
|
+
return [4, Ae(t)];
|
|
826
830
|
case 1:
|
|
827
|
-
return m.sent(),
|
|
831
|
+
return m.sent(), M.on(document, "click", lt, t, !1), M.on(window, "resize", ct, t, !0), [2, !0];
|
|
828
832
|
}
|
|
829
833
|
});
|
|
830
834
|
});
|
|
@@ -857,24 +861,24 @@ function Dt(t, e) {
|
|
|
857
861
|
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 });
|
|
858
862
|
}
|
|
859
863
|
}
|
|
860
|
-
for (var b = 0,
|
|
861
|
-
if (u = C[
|
|
864
|
+
for (var b = 0, y = 0, C = n; y < C.length; y++)
|
|
865
|
+
if (u = C[y], (!t._options.group || u.getAttribute("data-intro-group") === t._options.group) && u.getAttribute("data-step") === null) {
|
|
862
866
|
for (; o[b] !== void 0; )
|
|
863
867
|
b++;
|
|
864
868
|
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 };
|
|
865
869
|
}
|
|
866
870
|
}
|
|
867
|
-
for (var
|
|
868
|
-
o[E] &&
|
|
869
|
-
return (o =
|
|
870
|
-
return
|
|
871
|
+
for (var _ = [], E = 0; E < o.length; E++)
|
|
872
|
+
o[E] && _.push(o[E]);
|
|
873
|
+
return (o = _).sort(function(N, L) {
|
|
874
|
+
return N.step - L.step;
|
|
871
875
|
}), o;
|
|
872
876
|
}
|
|
873
877
|
function Ot(t, e) {
|
|
874
878
|
var n = t._currentStep;
|
|
875
879
|
if (n != null && n != -1) {
|
|
876
880
|
var o = t._introItems[n], i = document.querySelector(".introjs-tooltipReferenceLayer"), r = document.querySelector(".introjs-helperLayer"), s = document.querySelector(".introjs-disableInteraction");
|
|
877
|
-
|
|
881
|
+
R(t, o, r), R(t, o, i), R(t, o, s), e && (t._introItems = Dt(t, t._targetElement), function(p, l) {
|
|
878
882
|
if (p._options.showBullets) {
|
|
879
883
|
var u = document.querySelector(".introjs-bullets");
|
|
880
884
|
u && u.parentNode && u.parentNode.replaceChild(xt(p, l), u);
|
|
@@ -913,7 +917,7 @@ function G(t, e, n) {
|
|
|
913
917
|
if ((i = Array.from(e.querySelectorAll(".introjs-overlay"))) && i.length)
|
|
914
918
|
for (r = 0, s = i; r < s.length; r++)
|
|
915
919
|
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(),
|
|
920
|
+
return Q(e.querySelector(".introjs-helperLayer"), !0), Q(e.querySelector(".introjs-tooltipReferenceLayer")), Q(e.querySelector(".introjs-disableInteraction")), Q(document.querySelector(".introjsFloatingElement")), Tt(), M.off(window, "keydown", Mt, t, !0), M.off(window, "resize", Ht, t, !0), w(t._introExitCallback) ? [4, t._introExitCallback.call(t)] : [3, 4];
|
|
917
921
|
case 3:
|
|
918
922
|
a.sent(), a.label = 4;
|
|
919
923
|
case 4:
|
|
@@ -922,13 +926,13 @@ function G(t, e, n) {
|
|
|
922
926
|
});
|
|
923
927
|
});
|
|
924
928
|
}
|
|
925
|
-
function
|
|
929
|
+
function ke(t, e) {
|
|
926
930
|
return f(this, void 0, void 0, function() {
|
|
927
931
|
var n;
|
|
928
932
|
return g(this, function(o) {
|
|
929
933
|
switch (o.label) {
|
|
930
934
|
case 0:
|
|
931
|
-
return t.isActive() ?
|
|
935
|
+
return t.isActive() ? w(t._introStartCallback) ? [4, t._introStartCallback.call(t, e)] : [3, 2] : [2, !1];
|
|
932
936
|
case 1:
|
|
933
937
|
o.sent(), o.label = 2;
|
|
934
938
|
case 2:
|
|
@@ -948,7 +952,7 @@ function Ce(t, e) {
|
|
|
948
952
|
});
|
|
949
953
|
}(t, e), [4, F(t)]);
|
|
950
954
|
case 3:
|
|
951
|
-
o.sent(), e.addEventListener, t._options.keyboardNavigation &&
|
|
955
|
+
o.sent(), e.addEventListener, t._options.keyboardNavigation && M.on(window, "keydown", Mt, t, !0), M.on(window, "resize", Ht, t, !0), o.label = 4;
|
|
952
956
|
case 4:
|
|
953
957
|
return [2, !1];
|
|
954
958
|
}
|
|
@@ -958,7 +962,7 @@ function Ce(t, e) {
|
|
|
958
962
|
function jt(t, e, n) {
|
|
959
963
|
return t[e] = n, t;
|
|
960
964
|
}
|
|
961
|
-
var
|
|
965
|
+
var ht = function() {
|
|
962
966
|
function t(e) {
|
|
963
967
|
this._currentStep = -1, this._introItems = [], this._hintItems = [], this._targetElement = e, this._options = { steps: [], hints: [], isActive: !0, nextLabel: "Next", prevLabel: "Back", skipLabel: "×", doneLabel: "Done", hidePrev: !1, hideNext: !1, nextToDone: !0, tooltipPosition: "bottom", tooltipClass: "", group: "", highlightClass: "", exitOnEsc: !0, exitOnOverlayClick: !0, showStepNumbers: !1, stepNumbersOfLabel: "of", keyboardNavigation: !0, showButtons: !0, showBullets: !0, showProgress: !1, scrollToElement: !0, scrollTo: "element", scrollPadding: 30, overlayOpacity: 0.5, autoPosition: !0, positionPrecedence: ["bottom", "top", "right", "left"], disableInteraction: !1, dontShowAgain: !1, dontShowAgainLabel: "Don't show this again", dontShowAgainCookie: "introjs-dontShowAgain", dontShowAgainCookieDays: 365, helperElementPadding: 10, hintPosition: "top-middle", hintButtonLabel: "Got it", hintShowButton: !0, hintAutoRefreshInterval: 10, hintAnimation: !0, buttonClass: "introjs-button", progressBarAdditionalClass: !1 };
|
|
964
968
|
}
|
|
@@ -982,7 +986,7 @@ var dt = function() {
|
|
|
982
986
|
return g(this, function(e) {
|
|
983
987
|
switch (e.label) {
|
|
984
988
|
case 0:
|
|
985
|
-
return [4,
|
|
989
|
+
return [4, ke(this, this._targetElement)];
|
|
986
990
|
case 1:
|
|
987
991
|
return e.sent(), [2, this];
|
|
988
992
|
}
|
|
@@ -993,7 +997,7 @@ var dt = function() {
|
|
|
993
997
|
return g(this, function(n) {
|
|
994
998
|
switch (n.label) {
|
|
995
999
|
case 0:
|
|
996
|
-
return [4,
|
|
1000
|
+
return [4, we(this, e)];
|
|
997
1001
|
case 1:
|
|
998
1002
|
return n.sent(), [2, this];
|
|
999
1003
|
}
|
|
@@ -1012,7 +1016,7 @@ var dt = function() {
|
|
|
1012
1016
|
return g(this, function(n) {
|
|
1013
1017
|
switch (n.label) {
|
|
1014
1018
|
case 0:
|
|
1015
|
-
return [4,
|
|
1019
|
+
return [4, _e(this, e)];
|
|
1016
1020
|
case 1:
|
|
1017
1021
|
return n.sent(), [2, this];
|
|
1018
1022
|
}
|
|
@@ -1056,49 +1060,49 @@ var dt = function() {
|
|
|
1056
1060
|
}, t.prototype.refresh = function(e) {
|
|
1057
1061
|
return Ot(this, e), this;
|
|
1058
1062
|
}, t.prototype.setDontShowAgain = function(e) {
|
|
1059
|
-
return
|
|
1063
|
+
return ve(this, e), this;
|
|
1060
1064
|
}, t.prototype.onbeforechange = function(e) {
|
|
1061
|
-
if (!
|
|
1065
|
+
if (!w(e))
|
|
1062
1066
|
throw new Error("Provided callback for onbeforechange was not a function");
|
|
1063
1067
|
return this._introBeforeChangeCallback = e, this;
|
|
1064
1068
|
}, t.prototype.onchange = function(e) {
|
|
1065
|
-
if (!
|
|
1069
|
+
if (!w(e))
|
|
1066
1070
|
throw new Error("Provided callback for onchange was not a function.");
|
|
1067
1071
|
return this._introChangeCallback = e, this;
|
|
1068
1072
|
}, t.prototype.onafterchange = function(e) {
|
|
1069
|
-
if (!
|
|
1073
|
+
if (!w(e))
|
|
1070
1074
|
throw new Error("Provided callback for onafterchange was not a function");
|
|
1071
1075
|
return this._introAfterChangeCallback = e, this;
|
|
1072
1076
|
}, t.prototype.oncomplete = function(e) {
|
|
1073
|
-
if (!
|
|
1077
|
+
if (!w(e))
|
|
1074
1078
|
throw new Error("Provided callback for oncomplete was not a function.");
|
|
1075
1079
|
return this._introCompleteCallback = e, this;
|
|
1076
1080
|
}, t.prototype.onhintsadded = function(e) {
|
|
1077
|
-
if (!
|
|
1081
|
+
if (!w(e))
|
|
1078
1082
|
throw new Error("Provided callback for onhintsadded was not a function.");
|
|
1079
1083
|
return this._hintsAddedCallback = e, this;
|
|
1080
1084
|
}, t.prototype.onhintclick = function(e) {
|
|
1081
|
-
if (!
|
|
1085
|
+
if (!w(e))
|
|
1082
1086
|
throw new Error("Provided callback for onhintclick was not a function.");
|
|
1083
1087
|
return this._hintClickCallback = e, this;
|
|
1084
1088
|
}, t.prototype.onhintclose = function(e) {
|
|
1085
|
-
if (!
|
|
1089
|
+
if (!w(e))
|
|
1086
1090
|
throw new Error("Provided callback for onhintclose was not a function.");
|
|
1087
1091
|
return this._hintCloseCallback = e, this;
|
|
1088
1092
|
}, t.prototype.onstart = function(e) {
|
|
1089
|
-
if (!
|
|
1093
|
+
if (!w(e))
|
|
1090
1094
|
throw new Error("Provided callback for onstart was not a function.");
|
|
1091
1095
|
return this._introStartCallback = e, this;
|
|
1092
1096
|
}, t.prototype.onexit = function(e) {
|
|
1093
|
-
if (!
|
|
1097
|
+
if (!w(e))
|
|
1094
1098
|
throw new Error("Provided callback for onexit was not a function.");
|
|
1095
1099
|
return this._introExitCallback = e, this;
|
|
1096
1100
|
}, t.prototype.onskip = function(e) {
|
|
1097
|
-
if (!
|
|
1101
|
+
if (!w(e))
|
|
1098
1102
|
throw new Error("Provided callback for onskip was not a function.");
|
|
1099
1103
|
return this._introSkipCallback = e, this;
|
|
1100
1104
|
}, t.prototype.onbeforeexit = function(e) {
|
|
1101
|
-
if (!
|
|
1105
|
+
if (!w(e))
|
|
1102
1106
|
throw new Error("Provided callback for onbeforeexit was not a function.");
|
|
1103
1107
|
return this._introBeforeExitCallback = e, this;
|
|
1104
1108
|
}, t.prototype.addHints = function() {
|
|
@@ -1106,7 +1110,7 @@ var dt = function() {
|
|
|
1106
1110
|
return g(this, function(e) {
|
|
1107
1111
|
switch (e.label) {
|
|
1108
1112
|
case 0:
|
|
1109
|
-
return [4,
|
|
1113
|
+
return [4, Pt(this, this._targetElement)];
|
|
1110
1114
|
case 1:
|
|
1111
1115
|
return e.sent(), [2, this];
|
|
1112
1116
|
}
|
|
@@ -1117,7 +1121,7 @@ var dt = function() {
|
|
|
1117
1121
|
return g(this, function(n) {
|
|
1118
1122
|
switch (n.label) {
|
|
1119
1123
|
case 0:
|
|
1120
|
-
return [4,
|
|
1124
|
+
return [4, wt(this, e)];
|
|
1121
1125
|
case 1:
|
|
1122
1126
|
return n.sent(), [2, this];
|
|
1123
1127
|
}
|
|
@@ -1128,20 +1132,20 @@ var dt = function() {
|
|
|
1128
1132
|
return g(this, function(e) {
|
|
1129
1133
|
switch (e.label) {
|
|
1130
1134
|
case 0:
|
|
1131
|
-
return [4,
|
|
1135
|
+
return [4, Ce(this)];
|
|
1132
1136
|
case 1:
|
|
1133
1137
|
return e.sent(), [2, this];
|
|
1134
1138
|
}
|
|
1135
1139
|
});
|
|
1136
1140
|
});
|
|
1137
1141
|
}, t.prototype.showHint = function(e) {
|
|
1138
|
-
return
|
|
1142
|
+
return Lt(e), this;
|
|
1139
1143
|
}, t.prototype.showHints = function() {
|
|
1140
1144
|
return f(this, void 0, void 0, function() {
|
|
1141
1145
|
return g(this, function(e) {
|
|
1142
1146
|
switch (e.label) {
|
|
1143
1147
|
case 0:
|
|
1144
|
-
return [4,
|
|
1148
|
+
return [4, Se(this)];
|
|
1145
1149
|
case 1:
|
|
1146
1150
|
return e.sent(), [2, this];
|
|
1147
1151
|
}
|
|
@@ -1153,7 +1157,7 @@ var dt = function() {
|
|
|
1153
1157
|
var i = o[n].getAttribute("data-step");
|
|
1154
1158
|
i && kt(parseInt(i, 10));
|
|
1155
1159
|
}
|
|
1156
|
-
|
|
1160
|
+
M.off(document, "click", lt, e, !1), M.off(window, "resize", ct, e, !0), e._hintsAutoRefreshFunction && M.off(window, "scroll", e._hintsAutoRefreshFunction, e, !0);
|
|
1157
1161
|
}(this), this;
|
|
1158
1162
|
}, t.prototype.removeHint = function(e) {
|
|
1159
1163
|
return kt(e), this;
|
|
@@ -1162,30 +1166,30 @@ var dt = function() {
|
|
|
1162
1166
|
return g(this, function(n) {
|
|
1163
1167
|
switch (n.label) {
|
|
1164
1168
|
case 0:
|
|
1165
|
-
return [4,
|
|
1169
|
+
return [4, Rt(this, e)];
|
|
1166
1170
|
case 1:
|
|
1167
1171
|
return n.sent(), [2, this];
|
|
1168
1172
|
}
|
|
1169
1173
|
});
|
|
1170
1174
|
});
|
|
1171
1175
|
}, t;
|
|
1172
|
-
}(),
|
|
1176
|
+
}(), ft = function t(e) {
|
|
1173
1177
|
var n;
|
|
1174
1178
|
if (it(e) === "object")
|
|
1175
|
-
n = new
|
|
1179
|
+
n = new ht(e);
|
|
1176
1180
|
else if (typeof e == "string") {
|
|
1177
1181
|
var o = document.querySelector(e);
|
|
1178
1182
|
if (!o)
|
|
1179
1183
|
throw new Error("There is no element with given selector.");
|
|
1180
|
-
n = new
|
|
1184
|
+
n = new ht(o);
|
|
1181
1185
|
} else
|
|
1182
|
-
n = new
|
|
1183
|
-
return t.instances[
|
|
1186
|
+
n = new ht(document.body);
|
|
1187
|
+
return t.instances[mt(n, "introjs-instance")] = n, n;
|
|
1184
1188
|
};
|
|
1185
|
-
|
|
1186
|
-
const
|
|
1187
|
-
const { prefixVar: t } =
|
|
1188
|
-
let u =
|
|
1189
|
+
ft.version = "7.2.0", ft.instances = {};
|
|
1190
|
+
const je = () => {
|
|
1191
|
+
const { prefixVar: t } = ge(""), 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 = () => {
|
|
1192
|
+
let u = ft();
|
|
1189
1193
|
u.setOptions({
|
|
1190
1194
|
nextLabel: "下一步",
|
|
1191
1195
|
prevLabel: "上一步",
|
|
@@ -1243,7 +1247,7 @@ const Se = () => {
|
|
|
1243
1247
|
]
|
|
1244
1248
|
}), u.start();
|
|
1245
1249
|
};
|
|
1246
|
-
return
|
|
1250
|
+
return Yt(() => {
|
|
1247
1251
|
localStorage.getItem(p) || setTimeout(() => {
|
|
1248
1252
|
l(), localStorage.setItem(p, "1");
|
|
1249
1253
|
}, 2e3);
|
|
@@ -1257,21 +1261,22 @@ const Se = () => {
|
|
|
1257
1261
|
codeGeneratorBtn: c,
|
|
1258
1262
|
aiCreateTable: e
|
|
1259
1263
|
};
|
|
1260
|
-
},
|
|
1264
|
+
}, Ee = Kt({
|
|
1261
1265
|
name: "CgformIndex",
|
|
1262
1266
|
components: {
|
|
1263
|
-
BasicTable:
|
|
1264
|
-
TableAction:
|
|
1265
|
-
CgformModal:
|
|
1266
|
-
DbToOnlineModal:
|
|
1267
|
-
CodeGeneratorModal:
|
|
1268
|
-
CustomButtonList:
|
|
1269
|
-
EnhanceJsModal:
|
|
1270
|
-
EnhanceJavaModal:
|
|
1271
|
-
EnhanceSqlModal:
|
|
1272
|
-
AuthManagerDrawer:
|
|
1273
|
-
AuthSetterModal:
|
|
1274
|
-
AiModal:
|
|
1267
|
+
BasicTable: Zt,
|
|
1268
|
+
TableAction: te,
|
|
1269
|
+
CgformModal: ee,
|
|
1270
|
+
DbToOnlineModal: ne,
|
|
1271
|
+
CodeGeneratorModal: oe,
|
|
1272
|
+
CustomButtonList: ie,
|
|
1273
|
+
EnhanceJsModal: re,
|
|
1274
|
+
EnhanceJavaModal: se,
|
|
1275
|
+
EnhanceSqlModal: ae,
|
|
1276
|
+
AuthManagerDrawer: le,
|
|
1277
|
+
AuthSetterModal: ce,
|
|
1278
|
+
AiModal: ue,
|
|
1279
|
+
CgformAddressModal: pe
|
|
1275
1280
|
},
|
|
1276
1281
|
setup() {
|
|
1277
1282
|
const {
|
|
@@ -1289,36 +1294,38 @@ const Se = () => {
|
|
|
1289
1294
|
onShowEnhanceJava: u,
|
|
1290
1295
|
getTableAction: m,
|
|
1291
1296
|
getDropDownAction: b,
|
|
1292
|
-
registerAuthManagerDrawer:
|
|
1297
|
+
registerAuthManagerDrawer: y,
|
|
1293
1298
|
registerAuthSetterModal: C,
|
|
1294
|
-
registerCustomButtonModal:
|
|
1299
|
+
registerCustomButtonModal: _,
|
|
1295
1300
|
registerEnhanceJsModal: E,
|
|
1296
|
-
registerEnhanceSqlModal:
|
|
1297
|
-
registerEnhanceJavaModal:
|
|
1298
|
-
registerCgformModal:
|
|
1299
|
-
registerDbToOnlineModal:
|
|
1301
|
+
registerEnhanceSqlModal: N,
|
|
1302
|
+
registerEnhanceJavaModal: L,
|
|
1303
|
+
registerCgformModal: x,
|
|
1304
|
+
registerDbToOnlineModal: P,
|
|
1300
1305
|
registerCodeGeneratorModal: V,
|
|
1301
|
-
registerAiToOnlineModal:
|
|
1302
|
-
|
|
1303
|
-
|
|
1306
|
+
registerAiToOnlineModal: z,
|
|
1307
|
+
registerAddressModal: T,
|
|
1308
|
+
tableRef: W
|
|
1309
|
+
} = de({
|
|
1310
|
+
pageType: he.normal,
|
|
1304
1311
|
designScope: "online-cgform-list",
|
|
1305
|
-
columns:
|
|
1306
|
-
formSchemas:
|
|
1307
|
-
}), { prefixCls:
|
|
1308
|
-
newAddBtn:
|
|
1309
|
-
customBtn:
|
|
1310
|
-
enhanceJsBtn:
|
|
1311
|
-
enhanceSqlBtn:
|
|
1312
|
-
exportDbBtn:
|
|
1313
|
-
enhanceJavaBtn:
|
|
1314
|
-
codeGeneratorBtn:
|
|
1315
|
-
aiCreateTable:
|
|
1316
|
-
} =
|
|
1312
|
+
columns: me,
|
|
1313
|
+
formSchemas: fe
|
|
1314
|
+
}), { prefixCls: X, tableContext: J } = t, [d, { reload: A }, { rowSelection: k, selectedRowKeys: $ }] = J, {
|
|
1315
|
+
newAddBtn: Z,
|
|
1316
|
+
customBtn: Jt,
|
|
1317
|
+
enhanceJsBtn: $t,
|
|
1318
|
+
enhanceSqlBtn: Ft,
|
|
1319
|
+
exportDbBtn: Gt,
|
|
1320
|
+
enhanceJavaBtn: Vt,
|
|
1321
|
+
codeGeneratorBtn: zt,
|
|
1322
|
+
aiCreateTable: Wt
|
|
1323
|
+
} = je();
|
|
1317
1324
|
return {
|
|
1318
|
-
prefixCls:
|
|
1319
|
-
reload:
|
|
1320
|
-
rowSelection:
|
|
1321
|
-
selectedRowKeys:
|
|
1325
|
+
prefixCls: X,
|
|
1326
|
+
reload: A,
|
|
1327
|
+
rowSelection: k,
|
|
1328
|
+
selectedRowKeys: $,
|
|
1322
1329
|
onAdd: e,
|
|
1323
1330
|
onAiCreateTable: n,
|
|
1324
1331
|
onSuccess: o,
|
|
@@ -1332,144 +1339,147 @@ const Se = () => {
|
|
|
1332
1339
|
onCreateAiTable: i,
|
|
1333
1340
|
getTableAction: m,
|
|
1334
1341
|
getDropDownAction: b,
|
|
1335
|
-
registerAuthManagerDrawer:
|
|
1342
|
+
registerAuthManagerDrawer: y,
|
|
1336
1343
|
registerAuthSetterModal: C,
|
|
1337
|
-
registerCustomButtonModal:
|
|
1344
|
+
registerCustomButtonModal: _,
|
|
1338
1345
|
registerEnhanceJsModal: E,
|
|
1339
|
-
registerEnhanceSqlModal:
|
|
1340
|
-
registerEnhanceJavaModal:
|
|
1341
|
-
registerTable:
|
|
1342
|
-
registerCgformModal:
|
|
1343
|
-
registerDbToOnlineModal:
|
|
1346
|
+
registerEnhanceSqlModal: N,
|
|
1347
|
+
registerEnhanceJavaModal: L,
|
|
1348
|
+
registerTable: d,
|
|
1349
|
+
registerCgformModal: x,
|
|
1350
|
+
registerDbToOnlineModal: P,
|
|
1344
1351
|
registerCodeGeneratorModal: V,
|
|
1345
|
-
registerAiToOnlineModal:
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1352
|
+
registerAiToOnlineModal: z,
|
|
1353
|
+
registerAddressModal: T,
|
|
1354
|
+
newAddBtn: Z,
|
|
1355
|
+
customBtn: Jt,
|
|
1356
|
+
enhanceJsBtn: $t,
|
|
1357
|
+
enhanceSqlBtn: Ft,
|
|
1358
|
+
enhanceJavaBtn: Vt,
|
|
1359
|
+
exportDbBtn: Gt,
|
|
1360
|
+
codeGeneratorBtn: zt,
|
|
1361
|
+
aiCreateTable: Wt,
|
|
1362
|
+
tableRef: W
|
|
1354
1363
|
};
|
|
1355
1364
|
}
|
|
1356
|
-
}),
|
|
1365
|
+
}), Te = {
|
|
1357
1366
|
key: 0,
|
|
1358
1367
|
style: { color: "limegreen" }
|
|
1359
|
-
},
|
|
1368
|
+
}, Ne = {
|
|
1360
1369
|
key: 1,
|
|
1361
1370
|
style: { color: "red" }
|
|
1362
1371
|
};
|
|
1363
|
-
function
|
|
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"),
|
|
1365
|
-
return tt(), ut(
|
|
1366
|
-
|
|
1372
|
+
function xe(t, e, n, o, i, r) {
|
|
1373
|
+
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"), y = S("DbToOnlineModal"), C = S("CodeGeneratorModal"), _ = S("CustomButtonList"), E = S("EnhanceJsModal"), N = S("EnhanceJavaModal"), L = S("EnhanceSqlModal"), x = S("AuthManagerDrawer"), P = S("AuthSetterModal"), V = S("AiModal"), z = S("CgformAddressModal");
|
|
1374
|
+
return tt(), ut(Xt, null, [
|
|
1375
|
+
pt("div", {
|
|
1367
1376
|
class: q(t.prefixCls)
|
|
1368
1377
|
}, [
|
|
1369
|
-
|
|
1378
|
+
v(m, Qt({
|
|
1379
|
+
ref: "tableRef",
|
|
1370
1380
|
onRegister: t.registerTable,
|
|
1371
1381
|
rowSelection: t.rowSelection
|
|
1372
1382
|
}, t.$attrs), {
|
|
1373
1383
|
tableTitle: j(() => [
|
|
1374
|
-
|
|
1384
|
+
v(s, {
|
|
1375
1385
|
class: q(t.newAddBtn),
|
|
1376
1386
|
onClick: t.onAdd,
|
|
1377
1387
|
type: "primary",
|
|
1378
1388
|
preIcon: "ant-design:plus"
|
|
1379
1389
|
}, {
|
|
1380
|
-
default: j(() => [
|
|
1390
|
+
default: j(() => e[0] || (e[0] = [
|
|
1381
1391
|
O("新增")
|
|
1382
|
-
]),
|
|
1392
|
+
])),
|
|
1383
1393
|
_: 1
|
|
1384
1394
|
}, 8, ["class", "onClick"]),
|
|
1385
|
-
|
|
1395
|
+
v(s, {
|
|
1386
1396
|
class: q(t.aiCreateTable),
|
|
1387
1397
|
onClick: t.onAiCreateTable,
|
|
1388
1398
|
type: "primary",
|
|
1389
1399
|
preIcon: "ant-design:plus"
|
|
1390
1400
|
}, {
|
|
1391
|
-
default: j(() => [
|
|
1401
|
+
default: j(() => e[1] || (e[1] = [
|
|
1392
1402
|
O("AI建表")
|
|
1393
|
-
]),
|
|
1403
|
+
])),
|
|
1394
1404
|
_: 1
|
|
1395
1405
|
}, 8, ["class", "onClick"]),
|
|
1396
|
-
|
|
1406
|
+
v(s, {
|
|
1397
1407
|
class: q(t.customBtn),
|
|
1398
1408
|
onClick: t.onShowCustomButton,
|
|
1399
1409
|
type: "primary",
|
|
1400
1410
|
preIcon: "ant-design:highlight"
|
|
1401
1411
|
}, {
|
|
1402
|
-
default: j(() => [
|
|
1412
|
+
default: j(() => e[2] || (e[2] = [
|
|
1403
1413
|
O("自定义按钮")
|
|
1404
|
-
]),
|
|
1414
|
+
])),
|
|
1405
1415
|
_: 1
|
|
1406
1416
|
}, 8, ["class", "onClick"]),
|
|
1407
|
-
|
|
1417
|
+
v(s, {
|
|
1408
1418
|
class: q(t.enhanceJsBtn),
|
|
1409
1419
|
onClick: t.onShowEnhanceJs,
|
|
1410
1420
|
type: "primary",
|
|
1411
1421
|
preIcon: "ant-design:strikethrough"
|
|
1412
1422
|
}, {
|
|
1413
|
-
default: j(() => [
|
|
1423
|
+
default: j(() => e[3] || (e[3] = [
|
|
1414
1424
|
O("JS增强")
|
|
1415
|
-
]),
|
|
1425
|
+
])),
|
|
1416
1426
|
_: 1
|
|
1417
1427
|
}, 8, ["class", "onClick"]),
|
|
1418
|
-
|
|
1428
|
+
v(s, {
|
|
1419
1429
|
class: q(t.enhanceSqlBtn),
|
|
1420
1430
|
onClick: t.onShowEnhanceSql,
|
|
1421
1431
|
type: "primary",
|
|
1422
1432
|
preIcon: "ant-design:filter"
|
|
1423
1433
|
}, {
|
|
1424
|
-
default: j(() => [
|
|
1434
|
+
default: j(() => e[4] || (e[4] = [
|
|
1425
1435
|
O(" SQL增强 ")
|
|
1426
|
-
]),
|
|
1436
|
+
])),
|
|
1427
1437
|
_: 1
|
|
1428
1438
|
}, 8, ["class", "onClick"]),
|
|
1429
|
-
|
|
1439
|
+
v(s, {
|
|
1430
1440
|
class: q(t.enhanceJavaBtn),
|
|
1431
1441
|
onClick: t.onShowEnhanceJava,
|
|
1432
1442
|
type: "primary",
|
|
1433
1443
|
preIcon: "ant-design:tool"
|
|
1434
1444
|
}, {
|
|
1435
|
-
default: j(() => [
|
|
1445
|
+
default: j(() => e[5] || (e[5] = [
|
|
1436
1446
|
O("JAVA增强")
|
|
1437
|
-
]),
|
|
1447
|
+
])),
|
|
1438
1448
|
_: 1
|
|
1439
1449
|
}, 8, ["class", "onClick"]),
|
|
1440
|
-
|
|
1450
|
+
v(s, {
|
|
1441
1451
|
class: q(t.exportDbBtn),
|
|
1442
1452
|
onClick: t.onImportDbTable,
|
|
1443
1453
|
type: "primary",
|
|
1444
1454
|
preIcon: "ant-design:database"
|
|
1445
1455
|
}, {
|
|
1446
|
-
default: j(() => [
|
|
1456
|
+
default: j(() => e[6] || (e[6] = [
|
|
1447
1457
|
O("导入数据库表")
|
|
1448
|
-
]),
|
|
1458
|
+
])),
|
|
1449
1459
|
_: 1
|
|
1450
1460
|
}, 8, ["class", "onClick"]),
|
|
1451
|
-
|
|
1461
|
+
v(s, {
|
|
1452
1462
|
class: q(t.codeGeneratorBtn),
|
|
1453
1463
|
onClick: t.onGenerateCode,
|
|
1454
1464
|
type: "primary",
|
|
1455
1465
|
preIcon: "bx:bx-code-alt"
|
|
1456
1466
|
}, {
|
|
1457
|
-
default: j(() => [
|
|
1467
|
+
default: j(() => e[7] || (e[7] = [
|
|
1458
1468
|
O(" 代码生成 ")
|
|
1459
|
-
]),
|
|
1469
|
+
])),
|
|
1460
1470
|
_: 1
|
|
1461
1471
|
}, 8, ["class", "onClick"]),
|
|
1462
|
-
t.selectedRowKeys.length > 0 ? (tt(),
|
|
1472
|
+
t.selectedRowKeys.length > 0 ? (tt(), Ut(l, { key: 0 }, {
|
|
1463
1473
|
overlay: j(() => [
|
|
1464
|
-
|
|
1474
|
+
v(p, null, {
|
|
1465
1475
|
default: j(() => [
|
|
1466
|
-
|
|
1476
|
+
v(c, {
|
|
1467
1477
|
key: "1",
|
|
1468
1478
|
onClick: t.onDeleteBatch
|
|
1469
1479
|
}, {
|
|
1470
1480
|
default: j(() => [
|
|
1471
|
-
|
|
1472
|
-
|
|
1481
|
+
v(a, { type: "delete" }),
|
|
1482
|
+
e[8] || (e[8] = pt("span", null, "删除", -1))
|
|
1473
1483
|
]),
|
|
1474
1484
|
_: 1
|
|
1475
1485
|
}, 8, ["onClick"])
|
|
@@ -1478,52 +1488,53 @@ function Ne(t, e, n, o, i, r) {
|
|
|
1478
1488
|
})
|
|
1479
1489
|
]),
|
|
1480
1490
|
default: j(() => [
|
|
1481
|
-
|
|
1491
|
+
v(s, null, {
|
|
1482
1492
|
default: j(() => [
|
|
1483
|
-
|
|
1484
|
-
|
|
1493
|
+
e[9] || (e[9] = pt("span", null, "批量操作", -1)),
|
|
1494
|
+
v(a, { type: "down" })
|
|
1485
1495
|
]),
|
|
1486
1496
|
_: 1
|
|
1487
1497
|
})
|
|
1488
1498
|
]),
|
|
1489
1499
|
_: 1
|
|
1490
|
-
})) :
|
|
1500
|
+
})) : dt("", !0)
|
|
1491
1501
|
]),
|
|
1492
|
-
dbSync: j(({ text:
|
|
1493
|
-
|
|
1494
|
-
|
|
1502
|
+
dbSync: j(({ text: T }) => [
|
|
1503
|
+
T === "Y" ? (tt(), ut("span", Te, "已同步")) : dt("", !0),
|
|
1504
|
+
T === "N" ? (tt(), ut("span", Ne, "未同步")) : dt("", !0)
|
|
1495
1505
|
]),
|
|
1496
|
-
action: j(({ record:
|
|
1497
|
-
|
|
1498
|
-
actions: t.getTableAction(
|
|
1499
|
-
dropDownActions: t.getDropDownAction(
|
|
1506
|
+
action: j(({ record: T }) => [
|
|
1507
|
+
v(u, {
|
|
1508
|
+
actions: t.getTableAction(T),
|
|
1509
|
+
dropDownActions: t.getDropDownAction(T)
|
|
1500
1510
|
}, null, 8, ["actions", "dropDownActions"])
|
|
1501
1511
|
]),
|
|
1502
1512
|
_: 1
|
|
1503
1513
|
}, 16, ["onRegister", "rowSelection"])
|
|
1504
1514
|
], 2),
|
|
1505
|
-
|
|
1515
|
+
v(b, {
|
|
1506
1516
|
onRegister: t.registerCgformModal,
|
|
1507
1517
|
onSuccess: t.onSuccess
|
|
1508
1518
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1509
|
-
y
|
|
1519
|
+
v(y, {
|
|
1510
1520
|
onRegister: t.registerDbToOnlineModal,
|
|
1511
1521
|
onSuccess: t.onSuccess
|
|
1512
1522
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1523
|
+
v(C, { onRegister: t.registerCodeGeneratorModal }, null, 8, ["onRegister"]),
|
|
1524
|
+
v(_, { onRegister: t.registerCustomButtonModal }, null, 8, ["onRegister"]),
|
|
1525
|
+
v(E, { onRegister: t.registerEnhanceJsModal }, null, 8, ["onRegister"]),
|
|
1526
|
+
v(N, { onRegister: t.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
|
|
1527
|
+
v(L, { onRegister: t.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
|
|
1528
|
+
v(x, { onRegister: t.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
|
|
1529
|
+
v(P, { onRegister: t.registerAuthSetterModal }, null, 8, ["onRegister"]),
|
|
1530
|
+
v(V, {
|
|
1521
1531
|
onRegister: t.registerAiToOnlineModal,
|
|
1522
1532
|
onSuccess: t.onCreateAiTable
|
|
1523
|
-
}, null, 8, ["onRegister", "onSuccess"])
|
|
1533
|
+
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1534
|
+
v(z, { onRegister: t.registerAddressModal }, null, 8, ["onRegister"])
|
|
1524
1535
|
], 64);
|
|
1525
1536
|
}
|
|
1526
|
-
const
|
|
1537
|
+
const jo = /* @__PURE__ */ be(Ee, [["render", xe]]);
|
|
1527
1538
|
export {
|
|
1528
|
-
|
|
1539
|
+
jo as default
|
|
1529
1540
|
};
|