@esri/solutions-components 1.2.0-next.3 → 1.2.0-next.30
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/README.md +2 -59
- package/dist/assets/config/appConfig.json.d.ts +2 -0
- package/dist/cdn/24DMHUEK.js +4 -0
- package/dist/cdn/25MYRWPK.js +4 -0
- package/dist/cdn/277565E7.js +4 -0
- package/dist/cdn/2776LBZR.js +18 -0
- package/dist/cdn/27GKKFQI.js +18 -0
- package/dist/cdn/2DKKN6C2.js +4 -0
- package/dist/cdn/2GFXYPLE.js +18 -0
- package/dist/cdn/2GMVKD6U.js +4 -0
- package/dist/cdn/2HXRWLJY.js +4 -0
- package/dist/cdn/2IKATLLY.js +4 -0
- package/dist/cdn/2PW6ABS2.js +4 -0
- package/dist/cdn/2RHNGWV3.js +4 -0
- package/dist/cdn/2U7L5PBM.js +4 -0
- package/dist/cdn/2YRUPZI2.js +4 -0
- package/dist/cdn/2ZIO725Y.js +4 -0
- package/dist/cdn/346BLCF2.js +4 -0
- package/dist/cdn/34PDVGEI.js +4 -0
- package/dist/cdn/36VKRU3A.js +4 -0
- package/dist/cdn/3CSYZLTP.js +18 -0
- package/dist/cdn/3FWMXAKG.js +4 -0
- package/dist/cdn/3FYPCIOV.js +4 -0
- package/dist/cdn/3ICH54JL.js +18 -0
- package/dist/cdn/3JCJJ2GF.js +5 -0
- package/dist/cdn/3VWHKZED.js +4 -0
- package/dist/cdn/3WDCAEUK.js +4 -0
- package/dist/cdn/3Z6YZFUQ.js +4 -0
- package/dist/cdn/47L5OVTL.js +18 -0
- package/dist/cdn/4ETQSIFF.js +4 -0
- package/dist/cdn/4EXGNBXW.js +4 -0
- package/dist/cdn/4R3HMKHB.js +4 -0
- package/dist/cdn/4SKQUXSZ.js +4 -0
- package/dist/cdn/4T73N7V2.js +4 -0
- package/dist/cdn/4U3FPTF5.js +4 -0
- package/dist/cdn/5AWDPORB.js +18 -0
- package/dist/cdn/5HZVV4CF.js +4 -0
- package/dist/cdn/5LKRTP4M.js +4 -0
- package/dist/cdn/5MKH7FO7.js +18 -0
- package/dist/cdn/5NTV25EH.js +4 -0
- package/dist/cdn/5PWFCMK4.js +4 -0
- package/dist/cdn/5QGNITLO.js +4 -0
- package/dist/cdn/63WA56NY.js +4 -0
- package/dist/cdn/65GKVZWM.js +4 -0
- package/dist/cdn/65ZZ77SE.js +4 -0
- package/dist/cdn/6DCWHIG6.js +4 -0
- package/dist/cdn/6FNOQGIZ.js +4 -0
- package/dist/cdn/6M575VM5.js +4 -0
- package/dist/cdn/6NKXBHT3.js +4 -0
- package/dist/cdn/6QXC35GC.js +18 -0
- package/dist/cdn/6RA3RUIS.js +4 -0
- package/dist/cdn/6TAASZPW.js +18 -0
- package/dist/cdn/6YD2HBWD.js +18 -0
- package/dist/cdn/72SAT2FH.js +4 -0
- package/dist/cdn/72XEQTIF.js +4 -0
- package/dist/cdn/74G765B3.js +4 -0
- package/dist/cdn/7F6JTIWK.js +4 -0
- package/dist/cdn/7HFPD7CI.js +4 -0
- package/dist/cdn/7NHT4ID4.js +4 -0
- package/dist/cdn/7QLGF5J6.js +4 -0
- package/dist/cdn/7S7DGB25.js +18 -0
- package/dist/cdn/7VMUOYRC.js +4 -0
- package/dist/cdn/ABDQSCIZ.js +18 -0
- package/dist/cdn/AE6H6ELK.js +4 -0
- package/dist/cdn/AK4FP6HL.js +4 -0
- package/dist/cdn/ASR3PHZX.js +4 -0
- package/dist/cdn/AT2K2TZK.js +4 -0
- package/dist/cdn/AUZIEPJY.js +25 -0
- package/dist/cdn/AWBOSR4C.js +4 -0
- package/dist/cdn/AXOVLMEZ.js +4 -0
- package/dist/cdn/AZCLMDQA.js +4 -0
- package/dist/cdn/B4GTYQZH.js +4 -0
- package/dist/cdn/B4OV3LHY.js +4 -0
- package/dist/cdn/B7ALYLRG.js +4 -0
- package/dist/cdn/B7RCE3HL.js +21 -0
- package/dist/cdn/B7V66ZZG.js +4 -0
- package/dist/cdn/BBIGCWRV.js +4 -0
- package/dist/cdn/BDJVTVGV.js +4 -0
- package/dist/cdn/BHDNLSI7.js +4 -0
- package/dist/cdn/BMYOJ35W.js +4 -0
- package/dist/cdn/BPOQYDR5.js +4 -0
- package/dist/cdn/BPXPCMXX.js +18 -0
- package/dist/cdn/BTBWYAZW.js +18 -0
- package/dist/cdn/BUF25CTJ.js +4 -0
- package/dist/cdn/BV53Z64R.js +4 -0
- package/dist/cdn/BX56GQJM.js +4 -0
- package/dist/cdn/C4AGRX46.js +18 -0
- package/dist/cdn/C6XXEAWS.js +4 -0
- package/dist/cdn/CAC5OPSW.js +4 -0
- package/dist/cdn/CEUB4OXF.js +4 -0
- package/dist/cdn/CNZTLIB3.js +4 -0
- package/dist/cdn/CP4HACAH.js +4 -0
- package/dist/cdn/CQKXZVLC.js +4 -0
- package/dist/cdn/CUAZD4LK.js +4 -0
- package/dist/cdn/CYDNA2QI.js +4 -0
- package/dist/cdn/D2D2CPBJ.js +4 -0
- package/dist/cdn/D465QWTQ.js +4 -0
- package/dist/cdn/DFEHZSKJ.js +4 -0
- package/dist/cdn/DLDZLA7R.js +18 -0
- package/dist/cdn/DOUPRF5M.js +18 -0
- package/dist/cdn/DPZVQEH4.js +4 -0
- package/dist/cdn/DTHSN36M.js +4 -0
- package/dist/cdn/DUBCPEXD.js +4 -0
- package/dist/cdn/DUH2FCJG.js +4 -0
- package/dist/cdn/E6CHHVGK.js +4 -0
- package/dist/cdn/EB2JKK3D.js +4 -0
- package/dist/cdn/ECGNRFQC.js +4 -0
- package/dist/cdn/ECKEIM2Y.js +4 -0
- package/dist/cdn/EDB5QBJ4.js +4 -0
- package/dist/cdn/EGM522HI.js +4 -0
- package/dist/cdn/EHZVBSNG.js +4 -0
- package/dist/cdn/EIY2RNYU.js +18 -0
- package/dist/cdn/EORDZOGU.js +18 -0
- package/dist/cdn/EVNTAGJW.js +4 -0
- package/dist/cdn/EVNUKA47.js +4 -0
- package/dist/cdn/EZU7FJ4I.js +18 -0
- package/dist/cdn/F2EIQ3EO.js +4 -0
- package/dist/cdn/F2QEERVM.js +18 -0
- package/dist/cdn/F5Z37SAY.js +4 -0
- package/dist/cdn/F6BFZHUG.js +4 -0
- package/dist/cdn/FA3IKFAL.js +4 -0
- package/dist/cdn/FDUPZ25R.js +18 -0
- package/dist/cdn/FEWO73EQ.js +4 -0
- package/dist/cdn/FG6WOVWI.js +18 -0
- package/dist/cdn/FKNP522A.js +4 -0
- package/dist/cdn/FLQEDTUI.js +20 -0
- package/dist/cdn/FP6CVRPP.js +8 -0
- package/dist/cdn/FRS5F6O5.js +18 -0
- package/dist/cdn/GAQ3EPIU.js +4 -0
- package/dist/cdn/GD43N373.js +4 -0
- package/dist/cdn/GFEO3V7B.js +4 -0
- package/dist/cdn/GGMFABEF.js +4 -0
- package/dist/cdn/GJYH7TRE.js +4 -0
- package/dist/cdn/GLIEFW2W.js +4 -0
- package/dist/cdn/GNLAHRZT.js +18 -0
- package/dist/cdn/GOLJIOZF.js +4 -0
- package/dist/cdn/GPLD4OLN.js +4 -0
- package/dist/cdn/GPLPJI55.js +4 -0
- package/dist/cdn/GWPPIURG.js +4 -0
- package/dist/cdn/H2R75MHA.js +4 -0
- package/dist/cdn/H3WB7ANQ.js +4 -0
- package/dist/cdn/H4UX7IPM.js +4 -0
- package/dist/cdn/HC4IU67I.js +4 -0
- package/dist/cdn/HDWF5BGC.js +4 -0
- package/dist/cdn/HGN2PHJG.js +4 -0
- package/dist/cdn/HMBSQFUJ.js +4 -0
- package/dist/cdn/HN2G2EYZ.js +387 -0
- package/dist/cdn/HQX2UTQA.js +18 -0
- package/dist/cdn/HVONRLYE.js +19 -0
- package/dist/cdn/HXI2RJM3.js +9 -0
- package/dist/cdn/HXVM7BGX.js +4 -0
- package/dist/cdn/HYVUOIDV.js +4 -0
- package/dist/cdn/I73WIDZD.js +4 -0
- package/dist/cdn/IJCG3D4S.js +4 -0
- package/dist/cdn/IJGEUPSK.js +4 -0
- package/dist/cdn/ILTORA35.js +18 -0
- package/dist/cdn/ISBYRWUS.js +4 -0
- package/dist/cdn/ITD43QIH.js +4 -0
- package/dist/cdn/ITJX53EA.js +4 -0
- package/dist/cdn/J2A24DGF.js +4 -0
- package/dist/cdn/J45MBO4E.js +4 -0
- package/dist/cdn/J62SMQQ7.js +18 -0
- package/dist/cdn/J7QDKBVB.js +4 -0
- package/dist/cdn/JACZFLX5.js +18 -0
- package/dist/cdn/JBJKRXXO.js +4 -0
- package/dist/cdn/JC7USH53.js +4 -0
- package/dist/cdn/JFL4U4UA.js +4 -0
- package/dist/cdn/JFT5UZJT.js +4 -0
- package/dist/cdn/JHUQCA3Z.js +4 -0
- package/dist/cdn/JN3I6HM2.js +18 -0
- package/dist/cdn/JNSLXW7O.js +9 -0
- package/dist/cdn/JQHH2OCZ.js +4 -0
- package/dist/cdn/JTVBLWSK.js +4 -0
- package/dist/cdn/JXBEZT5A.js +4 -0
- package/dist/cdn/K54HDSYB.js +8 -0
- package/dist/cdn/KAFYTKP3.js +18 -0
- package/dist/cdn/KIOXB2OZ.js +18 -0
- package/dist/cdn/KJ7FA4KA.js +4 -0
- package/dist/cdn/KJQJXQFO.js +4 -0
- package/dist/cdn/KPWGBLMQ.js +19 -0
- package/dist/cdn/KRGPHVWG.js +4 -0
- package/dist/cdn/KUQK2ONH.js +18 -0
- package/dist/cdn/KV6OFAYE.js +4 -0
- package/dist/cdn/KXFJ5CVI.js +4 -0
- package/dist/cdn/L4ENNIQZ.js +4 -0
- package/dist/cdn/L5LXFBXD.js +4 -0
- package/dist/cdn/LAOPK2BR.js +4 -0
- package/dist/cdn/LGY6RHRJ.js +4 -0
- package/dist/cdn/LIQY6VUI.js +18 -0
- package/dist/cdn/LJ37OTR5.js +4 -0
- package/dist/cdn/LKEA7WT3.js +4 -0
- package/dist/cdn/LMF2IQVY.js +18 -0
- package/dist/cdn/LMLBAQTW.js +4 -0
- package/dist/cdn/LONY44WL.js +4 -0
- package/dist/cdn/LPOSNNLD.js +8 -0
- package/dist/cdn/LWNDAKHU.js +4 -0
- package/dist/cdn/LYQT3N5Z.js +4 -0
- package/dist/cdn/M77VUV2Q.js +4 -0
- package/dist/cdn/MBBBUQA7.js +4 -0
- package/dist/cdn/MBGLCBIC.js +4 -0
- package/dist/cdn/MCPVXPMM.js +4 -0
- package/dist/cdn/MMRBO6I4.js +4 -0
- package/dist/cdn/MRRQXIAY.js +4 -0
- package/dist/cdn/MRS7JBCM.js +4 -0
- package/dist/cdn/MT4KKD5M.js +4 -0
- package/dist/cdn/MXKXWU54.js +4 -0
- package/dist/cdn/MYKMNK6X.js +4 -0
- package/dist/cdn/MYMVJFH4.js +64 -0
- package/dist/cdn/N3YA5MDL.js +4 -0
- package/dist/cdn/NALQ7ZA4.js +4 -0
- package/dist/cdn/NDBQUUTO.js +4 -0
- package/dist/cdn/NEVLWT5F.js +4 -0
- package/dist/cdn/NGHRTOE5.js +5 -0
- package/dist/cdn/NGL5DBBP.js +4 -0
- package/dist/cdn/NLLMNIAA.js +4 -0
- package/dist/cdn/NLPH7XLY.js +18 -0
- package/dist/cdn/NMEYVDKO.js +4 -0
- package/dist/cdn/NQNIGRVW.js +4 -0
- package/dist/cdn/NS2BBVPW.js +4 -0
- package/dist/cdn/NTLJHWLQ.js +89 -0
- package/dist/cdn/NWANGG5T.js +4 -0
- package/dist/cdn/O4LF5ZK4.js +18 -0
- package/dist/cdn/O5O4WPGT.js +4 -0
- package/dist/cdn/OCTGDVTD.js +4 -0
- package/dist/cdn/OGFRY2XT.js +4 -0
- package/dist/cdn/OGFYIHYL.js +4 -0
- package/dist/cdn/OHWJG6P3.js +4 -0
- package/dist/cdn/OJFZ6T4L.js +4 -0
- package/dist/cdn/OKEQ6VW4.js +18 -0
- package/dist/cdn/ON3VIYPQ.js +4 -0
- package/dist/cdn/OOC5Y54N.js +4 -0
- package/dist/cdn/OOHID67S.js +18 -0
- package/dist/cdn/OSOFOQEK.js +4 -0
- package/dist/cdn/OU7QCTNJ.js +18 -0
- package/dist/cdn/OVWAIW4T.js +6 -0
- package/dist/cdn/P32GLMOO.js +4 -0
- package/dist/cdn/P7TBO62O.js +4 -0
- package/dist/cdn/PCJIW7J4.js +4 -0
- package/dist/cdn/PGGLPX3Y.js +4 -0
- package/dist/cdn/PGWOXALJ.js +4 -0
- package/dist/cdn/PJFQYGK6.js +4 -0
- package/dist/cdn/PKH6X23Q.js +4 -0
- package/dist/cdn/PLRNVZN6.js +4 -0
- package/dist/cdn/PNAS5XAC.js +4 -0
- package/dist/cdn/PPT7MVPV.js +4 -0
- package/dist/cdn/PTTGFXZZ.js +18 -0
- package/dist/cdn/PVKLE7AC.js +18 -0
- package/dist/cdn/Q5KLXIL2.js +4 -0
- package/dist/cdn/QCGMRCNR.js +4 -0
- package/dist/cdn/QDHG7XI7.js +18 -0
- package/dist/cdn/QG473DGW.js +4 -0
- package/dist/cdn/QH7G7WSC.js +6 -0
- package/dist/cdn/QN7Y6QOZ.js +18 -0
- package/dist/cdn/QNUGOWWM.js +18 -0
- package/dist/cdn/QOAKCYXR.js +4 -0
- package/dist/cdn/QRR2HRFO.js +4 -0
- package/dist/cdn/QSX5S7NE.js +4 -0
- package/dist/cdn/QTHKDVZA.js +18 -0
- package/dist/cdn/QTQ5VFMI.js +4 -0
- package/dist/cdn/QVX3HKWH.js +4 -0
- package/dist/cdn/QYQGUEKK.js +4 -0
- package/dist/cdn/R5UVF7YP.js +4 -0
- package/dist/cdn/R6C247GY.js +4 -0
- package/dist/cdn/RBY55AW4.js +4 -0
- package/dist/cdn/RH7MI7ML.js +18 -0
- package/dist/cdn/RJAI2F2A.js +4 -0
- package/dist/cdn/RKXN5H6E.js +18 -0
- package/dist/cdn/RMJBQVZQ.js +4 -0
- package/dist/cdn/RYDA2GVY.js +4 -0
- package/dist/cdn/RYTGUQNW.js +4 -0
- package/dist/cdn/S2AT5YY2.js +4 -0
- package/dist/cdn/S362MWIR.js +18 -0
- package/dist/cdn/SH2FEGSB.js +4 -0
- package/dist/cdn/SJGKDRLS.js +4 -0
- package/dist/cdn/SLTVLCFQ.js +4 -0
- package/dist/cdn/SQ4ONYA6.js +18 -0
- package/dist/cdn/STNJMHAQ.js +4 -0
- package/dist/cdn/SWMICF3O.js +18 -0
- package/dist/cdn/SZSFIVOE.js +4 -0
- package/dist/cdn/SZVZ7L22.js +4 -0
- package/dist/cdn/T66GPNTR.js +18 -0
- package/dist/cdn/TC3U37J7.js +4 -0
- package/dist/cdn/TDB43YAO.js +18 -0
- package/dist/cdn/TE7MJY7J.js +19 -0
- package/dist/cdn/TF7HCU4R.js +4 -0
- package/dist/cdn/TISZ6QTW.js +4 -0
- package/dist/cdn/TPMDZI3N.js +4 -0
- package/dist/cdn/TQZZQ74I.js +4 -0
- package/dist/cdn/TUMBFPWA.js +4 -0
- package/dist/cdn/TXZZ7IGA.js +4 -0
- package/dist/cdn/TZC7FR57.js +4 -0
- package/dist/cdn/U3RN3VMR.js +18 -0
- package/dist/cdn/U6IZ7NDO.js +4 -0
- package/dist/cdn/U7CHN77W.js +4 -0
- package/dist/cdn/UE4JYH6Q.js +294 -0
- package/dist/cdn/UJ7M33YD.js +4 -0
- package/dist/cdn/UN3HEMCS.js +4 -0
- package/dist/cdn/UNU2VFCG.js +4 -0
- package/dist/cdn/UQDX4HH7.js +4 -0
- package/dist/cdn/UVYMD3SU.js +4 -0
- package/dist/cdn/UWIIDEOZ.js +18 -0
- package/dist/cdn/UXPVRSYI.js +18 -0
- package/dist/cdn/V33LR6IS.js +4 -0
- package/dist/cdn/VF3BOXK6.js +4 -0
- package/dist/cdn/VFV5JCQN.js +18 -0
- package/dist/cdn/VWZIPDPO.js +4 -0
- package/dist/cdn/VZLRW2AX.js +4 -0
- package/dist/cdn/W5WC3DQR.js +4 -0
- package/dist/cdn/WA6JCIVJ.js +18 -0
- package/dist/cdn/WFJNZNPO.js +4 -0
- package/dist/cdn/WIIOBTYW.js +4 -0
- package/dist/cdn/WL6ES3HJ.js +4 -0
- package/dist/cdn/WMWRHS2O.js +4 -0
- package/dist/cdn/WNNXONB6.js +4 -0
- package/dist/cdn/WNSRF7JD.js +4 -0
- package/dist/cdn/WP6QUJD5.js +4 -0
- package/dist/cdn/WR2PXMWC.js +4 -0
- package/dist/cdn/X4O2UX77.js +4 -0
- package/dist/cdn/XDQ5U3RX.js +4 -0
- package/dist/cdn/XEQGJKML.js +4 -0
- package/dist/cdn/XLTAB44X.js +4 -0
- package/dist/cdn/XP2EQZNN.js +4 -0
- package/dist/cdn/XPA5STW7.js +4 -0
- package/dist/cdn/XQK2EEXA.js +18 -0
- package/dist/cdn/XQURVTFE.js +4 -0
- package/dist/cdn/XTBZMRJM.js +4 -0
- package/dist/cdn/Y27TXUN2.js +82 -0
- package/dist/cdn/Y5BS3BHR.js +18 -0
- package/dist/cdn/Y7MPYZYV.js +18 -0
- package/dist/cdn/Y7YN2IIU.js +4 -0
- package/dist/cdn/YFRAG76M.js +18 -0
- package/dist/cdn/YLAFYD5G.js +4 -0
- package/dist/cdn/YOA42CLH.js +18 -0
- package/dist/cdn/YUE54TGU.js +4 -0
- package/dist/cdn/YWB3PVWJ.js +29 -0
- package/dist/cdn/YZLM4OIF.js +4 -0
- package/dist/cdn/Z6455FX4.js +4 -0
- package/dist/cdn/ZGWPTRGZ.js +4 -0
- package/dist/cdn/ZIRTUZJU.js +4 -0
- package/dist/cdn/ZKOJOIGE.js +4 -0
- package/dist/cdn/ZL226NXE.js +18 -0
- package/dist/cdn/ZLJ5FGJ6.js +4 -0
- package/dist/cdn/ZLWE4SGQ.js +4 -0
- package/dist/cdn/ZPV3TQLX.js +4 -0
- package/dist/cdn/ZQLLWXUS.js +4 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.json +1 -0
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-resources/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solutions-resources/t9n/messages.json +1 -0
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-searchsort-toolbar/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +14 -14
- package/dist/chunks/CardsFetcher.js +29 -30
- package/dist/chunks/appConfig.js +22 -16
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +30 -20
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +30 -25
- package/dist/chunks/interfaces.js +18 -19
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +2 -2
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +43 -38
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.d.ts +92 -9
- package/dist/components/arcgis-solutions-assistant/customElement.js +1420 -60
- package/dist/components/arcgis-solutions-assistant/index.d.ts +4 -4
- package/dist/components/arcgis-solutions-assistant/index.js +4 -4
- package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +22 -0
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.d.ts +2 -2
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.d.ts +1 -2
- package/dist/components/card-manager/customElement.js +2 -2
- package/dist/components/consent-manager/customElement.d.ts +5 -5
- package/dist/components/consent-manager/customElement.js +142 -142
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.d.ts +3 -5
- package/dist/components/crowdsource-manager/customElement.js +8 -20
- package/dist/components/crowdsource-reporter/customElement.d.ts +1 -6
- package/dist/components/crowdsource-reporter/customElement.js +10 -10
- package/dist/components/crowdsource-reporter/index.d.ts +1 -1
- package/dist/components/crowdsource-reporter/index.js +1 -1
- package/dist/components/deduct-calculator/customElement.d.ts +0 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.d.ts +2 -6
- package/dist/components/delete-button/customElement.js +3 -3
- package/dist/components/delete-dialog/customElement.js +2 -2
- package/dist/components/edit-card/customElement.js +6 -6
- package/dist/components/feature-details/customElement.d.ts +0 -2
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.d.ts +1 -1
- package/dist/components/feature-list/customElement.js +44 -45
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.d.ts +0 -1
- package/dist/components/info-card/customElement.js +2 -2
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.d.ts +0 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.d.ts +1 -2
- package/dist/components/layer-table/customElement.js +23 -23
- package/dist/components/map-card/customElement.d.ts +6 -9
- package/dist/components/map-card/customElement.js +26 -36
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.d.ts +13 -11
- package/dist/components/map-layer-picker/customElement.js +24 -22
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +5 -5
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.d.ts +3 -5
- package/dist/components/map-select-tools/customElement.js +25 -25
- package/dist/components/map-tools/customElement.d.ts +4 -10
- package/dist/components/map-tools/customElement.js +62 -63
- package/dist/components/pci-calculator/customElement.js +9 -9
- package/dist/components/pdf-download/customElement.js +29 -37
- package/dist/components/public-notification/customElement.d.ts +5 -6
- package/dist/components/public-notification/customElement.js +10 -14
- package/dist/components/refine-selection/customElement.d.ts +1 -4
- package/dist/components/refine-selection/customElement.js +15 -15
- package/dist/components/selection-tool/customElement.d.ts +2 -2
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +24 -21
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.d.ts +0 -1
- package/dist/components/solution-delete-dialog/customElement.js +12 -10
- package/dist/components/solution-deploy-dialog/customElement.js +4 -4
- package/dist/components/solution-deployed-card/customElement.d.ts +4 -5
- package/dist/components/solution-deployed-card/customElement.js +34 -33
- package/dist/components/solution-deployed-card/index.d.ts +0 -1
- package/dist/components/solution-deployed-card/index.js +0 -1
- package/dist/components/solution-deployed-card-panel/customElement.d.ts +40 -0
- package/dist/components/solution-deployed-card-panel/customElement.js +118 -0
- package/dist/components/solution-deployed-card-panel/index.d.ts +16 -0
- package/dist/components/solution-deployed-card-panel/index.js +16 -0
- package/dist/components/solution-deploying-dialog/customElement.d.ts +2 -0
- package/dist/components/solution-deploying-dialog/customElement.js +81 -18
- package/dist/components/solution-details-card/customElement.js +7 -7
- package/dist/components/solution-details-panel/customElement.js +78 -88
- package/dist/components/solution-details-panel/index.d.ts +1 -1
- package/dist/components/solution-details-panel/index.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
- package/dist/components/solution-item-accordion/customElement.js +6 -2
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +116 -114
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.d.ts +37 -0
- package/dist/components/solution-resource-card/customElement.js +49 -0
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.d.ts +6 -2
- package/dist/components/solutions-all-panel/customElement.js +68 -52
- package/dist/components/solutions-all-panel/index.d.ts +1 -0
- package/dist/components/solutions-all-panel/index.js +1 -0
- package/dist/components/solutions-all-shell/customElement.js +34 -23
- package/dist/components/solutions-all-shell/index.d.ts +1 -1
- package/dist/components/solutions-all-shell/index.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +2 -1
- package/dist/components/solutions-deploy-app/customElement.js +51 -44
- package/dist/components/solutions-deploy-app/index.d.ts +2 -1
- package/dist/components/solutions-deploy-app/index.js +2 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +5 -2
- package/dist/components/solutions-deploy-app-nav/customElement.js +91 -29
- package/dist/components/solutions-deploy-app-nav/index.d.ts +8 -2
- package/dist/components/solutions-deploy-app-nav/index.js +8 -2
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +4 -2
- package/dist/components/solutions-deployed-panel/customElement.js +43 -38
- package/dist/components/solutions-deployed-shell/customElement.js +16 -19
- package/dist/components/solutions-deployed-shell/index.d.ts +0 -1
- package/dist/components/solutions-deployed-shell/index.js +0 -1
- package/dist/components/solutions-filter-panel/customElement.d.ts +12 -0
- package/dist/components/solutions-filter-panel/customElement.js +98 -58
- package/dist/components/solutions-filter-panel/index.d.ts +2 -0
- package/dist/components/solutions-filter-panel/index.js +2 -0
- package/dist/components/solutions-resource-panel/customElement.d.ts +17 -0
- package/dist/components/solutions-resource-panel/customElement.js +43 -0
- package/dist/components/solutions-resources/customElement.d.ts +7 -0
- package/dist/components/solutions-resources/customElement.js +105 -0
- package/dist/components/solutions-resources/index.d.ts +12 -0
- package/dist/components/solutions-resources/index.js +12 -0
- package/dist/components/solutions-resources-shell/customElement.d.ts +7 -0
- package/dist/components/solutions-resources-shell/customElement.js +43 -0
- package/dist/components/solutions-resources-shell/index.d.ts +5 -0
- package/dist/components/solutions-resources-shell/index.js +5 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +11 -0
- package/dist/components/solutions-searchsort-toolbar/customElement.js +85 -65
- package/dist/components/solutions-searchsort-toolbar/index.d.ts +1 -1
- package/dist/components/solutions-searchsort-toolbar/index.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2607 -2064
- package/dist/docs/docs.json +3129 -2587
- package/dist/docs/vscode.html-custom-data.json +151 -124
- package/dist/docs/web-types.json +509 -353
- package/dist/index.d.ts +105 -70
- package/dist/index.js +35 -36
- package/dist/loader.js +13 -13
- package/dist/types/lumina.d.ts +43 -34
- package/dist/types/preact.d.ts +48 -39
- package/dist/types/preact10.d.ts +53 -44
- package/dist/types/react.d.ts +53 -44
- package/dist/types/stencil.d.ts +43 -34
- package/dist/utils/cardsHelpers.d.ts +14 -0
- package/dist/utils/helpers.d.ts +8 -1
- package/dist/utils/interfaces.d.ts +49 -27
- package/dist/utils/queryUtils.d.ts +2 -2
- package/package.json +27 -27
- package/dist/cdn/234YSPUP.js +0 -4
- package/dist/cdn/23F7WS6U.js +0 -18
- package/dist/cdn/25CBXU7A.js +0 -4
- package/dist/cdn/2B2JMPFN.js +0 -18
- package/dist/cdn/2BUXYBPD.js +0 -4
- package/dist/cdn/2C5JNPGO.js +0 -4
- package/dist/cdn/2FURWI7Y.js +0 -4
- package/dist/cdn/2IRNZ42K.js +0 -19
- package/dist/cdn/2L4XL6GG.js +0 -4
- package/dist/cdn/2LVJZ2NV.js +0 -4
- package/dist/cdn/2MHGYWN7.js +0 -4
- package/dist/cdn/2NLKFSQN.js +0 -4
- package/dist/cdn/2QVOCL3G.js +0 -4
- package/dist/cdn/2RVAN3GE.js +0 -20
- package/dist/cdn/2SZF4MLJ.js +0 -4
- package/dist/cdn/2TADDW4W.js +0 -8
- package/dist/cdn/2TADYBIO.js +0 -4
- package/dist/cdn/2TB3YOHP.js +0 -4
- package/dist/cdn/2W5UVWEN.js +0 -4
- package/dist/cdn/2WLLRLZ7.js +0 -4
- package/dist/cdn/2XCAUYR2.js +0 -4
- package/dist/cdn/2Y2EWR7H.js +0 -4
- package/dist/cdn/35UXOOHD.js +0 -4
- package/dist/cdn/36VZRVY2.js +0 -4
- package/dist/cdn/37TV2MQL.js +0 -4
- package/dist/cdn/3E7HOSDD.js +0 -4
- package/dist/cdn/3EU6WGZO.js +0 -4
- package/dist/cdn/3JMRSSB5.js +0 -4
- package/dist/cdn/3LHVSQGT.js +0 -4
- package/dist/cdn/3NJX3MB3.js +0 -18
- package/dist/cdn/3Q6YGL57.js +0 -18
- package/dist/cdn/3X7XYYFW.js +0 -4
- package/dist/cdn/45BXFKGN.js +0 -4
- package/dist/cdn/45HNI5CK.js +0 -4
- package/dist/cdn/46UDJ6Q6.js +0 -8
- package/dist/cdn/4DCZ2ZRI.js +0 -18
- package/dist/cdn/4EWREADY.js +0 -4
- package/dist/cdn/4GQA73TQ.js +0 -4
- package/dist/cdn/4I7PCYCC.js +0 -4
- package/dist/cdn/4LZZGUWP.js +0 -4
- package/dist/cdn/4MHLESLH.js +0 -4
- package/dist/cdn/4MQB77K7.js +0 -4
- package/dist/cdn/4OWQLN7N.js +0 -18
- package/dist/cdn/4PPJBKDP.js +0 -4
- package/dist/cdn/4QXAYPME.js +0 -4
- package/dist/cdn/53SCKT44.js +0 -4
- package/dist/cdn/5A6Y54WJ.js +0 -4
- package/dist/cdn/5G4RLNCB.js +0 -4
- package/dist/cdn/5O75XOMI.js +0 -4
- package/dist/cdn/5QF7JXXA.js +0 -4
- package/dist/cdn/5YYJDNXT.js +0 -4
- package/dist/cdn/5Z7ZG2XK.js +0 -4
- package/dist/cdn/62GUE4Z3.js +0 -4
- package/dist/cdn/62ISZVOF.js +0 -4
- package/dist/cdn/62NAX7KS.js +0 -18
- package/dist/cdn/62XTNKST.js +0 -4
- package/dist/cdn/64CYMAYN.js +0 -4
- package/dist/cdn/64JDACKK.js +0 -6
- package/dist/cdn/65AXSWLQ.js +0 -18
- package/dist/cdn/67P77RII.js +0 -4
- package/dist/cdn/6AWOKZWN.js +0 -4
- package/dist/cdn/6DO5FV6V.js +0 -18
- package/dist/cdn/6GNQRHUK.js +0 -4
- package/dist/cdn/6I4GOE3Y.js +0 -18
- package/dist/cdn/6JQ4EGSQ.js +0 -18
- package/dist/cdn/6NG5X7FZ.js +0 -294
- package/dist/cdn/6RAGUS7J.js +0 -4
- package/dist/cdn/6RBJGB46.js +0 -4
- package/dist/cdn/6ROK6EHE.js +0 -4
- package/dist/cdn/6V7JLIJ5.js +0 -9
- package/dist/cdn/74OGQVZH.js +0 -4
- package/dist/cdn/76WRSP3A.js +0 -4
- package/dist/cdn/7ASZTQ45.js +0 -4
- package/dist/cdn/7CPPZBTT.js +0 -6
- package/dist/cdn/7CPTTYU3.js +0 -4
- package/dist/cdn/7KWG3Z6K.js +0 -4
- package/dist/cdn/7L3YAL47.js +0 -4
- package/dist/cdn/7LSLVXGD.js +0 -18
- package/dist/cdn/7QYTSIGP.js +0 -18
- package/dist/cdn/7UCFU6IJ.js +0 -4
- package/dist/cdn/7YT73G5X.js +0 -4
- package/dist/cdn/7YX7AHVW.js +0 -4
- package/dist/cdn/AB76D7WU.js +0 -18
- package/dist/cdn/ABDWQOBA.js +0 -4
- package/dist/cdn/ACQPRV6Q.js +0 -4
- package/dist/cdn/AOC5GCMF.js +0 -4
- package/dist/cdn/APV7UOJA.js +0 -4
- package/dist/cdn/ARMMHG3S.js +0 -4
- package/dist/cdn/ARZ6JPA3.js +0 -4
- package/dist/cdn/ASDXD6UG.js +0 -4
- package/dist/cdn/AUCJ7ZFB.js +0 -18
- package/dist/cdn/AWOFK74F.js +0 -4
- package/dist/cdn/AX4BFIAK.js +0 -4
- package/dist/cdn/B24TVNRU.js +0 -4
- package/dist/cdn/B4OEZKHF.js +0 -4
- package/dist/cdn/B6FXHHYN.js +0 -4
- package/dist/cdn/BAFRQNS7.js +0 -18
- package/dist/cdn/BC4V4TZO.js +0 -4
- package/dist/cdn/BCTLXB2M.js +0 -4
- package/dist/cdn/BCXBU3KU.js +0 -4
- package/dist/cdn/BEBW4GAM.js +0 -4
- package/dist/cdn/BEHKUS5D.js +0 -4
- package/dist/cdn/BHUNFJZD.js +0 -4
- package/dist/cdn/BIT3Z27V.js +0 -18
- package/dist/cdn/BMUTEUNT.js +0 -4
- package/dist/cdn/BQT6MIAJ.js +0 -4
- package/dist/cdn/BSMBN633.js +0 -18
- package/dist/cdn/BVPEEMND.js +0 -4
- package/dist/cdn/BXQASW7J.js +0 -4
- package/dist/cdn/C27Y63JS.js +0 -4
- package/dist/cdn/C2ENPVZG.js +0 -8
- package/dist/cdn/C5M3F3HQ.js +0 -18
- package/dist/cdn/CAPI4G74.js +0 -18
- package/dist/cdn/CDKVJSXJ.js +0 -4
- package/dist/cdn/CLIFIAZI.js +0 -4
- package/dist/cdn/COPHOT6L.js +0 -4
- package/dist/cdn/CPVXVEVK.js +0 -4
- package/dist/cdn/CQ5FSDXN.js +0 -4
- package/dist/cdn/CRISXI26.js +0 -4
- package/dist/cdn/CT4XO4WW.js +0 -4
- package/dist/cdn/CTC7YRAU.js +0 -18
- package/dist/cdn/CVKEYABL.js +0 -4
- package/dist/cdn/CW3G7QFS.js +0 -18
- package/dist/cdn/CXWN46XU.js +0 -4
- package/dist/cdn/D2WVODK6.js +0 -4
- package/dist/cdn/D37JXHEV.js +0 -4
- package/dist/cdn/DA2RWFBR.js +0 -4
- package/dist/cdn/DB6YMDTC.js +0 -4
- package/dist/cdn/DCZHIM53.js +0 -4
- package/dist/cdn/DDTBMHDE.js +0 -385
- package/dist/cdn/DI4JRI7B.js +0 -4
- package/dist/cdn/DQAOXKZZ.js +0 -4
- package/dist/cdn/DQBTQ7WA.js +0 -18
- package/dist/cdn/DR37YWXO.js +0 -4
- package/dist/cdn/DTQPYWIB.js +0 -4
- package/dist/cdn/DX5ZAVMY.js +0 -4
- package/dist/cdn/E27JDCXQ.js +0 -4
- package/dist/cdn/EAQS76QZ.js +0 -4
- package/dist/cdn/ECC74KLR.js +0 -4
- package/dist/cdn/EEENCZTC.js +0 -4
- package/dist/cdn/EMWBS4WA.js +0 -18
- package/dist/cdn/EOUSEWUA.js +0 -4
- package/dist/cdn/EQ3MVJLN.js +0 -4
- package/dist/cdn/EWXCPV2X.js +0 -5
- package/dist/cdn/FD2JMETF.js +0 -18
- package/dist/cdn/FFAQ3R3T.js +0 -89
- package/dist/cdn/FFFY6LX5.js +0 -18
- package/dist/cdn/FHL2CPZT.js +0 -4
- package/dist/cdn/FID2OEYF.js +0 -4
- package/dist/cdn/FM7AGRNK.js +0 -4
- package/dist/cdn/FNE6U57W.js +0 -4
- package/dist/cdn/FNUPI5TB.js +0 -4
- package/dist/cdn/FO5BU27P.js +0 -4
- package/dist/cdn/FTF5P4HQ.js +0 -4
- package/dist/cdn/FZE37VRW.js +0 -4
- package/dist/cdn/GBLJSF3O.js +0 -18
- package/dist/cdn/GDNCH7FM.js +0 -4
- package/dist/cdn/GGN6M4IW.js +0 -4
- package/dist/cdn/GQEO4O6A.js +0 -4
- package/dist/cdn/GT7IOPMK.js +0 -4
- package/dist/cdn/GVXCIENL.js +0 -18
- package/dist/cdn/H2HVUDCU.js +0 -4
- package/dist/cdn/H35JZY2E.js +0 -4
- package/dist/cdn/HEO5YC5E.js +0 -4
- package/dist/cdn/HHILRSR3.js +0 -4
- package/dist/cdn/HL4GCE2D.js +0 -4
- package/dist/cdn/HS2SGNFL.js +0 -4
- package/dist/cdn/HZI7AR5Z.js +0 -4
- package/dist/cdn/I5HY4B6L.js +0 -18
- package/dist/cdn/I7OV3TY4.js +0 -4
- package/dist/cdn/IBFX4PWN.js +0 -18
- package/dist/cdn/IGWJ7WZQ.js +0 -4
- package/dist/cdn/IHL22CRN.js +0 -18
- package/dist/cdn/IJZ5WMRB.js +0 -4
- package/dist/cdn/ILOQ3A64.js +0 -4
- package/dist/cdn/ILW4KIM2.js +0 -4
- package/dist/cdn/IMTDRHTU.js +0 -4
- package/dist/cdn/IUNP2FEQ.js +0 -18
- package/dist/cdn/IVWVJPPG.js +0 -4
- package/dist/cdn/IZQ2GJTG.js +0 -4
- package/dist/cdn/J2VOTAZW.js +0 -4
- package/dist/cdn/JEBENHMN.js +0 -18
- package/dist/cdn/JJ33PDCY.js +0 -4
- package/dist/cdn/JKFTGZOQ.js +0 -4
- package/dist/cdn/JKXQNJEW.js +0 -4
- package/dist/cdn/JMBWWCV6.js +0 -4
- package/dist/cdn/JVKOJX2S.js +0 -4
- package/dist/cdn/JZC3ICX7.js +0 -4
- package/dist/cdn/JZIIJVDB.js +0 -4
- package/dist/cdn/K2UJVJCK.js +0 -18
- package/dist/cdn/K6ZPYGKA.js +0 -18
- package/dist/cdn/KEFKS53V.js +0 -4
- package/dist/cdn/KJ266TAM.js +0 -4
- package/dist/cdn/KMO43UXT.js +0 -25
- package/dist/cdn/KR4KMGJB.js +0 -18
- package/dist/cdn/KZFM7YTE.js +0 -18
- package/dist/cdn/L5GLQINC.js +0 -4
- package/dist/cdn/L5NUJEH6.js +0 -18
- package/dist/cdn/L7GUOPMU.js +0 -4
- package/dist/cdn/LBSP4K35.js +0 -4
- package/dist/cdn/LFNGTUHE.js +0 -4
- package/dist/cdn/LHJTXTF5.js +0 -4
- package/dist/cdn/LMVNSMV2.js +0 -29
- package/dist/cdn/LNNSONRN.js +0 -18
- package/dist/cdn/LOK5CX76.js +0 -4
- package/dist/cdn/LQJ7XXC5.js +0 -4
- package/dist/cdn/LYMRS7P6.js +0 -4
- package/dist/cdn/LZJPR4X7.js +0 -4
- package/dist/cdn/LZN5VEV6.js +0 -18
- package/dist/cdn/M2OW6QBQ.js +0 -4
- package/dist/cdn/M7I6TQVN.js +0 -4
- package/dist/cdn/MAS7EYR3.js +0 -4
- package/dist/cdn/MNNUTOFN.js +0 -4
- package/dist/cdn/MR53MAQ6.js +0 -4
- package/dist/cdn/N3IWMVZ5.js +0 -4
- package/dist/cdn/N4Z6EYO4.js +0 -18
- package/dist/cdn/N77DPTLF.js +0 -4
- package/dist/cdn/NCI5BIFP.js +0 -4
- package/dist/cdn/NG5AQI5M.js +0 -4
- package/dist/cdn/NHCXGI3Z.js +0 -4
- package/dist/cdn/NKYNFTHT.js +0 -4
- package/dist/cdn/NOVJRUUK.js +0 -4
- package/dist/cdn/NVM5PDRT.js +0 -18
- package/dist/cdn/NY6XIURZ.js +0 -82
- package/dist/cdn/NYQ4OZXY.js +0 -18
- package/dist/cdn/NZGGCRYY.js +0 -4
- package/dist/cdn/OA5X23GP.js +0 -4
- package/dist/cdn/OACHOZNB.js +0 -4
- package/dist/cdn/OC2PGR4W.js +0 -4
- package/dist/cdn/OCFWH2MU.js +0 -18
- package/dist/cdn/OCQ4MKGB.js +0 -4
- package/dist/cdn/OE4MMX4T.js +0 -4
- package/dist/cdn/OQPY5EJA.js +0 -4
- package/dist/cdn/OS52MWOK.js +0 -4
- package/dist/cdn/OXZXBSMK.js +0 -4
- package/dist/cdn/P3SCBY53.js +0 -4
- package/dist/cdn/P57EK6OT.js +0 -19
- package/dist/cdn/P5ETCO7H.js +0 -4
- package/dist/cdn/PFG6ZMZH.js +0 -18
- package/dist/cdn/PGDXLL6Y.js +0 -4
- package/dist/cdn/PIYRA3IK.js +0 -4
- package/dist/cdn/PKCDCMTI.js +0 -4
- package/dist/cdn/POBHMXVN.js +0 -4
- package/dist/cdn/PVBHNQMI.js +0 -9
- package/dist/cdn/PWNQBRTS.js +0 -4
- package/dist/cdn/PXL6KSAZ.js +0 -4
- package/dist/cdn/Q24E6XEJ.js +0 -4
- package/dist/cdn/Q4JKPYH3.js +0 -4
- package/dist/cdn/Q67QGD63.js +0 -4
- package/dist/cdn/QC4H73ZM.js +0 -4
- package/dist/cdn/QCUZ36WP.js +0 -4
- package/dist/cdn/QFI4JQHX.js +0 -4
- package/dist/cdn/QKG5BAFS.js +0 -4
- package/dist/cdn/QOFGAP4Z.js +0 -18
- package/dist/cdn/QVKG5VJZ.js +0 -4
- package/dist/cdn/QX5H4XZ4.js +0 -4
- package/dist/cdn/QZG7DRDQ.js +0 -18
- package/dist/cdn/R3RWVGJC.js +0 -4
- package/dist/cdn/RANKC4FB.js +0 -4
- package/dist/cdn/RC5HYK5Q.js +0 -4
- package/dist/cdn/RDYTTPKB.js +0 -4
- package/dist/cdn/RE4N56Q2.js +0 -18
- package/dist/cdn/RHL6NUIU.js +0 -4
- package/dist/cdn/RLKKLGY4.js +0 -18
- package/dist/cdn/RT67IRZT.js +0 -4
- package/dist/cdn/RUQI6YVJ.js +0 -4
- package/dist/cdn/RV4NW4XO.js +0 -4
- package/dist/cdn/RXU36Q5Q.js +0 -4
- package/dist/cdn/S3VHQFOC.js +0 -18
- package/dist/cdn/S4TJ224O.js +0 -18
- package/dist/cdn/SBVYCA5T.js +0 -4
- package/dist/cdn/SEQYFJN3.js +0 -4
- package/dist/cdn/SGFO45SM.js +0 -4
- package/dist/cdn/SL6H3SHV.js +0 -18
- package/dist/cdn/SOAYGRAI.js +0 -4
- package/dist/cdn/STTGVLDE.js +0 -4
- package/dist/cdn/SVGFOYCQ.js +0 -4
- package/dist/cdn/SVKD3HCO.js +0 -4
- package/dist/cdn/T2TMGGNG.js +0 -4
- package/dist/cdn/T5EHVA6S.js +0 -4
- package/dist/cdn/TANEEDP3.js +0 -4
- package/dist/cdn/TAXDYLNQ.js +0 -4
- package/dist/cdn/TKYFLPXP.js +0 -4
- package/dist/cdn/TLNGNV7G.js +0 -18
- package/dist/cdn/TN2UEPVT.js +0 -4
- package/dist/cdn/TNEMCYWH.js +0 -4
- package/dist/cdn/TO5P7NGV.js +0 -4
- package/dist/cdn/TO66PKJF.js +0 -4
- package/dist/cdn/TOJDM5UZ.js +0 -19
- package/dist/cdn/TOTUDQKH.js +0 -4
- package/dist/cdn/TPO5J63A.js +0 -4
- package/dist/cdn/TV2SJ62Y.js +0 -18
- package/dist/cdn/U6JEQWZ5.js +0 -18
- package/dist/cdn/U6QNATC3.js +0 -4
- package/dist/cdn/UAZL2ZIR.js +0 -4
- package/dist/cdn/UOSNNDWX.js +0 -4
- package/dist/cdn/UPKV6OGB.js +0 -4
- package/dist/cdn/URS66YMT.js +0 -4
- package/dist/cdn/UUFG2IPV.js +0 -4
- package/dist/cdn/UVJGULSN.js +0 -4
- package/dist/cdn/V75D7IJY.js +0 -4
- package/dist/cdn/VERTSCDD.js +0 -4
- package/dist/cdn/VF6P6PS2.js +0 -18
- package/dist/cdn/VMLVIBVL.js +0 -5
- package/dist/cdn/VPGE5727.js +0 -18
- package/dist/cdn/VTPTDE33.js +0 -4
- package/dist/cdn/VUQWNJXP.js +0 -4
- package/dist/cdn/VXDIW5WH.js +0 -4
- package/dist/cdn/VXRLLXEF.js +0 -4
- package/dist/cdn/VXVWFC3D.js +0 -4
- package/dist/cdn/VY7447H3.js +0 -4
- package/dist/cdn/W4XCDIQT.js +0 -18
- package/dist/cdn/WEERXYI7.js +0 -4
- package/dist/cdn/WERJXBD5.js +0 -4
- package/dist/cdn/WF2LBWF7.js +0 -4
- package/dist/cdn/WGSBFQ5N.js +0 -4
- package/dist/cdn/WJDDXVE5.js +0 -4
- package/dist/cdn/WVURBKDW.js +0 -18
- package/dist/cdn/WXYWYTJG.js +0 -18
- package/dist/cdn/WY23ERGW.js +0 -4
- package/dist/cdn/X74GGNIS.js +0 -18
- package/dist/cdn/XBL3EGZR.js +0 -4
- package/dist/cdn/XBOSZH7N.js +0 -4
- package/dist/cdn/XO3JIQCS.js +0 -4
- package/dist/cdn/XQ5KACZ3.js +0 -18
- package/dist/cdn/XQMJCJMU.js +0 -4
- package/dist/cdn/XU2SIPXX.js +0 -18
- package/dist/cdn/YADLOKQK.js +0 -4
- package/dist/cdn/YAGTTBJW.js +0 -4
- package/dist/cdn/YCJGW46U.js +0 -4
- package/dist/cdn/YERONLAQ.js +0 -4
- package/dist/cdn/YGKAUSDA.js +0 -18
- package/dist/cdn/YQ67CMRM.js +0 -4
- package/dist/cdn/YVGSFUVM.js +0 -18
- package/dist/cdn/Z2CJ77IR.js +0 -4
- package/dist/cdn/Z5K6UMGM.js +0 -4
- package/dist/cdn/ZANJ2QQO.js +0 -4
- package/dist/cdn/ZCHM4BFA.js +0 -21
- package/dist/cdn/ZGLJOWGH.js +0 -4
- package/dist/cdn/ZMGJ7NGP.js +0 -4
- package/dist/cdn/ZPGXJFXY.js +0 -4
- package/dist/cdn/ZQUJXA67.js +0 -4
- package/dist/cdn/ZUUYQFKK.js +0 -4
- package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-article-card/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solutions-articles/t9n/messages.json +0 -1
- package/dist/components/solution-article-card/customElement.d.ts +0 -37
- package/dist/components/solution-article-card/customElement.js +0 -49
- package/dist/components/solution-configure-dialog/customElement.d.ts +0 -30
- package/dist/components/solution-configure-dialog/customElement.js +0 -131
- package/dist/components/solution-configure-dialog/index.d.ts +0 -13
- package/dist/components/solution-configure-dialog/index.js +0 -13
- package/dist/components/solutions-article-panel/customElement.d.ts +0 -17
- package/dist/components/solutions-article-panel/customElement.js +0 -43
- package/dist/components/solutions-articles/customElement.d.ts +0 -7
- package/dist/components/solutions-articles/customElement.js +0 -79
- package/dist/components/solutions-articles/index.d.ts +0 -11
- package/dist/components/solutions-articles/index.js +0 -11
- package/dist/components/solutions-articles-shell/customElement.d.ts +0 -7
- package/dist/components/solutions-articles-shell/customElement.js +0 -43
- package/dist/components/solutions-articles-shell/index.d.ts +0 -5
- package/dist/components/solutions-articles-shell/index.js +0 -5
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solution-article-card → solution-resource-card}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-article-panel → solutions-resource-panel}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles → solutions-resources}/t9n/messages.zh-TW.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.en.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{solutions-articles-shell → solutions-resources-shell}/t9n/messages.zh-TW.json +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.d.ts +0 -0
- /package/dist/components/{solution-article-card → solution-resource-card}/index.js +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.d.ts +0 -0
- /package/dist/components/{solutions-article-panel → solutions-resource-panel}/index.js +0 -0
package/README.md
CHANGED
|
@@ -1,65 +1,8 @@
|
|
|
1
1
|
# solutions-components
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[See Lumina documentation](https://qawebgis.esri.com/components/lumina/introduction)
|
|
6
|
-
|
|
7
|
-
## Getting Started
|
|
8
|
-
|
|
9
|
-
This repository is set up to use [Lumina](https://qawebgis.esri.com/components/lumina/introduction) to manage web component development; the project is a `web_component` project type
|
|
10
|
-
|
|
11
|
-
Set up:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
yarn install
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
To build the component for debugging, run:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
yarn build-dev
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
To build the component for production, run:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
yarn build
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
To start the local server and display ./index.html via `http://localhost:5173/`:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
yarn start
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
To run the unit tests for the components run:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
yarn clean
|
|
39
|
-
yarn test
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
To publish to npm and GitHub,
|
|
43
|
-
1. Edit package.json to have the new version number
|
|
44
|
-
2. Run `yarn install`
|
|
45
|
-
3. Edit CHANGELOG.md to show the new release number and connect it to previous releases
|
|
46
|
-
4. Commit and push changes to GitHub
|
|
47
|
-
5. Run: `yarn release:publish`
|
|
48
|
-
|
|
49
|
-
## Linting
|
|
50
|
-
|
|
51
|
-
This package uses `lint-staged` to run ESLint and Prettier on all staged files.
|
|
52
|
-
To lint staged files, run `npm run lint` or `yarn lint`.
|
|
53
|
-
|
|
54
|
-
Consider running that as part of pre-commit hook or GitHub Action.
|
|
55
|
-
Documentation on
|
|
56
|
-
[arcgis-web-components' linting setup](https://qawebgis.esri.com/components/monorepo/support-packages/linting) for guidance.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
## Issues
|
|
60
|
-
|
|
61
|
-
Find a bug or want to request a new feature? Please let us know by submitting an issue.
|
|
3
|
+
**No Esri Technical Support included.**
|
|
62
4
|
|
|
5
|
+
This is not intended to be used directly, but rather used as a dependency for other Solutions applications.
|
|
63
6
|
|
|
64
7
|
## License
|
|
65
8
|
|
|
@@ -3,11 +3,13 @@ declare const _default: {
|
|
|
3
3
|
"portalURL": "https://www.arcgis.com",
|
|
4
4
|
"primarySolutionsGroupId": "8f741b82179543fe884bed012dd5f049",
|
|
5
5
|
"agoBasedEnterpriseSolutionsGroupId": "1d3a7ed66deb47269beea05ff9afd4c1",
|
|
6
|
+
"aiServiceUrl": "https://aiservices-beta.arcgis.com",
|
|
6
7
|
"consoleMessageLevel": 1,
|
|
7
8
|
"cookiesFirstUseVar": "solutions-deployment-first-use",
|
|
8
9
|
"isRTL": false,
|
|
9
10
|
"locale": "en",
|
|
10
11
|
"forceTrackingEnv": "dev",
|
|
12
|
+
"solutionsUrlMarker": "solutions",
|
|
11
13
|
"trackingEnabled": true,
|
|
12
14
|
"telemetry": {
|
|
13
15
|
"name": "solution-deployment-app",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import"./XQURVTFE.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{F as s}from"./QH7G7WSC.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import e from"./H3WB7ANQ.js";import b from"./MBGLCBIC.js";import"./LJ37OTR5.js";import a from"./MT4KKD5M.js";import{a as c}from"./DTHSN36M.js";import{a as f}from"./TISZ6QTW.js";import{c as w,t as y,u,y as _,z as L}from"./AWBOSR4C.js";import{b as v}from"./25MYRWPK.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{C as g,D as p,E as m,G as o,h as d,i as r,r as h}from"./QH7G7WSC.js";import"./XQURVTFE.js";export default $arcgis.t(([,{b:C},{t:b}])=>{var I=d`@layer{instant-apps-interactive-legend{display:block;height:100%}instant-apps-interactive-legend .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1)!important;color:var(--calcite-color-text-1)!important}instant-apps-interactive-legend .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}instant-apps-interactive-legend .esri-legend__layer,instant-apps-interactive-legend .esri-legend__layer-body{margin-left:0!important}instant-apps-interactive-legend .esri-legend__layer-row{box-sizing:border-box!important}}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},l=class extends m{constructor(){super(...arguments),this._messages=f({name:"instant-apps-interactive-legend"}),this.ref=g(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}static{this.shadowRootOptions=h}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await w(),this.reactiveUtils=e,this.widget=await _({});let t=await y({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,i=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(i),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},s=await u(a);this.legendvm=s,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)))}render(){let{base:e,component:t,widget:i,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,i,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(b(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${p(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:i}=this.reactiveUtils,a=i(()=>e.children,"change",()=>e.children.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(s=>{this._renderOnActiveLayerInfoChange(s,t),s?.children?.length>0&&s?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};v("instant-apps-interactive-legend",l);return l},a,b,e)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as e}from"./CNZTLIB3.js";import"./OVWAIW4T.js";import"./TF7HCU4R.js";import"./6M575VM5.js";import"./KJ7FA4KA.js";import"./AE6H6ELK.js";import"./LGY6RHRJ.js";import"./P7TBO62O.js";import"./UJ7M33YD.js";import"./ZGWPTRGZ.js";import"./5HZVV4CF.js";import"./EDB5QBJ4.js";import"./ZLWE4SGQ.js";import"./GAQ3EPIU.js";import"./C6XXEAWS.js";import"./L4ENNIQZ.js";import"./FA3IKFAL.js";import"./BHDNLSI7.js";import"./2GMVKD6U.js";import"./HYVUOIDV.js";import"./MXKXWU54.js";import"./OCTGDVTD.js";import{a as p}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as h}from"./JFT5UZJT.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./QH7G7WSC.js";import"./XQURVTFE.js";var u=m`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.inputBottomSeparation{@apply mt-0 mx-0 mb-6;}.icon-inline--on-left,.icon-inline--on-right{@apply inline align-middle m-inline-end-1.5;}.scale-down{@apply object-scale-down;}.img-container{@apply inline m-inline-end-4;}.summary-count-container{@apply inline flex-grow m-inline-start-3;}.parent-container{@apply max-w-full p-4;}label{@apply relative block mt-0 mx-0 mb-6 min-w-min;}}`,n=class extends c{constructor(){super(),this.itemId="",this.browseForThumbnail=a(),this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemType="",this._translations=p({name:"solution-item-details",blocking:!0}),this.itemSnippetCount=a(),this.thumbnail=a(),this.thumbnailContainer=a(),this.listen("calciteInputInput",this.inputReceivedHandler)}static{this.properties={itemId:3,itemDetails:16,itemEdit:16,_translations:16,thumbnail:16,thumbnailContainer:16}}static{this.styles=u}static{this.shadowRootOptions=r}willUpdate(){this.itemEdit=e.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type)}render(){return l`<div class="parent-container"><div class="inputBottomSeparation"><calcite-input id=item-title .value=${this.itemDetails.title}></calcite-input></div><div class="inputBottomSeparation"><input accept=.jpg,.gif,.png,image/jpg,image/gif,image/png class="display-none" @change=${t=>this._updateThumbnail(t)} type=file ${s(this.browseForThumbnail)}><button class="font-size--3 btn-link inline-block trailer-quarter" @click=${()=>this._getThumbnail()}><svg class="icon-inline icon-inline--on-left" height=16 viewBox="0 0 16 16" width=16>${o`<path d="M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" />`}</svg>${this._translations.editThumbnail}</button><div class="flex"><div class="img-container" ${s(this.thumbnailContainer)}><img class="scale-down" height=133 id=item-thumbnail width=200 ${s(this.thumbnail)}></div><div class="snippet-count-container"><calcite-input id=item-snippet max-length=250 type=textarea .value=${this.itemDetails.snippet}></calcite-input><label class="font-size--3" id=item-snippet-count ${s(this.itemSnippetCount)}></label></div></div></div><calcite-label>${this._translations.description}<label id=item-description-label><calcite-input id=item-description type=textarea .value=${this.itemDetails.description}></calcite-input></label></calcite-label><calcite-label>${this._translations.tags}<label id=item-tags-label><calcite-input id=item-tags .value=${(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}></calcite-input></label></calcite-label>${this.itemType!=="Group"?l`<calcite-label>${this._translations.credits}<label id=item-credits-label><calcite-input id=item-credits .value=${this.itemDetails.accessInformation}></calcite-input></label></calcite-label>`:null}${this.itemType!=="Group"?l`<calcite-label><label id=item-terms-label>${this._translations.termsOfUse}<calcite-input id=item-terms type=textarea .value=${this.itemDetails.licenseInfo}></calcite-input></label></calcite-label>`:null}</div>`}updated(){this._loadThumb()}inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet||""),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore();break}}_getThumbnail(){this.browseForThumbnail.value&&this.browseForThumbnail.value.click()}_loadThumb(){this.thumbnail.value&&this.itemEdit?.thumbnail?(this.thumbnail.value.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.value&&this.thumbnailContainer.value.classList.remove("empty-box"),this.thumbnail.value.classList.remove("display-none")):(this.thumbnailContainer.value&&this.thumbnailContainer.value.classList.add("empty-box"),this.thumbnail.value&&this.thumbnail.value.classList.add("display-none"))}_updateLengthLabel(t){if(this.itemSnippetCount.value){let i=this._translations.snippetCountPattern;this.itemSnippetCount.value.innerText=i.replace("{{n}}",t.length.toString())}}_updateStore(){this.itemEdit=e.getItemInfo(this.itemId),this.itemEdit&&(this.itemEdit.item=this.itemDetails,e.setItemInfo(this.itemEdit))}_updateThumbnail(t){let i=t.target.files;i&&i[0]&&this.thumbnail.value&&(this.thumbnail.value.src=URL.createObjectURL(i[0]),this.itemEdit=e.getItemInfo(this.itemId),this.itemEdit&&(this.itemEdit.thumbnail=i[0],e.replaceItemThumbnail(this.itemEdit)))}};h("solution-item-details",n);export{n as SolutionItemDetails};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{b as g}from"./65ZZ77SE.js";import{b as m}from"./JFT5UZJT.js";import{C as d,D as p,E as u,h as o,i as l}from"./QH7G7WSC.js";import"./XQURVTFE.js";var f=o`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block}.search-widget{width:100%!important;border:1px solid var(--calcite-color-border-input)}`,h=class extends u{constructor(){super(...arguments),this.popupEnabled=!1,this.resultGraphicEnabled=!1,this.searchTerm="",this._searchElement=d()}static{this.properties={mapView:0,popupEnabled:5,resultGraphicEnabled:5,searchConfiguration:0,searchTerm:1,searchWidget:0}}static{this.styles=f}willUpdate(e){e.has("searchConfiguration")&&this.watchSearchConfigurationHandler(),e.has("mapView")&&this.mapViewWatchHandler()}async watchSearchConfigurationHandler(){this._initSearchWidget()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSearchWidget()})}async load(){await this._initModules()}loaded(){return this._initSearchWidget()}render(){return l`<div class="search-widget" ${p(this._searchElement)}></div>`}async _initModules(){let[e,s]=await g(["esri/widgets/Search","esri/layers/FeatureLayer"]);this.Search=e,this.FeatureLayer=s}_initSearchWidget(){if(this.mapView&&this._searchElement.value&&!this.searchWidget){let e={view:this.mapView,container:this._searchElement.value,searchTerm:this.searchTerm};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this.mapView)}),this.searchWidget=this.Search&&new this.Search(e),this.searchWidget&&(this.searchWidget.popupEnabled=this.popupEnabled,this.searchWidget.resultGraphicEnabled=this.resultGraphicEnabled)}else this.searchWidget&&(this.searchWidget.view=this.mapView)}_getSearchConfig(e,s){let w="includeDefaultSources",a=e.sources;return a&&a?.length>0?(e[w]=!1,a.forEach(t=>{if(t.hasOwnProperty("layer")){let i=t,r=i.layer?.id,n=r?s.map?.findLayerById(r):null,c=i?.layer?.url;n?i.layer=n:c&&this.FeatureLayer&&(i.layer=new this.FeatureLayer(c))}}),a?.forEach(t=>{if(t.hasOwnProperty("locator")){let i=t;if(i?.name==="ArcGIS World Geocoding Service"){let r=i.outFields||["Addr_type","Match_addr","StAddr","City"];i.outFields=r,i.singleLineFieldName="SingleLine"}i.url=i.url,delete i.url}})):e={...e,includeDefaultSources:!0},e}};m("map-search",h);export{h as MapSearch};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as f}from"./DTHSN36M.js";import{a as D}from"./TXZZ7IGA.js";import{a as I}from"./TISZ6QTW.js";import{B as L,C as S}from"./AWBOSR4C.js";import{b as k}from"./25MYRWPK.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./QH7G7WSC.js";import"./XQURVTFE.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media(prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},v=class extends F{constructor(){super(...arguments),this._messages=I({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.isInitUpdateComplete=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.isInitUpdateComplete=!1,this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.isInitUpdateComplete=!1,this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([S(),L()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),await this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.isInitUpdateComplete||!this.view?.ready||(this.updateInitExpressions(),this.handleURLParams(),this.initExpressions())}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(!this.view?.map)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}}),this.isInitUpdateComplete=!0}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",v);export{v as InstantAppsFilterList};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as b}from"./SJGKDRLS.js";import{b as k}from"./OHWJG6P3.js";import{g as a}from"./OCTGDVTD.js";import{b as _}from"./65ZZ77SE.js";import{a as y}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as w}from"./JFT5UZJT.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./QH7G7WSC.js";import"./XQURVTFE.js";var u=n`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{display:block}.border{outline:1px solid var(--calcite-color-border-input)}.border-left{border-left:1px solid rgba(110,110,110,.3)}.border-left[dir=rtl]{border-right:1px solid rgba(110,110,110,.3)}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:Avenir Next,Helvetica Neue,Helvetica,Arial,sans-serif;line-height:1.3em;background-color:#fff;--esri-widget-padding-v: 12px;--esri-widget-padding-h: 15px;--esri-widget-padding: var(--esri-widget-padding-v) var(--esri-widget-padding-h)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row wrap;padding:0;justify-content:flex-start!important}.esri-sketch__section{align-items:center;display:flex;flex-flow:row wrap;padding:0 7px;margin:6px 0}.esri-responsive-toolbar__bar--horizontal{--calcite-action-group-border-color: var(--calcite-color-border-3) !important}}`,c=class extends m{constructor(){super(...arguments),this.active=!1,this.drawMode=a.SKETCH,this.editGraphicsEnabled=!0,this.graphics=[],this.redoEnabled=!1,this.undoEnabled=!1,this._translations=y({name:"map-draw-tools",blocking:!0}),this._pnContextConsumer=k({context:b,subscribe:!0}),this._sketchElement=p(),this.selectionLoadingChange=h(),this.sketchGraphicsChange=h(),this.drawUndo=h(),this.drawRedo=h()}static{this.properties={active:5,drawMode:0,editGraphicsEnabled:5,graphics:0,mapView:0,pointSymbol:0,polylineSymbol:0,polygonSymbol:0,redoEnabled:5,undoEnabled:5,_translations:16,_selectionMode:16}}static{this.styles=u}static{this.shadowRootOptions=d}willUpdate(e){e.has("graphics")&&this.graphicsWatchHandler(this.graphics,e.get("graphics")),e.has("mapView")&&this.mapView&&this.mapViewWatchHandler(this.mapView,e.get("mapView"))}graphicsWatchHandler(e,t){e&&e.length>0&&JSON.stringify(e)!==JSON.stringify(t)&&this._sketchGraphicsLayer&&(this._updateGraphicsSymbols(e),this._sketchGraphicsLayer.removeAll(),this._sketchGraphicsLayer.addMany(e))}mapViewWatchHandler(e,t){e&&e!==t&&this._init()}async clear(){this._clearSketch()}async updateGraphics(){this._updateGraphics()}async load(){await this._initModules()}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._sketchWidget?.cancel(),this._clearSketch()}render(){let e=this.drawMode===a.SKETCH?"border":"border esri-widget esri-sketch__panel",t=this.drawMode===a.SKETCH?"display-none":"esri-widget esri-sketch__panel border-left esri-sketch__section";return l`<div class=${r(e)}><div ${g(this._sketchElement)}></div><div class=${r(t)}><calcite-action .disabled=${!this.undoEnabled} icon=undo @click=${()=>this._undo()} scale=s .text=${this._translations.undo}></calcite-action><calcite-action .disabled=${!this.redoEnabled} icon=redo @click=${()=>this._redo()} scale=s .text=${this._translations.redo}></calcite-action></div></div>`}async _initModules(){let[e,t,s]=await _(["esri/layers/GraphicsLayer","esri/widgets/Sketch","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=e,this.Sketch=t,this.SketchViewModel=s}_init(){this.mapView&&this._sketchElement.value&&(this._initGraphicsLayer(),this._initSketch())}_initGraphicsLayer(){let e=this._pnContextConsumer.value,t=this._translations.sketchLayer;if(this.mapView){let s=this.mapView.map.layers.findIndex(i=>i.title===t);s>-1?this._sketchGraphicsLayer=this.mapView.map.layers.getItemAt(s):(this._sketchGraphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer({title:t,listMode:"hide"}),this._sketchGraphicsLayer&&(e.managedLayers[t]="sketch",this.mapView.map.layers.add(this._sketchGraphicsLayer))),this.graphics&&this.graphics.length>0&&this._sketchGraphicsLayer&&this._sketchGraphicsLayer.addMany(this.graphics)}}_initSketch(){let e={layer:this._sketchGraphicsLayer,view:this.mapView,defaultCreateOptions:{mode:"hybrid"},defaultUpdateOptions:{preserveAspectRatio:!1,enableScaling:!1,enableRotation:!1,tool:"reshape",toggleToolOnClick:!1}};if(this._sketchWidget=this.Sketch&&new this.Sketch({...e,container:this._sketchElement.value,creationMode:"single",toolbarKind:"docked",visibleElements:{duplicateButton:!1,selectionTools:{"lasso-selection":!1,"rectangle-selection":!1},createTools:{circle:!1},undoRedoMenu:!1,settingsMenu:this.drawMode===a.SKETCH}}),this._sketchWidget&&this._sketchWidget.viewModel){this._sketchViewModel=this.SketchViewModel&&new this.SketchViewModel({...e}),this.polylineSymbol&&(this._sketchWidget.viewModel.polylineSymbol=this.polylineSymbol),this.pointSymbol&&(this._sketchWidget.viewModel.pointSymbol=this.pointSymbol),this.polygonSymbol&&(this._sketchWidget.viewModel.polygonSymbol=this.polygonSymbol),this._sketchWidget?.when(async()=>{await new Promise(i=>setTimeout(i,50)),this._sketchElement.value?.getElementsByTagName("calcite-popover")[0]?.setAttribute("placement","auto")});let t=!1;this._sketchWidget.viewModel.addHandles(this._sketchWidget.on("create",i=>{i.state==="complete"&&(this.graphics=[i.graphic],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1}),this.drawMode===a.REFINE&&(t=!0,this._sketchWidget?.viewModel.create(i.tool))),i.state==="cancel"&&this.drawMode===a.REFINE&&t&&(t=!t,this._sketchWidget?.viewModel.create(i.tool))}));let s;this._sketchWidget.viewModel.addHandles(this._sketchWidget.on("update",i=>{if(!this.editGraphicsEnabled)this._sketchWidget?.viewModel.cancel(),this._sketchViewModel?.cancel();else{let o=i?.toolEventInfo?.type;(o==="move"||o==="reshape-stop"||o==="move-stop")&&(clearTimeout(s),s=window.setTimeout(async()=>{this.graphics=i.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})},1e3))}})),this._sketchWidget.viewModel.addHandles(this._sketchWidget.on("delete",()=>{this.graphics=[],this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.viewModel.addHandles(this._sketchWidget.on("undo",i=>{this.graphics=i.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})})),this._sketchWidget.viewModel.addHandles(this._sketchWidget.on("redo",i=>{this.graphics=i.graphics,this.sketchGraphicsChange.emit({graphics:this.graphics,useOIDs:!1})}))}}_clearSketch(){this._sketchWidget?.viewModel.cancel(),this.graphics=[],this._sketchGraphicsLayer?.removeAll()}_undo(){this.drawUndo.emit()}_redo(){this.drawRedo.emit()}_updateGraphics(){setTimeout(()=>{this.graphics.length===1&&this._sketchWidget&&this._sketchWidget.update(this.graphics,{tool:"reshape",enableRotation:!1,enableScaling:!1,preserveAspectRatio:!1,toggleToolOnClick:!1})},100)}_updateGraphicsSymbols(e){let t=e[0]?.geometry?.type,s=t==="point"?this.pointSymbol:t==="polyline"?this.polylineSymbol:t==="polygon"?this.polygonSymbol:void 0;s&&e.forEach(i=>i.symbol=s)}};w("map-draw-tools",c);export{c as MapDrawTools};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import"./XQURVTFE.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import"./XQURVTFE.js";var t="B\u1EA1n kh\xF4ng c\xF3 \u0111\u1EE7 credit \u0111\u1EC3 th\u1EF1c hi\u1EC7n thao t\xE1c n\xE0y. Vui l\xF2ng li\xEAn h\u1EC7 v\u1EDBi Qu\u1EA3n tr\u1ECB vi\xEAn H\u1EC7 th\u1ED1ng ArcGIS cu\u1EA3 b\u1EA1n \u0111\u1EC3 \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp.",a="\u0110\xE3 xu\u1EA5t b\u1EA3n c\xF4ng c\u1EE5 n\xE0y t\u1EEB notebook. T\u1ED5 ch\u1EE9c c\u1EE7a b\u1EA1n b\u1ECB ch\u1EB7n truy c\u1EADp v\xE0o ArcGIS Notebooks. Li\xEAn h\u1EC7 v\u1EDBi qu\u1EA3n tr\u1ECB vi\xEAn c\u1EE7a b\u1EA1n \u0111\u1EC3 \u0111i\u1EC1u ch\u1EC9nh thi\u1EBFt l\u1EADp.",n="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a ${ additionalProperty }.",r="${ dataPath } ph\u1EA3i kh\u1EDBp v\u1EDBi l\u01B0\u1EE3c \u0111\u1ED3 c\u1EE7a m\u1ED9t trong nh\u1EEFng th\u1EE9 sau: ${ schemaOptions }.",e="H\xE3y th\u1EED l\u01B0u l\u1EA1i b\u1EA3n \u0111\u1ED3.",h="Kh\xF4ng th\u1EC3 \u01AF\u1EDBc t\xEDnh Credit. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 \u01B0\u1EDBc t\xEDnh l\u1EA1i credit.",i="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi ch\u1EA1y ph\xE2n t\xEDch.",c="${ dataPath } ph\u1EA3i b\u1EB1ng m\u1ED9t trong nh\u1EEFng gi\xE1 tr\u1ECB \u0111\u01B0\u1EE3c ph\xE9p n\xE0y: ${ allowedValues }.",o="Kh\xF4ng th\u1EC3 l\u01B0u l\u1ECBch s\u1EED ph\xE2n t\xEDch",l="N\u01A1i l\u01B0u tr\u1EEF l\u1ECBch s\u1EED \u0111\xE3 \u0111\u1EA7y. X\xF3a m\u1ED9t s\u1ED1 m\u1EE5c kh\u1ECFi l\u1ECBch s\u1EED ph\xE2n t\xEDch v\xE0 th\u1EED l\u01B0u l\u1EA1i.",s="T\xEAn d\u1ECBch v\u1EE5 ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7.",u="L\u01B0u l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u1ED1i t\u01B0\u1EE3ng \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF ch\u01B0a ho\xE0n t\u1EA5t.",d="Kh\xF4ng th\u1EC3 nh\u1EADn c\xE1c thu\u1ED9c t\xEDnh c\u1EE7a kh\xF3a.",g="Kh\xF4ng th\u1EC3 t\u1EA3i l\u1EDBp.",m="L\u1EDBp kh\xF4ng kh\u1EA3 d\u1EE5ng.",p="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a nhi\u1EC1u h\u01A1n ${ limit } m\u1EE5c.",y="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi l\u01B0u m\xF4 h\xECnh. H\xE3y th\u1EED l\u01B0u l\u1EA7n n\u1EEFa.",k="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a d\u01B0\u1EDBi ${ limit } m\u1EE5c.",v="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ng\u1EAFn h\u01A1n ${ limit } k\xFD t\u1EF1.",E="Kh\xF4ng th\u1EC3 t\u1EA3i m\u1EE5c m\xF4 h\xECnh. \u0110\u1EA3m b\u1EA3o r\u1EB1ng m\xF4 h\xECnh t\u1ED3n t\u1EA1i v\xE0 quy\u1EC1n truy c\u1EADp \u0111\xE3 \u0111\u01B0\u1EE3c c\u1EA5p.",P="Kh\xF4ng th\u1EC3 ho\xE0n t\u1EA5t y\xEAu c\u1EA7u.",b="B\u1EA1n kh\xF4ng c\xF3 quy\u1EC1n ch\u1EA1y c\xF4ng c\u1EE5 n\xE0y. <calcite-link target='_blank' href='${ docLink }'>T\xECm hi\u1EC3u th\xEAm</calcite-link>",S="Kh\xF4ng th\u1EC3 \u0111\u0103ng nh\u1EADp v\xE0o c\u1ED5ng th\xF4ng tin.",T="Kh\xF4ng th\u1EC3 \u0111\u1ECDc d\u1EEF li\u1EC7u \u0111\u1EA7u v\xE0o.",$="${ dataPath } \u0111ang thi\u1EBFu m\u1ED9t t\xEAn ph\xF9 h\u1EE3p ${ missingProperty }.",f="\u0110\xE3 t\u1ED3n t\u1EA1i m\u1ED9t l\u1EDBp k\u1EBFt qu\u1EA3 c\xF3 t\xEAn n\xE0y. C\xE1c l\u1EDBp k\u1EBFt qu\u1EA3 ph\u1EA3i \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn duy nh\u1EA5t trong t\u1ED5 ch\u1EE9c. Vui l\xF2ng s\u1EED d\u1EE5ng t\xEAn kh\xE1c.",I="T\xEAn \u0111\u1EA7u ra ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7. <a href='${docLink}' target='_blank'>T\xECm hi\u1EC3u th\xEAm.</a>",F="Xu\u1EA5t b\u1EA3n l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF kh\xF4ng th\xE0nh c\xF4ng do m\u1ED9t ho\u1EB7c nhi\u1EC1u tr\u01B0\u1EDDng kh\xF4ng h\u1EE3p l\u1EC7. Ch\u1EA1y l\u1EA1i c\xF4ng c\u1EE5 \u0111\u1EC3 t\u1EA1o l\u1EDBp c\xF3 c\xE1c tr\u01B0\u1EDDng h\u1EE3p l\u1EC7.",L="G\u1EEDi c\xF4ng vi\u1EC7c th\u1EA5t b\u1EA1i. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 ch\u1EA1y l\u1EA1i ph\xE2n t\xEDch.",C="${ dataPath } ph\u1EA3i ch\u1EE9a \xEDt nh\u1EA5t m\u1ED9t k\xFD t\u1EF1 kh\xF4ng ph\u1EA3i kho\u1EA3ng tr\u1EAFng.",x={InsufficientCreditsError:t,accessBlocked:a,additionalProperty:n,anyOfValues:r,cannotWriteToItemResource:e,creditEstimationError:h,defaultError:i,enumValues:c,failedToSaveHistory:o,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:s,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:m,maxItems:p,mbFailedToSave:y,minItems:k,minLength:v,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:T,requiredProperty:$,serviceNameExistsError:f,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:C};export{t as InsufficientCreditsError,a as accessBlocked,n as additionalProperty,r as anyOfValues,e as cannotWriteToItemResource,h as creditEstimationError,x as default,i as defaultError,c as enumValues,o as failedToSaveHistory,l as fullSessionStorage,s as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,m as layerUnavailable,p as maxItems,y as mbFailedToSave,k as minItems,v as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,T as queryFeaturesError,$ as requiredProperty,f as serviceNameExistsError,I as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,C as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import"./XQURVTFE.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import c from"./H3WB7ANQ.js";import b from"./MBGLCBIC.js";import"./LJ37OTR5.js";import a from"./MT4KKD5M.js";import{a as u}from"./DTHSN36M.js";import{a as v}from"./TISZ6QTW.js";import{C as _}from"./AWBOSR4C.js";import{b as h}from"./25MYRWPK.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{E as g,G as p,h as m,i as r}from"./QH7G7WSC.js";import"./XQURVTFE.js";export default $arcgis.t(([,{a:s,b:y},{c:d,e:x,h:I,m:$,n:C,p:T,q:L,t:b}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},f=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let t=await _();this.intl=t}getCount(){let{categoryId:t}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!t)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,e=l.get(t),n;return e?.nestedInfos?n=T(e,this.infoIndex):n=e,Number.isNaN(n.count)?"":this.intl.formatNumber(n.count)}getTotalFeatureCount(){let t=this.activeLayerInfo.layer.id;if(!s.data||!t)return"";let a=s.data[t];if(!a)return;let{categories:o}=a,i=d(o),l=L(o),e;if(l)e=C(i);else if(I(this.activeLayerInfo)){let n=x(this.activeLayerInfo.layer);e=d(n.categories)[1].count}else e=$(i);return this.intl.formatNumber(e)}render(){let t=y.get("compact")?c.compact:"";return u("int-legend-count",r`<div class=${p(t)}>${this.showTotal?r`<span class=${p(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:u("element-info-count",r`<span class=${`${c.countText} ${b(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",f);return f},a,b,c)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as n}from"./VF3BOXK6.js";import{a as s}from"./CYDNA2QI.js";import"./ZGWPTRGZ.js";import"./5HZVV4CF.js";import"./EDB5QBJ4.js";import"./ZLWE4SGQ.js";import{a as r,b as a}from"./7QLGF5J6.js";import"./P32GLMOO.js";import"./GAQ3EPIU.js";import"./C6XXEAWS.js";import{a as o}from"./V33LR6IS.js";import{a as i}from"./NQNIGRVW.js";import"./L4ENNIQZ.js";import"./FA3IKFAL.js";import"./BHDNLSI7.js";import"./2GMVKD6U.js";import"./HYVUOIDV.js";import"./74G765B3.js";import"./CAC5OPSW.js";import"./E6CHHVGK.js";import"./MRRQXIAY.js";import"./ITJX53EA.js";import"./AK4FP6HL.js";import"./PNAS5XAC.js";import"./DUBCPEXD.js";import"./MXKXWU54.js";import"./3Z6YZFUQ.js";import"./LWNDAKHU.js";import"./HC4IU67I.js";import"./2YRUPZI2.js";import"./RBY55AW4.js";import"./OGFRY2XT.js";import"./KRGPHVWG.js";import"./D2D2CPBJ.js";import"./RYTGUQNW.js";import"./GGMFABEF.js";import"./3VWHKZED.js";import"./MCPVXPMM.js";import"./JC7USH53.js";import"./HDWF5BGC.js";import"./XQURVTFE.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as e}from"./3VWHKZED.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import a from"./BDJVTVGV.js";export default $arcgis.t(([{k:i}])=>{function h(n,t){let r=[];return n.forEach(e=>{t.has(e.id)&&r.push(e)}),r}function w(n,t,r){if(t<1||n.length<t)return{cards:[],paging:{start:t,num:0,nextStart:-1,total:n.length}};let e=Math.min(t+r,n.length+1),s=e<n.length?e:-1;return{cards:n.slice(t-1,e-1),paging:{start:t,num:e-t,nextStart:s,total:n.length}}}function g(n,t){let r=d(n);return l(r,t)}function l(n,t){let r=[];return t.forEach(e=>{let s=c(e);s&&n.indexOf(s)>=0&&e.relatedSolutions&&(r=r.concat(e.relatedSolutions))}),new Set(r)}function c(n){let t="solutionid-",r=n.typeKeywords.filter(s=>s.startsWith(t)),e=null;return Array.isArray(r)&&r.length>0&&(e=r[0].substring(t.length)),e}function d(n){let t=[];return n.forEach(r=>{let e=c(r);e&&t.push(e)}),t=Array.from(new Set(t)),t}function m(n){let t="solutionversion-",r=(n.typeKeywords||[]).reduce((e,s)=>(s.startsWith(t)&&(e=Number(s.replace(t,""))),e),-1);return isNaN(r)?-1:r}function p(n,t,r){let e,s=r==="asc"?1:-1;switch(t){case"created":e=(a,o)=>s*(a.createdMs<o.createdMs?-1:a.createdMs>o.createdMs?1:0);break;case"numviews":e=(a,o)=>s*(a.numViews<o.numViews?-1:a.numViews>o.numViews?1:0);break;case"title":e=(a,o)=>s*(a.title.toLowerCase()<o.title.toLowerCase()?-1:a.title.toLowerCase()>o.title.toLowerCase()?1:0);break;default:e=()=>0;break}return n.sort(e),n}function u(n){return n.toLowerCase().replace(/\s+/g,"-")}function y(n,t){return n.find(r=>u(r.title)===t||t===r.id)}function b(n,t){let r="solutionid-";return n.find(e=>i(e.typeKeywords,r)===t)}function S(n,t){let r=n.find(e=>t===e.deployCommonId);return u(r.title)}return{a:h,b:w,c:g,d:m,e:p,f:u,g:y,h:b,i:S}},a)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a,b}from"./3Z6YZFUQ.js";import"./GGMFABEF.js";import"./3VWHKZED.js";import"./MCPVXPMM.js";import"./JC7USH53.js";import"./HDWF5BGC.js";import"./XQURVTFE.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as i}from"./2GMVKD6U.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as s}from"./CYDNA2QI.js";import"./ZGWPTRGZ.js";import"./5HZVV4CF.js";import"./EDB5QBJ4.js";import"./ZLWE4SGQ.js";import{a as r,b as a}from"./7QLGF5J6.js";import"./P32GLMOO.js";import"./GAQ3EPIU.js";import"./C6XXEAWS.js";import{a as o}from"./V33LR6IS.js";import{a as i}from"./NQNIGRVW.js";import"./L4ENNIQZ.js";import"./FA3IKFAL.js";import"./BHDNLSI7.js";import"./2GMVKD6U.js";import"./HYVUOIDV.js";import"./74G765B3.js";import"./CAC5OPSW.js";import"./E6CHHVGK.js";import"./MRRQXIAY.js";import"./ITJX53EA.js";import"./AK4FP6HL.js";import"./PNAS5XAC.js";import"./DUBCPEXD.js";import"./MXKXWU54.js";import"./3Z6YZFUQ.js";import"./LWNDAKHU.js";import"./HC4IU67I.js";import"./2YRUPZI2.js";import"./RBY55AW4.js";import"./OGFRY2XT.js";import"./KRGPHVWG.js";import"./D2D2CPBJ.js";import"./RYTGUQNW.js";import"./GGMFABEF.js";import"./3VWHKZED.js";import"./MCPVXPMM.js";import"./JC7USH53.js";import"./HDWF5BGC.js";import"./XQURVTFE.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as n}from"./JFT5UZJT.js";import{E as r,I as e,h as s,i as t}from"./QH7G7WSC.js";import"./XQURVTFE.js";var c=s`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.height-full{height:100%}`,i=class extends r{constructor(){super(),this.href="",this.heading="",this._translations=a({name:"solutions-resource-panel",blocking:!0}),this.listenOn(window,"resourceCardSelected",this._cardSelected)}static{this.properties={href:1,heading:1,_translations:16}}static{this.styles=c}render(){return t`<calcite-panel><iframe class="height-full" src=${this.href??e} title=${this.heading??e}></iframe></calcite-panel>`}_cardSelected(o){this.href=o.detail}};n("solutions-resource-panel",i);export{i as SolutionsResourcePanel};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import"./XQURVTFE.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import"./XQURVTFE.js";var a="Sinulla ei ole riitt\xE4v\xE4sti krediittej\xE4 t\xE4m\xE4n toiminnon toteuttamiseen. Pyyd\xE4 apua ArcGIS-j\xE4rjestelm\xE4n p\xE4\xE4k\xE4ytt\xE4j\xE4lt\xE4.",t="T\xE4m\xE4 ty\xF6kalu on julkaistu muistikirjasta. Organisaatiosi ArcGIS Notebooks -k\xE4ytt\xF6oikeus on ev\xE4tty. Ota yhteys p\xE4\xE4k\xE4ytt\xE4j\xE4\xE4n asetuksen muuttamista varten.",e="Kohteessa ${ dataPath } ei saa olla kohdetta ${ additionalProperty }.",i="Kohteen ${ dataPath } on vastattava jotakin n\xE4ist\xE4 skeemoista: ${ schemaOptions }.",s="Yrit\xE4 tallentaa kartta uudelleen.",o="Krediitin arviointi ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja arvioi krediitit uudelleen.",n="Analyysia suorittaessa tapahtui virhe.",r="Kohteen ${ dataPath } tulee olla yht\xE4 suuri kuin jokin n\xE4ist\xE4 sallituista arvoista: ${ allowedValues }.",l="Analyysihistorian tallennus ep\xE4onnistui",u="Historian tallennustila on t\xE4ynn\xE4. Poista joitain kohteita analyysihistoriasta ja yrit\xE4 tallentaa uudelleen.",d="Palvelun nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin.",k="Tilap\xE4isen karttatason tallennusta is\xE4nn\xF6ityn\xE4 karttatasona ei suoritettu loppuun.",m="Avainominaisuuksien nouto ep\xE4onnistui.",y="Karttatason lataus ep\xE4onnistui.",h="Karttataso ei ole k\xE4ytett\xE4viss\xE4.",v="Kohteessa ${ dataPath } ei saa olla yli ${ limit } kohdetta.",c="Mallia tallennettaessa tapahtui virhe. Yrit\xE4 tallentaa uudelleen.",p="Kohteessa ${ dataPath } ei saa olla alle ${ limit } kohdetta.",P="${ dataPath } ei saa olla alle ${ limit } merkki\xE4 pitk\xE4.",E="Mallikohteen lataus ep\xE4onnistui. Varmista, ett\xE4 malli on olemassa ja ett\xE4 k\xE4ytt\xF6oikeus on my\xF6nnetty.",j="Pyynn\xF6n suorittaminen ep\xE4onnistui.",S="Sinulla ei ole t\xE4m\xE4n ty\xF6kalun suoritusoikeutta. <calcite-link target='_blank' href='${ docLink }'>Lis\xE4tietoja</calcite-link>",T="Portaaliin kirjautuminen ep\xE4onnistui.",$="L\xE4ht\xF6tietojen luku ep\xE4onnistui.",f="Kohteesta ${ dataPath } puuttuu ominaisuus ${ missingProperty }.",F="T\xE4m\xE4n niminen tuloskarttataso on jo olemassa. Tuloskarttatasot on nimett\xE4v\xE4 yksil\xF6llisesti koko organisaatiossa. K\xE4yt\xE4 toista nime\xE4.",I="Tulosaineiston nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin. <a href='${docLink}' target='_blank'>Lue lis\xE4\xE4.</a>",L="Tilap\xE4isen karttatason julkaiseminen is\xE4nn\xF6ityn\xE4 karttatasona ei onnistunut v\xE4hint\xE4\xE4n yhden virheellisen kent\xE4n vuoksi. Suorita ty\xF6kalu uudelleen, jos haluat luoda karttatason kelvollisilla kentill\xE4.",K="Ty\xF6n l\xE4hetys ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja suorita analyysi uudelleen.",V="Kohteessa ${ dataPath } on oltava v\xE4hint\xE4\xE4n yksi muu kuin v\xE4limerkki.",g={InsufficientCreditsError:a,accessBlocked:t,additionalProperty:e,anyOfValues:i,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:n,enumValues:r,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:h,maxItems:v,mbFailedToSave:c,minItems:p,minLength:P,modelNotFound:E,networkError:j,noPermissionToAccessTool:S,portalLoadError:T,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:K,whiteSpacePattern:V};export{a as InsufficientCreditsError,t as accessBlocked,e as additionalProperty,i as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,g as default,n as defaultError,r as enumValues,l as failedToSaveHistory,u as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,h as layerUnavailable,v as maxItems,c as mbFailedToSave,p as minItems,P as minLength,E as modelNotFound,j as networkError,S as noPermissionToAccessTool,T as portalLoadError,$ as queryFeaturesError,f as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,K as toolValidationError,V as whiteSpacePattern};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as g}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as p}from"./JFT5UZJT.js";import{E as u,I as s,h as l,i as c,r as h}from"./QH7G7WSC.js";import"./XQURVTFE.js";var b=l`@layer{/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/:host{@apply block;}.editor-container{@apply relative h-full;}.editor-controls{@apply h-11 pr-2;}.editor-buttons{@apply float-right;}html[dir=rtl] .editor-buttons{@apply float-left;}.edit-error-flag{@apply pt-2;color:red;visibility:hidden}.edit-button{@apply p-inline-start-2;}.editor-text{@apply w-full overflow-y-auto;}.edit-width{@apply w-full;}.edit-parent{@apply w-full box-border;height:calc(100% - 46px)}.json-edit-container{@apply w-full h-full border-lightgray;}.padding-right{@apply p-inline-end-0.5;}.btn{@apply flex mb-4 content-center;height:25px;width:120px}.select-ctrl{@apply mb-4;}.all-edits{@apply mt-16;}.floating-title{font-size:2rem;z-index:100;position:absolute;left:.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{@apply absolute left-0 top-0 w-full h-full m-0 p-0 overflow-hidden;max-height:100%!important}.json-editor-position2a{@apply absolute left-0 top-0 w-1/2 h-full m-0 p-0 overflow-hidden;max-height:100%!important}.json-editor-position2b{@apply absolute right-0 top-0 w-1/2 h-full m-0 p-0 overflow-hidden;max-height:100%!important}}`,n=class extends u{constructor(){super(...arguments),this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value="",this._loaded=!1,this._translations=g({name:"json-editor",blocking:!0}),this._useDiffEditor=!1}static{this.properties={hasChanges:7,hasErrors:7,instanceid:3,value:3,_translations:16}}static{this.styles=b}static{this.shadowRootOptions=h}loaded(){let t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));let e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(a,_,r){if(a.id===i._currentModel.id){i._flagEditorHasErrors(r.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged());let d=document.getElementById(`${i.instanceid}-errorFlag`);d&&(d.style.visibility=i.hasErrors?"visible":"hidden")}e.call(monaco.editor,a,_,r)};let o=document.getElementById(`${this.instanceid}-diff-container`);o&&(this._diffEditor=monaco.editor.createDiffEditor(o,{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo())}}async load(){this._initValueObserver()}render(){return c`<div .id=${`${this.instanceid}-editor-container`} class="editor-container padding-right"><div class="editor-controls"><div class="editor-buttons"><calcite-icon .id=${`${this.instanceid}-errorFlag`} icon=exclamation-mark-triangle title=${this._translations.errorFlag??s} scale=s class="edit-error-flag"></calcite-icon><calcite-button .id=${`${this.instanceid}-undo`} kind=brand appearance=solid title=${this._translations.undo??s} @click=${()=>this._undo()} scale=s class="edit-button"><calcite-icon icon=undo scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-redo`} kind=brand appearance=solid title=${this._translations.redo??s} @click=${()=>this._redo()} scale=s class="edit-button"><calcite-icon icon=redo scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-diff`} kind=brand appearance=solid title=${this._translations.diff??s} @click=${()=>this._toggleEditor()} scale=s class="edit-button"><calcite-icon icon=compare scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-search`} appearance=outline kind=brand title=${this._translations.search??s} @click=${()=>this._search()} scale=s class="edit-button"><calcite-icon icon=search scale=s></calcite-icon></calcite-button><calcite-button .id=${`${this.instanceid}-reset`} kind=brand appearance=solid disabled title=${this._translations.cancelEdits??s} @click=${()=>this._reset()} scale=s class="edit-button"><calcite-icon icon=reset scale=s></calcite-icon></calcite-button></div></div><div class="edit-parent"><div .id=${`${this.instanceid}-container`} class="json-edit-container"></div><div .id=${`${this.instanceid}-diff-container`} class="json-edit-container display-none"></div></div></div>`}async getEditorContents(){return new Promise((t,e)=>{try{let i=this._currentModel.getValue();t(i)}catch(i){e(i)}})}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){let e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise((t,e)=>{try{this._reset(),t({success:!0})}catch(i){e(i)}})}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}_initValueObserver(){this._valueObserver=new MutationObserver(t=>{t.forEach(e=>{e.type==="attributes"&&e.attributeName==="value"&&e.target[e.attributeName]!==e.oldValue&&this._loaded&&this._currentModel.setValue(this.value)})}),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);t&&e&&(this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none")))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}};p("json-editor",n);export{n as JsonEditor};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import"./XQURVTFE.js";var{entries:_t,setPrototypeOf:ct,isFrozen:Yt,getPrototypeOf:Xt,getOwnPropertyDescriptor:jt}=Object,{freeze:S,seal:L,create:Pe}=Object,{apply:ve,construct:ke}=typeof Reflect<"u"&&Reflect;S||(S=function(o){return o});L||(L=function(o){return o});ve||(ve=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O<a;O++)c[O-2]=arguments[O];return o.apply(l,c)});ke||(ke=function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return new o(...a)});var ce=R(Array.prototype.forEach),Vt=R(Array.prototype.lastIndexOf),ft=R(Array.prototype.pop),q=R(Array.prototype.push),$t=R(Array.prototype.splice),ue=R(String.prototype.toLowerCase),Ne=R(String.prototype.toString),Ie=R(String.prototype.match),K=R(String.prototype.replace),qt=R(String.prototype.indexOf),Kt=R(String.prototype.trim),b=R(Object.prototype.hasOwnProperty),A=R(RegExp.prototype.test),Z=Zt(TypeError);function R(s){return function(o){o instanceof RegExp&&(o.lastIndex=0);for(var l=arguments.length,a=new Array(l>1?l-1:0),c=1;c<l;c++)a[c-1]=arguments[c];return ve(s,o,a)}}function Zt(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return ke(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue;ct&&ct(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){let O=l(c);O!==c&&(Yt(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Jt(s){for(let o=0;o<s.length;o++)b(s,o)||(s[o]=null);return s}function M(s){let o=Pe(null);for(let[l,a]of _t(s))b(s,l)&&(Array.isArray(a)?o[l]=Jt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=M(a):o[l]=a);return o}function J(s,o){for(;s!==null;){let a=jt(s,o);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}s=Xt(s)}function l(){return null}return l}var ut=S(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ce=S(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Me=S(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Qt=S(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),we=S(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),en=S(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mt=S(["#text"]),pt=S(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),xe=S(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),dt=S(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fe=S(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),tn=L(/\{\{[\w\W]*|[\w\W]*\}\}/gm),nn=L(/<%[\w\W]*|[\w\W]*%>/gm),on=L(/\$\{[\w\W]*/gm),an=L(/^data-[\-\w.\u00B7-\uFFFF]+$/),rn=L(/^aria-[\-\w]+$/),gt=L(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sn=L(/^(?:\w+script|data):/i),ln=L(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ht=L(/^html$/i),cn=L(/^[a-z][.\w]*(-[.\w]+)+$/i),Tt=Object.freeze({__proto__:null,ARIA_ATTR:rn,ATTR_WHITESPACE:ln,CUSTOM_ELEMENT:cn,DATA_ATTR:an,DOCTYPE_NAME:ht,ERB_EXPR:nn,IS_ALLOWED_URI:gt,IS_SCRIPT_OR_DATA:sn,MUSTACHE_EXPR:tn,TMPLIT_EXPR:on}),Q={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},fn=function(){return typeof window>"u"?null:window},un=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null,c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));let O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(P){return P},createScriptURL(P){return P}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function At(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fn(),o=i=>At(i);if(o.version="3.3.0",o.removed=[],!s||!s.document||s.document.nodeType!==Q.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s,a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:P,Node:me,Element:Ue,NodeFilter:B,NamedNodeMap:St=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Rt,DOMParser:Ot,trustedTypes:ee}=s,Y=Ue.prototype,yt=J(Y,"cloneNode"),Lt=J(Y,"remove"),bt=J(Y,"nextSibling"),Dt=J(Y,"childNodes"),te=J(Y,"parentNode");if(typeof P=="function"){let i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let g,X="",{implementation:pe,createNodeIterator:Nt,createDocumentFragment:It,getElementsByTagName:Ct}=l,{importNode:Mt}=a,h=Et();o.isSupported=typeof _t=="function"&&typeof te=="function"&&pe&&pe.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:de,ERB_EXPR:Te,TMPLIT_EXPR:Ee,DATA_ATTR:wt,ARIA_ATTR:xt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:Fe,CUSTOM_ELEMENT:vt}=Tt,{IS_ALLOWED_URI:He}=Tt,p=null,ze=r({},[...ut,...Ce,...Me,...we,...mt]),T=null,Ge=r({},[...pt,...xe,...dt,...fe]),u=Object.seal(Pe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),j=null,_e=null,v=Object.seal(Pe(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),We=!0,ge=!0,Be=!1,Ye=!0,k=!1,ne=!0,w=!1,he=!1,Ae=!1,U=!1,oe=!1,ie=!1,Xe=!0,je=!1,kt="user-content-",Se=!0,V=!1,F={},H=null,Ve=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,qe=r({},["audio","video","img","source","image","track"]),Re=null,Ke=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",N="http://www.w3.org/1999/xhtml",z=N,Oe=!1,ye=null,Ut=r({},[ae,re,N],Ne),se=r({},["mi","mo","mn","ms","mtext"]),le=r({},["annotation-xml"]),Ft=r({},["title","style","font","a","script"]),$=null,Ht=["application/xhtml+xml","text/html"],zt="text/html",d=null,G=null,Gt=l.createElement("form"),Ze=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=M(e),$=Ht.indexOf(e.PARSER_MEDIA_TYPE)===-1?zt:e.PARSER_MEDIA_TYPE,d=$==="application/xhtml+xml"?Ne:ue,p=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,d):ze,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,d):Ge,ye=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ne):Ut,Re=b(e,"ADD_URI_SAFE_ATTR")?r(M(Ke),e.ADD_URI_SAFE_ATTR,d):Ke,$e=b(e,"ADD_DATA_URI_TAGS")?r(M(qe),e.ADD_DATA_URI_TAGS,d):qe,H=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,d):Ve,j=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,d):M({}),_e=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,d):M({}),F=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,We=e.ALLOW_ARIA_ATTR!==!1,ge=e.ALLOW_DATA_ATTR!==!1,Be=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ye=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,k=e.SAFE_FOR_TEMPLATES||!1,ne=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,oe=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,Ae=e.FORCE_BODY||!1,Xe=e.SANITIZE_DOM!==!1,je=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,V=e.IN_PLACE||!1,He=e.ALLOWED_URI_REGEXP||gt,z=e.NAMESPACE||N,se=e.MATHML_TEXT_INTEGRATION_POINTS||se,le=e.HTML_INTEGRATION_POINTS||le,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ze(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),k&&(ge=!1),oe&&(U=!0),F&&(p=r({},mt),T=[],F.html===!0&&(r(p,ut),r(T,pt)),F.svg===!0&&(r(p,Ce),r(T,xe),r(T,fe)),F.svgFilters===!0&&(r(p,Me),r(T,xe),r(T,fe)),F.mathMl===!0&&(r(p,we),r(T,dt),r(T,fe))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?v.tagCheck=e.ADD_TAGS:(p===ze&&(p=M(p)),r(p,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?v.attributeCheck=e.ADD_ATTR:(T===Ge&&(T=M(T)),r(T,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&r(Re,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(H===Ve&&(H=M(H)),r(H,e.FORBID_CONTENTS,d)),Se&&(p["#text"]=!0),w&&r(p,["html","head","body"]),p.table&&(r(p,["tbody"]),delete j.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=e.TRUSTED_TYPES_POLICY,X=g.createHTML("")}else g===void 0&&(g=un(ee,c)),g!==null&&typeof X=="string"&&(X=g.createHTML(""));S&&S(e),G=e}},Je=r({},[...Ce,...Me,...Qt]),Qe=r({},[...we,...en]),Wt=function(e){let t=te(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});let n=ue(e.tagName),f=ue(t.tagName);return ye[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===N?n==="svg":t.namespaceURI===ae?n==="svg"&&(f==="annotation-xml"||se[f]):!!Je[n]:e.namespaceURI===ae?t.namespaceURI===N?n==="math":t.namespaceURI===re?n==="math"&&le[f]:!!Qe[n]:e.namespaceURI===N?t.namespaceURI===re&&!le[f]||t.namespaceURI===ae&&!se[f]?!1:!Qe[n]&&(Ft[n]||!Je[n]):!!($==="application/xhtml+xml"&&ye[e.namespaceURI]):!1},D=function(e){q(o.removed,{element:e});try{te(e).removeChild(e)}catch{Lt(e)}},x=function(e,t){try{q(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(U||oe)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},et=function(e){let t=null,n=null;if(Ae)e="<remove></remove>"+e;else{let m=Ie(e,/^[\r\n\t ]+/);n=m&&m[0]}$==="application/xhtml+xml"&&z===N&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let f=g?g.createHTML(e):e;if(z===N)try{t=new Ot().parseFromString(f,$)}catch{}if(!t||!t.documentElement){t=pe.createDocument(z,"template",null);try{t.documentElement.innerHTML=Oe?X:f}catch{}}let _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===N?Ct.call(t,w?"html":"body")[0]:w?t.documentElement:_},tt=function(e){return Nt.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},be=function(e){return e instanceof Rt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof St)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},nt=function(e){return typeof me=="function"&&e instanceof me};function I(i,e,t){ce(i,n=>{n.call(o,e,t,G)})}let ot=function(e){let t=null;if(I(h.beforeSanitizeElements,e,null),be(e))return D(e),!0;let n=d(e.nodeName);if(I(h.uponSanitizeElement,e,{tagName:n,allowedTags:p}),ne&&e.hasChildNodes()&&!nt(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||ne&&e.nodeType===Q.comment&&A(/<[/\w]/g,e.data))return D(e),!0;if(!(v.tagCheck instanceof Function&&v.tagCheck(n))&&(!p[n]||j[n])){if(!j[n]&&at(n)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Se&&!H[n]){let f=te(e)||e.parentNode,_=Dt(e)||e.childNodes;if(_&&f){let m=_.length;for(let y=m-1;y>=0;--y){let C=yt(_[y],!0);C.__removalCount=(e.__removalCount||0)+1,f.insertBefore(C,bt(e))}}}return D(e),!0}return e instanceof Ue&&!Wt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(k&&e.nodeType===Q.text&&(t=e.textContent,ce([de,Te,Ee],f=>{t=K(t,f," ")}),e.textContent!==t&&(q(o.removed,{element:e.cloneNode()}),e.textContent=t)),I(h.afterSanitizeElements,e,null),!1)},it=function(e,t,n){if(Xe&&(t==="id"||t==="name")&&(n in l||n in Gt))return!1;if(!(ge&&!_e[t]&&A(wt,t))){if(!(We&&A(xt,t))){if(!(v.attributeCheck instanceof Function&&v.attributeCheck(t,e))){if(!T[t]||_e[t]){if(!(at(e)&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&A(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&A(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!Re[t]){if(!A(He,K(n,Fe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&qt(n,"data:")===0&&$e[e])){if(!(Be&&!A(Pt,K(n,Fe,"")))){if(n)return!1}}}}}}}return!0},at=function(e){return e!=="annotation-xml"&&Ie(e,vt)},rt=function(e){I(h.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||be(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0},f=t.length;for(;f--;){let _=t[f],{name:m,namespaceURI:y,value:C}=_,W=d(m),De=C,E=m==="value"?De:Kt(De);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,I(h.uponSanitizeAttribute,e,n),E=n.attrValue,je&&(W==="id"||W==="name")&&(x(m,e),E=kt+E),ne&&A(/((--!?|])>)|<\/(style|title|textarea)/i,E)){x(m,e);continue}if(W==="attributename"&&Ie(E,"href")){x(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){x(m,e);continue}if(!Ye&&A(/\/>/i,E)){x(m,e);continue}k&&ce([de,Te,Ee],lt=>{E=K(E,lt," ")});let st=d(e.nodeName);if(!it(st,W,E)){x(m,e);continue}if(g&&typeof ee=="object"&&typeof ee.getAttributeType=="function"&&!y)switch(ee.getAttributeType(st,W)){case"TrustedHTML":{E=g.createHTML(E);break}case"TrustedScriptURL":{E=g.createScriptURL(E);break}}if(E!==De)try{y?e.setAttributeNS(y,m,E):e.setAttribute(m,E),be(e)?D(e):ft(o.removed)}catch{x(m,e)}}I(h.afterSanitizeAttributes,e,null)},Bt=function i(e){let t=null,n=tt(e);for(I(h.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)I(h.uponSanitizeShadowNode,t,null),ot(t),rt(t),t.content instanceof O&&i(t.content);I(h.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(Oe=!i,Oe&&(i="<!-->"),typeof i!="string"&&!nt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Z("dirty is not a string, aborting")}else throw Z("toString is not a function");if(!o.isSupported)return i;if(he||Le(e),o.removed=[],typeof i=="string"&&(V=!1),V){if(i.nodeName){let C=d(i.nodeName);if(!p[C]||j[C])throw Z("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof me)t=et("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Q.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!U&&!k&&!w&&i.indexOf("<")===-1)return g&&ie?g.createHTML(i):i;if(t=et(i),!t)return U?null:ie?X:""}t&&Ae&&D(t.firstChild);let m=tt(V?i:t);for(;f=m.nextNode();)ot(f),rt(f),f.content instanceof O&&Bt(f.content);if(V)return i;if(U){if(oe)for(_=It.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=Mt.call(a,_,!0)),_}let y=w?t.outerHTML:t.innerHTML;return w&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(ht,t.ownerDocument.doctype.name)&&(y="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
5
|
+
`+y),k&&ce([de,Te,Ee],C=>{y=K(y,C," ")}),g&&ie?g.createHTML(y):y},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Le(i),he=!0},o.clearConfig=function(){G=null,he=!1},o.isValidAttribute=function(i,e,t){G||Le({});let n=d(i),f=d(e);return it(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&q(h[i],e)},o.removeHook=function(i,e){if(e!==void 0){let t=Vt(h[i],e);return t===-1?void 0:$t(h[i],t,1)[0]}return ft(h[i])},o.removeHooks=function(i){h[i]=[]},o.removeAllHooks=function(){h=Et()},o}var mn=At();export{mn as default};
|