@arcgis/map-components 5.0.0-next.5 → 5.0.0-next.51
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/2A4SEVJG.js +4 -0
- package/dist/cdn/2CI2JVXM.js +4 -0
- package/dist/cdn/{HQRMKPHR.js → 2CVZ2YS3.js} +2 -2
- package/dist/cdn/2DHVLOQX.js +4 -0
- package/dist/cdn/{WQTDRNT3.js → 2EBDNME3.js} +2 -2
- package/dist/cdn/{R47O2BDP.js → 2Z2GJUMJ.js} +2 -2
- package/dist/cdn/35ZHTZPD.js +4 -0
- package/dist/cdn/{NCDGWPV7.js → 3H5BKKF3.js} +2 -2
- package/dist/cdn/{Q3ICPLQZ.js → 3HGM3E72.js} +2 -2
- package/dist/cdn/{A7EK4YU5.js → 3ZTD4JZM.js} +2 -2
- package/dist/cdn/{466INVOH.js → 4AE2RTKS.js} +2 -2
- package/dist/cdn/4AS3NCC4.js +4 -0
- package/dist/cdn/4QZUEJZI.js +4 -0
- package/dist/cdn/4WFXRSW7.js +4 -0
- package/dist/cdn/4WYNI7YQ.js +4 -0
- package/dist/cdn/52MZN2RS.js +4 -0
- package/dist/cdn/5CPRS3LY.js +4 -0
- package/dist/cdn/5DGOTXYU.js +4 -0
- package/dist/cdn/{A7BICR4O.js → 5MTHKOSB.js} +2 -2
- package/dist/cdn/{7BBQPJCM.js → 62ZUZK26.js} +2 -2
- package/dist/cdn/66NKMAE4.js +4 -0
- package/dist/cdn/67KU6XJB.js +4 -0
- package/dist/cdn/6CINJHPJ.js +4 -0
- package/dist/cdn/6FXGCM6T.js +4 -0
- package/dist/cdn/6MG4CYOG.js +4 -0
- package/dist/cdn/6MG7OECA.js +4 -0
- package/dist/cdn/6VKOZSDZ.js +4 -0
- package/dist/cdn/{H3LWJIDF.js → 7DUYWT4W.js} +2 -2
- package/dist/cdn/{ADXVD42H.js → 7DVEKPBS.js} +2 -2
- package/dist/cdn/7QU53Q5V.js +4 -0
- package/dist/cdn/{I6QIB7JC.js → 7XNYFBIU.js} +2 -2
- package/dist/cdn/A42OPO6X.js +4 -0
- package/dist/cdn/A7G6ZHDG.js +4 -0
- package/dist/cdn/ACNEKHXU.js +4 -0
- package/dist/cdn/ACZAASBK.js +4 -0
- package/dist/cdn/AEVFEMEI.js +4 -0
- package/dist/cdn/AEYPA5NF.js +4 -0
- package/dist/cdn/AI6VOYQU.js +4 -0
- package/dist/cdn/AJIFAD5F.js +4 -0
- package/dist/cdn/{4J7UXW4V.js → AMG3XOBO.js} +1 -1
- package/dist/cdn/AMLE4TAU.js +4 -0
- package/dist/cdn/{PD2HATHB.js → ARSB37D3.js} +2 -2
- package/dist/cdn/{UL7MLQKU.js → AV3V6HQN.js} +2 -2
- package/dist/cdn/{L5R3WRXO.js → AV5VP7UV.js} +2 -2
- package/dist/cdn/{OR5HVPGI.js → B5WB6DIQ.js} +2 -2
- package/dist/cdn/B765UYFL.js +4 -0
- package/dist/cdn/BKT6PWPY.js +4 -0
- package/dist/cdn/BMMEJHBQ.js +4 -0
- package/dist/cdn/BSTYY5OB.js +4 -0
- package/dist/cdn/BTPQCIV2.js +4 -0
- package/dist/cdn/{WK5SF3NM.js → BVHVYGZV.js} +2 -2
- package/dist/cdn/BVKFDQLW.js +4 -0
- package/dist/cdn/BVUOAIEM.js +4 -0
- package/dist/cdn/CALMYY2I.js +4 -0
- package/dist/cdn/CAXXINYP.js +4 -0
- package/dist/cdn/{IURKMZB2.js → CK56VVLR.js} +2 -2
- package/dist/cdn/{RQIUPQN4.js → CKJKU62H.js} +2 -2
- package/dist/cdn/{ZG5YI3R5.js → COWYRP3A.js} +2 -2
- package/dist/cdn/CQECKIZO.js +4 -0
- package/dist/cdn/CQG2AX3D.js +4 -0
- package/dist/cdn/CUXMLQWE.js +4 -0
- package/dist/cdn/{34OUIPI6.js → D3HOILWL.js} +2 -2
- package/dist/cdn/D6Y5ZSNP.js +4 -0
- package/dist/cdn/{B3BDZMK4.js → DFVDWE2V.js} +2 -2
- package/dist/cdn/{Q6JTY2DJ.js → DIZEKFMU.js} +1 -1
- package/dist/cdn/{5AFYPDDT.js → DJTPN52Y.js} +2 -2
- package/dist/cdn/DK5377N6.js +4 -0
- package/dist/cdn/{JY63CMAB.js → DKFWT5ZL.js} +2 -2
- package/dist/cdn/DOLVQQSC.js +4 -0
- package/dist/cdn/{YA5LAKIG.js → DPI2NKBN.js} +2 -2
- package/dist/cdn/{AN73DPMU.js → DRPDE5JS.js} +1 -1
- package/dist/cdn/{RYP3YAQU.js → DW45AITN.js} +2 -2
- package/dist/cdn/DXSWOERM.js +4 -0
- package/dist/cdn/EAPDAKO2.js +4 -0
- package/dist/cdn/EHCDUHOT.js +4 -0
- package/dist/cdn/{REQDDBVN.js → EP5JAAC4.js} +1 -1
- package/dist/cdn/EQDGRLXT.js +4 -0
- package/dist/cdn/EWS4R3LC.js +4 -0
- package/dist/cdn/EWSWQGQR.js +4 -0
- package/dist/cdn/EXHY4COS.js +4 -0
- package/dist/cdn/{AFQCY6M5.js → FAO3IOW4.js} +2 -2
- package/dist/cdn/FBKXANOD.js +4 -0
- package/dist/cdn/{O7W3JZFF.js → FP4Q2SH6.js} +2 -2
- package/dist/cdn/{ZXFC3OPO.js → FPQ2ZB4W.js} +2 -2
- package/dist/cdn/FSPLUUNU.js +4 -0
- package/dist/cdn/FWOR3MKO.js +4 -0
- package/dist/cdn/FXJYJAR4.js +4 -0
- package/dist/cdn/G24LC5BN.js +4 -0
- package/dist/cdn/{J6KG2Z45.js → G46LKFWJ.js} +2 -2
- package/dist/cdn/GAOHEWXQ.js +4 -0
- package/dist/cdn/{5PSO47CO.js → GBRG4IFK.js} +2 -2
- package/dist/cdn/{6DTQPNPV.js → GEGUIJOE.js} +2 -2
- package/dist/cdn/{6P4FNYFK.js → GERYKKDP.js} +2 -2
- package/dist/cdn/{EBH3NORE.js → GI6VVAUS.js} +2 -2
- package/dist/cdn/{ZXUX6MFW.js → GIBNBOPC.js} +2 -2
- package/dist/cdn/GT4BV5HJ.js +4 -0
- package/dist/cdn/{E734O7ZN.js → GUUVPCLL.js} +2 -2
- package/dist/cdn/{C3PGIIHL.js → H5APOVQQ.js} +2 -2
- package/dist/cdn/{4TPCMFWZ.js → HES6CQGK.js} +2 -2
- package/dist/cdn/HFFHANM5.js +4 -0
- package/dist/cdn/{XSRIC2UT.js → HH76TPFY.js} +2 -2
- package/dist/cdn/{PIH3NRT7.js → HX46HUFF.js} +2 -2
- package/dist/cdn/{LHZIRPAB.js → I6IBW3PI.js} +2 -2
- package/dist/cdn/{BXK33PBZ.js → IBAN5OWW.js} +1 -1
- package/dist/cdn/IMHMQMVU.js +4 -0
- package/dist/cdn/IW4PFMZR.js +4 -0
- package/dist/cdn/J2QSPH5O.js +4 -0
- package/dist/cdn/{FON2DRNE.js → J465VKJ2.js} +2 -2
- package/dist/cdn/{LUIM6R3C.js → J5ALR3M5.js} +2 -2
- package/dist/cdn/{GRCPMP5I.js → J5ZWYR2I.js} +2 -2
- package/dist/cdn/{6TR3C4W7.js → J64VWYRI.js} +2 -2
- package/dist/cdn/{VSZ6MWHR.js → JFQRZB5K.js} +2 -2
- package/dist/cdn/JI7LNRBU.js +4 -0
- package/dist/cdn/JKGFIUSQ.js +4 -0
- package/dist/cdn/JNSXYSEM.js +4 -0
- package/dist/cdn/{FENOD7H6.js → JQ34I4Q6.js} +2 -2
- package/dist/cdn/JVNIXKCZ.js +4 -0
- package/dist/cdn/{X2P2BANB.js → JWQ4VCC2.js} +2 -2
- package/dist/cdn/KMXCLMT7.js +4 -0
- package/dist/cdn/{B3TRMHSU.js → L37V46LW.js} +2 -2
- package/dist/cdn/L7DQ3GY5.js +4 -0
- package/dist/cdn/{WVWW5FTO.js → LBSAQDQ4.js} +2 -2
- package/dist/cdn/LDEYL6WL.js +4 -0
- package/dist/cdn/LN7X7TPF.js +4 -0
- package/dist/cdn/LODOZEHD.js +4 -0
- package/dist/cdn/LQCH23JZ.js +4 -0
- package/dist/cdn/LT7ASUQG.js +4 -0
- package/dist/cdn/{TRGKRUEY.js → LYOZJAZO.js} +2 -2
- package/dist/cdn/{IN4RK6U7.js → LYWUI6SE.js} +2 -2
- package/dist/cdn/LZ4V4NSB.js +4 -0
- package/dist/cdn/{Y5ECN5RN.js → M3TZJMCZ.js} +2 -2
- package/dist/cdn/MEWWJMYB.js +4 -0
- package/dist/cdn/MIULWZSQ.js +4 -0
- package/dist/cdn/MM5NKI3H.js +4 -0
- package/dist/cdn/MPWUMW4B.js +4 -0
- package/dist/cdn/MSZJ3767.js +4 -0
- package/dist/cdn/MUBNABDT.js +5 -0
- package/dist/cdn/{LUGLNVKJ.js → N3Z7T6N3.js} +2 -2
- package/dist/cdn/{AEQ2EA5V.js → NCKRVQKA.js} +2 -2
- package/dist/cdn/NNP3H5C4.js +4 -0
- package/dist/cdn/{VFF44TJ6.js → NPCC6UAS.js} +2 -2
- package/dist/cdn/NROGMGLZ.js +4 -0
- package/dist/cdn/{3BKVP63O.js → NUH3NFTE.js} +2 -2
- package/dist/cdn/NX2NBSOC.js +4 -0
- package/dist/cdn/NXMJJ3F6.js +4 -0
- package/dist/cdn/OHQCHOHD.js +4 -0
- package/dist/cdn/OM6Z4WFO.js +9 -0
- package/dist/cdn/{WAQVWOOL.js → ONSE6PNO.js} +2 -2
- package/dist/cdn/{VX7UD4NL.js → OQMBKALI.js} +1 -1
- package/dist/cdn/{4LHPWTSQ.js → OSGO7MK5.js} +2 -2
- package/dist/cdn/OZLCRQM6.js +4 -0
- package/dist/cdn/{66XP7ISP.js → PAKPV66E.js} +2 -2
- package/dist/cdn/PCR6Z2O5.js +4 -0
- package/dist/cdn/{HBH2NXCY.js → PEFD6NCJ.js} +2 -2
- package/dist/cdn/PFAA4L2X.js +4 -0
- package/dist/cdn/PLL4XWNN.js +4 -0
- package/dist/cdn/PO7CRWYJ.js +4 -0
- package/dist/cdn/POHWJNYF.js +4 -0
- package/dist/cdn/{PQFM7YFO.js → Q2EQSZBN.js} +2 -2
- package/dist/cdn/Q34RBA4M.js +4 -0
- package/dist/cdn/Q54RWROQ.js +4 -0
- package/dist/cdn/Q7X3ULRJ.js +4 -0
- package/dist/cdn/QF57YWVQ.js +4 -0
- package/dist/cdn/{C63TPNGG.js → QQ7H3AMS.js} +2 -2
- package/dist/cdn/QR2E7VBB.js +4 -0
- package/dist/cdn/QT7KMOWO.js +4 -0
- package/dist/cdn/{M57KTCMF.js → QXTIJKNU.js} +2 -2
- package/dist/cdn/{5RONE6G5.js → R7NM5AH7.js} +2 -2
- package/dist/cdn/{FRWCQ2AN.js → RALZE7OT.js} +1 -1
- package/dist/cdn/RL7XXO3R.js +4 -0
- package/dist/cdn/{LPV53QOR.js → RQKSDYLX.js} +2 -2
- package/dist/cdn/{PHS7UW45.js → RVUL6XZ4.js} +2 -2
- package/dist/cdn/S7EC4U4R.js +4 -0
- package/dist/cdn/S7PFLWKP.js +4 -0
- package/dist/cdn/S7WCHV76.js +4 -0
- package/dist/cdn/{GIBKNUFW.js → SA6R7VMZ.js} +2 -2
- package/dist/cdn/{U3KXM6JN.js → SITBBEV5.js} +1 -1
- package/dist/cdn/{F26G26OG.js → SLS2ETGS.js} +2 -2
- package/dist/cdn/{TUU22AO6.js → SXNF4BPM.js} +2 -2
- package/dist/cdn/{A2W2SQO4.js → SZY2OBWT.js} +2 -2
- package/dist/cdn/T35ZPHIA.js +4 -0
- package/dist/cdn/{UTKHOHKS.js → T7I7Z47V.js} +2 -2
- package/dist/cdn/THJVAUUE.js +4 -0
- package/dist/cdn/TILK5KSH.js +4 -0
- package/dist/cdn/{ZQLSVPWL.js → TMGRWN3Z.js} +2 -2
- package/dist/cdn/TOTISPWX.js +4 -0
- package/dist/cdn/TSWX7XZ7.js +4 -0
- package/dist/cdn/U74DVE5Q.js +4 -0
- package/dist/cdn/UEJFTVBJ.js +4 -0
- package/dist/cdn/UGAXLJ4Q.js +4 -0
- package/dist/cdn/{C7DCQBPT.js → UNKPTBTQ.js} +2 -2
- package/dist/cdn/UQTKVA6B.js +4 -0
- package/dist/cdn/UT7GS2ZR.js +4 -0
- package/dist/cdn/UUM2LN5Q.js +4 -0
- package/dist/cdn/UWDWRFQH.js +4 -0
- package/dist/cdn/{V27L2ZBV.js → UY4Q23MA.js} +2 -2
- package/dist/cdn/{AWI3K6XR.js → V46INBRT.js} +2 -2
- package/dist/cdn/{HNRGCE2E.js → V4ALNFKD.js} +2 -2
- package/dist/cdn/VECYOE7G.js +4 -0
- package/dist/cdn/{UNORCWD2.js → VGTZRMKO.js} +2 -2
- package/dist/cdn/VN5OVKU2.js +4 -0
- package/dist/cdn/VWVSXCUG.js +4 -0
- package/dist/cdn/{QQ7NXCBU.js → W2X2UUYX.js} +2 -2
- package/dist/cdn/{UEGRTPH3.js → WAH4QSJ6.js} +2 -2
- package/dist/cdn/WIBRL54B.js +4 -0
- package/dist/cdn/WWICGHWH.js +4 -0
- package/dist/cdn/WZ56H5KX.js +4 -0
- package/dist/cdn/X3KBCDFH.js +4 -0
- package/dist/cdn/XBQKZOT5.js +4 -0
- package/dist/cdn/XCWYRGWI.js +4 -0
- package/dist/cdn/XECVPW7O.js +4 -0
- package/dist/cdn/XHTCFRBS.js +4 -0
- package/dist/cdn/XKHAY4LG.js +4 -0
- package/dist/cdn/{I52NZLXX.js → XKPLNXY7.js} +2 -2
- package/dist/cdn/XOSF4MXX.js +4 -0
- package/dist/cdn/XRNFCVLN.js +4 -0
- package/dist/cdn/{QJQTAHNS.js → XW2RZWSX.js} +2 -2
- package/dist/cdn/{3LTZOKPZ.js → YPJOQCIN.js} +1 -1
- package/dist/cdn/YQHZZR3B.js +4 -0
- package/dist/cdn/YXKMVGLH.js +4 -0
- package/dist/cdn/YZ5T2AKC.js +4 -0
- package/dist/cdn/{UODLYZYS.js → YZ7AVRNL.js} +2 -2
- package/dist/cdn/{DK6N3VRZ.js → Z3XMBYNJ.js} +2 -2
- package/dist/cdn/ZI6IATLS.js +4 -0
- package/dist/cdn/ZNXQQ435.js +4 -0
- package/dist/cdn/{B4YSX2BI.js → ZPZBN5F2.js} +1 -1
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +42 -38
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +79 -61
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +24 -10
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +5 -5
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +9 -0
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
- package/dist/components/arcgis-color-select/customElement.js +59 -0
- package/dist/components/arcgis-color-select/index.d.ts +5 -0
- package/dist/components/arcgis-color-select/index.js +5 -0
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
- package/dist/components/arcgis-daylight/customElement.js +158 -160
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +29 -7
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +30 -19
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +192 -79
- package/dist/components/arcgis-elevation-profile/customElement.js +576 -16
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +13 -12
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.d.ts +4 -3
- package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.js +4 -3
- package/dist/components/arcgis-features/customElement.d.ts +29 -14
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -4
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +19 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
- package/dist/components/arcgis-link-chart/customElement.js +22 -27
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +3 -3
- package/dist/components/arcgis-map/customElement.d.ts +479 -64
- package/dist/components/arcgis-map/customElement.js +28 -33
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +25 -34
- package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
- package/dist/components/arcgis-measurement-content/index.js +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +43 -10
- package/dist/components/arcgis-popup/customElement.js +8 -5
- package/dist/components/arcgis-print/customElement.d.ts +22 -6
- package/dist/components/arcgis-print/customElement.js +22 -19
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +75 -18
- package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
- package/dist/components/arcgis-print-exports-panel/index.js +4 -1
- package/dist/components/arcgis-print-format-select/customElement.js +15 -16
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
- package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +5 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +10 -10
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +23 -22
- package/dist/components/arcgis-print-template-selector/customElement.js +16 -17
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +66 -11
- package/dist/components/arcgis-scene/customElement.js +25 -30
- package/dist/components/arcgis-search/customElement.d.ts +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +3 -3
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +38 -52
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/index.js +10 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +18 -2
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +5 -0
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/controllers/useHandles.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +11895 -10538
- package/dist/docs/docs.json +6805 -5580
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +581 -506
- package/dist/docs/web-types.json +1405 -1098
- package/dist/index.d.ts +78 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +34 -30
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +7 -4
- package/dist/types/lumina.d.ts +54 -29
- package/dist/types/preact.d.ts +59 -31
- package/dist/types/preact10.d.ts +64 -33
- package/dist/types/react.d.ts +64 -33
- package/dist/types/stencil.d.ts +54 -29
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/26MREIVX.js +0 -4
- package/dist/cdn/2HCAQJDA.js +0 -4
- package/dist/cdn/2NGYP2TU.js +0 -4
- package/dist/cdn/2OPKEDRF.js +0 -4
- package/dist/cdn/2QQXT6S3.js +0 -4
- package/dist/cdn/2U56XZA5.js +0 -4
- package/dist/cdn/3LFISTCL.js +0 -4
- package/dist/cdn/3QEGCSXN.js +0 -4
- package/dist/cdn/3TXEUTMX.js +0 -4
- package/dist/cdn/4ELLMRLV.js +0 -4
- package/dist/cdn/4LG44MCV.js +0 -4
- package/dist/cdn/52TIW2GW.js +0 -4
- package/dist/cdn/5K7B7ZV3.js +0 -4
- package/dist/cdn/6OBLJBSZ.js +0 -4
- package/dist/cdn/6UIGZRW5.js +0 -4
- package/dist/cdn/6V2MNKRP.js +0 -4
- package/dist/cdn/6WKL7XXK.js +0 -4
- package/dist/cdn/752MVXWG.js +0 -4
- package/dist/cdn/7HIVI5W6.js +0 -4
- package/dist/cdn/7IIYFAL2.js +0 -4
- package/dist/cdn/7LENP7UQ.js +0 -4
- package/dist/cdn/7M3YBBT4.js +0 -4
- package/dist/cdn/7OXV6AQA.js +0 -4
- package/dist/cdn/AT7HVKEZ.js +0 -4
- package/dist/cdn/BU6LB2N4.js +0 -4
- package/dist/cdn/CI7PXTLU.js +0 -4
- package/dist/cdn/CP23UGPK.js +0 -4
- package/dist/cdn/CP2HQZUP.js +0 -9
- package/dist/cdn/D332NHX4.js +0 -4
- package/dist/cdn/DELN7ZGL.js +0 -5
- package/dist/cdn/DHEMTNFY.js +0 -4
- package/dist/cdn/EBLK7WAD.js +0 -4
- package/dist/cdn/EEVS67WB.js +0 -4
- package/dist/cdn/EHSC3ELP.js +0 -4
- package/dist/cdn/F67NPTF5.js +0 -4
- package/dist/cdn/FESFNS34.js +0 -4
- package/dist/cdn/FFQ5PPQJ.js +0 -4
- package/dist/cdn/FHIPTY2Q.js +0 -4
- package/dist/cdn/FSHOPPLQ.js +0 -4
- package/dist/cdn/FSU3E6AQ.js +0 -4
- package/dist/cdn/FVILGVFZ.js +0 -4
- package/dist/cdn/G4H5D4DJ.js +0 -4
- package/dist/cdn/G54Y3XZX.js +0 -4
- package/dist/cdn/GFOOUTML.js +0 -4
- package/dist/cdn/GLOIWZ3O.js +0 -4
- package/dist/cdn/H3JJOTON.js +0 -4
- package/dist/cdn/H7YNL2TB.js +0 -4
- package/dist/cdn/HJU6AZMW.js +0 -4
- package/dist/cdn/HK3XAWSI.js +0 -4
- package/dist/cdn/HQCVE2GO.js +0 -4
- package/dist/cdn/HVWVEPEF.js +0 -4
- package/dist/cdn/HYQZEUBU.js +0 -4
- package/dist/cdn/HYTYRGG4.js +0 -4
- package/dist/cdn/IC6SSSQO.js +0 -4
- package/dist/cdn/IDDFJ4DV.js +0 -4
- package/dist/cdn/ILRNOAV4.js +0 -4
- package/dist/cdn/IT3LUX3O.js +0 -4
- package/dist/cdn/IUY6HYRA.js +0 -4
- package/dist/cdn/JQ5GUQ7P.js +0 -4
- package/dist/cdn/JQMPF5IV.js +0 -4
- package/dist/cdn/KRGNBQ5Z.js +0 -4
- package/dist/cdn/KRM4ZBQX.js +0 -4
- package/dist/cdn/LDR7F5EQ.js +0 -4
- package/dist/cdn/LHRDTGQY.js +0 -4
- package/dist/cdn/LJGUZAHH.js +0 -4
- package/dist/cdn/LYR5T5U2.js +0 -4
- package/dist/cdn/M5TG4CFU.js +0 -4
- package/dist/cdn/MBMBYUJM.js +0 -4
- package/dist/cdn/MDSY3NEJ.js +0 -4
- package/dist/cdn/MIILDVMA.js +0 -4
- package/dist/cdn/MJTBUONI.js +0 -4
- package/dist/cdn/MROG6VEE.js +0 -4
- package/dist/cdn/N4IL4AAP.js +0 -4
- package/dist/cdn/NAUZASE4.js +0 -4
- package/dist/cdn/NKFSCGG6.js +0 -4
- package/dist/cdn/NSWHZFRT.js +0 -4
- package/dist/cdn/O6ETD4MH.js +0 -4
- package/dist/cdn/OKDOTHSU.js +0 -4
- package/dist/cdn/OM64AHWG.js +0 -4
- package/dist/cdn/PDTW4YVA.js +0 -4
- package/dist/cdn/PIAPT753.js +0 -4
- package/dist/cdn/PLSSYDMD.js +0 -4
- package/dist/cdn/PQELEFJN.js +0 -4
- package/dist/cdn/PTBGNUJM.js +0 -4
- package/dist/cdn/PTVDQWLH.js +0 -4
- package/dist/cdn/PV45DKP7.js +0 -4
- package/dist/cdn/QL45S7N3.js +0 -4
- package/dist/cdn/R52GAK7D.js +0 -4
- package/dist/cdn/RESW7W5U.js +0 -4
- package/dist/cdn/RGWLLT5R.js +0 -4
- package/dist/cdn/RR5AN2LO.js +0 -4
- package/dist/cdn/RRFZLG2A.js +0 -4
- package/dist/cdn/RRSFGBWH.js +0 -4
- package/dist/cdn/RRTNNJPP.js +0 -4
- package/dist/cdn/RVLHZ2VH.js +0 -4
- package/dist/cdn/RZEP2TRT.js +0 -4
- package/dist/cdn/S6KB7IUN.js +0 -4
- package/dist/cdn/SAUW35NW.js +0 -4
- package/dist/cdn/SNL2OTTM.js +0 -4
- package/dist/cdn/SSWX5ZC5.js +0 -4
- package/dist/cdn/STEBIRS4.js +0 -4
- package/dist/cdn/SVWGIDDU.js +0 -4
- package/dist/cdn/SWZPUBX6.js +0 -4
- package/dist/cdn/SXGMPEP3.js +0 -4
- package/dist/cdn/TELHVYR4.js +0 -4
- package/dist/cdn/UKIS5KFN.js +0 -4
- package/dist/cdn/V3W3XWBZ.js +0 -4
- package/dist/cdn/VD6BHESH.js +0 -4
- package/dist/cdn/VS3WT3CK.js +0 -4
- package/dist/cdn/W75DFBEN.js +0 -4
- package/dist/cdn/WFURIXQT.js +0 -4
- package/dist/cdn/WPILMPPG.js +0 -4
- package/dist/cdn/WVIM6FIJ.js +0 -4
- package/dist/cdn/X262DH36.js +0 -4
- package/dist/cdn/X3ERGEZW.js +0 -4
- package/dist/cdn/X54JTEIS.js +0 -4
- package/dist/cdn/XGEGIP2X.js +0 -4
- package/dist/cdn/XI2OTXXN.js +0 -4
- package/dist/cdn/Y363VSHL.js +0 -4
- package/dist/cdn/YKC76WL2.js +0 -4
- package/dist/cdn/YWUALWAR.js +0 -4
- package/dist/cdn/ZCOROTYT.js +0 -4
- package/dist/cdn/ZJXPCSTB.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/chunks/uiController.js +0 -50
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
- package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
- package/dist/utils/mapping-utils.d.ts +0 -2
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
1
|
+
import { c as F } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as U, html as a } from "lit";
|
|
3
3
|
import { ref as v } from "lit/directives/ref.js";
|
|
4
|
-
import { keyed as
|
|
4
|
+
import { keyed as A } from "lit/directives/keyed.js";
|
|
5
5
|
import { watch as x } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { isHTTPSProtocol as b, isDataProtocol as
|
|
7
|
-
import { formatDate as
|
|
8
|
-
import
|
|
9
|
-
import { LitElement as
|
|
10
|
-
import { usePropertyChange as
|
|
11
|
-
import { classes as
|
|
12
|
-
import { generateGuid as
|
|
13
|
-
import { u as
|
|
14
|
-
import { m as
|
|
15
|
-
import { H as
|
|
16
|
-
import
|
|
17
|
-
import H from "@arcgis/core/core/
|
|
18
|
-
import { property as _, subclass as Z } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
6
|
+
import { isHTTPSProtocol as b, isDataProtocol as y } from "@arcgis/core/core/urlUtils.js";
|
|
7
|
+
import { formatDate as C, convertDateFormatToIntlOptions as D } from "@arcgis/core/intl.js";
|
|
8
|
+
import M from "@arcgis/core/widgets/Bookmarks/BookmarksViewModel.js";
|
|
9
|
+
import { LitElement as z, createEvent as B, safeClassMap as c, nothing as E } from "@arcgis/lumina";
|
|
10
|
+
import { usePropertyChange as N } from "@arcgis/lumina/controllers";
|
|
11
|
+
import { classes as L } from "@arcgis/toolkit/dom";
|
|
12
|
+
import { generateGuid as O } from "@arcgis/toolkit/string";
|
|
13
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
14
|
+
import { m as V } from "../../chunks/useViewModel.js";
|
|
15
|
+
import { H as q } from "../../chunks/heading.js";
|
|
16
|
+
import R from "@arcgis/core/core/Accessor.js";
|
|
17
|
+
import { property as _, subclass as H } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
19
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
19
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
22
|
-
const j = M`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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}:host{display:flex}.arcgis-bookmarks{width:100%;overflow:hidden auto;transition:max-height .25s ease-in-out}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-internal-table-row-background: transparent;pointer-events:none}`, d = "arcgis-bookmarks", I = `${d}__authoring`, C = `${d}__bookmark`, l = {
|
|
20
|
+
v5.0.0-next.51 */
|
|
21
|
+
const Z = U`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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}:host{display:flex}.arcgis-bookmarks{width:100%;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .arcgis-bookmarks{display:none}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`, d = "arcgis-bookmarks", T = `${d}__authoring`, S = `${d}__bookmark`, l = {
|
|
23
22
|
base: d,
|
|
24
23
|
empty: `${d}__empty`,
|
|
25
24
|
noBookmarksHeader: `${d}__no-bookmarks-heading`,
|
|
@@ -34,19 +33,19 @@ const j = M`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .
|
|
|
34
33
|
addBookmarkInput: `${d}__add-bookmark-input`,
|
|
35
34
|
dragEnabled: `${d}--drag-enabled`,
|
|
36
35
|
bookmarkImage: `${d}__image`,
|
|
37
|
-
bookmarkImageContainer: `${
|
|
38
|
-
bookmarkContent: `${
|
|
39
|
-
bookmarkContentLabel: `${
|
|
40
|
-
authoring:
|
|
41
|
-
authoringImageContainer: `${
|
|
42
|
-
authoringRefreshThumbnailButton: `${
|
|
36
|
+
bookmarkImageContainer: `${S}-image-container`,
|
|
37
|
+
bookmarkContent: `${S}-content`,
|
|
38
|
+
bookmarkContentLabel: `${S}-content-label`,
|
|
39
|
+
authoring: T,
|
|
40
|
+
authoringImageContainer: `${T}-image-container`,
|
|
41
|
+
authoringRefreshThumbnailButton: `${T}-refresh-thumbnail-button`
|
|
43
42
|
};
|
|
44
|
-
var
|
|
45
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
43
|
+
var j = Object.defineProperty, G = Object.getOwnPropertyDescriptor, g = (n, e, t, i) => {
|
|
44
|
+
for (var r = i > 1 ? void 0 : i ? G(e, t) : e, o = n.length - 1, s; o >= 0; o--)
|
|
46
45
|
(s = n[o]) && (r = (i ? s(e, t, r) : s(r)) || r);
|
|
47
|
-
return i && r &&
|
|
46
|
+
return i && r && j(e, t, r), r;
|
|
48
47
|
};
|
|
49
|
-
let m = class extends
|
|
48
|
+
let m = class extends R {
|
|
50
49
|
constructor(n) {
|
|
51
50
|
super(n);
|
|
52
51
|
}
|
|
@@ -67,7 +66,7 @@ let m = class extends H {
|
|
|
67
66
|
if (this._screenshotUrl)
|
|
68
67
|
return this._screenshotUrl;
|
|
69
68
|
const n = this.editedBookmark?.thumbnail?.url ?? "";
|
|
70
|
-
return n ?? (
|
|
69
|
+
return n ?? (y(n) ? n : null);
|
|
71
70
|
}
|
|
72
71
|
set screenshotUrl(n) {
|
|
73
72
|
this._screenshotUrl = n;
|
|
@@ -122,24 +121,24 @@ g([
|
|
|
122
121
|
_()
|
|
123
122
|
], m.prototype, "creatingBookmark", 2);
|
|
124
123
|
m = g([
|
|
125
|
-
|
|
124
|
+
H("UserState")
|
|
126
125
|
], m);
|
|
127
|
-
const
|
|
128
|
-
class
|
|
126
|
+
const J = V(M);
|
|
127
|
+
class K extends z {
|
|
129
128
|
constructor() {
|
|
130
|
-
super(...arguments), this._guid =
|
|
129
|
+
super(...arguments), this._guid = O(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = P({}), this.viewModel = J(this), this._storeEditFlowItemNode = (e) => {
|
|
131
130
|
this._editFlowItemEl = e;
|
|
132
131
|
}, this._storeRootFlowItem = (e) => {
|
|
133
132
|
this._rootFlowItemEl = e;
|
|
134
133
|
}, this._storeAddFlowItemNode = (e) => {
|
|
135
134
|
this._addFlowItemEl = e;
|
|
136
|
-
}, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.view = this.viewModel.view, this.icon = "bookmark", this.closed = !1, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultEditOptions = this.viewModel.defaultEditOptions, this.bookmarks = this.viewModel.bookmarks, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.goToOverride = this.viewModel.goToOverride, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.hideFlow = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = this.viewModel.capabilities.time, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisBookmarkEdit =
|
|
135
|
+
}, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.view = this.viewModel.view, this.icon = "bookmark", this.closed = !1, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultEditOptions = this.viewModel.defaultEditOptions, this.bookmarks = this.viewModel.bookmarks, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.goToOverride = this.viewModel.goToOverride, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.hideFlow = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = this.viewModel.capabilities.time, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisBookmarkEdit = B(), this.arcgisBookmarkSelect = B(), this.arcgisPropertyChange = N()("state"), this.arcgisReady = B(), this.arcgisClose = B();
|
|
137
136
|
}
|
|
138
137
|
static {
|
|
139
|
-
this.properties = { _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, view: 0, referenceElement: 1, position: 3, icon: 1, closed:
|
|
138
|
+
this.properties = { _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, view: 0, referenceElement: 1, position: 3, icon: 1, closed: 7, defaultCreateOptions: 0, defaultEditOptions: 0, bookmarks: 0, disabled: 5, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, goToOverride: 0, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, hideFlow: 5, showHeading: 5, hideThumbnail: 5, hideTime: 5, timeDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
140
139
|
}
|
|
141
140
|
static {
|
|
142
|
-
this.styles =
|
|
141
|
+
this.styles = Z;
|
|
143
142
|
}
|
|
144
143
|
async destroy() {
|
|
145
144
|
await this.manager.destroy();
|
|
@@ -157,6 +156,9 @@ class Q extends L {
|
|
|
157
156
|
x(() => this._userState?.creatingBookmark, (e) => this._userCreatingBookmark = !!e, { initial: !0 })
|
|
158
157
|
]);
|
|
159
158
|
}
|
|
159
|
+
_handleClose() {
|
|
160
|
+
this.closed = !0, this.arcgisClose.emit();
|
|
161
|
+
}
|
|
160
162
|
startAddBookmark() {
|
|
161
163
|
this._userState = new m({
|
|
162
164
|
state: "add"
|
|
@@ -181,7 +183,7 @@ class Q extends L {
|
|
|
181
183
|
const { _userState: e, _urlEditInputNode: t } = this, i = t?.value;
|
|
182
184
|
if (!e?.editedBookmark || !i)
|
|
183
185
|
return;
|
|
184
|
-
e.validationState = void 0,
|
|
186
|
+
e.validationState = void 0, y(e.editedBookmark.thumbnail?.url ?? "") && (e.screenshotUrl = e.editedBookmark.thumbnail?.url);
|
|
185
187
|
const r = { url: i };
|
|
186
188
|
b(r.url) && (e.customUrl = i, e.editedBookmark.thumbnail = r);
|
|
187
189
|
}
|
|
@@ -192,8 +194,8 @@ class Q extends L {
|
|
|
192
194
|
if (!e)
|
|
193
195
|
return "";
|
|
194
196
|
const t = this.viewModel.view, i = t && "timeZone" in t ? t.timeZone : "system";
|
|
195
|
-
return
|
|
196
|
-
...
|
|
197
|
+
return C(e, {
|
|
198
|
+
...D("short-date"),
|
|
197
199
|
timeZone: i
|
|
198
200
|
});
|
|
199
201
|
}
|
|
@@ -201,8 +203,8 @@ class Q extends L {
|
|
|
201
203
|
if (!e)
|
|
202
204
|
return "";
|
|
203
205
|
const t = this.viewModel.view, i = t && "timeZone" in t ? t.timeZone : "system";
|
|
204
|
-
return
|
|
205
|
-
...
|
|
206
|
+
return C(e, {
|
|
207
|
+
...D("long-time"),
|
|
206
208
|
timeZone: i
|
|
207
209
|
});
|
|
208
210
|
}
|
|
@@ -215,8 +217,8 @@ class Q extends L {
|
|
|
215
217
|
return;
|
|
216
218
|
this._lastDragDetail = e;
|
|
217
219
|
const f = Array.from(o.children).filter((k) => k?.matches("calcite-list-item")).map((k) => k.value);
|
|
218
|
-
i.sort((k,
|
|
219
|
-
const $ = f.indexOf(k.uid), w = f.indexOf(
|
|
220
|
+
i.sort((k, I) => {
|
|
221
|
+
const $ = f.indexOf(k.uid), w = f.indexOf(I.uid);
|
|
220
222
|
return $ > w ? 1 : $ < w ? -1 : 0;
|
|
221
223
|
});
|
|
222
224
|
}
|
|
@@ -236,7 +238,7 @@ class Q extends L {
|
|
|
236
238
|
}
|
|
237
239
|
_storeCurrentUrl() {
|
|
238
240
|
const { _userState: e } = this, t = e?.editedBookmark?.thumbnail?.url;
|
|
239
|
-
t && (b(t) ? e.customUrl = t :
|
|
241
|
+
t && (b(t) ? e.customUrl = t : y(t) && (e.screenshotUrl = t));
|
|
240
242
|
}
|
|
241
243
|
async _handleThumbnailTypeSelect(e) {
|
|
242
244
|
const { _userState: t } = this;
|
|
@@ -332,11 +334,11 @@ class Q extends L {
|
|
|
332
334
|
t.insertBefore(i, t.children[r]);
|
|
333
335
|
}
|
|
334
336
|
render() {
|
|
335
|
-
return a`<div class=${c(
|
|
337
|
+
return a`<div class=${c(l.base)}>${this._renderBookmarksContainer()}</div>`;
|
|
336
338
|
}
|
|
337
339
|
_renderNoBookmarksContainer(e) {
|
|
338
340
|
const { messages: t, viewModel: { state: i } } = this;
|
|
339
|
-
return !e.length && i !== "loading" ? a`<div class=${c(l.empty)}><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${
|
|
341
|
+
return !e.length && i !== "loading" ? a`<div class=${c(l.empty)}><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${q({ class: l.noBookmarksHeader, level: this.headingLevel, children: t.noBookmarksHeading })}<p class=${c(l.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>` : null;
|
|
340
342
|
}
|
|
341
343
|
_renderEditBookmarkFlowItems() {
|
|
342
344
|
const e = this._userStateValue === "edit", t = this._userState?.editedBookmark;
|
|
@@ -347,7 +349,7 @@ class Q extends L {
|
|
|
347
349
|
}
|
|
348
350
|
_renderBookmarksContainer() {
|
|
349
351
|
const { viewModel: { state: e, bookmarks: t }, dragEnabled: i, messages: r, disabled: o, filterPlaceholder: s, filterText: u, closed: h, headingLevel: f } = this, k = t.filter((p) => p != null), $ = k.length ? a`<calcite-list class=${c(l.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${s} .filterProps=${["label", "description", "metadata"]} .filterText=${u} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel ?? ""} selection-appearance=border selection-mode=none @calciteListDragEnd=${(p) => this._handleCalciteListDragEnd(p.detail)} @calciteListFilter=${(p) => this.filterText = p.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(p) => this._onCalciteListOrderChange(p.detail)}>${this._renderBookmarkItems(k)}${this.showFilter ? a`<div class=${c(l.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>` : null}</calcite-list>` : null, w = [
|
|
350
|
-
a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${h} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading ? r.componentLabel : void 0} .headingLevel=${f} .loading=${e === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${
|
|
352
|
+
a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${h} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading ? r.componentLabel : void 0} .headingLevel=${f} .loading=${e === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${v(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(k)}${$}${this._renderAddBookmarkButton()}</calcite-flow-item>`,
|
|
351
353
|
this._renderAddingBookmark(),
|
|
352
354
|
this._renderEditBookmarkFlowItems()
|
|
353
355
|
];
|
|
@@ -355,14 +357,14 @@ class Q extends L {
|
|
|
355
357
|
}
|
|
356
358
|
_renderAddBookmarkButton() {
|
|
357
359
|
const { messages: e, disabled: t, viewModel: { view: i, state: r } } = this, o = this._userCreatingBookmark;
|
|
358
|
-
return i && r !== "loading" && this.showAddBookmarkButton ? a`<calcite-fab appearance=outline-fill class=${c(l.addBookmarkButton)} .disabled=${t || o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark ??
|
|
360
|
+
return i && r !== "loading" && this.showAddBookmarkButton ? a`<calcite-fab appearance=outline-fill class=${c(l.addBookmarkButton)} .disabled=${t || o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark ?? E}></calcite-fab>` : null;
|
|
359
361
|
}
|
|
360
362
|
_renderEditContainer(e) {
|
|
361
363
|
const { messages: t } = this, i = `${t.edit} ${this._getBookmarkTitle(e)}`;
|
|
362
|
-
return this.showEditBookmarkButton ? a`<calcite-action appearance=transparent icon=pencil @click=${() => this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i ??
|
|
364
|
+
return this.showEditBookmarkButton ? a`<calcite-action appearance=transparent icon=pencil @click=${() => this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i ?? E}></calcite-action>` : null;
|
|
363
365
|
}
|
|
364
366
|
_renderBookmarkImage(e, t) {
|
|
365
|
-
return t ? a`<img alt class=${c(l.bookmarkImage)} src=${e.thumbnail?.url ??
|
|
367
|
+
return t ? a`<img alt class=${c(l.bookmarkImage)} src=${e.thumbnail?.url ?? E}>` : null;
|
|
366
368
|
}
|
|
367
369
|
_renderBookmarkTimeSwitch(e) {
|
|
368
370
|
const { messages: t, viewModel: { view: i } } = this, { timeExtent: r } = e;
|
|
@@ -398,7 +400,7 @@ class Q extends L {
|
|
|
398
400
|
return a`<div class=${c(l.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e, t)}${this._renderBookmarkImage(e, t)}${this._renderBookmarkActiveLoader(e, t)}${this._renderBookmarkImageIcon(e, t)}</div>`;
|
|
399
401
|
}
|
|
400
402
|
_renderBookmark(e) {
|
|
401
|
-
return
|
|
403
|
+
return A(e.uid, a`<calcite-list-item class=${c(L({ [l.dragEnabled]: this.dragEnabled }))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${() => this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`);
|
|
402
404
|
}
|
|
403
405
|
_renderBookmarkContent(e) {
|
|
404
406
|
return a`<div class=${c(l.bookmarkContent)} slot=content><span class=${c(l.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e, !0)}</div>`;
|
|
@@ -420,7 +422,7 @@ class Q extends L {
|
|
|
420
422
|
return t.time && (i?.timeExtent ?? r) ? a`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>` : null;
|
|
421
423
|
}
|
|
422
424
|
_renderEditingBookmarkImage(e) {
|
|
423
|
-
const { _userThumbnailState: t } = this, i = e.thumbnail?.url ?? "", r = b(i) ? t === "url" :
|
|
425
|
+
const { _userThumbnailState: t } = this, i = e.thumbnail?.url ?? "", r = b(i) ? t === "url" : y(i) ? t === "screenshot" : null;
|
|
424
426
|
if (r)
|
|
425
427
|
return this._renderBookmarkImage(e, r);
|
|
426
428
|
}
|
|
@@ -434,7 +436,7 @@ class Q extends L {
|
|
|
434
436
|
}
|
|
435
437
|
_renderEditingBookmarkUrlInput(e) {
|
|
436
438
|
const { messages: t, _userValidationState: i, _userThumbnailState: r } = this, o = e.thumbnail?.url ?? "", s = b(o) ? o : void 0, u = o && i === "absolute-url-required";
|
|
437
|
-
return r === "url" ? a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t ? `https://<${t.imageUrlPlaceholder}>` : void 0} required title=${t.imageUrlTooltip ??
|
|
439
|
+
return r === "url" ? a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t ? `https://<${t.imageUrlPlaceholder}>` : void 0} required title=${t.imageUrlTooltip ?? E} type=text .value=${s} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${v(this._storeUrlEditInput)}></calcite-input>${u ? a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>` : null}</calcite-label>` : null;
|
|
438
440
|
}
|
|
439
441
|
_renderThumbnailSelector() {
|
|
440
442
|
const { hideThumbnail: e, messages: t, _userThumbnailState: i } = this;
|
|
@@ -464,7 +466,7 @@ class Q extends L {
|
|
|
464
466
|
}} ${v(this._storeAddFlowItemNode)}><div class=${c(l.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>` : null;
|
|
465
467
|
}
|
|
466
468
|
}
|
|
467
|
-
|
|
469
|
+
F("arcgis-bookmarks", K);
|
|
468
470
|
export {
|
|
469
|
-
|
|
471
|
+
K as ArcgisBookmarks
|
|
470
472
|
};
|
|
@@ -5,7 +5,7 @@ import { default as BuildingExplorer } from '@arcgis/core/widgets/BuildingExplor
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useBuildingExplorerWidget: (component: LitElement & Pick<BuildingExplorer, "
|
|
8
|
+
declare const useBuildingExplorerWidget: (component: LitElement & Pick<BuildingExplorer, "label" | "viewModel" | "icon" | "layers" | "headingLevel"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.BuildingExplorerViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -40,9 +40,9 @@ declare const useBuildingExplorerWidget: (component: LitElement & Pick<BuildingE
|
|
|
40
40
|
export declare class ArcgisBuildingExplorer extends LitElement {
|
|
41
41
|
/**
|
|
42
42
|
* The view associated with the component.
|
|
43
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
43
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Building Explorer component will be associated with a map or scene component rather than using the `view` property.
|
|
44
44
|
*/
|
|
45
|
-
view?: __esri.SceneView
|
|
45
|
+
view?: nullish | __esri.SceneView;
|
|
46
46
|
/**
|
|
47
47
|
* If true, the component will not be destroyed automatically when it is
|
|
48
48
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -99,7 +99,7 @@ export declare class ArcgisBuildingExplorer extends LitElement {
|
|
|
99
99
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BuildingExplorer-BuildingExplorerViewModel.html#phase)
|
|
100
100
|
*/
|
|
101
101
|
readonly phase: __esri.BuildingPhase;
|
|
102
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
102
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
103
103
|
position?: __esri.UIPosition;
|
|
104
104
|
/**
|
|
105
105
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -117,7 +117,7 @@ export declare class ArcgisBuildingExplorer extends LitElement {
|
|
|
117
117
|
*
|
|
118
118
|
* @default "disabled"
|
|
119
119
|
*/
|
|
120
|
-
readonly state: "ready" | "
|
|
120
|
+
readonly state: "ready" | "disabled" | "loading" | "failed";
|
|
121
121
|
/** Permanently destroy the component. */
|
|
122
122
|
destroy(): Promise<void>;
|
|
123
123
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -6,7 +6,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as a } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.51 */
|
|
10
10
|
const n = a`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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}:host{max-height:calc(100vh - 30px);min-height:32px;transition:max-height .25s ease-in-out;overflow-y:auto;--esri-widget-padding: 12px 15px}.esri-widget{background-color:var(--calcite-color-foreground-1)}.esri-building-level-picker-label{text-align:center;color:var(--calcite-color-border-2);height:40px;font-size:40px;line-height:46px}.esri-building-level-picker-label>span{pointer-events:none}.esri-building-level-picker-label,.esri-building-level-picker-label--empty{cursor:pointer;text-align:center;width:90px;transition:opacity .3s;position:relative}.esri-building-level-picker-label.esri-building-level-picker-label--active,.esri-building-level-picker-label--empty.esri-building-level-picker-label--active{color:var(--calcite-color-brand)}.esri-building-level-picker-label--empty{cursor:default;color:var(--calcite-color-border-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-light)}.esri-building-level-picker-label__clear-button{appearance:none;margin-inline-start:7px;display:none;position:absolute;inset-block-start:-4px}.esri-building-level-picker-label--active .esri-building-level-picker-label__clear-button{display:inline-block}.esri-building-level-picker-item__base{pointer-events:none;will-change:height;position:absolute;left:50%;transform:translate(-50%,-50%)}.esri-building-level-picker-item__base .rect{background-color:rgb(from var(--calcite-color-foreground-1) r g b/70%);pointer-events:none;will-change:height;border:var(--calcite-border-width-md) solid var(--calcite-color-border-2);outline:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);margin-block-start:3px;position:absolute;top:50%;left:50%}.esri-building-level-picker-item--hover .esri-building-level-picker-item__base .rect{background-color:rgb(from var(--calcite-color-foreground-1) r g b/90%);border-color:var(--calcite-color-status-info);box-shadow:0 0 2px 1px var(--calcite-color-status-info)}.esri-building-level-picker-item--active .esri-building-level-picker-item__base .rect{background-color:var(--calcite-color-status-info);border-color:var(--calcite-color-status-info)}.esri-building-level-picker-item{will-change:height;touch-action:none;border:var(--calcite-border-width-sm) solid var(--calcite-color-transparent)}.esri-building-level-picker-item,.esri-building-level-picker-item .esri-building-level-picker-item__base,.esri-building-level-picker-item .rect{transition:height .1s ease-out,width .1s ease-out,background-color .1s ease-in-out,border-color .1s ease-in-out}.esri-building-level-picker--animate-level .esri-building-level-picker-item,.esri-building-level-picker--animate-level .esri-building-level-picker-item .esri-building-level-picker-item__base,.esri-building-level-picker--animate-level .esri-building-level-picker-item .rect{transition:height .3s cubic-bezier(.63,-.265,.48,1.64),width .3s cubic-bezier(.63,-.265,.48,1.64),background-color .1s ease-in-out,border-color .1s ease-in-out}.esri-building-level-picker{flex-direction:row;align-items:center;display:flex}.esri-building-level-picker.esri-building-level-picker--no-level{display:none}.esri-building-level-picker__levels-container{cursor:pointer;flex-direction:column;justify-content:flex-start;align-items:center;width:50%;padding:20px 0;display:flex;transform:rotate(180deg)}.esri-building-level-picker__inner-levels-container{transition:margin .3s}.esri-building-level-picker__label-container{flex-direction:column;justify-content:space-between;align-items:center;width:50%;height:104px;margin-inline-end:12px;display:flex}.esri-building-level-picker__label-container:focus:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.esri-building-phase-picker{--num-phases: 7;--divider-width: var(--calcite-spacing-xs);--container-width: 100cqw;--arrow-width: 16px;--padding: var(--calcite-spacing-xxs);--dividers-width: (var(--num-phases) - 1) * var(--divider-width);--arrows-width: 2 * var(--arrow-width);--phase-width: calc( (var(--container-width) - var(--dividers-width) - var(--arrows-width) - var(--padding)) / var(--num-phases) );container-type:inline-size}.esri-building-phase-picker,.esri-building-phase-picker__phases-container{flex-direction:row;align-items:center;display:flex}.esri-building-phase-picker__phases-container{padding:var(--calcite-spacing-xxs);flex-shrink:1;position:relative;overflow:hidden}.esri-building-phase-picker__phase{appearance:none;border:solid var(--calcite-border-width-sm) #adadad4d;background:var(--calcite-color-background);cursor:pointer;width:var(--phase-width);aspect-ratio:1;color:var(--calcite-color-text-1);border-radius:100%;flex-shrink:0;font-weight:var(--calcite-font-weight-normal)}.esri-building-phase-picker__phase:hover{border-width:var(--calcite-border-width-md);border-color:var(--calcite-color-brand)}.esri-building-phase-picker__phase:focus:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.esri-building-phase-picker__phase--active{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-background)}.esri-building-phase-picker__phase--current{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.esri-building-phase-picker__arrow-left,.esri-building-phase-picker__arrow-right{--calcite-internal-action-padding-inline: 0;width:var(--arrow-width);min-width:var(--arrow-width)}.esri-building-phase-picker__divider{background-color:var(--calcite-color-foreground-1);min-width:var(--divider-width);height:var(--calcite-border-width-sm);flex:0}.esri-building-phase-picker__divider--active{background-color:var(--calcite-color-brand)}.esri-building-disciplines-tree-node__label{--calcite-label-margin-bottom: 0;word-break:break-all}.esri-building-explorer{padding:var(--esri-widget-padding);width:300px;max-width:100%;position:relative;overflow:hidden auto}.esri-building-explorer .esri-widget__heading{font-weight:var(--calcite-font-weight-normal)}.esri-building-explorer__section:not(:last-child){margin-block-end:30px}.esri-building-explorer__panel--error{color:var(--calcite-color-status-danger);margin:0;animation:.25s ease-in-out esri-fade-in}`, c = l(r);
|
|
11
11
|
class s extends t {
|
|
12
12
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { default as CatalogLayerList } from '@arcgis/core/widgets/CatalogLayerLi
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useCatalogLayerListWidget: (component: LitElement & Pick<CatalogLayerList, "
|
|
8
|
+
declare const useCatalogLayerListWidget: (component: LitElement & Pick<CatalogLayerList, "label" | "viewModel" | "icon" | "headingLevel" | "collapsed" | "filterPlaceholder" | "filterPredicate" | "filterText" | "selectionMode" | "minFilterItems" | "selectedItems" | "visibilityAppearance" | "catalogLayer" | "listItemCreatedFunction"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: __esri.CatalogLayerListViewModel | undefined;
|
|
11
11
|
closed?: boolean;
|
|
@@ -42,11 +42,11 @@ export declare class ArcgisCatalogLayerList extends LitElement {
|
|
|
42
42
|
readonly arcgisClose: TargetedEvent<this>;
|
|
43
43
|
/**
|
|
44
44
|
* The view associated with the component.
|
|
45
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
45
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Catalog Layer List component will be associated with a map or scene component rather than using the `view` property.
|
|
46
46
|
*
|
|
47
47
|
* @default null
|
|
48
48
|
*/
|
|
49
|
-
view?: __esri.MapView | __esri.SceneView
|
|
49
|
+
view?: nullish | __esri.MapView | __esri.SceneView;
|
|
50
50
|
/**
|
|
51
51
|
* If true, the component will not be destroyed automatically when it is
|
|
52
52
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -132,7 +132,7 @@ export declare class ArcgisCatalogLayerList extends LitElement {
|
|
|
132
132
|
* @default 10
|
|
133
133
|
*/
|
|
134
134
|
minFilterItems: number;
|
|
135
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
135
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
136
136
|
position?: __esri.UIPosition;
|
|
137
137
|
/**
|
|
138
138
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -170,7 +170,7 @@ export declare class ArcgisCatalogLayerList extends LitElement {
|
|
|
170
170
|
*
|
|
171
171
|
* @default "disabled"
|
|
172
172
|
*/
|
|
173
|
-
readonly state: "ready" | "
|
|
173
|
+
readonly state: "ready" | "disabled" | "loading";
|
|
174
174
|
/**
|
|
175
175
|
* Determines the icons used to indicate visibility.
|
|
176
176
|
*
|
|
@@ -8,7 +8,7 @@ import { css as l } from "lit";
|
|
|
8
8
|
import { c as n } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
11
|
-
v5.0.0-next.
|
|
11
|
+
v5.0.0-next.51 */
|
|
12
12
|
const c = l`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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-catalog-layer-list{display:flex;width:100%}.esri-catalog-layer-list__filter-no-results{padding:var(--calcite-spacing-md) 15px}.esri-catalog-layer-list__item{--calcite-list-item-icon-center: 8.5px}.esri-catalog-layer-list__item-table-icon{margin-inline-end:0}.esri-catalog-layer-list__item-action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.esri-catalog-layer-list__action-menu .esri-catalog-layer-list__action-group{display:none}.esri-catalog-layer-list__action-menu[open] .esri-catalog-layer-list__action-group{display:flex}.esri-catalog-layer-list__visible-icon{visibility:hidden}.esri-catalog-layer-list__item--active:hover>.esri-catalog-layer-list__visible-toggle>.esri-catalog-layer-list__visible-icon,.esri-catalog-layer-list__item--active:focus>.esri-catalog-layer-list__visible-toggle>.esri-catalog-layer-list__visible-icon,.esri-catalog-layer-list__item--active:focus-within>.esri-catalog-layer-list__visible-toggle>.esri-catalog-layer-list__visible-icon{visibility:visible}.esri-catalog-layer-list__status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline:0}.esri-catalog-layer-list__publishing{visibility:visible;color:var(--calcite-color-transparent-tint);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:2s infinite esri-catalog-layer-list__publishing-anim}.esri-catalog-layer-list__updating{visibility:visible;animation:2s infinite esri-catalog-layer-list__updating-anim}.esri-catalog-layer-list__connection-status{visibility:visible;color:var(--calcite-color-status-danger);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);margin-inline:7px}.esri-catalog-layer-list__connection-status--connected{color:var(--calcite-color-status-success-press)}.esri-catalog-layer-list__item-content-bottom{margin:var(--calcite-spacing-md) 15px}.esri-catalog-layer-list__item-content-bottom .esri-legend__service{padding:0 0 var(--calcite-spacing-md)}.esri-catalog-layer-list__item-message{margin:var(--calcite-spacing-md) 15px}@keyframes esri-catalog-layer-list__updating-anim{0%,40%{color:var(--calcite-color-foreground-1)}50%,80%{color:var(--calcite-color-brand)}to{color:var(--calcite-color-foreground-1)}}@keyframes esri-catalog-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`, d = s(r);
|
|
13
13
|
class g extends a {
|
|
14
14
|
constructor() {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
/// <reference path="../../index.d.ts" />
|
|
3
|
+
import { default as Color } from '@arcgis/core/Color.js';
|
|
4
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Labeled swatch which opens a color picker popover to select a color.
|
|
8
|
+
*
|
|
9
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-color-select/)
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare class ArcgisColorSelect extends LitElement {
|
|
14
|
+
/** The current color value. */
|
|
15
|
+
get color(): __esri.RGBA | number[] | string;
|
|
16
|
+
set color(value: __esri.RGBA | number[] | string);
|
|
17
|
+
/** The label for the component. */
|
|
18
|
+
label?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Emitted when the color value changes.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
readonly arcgisColorChanged: TargetedEvent<this, Color>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as f } from "lit/directives/ref.js";
|
|
3
|
+
import { css as m, html as r } from "lit";
|
|
4
|
+
import i from "@arcgis/core/Color.js";
|
|
5
|
+
import { substitute as d } from "@arcgis/core/intl.js";
|
|
6
|
+
import { LitElement as u, createEvent as $, nothing as c } from "@arcgis/lumina";
|
|
7
|
+
import { generateGuid as b } from "@arcgis/toolkit/string";
|
|
8
|
+
import { u as g } from "../../chunks/useT9n.js";
|
|
9
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
|
+
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
11
|
+
v5.0.0-next.51 */
|
|
12
|
+
const v = m`:host{display:inline-block;position:relative;width:fit-content}calcite-label:focus-within calcite-swatch{outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`;
|
|
13
|
+
class _ extends u {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments), this.#e = g(), this.#i = (e) => {
|
|
16
|
+
this._popoverReferenceElement = e ?? void 0;
|
|
17
|
+
}, this.#o = b(), this._color = new i([0, 0, 0, 1]), this._open = !1, this.arcgisColorChanged = $();
|
|
18
|
+
}
|
|
19
|
+
static {
|
|
20
|
+
this.properties = { _color: 16, _open: 16, _popoverReferenceElement: 16, color: 1, label: 1 };
|
|
21
|
+
}
|
|
22
|
+
static {
|
|
23
|
+
this.styles = v;
|
|
24
|
+
}
|
|
25
|
+
#e;
|
|
26
|
+
#i;
|
|
27
|
+
#o;
|
|
28
|
+
#c(e) {
|
|
29
|
+
(e.key === " " || e.key === "Enter") && this.#t(e);
|
|
30
|
+
}
|
|
31
|
+
#t(e) {
|
|
32
|
+
e.preventDefault(), e.stopPropagation(), this._open = !this._open;
|
|
33
|
+
}
|
|
34
|
+
get color() {
|
|
35
|
+
return this._color;
|
|
36
|
+
}
|
|
37
|
+
set color(e) {
|
|
38
|
+
const o = e instanceof i ? e : new i(e);
|
|
39
|
+
o.equals(this._color) || (this._color = o);
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
const e = this._color.toCss(!0), [o, a, n, p] = this._color.toRgba(), l = d(this.#e?.ariaDescription ?? "", {
|
|
43
|
+
label: this.label ?? this.#e?.label ?? "",
|
|
44
|
+
color: `${o}, ${a}, ${n}, ${p}`
|
|
45
|
+
});
|
|
46
|
+
return r`<calcite-label layout=inline scale=s @click=${this.#t}><calcite-swatch .color=${e} @keydown=${this.#c} @click=${this.#t} tabindex=0 role=button aria-controls=${this.#o ?? c} aria-expanded=${this._open ? "true" : "false"} aria-haspopup=dialog aria-label=${l ?? c} .label=${l} ${f(this.#i)}></calcite-swatch>${this.label ?? this.#e?.label}${this._popoverReferenceElement ? r`<calcite-popover id=${this.#o ?? c} auto-close class="popover" .label=${this.#e?.popoverLabel ?? ""} .open=${this._open} @calcitePopoverClose=${() => this._open = !1} @calcitePopoverOpen=${() => this._open = !0} overlay-positioning=fixed .referenceElement=${this._popoverReferenceElement}><calcite-color-picker alpha-channel channels-disabled @click=${(t) => {
|
|
47
|
+
t.stopPropagation();
|
|
48
|
+
}} @calciteColorPickerInput=${({ target: { value: t } }) => {
|
|
49
|
+
if (typeof t == "string") {
|
|
50
|
+
const s = new i(t);
|
|
51
|
+
this.color = s, this.arcgisColorChanged.emit(s);
|
|
52
|
+
}
|
|
53
|
+
}} saved-disabled .value=${e}></calcite-color-picker></calcite-popover>` : void 0}</calcite-label>`;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
h("arcgis-color-select", _);
|
|
57
|
+
export {
|
|
58
|
+
_ as ArcgisColorSelect
|
|
59
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-swatch";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-color-picker";
|
|
5
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-swatch";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-color-picker";
|
|
5
|
+
export * from "./customElement.js";
|
|
@@ -16,9 +16,9 @@ declare const useCompassViewModel: (component: LitElement & Pick<CompassViewMode
|
|
|
16
16
|
export declare class ArcgisCompass extends LitElement {
|
|
17
17
|
/**
|
|
18
18
|
* The view associated with the component.
|
|
19
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
19
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Compass component will be associated with a map or scene component rather than using the `view` property.
|
|
20
20
|
*/
|
|
21
|
-
view?: __esri.MapView | __esri.SceneView
|
|
21
|
+
view?: nullish | __esri.MapView | __esri.SceneView;
|
|
22
22
|
/**
|
|
23
23
|
* If true, the component will not be destroyed automatically when it is
|
|
24
24
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -61,7 +61,7 @@ export declare class ArcgisCompass extends LitElement {
|
|
|
61
61
|
* @default { z: 0 }
|
|
62
62
|
*/
|
|
63
63
|
readonly orientation: __esri.Orientation;
|
|
64
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
64
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
65
65
|
position?: __esri.UIPosition;
|
|
66
66
|
/**
|
|
67
67
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -74,7 +74,7 @@ export declare class ArcgisCompass extends LitElement {
|
|
|
74
74
|
*
|
|
75
75
|
* @default "disabled"
|
|
76
76
|
*/
|
|
77
|
-
readonly state: "rotation" | "
|
|
77
|
+
readonly state: "rotation" | "disabled" | "compass";
|
|
78
78
|
destroy(): Promise<void>;
|
|
79
79
|
reset(): Promise<void>;
|
|
80
80
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|