@jeecg/online 3.9.0-beta → 3.9.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/{AccountLoginForm-cbc75a49.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
- package/{AiModal-5bec5218.mjs → AiModal-BgVzn074.mjs} +18 -20
- package/{AppForgetPassword-dbc8377e.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
- package/AppLogin-BMBmx2oq.mjs +272 -0
- package/AppLoginHeader-BtKXOMRR.mjs +23 -0
- package/{AppNameEmail-7c6a1406.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
- package/{AppRegister-29a00a9d.mjs → AppRegister-C5iH-245.mjs} +33 -37
- package/{AppTenant-92890383.mjs → AppTenant-etPXeUcW.mjs} +49 -55
- package/AppThirdForm-NMob-JaS.mjs +185 -0
- package/AuthButtonConfig-zUioaGwn.mjs +155 -0
- package/AuthButtonTree-DYZwphe6.mjs +159 -0
- package/{AuthDataConfig-c978c469.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
- package/AuthDataTree-Cr28_YKx.mjs +134 -0
- package/{AuthFieldConfig-558283bc.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
- package/{AuthFieldTree-106db4e2.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
- package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
- package/{AuthSetterModal-90a76886.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
- package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
- package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
- package/{CgformAddressModal-690b8940.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
- package/CgformCopyList-7e96RMbJ.mjs +176 -0
- package/{CgformModal-b04a492a.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
- package/{CgreportAigcModal-8fdcbd31.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
- package/{CgreportModal-da62724c.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
- package/{CheckDictTable-7320189b.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
- package/{CodeFileListModal-e5ec210d.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
- package/{CodeFileViewModal-09053f3a.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
- package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
- package/{CustomButtonList-704e6d1c.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
- package/{DBAttributeTable-4a65c897.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
- package/{DbToOnlineModal-cc398c70.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
- package/DetailForm-CnfJBMys.mjs +472 -0
- package/{DropMenuItem-884f9464.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
- package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
- package/{EnhanceJsHistory-95ca545c.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
- package/{EnhanceJsModal-742b0ee2.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
- package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
- package/ErrorTip-BDS1uxkW.mjs +4 -0
- package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
- package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
- package/{FieldExtendJsonModal-fe7f7902.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
- package/{FileSelectModal-cf41604b.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
- package/{ForeignKeyTable-4a59ded1.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
- package/{IndexTable-87d67830.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
- package/JModalTip-DHrn6ksJ.mjs +46 -0
- package/{JOnlineSearchSelect-d8c57973.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
- package/{LeftDepart-463bf432.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
- package/{LeftRole-1631d3d4.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
- package/{LeftUser-5774a5db.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
- package/{LinkTableConfigModal-1bab1423.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
- package/{LinkTableFieldConfigModal-49470140.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
- package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
- package/{ModalFormDemo-dbd0aa28.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
- package/{OnlCgformErpList-35ad1d6e.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -200
- package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
- package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
- package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
- package/OnlCgformTabList-DCy3oudh.mjs +371 -0
- package/OnlineAutoList-C4pkORGb.mjs +500 -0
- package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
- package/{OnlineAutoTreeList-5153f09d.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -182
- package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
- package/OnlineDetailModal-So0YEah1.mjs +160 -0
- package/{OnlineForm-20604e4f.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -74
- package/OnlineFormDetail-KaD6cV31.mjs +321 -0
- package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
- package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
- package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
- package/{OnlineFormUrlSuccess-302ecb21.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
- package/{OnlineQueryForm-5eeceb51.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -168
- package/{OnlineSearchFormItem-5536a1a6.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
- package/{OnlineSelectCascade-180e8c9a.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
- package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
- package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
- package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
- package/{OnlineTabForm-827e7089.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -254
- package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
- package/{PageAttributeTable-5703e2f1.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
- package/{PhoneLoginForm-15dc68ed.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
- package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
- package/{QueryTable-26c9ee22.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
- package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
- package/ShareAddView-CxZuNTQB.mjs +11 -0
- package/ShareEditView-Dqdzjmpc.mjs +17 -0
- package/ShareView-B9TiMmkR.mjs +4 -0
- package/{ShareView.vue_vue_type_script_setup_true_lang-d1597c0d.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
- package/SingleView-BDXeMLV-.mjs +4 -0
- package/{SingleView.vue_vue_type_style_index_0_lang-914483d0.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
- package/{SuperQuery-c95f86ee.mjs → SuperQuery-CgkajEWI.mjs} +342 -371
- package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
- package/TaskOpinionList-C8rcU6ee.mjs +10 -0
- package/{aiModal-b44fa135.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
- package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
- package/index-0kQBIHx0.mjs +58 -0
- package/{index-02f6dc7d.mjs → index-B1H394jP.mjs} +35 -38
- package/index-CXD6__bJ.mjs +195 -0
- package/{index-abbfd327.mjs → index-DIjQbz6A.mjs} +37 -41
- package/{index-30da2fc0.mjs → index-Dbr1qL3H.mjs} +474 -609
- package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
- package/{index-391aec04.mjs → index-pGbTziKP.mjs} +32 -44
- package/{index-22a99f2e.mjs → index-siZ6JDIW.mjs} +17 -20
- package/main.index.js +8 -9
- package/online.css +1 -0
- package/package.json +1 -1
- package/{useCgformList-aaa30c8c.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
- package/useExtendComponent-P9wrWQwT.mjs +4479 -0
- package/{useListButton-308458cd.mjs → useListButton-DyOAscwT.mjs} +7 -9
- package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
- package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
- package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
- package/AppLogin-786949d3.mjs +0 -287
- package/AppLoginHeader-37034b2f.mjs +0 -27
- package/AppThirdForm-760064e5.mjs +0 -189
- package/AuthButtonConfig-78180aec.mjs +0 -160
- package/AuthButtonTree-62c8e70c.mjs +0 -165
- package/AuthDataTree-0647a06c.mjs +0 -139
- package/AuthManagerDrawer-ec5190d2.mjs +0 -119
- package/BuiltInButtonList-bb6cf95c.mjs +0 -10
- package/CgformCopyList-af9c99a4.mjs +0 -260
- package/CodeGeneratorModal-aba790e3.mjs +0 -298
- package/DetailForm-a2bf8c33.mjs +0 -498
- package/EnhanceJavaModal-fe8d475d.mjs +0 -264
- package/EnhanceSqlModal-6e36bc4f.mjs +0 -268
- package/ErrorTip-bb616e32.mjs +0 -7
- package/ExtendConfigModal-74d657c7.mjs +0 -117
- package/JModalTip-5401f43d.mjs +0 -49
- package/LinkTableListPiece-47f4286c.mjs +0 -34
- package/OnlCgformErpSubTable-5093d438.mjs +0 -444
- package/OnlCgformInnerSubTable-f1dc90db.mjs +0 -270
- package/OnlCgformInnerTableList-1b82a7da.mjs +0 -482
- package/OnlCgformTabList-d66d1261.mjs +0 -432
- package/OnlineAutoList-fbba2a52.mjs +0 -559
- package/OnlineAutoModal-68909692.mjs +0 -261
- package/OnlineCustomModal-b5f8c799.mjs +0 -247
- package/OnlineDetailModal-ac078a9a.mjs +0 -199
- package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
- package/OnlineFormDetail-719118b6.mjs +0 -350
- package/OnlineFormUrlAdd-5b675f48.mjs +0 -117
- package/OnlineFormUrlDetail-91156bf2.mjs +0 -122
- package/OnlineFormUrlEdit-fb810de6.mjs +0 -115
- package/OnlineSubFormDetail-4d64e7be.mjs +0 -148
- package/OnlineTabAutoModal-c127ed50.mjs +0 -320
- package/OnlineTabDetailModal-e4e9f7e3.mjs +0 -227
- package/OnlineTabFormDetail-0f96377e.mjs +0 -329
- package/ProcessOnlineForm-1fcbe0af.mjs +0 -219
- package/SetSwitchOptions-a3428177.mjs +0 -62
- package/ShareAddView-0512e884.mjs +0 -89
- package/ShareEditView-b89dfbd3.mjs +0 -95
- package/ShareView-faf1a0ab.mjs +0 -83
- package/SingleView-21d3a558.mjs +0 -71
- package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
- package/TaskOpinionList-73ecb3c8.mjs +0 -101
- package/dayjs.min-eea532a3.mjs +0 -301
- package/index-26940246.mjs +0 -219
- package/index-94b6319e.mjs +0 -57
- package/style.css +0 -1
- package/useExtendComponent-ad499dff.mjs +0 -4164
- /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
- /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
- /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
- /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
- /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
- /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
- /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
- /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
- /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
- /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
- /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
- /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
- /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
- /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
|
@@ -1,106 +1,22 @@
|
|
|
1
|
-
import { ref as D, onMounted as Kt, defineComponent as Xt, resolveComponent as S,
|
|
2
|
-
import {
|
|
3
|
-
import { C as ne } from "./CgformModal-
|
|
4
|
-
import oe from "./DbToOnlineModal-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import se from "./EnhanceJsModal-
|
|
8
|
-
import ae from "./EnhanceJavaModal-
|
|
9
|
-
import le from "./EnhanceSqlModal-
|
|
10
|
-
import ce from "./AuthManagerDrawer-
|
|
11
|
-
import ue from "./AuthSetterModal-
|
|
12
|
-
import pe from "./AiModal-
|
|
13
|
-
import de from "./CgformAddressModal-
|
|
14
|
-
import { u as he, C as
|
|
15
|
-
import {
|
|
1
|
+
import { ref as D, onMounted as Kt, defineComponent as Xt, resolveComponent as S, createElementBlock as ut, openBlock as tt, Fragment as Qt, createElementVNode as pt, createVNode as v, normalizeClass as q, mergeProps as Ut, withCtx as j, createCommentVNode as dt, createBlock as Zt, createTextVNode as O } from "vue";
|
|
2
|
+
import { TableAction as te, BasicTable as ee } from "/@/components/Table";
|
|
3
|
+
import { C as ne } from "./CgformModal-RH-Tr08S.mjs";
|
|
4
|
+
import oe from "./DbToOnlineModal-CDVqmEJH.mjs";
|
|
5
|
+
import re from "./CodeGeneratorModal-ZWEIXRbY.mjs";
|
|
6
|
+
import ie from "./CustomButtonList-7wjonhtu.mjs";
|
|
7
|
+
import se from "./EnhanceJsModal-Djb5ItH4.mjs";
|
|
8
|
+
import ae from "./EnhanceJavaModal-W8_oGY-U.mjs";
|
|
9
|
+
import le from "./EnhanceSqlModal-DxPdRcQc.mjs";
|
|
10
|
+
import ce from "./AuthManagerDrawer-DUb6QylS.mjs";
|
|
11
|
+
import ue from "./AuthSetterModal-BBFdNv1M.mjs";
|
|
12
|
+
import pe from "./AiModal-BgVzn074.mjs";
|
|
13
|
+
import de from "./CgformAddressModal-BVoww1fk.mjs";
|
|
14
|
+
import { u as he, C as fe } from "./useCgformList-_o9GP7ca.mjs";
|
|
15
|
+
import { s as me, c as ge } from "./cgform.data-CviSPXEg.mjs";
|
|
16
16
|
import { useDesign as be } from "/@/hooks/web/useDesign";
|
|
17
17
|
import { createLocalStorage as ve } from "/@/utils/cache";
|
|
18
18
|
import { useMessage as ye } from "/@/hooks/web/useMessage";
|
|
19
|
-
import { _ as we } from "./index-
|
|
20
|
-
import "/@/components/Icon";
|
|
21
|
-
import "/@/components/Modal";
|
|
22
|
-
import "/@/components/Form/index";
|
|
23
|
-
import "./useSchemas-b074f3a1.mjs";
|
|
24
|
-
import "ant-design-vue";
|
|
25
|
-
import "@ant-design/icons-vue";
|
|
26
|
-
import "/@/utils/common/compUtils";
|
|
27
|
-
import "/@/hooks/web/usePermission";
|
|
28
|
-
import "/@/utils/helper/validator";
|
|
29
|
-
import "./DBAttributeTable-4a65c897.mjs";
|
|
30
|
-
import "/@/components/jeecg/JVxeTable/types";
|
|
31
|
-
import "./useTableSync-dbfba20e.mjs";
|
|
32
|
-
import "lodash-es";
|
|
33
|
-
import "./aiModal-b44fa135.mjs";
|
|
34
|
-
import "/@/utils/http/axios";
|
|
35
|
-
import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
36
|
-
import "vue-router";
|
|
37
|
-
import "/@/utils/dict";
|
|
38
|
-
import "/@/utils/dict/JDictSelectUtil";
|
|
39
|
-
import "/@/utils/uuid";
|
|
40
|
-
import "./PageAttributeTable-5703e2f1.mjs";
|
|
41
|
-
import "./LinkTableConfigModal-1bab1423.mjs";
|
|
42
|
-
import "./LinkTableFieldConfigModal-49470140.mjs";
|
|
43
|
-
import "./FieldExtendJsonModal-fe7f7902.mjs";
|
|
44
|
-
import "./SetSwitchOptions-a3428177.mjs";
|
|
45
|
-
import "/@/utils/is";
|
|
46
|
-
import "./constant-fa63bd66.mjs";
|
|
47
|
-
import "./CheckDictTable-7320189b.mjs";
|
|
48
|
-
import "/@/components/jeecg/JPrompt";
|
|
49
|
-
import "./ForeignKeyTable-4a59ded1.mjs";
|
|
50
|
-
import "./IndexTable-87d67830.mjs";
|
|
51
|
-
import "./QueryTable-26c9ee22.mjs";
|
|
52
|
-
import "./ExtendConfigModal-74d657c7.mjs";
|
|
53
|
-
import "/@/components/Form";
|
|
54
|
-
import "./useOnlineTest-e4bd8be3.mjs";
|
|
55
|
-
import "/@/utils";
|
|
56
|
-
import "./useExtendComponent-ad499dff.mjs";
|
|
57
|
-
import "/@/components/Form/src/componentMap";
|
|
58
|
-
import "/@/utils/propTypes";
|
|
59
|
-
import "/@/components/Form/src/jeecg/components/JUpload";
|
|
60
|
-
import "/@/views/system/user/user.api";
|
|
61
|
-
import "./dayjs.min-eea532a3.mjs";
|
|
62
|
-
import "/@/store/modules/user";
|
|
63
|
-
import "/@/utils/desform/customExpression";
|
|
64
|
-
import "/@/store/modules/permission";
|
|
65
|
-
import "/@/hooks/system/useListPage";
|
|
66
|
-
import "/@/components/Form/src/utils/Area";
|
|
67
|
-
import "/@/components/Preview/index";
|
|
68
|
-
import "./LinkTableListPiece-47f4286c.mjs";
|
|
69
|
-
import "/@/utils/auth";
|
|
70
|
-
import "/@/api/common/api";
|
|
71
|
-
import "/@/hooks/web/useAppInject";
|
|
72
|
-
import "/@/assets/images/placeholderImage.png";
|
|
73
|
-
import "./OnlineSelectCascade-180e8c9a.mjs";
|
|
74
|
-
import "/@/components/Loading";
|
|
75
|
-
import "./JModalTip-5401f43d.mjs";
|
|
76
|
-
import "@vueuse/core";
|
|
77
|
-
import "./utils-9fce7606.mjs";
|
|
78
|
-
import "./CodeFileListModal-e5ec210d.mjs";
|
|
79
|
-
import "./CodeFileViewModal-09053f3a.mjs";
|
|
80
|
-
import "/@/utils/file/download";
|
|
81
|
-
import "./FileSelectModal-cf41604b.mjs";
|
|
82
|
-
import "./BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs";
|
|
83
|
-
import "./EnhanceJsHistory-95ca545c.mjs";
|
|
84
|
-
import "/@/utils/dateUtil";
|
|
85
|
-
import "/@/store";
|
|
86
|
-
import "pinia";
|
|
87
|
-
import "./enhance.api-138e6826.mjs";
|
|
88
|
-
import "./enhance.data-6601ff44.mjs";
|
|
89
|
-
import "/@/components/Drawer";
|
|
90
|
-
import "./AuthFieldConfig-558283bc.mjs";
|
|
91
|
-
import "./auth.api-53df4c33.mjs";
|
|
92
|
-
import "./auth.data-e44c7975.mjs";
|
|
93
|
-
import "/@/utils/index";
|
|
94
|
-
import "./AuthButtonConfig-78180aec.mjs";
|
|
95
|
-
import "./AuthDataConfig-c978c469.mjs";
|
|
96
|
-
import "./LeftRole-1631d3d4.mjs";
|
|
97
|
-
import "./LeftDepart-463bf432.mjs";
|
|
98
|
-
import "./LeftUser-5774a5db.mjs";
|
|
99
|
-
import "./AuthFieldTree-106db4e2.mjs";
|
|
100
|
-
import "./AuthButtonTree-62c8e70c.mjs";
|
|
101
|
-
import "./AuthDataTree-0647a06c.mjs";
|
|
102
|
-
import "/@/hooks/web/useCopyToClipboard";
|
|
103
|
-
import "./cgformState-d9f8ec42.mjs";
|
|
19
|
+
import { _ as we } from "./index-0kQBIHx0.mjs";
|
|
104
20
|
/*!
|
|
105
21
|
* Intro.js v7.2.0
|
|
106
22
|
* https://introjs.com
|
|
@@ -110,154 +26,146 @@ import "./cgformState-d9f8ec42.mjs";
|
|
|
110
26
|
*
|
|
111
27
|
* Date: Mon, 14 Aug 2023 19:47:14 GMT
|
|
112
28
|
*/
|
|
113
|
-
function
|
|
114
|
-
return
|
|
29
|
+
function rt(t) {
|
|
30
|
+
return rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
115
31
|
return typeof e;
|
|
116
32
|
} : function(e) {
|
|
117
33
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
118
|
-
},
|
|
34
|
+
}, rt(t);
|
|
119
35
|
}
|
|
120
|
-
function
|
|
121
|
-
return new (n || (n = Promise))(function(
|
|
36
|
+
function m(t, e, n, o) {
|
|
37
|
+
return new (n || (n = Promise))((function(r, i) {
|
|
122
38
|
function s(p) {
|
|
123
39
|
try {
|
|
124
40
|
c(o.next(p));
|
|
125
41
|
} catch (l) {
|
|
126
|
-
|
|
42
|
+
i(l);
|
|
127
43
|
}
|
|
128
44
|
}
|
|
129
45
|
function a(p) {
|
|
130
46
|
try {
|
|
131
47
|
c(o.throw(p));
|
|
132
48
|
} catch (l) {
|
|
133
|
-
|
|
49
|
+
i(l);
|
|
134
50
|
}
|
|
135
51
|
}
|
|
136
52
|
function c(p) {
|
|
137
53
|
var l;
|
|
138
|
-
p.done ?
|
|
54
|
+
p.done ? r(p.value) : (l = p.value, l instanceof n ? l : new n((function(u) {
|
|
139
55
|
u(l);
|
|
140
|
-
})).then(s, a);
|
|
56
|
+
}))).then(s, a);
|
|
141
57
|
}
|
|
142
|
-
c((o = o.apply(t,
|
|
143
|
-
});
|
|
58
|
+
c((o = o.apply(t, [])).next());
|
|
59
|
+
}));
|
|
144
60
|
}
|
|
145
61
|
function g(t, e) {
|
|
146
|
-
var n, o,
|
|
147
|
-
if (1 &
|
|
148
|
-
|
|
149
|
-
return i[1];
|
|
62
|
+
var n, o, r, i, s = { label: 0, sent: function() {
|
|
63
|
+
if (1 & r[0]) throw r[1];
|
|
64
|
+
return r[1];
|
|
150
65
|
}, trys: [], ops: [] };
|
|
151
|
-
return
|
|
66
|
+
return i = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (i[Symbol.iterator] = function() {
|
|
152
67
|
return this;
|
|
153
|
-
}),
|
|
68
|
+
}), i;
|
|
154
69
|
function a(c) {
|
|
155
70
|
return function(p) {
|
|
156
|
-
return function(l) {
|
|
157
|
-
if (n)
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
default:
|
|
177
|
-
if (i = s.trys, !((i = i.length > 0 && i[i.length - 1]) || l[0] !== 6 && l[0] !== 2)) {
|
|
178
|
-
s = 0;
|
|
179
|
-
continue;
|
|
180
|
-
}
|
|
181
|
-
if (l[0] === 3 && (!i || l[1] > i[0] && l[1] < i[3])) {
|
|
182
|
-
s.label = l[1];
|
|
183
|
-
break;
|
|
184
|
-
}
|
|
185
|
-
if (l[0] === 6 && s.label < i[1]) {
|
|
186
|
-
s.label = i[1], i = l;
|
|
187
|
-
break;
|
|
188
|
-
}
|
|
189
|
-
if (i && s.label < i[2]) {
|
|
190
|
-
s.label = i[2], s.ops.push(l);
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
i[2] && s.ops.pop(), s.trys.pop();
|
|
71
|
+
return (function(l) {
|
|
72
|
+
if (n) throw new TypeError("Generator is already executing.");
|
|
73
|
+
for (; i && (i = 0, l[0] && (s = 0)), s; ) try {
|
|
74
|
+
if (n = 1, o && (r = 2 & l[0] ? o.return : l[0] ? o.throw || ((r = o.return) && r.call(o), 0) : o.next) && !(r = r.call(o, l[1])).done) return r;
|
|
75
|
+
switch (o = 0, r && (l = [2 & l[0], r.value]), l[0]) {
|
|
76
|
+
case 0:
|
|
77
|
+
case 1:
|
|
78
|
+
r = l;
|
|
79
|
+
break;
|
|
80
|
+
case 4:
|
|
81
|
+
return s.label++, { value: l[1], done: !1 };
|
|
82
|
+
case 5:
|
|
83
|
+
s.label++, o = l[1], l = [0];
|
|
84
|
+
continue;
|
|
85
|
+
case 7:
|
|
86
|
+
l = s.ops.pop(), s.trys.pop();
|
|
87
|
+
continue;
|
|
88
|
+
default:
|
|
89
|
+
if (r = s.trys, !((r = r.length > 0 && r[r.length - 1]) || l[0] !== 6 && l[0] !== 2)) {
|
|
90
|
+
s = 0;
|
|
194
91
|
continue;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
92
|
+
}
|
|
93
|
+
if (l[0] === 3 && (!r || l[1] > r[0] && l[1] < r[3])) {
|
|
94
|
+
s.label = l[1];
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
if (l[0] === 6 && s.label < r[1]) {
|
|
98
|
+
s.label = r[1], r = l;
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
if (r && s.label < r[2]) {
|
|
102
|
+
s.label = r[2], s.ops.push(l);
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
r[2] && s.ops.pop(), s.trys.pop();
|
|
106
|
+
continue;
|
|
201
107
|
}
|
|
202
|
-
|
|
203
|
-
|
|
108
|
+
l = e.call(t, s);
|
|
109
|
+
} catch (u) {
|
|
110
|
+
l = [6, u], o = 0;
|
|
111
|
+
} finally {
|
|
112
|
+
n = r = 0;
|
|
113
|
+
}
|
|
114
|
+
if (5 & l[0]) throw l[1];
|
|
204
115
|
return { value: l[0] ? l[1] : void 0, done: !0 };
|
|
205
|
-
}([c, p]);
|
|
116
|
+
})([c, p]);
|
|
206
117
|
};
|
|
207
118
|
}
|
|
208
119
|
}
|
|
209
120
|
function _t(t, e, n) {
|
|
210
|
-
var o,
|
|
121
|
+
var o, r = ((o = {})[t] = e, o.path = "/", o.expires = void 0, o);
|
|
211
122
|
if (n) {
|
|
212
|
-
var
|
|
213
|
-
|
|
123
|
+
var i = /* @__PURE__ */ new Date();
|
|
124
|
+
i.setTime(i.getTime() + 24 * n * 60 * 60 * 1e3), r.expires = i.toUTCString();
|
|
214
125
|
}
|
|
215
126
|
var s = [];
|
|
216
|
-
for (var a in
|
|
217
|
-
s.push("".concat(a, "=").concat(i[a]));
|
|
127
|
+
for (var a in r) s.push("".concat(a, "=").concat(r[a]));
|
|
218
128
|
return document.cookie = s.join("; "), Et(t);
|
|
219
129
|
}
|
|
220
130
|
function Et(t) {
|
|
221
|
-
return (e = {}, document.cookie.split(";").forEach(function(n) {
|
|
222
|
-
var o = n.split("="),
|
|
223
|
-
e[
|
|
224
|
-
}), e)[t];
|
|
131
|
+
return (e = {}, document.cookie.split(";").forEach((function(n) {
|
|
132
|
+
var o = n.split("="), r = o[0], i = o[1];
|
|
133
|
+
e[r.trim()] = i;
|
|
134
|
+
})), e)[t];
|
|
225
135
|
var e;
|
|
226
136
|
}
|
|
227
137
|
function _e(t, e) {
|
|
228
138
|
e ? _t(t._options.dontShowAgainCookie, "true", t._options.dontShowAgainCookieDays) : _t(t._options.dontShowAgainCookie, "", -1);
|
|
229
139
|
}
|
|
230
|
-
var et,
|
|
140
|
+
var et, ft = (et = {}, function(t, e) {
|
|
231
141
|
return e === void 0 && (e = "introjs-stamp"), et[e] = et[e] || 0, t[e] === void 0 && (t[e] = et[e]++), t[e];
|
|
232
|
-
}), M = new (function() {
|
|
142
|
+
}), M = new ((function() {
|
|
233
143
|
function t() {
|
|
234
144
|
this.events_key = "introjs_event";
|
|
235
145
|
}
|
|
236
146
|
return t.prototype._id = function(e, n, o) {
|
|
237
|
-
return e +
|
|
238
|
-
}, t.prototype.on = function(e, n, o,
|
|
239
|
-
var s = this._id(n, o,
|
|
240
|
-
return o(
|
|
147
|
+
return e + ft(n) + (o ? "_".concat(ft(o)) : "");
|
|
148
|
+
}, t.prototype.on = function(e, n, o, r, i) {
|
|
149
|
+
var s = this._id(n, o, r), a = function(c) {
|
|
150
|
+
return o(r || e, c || window.event);
|
|
241
151
|
};
|
|
242
|
-
"addEventListener" in e ? e.addEventListener(n, a,
|
|
243
|
-
}, t.prototype.off = function(e, n, o,
|
|
244
|
-
var s = this._id(n, o,
|
|
245
|
-
a && ("removeEventListener" in e ? e.removeEventListener(n, a,
|
|
152
|
+
"addEventListener" in e ? e.addEventListener(n, a, i) : "attachEvent" in e && e.attachEvent("on".concat(n), a), e[this.events_key] = e[this.events_key] || {}, e[this.events_key][s] = a;
|
|
153
|
+
}, t.prototype.off = function(e, n, o, r, i) {
|
|
154
|
+
var s = this._id(n, o, r), a = e[this.events_key] && e[this.events_key][s];
|
|
155
|
+
a && ("removeEventListener" in e ? e.removeEventListener(n, a, i) : "detachEvent" in e && e.detachEvent("on".concat(n), a), e[this.events_key][s] = null);
|
|
246
156
|
}, t;
|
|
247
|
-
}())(), w = function(t) {
|
|
157
|
+
})())(), w = function(t) {
|
|
248
158
|
return typeof t == "function";
|
|
249
159
|
};
|
|
250
160
|
function I(t, e) {
|
|
251
161
|
if (t instanceof SVGElement) {
|
|
252
162
|
var n = t.getAttribute("class") || "";
|
|
253
163
|
n.match(e) || t.setAttribute("class", "".concat(n, " ").concat(e));
|
|
254
|
-
} else if (t.classList !== void 0)
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
else
|
|
260
|
-
t.className.match(e) || (t.className += " ".concat(e));
|
|
164
|
+
} else if (t.classList !== void 0) for (var o = 0, r = e.split(" "); o < r.length; o++) {
|
|
165
|
+
var i = r[o];
|
|
166
|
+
t.classList.add(i);
|
|
167
|
+
}
|
|
168
|
+
else t.className.match(e) || (t.className += " ".concat(e));
|
|
261
169
|
}
|
|
262
170
|
function gt(t, e) {
|
|
263
171
|
var n = "";
|
|
@@ -265,32 +173,28 @@ function gt(t, e) {
|
|
|
265
173
|
}
|
|
266
174
|
function Ct(t, e) {
|
|
267
175
|
if (t) {
|
|
268
|
-
var n = function(o) {
|
|
269
|
-
var
|
|
270
|
-
if (
|
|
271
|
-
|
|
272
|
-
for (var a = o; a = a.parentElement; )
|
|
273
|
-
if (i = window.getComputedStyle(a), (!r || i.position !== "static") && s.test(i.overflow + i.overflowY + i.overflowX))
|
|
274
|
-
return a;
|
|
176
|
+
var n = (function(o) {
|
|
177
|
+
var r = window.getComputedStyle(o), i = r.position === "absolute", s = /(auto|scroll)/;
|
|
178
|
+
if (r.position === "fixed") return document.body;
|
|
179
|
+
for (var a = o; a = a.parentElement; ) if (r = window.getComputedStyle(a), (!i || r.position !== "static") && s.test(r.overflow + r.overflowY + r.overflowX)) return a;
|
|
275
180
|
return document.body;
|
|
276
|
-
}(e);
|
|
181
|
+
})(e);
|
|
277
182
|
n !== document.body && (n.scrollTop = e.offsetTop - n.offsetTop);
|
|
278
183
|
}
|
|
279
184
|
}
|
|
280
185
|
function bt() {
|
|
281
|
-
if (window.innerWidth !== void 0)
|
|
282
|
-
return { width: window.innerWidth, height: window.innerHeight };
|
|
186
|
+
if (window.innerWidth !== void 0) return { width: window.innerWidth, height: window.innerHeight };
|
|
283
187
|
var t = document.documentElement;
|
|
284
188
|
return { width: t.clientWidth, height: t.clientHeight };
|
|
285
189
|
}
|
|
286
|
-
function St(t, e, n, o,
|
|
287
|
-
var
|
|
288
|
-
if (e !== "off" && t && (
|
|
190
|
+
function St(t, e, n, o, r) {
|
|
191
|
+
var i;
|
|
192
|
+
if (e !== "off" && t && (i = e === "tooltip" ? r.getBoundingClientRect() : o.getBoundingClientRect(), !(function(a) {
|
|
289
193
|
var c = a.getBoundingClientRect();
|
|
290
194
|
return c.top >= 0 && c.left >= 0 && c.bottom + 80 <= window.innerHeight && c.right <= window.innerWidth;
|
|
291
|
-
}(o))) {
|
|
195
|
+
})(o))) {
|
|
292
196
|
var s = bt().height;
|
|
293
|
-
|
|
197
|
+
i.bottom - (i.bottom - i.top) < 0 || o.clientHeight > s ? window.scrollBy(0, i.top - (s / 2 - i.height / 2) - n) : window.scrollBy(0, i.top - (s / 2 - i.height / 2) + n);
|
|
294
198
|
}
|
|
295
199
|
}
|
|
296
200
|
function Z(t) {
|
|
@@ -301,35 +205,31 @@ function at(t) {
|
|
|
301
205
|
return !(!e || e.nodeName === "HTML") && (gt(t, "position") === "fixed" || at(e));
|
|
302
206
|
}
|
|
303
207
|
function Y(t, e) {
|
|
304
|
-
var n = document.body, o = document.documentElement,
|
|
208
|
+
var n = document.body, o = document.documentElement, r = window.pageYOffset || o.scrollTop || n.scrollTop, i = window.pageXOffset || o.scrollLeft || n.scrollLeft;
|
|
305
209
|
e = e || n;
|
|
306
210
|
var s = t.getBoundingClientRect(), a = e.getBoundingClientRect(), c = gt(e, "position"), p = { width: s.width, height: s.height };
|
|
307
|
-
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 +
|
|
211
|
+
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 + r, left: s.left + i });
|
|
308
212
|
}
|
|
309
213
|
function vt(t, e) {
|
|
310
214
|
if (t instanceof SVGElement) {
|
|
311
215
|
var n = t.getAttribute("class") || "";
|
|
312
216
|
t.setAttribute("class", n.replace(e, "").replace(/^\s+|\s+$/g, ""));
|
|
313
|
-
} else
|
|
314
|
-
t.className = t.className.replace(e, "").replace(/^\s+|\s+$/g, "");
|
|
217
|
+
} else t.className = t.className.replace(e, "").replace(/^\s+|\s+$/g, "");
|
|
315
218
|
}
|
|
316
219
|
function H(t, e) {
|
|
317
220
|
var n = "";
|
|
318
|
-
if (t.style.cssText && (n += t.style.cssText), typeof e == "string")
|
|
319
|
-
|
|
320
|
-
else
|
|
321
|
-
for (var o in e)
|
|
322
|
-
n += "".concat(o, ":").concat(e[o], ";");
|
|
221
|
+
if (t.style.cssText && (n += t.style.cssText), typeof e == "string") n += e;
|
|
222
|
+
else for (var o in e) n += "".concat(o, ":").concat(e[o], ";");
|
|
323
223
|
t.style.cssText = n;
|
|
324
224
|
}
|
|
325
225
|
function R(t, e, n) {
|
|
326
226
|
if (n && e) {
|
|
327
|
-
var o = Y(e.element, t._targetElement),
|
|
328
|
-
e.element instanceof Element && at(e.element) ? I(n, "introjs-fixedTooltip") : vt(n, "introjs-fixedTooltip"), e.position === "floating" && (
|
|
227
|
+
var o = Y(e.element, t._targetElement), r = t._options.helperElementPadding;
|
|
228
|
+
e.element instanceof Element && at(e.element) ? I(n, "introjs-fixedTooltip") : vt(n, "introjs-fixedTooltip"), e.position === "floating" && (r = 0), H(n, { width: "".concat(o.width + r, "px"), height: "".concat(o.height + r, "px"), top: "".concat(o.top - r / 2, "px"), left: "".concat(o.left - r / 2, "px") });
|
|
329
229
|
}
|
|
330
230
|
}
|
|
331
|
-
function nt(t, e, n, o,
|
|
332
|
-
return t.left + e + n.width > o.width ? (
|
|
231
|
+
function nt(t, e, n, o, r) {
|
|
232
|
+
return t.left + e + n.width > o.width ? (r.style.left = "".concat(o.width - n.width - t.left, "px"), !1) : (r.style.left = "".concat(e, "px"), !0);
|
|
333
233
|
}
|
|
334
234
|
function ot(t, e, n, o) {
|
|
335
235
|
return t.left + t.width - e - n.width < 0 ? (o.style.left = "".concat(-t.left, "px"), !1) : (o.style.right = "".concat(e, "px"), !0);
|
|
@@ -338,51 +238,51 @@ function B(t, e) {
|
|
|
338
238
|
t.includes(e) && t.splice(t.indexOf(e), 1);
|
|
339
239
|
}
|
|
340
240
|
function Ce(t, e, n, o) {
|
|
341
|
-
var
|
|
342
|
-
if (c.bottom + s >
|
|
241
|
+
var r = t.slice(), i = bt(), s = Y(n).height + 10, a = Y(n).width + 20, c = e.getBoundingClientRect(), p = "floating";
|
|
242
|
+
if (c.bottom + s > i.height && B(r, "bottom"), c.top - s < 0 && B(r, "top"), c.right + a > i.width && B(r, "right"), c.left - a < 0 && B(r, "left"), o && (o = o.split("-")[0]), r.length && (p = r[0], r.includes(o) && (p = o)), p === "top" || p === "bottom") {
|
|
343
243
|
var l = void 0, u = [];
|
|
344
|
-
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(
|
|
244
|
+
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(f, b, y, C) {
|
|
345
245
|
var _ = b / 2, E = Math.min(y, window.screen.width);
|
|
346
|
-
return E -
|
|
347
|
-
}(c.left, a,
|
|
246
|
+
return E - f < b && (B(C, "top-left-aligned"), B(C, "bottom-left-aligned")), (f < _ || E - f < _) && (B(C, "top-middle-aligned"), B(C, "bottom-middle-aligned")), f < b && (B(C, "top-right-aligned"), B(C, "bottom-right-aligned")), C.length ? C[0] : null;
|
|
247
|
+
})(c.left, a, i.width, u) || l;
|
|
348
248
|
}
|
|
349
249
|
return p;
|
|
350
250
|
}
|
|
351
|
-
function
|
|
352
|
-
if (
|
|
353
|
-
var
|
|
354
|
-
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 = Ce(t._options.positionPrecedence, e.element, n, c)), s = Y(e.element),
|
|
355
|
-
var l = s.width / 2 -
|
|
251
|
+
function it(t, e, n, o, r) {
|
|
252
|
+
if (r === void 0 && (r = !1), e) {
|
|
253
|
+
var i, s, a, c, p = "";
|
|
254
|
+
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 = Ce(t._options.positionPrecedence, e.element, n, c)), s = Y(e.element), i = Y(n), a = bt(), I(n, "introjs-".concat(c));
|
|
255
|
+
var l = s.width / 2 - i.width / 2;
|
|
356
256
|
switch (c) {
|
|
357
257
|
case "top-right-aligned":
|
|
358
258
|
o.className = "introjs-arrow bottom-right";
|
|
359
259
|
var u = 0;
|
|
360
|
-
ot(s, u,
|
|
260
|
+
ot(s, u, i, n), n.style.bottom = "".concat(s.height + 20, "px");
|
|
361
261
|
break;
|
|
362
262
|
case "top-middle-aligned":
|
|
363
|
-
o.className = "introjs-arrow bottom-middle",
|
|
263
|
+
o.className = "introjs-arrow bottom-middle", r && (l += 5), ot(s, l, i, n) && (n.style.right = "", nt(s, l, i, a, n)), n.style.bottom = "".concat(s.height + 20, "px");
|
|
364
264
|
break;
|
|
365
265
|
case "top-left-aligned":
|
|
366
266
|
case "top":
|
|
367
|
-
o.className = "introjs-arrow bottom", nt(s,
|
|
267
|
+
o.className = "introjs-arrow bottom", nt(s, r ? 0 : 15, i, a, n), n.style.bottom = "".concat(s.height + 20, "px");
|
|
368
268
|
break;
|
|
369
269
|
case "right":
|
|
370
|
-
n.style.left = "".concat(s.width + 20, "px"), s.top +
|
|
270
|
+
n.style.left = "".concat(s.width + 20, "px"), s.top + i.height > a.height ? (o.className = "introjs-arrow left-bottom", n.style.top = "-".concat(i.height - s.height - 20, "px")) : o.className = "introjs-arrow left";
|
|
371
271
|
break;
|
|
372
272
|
case "left":
|
|
373
|
-
|
|
273
|
+
r || t._options.showStepNumbers !== !0 || (n.style.top = "15px"), s.top + i.height > a.height ? (n.style.top = "-".concat(i.height - s.height - 20, "px"), o.className = "introjs-arrow right-bottom") : o.className = "introjs-arrow right", n.style.right = "".concat(s.width + 20, "px");
|
|
374
274
|
break;
|
|
375
275
|
case "floating":
|
|
376
|
-
o.style.display = "none", n.style.left = "50%", n.style.top = "50%", n.style.marginLeft = "-".concat(
|
|
276
|
+
o.style.display = "none", n.style.left = "50%", n.style.top = "50%", n.style.marginLeft = "-".concat(i.width / 2, "px"), n.style.marginTop = "-".concat(i.height / 2, "px");
|
|
377
277
|
break;
|
|
378
278
|
case "bottom-right-aligned":
|
|
379
|
-
o.className = "introjs-arrow top-right", ot(s, u = 0,
|
|
279
|
+
o.className = "introjs-arrow top-right", ot(s, u = 0, i, n), n.style.top = "".concat(s.height + 20, "px");
|
|
380
280
|
break;
|
|
381
281
|
case "bottom-middle-aligned":
|
|
382
|
-
o.className = "introjs-arrow top-middle",
|
|
282
|
+
o.className = "introjs-arrow top-middle", r && (l += 5), ot(s, l, i, n) && (n.style.right = "", nt(s, l, i, a, n)), n.style.top = "".concat(s.height + 20, "px");
|
|
383
283
|
break;
|
|
384
284
|
default:
|
|
385
|
-
o.className = "introjs-arrow top", nt(s, 0,
|
|
285
|
+
o.className = "introjs-arrow top", nt(s, 0, i, a, n), n.style.top = "".concat(s.height + 20, "px");
|
|
386
286
|
}
|
|
387
287
|
}
|
|
388
288
|
}
|
|
@@ -394,18 +294,18 @@ function h(t, e) {
|
|
|
394
294
|
var n = document.createElement(t);
|
|
395
295
|
e = e || {};
|
|
396
296
|
var o = /^(?:role|data-|aria-)/;
|
|
397
|
-
for (var
|
|
398
|
-
var
|
|
399
|
-
|
|
297
|
+
for (var r in e) {
|
|
298
|
+
var i = e[r];
|
|
299
|
+
r === "style" && typeof i != "function" ? H(n, i) : typeof i == "string" && r.match(o) ? n.setAttribute(r, i) : n[r] = i;
|
|
400
300
|
}
|
|
401
301
|
return n;
|
|
402
302
|
}
|
|
403
|
-
function
|
|
303
|
+
function kt(t, e, n) {
|
|
404
304
|
if (n === void 0 && (n = !1), n) {
|
|
405
305
|
var o = e.style.opacity || "1";
|
|
406
|
-
H(e, { opacity: "0" }), window.setTimeout(function() {
|
|
306
|
+
H(e, { opacity: "0" }), window.setTimeout((function() {
|
|
407
307
|
H(e, { opacity: o });
|
|
408
|
-
}, 10);
|
|
308
|
+
}), 10);
|
|
409
309
|
}
|
|
410
310
|
t.appendChild(e);
|
|
411
311
|
}
|
|
@@ -417,72 +317,72 @@ function xt(t, e) {
|
|
|
417
317
|
t._options.showBullets === !1 && (n.style.display = "none");
|
|
418
318
|
var o = h("ul");
|
|
419
319
|
o.setAttribute("role", "tablist");
|
|
420
|
-
for (var
|
|
320
|
+
for (var r = function() {
|
|
421
321
|
var p = this.getAttribute("data-step-number");
|
|
422
322
|
p != null && t.goToStep(parseInt(p, 10));
|
|
423
|
-
},
|
|
424
|
-
var s = t._introItems[
|
|
425
|
-
a.setAttribute("role", "presentation"), c.setAttribute("role", "tab"), c.onclick =
|
|
323
|
+
}, i = 0; i < t._introItems.length; i++) {
|
|
324
|
+
var s = t._introItems[i].step, a = h("li"), c = h("a");
|
|
325
|
+
a.setAttribute("role", "presentation"), c.setAttribute("role", "tab"), c.onclick = r, i === e.step - 1 && (c.className = "active"), Z(c), c.innerHTML = " ", c.setAttribute("data-step-number", s.toString()), a.appendChild(c), o.appendChild(a);
|
|
426
326
|
}
|
|
427
327
|
return n.appendChild(o), n;
|
|
428
328
|
}
|
|
429
329
|
function Bt(t, e, n) {
|
|
430
330
|
var o = t.querySelector(".introjs-progress .introjs-progressbar");
|
|
431
331
|
if (o) {
|
|
432
|
-
var
|
|
433
|
-
o.style.cssText = "width:".concat(
|
|
332
|
+
var r = Nt(e, n);
|
|
333
|
+
o.style.cssText = "width:".concat(r, "%;"), o.setAttribute("aria-valuenow", r.toString());
|
|
434
334
|
}
|
|
435
335
|
}
|
|
436
336
|
function It(t, e) {
|
|
437
|
-
return
|
|
438
|
-
var n, o,
|
|
439
|
-
return g(this, function(J) {
|
|
337
|
+
return m(this, void 0, void 0, (function() {
|
|
338
|
+
var n, o, r, i, s, a, c, p, l, u, f, b, y, C, _, E, N, L, x, P, F, z, T, W, X = this;
|
|
339
|
+
return g(this, (function(J) {
|
|
440
340
|
switch (J.label) {
|
|
441
341
|
case 0:
|
|
442
342
|
return w(t._introChangeCallback) ? [4, t._introChangeCallback.call(t, e.element)] : [3, 2];
|
|
443
343
|
case 1:
|
|
444
344
|
J.sent(), J.label = 2;
|
|
445
345
|
case 2:
|
|
446
|
-
return n = document.querySelector(".introjs-helperLayer"), o = document.querySelector(".introjs-tooltipReferenceLayer"),
|
|
447
|
-
c !== null && (c.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length)), p.innerHTML = e.intro || "", l.innerHTML = e.title || "",
|
|
346
|
+
return n = document.querySelector(".introjs-helperLayer"), o = document.querySelector(".introjs-tooltipReferenceLayer"), r = "introjs-helperLayer", typeof e.highlightClass == "string" && (r += " ".concat(e.highlightClass)), typeof t._options.highlightClass == "string" && (r += " ".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"), f = o.querySelector(".introjs-tooltip"), a = o.querySelector(".introjs-skipbutton"), s = o.querySelector(".introjs-prevbutton"), i = o.querySelector(".introjs-nextbutton"), n.className = r, f.style.opacity = "0", f.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() {
|
|
347
|
+
c !== null && (c.innerHTML = "".concat(e.step, " ").concat(t._options.stepNumbersOfLabel, " ").concat(t._introItems.length)), p.innerHTML = e.intro || "", l.innerHTML = e.title || "", f.style.display = "block", it(t, e, f, u), (function(d, k, A) {
|
|
448
348
|
if (d) {
|
|
449
|
-
var $ =
|
|
349
|
+
var $ = k.querySelector(".introjs-bullets li > a.active"), Q = k.querySelector('.introjs-bullets li > a[data-step-number="'.concat(A.step, '"]'));
|
|
450
350
|
$ && Q && ($.className = "", Q.className = "active");
|
|
451
351
|
}
|
|
452
|
-
}(t._options.showBullets, o, e), Bt(o, t._currentStep, t._introItems.length),
|
|
453
|
-
}, 350)) : (b = h("div", { className:
|
|
352
|
+
})(t._options.showBullets, o, e), Bt(o, t._currentStep, t._introItems.length), f.style.opacity = "1", (i != null && /introjs-donebutton/gi.test(i.className) || i != null) && i.focus(), St(t._options.scrollToElement, e.scrollTo, t._options.scrollPadding, e.element, p);
|
|
353
|
+
}), 350)) : (b = h("div", { className: r }), 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), kt(t._targetElement, b, !0), kt(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" }), (F = h("input", { type: "checkbox", id: "introjs-dontShowAgain", name: "introjs-dontShowAgain" })).onchange = function(d) {
|
|
454
354
|
t.setDontShowAgain(d.target.checked);
|
|
455
|
-
}, (z = h("label", { htmlFor: "introjs-dontShowAgain" })).innerText = t._options.dontShowAgainLabel, P.appendChild(
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
var
|
|
459
|
-
d._options.progressBarAdditionalClass && (
|
|
355
|
+
}, (z = h("label", { htmlFor: "introjs-dontShowAgain" })).innerText = t._options.dontShowAgainLabel, P.appendChild(F), P.appendChild(z), _.appendChild(P)), _.appendChild(xt(t, e)), _.appendChild((function(d) {
|
|
356
|
+
var k = h("div");
|
|
357
|
+
k.className = "introjs-progress", d._options.showProgress === !1 && (k.style.display = "none");
|
|
358
|
+
var A = h("div", { className: "introjs-progressbar" });
|
|
359
|
+
d._options.progressBarAdditionalClass && (A.className += " " + d._options.progressBarAdditionalClass);
|
|
460
360
|
var $ = Nt(d._currentStep, d._introItems.length);
|
|
461
|
-
return
|
|
462
|
-
}(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(_), (
|
|
463
|
-
return
|
|
464
|
-
return g(this, function(d) {
|
|
361
|
+
return A.setAttribute("role", "progress"), A.setAttribute("aria-valuemin", "0"), A.setAttribute("aria-valuemax", "100"), A.setAttribute("aria-valuenow", $.toString()), A.style.cssText = "width:".concat($, "%;"), k.appendChild(A), k;
|
|
362
|
+
})(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(_), (i = h("a")).onclick = function() {
|
|
363
|
+
return m(X, void 0, void 0, (function() {
|
|
364
|
+
return g(this, (function(d) {
|
|
465
365
|
switch (d.label) {
|
|
466
366
|
case 0:
|
|
467
|
-
return t._introItems.length - 1 === t._currentStep ? [3, 2] : [4,
|
|
367
|
+
return t._introItems.length - 1 === t._currentStep ? [3, 2] : [4, G(t)];
|
|
468
368
|
case 1:
|
|
469
369
|
return d.sent(), [3, 6];
|
|
470
370
|
case 2:
|
|
471
|
-
return /introjs-donebutton/gi.test(
|
|
371
|
+
return /introjs-donebutton/gi.test(i.className) ? w(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "done")] : [3, 4] : [3, 6];
|
|
472
372
|
case 3:
|
|
473
373
|
d.sent(), d.label = 4;
|
|
474
374
|
case 4:
|
|
475
|
-
return [4,
|
|
375
|
+
return [4, V(t, t._targetElement)];
|
|
476
376
|
case 5:
|
|
477
377
|
d.sent(), d.label = 6;
|
|
478
378
|
case 6:
|
|
479
379
|
return [2];
|
|
480
380
|
}
|
|
481
|
-
});
|
|
482
|
-
});
|
|
483
|
-
}, Z(
|
|
484
|
-
return
|
|
485
|
-
return g(this, function(d) {
|
|
381
|
+
}));
|
|
382
|
+
}));
|
|
383
|
+
}, Z(i), i.innerHTML = t._options.nextLabel, (s = h("a")).onclick = function() {
|
|
384
|
+
return m(X, void 0, void 0, (function() {
|
|
385
|
+
return g(this, (function(d) {
|
|
486
386
|
switch (d.label) {
|
|
487
387
|
case 0:
|
|
488
388
|
return t._currentStep > 0 ? [4, st(t)] : [3, 2];
|
|
@@ -491,11 +391,11 @@ function It(t, e) {
|
|
|
491
391
|
case 2:
|
|
492
392
|
return [2];
|
|
493
393
|
}
|
|
494
|
-
});
|
|
495
|
-
});
|
|
394
|
+
}));
|
|
395
|
+
}));
|
|
496
396
|
}, Z(s), s.innerHTML = t._options.prevLabel, Z(a = h("a", { className: "introjs-skipbutton" })), a.innerHTML = t._options.skipLabel, a.onclick = function() {
|
|
497
|
-
return
|
|
498
|
-
return g(this, function(d) {
|
|
397
|
+
return m(X, void 0, void 0, (function() {
|
|
398
|
+
return g(this, (function(d) {
|
|
499
399
|
switch (d.label) {
|
|
500
400
|
case 0:
|
|
501
401
|
return t._introItems.length - 1 === t._currentStep && w(t._introCompleteCallback) ? [4, t._introCompleteCallback.call(t, t._currentStep, "skip")] : [3, 2];
|
|
@@ -506,88 +406,86 @@ function It(t, e) {
|
|
|
506
406
|
case 3:
|
|
507
407
|
d.sent(), d.label = 4;
|
|
508
408
|
case 4:
|
|
509
|
-
return [4,
|
|
409
|
+
return [4, V(t, t._targetElement)];
|
|
510
410
|
case 5:
|
|
511
411
|
return d.sent(), [2];
|
|
512
412
|
}
|
|
513
|
-
});
|
|
514
|
-
});
|
|
515
|
-
}, N.appendChild(a), t._introItems.length > 1 && x.appendChild(s), x.appendChild(
|
|
516
|
-
var
|
|
517
|
-
|
|
518
|
-
}(t, e), t._currentStep === 0 && t._introItems.length > 1 ? (
|
|
413
|
+
}));
|
|
414
|
+
}));
|
|
415
|
+
}, N.appendChild(a), t._introItems.length > 1 && x.appendChild(s), x.appendChild(i), _.appendChild(x), it(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, k) {
|
|
416
|
+
var A = document.querySelector(".introjs-disableInteraction");
|
|
417
|
+
A === null && (A = h("div", { className: "introjs-disableInteraction" }), d._targetElement.appendChild(A)), R(d, k, A);
|
|
418
|
+
})(t, e), t._currentStep === 0 && t._introItems.length > 1 ? (i != null && (i.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), i.innerHTML = t._options.nextLabel), t._options.hidePrev === !0 ? (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton introjs-hidden")), i != null && I(i, "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 ? (i != null && (i.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-hidden")), s != null && I(s, "introjs-fullbutton")) : i != null && (t._options.nextToDone === !0 ? (i.innerHTML = t._options.doneLabel, I(i, "".concat(t._options.buttonClass, " introjs-nextbutton introjs-donebutton"))) : i.className = "".concat(t._options.buttonClass, " introjs-nextbutton introjs-disabled"))) : (s != null && (s.className = "".concat(t._options.buttonClass, " introjs-prevbutton")), i != null && (i.className = "".concat(t._options.buttonClass, " introjs-nextbutton"), i.innerHTML = t._options.nextLabel)), s != null && s.setAttribute("role", "button"), i != null && i.setAttribute("role", "button"), a != null && a.setAttribute("role", "button"), i != null && i.focus(), (function(d) {
|
|
519
419
|
I(d, "introjs-showElement");
|
|
520
|
-
var
|
|
521
|
-
|
|
522
|
-
}(e.element), w(t._introAfterChangeCallback) ? [4, t._introAfterChangeCallback.call(t, e.element)] : [3, 4];
|
|
420
|
+
var k = gt(d, "position");
|
|
421
|
+
k !== "absolute" && k !== "relative" && k !== "sticky" && k !== "fixed" && I(d, "introjs-relativePosition");
|
|
422
|
+
})(e.element), w(t._introAfterChangeCallback) ? [4, t._introAfterChangeCallback.call(t, e.element)] : [3, 4];
|
|
523
423
|
case 3:
|
|
524
424
|
J.sent(), J.label = 4;
|
|
525
425
|
case 4:
|
|
526
426
|
return [2];
|
|
527
427
|
}
|
|
528
|
-
});
|
|
529
|
-
});
|
|
428
|
+
}));
|
|
429
|
+
}));
|
|
530
430
|
}
|
|
531
431
|
function Se(t, e) {
|
|
532
|
-
return
|
|
533
|
-
return g(this, function(n) {
|
|
432
|
+
return m(this, void 0, void 0, (function() {
|
|
433
|
+
return g(this, (function(n) {
|
|
534
434
|
switch (n.label) {
|
|
535
435
|
case 0:
|
|
536
|
-
return t._currentStep = e - 2, t._introItems === void 0 ? [3, 2] : [4,
|
|
436
|
+
return t._currentStep = e - 2, t._introItems === void 0 ? [3, 2] : [4, G(t)];
|
|
537
437
|
case 1:
|
|
538
438
|
n.sent(), n.label = 2;
|
|
539
439
|
case 2:
|
|
540
440
|
return [2];
|
|
541
441
|
}
|
|
542
|
-
});
|
|
543
|
-
});
|
|
442
|
+
}));
|
|
443
|
+
}));
|
|
544
444
|
}
|
|
545
|
-
function
|
|
546
|
-
return
|
|
547
|
-
return g(this, function(n) {
|
|
445
|
+
function ke(t, e) {
|
|
446
|
+
return m(this, void 0, void 0, (function() {
|
|
447
|
+
return g(this, (function(n) {
|
|
548
448
|
switch (n.label) {
|
|
549
449
|
case 0:
|
|
550
|
-
return t._currentStepNumber = e, t._introItems === void 0 ? [3, 2] : [4,
|
|
450
|
+
return t._currentStepNumber = e, t._introItems === void 0 ? [3, 2] : [4, G(t)];
|
|
551
451
|
case 1:
|
|
552
452
|
n.sent(), n.label = 2;
|
|
553
453
|
case 2:
|
|
554
454
|
return [2];
|
|
555
455
|
}
|
|
556
|
-
});
|
|
557
|
-
});
|
|
456
|
+
}));
|
|
457
|
+
}));
|
|
558
458
|
}
|
|
559
|
-
function
|
|
560
|
-
return
|
|
459
|
+
function G(t) {
|
|
460
|
+
return m(this, void 0, void 0, (function() {
|
|
561
461
|
var e, n, o;
|
|
562
|
-
return g(this, function(
|
|
563
|
-
switch (
|
|
462
|
+
return g(this, (function(r) {
|
|
463
|
+
switch (r.label) {
|
|
564
464
|
case 0:
|
|
565
|
-
if (t._direction = "forward", t._currentStepNumber !== void 0)
|
|
566
|
-
for (e = 0; e < t._introItems.length; e++)
|
|
567
|
-
t._introItems[e].step === t._currentStepNumber && (t._currentStep = e - 1, t._currentStepNumber = void 0);
|
|
465
|
+
if (t._direction = "forward", t._currentStepNumber !== void 0) for (e = 0; e < t._introItems.length; e++) t._introItems[e].step === t._currentStepNumber && (t._currentStep = e - 1, t._currentStepNumber = void 0);
|
|
568
466
|
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];
|
|
569
467
|
case 1:
|
|
570
|
-
o =
|
|
468
|
+
o = r.sent(), r.label = 2;
|
|
571
469
|
case 2:
|
|
572
470
|
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];
|
|
573
471
|
case 3:
|
|
574
|
-
|
|
472
|
+
r.sent(), r.label = 4;
|
|
575
473
|
case 4:
|
|
576
|
-
return [4,
|
|
474
|
+
return [4, V(t, t._targetElement)];
|
|
577
475
|
case 5:
|
|
578
|
-
return
|
|
476
|
+
return r.sent(), [2, !1];
|
|
579
477
|
case 6:
|
|
580
478
|
return [4, It(t, n)];
|
|
581
479
|
case 7:
|
|
582
|
-
return
|
|
480
|
+
return r.sent(), [2, !0];
|
|
583
481
|
}
|
|
584
|
-
});
|
|
585
|
-
});
|
|
482
|
+
}));
|
|
483
|
+
}));
|
|
586
484
|
}
|
|
587
485
|
function st(t) {
|
|
588
|
-
return
|
|
486
|
+
return m(this, void 0, void 0, (function() {
|
|
589
487
|
var e, n;
|
|
590
|
-
return g(this, function(o) {
|
|
488
|
+
return g(this, (function(o) {
|
|
591
489
|
switch (o.label) {
|
|
592
490
|
case 0:
|
|
593
491
|
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]);
|
|
@@ -598,58 +496,56 @@ function st(t) {
|
|
|
598
496
|
case 3:
|
|
599
497
|
return o.sent(), [2, !0];
|
|
600
498
|
}
|
|
601
|
-
});
|
|
602
|
-
});
|
|
499
|
+
}));
|
|
500
|
+
}));
|
|
603
501
|
}
|
|
604
502
|
function Mt(t, e) {
|
|
605
|
-
return
|
|
503
|
+
return m(this, void 0, void 0, (function() {
|
|
606
504
|
var n, o;
|
|
607
|
-
return g(this, function(
|
|
608
|
-
switch (
|
|
505
|
+
return g(this, (function(r) {
|
|
506
|
+
switch (r.label) {
|
|
609
507
|
case 0:
|
|
610
|
-
return (n = e.code === void 0 ? e.which : e.code) === null && (n = e.charCode === null ? e.keyCode : e.charCode), n !== "Escape" && n !== 27 || t._options.exitOnEsc !== !0 ? [3, 2] : [4,
|
|
508
|
+
return (n = e.code === void 0 ? e.which : e.code) === null && (n = e.charCode === null ? e.keyCode : e.charCode), n !== "Escape" && n !== 27 || t._options.exitOnEsc !== !0 ? [3, 2] : [4, V(t, t._targetElement)];
|
|
611
509
|
case 1:
|
|
612
|
-
return
|
|
510
|
+
return r.sent(), [3, 16];
|
|
613
511
|
case 2:
|
|
614
512
|
return n !== "ArrowLeft" && n !== 37 ? [3, 4] : [4, st(t)];
|
|
615
513
|
case 3:
|
|
616
|
-
return
|
|
514
|
+
return r.sent(), [3, 16];
|
|
617
515
|
case 4:
|
|
618
|
-
return n !== "ArrowRight" && n !== 39 ? [3, 6] : [4,
|
|
516
|
+
return n !== "ArrowRight" && n !== 39 ? [3, 6] : [4, G(t)];
|
|
619
517
|
case 5:
|
|
620
|
-
return
|
|
518
|
+
return r.sent(), [3, 16];
|
|
621
519
|
case 6:
|
|
622
520
|
return n !== "Enter" && n !== "NumpadEnter" && n !== 13 ? [3, 16] : (o = e.target || e.srcElement) && o.className.match("introjs-prevbutton") ? [4, st(t)] : [3, 8];
|
|
623
521
|
case 7:
|
|
624
|
-
return
|
|
522
|
+
return r.sent(), [3, 15];
|
|
625
523
|
case 8:
|
|
626
524
|
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];
|
|
627
525
|
case 9:
|
|
628
|
-
|
|
526
|
+
r.sent(), r.label = 10;
|
|
629
527
|
case 10:
|
|
630
|
-
return [4,
|
|
528
|
+
return [4, V(t, t._targetElement)];
|
|
631
529
|
case 11:
|
|
632
|
-
return
|
|
530
|
+
return r.sent(), [3, 15];
|
|
633
531
|
case 12:
|
|
634
532
|
return o && o.getAttribute("data-step-number") ? (o.click(), [3, 15]) : [3, 13];
|
|
635
533
|
case 13:
|
|
636
|
-
return [4,
|
|
534
|
+
return [4, G(t)];
|
|
637
535
|
case 14:
|
|
638
|
-
|
|
536
|
+
r.sent(), r.label = 15;
|
|
639
537
|
case 15:
|
|
640
|
-
e.preventDefault ? e.preventDefault() : e.returnValue = !1,
|
|
538
|
+
e.preventDefault ? e.preventDefault() : e.returnValue = !1, r.label = 16;
|
|
641
539
|
case 16:
|
|
642
540
|
return [2];
|
|
643
541
|
}
|
|
644
|
-
});
|
|
645
|
-
});
|
|
542
|
+
}));
|
|
543
|
+
}));
|
|
646
544
|
}
|
|
647
545
|
function yt(t) {
|
|
648
|
-
if (t === null ||
|
|
649
|
-
return t;
|
|
546
|
+
if (t === null || rt(t) !== "object" || "nodeType" in t) return t;
|
|
650
547
|
var e = {};
|
|
651
|
-
for (var n in t)
|
|
652
|
-
"jQuery" in window && t[n] instanceof window.jQuery ? e[n] = t[n] : e[n] = yt(t[n]);
|
|
548
|
+
for (var n in t) "jQuery" in window && t[n] instanceof window.jQuery ? e[n] = t[n] : e[n] = yt(t[n]);
|
|
653
549
|
return e;
|
|
654
550
|
}
|
|
655
551
|
function K(t) {
|
|
@@ -657,9 +553,9 @@ function K(t) {
|
|
|
657
553
|
return e ? Array.from(e.querySelectorAll(t)) : [];
|
|
658
554
|
}
|
|
659
555
|
function wt(t, e) {
|
|
660
|
-
return
|
|
556
|
+
return m(this, void 0, void 0, (function() {
|
|
661
557
|
var n;
|
|
662
|
-
return g(this, function(o) {
|
|
558
|
+
return g(this, (function(o) {
|
|
663
559
|
switch (o.label) {
|
|
664
560
|
case 0:
|
|
665
561
|
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];
|
|
@@ -668,18 +564,18 @@ function wt(t, e) {
|
|
|
668
564
|
case 2:
|
|
669
565
|
return [2];
|
|
670
566
|
}
|
|
671
|
-
});
|
|
672
|
-
});
|
|
567
|
+
}));
|
|
568
|
+
}));
|
|
673
569
|
}
|
|
674
|
-
function
|
|
675
|
-
return
|
|
676
|
-
var e, n, o,
|
|
677
|
-
return g(this, function(s) {
|
|
570
|
+
function Ae(t) {
|
|
571
|
+
return m(this, void 0, void 0, (function() {
|
|
572
|
+
var e, n, o, r, i;
|
|
573
|
+
return g(this, (function(s) {
|
|
678
574
|
switch (s.label) {
|
|
679
575
|
case 0:
|
|
680
576
|
e = K(".introjs-hint"), n = 0, o = e, s.label = 1;
|
|
681
577
|
case 1:
|
|
682
|
-
return n < o.length ? (
|
|
578
|
+
return n < o.length ? (r = o[n], (i = r.getAttribute("data-step")) ? [4, wt(t, parseInt(i, 10))] : [3, 3]) : [3, 4];
|
|
683
579
|
case 2:
|
|
684
580
|
s.sent(), s.label = 3;
|
|
685
581
|
case 3:
|
|
@@ -687,19 +583,17 @@ function ke(t) {
|
|
|
687
583
|
case 4:
|
|
688
584
|
return [2];
|
|
689
585
|
}
|
|
690
|
-
});
|
|
691
|
-
});
|
|
586
|
+
}));
|
|
587
|
+
}));
|
|
692
588
|
}
|
|
693
589
|
function je(t) {
|
|
694
|
-
return
|
|
695
|
-
var e, n, o,
|
|
696
|
-
return g(this, function(s) {
|
|
590
|
+
return m(this, void 0, void 0, (function() {
|
|
591
|
+
var e, n, o, r, i;
|
|
592
|
+
return g(this, (function(s) {
|
|
697
593
|
switch (s.label) {
|
|
698
594
|
case 0:
|
|
699
|
-
if (!(e = K(".introjs-hint")) || !e.length)
|
|
700
|
-
|
|
701
|
-
for (n = 0, o = e; n < o.length; n++)
|
|
702
|
-
i = o[n], (r = i.getAttribute("data-step")) && Lt(parseInt(r, 10));
|
|
595
|
+
if (!(e = K(".introjs-hint")) || !e.length) return [3, 1];
|
|
596
|
+
for (n = 0, o = e; n < o.length; n++) r = o[n], (i = r.getAttribute("data-step")) && Lt(parseInt(i, 10));
|
|
703
597
|
return [3, 3];
|
|
704
598
|
case 1:
|
|
705
599
|
return [4, Pt(t, t._targetElement)];
|
|
@@ -708,32 +602,31 @@ function je(t) {
|
|
|
708
602
|
case 3:
|
|
709
603
|
return [2];
|
|
710
604
|
}
|
|
711
|
-
});
|
|
712
|
-
});
|
|
605
|
+
}));
|
|
606
|
+
}));
|
|
713
607
|
}
|
|
714
608
|
function Lt(t) {
|
|
715
609
|
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
716
610
|
e && vt(e, /introjs-hidehint/g);
|
|
717
611
|
}
|
|
718
|
-
function
|
|
612
|
+
function At(t) {
|
|
719
613
|
var e = K('.introjs-hint[data-step="'.concat(t, '"]'))[0];
|
|
720
614
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
721
615
|
}
|
|
722
616
|
function Ee(t) {
|
|
723
|
-
return
|
|
724
|
-
var e, n, o,
|
|
725
|
-
return g(this, function(c) {
|
|
617
|
+
return m(this, void 0, void 0, (function() {
|
|
618
|
+
var e, n, o, r, i, s, a;
|
|
619
|
+
return g(this, (function(c) {
|
|
726
620
|
switch (c.label) {
|
|
727
621
|
case 0:
|
|
728
|
-
for ((e = document.querySelector(".introjs-hints")) === null && (e = h("div", { className: "introjs-hints" })), n = function(
|
|
622
|
+
for ((e = document.querySelector(".introjs-hints")) === null && (e = h("div", { className: "introjs-hints" })), n = function(f) {
|
|
729
623
|
return function(b) {
|
|
730
624
|
var y = b || window.event;
|
|
731
|
-
y && y.stopPropagation && y.stopPropagation(), y && y.cancelBubble !== null && (y.cancelBubble = !0), Rt(t,
|
|
625
|
+
y && y.stopPropagation && y.stopPropagation(), y && y.cancelBubble !== null && (y.cancelBubble = !0), Rt(t, f);
|
|
732
626
|
};
|
|
733
627
|
}, o = 0; o < t._hintItems.length; o++) {
|
|
734
|
-
if (
|
|
735
|
-
|
|
736
|
-
Z(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);
|
|
628
|
+
if (r = t._hintItems[o], document.querySelector('.introjs-hint[data-step="'.concat(o, '"]'))) return [2];
|
|
629
|
+
Z(i = h("a", { className: "introjs-hint" })), i.onclick = n(o), r.hintAnimation || I(i, "introjs-hint-no-anim"), at(r.element) && I(i, "introjs-fixedhint"), s = h("div", { className: "introjs-hint-dot" }), a = h("div", { className: "introjs-hint-pulse" }), i.appendChild(s), i.appendChild(a), i.setAttribute("data-step", o.toString()), r.hintTargetElement = r.element, r.element = i, qt(r.hintPosition, i, r.hintTargetElement), e.appendChild(i);
|
|
737
630
|
}
|
|
738
631
|
return document.body.appendChild(e), w(t._hintsAddedCallback) ? [4, t._hintsAddedCallback.call(t)] : [3, 2];
|
|
739
632
|
case 1:
|
|
@@ -742,69 +635,68 @@ function Ee(t) {
|
|
|
742
635
|
return t._options.hintAutoRefreshInterval >= 0 && (t._hintsAutoRefreshFunction = (p = function() {
|
|
743
636
|
return ct(t);
|
|
744
637
|
}, l = t._options.hintAutoRefreshInterval, function() {
|
|
745
|
-
for (var
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
}, l);
|
|
638
|
+
for (var f = [], b = 0; b < arguments.length; b++) f[b] = arguments[b];
|
|
639
|
+
window.clearTimeout(u), u = window.setTimeout((function() {
|
|
640
|
+
p(f);
|
|
641
|
+
}), l);
|
|
750
642
|
}), M.on(window, "scroll", t._hintsAutoRefreshFunction, t, !0)), [2];
|
|
751
643
|
}
|
|
752
644
|
var p, l, u;
|
|
753
|
-
});
|
|
754
|
-
});
|
|
645
|
+
}));
|
|
646
|
+
}));
|
|
755
647
|
}
|
|
756
648
|
function qt(t, e, n) {
|
|
757
649
|
if (n !== void 0) {
|
|
758
|
-
var o = Y(n),
|
|
650
|
+
var o = Y(n), r = 20, i = 20;
|
|
759
651
|
switch (t) {
|
|
760
652
|
default:
|
|
761
653
|
case "top-left":
|
|
762
654
|
e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top, "px");
|
|
763
655
|
break;
|
|
764
656
|
case "top-right":
|
|
765
|
-
e.style.left = "".concat(o.left + o.width -
|
|
657
|
+
e.style.left = "".concat(o.left + o.width - r, "px"), e.style.top = "".concat(o.top, "px");
|
|
766
658
|
break;
|
|
767
659
|
case "bottom-left":
|
|
768
|
-
e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top + o.height -
|
|
660
|
+
e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top + o.height - i, "px");
|
|
769
661
|
break;
|
|
770
662
|
case "bottom-right":
|
|
771
|
-
e.style.left = "".concat(o.left + o.width -
|
|
663
|
+
e.style.left = "".concat(o.left + o.width - r, "px"), e.style.top = "".concat(o.top + o.height - i, "px");
|
|
772
664
|
break;
|
|
773
665
|
case "middle-left":
|
|
774
|
-
e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top + (o.height -
|
|
666
|
+
e.style.left = "".concat(o.left, "px"), e.style.top = "".concat(o.top + (o.height - i) / 2, "px");
|
|
775
667
|
break;
|
|
776
668
|
case "middle-right":
|
|
777
|
-
e.style.left = "".concat(o.left + o.width -
|
|
669
|
+
e.style.left = "".concat(o.left + o.width - r, "px"), e.style.top = "".concat(o.top + (o.height - i) / 2, "px");
|
|
778
670
|
break;
|
|
779
671
|
case "middle-middle":
|
|
780
|
-
e.style.left = "".concat(o.left + (o.width -
|
|
672
|
+
e.style.left = "".concat(o.left + (o.width - r) / 2, "px"), e.style.top = "".concat(o.top + (o.height - i) / 2, "px");
|
|
781
673
|
break;
|
|
782
674
|
case "bottom-middle":
|
|
783
|
-
e.style.left = "".concat(o.left + (o.width -
|
|
675
|
+
e.style.left = "".concat(o.left + (o.width - r) / 2, "px"), e.style.top = "".concat(o.top + o.height - i, "px");
|
|
784
676
|
break;
|
|
785
677
|
case "top-middle":
|
|
786
|
-
e.style.left = "".concat(o.left + (o.width -
|
|
678
|
+
e.style.left = "".concat(o.left + (o.width - r) / 2, "px"), e.style.top = "".concat(o.top, "px");
|
|
787
679
|
}
|
|
788
680
|
}
|
|
789
681
|
}
|
|
790
682
|
function Rt(t, e) {
|
|
791
|
-
return
|
|
792
|
-
var n, o,
|
|
793
|
-
return g(this, function(b) {
|
|
683
|
+
return m(this, void 0, void 0, (function() {
|
|
684
|
+
var n, o, r, i, s, a, c, p, l, u, f;
|
|
685
|
+
return g(this, (function(b) {
|
|
794
686
|
switch (b.label) {
|
|
795
687
|
case 0:
|
|
796
688
|
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];
|
|
797
689
|
case 1:
|
|
798
690
|
b.sent(), b.label = 2;
|
|
799
691
|
case 2:
|
|
800
|
-
return (
|
|
692
|
+
return (r = lt()) !== void 0 && parseInt(r, 10) === e || (i = h("div", { className: "introjs-tooltip" }), s = h("div"), a = h("div"), c = h("div"), i.onclick = function(y) {
|
|
801
693
|
y.stopPropagation ? y.stopPropagation() : y.cancelBubble = !0;
|
|
802
694
|
}, 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() {
|
|
803
695
|
return wt(t, e);
|
|
804
|
-
}, s.appendChild(l)), a.className = "introjs-arrow",
|
|
696
|
+
}, s.appendChild(l)), a.className = "introjs-arrow", i.appendChild(a), i.appendChild(s), u = n.getAttribute("data-step") || "", t._currentStep = parseInt(u, 10), f = t._hintItems[t._currentStep], c.className = "introjs-tooltipReferenceLayer introjs-hintReference", c.setAttribute("data-step", u), R(t, f, c), c.appendChild(i), document.body.appendChild(c), it(t, f, i, a, !0)), [2];
|
|
805
697
|
}
|
|
806
|
-
});
|
|
807
|
-
});
|
|
698
|
+
}));
|
|
699
|
+
}));
|
|
808
700
|
}
|
|
809
701
|
function lt() {
|
|
810
702
|
var t = document.querySelector(".introjs-hintReference");
|
|
@@ -814,80 +706,72 @@ function lt() {
|
|
|
814
706
|
}
|
|
815
707
|
}
|
|
816
708
|
function Pt(t, e) {
|
|
817
|
-
return
|
|
818
|
-
var n, o,
|
|
819
|
-
return g(this, function(
|
|
820
|
-
switch (
|
|
709
|
+
return m(this, void 0, void 0, (function() {
|
|
710
|
+
var n, o, r, i, s, a, c, p, l, u;
|
|
711
|
+
return g(this, (function(f) {
|
|
712
|
+
switch (f.label) {
|
|
821
713
|
case 0:
|
|
822
|
-
if (t._hintItems = [], t._options.hints && t._options.hints.length > 0)
|
|
823
|
-
for (n = 0, o = t._options.hints; n < o.length; n++)
|
|
824
|
-
i = o[n], typeof (r = yt(i)).element == "string" && (r.element = document.querySelector(r.element)), r.hintPosition = r.hintPosition || t._options.hintPosition, r.hintAnimation = r.hintAnimation || t._options.hintAnimation, r.element !== null && t._hintItems.push(r);
|
|
714
|
+
if (t._hintItems = [], t._options.hints && t._options.hints.length > 0) for (n = 0, o = t._options.hints; n < o.length; n++) r = o[n], typeof (i = yt(r)).element == "string" && (i.element = document.querySelector(i.element)), i.hintPosition = i.hintPosition || t._options.hintPosition, i.hintAnimation = i.hintAnimation || t._options.hintAnimation, i.element !== null && t._hintItems.push(i);
|
|
825
715
|
else {
|
|
826
|
-
if (!(s = Array.from(e.querySelectorAll("*[data-hint]"))) || !s.length)
|
|
827
|
-
|
|
828
|
-
for (a = 0, c = s; a < c.length; a++)
|
|
829
|
-
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 });
|
|
716
|
+
if (!(s = Array.from(e.querySelectorAll("*[data-hint]"))) || !s.length) return [2, !1];
|
|
717
|
+
for (a = 0, c = s; a < c.length; a++) 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 });
|
|
830
718
|
}
|
|
831
719
|
return [4, Ee(t)];
|
|
832
720
|
case 1:
|
|
833
|
-
return
|
|
721
|
+
return f.sent(), M.on(document, "click", lt, t, !1), M.on(window, "resize", ct, t, !0), [2, !0];
|
|
834
722
|
}
|
|
835
|
-
});
|
|
836
|
-
});
|
|
723
|
+
}));
|
|
724
|
+
}));
|
|
837
725
|
}
|
|
838
726
|
function ct(t) {
|
|
839
727
|
for (var e = 0, n = t._hintItems; e < n.length; e++) {
|
|
840
|
-
var o = n[e],
|
|
841
|
-
qt(o.hintPosition, o.element,
|
|
728
|
+
var o = n[e], r = o.hintTargetElement;
|
|
729
|
+
qt(o.hintPosition, o.element, r);
|
|
842
730
|
}
|
|
843
731
|
}
|
|
844
732
|
function Dt(t, e) {
|
|
845
733
|
var n = Array.from(e.querySelectorAll("*[data-intro]")), o = [];
|
|
846
|
-
if (t._options.steps && t._options.steps.length)
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
a === null && (a = h("div", { className: "introjsFloatingElement" }), document.body.appendChild(a)), s.element = a, s.position = "floating";
|
|
852
|
-
}
|
|
853
|
-
s.position = s.position || t._options.tooltipPosition, s.scrollTo = s.scrollTo || t._options.scrollTo, s.disableInteraction === void 0 && (s.disableInteraction = t._options.disableInteraction), s.element !== null && o.push(s);
|
|
734
|
+
if (t._options.steps && t._options.steps.length) for (var r = 0, i = t._options.steps; r < i.length; r++) {
|
|
735
|
+
var s = yt(f = i[r]);
|
|
736
|
+
if (s.step = o.length + 1, s.title = s.title || "", typeof s.element == "string" && (s.element = document.querySelector(s.element) || void 0), s.element === void 0 || s.element === null) {
|
|
737
|
+
var a = document.querySelector(".introjsFloatingElement");
|
|
738
|
+
a === null && (a = h("div", { className: "introjsFloatingElement" }), document.body.appendChild(a)), s.element = a, s.position = "floating";
|
|
854
739
|
}
|
|
740
|
+
s.position = s.position || t._options.tooltipPosition, s.scrollTo = s.scrollTo || t._options.scrollTo, s.disableInteraction === void 0 && (s.disableInteraction = t._options.disableInteraction), s.element !== null && o.push(s);
|
|
741
|
+
}
|
|
855
742
|
else {
|
|
856
743
|
var c = void 0;
|
|
857
|
-
if (n.length < 1)
|
|
858
|
-
return [];
|
|
744
|
+
if (n.length < 1) return [];
|
|
859
745
|
for (var p = 0, l = n; p < l.length; p++) {
|
|
860
746
|
var u = l[p];
|
|
861
747
|
if ((!t._options.group || u.getAttribute("data-intro-group") === t._options.group) && u.style.display !== "none") {
|
|
862
|
-
var
|
|
863
|
-
c = t._options.disableInteraction, u.hasAttribute("data-disable-interaction") && (c = !!u.getAttribute("data-disable-interaction")),
|
|
748
|
+
var f = parseInt(u.getAttribute("data-step") || "", 10);
|
|
749
|
+
c = t._options.disableInteraction, u.hasAttribute("data-disable-interaction") && (c = !!u.getAttribute("data-disable-interaction")), f > 0 && (o[f - 1] = { step: f, 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 });
|
|
864
750
|
}
|
|
865
751
|
}
|
|
866
752
|
for (var b = 0, y = 0, C = n; y < C.length; y++)
|
|
867
753
|
if (u = C[y], (!t._options.group || u.getAttribute("data-intro-group") === t._options.group) && u.getAttribute("data-step") === null) {
|
|
868
|
-
for (; o[b] !== void 0; )
|
|
869
|
-
b++;
|
|
754
|
+
for (; o[b] !== void 0; ) b++;
|
|
870
755
|
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 };
|
|
871
756
|
}
|
|
872
757
|
}
|
|
873
|
-
for (var _ = [], E = 0; E < o.length; E++)
|
|
874
|
-
|
|
875
|
-
return (o = _).sort(function(N, L) {
|
|
758
|
+
for (var _ = [], E = 0; E < o.length; E++) o[E] && _.push(o[E]);
|
|
759
|
+
return (o = _).sort((function(N, L) {
|
|
876
760
|
return N.step - L.step;
|
|
877
|
-
}), o;
|
|
761
|
+
})), o;
|
|
878
762
|
}
|
|
879
763
|
function Ot(t, e) {
|
|
880
764
|
var n = t._currentStep;
|
|
881
765
|
if (n != null && n != -1) {
|
|
882
|
-
var o = t._introItems[n],
|
|
883
|
-
R(t, o,
|
|
766
|
+
var o = t._introItems[n], r = document.querySelector(".introjs-tooltipReferenceLayer"), i = document.querySelector(".introjs-helperLayer"), s = document.querySelector(".introjs-disableInteraction");
|
|
767
|
+
R(t, o, i), R(t, o, r), R(t, o, s), e && (t._introItems = Dt(t, t._targetElement), (function(p, l) {
|
|
884
768
|
if (p._options.showBullets) {
|
|
885
769
|
var u = document.querySelector(".introjs-bullets");
|
|
886
770
|
u && u.parentNode && u.parentNode.replaceChild(xt(p, l), u);
|
|
887
771
|
}
|
|
888
|
-
}(t, o), Bt(
|
|
772
|
+
})(t, o), Bt(r, n, t._introItems.length));
|
|
889
773
|
var a = document.querySelector(".introjs-arrow"), c = document.querySelector(".introjs-tooltip");
|
|
890
|
-
return c && a &&
|
|
774
|
+
return c && a && it(t, t._introItems[n], c, a), ct(t), t;
|
|
891
775
|
}
|
|
892
776
|
}
|
|
893
777
|
function Ht(t) {
|
|
@@ -896,75 +780,72 @@ function Ht(t) {
|
|
|
896
780
|
function U(t, e) {
|
|
897
781
|
if (e === void 0 && (e = !1), t && t.parentElement) {
|
|
898
782
|
var n = t.parentElement;
|
|
899
|
-
e ? (H(t, { opacity: "0" }), window.setTimeout(function() {
|
|
783
|
+
e ? (H(t, { opacity: "0" }), window.setTimeout((function() {
|
|
900
784
|
try {
|
|
901
785
|
n.removeChild(t);
|
|
902
786
|
} catch (o) {
|
|
903
787
|
}
|
|
904
|
-
}, 500)) : n.removeChild(t);
|
|
788
|
+
}), 500)) : n.removeChild(t);
|
|
905
789
|
}
|
|
906
790
|
}
|
|
907
|
-
function
|
|
908
|
-
return n === void 0 && (n = !1),
|
|
909
|
-
var o,
|
|
910
|
-
return g(this, function(a) {
|
|
791
|
+
function V(t, e, n) {
|
|
792
|
+
return n === void 0 && (n = !1), m(this, void 0, void 0, (function() {
|
|
793
|
+
var o, r, i, s;
|
|
794
|
+
return g(this, (function(a) {
|
|
911
795
|
switch (a.label) {
|
|
912
796
|
case 0:
|
|
913
797
|
return o = !0, t._introBeforeExitCallback === void 0 ? [3, 2] : [4, t._introBeforeExitCallback.call(t, e)];
|
|
914
798
|
case 1:
|
|
915
799
|
o = a.sent(), a.label = 2;
|
|
916
800
|
case 2:
|
|
917
|
-
if (!n && o === !1)
|
|
918
|
-
|
|
919
|
-
if ((i = Array.from(e.querySelectorAll(".introjs-overlay"))) && i.length)
|
|
920
|
-
for (r = 0, s = i; r < s.length; r++)
|
|
921
|
-
U(s[r]);
|
|
801
|
+
if (!n && o === !1) return [2];
|
|
802
|
+
if ((r = Array.from(e.querySelectorAll(".introjs-overlay"))) && r.length) for (i = 0, s = r; i < s.length; i++) U(s[i]);
|
|
922
803
|
return U(e.querySelector(".introjs-helperLayer"), !0), U(e.querySelector(".introjs-tooltipReferenceLayer")), U(e.querySelector(".introjs-disableInteraction")), U(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];
|
|
923
804
|
case 3:
|
|
924
805
|
a.sent(), a.label = 4;
|
|
925
806
|
case 4:
|
|
926
807
|
return t._currentStep = -1, [2];
|
|
927
808
|
}
|
|
928
|
-
});
|
|
929
|
-
});
|
|
809
|
+
}));
|
|
810
|
+
}));
|
|
930
811
|
}
|
|
931
812
|
function Te(t, e) {
|
|
932
|
-
return
|
|
813
|
+
return m(this, void 0, void 0, (function() {
|
|
933
814
|
var n;
|
|
934
|
-
return g(this, function(o) {
|
|
815
|
+
return g(this, (function(o) {
|
|
935
816
|
switch (o.label) {
|
|
936
817
|
case 0:
|
|
937
818
|
return t.isActive() ? w(t._introStartCallback) ? [4, t._introStartCallback.call(t, e)] : [3, 2] : [2, !1];
|
|
938
819
|
case 1:
|
|
939
820
|
o.sent(), o.label = 2;
|
|
940
821
|
case 2:
|
|
941
|
-
return (n = Dt(t, e)).length === 0 ? [2, !1] : (t._introItems = n, function(
|
|
822
|
+
return (n = Dt(t, e)).length === 0 ? [2, !1] : (t._introItems = n, (function(r, i) {
|
|
942
823
|
var s = this, a = h("div", { className: "introjs-overlay" });
|
|
943
|
-
H(a, { top: 0, bottom: 0, left: 0, right: 0, position: "fixed" }),
|
|
944
|
-
return
|
|
945
|
-
return g(this, function(c) {
|
|
824
|
+
H(a, { top: 0, bottom: 0, left: 0, right: 0, position: "fixed" }), i.appendChild(a), r._options.exitOnOverlayClick === !0 && (H(a, { cursor: "pointer" }), a.onclick = function() {
|
|
825
|
+
return m(s, void 0, void 0, (function() {
|
|
826
|
+
return g(this, (function(c) {
|
|
946
827
|
switch (c.label) {
|
|
947
828
|
case 0:
|
|
948
|
-
return [4,
|
|
829
|
+
return [4, V(r, i)];
|
|
949
830
|
case 1:
|
|
950
831
|
return c.sent(), [2];
|
|
951
832
|
}
|
|
952
|
-
});
|
|
953
|
-
});
|
|
833
|
+
}));
|
|
834
|
+
}));
|
|
954
835
|
});
|
|
955
|
-
}(t, e), [4,
|
|
836
|
+
})(t, e), [4, G(t)]);
|
|
956
837
|
case 3:
|
|
957
838
|
o.sent(), e.addEventListener, t._options.keyboardNavigation && M.on(window, "keydown", Mt, t, !0), M.on(window, "resize", Ht, t, !0), o.label = 4;
|
|
958
839
|
case 4:
|
|
959
840
|
return [2, !1];
|
|
960
841
|
}
|
|
961
|
-
});
|
|
962
|
-
});
|
|
842
|
+
}));
|
|
843
|
+
}));
|
|
963
844
|
}
|
|
964
845
|
function jt(t, e, n) {
|
|
965
846
|
return t[e] = n, t;
|
|
966
847
|
}
|
|
967
|
-
var ht = function() {
|
|
848
|
+
var ht = (function() {
|
|
968
849
|
function t(e) {
|
|
969
850
|
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 };
|
|
970
851
|
}
|
|
@@ -976,222 +857,206 @@ var ht = function() {
|
|
|
976
857
|
}, t.prototype.setOption = function(e, n) {
|
|
977
858
|
return this._options = jt(this._options, e, n), this;
|
|
978
859
|
}, t.prototype.setOptions = function(e) {
|
|
979
|
-
return this._options = function(n, o) {
|
|
980
|
-
for (var
|
|
981
|
-
var s = r
|
|
860
|
+
return this._options = (function(n, o) {
|
|
861
|
+
for (var r = 0, i = Object.entries(o); r < i.length; r++) {
|
|
862
|
+
var s = i[r];
|
|
982
863
|
n = jt(n, s[0], s[1]);
|
|
983
864
|
}
|
|
984
865
|
return n;
|
|
985
|
-
}(this._options, e), this;
|
|
866
|
+
})(this._options, e), this;
|
|
986
867
|
}, t.prototype.start = function() {
|
|
987
|
-
return
|
|
988
|
-
return g(this, function(e) {
|
|
868
|
+
return m(this, void 0, void 0, (function() {
|
|
869
|
+
return g(this, (function(e) {
|
|
989
870
|
switch (e.label) {
|
|
990
871
|
case 0:
|
|
991
872
|
return [4, Te(this, this._targetElement)];
|
|
992
873
|
case 1:
|
|
993
874
|
return e.sent(), [2, this];
|
|
994
875
|
}
|
|
995
|
-
});
|
|
996
|
-
});
|
|
876
|
+
}));
|
|
877
|
+
}));
|
|
997
878
|
}, t.prototype.goToStep = function(e) {
|
|
998
|
-
return
|
|
999
|
-
return g(this, function(n) {
|
|
879
|
+
return m(this, void 0, void 0, (function() {
|
|
880
|
+
return g(this, (function(n) {
|
|
1000
881
|
switch (n.label) {
|
|
1001
882
|
case 0:
|
|
1002
883
|
return [4, Se(this, e)];
|
|
1003
884
|
case 1:
|
|
1004
885
|
return n.sent(), [2, this];
|
|
1005
886
|
}
|
|
1006
|
-
});
|
|
1007
|
-
});
|
|
887
|
+
}));
|
|
888
|
+
}));
|
|
1008
889
|
}, t.prototype.addStep = function(e) {
|
|
1009
890
|
return this._options.steps || (this._options.steps = []), this._options.steps.push(e), this;
|
|
1010
891
|
}, t.prototype.addSteps = function(e) {
|
|
1011
|
-
if (!e.length)
|
|
1012
|
-
|
|
1013
|
-
for (var n = 0; n < e.length; n++)
|
|
1014
|
-
this.addStep(e[n]);
|
|
892
|
+
if (!e.length) return this;
|
|
893
|
+
for (var n = 0; n < e.length; n++) this.addStep(e[n]);
|
|
1015
894
|
return this;
|
|
1016
895
|
}, t.prototype.goToStepNumber = function(e) {
|
|
1017
|
-
return
|
|
1018
|
-
return g(this, function(n) {
|
|
896
|
+
return m(this, void 0, void 0, (function() {
|
|
897
|
+
return g(this, (function(n) {
|
|
1019
898
|
switch (n.label) {
|
|
1020
899
|
case 0:
|
|
1021
|
-
return [4,
|
|
900
|
+
return [4, ke(this, e)];
|
|
1022
901
|
case 1:
|
|
1023
902
|
return n.sent(), [2, this];
|
|
1024
903
|
}
|
|
1025
|
-
});
|
|
1026
|
-
});
|
|
904
|
+
}));
|
|
905
|
+
}));
|
|
1027
906
|
}, t.prototype.nextStep = function() {
|
|
1028
|
-
return
|
|
1029
|
-
return g(this, function(e) {
|
|
907
|
+
return m(this, void 0, void 0, (function() {
|
|
908
|
+
return g(this, (function(e) {
|
|
1030
909
|
switch (e.label) {
|
|
1031
910
|
case 0:
|
|
1032
|
-
return [4,
|
|
911
|
+
return [4, G(this)];
|
|
1033
912
|
case 1:
|
|
1034
913
|
return e.sent(), [2, this];
|
|
1035
914
|
}
|
|
1036
|
-
});
|
|
1037
|
-
});
|
|
915
|
+
}));
|
|
916
|
+
}));
|
|
1038
917
|
}, t.prototype.previousStep = function() {
|
|
1039
|
-
return
|
|
1040
|
-
return g(this, function(e) {
|
|
918
|
+
return m(this, void 0, void 0, (function() {
|
|
919
|
+
return g(this, (function(e) {
|
|
1041
920
|
switch (e.label) {
|
|
1042
921
|
case 0:
|
|
1043
922
|
return [4, st(this)];
|
|
1044
923
|
case 1:
|
|
1045
924
|
return e.sent(), [2, this];
|
|
1046
925
|
}
|
|
1047
|
-
});
|
|
1048
|
-
});
|
|
926
|
+
}));
|
|
927
|
+
}));
|
|
1049
928
|
}, t.prototype.currentStep = function() {
|
|
1050
929
|
return this._currentStep;
|
|
1051
930
|
}, t.prototype.exit = function(e) {
|
|
1052
|
-
return
|
|
1053
|
-
return g(this, function(n) {
|
|
931
|
+
return m(this, void 0, void 0, (function() {
|
|
932
|
+
return g(this, (function(n) {
|
|
1054
933
|
switch (n.label) {
|
|
1055
934
|
case 0:
|
|
1056
|
-
return [4,
|
|
935
|
+
return [4, V(this, this._targetElement, e)];
|
|
1057
936
|
case 1:
|
|
1058
937
|
return n.sent(), [2, this];
|
|
1059
938
|
}
|
|
1060
|
-
});
|
|
1061
|
-
});
|
|
939
|
+
}));
|
|
940
|
+
}));
|
|
1062
941
|
}, t.prototype.refresh = function(e) {
|
|
1063
942
|
return Ot(this, e), this;
|
|
1064
943
|
}, t.prototype.setDontShowAgain = function(e) {
|
|
1065
944
|
return _e(this, e), this;
|
|
1066
945
|
}, t.prototype.onbeforechange = function(e) {
|
|
1067
|
-
if (!w(e))
|
|
1068
|
-
throw new Error("Provided callback for onbeforechange was not a function");
|
|
946
|
+
if (!w(e)) throw new Error("Provided callback for onbeforechange was not a function");
|
|
1069
947
|
return this._introBeforeChangeCallback = e, this;
|
|
1070
948
|
}, t.prototype.onchange = function(e) {
|
|
1071
|
-
if (!w(e))
|
|
1072
|
-
throw new Error("Provided callback for onchange was not a function.");
|
|
949
|
+
if (!w(e)) throw new Error("Provided callback for onchange was not a function.");
|
|
1073
950
|
return this._introChangeCallback = e, this;
|
|
1074
951
|
}, t.prototype.onafterchange = function(e) {
|
|
1075
|
-
if (!w(e))
|
|
1076
|
-
throw new Error("Provided callback for onafterchange was not a function");
|
|
952
|
+
if (!w(e)) throw new Error("Provided callback for onafterchange was not a function");
|
|
1077
953
|
return this._introAfterChangeCallback = e, this;
|
|
1078
954
|
}, t.prototype.oncomplete = function(e) {
|
|
1079
|
-
if (!w(e))
|
|
1080
|
-
throw new Error("Provided callback for oncomplete was not a function.");
|
|
955
|
+
if (!w(e)) throw new Error("Provided callback for oncomplete was not a function.");
|
|
1081
956
|
return this._introCompleteCallback = e, this;
|
|
1082
957
|
}, t.prototype.onhintsadded = function(e) {
|
|
1083
|
-
if (!w(e))
|
|
1084
|
-
throw new Error("Provided callback for onhintsadded was not a function.");
|
|
958
|
+
if (!w(e)) throw new Error("Provided callback for onhintsadded was not a function.");
|
|
1085
959
|
return this._hintsAddedCallback = e, this;
|
|
1086
960
|
}, t.prototype.onhintclick = function(e) {
|
|
1087
|
-
if (!w(e))
|
|
1088
|
-
throw new Error("Provided callback for onhintclick was not a function.");
|
|
961
|
+
if (!w(e)) throw new Error("Provided callback for onhintclick was not a function.");
|
|
1089
962
|
return this._hintClickCallback = e, this;
|
|
1090
963
|
}, t.prototype.onhintclose = function(e) {
|
|
1091
|
-
if (!w(e))
|
|
1092
|
-
throw new Error("Provided callback for onhintclose was not a function.");
|
|
964
|
+
if (!w(e)) throw new Error("Provided callback for onhintclose was not a function.");
|
|
1093
965
|
return this._hintCloseCallback = e, this;
|
|
1094
966
|
}, t.prototype.onstart = function(e) {
|
|
1095
|
-
if (!w(e))
|
|
1096
|
-
throw new Error("Provided callback for onstart was not a function.");
|
|
967
|
+
if (!w(e)) throw new Error("Provided callback for onstart was not a function.");
|
|
1097
968
|
return this._introStartCallback = e, this;
|
|
1098
969
|
}, t.prototype.onexit = function(e) {
|
|
1099
|
-
if (!w(e))
|
|
1100
|
-
throw new Error("Provided callback for onexit was not a function.");
|
|
970
|
+
if (!w(e)) throw new Error("Provided callback for onexit was not a function.");
|
|
1101
971
|
return this._introExitCallback = e, this;
|
|
1102
972
|
}, t.prototype.onskip = function(e) {
|
|
1103
|
-
if (!w(e))
|
|
1104
|
-
throw new Error("Provided callback for onskip was not a function.");
|
|
973
|
+
if (!w(e)) throw new Error("Provided callback for onskip was not a function.");
|
|
1105
974
|
return this._introSkipCallback = e, this;
|
|
1106
975
|
}, t.prototype.onbeforeexit = function(e) {
|
|
1107
|
-
if (!w(e))
|
|
1108
|
-
throw new Error("Provided callback for onbeforeexit was not a function.");
|
|
976
|
+
if (!w(e)) throw new Error("Provided callback for onbeforeexit was not a function.");
|
|
1109
977
|
return this._introBeforeExitCallback = e, this;
|
|
1110
978
|
}, t.prototype.addHints = function() {
|
|
1111
|
-
return
|
|
1112
|
-
return g(this, function(e) {
|
|
979
|
+
return m(this, void 0, void 0, (function() {
|
|
980
|
+
return g(this, (function(e) {
|
|
1113
981
|
switch (e.label) {
|
|
1114
982
|
case 0:
|
|
1115
983
|
return [4, Pt(this, this._targetElement)];
|
|
1116
984
|
case 1:
|
|
1117
985
|
return e.sent(), [2, this];
|
|
1118
986
|
}
|
|
1119
|
-
});
|
|
1120
|
-
});
|
|
987
|
+
}));
|
|
988
|
+
}));
|
|
1121
989
|
}, t.prototype.hideHint = function(e) {
|
|
1122
|
-
return
|
|
1123
|
-
return g(this, function(n) {
|
|
990
|
+
return m(this, void 0, void 0, (function() {
|
|
991
|
+
return g(this, (function(n) {
|
|
1124
992
|
switch (n.label) {
|
|
1125
993
|
case 0:
|
|
1126
994
|
return [4, wt(this, e)];
|
|
1127
995
|
case 1:
|
|
1128
996
|
return n.sent(), [2, this];
|
|
1129
997
|
}
|
|
1130
|
-
});
|
|
1131
|
-
});
|
|
998
|
+
}));
|
|
999
|
+
}));
|
|
1132
1000
|
}, t.prototype.hideHints = function() {
|
|
1133
|
-
return
|
|
1134
|
-
return g(this, function(e) {
|
|
1001
|
+
return m(this, void 0, void 0, (function() {
|
|
1002
|
+
return g(this, (function(e) {
|
|
1135
1003
|
switch (e.label) {
|
|
1136
1004
|
case 0:
|
|
1137
|
-
return [4,
|
|
1005
|
+
return [4, Ae(this)];
|
|
1138
1006
|
case 1:
|
|
1139
1007
|
return e.sent(), [2, this];
|
|
1140
1008
|
}
|
|
1141
|
-
});
|
|
1142
|
-
});
|
|
1009
|
+
}));
|
|
1010
|
+
}));
|
|
1143
1011
|
}, t.prototype.showHint = function(e) {
|
|
1144
1012
|
return Lt(e), this;
|
|
1145
1013
|
}, t.prototype.showHints = function() {
|
|
1146
|
-
return
|
|
1147
|
-
return g(this, function(e) {
|
|
1014
|
+
return m(this, void 0, void 0, (function() {
|
|
1015
|
+
return g(this, (function(e) {
|
|
1148
1016
|
switch (e.label) {
|
|
1149
1017
|
case 0:
|
|
1150
1018
|
return [4, je(this)];
|
|
1151
1019
|
case 1:
|
|
1152
1020
|
return e.sent(), [2, this];
|
|
1153
1021
|
}
|
|
1154
|
-
});
|
|
1155
|
-
});
|
|
1022
|
+
}));
|
|
1023
|
+
}));
|
|
1156
1024
|
}, t.prototype.removeHints = function() {
|
|
1157
|
-
return function(e) {
|
|
1025
|
+
return (function(e) {
|
|
1158
1026
|
for (var n = 0, o = K(".introjs-hint"); n < o.length; n++) {
|
|
1159
|
-
var
|
|
1160
|
-
|
|
1027
|
+
var r = o[n].getAttribute("data-step");
|
|
1028
|
+
r && At(parseInt(r, 10));
|
|
1161
1029
|
}
|
|
1162
1030
|
M.off(document, "click", lt, e, !1), M.off(window, "resize", ct, e, !0), e._hintsAutoRefreshFunction && M.off(window, "scroll", e._hintsAutoRefreshFunction, e, !0);
|
|
1163
|
-
}(this), this;
|
|
1031
|
+
})(this), this;
|
|
1164
1032
|
}, t.prototype.removeHint = function(e) {
|
|
1165
|
-
return
|
|
1033
|
+
return At(e), this;
|
|
1166
1034
|
}, t.prototype.showHintDialog = function(e) {
|
|
1167
|
-
return
|
|
1168
|
-
return g(this, function(n) {
|
|
1035
|
+
return m(this, void 0, void 0, (function() {
|
|
1036
|
+
return g(this, (function(n) {
|
|
1169
1037
|
switch (n.label) {
|
|
1170
1038
|
case 0:
|
|
1171
1039
|
return [4, Rt(this, e)];
|
|
1172
1040
|
case 1:
|
|
1173
1041
|
return n.sent(), [2, this];
|
|
1174
1042
|
}
|
|
1175
|
-
});
|
|
1176
|
-
});
|
|
1043
|
+
}));
|
|
1044
|
+
}));
|
|
1177
1045
|
}, t;
|
|
1178
|
-
}(),
|
|
1046
|
+
})(), mt = function t(e) {
|
|
1179
1047
|
var n;
|
|
1180
|
-
if (
|
|
1181
|
-
n = new ht(e);
|
|
1048
|
+
if (rt(e) === "object") n = new ht(e);
|
|
1182
1049
|
else if (typeof e == "string") {
|
|
1183
1050
|
var o = document.querySelector(e);
|
|
1184
|
-
if (!o)
|
|
1185
|
-
throw new Error("There is no element with given selector.");
|
|
1051
|
+
if (!o) throw new Error("There is no element with given selector.");
|
|
1186
1052
|
n = new ht(o);
|
|
1187
|
-
} else
|
|
1188
|
-
|
|
1189
|
-
return t.instances[mt(n, "introjs-instance")] = n, n;
|
|
1053
|
+
} else n = new ht(document.body);
|
|
1054
|
+
return t.instances[ft(n, "introjs-instance")] = n, n;
|
|
1190
1055
|
};
|
|
1191
|
-
|
|
1056
|
+
mt.version = "7.2.0", mt.instances = {};
|
|
1192
1057
|
const Ne = () => {
|
|
1193
|
-
const { prefixVar: t } = be(""), e = D(`${t}-online-aiCreateTable`), n = D(`${t}-online-newAddBtn`), o = D(`${t}-online-customBtn`),
|
|
1194
|
-
let u =
|
|
1058
|
+
const { prefixVar: t } = be(""), e = D(`${t}-online-aiCreateTable`), n = D(`${t}-online-newAddBtn`), o = D(`${t}-online-customBtn`), r = D(`${t}-online-enhanceJsBtn`), i = D(`${t}-online-enhanceSqlBtn`), s = D(`${t}-online-enhanceJavaBtn`), a = D(`${t}-online-exportDbBtn`), c = D(`${t}-online-codeGenerator`), p = `${t}-online-guide`, l = () => {
|
|
1059
|
+
let u = mt();
|
|
1195
1060
|
u.setOptions({
|
|
1196
1061
|
nextLabel: "下一步",
|
|
1197
1062
|
prevLabel: "上一步",
|
|
@@ -1228,12 +1093,12 @@ const Ne = () => {
|
|
|
1228
1093
|
},
|
|
1229
1094
|
{
|
|
1230
1095
|
title: "JS强增",
|
|
1231
|
-
element: document.querySelector(`.${
|
|
1096
|
+
element: document.querySelector(`.${r.value}`),
|
|
1232
1097
|
intro: '选中一条记录,通过js增强可为<strong>"自定义按钮"</strong>添加不同操作,可操作列表和表单数据等,也可以添加表单前置事件。'
|
|
1233
1098
|
},
|
|
1234
1099
|
{
|
|
1235
1100
|
title: "SQL增强",
|
|
1236
|
-
element: document.querySelector(`.${
|
|
1101
|
+
element: document.querySelector(`.${i.value}`),
|
|
1237
1102
|
intro: "选中一条记录,通过增强SQL,可以关联修改业务数据。"
|
|
1238
1103
|
},
|
|
1239
1104
|
{
|
|
@@ -1256,8 +1121,8 @@ const Ne = () => {
|
|
|
1256
1121
|
}), {
|
|
1257
1122
|
newAddBtn: n,
|
|
1258
1123
|
customBtn: o,
|
|
1259
|
-
enhanceJsBtn:
|
|
1260
|
-
enhanceSqlBtn:
|
|
1124
|
+
enhanceJsBtn: r,
|
|
1125
|
+
enhanceSqlBtn: i,
|
|
1261
1126
|
exportDbBtn: a,
|
|
1262
1127
|
enhanceJavaBtn: s,
|
|
1263
1128
|
codeGeneratorBtn: c,
|
|
@@ -1266,12 +1131,12 @@ const Ne = () => {
|
|
|
1266
1131
|
}, xe = ve(), { createMessage: Be } = ye(), Ie = Xt({
|
|
1267
1132
|
name: "CgformIndex",
|
|
1268
1133
|
components: {
|
|
1269
|
-
BasicTable:
|
|
1270
|
-
TableAction:
|
|
1134
|
+
BasicTable: ee,
|
|
1135
|
+
TableAction: te,
|
|
1271
1136
|
CgformModal: ne,
|
|
1272
1137
|
DbToOnlineModal: oe,
|
|
1273
|
-
CodeGeneratorModal:
|
|
1274
|
-
CustomButtonList:
|
|
1138
|
+
CodeGeneratorModal: re,
|
|
1139
|
+
CustomButtonList: ie,
|
|
1275
1140
|
EnhanceJsModal: se,
|
|
1276
1141
|
EnhanceJavaModal: ae,
|
|
1277
1142
|
EnhanceSqlModal: le,
|
|
@@ -1286,15 +1151,15 @@ const Ne = () => {
|
|
|
1286
1151
|
onAdd: e,
|
|
1287
1152
|
onAiCreateTable: n,
|
|
1288
1153
|
onSuccess: o,
|
|
1289
|
-
onCreateAiTable:
|
|
1290
|
-
onDeleteBatch:
|
|
1154
|
+
onCreateAiTable: r,
|
|
1155
|
+
onDeleteBatch: i,
|
|
1291
1156
|
onImportDbTable: s,
|
|
1292
1157
|
onGenerateCode: a,
|
|
1293
1158
|
onShowCustomButton: c,
|
|
1294
1159
|
onShowEnhanceJs: p,
|
|
1295
1160
|
onShowEnhanceSql: l,
|
|
1296
1161
|
onShowEnhanceJava: u,
|
|
1297
|
-
getTableAction:
|
|
1162
|
+
getTableAction: f,
|
|
1298
1163
|
getDropDownAction: b,
|
|
1299
1164
|
registerAuthManagerDrawer: y,
|
|
1300
1165
|
registerAuthSetterModal: C,
|
|
@@ -1304,16 +1169,16 @@ const Ne = () => {
|
|
|
1304
1169
|
registerEnhanceJavaModal: L,
|
|
1305
1170
|
registerCgformModal: x,
|
|
1306
1171
|
registerDbToOnlineModal: P,
|
|
1307
|
-
registerCodeGeneratorModal:
|
|
1172
|
+
registerCodeGeneratorModal: F,
|
|
1308
1173
|
registerAiToOnlineModal: z,
|
|
1309
1174
|
registerAddressModal: T,
|
|
1310
1175
|
tableRef: W
|
|
1311
1176
|
} = he({
|
|
1312
|
-
pageType:
|
|
1177
|
+
pageType: fe.normal,
|
|
1313
1178
|
designScope: "online-cgform-list",
|
|
1314
|
-
columns:
|
|
1315
|
-
formSchemas:
|
|
1316
|
-
}), { prefixCls: X, tableContext: J } = t, [d, { reload:
|
|
1179
|
+
columns: ge,
|
|
1180
|
+
formSchemas: me
|
|
1181
|
+
}), { prefixCls: X, tableContext: J } = t, [d, { reload: k }, { rowSelection: A, selectedRowKeys: $ }] = J, Q = xe.get("code.genenrate.success.msg");
|
|
1317
1182
|
Q && Be.success({
|
|
1318
1183
|
content: Q,
|
|
1319
1184
|
duration: 10
|
|
@@ -1322,30 +1187,30 @@ const Ne = () => {
|
|
|
1322
1187
|
const {
|
|
1323
1188
|
newAddBtn: Jt,
|
|
1324
1189
|
customBtn: $t,
|
|
1325
|
-
enhanceJsBtn:
|
|
1326
|
-
enhanceSqlBtn:
|
|
1327
|
-
exportDbBtn:
|
|
1190
|
+
enhanceJsBtn: Gt,
|
|
1191
|
+
enhanceSqlBtn: Vt,
|
|
1192
|
+
exportDbBtn: Ft,
|
|
1328
1193
|
enhanceJavaBtn: zt,
|
|
1329
1194
|
codeGeneratorBtn: Wt,
|
|
1330
1195
|
aiCreateTable: Yt
|
|
1331
1196
|
} = Ne();
|
|
1332
1197
|
return {
|
|
1333
1198
|
prefixCls: X,
|
|
1334
|
-
reload:
|
|
1335
|
-
rowSelection:
|
|
1199
|
+
reload: k,
|
|
1200
|
+
rowSelection: A,
|
|
1336
1201
|
selectedRowKeys: $,
|
|
1337
1202
|
onAdd: e,
|
|
1338
1203
|
onAiCreateTable: n,
|
|
1339
1204
|
onSuccess: o,
|
|
1340
|
-
onDeleteBatch:
|
|
1205
|
+
onDeleteBatch: i,
|
|
1341
1206
|
onImportDbTable: s,
|
|
1342
1207
|
onGenerateCode: a,
|
|
1343
1208
|
onShowCustomButton: c,
|
|
1344
1209
|
onShowEnhanceJs: p,
|
|
1345
1210
|
onShowEnhanceSql: l,
|
|
1346
1211
|
onShowEnhanceJava: u,
|
|
1347
|
-
onCreateAiTable:
|
|
1348
|
-
getTableAction:
|
|
1212
|
+
onCreateAiTable: r,
|
|
1213
|
+
getTableAction: f,
|
|
1349
1214
|
getDropDownAction: b,
|
|
1350
1215
|
registerAuthManagerDrawer: y,
|
|
1351
1216
|
registerAuthSetterModal: C,
|
|
@@ -1356,15 +1221,15 @@ const Ne = () => {
|
|
|
1356
1221
|
registerTable: d,
|
|
1357
1222
|
registerCgformModal: x,
|
|
1358
1223
|
registerDbToOnlineModal: P,
|
|
1359
|
-
registerCodeGeneratorModal:
|
|
1224
|
+
registerCodeGeneratorModal: F,
|
|
1360
1225
|
registerAiToOnlineModal: z,
|
|
1361
1226
|
registerAddressModal: T,
|
|
1362
1227
|
newAddBtn: Jt,
|
|
1363
1228
|
customBtn: $t,
|
|
1364
|
-
enhanceJsBtn:
|
|
1365
|
-
enhanceSqlBtn:
|
|
1229
|
+
enhanceJsBtn: Gt,
|
|
1230
|
+
enhanceSqlBtn: Vt,
|
|
1366
1231
|
enhanceJavaBtn: zt,
|
|
1367
|
-
exportDbBtn:
|
|
1232
|
+
exportDbBtn: Ft,
|
|
1368
1233
|
codeGeneratorBtn: Wt,
|
|
1369
1234
|
aiCreateTable: Yt,
|
|
1370
1235
|
tableRef: W
|
|
@@ -1377,13 +1242,13 @@ const Ne = () => {
|
|
|
1377
1242
|
key: 1,
|
|
1378
1243
|
style: { color: "red" }
|
|
1379
1244
|
};
|
|
1380
|
-
function qe(t, e, n, o,
|
|
1381
|
-
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"),
|
|
1245
|
+
function qe(t, e, n, o, r, i) {
|
|
1246
|
+
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"), f = 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"), F = S("AiModal"), z = S("CgformAddressModal");
|
|
1382
1247
|
return tt(), ut(Qt, null, [
|
|
1383
1248
|
pt("div", {
|
|
1384
1249
|
class: q(t.prefixCls)
|
|
1385
1250
|
}, [
|
|
1386
|
-
v(
|
|
1251
|
+
v(f, Ut({
|
|
1387
1252
|
ref: "tableRef",
|
|
1388
1253
|
onRegister: t.registerTable,
|
|
1389
1254
|
rowSelection: t.rowSelection
|
|
@@ -1395,9 +1260,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1395
1260
|
type: "primary",
|
|
1396
1261
|
preIcon: "ant-design:plus"
|
|
1397
1262
|
}, {
|
|
1398
|
-
default: j(() => e[0] || (e[0] = [
|
|
1399
|
-
O("新增")
|
|
1400
|
-
])),
|
|
1263
|
+
default: j(() => [...e[0] || (e[0] = [
|
|
1264
|
+
O("新增", -1)
|
|
1265
|
+
])]),
|
|
1401
1266
|
_: 1
|
|
1402
1267
|
}, 8, ["class", "onClick"]),
|
|
1403
1268
|
v(s, {
|
|
@@ -1406,9 +1271,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1406
1271
|
type: "primary",
|
|
1407
1272
|
preIcon: "ant-design:plus"
|
|
1408
1273
|
}, {
|
|
1409
|
-
default: j(() => e[1] || (e[1] = [
|
|
1410
|
-
O("AI建表")
|
|
1411
|
-
])),
|
|
1274
|
+
default: j(() => [...e[1] || (e[1] = [
|
|
1275
|
+
O("AI建表", -1)
|
|
1276
|
+
])]),
|
|
1412
1277
|
_: 1
|
|
1413
1278
|
}, 8, ["class", "onClick"]),
|
|
1414
1279
|
v(s, {
|
|
@@ -1417,9 +1282,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1417
1282
|
type: "primary",
|
|
1418
1283
|
preIcon: "ant-design:highlight"
|
|
1419
1284
|
}, {
|
|
1420
|
-
default: j(() => e[2] || (e[2] = [
|
|
1421
|
-
O("自定义按钮")
|
|
1422
|
-
])),
|
|
1285
|
+
default: j(() => [...e[2] || (e[2] = [
|
|
1286
|
+
O("自定义按钮", -1)
|
|
1287
|
+
])]),
|
|
1423
1288
|
_: 1
|
|
1424
1289
|
}, 8, ["class", "onClick"]),
|
|
1425
1290
|
v(s, {
|
|
@@ -1428,9 +1293,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1428
1293
|
type: "primary",
|
|
1429
1294
|
preIcon: "ant-design:strikethrough"
|
|
1430
1295
|
}, {
|
|
1431
|
-
default: j(() => e[3] || (e[3] = [
|
|
1432
|
-
O("JS增强")
|
|
1433
|
-
])),
|
|
1296
|
+
default: j(() => [...e[3] || (e[3] = [
|
|
1297
|
+
O("JS增强", -1)
|
|
1298
|
+
])]),
|
|
1434
1299
|
_: 1
|
|
1435
1300
|
}, 8, ["class", "onClick"]),
|
|
1436
1301
|
v(s, {
|
|
@@ -1439,9 +1304,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1439
1304
|
type: "primary",
|
|
1440
1305
|
preIcon: "ant-design:filter"
|
|
1441
1306
|
}, {
|
|
1442
|
-
default: j(() => e[4] || (e[4] = [
|
|
1443
|
-
O(" SQL增强 ")
|
|
1444
|
-
])),
|
|
1307
|
+
default: j(() => [...e[4] || (e[4] = [
|
|
1308
|
+
O(" SQL增强 ", -1)
|
|
1309
|
+
])]),
|
|
1445
1310
|
_: 1
|
|
1446
1311
|
}, 8, ["class", "onClick"]),
|
|
1447
1312
|
v(s, {
|
|
@@ -1450,9 +1315,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1450
1315
|
type: "primary",
|
|
1451
1316
|
preIcon: "ant-design:tool"
|
|
1452
1317
|
}, {
|
|
1453
|
-
default: j(() => e[5] || (e[5] = [
|
|
1454
|
-
O("JAVA增强")
|
|
1455
|
-
])),
|
|
1318
|
+
default: j(() => [...e[5] || (e[5] = [
|
|
1319
|
+
O("JAVA增强", -1)
|
|
1320
|
+
])]),
|
|
1456
1321
|
_: 1
|
|
1457
1322
|
}, 8, ["class", "onClick"]),
|
|
1458
1323
|
v(s, {
|
|
@@ -1461,9 +1326,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1461
1326
|
type: "primary",
|
|
1462
1327
|
preIcon: "ant-design:database"
|
|
1463
1328
|
}, {
|
|
1464
|
-
default: j(() => e[6] || (e[6] = [
|
|
1465
|
-
O("导入数据库表")
|
|
1466
|
-
])),
|
|
1329
|
+
default: j(() => [...e[6] || (e[6] = [
|
|
1330
|
+
O("导入数据库表", -1)
|
|
1331
|
+
])]),
|
|
1467
1332
|
_: 1
|
|
1468
1333
|
}, 8, ["class", "onClick"]),
|
|
1469
1334
|
v(s, {
|
|
@@ -1472,9 +1337,9 @@ function qe(t, e, n, o, i, r) {
|
|
|
1472
1337
|
type: "primary",
|
|
1473
1338
|
preIcon: "bx:bx-code-alt"
|
|
1474
1339
|
}, {
|
|
1475
|
-
default: j(() => e[7] || (e[7] = [
|
|
1476
|
-
O(" 代码生成 ")
|
|
1477
|
-
])),
|
|
1340
|
+
default: j(() => [...e[7] || (e[7] = [
|
|
1341
|
+
O(" 代码生成 ", -1)
|
|
1342
|
+
])]),
|
|
1478
1343
|
_: 1
|
|
1479
1344
|
}, 8, ["class", "onClick"]),
|
|
1480
1345
|
t.selectedRowKeys.length > 0 ? (tt(), Zt(l, { key: 0 }, {
|
|
@@ -1535,14 +1400,14 @@ function qe(t, e, n, o, i, r) {
|
|
|
1535
1400
|
v(L, { onRegister: t.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
|
|
1536
1401
|
v(x, { onRegister: t.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
|
|
1537
1402
|
v(P, { onRegister: t.registerAuthSetterModal }, null, 8, ["onRegister"]),
|
|
1538
|
-
v(
|
|
1403
|
+
v(F, {
|
|
1539
1404
|
onRegister: t.registerAiToOnlineModal,
|
|
1540
1405
|
onSuccess: t.onCreateAiTable
|
|
1541
1406
|
}, null, 8, ["onRegister", "onSuccess"]),
|
|
1542
1407
|
v(z, { onRegister: t.registerAddressModal }, null, 8, ["onRegister"])
|
|
1543
1408
|
], 64);
|
|
1544
1409
|
}
|
|
1545
|
-
const
|
|
1410
|
+
const en = /* @__PURE__ */ we(Ie, [["render", qe]]);
|
|
1546
1411
|
export {
|
|
1547
|
-
|
|
1412
|
+
en as default
|
|
1548
1413
|
};
|