@esri/solutions-components 1.1.0-next.20250930 → 1.1.0-next.20251001
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/{7KET45PO.js → 273PO6MK.js} +2 -2
- package/dist/cdn/{VZLLG5ZN.js → 2AA6NYJP.js} +2 -2
- package/dist/cdn/{M2THGRZD.js → 2DUXCIBQ.js} +1 -1
- package/dist/cdn/{XTAYZWYY.js → 2LRANYPI.js} +2 -2
- package/dist/cdn/{AWCFBWHQ.js → 2OBYJOKR.js} +2 -2
- package/dist/cdn/{N4RQSTOH.js → 2RKT7ZM5.js} +2 -2
- package/dist/cdn/{G2TY7BDV.js → 2TV3MZL7.js} +2 -2
- package/dist/cdn/{P56PKYKW.js → 2UETDNR5.js} +2 -2
- package/dist/cdn/{H2W4MY6J.js → 3FP7PHRR.js} +2 -2
- package/dist/cdn/{FPS2Q5WP.js → 3FQ7NOEN.js} +2 -2
- package/dist/cdn/{UW5ESZP6.js → 3G2NE6CM.js} +1 -1
- package/dist/cdn/{IQQ7HCCI.js → 3H44N4FR.js} +2 -2
- package/dist/cdn/{BASKHVNL.js → 3HFAKXIL.js} +2 -2
- package/dist/cdn/{VEKUCF54.js → 3HG4IWY4.js} +2 -2
- package/dist/cdn/{HF3PUWXF.js → 3IQDNOWP.js} +2 -2
- package/dist/cdn/{4UQ74FNF.js → 3KLAMPBT.js} +2 -2
- package/dist/cdn/{Y4ILHAXC.js → 3O5S7446.js} +2 -2
- package/dist/cdn/{ZDYMKGAY.js → 3QFZV5CC.js} +2 -2
- package/dist/cdn/{CDKD6UKE.js → 3SG6LG4Q.js} +2 -2
- package/dist/cdn/{RT77N3UL.js → 3TGIKRH7.js} +2 -2
- package/dist/cdn/{IELLQPVZ.js → 3Z2VIKWZ.js} +2 -2
- package/dist/cdn/{OOAYP65P.js → 44B6UUZ3.js} +2 -2
- package/dist/cdn/{7DZ74HXF.js → 45QRHUTZ.js} +2 -2
- package/dist/cdn/{MGVREFJR.js → 45XEURWZ.js} +2 -2
- package/dist/cdn/{5V4ZBDFW.js → 4AXOAB6T.js} +2 -2
- package/dist/cdn/{DCK7KGNM.js → 4CM3ZBKR.js} +1 -1
- package/dist/cdn/{4AZI5XWG.js → 4D4DPYVV.js} +2 -2
- package/dist/cdn/{22BLGFPB.js → 4DYLU6XK.js} +2 -2
- package/dist/cdn/{WMGMAARS.js → 4FO75I6N.js} +2 -2
- package/dist/cdn/{GF5XGNO5.js → 4HGHRCLW.js} +2 -2
- package/dist/cdn/{LDGWGH6X.js → 4U472JVE.js} +1 -1
- package/dist/cdn/{WJQKMHJZ.js → 4YDGDPGP.js} +2 -2
- package/dist/cdn/{L6F7MKSZ.js → 4YSFE6XJ.js} +2 -2
- package/dist/cdn/{74ESN34B.js → 52G24N4M.js} +2 -2
- package/dist/cdn/{EQV6RRR6.js → 5362WPO4.js} +2 -2
- package/dist/cdn/{ZVPXDTBR.js → 53CMIODC.js} +2 -2
- package/dist/cdn/{LWXY7EKZ.js → 552L3HPD.js} +2 -2
- package/dist/cdn/{6RCQYQNI.js → 56OE4A23.js} +2 -2
- package/dist/cdn/{VYPAVTBZ.js → 56ZCAZDE.js} +4 -4
- package/dist/cdn/{RWAQFBTM.js → 57JC2AOJ.js} +2 -2
- package/dist/cdn/{GLMQSHFB.js → 5GUULURP.js} +2 -2
- package/dist/cdn/{XOYRZBAP.js → 5JO3NUM6.js} +2 -2
- package/dist/cdn/{RBIHPCO4.js → 5LRNOSUA.js} +2 -2
- package/dist/cdn/{3EF4NDDW.js → 5NEMTW63.js} +2 -2
- package/dist/cdn/{2FCWGGEI.js → 5NOQHEUI.js} +1 -1
- package/dist/cdn/{EGQS26KS.js → 5XMKURWD.js} +2 -2
- package/dist/cdn/{QIUJXUOE.js → 5XR5Z33A.js} +2 -2
- package/dist/cdn/{6H5CYZBQ.js → 5YAUNXU6.js} +2 -2
- package/dist/cdn/{HGY2UKNC.js → 5YRFNERK.js} +2 -2
- package/dist/cdn/{G7DLAUBZ.js → 63VQEHWN.js} +2 -2
- package/dist/cdn/{3NYMMGYV.js → 65QWDJUV.js} +2 -2
- package/dist/cdn/{EVDDGPFB.js → 67OEFDYU.js} +2 -2
- package/dist/cdn/{UQ7DAXP2.js → 6AX3XQ7F.js} +2 -2
- package/dist/cdn/{YYCPQK2C.js → 6C3IVA2N.js} +2 -2
- package/dist/cdn/{43UI7OSH.js → 6ENWX6ZA.js} +2 -2
- package/dist/cdn/{5O7I76T3.js → 6IUAUEKQ.js} +2 -2
- package/dist/cdn/{LNZSLBZP.js → 6PV7ONPN.js} +2 -2
- package/dist/cdn/{N4KFWOVF.js → 6QZUTDMP.js} +2 -2
- package/dist/cdn/{AVRS6THA.js → 6R6HBCR7.js} +2 -2
- package/dist/cdn/{GGUFYXRM.js → 6SJLGJJS.js} +2 -2
- package/dist/cdn/{B5C365S4.js → 6VB57DL2.js} +2 -2
- package/dist/cdn/{FILH23FI.js → 6WYUYMXH.js} +2 -2
- package/dist/cdn/{UZAJZ5TS.js → 6YZKX2YS.js} +1 -1
- package/dist/cdn/{E3N2636B.js → 6Z5MU5XW.js} +2 -2
- package/dist/cdn/{LAMHNBCE.js → 73ORVADS.js} +2 -2
- package/dist/cdn/{ME6JSTRV.js → 7EZ2M6YH.js} +2 -2
- package/dist/cdn/{LARQGETS.js → 7HAKKOFA.js} +1 -1
- package/dist/cdn/{67P3IFEK.js → 7OIVSNIG.js} +2 -2
- package/dist/cdn/7Q24NAZO.js +4 -0
- package/dist/cdn/{WL54FYOU.js → 7TO4LNVN.js} +2 -2
- package/dist/cdn/{5YEGEQZS.js → 7UU2OGO4.js} +2 -2
- package/dist/cdn/{4DDYEFGY.js → 7XGDSTMO.js} +2 -2
- package/dist/cdn/{XR7PKWLI.js → 7YLYAP3T.js} +2 -2
- package/dist/cdn/{VPPGQP3F.js → 7ZOJTRAS.js} +2 -2
- package/dist/cdn/{2IB23QVE.js → AISOOLMV.js} +2 -2
- package/dist/cdn/{M6IH4MUH.js → AQGOARUP.js} +2 -2
- package/dist/cdn/{TZ4G5I43.js → AX4T4DGX.js} +2 -2
- package/dist/cdn/{CUOOBR5E.js → B3ASOZF3.js} +2 -2
- package/dist/cdn/{FBNVLSMN.js → B3AV5OAS.js} +2 -2
- package/dist/cdn/BIRD7YH7.js +4 -0
- package/dist/cdn/{ZNHB4XXK.js → BMTKDW7D.js} +2 -2
- package/dist/cdn/{FDBSY5EH.js → BZCZWRVE.js} +2 -2
- package/dist/cdn/{UL7UNFT6.js → C5BGS554.js} +2 -2
- package/dist/cdn/{5URSIH5U.js → C7JUA4HX.js} +2 -2
- package/dist/cdn/{WZERQSJW.js → C7ZLOPKO.js} +2 -2
- package/dist/cdn/{RZPVM54I.js → CA5VLB6E.js} +2 -2
- package/dist/cdn/{MFDBUB7P.js → CCBKAPFC.js} +2 -2
- package/dist/cdn/{XSR4VHUZ.js → CFERHXGG.js} +2 -2
- package/dist/cdn/{RFUWQMF7.js → CJ4OXYMV.js} +2 -2
- package/dist/cdn/{MQX2K2YB.js → CKZSKRM2.js} +2 -2
- package/dist/cdn/{ETKNUPUS.js → CWUGRZCK.js} +2 -2
- package/dist/cdn/{SLANTCAC.js → D47MQ4PM.js} +2 -2
- package/dist/cdn/{OQWW5GOD.js → D4JDKVPO.js} +2 -2
- package/dist/cdn/{5HHF4NUO.js → D4MNK6SM.js} +2 -2
- package/dist/cdn/D7PJ7S5F.js +4 -0
- package/dist/cdn/DA57AJHT.js +4 -0
- package/dist/cdn/DARBIBVV.js +18 -0
- package/dist/cdn/{P7BVRBAM.js → DEVZIWDQ.js} +2 -2
- package/dist/cdn/{RZC3IYH5.js → DNR3MQNI.js} +2 -2
- package/dist/cdn/{T6WKLJYO.js → DRBJRFXQ.js} +2 -2
- package/dist/cdn/{UCBSVUJO.js → DRJDDQ63.js} +2 -2
- package/dist/cdn/{7KQZYJLA.js → DRRC5BOC.js} +2 -2
- package/dist/cdn/{EU5DRFMT.js → DSDZMRAC.js} +2 -2
- package/dist/cdn/DYFITLC3.js +18 -0
- package/dist/cdn/{2GADU3E5.js → E427J4ZP.js} +2 -2
- package/dist/cdn/{YIWKP4HK.js → E6X3WAGB.js} +2 -2
- package/dist/cdn/{PMX7R4AD.js → EBYZPTCH.js} +2 -2
- package/dist/cdn/{RGGLFJVZ.js → EFWXAAAR.js} +2 -2
- package/dist/cdn/{2ECABYID.js → EIIWKZ4U.js} +2 -2
- package/dist/cdn/{XPF6NERF.js → EIL2LBG3.js} +1 -1
- package/dist/cdn/{X3W3ZXNH.js → EJTEZKXU.js} +2 -2
- package/dist/cdn/{3YBYVFJK.js → EKXIGTZ5.js} +2 -2
- package/dist/cdn/{2JOPI5SJ.js → EU7IJP35.js} +2 -2
- package/dist/cdn/{PTHCQMPY.js → EVLQFI7K.js} +2 -2
- package/dist/cdn/{YJE446FB.js → F36AN5IC.js} +2 -2
- package/dist/cdn/{KCE6C64B.js → FBGKT423.js} +2 -2
- package/dist/cdn/{QPOWVOQW.js → FGGQQ3DB.js} +2 -2
- package/dist/cdn/{266WRGZQ.js → FKXVA4AV.js} +2 -2
- package/dist/cdn/{EO55S6RD.js → FNKBRYSX.js} +1 -1
- package/dist/cdn/{ACA37DMT.js → FSEHFYQN.js} +2 -2
- package/dist/cdn/{SY3W6JNJ.js → FUKBBSYW.js} +2 -2
- package/dist/cdn/{WLYCBHJY.js → FVDDBKWI.js} +1 -1
- package/dist/cdn/{LXKKRNKX.js → G4CSXZSP.js} +2 -2
- package/dist/cdn/{6GNS7GKM.js → G6KOHD7R.js} +2 -2
- package/dist/cdn/{XVOCJN6U.js → GFTEQUKH.js} +2 -2
- package/dist/cdn/{O3IIFUQS.js → GGJN4CY2.js} +2 -2
- package/dist/cdn/{VTI3VKW3.js → GHYD4EBR.js} +2 -2
- package/dist/cdn/{Y4DBLHQP.js → GJKBVR5V.js} +1 -1
- package/dist/cdn/GLYPNPSX.js +18 -0
- package/dist/cdn/{W4DUSPLY.js → GNNZSEBA.js} +2 -2
- package/dist/cdn/{BGIMI6AA.js → GPBHHSTI.js} +2 -2
- package/dist/cdn/{TGDRLQ4O.js → GWCOCOL3.js} +2 -2
- package/dist/cdn/{2NMPWU7Q.js → GYWUMMDN.js} +1 -1
- package/dist/cdn/{WD2JLYA6.js → H55OHD43.js} +2 -2
- package/dist/cdn/{X3YQSK4M.js → H7T7X4HP.js} +1 -1
- package/dist/cdn/{AGDV2LAI.js → HC5QYVJ2.js} +2 -2
- package/dist/cdn/{3SG23KIT.js → HGB5N5YY.js} +2 -2
- package/dist/cdn/{FSTOIVGE.js → HHD5Z5EN.js} +2 -2
- package/dist/cdn/{JM3GUS6L.js → HP4YH4K4.js} +2 -2
- package/dist/cdn/{R5Z6D6M7.js → HQRJVP5B.js} +2 -2
- package/dist/cdn/{65WVLWXY.js → HRJT2BUP.js} +2 -2
- package/dist/cdn/{I6MZEZ56.js → HVOIXGE3.js} +2 -2
- package/dist/cdn/{AADVJRE6.js → HWEFRIRN.js} +2 -2
- package/dist/cdn/{BNPX242D.js → I45GAP23.js} +2 -2
- package/dist/cdn/{DRR2OKOF.js → I4GBNQJZ.js} +2 -2
- package/dist/cdn/{DXH6Q7YD.js → IA4I4NRJ.js} +1 -1
- package/dist/cdn/{UZJHE7WR.js → IIFFVMSY.js} +2 -2
- package/dist/cdn/{2ZKQYZDQ.js → IKDE7TRJ.js} +2 -2
- package/dist/cdn/{LNGL6TXH.js → IS3YSRQ5.js} +2 -2
- package/dist/cdn/{4ALM45BU.js → ITVN7WBS.js} +2 -2
- package/dist/cdn/{LTBQ7RL6.js → J2C5QTAW.js} +1 -1
- package/dist/cdn/{BR6ACL7P.js → J4JEMHD5.js} +2 -2
- package/dist/cdn/{QF55UWLV.js → J55FURXL.js} +1 -1
- package/dist/cdn/{D75MT2IG.js → J6EJFNQR.js} +2 -2
- package/dist/cdn/{6TMWINTR.js → JFMCI5UM.js} +1 -1
- package/dist/cdn/{RUNLAPNP.js → JGLVTYTS.js} +2 -2
- package/dist/cdn/{AIEFXSLN.js → JGZWT47Y.js} +2 -2
- package/dist/cdn/{CTODW2AG.js → JK3HSBOI.js} +2 -2
- package/dist/cdn/{E5SEEOIV.js → JLE2GF7O.js} +2 -2
- package/dist/cdn/{HJJYOSIJ.js → JPONN2WN.js} +2 -2
- package/dist/cdn/{DJZVV3PM.js → JRUZPNMF.js} +2 -2
- package/dist/cdn/{7WJXXENF.js → JV5WVIVC.js} +2 -2
- package/dist/cdn/{LO2TFJEI.js → JWVHNF6G.js} +2 -2
- package/dist/cdn/{7YTPXNRD.js → JYH2QJDR.js} +2 -2
- package/dist/cdn/{6WF2GYYC.js → JYHVLZL5.js} +2 -2
- package/dist/cdn/{W2CYN36L.js → JZC7ZC6K.js} +1 -1
- package/dist/cdn/{KHWPXZDE.js → KBBDRB5Z.js} +2 -2
- package/dist/cdn/{T2EWH5IQ.js → KGRZPHJP.js} +2 -2
- package/dist/cdn/{KQ5K4TDN.js → KOAORYN5.js} +2 -2
- package/dist/cdn/{TX447FTE.js → KQ4H6ZTW.js} +2 -2
- package/dist/cdn/{WI4YHLNP.js → KQC75OG6.js} +2 -2
- package/dist/cdn/{6F5OGR7C.js → KUFS6NIN.js} +2 -2
- package/dist/cdn/{A2IV3Z6Z.js → L2GYRZF5.js} +2 -2
- package/dist/cdn/{ASBD7AC3.js → L6HVJIN6.js} +2 -2
- package/dist/cdn/{MYGI6G62.js → LA6CUBIO.js} +2 -2
- package/dist/cdn/{B4IGWR3F.js → LBG4SUYF.js} +2 -2
- package/dist/cdn/{C2OYBD5D.js → LBUERUZL.js} +2 -2
- package/dist/cdn/{6LUI7ZT2.js → LCKLCLEY.js} +2 -2
- package/dist/cdn/{DY3JTLBU.js → LGURHBMI.js} +2 -2
- package/dist/cdn/{VDNNFT35.js → LLO33EWF.js} +2 -2
- package/dist/cdn/{I6ZDBAQP.js → LRJZJH5Z.js} +2 -2
- package/dist/cdn/{W63MB7VH.js → LRKBWB34.js} +2 -2
- package/dist/cdn/{CD7X2MST.js → LT63I22B.js} +2 -2
- package/dist/cdn/{M5FFDZZD.js → LTIBCK2E.js} +2 -2
- package/dist/cdn/{PZMZZ5CN.js → LTKYKBCW.js} +2 -2
- package/dist/cdn/{RELLGPSE.js → LWGXYVCD.js} +2 -2
- package/dist/cdn/{N4XF3SDK.js → LY3YYF3O.js} +1 -1
- package/dist/cdn/{F524Q2NJ.js → M5KITS5Z.js} +2 -2
- package/dist/cdn/{3RGKQEJS.js → M7IVXQWP.js} +2 -2
- package/dist/cdn/{XH2M7SON.js → MCO5EK56.js} +2 -2
- package/dist/cdn/{CRHUJGHY.js → MGZ4FZSB.js} +2 -2
- package/dist/cdn/{IEKRWN5D.js → MI2DZFJY.js} +2 -2
- package/dist/cdn/{5PNHMHFU.js → MKD6TWT3.js} +2 -2
- package/dist/cdn/{DKRLKIUR.js → MMO2FP5O.js} +2 -2
- package/dist/cdn/{FWIK3P4X.js → MN7WPB2H.js} +2 -2
- package/dist/cdn/{3EM7OIRO.js → MPVIXVHZ.js} +2 -2
- package/dist/cdn/{BCADRR3Q.js → MQ45SGUO.js} +2 -2
- package/dist/cdn/{3TLKP5NH.js → MSS256QC.js} +2 -2
- package/dist/cdn/{RHBPBF7Z.js → MWEAFU2Z.js} +2 -2
- package/dist/cdn/{G3GOC3N7.js → MXHUWGWH.js} +1 -1
- package/dist/cdn/{F2LWDBNQ.js → MZYAXBIV.js} +2 -2
- package/dist/cdn/{54HOPFOW.js → N24LGDPN.js} +2 -2
- package/dist/cdn/{F2AFMRUH.js → N25455AK.js} +2 -2
- package/dist/cdn/{E4E2FO7E.js → N427K3D5.js} +2 -2
- package/dist/cdn/{NDELA7DW.js → N6ZHWHWE.js} +2 -2
- package/dist/cdn/{E4S3Q5OW.js → NCGP5AHM.js} +1 -1
- package/dist/cdn/{PSUDABII.js → ND2UM3Q6.js} +2 -2
- package/dist/cdn/{JHB73LZI.js → NLJ3XYRA.js} +2 -2
- package/dist/cdn/{U25THAWD.js → NO6JAPC4.js} +2 -2
- package/dist/cdn/{I4BGIYMI.js → NRJXSAAZ.js} +2 -2
- package/dist/cdn/{4AICO5JP.js → NVEH2LVJ.js} +2 -2
- package/dist/cdn/{2ON3WOE6.js → NZ57XWD7.js} +1 -1
- package/dist/cdn/{JP56IADL.js → O26E7HFU.js} +2 -2
- package/dist/cdn/{FWAAVZFS.js → O44BGNFI.js} +2 -2
- package/dist/cdn/O5PFZ4VJ.js +4 -0
- package/dist/cdn/{NK66SUU6.js → OAGDRYS7.js} +2 -2
- package/dist/cdn/{BIEQ7KK2.js → OBVKSQEU.js} +2 -2
- package/dist/cdn/{UKKF6ICH.js → OSQ6H667.js} +1 -1
- package/dist/cdn/{35H4EZVY.js → OSTYZFZB.js} +1 -1
- package/dist/cdn/{LQUOYKPE.js → P5RH2V64.js} +1 -1
- package/dist/cdn/{AYJTAPI7.js → PDAR2ZPJ.js} +2 -2
- package/dist/cdn/{3VDNW4LC.js → PGPFMHUW.js} +1 -1
- package/dist/cdn/{H3VGOXNI.js → PIELGC5E.js} +2 -2
- package/dist/cdn/{356AFTQR.js → PIPMLOY2.js} +2 -2
- package/dist/cdn/{NWP4FTID.js → PIYUT7ED.js} +2 -2
- package/dist/cdn/{GPEQY3RN.js → PUYJFN4F.js} +2 -2
- package/dist/cdn/{TWRCCC3K.js → PYNNQRZB.js} +2 -2
- package/dist/cdn/{URDIYJDY.js → PZUHPEAK.js} +2 -2
- package/dist/cdn/{WDUF3ELA.js → Q6KGU3WU.js} +2 -2
- package/dist/cdn/{IIVKUMB4.js → QCIMGMB5.js} +2 -2
- package/dist/cdn/{2ZVLBM4A.js → QN3EXHLI.js} +2 -2
- package/dist/cdn/{DEOGFJUI.js → QO2F624G.js} +2 -2
- package/dist/cdn/{EMWDRQ3S.js → QOUB25WU.js} +1 -1
- package/dist/cdn/{2D2O46SR.js → QP2Y72HY.js} +2 -2
- package/dist/cdn/{4OFJQO4X.js → QPSFN2UQ.js} +2 -2
- package/dist/cdn/{NZ3244T3.js → QSR7WBGC.js} +2 -2
- package/dist/cdn/{TF2UOA54.js → R3NQMOOR.js} +2 -2
- package/dist/cdn/{BGIBTCAX.js → R6H5JT5Y.js} +2 -2
- package/dist/cdn/{PWBZGGXP.js → RB63O3J4.js} +2 -2
- package/dist/cdn/{5VL5INMQ.js → RBDUYYB7.js} +2 -2
- package/dist/cdn/{QLICRMB2.js → RBJBM64C.js} +2 -2
- package/dist/cdn/{GHZTGAZM.js → RDILHWS2.js} +2 -2
- package/dist/cdn/{Z4T6IBAY.js → REOWO3HH.js} +2 -2
- package/dist/cdn/{XPOTXEEC.js → RLEZI3WV.js} +2 -2
- package/dist/cdn/{OQ2XNLUJ.js → RTFSXDXK.js} +2 -2
- package/dist/cdn/{HQTF75WO.js → RTWANQJA.js} +1 -1
- package/dist/cdn/{EAEPH2DK.js → RXP3QCOS.js} +1 -1
- package/dist/cdn/{RAFQZUOI.js → RZOSVWSR.js} +2 -2
- package/dist/cdn/{XZ5IZIPG.js → RZYE3BNV.js} +2 -2
- package/dist/cdn/{B4FEQLMG.js → S2YJSN3J.js} +2 -2
- package/dist/cdn/{M22WBW5C.js → S6R7JLLH.js} +2 -2
- package/dist/cdn/{E3L5SMJR.js → S7UEXHNT.js} +2 -2
- package/dist/cdn/{6DVNASY7.js → SAHTQNWM.js} +2 -2
- package/dist/cdn/{L7JOASPG.js → SB247VZP.js} +2 -2
- package/dist/cdn/{SQCMB2UB.js → SC6MEQGJ.js} +2 -2
- package/dist/cdn/{IISGJ6DA.js → SCVPTZEB.js} +2 -2
- package/dist/cdn/{UDLU5BLH.js → SEMPHWDE.js} +2 -2
- package/dist/cdn/{NNHTS2OV.js → SHNHKCKX.js} +2 -2
- package/dist/cdn/{SSUPBLSO.js → SOTANKS4.js} +2 -2
- package/dist/cdn/{QXWVQS3F.js → SQH2AZXR.js} +2 -2
- package/dist/cdn/{7CO73YLK.js → SQT7NXFS.js} +2 -2
- package/dist/cdn/{EVJGDIYM.js → SRIUS4NU.js} +2 -2
- package/dist/cdn/{HNNI5WAM.js → STEMMVS3.js} +2 -2
- package/dist/cdn/{IQ2S7K55.js → SUMIEV7Y.js} +1 -1
- package/dist/cdn/{HE4NOXJ3.js → SWN5RZ7X.js} +2 -2
- package/dist/cdn/T3HGF2A2.js +4 -0
- package/dist/cdn/{4XYSVDJW.js → TCM5LALX.js} +1 -1
- package/dist/cdn/{H6HYWSBZ.js → TGSOJKYY.js} +2 -2
- package/dist/cdn/{LDPR3VUK.js → TH655CSJ.js} +2 -2
- package/dist/cdn/{47RIZZKK.js → TJ5GK2VX.js} +2 -2
- package/dist/cdn/{L7BFIWS6.js → TKYSNSDW.js} +1 -1
- package/dist/cdn/{BDNVVUIT.js → TLN45HTP.js} +2 -2
- package/dist/cdn/{XPADHCD4.js → TONQJHXJ.js} +2 -2
- package/dist/cdn/{NAR4WZYN.js → TZZZZD5J.js} +2 -2
- package/dist/cdn/{XKS62AFO.js → U3YRL76J.js} +2 -2
- package/dist/cdn/{3HBEYVFM.js → U5SBW2GG.js} +2 -2
- package/dist/cdn/{HKAUWMMG.js → UEHEF6MX.js} +2 -2
- package/dist/cdn/{75K5SRLH.js → UFQESXOQ.js} +2 -2
- package/dist/cdn/{PP4EUCLU.js → UKNBKBH5.js} +2 -2
- package/dist/cdn/{MEWGZTOS.js → UQJGKYGF.js} +2 -2
- package/dist/cdn/{X5V263ZF.js → UX46QBO6.js} +2 -2
- package/dist/cdn/{MQZRCC3R.js → V576A4LT.js} +2 -2
- package/dist/cdn/{OXWHG2JJ.js → V6LEW5RU.js} +1 -1
- package/dist/cdn/{HWIHJHFL.js → VEL6YRJA.js} +4 -4
- package/dist/cdn/{U5KP66P2.js → VEUJ6N6V.js} +2 -2
- package/dist/cdn/{OAACLYHW.js → VFJV7H6W.js} +2 -2
- package/dist/cdn/{T26V7ODN.js → VI6GC6WF.js} +2 -2
- package/dist/cdn/{2HQSAHOD.js → VIN64XQ4.js} +2 -2
- package/dist/cdn/{OBA32KSF.js → VL7U3QTN.js} +2 -2
- package/dist/cdn/{YDI3MX2A.js → VNO2UIQG.js} +2 -2
- package/dist/cdn/{W7NRHWGE.js → VRUDJNQ5.js} +2 -2
- package/dist/cdn/{HBYY3KDT.js → VTE2Z2LQ.js} +1 -1
- package/dist/cdn/{RDBOZN6J.js → VVBIF2KT.js} +2 -2
- package/dist/cdn/{O4DCTBMS.js → VWU64AAH.js} +2 -2
- package/dist/cdn/{23IEP3SP.js → VZDC2FGY.js} +2 -2
- package/dist/cdn/{2PUIOUZY.js → W5PCSFQO.js} +1 -1
- package/dist/cdn/{AHK6ZG3A.js → WDQVBUNM.js} +2 -2
- package/dist/cdn/{OGUKW7UF.js → WDUFWHXT.js} +2 -2
- package/dist/cdn/{LANEMFHC.js → WIJMHK3K.js} +2 -2
- package/dist/cdn/{75R3MO43.js → WJ2OAJ4B.js} +2 -2
- package/dist/cdn/{PKYF5QVD.js → WLBFUOTA.js} +2 -2
- package/dist/cdn/{T2YJUKUD.js → WQULYHBT.js} +1 -1
- package/dist/cdn/{NDHK32YT.js → WSVCBFI4.js} +2 -2
- package/dist/cdn/{WZSZLETN.js → WTZZSM6B.js} +2 -2
- package/dist/cdn/{AFDUDC2N.js → WZ2DKIAW.js} +2 -2
- package/dist/cdn/{W4W2UWW4.js → X24NKRET.js} +1 -1
- package/dist/cdn/{4NHVP7UY.js → X2AVAYNW.js} +2 -2
- package/dist/cdn/{GGR6HRVV.js → X3I4M6YD.js} +2 -2
- package/dist/cdn/X4TBVM25.js +4 -0
- package/dist/cdn/{BDDAYVOQ.js → X6NIULF3.js} +1 -1
- package/dist/cdn/{P3DANCNA.js → X6R7Z5LM.js} +2 -2
- package/dist/cdn/{323WPFRO.js → XFVJSFJ5.js} +2 -2
- package/dist/cdn/{BA4S5XKJ.js → XG3F2JC3.js} +2 -2
- package/dist/cdn/{K4Q2SQTZ.js → XGMOUBQZ.js} +2 -2
- package/dist/cdn/{4WW2TEWD.js → XHNZFG7Z.js} +2 -2
- package/dist/cdn/{ZX6DNUC7.js → XKERX3Y7.js} +2 -2
- package/dist/cdn/{N72WSNJD.js → XKIVIXXT.js} +2 -2
- package/dist/cdn/{GZDDP456.js → XSUKV35L.js} +2 -2
- package/dist/cdn/{Z4VUH3B5.js → XVE7NN2W.js} +2 -2
- package/dist/cdn/{NGOSIDLM.js → XY7TWMUT.js} +2 -2
- package/dist/cdn/{3ZCKP3OS.js → XYLLOZC2.js} +2 -2
- package/dist/cdn/{PEEESAGD.js → Y5XMW2RS.js} +2 -2
- package/dist/cdn/{JC4JL4ZX.js → Y6R22HXO.js} +2 -2
- package/dist/cdn/{K5SJYGVE.js → YAK2RJWX.js} +2 -2
- package/dist/cdn/{RRKP5CIH.js → YGDYWFAS.js} +2 -2
- package/dist/cdn/{3DC5SNKZ.js → YJNY7HRQ.js} +2 -2
- package/dist/cdn/{YS7H6RST.js → YKV56CP7.js} +2 -2
- package/dist/cdn/{CTARUCKT.js → YQNFSFGU.js} +2 -2
- package/dist/cdn/YQOJOZII.js +4 -0
- package/dist/cdn/{YVC4WJCU.js → YUAZN5VQ.js} +2 -2
- package/dist/cdn/{WW6MD4TF.js → YZGRGMNE.js} +1 -1
- package/dist/cdn/{UOTNYMKC.js → YZWMINM4.js} +2 -2
- package/dist/cdn/{XDZ5DQ73.js → YZYPUNXQ.js} +2 -2
- package/dist/cdn/{DD3OHYXF.js → Z5R7XKWW.js} +2 -2
- package/dist/cdn/{2RY5SB6Y.js → ZAOYI7VI.js} +2 -2
- package/dist/cdn/{IBKI675K.js → ZENCSL6X.js} +2 -2
- package/dist/cdn/{WY3ISXXZ.js → ZKTGGIVP.js} +2 -2
- package/dist/cdn/{ZPA7ULN3.js → ZL7OSGNB.js} +2 -2
- package/dist/cdn/{24EBO2H6.js → ZLKWEPL6.js} +2 -2
- package/dist/cdn/{SLJDD3FS.js → ZUS74DVX.js} +2 -2
- package/dist/cdn/{BQR4BIXL.js → ZVTKIZVK.js} +2 -2
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +6 -6
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-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 +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +4 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +40 -33
- 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.d.ts +2 -0
- package/dist/components/solutions-deployed-shell/customElement.js +3 -3
- 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 +51 -2
- package/dist/docs/docs.json +40 -3
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +19 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/preact10.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cdn/25QXZCP2.js +0 -18
- package/dist/cdn/2NFLDAR7.js +0 -4
- package/dist/cdn/5MFKIF3Q.js +0 -4
- package/dist/cdn/7VLVF2BS.js +0 -4
- package/dist/cdn/GWDC4SZF.js +0 -4
- package/dist/cdn/LBUL7KNM.js +0 -4
- package/dist/cdn/MSFVJZS4.js +0 -18
- package/dist/cdn/TCRDYPS5.js +0 -18
- package/dist/cdn/UVECELIA.js +0 -4
- package/dist/cdn/XR6HLBKK.js +0 -4
- package/dist/cdn/ZIOUWJO5.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"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import"./TCM5LALX.js";var e="Du har ikke nok credits til \xE5 utf\xF8re denne operasjonen. Kontakt ArcGIS-systemadministratoren for \xE5 f\xE5 hjelp.",r="Dette verkt\xF8yet ble publisert fra en notisbok. Tilgang til ArcGIS Notebooks er blokkert for din organisasjon. Kontakt administratoren din for \xE5 justere innstillingen.",t="${ dataPath } kan ikke ha ${ additionalProperty }.",a="${ dataPath } m\xE5 samsvare med skjemaet for \xE9n av f\xF8lgende: ${ schemaOptions }.",n="Pr\xF8v \xE5 lagre kartet p\xE5 nytt.",i="Creditestimering mislyktes. Rull nedover, korriger feilene, og estimer creditene p\xE5 nytt.",l="Det oppstod en feil under kj\xF8ring av analysen.",o="${ dataPath } m\xE5 v\xE6re lik \xE9n av f\xF8lgende tillatte verdier: ${ allowedValues }.",s="Kunne ikke lagre analysehistorikken",d="Historikklageret er fullt. Fjern noen elementer fra analysehistorikken og pr\xF8ve \xE5 lagre p\xE5 nytt.",k="Tjenestenavnet inneholder ett eller flere ugyldige tegn.",g="Lagringen av det midlertidige laget som et hostet geoobjektlag ble ikke fullf\xF8rt.",m="Kan ikke hente n\xF8kkelegenskaper.",u="Kan ikke laste inn laget.",f="Laget er ikke tilgjengelig.",c="${ limit } kan ikke inneholde flere enn ${ dataPath } elementer.",p="Det oppstod en feil under lagring av modellen. Pr\xF8v \xE5 lagre p\xE5 nytt.",y="${ dataPath } kan ikke inneholde f\xE6rre enn ${ limit } elementer.",v="${ dataPath } m\xE5 ikke v\xE6re kortere enn ${ limit } tegn.",h="Kan ikke laste inn modellelementet. S\xF8rg for at modellen eksisterer og at tilgangstillatelser er gitt.",E="Kan ikke fullf\xF8re foresp\xF8rselen.",P="Du har ikke tilgang til \xE5 kj\xF8re dette verkt\xF8yet. <calcite-link target='_blank' href='${ docLink }'>Mer informasjon</calcite-link>",S="Kan ikke logge inn p\xE5 portalen.",b="Kan ikke lese inndata.",$="${ dataPath } mangler en egenskap ved navn ${ missingProperty }.",j="Det finnes allerede et resultatlag med dette navnet. Navn p\xE5 resultatlag m\xE5 v\xE6re unike innenfor organisasjonen. Bruk en annen tittel.",F="Utdatanavnet inneholder ett eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>L\xE6r mer.</a>",I="Publiseringen av det midlertidige laget som et hostet lag mislyktes p\xE5 grunn av ett eller flere ugyldige felter. Kj\xF8r verkt\xF8yet p\xE5 nytt for \xE5 opprette et lag med gyldige felter.",T="Jobbinnsendingen mislyktes. Rull nedover, korriger feilene, og kj\xF8r analysen p\xE5 nytt.",L="${ dataPath } m\xE5 inneholde minst ett tegn som ikke er mellomrom.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:t,anyOfValues:a,cannotWriteToItemResource:n,creditEstimationError:i,defaultError:l,enumValues:o,failedToSaveHistory:s,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:p,minItems:y,minLength:v,modelNotFound:h,networkError:E,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:b,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:L};export{e as InsufficientCreditsError,r as accessBlocked,t as additionalProperty,a as anyOfValues,n as cannotWriteToItemResource,i as creditEstimationError,K as default,l as defaultError,o as enumValues,s as failedToSaveHistory,d as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,p as mbFailedToSave,y as minItems,v as minLength,h as modelNotFound,E as networkError,P as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,L as whiteSpacePattern};
|
@@ -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,b}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a,b}from"./NCGP5AHM.js";import"./TCM5LALX.js";export{a as UserEditorTypes,b as UserSchema};
|
@@ -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 s}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a as s}from"./2OBYJOKR.js";import"./DRBJRFXQ.js";import"./4U472JVE.js";import"./GNNZSEBA.js";import"./PGPFMHUW.js";import"./NCGP5AHM.js";import"./JRUZPNMF.js";import"./WQULYHBT.js";import"./CJ4OXYMV.js";import"./3H44N4FR.js";import"./56OE4A23.js";import"./EVLQFI7K.js";import"./R6H5JT5Y.js";import"./UFQESXOQ.js";import"./H55OHD43.js";import"./L2GYRZF5.js";import"./QP2Y72HY.js";import"./MKD6TWT3.js";import"./O26E7HFU.js";import"./EIIWKZ4U.js";import"./OSQ6H667.js";import"./6YZKX2YS.js";import"./GYWUMMDN.js";import"./TCM5LALX.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import b from"./SSUPBLSO.js";import{a as $,b as k,e as B,f as U}from"./PEEESAGD.js";import a from"./QLICRMB2.js";import{a as T}from"./AFDUDC2N.js";import{a as _}from"./P7BVRBAM.js";import{a as L}from"./LDPR3VUK.js";import{C as D}from"./G3GOC3N7.js";import{b as w}from"./NK66SUU6.js";import"./TGDRLQ4O.js";import"./RWAQFBTM.js";import{E as C,G as r,h as S,i as n,o as I}from"./EAEPH2DK.js";import"./4XYSVDJW.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:P,h:m,j:b,l:E,m:f}])=>{var R=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){E()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([D()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=P(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await U(this.portalItem);e.set("portalItemResource",t);let a=await B(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=m(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=k(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return T(a,o=>`translated-lang-option-${o}`,o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return n`<calcite-option .value=${o}>${h}</calcite-option>`})}renderUIData(){if(!u?.uiData)return;let t=m();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return _(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?_("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import b from"./SOTANKS4.js";import{a as $,b as k,e as B,f as U}from"./Y5XMW2RS.js";import a from"./RBJBM64C.js";import{a as T}from"./WZ2DKIAW.js";import{a as _}from"./DEVZIWDQ.js";import{a as L}from"./TH655CSJ.js";import{C as D}from"./MXHUWGWH.js";import{b as w}from"./OAGDRYS7.js";import"./GWCOCOL3.js";import"./57JC2AOJ.js";import{E as C,G as r,h as S,i as n,o as I}from"./RXP3QCOS.js";import"./TCM5LALX.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:P,h:m,j:b,l:E,m:f}])=>{var R=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){E()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([D()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=P(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await U(this.portalItem);e.set("portalItemResource",t);let a=await B(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=m(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=k(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return T(a,o=>`translated-lang-option-${o}`,o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return n`<calcite-option .value=${o}>${h}</calcite-option>`})}renderUIData(){if(!u?.uiData)return;let t=m();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return _(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?_("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,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{a as u}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a as u}from"./3IQDNOWP.js";import a from"./RBJBM64C.js";import{a as C}from"./DEVZIWDQ.js";import{a as x}from"./TH655CSJ.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./MXHUWGWH.js";import{b as S}from"./OAGDRYS7.js";import"./GWCOCOL3.js";import"./57JC2AOJ.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./RXP3QCOS.js";import"./TCM5LALX.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},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 i}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a as i}from"./ZAOYI7VI.js";import{a as s,c as l,d as r}from"./7UU2OGO4.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g 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{a}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a}from"./LRJZJH5Z.js";import"./TCM5LALX.js";export default 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.20251001 */
|
4
|
+
import"./TCM5LALX.js";var e="\u60A8\u6CA1\u6709\u8DB3\u591F\u7684\u914D\u989D\u6765\u6267\u884C\u6B64\u64CD\u4F5C\u3002 \u8BF7\u8054\u7CFB ArcGIS \u7CFB\u7EDF\u7BA1\u7406\u5458\u83B7\u53D6\u5E2E\u52A9\u3002",a="\u8FD9\u4E2A\u5DE5\u5177\u662F\u4ECE\u7B14\u8BB0\u672C\u4E2D\u53D1\u5E03\u7684\u3002 \u60A8\u7684\u7EC4\u7EC7\u65E0\u6CD5\u8BBF\u95EE ArcGIS Notebooks\u3002 \u8BF7\u8054\u7CFB\u60A8\u7684\u7BA1\u7406\u5458\u6765\u8C03\u6574\u8BBE\u7F6E\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u987B\u4E0E\u4E0B\u5217\u5404\u9879\u4E4B\u4E00\u7684\u65B9\u6848\u5339\u914D\uFF1A${ schemaOptions }\u3002",o="\u8BF7\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u8BE5\u5730\u56FE\u3002",s="\u914D\u989D\u4F30\u7B97\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\uFF0C\u7136\u540E\u518D\u6B21\u4F30\u7B97\u914D\u989D\u3002",i="\u8FD0\u884C\u5206\u6790\u65F6\u51FA\u9519\u3002",l="${ dataPath } \u5FC5\u987B\u7B49\u4E8E\u4EE5\u4E0B\u5141\u8BB8\u503C\u4E4B\u4E00\uFF1A${ allowedValues }\u3002",d="\u65E0\u6CD5\u4FDD\u5B58\u5206\u6790\u5386\u53F2\u8BB0\u5F55",n="\u5386\u53F2\u8BB0\u5F55\u5B58\u50A8\u5DF2\u6EE1\u3002 \u8BF7\u4ECE\u5206\u6790\u5386\u53F2\u8BB0\u5F55\u4E2D\u79FB\u9664\u4E00\u4E9B\u9879\u76EE\u5E76\u5C1D\u8BD5\u518D\u6B21\u4FDD\u5B58\u3002",c="\u670D\u52A1\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002",m="\u5C06\u4E34\u65F6\u56FE\u5C42\u4FDD\u5B58\u4E3A\u672A\u5B8C\u6210\u7684\u6258\u7BA1\u8981\u7D20\u56FE\u5C42\u3002",u="\u65E0\u6CD5\u83B7\u53D6\u5173\u952E\u5C5E\u6027\u3002",E="\u65E0\u6CD5\u52A0\u8F7D\u56FE\u5C42\u3002",h="\u56FE\u5C42\u4E0D\u53EF\u7528\u3002",y="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u591A\u4E8E ${ limit } \u4E2A\u3002",P="\u4FDD\u5B58\u6A21\u578B\u65F6\u53D1\u751F\u9519\u8BEF\u3002 \u8BF7\u518D\u6B21\u5C1D\u8BD5\u4FDD\u5B58\u3002",p="${ dataPath } \u5305\u542B\u7684\u9879\u76EE\u6570\u91CF\u4E0D\u5E94\u5C11\u4E8E ${ limit } \u4E2A\u3002",S="${ dataPath } \u4E0D\u5E94\u77ED\u4E8E ${ limit } \u4E2A\u5B57\u7B26\u3002",$="\u65E0\u6CD5\u52A0\u8F7D\u6A21\u578B\u9879\u3002 \u786E\u4FDD\u6A21\u578B\u5B58\u5728\u5E76\u4E14\u5DF2\u6388\u4E88\u8BBF\u95EE\u6743\u9650\u3002",v="\u65E0\u6CD5\u5B8C\u6210\u8BF7\u6C42\u3002",f="\u60A8\u6CA1\u6709\u8FD0\u884C\u6B64\u5DE5\u5177\u7684\u6743\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F</calcite-link>",F="\u65E0\u6CD5\u767B\u5F55\u95E8\u6237\u3002",I="\u65E0\u6CD5\u8BFB\u53D6\u8F93\u5165\u6570\u636E\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u4E3A ${ missingProperty } \u7684\u5C5E\u6027\u3002",T="\u5DF2\u5B58\u5728\u5177\u6709\u6B64\u540D\u79F0\u7684\u7ED3\u679C\u56FE\u5C42\u3002 \u5728\u6574\u4E2A\u7EC4\u7EC7\u4E2D\u7ED3\u679C\u56FE\u5C42\u540D\u79F0\u5FC5\u987B\u552F\u4E00\u3002 \u8BF7\u4F7F\u7528\u5176\u4ED6\u540D\u79F0\u3002",L="\u8F93\u51FA\u540D\u79F0\u5305\u542B\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u7B26\u3002 <a href='${docLink}' target='_blank'>\u4E86\u89E3\u8BE6\u7EC6\u4FE1\u606F\u3002</a>",b="\u7531\u4E8E\u4E00\u4E2A\u6216\u591A\u4E2A\u65E0\u6548\u5B57\u6BB5\uFF0C\u5C06\u4E34\u65F6\u56FE\u5C42\u53D1\u5E03\u4E3A\u6258\u7BA1\u56FE\u5C42\u5931\u8D25\u3002 \u91CD\u65B0\u8FD0\u884C\u8BE5\u5DE5\u5177\u4EE5\u521B\u5EFA\u5177\u6709\u6709\u6548\u5B57\u6BB5\u7684\u56FE\u5C42\u3002",N="\u4F5C\u4E1A\u63D0\u4EA4\u5931\u8D25\u3002 \u5411\u4E0B\u6EDA\u52A8\uFF0C\u66F4\u6B63\u9519\u8BEF\u5E76\u518D\u6B21\u8FD0\u884C\u8BE5\u5206\u6790\u3002",g="${ dataPath } \u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u7A7A\u767D\u5B57\u7B26\u3002",C={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,C as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
@@ -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 S}from"./Z4T6IBAY.js";import{b as d,c as g,i as y,j as N}from"./B5C365S4.js";import{a as I}from"./OXWHG2JJ.js";import{a as M,e as E,f as T,g as F}from"./5YEGEQZS.js";import{a as $,b as R}from"./I6MZEZ56.js";import{d as l,e as p,f as c}from"./WLYCBHJY.js";import{a as A}from"./6TMWINTR.js";import{a as x}from"./LQUOYKPE.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a as S}from"./REOWO3HH.js";import{b as d,c as g,i as y,j as N}from"./6VB57DL2.js";import{a as I}from"./V6LEW5RU.js";import{a as M,e as E,f as T,g as F}from"./7UU2OGO4.js";import{a as $,b as R}from"./HVOIXGE3.js";import{d as l,e as p,f as c}from"./FVDDBKWI.js";import{a as A}from"./JFMCI5UM.js";import{a as x}from"./P5RH2V64.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
|
@@ -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 h}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a as h}from"./HVOIXGE3.js";function i(t){if(typeof t=="string")return t.replace(/\/sharing\/rest\/?$/,"");if(typeof t=="object"){let e=t.portalSelf||t,{portalHostname:s,urlKey:o,customBaseUrl:n}=e;if(s||o&&n)return e.isPortal?`https://${e.portalHostname}`:`https://${e.urlKey}.${e.customBaseUrl}`}return i(h(t))}function _(t){let r="enterprise";return t.includes("arcgis.com")&&(r="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(r="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(r="devext"),r}function S(t,r){return`${i(r)}/home/item.html?id=${t}`}var a="/apps/sites";function E(t,r){let e=i(r),s;/(devext|mapsdevext)\.arcgis\.com/.test(e)?s="https://hubdevcdn.arcgis.com/opendata-ui/assets":/(qaext|mapsqa)\.arcgis\.com/.test(e)?s="https://hubqacdn.arcgis.com/opendata-ui/assets":/(www|maps)\.arcgis\.com/.test(e)?s="https://hubcdn.arcgis.com/opendata-ui/assets":s=`${e}${a}`;let o=t.startsWith("/")?"":"/";return[s,t].join(o)}function R(t){let{host:r,path:e,query:s}=t,o=r.endsWith("/")?r:`${r}/`,n=new URL(e,o);return n.search=f(s),n.toString()}function f(t={}){let r=Object.keys(t).filter(e=>t[e]!==void 0).reduce((e,s)=>(e[s]=t[s],e),{});return new URLSearchParams(r).toString()}var u={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function q(t){if(t.isPortal)return`${i(t)}${a}`;{let r=t.portalHostname.split(".")[0];return`${u[r]||u.www}/opendata-ui/assets`}}function c(t){return`${i(t)}/sharing/rest`}function N(t){return t=t.toLowerCase(),t.includes("//")&&(t=t.split("//")[1]),t}function p(t){let r;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="https://hubqa.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="https://hubdev.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(r="https://hub.arcgis.com"),r}function K(t){if(t.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return p(t.portalHostname)}var V=(t,r,e)=>{let{id:s,access:o}=t,n=`${c(r)}/content/items/${s}`,l=new URLSearchParams({f:"json"});return o!=="public"&&e&&l.append("token",e),`${n}?${l.toString()}`};var m=/\/(map|feature)server/i,Q=t=>m.test(t);export{R as a,i as b,_ as c,q as d,c as e,N as f,p as g,K as h,S as i,V as j,E as k,Q as l};
|
@@ -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"./6H5CYZBQ.js";import{a as v}from"./HF3PUWXF.js";import{h as O,i as A}from"./G3GOC3N7.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.20251001 */
|
4
|
+
import a from"./5YAUNXU6.js";import{a as v}from"./3IQDNOWP.js";import{h as O,i as A}from"./MXHUWGWH.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,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.20251001 */
|
4
4
|
var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};
|
@@ -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"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a}from"./3SG6LG4Q.js";import"./6VB57DL2.js";import"./TKYSNSDW.js";import"./V6LEW5RU.js";import"./3G2NE6CM.js";import{a as s,b as r}from"./6PV7ONPN.js";import"./ZAOYI7VI.js";import"./7UU2OGO4.js";import"./I45GAP23.js";import{a as o}from"./AISOOLMV.js";import{a as i}from"./2RKT7ZM5.js";import"./HVOIXGE3.js";import"./FVDDBKWI.js";import"./JFMCI5UM.js";import"./5362WPO4.js";import"./P5RH2V64.js";import"./2OBYJOKR.js";import"./DRBJRFXQ.js";import"./4U472JVE.js";import"./GNNZSEBA.js";import"./PGPFMHUW.js";import"./NCGP5AHM.js";import"./JRUZPNMF.js";import"./WQULYHBT.js";import"./CJ4OXYMV.js";import"./3H44N4FR.js";import"./56OE4A23.js";import"./EVLQFI7K.js";import"./R6H5JT5Y.js";import"./UFQESXOQ.js";import"./H55OHD43.js";import"./L2GYRZF5.js";import"./QP2Y72HY.js";import"./MKD6TWT3.js";import"./O26E7HFU.js";import"./EIIWKZ4U.js";import"./OSQ6H667.js";import"./6YZKX2YS.js";import"./GYWUMMDN.js";import"./TCM5LALX.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c 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{b as c}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{b as c}from"./H7T7X4HP.js";import{b as d}from"./OBVKSQEU.js";import{C as o,D as n,E as h,h as r,i as a,o as s}from"./RXP3QCOS.js";import"./TCM5LALX.js";var m=r`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{i as d,j as i}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{i as d,j as i}from"./6SJLGJJS.js";import{a as c}from"./2DUXCIBQ.js";import{a as p}from"./V6LEW5RU.js";import{a as s}from"./P5RH2V64.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
|
@@ -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.20251001 */
|
4
|
+
import"./TCM5LALX.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{a}from"./3QFZV5CC.js";import"./2DUXCIBQ.js";import"./TZZZZD5J.js";import"./JFMCI5UM.js";import"./5362WPO4.js";import"./P5RH2V64.js";import"./WQULYHBT.js";import"./TCM5LALX.js";export{a as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import b from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import b from"./KBBDRB5Z.js";import a from"./AX4T4DGX.js";import"./7XGDSTMO.js";import"./VIN64XQ4.js";import"./NZ57XWD7.js";import"./XSUKV35L.js";import"./6SJLGJJS.js";import"./REOWO3HH.js";import"./RTWANQJA.js";import"./5NOQHEUI.js";import"./6VB57DL2.js";import"./TKYSNSDW.js";import"./V6LEW5RU.js";import"./3G2NE6CM.js";import"./7UU2OGO4.js";import"./I45GAP23.js";import"./HVOIXGE3.js";import"./FVDDBKWI.js";import"./JFMCI5UM.js";import"./5362WPO4.js";import"./P5RH2V64.js";import"./WQULYHBT.js";import"./YZGRGMNE.js";import{a as h}from"./D4JDKVPO.js";import"./GWCOCOL3.js";import"./57JC2AOJ.js";import{b as d}from"./OBVKSQEU.js";import{E as l,G as n,I as i,h as c,i as t,o as r}from"./RXP3QCOS.js";import"./TCM5LALX.js";export default $arcgis.t(([,{e:p}])=>{var g=c`/** @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{d as c}from"./
|
3
|
+
v1.1.0-next.20251001 */
|
4
|
+
import{d as c}from"./FVDDBKWI.js";import{a as y}from"./P5RH2V64.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
|