@arcgis/map-components 5.1.12 → 5.1.14
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/{IC7QBCEN.js → 263YFJON.js} +1 -1
- package/dist/cdn/{GSR6DAEH.js → 2BSYQIUD.js} +1 -1
- package/dist/cdn/{ZTJDI77G.js → 2CHIRS7R.js} +1 -1
- package/dist/cdn/{VHJFIH6B.js → 2TTUEPU6.js} +1 -1
- package/dist/cdn/{E3ZJARAG.js → 2VT3XHDZ.js} +1 -1
- package/dist/cdn/{7VQ7PPO6.js → 33CG5H7C.js} +1 -1
- package/dist/cdn/{5SAJ5N3K.js → 33MLO6HZ.js} +1 -1
- package/dist/cdn/{62DGGJSJ.js → 3AD2QLBV.js} +1 -1
- package/dist/cdn/{LPW5NLMK.js → 3G6GDNNS.js} +1 -1
- package/dist/cdn/{LWLT7F7T.js → 3IEHC2XT.js} +1 -1
- package/dist/cdn/{MRXL7UQE.js → 3O5N52AF.js} +1 -1
- package/dist/cdn/{5E6WEUZS.js → 3UF42S5R.js} +1 -1
- package/dist/cdn/{64WCWB6L.js → 3VG2GTPE.js} +1 -1
- package/dist/cdn/{6QZ6BFJF.js → 3YP4OBTW.js} +1 -1
- package/dist/cdn/{FYU6HRXD.js → 46OV33PJ.js} +1 -1
- package/dist/cdn/{54JKM2SP.js → 4ILRPL5K.js} +1 -1
- package/dist/cdn/{XJLN46ZU.js → 4LCX5W55.js} +1 -1
- package/dist/cdn/{DO5SU7RQ.js → 4OGP46VD.js} +1 -1
- package/dist/cdn/4UCGWBBJ.js +2 -0
- package/dist/cdn/{JS57JPF7.js → 4ZGUUAZT.js} +1 -1
- package/dist/cdn/{YNBI4ACL.js → 4ZKWXSFX.js} +1 -1
- package/dist/cdn/{ZKLOZZO4.js → 4ZSVAJG7.js} +1 -1
- package/dist/cdn/{23G2QHGI.js → 52JYBK63.js} +1 -1
- package/dist/cdn/{JUIHFZKI.js → 5HUHOP2L.js} +1 -1
- package/dist/cdn/{XE2BMXH2.js → 5NJVMZW6.js} +1 -1
- package/dist/cdn/{JM7KKZ3L.js → 637GG3UM.js} +1 -1
- package/dist/cdn/{3GDZFGPS.js → 64JVP23D.js} +1 -1
- package/dist/cdn/{KAZMXPF2.js → 65IHTCGK.js} +1 -1
- package/dist/cdn/{GMX2SUY4.js → 6AMFFIZE.js} +1 -1
- package/dist/cdn/{RQRYY7IA.js → 6OPJ43YP.js} +1 -1
- package/dist/cdn/{WTLIDLDO.js → 6SVZCB53.js} +1 -1
- package/dist/cdn/{QO5AN2QF.js → 6T7TN5OD.js} +1 -1
- package/dist/cdn/{CTD7KFQH.js → 6V64BA4N.js} +1 -1
- package/dist/cdn/{VQ3GFS2N.js → 6VSHFN2A.js} +1 -1
- package/dist/cdn/{KZWO4GTG.js → 6WEWUI54.js} +1 -1
- package/dist/cdn/{Z45SSEG5.js → 6WQ2YOES.js} +1 -1
- package/dist/cdn/{O6QWOJAN.js → 6ZLEP3S2.js} +1 -1
- package/dist/cdn/{XK24NE7B.js → 72YHC52Q.js} +1 -1
- package/dist/cdn/763BKYKB.js +2 -0
- package/dist/cdn/{MDX352VB.js → 7JUBBXUN.js} +1 -1
- package/dist/cdn/{UKVPLO2U.js → 7OL3J2CJ.js} +1 -1
- package/dist/cdn/{YQL4EKBA.js → 7T36JHQQ.js} +1 -1
- package/dist/cdn/{2ZY3UBMT.js → 7Y2OQMKS.js} +1 -1
- package/dist/cdn/{JNEBV2PN.js → 7YZY4R5N.js} +1 -1
- package/dist/cdn/{2IKH7J2G.js → A2RFHWNU.js} +1 -1
- package/dist/cdn/{ATYAZXLD.js → A5MJNKQK.js} +1 -1
- package/dist/cdn/{OPBCQ6ZV.js → AIGUCGRH.js} +1 -1
- package/dist/cdn/{WROHYOXG.js → AJULQPDX.js} +1 -1
- package/dist/cdn/{W4NXPRWC.js → AMCFDUSL.js} +1 -1
- package/dist/cdn/{JZBG7ET2.js → AWJ752O2.js} +1 -1
- package/dist/cdn/{XXUBEH6X.js → AXN7C4WE.js} +1 -1
- package/dist/cdn/{AT5OYMYC.js → B7QDTWUC.js} +1 -1
- package/dist/cdn/BISCP5KM.js +2 -0
- package/dist/cdn/BJK2QZNJ.js +2 -0
- package/dist/cdn/{LESULKCN.js → BP2VVHRQ.js} +1 -1
- package/dist/cdn/{TCAUKWPR.js → BSX3EKB5.js} +1 -1
- package/dist/cdn/{F2HSTAGA.js → BVKGMDZI.js} +1 -1
- package/dist/cdn/{Y3JVAC4P.js → CGH77JYY.js} +1 -1
- package/dist/cdn/{KYSF2KY3.js → CQAUNK6Z.js} +1 -1
- package/dist/cdn/{ZYAEUARP.js → CRZUPPWJ.js} +1 -1
- package/dist/cdn/{VKMHPV2D.js → CWI5SGGA.js} +1 -1
- package/dist/cdn/{MQL5SK3N.js → DFTDX4S5.js} +1 -1
- package/dist/cdn/{NMGYR4MQ.js → DHFW6D7R.js} +1 -1
- package/dist/cdn/{LT7XBPT5.js → DQ6KD3H5.js} +1 -1
- package/dist/cdn/{4TZ5743Q.js → DWN2PSNX.js} +1 -1
- package/dist/cdn/{G74I3AFT.js → E3IX5FMT.js} +1 -1
- package/dist/cdn/{UKMPJTCZ.js → EFEM2BM2.js} +1 -1
- package/dist/cdn/{RTNFS6XO.js → EYRYJJLU.js} +1 -1
- package/dist/cdn/{35HVGQH2.js → F4ZVVRF3.js} +1 -1
- package/dist/cdn/{73KS3YM5.js → FE32N27G.js} +1 -1
- package/dist/cdn/{JRIQGXS5.js → FFLJMBBT.js} +1 -1
- package/dist/cdn/FFXE4PLI.js +2 -0
- package/dist/cdn/{K7RXFBXO.js → FNW2LNXG.js} +1 -1
- package/dist/cdn/{ZYHKJMUS.js → FP2IMOR5.js} +1 -1
- package/dist/cdn/{HZFVK34O.js → FWKQQQZ4.js} +1 -1
- package/dist/cdn/{TRT3MMY6.js → G2UITNRJ.js} +1 -1
- package/dist/cdn/{ZI52NY4U.js → G4XU6Y2I.js} +1 -1
- package/dist/cdn/{RJFQN4V5.js → GBLURPST.js} +1 -1
- package/dist/cdn/{HFRXDFTO.js → GEZ4HISO.js} +1 -1
- package/dist/cdn/{DR6OYJX7.js → GY57HAQL.js} +1 -1
- package/dist/cdn/{IYHI67W5.js → HLRGCJQK.js} +1 -1
- package/dist/cdn/{UQDLYAO4.js → HPM7GOKD.js} +1 -1
- package/dist/cdn/{NUPAD2TJ.js → HRJBTB3A.js} +1 -1
- package/dist/cdn/{Q5YCY47Y.js → HV5OT2WQ.js} +1 -1
- package/dist/cdn/{REWX7P5A.js → I2FOPUAT.js} +1 -1
- package/dist/cdn/{5Z2A3LC2.js → I5APJRWA.js} +1 -1
- package/dist/cdn/{2B5FB7DY.js → IATBANBS.js} +1 -1
- package/dist/cdn/{JACMQG5Q.js → IBRE6OJT.js} +1 -1
- package/dist/cdn/{5LYKSVNG.js → IDGVAWFK.js} +1 -1
- package/dist/cdn/{UJHXLN6P.js → IKAZRGHO.js} +1 -1
- package/dist/cdn/{LR7ADCJT.js → IKBW64YY.js} +1 -1
- package/dist/cdn/{7ZX4GK42.js → INKUXJGH.js} +1 -1
- package/dist/cdn/{LEDHJNB2.js → IOAWHWKX.js} +1 -1
- package/dist/cdn/{ITAO2BRD.js → IOP3BH5U.js} +1 -1
- package/dist/cdn/{TIBAX4EQ.js → IR5IJRDW.js} +1 -1
- package/dist/cdn/{5ZUN2CZ2.js → IVJHY6DG.js} +1 -1
- package/dist/cdn/{GNHHGO7D.js → IVMUJ5QY.js} +1 -1
- package/dist/cdn/{CAQYU7WH.js → IZIJ2TWG.js} +1 -1
- package/dist/cdn/{WUJCCZQC.js → J4CQT4XJ.js} +1 -1
- package/dist/cdn/{N2EZFHVK.js → JIQ3VOXT.js} +1 -1
- package/dist/cdn/{PTQS5GCD.js → JJRZTJ2N.js} +1 -1
- package/dist/cdn/{BRPZD5TP.js → JQXT73ST.js} +1 -1
- package/dist/cdn/{UITQ2P2L.js → JU5Q6YOK.js} +1 -1
- package/dist/cdn/{6ZGXP3VD.js → JVCDOIAV.js} +1 -1
- package/dist/cdn/{AKBXFBDL.js → K2AR3ZWH.js} +1 -1
- package/dist/cdn/{XVWQS4YE.js → KVXWW7NR.js} +1 -1
- package/dist/cdn/{FO7H52HZ.js → KXUQ7IFJ.js} +1 -1
- package/dist/cdn/KZ5KHMPM.js +2 -0
- package/dist/cdn/{ASG4JKOF.js → L4JUVRCC.js} +1 -1
- package/dist/cdn/L72DGSDE.js +2 -0
- package/dist/cdn/{I47TNNJX.js → LBBRI5WI.js} +1 -1
- package/dist/cdn/{LMBRORN7.js → LH3XMT6P.js} +1 -1
- package/dist/cdn/{3U2O5HXW.js → LPJZLQFN.js} +1 -1
- package/dist/cdn/{XFLMR4H5.js → LRUNCVRV.js} +1 -1
- package/dist/cdn/{I3XNG2NA.js → LUYQT43T.js} +1 -1
- package/dist/cdn/{ZY4666IH.js → LWMUFAPA.js} +1 -1
- package/dist/cdn/{LGCFVXDE.js → MODR2MO6.js} +1 -1
- package/dist/cdn/{WCRC374T.js → MSURMAU4.js} +1 -1
- package/dist/cdn/{54PI2RSZ.js → MTPIRZU6.js} +1 -1
- package/dist/cdn/{WDQCTTJH.js → N5OKJYD4.js} +1 -1
- package/dist/cdn/{OBULUDWT.js → NC6RNDHJ.js} +1 -1
- package/dist/cdn/{ZBQI342U.js → NR42CD6T.js} +1 -1
- package/dist/cdn/{CTTH2SWY.js → NS4OOD6O.js} +1 -1
- package/dist/cdn/{ARCQFPPB.js → NW2X5VQ6.js} +1 -1
- package/dist/cdn/{XEDWA6IV.js → NYDPCTI5.js} +1 -1
- package/dist/cdn/{BSGI2GOR.js → O3VOZ7IE.js} +1 -1
- package/dist/cdn/{HKLVBDUE.js → O4A2CYNB.js} +1 -1
- package/dist/cdn/{RDZRQDZN.js → OOIFZLE6.js} +1 -1
- package/dist/cdn/{PSC26ODP.js → OPDTGB6V.js} +1 -1
- package/dist/cdn/{MNQQTGTF.js → OTAU7B2W.js} +1 -1
- package/dist/cdn/{VHPFFOHB.js → OUEZSU3X.js} +1 -1
- package/dist/cdn/{RS3KRMHM.js → OZUGC6PL.js} +1 -1
- package/dist/cdn/{7QIESZXF.js → P4A4NLX7.js} +1 -1
- package/dist/cdn/{NUYDG3QN.js → P57MZOYR.js} +1 -1
- package/dist/cdn/{7DBOQ3DL.js → PNH65HHR.js} +1 -1
- package/dist/cdn/{KKGPXC7O.js → PWVDFWJZ.js} +1 -1
- package/dist/cdn/{W5NM3GPN.js → PXK5I5GK.js} +1 -1
- package/dist/cdn/{OCFX5SIS.js → QNPQTXWT.js} +1 -1
- package/dist/cdn/{I4L5XCJ6.js → QPAYZYGG.js} +1 -1
- package/dist/cdn/{KA7BM2DQ.js → QRJYLUPS.js} +1 -1
- package/dist/cdn/{P6XHTDZS.js → QXMVE3YR.js} +1 -1
- package/dist/cdn/{FDTDB2SK.js → R324WT3P.js} +1 -1
- package/dist/cdn/{GGYOV36V.js → R5SMQBHS.js} +1 -1
- package/dist/cdn/{QVW7BY7U.js → RCIJGUAL.js} +1 -1
- package/dist/cdn/{7PBFPQ7D.js → RH7STCCI.js} +1 -1
- package/dist/cdn/{WIL4XDDC.js → RIDURE3V.js} +1 -1
- package/dist/cdn/{IGYVUIOX.js → RULE5Q7M.js} +1 -1
- package/dist/cdn/{6KBLJAJG.js → RV5L2GJF.js} +1 -1
- package/dist/cdn/{SI3LXGYQ.js → S7ZRZ7JV.js} +1 -1
- package/dist/cdn/{CLN2CAIE.js → SC7RUSRO.js} +1 -1
- package/dist/cdn/{ECFAMY7S.js → SGYDX3GW.js} +1 -1
- package/dist/cdn/{THUPJN5O.js → SMPD535H.js} +1 -1
- package/dist/cdn/{PCYYH2AE.js → SSWPLDIX.js} +1 -1
- package/dist/cdn/{SXKJ7CBR.js → SVMEMIZX.js} +1 -1
- package/dist/cdn/{FT372QJV.js → SY7QRF2R.js} +1 -1
- package/dist/cdn/{5JS2X2I5.js → TF6DAJN6.js} +1 -1
- package/dist/cdn/{3IHNDU57.js → TI2BIFVK.js} +1 -1
- package/dist/cdn/TXE4EZCP.js +2 -0
- package/dist/cdn/{2I4QRMW5.js → U2FK6JNY.js} +1 -1
- package/dist/cdn/{KWPLWPIR.js → U3T6WN6E.js} +1 -1
- package/dist/cdn/{3I6LCBWI.js → UK2RTORX.js} +1 -1
- package/dist/cdn/UOSYMNKL.js +2 -0
- package/dist/cdn/{S7PKZIR6.js → UQW7HBAM.js} +1 -1
- package/dist/cdn/{EQXOU3G5.js → UQZ55NYW.js} +1 -1
- package/dist/cdn/{AZXUEIKM.js → UTNVDNHJ.js} +1 -1
- package/dist/cdn/{LKOVDQTE.js → UVMRWPW4.js} +1 -1
- package/dist/cdn/{V4CDUOZ2.js → V4BRH6EY.js} +1 -1
- package/dist/cdn/{VWPY65P5.js → VAOCQOJ2.js} +1 -1
- package/dist/cdn/{27XIRKRY.js → VCRXOQ4U.js} +1 -1
- package/dist/cdn/{KS72PA52.js → VIG7RNK7.js} +1 -1
- package/dist/cdn/{Y56U7L2N.js → VL2FNAVU.js} +1 -1
- package/dist/cdn/{NI4KU7EV.js → VMA5E2P4.js} +1 -1
- package/dist/cdn/{YMRTLGRH.js → VSA43RRG.js} +1 -1
- package/dist/cdn/{7QMGMAI5.js → VSLHHDS3.js} +1 -1
- package/dist/cdn/{KPNDMZLT.js → VXSXZZER.js} +1 -1
- package/dist/cdn/{CPBHHB2H.js → W2NWI3BB.js} +1 -1
- package/dist/cdn/{W7E25TK3.js → W55TBGFF.js} +1 -1
- package/dist/cdn/{BEUXUBWU.js → W6KJBXUW.js} +1 -1
- package/dist/cdn/{PBSJQPB2.js → WD2JWNQF.js} +1 -1
- package/dist/cdn/{BMLGSXPO.js → WKJV35I2.js} +1 -1
- package/dist/cdn/{SP7GTULE.js → WOQMFJVS.js} +1 -1
- package/dist/cdn/{VI2MQT6I.js → WQZCO2AW.js} +1 -1
- package/dist/cdn/{T2URWU7Y.js → WRF6JOZU.js} +1 -1
- package/dist/cdn/{H7RT7JFO.js → WSJSANVQ.js} +1 -1
- package/dist/cdn/{B25YDY47.js → WSKLFUNL.js} +1 -1
- package/dist/cdn/{IGDB6PG7.js → WUBAEUK7.js} +1 -1
- package/dist/cdn/{WCBF7HSJ.js → WXATVC7S.js} +1 -1
- package/dist/cdn/{T62GJQDF.js → XHZTVEJS.js} +1 -1
- package/dist/cdn/{3SQ3GRSM.js → XIUSMCMN.js} +1 -1
- package/dist/cdn/{R7J4ZEYT.js → XJVZ74OX.js} +1 -1
- package/dist/cdn/{PTOTHDZO.js → XLYYPZM7.js} +1 -1
- package/dist/cdn/{ASQ6NGMX.js → XN3IDEBJ.js} +1 -1
- package/dist/cdn/XPR37NZ7.js +2 -0
- package/dist/cdn/{JY73T4W3.js → XSQEABFA.js} +1 -1
- package/dist/cdn/{Q52QESBE.js → XU4K7J6G.js} +1 -1
- package/dist/cdn/{3SS3VXYB.js → XUGFJ3CN.js} +1 -1
- package/dist/cdn/{IAXBU2H3.js → XXMSGN6N.js} +1 -1
- package/dist/cdn/{QIDC5FNQ.js → Y7CO5YHX.js} +1 -1
- package/dist/cdn/{PYRRBAVP.js → YDYRHRMM.js} +1 -1
- package/dist/cdn/{RBEV4F7R.js → YEVX7HKB.js} +1 -1
- package/dist/cdn/{H4RLDVQB.js → YI5I3CNE.js} +1 -1
- package/dist/cdn/{2EJTY32Y.js → YKXNMAT2.js} +1 -1
- package/dist/cdn/{SRPZQJKL.js → YP4O53GI.js} +1 -1
- package/dist/cdn/{UCMETI42.js → Z3Y7FRJO.js} +1 -1
- package/dist/cdn/{MRAVGKD4.js → ZBXYUXAE.js} +1 -1
- package/dist/cdn/{SR5R4UFG.js → ZCZEDLOP.js} +1 -1
- package/dist/cdn/{PTHJNBNE.js → ZDAARVMV.js} +1 -1
- package/dist/cdn/{TIWLWWH7.js → ZF2XR5RY.js} +1 -1
- package/dist/cdn/{4T52HX2Z.js → ZNFA2EZP.js} +1 -1
- package/dist/cdn/{IC2VEHWV.js → ZRLKTKBI.js} +1 -1
- package/dist/cdn/{3IFHD2MZ.js → ZV5OJT7V.js} +1 -1
- package/dist/cdn/{OAWV35F7.js → ZXVSXONX.js} +1 -1
- package/dist/cdn/{P3KYHTKB.js → ZYTLNPST.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +14 -7
- package/dist/components/arcgis-feature-expression/customElement.js +23 -23
- package/dist/components/arcgis-feature-next/customElement.js +48 -48
- package/dist/components/arcgis-feature-title/customElement.js +7 -6
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +9 -7
- package/dist/components/arcgis-multi-feature-form/customElement.js +98 -21
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/A42RMY44.js +0 -2
- package/dist/cdn/COE47SVB.js +0 -2
- package/dist/cdn/D7L4X6PO.js +0 -2
- package/dist/cdn/FJFLCQ5C.js +0 -2
- package/dist/cdn/GCHPTKLE.js +0 -2
- package/dist/cdn/IDMEUWEQ.js +0 -2
- package/dist/cdn/K5KSYYUU.js +0 -2
- package/dist/cdn/LAPNOGPV.js +0 -2
- package/dist/cdn/S4DL2YV2.js +0 -2
- package/dist/cdn/VPDEI7IK.js +0 -2
package/dist/loader.js
CHANGED
|
@@ -36,7 +36,7 @@ const s = t(e, {
|
|
|
36
36
|
"arcgis-feature-attachments": [() => import("./components/arcgis-feature-attachments/customElement.js"), "attachmentKeywords:,attachmentTypes:,description,displayType,graphic:,heading,headingLevel,hidePreviewImageAttachmentName,messages:,orderByFields:"],
|
|
37
37
|
"arcgis-feature-content": [() => import("./components/arcgis-feature-content/customElement.js"), "creator,destroyer:,graphic:"],
|
|
38
38
|
"arcgis-feature-element-info": [() => import("./components/arcgis-feature-element-info/customElement.js"), "description,heading,headingLevel"],
|
|
39
|
-
"arcgis-feature-expression": [() => import("./components/arcgis-feature-expression/customElement.js"), "expressionInfo:,fieldInfoMap:,graphic:,headingLevel,interceptor:,location:,map:,messages:,spatialReference:,values:,view:"],
|
|
39
|
+
"arcgis-feature-expression": [() => import("./components/arcgis-feature-expression/customElement.js"), "expressionInfo:,expressionInfos:,fieldInfoMap:,graphic:,headingLevel,interceptor:,layer:,location:,map:,messages:,spatialReference:,values:,view:"],
|
|
40
40
|
"arcgis-feature-fields": [() => import("./components/arcgis-feature-fields/customElement.js"), "description,expressionInfos:,fieldInfos:,graphic:,heading,headingLevel,isContentFieldInfos,layer:,messages:,values:"],
|
|
41
41
|
"arcgis-feature-form": [() => import("./components/arcgis-feature-form/customElement.js"), "autoDestroyDisabled,disabled,editType,feature:,formTemplate:,groupDisplay,headingLevel,hideReadOnlyNotice,icon,label,layer:,map:,referenceElement,state:,timeZone;destroy,getValues,submit"],
|
|
42
42
|
"arcgis-feature-media": [() => import("./components/arcgis-feature-media/customElement.js"), "activeMediaInfo:,activeMediaInfoIndex,chartAnimationDisabled,description,expressionValues:,fieldInfoMap:,formattedMediaInfoCount:,formattedMediaInfos:,formattedValues:,graphic:,heading,headingLevel,layer:,mediaInfos:,messages:,popupTemplate:,relatedInfos:,values:;;next,previous,setActiveMedia"],
|
|
@@ -88,7 +88,7 @@ const s = t(e, {
|
|
|
88
88
|
"arcgis-clipboard": [() => import("./components/arcgis-clipboard/customElement.js"), "_messages:,clipboard:,hideTooltips,maxShowCount,referenceElement,view:"],
|
|
89
89
|
"arcgis-feature-image": [() => import("./components/arcgis-feature-image/customElement.js"), "actualSymbol:,graphic:,heightInPixels,layer:,minWidth,tableSymbolIcon:,useTrueShape,widthInPixels"],
|
|
90
90
|
"arcgis-feature-title": [() => import("./components/arcgis-feature-title/customElement.js"), "_messages:,graphic:,isNewFeature,layer:,noTitleLabel"],
|
|
91
|
-
"arcgis-multi-feature-form": [() => import("./components/arcgis-multi-feature-form/customElement.js"), "activeFeatureIndex,autoDestroyDisabled,disabled,editType,features:,groupDisplay,hasTooManyComplexFeatures
|
|
91
|
+
"arcgis-multi-feature-form": [() => import("./components/arcgis-multi-feature-form/customElement.js"), "activeFeatureIndex,autoDestroyDisabled,disabled,editType,expressionEvaluationFailed:,features:,groupDisplay,hasTooManyComplexFeatures:,hasTooManyFeatures:,headingLevel,icon,invalidFeatures:,label,maximumFeatureCount,maximumFeatureCountWithComplexForms,position,readOnly,referenceElement,status:,submitHasBeenAttempted,timeZone,updating:,valid:,view:;destroy;getValues,goToFirstError,userChangesHaveMadeFeatureInvalid"],
|
|
92
92
|
"arcgis-popup": [() => import("./components/arcgis-popup/customElement.js"), "actions:,active:,alignment,autoCloseEnabled,autoDestroyDisabled,collapsed,content,currentAlignment:,currentDockPosition:,defaultPopupTemplateEnabled,dockEnabled,dockOptions:,effectiveHeading:,featureCount:,featureMenuOpen,featureMenuTitle,features:,focusTrapDisabled,goToOverride:,heading,headingLevel,hideActionBar,hideCloseButton,hideCollapseButton,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideHeading,hideSpinner,highlightDisabled,includeDefaultActionsDisabled,initialDisplayMode,label,location:,messageOverrides:,messages:,open,promises:,referenceElement,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,state:,topLayerDisabled,updateLocationEnabled,view:;clear,destroy,fetchFeatures,handleViewClick,next,previous,setFocus"],
|
|
93
93
|
"arcgis-presentation": [() => import("./components/arcgis-presentation/customElement.js"), "_messages:,autoDestroyDisabled,keyboardNavigationEnabled,scale,sliceAnalysisInteractive,slideCaptionsDisabled,slideId,slideLegendDisabled,slidePopupDisabled,view:;destroy"],
|
|
94
94
|
"arcgis-presentation-captions": [() => import("./components/arcgis-presentation-captions/customElement.js"), "autoDestroyDisabled,slide:,transitionActive;destroy"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -476,7 +476,7 @@ interface LuminaArcgisFeatureImage extends Partial<Pick<ArcgisFeatureImage, "act
|
|
|
476
476
|
interface LuminaArcgisFeatureTitle extends Partial<Pick<ArcgisFeatureTitle, "graphic" | "isNewFeature" | "layer" | "noTitleLabel">>, h.JSX.HTMLAttributes<ArcgisFeatureTitle> {
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
interface LuminaArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "
|
|
479
|
+
interface LuminaArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "headingLevel" | "label" | "maximumFeatureCount" | "maximumFeatureCountWithComplexForms" | "position" | "readOnly" | "referenceElement" | "submitHasBeenAttempted" | "timeZone" | "view">>, ArcgisMultiFeatureFormSetterTypes, h.JSX.HTMLAttributes<ArcgisMultiFeatureForm> {
|
|
480
480
|
onarcgisPropertyChange?: EventHandler<ArcgisMultiFeatureForm["arcgisPropertyChange"]>;
|
|
481
481
|
onarcgisReady?: EventHandler<ArcgisMultiFeatureForm["arcgisReady"]>;
|
|
482
482
|
onarcgisSubmit?: EventHandler<ArcgisMultiFeatureForm["arcgisSubmit"]>;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -477,7 +477,7 @@ interface PreactArcgisFeatureImage extends Partial<Pick<ArcgisFeatureImage, "act
|
|
|
477
477
|
interface PreactArcgisFeatureTitle extends Partial<Pick<ArcgisFeatureTitle, "graphic" | "isNewFeature" | "layer" | "noTitleLabel">>, HTMLAttributes<ArcgisFeatureTitle> {
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
interface PreactArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "
|
|
480
|
+
interface PreactArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "headingLevel" | "label" | "maximumFeatureCount" | "maximumFeatureCountWithComplexForms" | "position" | "readOnly" | "referenceElement" | "submitHasBeenAttempted" | "timeZone" | "view">>, ArcgisMultiFeatureFormSetterTypes, HTMLAttributes<ArcgisMultiFeatureForm> {
|
|
481
481
|
onarcgisPropertyChange?: EventHandler<ArcgisMultiFeatureForm["arcgisPropertyChange"]>;
|
|
482
482
|
onarcgisReady?: EventHandler<ArcgisMultiFeatureForm["arcgisReady"]>;
|
|
483
483
|
onarcgisSubmit?: EventHandler<ArcgisMultiFeatureForm["arcgisSubmit"]>;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -477,7 +477,7 @@ interface ReactArcgisFeatureImage extends Partial<Pick<ArcgisFeatureImage, "actu
|
|
|
477
477
|
interface ReactArcgisFeatureTitle extends Partial<Pick<ArcgisFeatureTitle, "graphic" | "isNewFeature" | "layer" | "noTitleLabel">>, HTMLProps<ArcgisFeatureTitle> {
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
interface ReactArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "
|
|
480
|
+
interface ReactArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "headingLevel" | "label" | "maximumFeatureCount" | "maximumFeatureCountWithComplexForms" | "position" | "readOnly" | "referenceElement" | "submitHasBeenAttempted" | "timeZone" | "view">>, ArcgisMultiFeatureFormSetterTypes, HTMLProps<ArcgisMultiFeatureForm> {
|
|
481
481
|
onarcgisPropertyChange?: EventHandler<ArcgisMultiFeatureForm["arcgisPropertyChange"]>;
|
|
482
482
|
onarcgisReady?: EventHandler<ArcgisMultiFeatureForm["arcgisReady"]>;
|
|
483
483
|
onarcgisSubmit?: EventHandler<ArcgisMultiFeatureForm["arcgisSubmit"]>;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -477,7 +477,7 @@ interface StencilArcgisFeatureImage extends Partial<Pick<ArcgisFeatureImage, "ac
|
|
|
477
477
|
interface StencilArcgisFeatureTitle extends Partial<Pick<ArcgisFeatureTitle, "graphic" | "isNewFeature" | "layer" | "noTitleLabel">>, StencilJsx.HTMLAttributes<ArcgisFeatureTitle> {
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
interface StencilArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "
|
|
480
|
+
interface StencilArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureForm, "activeFeatureIndex" | "autoDestroyDisabled" | "disabled" | "editType" | "features" | "groupDisplay" | "headingLevel" | "label" | "maximumFeatureCount" | "maximumFeatureCountWithComplexForms" | "position" | "readOnly" | "referenceElement" | "submitHasBeenAttempted" | "timeZone" | "view">>, ArcgisMultiFeatureFormSetterTypes, StencilJsx.HTMLAttributes<ArcgisMultiFeatureForm> {
|
|
481
481
|
onArcgisPropertyChange?: EventHandler<ArcgisMultiFeatureForm["arcgisPropertyChange"]>;
|
|
482
482
|
onArcgisReady?: EventHandler<ArcgisMultiFeatureForm["arcgisReady"]>;
|
|
483
483
|
onArcgisSubmit?: EventHandler<ArcgisMultiFeatureForm["arcgisSubmit"]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.14",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"lit": "^3.3.0",
|
|
47
47
|
"lodash-es": "^4.18.1",
|
|
48
48
|
"tslib": "^2.8.1",
|
|
49
|
-
"@arcgis/lumina": "5.1.
|
|
50
|
-
"@arcgis/
|
|
51
|
-
"@arcgis/
|
|
49
|
+
"@arcgis/lumina": "5.1.14",
|
|
50
|
+
"@arcgis/common-components": "5.1.14",
|
|
51
|
+
"@arcgis/toolkit": "5.1.14"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@arcgis/core": "^5.1.0",
|
package/dist/cdn/A42RMY44.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{b as f}from"./4TLYAVND.js";import c from"./FT372QJV.js";import b from"./R3NYK6BO.js";import a from"./HFRXDFTO.js";import{a as p}from"./PC4PAQXQ.js";import{O as T,U as x,a as _,b as o}from"./WUJCCZQC.js";import"./3TTFCHAA.js";export default $arcgis.t(([{watch:w,when:y},I,L,A,{compileExpression:E},{b:u,e:d},,{p:k}])=>{var J=_`.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,$=1,v=class extends T{constructor(){super(...arguments),this._compileThrottled=f(this._startCompile,$),this._evaluateThrottled=f(this._startEvaluate,$),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=J}loaded(){this.manager.onLifecycle(()=>[w(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),y(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,s=t?.dependencies,{view:e}=this;return[t,this.spatialReference,this.map,e,s?.has("view-scale")&&e&&"scale"in e?e.scale:null,s?.has("view-time-extent")?e?.timeExtent?.start:null,s?.has("view-time-extent")?e?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=p(this._evaluateTask),this._compileTask=p(this._compileTask),this._compileTask=d(async t=>{let{expressionInfo:s,graphic:e}=this,a=s?.expression;if(!a||!e)return null;let n=await E({expression:a,graphic:e});return u(t),n})}_startEvaluate(t){this._evaluateTask=p(this._evaluateTask),this._evaluateTask=d(async s=>{let{graphic:e}=this;if(!t||!e)return null;let{interceptor:a,spatialReference:n,map:i,location:r,view:l}=this,c=await t.evaluate({graphic:e,interceptor:a,location:r,map:i,options:{signal:s},spatialReference:n,view:l});u(s);let g=c&&"castAsJsonAsync"in c&&typeof c.castAsJsonAsync=="function"?c:null;if(!g)return null;let h=await g.castAsJsonAsync(s);u(s);let m=h?.type;return m==="media"?I.fromJSON(h):m==="text"?A.fromJSON(h):m==="fields"?L.fromJSON(h):null})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return o`<div class="root">${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:s}=this,e=this._evaluateTask?.value,a=e?.type,n={...t,...e?.attributes};if(!a)return null;if(a==="text"){let{text:i}=e;if(!i)return null;let r=k({values:n,fieldInfoMap:s??new Map,globalValues:n,layer:void 0,text:i});return o`<arcgis-feature-content .creator=${r} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:i,description:r,mediaInfos:l}=e;return!l?.length&&!i&&!r?null:o`<arcgis-feature-media .heading=${i??""} .values=${n} .formattedValues=${n} .description=${r??""} .mediaInfos=${l??[]} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:i,description:r,fieldInfos:l}=e;return!l?.length&&!i&&!r?null:o`<arcgis-feature-fields .fieldInfos=${l??[]} .heading=${i??""} .values=${n} .description=${r??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`}return null}_renderLoading(){return o`<div class="loading-container"><calcite-loader inline label></calcite-loader></div>`}};x("arcgis-feature-expression",v);return v},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b,c)
|
package/dist/cdn/COE47SVB.js
DELETED
package/dist/cdn/D7L4X6PO.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import e from"./LAPNOGPV.js";import d from"./2B5FB7DY.js";import c from"./LKOVDQTE.js";import b from"./OAWV35F7.js";import"./AKBXFBDL.js";import"./LMBRORN7.js";import a from"./5E6WEUZS.js";import"./PBSJQPB2.js";import"./WUJCCZQC.js";import"./3TTFCHAA.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
|
package/dist/cdn/FJFLCQ5C.js
DELETED
package/dist/cdn/GCHPTKLE.js
DELETED
package/dist/cdn/IDMEUWEQ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./R3NYK6BO.js";import a from"./HFRXDFTO.js";import"./PC4PAQXQ.js";import{a as w}from"./HZFVK34O.js";import"./AKBXFBDL.js";import"./LMBRORN7.js";import"./PBSJQPB2.js";import{M as _,N as g,O as f,U as v,a as p,b as r,p as o,r as h,s as y,x as d}from"./WUJCCZQC.js";import"./3TTFCHAA.js";export default $arcgis.t(([E,,,{a:$},{b:b,e:R}])=>{var T=p`:host{min-height:var(--arcgis-internal-panel-height-sm, 240px);height:100%}arcgis-features{height:100%}calcite-table{--calcite-table-border-color: none}calcite-table-row{--calcite-table-row-border-color: var(--calcite-color-border-3)}.white-panel-background{--calcite-panel-background-color: var(--calcite-color-foreground-1)}.aggregated-geometry-container{display:flex;justify-content:space-between;margin:0 var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-md)}#elements-list-item{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);margin:0 var(--calcite-spacing-sm)}.no-selectable-results{margin:0 var(--calcite-spacing-md);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size)}.results-heading{display:flex;flex-direction:column;margin:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.functions-heading{margin:var(--calcite-spacing-md) var(--calcite-spacing-md) var(--calcite-spacing-xxs) var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:var(--calcite-spacing-sm) var(--calcite-spacing-xl) var(--calcite-spacing-xl) var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`,u={dirtyAreasDiscovered:-2147208511,noValidControllers:-2147208935,pathNotFound:-2147208444},m=class extends f{constructor(){super(...arguments),this._defaultPopupTemplateEnabled=!0,this._messages=w({blocking:!0}),this._elementsWithoutLayer=[],this._popoverRef=_(),this._layerIdToFeatures=new Map,this._layerIdToLayer=new Map,this._subtypeCodeToFeatures=new Map,this._sourceIdToElements=new Map,this._unLayers=[],this._queryFeaturesOnLayer=async([e,t])=>{let a=this.utilityNetwork?.getLayerIdBySourceId(e),s=this._getLayerByLayerId(a),i=this._getElementsUniqueByGlobalId(t);if(a==null||!s){this._elementsWithoutLayer.push(...i);return}let n=s.createQuery();n.gdbVersion=this.utilityNetwork?.gdbVersion,n.objectIds=i.map(c=>c.objectId),n.outFields=["*"];let{features:l}=await b(s,n);l.forEach(c=>{let C=c.layer;c.getEffectivePopupTemplate(this._defaultPopupTemplateEnabled)||(c.popupTemplate=C.createPopupTemplate())}),R(s)?l.forEach(c=>this._addOrCreateMapValue(this._subtypeCodeToFeatures,c.layer.subtypeCode,c)):this._layerIdToFeatures.set(a,l)},this._aggregateGeometryRefChange=e=>{e&&(this._aggregatedGeometryComponentElement=e)},this._featuresRefChange=e=>{e&&(this._featuresComponentElement=e)},this._aggregatedGeometryDisabled=!1,this.aggregatedGeometryGraphicsColor=new E([255,255,0,.6]),this.hideActionBar=!1,this.hideFeatureResults=!1,this.featuresFromSelectedLayer=[],this.isElementsSelected=!1,this.layers=[],this.state="ready",this.traceResultFeatures=[],this.autoDestroyDisabled=!1,this.arcgisAggregatedGeometryGraphicsColorChange=d(),this.arcgisHideGraphicsChange=d(),this.arcgisSelectedLayerChange=d(),this.arcgisSelectedResultTypeChange=d(),this.arcgisTraceResultFeaturesReady=d()}static{this.properties={_aggregatedGeometryDisabled:16,_featuresComponentElement:16,aggregatedGeometryGraphicsColor:0,hideActionBar:5,hideFeatureResults:5,featuresFromSelectedLayer:0,isElementsSelected:5,layers:0,messageOverrides:0,numResults:32,referenceElement:1,selectedLayer:0,state:1,traceConfigTitle:1,traceError:0,traceResult:0,traceResultFeatures:0,utilityNetwork:0,view:0,autoDestroyDisabled:5}}static{this.styles=T}get numResults(){return this.traceResultFeatures.length+this._elementsWithoutLayer.length}clearAggregatedGeometryGraphics(){this._aggregatedGeometryComponentElement?.destroy()}async destroy(){this._layerIdToFeatures.clear(),this._subtypeCodeToFeatures.clear(),this._sourceIdToElements.clear(),this._aggregatedGeometryComponentElement?.destroy(),this._featuresComponentElement?.destroy(),await this.manager.destroy()}load(){this.traceResult&&(this._setSourceIdToElements(),this._loadDependencies().then(()=>this._queryTraceResultsFeatures()).finally(()=>{this.arcgisTraceResultFeaturesReady.emit(),this.state="ready"}))}willUpdate(e){e.has("isElementsSelected")&&this.arcgisSelectedResultTypeChange.emit(),e.has("selectedLayer")&&this.arcgisSelectedLayerChange.emit(),e.has("traceResult")&&(this.isElementsSelected=!1,this.traceResult||(this.traceResultFeatures=[],this._elementsWithoutLayer=[]))}loaded(){this.traceResult&&(this.utilityNetwork||o("warn",this,h("utilityNetwork")),this.layers.length||o("warn",this,y("layers")),this.view||o("warn",this,h("view")))}disconnectedCallback(){super.disconnectedCallback(),this._layerIdToLayer.clear()}_addOrCreateMapValue(e,t,a){let s=e.get(t);s==null?e.set(t,[a]):s.push(a)}_getLayerByLayerId(e){if(e==null)return;let{_layerIdToLayer:t,_unLayers:a}=this;if(t.get(e))return t.get(e);let s=a.find(i=>"layerId"in i&&i.layerId===e);return s&&t.set(e,s),s}_getElementsUniqueByGlobalId(e){return Array.from(new Map(e.map(t=>[t.globalId,t])).values())}_handleHideGraphicsChange(e){e.stopPropagation();let t=e.detail;this.arcgisHideGraphicsChange.emit(t),this._aggregatedGeometryDisabled=t,t&&this._popoverRef.value?.open&&(this._popoverRef.value.open=!1)}async _loadDependencies(){let{layers:e,utilityNetwork:t}=this;if(!t)return;try{t.loaded||(this.state="loading",await t.load())}catch(s){$(s,this,"Error while loading the selected utility network")}this._unLayers=e.filter(s=>t.isUtilityLayer(s));let a=this._unLayers.filter(s=>!s.loaded).map(s=>s.load());a.length>0&&(this.state="loading",(await Promise.allSettled(a)).forEach(s=>{s.status==="rejected"&&o("error",this,`Failed to load layer. Reason: ${s.reason}`)}))}async _queryTraceResultsFeatures(){let e=Array.from(this._sourceIdToElements.entries());if(!e.length)return;this.state="loading";let t=e.map(this._queryFeaturesOnLayer);(await Promise.allSettled(t)).forEach((i,n)=>{if(i.status==="rejected"){let[l]=e[n];o("error",this,`Failed to query features for source ${l}. Reason: ${i.reason}`)}});let a=Array.from(this._layerIdToFeatures.values()),s=Array.from(this._subtypeCodeToFeatures.values());this.traceResultFeatures=a.concat(s).flat()}_setSourceIdToElements(){this.traceResult.elements?.forEach(e=>this._addOrCreateMapValue(this._sourceIdToElements,e.networkSourceId,e))}render(){let{traceError:e,traceResult:t}=this;if(e)return this._renderErrorLanding(e);if(!t)return this._renderNoTraceLanding();let{elements:a,globalFunctionResults:s,aggregatedGeometry:i}=t,n=!a.length&&!s.length&&!i,l=a.length>0&&!s.length&&!i;return n?this._renderNoResultsLanding():this.state==="loading"?this._renderGettingResults():this.hideFeatureResults&&l?this._renderFeaturesAreHiddenLanding():this.isElementsSelected||l?r`<arcgis-features-next .autoDestroyDisabled=${this.autoDestroyDisabled} .defaultPopupTemplateEnabled=${this._defaultPopupTemplateEnabled} .features=${this.traceResultFeatures} .hideActionBar=${this.hideActionBar} .hideCloseButton=${l} hide-select-feature initial-display-mode=list @arcgisClose=${()=>this.isElementsSelected=!1} open .referenceElement=${this.referenceElement} .view=${this.view} ${g(this._featuresRefChange)}></arcgis-features-next>`:this._renderLanding(t)}_renderGettingResults(){return r`<calcite-panel class="white-panel-background"><calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader></calcite-panel>`}_renderLanding(e){let{elements:t,globalFunctionResults:a,aggregatedGeometry:s}=e;return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${s!=null?this._renderAggregatedGeometry(s):null}${s!=null&&!t.length?this._renderNoSelectableResults():null}${t.length>0?this.hideFeatureResults?this._renderFeaturesAreHidden():this._renderElementsResults():null}${a.length>0?this._renderFunctionsResults(a):null}</calcite-panel>`}_renderAggregatedGeometry(e){return r`<div class="aggregated-geometry-container"><arcgis-utility-network-aggregated-geometry .graphicsColor=${this.aggregatedGeometryGraphicsColor} .geometry=${e} .view=${this.view} @arcgisHideGraphicsChange=${this._handleHideGraphicsChange} auto-destroy-disabled ${g(this._aggregateGeometryRefChange)}></arcgis-utility-network-aggregated-geometry><calcite-swatch id=geometry-color-swatch .label=${this._messages.labels.aggregatedGeometryGraphicsColor} .color=${this.aggregatedGeometryGraphicsColor.toCss()} .disabled=${this._aggregatedGeometryDisabled}></calcite-swatch><calcite-popover .heading=${this._messages.headings.setColor} .label=${this._messages.headings.setColor} reference-element=geometry-color-swatch closable ${g(this._popoverRef)}><calcite-color-picker alpha-channel channels-disabled clearable hex-disabled saved-disabled .value=${this.aggregatedGeometryGraphicsColor} @calciteColorPickerChange=${t=>{let a=t.target.value;this.arcgisAggregatedGeometryGraphicsColorChange.emit(a)}} .disabled=${this._aggregatedGeometryDisabled}></calcite-color-picker></calcite-popover></div>`}_renderFeaturesAreHiddenLanding(){return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}${this._renderFeaturesAreHidden()}</calcite-panel>`}_renderFeaturesAreHidden(){return r`<div class="no-selectable-results">${this._messages.resultFeaturesAreHidden}</div>`}_renderNoSelectableResults(){return r`<div class="no-selectable-results">${this._messages.noSelectableFeatures}</div>`}_renderElementsResults(){return r`<calcite-list .label=${this._messages.headings.traceResultsGeneric}><calcite-list-item id=elements-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${()=>this.isElementsSelected=!0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${this.numResults}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item></calcite-list>`}_renderFunctionsResults(e){return r`<div class="functions-heading">${this._messages.headings.functions}</div><calcite-table .caption=${this._messages.labels.functionResults}>${e.filter(t=>t.networkAttributeName!=null&&t.result!=null&&t.functionType!=null).map(t=>{let{functionName:a,networkAttributeName:s,functionType:i,result:n}=t,l=a||`${s} ${i}`;return r`<calcite-table-row><calcite-table-cell>${l}</calcite-table-cell><calcite-table-cell>${n}</calcite-table-cell></calcite-table-row>`})}</calcite-table>`}_renderTraceResultsHeading(){return r`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle?r`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>`:null}</div>`}_renderErrorLanding(e){let t=e.message;switch(e.details?.raw?.extendedCode){case u.dirtyAreasDiscovered:t=this._messages.traceErrors.dirtyAreasDiscovered;break;case u.noValidControllers:t=this._messages.traceErrors.noValidControllers;break;case u.pathNotFound:t=this._messages.traceErrors.pathNotFound;break}return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.traceFailedHeading}</div><div class="no-results-description">${this._messages.traceFailedDescription}</div><div class="no-results-description">${t}</div></div></calcite-panel>`}_renderNoResultsLanding(){return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div></calcite-panel>`}_renderNoTraceLanding(){return r`<calcite-panel class="white-panel-background">${this._renderTraceResultsHeading()}<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div></calcite-panel>`}};v("arcgis-utility-network-trace-results",m);return m},"Color","core/Error","Graphic",a,b)
|
package/dist/cdn/K5KSYYUU.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{b as c,c as d}from"./JRIQGXS5.js";import{c as r,f as m}from"./AKBXFBDL.js";import{b as h}from"./PBSJQPB2.js";import{M as u,b as a,x as s,z as l}from"./WUJCCZQC.js";export default $arcgis.t(([{when:E,watch:w}])=>{var b=class extends l{constructor(o){super(o),this.direction=m(),this.popupRef=u(),this.slotGroupRefs=c(),this.attributionHeight=0,this._uiContainer=null,this.component.listen("arcgisViewClick",t=>{let e=t.detail.native;t.detail.button!==0||e?.ctrlKey||e?.metaKey||this._handleOpenPopup(t.detail)}),this.component.listenOn(globalThis,"unhandledrejection",t=>{let e=t.reason;if(e?.name==="webgl:required"){let{name:p}=e;this.webGLError={name:p}}})}hostLifecycle(){return[E(()=>this.component.view.ready,()=>{this._assignDefaultPopup()}),E(()=>this.component.view.popup?.visible,()=>{this.popupElement?.open&&(this.popupElement.open=!1)})]}async openPopup(o){if(this._assignDefaultPopup(),this.closePopup(),this.popupElement){await this.popupElement.componentOnReady(),this.popupElement.open=!0;let{fetchFeatures:t,shouldFocus:e,title:p,...n}=o;delete o.fetchFeatures,Object.assign(this.popupElement,n),p!==void 0&&(this.popupElement.heading=p),e&&await this.popupElement.setFocus(),t&&this.popupElement.fetchFeatures()}else await this.component.view.openPopup(o)}closePopup(){this.popupElement&&(this.popupElement.open=!1),this.component.view.closePopup()}_assignDefaultPopup(){this.popupRef.value&&!this.popupElement&&(this.popupElement=this.popupRef.value,this.popupElement.referenceElement=this.component.el,this.popupElement.view=this.component.view)}handleAttributionHeightChange(o){if(!(this.attributionHeight===o||!this.component.el.shadowRoot)){if(this.attributionHeight=o,!this._uiContainer){let t=this.component.el.shadowRoot.querySelector(".arcgis-map-container-ui");this._uiContainer=t}this._uiContainer?.style.setProperty("--arcgis-internal-attribution-space-top",`${this.attributionHeight}px`)}}_maybeDisableViewPopup(){this.component.view&&(this.component.popupComponentEnabled||this.popupElement)&&(this.previousViewPopupEnabled=this.component.view.popupEnabled,this.component.view.popupEnabled=!1)}_maybeResetViewPopup(){this.component.view&&this.previousViewPopupEnabled!==void 0&&(this.component.view.popupEnabled=this.previousViewPopupEnabled,this.previousViewPopupEnabled=void 0)}async _handleOpenPopup(o){if(this._assignDefaultPopup(),!this.component.popupDisabled){if(this._maybeDisableViewPopup(),this.popupElement){let{location:t,promises:e}=await this.popupElement?.handleViewClick(o)??{};e?.length?this.openPopup({location:t,promises:e}):this.popupElement?.open&&this.closePopup()}this._maybeResetViewPopup()}}_handlePopupSlotChange(o){let t=h(o.target,"arcgis-popup");!this.popupElement&&t.length?this.popupElement=t[0]:t.length||(this.popupElement=void 0)}_webGLErrorAlert(){return this.webGLError?a`<arcgis-webgl-error .errorName=${this.webGLError.name}></arcgis-webgl-error>`:null}render(){return d({direction:this.direction,popupComponentEnabled:this.component.popupComponentEnabled,slotGroupRefs:this.slotGroupRefs,handlePopupSlotChange:o=>this._handlePopupSlotChange(o),webGLErrorElement:this._webGLErrorAlert(),popupElement:this.popupRef})}},R=r((i,o)=>{let t=s();return o.onLifecycle(()=>w(()=>{let{map:e}=i;if(!e||e.destroyed)return[];let p=[];return e.loadError&&p.push(e),e.basemap?.loadError&&p.push(e.basemap),e.ground.loadError&&p.push(e.ground),[...e.allLayers,...e.allTables].forEach(n=>{n.loadError&&p.push(n)}),p},e=>{e.length&&(i.loadErrorSources=e,t.emit())})),t}),G=r((i,o)=>{let t=s();return o.onLifecycle(()=>w(()=>i.view?.readyState,e=>{(e==="map-content-error"||e==="rendering-error")&&t.emit()})),t});return{a:b,b:R,c:G}},"core/reactiveUtils")
|
package/dist/cdn/LAPNOGPV.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./2B5FB7DY.js";import a from"./LKOVDQTE.js";import{h as d}from"./AKBXFBDL.js";import{O as n,U as s,a as c,x as l}from"./WUJCCZQC.js";export default $arcgis.t(([g,{a:a},m])=>{var b=c`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-batch-attribute-form{background-color:var(--calcite-color-background);padding:var(--arcgis-internal-padding, var(--calcite-space-md) var(--calcite-space-lg))}.esri-batch-attribute-form__notice-error{margin:0 0 var(--calcite-space-2xl)}.esri-batch-attribute-form__form{display:flex;flex-direction:column}.esri-batch-attribute-form__centered-button{align-self:center}.esri-batch-attribute-form__description-text{color:var(--calcite-color-text-3)}.esri-batch-attribute-form__label{white-space:pre-wrap;overflow-wrap:break-word;display:flex;position:relative;flex-direction:column;justify-content:space-between;transition:opacity .25s,margin .25s;opacity:1;margin-bottom:var(--calcite-space-xs);&:last-child{margin-bottom:0}}.esri-batch-attribute-form__label-text-content{white-space:pre-wrap;overflow-wrap:break-word;display:flex;align-items:center}.esri-batch-attribute-form__input--switch{margin:7px 0}.esri-batch-attribute-form__input--radio-label{display:flex;align-items:center}.esri-batch-attribute-form__input--radio-group{display:flex;flex-direction:column}.esri-batch-attribute-form__input--radio-placeholder{color:var(--calcite-color-text-3);font-style:italic}.esri-batch-attribute-form__multiple-choice-input,.esri-batch-attribute-form__multiple-choice-input__other-choice{display:flex;flex-direction:column;gap:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__select-all{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-end:var(--calcite-space-sm)}.esri-batch-attribute-form__multiple-choice-input__other-choice--with-select-all{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding-block-start:var(--calcite-space-sm)}.esri-batch-attribute-form__form-header{margin-bottom:var(--calcite-space-md);.esri-batch-attribute-form__description-text~.esri-widget__heading{margin-bottom:0}}.esri-batch-attribute-form__input{width:100%;&:not(calcite-checkbox):focus{outline:var(--calcite-space-base) solid var(--calcite-color-brand);outline-offset:-2px}}.esri-batch-attribute-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__individual-element{margin:var(--calcite-space-2xl) 0}.esri-batch-attribute-form__date-input-container{display:flex;flex-direction:column;gap:var(--calcite-space-sm);.esri-batch-attribute-form__input{margin-bottom:var(--calcite-space-base)}&:last-child{margin-bottom:0}}.esri-batch-attribute-form__group{margin:0 0 var(--calcite-space-md) 0;background-color:inherit;margin-inline:calc(var(--calcite-space-md) * -1)}.esri-batch-attribute-form__group--sequential{border-bottom:none;border-inline-start:3px solid var(--calcite-color-border-1)}.esri-batch-attribute-form__group--active{border-inline-start-color:var(--calcite-color-brand)}.esri-batch-attribute-form__relationship-element-input{margin-block-end:var(--calcite-space-lg);calcite-notice,.esri-batch-attribute-form__relationship-element-input_list{margin-bottom:var(--calcite-space-md-plus)}}.esri-batch-attribute-form__relationship-element-input_header{color:var(--calcite-color-text-1)}.esri-batch-attribute-form__relationship-element-input_description,.esri-batch-attribute-form__relationship-element-input_header{margin-bottom:var(--calcite-space-md-plus)}.esri-batch-attribute-form__relationship-element-input_list{min-height:var(--calcite-space-2xs)}.esri-batch-attribute-form__relationship-element-input_list-observer{position:relative;bottom:20px;z-index:2;text-align:center}.esri-batch-attribute-form__relationship-element-input_showing-all{.esri-batch-attribute-form__relationship-element-input_add-button{margin-block:var(--calcite-space-md)}}.esri-batch-attribute-form__attachment-element-input{margin-bottom:var(--calcite-space-2xl)}.esri-batch-attribute-form__attachment-element-label{white-space:pre-wrap;overflow-wrap:break-word;margin-bottom:var(--calcite-space-2xs);color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-list{margin-block:var(--calcite-space-sm);border-block:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.esri-batch-attribute-form__attachment-element-list-item{--calcite-list-item-border-color: var(--calcite-color-border-3);white-space:pre-wrap;overflow-wrap:break-word;min-block-size:var(--calcite-space-2xl)}.esri-batch-attribute-form__attachment-element-list-item-start{display:flex;align-items:center;justify-content:center;border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-3);block-size:var(--calcite-space-3xl);inline-size:var(--calcite-space-3xl);color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-list-item-staged-indicator{display:inline-flex;border-radius:50%;background-color:var(--calcite-color-brand);block-size:var(--calcite-space-xs);inline-size:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-list-item-thumb{border-radius:inherit;block-size:100%;inline-size:100%;object-fit:cover}.esri-batch-attribute-form__attachment-element-list-item-icon{color:inherit}.esri-batch-attribute-form__attachment-element-empty-state{padding-block:var(--calcite-space-sm);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}.esri-batch-attribute-form__attachment-element-add-actions{display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:flex-start;justify-content:flex-start;inline-size:100%}.esri-batch-attribute-form__attachment-element-capture-notice{inline-size:100%}.esri-batch-attribute-form__attachment-element-empty-action-hint{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-empty-action-hint-value{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.esri-batch-attribute-form__attachment-element-all-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-file-input{display:none}.esri-batch-attribute-form__attachment-element-add-panel{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-add-dropzone{box-sizing:border-box;display:flex;flex:1;flex-direction:column;gap:0;align-items:center;justify-content:center;transition:border-color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out;border:var(--calcite-border-width-sm) dashed var(--calcite-color-border-input);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-lg) var(--calcite-space-md);min-block-size:10.875rem;inline-size:100%;text-align:center}.esri-batch-attribute-form__attachment-element-add-dropzone-icon{margin-block-end:var(--calcite-space-sm);color:var(--calcite-color-text-3)}.esri-batch-attribute-form__attachment-element-add-dropzone-heading{margin-block-end:var(--calcite-space-xs);line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone-detail{white-space:pre-wrap;overflow-wrap:break-word;margin-block-end:var(--calcite-space-md);max-inline-size:13rem;line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}.esri-batch-attribute-form__attachment-element-add-dropzone calcite-button{align-self:center}.esri-batch-attribute-form__attachment-element-validation-criteria{display:flex;flex-direction:column;gap:var(--calcite-space-xs);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding:var(--calcite-space-sm)}.esri-batch-attribute-form__attachment-element-detail-metadata-group{display:flex;flex-direction:column;gap:var(--calcite-space-2xs)}.esri-batch-attribute-form__attachment-element-detail-file-name-row{display:flex;gap:var(--calcite-space-2xs);align-items:center;inline-size:100%}.esri-batch-attribute-form__attachment-element-detail-file-name-input{flex:1 1 auto;min-inline-size:0}.esri-batch-attribute-form__attachment-element-detail-preview{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--calcite-space-sm);align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);inline-size:100%}.esri-batch-attribute-form__attachment-element-dialog-preview{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-space-sm);align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm);block-size:100%;min-block-size:0;max-block-size:100%;inline-size:100%;overflow:hidden;.esri-batch-attribute-form__attachment-element-detail-preview-image{max-block-size:100%;max-inline-size:100%}}.esri-batch-attribute-form__attachment-element-detail-preview-image{display:block;block-size:auto;max-block-size:min(24rem,50vh);inline-size:100%;object-fit:contain}.esri-batch-attribute-form__attachment-element-detail-preview-icon{color:var(--calcite-color-text-2)}.esri-batch-attribute-form__attachment-element-detail-actions{display:flex;flex-wrap:wrap;gap:var(--calcite-space-xs)}.esri-batch-attribute-form__attachment-element-detail-metadata{display:flex;flex-direction:column;gap:var(--calcite-space-md);padding-block-start:var(--calcite-space-lg)}.esri-batch-attribute-form__attachment-element-detail-metadata-label{line-height:var(--calcite-font-line-height-fixed-base);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__attachment-element-detail-metadata-value{white-space:pre-wrap;overflow-wrap:break-word;line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-regular);font-style:normal}.esri-batch-attribute-form__text-element-input{line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular);a{display:inline;position:relative;transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;border-style:none;background-color:transparent;background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;padding:0;text-decoration:none;color:var(--calcite-color-text-link);&:hover,&:focus{background-size:100% 1px,100% 1px}&:active{background-size:100% 2px,100% 2px}&.calcite--rtl{background-position:100% 100%,100% 100%}}code{border:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-xs);background-color:var(--calcite-color-surface-4);padding:var(--calcite-space-2xs);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);font-size:85%}h1,h2,h3,h4,h5{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}h5{font-weight:var(--calcite-font-weight-medium)}h6{margin-bottom:var(--calcite-space-2xs);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium)}p{margin-bottom:var(--calcite-space-lg);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-regular)}strong{font-weight:var(--calcite-font-weight-bold)}}.esri-batch-attribute-form__utility-network-associations-element-input{margin-block-end:var(--calcite-space-md);.esri-feature-utility-network-associations{.esri-feature-element-info__description{color:var(--calcite-color-text-3)}h5{color:var(--calcite-color-text-1);font-size:inherit}}}`,h=t=>{throw TypeError(t)},p=(t,e,i)=>e.has(t)||h("Cannot "+i),u=(t,e,i)=>(p(t,e,"read from private field"),i?i.call(t):e.get(t)),f=(t,e,i)=>e.has(t)?h("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),v=(t,e,i,x)=>(p(t,e,"write to private field"),e.set(t,i),i),r,_=m(g),o=class extends n{constructor(){super(...arguments),f(this,r),this.widget=_(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.editType=this.viewModel.editType,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.status=this.viewModel.status,this.valid=this.viewModel.valid,this.label=this.widget.label,this.features=this.widget.features,this.disabled=this.widget.disabled,this.activeFeatureIndex=this.widget.activeFeatureIndex,this.submitHasBeenAttempted=this.viewModel.submitHasBeenAttempted,this.updating=this.viewModel.updating,this.maximumFeatureCount=this.viewModel.maximumFeatureCount,this.maximumFeatureCountWithComplexForms=this.viewModel.maximumFeatureCountWithComplexForms,this.hasTooManyFeatures=this.viewModel.hasTooManyFeatures,this.hasTooManyComplexFeatures=this.viewModel.hasTooManyComplexFeatures,this.readOnly=this.widget.readOnly,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=d()("status","valid","updating","submitHasBeenAttempted","activeFeatureIndex"),this.arcgisReady=l(),this.arcgisSubmit=a(()=>this.widget,"submit"),this.arcgisValueChange=a(()=>this.widget,"value-change")}static{this.properties={view:0,autoDestroyDisabled:5,editType:1,groupDisplay:1,headingLevel:9,icon:1,status:1,valid:5,label:1,features:0,disabled:5,activeFeatureIndex:9,submitHasBeenAttempted:5,updating:5,maximumFeatureCount:9,maximumFeatureCountWithComplexForms:9,hasTooManyFeatures:5,hasTooManyComplexFeatures:5,invalidFeatures:32,position:1,referenceElement:1,readOnly:5,timeZone:1}}static{this.styles=b}get layerInfos(){return u(this,r)}set layerInfos(e){v(this,r,e)}get invalidFeatures(){return this.viewModel.invalidFeatures}async destroy(){await this.manager.destroy()}getValues(e){return this.viewModel.getValues(e)}goToFirstError(){this.widget.goToFirstError()}userChangesHaveMadeFeatureInvalid(e){return this.viewModel.userChangesHaveMadeFeatureInvalid(e)}};r=new WeakMap;s("arcgis-multi-feature-form",o);return o},"widgets/BatchAttributeForm",a,b)
|
package/dist/cdn/S4DL2YV2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import g from"./FT372QJV.js";import f from"./R3NYK6BO.js";import e from"./KA7BM2DQ.js";import{a as D}from"./HZFVK34O.js";import d from"./LKOVDQTE.js";import c from"./OAWV35F7.js";import{h as _}from"./AKBXFBDL.js";import"./LMBRORN7.js";import a from"./5E6WEUZS.js";import{d as C}from"./PBSJQPB2.js";import{N as y,O as I,P as M,R as b,U as x,a as $,b as r,x as w}from"./WUJCCZQC.js";import"./3TTFCHAA.js";export default $arcgis.t(([{substitute:k},{renderingSanitizer:N},B,{watch:H},{stripHTML:Z},P,,,,R,,{a:F,b:L,c:E,d:T,e:A,i:V,p:l}])=>{var z=$`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element:only-child,.content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,U=R(P),v=class extends I{constructor(){super(...arguments),this.messages=D(),this._rootFlowNode=null,this.internalFlowItems=new B,this.flowType="feature",this.viewModel=U(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.heading,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("flowItems","state"),this.arcgisReady=w()}static{this.properties={popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,flowType:1,viewModel:0,view:0,flowItems:0,referenceElement:1,icon:1,isFeatureFromTable:36,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:32}}static{this.styles=z}get popupTemplate(){return E(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return T(this.graphic)}get fieldInfoMap(){return F(L(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}async destroy(){this._removeFlowItems(),await this.manager.destroy()}nextMedia(e){this._pageContentElementMedia(e,1)}previousMedia(e){this._pageContentElementMedia(e,-1)}setActiveMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let s=i[e];if(s?.type!=="media")return;let a=s;this._setContentElementMedia(a,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[H(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_setContentElementMedia(e,t){let i=e.mediaInfos?.length??0,s=(t+i)%i;e.activeMediaInfoIndex=s}_pageContentElementMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let s=i[e];if(s?.type!=="media")return;let a=s,{activeMediaInfoIndex:n}=a,o=(n??0)+t;this._setContentElementMedia(a,o)}_removeFlowItems(){this.internalFlowItems?.destroyAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()?.destroy()}render(){let{state:e}=this.viewModel,t=r`<div class="container">${e==="error"?this._renderError():this._renderContentContainer()}</div>`;return r`<div class="root">${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return r`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:r`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:s,globalValues:a}=this,n=l({values:t,fieldInfoMap:i,globalValues:a,layer:s,text:e.title}),o=l({values:t,fieldInfoMap:i,globalValues:a,layer:s,text:e.description});return r`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${n} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .orderByFields=${e.orderByFields??void 0} .graphic=${this.graphic??void 0} .description=${o} hide-preview-image-attachment-name .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return r`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:s,fieldInfoMap:a,sourceLayer:n,popupTemplate:o,globalValues:d,graphic:c}=this,h=!!e?.fieldInfos,u=(e.fieldInfos??o?.fieldInfos??[])?.filter(({fieldName:f})=>!!f&&(V(f)||A(f)||f in s)),p=o?.expressionInfos,m=l({values:s,fieldInfoMap:a,globalValues:d,layer:n,text:e.title}),g=l({values:s,fieldInfoMap:a,globalValues:d,layer:n,text:e.description});return r`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .messages=${this.messages} .graphic=${c??void 0} .isContentFieldInfos=${h} .layer=${n} .description=${g} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${u} .expressionInfos=${p??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:s,fieldInfoMap:a,sourceLayer:n,popupTemplate:o,globalValues:d}=this,{formattedAttributes:c,relatedInfos:h,expressionAttributes:u}=this.viewModel,p={...c?.global,...c?.content?.[t]},m=l({values:i,fieldInfoMap:a,globalValues:d,layer:n,text:e.title}),g=l({values:i,fieldInfoMap:a,globalValues:d,layer:n,text:e.description});return r`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .description=${g} .values=${i} .expressionValues=${u} .layer=${n} .graphic=${s??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${o??void 0} .relatedInfos=${h} .formattedValues=${p}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:s,globalValues:a}=this;return r`<arcgis-feature-content .creator=${l({values:t,fieldInfoMap:i,globalValues:a,layer:s,text:e.text})} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:s}=this;return r`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${s} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:s,fieldInfoMap:a,sourceLayer:n,globalValues:o}=this,{displayCount:d,orderByFields:c,relationshipId:h}=e,{formattedAttributes:u,view:p}=this.viewModel,m={...u?.global,...u?.content?.[t]},g=l({values:i,fieldInfoMap:a,globalValues:o,layer:n,text:e.title}),f=l({values:i,fieldInfoMap:a,globalValues:o,layer:n,text:e.description});return r`<arcgis-feature-relationship .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems??this.internalFlowItems} .description=${f} .layer=${n} .map=${this.map??void 0} .displayCount=${d} .graphic=${s??void 0} .heading=${g} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${c??void 0} .relationshipId=${h??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} use-feature-next-flow-item .values=${m} .view=${p??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:s,messages:a,sourceLayer:n,values:o}=this,d=l({values:o,fieldInfoMap:t,globalValues:i,layer:n,text:e.title}),c=l({values:o,fieldInfoMap:t,globalValues:i,layer:n,text:e.description});return r`<arcgis-feature-utility-network-associations .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${s??void 0} .heading=${d} .headingLevel=${this.headingLevel} .layer=${n} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} use-feature-next-flow-item .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;if(!e)return null;if(Array.isArray(e)&&e.length)return e.length?e.map(this._renderContentElement,this):null;if(typeof e=="string"){let{values:i,fieldInfoMap:s,sourceLayer:a,globalValues:n}=this;return r`<arcgis-feature-content .creator=${l({values:i,fieldInfoMap:s,globalValues:n,layer:a,text:e})} .graphic=${t??void 0} class="content-element"></arcgis-feature-content>`}return e instanceof HTMLElement?e:null}_renderContentContainer(){let{flowItems:e,hideContent:t,internalFlowItems:i,headingLevel:s,state:a,messages:n,heading:o,hideHeading:d}=this,c=t?null:r`<div class="main">${[this._renderContent(),this._renderLastEditInfo()]}</div>`,h=n.returnToInitialFeature??"";return e?c:r`<calcite-flow ${y(this._storeRootFlowNode)}><calcite-flow-item .loading=${a==="loading"} .headingLevel=${s} .heading=${d?void 0:Z(o)} .selected=${!i.length}>${!d&&o?r`<div slot=heading><div .innerHTML=${N.sanitize(o??"")??""}></div></div>`:null}${c}</calcite-flow-item>${i.toArray().map((u,p)=>r`<calcite-flow-item @calciteFlowItemBack=${m=>{m.preventDefault(),this._handleDrillInBackClick()}} .loading=${a==="loading"} .headingLevel=${s} .selected=${p===i.length-1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h??b}></calcite-action>${u}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:s,user:a}=i,n=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,o=k(n??"",{date:s,user:a});return r`<div class=${M(C("last-edited-info","content-element"))}>${o}</div>`}};x("arcgis-feature-next",v);return v},"intl","applications/Components/sanitizerUtils","core/Collection","core/reactiveUtils","applications/Components/stringUtils","popup/Feature",a,c,d,e,f,g)
|
package/dist/cdn/VPDEI7IK.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as _}from"./HZFVK34O.js";import"./AKBXFBDL.js";import"./LMBRORN7.js";import"./PBSJQPB2.js";import{M as l,N as h,O as o,U as c,b as n,p as r}from"./WUJCCZQC.js";import"./3TTFCHAA.js";export default $arcgis.t(([p])=>{var a=class extends o{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._io=null,this._titleContainerSpan=l(),this._messages=_(),this._generatedTitle=null,this.isNewFeature=!1}static{this.properties={_generatedTitle:16,graphic:0,layer:0,noTitleLabel:1,isNewFeature:5}}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}willUpdate(e){e.has("graphic")&&(this.hasUpdated||this.graphic!==null)&&this._changeGraphic()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleTitle().catch(e=>{r("warn",this,"Failed processing title")}))}get rootLayer(){return this.layer?.type==="subtype-sublayer"?this.layer.parent:this.layer}_changeGraphic(){this._changeData()}_changeData(){this._generatedTitle=null,this._attempted=!1}_createNoTitleLabel(){return this.noTitleLabel===null||this.noTitleLabel===void 0?this._messages.noTitleLabel??"":this.noTitleLabel}async _generateTitle(){if(!(this.layer&&this.graphic))return this._createNoTitleLabel();if(this.layer.getFeatureTitle){let e=this.graphic;if(this.isNewFeature&&this.layer?.objectIdField&&e){let{[this.layer.objectIdField]:i,...s}=e.attributes??{};e=new p({geometry:e.geometry,attributes:{...s}})}return await this.layer.getFeatureTitle(e)||this._createNoTitleLabel()}else return this._createNoTitleLabel()}async _handleTitle(){let e=++this._lastRun;if(!this._generatedTitle||this._generatedTitle==="")try{let t=await this._generateTitle();if(this._lastRun!==e||this._generatedTitle===t)return;this._generatedTitle=t}finally{this._attempted=!0}}_addIntersectionObserver(){let e={rootMargin:"50px 0px",threshold:.01};this._titleContainerSpan.value&&requestAnimationFrame(()=>{this.isConnected&&(this._io=new IntersectionObserver(t=>{let i=!1;t.forEach(s=>{s.intersectionRatio>0&&!i?(i=!0,this._isCurrentlyInView=!0,this._handleTitle().catch(d=>{r("warn",this,"Failed processing title")})):this._isCurrentlyInView=!1})},e),this._io.observe(this._titleContainerSpan.value))})}_removeIntersectionObserver(){this._io?.disconnect(),this._io=null}render(){return n`<span ${h(this._titleContainerSpan)}>${this._generatedTitle??""}</span>`}};c("arcgis-feature-title",a);return a},"Graphic")
|