@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,13 +1,12 @@
|
|
|
1
1
|
import { c as m } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as i } from "lit";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { f as p } from "../../chunks/utils.js";
|
|
3
|
+
import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as f } from "@arcgis/lumina";
|
|
5
|
+
import { f as n } from "../../chunks/utils.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
class c extends
|
|
8
|
+
v5.0.0-next.51 */
|
|
9
|
+
class c extends f {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments), this._formats = [];
|
|
13
12
|
}
|
|
@@ -16,24 +15,24 @@ class c extends n {
|
|
|
16
15
|
}
|
|
17
16
|
loaded() {
|
|
18
17
|
this.manager.onLifecycle(() => [
|
|
19
|
-
|
|
18
|
+
r(() => [this.viewModel.templateOptions.format, this.viewModel.templatesInfo?.format], () => {
|
|
20
19
|
const t = this.viewModel.templatesInfo;
|
|
21
20
|
if (!t)
|
|
22
21
|
return;
|
|
23
22
|
if (this._formats.length !== t.format.choiceList.length) {
|
|
24
|
-
const
|
|
23
|
+
const a = [...n.values()];
|
|
25
24
|
this._formats = t.format.choiceList.map((e) => {
|
|
26
|
-
const s =
|
|
25
|
+
const s = a.find((l) => new RegExp(`\\b${l}\\b`, "iu").test(e)) ?? e;
|
|
27
26
|
return {
|
|
28
27
|
value: s,
|
|
29
28
|
label: e === s ? e.toUpperCase() : e
|
|
30
29
|
};
|
|
31
30
|
}).sort((e, s) => e.label.localeCompare(s.label));
|
|
32
31
|
}
|
|
33
|
-
const
|
|
34
|
-
if (t.format.defaultValue && !
|
|
35
|
-
const
|
|
36
|
-
|
|
32
|
+
const o = this._formats.some(({ value: a }) => new RegExp(`\\b${a}\\b`, "iu").test(this.viewModel.templateOptions.format));
|
|
33
|
+
if (t.format.defaultValue && !o) {
|
|
34
|
+
const a = this._formats.find(({ value: e }) => new RegExp(`\\b${e}\\b`, "iu").test(t.format.defaultValue))?.value;
|
|
35
|
+
a && (this.viewModel.templateOptions.format = a);
|
|
37
36
|
return;
|
|
38
37
|
}
|
|
39
38
|
}, { initial: !0 })
|
|
@@ -41,9 +40,9 @@ class c extends n {
|
|
|
41
40
|
}
|
|
42
41
|
render() {
|
|
43
42
|
return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: t }) => {
|
|
44
|
-
const
|
|
45
|
-
this.viewModel.templateOptions.format =
|
|
46
|
-
}}>${this._formats.map(({ value: t, label:
|
|
43
|
+
const o = t.selectedItems[0]?.value;
|
|
44
|
+
this.viewModel.templateOptions.format = o ?? "pdf";
|
|
45
|
+
}}>${this._formats.map(({ value: t, label: o }) => i`<calcite-combobox-item .heading=${o} .selected=${t === this.viewModel.templateOptions.format} .value=${t}></calcite-combobox-item>`)}</calcite-combobox></calcite-label></div>`;
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
m("arcgis-print-format-select", c);
|
|
@@ -5,6 +5,8 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class PrintLayoutAdvancedOptions extends LitElement {
|
|
8
|
+
/** @default false */
|
|
9
|
+
autoPopulateAuthor: boolean;
|
|
8
10
|
viewModel: __esri.PrintViewModel;
|
|
9
11
|
messages: ArcgisPrint["messages"];
|
|
10
12
|
}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { u as r } from "../../chunks/useHandles.js";
|
|
1
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as a, html as t } from "lit";
|
|
3
|
+
import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as o, safeClassMap as n } from "@arcgis/lumina";
|
|
5
|
+
import { u as l } from "../../chunks/useHandles.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
11
|
-
advancedOptionsContainer: `${
|
|
8
|
+
v5.0.0-next.51 */
|
|
9
|
+
const r = a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", h = {
|
|
10
|
+
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
12
11
|
};
|
|
13
|
-
class
|
|
12
|
+
class p extends o {
|
|
14
13
|
constructor() {
|
|
15
|
-
super(...arguments), this._handles =
|
|
14
|
+
super(...arguments), this._handles = l("disconnect"), this.autoPopulateAuthor = !1;
|
|
16
15
|
}
|
|
17
16
|
static {
|
|
18
|
-
this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, viewModel: 0, messages: 0 };
|
|
17
|
+
this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, autoPopulateAuthor: 5, viewModel: 0, messages: 0 };
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.styles =
|
|
20
|
+
this.styles = r;
|
|
22
21
|
}
|
|
23
22
|
loaded() {
|
|
24
23
|
this.manager.onLifecycle(() => [
|
|
25
|
-
|
|
26
|
-
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(
|
|
24
|
+
i(() => this.viewModel.templateOptions.id, (e) => {
|
|
25
|
+
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(i(() => [
|
|
27
26
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,
|
|
28
27
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,
|
|
29
28
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,
|
|
@@ -32,20 +31,23 @@ class d extends o {
|
|
|
32
31
|
], () => {
|
|
33
32
|
this._showAuthorInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText ?? !0, this._showCopyrightInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText ?? !0, this._showLegendInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend ?? !0, this._showNorthArrowInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length, this._showScaleBarInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length;
|
|
34
33
|
}, { initial: !0 }), "template-handle");
|
|
34
|
+
}, { initial: !0 }),
|
|
35
|
+
i(() => [this.viewModel.portal?.user, this.autoPopulateAuthor], () => {
|
|
36
|
+
!this.viewModel.templateOptions.author && this.autoPopulateAuthor && this.viewModel.portal?.user?.username && (this.viewModel.templateOptions.author = this.viewModel.portal.user.username, this.requestUpdate());
|
|
35
37
|
}, { initial: !0 })
|
|
36
38
|
]);
|
|
37
39
|
}
|
|
38
40
|
render() {
|
|
39
|
-
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${
|
|
41
|
+
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(h.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`;
|
|
40
42
|
}
|
|
41
43
|
_renderScaleSection() {
|
|
42
44
|
return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`;
|
|
43
45
|
}
|
|
44
46
|
_renderAuthorSection() {
|
|
45
|
-
return this._showAuthorInput ?
|
|
47
|
+
return this._showAuthorInput ? t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author ?? ""} @calciteInputInput=${(e) => this.viewModel.templateOptions.author = e.target.value}></calcite-input></calcite-label></div>` : null;
|
|
46
48
|
}
|
|
47
49
|
_renderCopyrightSection() {
|
|
48
|
-
return this._showCopyrightInput ?
|
|
50
|
+
return this._showCopyrightInput ? t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright ?? ""} @calciteInputInput=${(e) => this.viewModel.templateOptions.copyright = e.target.value}></calcite-input></calcite-label></div>` : null;
|
|
49
51
|
}
|
|
50
52
|
_renderDpiSection() {
|
|
51
53
|
return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`;
|
|
@@ -66,7 +68,7 @@ class d extends o {
|
|
|
66
68
|
return this._showScaleBarInput ? t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${(e) => this.viewModel.templateOptions.scaleBarEnabled = e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>` : null;
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
|
-
|
|
71
|
+
s("arcgis-print-layout-advanced-options", p);
|
|
70
72
|
export {
|
|
71
|
-
|
|
73
|
+
p as PrintLayoutAdvancedOptions
|
|
72
74
|
};
|
|
@@ -5,6 +5,10 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class PrintLayoutPanel extends LitElement {
|
|
8
|
+
/** @default false */
|
|
9
|
+
hideAdvancedOptions: boolean;
|
|
10
|
+
/** @default false */
|
|
11
|
+
autoPopulateAuthor: boolean;
|
|
8
12
|
viewModel: __esri.PrintViewModel;
|
|
9
13
|
messages: ArcgisPrint["messages"];
|
|
10
14
|
showTemplateSelector: () => void;
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as c, html as e } from "lit";
|
|
3
|
-
import { classes as p } from "@arcgis/toolkit/dom";
|
|
4
3
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { u as
|
|
4
|
+
import { LitElement as p, safeClassMap as i } from "@arcgis/lumina";
|
|
5
|
+
import { u as d } from "../../chunks/useHandles.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
11
|
-
advancedOptionsSection: `${
|
|
12
|
-
layoutSection: `${
|
|
13
|
-
panelContainer: `${
|
|
8
|
+
v5.0.0-next.51 */
|
|
9
|
+
const m = c`:host{display:flex;flex-direction:column;height:100%}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.arcgis-print__panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`, s = "arcgis-print", a = {
|
|
10
|
+
advancedOptionsSection: `${s}__advanced-options-section`,
|
|
11
|
+
layoutSection: `${s}__layout-section`,
|
|
12
|
+
panelContainer: `${s}__panel-container`
|
|
14
13
|
};
|
|
15
|
-
class
|
|
14
|
+
class h extends p {
|
|
16
15
|
constructor() {
|
|
17
|
-
super(...arguments), this._handles =
|
|
16
|
+
super(...arguments), this._handles = d("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
|
|
18
17
|
}
|
|
19
18
|
static {
|
|
20
|
-
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
|
|
19
|
+
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
|
|
21
20
|
}
|
|
22
21
|
static {
|
|
23
|
-
this.styles =
|
|
22
|
+
this.styles = m;
|
|
24
23
|
}
|
|
25
24
|
loaded() {
|
|
26
25
|
this.manager.onLifecycle(() => [
|
|
@@ -32,14 +31,14 @@ class u extends d {
|
|
|
32
31
|
]);
|
|
33
32
|
}
|
|
34
33
|
render() {
|
|
35
|
-
return e`<section class=${i(
|
|
34
|
+
return e`<section class=${i(a.layoutSection)}><div class=${i(a.panelContainer)}>${this._renderTitleInput()}${this._renderTemplateSelect()}${this._renderFileFormatSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`;
|
|
36
35
|
}
|
|
37
36
|
_renderTitleInput() {
|
|
38
37
|
if (!this._showSelectedTemplateTitleText)
|
|
39
38
|
return null;
|
|
40
|
-
const { title: t, titlePlaceHolder:
|
|
41
|
-
return e`<calcite-label>${t}<calcite-input .placeholder=${
|
|
42
|
-
this.viewModel.templateOptions.title =
|
|
39
|
+
const { title: t, titlePlaceHolder: o } = this.messages;
|
|
40
|
+
return e`<calcite-label>${t}<calcite-input .placeholder=${o} .value=${this.viewModel.templateOptions.title ?? ""} @calciteInputInput=${(n) => {
|
|
41
|
+
this.viewModel.templateOptions.title = n.currentTarget.value;
|
|
43
42
|
}}></calcite-input></calcite-label>`;
|
|
44
43
|
}
|
|
45
44
|
_renderTemplateSelect() {
|
|
@@ -49,13 +48,13 @@ class u extends d {
|
|
|
49
48
|
return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
|
|
50
49
|
}
|
|
51
50
|
_renderAdvancedSection() {
|
|
52
|
-
return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(
|
|
51
|
+
return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(a.advancedOptionsSection)} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
|
|
53
52
|
}
|
|
54
53
|
_renderExportButton() {
|
|
55
54
|
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
|
-
r("arcgis-print-layout-panel",
|
|
57
|
+
r("arcgis-print-layout-panel", h);
|
|
59
58
|
export {
|
|
60
|
-
|
|
59
|
+
h as PrintLayoutPanel
|
|
61
60
|
};
|
|
@@ -6,7 +6,11 @@ import { Formats } from '../arcgis-print/types';
|
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class PrintMainPanel extends LitElement {
|
|
9
|
-
|
|
9
|
+
/** @default false */
|
|
10
|
+
hideAdvancedOptions: boolean;
|
|
11
|
+
/** @default false */
|
|
12
|
+
autoPopulateAuthor: boolean;
|
|
13
|
+
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem | void>;
|
|
10
14
|
viewModel: __esri.PrintViewModel;
|
|
11
15
|
messages: ArcgisPrint["messages"];
|
|
12
16
|
showTemplateSelector: () => void;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
2
|
+
import { css as i, html as a } from "lit";
|
|
3
|
+
import { LitElement as l } from "@arcgis/lumina";
|
|
4
4
|
import { i as o } from "../../chunks/utils.js";
|
|
5
5
|
import { u as c } from "../../chunks/useHandles.js";
|
|
6
6
|
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
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.
|
|
10
|
-
const p =
|
|
11
|
-
class
|
|
9
|
+
v5.0.0-next.51 */
|
|
10
|
+
const p = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
11
|
+
class d extends l {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1;
|
|
13
|
+
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
|
-
this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
|
|
16
|
+
this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.styles = p;
|
|
@@ -43,10 +43,10 @@ class r extends i {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
|
|
46
|
-
return a`<
|
|
46
|
+
return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
s("arcgis-print-main-panel",
|
|
49
|
+
s("arcgis-print-main-panel", d);
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
d as PrintMainPanel
|
|
52
52
|
};
|
|
@@ -3,7 +3,7 @@ import { css as s, html as e } from "lit";
|
|
|
3
3
|
import { LitElement as n, safeClassMap as a } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.51 */
|
|
7
7
|
const r = s`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
|
|
8
8
|
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
9
9
|
};
|
|
@@ -5,6 +5,8 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class PrintMapOnlyPanel extends LitElement {
|
|
8
|
+
/** @default false */
|
|
9
|
+
hideAdvancedOptions: boolean;
|
|
8
10
|
viewModel: __esri.PrintViewModel;
|
|
9
11
|
messages: ArcgisPrint["messages"];
|
|
10
12
|
selectExportsTab: () => void;
|
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as c, html as i } from "lit";
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as p, safeClassMap as s } from "@arcgis/lumina";
|
|
3
|
+
import { LitElement as o, safeClassMap as a } from "@arcgis/lumina";
|
|
5
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
8
|
-
const
|
|
9
|
-
advancedOptionsSection: `${
|
|
10
|
-
mapOnlySection: `${
|
|
11
|
-
panelContainer: `${
|
|
12
|
-
sizeContainer: `${
|
|
13
|
-
swapButton: `${
|
|
6
|
+
v5.0.0-next.51 */
|
|
7
|
+
const p = c`:host{display:flex;flex-direction:column;height:100%}.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex:1 0;gap:var(--calcite-spacing-md)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, s = "arcgis-print", n = {
|
|
8
|
+
advancedOptionsSection: `${s}__advanced-options-section`,
|
|
9
|
+
mapOnlySection: `${s}__map-only-section`,
|
|
10
|
+
panelContainer: `${s}__panel-container`,
|
|
11
|
+
sizeContainer: `${s}__size-container`,
|
|
12
|
+
swapButton: `${s}__swap-button`
|
|
14
13
|
};
|
|
15
|
-
class
|
|
14
|
+
class d extends o {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments), this.hideAdvancedOptions = !1;
|
|
17
|
+
}
|
|
16
18
|
static {
|
|
17
|
-
this.properties = { viewModel: 0, messages: 0, selectExportsTab: 0 };
|
|
19
|
+
this.properties = { hideAdvancedOptions: 5, viewModel: 0, messages: 0, selectExportsTab: 0 };
|
|
18
20
|
}
|
|
19
21
|
static {
|
|
20
|
-
this.styles =
|
|
22
|
+
this.styles = p;
|
|
21
23
|
}
|
|
22
24
|
loaded() {
|
|
23
25
|
this.manager.onLifecycle(() => []);
|
|
24
26
|
}
|
|
25
27
|
render() {
|
|
26
|
-
return i`<section class=${
|
|
28
|
+
return i`<section class=${a(n.mapOnlySection)}><div class=${a(n.panelContainer)}>${this._renderFileNameInput()}${this._renderFileFormatSection()}${this._renderSizeSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`;
|
|
27
29
|
}
|
|
28
30
|
_renderFileNameInput() {
|
|
29
31
|
const { fileName: t, fileNamePlaceHolder: e } = this.messages;
|
|
30
|
-
return i`<calcite-label>${t}<calcite-input .placeholder=${e} .value=${this.viewModel.templateOptions.fileName ?? ""} @calciteInputInput=${(
|
|
31
|
-
this.viewModel.templateOptions.fileName =
|
|
32
|
+
return i`<calcite-label>${t}<calcite-input .placeholder=${e} .value=${this.viewModel.templateOptions.fileName ?? ""} @calciteInputInput=${(l) => {
|
|
33
|
+
this.viewModel.templateOptions.fileName = l.currentTarget.value;
|
|
32
34
|
}}></calcite-input></calcite-label>`;
|
|
33
35
|
}
|
|
34
36
|
_renderFileFormatSection() {
|
|
35
37
|
return i`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
|
|
36
38
|
}
|
|
37
39
|
_renderSizeSection() {
|
|
38
|
-
return i`<div><div class=${
|
|
40
|
+
return i`<div><div class=${a(n.sizeContainer)}><calcite-label>${this.messages.width}<calcite-input-number .value=${`${this.viewModel.templateOptions.width}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
39
41
|
const e = Number(t.target.value);
|
|
40
42
|
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.width = e : t.target.value = `${this.viewModel.templateOptions.width}`;
|
|
41
43
|
}}></calcite-input-number></calcite-label><calcite-label>${this.messages.height}<calcite-input-number .value=${`${this.viewModel.templateOptions.height}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
42
44
|
const e = Number(t.target.value);
|
|
43
45
|
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.height = e : t.target.value = `${this.viewModel.templateOptions.height}`;
|
|
44
|
-
}}></calcite-input-number></calcite-label><div class=${
|
|
46
|
+
}}></calcite-input-number></calcite-label><div class=${a(n.swapButton)}><calcite-button icon-start=arrow-right-left .label=${this.messages.swap} appearance=transparent kind=neutral @click=${() => {
|
|
45
47
|
[this.viewModel.templateOptions.width, this.viewModel.templateOptions.height] = [
|
|
46
48
|
this.viewModel.templateOptions.height,
|
|
47
49
|
this.viewModel.templateOptions.width
|
|
@@ -49,13 +51,13 @@ class m extends p {
|
|
|
49
51
|
}}></calcite-button></div></div><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`;
|
|
50
52
|
}
|
|
51
53
|
_renderAdvancedSection() {
|
|
52
|
-
return i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${
|
|
54
|
+
return this.hideAdvancedOptions ? null : i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${a(n.advancedOptionsSection)} collapsible .heading=${this.messages.advancedOptions}><arcgis-print-map-only-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-map-only-advanced-options></calcite-block>`;
|
|
53
55
|
}
|
|
54
56
|
_renderExportButton() {
|
|
55
57
|
return i`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.fileName ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
|
-
|
|
60
|
+
r("arcgis-print-map-only-panel", d);
|
|
59
61
|
export {
|
|
60
|
-
|
|
62
|
+
d as PrintMapOnlyPanel
|
|
61
63
|
};
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { c as u } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as o, html as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import f from "@arcgis/
|
|
6
|
-
import { LitElement as m, safeClassMap as n } from "@arcgis/lumina";
|
|
2
|
+
import { css as o, html as n } from "lit";
|
|
3
|
+
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import d from "@arcgis/core/geometry/SpatialReference.js";
|
|
5
|
+
import { LitElement as f, safeClassMap as r } from "@arcgis/lumina";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
8
|
+
v5.0.0-next.51 */
|
|
9
|
+
const m = o`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`, s = "arcgis-print", c = {
|
|
11
10
|
srLabel: `${s}__sr-label`,
|
|
12
11
|
invalidWkidText: `${s}__invalid-wkid-text`
|
|
13
12
|
};
|
|
14
|
-
function
|
|
13
|
+
function v(e) {
|
|
15
14
|
if (e == null)
|
|
16
15
|
return !1;
|
|
17
16
|
const t = e.wkid;
|
|
18
17
|
return t != null && t >= 2e3 ? !0 : e.wkt2 != null || e.wkt != null;
|
|
19
18
|
}
|
|
20
|
-
function
|
|
19
|
+
function _(e) {
|
|
21
20
|
return e == null ? e : Math.round(Number.parseFloat(e));
|
|
22
21
|
}
|
|
23
|
-
class
|
|
22
|
+
class b extends f {
|
|
24
23
|
constructor() {
|
|
25
24
|
super(...arguments), this._isValidSpatialReference = !0;
|
|
26
25
|
}
|
|
@@ -28,28 +27,28 @@ class k extends m {
|
|
|
28
27
|
this.properties = { _isValidSpatialReference: 16, _outSpatialReference: 16, templateOptions: 0, viewModel: 0, messages: 0 };
|
|
29
28
|
}
|
|
30
29
|
static {
|
|
31
|
-
this.styles =
|
|
30
|
+
this.styles = m;
|
|
32
31
|
}
|
|
33
32
|
loaded() {
|
|
34
33
|
this.manager.onLifecycle(() => [
|
|
35
|
-
|
|
34
|
+
p(() => this.viewModel.outSpatialReference, (t) => {
|
|
36
35
|
this._outSpatialReference = t ?? void 0;
|
|
37
36
|
}, { initial: !0 })
|
|
38
37
|
]);
|
|
39
38
|
}
|
|
40
39
|
render() {
|
|
41
40
|
const { messages: t, _outSpatialReference: a } = this;
|
|
42
|
-
return
|
|
43
|
-
const i =
|
|
41
|
+
return n`<div><calcite-label><div class=${r(c.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString() ?? ""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({ currentTarget: l }) => {
|
|
42
|
+
const i = _(l.value);
|
|
44
43
|
if (Number.isNaN(i) || i == null || i <= 0 || !Number.isFinite(i)) {
|
|
45
|
-
|
|
44
|
+
l.value = `${a?.wkid ?? ""}`;
|
|
46
45
|
return;
|
|
47
46
|
}
|
|
48
|
-
this.viewModel.outSpatialReference = Number.isNaN(i) || i == null ? null : new
|
|
49
|
-
}}></calcite-input-number>${this._isValidSpatialReference ? null :
|
|
47
|
+
this.viewModel.outSpatialReference = Number.isNaN(i) || i == null ? null : new d({ wkid: i }), this._isValidSpatialReference = !a || v(a);
|
|
48
|
+
}}></calcite-input-number>${this._isValidSpatialReference ? null : n`<div class=${r(c.invalidWkidText)}>${t.invalidWkid}</div>`}</calcite-label></div>`;
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
|
-
u("arcgis-print-out-spatial-reference-input",
|
|
51
|
+
u("arcgis-print-out-spatial-reference-input", b);
|
|
53
52
|
export {
|
|
54
|
-
|
|
53
|
+
b as PrintOutSpatialReferenceInput
|
|
55
54
|
};
|
|
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as a } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.51 */
|
|
8
8
|
class s extends a {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._showPrintAreaEnabled = !1;
|
|
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as d, safeClassMap as l } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.51 */
|
|
8
8
|
const m = p`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`, c = "arcgis-print", n = {
|
|
9
9
|
scaleInfoContainer: `${c}__scale-info-container`,
|
|
10
10
|
scaleInputContainer: `${c}__scale-input-container`,
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as o, html as i } from "lit";
|
|
3
|
+
import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as n, safeClassMap as l } from "@arcgis/lumina";
|
|
5
|
+
import { u as m } from "../../chunks/useHandles.js";
|
|
6
|
+
import { a as p, g as d, b as h } from "../../chunks/utils.js";
|
|
7
|
+
import { useDirection as _ } from "@arcgis/lumina/controllers";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
10
|
-
v5.0.0-next.
|
|
11
|
-
const
|
|
12
|
-
templateSelectContainer: `${
|
|
13
|
-
templateSelectError: `${
|
|
14
|
-
templateSelectArrow: `${
|
|
10
|
+
v5.0.0-next.51 */
|
|
11
|
+
const g = o`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`, a = "arcgis-print", s = {
|
|
12
|
+
templateSelectContainer: `${a}__template-select-container`,
|
|
13
|
+
templateSelectError: `${a}__template-select-error`,
|
|
14
|
+
templateSelectArrow: `${a}__template-select-arrow`
|
|
15
15
|
};
|
|
16
|
-
class
|
|
16
|
+
class u extends n {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._handles =
|
|
18
|
+
super(...arguments), this._handles = m("disconnect"), this._direction = _(), this._templateState = "not-loaded";
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.properties = { _selectedTemplate: 16, _templateState: 16, viewModel: 0, messages: 0, showTemplateSelector: 0 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.styles =
|
|
24
|
+
this.styles = g;
|
|
25
25
|
}
|
|
26
26
|
loaded() {
|
|
27
27
|
this.manager.onLifecycle(() => [
|
|
28
|
-
|
|
29
|
-
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(
|
|
28
|
+
c(() => this.viewModel.templateOptions.id, (e) => {
|
|
29
|
+
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(c(() => this._selectedTemplate?.state, (t) => this._templateState = t ?? "not-loaded", { initial: !0 }), "template-handle");
|
|
30
30
|
}, { initial: !0 })
|
|
31
31
|
]);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
const e = this._selectedTemplate ? p(this._selectedTemplate, this.messages) : this.messages.selectTemplate;
|
|
35
|
+
return i`<calcite-block class=${l(s.templateSelectContainer)} .description=${d(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState === "loading"} @click=${this.showTemplateSelector} @keydown=${(t) => {
|
|
36
|
+
(t.key === "Enter" || t.key === " ") && this.showTemplateSelector();
|
|
37
|
+
}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout ? h(this._selectedTemplate.layout) : null) || "custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState === "error" ? i`<calcite-icon class=${l(s.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>` : null}<calcite-icon class=${l(s.templateSelectArrow)} .icon=${this._direction === "rtl" ? "chevron-left" : "chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`;
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
|
-
|
|
40
|
+
r("arcgis-print-template-select", u);
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
u as PrintTemplateSelect
|
|
42
43
|
};
|