@esri/solutions-components 1.2.0-next.4 → 1.2.0-next.6
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/dist/cdn/2B5AGHXF.js +4 -0
- package/dist/cdn/2EHFNAOJ.js +4 -0
- package/dist/cdn/2I7ZXFLR.js +4 -0
- package/dist/cdn/2M3SOJDG.js +4 -0
- package/dist/cdn/2NYFZ3GV.js +4 -0
- package/dist/cdn/3AKHI3FX.js +4 -0
- package/dist/cdn/3BHENULJ.js +4 -0
- package/dist/cdn/3C4J2KTB.js +18 -0
- package/dist/cdn/3CTIZI7X.js +4 -0
- package/dist/cdn/3EW7ECME.js +4 -0
- package/dist/cdn/3KSTQFBT.js +4 -0
- package/dist/cdn/3KY6MGOJ.js +8 -0
- package/dist/cdn/3MHZEKGJ.js +18 -0
- package/dist/cdn/3N2ZNCG2.js +4 -0
- package/dist/cdn/3NOU63QC.js +4 -0
- package/dist/cdn/3QQBHMCG.js +4 -0
- package/dist/cdn/3R3HPZAK.js +4 -0
- package/dist/cdn/3U3CU6DD.js +4 -0
- package/dist/cdn/3WLCCGUI.js +18 -0
- package/dist/cdn/42QAHP2H.js +4 -0
- package/dist/cdn/43AII6JW.js +4 -0
- package/dist/cdn/43IHB26O.js +4 -0
- package/dist/cdn/46V3IO5X.js +4 -0
- package/dist/cdn/4AJTL34Z.js +385 -0
- package/dist/cdn/4DQWCLKY.js +4 -0
- package/dist/cdn/4HZ73PXZ.js +18 -0
- package/dist/cdn/4VRBEE4E.js +4 -0
- package/dist/cdn/4WIF7IWJ.js +18 -0
- package/dist/cdn/4ZBQDA7G.js +18 -0
- package/dist/cdn/55OACR4S.js +18 -0
- package/dist/cdn/5CHNKTZ7.js +4 -0
- package/dist/cdn/5CXTZ7NA.js +4 -0
- package/dist/cdn/5DBXMD4E.js +4 -0
- package/dist/cdn/5G5N3YGW.js +4 -0
- package/dist/cdn/5GNTAQBB.js +4 -0
- package/dist/cdn/5IOHRNFC.js +4 -0
- package/dist/cdn/5RDDXPRM.js +4 -0
- package/dist/cdn/63PYENHX.js +18 -0
- package/dist/cdn/644DJYKF.js +4 -0
- package/dist/cdn/64P5PANG.js +18 -0
- package/dist/cdn/65LDPG2Z.js +4 -0
- package/dist/cdn/6BZPVMC3.js +89 -0
- package/dist/cdn/6MDG4NZX.js +18 -0
- package/dist/cdn/6NEMUKY7.js +4 -0
- package/dist/cdn/6OU6VXZE.js +4 -0
- package/dist/cdn/6OUC5SZJ.js +4 -0
- package/dist/cdn/6TG774RB.js +5 -0
- package/dist/cdn/6YSZRWQG.js +18 -0
- package/dist/cdn/72IRHFJ6.js +4 -0
- package/dist/cdn/75HEJGBB.js +4 -0
- package/dist/cdn/7ASCWQCT.js +4 -0
- package/dist/cdn/7D6B7W25.js +18 -0
- package/dist/cdn/7F75Q6X6.js +4 -0
- package/dist/cdn/7LCAN4QM.js +4 -0
- package/dist/cdn/7LDGOYUE.js +4 -0
- package/dist/cdn/7LVVHGLQ.js +4 -0
- package/dist/cdn/7OLNN2MW.js +4 -0
- package/dist/cdn/7OLQQGDE.js +4 -0
- package/dist/cdn/7QXVNVSY.js +4 -0
- package/dist/cdn/7SQMKKG6.js +4 -0
- package/dist/cdn/7WK46WPW.js +18 -0
- package/dist/cdn/7XJB7VS7.js +4 -0
- package/dist/cdn/A6SDFMS4.js +4 -0
- package/dist/cdn/AAJ34PVZ.js +4 -0
- package/dist/cdn/AHQC773M.js +4 -0
- package/dist/cdn/AKC6SE65.js +18 -0
- package/dist/cdn/AN4ZPBV5.js +4 -0
- package/dist/cdn/ASILD6CB.js +4 -0
- package/dist/cdn/AYBN7RSJ.js +4 -0
- package/dist/cdn/AZ4GC4RH.js +4 -0
- package/dist/cdn/B3HDMUHB.js +4 -0
- package/dist/cdn/BBXNS3EX.js +18 -0
- package/dist/cdn/BDU6FBLG.js +4 -0
- package/dist/cdn/BFLK4MV3.js +4 -0
- package/dist/cdn/BPYQOBRF.js +4 -0
- package/dist/cdn/BVFYUULI.js +18 -0
- package/dist/cdn/BX5K5GT6.js +18 -0
- package/dist/cdn/BZ4XGUDM.js +4 -0
- package/dist/cdn/BZQNZGIF.js +18 -0
- package/dist/cdn/C2OY2PS6.js +4 -0
- package/dist/cdn/C3ABCUGF.js +4 -0
- package/dist/cdn/C3OBOQOO.js +18 -0
- package/dist/cdn/C3VQSVMI.js +4 -0
- package/dist/cdn/C3YT4ILF.js +4 -0
- package/dist/cdn/C6XO55UG.js +4 -0
- package/dist/cdn/CKRFN5RP.js +4 -0
- package/dist/cdn/CLZFMS77.js +4 -0
- package/dist/cdn/CMPTEVJI.js +18 -0
- package/dist/cdn/CNTAXM77.js +4 -0
- package/dist/cdn/CNZNQ3UI.js +4 -0
- package/dist/cdn/CPKI7S65.js +4 -0
- package/dist/cdn/CRRLSSMP.js +4 -0
- package/dist/cdn/CT5OPGW5.js +4 -0
- package/dist/cdn/CWSEEEMU.js +4 -0
- package/dist/cdn/CYYJ37UQ.js +4 -0
- package/dist/cdn/D6VPFPWH.js +9 -0
- package/dist/cdn/DABFIHQ5.js +18 -0
- package/dist/cdn/DBIXZJBF.js +4 -0
- package/dist/cdn/DCHFQUOM.js +4 -0
- package/dist/cdn/DER4LPHP.js +18 -0
- package/dist/cdn/DYURGKBB.js +4 -0
- package/dist/cdn/DZIWUAHO.js +4 -0
- package/dist/cdn/E4MWWQ52.js +18 -0
- package/dist/cdn/EC4BDQTX.js +4 -0
- package/dist/cdn/ECNSXEJQ.js +4 -0
- package/dist/cdn/EEUJQ4PE.js +4 -0
- package/dist/cdn/EFYU4OWN.js +18 -0
- package/dist/cdn/EGQGYDCU.js +4 -0
- package/dist/cdn/EGW2IVRZ.js +18 -0
- package/dist/cdn/EHEL3Y7B.js +4 -0
- package/dist/cdn/EJHIYSSF.js +18 -0
- package/dist/cdn/ELQB37S3.js +4 -0
- package/dist/cdn/EPOTUER2.js +4 -0
- package/dist/cdn/EWPFEAMD.js +4 -0
- package/dist/cdn/EX5IS2G6.js +4 -0
- package/dist/cdn/EYUS5GPS.js +4 -0
- package/dist/cdn/FLHENYCD.js +4 -0
- package/dist/cdn/FQYAST2K.js +4 -0
- package/dist/cdn/FT3J6HPU.js +18 -0
- package/dist/cdn/FT735SKP.js +18 -0
- package/dist/cdn/FXYCWGPH.js +8 -0
- package/dist/cdn/FYA2RJLA.js +4 -0
- package/dist/cdn/G26LLXS4.js +4 -0
- package/dist/cdn/G7REA73G.js +18 -0
- package/dist/cdn/GCTTXEYI.js +4 -0
- package/dist/cdn/GLY2GMK3.js +4 -0
- package/dist/cdn/GNTRINMX.js +4 -0
- package/dist/cdn/GRMJQUC5.js +4 -0
- package/dist/cdn/GRSIJT3T.js +4 -0
- package/dist/cdn/GRTQAPQC.js +18 -0
- package/dist/cdn/GTZDDRKB.js +4 -0
- package/dist/cdn/GVZGXTDK.js +18 -0
- package/dist/cdn/GXKTKNRR.js +18 -0
- package/dist/cdn/GYJUGCFY.js +4 -0
- package/dist/cdn/HIXYDI5J.js +4 -0
- package/dist/cdn/HJ5OK6QT.js +4 -0
- package/dist/cdn/HLI457TP.js +4 -0
- package/dist/cdn/HLXK72ZK.js +4 -0
- package/dist/cdn/HOZF62NG.js +4 -0
- package/dist/cdn/HPB356BE.js +18 -0
- package/dist/cdn/HPHQDHOY.js +4 -0
- package/dist/cdn/HR5YMULP.js +4 -0
- package/dist/cdn/HTDQGAID.js +18 -0
- package/dist/cdn/HX6UBWDB.js +4 -0
- package/dist/cdn/I4WG6VZ7.js +4 -0
- package/dist/cdn/I5ZRIC3T.js +4 -0
- package/dist/cdn/IAOE36VC.js +18 -0
- package/dist/cdn/IQTDOEWO.js +4 -0
- package/dist/cdn/ISDT7CP2.js +18 -0
- package/dist/cdn/IYTGK3X3.js +4 -0
- package/dist/cdn/JBCMZE55.js +4 -0
- package/dist/cdn/JDTP4G5P.js +4 -0
- package/dist/cdn/JJIKYQZZ.js +4 -0
- package/dist/cdn/JJLDTGMR.js +4 -0
- package/dist/cdn/JS6X6QAW.js +18 -0
- package/dist/cdn/JV55LN2M.js +18 -0
- package/dist/cdn/JWNDNXKO.js +4 -0
- package/dist/cdn/JZC43XNE.js +4 -0
- package/dist/cdn/K65QHEEW.js +4 -0
- package/dist/cdn/K6OWNAQ2.js +18 -0
- package/dist/cdn/KB5XSYOH.js +4 -0
- package/dist/cdn/KEVAPUV7.js +4 -0
- package/dist/cdn/KFK2QLX7.js +18 -0
- package/dist/cdn/KKP7HGNJ.js +4 -0
- package/dist/cdn/KN7GU34G.js +4 -0
- package/dist/cdn/KOHDKHHL.js +4 -0
- package/dist/cdn/KOVCA4QV.js +18 -0
- package/dist/cdn/KQSZKMVW.js +4 -0
- package/dist/cdn/KS6EZ4SP.js +4 -0
- package/dist/cdn/L4PBJ66Y.js +4 -0
- package/dist/cdn/LCCWTX2N.js +4 -0
- package/dist/cdn/LDLEQ6CC.js +4 -0
- package/dist/cdn/LFDSMJEU.js +18 -0
- package/dist/cdn/LHFLSDVZ.js +4 -0
- package/dist/cdn/LJRZYCQX.js +4 -0
- package/dist/cdn/LN2I5LVU.js +4 -0
- package/dist/cdn/LNKLEGM7.js +4 -0
- package/dist/cdn/LPJY4EKV.js +4 -0
- package/dist/cdn/LQUAXFLK.js +4 -0
- package/dist/cdn/LRAV7OBQ.js +4 -0
- package/dist/cdn/LRHWDN4E.js +4 -0
- package/dist/cdn/LSZ3JKFT.js +4 -0
- package/dist/cdn/LY6TIHQF.js +4 -0
- package/dist/cdn/M3RICNEU.js +4 -0
- package/dist/cdn/M3TJ57X3.js +18 -0
- package/dist/cdn/M6YGWTQ7.js +18 -0
- package/dist/cdn/MA3THZBT.js +4 -0
- package/dist/cdn/MBPZZJHU.js +4 -0
- package/dist/cdn/MGNNQNEI.js +18 -0
- package/dist/cdn/MIC6LQDI.js +4 -0
- package/dist/cdn/MMOLUBH6.js +4 -0
- package/dist/cdn/MOYCNENS.js +4 -0
- package/dist/cdn/MVA2DOPM.js +4 -0
- package/dist/cdn/MYB6PMPD.js +4 -0
- package/dist/cdn/NB2MJP3T.js +4 -0
- package/dist/cdn/ND4CBCIS.js +4 -0
- package/dist/cdn/NFOXMEDQ.js +4 -0
- package/dist/cdn/NFU53Y7C.js +4 -0
- package/dist/cdn/NHRWEIDY.js +4 -0
- package/dist/cdn/NJRBMGQU.js +4 -0
- package/dist/cdn/NK5IEUBF.js +4 -0
- package/dist/cdn/NNP5DIE4.js +4 -0
- package/dist/cdn/NOOGHUHO.js +4 -0
- package/dist/cdn/NQISLIAP.js +4 -0
- package/dist/cdn/NQKLCRO4.js +4 -0
- package/dist/cdn/NR4CTORR.js +18 -0
- package/dist/cdn/O2CTIODV.js +29 -0
- package/dist/cdn/O3MIRFNV.js +4 -0
- package/dist/cdn/OADJ55J2.js +4 -0
- package/dist/cdn/OEYJFMXJ.js +4 -0
- package/dist/cdn/OHFKWVKT.js +18 -0
- package/dist/cdn/OI4YOMGG.js +4 -0
- package/dist/cdn/OIGW2DAZ.js +4 -0
- package/dist/cdn/OKBR2JNZ.js +18 -0
- package/dist/cdn/OQK3SNUT.js +4 -0
- package/dist/cdn/OQX77LVX.js +4 -0
- package/dist/cdn/OSKFOBPJ.js +4 -0
- package/dist/cdn/OSRWBYQ2.js +82 -0
- package/dist/cdn/OTUI5EVK.js +4 -0
- package/dist/cdn/OWKKFB6L.js +4 -0
- package/dist/cdn/OWWSN3B2.js +4 -0
- package/dist/cdn/OYYZVOIN.js +4 -0
- package/dist/cdn/P2SYJ24C.js +4 -0
- package/dist/cdn/P2XBWR3K.js +4 -0
- package/dist/cdn/P3U5VVRM.js +4 -0
- package/dist/cdn/P4FFI3FD.js +4 -0
- package/dist/cdn/P5VGADLR.js +18 -0
- package/dist/cdn/PAAUUG27.js +18 -0
- package/dist/cdn/PDCOACTW.js +4 -0
- package/dist/cdn/PECFRP4P.js +4 -0
- package/dist/cdn/PF5AT3NA.js +4 -0
- package/dist/cdn/PFJBD3IN.js +4 -0
- package/dist/cdn/PGAZAITH.js +18 -0
- package/dist/cdn/PHF75FIZ.js +4 -0
- package/dist/cdn/PIKL7Y7Z.js +4 -0
- package/dist/cdn/POVFCWA4.js +4 -0
- package/dist/cdn/PP7NRPXZ.js +4 -0
- package/dist/cdn/Q2ZBJ5N6.js +4 -0
- package/dist/cdn/Q3A4PDPW.js +18 -0
- package/dist/cdn/Q55L5Q3P.js +4 -0
- package/dist/cdn/Q5HKWIQ4.js +4 -0
- package/dist/cdn/Q5S5ARM5.js +4 -0
- package/dist/cdn/Q6ET57BS.js +4 -0
- package/dist/cdn/QF6CYRL2.js +4 -0
- package/dist/cdn/QMVHLMJD.js +6 -0
- package/dist/cdn/R23EOL5Y.js +4 -0
- package/dist/cdn/R4UPUL7H.js +4 -0
- package/dist/cdn/R53JAHXC.js +18 -0
- package/dist/cdn/R6J3F2YU.js +18 -0
- package/dist/cdn/R6JKKEMB.js +4 -0
- package/dist/cdn/R7ZD74W4.js +19 -0
- package/dist/cdn/RDMEIRHP.js +4 -0
- package/dist/cdn/REH3U565.js +4 -0
- package/dist/cdn/RFPZWOT4.js +4 -0
- package/dist/cdn/RGNOHVXO.js +4 -0
- package/dist/cdn/RHNCXWTD.js +4 -0
- package/dist/cdn/RJ47PZ2M.js +18 -0
- package/dist/cdn/RKE526NJ.js +4 -0
- package/dist/cdn/RKTPYPYJ.js +294 -0
- package/dist/cdn/RL3HBL5T.js +4 -0
- package/dist/cdn/RNJUJD2O.js +4 -0
- package/dist/cdn/RPLH7QHP.js +18 -0
- package/dist/cdn/RQSZEJEQ.js +4 -0
- package/dist/cdn/RQU6SEUA.js +4 -0
- package/dist/cdn/RX4SFFGS.js +4 -0
- package/dist/cdn/RY44DI5D.js +4 -0
- package/dist/cdn/RYN2SWCM.js +4 -0
- package/dist/cdn/RYXX6HET.js +4 -0
- package/dist/cdn/S2PNPUQV.js +4 -0
- package/dist/cdn/S6KMTGDZ.js +4 -0
- package/dist/cdn/SBXHMIGN.js +4 -0
- package/dist/cdn/SEYIBXFF.js +4 -0
- package/dist/cdn/SGHNBHUF.js +8 -0
- package/dist/cdn/SRTKEQJS.js +4 -0
- package/dist/cdn/SSSE76D7.js +4 -0
- package/dist/cdn/SVF7MDUC.js +4 -0
- package/dist/cdn/SWCTZZ5M.js +4 -0
- package/dist/cdn/SWZKHEQX.js +4 -0
- package/dist/cdn/T36HJPUB.js +6 -0
- package/dist/cdn/TBFTL5AS.js +18 -0
- package/dist/cdn/TK5ARS6D.js +4 -0
- package/dist/cdn/TKYYVFBF.js +4 -0
- package/dist/cdn/TMCHHM55.js +4 -0
- package/dist/cdn/TSX6N6FB.js +4 -0
- package/dist/cdn/TXXXMTGQ.js +4 -0
- package/dist/cdn/U4MDUHGI.js +4 -0
- package/dist/cdn/UCWHVM3U.js +4 -0
- package/dist/cdn/UHRZV2BI.js +4 -0
- package/dist/cdn/UOSJKW7E.js +4 -0
- package/dist/cdn/URNU7X7T.js +19 -0
- package/dist/cdn/UW26Z7RU.js +18 -0
- package/dist/cdn/UWFX6UHY.js +4 -0
- package/dist/cdn/UWXPCF47.js +4 -0
- package/dist/cdn/UXBBI55T.js +4 -0
- package/dist/cdn/V4HWOWHO.js +4 -0
- package/dist/cdn/V7YYPSUZ.js +4 -0
- package/dist/cdn/VGIBWAX6.js +19 -0
- package/dist/cdn/VIB4V3LB.js +4 -0
- package/dist/cdn/VIFGQWKG.js +4 -0
- package/dist/cdn/VKL63NGD.js +4 -0
- package/dist/cdn/VPQLYHEX.js +4 -0
- package/dist/cdn/VTKU26GJ.js +4 -0
- package/dist/cdn/VVWDTGJA.js +4 -0
- package/dist/cdn/W3IJZ4HC.js +4 -0
- package/dist/cdn/W4JEA3XE.js +4 -0
- package/dist/cdn/W5BIA42K.js +4 -0
- package/dist/cdn/WDQUXD5I.js +4 -0
- package/dist/cdn/WEZ56UHN.js +4 -0
- package/dist/cdn/WL6MLDUU.js +18 -0
- package/dist/cdn/WTMEVWQW.js +5 -0
- package/dist/cdn/WUJ53CX4.js +18 -0
- package/dist/cdn/WXYU7L46.js +21 -0
- package/dist/cdn/X74PFPTS.js +4 -0
- package/dist/cdn/XECYHGO2.js +4 -0
- package/dist/cdn/XGYQYEAR.js +4 -0
- package/dist/cdn/XJGOAOI7.js +4 -0
- package/dist/cdn/XMUV2USG.js +4 -0
- package/dist/cdn/XRK3LYSA.js +4 -0
- package/dist/cdn/XZCYXYAE.js +4 -0
- package/dist/cdn/Y4CZ7XFH.js +4 -0
- package/dist/cdn/Y5DBURZM.js +18 -0
- package/dist/cdn/YA6EJEOH.js +4 -0
- package/dist/cdn/YD7BBK2M.js +4 -0
- package/dist/cdn/YH6ADAVW.js +4 -0
- package/dist/cdn/YJEFD5S2.js +9 -0
- package/dist/cdn/YNAZN7XO.js +4 -0
- package/dist/cdn/YOPR6ELM.js +4 -0
- package/dist/cdn/YPLTRSYP.js +4 -0
- package/dist/cdn/YQWNS5T6.js +4 -0
- package/dist/cdn/YURM35K7.js +18 -0
- package/dist/cdn/YUTI6A3R.js +4 -0
- package/dist/cdn/YWSSWWW4.js +18 -0
- package/dist/cdn/YYBA5O22.js +4 -0
- package/dist/cdn/Z3YUGK3I.js +18 -0
- package/dist/cdn/Z5GGVIDD.js +4 -0
- package/dist/cdn/ZD6YAEWR.js +4 -0
- package/dist/cdn/ZFWM4LAN.js +4 -0
- package/dist/cdn/ZGHTOGQP.js +4 -0
- package/dist/cdn/ZHJK7BD5.js +4 -0
- package/dist/cdn/ZMAQKYQ6.js +25 -0
- package/dist/cdn/ZN3QGUDV.js +20 -0
- package/dist/cdn/ZRBRPLDW.js +4 -0
- package/dist/cdn/ZXKZXNEZ.js +18 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- 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 +1 -1
- package/dist/chunks/interfaces.js +1 -1
- 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 +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- 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.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +24 -24
- 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.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- 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 +2 -2
- package/dist/components/solutions-all-panel/customElement.js +5 -2
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +19 -18
- package/dist/components/solutions-deploy-app/index.d.ts +1 -1
- package/dist/components/solutions-deploy-app/index.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +3 -3
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.d.ts +2 -2
- package/dist/components/solutions-deployed-panel/customElement.js +9 -6
- package/dist/components/solutions-deployed-shell/customElement.js +5 -5
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- 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 +80 -0
- package/dist/components/solutions-resources/index.d.ts +11 -0
- package/dist/components/solutions-resources/index.js +11 -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.js +4 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +822 -816
- package/dist/docs/docs.json +546 -534
- package/dist/docs/vscode.html-custom-data.json +74 -74
- package/dist/docs/web-types.json +187 -187
- package/dist/index.d.ts +49 -49
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +23 -23
- package/dist/types/preact.d.ts +27 -27
- package/dist/types/preact10.d.ts +31 -31
- package/dist/types/react.d.ts +31 -31
- package/dist/types/stencil.d.ts +23 -23
- package/dist/utils/interfaces.d.ts +6 -2
- package/package.json +1 -1
- package/dist/cdn/22ZSWKAP.js +0 -18
- package/dist/cdn/23ABFTR6.js +0 -4
- package/dist/cdn/23I4BA7K.js +0 -4
- package/dist/cdn/25VZKI54.js +0 -4
- package/dist/cdn/262XEZAR.js +0 -4
- package/dist/cdn/2CBLRUOD.js +0 -4
- package/dist/cdn/2CX7WBJK.js +0 -4
- package/dist/cdn/2GSSS7N5.js +0 -4
- package/dist/cdn/2HE3XNY7.js +0 -4
- package/dist/cdn/2HK3BXGQ.js +0 -6
- package/dist/cdn/2MHHLMAP.js +0 -18
- package/dist/cdn/2RCBXDY6.js +0 -18
- package/dist/cdn/2RNPOQZB.js +0 -18
- package/dist/cdn/2TOU3AN5.js +0 -4
- package/dist/cdn/2WXGFL52.js +0 -5
- package/dist/cdn/2ZJVYO5L.js +0 -4
- package/dist/cdn/34CQDTIX.js +0 -4
- package/dist/cdn/35BEKCWY.js +0 -18
- package/dist/cdn/3BMV5UUD.js +0 -4
- package/dist/cdn/3EB5ZS26.js +0 -4
- package/dist/cdn/3GBS4PX4.js +0 -18
- package/dist/cdn/3LGLF5OE.js +0 -4
- package/dist/cdn/3M27VPQ3.js +0 -19
- package/dist/cdn/3PD7ARIA.js +0 -4
- package/dist/cdn/3R7I767T.js +0 -4
- package/dist/cdn/3TSCGGAX.js +0 -4
- package/dist/cdn/3UXGWXBS.js +0 -4
- package/dist/cdn/3XBIPVX2.js +0 -4
- package/dist/cdn/3YF2JNPH.js +0 -4
- package/dist/cdn/44VI6MEG.js +0 -18
- package/dist/cdn/4BRX4PEE.js +0 -4
- package/dist/cdn/4DF5N4JQ.js +0 -4
- package/dist/cdn/4ES6G2Y2.js +0 -4
- package/dist/cdn/4HIDSTIQ.js +0 -4
- package/dist/cdn/4IEIQVGE.js +0 -4
- package/dist/cdn/4MSUNNIN.js +0 -4
- package/dist/cdn/4PQV62XZ.js +0 -4
- package/dist/cdn/4PSCZYXY.js +0 -4
- package/dist/cdn/4PTO2WHC.js +0 -18
- package/dist/cdn/4QMKENCR.js +0 -4
- package/dist/cdn/4RJYZHLS.js +0 -4
- package/dist/cdn/4RV4IDOJ.js +0 -4
- package/dist/cdn/4WEAWPJU.js +0 -4
- package/dist/cdn/52A65NFY.js +0 -4
- package/dist/cdn/57OL4QCV.js +0 -4
- package/dist/cdn/5DKF6DVK.js +0 -4
- package/dist/cdn/5QBB6ZOG.js +0 -4
- package/dist/cdn/5W6QXGFW.js +0 -4
- package/dist/cdn/5ZPOVO47.js +0 -4
- package/dist/cdn/6362HZ65.js +0 -4
- package/dist/cdn/63O5DY5A.js +0 -4
- package/dist/cdn/6C7OOJ6H.js +0 -4
- package/dist/cdn/6ES7SEYG.js +0 -4
- package/dist/cdn/6GCMD7O4.js +0 -25
- package/dist/cdn/6LOI3OHQ.js +0 -18
- package/dist/cdn/6MAZZ22I.js +0 -4
- package/dist/cdn/6MQLDUUH.js +0 -4
- package/dist/cdn/6MURC2GB.js +0 -4
- package/dist/cdn/6QLVSTJ3.js +0 -4
- package/dist/cdn/6RNWAVPL.js +0 -4
- package/dist/cdn/6ZVK62QB.js +0 -4
- package/dist/cdn/73ETZPZ7.js +0 -4
- package/dist/cdn/755M2TCZ.js +0 -4
- package/dist/cdn/7GJCQW7D.js +0 -4
- package/dist/cdn/7I6L52EP.js +0 -21
- package/dist/cdn/7KFFYWQ7.js +0 -4
- package/dist/cdn/7NSKIKHV.js +0 -4
- package/dist/cdn/7R7463AQ.js +0 -4
- package/dist/cdn/7RZIRVRD.js +0 -4
- package/dist/cdn/AAI5LMSF.js +0 -4
- package/dist/cdn/AD4NPA2M.js +0 -4
- package/dist/cdn/AD7LM3CM.js +0 -82
- package/dist/cdn/AI6HYDN5.js +0 -4
- package/dist/cdn/AMVHYPDE.js +0 -18
- package/dist/cdn/AOXMXGZG.js +0 -8
- package/dist/cdn/AQLTILZX.js +0 -18
- package/dist/cdn/AQR7MTOO.js +0 -4
- package/dist/cdn/ASRSYNRR.js +0 -4
- package/dist/cdn/ATAHO4MQ.js +0 -18
- package/dist/cdn/AUDMGPLD.js +0 -18
- package/dist/cdn/B3PAHL22.js +0 -4
- package/dist/cdn/B6QNXGKF.js +0 -4
- package/dist/cdn/BBSGWWJO.js +0 -18
- package/dist/cdn/BESWB64W.js +0 -18
- package/dist/cdn/BF5DZ5ZS.js +0 -4
- package/dist/cdn/BFZ5DGBI.js +0 -4
- package/dist/cdn/BGYNN7N6.js +0 -4
- package/dist/cdn/BIUFKQEB.js +0 -5
- package/dist/cdn/BIW2OZSL.js +0 -4
- package/dist/cdn/BJJ6U2L3.js +0 -4
- package/dist/cdn/BSLVXBXB.js +0 -4
- package/dist/cdn/BSOB2EDD.js +0 -4
- package/dist/cdn/BSZJRCCH.js +0 -4
- package/dist/cdn/BUEJRCBJ.js +0 -4
- package/dist/cdn/C6IUHMOC.js +0 -4
- package/dist/cdn/CK24R5TU.js +0 -18
- package/dist/cdn/CNJJOYMN.js +0 -4
- package/dist/cdn/CTMOZHK5.js +0 -294
- package/dist/cdn/CTRTCQ5M.js +0 -18
- package/dist/cdn/D4P3I7HE.js +0 -18
- package/dist/cdn/D5FVGFPY.js +0 -4
- package/dist/cdn/DA5WFI7X.js +0 -4
- package/dist/cdn/DCFD6372.js +0 -18
- package/dist/cdn/DGLPGQSF.js +0 -4
- package/dist/cdn/DND72PIS.js +0 -4
- package/dist/cdn/DQ5PZE73.js +0 -4
- package/dist/cdn/DSFQPJTN.js +0 -18
- package/dist/cdn/DSVNI5EY.js +0 -18
- package/dist/cdn/DTTRPJYC.js +0 -4
- package/dist/cdn/DUDOFJC4.js +0 -4
- package/dist/cdn/E2HYEAJX.js +0 -4
- package/dist/cdn/E5JW2PWC.js +0 -4
- package/dist/cdn/E63TRZHO.js +0 -4
- package/dist/cdn/ECHLW7AM.js +0 -4
- package/dist/cdn/EHSMARTM.js +0 -4
- package/dist/cdn/EHVKT3K3.js +0 -4
- package/dist/cdn/EHVRBJDY.js +0 -4
- package/dist/cdn/EON3JEAK.js +0 -4
- package/dist/cdn/EPK7TC4Z.js +0 -4
- package/dist/cdn/EQFGASVI.js +0 -4
- package/dist/cdn/F4EAUSYQ.js +0 -89
- package/dist/cdn/FBLE5JBI.js +0 -4
- package/dist/cdn/FED5CWZX.js +0 -4
- package/dist/cdn/FK2YMQFK.js +0 -18
- package/dist/cdn/FOJ4DMUK.js +0 -18
- package/dist/cdn/FVJX7T4J.js +0 -4
- package/dist/cdn/FXA6L2BI.js +0 -4
- package/dist/cdn/FYADULQT.js +0 -4
- package/dist/cdn/FZKUNP7A.js +0 -18
- package/dist/cdn/FZZRNOKW.js +0 -4
- package/dist/cdn/G2AZAWTQ.js +0 -4
- package/dist/cdn/G7X4FKIM.js +0 -4
- package/dist/cdn/GAUJIKE5.js +0 -9
- package/dist/cdn/GFSPUX5Q.js +0 -4
- package/dist/cdn/GHRFEIK7.js +0 -4
- package/dist/cdn/GWKF3E4T.js +0 -4
- package/dist/cdn/GWWQ2QF4.js +0 -4
- package/dist/cdn/H77VYOZC.js +0 -4
- package/dist/cdn/HAIYG6TD.js +0 -4
- package/dist/cdn/HCVNYSM3.js +0 -4
- package/dist/cdn/HFOR26C4.js +0 -4
- package/dist/cdn/HIXYM3OX.js +0 -4
- package/dist/cdn/HLGD7JCW.js +0 -4
- package/dist/cdn/HMMGIFFN.js +0 -4
- package/dist/cdn/HOILHII3.js +0 -18
- package/dist/cdn/HSZFICY2.js +0 -18
- package/dist/cdn/I2FRGOEW.js +0 -18
- package/dist/cdn/IAM2KB3B.js +0 -4
- package/dist/cdn/IGOPVVNK.js +0 -4
- package/dist/cdn/IJ2MEXDM.js +0 -4
- package/dist/cdn/IQ7XNR7D.js +0 -18
- package/dist/cdn/IQNMYMJW.js +0 -4
- package/dist/cdn/IS4IY5C2.js +0 -4
- package/dist/cdn/ITRH5UXW.js +0 -4
- package/dist/cdn/IUTC5UY6.js +0 -4
- package/dist/cdn/IXZPEW5K.js +0 -4
- package/dist/cdn/J2MDUIYP.js +0 -18
- package/dist/cdn/J2TRNJS4.js +0 -4
- package/dist/cdn/J3LLHMP2.js +0 -18
- package/dist/cdn/J4FVOVTO.js +0 -4
- package/dist/cdn/J4GKJOX7.js +0 -20
- package/dist/cdn/J66RPP2I.js +0 -4
- package/dist/cdn/JAYHYI2A.js +0 -18
- package/dist/cdn/JDJ35FLD.js +0 -4
- package/dist/cdn/JDXO4XXH.js +0 -18
- package/dist/cdn/JEON2H5H.js +0 -4
- package/dist/cdn/JGTYJGZO.js +0 -18
- package/dist/cdn/JMA4D2SH.js +0 -18
- package/dist/cdn/JTBXXC5K.js +0 -4
- package/dist/cdn/K47KZZUG.js +0 -4
- package/dist/cdn/K7HHAGLP.js +0 -4
- package/dist/cdn/KJBVTRFE.js +0 -19
- package/dist/cdn/KKTPKASN.js +0 -4
- package/dist/cdn/KMWQSKKC.js +0 -18
- package/dist/cdn/KPO2P4JG.js +0 -4
- package/dist/cdn/KRS7IVQF.js +0 -4
- package/dist/cdn/KU6T5QUV.js +0 -4
- package/dist/cdn/L2HHXMQN.js +0 -4
- package/dist/cdn/LBVGHIKI.js +0 -4
- package/dist/cdn/LDUSE7RY.js +0 -4
- package/dist/cdn/LHGFJ7NN.js +0 -4
- package/dist/cdn/LHVQAEXF.js +0 -4
- package/dist/cdn/LJB22QBW.js +0 -4
- package/dist/cdn/LJHZSBBH.js +0 -4
- package/dist/cdn/LMY5GROJ.js +0 -4
- package/dist/cdn/LOU4XX7I.js +0 -4
- package/dist/cdn/LQIGBJUX.js +0 -4
- package/dist/cdn/LQY43HH3.js +0 -4
- package/dist/cdn/LRXPLTUH.js +0 -4
- package/dist/cdn/LSIUPCQX.js +0 -4
- package/dist/cdn/LVRHTVE2.js +0 -4
- package/dist/cdn/LXMZCX7H.js +0 -18
- package/dist/cdn/M2I7YXJQ.js +0 -4
- package/dist/cdn/MEMA2P5F.js +0 -4
- package/dist/cdn/MJFEXQHB.js +0 -4
- package/dist/cdn/MODMAIUT.js +0 -4
- package/dist/cdn/MPQ2WKFO.js +0 -4
- package/dist/cdn/MVWOM5CI.js +0 -4
- package/dist/cdn/MXVR2QNO.js +0 -4
- package/dist/cdn/N6BJELBO.js +0 -4
- package/dist/cdn/N6YXZIU7.js +0 -4
- package/dist/cdn/NALO2PEE.js +0 -18
- package/dist/cdn/NH4VNVID.js +0 -4
- package/dist/cdn/NKQNWRPN.js +0 -6
- package/dist/cdn/NOILZDGF.js +0 -4
- package/dist/cdn/NOZBG5XN.js +0 -4
- package/dist/cdn/NPQY5PDV.js +0 -18
- package/dist/cdn/NRD4JFR4.js +0 -4
- package/dist/cdn/NTP4QY5V.js +0 -4
- package/dist/cdn/NW6JV6AN.js +0 -4
- package/dist/cdn/NWPXFHBU.js +0 -18
- package/dist/cdn/O25C7WUB.js +0 -18
- package/dist/cdn/O4KP2CJ5.js +0 -18
- package/dist/cdn/O4MLPAI2.js +0 -4
- package/dist/cdn/OIRN6MY3.js +0 -18
- package/dist/cdn/OJEYKHXS.js +0 -4
- package/dist/cdn/OKTRI4JY.js +0 -4
- package/dist/cdn/OMVXQRF3.js +0 -4
- package/dist/cdn/OVM4C5PO.js +0 -4
- package/dist/cdn/OX6HPOJU.js +0 -18
- package/dist/cdn/P4ZGZS3X.js +0 -4
- package/dist/cdn/P5A2C3I6.js +0 -4
- package/dist/cdn/PD7PACAU.js +0 -4
- package/dist/cdn/PIINFOXI.js +0 -18
- package/dist/cdn/PJCB22CG.js +0 -29
- package/dist/cdn/PNU6Z2B3.js +0 -18
- package/dist/cdn/PQ2FIB26.js +0 -4
- package/dist/cdn/PSUS7JOM.js +0 -4
- package/dist/cdn/PW7XPWMS.js +0 -19
- package/dist/cdn/Q2Q3MH2L.js +0 -4
- package/dist/cdn/Q3BBMTUQ.js +0 -4
- package/dist/cdn/Q4NVOORT.js +0 -4
- package/dist/cdn/Q5P5K4DE.js +0 -4
- package/dist/cdn/QA2AUJRH.js +0 -4
- package/dist/cdn/QCLY7EDL.js +0 -18
- package/dist/cdn/QCS66WC6.js +0 -4
- package/dist/cdn/QG72OZSU.js +0 -4
- package/dist/cdn/QGVSJPGQ.js +0 -4
- package/dist/cdn/QHOOJDQR.js +0 -4
- package/dist/cdn/QHOZO6J3.js +0 -18
- package/dist/cdn/QKGDGDPJ.js +0 -8
- package/dist/cdn/QMT2TLRK.js +0 -4
- package/dist/cdn/QPAWYTLN.js +0 -4
- package/dist/cdn/QTCSAKOZ.js +0 -4
- package/dist/cdn/QTLI6QMJ.js +0 -18
- package/dist/cdn/QVYS4YXX.js +0 -9
- package/dist/cdn/QWIUAAW5.js +0 -4
- package/dist/cdn/R7XZMQKZ.js +0 -4
- package/dist/cdn/RAJWTYAS.js +0 -4
- package/dist/cdn/RFZUKMQP.js +0 -4
- package/dist/cdn/RGUOCCYZ.js +0 -4
- package/dist/cdn/RIXPIYEW.js +0 -4
- package/dist/cdn/RKEEFYVJ.js +0 -4
- package/dist/cdn/RLBN72JI.js +0 -4
- package/dist/cdn/ROVUCE3I.js +0 -4
- package/dist/cdn/RSSME7QC.js +0 -4
- package/dist/cdn/S67OYUND.js +0 -4
- package/dist/cdn/SF4B26QV.js +0 -18
- package/dist/cdn/SFPDV4DU.js +0 -4
- package/dist/cdn/SJSFG3K3.js +0 -18
- package/dist/cdn/SKDJ6XTR.js +0 -4
- package/dist/cdn/SLYIJ4XB.js +0 -4
- package/dist/cdn/SONNGGXT.js +0 -4
- package/dist/cdn/SQBZR4WV.js +0 -4
- package/dist/cdn/SRH3X7BF.js +0 -4
- package/dist/cdn/SRYAXNYQ.js +0 -4
- package/dist/cdn/SSVBZXUN.js +0 -4
- package/dist/cdn/T5SL2XC2.js +0 -4
- package/dist/cdn/TA6JWCUQ.js +0 -4
- package/dist/cdn/TCRE226Q.js +0 -4
- package/dist/cdn/TDB7HB35.js +0 -4
- package/dist/cdn/TM5OMGCV.js +0 -4
- package/dist/cdn/TQ5B3ZGM.js +0 -4
- package/dist/cdn/TWNRBZK5.js +0 -4
- package/dist/cdn/U3IG6OVD.js +0 -4
- package/dist/cdn/U47M6DQ4.js +0 -18
- package/dist/cdn/U5T2RELD.js +0 -4
- package/dist/cdn/UBJJ4M7T.js +0 -4
- package/dist/cdn/UCDUCIRN.js +0 -4
- package/dist/cdn/UGFAJLUH.js +0 -4
- package/dist/cdn/UJFLGBLN.js +0 -18
- package/dist/cdn/ULZDIARS.js +0 -18
- package/dist/cdn/UWKL5KUQ.js +0 -4
- package/dist/cdn/V3OVUJJM.js +0 -4
- package/dist/cdn/VCQKPKHX.js +0 -4
- package/dist/cdn/VGXQMADM.js +0 -18
- package/dist/cdn/VITMRSLU.js +0 -4
- package/dist/cdn/VMEXQML7.js +0 -4
- package/dist/cdn/VNQ4CD76.js +0 -18
- package/dist/cdn/VQATHECJ.js +0 -4
- package/dist/cdn/VRDHLEG3.js +0 -4
- package/dist/cdn/VROCYI23.js +0 -4
- package/dist/cdn/VTVPCSOJ.js +0 -18
- package/dist/cdn/W2RRYIVC.js +0 -4
- package/dist/cdn/W3WAMZRW.js +0 -4
- package/dist/cdn/W47W63ZI.js +0 -4
- package/dist/cdn/W54E24J4.js +0 -4
- package/dist/cdn/W6JMDPEX.js +0 -4
- package/dist/cdn/W7EADDXL.js +0 -4
- package/dist/cdn/W7JCIXQB.js +0 -4
- package/dist/cdn/WJ66Q24A.js +0 -4
- package/dist/cdn/WJHAIMMP.js +0 -4
- package/dist/cdn/WLCWFEFA.js +0 -4
- package/dist/cdn/WOGFIR3E.js +0 -4
- package/dist/cdn/WPYH5QCE.js +0 -4
- package/dist/cdn/WQPN3U5A.js +0 -4
- package/dist/cdn/WYV4FWVR.js +0 -4
- package/dist/cdn/X2LHTYBS.js +0 -4
- package/dist/cdn/X3MGYKAA.js +0 -385
- package/dist/cdn/X56WS44V.js +0 -4
- package/dist/cdn/X7PJKWCS.js +0 -4
- package/dist/cdn/XFPRHAJS.js +0 -4
- package/dist/cdn/XIQRELVI.js +0 -18
- package/dist/cdn/XOICTNAX.js +0 -8
- package/dist/cdn/XR77S45T.js +0 -18
- package/dist/cdn/XSSWDAZD.js +0 -4
- package/dist/cdn/XTRCBDVE.js +0 -4
- package/dist/cdn/XXJZBEJK.js +0 -18
- package/dist/cdn/Y4KY2BT6.js +0 -18
- package/dist/cdn/Y7PYZFGF.js +0 -4
- package/dist/cdn/YACWQ43M.js +0 -4
- package/dist/cdn/YCR4UW2R.js +0 -4
- package/dist/cdn/YDPBZG4I.js +0 -4
- package/dist/cdn/YJNKYO7U.js +0 -4
- package/dist/cdn/YKN26FEK.js +0 -4
- package/dist/cdn/YL3MEG3W.js +0 -18
- package/dist/cdn/YLRTFGI4.js +0 -4
- package/dist/cdn/YPPMRTOK.js +0 -4
- package/dist/cdn/YSD4IXAD.js +0 -18
- package/dist/cdn/YTKNEJX6.js +0 -4
- package/dist/cdn/YUQPGIF2.js +0 -4
- package/dist/cdn/YWLL7PI6.js +0 -4
- package/dist/cdn/YXKKXNN6.js +0 -4
- package/dist/cdn/YYE5JLDE.js +0 -18
- package/dist/cdn/Z62WB65N.js +0 -4
- package/dist/cdn/ZA6OBRNM.js +0 -18
- package/dist/cdn/ZCNYP4GS.js +0 -4
- package/dist/cdn/ZEC26XA5.js +0 -4
- package/dist/cdn/ZIQLKBJ5.js +0 -18
- package/dist/cdn/ZNXVWPPB.js +0 -4
- package/dist/cdn/ZOU5ALFP.js +0 -4
- package/dist/cdn/ZQUOKCF6.js +0 -4
- package/dist/cdn/ZTJFOSFR.js +0 -4
- package/dist/components/solution-article-card/customElement.d.ts +0 -37
- package/dist/components/solution-article-card/customElement.js +0 -49
- 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.en.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.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.en.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.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
|
@@ -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.6 */
|
|
4
|
+
import{a as r}from"./MMOLUBH6.js";import{b as o}from"./43AII6JW.js";import{E as n,I as e,h as i,i as s}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var a=i`/** @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
|
+
*/.item-type-icon{@apply block h-4 pointer-events-none;margin-top:.15em!important;min-width:16px;fill:currentColor;transform:rotate(360deg)}.item-type-icon-margin{@apply m-inline-end-1.5;}`,t=class extends n{constructor(){super(...arguments),this.isPortal=!1,this.type="",this.typeKeywords=[]}static{this.properties={isPortal:5,type:1,typeKeywords:0}}static{this.styles=a}render(){return s`<div title=${this.type??e}><img class="item-type-icon item-type-icon-margin" height=16 role=presentation src=${r(this.type,this.typeKeywords)??e} width=16></div>`}};o("solution-item-icon",t);export{t as SolutionItemIcon};
|
|
@@ -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.6 */
|
|
4
|
+
import{w as a}from"./7ASCWQCT.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g 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.6 */
|
|
4
|
+
var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),o=(a,b)=>{for(var c in b)e(a,c,{get:b[c],enumerable:!0})},l=(a,b,c,f)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&e(a,d,{get:()=>b[d],enumerable:!(f=h(b,d))||f.enumerable});return a};var p=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?e(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c,p as d};
|
|
@@ -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.6 */
|
|
4
|
+
import"./6OU6VXZE.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
|
|
@@ -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.6 */
|
|
4
|
+
var P=function(){return P=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},P.apply(this,arguments)},z={exports:{}},g={},W={exports:{}},w={};function q(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function le(e,r,t){}function fe(e,r,t){}var ue=/javascript\s*\:/img;function ce(e,r){return ue.test(r)?"":r}w.whiteList=q();w.getDefaultWhiteList=q;w.onAttr=le;w.onIgnoreAttr=fe;w.safeAttrValue=ce;var ge={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},L=ge;function de(e,r){e=L.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,s=0,i=0,l="";function o(){if(!a){var u=L.trim(e.slice(s,i)),f=u.indexOf(":");if(f!==-1){var d=L.trim(u.slice(0,f)),p=L.trim(u.slice(f+1));if(d){var h=r(s,l.length,d,p,u);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var n=e[i];if(n==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,s=i+1,a=!1}else n==="("?a=!0:n===")"?a=!1:n===";"?a||o():n===`
|
|
5
|
+
`&&o()}return L.trim(l)}var pe=de,O=w,he=pe;function G(e){return e==null}function ve(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=ve(e||{}),e.whiteList=e.whiteList||O.whiteList,e.onAttr=e.onAttr||O.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||O.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||O.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,o=he(e,function(n,c,u,f,d){var p=a[u],h=!1;if(p===!0?h=p:typeof p=="function"?h=p(f):p instanceof RegExp&&(h=p.test(f)),h!==!0&&(h=!1),f=l(u,f),!!f){var m={position:c,sourcePosition:n,source:d,isWhite:h};if(h){var v=s(u,f,m);return G(v)?u+":"+f:v}else{var v=i(u,f,m);if(!G(v))return v}}});return o};var me=B;(function(e,r){var t=w,a=me;function s(l,o){var n=new a(o);return n.process(l)}r=e.exports=s,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(W,W.exports);var $=W.exports,N={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},be=$.FilterCSS,ye=$.getDefaultWhiteList,F=N;function Q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var M=new be;function we(e,r,t){}function Ae(e,r,t){}function xe(e,r,t){}function Te(e,r,t){}function Z(e){return e.replace(ke,"<").replace(Le,">")}function Se(e,r,t,a){if(t=re(t),r==="href"||r==="src"){if(t=F.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(_.lastIndex=0,_.test(t))return""}else if(r==="style"){if(D.lastIndex=0,D.test(t)||(j.lastIndex=0,j.test(t)&&(_.lastIndex=0,_.test(t))))return"";a!==!1&&(a=a||M,t=a.process(t))}return t=ae(t),t}var ke=/</g,Le=/>/g,Ee=/"/g,Oe=/"/g,_e=/&#([a-zA-Z0-9]*);?/gim,Ce=/:?/gim,Ie=/&newline;?/gim,_=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,D=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,j=/u\s*r\s*l\s*\(.*/gi;function J(e){return e.replace(Ee,""")}function K(e){return e.replace(Oe,'"')}function Y(e){return e.replace(_e,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function ee(e){return e.replace(Ce,":").replace(Ie," ")}function te(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return F.trim(r)}function re(e){return e=K(e),e=Y(e),e=ee(e),e=te(e),e}function ae(e){return e=J(e),e=Z(e),e}function Pe(){return""}function Fe(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(l){return t?!0:F.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,o,n){if(a(l))if(n.isClosing){var c="[/removed]",u=n.position+c.length;return s.push([i!==!1?i:n.position,u]),i=!1,c}else return i||(i=n.position),"[removed]";else return r(l,o,n)},remove:function(l){var o="",n=0;return F.forEach(s,function(c){o+=l.slice(n,c[0]),n=c[1]}),o+=l.slice(n),o}}}function Ve(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var s=e.indexOf("-->",a);if(s===-1)break;t=s+3}return r}function Re(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=Q();g.getDefaultWhiteList=Q;g.onTag=we;g.onIgnoreTag=Ae;g.onTagAttr=xe;g.onIgnoreTagAttr=Te;g.safeAttrValue=Se;g.escapeHtml=Z;g.escapeQuote=J;g.unescapeQuote=K;g.escapeHtmlEntities=Y;g.escapeDangerHtml5Entities=ee;g.clearNonPrintableCharacter=te;g.friendlyAttrValue=re;g.escapeAttrValue=ae;g.onIgnoreTagStripAll=Pe;g.StripTagBody=Fe;g.stripCommentTag=Ve;g.stripBlankChar=Re;g.cssFilter=M;g.getDefaultCSSWhiteList=ye;var V={},y=N;function ze(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function We(e){return e.slice(0,2)==="</"}function $e(e,r,t){var a="",s=0,i=!1,l=!1,o=0,n=e.length,c="",u="";e:for(o=0;o<n;o++){var f=e.charAt(o);if(i===!1){if(f==="<"){i=o;continue}}else if(l===!1){if(f==="<"){a+=t(e.slice(s,o)),i=o,s=o;continue}if(f===">"){a+=t(e.slice(s,i)),u=e.slice(i,o+1),c=ze(u),a+=r(i,a.length,c,u,We(u)),s=o+1,i=!1;continue}if(f==='"'||f==="'")for(var d=1,p=e.charAt(o-d);p.trim()===""||p==="=";){if(p==="="){l=f;continue e}p=e.charAt(o-++d)}}else if(f===l){l=!1;continue}}return s<e.length&&(a+=t(e.substr(s))),a}var Ne=/[^a-zA-Z0-9\\_:.-]/gim;function Ue(e,r){var t=0,a=0,s=[],i=!1,l=e.length;function o(d,p){if(d=y.trim(d),d=d.replace(Ne,"").toLowerCase(),!(d.length<1)){var h=r(d,p||"");h&&s.push(h)}}for(var n=0;n<l;n++){var c=e.charAt(n),u,f;if(i===!1&&c==="="){i=e.slice(t,n),t=n+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ge(e,n+1);continue}if(i!==!1&&n===a){if(f=e.indexOf(c,n+1),f===-1)break;u=y.trim(e.slice(a+1,f)),o(i,u),i=!1,n=f,t=n+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(f=Xe(e,n),f===-1){u=y.trim(e.slice(t,n)),o(u),i=!1,t=n+1;continue}else{n=f-1;continue}else if(f=De(e,n-1),f===-1){u=y.trim(e.slice(t,n)),u=H(u),o(i,u),i=!1,t=n+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,H(y.trim(e.slice(t))))),y.trim(s.join(" "))}function Xe(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ge(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function De(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function je(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function H(e){return je(e)?e.substr(1,e.length-2):e}V.parseTag=$e;V.parseAttr=Ue;var He=$.FilterCSS,b=g,ie=V,qe=ie.parseTag,Be=ie.parseAttr,I=N;function C(e){return e==null}function Qe(e){var r=I.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=I.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=I.trim(e.slice(0,-1))),{html:e,closing:t}}function Me(e){var r={};for(var t in e)r[t]=e[t];return r}function Ze(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function se(e){e=Me(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=b.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Ze(e.whiteList||e.allowList):e.whiteList=b.whiteList,e.onTag=e.onTag||b.onTag,e.onTagAttr=e.onTagAttr||b.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||b.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||b.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||b.safeAttrValue,e.escapeHtml=e.escapeHtml||b.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new He(e.css))}se.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,o=t.onIgnoreTagAttr,n=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=b.stripBlankChar(e)),t.allowCommentTag||(e=b.stripCommentTag(e));var f=!1;t.stripIgnoreTagBody&&(f=b.StripTagBody(t.stripIgnoreTagBody,i),i=f.onIgnoreTag);var d=qe(e,function(p,h,m,v,ne){var E={sourcePosition:p,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,m)},S=s(m,v,E);if(!C(S))return S;if(E.isWhite){if(E.isClosing)return"</"+m+">";var U=Qe(v),oe=a[m],X=Be(U.html,function(A,x){var R=I.indexOf(oe,A)!==-1,k=l(m,A,x,R);return C(k)?R?(x=n(m,A,x,u),x?A+'="'+x+'"':A):(k=o(m,A,x,R),C(k)?void 0:k):k});return v="<"+m,X&&(v+=" "+X),U.closing&&(v+=" /"),v+=">",v}else return S=i(m,v,E),C(S)?c(v):S},c);return f&&(d=f.remove(d)),d};var Je=se;(function(e,r){var t=g,a=V,s=Je;function i(o,n){var c=new s(n);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=s,(function(){for(var o in t)r[o]=t[o];for(var n in a)r[n]=a[n]})();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(z,z.exports);var T=z.exports,Ke=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},Ye=(function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=P(P({},T.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,l,o,n){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?a.sanitizeUrl(o):T.safeAttrValue(i,l,o,n)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var s;r&&!t?s=r:r&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(i){if(i==="whiteList")s.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]);else if(i==="css"){var l=r.css.whiteList;l!=null&&r.css instanceof Object&&Object.keys(l).forEach(function(o){return s.css.whiteList[o]=l[o]})}else s[i]=r[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new T.FilterXSS(s)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,s=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),l=r==="/",o=/^#/.test(r),n=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||o||n?T.escapeAttrValue(r):!i&&!s?T.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,s):T.safeAttrValue(r,t,a,s)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,s){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(s){Array.isArray(a[s])&&Array.isArray(t[s])?t[s]=t[s].concat(a[s]):t[s]=a[s]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,n){var c=a.validate(n,t);return c.isValid?o.concat([n]):(s=!0,o.concat([c.sanitized]))},[]);else if(Ke(r)){var l=Object.keys(r);i=l.reduce(function(o,n){var c=r[n],u=a.validate(c,t);return u.isValid?o[n]=c:(s=!0,o[n]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return s?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e})();export{Ye as a};
|
|
@@ -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.6 */
|
|
4
|
+
import{a as E}from"./VTKU26GJ.js";import"./V4HWOWHO.js";import{a as S,c as m,d,e as _,f,g as x}from"./ZFWM4LAN.js";import"./7QXVNVSY.js";import{b as C}from"./CYYJ37UQ.js";import{b as $}from"./SEYIBXFF.js";import{a as v}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as I}from"./43AII6JW.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var V=y`@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;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,g=class extends F{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=v({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=V}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${o(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async _initModules(){let[e,t,i,s]=await $(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return l`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${o(this._sortPopoverNode)}><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await x([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],n=!1;t.results.length>0&&t.results.forEach(r=>{r.type==="graphic"&&i.push(r.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),n=a.length>0);let h=s.concat(a);if(h.length>0){this.mapView.popupEnabled=!0;let r={features:h,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(r)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i,s=[];for(let n of this._mapImageryLayersId){let h=this.mapView&&await d(this.mapView,n);if(h?.url&&t)try{let r=await this.identify?.identify(h.url,t);if(r?.results?.length){s=r.results,i=h;break}}catch(r){console.error(r)}}let a=[];return s.forEach(n=>{let h=n.layerId,r=i?.sublayers?.items.find(P=>P.id===h),w=r?.popupTemplate;r?.popupEnabled&&w&&(n.feature.popupTemplate=w,a.push(n.feature))}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await S(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await C([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let n=s.expressions?.find(h=>h.id===a.id);n!=null&&(a.name=n.name)}))})}};I("crowdsource-reporter",g);export{g as CrowdsourceReporter};
|
|
@@ -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.6 */
|
|
4
|
+
import{a,b}from"./SWCTZZ5M.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./6OU6VXZE.js";export{a as SurveyEditorTypes,b as SurveySchema};
|
|
@@ -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.6 */
|
|
4
|
+
import{a as n}from"./UCWHVM3U.js";import{a as s}from"./6NEMUKY7.js";import"./7ASCWQCT.js";import"./TMCHHM55.js";import{a as o}from"./PECFRP4P.js";import"./A6SDFMS4.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import{a}from"./7F75Q6X6.js";import"./SWCTZZ5M.js";import"./P2SYJ24C.js";import"./ECNSXEJQ.js";import"./DBIXZJBF.js";import"./Y4CZ7XFH.js";import"./TK5ARS6D.js";import"./I5ZRIC3T.js";import"./AN4ZPBV5.js";import"./RQU6SEUA.js";import"./Q2ZBJ5N6.js";import"./2EHFNAOJ.js";import"./PHF75FIZ.js";import"./HLI457TP.js";import"./FQYAST2K.js";import"./KS6EZ4SP.js";import"./MIC6LQDI.js";import"./EHEL3Y7B.js";import"./X74PFPTS.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./VKL63NGD.js";import"./6OU6VXZE.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b 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.6 */
|
|
4
|
+
import{b as p,d as a,e as h,f as E}from"./TMCHHM55.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
|
|
@@ -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.6 */
|
|
4
|
+
import{b as h,c as m}from"./OSRWBYQ2.js";import"./T36HJPUB.js";import"./Q5S5ARM5.js";import"./OQX77LVX.js";import"./GLY2GMK3.js";import"./GYJUGCFY.js";import"./RYN2SWCM.js";import"./PIKL7Y7Z.js";import"./UOSJKW7E.js";import"./CLZFMS77.js";import"./LY6TIHQF.js";import"./5DBXMD4E.js";import"./RYXX6HET.js";import"./Q6ET57BS.js";import"./XECYHGO2.js";import"./7ASCWQCT.js";import"./TMCHHM55.js";import"./A6SDFMS4.js";import"./IYTGK3X3.js";import"./SRTKEQJS.js";import"./AN4ZPBV5.js";import"./LPJY4EKV.js";import"./6TG774RB.js";import"./CYYJ37UQ.js";import{b as d}from"./SEYIBXFF.js";import{a as c}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as g}from"./43AII6JW.js";import{C as o,D as p,E as b,h as n,i as s}from"./QMVHLMJD.js";import"./6OU6VXZE.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @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}`,r=class extends b{constructor(){super(...arguments),this.disabled=!1,this._translations=c({name:"pdf-download",blocking:!0}),this._labelInfoElement=o()}static{this.properties={defaultNumLabelsPerPage:9,disabled:5,_translations:16}}static{this.styles=D}async downloadCSV(e,a,i,l=!0){return h(e,a,!0,i,l)}async downloadPDF(e,a,i=!1,l="",t=""){let P=this._labelInfoElement.value?this._labelInfoElement.value.selectedOption?.value:"";return m(e,a,P,i,l,t)}async load(){await this._initModules()}render(){return s`<calcite-select .disabled=${this.disabled} label ${p(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`}async _initModules(){let[e]=await d(["esri/intl"]);this._intl=e}_getLabelSizeText(e){let a=e.descriptionPDF.labelsPerPageDisplay,i=e.descriptionPDF.labelWidthDisplay+" x "+e.descriptionPDF.labelHeightDisplay;return this._translations.pdfLabel?this._translations.pdfLabel.replace("{{n}}",a).replace("{{labelSize}}",i):""}_renderOptions(){let e=y;return(e.default||e).sort((a,i)=>{let l=Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10),t=Number.parseInt(i.descriptionPDF.labelsPerPageDisplay,10);return l<t?-1:l>t?1:0}).map((a,i)=>{let l=!1;return(this.defaultNumLabelsPerPage?Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:i===0)&&(l=!0),s`<calcite-option .selected=${l} .value=${a}>${this._getLabelSizeText(a)}</calcite-option>`})}};g("pdf-download",r);export{r as PdfDownload};
|
|
@@ -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.6 */
|
|
4
|
+
import{a as l}from"./SWCTZZ5M.js";import{a as e}from"./P2SYJ24C.js";import{a as v}from"./TK5ARS6D.js";import{a as y}from"./I5ZRIC3T.js";import{a as t}from"./RQU6SEUA.js";import{a as i}from"./Q2ZBJ5N6.js";import{a as p}from"./2EHFNAOJ.js";import{a as d}from"./PHF75FIZ.js";import{a as E}from"./HLI457TP.js";import{a as s}from"./FQYAST2K.js";import{a as n}from"./KS6EZ4SP.js";import{a}from"./MIC6LQDI.js";import{a as r}from"./EHEL3Y7B.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u 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.6 */
|
|
4
|
+
import{a as t}from"./7F75Q6X6.js";import"./SWCTZZ5M.js";import"./P2SYJ24C.js";import"./ECNSXEJQ.js";import"./DBIXZJBF.js";import"./Y4CZ7XFH.js";import"./TK5ARS6D.js";import"./I5ZRIC3T.js";import"./AN4ZPBV5.js";import"./RQU6SEUA.js";import"./Q2ZBJ5N6.js";import"./2EHFNAOJ.js";import"./PHF75FIZ.js";import"./HLI457TP.js";import"./FQYAST2K.js";import"./KS6EZ4SP.js";import"./MIC6LQDI.js";import"./EHEL3Y7B.js";import"./X74PFPTS.js";import"./DYURGKBB.js";import"./4VRBEE4E.js";import"./ZGHTOGQP.js";import"./VKL63NGD.js";import"./6OU6VXZE.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o 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.6 */
|
|
4
|
+
import"./6OU6VXZE.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s 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.6 */
|
|
4
|
+
import{a,b}from"./P2SYJ24C.js";import"./ECNSXEJQ.js";import"./DBIXZJBF.js";import"./Y4CZ7XFH.js";import"./ZGHTOGQP.js";import"./6OU6VXZE.js";export{a as EventEditorTypes,b as buildSchema};
|
|
@@ -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.6 */
|
|
4
|
+
import{g as s}from"./WDQUXD5I.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}export{S 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.6 */
|
|
4
|
+
import{a as f}from"./PDCOACTW.js";import{a as D}from"./4DQWCLKY.js";import{a as L}from"./BFLK4MV3.js";import{B as S,C as I}from"./WDQUXD5I.js";import{b as k}from"./V4HWOWHO.js";import"./HIXYDI5J.js";import"./U4MDUHGI.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"./QMVHLMJD.js";import"./6OU6VXZE.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 v(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"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!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.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.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([I(),S()]);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:`'${v(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:`'${v(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:`'${v(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(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){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==null)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??""}})}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",w);export{w as InstantAppsFilterList};
|
|
@@ -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.6 */
|
|
4
|
+
var e=(a=>(a.GRID="GRID",a.HORIZONTAL="HORIZONTAL",a.VERTICAL="VERTICAL",a))(e||{}),o=(a=>(a[a.Add=0]="Add",a[a.Update=1]="Update",a[a.Remove=2]="Remove",a[a.None=3]="None",a[a.Obsolete=4]="Obsolete",a))(o||{}),E=(a=>(a[a.LIST=0]="LIST",a[a.SELECT=1]="SELECT",a[a.EXPORT=2]="EXPORT",a[a.REFINE=3]="REFINE",a))(E||{}),t=(a=>(a.ADD="ADD",a.REMOVE="REMOVE",a))(t||{});var i=(a=>(a.SEARCH="SEARCH",a.SELECT="SELECT",a.SKETCH="SKETCH",a.REFINE="REFINE",a))(i||{}),n=(a=>(a.CSV="CSV",a.PDF="PDF",a))(n||{}),r=(a=>(a.SKETCH="SKETCH",a.REFINE="REFINE",a))(r||{}),I="{{params.wkid||",N="}}",u=500,l=(a=>(a.AEC="Architecture, Engineering, and Construction (AEC)",a.AIRPORTPORTRAIL="Airports, Ports, and Rails",a.BUSINESS="Business",a.CONSERVATION="Conservation",a.DEFENSE="Defense",a.FACILITIES="Facilities",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.PIPELINE="Pipeline",a.PUBLICSAFETY="Public Safety",a.RENEWABLES="Renewables",a.STATEANDLOCALGOVERNMENT="State and Local Government",a.TELECOMMUNICATIONS="Telecommunications",a.UTILITIES="Utilities",a))(l||{}),A=(a=>(a.AIRPORT="Airports",a.AGRICULTURE="Agriculture",a.ASSESSMENTANDTAXATION="Assessment and Taxation",a.DISTRICTENERGY="District Energy",a.ELECTIONS="Elections",a.ELECTRIC="Electric",a.EMERGENCYMANAGEMENT="Emergency Management",a.ENVIRONMENTANDNATURALRESOURCES="Environment and Natural Resources",a.FIRESERVICE="Fire Service",a.FISHANDWILDLIFE="Fish and Wildlife",a.GAS="Gas",a.HEALTHANDHUMANSERVICES="Health and Human Services",a.LAWENFORCEMENT="Law Enforcement",a.NATURALRESOURCES="Natural Resources",a.PARKS="Parks",a.PLANNINGANDDEVELOPMENT="Planning and Development",a.PROTECTEDAREAS="Protected Areas",a.PUBLICWORKS="Public Works",a.SEWER="Sewer",a.STORMWATER="Stormwater",a.TELECOMMUNICATIONS="Telecommunications",a.TRANSPORTATION="Transportation",a.WATER="Water Distribution",a))(A||{});var T=(a=>(a.OWNER="My solutions",a.ORGANIZATION="My organization's solutions",a))(T||{}),R=(a=>(a.HUBPREMIUM="solutions:hubPremium",a.NOTEBOOK="solutions:notebook",a.TRACKINGBASE="solutions:locationtracking",a.TRACKING="solutions:locationtracking:tracking",a.TRACKINGADMIN="solutions:locationtracking:admin",a.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",a.VELOCITY="solutions:velocity",a.WORKFLOW="solutions:workflowManager",a))(R||{});var S='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',s="(typekeywords:Solution,Template)",c="(typekeywords:Solution,Display Only)",C="portal:user:addExternalMembersToGroup",O="portal:user:createItem",p="portal:user:createGroup",L="portal:publisher:publishBigDataAnalytics",D="portal:publisher:publishFeatures",d="portal:publisher:publishFeeds",P="portal:publisher:publishServerGPServices",m="portal:publisher:publishRealTimeAnalytics",b="portal:user:shareToGroup",g="solutions:hubPremium",G="solutions:notebook",M="solutions:locationtracking:admin:tracking",h="solutions:locationtracking:tracking",F="solutions:locationtracking:admin",k="solutions:velocity",y="solutions:workflowManager",H=250;export{e as a,o as b,E as c,t as d,i as e,n as f,r as g,I as h,N as i,u as j,l as k,A as l,T as m,R as n,S as o,s as p,c as q,C as r,O as s,p as t,L as u,D as v,d as w,P as x,m as y,b as z,g as A,G as B,M as C,h as D,F as E,k as F,y as G,H};
|
|
@@ -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.6 */
|
|
4
|
+
import{e,f as t}from"./ZGHTOGQP.js";import"./6OU6VXZE.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
|
@@ -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.6 */
|
|
4
|
+
import{a as f,c as g,e as I}from"./ZFWM4LAN.js";import"./7QXVNVSY.js";import"./CYYJ37UQ.js";import{a as w,b as c}from"./SEYIBXFF.js";import{a as u}from"./MBPZZJHU.js";import"./HIXYDI5J.js";import"./U4MDUHGI.js";import{b as L}from"./43AII6JW.js";import{E as m,h as d,i as r,o as h,r as p}from"./QMVHLMJD.js";import"./6OU6VXZE.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=d`@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}.notice-msg{width:calc(100% - 20px);padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}}`,y=class extends m{constructor(){super(),this.layers=[],this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this.filterByMapExtent=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=u({name:"layer-list",blocking:!0}),this.layerSelect=h(),this.layersListLoaded=h(),this.listenOn(window,"selectedLanguageUpdated",this.selectedLanguageUpdated)}static{this.properties={mapView:0,layers:0,showFeatureCount:5,showNextIcon:5,applyLayerViewFilter:5,filterByMapExtent:5,_noLayersToDisplay:16,_mapLayerIds:16,_isLoading:16,_translations:16}}static{this.styles=x}static{this.shadowRootOptions=p}willUpdate(e){e.has("filterByMapExtent")&&this.hasUpdated&&this.filterByMapExtentWatchHandler(this.filterByMapExtent)}filterByMapExtentWatchHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(){await this.setLayers()}async selectedLanguageUpdated(e){await this.setLayers()}async load(){await this.initModules(),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.setLayers()}render(){return r`${this._isLoading&&r`<calcite-loader label scale=m></calcite-loader>`||""}${!this._isLoading&&this.mapView&&this._noLayersToDisplay&&r`<calcite-notice class="notice-msg" icon=layers-reference kind=danger open><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.noLayerToDisplayErrorMsg}</div></calcite-notice>`||""}${!this._isLoading&&this.mapView&&r`<calcite-list label selection-appearance=border selection-mode=none>${this.filterByMapExtent&&this._mapLayerIds.length>0&&this.getExtentNotice()||""}${this.renderLayerList()}</calcite-list>`||""}`}async initModules(){let[e]=await w(["esri/core/reactiveUtils"]);this.reactiveUtils=e}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,()=>{this.setLayers()},{initial:!0})}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){let e=[];if(this.mapView){this._layerItemsHash=await f(this.mapView,!0);let s=await I(this.mapView);for(let t of s)if(t?.type==="feature"&&this.showFeatureCount){let i=t.createQuery();if(t?.definitionExpression&&(i.where=i.where+" AND "+t.definitionExpression),this.applyLayerViewFilter){let a=await g(this.mapView,t.id);a?.filter?.where&&(i.where=i.where?i.where+" AND "+a.filter.where:a.filter.where)}i.geometry=this.filterByMapExtent?this.mapView.extent:null;let n=t.queryFeatureCount(i);e.push(n),n.then(async a=>{let l=Number.isNaN(a)?"":await _(a,{places:0,api:4,type:"decimal"});this._layerItemsHash&&(this._layerItemsHash[t.id].formattedFeatureCount=l)})}await Promise.all(e).then(()=>{let t=this._layerItemsHash&&this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t?.reverse()||[],this.handleNoLayersToDisplay()},()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()})}}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(e){let s=this.layers?.length>0?this.layers:[];return Object.keys(e).reduce((t,i)=>(s.indexOf(i)>-1&&t.push(i),t),[])}renderLayerList(){return this._mapLayerIds.length>0?this._mapLayerIds.reduce((e,s)=>{if(this._layerItemsHash&&this._layerItemsHash[s]){let t=this.getLayerListItem(s);t&&e.push(t)}return e},[]):void 0}getLayerListItem(e){let s=this._layerItemsHash&&this._layerItemsHash[e].name,t=this._layerItemsHash&&this._layerItemsHash[e].formattedFeatureCount;return r`<calcite-list-item @calciteListItemSelect=${()=>{this.onLayerItemSelected(e)}}><div class="layer-name" slot=content-start>${s}</div>${this.showFeatureCount&&t!==void 0&&t!==""&&r`<div class="feature-count" slot=content-end>${`(${t})`}</div>`||""}${this.showNextIcon&&r`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`||""}</calcite-list-item>`}getExtentNotice(){return r`<calcite-notice class="notice-msg" icon=extent-filter kind=brand open scale=s><div slot=message>${this._translations.extentFilterMsg}</div></calcite-notice>`}onLayerItemSelected(e){this._layerItemsHash&&this.layerSelect.emit({layerId:e,layerName:this._layerItemsHash[e]?.name})}};L("layer-list",y);export{y as LayerList};
|
|
@@ -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.6 */
|
|
4
|
+
import"./6OU6VXZE.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",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:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,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,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|