@arcgis/map-components 5.0.0-next.7 → 5.0.0-next.70
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/26JDOX7L.js +4 -0
- package/dist/cdn/2AJBU37K.js +4 -0
- package/dist/cdn/2FI6P6JF.js +9 -0
- package/dist/cdn/2L2FYB47.js +4 -0
- package/dist/cdn/2MJ4VSTM.js +4 -0
- package/dist/cdn/2TA36KJT.js +4 -0
- package/dist/cdn/2UADLYTZ.js +4 -0
- package/dist/cdn/2UKQAYDD.js +4 -0
- package/dist/cdn/2WZJ6CY5.js +4 -0
- package/dist/cdn/34HU6TI2.js +4 -0
- package/dist/cdn/{MK6DQGSF.js → 35C6NAQW.js} +2 -2
- package/dist/cdn/{5T5JJGIY.js → 3AGTEZSO.js} +2 -2
- package/dist/cdn/3BQAMPCB.js +4 -0
- package/dist/cdn/3FQA3QGZ.js +4 -0
- package/dist/cdn/3JBMVB3V.js +4 -0
- package/dist/cdn/{C2236CBZ.js → 3K4DN3GL.js} +1 -1
- package/dist/cdn/3POSBXMK.js +4 -0
- package/dist/cdn/{G4FVGNVY.js → 3RBQ5WZE.js} +2 -2
- package/dist/cdn/3UTWAWE7.js +4 -0
- package/dist/cdn/3WLAD7LO.js +4 -0
- package/dist/cdn/3XIC34TR.js +4 -0
- package/dist/cdn/{VHLNK34F.js → 3XWZ6VTM.js} +2 -2
- package/dist/cdn/3ZA45V4L.js +4 -0
- package/dist/cdn/44WDA746.js +4 -0
- package/dist/cdn/47NRTALC.js +4 -0
- package/dist/cdn/4FT42X2X.js +4 -0
- package/dist/cdn/4QFDEOJV.js +4 -0
- package/dist/cdn/{BZC6X3RM.js → 54WMH2QG.js} +2 -2
- package/dist/cdn/{AMG4CQWO.js → 5EJAJJWW.js} +2 -2
- package/dist/cdn/5J56Z2TL.js +4 -0
- package/dist/cdn/{BJLLWEDQ.js → 5NKMRAL2.js} +1 -1
- package/dist/cdn/{7P4IZ3TJ.js → 5TPECAPS.js} +2 -2
- package/dist/cdn/5VOMHDB7.js +4 -0
- package/dist/cdn/{FMOTQNWT.js → 642IX6IV.js} +2 -2
- package/dist/cdn/{UEGTZRQO.js → 646PEYNE.js} +2 -2
- package/dist/cdn/{MQL4RPHT.js → 66QM2WHT.js} +2 -2
- package/dist/cdn/67ELDB4C.js +4 -0
- package/dist/cdn/6HQYEHV5.js +4 -0
- package/dist/cdn/6L4H7QK6.js +4 -0
- package/dist/cdn/6MYPQWW3.js +4 -0
- package/dist/cdn/6NCALKSE.js +4 -0
- package/dist/cdn/6QQIJAKC.js +4 -0
- package/dist/cdn/6SOJHDIW.js +4 -0
- package/dist/cdn/6XQMMZWJ.js +4 -0
- package/dist/cdn/6YMKAHHH.js +4 -0
- package/dist/cdn/{HDNA5F6G.js → 75HGBLMW.js} +2 -2
- package/dist/cdn/7GJCEI7A.js +4 -0
- package/dist/cdn/{E7UOBFTE.js → 7OKJO4UV.js} +2 -2
- package/dist/cdn/7U2I7LPD.js +4 -0
- package/dist/cdn/7WHFFM3P.js +4 -0
- package/dist/cdn/A6G446TB.js +4 -0
- package/dist/cdn/AC2JD3CK.js +4 -0
- package/dist/cdn/ADYBFWVK.js +4 -0
- package/dist/cdn/AFZKSRRK.js +4 -0
- package/dist/cdn/AOKEANVL.js +4 -0
- package/dist/cdn/AVDQ26F4.js +4 -0
- package/dist/cdn/{LFERT3PE.js → AXLD7LHL.js} +1 -1
- package/dist/cdn/BFKHKQBK.js +4 -0
- package/dist/cdn/BH7IVSSS.js +4 -0
- package/dist/cdn/BQ3OSZEY.js +4 -0
- package/dist/cdn/C6SGYWIQ.js +4 -0
- package/dist/cdn/C72625A3.js +4 -0
- package/dist/cdn/CBDZUDRK.js +4 -0
- package/dist/cdn/CNK22TYD.js +4 -0
- package/dist/cdn/CQFRP7G6.js +4 -0
- package/dist/cdn/D3SE5OEB.js +4 -0
- package/dist/cdn/{BIW7LQAB.js → DKVC5ZTZ.js} +2 -2
- package/dist/cdn/DLW2QIMH.js +4 -0
- package/dist/cdn/DQAAY45V.js +4 -0
- package/dist/cdn/DRBLZV5C.js +4 -0
- package/dist/cdn/DT4JCC4I.js +4 -0
- package/dist/cdn/DUDYF23J.js +4 -0
- package/dist/cdn/DZQO5R35.js +4 -0
- package/dist/cdn/EG5OHCCW.js +6 -0
- package/dist/cdn/{2WWNPYIH.js → EPU6W2Q7.js} +2 -2
- package/dist/cdn/EWZ4CYCK.js +4 -0
- package/dist/cdn/{FPDZK5KF.js → EZBDKHUZ.js} +2 -2
- package/dist/cdn/{7ZTK5RNR.js → F44KLDGR.js} +2 -2
- package/dist/cdn/F72WCJPL.js +4 -0
- package/dist/cdn/{EHMZR5TR.js → F7TFRUFQ.js} +2 -2
- package/dist/cdn/FGG5MJGR.js +4 -0
- package/dist/cdn/FLMPRMYV.js +4 -0
- package/dist/cdn/FRAOBD7G.js +4 -0
- package/dist/cdn/GCLTYYCU.js +4 -0
- package/dist/cdn/GI6NWNBB.js +4 -0
- package/dist/cdn/GTB4J7HB.js +4 -0
- package/dist/cdn/{44LY3QB2.js → GZT3DNI3.js} +2 -2
- package/dist/cdn/{BR4XEJ4B.js → H7WN46AE.js} +2 -2
- package/dist/cdn/HDRAXLH5.js +4 -0
- package/dist/cdn/HSR3USTR.js +4 -0
- package/dist/cdn/{MNQPVVH3.js → HW7Z5DYR.js} +2 -2
- package/dist/cdn/HZ7GUEYG.js +4 -0
- package/dist/cdn/I722W7SV.js +4 -0
- package/dist/cdn/IDRJXBOL.js +4 -0
- package/dist/cdn/IG67TAIB.js +4 -0
- package/dist/cdn/IGQ465ND.js +4 -0
- package/dist/cdn/{MIZIJT77.js → IT57KQ22.js} +1 -1
- package/dist/cdn/ITVAMUHE.js +4 -0
- package/dist/cdn/IYBRQA7K.js +4 -0
- package/dist/cdn/J4R3TJOA.js +4 -0
- package/dist/cdn/J64TAA2Z.js +4 -0
- package/dist/cdn/{R5W7EQYL.js → J7U7GHA2.js} +2 -2
- package/dist/cdn/{SEDGRHB7.js → JEX6DX4K.js} +2 -2
- package/dist/cdn/JKEMA75Q.js +4 -0
- package/dist/cdn/{R2S3OK5G.js → JSW6KUN3.js} +1 -1
- package/dist/cdn/JVAMZW4L.js +4 -0
- package/dist/cdn/{M4TTKFBW.js → JW37BB6N.js} +2 -2
- package/dist/cdn/K3T3AIC2.js +4 -0
- package/dist/cdn/K3ZRL7WQ.js +4 -0
- package/dist/cdn/K4EDGGAZ.js +4 -0
- package/dist/cdn/{BWTML5G2.js → KD56ZTQN.js} +2 -2
- package/dist/cdn/{QWRWNIDQ.js → KKLFZLKV.js} +2 -2
- package/dist/cdn/{W2ENKEBL.js → KOAR72C3.js} +2 -2
- package/dist/cdn/KTIJ34V2.js +4 -0
- package/dist/cdn/KTW7RC5D.js +4 -0
- package/dist/cdn/{RJPMPWQK.js → KWB2XBVW.js} +2 -2
- package/dist/cdn/L6PNLMMM.js +4 -0
- package/dist/cdn/LFT7AXGU.js +4 -0
- package/dist/cdn/LJMG57ZP.js +4 -0
- package/dist/cdn/LJOZM4XY.js +4 -0
- package/dist/cdn/{RXFIRFZE.js → LKLFY5KR.js} +2 -2
- package/dist/cdn/LLOLRVEA.js +4 -0
- package/dist/cdn/LOW526NN.js +4 -0
- package/dist/cdn/LRNDH6QK.js +4 -0
- package/dist/cdn/LSXLR62A.js +4 -0
- package/dist/cdn/M43QDY5I.js +4 -0
- package/dist/cdn/M4LH7UWT.js +5 -0
- package/dist/cdn/M6OL4LHV.js +4 -0
- package/dist/cdn/MBIXNRNI.js +4 -0
- package/dist/cdn/MCNMNJIK.js +4 -0
- package/dist/cdn/MM4OXIXL.js +4 -0
- package/dist/cdn/MSABHDZU.js +4 -0
- package/dist/cdn/{DOQSCVJD.js → MXJC7T2K.js} +1 -1
- package/dist/cdn/MY2Z6SIV.js +4 -0
- package/dist/cdn/{PG4Z6IM6.js → MZ7ODPR6.js} +2 -2
- package/dist/cdn/N53JW3QQ.js +4 -0
- package/dist/cdn/NH52DS6I.js +4 -0
- package/dist/cdn/NIN4O3AV.js +4 -0
- package/dist/cdn/NLFOQYWM.js +4 -0
- package/dist/cdn/NPVKF7VQ.js +4 -0
- package/dist/cdn/{UUBRHGGR.js → NRLOZN2M.js} +2 -2
- package/dist/cdn/NTRX63A3.js +4 -0
- package/dist/cdn/{W5T3D66S.js → NVJVCGNK.js} +2 -2
- package/dist/cdn/NZ7LFDFP.js +4 -0
- package/dist/cdn/OCRBNRBA.js +4 -0
- package/dist/cdn/OEGG7JYK.js +4 -0
- package/dist/cdn/OF3AOV7G.js +4 -0
- package/dist/cdn/OIH7Z44X.js +4 -0
- package/dist/cdn/{U2SXGKX4.js → OLM5Q453.js} +2 -2
- package/dist/cdn/ONAAWLOK.js +4 -0
- package/dist/cdn/OTNCPINR.js +4 -0
- package/dist/cdn/{MD5JUHBL.js → OXAM5OE4.js} +2 -2
- package/dist/cdn/PLFMIHV5.js +4 -0
- package/dist/cdn/PZQELMQA.js +4 -0
- package/dist/cdn/{FBKD2FUV.js → QG4FYH3Q.js} +2 -2
- package/dist/cdn/{UBAX43ZI.js → QGG4672J.js} +2 -2
- package/dist/cdn/{YY62WYQK.js → QQLJPVLE.js} +1 -1
- package/dist/cdn/{32AM3PJ5.js → QTWERGPS.js} +2 -2
- package/dist/cdn/QTZTRCFQ.js +4 -0
- package/dist/cdn/R5PKGS3Z.js +4 -0
- package/dist/cdn/{DFXD6UAY.js → RANIQHZ4.js} +2 -2
- package/dist/cdn/RDSEQEH7.js +4 -0
- package/dist/cdn/RJ25LWM5.js +4 -0
- package/dist/cdn/{Y3OSDFR4.js → RJIZLC65.js} +2 -2
- package/dist/cdn/{3YHA662Y.js → RLKAOX5V.js} +2 -2
- package/dist/cdn/RN6SAKBH.js +4 -0
- package/dist/cdn/ROPQZ7K7.js +4 -0
- package/dist/cdn/RRW66XPY.js +4 -0
- package/dist/cdn/{6DWBG7BD.js → RW4X2SEO.js} +1 -1
- package/dist/cdn/S4EDMZ6S.js +4 -0
- package/dist/cdn/SCSCH3MP.js +4 -0
- package/dist/cdn/SFMPIUNY.js +4 -0
- package/dist/cdn/SHODV7PA.js +4 -0
- package/dist/cdn/SLPG2QJI.js +4 -0
- package/dist/cdn/SNQ3EGHO.js +4 -0
- package/dist/cdn/SS5Y2UXD.js +4 -0
- package/dist/cdn/STROR4FC.js +4 -0
- package/dist/cdn/SUWAGE26.js +4 -0
- package/dist/cdn/{EOCT6FGC.js → SVKL7SCS.js} +2 -2
- package/dist/cdn/T6TGCFG7.js +4 -0
- package/dist/cdn/TBLNSXF2.js +4 -0
- package/dist/cdn/{HUMIV3VH.js → TLX43SVR.js} +2 -2
- package/dist/cdn/TNQRG57C.js +4 -0
- package/dist/cdn/TO7VDGWR.js +4 -0
- package/dist/cdn/TYZB7JH2.js +4 -0
- package/dist/cdn/UEMQ6HIM.js +4 -0
- package/dist/cdn/UEURLSTH.js +4 -0
- package/dist/cdn/UK2YKIWP.js +4 -0
- package/dist/cdn/UL5YFGP3.js +4 -0
- package/dist/cdn/{GANTC2JR.js → UTWX5BSO.js} +2 -2
- package/dist/cdn/UUEGE5Y5.js +4 -0
- package/dist/cdn/UVTTVQE2.js +4 -0
- package/dist/cdn/UXGGIILT.js +4 -0
- package/dist/cdn/{YXSNZP3J.js → V23GY43X.js} +2 -2
- package/dist/cdn/V2ZJN2EQ.js +4 -0
- package/dist/cdn/V7CU6RAM.js +4 -0
- package/dist/cdn/VD6WYQAO.js +4 -0
- package/dist/cdn/VELO7EJB.js +4 -0
- package/dist/cdn/VF3HNFXS.js +4 -0
- package/dist/cdn/VJYZNOOA.js +4 -0
- package/dist/cdn/VPUDRNGS.js +4 -0
- package/dist/cdn/{2RQATXIO.js → VWYAA2N2.js} +2 -2
- package/dist/cdn/{G5PMGVU4.js → VZXJFENF.js} +2 -2
- package/dist/cdn/{O3BCMGPN.js → W6NJ2BQN.js} +2 -2
- package/dist/cdn/{MI6G3PVS.js → WJ5NJGR3.js} +2 -2
- package/dist/cdn/WJQROPTI.js +4 -0
- package/dist/cdn/WO46A22R.js +4 -0
- package/dist/cdn/{XAAWUQP3.js → WP66R2PP.js} +2 -2
- package/dist/cdn/WUG3IPPC.js +4 -0
- package/dist/cdn/{IFZJKELT.js → X2JWUDA6.js} +2 -2
- package/dist/cdn/X5MID63J.js +4 -0
- package/dist/cdn/{ZEHTSMNI.js → XHBSYQZG.js} +2 -2
- package/dist/cdn/XPT3EQAZ.js +4 -0
- package/dist/cdn/XQZ65RP5.js +4 -0
- package/dist/cdn/XX4MFLJZ.js +4 -0
- package/dist/cdn/XZKAH7ZG.js +4 -0
- package/dist/cdn/YIB7ZARM.js +4 -0
- package/dist/cdn/YL46ZGI7.js +4 -0
- package/dist/cdn/YMLGTPNZ.js +4 -0
- package/dist/cdn/YNGW6WKP.js +4 -0
- package/dist/cdn/{CV67UIOI.js → YPHRNTBJ.js} +2 -2
- package/dist/cdn/YU4YB6HY.js +4 -0
- package/dist/cdn/YVBL6VCO.js +4 -0
- package/dist/cdn/YVI2EXKN.js +4 -0
- package/dist/cdn/Z4UKEPUJ.js +4 -0
- package/dist/cdn/ZAKIAMLE.js +4 -0
- package/dist/cdn/ZFH2RDZ5.js +4 -0
- package/dist/cdn/ZGENAH5M.js +4 -0
- package/dist/cdn/ZICBTD4H.js +4 -0
- package/dist/cdn/ZJEOOMMW.js +4 -0
- package/dist/cdn/{XPV6WDON.js → ZTLLZOVS.js} +1 -1
- package/dist/cdn/{75OXQ2H2.js → ZTTPPLL7.js} +1 -1
- package/dist/cdn/ZZCFJWBZ.js +4 -0
- 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/presentation/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -0
- 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 -1
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-results/t9n/messages.en.json +1 -1
- 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 +52 -43
- 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/constants.js +10 -0
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +33 -33
- 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 +2 -2
- 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/time-utils.js +53 -0
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +79 -49
- 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 +5 -5
- 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 +72 -56
- 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 +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +33 -22
- 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 +7 -7
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- 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 +66 -65
- package/dist/components/arcgis-coordinate-conversion/customElement.js +13 -13
- package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
- package/dist/components/arcgis-daylight/customElement.js +209 -250
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -4
- 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 +5 -15
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -4
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +9 -5
- 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 +71 -52
- 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 +33 -8
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +37 -20
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +200 -80
- package/dist/components/arcgis-elevation-profile/customElement.js +585 -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 +16 -15
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +37 -31
- package/dist/components/arcgis-feature/customElement.js +15 -15
- 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 +1 -2
- package/dist/components/arcgis-feature-fields/customElement.js +27 -27
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-media/customElement.js +9 -9
- package/dist/components/arcgis-feature-relationship/customElement.js +51 -50
- package/dist/components/arcgis-feature-table/customElement.d.ts +21 -8
- 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 +1 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -63
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +10 -9
- package/dist/components/arcgis-features/customElement.d.ts +37 -16
- package/dist/components/arcgis-features/customElement.js +9 -11
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -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 +6 -5
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +5 -5
- 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 +11 -7
- 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 +29 -14
- 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 +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- 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 +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +103 -21
- package/dist/components/arcgis-link-chart/customElement.js +27 -25
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +12 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +3 -3
- package/dist/components/arcgis-locate/customElement.js +9 -7
- package/dist/components/arcgis-map/customElement.d.ts +517 -51
- package/dist/components/arcgis-map/customElement.js +26 -24
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -7
- 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 +3 -3
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +53 -11
- package/dist/components/arcgis-popup/customElement.js +9 -6
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +27 -0
- package/dist/components/arcgis-presentation/customElement.d.ts +56 -0
- package/dist/components/arcgis-presentation/customElement.js +140 -0
- package/dist/components/arcgis-presentation/index.d.ts +2 -0
- package/dist/components/arcgis-presentation/index.js +2 -0
- package/dist/components/arcgis-print/customElement.d.ts +56 -11
- package/dist/components/arcgis-print/customElement.js +47 -32
- package/dist/components/arcgis-print/utils.d.ts +0 -1
- 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 +5 -3
- package/dist/components/arcgis-print-exports-panel/customElement.js +80 -19
- 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 +58 -24
- package/dist/components/arcgis-print-layout-advanced-options/index.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/index.js +2 -0
- 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 +8 -2
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- 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 +22 -23
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +0 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +28 -33
- package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/index.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +4 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +149 -22
- package/dist/components/arcgis-scene/customElement.js +26 -24
- package/dist/components/arcgis-search/customElement.d.ts +25 -23
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +44 -0
- package/dist/components/arcgis-shadow-cast/constants.d.ts +3 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +220 -89
- package/dist/components/arcgis-shadow-cast/customElement.js +243 -22
- package/dist/components/arcgis-shadow-cast/index.d.ts +9 -0
- package/dist/components/arcgis-shadow-cast/index.js +9 -0
- package/dist/components/arcgis-shadow-cast/interfaces.d.ts +55 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +50 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +34 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.d.ts +31 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +44 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.d.ts +6 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.js +6 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +49 -18
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +4 -4
- 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 +6 -4
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +8 -6
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +7 -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 +5 -5
- 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.js +1 -1
- 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-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 +7 -5
- 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 +69 -40
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +16 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +175 -110
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +2 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +173 -117
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +1 -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.d.ts +26 -6
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +132 -34
- package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- 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 +5 -5
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
- package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +21 -13
- package/dist/components/arcgis-video/customElement.js +3 -3
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- 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 +220 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +245 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +11 -0
- package/dist/components/arcgis-volume-measurement/index.js +11 -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 +20 -4
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -3
- 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 +6 -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 +10682 -9046
- package/dist/docs/docs.json +7051 -5602
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +832 -546
- package/dist/docs/web-types.json +1780 -1157
- package/dist/index.d.ts +139 -125
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +1 -1
- package/dist/loader.js +40 -36
- package/dist/support/AnalysisViewModel.d.ts +4 -3
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +6 -3
- package/dist/support/time-utils.d.ts +6 -0
- package/dist/types/components.d.ts +1 -1
- package/dist/types/lumina.d.ts +120 -105
- package/dist/types/preact.d.ts +125 -108
- package/dist/types/preact10.d.ts +129 -110
- package/dist/types/react.d.ts +130 -111
- package/dist/types/stencil.d.ts +120 -105
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +4 -4
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/package.json +5 -5
- package/dist/cdn/27OLXDSF.js +0 -4
- package/dist/cdn/2DI73YIB.js +0 -4
- package/dist/cdn/2F2NXYKC.js +0 -4
- package/dist/cdn/2HMB76Z5.js +0 -4
- package/dist/cdn/3LIPNJER.js +0 -4
- package/dist/cdn/3PHUVNMO.js +0 -4
- package/dist/cdn/3U4KMEXD.js +0 -4
- package/dist/cdn/3YNGI2TD.js +0 -4
- package/dist/cdn/44D2CQXK.js +0 -4
- package/dist/cdn/4HLE3NFA.js +0 -4
- package/dist/cdn/4RZ2KUNN.js +0 -4
- package/dist/cdn/54WB3EST.js +0 -4
- package/dist/cdn/576GJQTN.js +0 -4
- package/dist/cdn/5VJNY7VQ.js +0 -4
- package/dist/cdn/5WLA2JTM.js +0 -4
- package/dist/cdn/62ACF4GK.js +0 -4
- package/dist/cdn/6A5UTVGJ.js +0 -4
- package/dist/cdn/6LADRP6U.js +0 -4
- package/dist/cdn/6UMHGQQQ.js +0 -4
- package/dist/cdn/7AMVYS4J.js +0 -4
- package/dist/cdn/7DDS4PSE.js +0 -4
- package/dist/cdn/7MSVBRFX.js +0 -4
- package/dist/cdn/7OFHFYVY.js +0 -4
- package/dist/cdn/7ONVHE43.js +0 -4
- package/dist/cdn/7RMBEOAT.js +0 -4
- package/dist/cdn/7T3OMP3P.js +0 -4
- package/dist/cdn/7X66YHTY.js +0 -4
- package/dist/cdn/A4XLJBOQ.js +0 -4
- package/dist/cdn/AHWDCV4N.js +0 -4
- package/dist/cdn/AJTP62TS.js +0 -4
- package/dist/cdn/AMBRZDBB.js +0 -4
- package/dist/cdn/AMFMXMYU.js +0 -4
- package/dist/cdn/API4DWYS.js +0 -4
- package/dist/cdn/ARBQIEOZ.js +0 -4
- package/dist/cdn/AVCXAEKW.js +0 -4
- package/dist/cdn/AZ2OINQZ.js +0 -4
- package/dist/cdn/BAYBJSRA.js +0 -4
- package/dist/cdn/BHLLVXY4.js +0 -4
- package/dist/cdn/BMHY3L6P.js +0 -4
- package/dist/cdn/BS72LKTC.js +0 -4
- package/dist/cdn/BUQLVGX2.js +0 -4
- package/dist/cdn/BW3BKF7S.js +0 -4
- package/dist/cdn/CF5WWETS.js +0 -4
- package/dist/cdn/CKKEUYVF.js +0 -4
- package/dist/cdn/CRLVMPT6.js +0 -4
- package/dist/cdn/DDDCENIA.js +0 -4
- package/dist/cdn/DF6FT47K.js +0 -6
- package/dist/cdn/DFGIY6KN.js +0 -4
- package/dist/cdn/DPL4VHPW.js +0 -4
- package/dist/cdn/DTW55COI.js +0 -4
- package/dist/cdn/DXMYVDTD.js +0 -4
- package/dist/cdn/E5R6OKXP.js +0 -4
- package/dist/cdn/EAW4FQUJ.js +0 -4
- package/dist/cdn/EHFI4NFD.js +0 -4
- package/dist/cdn/EJG47NJ4.js +0 -4
- package/dist/cdn/EKGSDQRG.js +0 -4
- package/dist/cdn/EO3JN6RG.js +0 -4
- package/dist/cdn/EQBVGZUT.js +0 -4
- package/dist/cdn/EQDSFFHS.js +0 -4
- package/dist/cdn/ES26WJJB.js +0 -4
- package/dist/cdn/EU5DIWMP.js +0 -4
- package/dist/cdn/EVNKT7CS.js +0 -4
- package/dist/cdn/EZXIWACW.js +0 -4
- package/dist/cdn/F7YID2WS.js +0 -4
- package/dist/cdn/FO5HN26Z.js +0 -4
- package/dist/cdn/FRJJS6WF.js +0 -4
- package/dist/cdn/FYCB5LC4.js +0 -4
- package/dist/cdn/G7AINTVJ.js +0 -4
- package/dist/cdn/GCLPCPGB.js +0 -4
- package/dist/cdn/GFZEN7IR.js +0 -4
- package/dist/cdn/GQTIMLNH.js +0 -4
- package/dist/cdn/GWSNNZXP.js +0 -4
- package/dist/cdn/HQVB755E.js +0 -4
- package/dist/cdn/I3FHEM2H.js +0 -4
- package/dist/cdn/IB4GIMGM.js +0 -4
- package/dist/cdn/IPFACLKD.js +0 -4
- package/dist/cdn/IVS6B4TK.js +0 -4
- package/dist/cdn/IWZMOW4V.js +0 -4
- package/dist/cdn/J4VS6ZIF.js +0 -4
- package/dist/cdn/JCHQDIR6.js +0 -4
- package/dist/cdn/JE4BSPXI.js +0 -4
- package/dist/cdn/JLMYKOTB.js +0 -4
- package/dist/cdn/JU3SPL5S.js +0 -4
- package/dist/cdn/K2F7CBO6.js +0 -4
- package/dist/cdn/KCGCGEF7.js +0 -4
- package/dist/cdn/KD57RLBJ.js +0 -4
- package/dist/cdn/KGX5BMVF.js +0 -4
- package/dist/cdn/KSXL7KZW.js +0 -4
- package/dist/cdn/KUJNPIQB.js +0 -4
- package/dist/cdn/KYJ6ODES.js +0 -4
- package/dist/cdn/LHPNHGL5.js +0 -4
- package/dist/cdn/LOD2SN53.js +0 -4
- package/dist/cdn/LU2ZEFNK.js +0 -4
- package/dist/cdn/MFNCONT5.js +0 -4
- package/dist/cdn/MLMK5DYB.js +0 -4
- package/dist/cdn/MQL72DKL.js +0 -4
- package/dist/cdn/MSZQYK2V.js +0 -4
- package/dist/cdn/MUQAKAUR.js +0 -4
- package/dist/cdn/NIX62YJ5.js +0 -4
- package/dist/cdn/NK4JJJ3J.js +0 -4
- package/dist/cdn/O65PIWHP.js +0 -4
- package/dist/cdn/OI7L5JYC.js +0 -4
- package/dist/cdn/OMYEERQN.js +0 -4
- package/dist/cdn/OO7IZEBI.js +0 -4
- package/dist/cdn/OXUZ35GH.js +0 -5
- package/dist/cdn/P34SUK6J.js +0 -4
- package/dist/cdn/PC45POAO.js +0 -4
- package/dist/cdn/PG4JSSVK.js +0 -4
- package/dist/cdn/PGKZ2HPF.js +0 -4
- package/dist/cdn/PM4SNJDH.js +0 -4
- package/dist/cdn/PMSGGWUW.js +0 -4
- package/dist/cdn/Q6DSCXON.js +0 -4
- package/dist/cdn/QMC3TY3W.js +0 -9
- package/dist/cdn/QP3MAEDM.js +0 -4
- package/dist/cdn/QWW3MHGA.js +0 -4
- package/dist/cdn/R4DMYEQC.js +0 -4
- package/dist/cdn/R67Q3OIO.js +0 -4
- package/dist/cdn/R7CXX3HM.js +0 -4
- package/dist/cdn/RGNZOLUW.js +0 -4
- package/dist/cdn/RHKQGAZU.js +0 -4
- package/dist/cdn/RJ2F4ZE6.js +0 -4
- package/dist/cdn/RQX5L4VL.js +0 -4
- package/dist/cdn/S2R2RQ6R.js +0 -4
- package/dist/cdn/SDICLWFI.js +0 -4
- package/dist/cdn/SGARZDQH.js +0 -4
- package/dist/cdn/SIPZMYB4.js +0 -4
- package/dist/cdn/SNWM3QNT.js +0 -4
- package/dist/cdn/STOVGTPC.js +0 -4
- package/dist/cdn/UB43YIRC.js +0 -4
- package/dist/cdn/UDXVD5XZ.js +0 -4
- package/dist/cdn/UFJJSQPL.js +0 -4
- package/dist/cdn/UGGH2ZYL.js +0 -4
- package/dist/cdn/UP6V7HAC.js +0 -4
- package/dist/cdn/UVKUXDIO.js +0 -4
- package/dist/cdn/VAE46PTT.js +0 -4
- package/dist/cdn/VCWGFFLB.js +0 -4
- package/dist/cdn/VF5ZEZIA.js +0 -4
- package/dist/cdn/VGOXORF3.js +0 -4
- package/dist/cdn/VVFA7BGW.js +0 -4
- package/dist/cdn/WDLQOKMF.js +0 -4
- package/dist/cdn/WHXM4RSM.js +0 -4
- package/dist/cdn/WI5OAAU5.js +0 -4
- package/dist/cdn/WPSYRM5U.js +0 -4
- package/dist/cdn/WQX34SJR.js +0 -4
- package/dist/cdn/WSROCQLI.js +0 -4
- package/dist/cdn/WYSUU2YF.js +0 -4
- package/dist/cdn/X2HGZACW.js +0 -4
- package/dist/cdn/X73IB46P.js +0 -4
- package/dist/cdn/XITYDU6J.js +0 -4
- package/dist/cdn/XUUYGDDT.js +0 -4
- package/dist/cdn/YGHWVOXY.js +0 -4
- package/dist/cdn/YIIAEYM6.js +0 -4
- package/dist/cdn/Z3AW5R2E.js +0 -4
- package/dist/cdn/Z3OUKTDA.js +0 -4
- package/dist/cdn/Z3P3YHQ6.js +0 -4
- package/dist/cdn/ZEKB6D5C.js +0 -4
- package/dist/cdn/ZIIGODZS.js +0 -4
- package/dist/cdn/ZY3XCOUK.js +0 -4
- package/dist/cdn/ZYM4PPCW.js +0 -4
- package/dist/cdn/ZZ7RT7QM.js +0 -4
- package/dist/cdn/ZZRSXHDL.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/utility-network-result-feature-list/t9n/messages.zh-TW.json +0 -1
- 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 -90
- package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
- package/dist/components/arcgis-print-exported-link/index.js +0 -7
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.d.ts +0 -33
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +0 -72
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -6
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -6
- 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,58 +1,156 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
+
import { queryAllJSON as g } from "@arcgis/core/applications/Components/featureUtils.js";
|
|
3
|
+
import y from "@arcgis/core/rest/support/FeatureSet.js";
|
|
4
|
+
import { LitElement as f, createEvent as d } from "@arcgis/lumina";
|
|
5
|
+
import { css as p, html as r } from "lit";
|
|
6
|
+
import { createRef as _, ref as L } from "lit/directives/ref.js";
|
|
7
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
6
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
9
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
9
|
-
const
|
|
10
|
-
class
|
|
10
|
+
v5.0.0-next.70 */
|
|
11
|
+
const F = p`:host{max-height:calc(100vh - 150px);min-height:300px}#results-list,#features-list{min-height:300px}.results-heading{display:flex;flex-direction:column;padding:var(--calcite-spacing-md);gap:var(--calcite-spacing-xs)}.results-heading .results-heading-title{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-1)}.results-heading .results-heading-subtitle{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3)}.no-results-landing{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:var(--calcite-spacing-xl);gap:var(--calcite-spacing-md)}.no-results-landing calcite-icon{margin-bottom:var(--calcite-spacing-sm);--calcite-icon-color: var(--calcite-color-text-3)}.no-results-landing .no-results-heading{font-size:var(--calcite-font-size-2)}.no-results-landing .no-results-description{color:var(--calcite-color-text-3)}`, c = "map-components:arcgis-utility-network-trace-results";
|
|
12
|
+
class w extends f {
|
|
11
13
|
constructor() {
|
|
12
|
-
super(...arguments), this.
|
|
13
|
-
const
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
super(...arguments), this._messages = $({ blocking: !0 }), this._elementsWithoutLayer = [], this._featuresComponentRef = _(), this._layerIdToFeatures = /* @__PURE__ */ new Map(), this._layerIdToLayer = /* @__PURE__ */ new Map(), this._subtypeCodeToFeatures = /* @__PURE__ */ new Map(), this._sourceIdToElements = /* @__PURE__ */ new Map(), this._unLayers = [], this._comapreByFeatureTitle = (e, t) => e.label.localeCompare(t.label, void 0, { numeric: !0 }), this._compareByLayerTitle = ([, e], [, t]) => {
|
|
15
|
+
const i = e[0].feature.layer, s = t[0].feature.layer, a = i?.title ?? "", n = s?.title ?? "";
|
|
16
|
+
return a.localeCompare(n, void 0, { numeric: !0 });
|
|
17
|
+
}, this._queryFeaturesOnLayer = async ([e, t]) => {
|
|
18
|
+
const i = this.utilityNetwork?.getLayerIdBySourceId(e), s = this._getLayerByLayerId(i);
|
|
19
|
+
if (i == null || !s) {
|
|
20
|
+
this._elementsWithoutLayer.push(...t);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const a = s.createQuery();
|
|
24
|
+
a.gdbVersion = this.utilityNetwork?.gdbVersion, a.objectIds = t.map((l) => l.objectId), a.outFields = ["*"];
|
|
25
|
+
const { features: n } = y.fromJSON(await g(s, a)), u = await Promise.all(n.map(async (l) => {
|
|
26
|
+
l.layer = s.type === "subtype-group" ? s.findSublayerForFeature(l) : s;
|
|
27
|
+
const o = l.layer;
|
|
28
|
+
if (o && "getFeatureTitle" in o) {
|
|
29
|
+
const h = await o.getFeatureTitle(l) || this._getFeatureTitle(l);
|
|
30
|
+
return { feature: l, label: h };
|
|
20
31
|
}
|
|
21
|
-
|
|
22
|
-
|
|
32
|
+
return { feature: l, label: this._getFeatureTitle(l) };
|
|
33
|
+
}));
|
|
34
|
+
s.type === "subtype-group" ? u.forEach((l) => this._addOrCreateMapValue(this._subtypeCodeToFeatures, l.feature.layer.subtypeCode, l)) : this._layerIdToFeatures.set(i, u);
|
|
35
|
+
}, this.featuresFromSelectedLayer = [], this.isElementsSelected = !1, this.layers = [], this.state = "ready", this.arcgisSelectedResultTypeChange = d(), this.arcgisSelectedLayerChange = d(), this._renderElementsListItem = (e) => r`<calcite-list-item .label=${this._messages.headings.features} @calciteListItemSelect=${() => this.isElementsSelected = !0}><calcite-chip .label=${this._messages.labels.numFeatures} scale=s slot=content-end>${e.elements.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`, this._renderLayerListItem = ([, e]) => {
|
|
36
|
+
if (!e.length)
|
|
37
|
+
return null;
|
|
38
|
+
const t = e[0].feature.layer, i = t?.title || this._messages.unknown;
|
|
39
|
+
return r`<calcite-list-item .label=${i} @calciteListItemSelect=${() => this._setSelectedLayerAndFeatures(t)}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end>${e.length}</calcite-chip><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
40
|
+
}, this._renderFeatureListItem = (e) => {
|
|
41
|
+
const { feature: t, label: i } = e;
|
|
42
|
+
return r`<calcite-list-item .label=${i} @calciteListItemSelect=${() => this.selectedFeature = t}><calcite-icon icon=chevron-right slot=content-end></calcite-icon></calcite-list-item>`;
|
|
43
|
+
};
|
|
23
44
|
}
|
|
24
45
|
static {
|
|
25
|
-
this.properties = {
|
|
46
|
+
this.properties = { featuresFromSelectedLayer: 0, isElementsSelected: 5, layers: 0, messageOverrides: 0, referenceElement: 1, selectedFeature: 0, selectedLayer: 0, state: 1, traceConfigTitle: 1, traceResult: 0, utilityNetwork: 0, view: 0 };
|
|
26
47
|
}
|
|
27
48
|
static {
|
|
28
|
-
this.styles =
|
|
49
|
+
this.styles = F;
|
|
29
50
|
}
|
|
30
|
-
|
|
31
|
-
|
|
51
|
+
load() {
|
|
52
|
+
this._setSourceIdToElements(), this._loadDependencies().then(() => this._queryTraceResultsFeatures()).finally(() => this.state = "ready");
|
|
32
53
|
}
|
|
33
|
-
|
|
34
|
-
|
|
54
|
+
loaded() {
|
|
55
|
+
this.utilityNetwork || console.warn(`${c} was rendered without the required \`utilityNetwork\` property.`), this.layers.length === 0 && console.warn(`${c} was rendered without any layers set for the \`layers\` property.`), this.view || console.warn(`${c} was rendered without the required \`view\` property.`);
|
|
56
|
+
}
|
|
57
|
+
willUpdate(e) {
|
|
58
|
+
e.has("isElementsSelected") && this.arcgisSelectedResultTypeChange.emit(), e.has("selectedLayer") && this.arcgisSelectedLayerChange.emit(), e.has("traceResult") && (this.isElementsSelected = !1), (e.has("layers") || e.has("utilityNetwork")) && this._loadDependencies();
|
|
59
|
+
}
|
|
60
|
+
_addOrCreateMapValue(e, t, i) {
|
|
61
|
+
const s = e.get(t);
|
|
62
|
+
s == null ? e.set(t, [i]) : s.push(i);
|
|
63
|
+
}
|
|
64
|
+
_getFeatureTitle(e) {
|
|
65
|
+
const t = e.attributes, i = e.layer;
|
|
66
|
+
if (!t || !i)
|
|
67
|
+
return "";
|
|
68
|
+
const s = "displayField" in i ? i.displayField : null, a = s != null ? t[s] : null, n = e.getObjectId()?.toString();
|
|
69
|
+
return a?.toString() || n || this._messages.unknown;
|
|
70
|
+
}
|
|
71
|
+
_getLayerByLayerId(e) {
|
|
72
|
+
if (e == null)
|
|
73
|
+
return;
|
|
74
|
+
const { _layerIdToLayer: t, _unLayers: i } = this;
|
|
75
|
+
if (t.get(e))
|
|
76
|
+
return t.get(e);
|
|
77
|
+
const s = i.find((a) => "layerId" in a && a.layerId === e);
|
|
78
|
+
return s && t.set(e, s), s;
|
|
79
|
+
}
|
|
80
|
+
async _loadDependencies() {
|
|
81
|
+
const { layers: e, utilityNetwork: t } = this;
|
|
82
|
+
if (!t)
|
|
83
|
+
return;
|
|
84
|
+
t.loaded || (this.state = "loading", await t.load()), this._unLayers = e.filter((s) => t.isUtilityLayer(s));
|
|
85
|
+
const i = this._unLayers.filter((s) => !s.loaded).map((s) => s.load());
|
|
86
|
+
i.length > 0 && (this.state = "loading", await Promise.allSettled(i));
|
|
87
|
+
}
|
|
88
|
+
async _queryTraceResultsFeatures() {
|
|
89
|
+
const e = Array.from(this._sourceIdToElements.entries());
|
|
90
|
+
e.length > 0 && (this.state = "loading");
|
|
91
|
+
const t = e.map(this._queryFeaturesOnLayer);
|
|
92
|
+
(await Promise.allSettled(t)).forEach((s, a) => {
|
|
93
|
+
if (s.status === "rejected") {
|
|
94
|
+
const [n] = e[a];
|
|
95
|
+
console.error(`${c}: Failed to query features for source ${n}:`, s.reason);
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
_setSelectedLayerAndFeatures(e) {
|
|
100
|
+
let t;
|
|
101
|
+
if (!e)
|
|
102
|
+
t = [];
|
|
103
|
+
else if (e.type === "subtype-sublayer") {
|
|
104
|
+
const { subtypeCode: i } = e;
|
|
105
|
+
t = this._subtypeCodeToFeatures.get(i) ?? [];
|
|
106
|
+
} else {
|
|
107
|
+
const { layerId: i } = e;
|
|
108
|
+
t = this._layerIdToFeatures.get(i) ?? [];
|
|
109
|
+
}
|
|
110
|
+
this.featuresFromSelectedLayer = t.sort(this._comapreByFeatureTitle), this.selectedLayer = e;
|
|
111
|
+
}
|
|
112
|
+
_setSourceIdToElements() {
|
|
113
|
+
this.traceResult?.elements?.forEach((e) => this._addOrCreateMapValue(this._sourceIdToElements, e.networkSourceId, e));
|
|
35
114
|
}
|
|
36
115
|
render() {
|
|
37
|
-
const {
|
|
116
|
+
const { traceResult: e } = this;
|
|
38
117
|
if (e) {
|
|
39
118
|
if (!e.elements?.length && !e.globalFunctionResults?.length)
|
|
40
|
-
return
|
|
41
|
-
} else return
|
|
42
|
-
|
|
43
|
-
|
|
119
|
+
return r`<div>${this._renderTraceResultsHeading()}${this._renderNoResultsLanding()}</div>`;
|
|
120
|
+
} else return r`<div>${this._renderTraceResultsHeading()}${this._renderNoTraceLanding()}</div>`;
|
|
121
|
+
if (this.state === "loading")
|
|
122
|
+
return r`<calcite-loader .label=${this._messages.gettingResults} .text=${this._messages.gettingResults}></calcite-loader>`;
|
|
123
|
+
if (this.selectedFeature) {
|
|
124
|
+
const a = this._featuresComponentRef.value, n = a?.selectedFeature ? [a.selectedFeature] : [this.selectedFeature];
|
|
125
|
+
return r`<arcgis-features .referenceElement=${this.referenceElement} .features=${n} .view=${this.view} visible @arcgisClose=${() => this.selectedFeature = void 0} ${L(this._featuresComponentRef)}></arcgis-features>`;
|
|
126
|
+
}
|
|
127
|
+
const { elements: t, globalFunctionResults: i } = e, s = t && t.length > 0 && (!i || i.length === 0);
|
|
128
|
+
return r`<calcite-flow>${s ? null : r`<calcite-flow-item .selected=${!this.isElementsSelected}>${this._renderLanding(e)}</calcite-flow-item>`}<calcite-flow-item .heading=${this._messages.headings.features} .description=${this._messages.headings.totalFeatures.replace("{number}", t.length.toString())} .selected=${(s || this.isElementsSelected) && !this.selectedLayer} @calciteFlowItemBack=${() => this.isElementsSelected = !1}>${this._renderLayerList()}</calcite-flow-item><calcite-flow-item .heading=${this.selectedLayer?.title ?? void 0} .description=${this._messages.headings.totalFeatures.replace("{number}", this.featuresFromSelectedLayer.length.toString())} .selected=${!!this.selectedLayer} @calciteFlowItemBack=${() => this.selectedLayer = void 0}>${this._renderFeaturesList()}</calcite-flow-item></calcite-flow>`;
|
|
129
|
+
}
|
|
130
|
+
_renderLanding(e) {
|
|
131
|
+
return r`${this._renderTraceResultsHeading()}<calcite-list id=results-list .label=${this._messages.headings.traceResultsGeneric}>${this._renderElementsListItem(e)}</calcite-list>`;
|
|
132
|
+
}
|
|
133
|
+
_renderLayerList() {
|
|
134
|
+
const e = Array.from(this._layerIdToFeatures.entries()), t = Array.from(this._subtypeCodeToFeatures.entries()), s = e.concat(t).sort(this._compareByLayerTitle).map(this._renderLayerListItem);
|
|
135
|
+
return this._elementsWithoutLayer.length > 0 && s.push(this._renderUnknownListItem()), r`<calcite-list .label=${this._messages.labels.traceResultElementsByLayer} .loading=${this.state === "loading"}>${s}</calcite-list>`;
|
|
136
|
+
}
|
|
137
|
+
_renderUnknownListItem() {
|
|
138
|
+
return r`<calcite-list-item .label=${this._messages.unknown}><calcite-chip .label=${this._messages.labels.numElements} slot=content-end>${this._elementsWithoutLayer.length}</calcite-chip></calcite-list-item>`;
|
|
139
|
+
}
|
|
140
|
+
_renderFeaturesList() {
|
|
141
|
+
return r`<calcite-list id=features-list .label=${this._messages.headings.traceResultsGeneric}>${this.featuresFromSelectedLayer.map(this._renderFeatureListItem)}</calcite-list>`;
|
|
44
142
|
}
|
|
45
143
|
_renderTraceResultsHeading() {
|
|
46
|
-
return
|
|
144
|
+
return r`<div class="results-heading"><div class="results-heading-title">${this._messages.headings.traceResultsGeneric}</div>${this.traceConfigTitle ? r`<div class="results-heading-subtitle">${this.traceConfigTitle}</div>` : null}</div>`;
|
|
47
145
|
}
|
|
48
146
|
_renderNoResultsLanding() {
|
|
49
|
-
return
|
|
147
|
+
return r`<div class="no-results-landing"><calcite-icon icon=exclamation-mark-triangle scale=l></calcite-icon><div class="no-results-heading">${this._messages.noResultsHeading}</div><div class="no-results-description">${this._messages.noResultsDescription}</div></div>`;
|
|
50
148
|
}
|
|
51
149
|
_renderNoTraceLanding() {
|
|
52
|
-
return
|
|
150
|
+
return r`<div class="no-results-landing"><calcite-icon icon=utility-network-trace scale=l></calcite-icon><div class="no-results-heading">${this._messages.noTraceConfigHeading}</div><div class="no-results-description">${this._messages.noTraceConfigDescription}</div></div>`;
|
|
53
151
|
}
|
|
54
152
|
}
|
|
55
|
-
|
|
153
|
+
m("arcgis-utility-network-trace-results", w);
|
|
56
154
|
export {
|
|
57
|
-
|
|
155
|
+
w as ArcgisUtilityNetworkTraceResults
|
|
58
156
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
2
|
+
import "../arcgis-features/index.js";
|
|
1
3
|
import "@esri/calcite-components/components/calcite-flow";
|
|
2
4
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
3
5
|
import "@esri/calcite-components/components/calcite-list";
|
|
4
|
-
import "../arcgis-utility-network-result-feature-list/index.js";
|
|
5
6
|
import "@esri/calcite-components/components/calcite-list-item";
|
|
6
7
|
import "@esri/calcite-components/components/calcite-chip";
|
|
7
8
|
import "@esri/calcite-components/components/calcite-icon";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
2
|
+
import "../arcgis-features/index.js";
|
|
1
3
|
import "@esri/calcite-components/components/calcite-flow";
|
|
2
4
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
3
5
|
import "@esri/calcite-components/components/calcite-list";
|
|
4
|
-
import "../arcgis-utility-network-result-feature-list/index.js";
|
|
5
6
|
import "@esri/calcite-components/components/calcite-list-item";
|
|
6
7
|
import "@esri/calcite-components/components/calcite-chip";
|
|
7
8
|
import "@esri/calcite-components/components/calcite-icon";
|
|
@@ -40,9 +40,9 @@ declare const useUtilityNetworkValidateTopologyWidget: (component: LitElement &
|
|
|
40
40
|
export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
41
41
|
/**
|
|
42
42
|
* The view associated with the component.
|
|
43
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
43
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Utility Network Validate Topology component will be associated with a map or scene component rather than using the `view` property.
|
|
44
44
|
*/
|
|
45
|
-
view?: __esri.MapView
|
|
45
|
+
view?: nullish | __esri.MapView;
|
|
46
46
|
/**
|
|
47
47
|
* If true, the component will not be destroyed automatically when it is
|
|
48
48
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -63,8 +63,8 @@ export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
|
63
63
|
* Icon which represents the component.
|
|
64
64
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
65
65
|
*
|
|
66
|
-
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
67
66
|
* @default "check-circle"
|
|
67
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
68
68
|
*/
|
|
69
69
|
icon: string;
|
|
70
70
|
/**
|
|
@@ -73,7 +73,7 @@ export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
|
73
73
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkValidateTopology.html#label)
|
|
74
74
|
*/
|
|
75
75
|
label: string;
|
|
76
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
76
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
77
77
|
position?: __esri.UIPosition;
|
|
78
78
|
/**
|
|
79
79
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -86,7 +86,7 @@ export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
|
86
86
|
*
|
|
87
87
|
* @default "ready"
|
|
88
88
|
*/
|
|
89
|
-
readonly state: "ready" | "
|
|
89
|
+
readonly state: "ready" | "disabled" | "loading" | "failed" | "success" | "executing";
|
|
90
90
|
/** Determines the utility network to use. */
|
|
91
91
|
utilityNetwork: nullish | __esri.UtilityNetwork;
|
|
92
92
|
/** Permanently destroy the component. */
|
|
@@ -7,8 +7,8 @@ import { m as s } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as l } from "lit";
|
|
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 c = l`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{max-width:fit-content}.esri-un-validate-topology__container{width:350px}.esri-un-validate-topology__content{border-bottom:none;margin:0}.esri-un-validate-topology__controls-container{gap:.5rem;display:grid}.esri-un-validate-topology__status-icon-container{width:48px;height:48px}.esri-un-validate-topology__status-icon-error{--calcite-color-icon-color: var(--calcite-color-status-warning);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}.esri-un-validate-topology__status-icon-success{--calcite-color-icon-color: var(--calcite-color-status-success);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}`, d = s(
|
|
10
|
+
v5.0.0-next.70 */
|
|
11
|
+
const c = l`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{max-width:fit-content}.esri-un-validate-topology__container{width:350px}.esri-un-validate-topology__content{border-bottom:none;margin:0}.esri-un-validate-topology__controls-container{gap:.5rem;display:grid}.esri-un-validate-topology__status-icon-container{width:48px;height:48px}.esri-un-validate-topology__status-icon-error{--calcite-color-icon-color: var(--calcite-color-status-warning);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}.esri-un-validate-topology__status-icon-success{--calcite-color-icon-color: var(--calcite-color-status-success);padding-top:var(--calcite-spacing-xl);padding-left:var(--calcite-spacing-xl)}`, d = s(
|
|
12
12
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
|
|
13
13
|
o
|
|
14
14
|
);
|
|
@@ -5,7 +5,7 @@ import { default as ValuePicker } from '@arcgis/core/widgets/ValuePicker.js';
|
|
|
5
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
|
|
8
|
-
declare const useValuePickerWidget: (component: LitElement & Pick<ValuePicker, "
|
|
8
|
+
declare const useValuePickerWidget: (component: LitElement & Pick<ValuePicker, "values" | "caption" | "label" | "icon" | "layout" | "component" | "canPlay" | "loop" | "playRate" | "canNext" | "canPrevious"> & {
|
|
9
9
|
state?: unknown;
|
|
10
10
|
viewModel?: unknown;
|
|
11
11
|
closed?: boolean;
|
|
@@ -90,8 +90,8 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
90
90
|
* Icon which represents the component.
|
|
91
91
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
92
92
|
*
|
|
93
|
-
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
94
93
|
* @default "list-rectangle"
|
|
94
|
+
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
95
95
|
*/
|
|
96
96
|
icon: string;
|
|
97
97
|
/**
|
|
@@ -118,7 +118,7 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
118
118
|
* @default 1000
|
|
119
119
|
*/
|
|
120
120
|
playRate: number;
|
|
121
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
121
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
122
122
|
position?: __esri.UIPosition;
|
|
123
123
|
/**
|
|
124
124
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as s } from "lit";
|
|
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.
|
|
10
|
+
v5.0.0-next.70 */
|
|
11
11
|
const c = s`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-value-picker .esri-slider{background:0 0;flex:auto}.esri-value-picker .esri-slider__tick-label{white-space:nowrap;font-size:var(--calcite-font-size--3)}.esri-value-picker .esri-slider__ticks{margin:0}.esri-value-picker .esri-slider__tick,.esri-value-picker .esri-slider__track{background:var(--calcite-color-border-input)}.esri-value-picker .esri-slider__tick.esri-value-picker__slider__tick-steps{width:3px;height:3px}.esri-value-picker .esri-slider__anchor:focus-visible{outline:none}.esri-value-picker__action-bar{background-color:var(--calcite-color-foreground-1)}.esri-value-picker__caption-border,.esri-value-picker__label-border{border:solid 1px var(--calcite-color-border-3);align-items:center;display:flex}.esri-value-picker__caption-text,.esri-value-picker__label-text{white-space:nowrap;font-family:inherit;font-weight:var(--calcite-font-weight-medium);overflow:hidden}.esri-value-picker__label-text{color:var(--calcite-color-text-1)}.esri-value-picker__slider{flex:auto;display:flex}.esri-value-picker__layout--horizontal.esri-value-picker__type--collection,.esri-value-picker__layout--horizontal.esri-value-picker__type--undefined{width:fit-content}.esri-value-picker__layout--horizontal.esri-value-picker__type--collection .esri-value-picker__action-bar,.esri-value-picker__layout--horizontal.esri-value-picker__type--undefined .esri-value-picker__action-bar{width:100%}.esri-value-picker__layout--horizontal.esri-value-picker__type--collection .esri-value-picker__caption,.esri-value-picker__layout--horizontal.esri-value-picker__type--undefined .esri-value-picker__caption{padding-inline-end:.5rem}.esri-value-picker__layout--horizontal.esri-value-picker__type--combobox,.esri-value-picker__layout--horizontal.esri-value-picker__type--label,.esri-value-picker__layout--horizontal.esri-value-picker__type--slider{min-width:450px}.esri-value-picker__layout--horizontal.esri-value-picker__type--combobox .esri-value-picker__action-bar,.esri-value-picker__layout--horizontal.esri-value-picker__type--label .esri-value-picker__action-bar,.esri-value-picker__layout--horizontal.esri-value-picker__type--slider .esri-value-picker__action-bar{width:100%}.esri-value-picker__layout--horizontal .esri-value-picker__caption{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:.5rem;display:flex}.esri-value-picker__layout--horizontal .esri-value-picker__caption-border{padding-inline:.5rem}.esri-value-picker__layout--horizontal .esri-value-picker__caption-text{text-overflow:ellipsis;max-width:100px;font-size:var(--calcite-font-size--1)}.esri-value-picker__layout--horizontal .esri-value-picker__combobox{--calcite-color-border-input: var(--calcite-color-border-3);flex:auto;align-items:center;padding-inline:10px;display:flex}.esri-value-picker__layout--horizontal .esri-value-picker__combobox calcite-combobox{flex:auto;width:0}.esri-value-picker__layout--horizontal .esri-value-picker__label{flex:auto;padding:.5rem;display:flex}.esri-value-picker__layout--horizontal .esri-value-picker__label-border{flex:auto;padding-inline:.5rem}.esri-value-picker__layout--horizontal .esri-value-picker__label-text{text-overflow:ellipsis;width:0;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);flex:auto}.esri-value-picker__layout--horizontal .esri-value-picker__separator{border-right:solid 1px var(--calcite-color-border-3);width:1px;margin-inline-start:.25rem}.esri-value-picker__layout--horizontal .esri-value-picker__slider{padding-inline:30px}.esri-value-picker__layout--horizontal .esri-value-picker__slider__tick-minor{height:3px}.esri-value-picker__layout--horizontal .esri-value-picker__slider__tick-major{height:var(--calcite-spacing-xs)}.esri-value-picker__layout--horizontal .esri-value-picker__slider__tick-steps{margin-top:-6px;margin-left:-1px}.esri-value-picker__layout--horizontal .esri-slider{margin-top:-10px}.esri-value-picker__layout--horizontal .esri-slider__track{height:1px}.esri-value-picker__layout--vertical.esri-value-picker__type--collection,.esri-value-picker__layout--vertical.esri-value-picker__type--undefined{height:fit-content}.esri-value-picker__layout--vertical.esri-value-picker__type--collection .esri-value-picker__action-bar,.esri-value-picker__layout--vertical.esri-value-picker__type--undefined .esri-value-picker__action-bar{height:100%}.esri-value-picker__layout--vertical.esri-value-picker__type--slider{min-height:450px}.esri-value-picker__layout--vertical.esri-value-picker__type--slider .esri-value-picker__action-bar{height:100%;min-height:450px}.esri-value-picker__layout--vertical .esri-value-picker__caption{width:48px;padding:.25rem}.esri-value-picker__layout--vertical .esri-value-picker__caption-border{justify-content:center}.esri-value-picker__layout--vertical .esri-value-picker__caption-text{text-overflow:clip;font-size:var(--calcite-font-size--2);padding-block:.25rem}.esri-value-picker__layout--vertical .esri-value-picker__separator{border-bottom:solid 1px var(--calcite-color-border-3);height:1px;margin-top:.25rem}.esri-value-picker__layout--vertical .esri-value-picker__slider{flex-direction:column;padding:15px 0}.esri-value-picker__layout--vertical .esri-value-picker__slider__tick-minor{width:3px}.esri-value-picker__layout--vertical .esri-value-picker__slider__tick-major{width:var(--calcite-spacing-xs)}.esri-value-picker__layout--vertical .esri-value-picker__slider__tick-steps{margin-top:-1px;margin-left:-6px}.esri-value-picker__layout--vertical .esri-slider{margin-left:-13px}.esri-value-picker__layout--vertical .esri-slider__tick-label{margin-left:var(--calcite-spacing-xxl)}.esri-value-picker__layout--vertical .esri-slider__track{width:1px}:dir(rtl) .esri-value-picker{direction:ltr}:dir(rtl) .esri-value-picker .esri-value-picker__combobox,:dir(rtl) .esri-value-picker .esri-value-picker__slider__tooltip{direction:rtl}`, n = l(t);
|
|
12
12
|
class d extends a {
|
|
13
13
|
constructor() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as VersionManager } from '@arcgis/core/versionManagement/VersionManager.js';
|
|
5
5
|
import { JsxNode, ToEvents, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
7
|
import { ArcgisVersionManagementServiceItem } from '../arcgis-version-management-service-item/customElement.js';
|
|
8
8
|
|
|
9
|
-
declare const
|
|
9
|
+
declare const useVersionManager: (component: LitElement & Pick<VersionManager, never> & import('../../controllers/useViewModel').ViewModelControllerUses<VersionManager>) => VersionManager;
|
|
10
10
|
type VersioningStateEventType = "version-changed" | "version-created" | "version-deleted" | "version-switched";
|
|
11
11
|
export interface VersioningStateEvent {
|
|
12
12
|
type?: VersioningStateEventType;
|
|
@@ -72,7 +72,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
72
72
|
* @default 5
|
|
73
73
|
*/
|
|
74
74
|
pageSize: number;
|
|
75
|
-
/** @deprecated since 4.34, use [`slot`](https://
|
|
75
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
76
76
|
position?: __esri.UIPosition;
|
|
77
77
|
/**
|
|
78
78
|
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
@@ -81,7 +81,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
81
81
|
*/
|
|
82
82
|
referenceElement?: ArcgisReferenceElement | string;
|
|
83
83
|
/** The current state of the component. */
|
|
84
|
-
readonly state: "ready" | "
|
|
84
|
+
readonly state: "ready" | "disabled" | "loading" | "failed" | "success" | "executing";
|
|
85
85
|
/**
|
|
86
86
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
87
87
|
* In the event that the Version Management component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management component.
|
|
@@ -91,7 +91,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
91
91
|
/**
|
|
92
92
|
* The view from which the widget will operate.
|
|
93
93
|
*
|
|
94
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-
|
|
94
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-versionManagement-VersionManager.html#view)
|
|
95
95
|
*/
|
|
96
96
|
view?: __esri.MapView | undefined;
|
|
97
97
|
/** Permanently destroy the component. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as y } from "../../chunks/runtime.js";
|
|
2
2
|
import { once as k, watch as V } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
|
-
import E from "@arcgis/core/
|
|
3
|
+
import E from "@arcgis/core/versionManagement/VersionManager.js";
|
|
4
4
|
import { LitElement as S, createEvent as p, safeClassMap as L } from "@arcgis/lumina";
|
|
5
5
|
import { css as P, render as C, html as f } from "lit";
|
|
6
6
|
import { createRef as z, ref as N } from "lit/directives/ref.js";
|
|
@@ -8,7 +8,7 @@ import { u as M } from "../../chunks/useT9n.js";
|
|
|
8
8
|
import { m as F } from "../../chunks/useViewModel.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
11
|
-
v5.0.0-next.
|
|
11
|
+
v5.0.0-next.70 */
|
|
12
12
|
const $ = P`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-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}[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:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!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}:host{max-width:fit-content}.arcgis-version-management{.component-container-flow{width:350px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}`, A = F(E), u = "map-components:version-management";
|
|
13
13
|
class T extends S {
|
|
14
14
|
constructor() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { LitElement as A, createEvent as
|
|
3
|
-
import { html as
|
|
1
|
+
import { c as M } from "../../chunks/runtime.js";
|
|
2
|
+
import { LitElement as A, createEvent as o, safeClassMap as v } from "@arcgis/lumina";
|
|
3
|
+
import { html as t, render as U } from "lit";
|
|
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.
|
|
7
|
-
class
|
|
6
|
+
v5.0.0-next.70 */
|
|
7
|
+
class F extends A {
|
|
8
8
|
constructor() {
|
|
9
|
-
super(...arguments), this._showInvalidVersionNotice = !0, this.arcgisCreateVersionList =
|
|
9
|
+
super(...arguments), this._showInvalidVersionNotice = !0, this.arcgisCreateVersionList = o(), this.arcgisFlowItemBack = o(), this.arcgisFlowItemClose = o(), this.arcgisGetVersions = o(), this.arcgisManageVersion = o(), this.arcgisNewVersion = o();
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.properties = { _showInvalidVersionNotice: 16, serviceItemElementProps: 0 };
|
|
@@ -15,38 +15,38 @@ class U extends A {
|
|
|
15
15
|
super.disconnectedCallback(), this.versionListContainer?.remove();
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
const { serviceItemElementProps: { allowEditing: h, closable:
|
|
18
|
+
const { serviceItemElementProps: { allowEditing: h, closable: $, currentUser: p, executionError: V, currentVersionIdentifier: r, flowElement: b, heading: I, isInitialVersionInvalid: f, isVersionAdministrator: u, isVersioningApiAvailable: w, mode: N, pageSize: E, serviceName: i, serviceUrl: c, state: x, strings: n, versionInfos: a } } = this;
|
|
19
19
|
let { _versionList: l } = this;
|
|
20
|
-
const
|
|
21
|
-
const m =
|
|
20
|
+
const C = f.get(c) && this._showInvalidVersionNotice ? t`<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 = t`<calcite-combobox clear-disabled .ariaLabel=${`combobox-${i}`} .label=${`combobox-${i}`} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${(s) => {
|
|
21
|
+
const m = s.target, e = a.find((k) => k.versionIdentifier.guid === m.value);
|
|
22
22
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: c, versionInfo: e });
|
|
23
|
-
}}>${a ? a.map((
|
|
23
|
+
}}>${a ? a.map((s) => t`<calcite-combobox-item class=${v(N === "dialog" ? "" : "calcite-combobox-item")} .heading=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid} .selected=${r.guid === s.versionIdentifier.guid && r.name === s.versionIdentifier.name}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
|
|
24
24
|
let d, g;
|
|
25
|
-
return h && (d =
|
|
26
|
-
const
|
|
27
|
-
closable:
|
|
25
|
+
return h && (d = t`<calcite-action icon=list .id=${`action-manage-versions-${i}`} .label=${`action-manage-versions-${i}`} scale=s slot=control .text=${`action-manage-versions-${i}`} @click=${async () => {
|
|
26
|
+
const s = {
|
|
27
|
+
closable: $,
|
|
28
28
|
currentUser: p,
|
|
29
29
|
currentVersionIdentifier: r,
|
|
30
|
-
executionError:
|
|
31
|
-
heading:
|
|
30
|
+
executionError: V,
|
|
31
|
+
heading: I,
|
|
32
32
|
isVersionAdministrator: u,
|
|
33
33
|
isVersioningApiAvailable: w,
|
|
34
34
|
pageSize: E,
|
|
35
|
-
serviceName:
|
|
35
|
+
serviceName: i,
|
|
36
36
|
serviceUrl: c,
|
|
37
|
-
state:
|
|
37
|
+
state: x,
|
|
38
38
|
strings: n,
|
|
39
39
|
versionInfos: a
|
|
40
40
|
};
|
|
41
41
|
this.versionListContainer = document.createElement("div");
|
|
42
|
-
const m =
|
|
42
|
+
const m = U(t`<arcgis-version-management-version-list .versionListElementProps=${s} selected show-back-button @arcgisFlowItemBack=${(e) => {
|
|
43
43
|
e.preventDefault(), this.arcgisFlowItemBack.emit();
|
|
44
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);
|
|
45
|
-
l = Array.from(m.parentNode.childNodes).find((e) => e.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"),
|
|
46
|
-
}}></calcite-action>`, g =
|
|
45
|
+
l = Array.from(m.parentNode.childNodes).find((e) => e.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"), b?.append(l), this.arcgisCreateVersionList.emit(l);
|
|
46
|
+
}}></calcite-action>`, g = t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-manage-versions-${i}`}><span>${n.headers.manageVersions}</span></calcite-tooltip>`), t`<calcite-block open .heading=${i}>${C}${L}${d}${g}</calcite-block>`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
M("arcgis-version-management-service-item", F);
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
F as ArcgisVersionManagementServiceItem
|
|
52
52
|
};
|