@esri/solutions-components 1.1.0-next.20250908.2 → 1.1.0-next.20250910.1
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/{XRLGHISJ.js → 24XDWYKV.js} +2 -2
- package/dist/cdn/{YSTW4NKH.js → 257ICJ4X.js} +2 -2
- package/dist/cdn/{3KMTOL5B.js → 26CPSMP6.js} +2 -2
- package/dist/cdn/{GNIZVXPG.js → 2IPTPDJJ.js} +2 -2
- package/dist/cdn/{5RYBGIWG.js → 2IXAGNUN.js} +1 -1
- package/dist/cdn/{TJD2VIYY.js → 2LG355WX.js} +2 -2
- package/dist/cdn/2LOCTUXZ.js +18 -0
- package/dist/cdn/{35H6I5F5.js → 2PSI6SNZ.js} +1 -1
- package/dist/cdn/{3SFEVALE.js → 2VLHEB7B.js} +2 -2
- package/dist/cdn/{LEZHV4Z4.js → 36FA65ZE.js} +2 -2
- package/dist/cdn/36UDL2ZS.js +21 -0
- package/dist/cdn/{Q3LPZQDC.js → 3C2BNZBL.js} +2 -2
- package/dist/cdn/{4YEIASAP.js → 3EWPRYKN.js} +2 -2
- package/dist/cdn/{2LGNXI4D.js → 3HQ3OQQX.js} +2 -2
- package/dist/cdn/{3E5OTPX6.js → 3M3MLSW6.js} +1 -1
- package/dist/cdn/{XIMCMZNC.js → 3QI4JEPT.js} +2 -2
- package/dist/cdn/{YTDRTBBH.js → 3QPT6M3D.js} +2 -2
- package/dist/cdn/{NYKU6GAS.js → 3T66KYR3.js} +2 -2
- package/dist/cdn/{BCT3U2LS.js → 3VAICNR3.js} +2 -2
- package/dist/cdn/{CNBBYZQF.js → 426ED2VJ.js} +2 -2
- package/dist/cdn/{EJD5OSQ7.js → 42MQKQDN.js} +2 -2
- package/dist/cdn/{A5LJZWZM.js → 454AAUCM.js} +1 -1
- package/dist/cdn/{6B5MLBYX.js → 472ZZDGS.js} +2 -2
- package/dist/cdn/{4IEQYKXS.js → 4DMRVREN.js} +2 -2
- package/dist/cdn/{F4R37CKG.js → 4FUL4LTQ.js} +2 -2
- package/dist/cdn/{FTPSK77G.js → 4LONNHGH.js} +2 -2
- package/dist/cdn/{BDUUCAXJ.js → 4PVGCI2U.js} +2 -2
- package/dist/cdn/{A3LEV4SR.js → 52G3RSHQ.js} +2 -2
- package/dist/cdn/{XNR6WNZB.js → 52TXHALD.js} +2 -2
- package/dist/cdn/{OU4M2QGI.js → 57E326AG.js} +1 -1
- package/dist/cdn/{GI4RFDKX.js → 5BI6EWEY.js} +1 -1
- package/dist/cdn/{D43T65NC.js → 5BTS2MRF.js} +2 -2
- package/dist/cdn/{SX7DPFDJ.js → 5C6NWJJO.js} +2 -2
- package/dist/cdn/{X3CCFXNZ.js → 5DNBCIX3.js} +2 -2
- package/dist/cdn/{RFM74GX4.js → 5EWOPJVU.js} +2 -2
- package/dist/cdn/{HCAYWLMD.js → 5IQCZZPM.js} +2 -2
- package/dist/cdn/{FVMCW63I.js → 5JVCGDPQ.js} +2 -2
- package/dist/cdn/{5FVN5AEL.js → 5MTRZP55.js} +2 -2
- package/dist/cdn/{EYTVXLC2.js → 5SFAJGR5.js} +2 -2
- package/dist/cdn/{MBJT4HAT.js → 62GBADLT.js} +2 -2
- package/dist/cdn/{UWUMZXRG.js → 63E3NLUC.js} +2 -2
- package/dist/cdn/{JHAEJSTT.js → 63YTEXJK.js} +2 -2
- package/dist/cdn/{LZWZ72I6.js → 64SUMFOH.js} +1 -1
- package/dist/cdn/{AHZBQEXF.js → 65CWROZ6.js} +2 -2
- package/dist/cdn/{P2QBHBRE.js → 67P43IKY.js} +2 -2
- package/dist/cdn/{TWQK2H5U.js → 6CD72XGX.js} +2 -2
- package/dist/cdn/{ABEV6KG4.js → 6GXS32LZ.js} +2 -2
- package/dist/cdn/{TBMQXNWD.js → 6NKOAWXU.js} +1 -1
- package/dist/cdn/{EA4XLTLA.js → 6NR6L4K2.js} +2 -2
- package/dist/cdn/{L3LKNBOT.js → 6SLEHMMB.js} +2 -2
- package/dist/cdn/{5NXZ25MB.js → 6YWBMK5D.js} +2 -2
- package/dist/cdn/{3PDHNCYS.js → 77ZXTY75.js} +2 -2
- package/dist/cdn/{PCWB57HO.js → 7CYCM3Z5.js} +2 -2
- package/dist/cdn/{MTQFGNVQ.js → 7GL4OVRO.js} +2 -2
- package/dist/cdn/{TKXQSYHZ.js → 7JZ2YFB2.js} +2 -2
- package/dist/cdn/{NHUAMK3N.js → 7KL6Q3B3.js} +1 -1
- package/dist/cdn/{H6QVNUYG.js → 7LJV36QZ.js} +2 -2
- package/dist/cdn/{5TWNGSBV.js → 7M6LUBEJ.js} +2 -2
- package/dist/cdn/{UACJ72WF.js → 7MZ2LMEC.js} +2 -2
- package/dist/cdn/{ZZLPZGUV.js → 7N5GEORH.js} +2 -2
- package/dist/cdn/{IL6KFT4K.js → 7O45FV6E.js} +2 -2
- package/dist/cdn/{5XYKVRIP.js → 7PDOAR65.js} +2 -2
- package/dist/cdn/{MTNEBTSC.js → 7WEYWMO5.js} +2 -2
- package/dist/cdn/{LKMJQ3YW.js → A34QXM55.js} +1 -1
- package/dist/cdn/{A5TLI7HV.js → AFZSJ23K.js} +2 -2
- package/dist/cdn/{5RRSUACB.js → AHZSIQ7Z.js} +2 -2
- package/dist/cdn/{G5POA4RR.js → AIPTF2E4.js} +1 -1
- package/dist/cdn/{A3A52PZV.js → ALMIPQAJ.js} +2 -2
- package/dist/cdn/{MH674SJO.js → ALWC3AYZ.js} +2 -2
- package/dist/cdn/{OMXNDY5V.js → AMIVZN2B.js} +2 -2
- package/dist/cdn/{VLVCRQWB.js → AQMYQ62J.js} +1 -1
- package/dist/cdn/{RQX5MCL4.js → ARRRTMLK.js} +2 -2
- package/dist/cdn/{KVCQDYKU.js → ASKCSZXH.js} +2 -2
- package/dist/cdn/{XQEOSPV4.js → AT6CT66J.js} +2 -2
- package/dist/cdn/{75CDN2JA.js → AXFT4FGB.js} +2 -2
- package/dist/cdn/{KGFVY55W.js → AYQL2HEP.js} +2 -2
- package/dist/cdn/{OAEPAELK.js → B5M5JEFE.js} +2 -2
- package/dist/cdn/{GRLGO3Z5.js → BD6GZ2TK.js} +2 -2
- package/dist/cdn/{55IAHZCR.js → BG2K5X3H.js} +2 -2
- package/dist/cdn/{WYDAAFPO.js → BHKDDXVE.js} +2 -2
- package/dist/cdn/{5ZT3SBRM.js → BVKEGDHM.js} +2 -2
- package/dist/cdn/{44KY7YBU.js → BWSOYGPQ.js} +2 -2
- package/dist/cdn/{NFQYRLC3.js → BZ7I7OVA.js} +2 -2
- package/dist/cdn/{YZWKFVGD.js → C5B2ZQXT.js} +2 -2
- package/dist/cdn/{KEVZEBXZ.js → CB55XZJQ.js} +2 -2
- package/dist/cdn/{VPZ2K5TH.js → CFCBEIMW.js} +2 -2
- package/dist/cdn/{QCPMDDMQ.js → CFTNHNDO.js} +2 -2
- package/dist/cdn/{JBWEGZUY.js → CJN7MLHV.js} +2 -2
- package/dist/cdn/{CT747PXL.js → CK4PZ242.js} +1 -1
- package/dist/cdn/{MDGG4XDM.js → CKU2K5WH.js} +2 -2
- package/dist/cdn/{PVZYH7J4.js → CRN3T3KQ.js} +2 -2
- package/dist/cdn/{VZ2KHNEI.js → CWAKQBUB.js} +2 -2
- package/dist/cdn/{QSIEZ4SV.js → CWDC5M42.js} +2 -2
- package/dist/cdn/{SDHL4N2C.js → CXA5LFAX.js} +2 -2
- package/dist/cdn/{UY6ORSLJ.js → D2TCEQDF.js} +2 -2
- package/dist/cdn/D3TI4W6H.js +4 -0
- package/dist/cdn/{54AEGWLH.js → D66VHSAD.js} +2 -2
- package/dist/cdn/{3YPNVFSD.js → D7RQ73KT.js} +2 -2
- package/dist/cdn/{EG4SD7GS.js → DAYUDBBU.js} +2 -2
- package/dist/cdn/{ZF743BS7.js → DBZ3HZRZ.js} +2 -2
- package/dist/cdn/{VTH5BIQ4.js → DDZZKSOZ.js} +2 -2
- package/dist/cdn/{SWFUXSAH.js → DFBYMVWV.js} +2 -2
- package/dist/cdn/{AA2YR322.js → DGPEVIQZ.js} +2 -2
- package/dist/cdn/{S3T7N7DA.js → DHDWWTTV.js} +1 -1
- package/dist/cdn/{YNIHGBTZ.js → DI4ESMTW.js} +2 -2
- package/dist/cdn/{7SGINLMJ.js → DKGSZNT3.js} +2 -2
- package/dist/cdn/{JLPON57U.js → DPYO2Y27.js} +2 -2
- package/dist/cdn/{CSP64T2W.js → E2DTA6HV.js} +2 -2
- package/dist/cdn/{S472EG6S.js → E2TZF6GN.js} +2 -2
- package/dist/cdn/{STZVZB24.js → E32I3A4X.js} +2 -2
- package/dist/cdn/{TS4SHEIN.js → EAGN7LMP.js} +2 -2
- package/dist/cdn/{THROCNEA.js → EB5CVOFV.js} +2 -2
- package/dist/cdn/{TR7TPO7F.js → EF3E56LB.js} +2 -2
- package/dist/cdn/{NB2JAMZK.js → EGRFOXJZ.js} +2 -2
- package/dist/cdn/{O7LAAYUZ.js → EH76FIZ2.js} +2 -2
- package/dist/cdn/{5KX236LO.js → EHGR3CQY.js} +2 -2
- package/dist/cdn/{VAQ6JHUC.js → EHKGAJSZ.js} +2 -2
- package/dist/cdn/{RFMSRXM2.js → EJP3F75A.js} +2 -2
- package/dist/cdn/{BXSZTLVC.js → EZ5EERHG.js} +2 -2
- package/dist/cdn/{KF5NLO6S.js → EZPA6HBN.js} +2 -2
- package/dist/cdn/{LZGKF7IS.js → F5XOAHEM.js} +1 -1
- package/dist/cdn/{LVHDQRQC.js → FB7MM7LH.js} +2 -2
- package/dist/cdn/{AWZOCRLD.js → FE5BQ7AH.js} +2 -2
- package/dist/cdn/{ZQUZ7T2P.js → FEXMIZO4.js} +2 -2
- package/dist/cdn/{QUI4QBQP.js → FFF6NXJD.js} +2 -2
- package/dist/cdn/FQGC3DD7.js +4 -0
- package/dist/cdn/{3J4U42Y6.js → FWNXDKA6.js} +2 -2
- package/dist/cdn/{NKUQBHL2.js → FXYSPMOA.js} +2 -2
- package/dist/cdn/{XFKEV2FE.js → FYSDJ4NL.js} +2 -2
- package/dist/cdn/{SKF5NKUT.js → G7OIXOFV.js} +2 -2
- package/dist/cdn/{2PHA2RR3.js → GCCIFJAK.js} +2 -2
- package/dist/cdn/{QW7UI6GX.js → GFJE75G6.js} +2 -2
- package/dist/cdn/{SPTRX6PO.js → GH76KR7G.js} +2 -2
- package/dist/cdn/{TBRZZJQ5.js → GMHJTSRQ.js} +2 -2
- package/dist/cdn/{2GRA3KZ4.js → GMUDKQC5.js} +2 -2
- package/dist/cdn/{X2NWUXVO.js → GUX67N3E.js} +2 -2
- package/dist/cdn/{Y27ZCF27.js → GVDGJ6AX.js} +1 -1
- package/dist/cdn/{HDJULB6G.js → H2IPXFDN.js} +2 -2
- package/dist/cdn/{Q42SUBLZ.js → H6BZZUHP.js} +2 -2
- package/dist/cdn/{V3K5KZTE.js → H6UYY32H.js} +2 -2
- package/dist/cdn/{YB5MP2MI.js → H7QP3F3T.js} +2 -2
- package/dist/cdn/{KQVLKPIF.js → HBDMIGI6.js} +1 -1
- package/dist/cdn/HILUPNGJ.js +4 -0
- package/dist/cdn/{3ALTYALF.js → HLLCSJ6W.js} +2 -2
- package/dist/cdn/{4UKCGS2Z.js → HOLLAORG.js} +2 -2
- package/dist/cdn/{L7WUPFJF.js → HYUXCZG4.js} +1 -1
- package/dist/cdn/{7JGCEYZY.js → HZRR2DE4.js} +2 -2
- package/dist/cdn/{V73HEDAJ.js → I2AUDNAV.js} +1 -1
- package/dist/cdn/{XHSDKMKM.js → IBZHVUY2.js} +2 -2
- package/dist/cdn/{GOY734UA.js → IF5GNN6U.js} +2 -2
- package/dist/cdn/{MN5L3362.js → IGYVYWZ5.js} +2 -2
- package/dist/cdn/{NRGYH73B.js → IKXOD3CO.js} +2 -2
- package/dist/cdn/{VVEMRAW3.js → ILTZCBGN.js} +2 -2
- package/dist/cdn/{66DENMOE.js → IMDTBX4T.js} +2 -2
- package/dist/cdn/{XU6URXKL.js → IRFZHAWE.js} +2 -2
- package/dist/cdn/{7ULVZR2I.js → ISA2EK4Z.js} +2 -2
- package/dist/cdn/{C56GJWIS.js → IVOYSFW7.js} +2 -2
- package/dist/cdn/{RPYOJCAT.js → IY2VNAQZ.js} +1 -1
- package/dist/cdn/J2MYLP36.js +4 -0
- package/dist/cdn/{PZJBPUNR.js → J3I6KA34.js} +2 -2
- package/dist/cdn/{XO6H72PH.js → J6NDCNWY.js} +2 -2
- package/dist/cdn/{D2VV35VM.js → J7AAPKZJ.js} +2 -2
- package/dist/cdn/{SYWCDKFN.js → J7DARDRT.js} +2 -2
- package/dist/cdn/{L6AHA74K.js → JDP7MA56.js} +2 -2
- package/dist/cdn/{BCQLX5KC.js → JFN7WHFQ.js} +2 -2
- package/dist/cdn/{ST7UGI4F.js → JMBSVZWY.js} +2 -2
- package/dist/cdn/{KYJHY77Y.js → JMR4PIJS.js} +2 -2
- package/dist/cdn/{VHBY25HA.js → JO4ATJDW.js} +2 -2
- package/dist/cdn/{5BUA4PLV.js → JP2R2KF2.js} +1 -1
- package/dist/cdn/{X7T77XTR.js → JTLWXL36.js} +2 -2
- package/dist/cdn/{WGSDBSAA.js → JVA5DL47.js} +2 -2
- package/dist/cdn/{BG6IAOZJ.js → K375JPS4.js} +2 -2
- package/dist/cdn/{YQ4VHJS6.js → K3BYV3AU.js} +2 -2
- package/dist/cdn/{PP4CRVWY.js → K3VFJGE6.js} +2 -2
- package/dist/cdn/{HBFLP377.js → K6B5YEY5.js} +2 -2
- package/dist/cdn/{RIQLUQPY.js → K6FVMKPD.js} +2 -2
- package/dist/cdn/{YYZ5OUCH.js → KIYBMSMM.js} +2 -2
- package/dist/cdn/{VTDUJQK2.js → KJIY2VBN.js} +1 -1
- package/dist/cdn/{KVSDZXHZ.js → KJSQKKHT.js} +4 -4
- package/dist/cdn/{456NQ46R.js → KMBBYQRC.js} +2 -2
- package/dist/cdn/{DYUIMZ7H.js → KULPDVRS.js} +2 -2
- package/dist/cdn/{P2O32NJT.js → KW2B2GLB.js} +2 -2
- package/dist/cdn/{ZEMBNMSP.js → KXHAGJOQ.js} +2 -2
- package/dist/cdn/{PCELYN2H.js → L22D4L2S.js} +2 -2
- package/dist/cdn/{F4YVM6OC.js → L2AKLTJL.js} +2 -2
- package/dist/cdn/{W2CVJBJN.js → L5XIXH4K.js} +2 -2
- package/dist/cdn/{G3FJWPEX.js → LIA47KT3.js} +2 -2
- package/dist/cdn/{NFLFZFIX.js → LKAK2JPD.js} +1 -1
- package/dist/cdn/{JP357C64.js → LRN6EVKD.js} +2 -2
- package/dist/cdn/{PC26YPY5.js → LXPANUEN.js} +2 -2
- package/dist/cdn/{Z7S4Q7L2.js → LYYQTMEF.js} +1 -1
- package/dist/cdn/{YIQLQJN2.js → M3WB37IV.js} +2 -2
- package/dist/cdn/{FERDHUAT.js → MB7QV4LW.js} +2 -2
- package/dist/cdn/{U4NPWWFU.js → MD6LF7JL.js} +2 -2
- package/dist/cdn/{P4GUKPU4.js → MIATNONP.js} +2 -2
- package/dist/cdn/{ICH3MF6K.js → MJRPGRZ3.js} +2 -2
- package/dist/cdn/{JUCX5RXC.js → MOFOFYOT.js} +2 -2
- package/dist/cdn/{T4LJCBQH.js → MQCBZXVN.js} +2 -2
- package/dist/cdn/{4MOVGYFM.js → MSBDWOS3.js} +1 -1
- package/dist/cdn/{52YHFLUG.js → MUGNITEU.js} +2 -2
- package/dist/cdn/{UVDEP7IG.js → MWODBSGD.js} +2 -2
- package/dist/cdn/{H23IX3TN.js → MWP27FBT.js} +2 -2
- package/dist/cdn/{OIUHDTIO.js → N5GLWQV2.js} +2 -2
- package/dist/cdn/{X46XSBHC.js → NBJ3DMXN.js} +2 -2
- package/dist/cdn/{6TZ2N6F7.js → NCKNYJ6S.js} +2 -2
- package/dist/cdn/{MDXWCVZC.js → NDKNCPOM.js} +2 -2
- package/dist/cdn/{RALKEF65.js → NDSR2M5D.js} +2 -2
- package/dist/cdn/{VRNWG3BN.js → NKC2ZM3A.js} +2 -2
- package/dist/cdn/{VODXCEWB.js → NLCLVI26.js} +2 -2
- package/dist/cdn/{ZSM3J7FY.js → NPXU54CX.js} +2 -2
- package/dist/cdn/{6H6QJXB6.js → NRDV6TV5.js} +2 -2
- package/dist/cdn/{AUVXOD7P.js → NRPXKLIZ.js} +2 -2
- package/dist/cdn/{3NEDY7J7.js → NTNYKARB.js} +2 -2
- package/dist/cdn/{3EEJBN4H.js → NZECTCEX.js} +2 -2
- package/dist/cdn/{2JO3Q5GD.js → O2ACUDA6.js} +2 -2
- package/dist/cdn/{GZD46QUU.js → O52L4O4U.js} +2 -2
- package/dist/cdn/{7IJE6752.js → OEOCZKFB.js} +2 -2
- package/dist/cdn/{OZLZWJIM.js → OFMEBUEX.js} +2 -2
- package/dist/cdn/OGLOID67.js +18 -0
- package/dist/cdn/{V44LLTNJ.js → OHPSPQ27.js} +2 -2
- package/dist/cdn/{HAELZEDD.js → OI2ZKFNI.js} +2 -2
- package/dist/cdn/{C5MAZ553.js → OJKL6G37.js} +2 -2
- package/dist/cdn/OLJKFSN7.js +4 -0
- package/dist/cdn/{NB3Z4FW4.js → OLTYFDCI.js} +1 -1
- package/dist/cdn/{M2CQDTQL.js → OMSKPLQP.js} +2 -2
- package/dist/cdn/{WBE2DRWW.js → OSEYEALS.js} +2 -2
- package/dist/cdn/{GC4GGWUT.js → OVBCAQZR.js} +2 -2
- package/dist/cdn/{SEMCD2QW.js → OVTWAO3W.js} +2 -2
- package/dist/cdn/{ZSHOJMNJ.js → OXIH74YN.js} +2 -2
- package/dist/cdn/{XFIR62G4.js → OYRE33AG.js} +2 -2
- package/dist/cdn/{KGZEHQIV.js → OYSPAZBM.js} +2 -2
- package/dist/cdn/{KA2GAGJN.js → OYWM7I56.js} +2 -2
- package/dist/cdn/{B6SZ2TVS.js → OZVO2DEL.js} +2 -2
- package/dist/cdn/{MLRQD5U6.js → PLPUZFFH.js} +2 -2
- package/dist/cdn/{FEFYPRKZ.js → PNSYGT53.js} +2 -2
- package/dist/cdn/{3LEOWDJ4.js → PNTGDETM.js} +2 -2
- package/dist/cdn/{MVFQEZMQ.js → PNUG753I.js} +2 -2
- package/dist/cdn/{Z7NFATTH.js → PPVKMCVO.js} +2 -2
- package/dist/cdn/{M7PTBKBM.js → PT3SBFQX.js} +2 -2
- package/dist/cdn/{65MOOQM3.js → PTEIJ66G.js} +2 -2
- package/dist/cdn/{OWKVAGJY.js → PVCDHV3Q.js} +2 -2
- package/dist/cdn/{UVUBTUO4.js → PWIMTC4R.js} +2 -2
- package/dist/cdn/{YSSEMCIL.js → Q7AGL4LT.js} +2 -2
- package/dist/cdn/{QZMRMPCS.js → QDFVZYQ3.js} +2 -2
- package/dist/cdn/{LSFXDJYP.js → QLMPHXBF.js} +2 -2
- package/dist/cdn/{TLO3KJTJ.js → QQW3LB3L.js} +2 -2
- package/dist/cdn/{EOMKZ65F.js → R6KKTBGT.js} +2 -2
- package/dist/cdn/{HYXT7WWG.js → RB3GSXDR.js} +2 -2
- package/dist/cdn/{VOTJLOZS.js → RBABITUZ.js} +2 -2
- package/dist/cdn/{F7WSPLET.js → RC77QGTW.js} +2 -2
- package/dist/cdn/{PFI2QJBL.js → ROH4HEPI.js} +2 -2
- package/dist/cdn/{EJ7QGZ7R.js → RQ2PBNMJ.js} +2 -2
- package/dist/cdn/RQRQO2S5.js +4 -0
- package/dist/cdn/{AKCT6BG5.js → RSZ2NCUH.js} +2 -2
- package/dist/cdn/{OYWHPFW6.js → RT55EC2Q.js} +2 -2
- package/dist/cdn/{MNX47SZ3.js → RT6VAK3A.js} +2 -2
- package/dist/cdn/{XOTH737L.js → RWNP44AQ.js} +2 -2
- package/dist/cdn/{DH4K5UWO.js → RY5VWPZ5.js} +2 -2
- package/dist/cdn/RZJ7XEAA.js +4 -0
- package/dist/cdn/{HAH5DJMU.js → RZPHHUX2.js} +2 -2
- package/dist/cdn/{DFZDTQ57.js → S3MKKCSX.js} +1 -1
- package/dist/cdn/{SGMTUNEV.js → SAQVIWXI.js} +1 -1
- package/dist/cdn/{VNMJW3CI.js → SEMZSBY4.js} +2 -2
- package/dist/cdn/{5VMM7Z6S.js → SFW7USRQ.js} +2 -2
- package/dist/cdn/{IRHQTWY2.js → SJ5QMMOX.js} +2 -2
- package/dist/cdn/{DGFEQ6CL.js → SJIX367C.js} +2 -2
- package/dist/cdn/{KAMOLXOZ.js → SNEHQV5Z.js} +2 -2
- package/dist/cdn/{MPDGXIFC.js → SOGRD2JJ.js} +2 -2
- package/dist/cdn/{ZEC5OXCO.js → SSZWLLF3.js} +2 -2
- package/dist/cdn/{T2ES3UJ6.js → T6J2DJ63.js} +2 -2
- package/dist/cdn/{CJO37FFK.js → TAKTIID3.js} +1 -1
- package/dist/cdn/{3WLF2ZET.js → TIHZ3PKG.js} +1 -1
- package/dist/cdn/{TDIA3KFT.js → TOX2SKRM.js} +2 -2
- package/dist/cdn/{VPURAZNN.js → TQG5BBF5.js} +1 -1
- package/dist/cdn/{IE7LPT5Z.js → TTEW4AOW.js} +2 -2
- package/dist/cdn/{K6SPYPCX.js → TTYNFOJV.js} +2 -2
- package/dist/cdn/{OZJ3GZC3.js → TUXPSW3B.js} +2 -2
- package/dist/cdn/{LIDUNIZN.js → U7HGC4JT.js} +2 -2
- package/dist/cdn/{C66HLGJ2.js → UEAG7XEG.js} +2 -2
- package/dist/cdn/{3HDWBKJ2.js → UMAJGM6V.js} +1 -1
- package/dist/cdn/UO6VP3BI.js +18 -0
- package/dist/cdn/{BF2KUQQ3.js → UQJYI3X6.js} +2 -2
- package/dist/cdn/{H4J6OKKZ.js → V23K42RX.js} +2 -2
- package/dist/cdn/{3VG4PKLB.js → V6C2KNEL.js} +2 -2
- package/dist/cdn/{NCBSQW4V.js → VAFUM6YI.js} +2 -2
- package/dist/cdn/{I65Y77KA.js → VCXJUE47.js} +2 -2
- package/dist/cdn/{WN2IAUBM.js → VEOZ3VQK.js} +2 -2
- package/dist/cdn/{S6ZWMQVE.js → VGRZ2ZPQ.js} +2 -2
- package/dist/cdn/{4LKROH62.js → VJS6GYQO.js} +2 -2
- package/dist/cdn/{4IIKQT2Z.js → VKAHO2YV.js} +2 -2
- package/dist/cdn/{HWTE2YHA.js → VLNFTRZ6.js} +1 -1
- package/dist/cdn/{ZXHMUSFI.js → VNHCIW42.js} +2 -2
- package/dist/cdn/{KKCDDPPB.js → VO2FH6DP.js} +2 -2
- package/dist/cdn/{HWMXLM5D.js → VS3572WW.js} +2 -2
- package/dist/cdn/{XWHG6V44.js → VS7AF6HU.js} +2 -2
- package/dist/cdn/{ZH4AFNOL.js → VU3FNVM6.js} +2 -2
- package/dist/cdn/{Q5IO7NTP.js → VXBJE6HZ.js} +2 -2
- package/dist/cdn/{736MG47C.js → VYNI2P33.js} +1 -1
- package/dist/cdn/VYZ6YKJF.js +18 -0
- package/dist/cdn/{CLLAXRJR.js → W6IU7RKO.js} +1 -1
- package/dist/cdn/{S3WQAODN.js → WB4PSXFM.js} +2 -2
- package/dist/cdn/{TTVIUGBO.js → WCV52AIH.js} +3 -3
- package/dist/cdn/{RFVGMZUJ.js → WLWLCWMU.js} +2 -2
- package/dist/cdn/{JBHRRIMH.js → WY7U574O.js} +2 -2
- package/dist/cdn/{SEPSM67O.js → WYH2N6RJ.js} +2 -2
- package/dist/cdn/{RIJY3CGU.js → X3YFFDLR.js} +2 -2
- package/dist/cdn/{KKPAX6LH.js → X6HPEDUR.js} +2 -2
- package/dist/cdn/{YSP7NER3.js → XA3JYF7M.js} +2 -2
- package/dist/cdn/{ITDANTJC.js → XAJSOTJI.js} +2 -2
- package/dist/cdn/{VVSDZBVF.js → XFQXV5YO.js} +2 -2
- package/dist/cdn/{EHUCMJCV.js → XIS4IX7Q.js} +2 -2
- package/dist/cdn/{PVWALCFH.js → XL7ATNQ4.js} +2 -2
- package/dist/cdn/{LQ5SHOXK.js → XQL7IUUB.js} +2 -2
- package/dist/cdn/Y2TXCMKL.js +4 -0
- package/dist/cdn/Y3U3ULUT.js +4 -0
- package/dist/cdn/{XA3O53V3.js → Y5OHDPVW.js} +1 -1
- package/dist/cdn/{QTGVQ4V4.js → Y6MX2Z6A.js} +2 -2
- package/dist/cdn/{4WUFXIC5.js → YCN22YB4.js} +2 -2
- package/dist/cdn/{EC6NR6LE.js → YCTSBMBF.js} +2 -2
- package/dist/cdn/{BSW2GCME.js → YE4M27FZ.js} +2 -2
- package/dist/cdn/{2SLXFEQF.js → YMRV4C4R.js} +1 -1
- package/dist/cdn/YNRVJINU.js +4 -0
- package/dist/cdn/{Q545KRB5.js → YPZLHSNR.js} +1 -1
- package/dist/cdn/{KOCN2YQY.js → YQQ3RC2P.js} +2 -2
- package/dist/cdn/{GEXJUL5Y.js → YSL4FVPV.js} +2 -2
- package/dist/cdn/{ZUFI4J42.js → YUO6GWE5.js} +1 -1
- package/dist/cdn/{UNHUP3OO.js → YVRJE5RW.js} +2 -2
- package/dist/cdn/{BJXG332L.js → YXC22GE4.js} +2 -2
- package/dist/cdn/{PW7PBBTA.js → YZW4EM7C.js} +2 -2
- package/dist/cdn/{LMHJEQO7.js → ZBUVQGAH.js} +2 -2
- package/dist/cdn/{KYZ3QRKE.js → ZC2PXZAT.js} +2 -2
- package/dist/cdn/{2LY5ZT7K.js → ZGMU4B46.js} +2 -2
- package/dist/cdn/{JEU6BDL7.js → ZLSU5YUQ.js} +2 -2
- package/dist/cdn/{WMDC2DFD.js → ZOPTP7GT.js} +2 -2
- package/dist/cdn/{LROYU56O.js → ZPY26UEA.js} +2 -2
- package/dist/cdn/{CR3TMY5K.js → ZR5APICE.js} +2 -2
- package/dist/cdn/{F5BTNSWR.js → ZREIGXLA.js} +2 -2
- package/dist/cdn/{MIRUTDVQ.js → ZS3JL4YL.js} +2 -2
- package/dist/cdn/{BNL2F5XR.js → ZSDK7SSY.js} +2 -2
- package/dist/cdn/{EY6YRKF2.js → ZWGOMFAN.js} +2 -2
- package/dist/cdn/{E5W5E3E7.js → ZZ7KZR4E.js} +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-configure-titles/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-delete-dialog/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solutions-deployed-filter-panel/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +37 -37
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/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 +7 -7
- package/dist/components/solution-configure-titles/customElement.js +11 -11
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +95 -65
- package/dist/components/solution-deploy-dialog/customElement.js +6 -6
- 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 +105 -111
- 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 +1 -1
- 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.js +38 -20
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- 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 +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/753VT4MT.js +0 -18
- package/dist/cdn/CK5WR6WJ.js +0 -4
- package/dist/cdn/H7Q3YPI3.js +0 -18
- package/dist/cdn/JPD3244W.js +0 -18
- package/dist/cdn/JPLLLWH4.js +0 -4
- package/dist/cdn/LTHLLNEY.js +0 -18
- package/dist/cdn/LW5D5KNH.js +0 -4
- package/dist/cdn/ODTVVNRE.js +0 -4
- package/dist/cdn/OIET7KHI.js +0 -21
- package/dist/cdn/QAQAVXWH.js +0 -4
- package/dist/cdn/U7YM3GK7.js +0 -4
- package/dist/cdn/UFMZDVUF.js +0 -4
- package/dist/cdn/VTGXKROE.js +0 -4
- package/dist/cdn/YC3XMGG6.js +0 -4
- package/dist/cdn/YN3FGOI5.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.
|
4
|
-
import{e as c}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{e as c}from"./KJSQKKHT.js";import{b as l}from"./64SUMFOH.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u 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.
|
4
|
-
import{a as G}from"./AUVXOD7P.js";import{a as L}from"./ZZLPZGUV.js";import{c as K,d as _,e as U}from"./LIDUNIZN.js";import{l as j,p as P}from"./4IIKQT2Z.js";import"./CJO37FFK.js";import"./A5TLI7HV.js";import"./ZUFI4J42.js";import"./Q5IO7NTP.js";import"./LKMJQ3YW.js";import{a as S}from"./S3T7N7DA.js";import"./Q545KRB5.js";import"./PW7PBBTA.js";import"./KF5NLO6S.js";import"./6H6QJXB6.js";import{w}from"./UVUBTUO4.js";import"./L7WUPFJF.js";import"./LZGKF7IS.js";import"./5RRSUACB.js";import"./G5POA4RR.js";import"./E5W5E3E7.js";import{b as A}from"./HWTE2YHA.js";import{a as c,b as p}from"./A5LJZWZM.js";import"./KQVLKPIF.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{a as G}from"./NRPXKLIZ.js";import{a as L}from"./7N5GEORH.js";import{c as K,d as _,e as U}from"./U7HGC4JT.js";import{l as j,p as P}from"./VKAHO2YV.js";import"./TAKTIID3.js";import"./AFZSJ23K.js";import"./YUO6GWE5.js";import"./VXBJE6HZ.js";import"./A34QXM55.js";import{a as S}from"./DHDWWTTV.js";import"./YPZLHSNR.js";import"./YZW4EM7C.js";import"./EZPA6HBN.js";import"./NRDV6TV5.js";import{w}from"./PWIMTC4R.js";import"./HYUXCZG4.js";import"./F5XOAHEM.js";import"./AHZSIQ7Z.js";import"./AIPTF2E4.js";import"./ZZ7KZR4E.js";import{b as A}from"./VLNFTRZ6.js";import{a as c,b as p}from"./454AAUCM.js";import"./HBDMIGI6.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
|
@@ -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.
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
4
|
var v={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},be=Object.defineProperty,Ne=(e,t)=>{for(var s in t)be(e,s,{get:t[s],enumerable:!0})},we=new WeakMap,xe=e=>we.get(e),I=(e,t)=>t in e,z=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",re=typeof window<"u"?window:{},A=re.document||{head:{}},N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},Te=e=>Promise.resolve(e),P=!1,G=[],$e=[],Re=(e,t)=>s=>{e.push(s),P||(P=!0,t&&N.$flags$&4?Se(U):N.raf(U))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){z(s)}e.length=0},U=()=>{J(G),J($e),(P=G.length>0)&&N.raf(U)},Se=e=>Te().then(e),ke=Re($e,!0),V={},Ee="http://www.w3.org/2000/svg",Ce="http://www.w3.org/1999/xhtml",Ae=e=>e!=null,ae=e=>(e=typeof e,e==="object"||e==="function"),Le={};Ne(Le,{err:()=>ie,map:()=>Oe,ok:()=>W,unwrap:()=>De,unwrapErr:()=>Me});var W=e=>({isOk:!0,isErr:!1,value:e}),ie=e=>({isOk:!1,isErr:!0,value:e});function Oe(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ie(s)}throw"should never get here"}var De=e=>{if(e.isOk)return e.value;throw e.value},Me=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},Fe=(e,t,...s)=>{let n=null,o=null,l=null,a=!1,i=!1,c=[],p=d=>{for(let $=0;$<d.length;$++)n=d[$],Array.isArray(n)?p(n):n!=null&&typeof n!="boolean"&&((a=!ae(n))&&(n=String(n)),a&&i?c[c.length-1].$text$+=n:c.push(a?B(null,n):n),i=a)};p(s);let u=B(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),u.$key$=o,u.$name$=l,u},B=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},je={},Pe=e=>e&&e.$tag$===je,Y=(e,t,s,n,o,l)=>{if(s!==n){let a=I(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,p=Z(s),u=Z(n);c.remove(...p.filter(d=>d&&!u.includes(d))),c.add(...u.filter(d=>d&&!p.includes(d)))}else if(t==="style"){for(let c in s)(!n||n[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in n)(!s||n[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,n[c]):e.style[c]=n[c])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):I(re,i)?t=i.slice(2):t=i[2]+t.slice(3),s||n){let c=t.endsWith(ce);t=t.replace(We,""),s&&N.rel(e,t,s,c),n&&N.ael(e,t,n,c)}}else{let c=ae(n);if((a||c&&n!==null)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{let u=n??"";t==="list"?a=!1:(s==null||e[t]!=u)&&(e[t]=u)}}catch{}let p=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,p=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(p?e.removeAttributeNS(X,t):e.removeAttribute(t)):(!a||l&4||o)&&!c&&(n=n===!0?"":n,p?e.setAttributeNS(X,t,n):e.setAttribute(t,n))}}},Ue=/\s/,Z=e=>e?e.split(Ue):[],ce="Capture",We=new RegExp(ce+"$"),de=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||V,l=t.$attrs$||V;for(let a of ee(Object.keys(o)))a in l||Y(n,a,o[a],void 0,s,t.$flags$);for(let a of ee(Object.keys(l)))Y(n,a,o[a],l[a],s,t.$flags$)};function ee(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,H,k,O=!1,D=!1,q=!1,g=!1,M=(e,t,s,n)=>{var o;let l=t.$children$[s],a=0,i,c,p;if(O||(q=!0,l.$tag$==="slot"&&(T&&n.classList.add(T+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)i=l.$elm$=A.createTextNode(l.$text$);else if(l.$flags$&1)i=l.$elm$=A.createTextNode("");else{if(g||(g=l.$tag$==="svg"),i=l.$elm$=A.createElementNS(g?Ee:Ce,!O&&v.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),g&&l.$tag$==="foreignObject"&&(g=!1),de(null,l,g),i.getRootNode().querySelector("body")&&v.scoped&&Ae(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),Q(i,n),l.$children$)for(a=0;a<l.$children$.length;++a)c=M(e,l,a,i),c&&i.appendChild(c);l.$tag$==="svg"?g=!1:i.tagName==="foreignObject"&&(g=!0)}return i["s-hn"]=k,l.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=H,i["s-sn"]=l.$name$||"",i["s-rf"]=(o=l.$attrs$)==null?void 0:o.ref,p=e&&e.$children$&&e.$children$[s],p&&p.$tag$===l.$tag$&&e.$elm$&&E(e.$elm$,!1)),i},E=(e,t)=>{N.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&v.experimentalSlotFixes;for(let n=s.length-1;n>=0;n--){let o=s[n];o["s-hn"]!==k&&o["s-ol"]&&(w(pe(o),o,K(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,q=!0),t&&E(o,t)}N.$flags$&=-2},fe=(e,t,s,n,o,l)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===k&&(a=a.shadowRoot);o<=l;++o)n[o]&&(i=M(null,s,o,e),i&&(n[o].$elm$=i,w(a,i,K(t))))},ue=(e,t,s)=>{for(let n=t;n<=s;++n){let o=e[n];if(o){let l=o.$elm$;ge(o),l&&(D=!0,l["s-ol"]?l["s-ol"].remove():E(l,!0),l.remove())}}},Be=(e,t,s,n,o=!1)=>{let l=0,a=0,i=0,c=0,p=t.length-1,u=t[0],d=t[p],$=n.length-1,r=n[0],f=n[$],h,y;for(;l<=p&&a<=$;)if(u==null)u=t[++l];else if(d==null)d=t[--p];else if(r==null)r=n[++a];else if(f==null)f=n[--$];else if(C(u,r,o))R(u,r,o),u=t[++l],r=n[++a];else if(C(d,f,o))R(d,f,o),d=t[--p],f=n[--$];else if(C(u,f,o))(u.$tag$==="slot"||f.$tag$==="slot")&&E(u.$elm$.parentNode,!1),R(u,f,o),w(e,u.$elm$,d.$elm$.nextSibling),u=t[++l],f=n[--$];else if(C(d,r,o))(u.$tag$==="slot"||f.$tag$==="slot")&&E(d.$elm$.parentNode,!1),R(d,r,o),w(e,d.$elm$,u.$elm$),d=t[--p],r=n[++a];else{for(i=-1,c=l;c<=p;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===r.$key$){i=c;break}i>=0?(y=t[i],y.$tag$!==r.$tag$?h=M(t&&t[a],s,i,e):(R(y,r,o),t[i]=void 0,h=y.$elm$),r=n[++a]):(h=M(t&&t[a],s,a,e),r=n[++a]),h&&w(pe(u.$elm$),h,K(u.$elm$))}l>p?fe(e,n[$+1]==null?null:n[$+1].$elm$,s,n,a,$):a>$&&ue(t,l,p)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,K=e=>e&&e["s-ol"]||e,pe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,R=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,o=e.$children$,l=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(g=a==="svg"?!0:a==="foreignObject"?!1:g,a==="slot"&&!O||de(e,t,g),o!==null&&l!==null?Be(n,o,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),fe(n,null,t,l,0,l.length-1)):!s&&v.updatable&&o!==null&&ue(o,0,o.length-1),g&&a==="svg"&&(g=!1)):(c=n["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(n.data=i)},he=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let o of t)if(o!==s){if(o["s-hn"]!==s["s-hn"]||n!==""){if(o.nodeType===1&&(n===o.getAttribute("slot")||n===o["s-sn"])||o.nodeType===3&&n===o["s-sn"]){s.hidden=!0;break}}else if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){s.hidden=!0;break}}}he(s)}},b=[],me=e=>{let t,s,n;for(let o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=o["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(te(t,l)){let a=b.find(i=>i.$nodeToRelocate$===t);D=!0,t["s-sn"]=t["s-sn"]||l,a?(a.$nodeToRelocate$["s-sh"]=o["s-hn"],a.$slotRefNode$=o):(t["s-sh"]=o["s-hn"],b.push({$slotRefNode$:o,$nodeToRelocate$:t})),t["s-sr"]&&b.map(i=>{te(i.$nodeToRelocate$,t["s-sn"])&&(a=b.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else b.some(a=>a.$nodeToRelocate$===t)||b.push({$nodeToRelocate$:t})}o.nodeType===1&&me(o)}},te=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",ge=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ge)},w=(e,t,s)=>{let n=e?.insertBefore(t,s);return Q(t,e),n},ye=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...ye(e.parentElement)),t},Q=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let o=new Set(ye(t).filter(Boolean));if(o.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...o]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))Q(l,e,!0)}},He=(e,t,s=!1)=>{var n,o,l,a,i;let c=e.$hostElement$,p=e.$cmpMeta$,u=e.$vnode$||B(null,null),d=Pe(t)?t:Fe(null,null,t);if(k=c.tagName,p.$attrsToReflect$&&(d.$attrs$=d.$attrs$||{},p.$attrsToReflect$.map(([$,r])=>d.$attrs$[r]=c[$])),s&&d.$attrs$)for(let $ of Object.keys(d.$attrs$))c.hasAttribute($)&&!["key","ref","style","class"].includes($)&&(d.$attrs$[$]=c[$]);d.$tag$=null,d.$flags$|=4,e.$vnode$=d,d.$elm$=u.$elm$=c.shadowRoot||c,T=c["s-sc"],O=(p.$flags$&1)!==0,H=c["s-cr"],D=!1,R(u,d,s);{if(N.$flags$|=1,q){me(d.$elm$);for(let $ of b){let r=$.$nodeToRelocate$;if(!r["s-ol"]){let f=A.createTextNode("");f["s-nr"]=r,w(r.parentNode,r["s-ol"]=f,r)}}for(let $ of b){let r=$.$nodeToRelocate$,f=$.$slotRefNode$;if(f){let h=f.parentNode,y=f.nextSibling;{let x=(n=r["s-ol"])==null?void 0:n.previousSibling;for(;x;){let m=(o=x["s-nr"])!=null?o:null;if(m&&m["s-sn"]===r["s-sn"]&&h===m.parentNode){for(m=m.nextSibling;m===r||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){y=m;break}}x=x.previousSibling}}(!y&&h!==r.parentNode||r.nextSibling!==y)&&r!==y&&(!r["s-hn"]&&r["s-ol"]&&(r["s-hn"]=r["s-ol"].parentNode.nodeName),w(h,r,y),r.nodeType===1&&(r.hidden=(l=r["s-ih"])!=null?l:!1)),r&&typeof f["s-rf"]=="function"&&f["s-rf"](r)}else r.nodeType===1&&(s&&(r["s-ih"]=(a=r.hidden)!=null?a:!1),r.hidden=!0)}}D&&he(d.$elm$),N.$flags$&=-2,b.length=0}if(v.experimentalScopedSlotChanges&&p.$flags$&2)for(let $ of d.$elm$.childNodes)$["s-hn"]!==k&&!$["s-sh"]&&(s&&$["s-ih"]==null&&($["s-ih"]=(i=$.hidden)!=null?i:!1),$.hidden=!0);H=void 0},_e=(e,t)=>{},ze=(e,t)=>(e.$flags$|=16,_e(e,e.$ancestorComponent$),ke(()=>qe(e,t))),qe=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=S(o,"componentWillUpdate"),l=ne(l,()=>S(o,"componentWillRender")),n(),ne(l,()=>Qe(e,o,t))},ne=(e,t)=>Ke(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=async(e,t,s)=>{let n=e.$hostElement$,o=L("update",e.$cmpMeta$.$tagName$);n["s-rc"];let l=L("render",e.$cmpMeta$.$tagName$);Ie(e,t,n,s),l(),o(),Xe(e)},_=null,Ie=(e,t,s,n)=>{try{_=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(v.hasRenderFn||v.reflect)&&(v.vdomRender||v.reflect)&&(v.hydrateServerSide||He(e,t,n))}catch(o){z(o,e.$hostElement$)}return _=null,null},se=()=>_,Xe=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),o=s;e.$ancestorComponent$,S(o,"componentDidRender"),e.$flags$&64?(S(o,"componentDidUpdate"),n()):(e.$flags$|=64,S(o,"componentDidLoad"),n())},oe=e=>{{let t=xe(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&ze(t,!1),s}},S=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){z(n)}},Ge=(e,t,s)=>{let n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])},Je=(e,t)=>{let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...n)},t)}},Ve=e=>!("isConnected"in e)||e.isConnected,le=Je(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(Ve))},2e3),Ye=()=>{if(typeof se!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=se();s&&Ge(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(oe)),le(e)},reset:()=>{e.forEach(t=>t.forEach(oe)),le(e)}}},F=e=>typeof e=="function"?e():e,Ze=(e,t=(s,n)=>s!==n)=>{let s=F(e),n=new Map(Object.entries(s??{})),o={dispose:[],get:[],set:[],reset:[]},l=new Map,a=()=>{n=new Map(Object.entries(F(e)??{})),o.reset.forEach($=>$())},i=()=>{o.dispose.forEach($=>$()),a()},c=$=>(o.get.forEach(r=>r($)),n.get($)),p=($,r)=>{let f=n.get($);t(r,f,$)&&(n.set($,r),o.set.forEach(h=>h($,r,f)))},u=typeof Proxy>"u"?{}:new Proxy(s,{get($,r){return c(r)},ownKeys($){return Array.from(n.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has($,r){return n.has(r)},set($,r,f){return p(r,f),!0}}),d=($,r)=>(o[$].push(r),()=>{j(o[$],r)});return{state:u,get:c,set:p,on:d,onChange:($,r)=>{let f=(m,ve)=>{m===$&&r(ve)},h=()=>r(F(e)[$]),y=d("set",f),x=d("reset",h);return l.set(r,{setHandler:f,resetHandler:h,propName:$}),()=>{y(),x(),l.delete(r)}},use:(...$)=>{let r=$.reduce((f,h)=>(h.set&&f.push(d("set",h.set)),h.get&&f.push(d("get",h.get)),h.reset&&f.push(d("reset",h.reset)),h.dispose&&f.push(d("dispose",h.dispose)),f),[]);return()=>r.forEach(f=>f())},dispose:i,reset:a,forceUpdate:$=>{let r=n.get($);o.set.forEach(f=>f($,r,r))},removeListener:($,r)=>{let f=l.get(r);f&&f.propName===$&&(j(o.set,f.setHandler),j(o.reset,f.resetHandler),l.delete(r))}}},j=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},et=(e,t)=>{let s=Ze(e,t);return s.use(Ye()),s};export{et 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.
|
4
|
-
import"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import"./HBDMIGI6.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s 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.
|
4
|
-
import{d as r}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{d as r}from"./TIHZ3PKG.js";import{b as n}from"./RQ2PBNMJ.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var p=s`/** @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.
|
4
|
-
import{b as h}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{b as h}from"./64SUMFOH.js";import{b as c}from"./RQ2PBNMJ.js";import{C as n,D as l,E as r,h as i,i as s,o as a}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var u=i`/** @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.
|
4
|
-
import{a as i}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{a as i}from"./AHZSIQ7Z.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
|
@@ -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.
|
4
|
-
import{m as i}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{m as i}from"./W6IU7RKO.js";import{a as h}from"./5EWOPJVU.js";import"./AYQL2HEP.js";import"./6CD72XGX.js";import{b as d}from"./RQ2PBNMJ.js";import{E as r,G as a,I as c,h as l,i as s,o}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var u=l`/** @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.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{a as r}from"./AT6CT66J.js";import"./MSBDWOS3.js";import{e as n}from"./SEMZSBY4.js";import"./NRPXKLIZ.js";import"./OLTYFDCI.js";import"./OI2ZKFNI.js";import"./VKAHO2YV.js";import"./AFZSJ23K.js";import"./SAQVIWXI.js";import"./LKAK2JPD.js";import"./VXBJE6HZ.js";import"./A34QXM55.js";import"./DHDWWTTV.js";import"./YPZLHSNR.js";import"./EZPA6HBN.js";import"./NRDV6TV5.js";import"./PWIMTC4R.js";import"./HYUXCZG4.js";import"./F5XOAHEM.js";import"./AHZSIQ7Z.js";import"./AIPTF2E4.js";import"./ZZ7KZR4E.js";import{b as i}from"./W6IU7RKO.js";import{a as f}from"./5EWOPJVU.js";import"./AYQL2HEP.js";import"./6CD72XGX.js";import{b as _}from"./RQ2PBNMJ.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var b=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.
|
4
|
-
import a from"./DYUIMZ7H.js";import{a as v}from"./QCPMDDMQ.js";import{h as O,i as A}from"./RPYOJCAT.js";export default $arcgis.t(([{a:N,b:V}])=>{function J(e,n,l){return t=>{let a=t?.layer?.type;if(a==="feature"||a==="group"){let s=D(n,t,l).then(o=>o);s&&e.push(s);let i=o=>{let r=D(n,o,l).then(u=>u);r&&e.push(r)};t.children.forEach(o=>{i(o),o?.children?.length>0&&o.children.forEach(r=>{i(r),r?.children?.length>0&&r.children.forEach(u=>{i(u)})})})}}}async function D(e,n,l){try{let t=n?.layer?.type==="group",a=n?.layer?.layers?.some(d=>d.visible),s=n?.layer?.layers?.every(d=>!d?.legendEnabled);await l.whenOnce(()=>e?.state==="ready"),!t||t&&a?t&&s?await l.whenOnce(()=>n?.layer?.loaded):await l.whenOnce(()=>n?.ready):await l.whenOnce(()=>n?.legendElements);let i=n?.legendElements?.[0],o=new Map,r=n.layer,u=await e?.view?.whenLayerView(r),c=r.renderer?.field??"";i!==void 0&&i?.infos?.forEach(d=>{if(d.type==="symbol-table"){let p=[];d.infos.forEach(h=>{let E={count:null,selected:!1,legendElementInfo:h};p.push(E)});let y={count:null,selected:!1,legendElementInfo:d,nestedInfos:p};o.set(d.title,y)}else{let p={count:null,selected:!1,legendElementInfo:d};o.set(d.label??r.id,p)}});let f=[];return u?Promise.resolve({activeLayerInfo:n,title:u.layer.title,categories:o,field:c,queryExpressions:f,totalCount:null,fLayerView:u,legendElement:i}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function _(e,n){let l={},t=[];e.activeLayerInfos.forEach(J(t,e,n));try{return(await Promise.all(t)).forEach(a=>{let s=a?.activeLayerInfo?.layer?.id;l[s]=a}),Promise.resolve(l)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ee(e){return Array.from(e,n=>n[1])}function ne(e,n,l,t,a){if(t)return t?.nestedInfos?.[a];let s="label"in l&&l?.label?l?.label:n?.id;return e?.categories?.get(s)}function re(e){return N?.data?.[e?.id]}async function te(e,n,l,t,a){let{queryExpressions:s,fLayerView:i}=e;K(e,n,l,a);let o=s.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=s.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=await A({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=await O({filter:await A({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function q(e,n){let l=n?n?.layer?.renderer?.authoringInfo:null,t=l?l.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(s=>{if(e.value===s)return;let i=`(${e.value} > ${s} OR (${s} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let s=[];t.forEach(o=>{s.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${s.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${s.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function K(e,n,l,t){let{field:a,legendElement:s,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=s?.infos,c=j(o),f=c?q(n,o):x(n,a,l,s,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[l]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function x(e,n,l,t,a,s){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return s?`((${n}/${s}) > ${a?.[0].value[1]}) OR ((${n}/${s}) < ${a?.[a.length-2].value[0]}) OR ${s} = 0 OR ${s} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===l,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===l;return r?s?u||c&&f?`(${n}/${s}) >= ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:`(${n}/${s}) > ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function j(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function se(e,n,l){let t=e.layer?.renderer?.field,a=n?.type,s=e?.layerView,i=s?.layer?.renderer?.classBreakInfos,o=s?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=s&&i&&i.length>1,p=s?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,I=!!(m&&t&&!u&&!r&&!d),L=!!(I||j(s)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),k=e?.layer?.featureReduction&&e?.legendElements?.[l]?.type==="size-ramp",R=n?.type==="symbol-table"&&n?.infos?.length===1,z=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),C=R&&z,T=R&&F,Q=n?.infos?.every(w=>typeof w.value=="number"),B=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",G=p==="dot-density",H=S(e?.layer,t);return m&&!k&&!c&&!f&&!C&&!T&&!Q&&!B&&!G&&H?i?g||L:I||L:!1}function ie(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function oe(e,n){e.categories.get(n)?.nestedInfos?.forEach(s=>{let i=`${e.field} = '${s.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),s.selected=!1});let l=[],t=Array.from(e.categories).map(s=>s[1]);t.forEach(s=>{s.nestedInfos?.every(i=>!i.selected)&&s.nestedInfos?.forEach(i=>{l.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),l.forEach(s=>{e.queryExpressions.includes(s)||e.queryExpressions.push(s)});let a=e.queryExpressions.join(" OR ");return t.every(s=>s.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function fe(e,n,l){let t=e.fLayerView.createQuery();if(l)if(l.nestedInfos.every(a=>!a.selected)){let a=l.nestedInfos.map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=l.nestedInfos.filter(s=>s.selected).map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function ce(e){return e.map(n=>n?.count).reduce((n,l)=>n+l)}function ue(e){return e.map(n=>n?.nestedInfos?.map(l=>l.count).reduce((l,t)=>l+t)).reduce((n,l)=>n+l)}async function b(e,n,l,t,a,s,i,o){if(!n||!S(n?.layer,l))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=j(n)?q(t,n):t.type?x(i,l,o,t,t.infos):x(t,l,a,s,s.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function de(e,n){let l={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,s={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=b(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(b(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((I,L)=>h.push(b(a,m,g,I,L,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=s[o];r||(r=s[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,s[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),s[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=s?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=s?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=s?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(l)}function ye(e,n){return e?.nestedInfos?.[n]}function he(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function Ee(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function pe(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function $e(e){let n="calcite-mode-",l=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:l}function me(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,l=e.intLegendLayerData,t={...N.data,[n]:l};V.set("data",t)}}function ge(e,n){let{type:l}=e;l==="filter"?M(n):l==="effect"&&W(e,n)}function M(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let l=n,t=P(l);l.filter=t,l.set("featureEffect",null)})}function W(e,n){n?.allLayerViews?.filter(l=>l?.layer?.type==="feature").forEach(async l=>{let t=l;if(e?.effect&&t){let{includedEffect:a,excludedEffect:s}=e.effect,i=await v(s,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=P(t);t.featureEffect=await O({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function P(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let l=e?.fields,t=l&&l.map(a=>a.name);return n?t&&t.includes(n):!0}function we(e){let n=[];return e.forEach(l=>U(l,n)),n}function U(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(l=>{U(l,n)})}return{a:D,b:_,c:ee,d:ne,e:re,f:te,g:ae,h:le,i:se,j:ie,k:oe,l:fe,m:ce,n:ue,o:de,p:ye,q:he,r:Ee,s:pe,t:$e,u:me,v:ge,w:we}},a)
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import a from"./KULPDVRS.js";import{a as v}from"./CFTNHNDO.js";import{h as O,i as A}from"./IY2VNAQZ.js";export default $arcgis.t(([{a:N,b:V}])=>{function J(e,n,l){return t=>{let a=t?.layer?.type;if(a==="feature"||a==="group"){let s=D(n,t,l).then(o=>o);s&&e.push(s);let i=o=>{let r=D(n,o,l).then(u=>u);r&&e.push(r)};t.children.forEach(o=>{i(o),o?.children?.length>0&&o.children.forEach(r=>{i(r),r?.children?.length>0&&r.children.forEach(u=>{i(u)})})})}}}async function D(e,n,l){try{let t=n?.layer?.type==="group",a=n?.layer?.layers?.some(d=>d.visible),s=n?.layer?.layers?.every(d=>!d?.legendEnabled);await l.whenOnce(()=>e?.state==="ready"),!t||t&&a?t&&s?await l.whenOnce(()=>n?.layer?.loaded):await l.whenOnce(()=>n?.ready):await l.whenOnce(()=>n?.legendElements);let i=n?.legendElements?.[0],o=new Map,r=n.layer,u=await e?.view?.whenLayerView(r),c=r.renderer?.field??"";i!==void 0&&i?.infos?.forEach(d=>{if(d.type==="symbol-table"){let p=[];d.infos.forEach(h=>{let E={count:null,selected:!1,legendElementInfo:h};p.push(E)});let y={count:null,selected:!1,legendElementInfo:d,nestedInfos:p};o.set(d.title,y)}else{let p={count:null,selected:!1,legendElementInfo:d};o.set(d.label??r.id,p)}});let f=[];return u?Promise.resolve({activeLayerInfo:n,title:u.layer.title,categories:o,field:c,queryExpressions:f,totalCount:null,fLayerView:u,legendElement:i}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function _(e,n){let l={},t=[];e.activeLayerInfos.forEach(J(t,e,n));try{return(await Promise.all(t)).forEach(a=>{let s=a?.activeLayerInfo?.layer?.id;l[s]=a}),Promise.resolve(l)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ee(e){return Array.from(e,n=>n[1])}function ne(e,n,l,t,a){if(t)return t?.nestedInfos?.[a];let s="label"in l&&l?.label?l?.label:n?.id;return e?.categories?.get(s)}function re(e){return N?.data?.[e?.id]}async function te(e,n,l,t,a){let{queryExpressions:s,fLayerView:i}=e;K(e,n,l,a);let o=s.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=s.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=await A({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=await O({filter:await A({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function q(e,n){let l=n?n?.layer?.renderer?.authoringInfo:null,t=l?l.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(s=>{if(e.value===s)return;let i=`(${e.value} > ${s} OR (${s} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let s=[];t.forEach(o=>{s.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${s.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${s.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function K(e,n,l,t){let{field:a,legendElement:s,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=s?.infos,c=j(o),f=c?q(n,o):x(n,a,l,s,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[l]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function x(e,n,l,t,a,s){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return s?`((${n}/${s}) > ${a?.[0].value[1]}) OR ((${n}/${s}) < ${a?.[a.length-2].value[0]}) OR ${s} = 0 OR ${s} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===l,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===l;return r?s?u||c&&f?`(${n}/${s}) >= ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:`(${n}/${s}) > ${i[0]} AND (${n}/${s}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function j(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function se(e,n,l){let t=e.layer?.renderer?.field,a=n?.type,s=e?.layerView,i=s?.layer?.renderer?.classBreakInfos,o=s?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=s&&i&&i.length>1,p=s?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,I=!!(m&&t&&!u&&!r&&!d),L=!!(I||j(s)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),k=e?.layer?.featureReduction&&e?.legendElements?.[l]?.type==="size-ramp",R=n?.type==="symbol-table"&&n?.infos?.length===1,z=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),C=R&&z,T=R&&F,Q=n?.infos?.every(w=>typeof w.value=="number"),B=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",G=p==="dot-density",H=S(e?.layer,t);return m&&!k&&!c&&!f&&!C&&!T&&!Q&&!B&&!G&&H?i?g||L:I||L:!1}function ie(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function oe(e,n){e.categories.get(n)?.nestedInfos?.forEach(s=>{let i=`${e.field} = '${s.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),s.selected=!1});let l=[],t=Array.from(e.categories).map(s=>s[1]);t.forEach(s=>{s.nestedInfos?.every(i=>!i.selected)&&s.nestedInfos?.forEach(i=>{l.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),l.forEach(s=>{e.queryExpressions.includes(s)||e.queryExpressions.push(s)});let a=e.queryExpressions.join(" OR ");return t.every(s=>s.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function fe(e,n,l){let t=e.fLayerView.createQuery();if(l)if(l.nestedInfos.every(a=>!a.selected)){let a=l.nestedInfos.map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=l.nestedInfos.filter(s=>s.selected).map(s=>`${e.field} = '${s.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function ce(e){return e.map(n=>n?.count).reduce((n,l)=>n+l)}function ue(e){return e.map(n=>n?.nestedInfos?.map(l=>l.count).reduce((l,t)=>l+t)).reduce((n,l)=>n+l)}async function b(e,n,l,t,a,s,i,o){if(!n||!S(n?.layer,l))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=j(n)?q(t,n):t.type?x(i,l,o,t,t.infos):x(t,l,a,s,s.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function de(e,n){let l={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,s={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=b(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(b(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((I,L)=>h.push(b(a,m,g,I,L,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=s[o];r||(r=s[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,s[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),s[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=s?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=s?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=s?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(l)}function ye(e,n){return e?.nestedInfos?.[n]}function he(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function Ee(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function pe(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function $e(e){let n="calcite-mode-",l=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:l}function me(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,l=e.intLegendLayerData,t={...N.data,[n]:l};V.set("data",t)}}function ge(e,n){let{type:l}=e;l==="filter"?M(n):l==="effect"&&W(e,n)}function M(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let l=n,t=P(l);l.filter=t,l.set("featureEffect",null)})}function W(e,n){n?.allLayerViews?.filter(l=>l?.layer?.type==="feature").forEach(async l=>{let t=l;if(e?.effect&&t){let{includedEffect:a,excludedEffect:s}=e.effect,i=await v(s,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=P(t);t.featureEffect=await O({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function P(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let l=e?.fields,t=l&&l.map(a=>a.name);return n?t&&t.includes(n):!0}function we(e){let n=[];return e.forEach(l=>U(l,n)),n}function U(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(l=>{U(l,n)})}return{a:D,b:_,c:ee,d:ne,e:re,f:te,g:ae,h:le,i:se,j:ie,k:oe,l:fe,m:ce,n:ue,o:de,p:ye,q:he,r:Ee,s:pe,t:$e,u:me,v:ge,w:we}},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.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{a as r}from"./E32I3A4X.js";import{b as o}from"./RQ2PBNMJ.js";import{E as n,I as e,h as i,i as s}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var a=i`/** @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.
|
4
|
-
import{b}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{b}from"./64SUMFOH.js";import{a as f}from"./5EWOPJVU.js";import"./AYQL2HEP.js";import"./6CD72XGX.js";import{b as u}from"./RQ2PBNMJ.js";import{C as l,D as a,E as w,G as o,h as _,i as h,l as c}from"./I2AUDNAV.js";import"./HBDMIGI6.js";var $=_`/** @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.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import{a as e}from"./GH76KR7G.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r 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.
|
4
|
-
import b from"./3LEOWDJ4.js";import a from"./IE7LPT5Z.js";import{a as _}from"./QSIEZ4SV.js";import{b as T}from"./RIJY3CGU.js";import"./TWQK2H5U.js";import{D as $,E as y,G as l,I as g,h as C,i as r,o as x,r as L}from"./V73HEDAJ.js";import"./KQVLKPIF.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,b)
|
3
|
+
v1.1.0-next.20250910.1 */
|
4
|
+
import b from"./PNTGDETM.js";import a from"./TTEW4AOW.js";import{a as _}from"./CWDC5M42.js";import{b as T}from"./X3YFFDLR.js";import"./6CD72XGX.js";import{D as $,E as y,G as l,I as g,h as C,i as r,o as x,r as L}from"./I2AUDNAV.js";import"./HBDMIGI6.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,b)
|