@arcgis/map-components 4.34.0-next.3 → 4.34.0-next.30
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/234Q2TDD.js +4 -0
- package/dist/cdn/2DYML6DE.js +4 -0
- package/dist/cdn/2RQLB52S.js +4 -0
- package/dist/cdn/2VDTVARR.js +4 -0
- package/dist/cdn/2YXYX73W.js +4 -0
- package/dist/cdn/3GNM2VKK.js +4 -0
- package/dist/cdn/3HSEZUZJ.js +4 -0
- package/dist/cdn/3LJIL4ZQ.js +4 -0
- package/dist/cdn/3WBQM3UD.js +4 -0
- package/dist/cdn/45XMVSMD.js +4 -0
- package/dist/cdn/46AB4I6A.js +4 -0
- package/dist/cdn/4EUOEVZB.js +4 -0
- package/dist/cdn/{5YG75FR4.js → 4GIP2XHT.js} +4 -4
- package/dist/cdn/4LCR7TJJ.js +4 -0
- package/dist/cdn/{TG4WOIVN.js → 4VL6GYOZ.js} +2 -2
- package/dist/cdn/522A5I7F.js +4 -0
- package/dist/cdn/572Y5K5H.js +4 -0
- package/dist/cdn/5AIACKPF.js +4 -0
- package/dist/cdn/5C6RLLCR.js +4 -0
- package/dist/cdn/5CD56TL4.js +4 -0
- package/dist/cdn/{D4UC6YNK.js → 5FU5K4NX.js} +2 -2
- package/dist/cdn/5IKDTG3H.js +4 -0
- package/dist/cdn/5KD3HW3G.js +4 -0
- package/dist/cdn/5TV4YEN3.js +4 -0
- package/dist/cdn/5U3SNY2E.js +4 -0
- package/dist/cdn/5UO57HST.js +4 -0
- package/dist/cdn/{46FOHP5W.js → 62CM2RD6.js} +1 -1
- package/dist/cdn/6ADGELSH.js +4 -0
- package/dist/cdn/6AXKBPNB.js +4 -0
- package/dist/cdn/6HBNBNIS.js +4 -0
- package/dist/cdn/6I2O6AK2.js +4 -0
- package/dist/cdn/745J55T6.js +4 -0
- package/dist/cdn/74LQ6LNA.js +4 -0
- package/dist/cdn/7MOMTSDQ.js +4 -0
- package/dist/cdn/{LP4I37RY.js → 7UKAKNWR.js} +1 -1
- package/dist/cdn/A66F53HL.js +4 -0
- package/dist/cdn/ALNPPB7S.js +4 -0
- package/dist/cdn/AOFQ7B6C.js +4 -0
- package/dist/cdn/APEWUTNF.js +4 -0
- package/dist/cdn/AUSKVAOI.js +4 -0
- package/dist/cdn/B5A6WTVX.js +4 -0
- package/dist/cdn/{OYIZFWCL.js → BDGE6XOV.js} +2 -2
- package/dist/cdn/BRDPBTSS.js +4 -0
- package/dist/cdn/BWBH22HG.js +4 -0
- package/dist/cdn/BYV3TMNY.js +4 -0
- package/dist/cdn/C3F5AC4O.js +4 -0
- package/dist/cdn/{4IQYTQIS.js → CJZQXB7T.js} +2 -2
- package/dist/cdn/COSCTCOY.js +4 -0
- package/dist/cdn/CWBQLF4E.js +4 -0
- package/dist/cdn/D3MU6FBS.js +4 -0
- package/dist/cdn/DCBVWKDV.js +4 -0
- package/dist/cdn/DI4M7JUD.js +4 -0
- package/dist/cdn/{72K6PTPA.js → DKCLZITL.js} +1 -1
- package/dist/cdn/DNG5QRPD.js +4 -0
- package/dist/cdn/DRFM2QI6.js +4 -0
- package/dist/cdn/EAVY2C4X.js +4 -0
- package/dist/cdn/EBLSYKUB.js +4 -0
- package/dist/cdn/EGTTXGVG.js +4 -0
- package/dist/cdn/EMDZITJY.js +4 -0
- package/dist/cdn/ERTF6OSF.js +4 -0
- package/dist/cdn/EYA2GF7W.js +4 -0
- package/dist/cdn/F34NBL3N.js +4 -0
- package/dist/cdn/F4OGHOZG.js +4 -0
- package/dist/cdn/F7EPWVGJ.js +4 -0
- package/dist/cdn/FAUBD2N2.js +4 -0
- package/dist/cdn/FCAQM5PE.js +4 -0
- package/dist/cdn/FLC44RMJ.js +4 -0
- package/dist/cdn/{MFJLKVY3.js → G3U7BKN3.js} +2 -2
- package/dist/cdn/G5QNIHYE.js +4 -0
- package/dist/cdn/G6SVKA4S.js +4 -0
- package/dist/cdn/GHTUUNJN.js +4 -0
- package/dist/cdn/GME5RWKA.js +4 -0
- package/dist/cdn/GPUKYZEI.js +4 -0
- package/dist/cdn/GSIQXWAW.js +4 -0
- package/dist/cdn/{VXVE4ZXP.js → GVED72DF.js} +2 -2
- package/dist/cdn/H5FYSFJO.js +4 -0
- package/dist/cdn/H5GJXAWS.js +4 -0
- package/dist/cdn/HGY3J57L.js +4 -0
- package/dist/cdn/HHMHSZFH.js +4 -0
- package/dist/cdn/HI4XUM4L.js +4 -0
- package/dist/cdn/HLOFTVHH.js +4 -0
- package/dist/cdn/HMLEDFOE.js +4 -0
- package/dist/cdn/HXNBGWYE.js +4 -0
- package/dist/cdn/HZQ7EXTW.js +4 -0
- package/dist/cdn/{T3BMQYR2.js → I4L74RDV.js} +2 -2
- package/dist/cdn/I6YAIWMM.js +4 -0
- package/dist/cdn/{5R5OWXAQ.js → IFQ5KLCR.js} +2 -2
- package/dist/cdn/IG4ALH53.js +4 -0
- package/dist/cdn/IIK4Q2H6.js +4 -0
- package/dist/cdn/IQET4QNV.js +4 -0
- package/dist/cdn/ITZIXH2M.js +4 -0
- package/dist/cdn/J4FR5SON.js +4 -0
- package/dist/cdn/JAASZM2N.js +4 -0
- package/dist/cdn/JMMUYDYT.js +4 -0
- package/dist/cdn/JOVSI2UD.js +4 -0
- package/dist/cdn/JQ4CUZLP.js +4 -0
- package/dist/cdn/JUSMMGHK.js +4 -0
- package/dist/cdn/K2BEVIPL.js +4 -0
- package/dist/cdn/K2KNA7WE.js +4 -0
- package/dist/cdn/{Y3HMAR44.js → K53BF6OU.js} +1 -1
- package/dist/cdn/K6IRCEYK.js +4 -0
- package/dist/cdn/KOKCF37L.js +4 -0
- package/dist/cdn/L233U5AH.js +4 -0
- package/dist/cdn/{PQBBBIQU.js → LBL23UNP.js} +2 -2
- package/dist/cdn/LFBL6VZT.js +4 -0
- package/dist/cdn/{3W2WGUDP.js → LMXKZSVR.js} +1 -1
- package/dist/cdn/M5LVTN55.js +4 -0
- package/dist/cdn/MK5A7YGD.js +4 -0
- package/dist/cdn/MLQJ25YQ.js +4 -0
- package/dist/cdn/MU6FQQZJ.js +4 -0
- package/dist/cdn/N3XW4Y5A.js +4 -0
- package/dist/cdn/NAKKTGZW.js +4 -0
- package/dist/cdn/NBJV4ZDY.js +4 -0
- package/dist/cdn/NEXZOBET.js +4 -0
- package/dist/cdn/NJKFDLXR.js +4 -0
- package/dist/cdn/NLLPFZJ4.js +4 -0
- package/dist/cdn/NMS2D3YB.js +4 -0
- package/dist/cdn/NPNLIY3T.js +4 -0
- package/dist/cdn/NVS2W675.js +4 -0
- package/dist/cdn/OASTUNEL.js +4 -0
- package/dist/cdn/OJHB5U2P.js +4 -0
- package/dist/cdn/{363OWKVL.js → OMCDBRCI.js} +2 -2
- package/dist/cdn/OPMP7QAM.js +4 -0
- package/dist/cdn/{WUICCK44.js → ORIOQOQQ.js} +2 -2
- package/dist/cdn/ORWGAQLP.js +4 -0
- package/dist/cdn/{ZDO5M5ZH.js → OVAMJI2J.js} +2 -2
- package/dist/cdn/OYGUGTDT.js +4 -0
- package/dist/cdn/P3ZSQOLJ.js +4 -0
- package/dist/cdn/{BRHFFFB6.js → PEN5BBQF.js} +1 -1
- package/dist/cdn/PMN6FZDX.js +4 -0
- package/dist/cdn/POKSSBNB.js +4 -0
- package/dist/cdn/PRD2DJCZ.js +4 -0
- package/dist/cdn/Q3YPRJ3U.js +4 -0
- package/dist/cdn/Q5EQ53JS.js +4 -0
- package/dist/cdn/QBCHAIKA.js +4 -0
- package/dist/cdn/QODXGI4E.js +4 -0
- package/dist/cdn/{F3DQMWJ6.js → R2UCRAE6.js} +2 -2
- package/dist/cdn/R3JXTK4L.js +4 -0
- package/dist/cdn/RQL42QKX.js +4 -0
- package/dist/cdn/RSSENJSP.js +4 -0
- package/dist/cdn/SHNXRR4Q.js +4 -0
- package/dist/cdn/SHR2EWHJ.js +4 -0
- package/dist/cdn/SNB2JDTD.js +4 -0
- package/dist/cdn/SPKW3HOG.js +4 -0
- package/dist/cdn/TCA7UVYN.js +4 -0
- package/dist/cdn/TGF42ZK7.js +4 -0
- package/dist/cdn/TYCHS6RB.js +4 -0
- package/dist/cdn/TYQMG3PI.js +4 -0
- package/dist/cdn/U2S7QARW.js +4 -0
- package/dist/cdn/UDJ44V76.js +4 -0
- package/dist/cdn/UKBERXHR.js +4 -0
- package/dist/cdn/{N4BQ2M5C.js → UNXP35E2.js} +2 -2
- package/dist/cdn/UT234BKM.js +4 -0
- package/dist/cdn/UZASGDCK.js +4 -0
- package/dist/cdn/V7YOJQVM.js +4 -0
- package/dist/cdn/VDTCDYVS.js +4 -0
- package/dist/cdn/{EGAU2GAK.js → VHVAWD2J.js} +2 -2
- package/dist/cdn/VNYPBOZ3.js +4 -0
- package/dist/cdn/WB66TFCT.js +4 -0
- package/dist/cdn/WDQLQNCX.js +4 -0
- package/dist/cdn/WI4FRYNR.js +4 -0
- package/dist/cdn/WMMTGIEJ.js +4 -0
- package/dist/cdn/WOLK2FI6.js +4 -0
- package/dist/cdn/WVAIVNQ3.js +4 -0
- package/dist/cdn/X6SS7HOK.js +4 -0
- package/dist/cdn/XA5CSRYE.js +4 -0
- package/dist/cdn/XBHAUFYB.js +4 -0
- package/dist/cdn/XDRYUW46.js +4 -0
- package/dist/cdn/XEXFKE7B.js +4 -0
- package/dist/cdn/XIRWSYW7.js +4 -0
- package/dist/cdn/XJDZ6NLY.js +4 -0
- package/dist/cdn/XW5VJD3U.js +4 -0
- package/dist/cdn/YLPFVUWT.js +4 -0
- package/dist/cdn/YQUJT2RW.js +5 -0
- package/dist/cdn/YUIMV5SN.js +4 -0
- package/dist/cdn/YULQASHJ.js +4 -0
- package/dist/cdn/ZCOAN2KK.js +4 -0
- package/dist/cdn/ZCUXCTC4.js +4 -0
- package/dist/cdn/ZG34WCDO.js +4 -0
- package/dist/cdn/ZG7VAYIH.js +4 -0
- package/dist/cdn/ZL5K3BUP.js +4 -0
- package/dist/cdn/ZZ2JXXKO.js +4 -0
- package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +66 -0
- package/dist/chunks/chartCommon.js +19 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +145 -0
- package/dist/chunks/globalCss.js +2 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- 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 +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +111 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +11 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +5 -5
- package/dist/components/arcgis-bookmarks/customElement.d.ts +6 -3
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +26 -14
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +10 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.d.ts +27 -13
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +112 -9
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +6 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +5 -0
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +28 -20
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +8 -2
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature/customElement.js +10 -9
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +15 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +24 -0
- package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
- package/dist/components/arcgis-feature-attachments/index.js +3 -0
- package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-content/customElement.js +66 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
- package/dist/components/arcgis-feature-element-info/customElement.js +39 -0
- package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
- package/dist/components/arcgis-feature-element-info/index.js +1 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +16 -0
- package/dist/components/arcgis-feature-fields/customElement.js +141 -0
- package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
- package/dist/components/arcgis-feature-fields/index.js +2 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +6 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
- package/dist/components/arcgis-feature-media/customElement.d.ts +37 -0
- package/dist/components/arcgis-feature-media/customElement.js +575 -0
- package/dist/components/arcgis-feature-media/index.d.ts +3 -0
- package/dist/components/arcgis-feature-media/index.js +3 -0
- package/dist/components/arcgis-feature-table/customElement.d.ts +7 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +5 -0
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -0
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +16 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +23 -12
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -0
- 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 +5 -0
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +75 -19
- package/dist/components/arcgis-line-of-sight/customElement.js +10 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +19 -9
- package/dist/components/arcgis-link-chart/customElement.js +14 -5
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -26
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
- package/dist/components/arcgis-locate/customElement.d.ts +17 -5
- package/dist/components/arcgis-locate/customElement.js +29 -29
- package/dist/components/arcgis-map/customElement.d.ts +27 -14
- package/dist/components/arcgis-map/customElement.js +25 -14
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -0
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +14 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +5 -0
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +54 -40
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- 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 +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +143 -80
- package/dist/components/arcgis-scene/customElement.js +27 -16
- package/dist/components/arcgis-search/customElement.d.ts +46 -16
- package/dist/components/arcgis-search/customElement.js +39 -36
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +92 -30
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -0
- package/dist/components/arcgis-sketch/customElement.js +27 -19
- package/dist/components/arcgis-slice/customElement.d.ts +77 -18
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +11 -2
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +5 -0
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +26 -9
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +5 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +16 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -0
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +14 -5
- package/dist/components/arcgis-version-management/customElement.js +48 -50
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +11 -11
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +19 -22
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +45 -45
- package/dist/components/arcgis-video/customElement.d.ts +20 -9
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +2 -2
- package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +2 -2
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1381 -495
- package/dist/docs/docs.json +1119 -509
- package/dist/docs/vscode.html-custom-data.json +195 -102
- package/dist/docs/web-types.json +421 -230
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +20 -15
- package/dist/types/lumina.d.ts +15 -12
- package/dist/types/preact.d.ts +15 -12
- package/dist/types/react.d.ts +15 -12
- package/dist/types/stencil.d.ts +15 -12
- package/dist/utils/chart-utils.d.ts +6 -0
- package/dist/utils/feature-utils.d.ts +30 -0
- package/dist/utils/related-feature-utils.d.ts +17 -0
- package/dist/utils/uri-utils.d.ts +4 -0
- package/package.json +5 -4
- package/dist/cdn/2DEASVZD.js +0 -4
- package/dist/cdn/2ESEAIA5.js +0 -4
- package/dist/cdn/46DOZMHG.js +0 -4
- package/dist/cdn/46NE5CD2.js +0 -4
- package/dist/cdn/4H2W5GYD.js +0 -4
- package/dist/cdn/4QRBF4FC.js +0 -4
- package/dist/cdn/4USUAQ3M.js +0 -4
- package/dist/cdn/4XMBZYKO.js +0 -4
- package/dist/cdn/56EGKCO3.js +0 -4
- package/dist/cdn/5VXQTBEA.js +0 -4
- package/dist/cdn/67UXLU2S.js +0 -4
- package/dist/cdn/6EE4JJ2I.js +0 -4
- package/dist/cdn/6K7QBAMI.js +0 -4
- package/dist/cdn/6X6BDLCA.js +0 -4
- package/dist/cdn/6Z56X76F.js +0 -4
- package/dist/cdn/7AXRMMLJ.js +0 -4
- package/dist/cdn/7L5XBWYD.js +0 -4
- package/dist/cdn/ALUNHIFF.js +0 -4
- package/dist/cdn/BKWCCZ53.js +0 -4
- package/dist/cdn/BOZBPEOQ.js +0 -4
- package/dist/cdn/C2GRKYPA.js +0 -4
- package/dist/cdn/C5VB62EV.js +0 -4
- package/dist/cdn/CQMPO2FO.js +0 -4
- package/dist/cdn/CV25FGWS.js +0 -4
- package/dist/cdn/CWRD56OW.js +0 -4
- package/dist/cdn/DPC4BXUO.js +0 -4
- package/dist/cdn/DVRWN2X3.js +0 -4
- package/dist/cdn/DWMAF3AB.js +0 -4
- package/dist/cdn/FGMM6TLQ.js +0 -4
- package/dist/cdn/GKQV3GV7.js +0 -4
- package/dist/cdn/GOEEX3IG.js +0 -4
- package/dist/cdn/H34JBL4Z.js +0 -4
- package/dist/cdn/HAFNNW3D.js +0 -4
- package/dist/cdn/HJBXOC2I.js +0 -4
- package/dist/cdn/HLKSYNBA.js +0 -4
- package/dist/cdn/HQEQV3QC.js +0 -4
- package/dist/cdn/JCQD3YNR.js +0 -4
- package/dist/cdn/JDTYQCZK.js +0 -4
- package/dist/cdn/JI6FC2KZ.js +0 -4
- package/dist/cdn/JLCRXIKZ.js +0 -4
- package/dist/cdn/JP5O6B5F.js +0 -4
- package/dist/cdn/JV24GCAP.js +0 -4
- package/dist/cdn/K7UZ42V3.js +0 -4
- package/dist/cdn/KXYEAIS4.js +0 -4
- package/dist/cdn/L3OI72NI.js +0 -4
- package/dist/cdn/LEGQAMIG.js +0 -4
- package/dist/cdn/LUJBBH5J.js +0 -4
- package/dist/cdn/LXPDH2BL.js +0 -4
- package/dist/cdn/M3YHSP3I.js +0 -4
- package/dist/cdn/MSKYKJCN.js +0 -4
- package/dist/cdn/MT5RQBAH.js +0 -4
- package/dist/cdn/MZ4A2RS4.js +0 -4
- package/dist/cdn/N2AWMIHG.js +0 -4
- package/dist/cdn/NFP7KMGH.js +0 -4
- package/dist/cdn/NNWDJSAH.js +0 -4
- package/dist/cdn/O7ZKXOTB.js +0 -4
- package/dist/cdn/OYUETUJJ.js +0 -4
- package/dist/cdn/PPUKTTQ3.js +0 -4
- package/dist/cdn/PYZLIY6P.js +0 -4
- package/dist/cdn/QPFJHO6Q.js +0 -4
- package/dist/cdn/QSM7LMGZ.js +0 -4
- package/dist/cdn/REMEYP6N.js +0 -4
- package/dist/cdn/RFMOKDOF.js +0 -4
- package/dist/cdn/RNXSFATM.js +0 -4
- package/dist/cdn/RURKZO7X.js +0 -4
- package/dist/cdn/S2O5QLCT.js +0 -4
- package/dist/cdn/SHCBXBY3.js +0 -4
- package/dist/cdn/SLDQ2YZY.js +0 -4
- package/dist/cdn/SWDKYZ6Z.js +0 -4
- package/dist/cdn/TJN54QWM.js +0 -4
- package/dist/cdn/TNVEJWIO.js +0 -4
- package/dist/cdn/TRPGUDFV.js +0 -4
- package/dist/cdn/TXZALV35.js +0 -4
- package/dist/cdn/U2HHRTN2.js +0 -4
- package/dist/cdn/V2RJSRTT.js +0 -4
- package/dist/cdn/V45UQX3A.js +0 -4
- package/dist/cdn/V4COQWPL.js +0 -4
- package/dist/cdn/V5ZNHCME.js +0 -4
- package/dist/cdn/VIDQXKDI.js +0 -4
- package/dist/cdn/VQD7JRM4.js +0 -4
- package/dist/cdn/W3XQBJXS.js +0 -4
- package/dist/cdn/WG47QYRW.js +0 -4
- package/dist/cdn/WQJO5G7X.js +0 -4
- package/dist/cdn/WY2EGIGS.js +0 -4
- package/dist/cdn/XFRS3WPC.js +0 -4
- package/dist/cdn/XRRL7PHW.js +0 -4
- package/dist/cdn/XUU76GOK.js +0 -4
- package/dist/cdn/Y5DTQNYQ.js +0 -4
- package/dist/cdn/Y5TCYX4Y.js +0 -4
- package/dist/cdn/YPOT4P5O.js +0 -4
- package/dist/cdn/Z5HH6M3E.js +0 -4
- package/dist/cdn/Z5JQ33M4.js +0 -4
- package/dist/cdn/ZAORUVUH.js +0 -4
- package/dist/cdn/ZEVG6CNZ.js +0 -4
- package/dist/cdn/ZHMO3DWS.js +0 -4
- package/dist/cdn/ZS3C5VPV.js +0 -4
- package/dist/cdn/ZUXJIOON.js +0 -4
|
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lu
|
|
|
4
4
|
import { m as A } from "../../chunks/useWidget.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.30 */
|
|
8
8
|
const S = A(a);
|
|
9
9
|
class g extends c {
|
|
10
10
|
constructor() {
|
|
@@ -79,7 +79,7 @@ export declare class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
79
79
|
/**
|
|
80
80
|
* The Geodatabase version to pass into the trace.
|
|
81
81
|
*
|
|
82
|
-
* @deprecated since version 4.31
|
|
82
|
+
* @deprecated `gdbVersion` is deprecated since version 4.31.
|
|
83
83
|
* @default "sde.DEFAULT"
|
|
84
84
|
*/
|
|
85
85
|
gdbVersion: string;
|
|
@@ -104,6 +104,11 @@ export declare class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
104
104
|
label: string;
|
|
105
105
|
/** @default "top-right" */
|
|
106
106
|
position: __esri.UIPosition;
|
|
107
|
+
/**
|
|
108
|
+
* 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.
|
|
109
|
+
*
|
|
110
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
111
|
+
*/
|
|
107
112
|
referenceElement?: ArcgisReferenceElement | string;
|
|
108
113
|
/**
|
|
109
114
|
* The properties to determine the size and color of the result area convex hull or buffer, and determines if it displays on the map when the trace completes.
|
|
@@ -6,7 +6,7 @@ import { LitElement as r, createEvent as a, noShadowRoot as o } from "@arcgis/lu
|
|
|
6
6
|
import { m as l } from "../../chunks/useWidget.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.30 */
|
|
10
10
|
const d = l(s);
|
|
11
11
|
class h extends r {
|
|
12
12
|
constructor() {
|
|
@@ -63,6 +63,11 @@ export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
|
63
63
|
label: string;
|
|
64
64
|
/** @default "top-right" */
|
|
65
65
|
position: __esri.UIPosition;
|
|
66
|
+
/**
|
|
67
|
+
* By assigning the `id` attribute of the Map or Scene component to this property, you can position a child component anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
68
|
+
*
|
|
69
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
70
|
+
*/
|
|
66
71
|
referenceElement?: ArcgisReferenceElement | string;
|
|
67
72
|
/**
|
|
68
73
|
* The view model's state.
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as r, noShadowRoot as l } from "@arcgis/lu
|
|
|
6
6
|
import { m as h } from "../../chunks/useWidget.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.30 */
|
|
10
10
|
const w = h(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
|
|
12
12
|
s
|
|
@@ -117,6 +117,11 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
117
117
|
playRate: number;
|
|
118
118
|
/** @default "bottom-left" */
|
|
119
119
|
position: __esri.UIPosition;
|
|
120
|
+
/**
|
|
121
|
+
* 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.
|
|
122
|
+
*
|
|
123
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
124
|
+
*/
|
|
120
125
|
referenceElement?: ArcgisReferenceElement | string;
|
|
121
126
|
/**
|
|
122
127
|
* The current value of the ValuePicker.
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.30 */
|
|
11
11
|
const l = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
@@ -44,24 +44,33 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
44
44
|
/** @default false */
|
|
45
45
|
closable: boolean;
|
|
46
46
|
/**
|
|
47
|
-
* The `initialVersionInfos` property enables users to initialize the Version Management
|
|
47
|
+
* The `initialVersionInfos` property enables users to initialize the Version Management component with a predefined set of versions.
|
|
48
48
|
* By providing an array of `InitialVersionInfo`, the component displays a specified version for each feature service upon initialization.
|
|
49
49
|
*/
|
|
50
50
|
get initialVersionInfos(): InitialVersionInfo[];
|
|
51
51
|
set initialVersionInfos(value: InitialVersionInfo[]);
|
|
52
52
|
icon?: string;
|
|
53
53
|
label?: string;
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Replace localized message strings with your own strings.
|
|
56
|
+
*
|
|
57
|
+
* _**Note**: Individual message keys may change between releases._
|
|
58
|
+
*/
|
|
55
59
|
messageOverrides?: typeof this.messages._overrides;
|
|
56
60
|
mode?: string;
|
|
57
61
|
/**
|
|
58
|
-
* Specifies the number of versions displayed on each page of the Version Management
|
|
62
|
+
* Specifies the number of versions displayed on each page of the Version Management component.
|
|
59
63
|
*
|
|
60
64
|
* @default 5
|
|
61
65
|
*/
|
|
62
66
|
pageSize: number;
|
|
63
67
|
/** @default "top-right" */
|
|
64
68
|
position: __esri.UIPosition;
|
|
69
|
+
/**
|
|
70
|
+
* 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.
|
|
71
|
+
*
|
|
72
|
+
* @see [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component)
|
|
73
|
+
*/
|
|
65
74
|
referenceElement?: ArcgisReferenceElement | string;
|
|
66
75
|
/**
|
|
67
76
|
* The viewModel's state.
|
|
@@ -71,8 +80,8 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
71
80
|
readonly state: "ready" | "loading" | "disabled" | "executing" | "failed" | "success";
|
|
72
81
|
/**
|
|
73
82
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
74
|
-
* In the event that the Version Management component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management
|
|
75
|
-
* The Version Management
|
|
83
|
+
* 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.
|
|
84
|
+
* The Version Management component can be reinitialized using a `Collection<VersioningState>`, or a predefined `Collection<VersioningState>` can be provided during the initial instantiation of the Version Management component.
|
|
76
85
|
*/
|
|
77
86
|
versioningStates: __esri.Collection<__esri.VersioningState>;
|
|
78
87
|
/** Permanently destroy the component. */
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { c as L } from "../../chunks/runtime.js";
|
|
2
2
|
import { once as P, watch as _ } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
3
|
import C from "@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js";
|
|
4
|
-
import { LitElement as
|
|
4
|
+
import { LitElement as N, createEvent as u, noShadowRoot as y, safeClassMap as M } from "@arcgis/lumina";
|
|
5
5
|
import { render as F, html as m } from "lit-html";
|
|
6
6
|
import { createRef as k, ref as b } from "lit-html/directives/ref.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
7
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
8
|
+
import { m as A } from "../../chunks/useViewModel.js";
|
|
9
9
|
import { css as T } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
13
|
-
const O = T`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,
|
|
14
|
-
class
|
|
12
|
+
v4.34.0-next.30 */
|
|
13
|
+
const O = T`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`, R = A(C), I = "map-components:version-management";
|
|
14
|
+
class U extends N {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this.flowElement = k(), this.messages =
|
|
16
|
+
super(...arguments), this.flowElement = k(), this.messages = $({ blocking: !0 }), this.viewModel = R(this), this._isInitialVersionInvalid = /* @__PURE__ */ new Map(), this._initialVersionInfos = [], this._showInvalidFeatureServiceNotice = !1, this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.pageSize = 5, this.position = "top-right", this.state = this.viewModel.state, this.versioningStates = this.viewModel.versioningStates, this.arcgisReady = u(), this.arcgisVersioningStateChanged = u();
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.properties = { versionList: 16, _showInvalidFeatureServiceNotice: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, initialVersionInfos: 0, icon: 1, label: 3, messageOverrides: 0, mode: 1, pageSize: 9, position: 1, referenceElement: 1, state: 3, versioningStates: 0 };
|
|
@@ -22,7 +22,7 @@ class R extends y {
|
|
|
22
22
|
this.styles = O;
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = y;
|
|
26
26
|
}
|
|
27
27
|
get initialVersionInfos() {
|
|
28
28
|
return this._initialVersionInfos;
|
|
@@ -69,18 +69,17 @@ class R extends y {
|
|
|
69
69
|
return e.replace(/\/+$/u, "");
|
|
70
70
|
}
|
|
71
71
|
_createVersionPropertiesFlowItem(e, i) {
|
|
72
|
-
const { closable: s, viewModel: t, viewModel: { state:
|
|
72
|
+
const { closable: s, viewModel: t, viewModel: { state: n } } = this, o = {
|
|
73
73
|
closable: s,
|
|
74
74
|
currentUser: t.userLookup.get(e),
|
|
75
|
-
hasAdvEditingUte: t.advancedEditingUserTypeExtensionLookup.get(e),
|
|
76
75
|
isVersionAdministrator: t.versionAdministratorLookup.get(e),
|
|
77
76
|
serviceUrl: e,
|
|
78
|
-
state:
|
|
77
|
+
state: n,
|
|
79
78
|
strings: this.messages,
|
|
80
79
|
versionInfo: i
|
|
81
80
|
};
|
|
82
81
|
this.versionPropertiesContainer = document.createElement("div");
|
|
83
|
-
const
|
|
82
|
+
const r = F(m`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`, this.versionPropertiesContainer), a = Array.from(r.parentNode.childNodes).find((c) => c.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");
|
|
84
83
|
return this.listenOn(a, "arcgisFlowItemBack", () => {
|
|
85
84
|
this._removeVersionPropertiesFlowItem(this.flowElement.value);
|
|
86
85
|
}), this.listenOn(a, "calciteFlowItemBack", (c) => {
|
|
@@ -100,8 +99,8 @@ class R extends y {
|
|
|
100
99
|
}
|
|
101
100
|
async _handleAlterVersion(e) {
|
|
102
101
|
const { flowElement: { value: i }, viewModel: s } = this, { alterVersionParameters: t } = e.detail;
|
|
103
|
-
await s.alterVersion(t).then(async (
|
|
104
|
-
|
|
102
|
+
await s.alterVersion(t).then(async (n) => {
|
|
103
|
+
n && this.arcgisVersioningStateChanged.emit({
|
|
105
104
|
type: "version-changed",
|
|
106
105
|
versionIdentifier: t.versionIdentifier,
|
|
107
106
|
versioningState: s.versioningStateLookup.get(t.featureServerUrl)
|
|
@@ -111,14 +110,14 @@ class R extends y {
|
|
|
111
110
|
});
|
|
112
111
|
}
|
|
113
112
|
_handleCreateVersion(e) {
|
|
114
|
-
const { flowElement: { value: i }, viewModel: s } = this, { createVersionParameters: t, switchToVersion:
|
|
113
|
+
const { flowElement: { value: i }, viewModel: s } = this, { createVersionParameters: t, switchToVersion: n } = e.detail;
|
|
115
114
|
s.createVersion(t).then(async (o) => {
|
|
116
115
|
o && this.arcgisVersioningStateChanged.emit({
|
|
117
116
|
type: "version-created",
|
|
118
117
|
versionIdentifier: o.versionIdentifier,
|
|
119
118
|
versioningState: s.versioningStateLookup.get(t.featureServerUrl)
|
|
120
|
-
}),
|
|
121
|
-
|
|
119
|
+
}), n && await this.viewModel.changeVersion(t.featureServerUrl, o.versionIdentifier.name, o.versionIdentifier.guid).then((r) => {
|
|
120
|
+
r && this.arcgisVersioningStateChanged.emit({
|
|
122
121
|
type: "version-switched",
|
|
123
122
|
versionIdentifier: o.versionIdentifier,
|
|
124
123
|
versioningState: s.versioningStateLookup.get(t.featureServerUrl)
|
|
@@ -129,13 +128,13 @@ class R extends y {
|
|
|
129
128
|
});
|
|
130
129
|
}
|
|
131
130
|
_changeToInitialVersion(e) {
|
|
132
|
-
const { _isInitialVersionInvalid: i, viewModel: s } = this, { url: t, name:
|
|
131
|
+
const { _isInitialVersionInvalid: i, viewModel: s } = this, { url: t, name: n } = e, o = s.versioningStateLookup.get(t);
|
|
133
132
|
if (!o)
|
|
134
133
|
throw this._showInvalidFeatureServiceNotice = !0, new Error(`${I} - no versioning state found for feature service ${t}`);
|
|
135
|
-
const
|
|
136
|
-
if (!
|
|
137
|
-
throw i.set(t, !0), new Error(`${I} - version ${
|
|
138
|
-
const a =
|
|
134
|
+
const r = o?.versionInfos.find((h) => h.versionIdentifier.name === n);
|
|
135
|
+
if (!r)
|
|
136
|
+
throw i.set(t, !0), new Error(`${I} - version ${n} not found in the versioning state for feature service ${t}`);
|
|
137
|
+
const a = r.versionIdentifier, c = o?.currentVersionInfo?.versionIdentifier;
|
|
139
138
|
a.guid !== c?.guid && s.changeVersion(t, a.name, a.guid);
|
|
140
139
|
}
|
|
141
140
|
_handleFlowItemClose() {
|
|
@@ -147,36 +146,36 @@ class R extends y {
|
|
|
147
146
|
this.flowElement.value?.appendChild(i), this.versionList && (this.versionList.selected = !1);
|
|
148
147
|
}
|
|
149
148
|
async _handleManageVersionAction(e) {
|
|
150
|
-
const { actionType: i, serviceUrl: s, versionInfo: t } = e.detail, { viewModel:
|
|
149
|
+
const { actionType: i, serviceUrl: s, versionInfo: t } = e.detail, { viewModel: n, flowElement: o } = this;
|
|
151
150
|
switch (i) {
|
|
152
151
|
case "changeVersion": {
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
n.changeVersion(s, t.versionIdentifier.name, t.versionIdentifier.guid).then((r) => {
|
|
153
|
+
r && this.arcgisVersioningStateChanged.emit({
|
|
155
154
|
type: "version-switched",
|
|
156
155
|
versionIdentifier: t.versionIdentifier,
|
|
157
|
-
versioningState:
|
|
156
|
+
versioningState: n.versioningStateLookup.get(s)
|
|
158
157
|
});
|
|
159
158
|
const { versionList: a } = this;
|
|
160
159
|
a && (a.versionListElementProps = {
|
|
161
160
|
...a.versionListElementProps,
|
|
162
|
-
currentVersionIdentifier:
|
|
161
|
+
currentVersionIdentifier: n.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier
|
|
163
162
|
});
|
|
164
163
|
});
|
|
165
164
|
break;
|
|
166
165
|
}
|
|
167
166
|
case "deleteVersion": {
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
n.deleteVersion(s, t.versionIdentifier.name, t.versionIdentifier.guid).then(async (r) => {
|
|
168
|
+
r && this.arcgisVersioningStateChanged.emit({
|
|
170
169
|
type: "version-deleted",
|
|
171
170
|
versionIdentifier: t.versionIdentifier,
|
|
172
|
-
versioningState:
|
|
171
|
+
versioningState: n.versioningStateLookup.get(s)
|
|
173
172
|
}), await this._refreshVersionList(s);
|
|
174
173
|
});
|
|
175
174
|
break;
|
|
176
175
|
}
|
|
177
176
|
case "editVersion": {
|
|
178
|
-
const
|
|
179
|
-
o.value?.appendChild(
|
|
177
|
+
const r = this._createVersionPropertiesFlowItem(s, t);
|
|
178
|
+
o.value?.appendChild(r), this.versionList && (this.versionList.selected = !1);
|
|
180
179
|
break;
|
|
181
180
|
}
|
|
182
181
|
}
|
|
@@ -184,13 +183,13 @@ class R extends y {
|
|
|
184
183
|
async _refreshVersionList(e) {
|
|
185
184
|
const { flowElement: { value: i }, versionList: s, viewModel: t } = this;
|
|
186
185
|
if (i) {
|
|
187
|
-
const
|
|
188
|
-
for (const
|
|
189
|
-
|
|
186
|
+
const n = await t.getVersionInfos(e), o = i.getElementsByTagName("arcgis-version-management-service-item");
|
|
187
|
+
for (const r of o)
|
|
188
|
+
r.serviceItemElementProps.serviceUrl === e && (r.serviceItemElementProps = { ...r.serviceItemElementProps, versionInfos: n });
|
|
190
189
|
s && (s.versionListElementProps = {
|
|
191
190
|
...s.versionListElementProps,
|
|
192
191
|
currentVersionIdentifier: t.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,
|
|
193
|
-
versionInfos:
|
|
192
|
+
versionInfos: n
|
|
194
193
|
});
|
|
195
194
|
}
|
|
196
195
|
}
|
|
@@ -203,38 +202,37 @@ class R extends y {
|
|
|
203
202
|
i.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES" && e.removeChild(i);
|
|
204
203
|
}
|
|
205
204
|
render() {
|
|
206
|
-
const { allowEditingDisabled: e, closable: i, flowElement: { value: s }, initialVersionInfos: t, _isInitialVersionInvalid:
|
|
205
|
+
const { allowEditingDisabled: e, closable: i, flowElement: { value: s }, initialVersionInfos: t, _isInitialVersionInvalid: n, label: o, messages: r, mode: a, pageSize: c, versionList: h, viewModel: v, viewModel: { loadError: p, state: d } } = this, w = Array.from(v.serviceNameLookup, ([l, g]) => ({ url: l, name: g })), V = d !== "disabled" ? w.map((l) => {
|
|
207
206
|
const g = {
|
|
208
207
|
allowEditing: !e,
|
|
209
208
|
closable: i,
|
|
210
|
-
currentUser:
|
|
211
|
-
currentVersionIdentifier:
|
|
209
|
+
currentUser: v.userLookup.get(l.url),
|
|
210
|
+
currentVersionIdentifier: v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,
|
|
212
211
|
executionError: void 0,
|
|
213
212
|
flowElement: s,
|
|
214
|
-
hasAdvEditingUte: d.advancedEditingUserTypeExtensionLookup.get(l.url),
|
|
215
213
|
heading: o,
|
|
216
214
|
initialVersionInfos: t,
|
|
217
|
-
isInitialVersionInvalid:
|
|
218
|
-
isVersionAdministrator:
|
|
219
|
-
isVersioningApiAvailable: (
|
|
215
|
+
isInitialVersionInvalid: n,
|
|
216
|
+
isVersionAdministrator: v.versionAdministratorLookup.get(l.url),
|
|
217
|
+
isVersioningApiAvailable: (v.serverVersionLookup.get(l.url) ?? 0) >= 11.2,
|
|
220
218
|
mode: a,
|
|
221
219
|
pageSize: c,
|
|
222
220
|
serviceName: l.name,
|
|
223
|
-
state:
|
|
221
|
+
state: d,
|
|
224
222
|
serviceUrl: l.url,
|
|
225
|
-
strings:
|
|
226
|
-
versionInfos:
|
|
223
|
+
strings: r,
|
|
224
|
+
versionInfos: v.versioningStateLookup.get(l.url)?.versionInfos ?? []
|
|
227
225
|
};
|
|
228
226
|
return m`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${() => {
|
|
229
227
|
s && (this._removeVersionListFlowItem(s), this.versionList = void 0);
|
|
230
228
|
}} @arcgisFlowItemClose=${() => this._handleFlowItemClose()} @arcgisGetVersions=${async (f) => {
|
|
231
229
|
await this._refreshVersionList(f.detail.serviceUrl);
|
|
232
230
|
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(f) => this.versionList = f.detail}></arcgis-version-management-service-item>`;
|
|
233
|
-
}) : void 0, E =
|
|
234
|
-
return m`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${M(this.mode === "dialog" ? "" : "component-container-flow")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o ?? void 0} @calciteFlowItemClose=${() => this._handleFlowItemClose()} .selected=${!h}>${S}<calcite-panel class="service-items-panel" .loading=${
|
|
231
|
+
}) : void 0, E = d === "disabled" && p != null ? m`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(p)}</div></calcite-notice>` : void 0, S = this._showInvalidFeatureServiceNotice ? m`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${() => this._showInvalidFeatureServiceNotice = !1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>` : void 0;
|
|
232
|
+
return m`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${M(this.mode === "dialog" ? "" : "component-container-flow")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o ?? void 0} @calciteFlowItemClose=${() => this._handleFlowItemClose()} .selected=${!h}>${S}<calcite-panel class="service-items-panel" .loading=${d === "loading" || d === "executing"}>${V}${E}</calcite-panel></calcite-flow-item></calcite-flow></div>`;
|
|
235
233
|
}
|
|
236
234
|
}
|
|
237
|
-
L("arcgis-version-management",
|
|
235
|
+
L("arcgis-version-management", U);
|
|
238
236
|
export {
|
|
239
|
-
|
|
237
|
+
U as ArcgisVersionManagement
|
|
240
238
|
};
|
|
@@ -14,7 +14,6 @@ export declare class ArcgisVersionManagementServiceItem extends LitElement {
|
|
|
14
14
|
currentVersionIdentifier: __esri.VersionIdentifier;
|
|
15
15
|
executionError: string | undefined;
|
|
16
16
|
flowElement: HTMLCalciteFlowElement | undefined;
|
|
17
|
-
hasAdvEditingUte: boolean;
|
|
18
17
|
heading: string;
|
|
19
18
|
mode: Nil | string;
|
|
20
19
|
initialVersionInfos: InitialVersionInfo[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { LitElement as
|
|
1
|
+
import { c as k } from "../../chunks/runtime.js";
|
|
2
|
+
import { LitElement as A, createEvent as t, noShadowRoot as _, safeClassMap as v } from "@arcgis/lumina";
|
|
3
3
|
import { html as s, render as S } from "lit-html";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
7
|
-
class
|
|
6
|
+
v4.34.0-next.30 */
|
|
7
|
+
class U extends A {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._showInvalidVersionNotice = !0, this.arcgisCreateVersionList = t(), this.arcgisFlowItemBack = t(), this.arcgisFlowItemClose = t(), this.arcgisGetVersions = t(), this.arcgisManageVersion = t(), this.arcgisNewVersion = t();
|
|
10
10
|
}
|
|
@@ -18,39 +18,38 @@ class F extends U {
|
|
|
18
18
|
super.disconnectedCallback(), this.versionListContainer?.remove();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
const { serviceItemElementProps: { allowEditing: h, closable: p, currentUser: V, executionError: I, currentVersionIdentifier: r, flowElement: $,
|
|
21
|
+
const { serviceItemElementProps: { allowEditing: h, closable: p, currentUser: V, executionError: I, currentVersionIdentifier: r, flowElement: $, heading: b, isInitialVersionInvalid: w, isVersionAdministrator: f, isVersioningApiAvailable: u, mode: N, pageSize: E, serviceName: o, serviceUrl: c, state: C, strings: n, versionInfos: a } } = this;
|
|
22
22
|
let { _versionList: l } = this;
|
|
23
|
-
const
|
|
24
|
-
const
|
|
23
|
+
const x = w.get(c) && this._showInvalidVersionNotice ? s`<calcite-notice class=${v(this._showInvalidVersionNotice ? "invalid-initial-version-notice" : "")} closable kind=warning open scale=s width=full icon @calciteNoticeClose=${() => this._showInvalidVersionNotice = !1}><div slot=title>${n.headers.invalidInitialVersion}</div><div slot=message>${n.loadErrors.invalidInitialVersion}</div></calcite-notice>` : void 0, L = s`<calcite-combobox clear-disabled .label=${o} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${(i) => {
|
|
24
|
+
const m = i.target, e = a.find((M) => M.versionIdentifier.guid === m.value);
|
|
25
25
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: c, versionInfo: e });
|
|
26
26
|
}}>${a ? a.map((i) => s`<calcite-combobox-item class=${v(N === "dialog" ? "" : "calcite-combobox-item")} .selected=${r.guid === i.versionIdentifier.guid && r.name === i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
|
|
27
|
-
let
|
|
28
|
-
return h && (
|
|
27
|
+
let d, g;
|
|
28
|
+
return h && (d = s`<calcite-action .id=${`actionManageVersions_${o}`} icon=list scale=s slot=control text @click=${async () => {
|
|
29
29
|
const i = {
|
|
30
30
|
closable: p,
|
|
31
31
|
currentUser: V,
|
|
32
32
|
currentVersionIdentifier: r,
|
|
33
33
|
executionError: I,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
pageSize: C,
|
|
34
|
+
heading: b,
|
|
35
|
+
isVersionAdministrator: f,
|
|
36
|
+
isVersioningApiAvailable: u,
|
|
37
|
+
pageSize: E,
|
|
39
38
|
serviceName: o,
|
|
40
39
|
serviceUrl: c,
|
|
41
|
-
state:
|
|
40
|
+
state: C,
|
|
42
41
|
strings: n,
|
|
43
42
|
versionInfos: a
|
|
44
43
|
};
|
|
45
44
|
this.versionListContainer = document.createElement("div");
|
|
46
|
-
const
|
|
45
|
+
const m = S(s`<arcgis-version-management-version-list .versionListElementProps=${i} selected show-back-button @arcgisFlowItemBack=${(e) => {
|
|
47
46
|
e.preventDefault(), this.arcgisFlowItemBack.emit();
|
|
48
47
|
}} @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);
|
|
49
|
-
l = Array.from(
|
|
50
|
-
}}></calcite-action>`, g = s`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${o}`}><span>${n.headers.manageVersions}</span></calcite-tooltip>`), s`<calcite-block open .heading=${o}>${
|
|
48
|
+
l = Array.from(m.parentNode.childNodes).find((e) => e.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"), $?.append(l), this.arcgisCreateVersionList.emit(l);
|
|
49
|
+
}}></calcite-action>`, g = s`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${o}`}><span>${n.headers.manageVersions}</span></calcite-tooltip>`), s`<calcite-block open .heading=${o}>${x}${L}${d}${g}</calcite-block>`;
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
|
-
|
|
52
|
+
k("arcgis-version-management-service-item", U);
|
|
54
53
|
export {
|
|
55
|
-
|
|
54
|
+
U as ArcgisVersionManagementServiceItem
|
|
56
55
|
};
|
|
@@ -8,7 +8,6 @@ export declare class ArcgisVersionManagementVersionItem extends LitElement {
|
|
|
8
8
|
versionItemElementProps: {
|
|
9
9
|
currentUser: string;
|
|
10
10
|
currentVersionIdentifier: __esri.VersionIdentifier;
|
|
11
|
-
hasAdvEditingUte: boolean;
|
|
12
11
|
isVersionAdministrator: boolean;
|
|
13
12
|
isVersioningApiAvailable: boolean;
|
|
14
13
|
serviceUrl: string;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as u } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as c } from "lit-html";
|
|
3
|
-
import { LitElement as
|
|
3
|
+
import { LitElement as v, createEvent as b, noShadowRoot as f, nothing as x } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
7
|
-
class
|
|
6
|
+
v4.34.0-next.30 */
|
|
7
|
+
class I extends v {
|
|
8
8
|
constructor() {
|
|
9
|
-
super(...arguments), this.arcgisManageVersion =
|
|
9
|
+
super(...arguments), this.arcgisManageVersion = b();
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.properties = { versionItemElementProps: 0 };
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.shadowRootOptions =
|
|
15
|
+
this.shadowRootOptions = f;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m,
|
|
18
|
+
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m, isVersionAdministrator: g, isVersioningApiAvailable: p, serviceUrl: t, strings: { actions: n }, versionInfo: e } } = this, s = e.versionIdentifier.name, V = s.substring(s.lastIndexOf(".") + 1), a = s.substring(0, s.lastIndexOf(".")), r = e.versionIdentifier.guid, l = `actionSwitchToVersion_${r}`, o = a.toUpperCase() === d.toUpperCase() && p || g, i = m.guid === e.versionIdentifier.guid, h = c`<calcite-action appearance=transparent .disabled=${i} id=${l ?? x} icon=code-branch text @click=${() => {
|
|
19
19
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
20
|
-
}} slot=actions-start></calcite-action>`,
|
|
21
|
-
return c`<calcite-list-item .description=${a} .label=${V} .value=${r}>${
|
|
20
|
+
}} slot=actions-start></calcite-action>`, $ = i ? void 0 : c`<calcite-tooltip overlay-positioning=fixed .referenceElement=${l}><span>${n.switchToVersion}</span></calcite-tooltip>`;
|
|
21
|
+
return c`<calcite-list-item .description=${a} .label=${V} .value=${r}>${h}${$}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${() => {
|
|
22
22
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
23
23
|
}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || i} icon=code-branch-edit @click=${() => {
|
|
24
24
|
this.arcgisManageVersion.emit({ actionType: "editVersion", serviceUrl: t, versionInfo: e });
|
|
@@ -27,7 +27,7 @@ class E extends b {
|
|
|
27
27
|
}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
u("arcgis-version-management-version-item", I);
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
I as ArcgisVersionManagementVersionItem
|
|
33
33
|
};
|
|
@@ -9,7 +9,6 @@ export type VersionListElementProps = {
|
|
|
9
9
|
currentUser: string;
|
|
10
10
|
currentVersionIdentifier: __esri.VersionIdentifier;
|
|
11
11
|
executionError: nullish | string;
|
|
12
|
-
hasAdvEditingUte: boolean;
|
|
13
12
|
heading: string;
|
|
14
13
|
isVersionAdministrator: boolean;
|
|
15
14
|
isVersioningApiAvailable: boolean;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as B } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as s } from "lit";
|
|
3
|
-
import { createRef as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
3
|
+
import { createRef as f, ref as m } from "lit-html/directives/ref.js";
|
|
4
|
+
import { LitElement as L, createEvent as r } from "@arcgis/lumina";
|
|
5
|
+
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const
|
|
10
|
-
class
|
|
8
|
+
v4.34.0-next.30 */
|
|
9
|
+
const N = y`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
|
+
class U extends L {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this._filterInputElement =
|
|
12
|
+
super(...arguments), this._filterInputElement = f(), this._flowItemElement = f(), this.currentPage = 1, this.selected = !1, this.showBackButton = !1, this.arcgisFlowItemBack = r(), this.arcgisFlowItemClose = r(), this.arcgisGetVersions = r(), this.arcgisManageVersion = r(), this.arcgisNewVersion = r();
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.properties = { _filteredVersionInfos: 16, currentPage: 11, selected: 7, showBackButton: 7, versionListElementProps: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.styles =
|
|
18
|
+
this.styles = N;
|
|
19
19
|
}
|
|
20
20
|
load() {
|
|
21
21
|
this._filteredVersionInfos = this.versionListElementProps.versionInfos;
|
|
@@ -47,8 +47,6 @@ class N extends y {
|
|
|
47
47
|
_getExecutionError(e) {
|
|
48
48
|
const { versionListElementProps: { strings: { executionErrors: t } } } = this;
|
|
49
49
|
switch (e) {
|
|
50
|
-
case "no-advanced-editing-user-type-extension":
|
|
51
|
-
return t.noAdvancedEditingUserTypeExtension;
|
|
52
50
|
case "no-feature-service-found":
|
|
53
51
|
return t.noFeatureServiceFound;
|
|
54
52
|
case "no-valid-enterprise-version":
|
|
@@ -63,23 +61,22 @@ class N extends y {
|
|
|
63
61
|
return e.slice((i - 1) * t, i * t);
|
|
64
62
|
}
|
|
65
63
|
render() {
|
|
66
|
-
const { currentPage: e, selected: t, showBackButton: i, versionListElementProps: { closable:
|
|
64
|
+
const { currentPage: e, selected: t, showBackButton: i, versionListElementProps: { closable: g, currentUser: p, currentVersionIdentifier: l, executionError: c, heading: u, isVersionAdministrator: v, isVersioningApiAvailable: h, pageSize: o, serviceName: I, serviceUrl: a, state: V, strings: { headers: d }, strings: n, versionInfos: $ } } = this, _ = s`<calcite-block .heading=${d.currentVersion} .description=${l.name} overlay-positioning=fixed></calcite-block>`, E = s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${() => this.arcgisGetVersions.emit({ serviceUrl: a })} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;
|
|
67
65
|
this._paginatedVersionInfos = this._filteredVersionInfos.length > o ? this._paginate(this._filteredVersionInfos, o, e) : this._filteredVersionInfos;
|
|
68
|
-
const
|
|
69
|
-
currentUser:
|
|
66
|
+
const w = this._filteredVersionInfos.length > o ? s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length / o)}></calcite-pagination>` : void 0, P = this._paginate(this._paginatedVersionInfos, o, 1).map((F) => s`<arcgis-version-management-version-item .versionItemElementProps=${{
|
|
67
|
+
currentUser: p,
|
|
70
68
|
currentVersionIdentifier: l,
|
|
71
69
|
isCurrentVersionCard: !1,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
isVersioningApiAvailable: d,
|
|
70
|
+
isVersionAdministrator: v,
|
|
71
|
+
isVersioningApiAvailable: h,
|
|
75
72
|
serviceUrl: a,
|
|
76
73
|
strings: n,
|
|
77
|
-
versionInfo:
|
|
78
|
-
}}></arcgis-version-management-version-item>`),
|
|
79
|
-
return s`<calcite-flow-item .closable=${
|
|
74
|
+
versionInfo: F
|
|
75
|
+
}}></arcgis-version-management-version-item>`), b = $.length > o ? s`<calcite-block heading .label=${d.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${m(this._filterInputElement)}></calcite-input-text></calcite-block>` : void 0, k = s`<calcite-list .label=${n.labels.versionList}>${P}</calcite-list>`, x = h ? s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${() => this.arcgisNewVersion.emit({ serviceUrl: a })}></calcite-fab>` : void 0, C = c ? s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(c)}</div></calcite-notice>` : void 0;
|
|
76
|
+
return s`<calcite-flow-item .closable=${g} .description=${I} .heading=${u} .selected=${t} .showBackButton=${i} @calciteFlowItemBack=${() => this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${() => this.arcgisFlowItemClose.emit()} ${m(this._flowItemElement)}><calcite-panel .loading=${V === "executing"}>${_}<calcite-panel .heading=${this._filteredVersionInfos.length ? `${n.headers.manageVersions} (${this._filteredVersionInfos.length})` : n.headers.manageVersions}>${E}${b}${k}${x}</calcite-panel>${w}${C}</calcite-panel></calcite-flow-item>`;
|
|
80
77
|
}
|
|
81
78
|
}
|
|
82
|
-
|
|
79
|
+
B("arcgis-version-management-version-list", U);
|
|
83
80
|
export {
|
|
84
|
-
|
|
81
|
+
U as ArcgisVersionManagementVersionList
|
|
85
82
|
};
|
|
@@ -6,7 +6,6 @@ import { ArcgisVersionManagement } from '../arcgis-version-management/customElem
|
|
|
6
6
|
export type VersionPropertiesElementProps = {
|
|
7
7
|
closable: boolean;
|
|
8
8
|
currentUser: string;
|
|
9
|
-
hasAdvEditingUte: boolean;
|
|
10
9
|
isVersionAdministrator: boolean;
|
|
11
10
|
serviceUrl: string;
|
|
12
11
|
state: string;
|