@arcgis/map-components 4.34.0-next.83 → 4.34.0-next.85
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/26UA5JEK.js +4 -0
- package/dist/cdn/2DPRYEVD.js +4 -0
- package/dist/cdn/{4Z4NCYCJ.js → 2SANDXQA.js} +2 -2
- package/dist/cdn/{GFHBI3QI.js → 2WLZU4KB.js} +2 -2
- package/dist/cdn/{OVWX6BZ2.js → 2ZFEPBSN.js} +2 -2
- package/dist/cdn/35NBOWX3.js +4 -0
- package/dist/cdn/37IPV33M.js +4 -0
- package/dist/cdn/{E3EDM6BM.js → 3AMN5QRR.js} +2 -2
- package/dist/cdn/3B6J64WY.js +4 -0
- package/dist/cdn/3GQPRO3C.js +4 -0
- package/dist/cdn/3NDA4KSL.js +4 -0
- package/dist/cdn/{OEEKFM4S.js → 3RWCMB3L.js} +2 -2
- package/dist/cdn/45GCHQLL.js +4 -0
- package/dist/cdn/{TUQ6DHM7.js → 4G5DVEA3.js} +2 -2
- package/dist/cdn/4JVUOYYR.js +4 -0
- package/dist/cdn/{GGWRDT2L.js → 4LMQFYBA.js} +2 -2
- package/dist/cdn/4O3KPSBS.js +4 -0
- package/dist/cdn/{MAFNRUP4.js → 4TZQ3RY3.js} +2 -2
- package/dist/cdn/{GNTEPUSB.js → 4W7XHVVQ.js} +2 -2
- package/dist/cdn/4Z65J5D3.js +4 -0
- package/dist/cdn/{HVOI2W7W.js → 57QQH6HV.js} +2 -2
- package/dist/cdn/{T2TQSVAP.js → 57TRELEW.js} +2 -2
- package/dist/cdn/{X5DM7OLR.js → 5HX4MXZQ.js} +2 -2
- package/dist/cdn/{HNNT3LXF.js → 5LPPOBKF.js} +2 -2
- package/dist/cdn/{O5IVOA6B.js → 5OOCTSOD.js} +2 -2
- package/dist/cdn/5XWRSE2E.js +4 -0
- package/dist/cdn/{APFFFDVO.js → 65WGOX5V.js} +2 -2
- package/dist/cdn/65WT4DUX.js +4 -0
- package/dist/cdn/{EKX3G3SL.js → 66M7LPP3.js} +1 -1
- package/dist/cdn/{OGFBZR5Z.js → 6SOCGEEC.js} +2 -2
- package/dist/cdn/{I7T37P43.js → 73PU3EF5.js} +2 -2
- package/dist/cdn/7AVL2BI3.js +4 -0
- package/dist/cdn/7ECU4OVM.js +4 -0
- package/dist/cdn/7GN2X4MI.js +4 -0
- package/dist/cdn/{WP2XATG2.js → 7HLFCJUK.js} +2 -2
- package/dist/cdn/7HSZZLIW.js +4 -0
- package/dist/cdn/{IVJ6ZTR2.js → 7PMTUTHK.js} +2 -2
- package/dist/cdn/{5RBDXV7C.js → 7WYIFG56.js} +2 -2
- package/dist/cdn/A3MT4GA6.js +4 -0
- package/dist/cdn/AHIH6AWE.js +4 -0
- package/dist/cdn/{BLN3YEGZ.js → AJ735OUU.js} +2 -2
- package/dist/cdn/AJYBOGVW.js +4 -0
- package/dist/cdn/AUSMDKDW.js +4 -0
- package/dist/cdn/{74XZPQTI.js → AVABEUCW.js} +2 -2
- package/dist/cdn/{T52WGYKZ.js → BATHRGBY.js} +2 -2
- package/dist/cdn/{FXLPPLHV.js → BESRXV2B.js} +2 -2
- package/dist/cdn/BH36BN3F.js +4 -0
- package/dist/cdn/{HSYGNAVQ.js → BMS7W5FX.js} +2 -2
- package/dist/cdn/{QSWZUMBR.js → BUCFUVXN.js} +2 -2
- package/dist/cdn/{Z3B3P62E.js → BWSC6XUQ.js} +2 -2
- package/dist/cdn/CGWFSZ5L.js +4 -0
- package/dist/cdn/{KLSFHRXW.js → CHQEDT4P.js} +2 -2
- package/dist/cdn/CIS4ZY5H.js +4 -0
- package/dist/cdn/{ZYJ5ZHXY.js → COB4YINF.js} +2 -2
- package/dist/cdn/{F3TEMUVY.js → D3ENCRN4.js} +2 -2
- package/dist/cdn/D6T4L3BS.js +4 -0
- package/dist/cdn/DFA3L4AV.js +4 -0
- package/dist/cdn/DFORSFFI.js +4 -0
- package/dist/cdn/{65Y5QSVR.js → DMOCPXCS.js} +2 -2
- package/dist/cdn/{NT2QUJ37.js → DSSWO7OR.js} +2 -2
- package/dist/cdn/DXYOOHXP.js +4 -0
- package/dist/cdn/E5WEPGE5.js +4 -0
- package/dist/cdn/E7F2AFRA.js +4 -0
- package/dist/cdn/EFBU5NMI.js +4 -0
- package/dist/cdn/EGEO2BLG.js +4 -0
- package/dist/cdn/{DELHRPQZ.js → EJWN5CFJ.js} +2 -2
- package/dist/cdn/EMEY5SDB.js +4 -0
- package/dist/cdn/{4ZWGID6X.js → EN3MJUET.js} +2 -2
- package/dist/cdn/{MX36JPH7.js → EY4FCPZB.js} +2 -2
- package/dist/cdn/{RGKG46AC.js → EZ527SDQ.js} +2 -2
- package/dist/cdn/FJT23QIZ.js +4 -0
- package/dist/cdn/FO6U5GUY.js +4 -0
- package/dist/cdn/FR63OPEC.js +4 -0
- package/dist/cdn/{32KR6PA5.js → G6MLZFXN.js} +2 -2
- package/dist/cdn/{VWFGLAKX.js → GDN4IPMQ.js} +1 -1
- package/dist/cdn/GDX4NNTS.js +4 -0
- package/dist/cdn/GR2RTUJC.js +4 -0
- package/dist/cdn/GY2QEFHO.js +4 -0
- package/dist/cdn/{LSICF5FV.js → GYJ2WLIM.js} +2 -2
- package/dist/cdn/{ROSPWOB3.js → H4USYXFN.js} +2 -2
- package/dist/cdn/H4Y2ABMC.js +4 -0
- package/dist/cdn/{X5OIVBXW.js → H7FTVX23.js} +2 -2
- package/dist/cdn/{TSTHUJEK.js → HEXDYYEX.js} +2 -2
- package/dist/cdn/HJK5VQP4.js +4 -0
- package/dist/cdn/HMTY74S3.js +4 -0
- package/dist/cdn/{2R5ZAA7S.js → HOTM3JGQ.js} +2 -2
- package/dist/cdn/HRRJKX3E.js +4 -0
- package/dist/cdn/{QQ25PTSV.js → HSV5JDJY.js} +2 -2
- package/dist/cdn/{T5ACZMIQ.js → HVYTYKGI.js} +2 -2
- package/dist/cdn/HYWUCCEI.js +5 -0
- package/dist/cdn/{LQBLPR36.js → INAONM5M.js} +2 -2
- package/dist/cdn/INCA6JTE.js +4 -0
- package/dist/cdn/{2VE5SVWX.js → INTWDYT4.js} +2 -2
- package/dist/cdn/{TEYQIIGJ.js → ISESN3YK.js} +2 -2
- package/dist/cdn/{7YVZPRYD.js → IUA4DSXS.js} +2 -2
- package/dist/cdn/{DVVQBID4.js → IUR5ELOK.js} +2 -2
- package/dist/cdn/JMV5DXRN.js +4 -0
- package/dist/cdn/{Z6H6R35A.js → KAYEWKA5.js} +2 -2
- package/dist/cdn/KFB3UAEI.js +4 -0
- package/dist/cdn/KK6I3EQH.js +4 -0
- package/dist/cdn/KODBMWJH.js +4 -0
- package/dist/cdn/{U6TG6KWS.js → KSSQVVKP.js} +2 -2
- package/dist/cdn/{JSKYP4ZL.js → LHZA3OYS.js} +2 -2
- package/dist/cdn/LJ3GOX3T.js +4 -0
- package/dist/cdn/LOTAILZP.js +4 -0
- package/dist/cdn/LPEMG4UN.js +4 -0
- package/dist/cdn/{X2FXOGJC.js → LS4RP7AG.js} +2 -2
- package/dist/cdn/LSOI3TTG.js +4 -0
- package/dist/cdn/{25LFWRSC.js → M26ZRQM6.js} +2 -2
- package/dist/cdn/MCQHTRWS.js +4 -0
- package/dist/cdn/MD4JND4P.js +4 -0
- package/dist/cdn/{JZ2TV6B2.js → MZI7CQYU.js} +2 -2
- package/dist/cdn/{MAKGCPB3.js → N2J6YZUY.js} +2 -2
- package/dist/cdn/N5BJ3UMM.js +4 -0
- package/dist/cdn/{RXO4YKKJ.js → NC5B62KQ.js} +2 -2
- package/dist/cdn/{B3EWA4AI.js → NGFUVSSH.js} +2 -2
- package/dist/cdn/{CKSIP6YB.js → NJP6ECRR.js} +1 -1
- package/dist/cdn/NQYENDIW.js +4 -0
- package/dist/cdn/{3KDD4J5U.js → NSKDNJS2.js} +2 -2
- package/dist/cdn/NZ2EVC4A.js +4 -0
- package/dist/cdn/{CARDB3GN.js → O7JZIAHX.js} +2 -2
- package/dist/cdn/OAEVBIHK.js +4 -0
- package/dist/cdn/{5OBJI2A4.js → OK5W72QI.js} +2 -2
- package/dist/cdn/OOWJRFYO.js +4 -0
- package/dist/cdn/OPZUVQVO.js +4 -0
- package/dist/cdn/{W6LOCZKO.js → OVDHE7KN.js} +2 -2
- package/dist/cdn/OVR6ZZZ6.js +4 -0
- package/dist/cdn/{NT6GQ2KH.js → P42AAJN6.js} +2 -2
- package/dist/cdn/PKGRJ4DY.js +4 -0
- package/dist/cdn/{TGMXNYHN.js → PKZ67MSC.js} +2 -2
- package/dist/cdn/{KG3PSXZK.js → PPPTESRG.js} +2 -2
- package/dist/cdn/{M4WT6NY7.js → PYIKDLX5.js} +1 -1
- package/dist/cdn/Q3IY6GHC.js +4 -0
- package/dist/cdn/{QTD6KGP4.js → QLFRM3K5.js} +2 -2
- package/dist/cdn/QPQV57VF.js +4 -0
- package/dist/cdn/{NJY5TRNT.js → QQXP6RLR.js} +2 -2
- package/dist/cdn/QSEMOQ6U.js +4 -0
- package/dist/cdn/{TOUVB4L7.js → QWUEAZKT.js} +2 -2
- package/dist/cdn/RIDVCJKT.js +4 -0
- package/dist/cdn/RIYCIHID.js +4 -0
- package/dist/cdn/RJ6ZHITV.js +4 -0
- package/dist/cdn/{R7V6PYLY.js → RN4YWTR3.js} +1 -1
- package/dist/cdn/{X6M67J3F.js → RNZK5GHT.js} +2 -2
- package/dist/cdn/{44MTHE2V.js → RQ5RAFOX.js} +1 -1
- package/dist/cdn/{Q6F7UKGM.js → RVYRFEO6.js} +2 -2
- package/dist/cdn/{BXFMVFUZ.js → RXFHFZMZ.js} +2 -2
- package/dist/cdn/RYOAHMSU.js +4 -0
- package/dist/cdn/{T77XB25B.js → SKY245VR.js} +2 -2
- package/dist/cdn/{4J52SRDR.js → SQU37SGY.js} +2 -2
- package/dist/cdn/{DZIOMUWW.js → STQMCRG6.js} +2 -2
- package/dist/cdn/T2MBMBNX.js +4 -0
- package/dist/cdn/T4FYLWO2.js +4 -0
- package/dist/cdn/T6GC3WBD.js +4 -0
- package/dist/cdn/{DX4TCCYR.js → TFJ3PJ2G.js} +2 -2
- package/dist/cdn/{UC6Z2IQN.js → TKOGLJ2Y.js} +2 -2
- package/dist/cdn/{5NX6QKDX.js → U2XVE6MU.js} +2 -2
- package/dist/cdn/U7CNNSFM.js +4 -0
- package/dist/cdn/{ROBNS42E.js → UITL4HGO.js} +2 -2
- package/dist/cdn/UROYDVWP.js +4 -0
- package/dist/cdn/UXM4NZTI.js +4 -0
- package/dist/cdn/VA6MT3BA.js +4 -0
- package/dist/cdn/VAEYUMY7.js +4 -0
- package/dist/cdn/{22CVPHSW.js → VJSVC3ZP.js} +1 -1
- package/dist/cdn/VVJ3HAR6.js +4 -0
- package/dist/cdn/VWLIDQ4Y.js +4 -0
- package/dist/cdn/{BYNNXHPP.js → WIZZHEX7.js} +2 -2
- package/dist/cdn/X3SQC5FW.js +4 -0
- package/dist/cdn/{B5RQSXA3.js → XDMTJWRH.js} +2 -2
- package/dist/cdn/{M7VAZVWP.js → XGEFOF25.js} +2 -2
- package/dist/cdn/{XFHUTFNC.js → XHB7OU2L.js} +2 -2
- package/dist/cdn/XIBYTZ7H.js +4 -0
- package/dist/cdn/XLBDZ7AR.js +4 -0
- package/dist/cdn/XMLLIFY6.js +4 -0
- package/dist/cdn/{5JFVPHJ7.js → XOGC5T7Z.js} +2 -2
- package/dist/cdn/XTVWXND3.js +4 -0
- package/dist/cdn/{DOBRM6LO.js → XY4OEXJ2.js} +2 -2
- package/dist/cdn/YDH5FWQH.js +4 -0
- package/dist/cdn/YZ63EIKT.js +4 -0
- package/dist/cdn/{ZUC7EGF5.js → Z7LJDRA3.js} +1 -1
- package/dist/cdn/{MNMJF754.js → ZFLWAHHO.js} +2 -2
- package/dist/cdn/ZGHATFFL.js +4 -0
- package/dist/cdn/ZHCVOSSB.js +4 -0
- package/dist/cdn/{UCAFINSP.js → ZHS3ZBRH.js} +2 -2
- package/dist/cdn/ZK2CC7MG.js +4 -0
- package/dist/cdn/{UG2RD5AQ.js → ZPLOVFI2.js} +2 -2
- package/dist/cdn/ZSDCTKVU.js +4 -0
- package/dist/cdn/{CCBMUCQU.js → ZZWXRNL2.js} +1 -1
- package/dist/cdn/assets/expand/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/legend/images/transparent-bg.png +0 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +2 -2
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +113 -99
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +2 -2
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/layer-list.js +4 -4
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/slots.js +27 -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 +34 -34
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.js +13 -16
- package/dist/components/arcgis-area-measurement-3d/customElement.js +74 -77
- package/dist/components/arcgis-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-attachments/customElement.js +8 -11
- package/dist/components/arcgis-basemap-gallery/basemap-gallery-resources.d.ts +13 -13
- package/dist/components/arcgis-basemap-gallery/customElement.js +39 -44
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +36 -34
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-basemap-toggle/css.d.ts +9 -9
- package/dist/components/arcgis-basemap-toggle/customElement.js +32 -35
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/customElement.js +242 -245
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -4
- package/dist/components/arcgis-building-explorer/customElement.js +11 -14
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-compass/customElement.d.ts +3 -2
- package/dist/components/arcgis-compass/customElement.js +23 -25
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +14 -17
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -5
- package/dist/components/arcgis-daylight/customElement.js +9 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -77
- package/dist/components/arcgis-directional-pad/customElement.js +19 -22
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +30 -33
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +12 -15
- package/dist/components/arcgis-editor/customElement.js +13 -16
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +12 -15
- package/dist/components/arcgis-expand/customElement.d.ts +111 -78
- package/dist/components/arcgis-expand/customElement.js +119 -19
- package/dist/components/arcgis-expand/index.d.ts +5 -0
- package/dist/components/arcgis-expand/index.js +5 -0
- package/dist/components/arcgis-feature/customElement.js +85 -88
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-attachments/customElement.js +9 -12
- package/dist/components/arcgis-feature-content/customElement.js +11 -14
- package/dist/components/arcgis-feature-element-info/customElement.js +13 -16
- package/dist/components/arcgis-feature-expression/customElement.js +53 -56
- package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +23 -26
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +13 -16
- package/dist/components/arcgis-feature-media/customElement.js +23 -26
- package/dist/components/arcgis-feature-relationship/customElement.js +31 -34
- package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-table/customElement.js +27 -30
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -4
- package/dist/components/arcgis-feature-templates/customElement.js +14 -17
- package/dist/components/arcgis-features/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.js +11 -14
- package/dist/components/arcgis-floor-filter/customElement.d.ts +8 -6
- package/dist/components/arcgis-floor-filter/customElement.js +13 -16
- package/dist/components/arcgis-fullscreen/customElement.d.ts +5 -5
- package/dist/components/arcgis-fullscreen/customElement.js +21 -20
- package/dist/components/arcgis-grid-controls/customElement.js +83 -86
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +14 -17
- package/dist/components/arcgis-home/customElement.js +19 -22
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -6
- package/dist/components/arcgis-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-layer-list-item/customElement.js +39 -42
- package/dist/components/arcgis-legend/customElement.js +12 -15
- package/dist/components/arcgis-line-of-sight/customElement.js +42 -45
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-link-chart/customElement.js +61 -59
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +17 -21
- package/dist/components/arcgis-locate/customElement.js +67 -69
- package/dist/components/arcgis-map/customElement.d.ts +7 -7
- package/dist/components/arcgis-map/customElement.js +69 -67
- package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-measurement/customElement.js +12 -15
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/css.d.ts +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +18 -20
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +14 -17
- package/dist/components/arcgis-placement/customElement.d.ts +1 -2
- package/dist/components/arcgis-placement/customElement.js +18 -26
- package/dist/components/arcgis-print/customElement.js +33 -36
- package/dist/components/arcgis-print/utils.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +14 -17
- package/dist/components/arcgis-print-dpi-input/customElement.js +7 -10
- package/dist/components/arcgis-print-export-button/customElement.js +5 -8
- package/dist/components/arcgis-print-exported-link/customElement.js +11 -14
- package/dist/components/arcgis-print-exports-panel/customElement.js +5 -5
- package/dist/components/arcgis-print-format-select/customElement.js +7 -10
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +5 -8
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +61 -61
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +10 -13
- package/dist/components/arcgis-scene/customElement.d.ts +3 -3
- package/dist/components/arcgis-scene/customElement.js +100 -98
- package/dist/components/arcgis-search/customElement.js +58 -61
- package/dist/components/arcgis-search-result-renderer/customElement.js +31 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +13 -16
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -5
- package/dist/components/arcgis-sketch/customElement.js +21 -24
- package/dist/components/arcgis-slice/customElement.js +73 -76
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
- package/dist/components/arcgis-swipe/customElement.js +34 -36
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +14 -17
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +18 -21
- package/dist/components/arcgis-time-zone-label/customElement.js +38 -41
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +18 -21
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +15 -14
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +13 -12
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +21 -20
- package/dist/components/arcgis-value-picker/customElement.d.ts +6 -4
- package/dist/components/arcgis-value-picker/customElement.js +13 -16
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +100 -103
- package/dist/components/arcgis-version-management-service-item/customElement.js +10 -13
- package/dist/components/arcgis-version-management-version-item/customElement.js +6 -9
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +15 -18
- package/dist/components/arcgis-video/customElement.d.ts +2 -2
- package/dist/components/arcgis-video/customElement.js +25 -23
- package/dist/components/arcgis-video-player/customElement.js +29 -32
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +10 -13
- package/dist/components/arcgis-video-player-controls-group/customElement.js +7 -10
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +77 -80
- package/dist/components/arcgis-zoom/css.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +25 -28
- package/dist/docs/api.json +164 -181
- package/dist/docs/docs.json +223 -183
- package/dist/docs/vscode.html-custom-data.json +24 -18
- package/dist/docs/web-types.json +60 -52
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/resources.d.ts +17 -0
- package/dist/support/slots.d.ts +2 -0
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/dist/utils/globalCss.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/27KYRTH4.js +0 -4
- package/dist/cdn/2EPD7A6D.js +0 -4
- package/dist/cdn/2QM4W2XA.js +0 -4
- package/dist/cdn/2WTT6YDN.js +0 -4
- package/dist/cdn/3ISIE33G.js +0 -4
- package/dist/cdn/3SCNVMJZ.js +0 -4
- package/dist/cdn/4AHXJMWA.js +0 -4
- package/dist/cdn/4BHSRL64.js +0 -4
- package/dist/cdn/4GLRKAKZ.js +0 -4
- package/dist/cdn/4QQ5QA57.js +0 -4
- package/dist/cdn/4TG76MVW.js +0 -4
- package/dist/cdn/4YO3CSB4.js +0 -4
- package/dist/cdn/5EQPHJN3.js +0 -4
- package/dist/cdn/5JBMOEEV.js +0 -4
- package/dist/cdn/5TBEOVQH.js +0 -4
- package/dist/cdn/6JIJZBTX.js +0 -4
- package/dist/cdn/7G4L5ACZ.js +0 -4
- package/dist/cdn/7JRK64IN.js +0 -4
- package/dist/cdn/AEYEWONV.js +0 -4
- package/dist/cdn/ANEHP4HZ.js +0 -4
- package/dist/cdn/B64LWJMV.js +0 -4
- package/dist/cdn/B65UCJAS.js +0 -4
- package/dist/cdn/B7IX2E2T.js +0 -4
- package/dist/cdn/BACXUIW3.js +0 -4
- package/dist/cdn/BMTSCRLD.js +0 -4
- package/dist/cdn/BPL5XNUO.js +0 -4
- package/dist/cdn/BX32LCLT.js +0 -4
- package/dist/cdn/CATRLIM5.js +0 -4
- package/dist/cdn/CHC4LWFL.js +0 -4
- package/dist/cdn/DCA5GSSY.js +0 -4
- package/dist/cdn/DNJA5M7M.js +0 -4
- package/dist/cdn/DZIGFEQI.js +0 -4
- package/dist/cdn/EIURXAQO.js +0 -4
- package/dist/cdn/ELYAJQVJ.js +0 -4
- package/dist/cdn/F32T2CUK.js +0 -4
- package/dist/cdn/FDEEV3TO.js +0 -4
- package/dist/cdn/FI2GUTDA.js +0 -4
- package/dist/cdn/FY5I22ZA.js +0 -4
- package/dist/cdn/FZWOKZVY.js +0 -4
- package/dist/cdn/G52SD4YQ.js +0 -4
- package/dist/cdn/GERC2GCK.js +0 -4
- package/dist/cdn/GIRJ2J5B.js +0 -4
- package/dist/cdn/GJNRUMLM.js +0 -4
- package/dist/cdn/GMYJQ6GY.js +0 -4
- package/dist/cdn/ICB7JL2B.js +0 -4
- package/dist/cdn/JB52NHRV.js +0 -4
- package/dist/cdn/JJZDWCPZ.js +0 -4
- package/dist/cdn/JKLARZVA.js +0 -4
- package/dist/cdn/JN67VPNW.js +0 -4
- package/dist/cdn/JOFKMBBI.js +0 -4
- package/dist/cdn/JOFMI63B.js +0 -4
- package/dist/cdn/KBRAC5BM.js +0 -4
- package/dist/cdn/KEQDU3YI.js +0 -4
- package/dist/cdn/KQJ2WYZS.js +0 -4
- package/dist/cdn/L2HA42RC.js +0 -4
- package/dist/cdn/LEWQFT3N.js +0 -4
- package/dist/cdn/LNXF5PBY.js +0 -4
- package/dist/cdn/LZYRVBDQ.js +0 -4
- package/dist/cdn/M33PLK4N.js +0 -4
- package/dist/cdn/MCFC32CJ.js +0 -4
- package/dist/cdn/MEDTZC4L.js +0 -4
- package/dist/cdn/MNAM54VS.js +0 -4
- package/dist/cdn/MV5PLNPD.js +0 -4
- package/dist/cdn/MYHBZCFF.js +0 -4
- package/dist/cdn/NKDJCF5B.js +0 -4
- package/dist/cdn/NSQYC4OD.js +0 -4
- package/dist/cdn/NZAIPHBW.js +0 -4
- package/dist/cdn/O27RPFR7.js +0 -4
- package/dist/cdn/OJKBOWCN.js +0 -5
- package/dist/cdn/OTQWMPYN.js +0 -4
- package/dist/cdn/P6SQJ2T3.js +0 -4
- package/dist/cdn/PRU2ZGOX.js +0 -4
- package/dist/cdn/PS7KSCXN.js +0 -4
- package/dist/cdn/Q4PU7WQ7.js +0 -4
- package/dist/cdn/QORM2H5L.js +0 -4
- package/dist/cdn/RVLULNB3.js +0 -4
- package/dist/cdn/SEAJO65H.js +0 -4
- package/dist/cdn/TPBGHCRG.js +0 -4
- package/dist/cdn/TTLLCRRM.js +0 -4
- package/dist/cdn/TZYH3YWU.js +0 -4
- package/dist/cdn/UGRKEE2O.js +0 -4
- package/dist/cdn/VIN5JYWR.js +0 -4
- package/dist/cdn/VQ2W72GK.js +0 -4
- package/dist/cdn/VZXSCB77.js +0 -4
- package/dist/cdn/WJTKTGUC.js +0 -4
- package/dist/cdn/WVUTOBDV.js +0 -4
- package/dist/cdn/XAYLUV7I.js +0 -4
- package/dist/cdn/YENCDQFO.js +0 -4
- package/dist/cdn/YMW3FBRS.js +0 -4
- package/dist/cdn/YXH5W6FA.js +0 -4
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { once as
|
|
3
|
-
import
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { render as
|
|
6
|
-
import { createRef as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
9
|
-
import { css as
|
|
1
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
2
|
+
import { once as k, watch as V } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
|
+
import E from "@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js";
|
|
4
|
+
import { LitElement as S, createEvent as v, safeClassMap as L } from "@arcgis/lumina";
|
|
5
|
+
import { render as P, html as f } from "lit-html";
|
|
6
|
+
import { createRef as C, ref as z } from "lit-html/directives/ref.js";
|
|
7
|
+
import { u as N } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as M } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { css as F } from "lit";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
13
|
-
const O = T`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`, R = A(C), I = "map-components:version-management";
|
|
14
|
-
class
|
|
12
|
+
v4.34.0-next.85 */
|
|
13
|
+
const $ = F`.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-family:Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;font-size:var(--calcite-font-size);line-height:1.3em}.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:#303030}.esri-menu__list-item:active{background-color:#000}.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:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.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-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-hidden{display:none!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:400;line-height:1;font-family:CalciteWebCoreIcons!important}:host{display:block}.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}`, A = M(E), u = "map-components:version-management";
|
|
14
|
+
class T extends S {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this.flowElement =
|
|
16
|
+
super(...arguments), this.flowElement = C(), this.messages = N({ blocking: !0 }), this.viewModel = A(this), this._isInitialVersionInvalid = /* @__PURE__ */ new Map(), this._initialVersionInfos = [], this._showInvalidFeatureServiceNotice = !1, this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.pageSize = 5, this.position = "top-right", this.state = this.viewModel.state, this.versioningStates = this.viewModel.versioningStates, this.arcgisReady = v(), this.arcgisVersioningStateChanged = v();
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.properties = { versionList: 16, _showInvalidFeatureServiceNotice: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, initialVersionInfos: 0, icon: 1, label: 3, messageOverrides: 0, mode: 1, pageSize: 9, position: 1, referenceElement: 1, state: 3, versioningStates: 0 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.styles =
|
|
23
|
-
}
|
|
24
|
-
static {
|
|
25
|
-
this.shadowRootOptions = y;
|
|
22
|
+
this.styles = $;
|
|
26
23
|
}
|
|
27
24
|
get initialVersionInfos() {
|
|
28
25
|
return this._initialVersionInfos;
|
|
@@ -37,7 +34,7 @@ class U extends N {
|
|
|
37
34
|
await this.manager.destroy();
|
|
38
35
|
}
|
|
39
36
|
async load() {
|
|
40
|
-
|
|
37
|
+
k(() => this.viewModel.state === "ready").then(() => {
|
|
41
38
|
this.initialVersionInfos.forEach((e) => {
|
|
42
39
|
try {
|
|
43
40
|
this._changeToInitialVersion(e);
|
|
@@ -46,17 +43,17 @@ class U extends N {
|
|
|
46
43
|
}
|
|
47
44
|
});
|
|
48
45
|
}), this.manager.onLifecycle(() => [
|
|
49
|
-
|
|
50
|
-
const { flowElement: { value: i }, versionList:
|
|
46
|
+
V(() => this.viewModel.state, (e) => {
|
|
47
|
+
const { flowElement: { value: i }, versionList: r } = this, o = i?.getElementsByTagName("arcgis-version-management-version-properties")[0];
|
|
51
48
|
if (e === "disabled" && i) {
|
|
52
|
-
|
|
49
|
+
o && this._removeVersionPropertiesFlowItem(i), r && this._removeVersionListFlowItem(i);
|
|
53
50
|
return;
|
|
54
51
|
}
|
|
55
|
-
|
|
56
|
-
...
|
|
52
|
+
r && (r.versionListElementProps = {
|
|
53
|
+
...r.versionListElementProps,
|
|
57
54
|
executionError: this.viewModel.executionError
|
|
58
|
-
},
|
|
59
|
-
...
|
|
55
|
+
}, r.versionListElementProps = { ...r.versionListElementProps, state: e }), o && (o.versionPropertiesElementProps = {
|
|
56
|
+
...o.versionPropertiesElementProps,
|
|
60
57
|
state: e
|
|
61
58
|
});
|
|
62
59
|
})
|
|
@@ -69,22 +66,22 @@ class U extends N {
|
|
|
69
66
|
return e.replace(/\/+$/u, "");
|
|
70
67
|
}
|
|
71
68
|
_createVersionPropertiesFlowItem(e, i) {
|
|
72
|
-
const { closable:
|
|
73
|
-
closable:
|
|
74
|
-
currentUser:
|
|
75
|
-
isVersionAdministrator:
|
|
69
|
+
const { closable: r, viewModel: o, viewModel: { state: n } } = this, s = {
|
|
70
|
+
closable: r,
|
|
71
|
+
currentUser: o.userLookup.get(e),
|
|
72
|
+
isVersionAdministrator: o.versionAdministratorLookup.get(e),
|
|
76
73
|
serviceUrl: e,
|
|
77
74
|
state: n,
|
|
78
75
|
strings: this.messages,
|
|
79
76
|
versionInfo: i
|
|
80
77
|
};
|
|
81
78
|
this.versionPropertiesContainer = document.createElement("div");
|
|
82
|
-
const
|
|
83
|
-
return this.listenOn(
|
|
79
|
+
const t = P(f`<arcgis-version-management-version-properties .versionPropertiesElementProps=${s} selected show-back-button></arcgis-version-management-version-properties>`, this.versionPropertiesContainer), c = Array.from(t.parentNode.childNodes).find((a) => a.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");
|
|
80
|
+
return this.listenOn(c, "arcgisFlowItemBack", () => {
|
|
84
81
|
this._removeVersionPropertiesFlowItem(this.flowElement.value);
|
|
85
|
-
}), this.listenOn(
|
|
86
|
-
|
|
87
|
-
}), this.listenOn(
|
|
82
|
+
}), this.listenOn(c, "calciteFlowItemBack", (a) => {
|
|
83
|
+
a.preventDefault(), this._removeVersionPropertiesFlowItem(this.flowElement.value), this.versionList && (this.versionList.selected = !0);
|
|
84
|
+
}), this.listenOn(c, "calciteFlowItemClose", this._handleFlowItemClose), this.listenOn(c, "arcgisCreateVersion", this._handleCreateVersion), this.listenOn(c, "arcgisAlterVersion", this._handleAlterVersion), c;
|
|
88
85
|
}
|
|
89
86
|
_getLoadError(e) {
|
|
90
87
|
const { messages: i } = this;
|
|
@@ -98,44 +95,44 @@ class U extends N {
|
|
|
98
95
|
}
|
|
99
96
|
}
|
|
100
97
|
async _handleAlterVersion(e) {
|
|
101
|
-
const { flowElement: { value: i }, viewModel:
|
|
102
|
-
await
|
|
98
|
+
const { flowElement: { value: i }, viewModel: r } = this, { alterVersionParameters: o } = e.detail;
|
|
99
|
+
await r.alterVersion(o).then(async (n) => {
|
|
103
100
|
n && this.arcgisVersioningStateChanged.emit({
|
|
104
101
|
type: "version-changed",
|
|
105
|
-
versionIdentifier:
|
|
106
|
-
versioningState:
|
|
107
|
-
}), await this._refreshVersionList(
|
|
102
|
+
versionIdentifier: o.versionIdentifier,
|
|
103
|
+
versioningState: r.versioningStateLookup.get(o.featureServerUrl)
|
|
104
|
+
}), await this._refreshVersionList(o.featureServerUrl);
|
|
108
105
|
}).finally(() => {
|
|
109
106
|
i && this._removeVersionPropertiesFlowItem(i);
|
|
110
107
|
});
|
|
111
108
|
}
|
|
112
109
|
_handleCreateVersion(e) {
|
|
113
|
-
const { flowElement: { value: i }, viewModel:
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
const { flowElement: { value: i }, viewModel: r } = this, { createVersionParameters: o, switchToVersion: n } = e.detail;
|
|
111
|
+
r.createVersion(o).then(async (s) => {
|
|
112
|
+
s && this.arcgisVersioningStateChanged.emit({
|
|
116
113
|
type: "version-created",
|
|
117
|
-
versionIdentifier:
|
|
118
|
-
versioningState:
|
|
119
|
-
}), n && await this.viewModel.changeVersion(
|
|
120
|
-
|
|
114
|
+
versionIdentifier: s.versionIdentifier,
|
|
115
|
+
versioningState: r.versioningStateLookup.get(o.featureServerUrl)
|
|
116
|
+
}), n && await this.viewModel.changeVersion(o.featureServerUrl, s.versionIdentifier.name, s.versionIdentifier.guid).then((t) => {
|
|
117
|
+
t && this.arcgisVersioningStateChanged.emit({
|
|
121
118
|
type: "version-switched",
|
|
122
|
-
versionIdentifier:
|
|
123
|
-
versioningState:
|
|
119
|
+
versionIdentifier: s.versionIdentifier,
|
|
120
|
+
versioningState: r.versioningStateLookup.get(o.featureServerUrl)
|
|
124
121
|
});
|
|
125
|
-
}), await this._refreshVersionList(
|
|
122
|
+
}), await this._refreshVersionList(o.featureServerUrl);
|
|
126
123
|
}).finally(() => {
|
|
127
124
|
i && this._removeVersionPropertiesFlowItem(i);
|
|
128
125
|
});
|
|
129
126
|
}
|
|
130
127
|
_changeToInitialVersion(e) {
|
|
131
|
-
const { _isInitialVersionInvalid: i, viewModel:
|
|
132
|
-
if (!
|
|
133
|
-
throw this._showInvalidFeatureServiceNotice = !0, new Error(`${
|
|
134
|
-
const
|
|
135
|
-
if (!
|
|
136
|
-
throw i.set(
|
|
137
|
-
const
|
|
138
|
-
|
|
128
|
+
const { _isInitialVersionInvalid: i, viewModel: r } = this, { url: o, name: n } = e, s = r.versioningStateLookup.get(o);
|
|
129
|
+
if (!s)
|
|
130
|
+
throw this._showInvalidFeatureServiceNotice = !0, new Error(`${u} - no versioning state found for feature service ${o}`);
|
|
131
|
+
const t = s?.versionInfos.find((g) => g.versionIdentifier.name === n);
|
|
132
|
+
if (!t)
|
|
133
|
+
throw i.set(o, !0), new Error(`${u} - version ${n} not found in the versioning state for feature service ${o}`);
|
|
134
|
+
const c = t.versionIdentifier, a = s?.currentVersionInfo?.versionIdentifier;
|
|
135
|
+
c.guid !== a?.guid && r.changeVersion(o, c.name, c.guid);
|
|
139
136
|
}
|
|
140
137
|
_handleFlowItemClose() {
|
|
141
138
|
const e = document.querySelector("arcgis-version-management");
|
|
@@ -146,49 +143,49 @@ class U extends N {
|
|
|
146
143
|
this.flowElement.value?.appendChild(i), this.versionList && (this.versionList.selected = !1);
|
|
147
144
|
}
|
|
148
145
|
async _handleManageVersionAction(e) {
|
|
149
|
-
const { actionType: i, serviceUrl:
|
|
146
|
+
const { actionType: i, serviceUrl: r, versionInfo: o } = e.detail, { viewModel: n, flowElement: s } = this;
|
|
150
147
|
switch (i) {
|
|
151
148
|
case "changeVersion": {
|
|
152
|
-
n.changeVersion(
|
|
153
|
-
|
|
149
|
+
n.changeVersion(r, o.versionIdentifier.name, o.versionIdentifier.guid).then((t) => {
|
|
150
|
+
t && this.arcgisVersioningStateChanged.emit({
|
|
154
151
|
type: "version-switched",
|
|
155
|
-
versionIdentifier:
|
|
156
|
-
versioningState: n.versioningStateLookup.get(
|
|
152
|
+
versionIdentifier: o.versionIdentifier,
|
|
153
|
+
versioningState: n.versioningStateLookup.get(r)
|
|
157
154
|
});
|
|
158
|
-
const { versionList:
|
|
159
|
-
|
|
160
|
-
...
|
|
161
|
-
currentVersionIdentifier: n.versioningStateLookup.get(
|
|
155
|
+
const { versionList: c } = this;
|
|
156
|
+
c && (c.versionListElementProps = {
|
|
157
|
+
...c.versionListElementProps,
|
|
158
|
+
currentVersionIdentifier: n.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier
|
|
162
159
|
});
|
|
163
160
|
});
|
|
164
161
|
break;
|
|
165
162
|
}
|
|
166
163
|
case "deleteVersion": {
|
|
167
|
-
n.deleteVersion(
|
|
168
|
-
|
|
164
|
+
n.deleteVersion(r, o.versionIdentifier.name, o.versionIdentifier.guid).then(async (t) => {
|
|
165
|
+
t && this.arcgisVersioningStateChanged.emit({
|
|
169
166
|
type: "version-deleted",
|
|
170
|
-
versionIdentifier:
|
|
171
|
-
versioningState: n.versioningStateLookup.get(
|
|
172
|
-
}), await this._refreshVersionList(
|
|
167
|
+
versionIdentifier: o.versionIdentifier,
|
|
168
|
+
versioningState: n.versioningStateLookup.get(r)
|
|
169
|
+
}), await this._refreshVersionList(r);
|
|
173
170
|
});
|
|
174
171
|
break;
|
|
175
172
|
}
|
|
176
173
|
case "editVersion": {
|
|
177
|
-
const
|
|
178
|
-
|
|
174
|
+
const t = this._createVersionPropertiesFlowItem(r, o);
|
|
175
|
+
s.value?.appendChild(t), this.versionList && (this.versionList.selected = !1);
|
|
179
176
|
break;
|
|
180
177
|
}
|
|
181
178
|
}
|
|
182
179
|
}
|
|
183
180
|
async _refreshVersionList(e) {
|
|
184
|
-
const { flowElement: { value: i }, versionList:
|
|
181
|
+
const { flowElement: { value: i }, versionList: r, viewModel: o } = this;
|
|
185
182
|
if (i) {
|
|
186
|
-
const n = await
|
|
187
|
-
for (const
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
...
|
|
191
|
-
currentVersionIdentifier:
|
|
183
|
+
const n = await o.getVersionInfos(e), s = i.getElementsByTagName("arcgis-version-management-service-item");
|
|
184
|
+
for (const t of s)
|
|
185
|
+
t.serviceItemElementProps.serviceUrl === e && (t.serviceItemElementProps = { ...t.serviceItemElementProps, versionInfos: n });
|
|
186
|
+
r && (r.versionListElementProps = {
|
|
187
|
+
...r.versionListElementProps,
|
|
188
|
+
currentVersionIdentifier: o.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,
|
|
192
189
|
versionInfos: n
|
|
193
190
|
});
|
|
194
191
|
}
|
|
@@ -202,37 +199,37 @@ class U extends N {
|
|
|
202
199
|
i.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES" && e.removeChild(i);
|
|
203
200
|
}
|
|
204
201
|
render() {
|
|
205
|
-
const { allowEditingDisabled: e, closable: i, flowElement: { value:
|
|
206
|
-
const
|
|
202
|
+
const { allowEditingDisabled: e, closable: i, flowElement: { value: r }, initialVersionInfos: o, _isInitialVersionInvalid: n, label: s, messages: t, mode: c, pageSize: a, versionList: g, viewModel: d, viewModel: { loadError: p, state: h } } = this, w = Array.from(d.serviceNameLookup, ([l, m]) => ({ url: l, name: m })), _ = h !== "disabled" ? w.map((l) => {
|
|
203
|
+
const m = {
|
|
207
204
|
allowEditing: !e,
|
|
208
205
|
closable: i,
|
|
209
|
-
currentUser:
|
|
210
|
-
currentVersionIdentifier:
|
|
206
|
+
currentUser: d.userLookup.get(l.url),
|
|
207
|
+
currentVersionIdentifier: d.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,
|
|
211
208
|
executionError: void 0,
|
|
212
|
-
flowElement:
|
|
213
|
-
heading:
|
|
214
|
-
initialVersionInfos:
|
|
209
|
+
flowElement: r,
|
|
210
|
+
heading: s,
|
|
211
|
+
initialVersionInfos: o,
|
|
215
212
|
isInitialVersionInvalid: n,
|
|
216
|
-
isVersionAdministrator:
|
|
217
|
-
isVersioningApiAvailable: (
|
|
218
|
-
mode:
|
|
219
|
-
pageSize:
|
|
213
|
+
isVersionAdministrator: d.versionAdministratorLookup.get(l.url),
|
|
214
|
+
isVersioningApiAvailable: (d.serverVersionLookup.get(l.url) ?? 0) >= 11.2,
|
|
215
|
+
mode: c,
|
|
216
|
+
pageSize: a,
|
|
220
217
|
serviceName: l.name,
|
|
221
|
-
state:
|
|
218
|
+
state: h,
|
|
222
219
|
serviceUrl: l.url,
|
|
223
|
-
strings:
|
|
224
|
-
versionInfos:
|
|
220
|
+
strings: t,
|
|
221
|
+
versionInfos: d.versioningStateLookup.get(l.url)?.versionInfos ?? []
|
|
225
222
|
};
|
|
226
|
-
return
|
|
227
|
-
|
|
228
|
-
}} @arcgisFlowItemClose=${() => this._handleFlowItemClose()} @arcgisGetVersions=${async (
|
|
229
|
-
await this._refreshVersionList(
|
|
230
|
-
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(
|
|
231
|
-
}) : void 0,
|
|
232
|
-
return
|
|
223
|
+
return f`<arcgis-version-management-service-item .serviceItemElementProps=${m} @arcgisFlowItemBack=${() => {
|
|
224
|
+
r && (this._removeVersionListFlowItem(r), this.versionList = void 0);
|
|
225
|
+
}} @arcgisFlowItemClose=${() => this._handleFlowItemClose()} @arcgisGetVersions=${async (b) => {
|
|
226
|
+
await this._refreshVersionList(b.detail.serviceUrl);
|
|
227
|
+
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(b) => this.versionList = b.detail}></arcgis-version-management-service-item>`;
|
|
228
|
+
}) : void 0, x = h === "disabled" && p != null ? f`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(p)}</div></calcite-notice>` : void 0, I = this._showInvalidFeatureServiceNotice ? f`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${() => this._showInvalidFeatureServiceNotice = !1}><div slot=title>${t.headers.invalidInitialFeatureService}</div><div slot=message>${t.loadErrors.invalidInitialFeatureService}</div></calcite-notice>` : void 0;
|
|
229
|
+
return f`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode === "dialog" ? "" : "component-container-flow")} ${z(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${s ?? void 0} @calciteFlowItemClose=${() => this._handleFlowItemClose()} .selected=${!g}>${I}<calcite-panel class="service-items-panel" .loading=${h === "loading" || h === "executing"}>${_}${x}</calcite-panel></calcite-flow-item></calcite-flow></div>`;
|
|
233
230
|
}
|
|
234
231
|
}
|
|
235
|
-
|
|
232
|
+
y("arcgis-version-management", T);
|
|
236
233
|
export {
|
|
237
|
-
|
|
234
|
+
T as ArcgisVersionManagement
|
|
238
235
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as k } from "../../chunks/runtime.js";
|
|
2
|
-
import { LitElement as A, createEvent as t,
|
|
3
|
-
import { html as s, render as
|
|
2
|
+
import { LitElement as A, createEvent as t, safeClassMap as v } from "@arcgis/lumina";
|
|
3
|
+
import { html as s, render as _ } from "lit-html";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.85 */
|
|
7
7
|
class U extends A {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._showInvalidVersionNotice = !0, this.arcgisCreateVersionList = t(), this.arcgisFlowItemBack = t(), this.arcgisFlowItemClose = t(), this.arcgisGetVersions = t(), this.arcgisManageVersion = t(), this.arcgisNewVersion = t();
|
|
@@ -11,29 +11,26 @@ class U extends A {
|
|
|
11
11
|
static {
|
|
12
12
|
this.properties = { _showInvalidVersionNotice: 16, serviceItemElementProps: 0 };
|
|
13
13
|
}
|
|
14
|
-
static {
|
|
15
|
-
this.shadowRootOptions = _;
|
|
16
|
-
}
|
|
17
14
|
disconnectedCallback() {
|
|
18
15
|
super.disconnectedCallback(), this.versionListContainer?.remove();
|
|
19
16
|
}
|
|
20
17
|
render() {
|
|
21
|
-
const { serviceItemElementProps: { allowEditing: h, closable:
|
|
18
|
+
const { serviceItemElementProps: { allowEditing: h, closable: V, currentUser: p, executionError: I, currentVersionIdentifier: r, flowElement: $, heading: b, isInitialVersionInvalid: f, isVersionAdministrator: u, isVersioningApiAvailable: w, mode: N, pageSize: E, serviceName: o, serviceUrl: c, state: C, strings: n, versionInfos: a } } = this;
|
|
22
19
|
let { _versionList: l } = this;
|
|
23
|
-
const x =
|
|
20
|
+
const x = f.get(c) && this._showInvalidVersionNotice ? s`<calcite-notice class=${v(this._showInvalidVersionNotice ? "invalid-initial-version-notice" : "")} closable kind=warning open scale=s width=full icon @calciteNoticeClose=${() => this._showInvalidVersionNotice = !1}><div slot=title>${n.headers.invalidInitialVersion}</div><div slot=message>${n.loadErrors.invalidInitialVersion}</div></calcite-notice>` : void 0, L = s`<calcite-combobox clear-disabled .label=${o} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${(i) => {
|
|
24
21
|
const m = i.target, e = a.find((M) => M.versionIdentifier.guid === m.value);
|
|
25
22
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: c, versionInfo: e });
|
|
26
23
|
}}>${a ? a.map((i) => s`<calcite-combobox-item class=${v(N === "dialog" ? "" : "calcite-combobox-item")} .selected=${r.guid === i.versionIdentifier.guid && r.name === i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
|
|
27
24
|
let d, g;
|
|
28
25
|
return h && (d = s`<calcite-action .id=${`actionManageVersions_${o}`} icon=list scale=s slot=control text @click=${async () => {
|
|
29
26
|
const i = {
|
|
30
|
-
closable:
|
|
31
|
-
currentUser:
|
|
27
|
+
closable: V,
|
|
28
|
+
currentUser: p,
|
|
32
29
|
currentVersionIdentifier: r,
|
|
33
30
|
executionError: I,
|
|
34
31
|
heading: b,
|
|
35
|
-
isVersionAdministrator:
|
|
36
|
-
isVersioningApiAvailable:
|
|
32
|
+
isVersionAdministrator: u,
|
|
33
|
+
isVersioningApiAvailable: w,
|
|
37
34
|
pageSize: E,
|
|
38
35
|
serviceName: o,
|
|
39
36
|
serviceUrl: c,
|
|
@@ -42,7 +39,7 @@ class U extends A {
|
|
|
42
39
|
versionInfos: a
|
|
43
40
|
};
|
|
44
41
|
this.versionListContainer = document.createElement("div");
|
|
45
|
-
const m =
|
|
42
|
+
const m = _(s`<arcgis-version-management-version-list .versionListElementProps=${i} selected show-back-button @arcgisFlowItemBack=${(e) => {
|
|
46
43
|
e.preventDefault(), this.arcgisFlowItemBack.emit();
|
|
47
44
|
}} @arcgisFlowItemClose=${() => this.arcgisFlowItemClose.emit()} @arcgisGetVersions=${(e) => this.arcgisGetVersions.emit({ serviceUrl: e.detail.serviceUrl })} @arcgisManageVersion=${(e) => this.arcgisManageVersion.emit(e.detail)} @arcgisNewVersion=${(e) => this.arcgisNewVersion.emit({ serviceUrl: e.detail.serviceUrl })}></arcgis-version-management-version-list>`, this.versionListContainer);
|
|
48
45
|
l = Array.from(m.parentNode.childNodes).find((e) => e.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"), $?.append(l), this.arcgisCreateVersionList.emit(l);
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { c as u } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as c } from "lit";
|
|
3
|
-
import { LitElement as v, createEvent as b,
|
|
3
|
+
import { LitElement as v, createEvent as b, nothing as f } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
7
|
-
class
|
|
6
|
+
v4.34.0-next.85 */
|
|
7
|
+
class x extends v {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = b();
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.properties = { versionItemElementProps: 0 };
|
|
13
13
|
}
|
|
14
|
-
static {
|
|
15
|
-
this.shadowRootOptions = f;
|
|
16
|
-
}
|
|
17
14
|
render() {
|
|
18
|
-
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m, isVersionAdministrator: g, isVersioningApiAvailable: p, serviceUrl: t, strings: { actions: n }, versionInfo: e } } = this, s = e.versionIdentifier.name, V = s.substring(s.lastIndexOf(".") + 1), a = s.substring(0, s.lastIndexOf(".")), r = e.versionIdentifier.guid, l = `actionSwitchToVersion_${r}`, o = a.toUpperCase() === d.toUpperCase() && p || g, i = m.guid === e.versionIdentifier.guid, h = c`<calcite-action appearance=transparent .disabled=${i} id=${l ??
|
|
15
|
+
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m, isVersionAdministrator: g, isVersioningApiAvailable: p, serviceUrl: t, strings: { actions: n }, versionInfo: e } } = this, s = e.versionIdentifier.name, V = s.substring(s.lastIndexOf(".") + 1), a = s.substring(0, s.lastIndexOf(".")), r = e.versionIdentifier.guid, l = `actionSwitchToVersion_${r}`, o = a.toUpperCase() === d.toUpperCase() && p || g, i = m.guid === e.versionIdentifier.guid, h = c`<calcite-action appearance=transparent .disabled=${i} id=${l ?? f} icon=code-branch text @click=${() => {
|
|
19
16
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
20
17
|
}} slot=actions-start></calcite-action>`, $ = i ? void 0 : c`<calcite-tooltip overlay-positioning=fixed .referenceElement=${l}><span>${n.switchToVersion}</span></calcite-tooltip>`;
|
|
21
18
|
return c`<calcite-list-item .description=${a} .label=${V} .value=${r}>${h}${$}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${() => {
|
|
@@ -27,7 +24,7 @@ class I extends v {
|
|
|
27
24
|
}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`;
|
|
28
25
|
}
|
|
29
26
|
}
|
|
30
|
-
u("arcgis-version-management-version-item",
|
|
27
|
+
u("arcgis-version-management-version-item", x);
|
|
31
28
|
export {
|
|
32
|
-
|
|
29
|
+
x as ArcgisVersionManagementVersionItem
|
|
33
30
|
};
|
|
@@ -4,7 +4,7 @@ import { createRef as f, ref as m } from "lit-html/directives/ref.js";
|
|
|
4
4
|
import { LitElement as y, createEvent as r } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.85 */
|
|
8
8
|
const N = L`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
9
9
|
class U extends y {
|
|
10
10
|
constructor() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as g } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as V, html as l } from "lit";
|
|
3
3
|
import { createRef as u, ref as f } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as $, createEvent as d
|
|
4
|
+
import { LitElement as $, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
const
|
|
9
|
-
class
|
|
7
|
+
v4.34.0-next.85 */
|
|
8
|
+
const I = V`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`;
|
|
9
|
+
class x extends $ {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion = d(), this.arcgisCreateVersion = d(), this.arcgisFlowItemBack = d(), this.arcgisFlowItemClose = d();
|
|
12
12
|
}
|
|
@@ -14,10 +14,7 @@ class C extends $ {
|
|
|
14
14
|
this.properties = { selected: 7, showBackButton: 7, versionPropertiesElementProps: 0 };
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.
|
|
18
|
-
}
|
|
19
|
-
static {
|
|
20
|
-
this.styles = x;
|
|
17
|
+
this.styles = I;
|
|
21
18
|
}
|
|
22
19
|
load() {
|
|
23
20
|
const { versionPropertiesElementProps: { versionInfo: e } } = this;
|
|
@@ -52,18 +49,18 @@ class C extends $ {
|
|
|
52
49
|
description: a.description
|
|
53
50
|
})), e.type) {
|
|
54
51
|
case "calciteChipGroupSelect": {
|
|
55
|
-
const
|
|
56
|
-
i === "create" && (s = { ...s, [
|
|
52
|
+
const n = e.target.label, o = e.target.selectedItems[0].label;
|
|
53
|
+
i === "create" && (s = { ...s, [n]: o }), i === "edit" && (c = { ...c, [n]: o });
|
|
57
54
|
break;
|
|
58
55
|
}
|
|
59
56
|
case "calciteInputTextInput": {
|
|
60
|
-
const
|
|
61
|
-
i === "create" && (s = { ...s, [
|
|
57
|
+
const n = e.target.name, o = e.target.value;
|
|
58
|
+
i === "create" && (s = { ...s, [n]: o }), i === "edit" && (c = { ...c, [n]: o });
|
|
62
59
|
break;
|
|
63
60
|
}
|
|
64
61
|
case "calciteTextAreaInput": {
|
|
65
|
-
const
|
|
66
|
-
i === "create" && (s = { ...s, [
|
|
62
|
+
const n = e.target.name, o = e.target.value;
|
|
63
|
+
i === "create" && (s = { ...s, [n]: o }), i === "edit" && (c = { ...c, [n]: o });
|
|
67
64
|
break;
|
|
68
65
|
}
|
|
69
66
|
}
|
|
@@ -85,11 +82,11 @@ class C extends $ {
|
|
|
85
82
|
this._switchToVersion = e.target.checked;
|
|
86
83
|
}
|
|
87
84
|
render() {
|
|
88
|
-
const { selected: e, showBackButton: i, versionPropertiesElementProps: { closable: h, currentUser: m, state: p, strings: t, versionInfo: r }, _mode: a, _ownerName: c, _versionName: s } = this,
|
|
89
|
-
return l`<calcite-flow-item .closable=${h} .description=${r ? r.versionIdentifier.name : ""} .heading=${r ? t.actions.editVersion : t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${f(this._flowItemElement)}><calcite-panel .loading=${p === "executing"}><calcite-block .label=${t.headers.versionProperties} open>${b}${v}${
|
|
85
|
+
const { selected: e, showBackButton: i, versionPropertiesElementProps: { closable: h, currentUser: m, state: p, strings: t, versionInfo: r }, _mode: a, _ownerName: c, _versionName: s } = this, n = l`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`, o = l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a === "edit" && r.access === "public" || a === "create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, v = l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a === "edit" ? r.description : ""}></calcite-text-area></calcite-label>`, b = l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a === "edit" ? s : ""} ${f(this._versionNameInputElement)}></calcite-input-text></calcite-label>`, _ = l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a === "edit" ? c : m}></calcite-input-text></calcite-label>`, w = a === "create" ? l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${f(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>` : void 0;
|
|
86
|
+
return l`<calcite-flow-item .closable=${h} .description=${r ? r.versionIdentifier.name : ""} .heading=${r ? t.actions.editVersion : t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${f(this._flowItemElement)}><calcite-panel .loading=${p === "executing"}><calcite-block .label=${t.headers.versionProperties} open>${b}${v}${o}${_}${w}${n}</calcite-block></calcite-panel></calcite-flow-item>`;
|
|
90
87
|
}
|
|
91
88
|
}
|
|
92
|
-
g("arcgis-version-management-version-properties",
|
|
89
|
+
g("arcgis-version-management-version-properties", x);
|
|
93
90
|
export {
|
|
94
|
-
|
|
91
|
+
x as ArcgisVersionManagementVersionProperties
|
|
95
92
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
4
|
import { default as VideoView } from '@arcgis/core/views/VideoView.js';
|
|
5
|
-
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
5
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
|
|
7
|
-
declare const useVideoView: (component: LitElement & Omit<Pick<VideoView, "
|
|
7
|
+
declare const useVideoView: (component: LitElement & Omit<Pick<VideoView, "map" | "navigation" | "scale" | "container" | "ui" | "layer">, ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "navigation" | "scale" | "container" | "ui"> & {
|
|
8
8
|
autoDestroyDisabled: boolean;
|
|
9
9
|
destroy: () => Promise<void>;
|
|
10
10
|
}) => VideoView;
|