@esri/solutions-components 1.1.0-next.20251007 → 1.1.0-next.20251007.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{PHH3PQEX.js → 22YCD63R.js} +2 -2
- package/dist/cdn/{ELV7WOWP.js → 24A2C7XB.js} +2 -2
- package/dist/cdn/{Z5Z6E4RN.js → 26A5WXJA.js} +2 -2
- package/dist/cdn/{FPAZPLYR.js → 27IWMIXA.js} +2 -2
- package/dist/cdn/{BQMNOKC6.js → 2ADF4H4O.js} +2 -2
- package/dist/cdn/{CFXGE6YO.js → 2BCGP55H.js} +3 -3
- package/dist/cdn/{QZGBZQBD.js → 2BFIRXTI.js} +2 -2
- package/dist/cdn/{GK73RAPL.js → 2CNQTDSZ.js} +2 -2
- package/dist/cdn/{4SKANYNT.js → 2CXJV7H5.js} +2 -2
- package/dist/cdn/{EQRPJTSO.js → 2F675B52.js} +2 -2
- package/dist/cdn/{MP7U4YJC.js → 2GAMEN57.js} +2 -2
- package/dist/cdn/{JM7CE7BU.js → 2OSMNGF7.js} +2 -2
- package/dist/cdn/{HS7QACIV.js → 2T2E2UMS.js} +2 -2
- package/dist/cdn/{UEAFCV7D.js → 32XILUI2.js} +2 -2
- package/dist/cdn/{BLLH45ZM.js → 36GBDHPO.js} +2 -2
- package/dist/cdn/{AST3Y6YC.js → 37PCNJOT.js} +2 -2
- package/dist/cdn/{4FYNXGMO.js → 3B4AI2RC.js} +1 -1
- package/dist/cdn/{724RZCUJ.js → 3K2VHCK6.js} +2 -2
- package/dist/cdn/{WJNHOH6L.js → 3MDCQ7YR.js} +2 -2
- package/dist/cdn/{6NIL5WRG.js → 3MQ6ZRZE.js} +2 -2
- package/dist/cdn/{MRVFLAQW.js → 3MYJ6LVY.js} +1 -1
- package/dist/cdn/{MFCKBJNG.js → 3QPQ6XPF.js} +2 -2
- package/dist/cdn/3U7UEMW4.js +4 -0
- package/dist/cdn/{LRCHFOUM.js → 3V4RKRXX.js} +2 -2
- package/dist/cdn/{4AMDJJTG.js → 3XWQVEBM.js} +2 -2
- package/dist/cdn/{3AE5CIEW.js → 44GOFYMT.js} +2 -2
- package/dist/cdn/{OXGQ2TFX.js → 4APT6TV3.js} +2 -2
- package/dist/cdn/{7YL6B3NW.js → 4BBMBYZY.js} +2 -2
- package/dist/cdn/{OD3DDRK2.js → 4FCQ5LMD.js} +2 -2
- package/dist/cdn/{FV7PDAAZ.js → 4G5K63OS.js} +2 -2
- package/dist/cdn/{KFDMXZNX.js → 4HNC7MAX.js} +2 -2
- package/dist/cdn/{HML532KH.js → 4I3VLN3X.js} +2 -2
- package/dist/cdn/{5OCVXO44.js → 4KJUJFIH.js} +2 -2
- package/dist/cdn/{F55DVFGV.js → 4V7FRYAZ.js} +2 -2
- package/dist/cdn/{O3PEQLZQ.js → 55GWOV2F.js} +2 -2
- package/dist/cdn/{U3JDZKXZ.js → 5DZX5462.js} +2 -2
- package/dist/cdn/{62NQBYE5.js → 5JDYOT33.js} +2 -2
- package/dist/cdn/{EASJMMIP.js → 5OM5KDQB.js} +2 -2
- package/dist/cdn/{YBYPXRZ4.js → 5PRLPTRW.js} +2 -2
- package/dist/cdn/{6A2YLWRH.js → 5RZDWUNB.js} +2 -2
- package/dist/cdn/{XHHTWE2A.js → 5VDB6TIH.js} +2 -2
- package/dist/cdn/{YN4G6JAG.js → 5WJ5V4IX.js} +2 -2
- package/dist/cdn/{WZWHYIY6.js → 5ZYJ2VSP.js} +1 -1
- package/dist/cdn/{AKP7UG5M.js → 6AV5K45L.js} +2 -2
- package/dist/cdn/{LI6UY3BW.js → 6H3VNM3T.js} +2 -2
- package/dist/cdn/{UONZCNUI.js → 6HNWXGC5.js} +2 -2
- package/dist/cdn/{I6ICK7T2.js → 6JYEYEXG.js} +1 -1
- package/dist/cdn/{UWJF44VS.js → 6LELULON.js} +2 -2
- package/dist/cdn/{DMV2AUFK.js → 6R4F753U.js} +2 -2
- package/dist/cdn/{NNTXZQRZ.js → 6RT7QBIX.js} +2 -2
- package/dist/cdn/{F3CTFVF3.js → 6RVI3KN6.js} +2 -2
- package/dist/cdn/{NLQWW2KP.js → 6U3GLCV5.js} +2 -2
- package/dist/cdn/{IXL7MCZO.js → 6ULBHUFQ.js} +2 -2
- package/dist/cdn/{LWTAHQMO.js → 6V5FGUIB.js} +2 -2
- package/dist/cdn/{2WUZ5AWP.js → 6WJWGSXC.js} +2 -2
- package/dist/cdn/{S62BKUL2.js → 7FJRVBGP.js} +1 -1
- package/dist/cdn/{JFHBX5VG.js → 7LGFCTX3.js} +2 -2
- package/dist/cdn/{I7NYLB6M.js → 7NHOJEHI.js} +2 -2
- package/dist/cdn/{I5CZOAWC.js → 7OU55YEA.js} +2 -2
- package/dist/cdn/{NJXLJG26.js → 7P66PGUF.js} +2 -2
- package/dist/cdn/{LTO6ZYWH.js → 7X5SLXLA.js} +1 -1
- package/dist/cdn/{L6KEE7CO.js → A4ZLMN7Q.js} +2 -2
- package/dist/cdn/{4P2UVZOP.js → A6TYYYID.js} +2 -2
- package/dist/cdn/{JMOWBDNJ.js → AC3JRDHQ.js} +1 -1
- package/dist/cdn/{T3MQFEWY.js → ACW2OVTF.js} +2 -2
- package/dist/cdn/{W7I6VIPW.js → AGQJSJZ6.js} +2 -2
- package/dist/cdn/{5MLYUIJV.js → AJ5TQ2XO.js} +2 -2
- package/dist/cdn/{I7OLLWYU.js → ANYOMCB4.js} +2 -2
- package/dist/cdn/{IUNSTTVD.js → APYBTZVY.js} +2 -2
- package/dist/cdn/{RQNPHKAR.js → AWYPVGZI.js} +2 -2
- package/dist/cdn/{EW77BRVK.js → B5656UZM.js} +1 -1
- package/dist/cdn/{FCEPATIT.js → B62DQMTH.js} +2 -2
- package/dist/cdn/{WPDIZJFV.js → BEPNL6PV.js} +2 -2
- package/dist/cdn/{OMTBC3UI.js → BFZ2ZSPL.js} +2 -2
- package/dist/cdn/{BXE4FJZI.js → BIBOSWS5.js} +2 -2
- package/dist/cdn/{2IE4DIB2.js → BLQOF73O.js} +4 -4
- package/dist/cdn/{XP5L3PQ7.js → BM3ASCKM.js} +2 -2
- package/dist/cdn/{T6IO3EIO.js → BPDB6S3N.js} +2 -2
- package/dist/cdn/{ZKDDBMF4.js → C5U6PXBX.js} +2 -2
- package/dist/cdn/{EX2HZYXJ.js → C6VBDWCB.js} +2 -2
- package/dist/cdn/{NIRDZTE6.js → CDAVHEDS.js} +2 -2
- package/dist/cdn/{R4MJXBDO.js → CDH2BWSM.js} +1 -1
- package/dist/cdn/{4KSWM4IU.js → CGMQH46R.js} +1 -1
- package/dist/cdn/{GB7MQFMY.js → CGO6IH6W.js} +2 -2
- package/dist/cdn/{5UEORPAW.js → CM3HICNA.js} +2 -2
- package/dist/cdn/{IIZYYA4Y.js → CRBAIK6Y.js} +2 -2
- package/dist/cdn/{MATQ5XDV.js → CRKC2554.js} +2 -2
- package/dist/cdn/{Z23B54QX.js → CSEVFSR6.js} +2 -2
- package/dist/cdn/{YJYMJBBE.js → CTZPBYI4.js} +2 -2
- package/dist/cdn/{DFMOUEOY.js → CU2YXAXI.js} +2 -2
- package/dist/cdn/{B4Y6PC7M.js → CW2AUEXS.js} +2 -2
- package/dist/cdn/{ZCHDFFZT.js → CXARJRJW.js} +2 -2
- package/dist/cdn/{KS5KSXZN.js → D6GBEYPP.js} +2 -2
- package/dist/cdn/{RFBX4UEA.js → DG3MOC4V.js} +2 -2
- package/dist/cdn/{2DGFIZ2I.js → DGLCFVWJ.js} +2 -2
- package/dist/cdn/{NVFUKPQC.js → DGO242IG.js} +2 -2
- package/dist/cdn/{FTQ25G6S.js → DHRGBT52.js} +2 -2
- package/dist/cdn/DJJSMVAG.js +4 -0
- package/dist/cdn/{4AYDOLMC.js → DLIMT3CJ.js} +2 -2
- package/dist/cdn/{7ND4XYZX.js → DNCV6XUT.js} +2 -2
- package/dist/cdn/{74VOYCCN.js → DQDD2XFC.js} +2 -2
- package/dist/cdn/{GYX34AVR.js → DR2EP6W7.js} +2 -2
- package/dist/cdn/{ZS5DDGRG.js → DSLYRWDQ.js} +2 -2
- package/dist/cdn/{N34QDFSE.js → DSVQY5TD.js} +2 -2
- package/dist/cdn/{XV6T6WXW.js → DV76UKPC.js} +2 -2
- package/dist/cdn/{GSLNNZC3.js → DVQ35EGO.js} +2 -2
- package/dist/cdn/{ELNAGE56.js → E766FGF6.js} +2 -2
- package/dist/cdn/{F43I52D6.js → E7AINO6O.js} +2 -2
- package/dist/cdn/{QQR6XRGE.js → EBBWLHRX.js} +2 -2
- package/dist/cdn/{CZD47EV7.js → EEBXDRCX.js} +1 -1
- package/dist/cdn/{XDCP7UKX.js → EIAFG3AD.js} +2 -2
- package/dist/cdn/{KCJXM2WD.js → EIE73HUW.js} +2 -2
- package/dist/cdn/{JNN7O65D.js → EP5FEFKR.js} +2 -2
- package/dist/cdn/EPJ5CBIN.js +4 -0
- package/dist/cdn/{TF735JBT.js → EQ5W3AGT.js} +2 -2
- package/dist/cdn/{6PE6EXBN.js → EQLUQAGJ.js} +2 -2
- package/dist/cdn/{UE3LQPYK.js → ETWNOEBP.js} +2 -2
- package/dist/cdn/{YGMKDCD5.js → EX3GBVKY.js} +2 -2
- package/dist/cdn/{2VKLD4IL.js → F3FESR3J.js} +2 -2
- package/dist/cdn/{CNRCMRFR.js → F4C7TZVX.js} +2 -2
- package/dist/cdn/{4PTHWJYE.js → F5YJGXYI.js} +2 -2
- package/dist/cdn/{BD7NNCQC.js → F6ZSV3BW.js} +2 -2
- package/dist/cdn/FAB6LC4V.js +4 -0
- package/dist/cdn/{BLNKUEHQ.js → FEQGA7TK.js} +1 -1
- package/dist/cdn/{JUW3C22A.js → FFINWD2G.js} +2 -2
- package/dist/cdn/{H2O2MNSM.js → FGXBNDHV.js} +3 -3
- package/dist/cdn/{CK4F52TP.js → FK242YDL.js} +2 -2
- package/dist/cdn/{NT4MLHOA.js → FMPO2HQW.js} +2 -2
- package/dist/cdn/{LZON5NIK.js → FMY2ZXZQ.js} +1 -1
- package/dist/cdn/{QDU3LTAL.js → FOLOJ7IO.js} +1 -1
- package/dist/cdn/{XLL3XQZK.js → FRBQEAUJ.js} +2 -2
- package/dist/cdn/{VKS462PY.js → FRER6P64.js} +2 -2
- package/dist/cdn/{TMC7ITEQ.js → FRXS4ADG.js} +2 -2
- package/dist/cdn/{YW3FYUGE.js → FZBCSBMU.js} +2 -2
- package/dist/cdn/{2U3DF6YZ.js → G5HI3KYV.js} +2 -2
- package/dist/cdn/{MDXTMYXB.js → G7YFTABN.js} +1 -1
- package/dist/cdn/{LK2M24LA.js → GGGZDT3A.js} +2 -2
- package/dist/cdn/{ICUPL3P5.js → GQLRUNP7.js} +2 -2
- package/dist/cdn/{BDMZ6MAE.js → GXBQZDY5.js} +2 -2
- package/dist/cdn/{VI4HY6R4.js → GYFM6PEE.js} +2 -2
- package/dist/cdn/{VBVNASGD.js → H2JARZIC.js} +2 -2
- package/dist/cdn/{YWAQR3AZ.js → H2VVCIGV.js} +2 -2
- package/dist/cdn/{JN3EG3ZT.js → H5BA36WL.js} +2 -2
- package/dist/cdn/{552IHKX7.js → H5WVSE4F.js} +2 -2
- package/dist/cdn/{IXFIDBVV.js → H7AQXTUV.js} +2 -2
- package/dist/cdn/{L7OVTNBC.js → HA5V6WRW.js} +2 -2
- package/dist/cdn/{OHVE5E6B.js → HAHA5KMI.js} +2 -2
- package/dist/cdn/{5R4OBI65.js → HD7Q2QSN.js} +2 -2
- package/dist/cdn/{TA2EK6T7.js → HMBSACIC.js} +2 -2
- package/dist/cdn/{JTQIHMUV.js → HS5WDWI4.js} +2 -2
- package/dist/cdn/{FYEINK5S.js → HSF6BG4Z.js} +2 -2
- package/dist/cdn/{2JLIN4A5.js → HVXXP7CO.js} +2 -2
- package/dist/cdn/{N7BF6BJU.js → I6FQWMYO.js} +2 -2
- package/dist/cdn/{GVD6DTFG.js → IA5OEJJ4.js} +2 -2
- package/dist/cdn/{4SZS6G6P.js → IB3DAYJ5.js} +2 -2
- package/dist/cdn/{6E3RVZJ4.js → IBCNNRBO.js} +1 -1
- package/dist/cdn/{AXOXQ3L7.js → IMIKQJ6E.js} +2 -2
- package/dist/cdn/{X2OE5IJ7.js → IRR3HAZY.js} +2 -2
- package/dist/cdn/{2AZCARTQ.js → IZHYGLE4.js} +2 -2
- package/dist/cdn/{6VB2IJI6.js → J3QWY3JM.js} +1 -1
- package/dist/cdn/{UWRYA7O5.js → J43KTNAH.js} +2 -2
- package/dist/cdn/{R4DMQKY5.js → J4P2OVDV.js} +2 -2
- package/dist/cdn/{IUFITMZP.js → JFUGGJ4B.js} +1 -1
- package/dist/cdn/{AAZAJXP2.js → JJ76AJAN.js} +2 -2
- package/dist/cdn/{JFD6YYKC.js → JJQ6FGUS.js} +2 -2
- package/dist/cdn/{ZXKECFB4.js → JSYLPYZU.js} +2 -2
- package/dist/cdn/{CNTUKHXQ.js → JV2C5AGX.js} +2 -2
- package/dist/cdn/{EP4UGUEJ.js → JW5GPWPC.js} +2 -2
- package/dist/cdn/{WXJSXARO.js → K7MHRUTS.js} +2 -2
- package/dist/cdn/{6YKBF3PU.js → K7QD6KYM.js} +2 -2
- package/dist/cdn/{JGSUEUPR.js → KCU74TXF.js} +2 -2
- package/dist/cdn/{5F5MRFGZ.js → KDBMC76J.js} +2 -2
- package/dist/cdn/{BWDUQNHO.js → KE4IWLGO.js} +2 -2
- package/dist/cdn/{EKV3AXY4.js → KHLFAVYM.js} +1 -1
- package/dist/cdn/{QGDM34WJ.js → KOPD7UNP.js} +2 -2
- package/dist/cdn/{44QLJBVZ.js → KRZLK3F4.js} +2 -2
- package/dist/cdn/{WO2PPITE.js → KUVN2IA6.js} +2 -2
- package/dist/cdn/{WDCL4ZKI.js → KZDLF5CN.js} +2 -2
- package/dist/cdn/{JJFAXRVR.js → L3AKT74R.js} +2 -2
- package/dist/cdn/{HHWLPZBQ.js → L5L747ZM.js} +1 -1
- package/dist/cdn/{V6YG4AUN.js → LC4QJOAB.js} +1 -1
- package/dist/cdn/{AAYPYRT2.js → LJ3WKMEW.js} +2 -2
- package/dist/cdn/{M6JYAAPC.js → LL7VDDFZ.js} +2 -2
- package/dist/cdn/{BKC4PUJC.js → LPUGC74P.js} +2 -2
- package/dist/cdn/{YVS3ZHMD.js → LVOUP5TL.js} +2 -2
- package/dist/cdn/{V22EOT5F.js → LWTGGSX4.js} +2 -2
- package/dist/cdn/{CYTHT4IX.js → LZNJXXLW.js} +1 -1
- package/dist/cdn/{QOY37WXW.js → M3VZPYZ4.js} +2 -2
- package/dist/cdn/{PN5SJVDO.js → MBPFVCEE.js} +2 -2
- package/dist/cdn/{TCCDGCGW.js → MEC4WXAJ.js} +2 -2
- package/dist/cdn/{JCOW7FQV.js → ML6DRQQI.js} +2 -2
- package/dist/cdn/{BAT23MAG.js → MM4627YF.js} +1 -1
- package/dist/cdn/{CVMBXKS3.js → MMVXQRLD.js} +2 -2
- package/dist/cdn/{FZ2AHQWZ.js → MNJEOD4T.js} +2 -2
- package/dist/cdn/{E54PKNPS.js → MOZSEMDB.js} +2 -2
- package/dist/cdn/{FCTVPKTW.js → MTFV244W.js} +2 -2
- package/dist/cdn/{OUTJXFMV.js → MTZKPNJW.js} +2 -2
- package/dist/cdn/{LVYJOWFJ.js → MXNQOBQW.js} +2 -2
- package/dist/cdn/{XYTLVBPS.js → MZ4ZK62W.js} +2 -2
- package/dist/cdn/{BMVUH4BD.js → N2SYGDSV.js} +2 -2
- package/dist/cdn/{JKI3NFEX.js → N5FGXZ6T.js} +2 -2
- package/dist/cdn/{ZRYDIP3B.js → N6RJSSZB.js} +2 -2
- package/dist/cdn/{PVUL25OE.js → NBK5KX5G.js} +2 -2
- package/dist/cdn/{A7MIYW46.js → NEAIJ5TO.js} +2 -2
- package/dist/cdn/{WCFKEAUZ.js → NFN5NMUD.js} +2 -2
- package/dist/cdn/{U7WE2Z7A.js → NHVW3QXI.js} +2 -2
- package/dist/cdn/{AXHOADYB.js → NJPX3KUC.js} +2 -2
- package/dist/cdn/{THKAOBGP.js → NMRQEFFB.js} +2 -2
- package/dist/cdn/{EMKALPKM.js → NOU4IK27.js} +2 -2
- package/dist/cdn/{LQRN2ZYE.js → NSKPNLSF.js} +2 -2
- package/dist/cdn/{2QTCOEHJ.js → NTAR4TRI.js} +2 -2
- package/dist/cdn/{TASKYDNG.js → NTO2INTB.js} +2 -2
- package/dist/cdn/{2DSW6XTR.js → NTZKCUB3.js} +2 -2
- package/dist/cdn/{BGVSICH4.js → NVWNTZ5A.js} +1 -1
- package/dist/cdn/{7CXOISFN.js → O2EYFDON.js} +1 -1
- package/dist/cdn/{LP4CKVU6.js → O4QG67LI.js} +2 -2
- package/dist/cdn/O5MDIFEZ.js +4 -0
- package/dist/cdn/{TSNRAO3A.js → OAURW4KF.js} +2 -2
- package/dist/cdn/{5XKCPGRG.js → OCD2U2P5.js} +2 -2
- package/dist/cdn/{RRIYSYSG.js → OCVPRXIB.js} +2 -2
- package/dist/cdn/{DLPWOS2S.js → ODTROJXK.js} +2 -2
- package/dist/cdn/{MUT7LU6P.js → OE7ZS3FN.js} +2 -2
- package/dist/cdn/{K3CKPBR4.js → OFH5S424.js} +1 -1
- package/dist/cdn/{SLJBKYCZ.js → OG36LYNE.js} +2 -2
- package/dist/cdn/{C5MINTS6.js → ONKHLFPQ.js} +2 -2
- package/dist/cdn/{XO2DRFBA.js → OO3V5H6P.js} +1 -1
- package/dist/cdn/{RM2LIIIT.js → OTKLNSRD.js} +2 -2
- package/dist/cdn/{NFUTJQ6G.js → OU7RANCG.js} +2 -2
- package/dist/cdn/{YBH23QNV.js → OYXUJV4G.js} +2 -2
- package/dist/cdn/{T2PBTRJS.js → OZ6RN5TB.js} +2 -2
- package/dist/cdn/{ORVXY4O3.js → OZT3O3AR.js} +2 -2
- package/dist/cdn/{B2SSZL6Z.js → P2IVEOQC.js} +2 -2
- package/dist/cdn/{OG3R45SQ.js → P3HSFZCN.js} +2 -2
- package/dist/cdn/{HMPAG3DM.js → P4VUE672.js} +2 -2
- package/dist/cdn/{7I3HYIAM.js → P56KUAR6.js} +2 -2
- package/dist/cdn/{X6OAQ3ZM.js → PDRG2WQQ.js} +2 -2
- package/dist/cdn/{RYLCCGYQ.js → PEZ2V43W.js} +1 -1
- package/dist/cdn/{VZVGIZK3.js → PF2ZKWGJ.js} +2 -2
- package/dist/cdn/{P3MAJXHM.js → PHQIUZVD.js} +2 -2
- package/dist/cdn/{RYNRXDG4.js → PIEGJKY2.js} +2 -2
- package/dist/cdn/{3Q7NXF5W.js → PJ5NUDMJ.js} +1 -1
- package/dist/cdn/{SBJECNAA.js → PQFSKABH.js} +2 -2
- package/dist/cdn/{LTO6H6S4.js → PZI2S66G.js} +2 -2
- package/dist/cdn/{7PFJ3YB2.js → Q25TGDLH.js} +2 -2
- package/dist/cdn/{Z27W4IIG.js → Q35WFU4Q.js} +2 -2
- package/dist/cdn/{4FXA7VKS.js → Q3RHQ7FZ.js} +2 -2
- package/dist/cdn/{JUOGVLUN.js → QAV6KHM2.js} +2 -2
- package/dist/cdn/{RMV2E5QX.js → QD5QG4UO.js} +1 -1
- package/dist/cdn/{43IN6KPS.js → QETJU5AS.js} +2 -2
- package/dist/cdn/{CDAD7BAI.js → QHTAZWLQ.js} +2 -2
- package/dist/cdn/{EH5HZMS6.js → QLWTDB7L.js} +2 -2
- package/dist/cdn/{TRVXTU3X.js → QMMI5AYA.js} +2 -2
- package/dist/cdn/{N7BBRC6U.js → R4FRD36C.js} +1 -1
- package/dist/cdn/{TFYB2NTT.js → R4UZROQ4.js} +2 -2
- package/dist/cdn/{4KNF77QE.js → R7XKVCQQ.js} +2 -2
- package/dist/cdn/{YHMXVXND.js → R7YYXWG7.js} +2 -2
- package/dist/cdn/{N2655EZT.js → RCJQHYB6.js} +2 -2
- package/dist/cdn/{F4X5QO7H.js → RDQ6HJNV.js} +2 -2
- package/dist/cdn/{GXRV7RM3.js → RGFN7ICB.js} +2 -2
- package/dist/cdn/{3SWFP7GE.js → RN2N36UH.js} +2 -2
- package/dist/cdn/{D6A7FOI5.js → RN6ASPLR.js} +2 -2
- package/dist/cdn/{5EBIVKX5.js → RNAE3SRQ.js} +2 -2
- package/dist/cdn/{OQJZEYEF.js → RUMT22RX.js} +2 -2
- package/dist/cdn/{NQWWWUFD.js → RWNOOJSY.js} +1 -1
- package/dist/cdn/{M3TQIYRO.js → RXXNEAEN.js} +2 -2
- package/dist/cdn/{TH3X3X2I.js → S3COAP4D.js} +2 -2
- package/dist/cdn/{MGTW76LA.js → SCD7XWJA.js} +2 -2
- package/dist/cdn/{JLFITN4X.js → SEYYZQDP.js} +2 -2
- package/dist/cdn/{L3D5DBDG.js → SJD32L6O.js} +2 -2
- package/dist/cdn/{F7NK2ZDC.js → SJTVMX2D.js} +2 -2
- package/dist/cdn/{UTWWI3OJ.js → SUGGLQNX.js} +2 -2
- package/dist/cdn/{MUBJP6SD.js → T34JSXPM.js} +2 -2
- package/dist/cdn/{QOLVMCBA.js → T4BF45VL.js} +1 -1
- package/dist/cdn/{2QXNMQKP.js → T5HWRYMF.js} +2 -2
- package/dist/cdn/{E2BU666U.js → TB2UDWZN.js} +2 -2
- package/dist/cdn/{FYQCB2K2.js → TJATDZ2J.js} +2 -2
- package/dist/cdn/{EHHDW5VC.js → TKCF6KI7.js} +2 -2
- package/dist/cdn/{ZM5H24GH.js → TNFLX3O4.js} +2 -2
- package/dist/cdn/{JOHYSRVH.js → TODXKPMC.js} +2 -2
- package/dist/cdn/{7O3U25RG.js → TOTZU4L6.js} +2 -2
- package/dist/cdn/{MNSINQHA.js → TS5X5LQV.js} +2 -2
- package/dist/cdn/{RF62BZRX.js → TV5LMDU2.js} +2 -2
- package/dist/cdn/{ZB2JHEUH.js → TZOOPRZV.js} +2 -2
- package/dist/cdn/{NJFED6J6.js → TZWSOZ3U.js} +2 -2
- package/dist/cdn/{CBHX4NKW.js → U4SPJKAK.js} +2 -2
- package/dist/cdn/{Z3H3C4GI.js → UCBSIRNY.js} +2 -2
- package/dist/cdn/{WC36YPV6.js → UCVSW3E2.js} +2 -2
- package/dist/cdn/{WIRDBZL6.js → UGL6SXAC.js} +2 -2
- package/dist/cdn/{ZGIPZ5JM.js → UR77OOPK.js} +2 -2
- package/dist/cdn/{SBY3SKOO.js → UXZ5EXMN.js} +2 -2
- package/dist/cdn/{HWIHOVWP.js → V2LDDPI2.js} +1 -1
- package/dist/cdn/{TAEUWCES.js → V2QIIKRG.js} +2 -2
- package/dist/cdn/{W3T35GGA.js → V3AUJGMQ.js} +1 -1
- package/dist/cdn/{IWXUAUTV.js → VDIJVIMA.js} +1 -1
- package/dist/cdn/VF4ZNF4J.js +4 -0
- package/dist/cdn/{NPYBNSXS.js → VGTJZ2TY.js} +2 -2
- package/dist/cdn/{BREEDTFR.js → VIVI2JT3.js} +2 -2
- package/dist/cdn/{ZMZFEE2N.js → VKEQYWIX.js} +2 -2
- package/dist/cdn/{Q7MFBOXJ.js → VKZPBOPS.js} +2 -2
- package/dist/cdn/{EE43NZUC.js → VNZ5JJ4A.js} +2 -2
- package/dist/cdn/{7C73YP73.js → VPW2TXOP.js} +2 -2
- package/dist/cdn/{GPJSSBQP.js → VSNWERSC.js} +2 -2
- package/dist/cdn/{47GF2SJ2.js → VT554TSV.js} +2 -2
- package/dist/cdn/{NH6ZOURV.js → VYXE55MD.js} +2 -2
- package/dist/cdn/{ACKJ6HLJ.js → VZT6CM2A.js} +2 -2
- package/dist/cdn/{LKLS7OZC.js → W4Q7LIFW.js} +2 -2
- package/dist/cdn/{DEYL3KKC.js → W5N2GMZV.js} +2 -2
- package/dist/cdn/{WNKXFWQB.js → WHYK5A34.js} +2 -2
- package/dist/cdn/{IZYSIC5H.js → WJD6OHPD.js} +2 -2
- package/dist/cdn/{RD5GHVVI.js → WNO7UAWB.js} +2 -2
- package/dist/cdn/{VJFYA5FL.js → WOKWY5GT.js} +2 -2
- package/dist/cdn/{Y6RANQUU.js → WOZDANIF.js} +2 -2
- package/dist/cdn/{ZQ4ZO3HK.js → WPIKIIIU.js} +2 -2
- package/dist/cdn/{ROGD6PQR.js → WSDYBUUJ.js} +2 -2
- package/dist/cdn/{I4KZ4IWL.js → WVXRS3KL.js} +1 -1
- package/dist/cdn/{S3DZVORH.js → WXDFVWQ4.js} +2 -2
- package/dist/cdn/{RIAK55ZE.js → X2NFA2TU.js} +2 -2
- package/dist/cdn/{FLBZR6QM.js → X3FM7B2T.js} +2 -2
- package/dist/cdn/{N3JFMD3Z.js → X3PN5CIR.js} +2 -2
- package/dist/cdn/{QXZRXM75.js → X5CV5TPX.js} +2 -2
- package/dist/cdn/{57TOCQVV.js → XGCWDR6O.js} +2 -2
- package/dist/cdn/{JN7MS6OE.js → XGR4ELEN.js} +2 -2
- package/dist/cdn/{ZHHO3JI4.js → XHGM7JLO.js} +2 -2
- package/dist/cdn/{RNNWRYA6.js → XKN63CTE.js} +2 -2
- package/dist/cdn/{DKWP73ZB.js → XML3AITH.js} +2 -2
- package/dist/cdn/{FDYYIPGA.js → XP5MJXHR.js} +2 -2
- package/dist/cdn/{LEK4SKDC.js → XV4FW3K5.js} +2 -2
- package/dist/cdn/{LQZH56WC.js → XXR2XZUC.js} +2 -2
- package/dist/cdn/{IT53LSQJ.js → Y6ZPA5SJ.js} +1 -1
- package/dist/cdn/YENOBA4Z.js +4 -0
- package/dist/cdn/{VEF3UNRW.js → YF55QH6F.js} +2 -2
- package/dist/cdn/{YWQ54Y2X.js → YHA3BGB7.js} +2 -2
- package/dist/cdn/{XXAXGA6T.js → YMAHWPK2.js} +2 -2
- package/dist/cdn/{LMYIKSSZ.js → YOIROMMO.js} +2 -2
- package/dist/cdn/{FSOQTW3R.js → YVJZFL4X.js} +2 -2
- package/dist/cdn/{ZSKHTLM5.js → Z4HDSEO7.js} +1 -1
- package/dist/cdn/{FZEGBYLU.js → ZBW6XK7P.js} +2 -2
- package/dist/cdn/ZCXMXDQ6.js +4 -0
- package/dist/cdn/{Y6AAHDG7.js → ZD6TXVNV.js} +2 -2
- package/dist/cdn/{N5GDMYKC.js → ZHWXR6EI.js} +2 -2
- package/dist/cdn/{KMRBYQO7.js → ZKVFE2V5.js} +2 -2
- 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 +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +2 -2
- 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.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/2D6HJBXC.js +0 -4
- package/dist/cdn/A2YPGMU7.js +0 -4
- package/dist/cdn/ILRFSKWK.js +0 -4
- package/dist/cdn/JAJO3XWS.js +0 -4
- package/dist/cdn/KFHQ56GV.js +0 -4
- package/dist/cdn/QULVZRVY.js +0 -4
- package/dist/cdn/R7HVAULO.js +0 -4
- package/dist/cdn/TTOD54DS.js +0 -4
|
@@ -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.20251007 */
|
|
4
|
-
import{f as C}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{f as C}from"./MXNQOBQW.js";import"./LZNJXXLW.js";import"./WVXRS3KL.js";import{b}from"./PEZ2V43W.js";import{b as g}from"./QLWTDB7L.js";import{C as d,D as p,E as m,h as u,i as r,o as h,r as _}from"./G7YFTABN.js";import"./VDIJVIMA.js";var F=u`@layer{/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2025 Esri
|
|
7
7
|
*
|
|
@@ -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.20251007 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
|
@@ -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.20251007 */
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a as u}from"./TV5LMDU2.js";import"./6HNWXGC5.js";import"./SEYYZQDP.js";import{b as f}from"./QLWTDB7L.js";import{C as n,D as r,E as m,G as d,H as b,h as c,i as a,o as p}from"./G7YFTABN.js";import"./VDIJVIMA.js";var g=c`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007 */
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import c from"./D6GBEYPP.js";import{a as x}from"./TJATDZ2J.js";import a from"./5PRLPTRW.js";import{a as T,c as P}from"./KHLFAVYM.js";import{b as u}from"./CM3HICNA.js";import{Vb as C,sa as S}from"./NTZKCUB3.js";import"./F4C7TZVX.js";import"./B5656UZM.js";import"./OU7RANCG.js";import"./R7XKVCQQ.js";import"./PZI2S66G.js";import"./LC4QJOAB.js";import"./CGMQH46R.js";import"./Q35WFU4Q.js";import"./EEBXDRCX.js";import"./NVWNTZ5A.js";import"./FEQGA7TK.js";import"./W4Q7LIFW.js";import"./AWYPVGZI.js";import"./GQLRUNP7.js";import"./OFH5S424.js";import"./R4FRD36C.js";import"./36GBDHPO.js";import"./FOLOJ7IO.js";import"./FMY2ZXZQ.js";import"./LZNJXXLW.js";import{a as $}from"./TV5LMDU2.js";import"./6HNWXGC5.js";import"./SEYYZQDP.js";import{b}from"./QLWTDB7L.js";import{C as y,D as p,E as w,G as h,h as g,i as d,l as D,o as m}from"./G7YFTABN.js";import"./VDIJVIMA.js";export default $arcgis.t(([,{b:v}])=>{var O=g`/** @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.20251007 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.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};
|
|
@@ -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.20251007 */
|
|
4
|
-
import{b as A}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{b as A}from"./BLQOF73O.js";import"./NTZKCUB3.js";import"./F4C7TZVX.js";import"./B5656UZM.js";import"./OU7RANCG.js";import"./R7XKVCQQ.js";import"./PZI2S66G.js";import"./LC4QJOAB.js";import"./CGMQH46R.js";import"./Q35WFU4Q.js";import"./EEBXDRCX.js";import"./NVWNTZ5A.js";import"./FEQGA7TK.js";import"./W4Q7LIFW.js";import"./AWYPVGZI.js";import"./GQLRUNP7.js";import"./OFH5S424.js";import"./R4FRD36C.js";import"./36GBDHPO.js";import"./FOLOJ7IO.js";import"./FMY2ZXZQ.js";import"./Y6ZPA5SJ.js";import{a as C}from"./RCJQHYB6.js";import"./V3AUJGMQ.js";import"./IRR3HAZY.js";import{c as F,d as O,j as m}from"./MXNQOBQW.js";import{j as b}from"./LZNJXXLW.js";import{c as S}from"./WVXRS3KL.js";import{b as x}from"./PEZ2V43W.js";import{a as E}from"./TV5LMDU2.js";import"./6HNWXGC5.js";import"./SEYYZQDP.js";import{b as v}from"./QLWTDB7L.js";import{C as u,D as g,E as T,G as f,h as w,i as o,l as c,o as _,r as I}from"./G7YFTABN.js";import"./VDIJVIMA.js";var H=w`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -15,4 +15,4 @@ import{b as A}from"./2IE4DIB2.js";import"./2DSW6XTR.js";import"./CNRCMRFR.js";im
|
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
16
|
* See the License for the specific language governing permissions and
|
|
17
17
|
* limitations under the License.
|
|
18
|
-
*/:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,y=class extends T{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.columnReorder=_(),this.featureSelectionChange=_(),this.toggleFilter=_(),this.showDelete=_(),this.relatedRecordToggled=_(),this.editMultipleFeatures=_(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._definitionExpression=this._layer.definitionExpression||"",this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{this._fetchingData=!1}}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async setColumnOrder(e){this._setColumnTemplates(e)}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,r=this.mapView.allLayerViews.toArray(),h;r.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(h=n,this.mapView&&await m([i],h,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",r=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${r&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${h=>void this._searchTextChanged(h)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),r=this._featuresEmpty(),h=this.featureSelectionMode==="single",n=this.enableCSV;if(this._relatedFeatureTable){let p=await this._queryRelatedFeatures();n=p&&Object.keys(p).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:r,toolTip:this._translations.selectAll}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:r,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),n&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:r,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,r,h){let n=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${r} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,h)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this._table?.viewModel.addHandles(this._table.on("column-reorder",this._handleColumnReorder.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}_handleColumnReorder(){this.columnReorder.emit()}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),r=this._table?.highlightIds.indexOf(l);r&&r<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let r=await this._queryRelatedFeatures(),h=[];r&&r[l]?.features&&(r[l].features.forEach(n=>{n.attributes&&h.push(n.attributes[e.objectIdField])}),i=h.length>0?h:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,r)=>{if(!r.hidden){let h=r?.name||r?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(r=>r.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await m(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(n=>n.id===e?(s=n,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(n=>n.fieldName));let r=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(n=>s?.fields&&s.fields.indexOf(n)>-1):l.length>0?l:void 0,h;return t&&(h=t.reduce((n,d)=>{let p={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&n.push(p):l.length>0?l.indexOf(d.name)>-1&&n.push(p):n.push(p),n},[])),h?r?h?.sort(this._sortFields.bind(this,r)):h:[]}updateRelatedAttachmentColumns(){let e;this.mapInfo?.layerOptions?.layers.some(h=>h.id===this._layer?.id?(e=h,!0):!1);let t=this.hasAttachmentsEnabled(this._layer),i=!0,s=e?.fieldOrder||[],a="attachments",l=(e.extraFields||[]).reduce((h,n)=>(n.startsWith("related:")?h.related.push(n.split("related:")[1]):h.extra.push(n),h),{related:[],extra:[]}),r=s.some(h=>h?.toLowerCase()===a||h?.name?.toLowerCase()===a)||l.extra.some(h=>h.toLowerCase()===a);l&&(t=!!(r&&l.extra.some(h=>h.toLowerCase()===a)&&t),i=l.related.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!l.related.includes(h.effectiveLabel)),h.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")&&(h.hidden=!l.extra.some(n=>n.toLowerCase()===h.effectiveLabel.toLowerCase()))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};v("layer-table",y);export{y as LayerTable};
|
|
18
|
+
*/:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}}`,y=class extends T{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this._allIds=[],this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=E({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._definitionExpression="",this._deleteEnabled=!1,this._filterList=u(),this._floorExpression="",this._floorField="",this._floorFacility="",this._floorLevel="",this._floorSite="",this._layerExpressions=[],this._loaded=!1,this._shareNode=u(),this._toolbar=u(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=u(),this.columnReorder=_(),this.featureSelectionChange=_(),this.toggleFilter=_(),this.showDelete=_(),this.relatedRecordToggled=_(),this.editMultipleFeatures=_(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),C(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,_allIds:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=H}static{this.shadowRootOptions=I}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._enabledLayerIds=this.mapInfo?.layerOptions?.layers.map(e=>e.id)||[],this._table&&(this._resetColumnTemplates(),this._sortTable())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._definitionExpression=this._layer.definitionExpression||"",this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{this._fetchingData=!1}}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async setColumnOrder(e){this._setColumnTemplates(e)}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,r=this.mapView.allLayerViews.toArray(),h;r.some(async n=>n.layer.title===l?.title&&n.layer.type==="feature"?(h=n,this.mapView&&await m([i],h,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._floorFacility=e.detail,this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._floorSite=e.detail,this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}async load(){await this._initModules(),await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",r=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${f(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${r&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${h=>void this._searchTextChanged(h)} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??c} type=search ${g(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${f(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${f(e)} ${g(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _initModules(){let[e,t,i,s]=await x(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate","esri/rest/support/RelationshipQuery"]);this.FeatureTable=e,this.reactiveUtils=t,this.TableTemplate=i,this.RelationshipQuery=s}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??c}><map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table;return o`<div class="display-flex" slot=${e??c}><field-selection .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??c} ${g(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??c} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>b:e<1,i.toolTip=i.icon==="pencil"?e>b?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>b,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),r=this._featuresEmpty(),h=this.featureSelectionMode==="single",n=this.enableCSV;if(this._relatedFeatureTable){let p=await this._queryRelatedFeatures();n=p&&Object.keys(p).length>0}let d=[];l&&d.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&d.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e,toolTip:this._translations.zoom}),i&&d.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this._deleteEnabled&&d.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),d.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>void this.clearSelection(),disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||d.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:r,toolTip:this._translations.selectAll}),!h&&!this._relatedFeatureTable&&d.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:r,toolTip:this._translations.switchSelected}),d.push({active:!1,icon:"refresh",indicator:!1,func:()=>void this._refresh(),label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),n&&d.push({active:!1,icon:"export",indicator:!1,func:()=>void this._exportToCSV(),label:this._translations.exportCSV,loading:this._csvExporting,disabled:r,toolTip:this._translations.exportCSV}),this._toolInfos=[...d]}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,r,h){let n=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} appearance=solid .disabled=${n} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${r} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,h)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??c}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${g(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??c}>${o`<calcite-action appearance=solid .disabled=${a} .id=${`layer-table-${e}`} @click=${i} text><calcite-icon class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=this.FeatureTable&&new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this._table?.viewModel.addHandles(this._table.on("column-reorder",this._handleColumnReorder.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this.reactiveUtils&&this._table?.viewModel.addHandles(this.reactiveUtils.watch(()=>this._table.size,i=>{this._size=i})),this.reactiveUtils?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}_handleColumnReorder(){this.columnReorder.emit()}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=this.TableTemplate&&new this.TableTemplate({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await this.reactiveUtils?.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)})}catch(e){console.log(e)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await S(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),r=this._table?.highlightIds.indexOf(l);r&&r<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}else await this.clearSelection()}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let r=await this._queryRelatedFeatures(),h=[];r&&r[l]?.features&&(r[l].features.forEach(n=>{n.attributes&&h.push(n.attributes[e.objectIdField])}),i=h.length>0?h:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,r)=>{if(!r.hidden){let h=r?.name||r?.fieldName;h&&l.push(h.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await A(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(r=>r.id===l.id)),a=this.RelationshipQuery&&new this.RelationshipQuery({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await m(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await O(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await F(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s;this.mapInfo?.layerOptions?.layers.some(n=>n.id===e?(s=n,!0):!1);let a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(n=>n.fieldName));let r=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(n=>s?.fields&&s.fields.indexOf(n)>-1):l.length>0?l:void 0,h;return t&&(h=t.reduce((n,d)=>{let p={type:"field",fieldName:d.name,label:this.getFieldLabel(d,i),menuConfig:this._getMenuConfig(d.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(d.name)>-1&&n.push(p):l.length>0?l.indexOf(d.name)>-1&&n.push(p):n.push(p),n},[])),h?r?h?.sort(this._sortFields.bind(this,r)):h:[]}updateRelatedAttachmentColumns(){let e;this.mapInfo?.layerOptions?.layers.some(h=>h.id===this._layer?.id?(e=h,!0):!1);let t=this.hasAttachmentsEnabled(this._layer),i=!0,s=e?.fieldOrder||[],a="attachments",l=(e?.extraFields||[]).reduce((h,n)=>(n.startsWith("related:")?h.related.push(n.split("related:")[1]):h.extra.push(n),h),{related:[],extra:[]}),r=s.some(h=>h?.toLowerCase&&h.toLowerCase()===a||h?.name?.toLowerCase()===a)||l.extra.some(h=>h.toLowerCase()===a);l&&(t=!!(r&&l.extra.some(h=>h.toLowerCase()===a)&&t),i=l.related.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!l.related.includes(h.effectiveLabel)),h.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")&&(h.hidden=!l.extra.some(n=>n.toLowerCase()===h.effectiveLabel.toLowerCase()))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};v("layer-table",y);export{y as LayerTable};
|
|
@@ -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.20251007 */
|
|
4
|
-
import{a as x}from"./HHWLPZBQ.js";import{a as h}from"./W3T35GGA.js";import{b as m}from"./X2OE5IJ7.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./MDXTMYXB.js";import"./IWXUAUTV.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a as x}from"./L5L747ZM.js";import{a as h}from"./V3AUJGMQ.js";import{b as m}from"./IRR3HAZY.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./G7YFTABN.js";import"./VDIJVIMA.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
|
|
@@ -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.20251007 */
|
|
4
|
-
import{a as y}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a as y}from"./MMVXQRLD.js";import"./Q35WFU4Q.js";import"./EEBXDRCX.js";import"./NVWNTZ5A.js";import"./FEQGA7TK.js";import{a as s,b as p}from"./2T2E2UMS.js";import"./3QPQ6XPF.js";import"./W4Q7LIFW.js";import"./AWYPVGZI.js";import{a as n}from"./IB3DAYJ5.js";import{a}from"./PIEGJKY2.js";import"./GQLRUNP7.js";import"./OFH5S424.js";import"./R4FRD36C.js";import"./36GBDHPO.js";import"./FOLOJ7IO.js";import{a as l}from"./NHVW3QXI.js";import"./LJ3WKMEW.js";import"./AC3JRDHQ.js";import"./3MQ6ZRZE.js";import{a as t,b as r}from"./JFUGGJ4B.js";import"./3MYJ6LVY.js";import"./2OSMNGF7.js";import"./FMY2ZXZQ.js";import"./TODXKPMC.js";import"./NOU4IK27.js";import"./3K2VHCK6.js";import"./4FCQ5LMD.js";import"./TZOOPRZV.js";import"./BPDB6S3N.js";import"./5OM5KDQB.js";import"./UXZ5EXMN.js";import"./NSKPNLSF.js";import"./IZHYGLE4.js";import"./FRXS4ADG.js";import"./HD7Q2QSN.js";import"./O2EYFDON.js";import"./V2LDDPI2.js";import"./3B4AI2RC.js";import"./VDIJVIMA.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{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"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.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 a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R 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.20251007 */
|
|
4
|
-
import b from"./GB7MQFMY.js";import{a as $,b as k,e as B,f as U}from"./47GF2SJ2.js";import a from"./FV7PDAAZ.js";import{a as T}from"./WC36YPV6.js";import{a as _}from"./Y6AAHDG7.js";import{a as L}from"./WCFKEAUZ.js";import{C as D}from"./ZSKHTLM5.js";import{b as w}from"./X2OE5IJ7.js";import"./UONZCNUI.js";import"./JLFITN4X.js";import{E as C,G as r,h as S,i as n,o as I}from"./MDXTMYXB.js";import"./IWXUAUTV.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.20251007.2 */
|
|
4
|
+
import b from"./CGO6IH6W.js";import{a as $,b as k,e as B,f as U}from"./VT554TSV.js";import a from"./4G5K63OS.js";import{a as T}from"./UCVSW3E2.js";import{a as _}from"./ZD6TXVNV.js";import{a as L}from"./NFN5NMUD.js";import{C as D}from"./Z4HDSEO7.js";import{b as w}from"./IRR3HAZY.js";import"./6HNWXGC5.js";import"./SEYYZQDP.js";import{E as C,G as r,h as S,i as n,o as I}from"./G7YFTABN.js";import"./VDIJVIMA.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.20251007 */
|
|
4
|
-
import"./IWXUAUTV.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var e="\u0E04\u0E38\u0E13\u0E21\u0E35\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E44\u0E21\u0E48\u0E1E\u0E2D\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E23\u0E30\u0E1A\u0E1A ArcGIS System \u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E02\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E0A\u0E48\u0E27\u0E22\u0E40\u0E2B\u0E25\u0E37\u0E2D",a="\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49\u0E16\u0E39\u0E01\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E08\u0E32\u0E01 Notebook \u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07 ArcGIS Notebooks \u0E16\u0E39\u0E01\u0E1A\u0E25\u0E47\u0E2D\u0E01\u0E44\u0E27\u0E49\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13 \u0E15\u0E34\u0E14\u0E15\u0E48\u0E2D\u0E1C\u0E39\u0E49\u0E14\u0E39\u0E41\u0E25\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E1B\u0E23\u0E31\u0E1A\u0E41\u0E15\u0E48\u0E07\u0E01\u0E32\u0E23\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32",r="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E21\u0E35 ${ additionalProperty }",t="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E02\u0E2D\u0E07\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ schemaOptions }",o="\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1C\u0E19\u0E17\u0E35\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",s="\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E32\u0E13\u0E01\u0E32\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15\u0E43\u0E2B\u0E21\u0E48\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",i="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C",l="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E17\u0E48\u0E32\u0E01\u0E31\u0E1A\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19\u0E04\u0E48\u0E32\u0E17\u0E35\u0E48\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49: ${ allowedValues }",d="\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08",n="\u0E17\u0E35\u0E48\u0E08\u0E31\u0E14\u0E40\u0E01\u0E47\u0E1A\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E40\u0E15\u0E47\u0E21 \u0E25\u0E1A\u0E1A\u0E32\u0E07\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E2D\u0E2D\u0E01\u0E08\u0E32\u0E01\u0E1B\u0E23\u0E30\u0E27\u0E31\u0E15\u0E34\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C \u0E41\u0E25\u0E49\u0E27\u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",c="\u0E0A\u0E37\u0E48\u0E2D\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49",m="\u0E01\u0E32\u0E23\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1F\u0E35\u0E40\u0E08\u0E2D\u0E23\u0E4C\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E44\u0E21\u0E48\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C",u="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E23\u0E31\u0E1A\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34\u0E17\u0E35\u0E48\u0E2A\u0E33\u0E04\u0E31\u0E0D",E="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",h="\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19",y="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",P="\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E02\u0E36\u0E49\u0E19\u0E02\u0E13\u0E30\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07 \u0E25\u0E2D\u0E07\u0E1A\u0E31\u0E19\u0E17\u0E36\u0E01\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",p="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E44\u0E21\u0E48\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",S="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E04\u0E27\u0E32\u0E21\u0E22\u0E32\u0E27\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32 ${ limit } \u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30",$="\u0E42\u0E2B\u0E25\u0E14\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E44\u0E21\u0E48\u0E2A\u0E33\u0E40\u0E23\u0E47\u0E08 \u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E43\u0E2B\u0E49\u0E41\u0E19\u0E48\u0E43\u0E08\u0E41\u0E27\u0E48\u0E32\u0E21\u0E35\u0E41\u0E1A\u0E1A\u0E08\u0E33\u0E25\u0E2D\u0E07\u0E2D\u0E22\u0E39\u0E48 \u0E41\u0E25\u0E30\u0E2D\u0E19\u0E38\u0E21\u0E31\u0E15\u0E34\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E41\u0E25\u0E49\u0E27",v="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E15\u0E32\u0E21\u0E04\u0E33\u0E02\u0E2D",f="\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E21\u0E35\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E19\u0E35\u0E49 <calcite-link target='_blank' href='${ docLink }'>\u0E40\u0E23\u0E35\u0E22\u0E19\u0E23\u0E39\u0E49\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</calcite-link>",k="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E40\u0E02\u0E49\u0E32\u0E2A\u0E39\u0E48\u0E23\u0E30\u0E1A\u0E1A\u0E1E\u0E2D\u0E23\u0E4C\u0E17\u0E31\u0E25",F="\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2D\u0E48\u0E32\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E2D\u0E34\u0E19\u0E1E\u0E38\u0E17",I="${ dataPath } \u0E44\u0E21\u0E48\u0E21\u0E35\u0E0A\u0E37\u0E48\u0E2D\u0E04\u0E38\u0E13\u0E2A\u0E21\u0E1A\u0E31\u0E15\u0E34 ${ missingProperty }",T="\u0E21\u0E35\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E19\u0E35\u0E49\u0E2D\u0E22\u0E39\u0E48\u0E41\u0E25\u0E49\u0E27 \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E31\u0E49\u0E07\u0E0A\u0E37\u0E48\u0E2D\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E44\u0E21\u0E48\u0E0B\u0E49\u0E33\u0E01\u0E31\u0E19\u0E20\u0E32\u0E22\u0E43\u0E19\u0E2D\u0E07\u0E04\u0E4C\u0E01\u0E23 \u0E42\u0E1B\u0E23\u0E14\u0E43\u0E0A\u0E49\u0E0A\u0E37\u0E48\u0E2D\u0E2D\u0E37\u0E48\u0E19",b="\u0E0A\u0E37\u0E48\u0E2D\u0E40\u0E2D\u0E32\u0E17\u0E4C\u0E1E\u0E38\u0E17\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 <a href='${docLink}' target='_blank'>\u0E28\u0E36\u0E01\u0E29\u0E32\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21</a>",L="\u0E01\u0E32\u0E23\u0E40\u0E1C\u0E22\u0E41\u0E1E\u0E23\u0E48\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E0A\u0E31\u0E48\u0E27\u0E04\u0E23\u0E32\u0E27\u0E40\u0E1B\u0E47\u0E19\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E42\u0E2E\u0E2A\u0E15\u0E4C\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E19\u0E37\u0E48\u0E2D\u0E07\u0E08\u0E32\u0E01\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49 \u0E23\u0E31\u0E19\u0E40\u0E04\u0E23\u0E37\u0E48\u0E2D\u0E07\u0E21\u0E37\u0E2D\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E0A\u0E31\u0E49\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E14\u0E49\u0E27\u0E22\u0E1F\u0E34\u0E25\u0E14\u0E4C\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E44\u0E14\u0E49",N="\u0E01\u0E32\u0E23\u0E2A\u0E48\u0E07\u0E07\u0E32\u0E19\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27 \u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E25\u0E07 \u0E41\u0E01\u0E49\u0E44\u0E02\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14 \u0E41\u0E25\u0E49\u0E27\u0E23\u0E31\u0E19\u0E01\u0E32\u0E23\u0E27\u0E34\u0E40\u0E04\u0E23\u0E32\u0E30\u0E2B\u0E4C\u0E2D\u0E35\u0E01\u0E04\u0E23\u0E31\u0E49\u0E07",g="${ dataPath } \u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E2D\u0E31\u0E01\u0E02\u0E23\u0E30\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E44\u0E27\u0E17\u0E4C\u0E2A\u0E40\u0E1B\u0E0B",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -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.20251007 */
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.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};
|
|
@@ -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.20251007 */
|
|
4
|
-
import{b as t,c as e}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{b as t,c as e}from"./FMY2ZXZQ.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
|