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