@esri/solutions-components 1.1.0-next.20250828 → 1.1.0-next.20250828.2
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/{4UMY7KAN.js → 22VUG52P.js} +2 -2
- package/dist/cdn/{T5FCQZWC.js → 273HBBPG.js} +2 -2
- package/dist/cdn/{ZWW3M7TK.js → 27GU7GYQ.js} +2 -2
- package/dist/cdn/{LCP3HDWL.js → 2AKBCQY2.js} +1 -1
- package/dist/cdn/{GFEACDFT.js → 2CLQIGTQ.js} +3 -3
- package/dist/cdn/{JKUOKISU.js → 2CUPKSCG.js} +2 -2
- package/dist/cdn/{ESIZWQ5K.js → 2KI55TW6.js} +2 -2
- package/dist/cdn/2OAXFR6L.js +4 -0
- package/dist/cdn/{2GWICTFG.js → 2PJIFZFR.js} +2 -2
- package/dist/cdn/{A3XRWJOX.js → 2QCJLZ63.js} +1 -1
- package/dist/cdn/{FP46FJBW.js → 2UQHVAPG.js} +2 -2
- package/dist/cdn/{6QFD3CIJ.js → 326W5C3M.js} +2 -2
- package/dist/cdn/{UECILZYG.js → 33ZIJFIL.js} +2 -2
- package/dist/cdn/{3NGSKAVB.js → 34Q3SIKI.js} +1 -1
- package/dist/cdn/{IV2ICUCF.js → 3BA35NLW.js} +1 -1
- package/dist/cdn/{BTSS3LBI.js → 3BO2SPYK.js} +2 -2
- package/dist/cdn/{FWTK4SPE.js → 3KJKYMM3.js} +2 -2
- package/dist/cdn/{KGBOZ3RU.js → 3OD56E6Z.js} +2 -2
- package/dist/cdn/{CUXGTYWR.js → 3OZ7STZB.js} +2 -2
- package/dist/cdn/{Y3YKFEU7.js → 3P3XVVBF.js} +2 -2
- package/dist/cdn/{CMHM4AU3.js → 3TXIADMS.js} +2 -2
- package/dist/cdn/{RZGRORAH.js → 3W2G7IUG.js} +2 -2
- package/dist/cdn/{AEDCRS34.js → 3W3N2OW4.js} +2 -2
- package/dist/cdn/{P6SEF77G.js → 3YBD7WGQ.js} +2 -2
- package/dist/cdn/{DDK5IIMB.js → 42UKLDMA.js} +2 -2
- package/dist/cdn/{63BSUV4F.js → 44KAQ55U.js} +2 -2
- package/dist/cdn/{GJD2YHPE.js → 4L42NEGO.js} +2 -2
- package/dist/cdn/{ZYWCS54R.js → 4LFNRX3V.js} +2 -2
- package/dist/cdn/{T3AWLN26.js → 4NC25ZGL.js} +2 -2
- package/dist/cdn/{42UTT3QJ.js → 4RU3E5JJ.js} +2 -2
- package/dist/cdn/{TD7V4IMR.js → 4TORHLL5.js} +2 -2
- package/dist/cdn/4Z4HWABC.js +4 -0
- package/dist/cdn/{BY52IW4J.js → 54EGA4EZ.js} +2 -2
- package/dist/cdn/{SSEJGOSJ.js → 5E7QV2O7.js} +2 -2
- package/dist/cdn/{ALUTY67B.js → 5HTJI2O7.js} +2 -2
- package/dist/cdn/{PVZWDJJN.js → 5NTW3SMG.js} +2 -2
- package/dist/cdn/{4BQTR7KV.js → 5NXGF3W5.js} +3 -3
- package/dist/cdn/{U4G4NDN4.js → 5OX5WGHA.js} +1 -1
- package/dist/cdn/{DPH4W2B2.js → 5QOODTML.js} +2 -2
- package/dist/cdn/{TXGULLSL.js → 5V24LS62.js} +2 -2
- package/dist/cdn/{NKZIY75J.js → 5WL43OVY.js} +2 -2
- package/dist/cdn/{772C34UX.js → 6453EGYF.js} +2 -2
- package/dist/cdn/{NY54SXCT.js → 6H7CBKDX.js} +1 -1
- package/dist/cdn/{YMV43UIC.js → 6HNDU4O5.js} +2 -2
- package/dist/cdn/{J25AGF6Z.js → 6KHCKTQR.js} +2 -2
- package/dist/cdn/{HHXJHZWU.js → 6O47YSKC.js} +2 -2
- package/dist/cdn/{MGRHKWYD.js → 6Q3YGI6N.js} +2 -2
- package/dist/cdn/{VQ62QZQU.js → 6R2KDQYZ.js} +2 -2
- package/dist/cdn/{VPUNNC6S.js → 6T4JB4AP.js} +2 -2
- package/dist/cdn/{EKWS4PP6.js → 6TG5WU2T.js} +2 -2
- package/dist/cdn/{TXOSZQCS.js → 6UL4CGV3.js} +1 -1
- package/dist/cdn/{6GOYQXOO.js → 6V5EI53Z.js} +2 -2
- package/dist/cdn/{VWEXAIVT.js → 6VNI2QN4.js} +2 -2
- package/dist/cdn/{OV7DFJGX.js → 74JS27QX.js} +2 -2
- package/dist/cdn/{EWDEQPK7.js → 754BSXAZ.js} +2 -2
- package/dist/cdn/{CZA4CCF2.js → 763AHVWC.js} +1 -1
- package/dist/cdn/{SNDH4A3Y.js → 76JU6BOY.js} +2 -2
- package/dist/cdn/{GNAFPT4K.js → 772OZS5V.js} +2 -2
- package/dist/cdn/{HWMXCHVE.js → 7D3ORA5L.js} +2 -2
- package/dist/cdn/{W577TQI2.js → 7HE2XDQP.js} +2 -2
- package/dist/cdn/{2YIAFORL.js → 7ODSJ4C2.js} +2 -2
- package/dist/cdn/{I32NMVY7.js → 7OPDEN5Z.js} +2 -2
- package/dist/cdn/{GFYESXYA.js → 7PZ2EFYE.js} +2 -2
- package/dist/cdn/{7DPLS5X7.js → 7SDACA7E.js} +2 -2
- package/dist/cdn/{3LJA2KLW.js → 7T2XKQZG.js} +2 -2
- package/dist/cdn/{V6PJP4IP.js → 7TI347JE.js} +2 -2
- package/dist/cdn/{A463MFDX.js → 7V3MPY7L.js} +2 -2
- package/dist/cdn/{FLU27GKB.js → 7VSGKPYY.js} +2 -2
- package/dist/cdn/{O2Y336VP.js → 7VVTSZUA.js} +2 -2
- package/dist/cdn/{XBKQQHEV.js → A3FZYMJ3.js} +2 -2
- package/dist/cdn/AB6DDX7F.js +4 -0
- package/dist/cdn/{AKF64ZKG.js → ADLJ6RMY.js} +2 -2
- package/dist/cdn/{5C4PTSCP.js → AEDDG63K.js} +2 -2
- package/dist/cdn/{QZOYPBOO.js → AGHDKDGU.js} +2 -2
- package/dist/cdn/{UXVRTL47.js → AJE3VGCN.js} +1 -1
- package/dist/cdn/{OUBJ5ZGX.js → AJRIBR74.js} +2 -2
- package/dist/cdn/{IZK32GOX.js → AKU6GXP4.js} +1 -1
- package/dist/cdn/{E5LREUSI.js → AKVOVYDO.js} +2 -2
- package/dist/cdn/{AIL4F46K.js → AME3KKAE.js} +2 -2
- package/dist/cdn/{ZXJDQSSJ.js → AMVW6UNS.js} +1 -1
- package/dist/cdn/{V7NAE7VZ.js → AQM3UEAU.js} +2 -2
- package/dist/cdn/{G6WJYEG7.js → ARIQAES7.js} +2 -2
- package/dist/cdn/{Y6I2OVEZ.js → AS5PUT7N.js} +1 -1
- package/dist/cdn/{INMWS2AK.js → AUAKA7LJ.js} +2 -2
- package/dist/cdn/{JX645F5Z.js → AV3AAKZF.js} +1 -1
- package/dist/cdn/{T55VBYN6.js → AVQHN2RK.js} +2 -2
- package/dist/cdn/{C6OFTWG5.js → B3XHEFM7.js} +2 -2
- package/dist/cdn/{NABMSVZR.js → BMNOMAPQ.js} +2 -2
- package/dist/cdn/{QK53UXEM.js → BQXUJXJW.js} +2 -2
- package/dist/cdn/{MRE4W3RZ.js → BRMEULCU.js} +2 -2
- package/dist/cdn/{I46RTMPO.js → BYIYZPMU.js} +2 -2
- package/dist/cdn/{5VQGHQGD.js → C4VY72F4.js} +2 -2
- package/dist/cdn/{TQW6YSJQ.js → C6BYI57L.js} +2 -2
- package/dist/cdn/{M74PUQGW.js → CALN3HN2.js} +2 -2
- package/dist/cdn/{EK2PZNV6.js → CB7VYEXG.js} +2 -2
- package/dist/cdn/{FJKV655N.js → CCQT3UPY.js} +2 -2
- package/dist/cdn/{5KWFFKUR.js → CDBCFRYO.js} +2 -2
- package/dist/cdn/{7LLXICAU.js → CEFVBKUA.js} +2 -2
- package/dist/cdn/{CIYHY3JZ.js → CFQBO2LA.js} +2 -2
- package/dist/cdn/{GCD5SMQJ.js → CT3QX6XG.js} +2 -2
- package/dist/cdn/{N2ZRCOK7.js → CUN3U2OE.js} +2 -2
- package/dist/cdn/{2SFUHQ6X.js → CW4M6BVD.js} +2 -2
- package/dist/cdn/{7B3VVFHV.js → DFW7LGU5.js} +2 -2
- package/dist/cdn/{R5BBJHNK.js → DGAVCVB6.js} +2 -2
- package/dist/cdn/{SNE5QBZ4.js → DHFEEP4Z.js} +2 -2
- package/dist/cdn/{V73GHOGW.js → DJ4PLQBR.js} +2 -2
- package/dist/cdn/{G7OB4TIP.js → DOXKQQF7.js} +2 -2
- package/dist/cdn/{RBZI6FS6.js → DSVENZ7L.js} +2 -2
- package/dist/cdn/{BJMZ6V7L.js → DZ7REPR5.js} +2 -2
- package/dist/cdn/{AM2P5WWJ.js → DZEHMG7V.js} +1 -1
- package/dist/cdn/{4SQ4NCJE.js → E6FQL3RC.js} +2 -2
- package/dist/cdn/{IJAVQIQY.js → EKLCVD4K.js} +2 -2
- package/dist/cdn/{EEOFZ5EC.js → EKRT5N36.js} +2 -2
- package/dist/cdn/{FIKS3EDJ.js → EOITVA52.js} +2 -2
- package/dist/cdn/{5VCVBSP5.js → EOSGKZAE.js} +2 -2
- package/dist/cdn/{KDOGXG5T.js → EPCC65BL.js} +1 -1
- package/dist/cdn/{2RDE6TEB.js → EQ3PO3JH.js} +2 -2
- package/dist/cdn/{FDADQCSD.js → ERW2B53X.js} +1 -1
- package/dist/cdn/{GHRQ5OMT.js → ERWZ6R5Y.js} +2 -2
- package/dist/cdn/EUWILMM3.js +18 -0
- package/dist/cdn/{775D3UWY.js → EWSYZETD.js} +1 -1
- package/dist/cdn/{GJE6JCGQ.js → EYHENGXX.js} +2 -2
- package/dist/cdn/{6ZSIJXTF.js → EZUDO3V5.js} +1 -1
- package/dist/cdn/{MSFATVQR.js → F3EXGINC.js} +2 -2
- package/dist/cdn/{KNZIJGNE.js → F3IZZQXJ.js} +2 -2
- package/dist/cdn/{2XFGTOP6.js → F44BYUVG.js} +2 -2
- package/dist/cdn/{HQ6E5W5K.js → FD5FUB3H.js} +2 -2
- package/dist/cdn/{VRDRHWN6.js → FHPXFSGL.js} +2 -2
- package/dist/cdn/{EI7UNT3L.js → FIWVIW7W.js} +3 -3
- package/dist/cdn/{Z3ULYDEC.js → FLRKA4GV.js} +2 -2
- package/dist/cdn/{XLGWWA5S.js → FMEFBW7S.js} +1 -1
- package/dist/cdn/{JBHG33RN.js → FVFEETIR.js} +2 -2
- package/dist/cdn/{WXKKGXWR.js → FWTI7J2P.js} +2 -2
- package/dist/cdn/{EIHE5YP2.js → FZNR7TIE.js} +2 -2
- package/dist/cdn/{5QTI6BJY.js → G2QPALWV.js} +2 -2
- package/dist/cdn/{HNRINH4M.js → G3SX6B7H.js} +2 -2
- package/dist/cdn/{BEOI2CT5.js → G56ANCJ2.js} +2 -2
- package/dist/cdn/{I7DOK2P3.js → G67GSOAQ.js} +2 -2
- package/dist/cdn/{EMFC7JJF.js → GBKUKKUV.js} +2 -2
- package/dist/cdn/{M6RMUZSR.js → GIBTXEPX.js} +2 -2
- package/dist/cdn/{5HEQNNZ7.js → GKEYULMP.js} +2 -2
- package/dist/cdn/{5LBMMACR.js → GL3BZHYB.js} +2 -2
- package/dist/cdn/{RR4PBHNF.js → GMS3OCMJ.js} +2 -2
- package/dist/cdn/{LM3MXKQM.js → GQWNYGQZ.js} +2 -2
- package/dist/cdn/{EYLJVJDM.js → GRQR533B.js} +1 -1
- package/dist/cdn/{EVBTDN6G.js → GS4P4EDL.js} +2 -2
- package/dist/cdn/{Z7ARVIQA.js → GVPDFVV5.js} +2 -2
- package/dist/cdn/{A3UF6KXG.js → GW25GPJX.js} +2 -2
- package/dist/cdn/{AMSEELTG.js → GW2MIUZI.js} +2 -2
- package/dist/cdn/{VCBGJYT4.js → GWH4Z6OW.js} +2 -2
- package/dist/cdn/{MXDEBIVV.js → GWZYEABY.js} +2 -2
- package/dist/cdn/{VTGMI5PO.js → H2BB75K3.js} +2 -2
- package/dist/cdn/{Z774P2PS.js → H74SAKUP.js} +2 -2
- package/dist/cdn/{WQJONGME.js → HDCB5T5X.js} +2 -2
- package/dist/cdn/{Q4TNDAMB.js → HHDRTER6.js} +2 -2
- package/dist/cdn/{SIYXXXQW.js → HI32ZP4O.js} +2 -2
- package/dist/cdn/{NTLI7MYJ.js → HIGTYOJX.js} +2 -2
- package/dist/cdn/{LPUL3M4W.js → HMA5NBHS.js} +2 -2
- package/dist/cdn/{3BTPCUS2.js → HMWYIWHJ.js} +1 -1
- package/dist/cdn/{TEAJPJG5.js → HOTC4IJ5.js} +2 -2
- package/dist/cdn/{TU57MATG.js → HPOI4I7M.js} +2 -2
- package/dist/cdn/{FW3QZ4PP.js → HYYGSVZU.js} +2 -2
- package/dist/cdn/{JOVKXD5Z.js → I4P2ZAM6.js} +2 -2
- package/dist/cdn/{DMNUFLEY.js → IDCTIXPE.js} +2 -2
- package/dist/cdn/{M3VQ3PZT.js → IM622Y5Y.js} +1 -1
- package/dist/cdn/{QRDFSKLO.js → IP7HD6QN.js} +2 -2
- package/dist/cdn/{TKCEDWO6.js → IU4S3NNZ.js} +2 -2
- package/dist/cdn/{THX32L6J.js → IUFNTIUY.js} +2 -2
- package/dist/cdn/{T4WHSUWN.js → IURQSBDX.js} +2 -2
- package/dist/cdn/{H3RJWJ6R.js → IYPIWHZT.js} +2 -2
- package/dist/cdn/{QCXYLIX7.js → J7EYR5NT.js} +2 -2
- package/dist/cdn/JADXSGAB.js +4 -0
- package/dist/cdn/{LISV6CF3.js → JAYFM462.js} +2 -2
- package/dist/cdn/{WJIXMYFO.js → JEUEWHNF.js} +2 -2
- package/dist/cdn/{YC6I36VW.js → JFFCMNMZ.js} +2 -2
- package/dist/cdn/{XFYRPLUH.js → JP4DSG7F.js} +2 -2
- package/dist/cdn/{WQFHL3SI.js → JP7CV4WF.js} +2 -2
- package/dist/cdn/{QM6BU3QZ.js → JPB44GYN.js} +2 -2
- package/dist/cdn/{N46CPYK6.js → JV3ZVPBM.js} +2 -2
- package/dist/cdn/{WQHZU254.js → JXC3JSLR.js} +2 -2
- package/dist/cdn/{ROGT3C4G.js → JXRF526X.js} +2 -2
- package/dist/cdn/{IL6X7BAH.js → K3MOV6LF.js} +2 -2
- package/dist/cdn/{NE4VEZO4.js → K3OMOM5T.js} +2 -2
- package/dist/cdn/{DOJSJN7F.js → K6KHPUBQ.js} +2 -2
- package/dist/cdn/{JP5VAE6Y.js → KMHSDP5I.js} +2 -2
- package/dist/cdn/{3RB3RDC5.js → KODVG4FU.js} +2 -2
- package/dist/cdn/{DL6W2BEO.js → KSTE62UX.js} +2 -2
- package/dist/cdn/{T6LQV7KH.js → KUFXITHP.js} +2 -2
- package/dist/cdn/{IHGPNQTM.js → KVNJ4EPB.js} +2 -2
- package/dist/cdn/{W3S3EGJF.js → L25FEX4Y.js} +2 -2
- package/dist/cdn/{EH5OXTTD.js → L7I3G45K.js} +2 -2
- package/dist/cdn/{EM63FLQD.js → LENHGFEC.js} +1 -1
- package/dist/cdn/{CPJ47BBO.js → LHFLMU4H.js} +2 -2
- package/dist/cdn/{GJQZMNXQ.js → LJFJ34P7.js} +1 -1
- package/dist/cdn/{FMZYI6QT.js → LSGGEO6P.js} +2 -2
- package/dist/cdn/{HBVDJ5HK.js → LSRCDLFB.js} +2 -2
- package/dist/cdn/{5HEHRHFZ.js → LTGJUXQ6.js} +1 -1
- package/dist/cdn/{7QBAKAAP.js → LTPGJHX3.js} +1 -1
- package/dist/cdn/{2WRYPENH.js → LXQBVGWX.js} +2 -2
- package/dist/cdn/{BSFFEDDB.js → LXWO5K3S.js} +2 -2
- package/dist/cdn/{I7DNCKIP.js → LYMZA4SQ.js} +2 -2
- package/dist/cdn/{KDWXJPBI.js → LYVOVUCW.js} +2 -2
- package/dist/cdn/{JVKCIYQC.js → M3TZOZRR.js} +2 -2
- package/dist/cdn/{KDKNZUGD.js → M6RKRYRQ.js} +2 -2
- package/dist/cdn/{JTOJXBPA.js → MENRCTMH.js} +2 -2
- package/dist/cdn/{VXWEWJTC.js → MIYSOUMU.js} +2 -2
- package/dist/cdn/{KRM7IGDK.js → MN2UBMW3.js} +2 -2
- package/dist/cdn/{U74ATJYL.js → MPK5FZ77.js} +2 -2
- package/dist/cdn/{X4GQFJRB.js → MYDWC6JS.js} +2 -2
- package/dist/cdn/{WFSA5X5Y.js → MYOBSZBE.js} +2 -2
- package/dist/cdn/{BSV4H4QV.js → N2KT2DIZ.js} +2 -2
- package/dist/cdn/{GM2YCS6I.js → N3CBQTJJ.js} +2 -2
- package/dist/cdn/{ZTNDRVXH.js → N3HUJT2Z.js} +2 -2
- package/dist/cdn/{WPWHXT2X.js → N6X6743N.js} +1 -1
- package/dist/cdn/{LI3OJ3I2.js → NB4VIUWQ.js} +2 -2
- package/dist/cdn/{TM23OV5B.js → NJOIRH4C.js} +2 -2
- package/dist/cdn/{44GZVSVC.js → NUE4IZOA.js} +1 -1
- package/dist/cdn/{QERQEDRX.js → NYVKKNHY.js} +2 -2
- package/dist/cdn/{GRFYUQMC.js → OBPRGZIG.js} +2 -2
- package/dist/cdn/{2EUXOCEX.js → OKURETIK.js} +2 -2
- package/dist/cdn/{466YND5P.js → P5KMTKJV.js} +2 -2
- package/dist/cdn/{XXBHKPIC.js → P5U7E35K.js} +2 -2
- package/dist/cdn/P5X672JF.js +4 -0
- package/dist/cdn/{F5ZMWFE7.js → PCJR75KO.js} +2 -2
- package/dist/cdn/{PK6HXDUN.js → PCMR2E7P.js} +2 -2
- package/dist/cdn/{HR77KJSD.js → PEGOSNST.js} +2 -2
- package/dist/cdn/{XH7K76V3.js → PF5Y2X73.js} +2 -2
- package/dist/cdn/{MUMAAFU6.js → PKHJ5Y35.js} +2 -2
- package/dist/cdn/{226QGSSE.js → POHLVKZF.js} +2 -2
- package/dist/cdn/{YV35CSEF.js → POSTWVDP.js} +2 -2
- package/dist/cdn/{BCHKYHQE.js → PUIDIQPS.js} +2 -2
- package/dist/cdn/{Z2A4HO55.js → PXF7VJMQ.js} +2 -2
- package/dist/cdn/{TYFW5USV.js → PYKUVKBS.js} +2 -2
- package/dist/cdn/{CQCP5INR.js → PYY66E34.js} +2 -2
- package/dist/cdn/{W5EAS3XP.js → PZPOIFW2.js} +2 -2
- package/dist/cdn/{HDO7HWGX.js → Q3W3ZOVD.js} +2 -2
- package/dist/cdn/{3UUSTTNP.js → Q6GPYGWL.js} +2 -2
- package/dist/cdn/{5HIOGP26.js → QEDOQTCT.js} +2 -2
- package/dist/cdn/QESZMDO7.js +4 -0
- package/dist/cdn/{4XO7QZ5G.js → QFSQIJZZ.js} +2 -2
- package/dist/cdn/{ZF3IIQ63.js → QICVTGQ5.js} +2 -2
- package/dist/cdn/{WY4ONAAF.js → QKGXGXFW.js} +2 -2
- package/dist/cdn/{HJZSNNXL.js → QLLQWJIZ.js} +2 -2
- package/dist/cdn/{7DM4YSPQ.js → QRBNXX42.js} +2 -2
- package/dist/cdn/{6NWBS6SL.js → QTP3C6RK.js} +2 -2
- package/dist/cdn/{LQ3MDUHZ.js → QWSAALJQ.js} +2 -2
- package/dist/cdn/{BTOD6L6H.js → QZ55GNRU.js} +2 -2
- package/dist/cdn/{O7SJWTIT.js → R2BHJEVT.js} +2 -2
- package/dist/cdn/{AQ4E6Z6L.js → R37TLB4X.js} +1 -1
- package/dist/cdn/{UU2SCVOU.js → R3SZO62G.js} +2 -2
- package/dist/cdn/{I6SB6OUE.js → R3ZEGHW3.js} +2 -2
- package/dist/cdn/{IJYMY6LU.js → RDWWOOCJ.js} +3 -3
- package/dist/cdn/{7KMVZIUS.js → RFKE6SS5.js} +2 -2
- package/dist/cdn/{2QJUMLXI.js → RFPUR3DW.js} +2 -2
- package/dist/cdn/{UTHLY33U.js → RGV3U5AM.js} +2 -2
- package/dist/cdn/{BIPXL4KE.js → RI4PHAP2.js} +1 -1
- package/dist/cdn/{XAP3K3SC.js → RJ2KA6OW.js} +2 -2
- package/dist/cdn/{4VKRNNLU.js → RNLV4QO2.js} +2 -2
- package/dist/cdn/{ZMOFCR7O.js → ROOZ6PE2.js} +2 -2
- package/dist/cdn/{LMPKEDGE.js → RPNUHJYK.js} +2 -2
- package/dist/cdn/{5JMXLP5R.js → RUEX2MOD.js} +1 -1
- package/dist/cdn/{O6G7FUHP.js → RYF5VUBI.js} +2 -2
- package/dist/cdn/{SRC6UU36.js → S4XUCOWV.js} +2 -2
- package/dist/cdn/{GMWAFSXG.js → S63B4P2X.js} +1 -1
- package/dist/cdn/S6AU5Q6W.js +4 -0
- package/dist/cdn/{XVWVDRKA.js → SKNM7XAA.js} +2 -2
- package/dist/cdn/{IAR5VLIT.js → SVB6IP5C.js} +2 -2
- package/dist/cdn/{W3PGRKME.js → SXW7LPDB.js} +4 -4
- package/dist/cdn/{3NQBUYLZ.js → SYB3FBLS.js} +2 -2
- package/dist/cdn/{R72FDXTT.js → SZZGDUXZ.js} +2 -2
- package/dist/cdn/{7LB33GTE.js → T2GHIDR6.js} +2 -2
- package/dist/cdn/{IKRRFKE6.js → T3BM5TJD.js} +2 -2
- package/dist/cdn/{HGL2Q6AM.js → TA4FWBUK.js} +2 -2
- package/dist/cdn/{WQYGHF4T.js → TCMXT2UU.js} +2 -2
- package/dist/cdn/{LG76ITDM.js → TDZIJPTZ.js} +2 -2
- package/dist/cdn/{DWZIABEQ.js → TMO5RTB6.js} +2 -2
- package/dist/cdn/{KLY63CSF.js → TOFRHBOB.js} +2 -2
- package/dist/cdn/{SJC3IN6H.js → TRUBVCKV.js} +2 -2
- package/dist/cdn/{P7TNHA6I.js → TS7RZJGZ.js} +2 -2
- package/dist/cdn/{6DVHPGNU.js → TTH4SO55.js} +2 -2
- package/dist/cdn/{DOWDGUKX.js → TVNF3ZMP.js} +2 -2
- package/dist/cdn/{PXTM3BXQ.js → TXQMD6WV.js} +2 -2
- package/dist/cdn/{J2HKOKJZ.js → TXRXICA2.js} +2 -2
- package/dist/cdn/{P6SZMVOM.js → TXS7JDLW.js} +2 -2
- package/dist/cdn/{ULRMOIIF.js → U4FL6DA7.js} +2 -2
- package/dist/cdn/{2MVD3YNU.js → U6O5OR7T.js} +2 -2
- package/dist/cdn/{4JQO2KRL.js → U6PKFAG3.js} +1 -1
- package/dist/cdn/{PVV3USCI.js → UFMFYDXM.js} +2 -2
- package/dist/cdn/{4ANMXM6Y.js → UHN645XS.js} +2 -2
- package/dist/cdn/{DI7GBSSF.js → UKIPNYSS.js} +2 -2
- package/dist/cdn/{HE2ALR27.js → UKNZLESJ.js} +1 -1
- package/dist/cdn/{NWF3JWPU.js → ULUXYW2M.js} +1 -1
- package/dist/cdn/{HWZKM5WI.js → UPXECYMT.js} +2 -2
- package/dist/cdn/{UIDRKO4P.js → UT7TX3ZR.js} +2 -2
- package/dist/cdn/{IVUZ3MTL.js → UVRE5JLM.js} +2 -2
- package/dist/cdn/{4U7FWGAN.js → V5J52ZM7.js} +2 -2
- package/dist/cdn/{ZVNFQMSP.js → V64USV35.js} +2 -2
- package/dist/cdn/{QY5XBNSA.js → VAHLKR3X.js} +2 -2
- package/dist/cdn/{CS234YFY.js → VCPA622T.js} +2 -2
- package/dist/cdn/{5HVMUH4B.js → VDKJJE4O.js} +2 -2
- package/dist/cdn/{V476GRMI.js → VGMTOKWS.js} +2 -2
- package/dist/cdn/{NFG4MG7R.js → VK6A2NWT.js} +2 -2
- package/dist/cdn/{SO4XHFT6.js → VMVINW73.js} +2 -2
- package/dist/cdn/{KO2D2ZR7.js → VXWZGWMN.js} +2 -2
- package/dist/cdn/{THJ5I4FB.js → VZ5EZCXT.js} +1 -1
- package/dist/cdn/{HFDCGIRQ.js → W5SBQGH4.js} +1 -1
- package/dist/cdn/{V2CYNA53.js → WBQQPOED.js} +2 -2
- package/dist/cdn/{YGSA5NVJ.js → WFO32OM2.js} +2 -2
- package/dist/cdn/{QTJGDEO5.js → WLX3AYBH.js} +2 -2
- package/dist/cdn/{UHCN2RHJ.js → WSV5YZZS.js} +2 -2
- package/dist/cdn/{EPFFPUHV.js → WUOM2MPY.js} +2 -2
- package/dist/cdn/{HPVYJFAK.js → WUXN4327.js} +2 -2
- package/dist/cdn/{3574ZP6N.js → WWNBCKJI.js} +2 -2
- package/dist/cdn/{WGBZF2SU.js → WXUHDNZ7.js} +2 -2
- package/dist/cdn/{27VLTU5A.js → X3PQLQKS.js} +2 -2
- package/dist/cdn/{R25YPLON.js → XC2QAJDT.js} +2 -2
- package/dist/cdn/{Z43BYGVU.js → XGAYQ562.js} +2 -2
- package/dist/cdn/{GFX4V3ZW.js → XL7S4BZ7.js} +2 -2
- package/dist/cdn/{ARJDPDDZ.js → XPMFUGFB.js} +2 -2
- package/dist/cdn/{FD7W2RAW.js → XSJOX2PL.js} +2 -2
- package/dist/cdn/{4XGWADP2.js → XYCPHWHV.js} +1 -1
- package/dist/cdn/{EXCHA4EE.js → XZTBY24O.js} +2 -2
- package/dist/cdn/Y4VGFFUL.js +4 -0
- package/dist/cdn/{OTGX3VSB.js → Y5UTJKYQ.js} +2 -2
- package/dist/cdn/{BFQCYQFO.js → YG625WCQ.js} +2 -2
- package/dist/cdn/YG7I5L6A.js +4 -0
- package/dist/cdn/{RSBFMPEE.js → YORP7KPN.js} +2 -2
- package/dist/cdn/{OSRI4P6U.js → YPHH5MBJ.js} +2 -2
- package/dist/cdn/{XXZ576GX.js → YRTTWXRV.js} +1 -1
- package/dist/cdn/{Y4VA7U7D.js → YSZSJXH6.js} +2 -2
- package/dist/cdn/{VMIBM6PC.js → YW3IAR3O.js} +2 -2
- package/dist/cdn/{CNL7M4K7.js → Z6FFQDZ2.js} +2 -2
- package/dist/cdn/{5IV4O7PP.js → Z6WNCLU5.js} +2 -2
- package/dist/cdn/{EOFV6GEH.js → ZANYWAUH.js} +2 -2
- package/dist/cdn/{TQMUFNCU.js → ZBV3BLKE.js} +2 -2
- package/dist/cdn/{MPOH52ZT.js → ZCRFBSHD.js} +2 -2
- package/dist/cdn/{GN3LYSK4.js → ZIEPTSNN.js} +2 -2
- package/dist/cdn/{GTLDTFGM.js → ZNVUGCXL.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +2 -2
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.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/index.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/publicNotificationStore.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-article-card/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 +2 -2
- 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-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.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +6 -6
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +9 -9
- package/dist/components/solutions-deploy-app/customElement.js +46 -50
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +2 -2
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +34 -46
- package/dist/docs/docs.json +26 -48
- package/dist/docs/vscode.html-custom-data.json +7 -6
- package/dist/docs/web-types.json +25 -24
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/25HUIZA4.js +0 -4
- package/dist/cdn/3V62ASGS.js +0 -18
- package/dist/cdn/4L5D4PU4.js +0 -4
- package/dist/cdn/DJ7D6QIV.js +0 -4
- package/dist/cdn/FR7O5LDJ.js +0 -4
- package/dist/cdn/JH3TW34C.js +0 -4
- package/dist/cdn/KLDKDJBR.js +0 -4
- package/dist/cdn/QBUJFNVI.js +0 -4
- package/dist/cdn/QZJM3UVY.js +0 -4
- package/dist/cdn/T73KSKS2.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{ha as m,ib as l}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{ha as m,ib as l}from"./7VVTSZUA.js";import{v as u}from"./KMHSDP5I.js";import{H as c}from"./6UL4CGV3.js";export default $arcgis.t(([])=>{function N(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}async function d(t,e){let a=e,n=await a.getUsername(),s={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:a},f=(await l(s)).results.map(r=>r.title),{folders:h}=await m(a),p=h.map(r=>r.title),i=[...f,...p].map(r=>r.trim().toLowerCase()),o=t.toLowerCase(),w=i.filter(r=>r===o),g=i.filter(r=>r.startsWith(o));return{conflictingNames:w,similiarNames:g}}async function C(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await d(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function E(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",a="?";return t.forEach(n=>{n.k&&n.v&&(e+=a+n.k+"="+n.v,a="&")}),e}function S(t,e,a,n){let s="";return e?s=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):s=a,s}function b(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,a){return e.some(n=>n.wkid===t?(a=n.defaultExtent,!0):!1),a}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let a="";return t.some(n=>n.startsWith(e)?(a=n.substring(e.length),!0):!1),a}return{a:N,b:d,c:C,d:k,e:E,f:x,g:S,h:b,i:A,j:D,k:F}},"intl")
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{e as t,g as i}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{e as t,g as i}from"./6453EGYF.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n as a};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as h}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as d}from"./JP7CV4WF.js";import{E as r,G as n,I as a,h as o,i,o as l}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var m=o`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var e="Vous ne disposez pas de suffisamment de cr\xE9dits pour effectuer cette op\xE9ration. Contactez votre administrateur syst\xE8me ArcGIS pour obtenir de l\u2019aide.",r="Cet outil a \xE9t\xE9 publi\xE9 \xE0 partir d\u2019un notebook. L\u2019acc\xE8s \xE0 ArcGIS Notebooks est bloqu\xE9 pour votre organisation. Contactez votre administrateur pour lui demander de modifier ce param\xE8tre.",a="${ dataPath } ne doit pas comporter la propri\xE9t\xE9 suivante\xA0: ${ additionalProperty }.",t="${ dataPath } doit correspondre \xE0 l\u2019une des structures suivantes\xA0: ${ schemaOptions }.",s="R\xE9essayez d\u2019enregistrer la carte.",o="\xC9chec de l\u2019estimation des cr\xE9dits. Faites d\xE9filer vers le bas, corrigez les erreurs et relancez l\u2019estimation des cr\xE9dits.",i="Une erreur s\u2019est produite lors de l\u2019ex\xE9cution de l\u2019analyse.",n="${ dataPath } doit correspondre \xE0 l\u2019une des valeurs autoris\xE9es suivantes\xA0: ${ allowedValues }.",c="\xC9chec de l\u2019enregistrement de l\u2019historique d\u2019analyse",l="L\u2019espace de stockage de l\u2019historique est satur\xE9. Supprimez certains \xE9l\xE9ments de l\u2019historique d\u2019analyse et r\xE9essayez d\u2019enregistrer.",d="Le nom du service contient un ou plusieurs caract\xE8res non valides.",u="L\u2019enregistrement de la couche temporaire en tant que couche d\u2019entit\xE9s h\xE9berg\xE9e a \xE9chou\xE9.",m="\xC9chec de l\u2019obtention des propri\xE9t\xE9s cl\xE9s.",p="\xC9chec du chargement de la couche.",h="La couche n\u2019est pas disponible.",v="${ dataPath } ne doit pas comporter plus de ${ limit }\xA0\xE9l\xE9ments.",y="Une erreur est survenue lors de l\u2019enregistrement du mod\xE8le. R\xE9essayez d\u2019enregistrer.",E="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0\xE9l\xE9ments.",f="${ dataPath } ne doit pas comporter moins de ${ limit }\xA0caract\xE8res.",g="\xC9chec du chargement de l\u2019\xE9l\xE9ment de mod\xE8le. Assurez-vous que le mod\xE8le existe et que l\u2019autorisation d\u2019acc\xE8s a \xE9t\xE9 accord\xE9e.",P="\xC9chec du traitement de la requ\xEAte.",b="Vous n\u2019\xEAtes pas autoris\xE9 \xE0 ex\xE9cuter cet outil. <calcite-link target='_blank' href='${ docLink }'>En savoir plus</calcite-link>",S="\xC9chec de la connexion au portail.",L="\xC9chec de la lecture des donn\xE9es en entr\xE9e.",$="${ dataPath } ne comporte pas la propri\xE9t\xE9 suivante\xA0: ${ missingProperty }.",F="Une couche de r\xE9sultat portant ce nom existe d\xE9j\xE0. Les couches de r\xE9sultat doivent porter des noms uniques au sein de l\u2019organisation. Utilisez un autre nom.",k="Le nom en sortie contient un ou plusieurs caract\xE8res non valides. <a href='${docLink}' target='_blank'>En savoir plus.</a>",q="La publication de la couche temporaire en tant que couche h\xE9berg\xE9e a \xE9chou\xE9 car un ou plusieurs champs ne sont pas valides. Relancez l\u2019outil pour cr\xE9er une couche avec des champs valides.",z="\xC9chec de l\u2019envoi de la t\xE2che. Faites d\xE9filer vers le bas, corrigez les erreurs et r\xE9ex\xE9cutez l\u2019analyse.",I="${ dataPath } doit comporter au moins un caract\xE8re autre qu\u2019un espace.",x={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:i,enumValues:n,failedToSaveHistory:c,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:y,minItems:E,minLength:f,modelNotFound:g,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:L,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:q,toolValidationError:z,whiteSpacePattern:I};export{e as InsufficientCreditsError,r as accessBlocked,a as additionalProperty,t as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,x as default,i as defaultError,n as enumValues,c as failedToSaveHistory,l as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,y as mbFailedToSave,E as minItems,f as minLength,g as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,L as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,k as specialCharactersInServiceNameError,q as temporaryLayerFieldsError,z as toolValidationError,I as whiteSpacePattern};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import i from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import i from"./7ODSJ4C2.js";import e from"./CALN3HN2.js";import{b as x}from"./EOITVA52.js";import b from"./GWH4Z6OW.js";import{b as l,c as C,e as v}from"./M3TZOZRR.js";import"./7VVTSZUA.js";import"./AJE3VGCN.js";import"./Q6GPYGWL.js";import"./3W3N2OW4.js";import"./6KHCKTQR.js";import"./GWZYEABY.js";import"./FMEFBW7S.js";import"./HMWYIWHJ.js";import"./6453EGYF.js";import"./AKU6GXP4.js";import"./AMVW6UNS.js";import"./ULUXYW2M.js";import"./RGV3U5AM.js";import"./LXQBVGWX.js";import"./KMHSDP5I.js";import"./XYCPHWHV.js";import"./GRQR533B.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import"./EWSYZETD.js";import{k as y,l as w,m as f,o as a}from"./6UL4CGV3.js";import{a as m}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as g}from"./JP7CV4WF.js";import{D as u,E as _,G as o,h,i as s,j as d,l as c,o as p}from"./NUE4IZOA.js";import"./LTPGJHX3.js";export default $arcgis.t(([,{b:i},S])=>{var D=h`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var a="Bu i\u015Flemi ger\xE7ekle\u015Ftirmek i\xE7in yeterli krediniz yok. Yard\u0131m i\xE7in bir ArcGIS Sistem Y\xF6neticiniz ile ileti\u015Fime ge\xE7in.",e="Bu ara\xE7 bir notebook'tan yay\u0131nland\u0131. Kurulu\u015Funuz i\xE7in ArcGIS Notebooks'a eri\u015Fim engellenmi\u015F. Ayar\u0131 de\u011Fi\u015Ftirmesi i\xE7in y\xF6neticinizle ileti\u015Fim kurun.",r="${ dataPath }'de ${ additionalProperty } olmamal\u0131d\u0131r.",i="${ dataPath }, \u015Funlardan birinin \u015Femas\u0131yla e\u015Fle\u015Fmelidir: ${ schemaOptions }.",l="Haritay\u0131 yeniden kaydetmeyi deneyin.",n="Kredi tahmini ba\u015Far\u0131s\u0131z oldu. A\u015Fa\u011F\u0131 kayd\u0131r\u0131n, hatalar\u0131 d\xFCzeltin ve kredileri tekrar tahmin edin.",t="Analiz \xE7al\u0131\u015Ft\u0131r\u0131l\u0131rken hata olu\u015Ftu.",d="${ dataPath }, izin verilen \u015Fu de\u011Ferlerden birine e\u015Fit olmal\u0131d\u0131r: ${ allowedValues }.",o="Analiz ge\xE7mi\u015Fi kaydedilemedi",s="Ge\xE7mi\u015F deposu dolu. Analiz ge\xE7mi\u015Finden baz\u0131 \xF6\u011Feleri kald\u0131r\u0131n ve yeniden kaydetmeyi deneyin.",m="Servis ad\u0131 bir veya daha fazla ge\xE7ersiz karakter i\xE7eriyor.",u="Ge\xE7ici katman\u0131n bar\u0131nd\u0131r\u0131lan detay katman\u0131 olarak kaydedilmesi tamamlanmad\u0131.",k="Anahtar \xF6zellikleri al\u0131namad\u0131.",y="Katman y\xFCklenemedi.",c="Katman kullan\u0131labilir de\u011Fil.",h="${ dataPath }, ${ limit }'den fazla \xF6geye sahip olmamal\u0131d\u0131r.",b="Model kaydedilirken bir hata olu\u015Ftu. Yeniden kaydetmeyi deneyin.",z="${ dataPath }, ${ limit }'den az \xF6geye sahip olmamal\u0131d\u0131r.",v="${ dataPath }, ${ limit } karakterden daha k\u0131sa olmamal\u0131d\u0131r.",p="Model \xF6gesi y\xFCklenemedi. Modelin var oldu\u011Fundan ve eri\u015Fim izninin verildi\u011Finden emin olun.",E="Talep tamamlanamad\u0131.",P="Bu arac\u0131 \xE7al\u0131\u015Ft\u0131rma izniniz yok. <calcite-link target='_blank' href='${ docLink }'>Daha fazla bilgi</calcite-link>",f="Portala giri\u015F yap\u0131lamad\u0131.",g="Girdi verileri okunamad\u0131.",S="${ dataPath }'de ${ missingProperty } adl\u0131 \xF6zellik eksik.",$="Bu ada sahip bir sonu\xE7 katman\u0131 zaten var. Sonu\xE7 katmanlar\u0131 kurulu\u015F \xE7ap\u0131nda benzersiz adland\u0131r\u0131lm\u0131\u015F olmal\u0131d\u0131r. L\xFCtfen farkl\u0131 bir ad kullan\u0131n.",F="\xC7\u0131kt\u0131 ad\u0131nda bir veya birka\xE7 ge\xE7ersiz karakter var. <a href='${docLink}' target='_blank'>Daha fazla bilgi edinin.</a>",I="Ge\xE7ici katman\u0131n bar\u0131nd\u0131r\u0131lan katman olarak yay\u0131nlanmas\u0131, bir veya daha fazla ge\xE7ersiz alan nedeniyle ba\u015Far\u0131s\u0131z oldu. Ge\xE7erli alanlara sahip bir katman olu\u015Fturmak i\xE7in arac\u0131 yeniden \xE7al\u0131\u015Ft\u0131r\u0131n.",T="\u0130\u015F g\xF6nderimi ba\u015Far\u0131s\u0131z oldu. A\u015Fa\u011F\u0131ya kayd\u0131r\u0131n, hatalar\u0131 d\xFCzeltin ve analiz arac\u0131n\u0131 tekrar \xE7al\u0131\u015Ft\u0131r\u0131n.",A="${ dataPath }, en az bir adet bo\u015Fluk olmayan karaktere sahip olmal\u0131d\u0131r.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:i,cannotWriteToItemResource:l,creditEstimationError:n,defaultError:t,enumValues:d,failedToSaveHistory:o,fullSessionStorage:s,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:k,layerLoadFailure:y,layerUnavailable:c,maxItems:h,mbFailedToSave:b,minItems:z,minLength:v,modelNotFound:p,networkError:E,noPermissionToAccessTool:P,portalLoadError:f,queryFeaturesError:g,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,i as anyOfValues,l as cannotWriteToItemResource,n as creditEstimationError,L as default,t as defaultError,d as enumValues,o as failedToSaveHistory,s as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,y as layerLoadFailure,c as layerUnavailable,h as maxItems,b as mbFailedToSave,z as minItems,v as minLength,p as modelNotFound,E as networkError,P as noPermissionToAccessTool,f as portalLoadError,g as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as g}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as g}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as p}from"./JP7CV4WF.js";import{E as u,I as s,h as l,i as c,r as h}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var b=l`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import b from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import b from"./LHFLMU4H.js";import a from"./GWH4Z6OW.js";import{b as d,e as p}from"./M3TZOZRR.js";import"./7VVTSZUA.js";import"./AJE3VGCN.js";import"./Q6GPYGWL.js";import"./3W3N2OW4.js";import"./6KHCKTQR.js";import"./GWZYEABY.js";import"./FMEFBW7S.js";import"./HMWYIWHJ.js";import"./6453EGYF.js";import"./AKU6GXP4.js";import"./AMVW6UNS.js";import"./ULUXYW2M.js";import"./RGV3U5AM.js";import"./LXQBVGWX.js";import"./KMHSDP5I.js";import"./XYCPHWHV.js";import"./GRQR533B.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import"./EWSYZETD.js";import"./6UL4CGV3.js";import{a as h}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as l}from"./JP7CV4WF.js";import{C as r,D as n,E as c,I as i,h as o,i as t}from"./NUE4IZOA.js";import"./LTPGJHX3.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as r}from"./UKIPNYSS.js";import{c as o}from"./JP7CV4WF.js";var s=r(o);export{s as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
4
|
function O(t){return t.indexOf("|")>-1&&(t=t.replace("|","::")),t}function S(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var _="~",n=256,r="slug";function G(t,e="",o=0){let R=[r];return e&&R.push(e.toLowerCase()),R.push(t),R.join("|").substring(0,n-o).replace(/-+$/,"").replace(new RegExp(`^${r}\\|`),"")}function i(t){let e=`${r}|${t}|`;return n-e.length}var c=(t,e)=>`${t.split("|").pop()}${_}${e}`;export{S as a,O as b,r as c,G as d,i as e,c as f};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a,b}from"./TRUBVCKV.js";import"./54EGA4EZ.js";import"./AV3AAKZF.js";import"./U6PKFAG3.js";import"./LTPGJHX3.js";export{a as DiscussionEditorTypes,b as DiscussionSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as f}from"./FJKV655N.js";import{a as _}from"./THJ5I4FB.js";import{a as S}from"./DL6W2BEO.js";import{B as D,C as I}from"./Y6I2OVEZ.js";import{b as L}from"./ZMOFCR7O.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./44GZVSVC.js";import"./7QBAKAAP.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`: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__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}`,u={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",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,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=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.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(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.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=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.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[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}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 t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.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?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);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(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.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(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,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(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,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)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.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),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,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(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),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(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;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(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),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`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;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??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(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(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .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=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as f}from"./CCQT3UPY.js";import{a as _}from"./VZ5EZCXT.js";import{a as S}from"./KSTE62UX.js";import{B as D,C as I}from"./AS5PUT7N.js";import{b as L}from"./ROOZ6PE2.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{C as b,D as $,E as C,G as p,h as v,i as l,l as m,o as E}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var k="instant-apps-filter-list calcite-mode-light",O="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(h){return h.replaceAll("'","''")}function y(h,t=!1){if(h){let e=new Date(h),i=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;if(t){let s=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`;return`${i} ${s}`}else return i}}function P(h){if(h!=null){h.value=["",""];let t=h.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let e of t)e.value=""}}var R=v`: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__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}`,u={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",operatorDesc:"instant-apps-filter-list__operator-description"},F=class extends C{constructor(){super(...arguments),this._messages=S({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=b(),this.panelEl=b(),this.isLayerExpUpdated=!1,this.baseClass=k,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=R}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let t=structuredClone(this.filterLayerExpressions);return await Promise.resolve(t)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(t){return t==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(e=>{let i=t?.find(s=>s.id===e.id);i!=null&&(e.title=i.title,e.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(t){return this.initDefExpressions=t.initDefExpressions,this.initMapImageExpressions=t.initMapImageExpressions,this.initPointCloudFilters=t.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=_(this.el)==="dark"?O:k,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(t){t.has("view")&&this.handleWhenView(),t.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[t,e]=await Promise.all([I(),D()]);this.geometryJsonUtils=e,this.intl=t}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:t}=this.filterLayerExpressions[0],e=t?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(u.operatorDesc)} .heading=${this._messages[e]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(t,e){let i=this.panelEl.value?.querySelector(`[id='${t.id}']`);i&&(P(i),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(e))}initInput(t,e){let{type:i,numDisplayOption:s,displayOption:n}=e;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(t,e);if(i==="number"||i==="range")return this.renderNumberSlider(t,e);if(i==="date")return this.renderDatePicker(t,e)}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 t=>{await Promise.all((t.expressions||[]).map(async e=>await this.setInitExpression(t,e)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(t=>{t.expressions?.forEach(e=>{let{type:i,numDisplayOption:s,displayOption:n}=e,a="";i==="string"||i==="coded-value"||i==="date"&&(s==="drop-down"||n==="drop-down")||(i==="number"||i==="range")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,e):this.resetCheckbox(e),e.active=!1})})}resetExpressionUI(t,e){let{id:i}=e;switch(t){case"combobox":{e.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&P(s);break}case"numberRange":{e.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=e.min,s.maxValue=e.max);break}}}resetCheckbox(t){let{id:e}=t,i=this.panelEl.value?.querySelector(`[id='${e}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!x.includes(t.type))return;let e=t;if(e.type==="point-cloud"){if(!this.initPointCloudFilters)return;e.filters=this.initPointCloudFilters[e.id]}else if(e.type==="map-image")e.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[e.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;e.definitionExpression=this.initDefExpressions[e.id]}})}async updateStringExpression(t,e){let i=this.findFilterLayer(t);return await this.getFeatureAttributes(i,e),this.handleDateField(i,e),e?.selectedFields?(e.definitionExpression=this.createDefinitionExpression(e),!0):!1}handleDateField(t,e){e.type==="date"&&t.fields.find(({name:i})=>i===e.field)?.type==="date-only"&&(e.dateOnly=!0)}createDefinitionExpression(t){if(!t.selectedFields?.length)return"";let e=t.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,e){if(!e?.min&&e?.min!==0||!e?.max&&e?.max!==0){let i=this.findFilterLayer(t),{field:s}=e;if(s!=null)if(this.setExpressionFormat(i,e,s),e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down")await this.getFeatureAttributes(i,e);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(e.format?.places!=null?(e.min=this.roundMinNumberDown(n[`min${s}`],e.format.places),e.max=this.roundMaxNumberUp(n[`max${s}`],e.format.places)):(e.min=n[`min${s}`],e.max=n[`max${s}`]),e?.range&&Object.keys(e.range).length){let{min:a,max:r}=e.range;return e.definitionExpression=`${e.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(t,e){let{field:i,range:s}=e,n=this.findFilterLayer(t),a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(e.min=y(a[`min${i}`]),e.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?e.definitionExpression=`${i} ${c} '${r??o}'`:e.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateCodedValueExpression(t,e,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(t);await this.getFeatureAttributes(s,e);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(e.codedValues=n,e.selectedFields?.length){let a=e.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return e.definitionExpression=`${e.field} IN (${a})`,!0}return!1}updateRangeExpression(t,e){if(!e?.domain||e?.domain?.type!=="range")return!1;let{field:i,range:s}=t;return t.min=e.domain.minValue,t.max=e.domain.maxValue,s&&Object.keys(s).length?(t.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(t,e){if(!this.isLayerSupported(t)){e.fields=[];return}let i=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(t),a=await i.queryFeatureCount(),r=this.createQuery(i,e);await this.queryDistinctFeatures(i,r,e),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,e)}isLayerSupported(t){return t&&x.includes(t.type)}extractQueryCapabilities(t){return{maxRecordCount:t.capabilities?.query?.maxRecordCount??t.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:t.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(t,e){let i=t.createQuery();this.applyCacheHint(t,i);let s=e?.field;if(s){let n=this.getInitDefExprFromLayer(t);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(t,e,i){if(!e.outFields)return;let s=await this.queryForFeatures(t,e,e.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(t,e){return e?t*5:t}shouldPaginate(t,e,i){let s=this.getQueryCount(t,i);return t!=null&&e>s}async handlePagination(t,e,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let d=e.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(t,d,e?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,g)=>d.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,g)=>d-g):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(t,e,i){return(await t.queryFeatures(e))?.features.filter(s=>s.attributes?.[i])?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(t,e){if(!t||!x.includes(t.type)||!e)return[];let i=this.createStatisticsQuery(t,e);return(await t.queryFeatures(i))?.features||[]}createStatisticsQuery(t,e){let i=t.createQuery();return i.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,i),i.outStatistics=[{onStatisticField:e,outStatisticFieldName:`max${e}`,statisticType:"max"},{onStatisticField:e,outStatisticFieldName:`min${e}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(t,e){if(t&&e){let{constraints:i}=e,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(t,e){if(!e.field||!e.type){await this.updateExpression(t,e,void 0);return}let i=this.findFilterLayer(t);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===e.field),n=s?.domain?.type;e.type=n==="coded-value"||n==="range"?n:e.type,await this.updateExpression(t,e,s)}))}async updateExpression(t,e,i){await this.handleExpressionType(t,e,i)&&this.generateOutput(t)}async handleExpressionType(t,e,i){switch(e.type){case"string":return await this.updateStringExpression(t,e);case"number":return await this.updateNumberExpression(t,e);case"date":return await this.updateDateExpressionBasedOnDisplayOption(t,e);case"coded-value":return await this.updateCodedValueExpression(t,e,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(t,e,i);case"checkbox":case null:case void 0:return e.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,e){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):await this.updateDateExpression(t,e)}async updateRangeExpressionBasedOnDisplayOption(t,e,i){return e.displayOption==="drop-down"?await this.updateStringExpression(t,e):this.updateRangeExpression(e,i)}updateRangeExpressions(t,e,i,s){let n=this.getInitDefExprFromLayerExpression(e);(s||s===0)&&(i||i===0)&&(s===t?.min&&i===t?.max?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=n?`(${n}) AND ${t?.field} BETWEEN ${s} AND ${i}`:`${t?.field} BETWEEN ${s} AND ${i}`,t.active=!0)),t.range={min:s,max:i}}handleCheckboxChange(t,e,i){let s=i.target;e.active=s.checked,this.generateOutput(t)}handleSliderChange(t,e,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(t,e,s,n),this.generateOutput(e)}handleComboSelect(t,e,i){let s=i.target.selectedItems,{field:n,type:a}=t;if(t.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);t.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):`${n} IN (${r.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(e)}handleDatePickerRangeChange(t,e,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)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,r,o),t.range={min:r,max:o},t.active=!0,this.generateOutput(e))}constructDefinitionExpression(t,e,i){return e?i?`${t} BETWEEN '${e}' AND '${i}'`:`${t} > '${e}'`:`${t} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let e=t.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(e)}applyFilters(t){let e=0;return t.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),e++)})}),e}activateExpression(t,e){t.active=!0,e.type==="range"?t.range=e.range:e.type==="select"&&(t.selectedFields=e.selectedFields)}createURLParamExpression(t,e){let{id:i,range:s,selectedFields:n,type:a}=e;return a==="string"||a==="coded-value"||e?.numDisplayOption==="drop-down"||e?.displayOption==="drop-down"?{type:"select",layerId:t.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:t.id,expressionId:i.toString(),range:s}:{layerId:t.id,expressionId:i.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){let e=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",e)}}generateURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(window.location.search),e=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=e.length,e.length>0?t.set("filter",e.join(";")):t.delete("filter"),this.autoUpdateURLCheck(t),this.urlParams=t}updateFilter(t,e,i){let{id:s}=t,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(t?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,e,t)}else this.updateFilterLayerDefExpression(n,e,t)}updateFilterLayerDefExpression(t,e,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(t),a=e?.length>0&&n!=null&&n!==""?`(${e.join(s)}) AND (${n})`:e.length>0?e.join(s):n;t.definitionExpression=a}updateFilterLayerPCLFilter(t,e){t.filters=e}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(t){let e=t?.sublayerId?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`,i=this.panelEl.value?.querySelector(e),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(t),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(t){let e=this.view.allLayerViews.find(({layer:s})=>s.id===t.id).layer,i=e.type==="map-image"?e.findSublayerById(t.sublayerId):e;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(t){if(this.view==null)return;let e=[],i=[];if(t){for(let s of t.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&e.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(t,e,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,e,i){if(t==null)return;let s;if(!String(t).includes("e"))s=Math[i](t*Math.pow(10,e))/Math.pow(10,e);else{let[n,a]=String(t).split("e").map(o=>Number(o)),r=a+e;s=Math[i](+`${n}e${r}`)*Math.pow(10,-e)}return+s.toFixed(e)}roundMinNumberDown(t,e){return this.scientificRounding(t,e,"floor")}roundMaxNumberUp(t,e){return this.scientificRounding(t,e,"ceil")}roundNumber(t,e){return this.scientificRounding(t,e,"round")??t}setExpressionFormat(t,e,i){if(t?.popupTemplate!=null){let s=t?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(e.format=s.format)}}getInitDefExprFromLayer(t){return t.type==="sublayer"?this.initMapImageExpressions?.[t?.layer?.id??""]?.[t.id]??"":this.initDefExpressions?.[t.id]??""}getInitDefExprFromLayerExpression(t){return t?.sublayerId!=null?this.initMapImageExpressions?.[t.id]?.[t.sublayerId]??"":this.initDefExpressions?.[t.id]??""}findFilterLayer(t){let e=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:i})=>i===t.id);return e.type==="map-image"?e?.findSublayerById(t.sublayerId):e}createLabel(t,e){if(t.type==="coded-value")return t?.codedValues?.[e];if(t.type==="number"&&typeof e=="number"){let i=e;return t.format?.places!=null&&(i=this.roundNumber(e,t.format.places)),t.format?.digitSeparator?this.numberWithCommas(i):i}if(t.type==="date"&&!t.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(e,i)}return e}buildDateExpression(t,e){if(t){let i=new Date(t),s=new Date(t),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`${e} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(t){let e=t.type==="sublayer"?await t.createFeatureLayer():t;if(!e)throw new Error("Failed to create feature layer");return e}applyCacheHint(t,e){t?.capabilities?.query?.supportsCacheHint&&(e.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;let e=this.getExtent(this.extentSelector,this.extentSelectorConfig);e&&(t.geometry=e,t.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach(e=>{if(!x.includes(e.type))return;let i=e;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??""}})}render(){let t=this.loading?this.renderLoading():this.initFilterConfig(),e=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${$(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(u.filterContainer)}>${t}${e}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(t){let{id:e}=t;return t.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${e}-${s}`,l`<div class=${p(u.filterItemContainer)}><div class=${p(u.filterItemTitle)}><p>${i.name}</p></div><div class=${p(u.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??m} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,t,i)}></calcite-checkbox></div></div>`):this.initInput(t,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(t=>this.renderFilterBlocks(t))}renderFilterBlocks(t){let e=this.renderFilter(t),{operator:i}=t,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(t);return f(t.id,l`<calcite-block .heading=${t.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${e}</calcite-block>`)}renderCombobox(t,e){return f("combo-select",l`<label class=${p(u.filterUIItemContainer)}><span>${e.name}</span><calcite-combobox id=${e.id.toString()??m} @calciteComboboxChange=${this.handleComboSelect.bind(this,e,t)} .label=${e.name} .placeholder=${e.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${e.fields?.map((i,s)=>this.renderComboboxItem(e,i,s))}</calcite-combobox></label>`)}renderComboboxItem(t,e,i){let s=this.createLabel(t,e),n=t?.selectedFields?.includes(e)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${e} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(t,e){let i=e?.min,s=e?.max,n=e?.step?e.step:1,a=i!=null&&s!=null,r=e?.field??"",o=e?.range?.min!=null?e.range.min:i,c=e?.range?.max!=null?e.range.max:s,d=[o,c];return a?f(e?.id.toString(),l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.numberInputContainer)}><calcite-slider id=${e?.id.toString()??m} @calciteSliderChange=${this.handleSliderChange.bind(this,e,t)} .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=${d} .groupSeparator=${e?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(t,e){let{min:i,max:s}=e,n=[e?.range?.min,e?.range?.max];return i!=null&&s!=null?l`<label class=${p(u.filterUIItemContainer)}><span>${e?.name}</span><div class=${p(u.dateInputContainer)}><calcite-input-date-picker id=${e?.id.toString()??m} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,e,t)} .min=${i} .max=${s} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??m} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,e,t)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??m} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let t=this.closeBtnText??this._messages.close,e=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(u.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${e} @click=${this.handleResetFilter} ${$(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${e} kind=brand @click=${this.closeBtnOnClick}>${t}</calcite-button>`:void 0}</div>`}renderZoomTo(t){let e=t?.sublayerId?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`;return this.zoomBtn?l`<calcite-action id=${e??m} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??m} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,t)}></calcite-action>`:void 0}};L("instant-apps-filter-list",F);export{F as InstantAppsFilterList};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as k}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as k}from"./WWNBCKJI.js";import"./2QCJLZ63.js";import{g as s}from"./6UL4CGV3.js";import{b as y}from"./LTGJUXQ6.js";import{a as w}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as m}from"./JP7CV4WF.js";import{C as n,D as p,E as g,G as o,h as c,i as l,o as a,r as d}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var _=c`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as _}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as _}from"./WWNBCKJI.js";import"./2QCJLZ63.js";import{c as g,g as $,j as F}from"./JXRF526X.js";import{e as d}from"./6UL4CGV3.js";import{a as E,d as O,f as T}from"./W5SBQGH4.js";import{b as I}from"./LTGJUXQ6.js";import{a as k}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as G}from"./JP7CV4WF.js";import{C as u,D as p,E as C,G as y,H as V,h as L,i as c,o as S,r as v}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var N=L`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{b as d,c as p}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{b as d,c as p}from"./M3TZOZRR.js";import{c as h}from"./7VVTSZUA.js";import"./AJE3VGCN.js";import"./Q6GPYGWL.js";import"./3W3N2OW4.js";import"./6KHCKTQR.js";import"./GWZYEABY.js";import"./FMEFBW7S.js";import"./HMWYIWHJ.js";import"./6453EGYF.js";import"./AKU6GXP4.js";import"./AMVW6UNS.js";import"./ULUXYW2M.js";import"./RGV3U5AM.js";import"./LXQBVGWX.js";import"./KMHSDP5I.js";import"./XYCPHWHV.js";import"./GRQR533B.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import"./EWSYZETD.js";import{a as o}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as l}from"./JP7CV4WF.js";import{E as n,h as r,i as s}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var m=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
4
|
function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as w}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as w}from"./WWNBCKJI.js";import"./2QCJLZ63.js";import{c as R,h as O,i as V}from"./JXRF526X.js";import{d as n,e as h,g as $}from"./6UL4CGV3.js";import{d as E}from"./W5SBQGH4.js";import{a as x}from"./HMA5NBHS.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{b as L}from"./JP7CV4WF.js";import{C as g,D as _,E as v,h as I,i as p,o as m,r as k}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var A=I`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import c from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import c from"./CUN3U2OE.js";import{a as x}from"./AVQHN2RK.js";import a from"./OKURETIK.js";import{a as F}from"./CCQT3UPY.js";import{a as D}from"./KSTE62UX.js";import{E as R,h as N,i as L}from"./AS5PUT7N.js";import{b as E}from"./ROOZ6PE2.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{D as g,E as $,G as H,h as I,i as b}from"./NUE4IZOA.js";import"./LTPGJHX3.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
5
5
|
rect:hover {
|
6
6
|
cursor: pointer;
|
7
7
|
opacity: 0.8;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as e}from"./54EGA4EZ.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import"./LTPGJHX3.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{a as h}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a as h}from"./KSTE62UX.js";import{b as v}from"./ROOZ6PE2.js";import"./UKIPNYSS.js";import"./3TXIADMS.js";import{C as m,D as d,E as u,G as i,h as n,i as l,o as r,r as p}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var T=n`@layer{:host .sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}:host .active-tool{--calcite-color-foreground-1: #c7eaff}}`,$={content:"instant-apps-measurement__content"},s=class extends u{constructor(){super(...arguments),this._messages=h({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(t){if(!this?.measureTool)return;let a=t?.target;if(!(a instanceof HTMLElement))return;let e=a?.dataset.value;if(e!=="distance"&&e!=="area"&&e!=="point"&&e!=="clear")return;e&&this.measureTool.value&&(this.measureTool.value.activeTool=e);let c=document.getElementsByClassName("active-tool");for(let o=0;o<c?.length;o++)c[o]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(e===void 0||e==="clear"))}render(){return l`<calcite-panel .heading=${this._messages.label} .closable=${this.closable}><div slot=content-top>${this.renderActionBar()}</div><div>${this.renderMeasureToolPanel()}</div></calcite-panel>`}renderMeasureToolPanel(){let{view:t,coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}=this;return l`<calcite-panel class=${i($.content)}><instant-apps-measurement-tool .view=${t} .measureConfiguration=${{coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}} .activeTool=${this.activeToolType} ${d(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:t,activeToolType:a}=this;return l`<calcite-action-bar expand-disabled layout=horizontal position=end><calcite-action class=${i(a==="distance"?"active-tool":"")} .text=${t.line} icon=measure scale=m data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.line}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="area"?"active-tool":"")} .text=${t.area} scale=m icon=measure-area data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.area}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="point"?"active-tool":"")} .text=${t.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.point}</calcite-tooltip></calcite-action><calcite-action .text=${t.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};v("instant-apps-measurement",s);export{s as InstantAppsMeasurement};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{a}from"./KVNJ4EPB.js";import"./RUEX2MOD.js";import"./WLX3AYBH.js";import"./GRQR533B.js";import"./Z6WNCLU5.js";import"./EPCC65BL.js";import"./EWSYZETD.js";import"./LTPGJHX3.js";export{a as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{b as c}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{b as c}from"./LTGJUXQ6.js";import{b as d}from"./JP7CV4WF.js";import{C as o,D as n,E as h,h as r,i as a,o as s}from"./NUE4IZOA.js";import"./LTPGJHX3.js";var m=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.20250828 */
|
4
|
-
import{i as d,j as i}from"./
|
3
|
+
v1.1.0-next.20250828.2 */
|
4
|
+
import{i as d,j as i}from"./6KHCKTQR.js";import{a as c}from"./RUEX2MOD.js";import{a as p}from"./AMVW6UNS.js";import{a as s}from"./EPCC65BL.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
|