@arcgis/map-components 4.33.0-next.6 → 4.33.0-next.61
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/arcgis-map-components/25UDFKHU.js +5 -0
- package/dist/arcgis-map-components/25UDFKHU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/2NJM45BX.js +4 -0
- package/dist/arcgis-map-components/2NJM45BX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/2UON2WPI.js +5 -0
- package/dist/arcgis-map-components/2UON2WPI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/45C27GEN.js +5 -0
- package/dist/arcgis-map-components/45C27GEN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/4IVCND5S.js +5 -0
- package/dist/arcgis-map-components/4IVCND5S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/54GNKV2U.js +5 -0
- package/dist/arcgis-map-components/54GNKV2U.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/56QMSWYD.js +5 -0
- package/dist/arcgis-map-components/56QMSWYD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IZL6562P.js → 5YZ7JHLG.js} +2 -2
- package/dist/arcgis-map-components/5YZ7JHLG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/74R74ZUK.js +4 -0
- package/dist/arcgis-map-components/74R74ZUK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7DSQZAWL.js +5 -0
- package/dist/arcgis-map-components/7DSQZAWL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7HPFVZWL.js +5 -0
- package/dist/arcgis-map-components/7HPFVZWL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7NGIBC3B.js +4 -0
- package/dist/arcgis-map-components/7NGIBC3B.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/7P2UGQRB.js +5 -0
- package/dist/arcgis-map-components/7P2UGQRB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/A4MV5N7R.js +5 -0
- package/dist/arcgis-map-components/A4MV5N7R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ABDTF6YG.js +5 -0
- package/dist/arcgis-map-components/ABDTF6YG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DSBFXCJF.js +5 -0
- package/dist/arcgis-map-components/DSBFXCJF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DSNWL5NU.js +4 -0
- package/dist/arcgis-map-components/DSNWL5NU.js.LEGAL.txt +0 -0
- package/dist/arcgis-map-components/DYP2GIEB.js +5 -0
- package/dist/arcgis-map-components/DYP2GIEB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/E64NXRTK.js +5 -0
- package/dist/arcgis-map-components/E64NXRTK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/EEFYKIZS.js +5 -0
- package/dist/arcgis-map-components/EEFYKIZS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/EHDZ4REZ.js +4 -0
- package/dist/arcgis-map-components/EHDZ4REZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FNXEUO5T.js +5 -0
- package/dist/arcgis-map-components/FNXEUO5T.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FQ2IQOZL.js +4 -0
- package/dist/arcgis-map-components/FQ2IQOZL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/FRFAFY6S.js +5 -0
- package/dist/arcgis-map-components/FRFAFY6S.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GLFTQ7S7.js +5 -0
- package/dist/arcgis-map-components/GLFTQ7S7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/GQ4NXU3O.js +5 -0
- package/dist/arcgis-map-components/GQ4NXU3O.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/H2JN433N.js +5 -0
- package/dist/arcgis-map-components/H2JN433N.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/HE4GBKCR.js +5 -0
- package/dist/arcgis-map-components/HE4GBKCR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/IIDLDA66.js +4 -0
- package/dist/arcgis-map-components/IIDLDA66.js.LEGAL.txt +15 -0
- package/dist/arcgis-map-components/{QFIKEQMH.js → INU75IRC.js} +2 -2
- package/dist/arcgis-map-components/INU75IRC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/IRXV2SFX.js +5 -0
- package/dist/arcgis-map-components/IRXV2SFX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JOYJZLDJ.js +5 -0
- package/dist/arcgis-map-components/JOYJZLDJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/JQRUYWII.js +5 -0
- package/dist/arcgis-map-components/JQRUYWII.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/K2L3K6N2.js +5 -0
- package/dist/arcgis-map-components/K2L3K6N2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/K5NVTNBF.js +5 -0
- package/dist/arcgis-map-components/K5NVTNBF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KMEWD5UM.js +4 -0
- package/dist/arcgis-map-components/KMEWD5UM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LASAGG2H.js +6 -0
- package/dist/arcgis-map-components/LASAGG2H.js.LEGAL.txt +145 -0
- package/dist/arcgis-map-components/LBLN7BBZ.js +5 -0
- package/dist/arcgis-map-components/LBLN7BBZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LFCE4JVQ.js +5 -0
- package/dist/arcgis-map-components/LFCE4JVQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LHET6XBT.js +5 -0
- package/dist/arcgis-map-components/LHET6XBT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/LLUBF5H4.js +5 -0
- package/dist/arcgis-map-components/LLUBF5H4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MI2PVCE2.js +5 -0
- package/dist/arcgis-map-components/MI2PVCE2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MLM6YPS4.js +5 -0
- package/dist/arcgis-map-components/MLM6YPS4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/MTMYU6BL.js +5 -0
- package/dist/arcgis-map-components/MTMYU6BL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/O3JZMXSD.js +5 -0
- package/dist/arcgis-map-components/O3JZMXSD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OAEDLDTD.js +4 -0
- package/dist/arcgis-map-components/OAEDLDTD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OBUVTYBQ.js +5 -0
- package/dist/arcgis-map-components/OBUVTYBQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OWRHN3WW.js +5 -0
- package/dist/arcgis-map-components/OWRHN3WW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PHBHJLUE.js +5 -0
- package/dist/arcgis-map-components/PHBHJLUE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PHVJWYV5.js +5 -0
- package/dist/arcgis-map-components/PHVJWYV5.js.LEGAL.txt +12 -0
- package/dist/arcgis-map-components/PSVT723F.js +5 -0
- package/dist/arcgis-map-components/PSVT723F.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/PWTX3LOR.js +5 -0
- package/dist/arcgis-map-components/PWTX3LOR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/QS74OQF6.js +5 -0
- package/dist/arcgis-map-components/QS74OQF6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/R24STECG.js +5 -0
- package/dist/arcgis-map-components/R24STECG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/R474PR5F.js +5 -0
- package/dist/arcgis-map-components/R474PR5F.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/RNCYOW2G.js +5 -0
- package/dist/arcgis-map-components/RNCYOW2G.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/S2AZC62Y.js +5 -0
- package/dist/arcgis-map-components/S2AZC62Y.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/S5DX7CJY.js +5 -0
- package/dist/arcgis-map-components/S5DX7CJY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/STTGXZYG.js +5 -0
- package/dist/arcgis-map-components/STTGXZYG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/SUWSARGE.js +5 -0
- package/dist/arcgis-map-components/SUWSARGE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/T5J37CUA.js +5 -0
- package/dist/arcgis-map-components/T5J37CUA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UMRGZ4LB.js +5 -0
- package/dist/arcgis-map-components/UMRGZ4LB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/V7ERYYFM.js +5 -0
- package/dist/arcgis-map-components/V7ERYYFM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/VGKA7S5E.js +5 -0
- package/dist/arcgis-map-components/VGKA7S5E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/W5NJLJEH.js +5 -0
- package/dist/arcgis-map-components/W5NJLJEH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/WVPHXMVU.js +5 -0
- package/dist/arcgis-map-components/WVPHXMVU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XDCDUZ6R.js +5 -0
- package/dist/arcgis-map-components/XDCDUZ6R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/XJZVK2U6.js +5 -0
- package/dist/arcgis-map-components/XJZVK2U6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/Y2GSA7RI.js +5 -0
- package/dist/arcgis-map-components/Y2GSA7RI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YDYLDCQ2.js +5 -0
- package/dist/arcgis-map-components/YDYLDCQ2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YOO7SY2X.js +5 -0
- package/dist/arcgis-map-components/YOO7SY2X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/YT2LE2TQ.js +5 -0
- package/dist/arcgis-map-components/YT2LE2TQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/Z57M7UI3.js +5 -0
- package/dist/arcgis-map-components/Z57M7UI3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZPGKIHWB.js +5 -0
- package/dist/arcgis-map-components/ZPGKIHWB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ZQYTVTHU.js +4 -0
- package/dist/arcgis-map-components/ZQYTVTHU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ar.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.bg.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.bs.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ca.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.cs.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.da.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.de.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.el.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.es.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.et.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.fi.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.fr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.he.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.hr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.hu.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.id.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.it.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ja.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ko.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.lt.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.lv.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.nl.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.no.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pl.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ro.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.ru.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sk.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sl.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.sv.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.th.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.tr.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.uk.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.vi.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/link-chart-layout-switcher/t9n/messages.zh-TW.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ar.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bg.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.bs.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ca.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.cs.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.da.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.de.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.el.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.es.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.et.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fi.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.fr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.he.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.hu.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.id.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.it.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ja.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ko.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lt.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.lv.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.nl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.no.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-BR.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.pt-PT.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ro.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.ru.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sk.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sl.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.sv.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.th.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.tr.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.uk.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.vi.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-CN.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-HK.json +1 -1
- package/dist/arcgis-map-components/assets/navigation-toggle/t9n/messages.zh-TW.json +1 -1
- package/dist/chunks/basemap-gallery-resources.js +23 -0
- package/dist/chunks/component-utils.js +84 -84
- package/dist/chunks/globalCss.js +2 -36
- package/dist/chunks/legacyIcon.js +4 -100
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useView.js +6 -6
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +6 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +20 -12
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -7
- package/dist/components/arcgis-attachments/customElement.js +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +48 -54
- package/dist/components/arcgis-basemap-gallery/index.d.ts +1 -0
- package/dist/components/arcgis-basemap-gallery/index.js +1 -0
- package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/customElement.d.ts +6 -5
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +64 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +14 -5
- package/dist/components/arcgis-basemap-toggle/customElement.js +12 -12
- package/dist/components/arcgis-bookmarks/customElement.js +4 -4
- package/dist/components/arcgis-building-explorer/customElement.js +4 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -9
- package/dist/components/arcgis-catalog-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-compass/customElement.d.ts +7 -0
- package/dist/components/arcgis-compass/customElement.js +12 -12
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +12 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
- package/dist/components/arcgis-daylight/customElement.js +4 -4
- package/dist/components/arcgis-directional-pad/customElement.d.ts +5 -2
- package/dist/components/arcgis-directional-pad/customElement.js +30 -29
- package/dist/components/arcgis-directions/customElement.js +22 -21
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +4 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +16 -8
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +4 -4
- package/dist/components/arcgis-expand/customElement.d.ts +8 -1
- package/dist/components/arcgis-expand/customElement.js +11 -11
- package/dist/components/arcgis-feature/customElement.d.ts +12 -1
- package/dist/components/arcgis-feature/customElement.js +12 -12
- package/dist/components/arcgis-feature-form/customElement.js +4 -4
- package/dist/components/arcgis-feature-table/customElement.d.ts +14 -4
- package/dist/components/arcgis-feature-table/customElement.js +14 -14
- package/dist/components/arcgis-feature-templates/customElement.js +4 -4
- package/dist/components/arcgis-features/customElement.js +4 -4
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +4 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +7 -4
- package/dist/components/arcgis-fullscreen/customElement.js +10 -12
- package/dist/components/arcgis-histogram/customElement.js +4 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +4 -4
- package/dist/components/arcgis-home/customElement.d.ts +9 -10
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +4 -4
- package/dist/components/arcgis-legend/customElement.d.ts +1 -0
- package/dist/components/arcgis-legend/customElement.js +9 -9
- package/dist/components/arcgis-line-of-sight/customElement.js +4 -4
- package/dist/components/arcgis-link-chart/customElement.d.ts +28 -4
- package/dist/components/arcgis-link-chart/customElement.js +60 -44
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
- package/dist/components/arcgis-locate/customElement.d.ts +6 -0
- package/dist/components/arcgis-locate/customElement.js +11 -11
- package/dist/components/arcgis-map/customElement.d.ts +78 -9
- package/dist/components/arcgis-map/customElement.js +59 -35
- package/dist/components/arcgis-measurement/customElement.js +8 -8
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +23 -20
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +5 -9
- package/dist/components/arcgis-placement/customElement.js +24 -18
- package/dist/components/arcgis-print/customElement.d.ts +1 -0
- package/dist/components/arcgis-print/customElement.js +4 -4
- package/dist/components/arcgis-scale-bar/customElement.d.ts +18 -2
- package/dist/components/arcgis-scale-bar/customElement.js +9 -9
- package/dist/components/arcgis-scale-range-slider/customElement.js +6 -6
- package/dist/components/arcgis-scene/customElement.d.ts +372 -96
- package/dist/components/arcgis-scene/customElement.js +171 -75
- package/dist/components/arcgis-search/customElement.d.ts +8 -1
- package/dist/components/arcgis-search/customElement.js +4 -4
- package/dist/components/arcgis-shadow-cast/customElement.js +6 -6
- package/dist/components/arcgis-sketch/customElement.d.ts +4 -1
- package/dist/components/arcgis-sketch/customElement.js +14 -14
- package/dist/components/arcgis-slice/customElement.js +4 -4
- package/dist/components/arcgis-slider/customElement.js +7 -7
- package/dist/components/arcgis-swipe/customElement.d.ts +12 -7
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +4 -4
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +7 -7
- package/dist/components/arcgis-track/customElement.d.ts +14 -1
- package/dist/components/arcgis-track/customElement.js +14 -14
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +4 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +55 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +19 -98
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +67 -13
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +31 -55
- package/dist/components/arcgis-value-picker/customElement.js +4 -4
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +61 -61
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +24 -24
- package/dist/components/arcgis-version-management-version-item/customElement.js +3 -3
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +9 -1
- package/dist/components/arcgis-weather/customElement.js +6 -6
- package/dist/components/arcgis-zoom/customElement.d.ts +5 -2
- package/dist/components/arcgis-zoom/customElement.js +9 -9
- package/dist/docs/api.json +2608 -1354
- package/dist/docs/docs.json +1867 -1131
- package/dist/docs/vscode.html-custom-data.json +280 -151
- package/dist/docs/web-types.json +1035 -536
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +15 -14
- package/dist/testing/fixtures.d.ts +51 -0
- package/dist/testing/testUtils.d.ts +6 -0
- package/dist/types/lumina.d.ts +11 -9
- package/dist/types/preact.d.ts +11 -9
- package/dist/types/react.d.ts +11 -9
- package/dist/types/stencil.d.ts +11 -9
- package/dist/utils/component-utils.d.ts +3 -2
- package/package.json +7 -7
- package/dist/arcgis-map-components/26WPBNEC.js +0 -4
- package/dist/arcgis-map-components/2G434AHJ.js +0 -4
- package/dist/arcgis-map-components/3AEIBQ7A.js +0 -4
- package/dist/arcgis-map-components/3W2QRUGT.js +0 -4
- package/dist/arcgis-map-components/45RSKBVQ.js +0 -4
- package/dist/arcgis-map-components/4W6DW7FZ.js +0 -4
- package/dist/arcgis-map-components/5LR2UY57.js +0 -4
- package/dist/arcgis-map-components/5M23BIJN.js +0 -4
- package/dist/arcgis-map-components/5MG2SLIH.js +0 -4
- package/dist/arcgis-map-components/5R7IBMIU.js +0 -4
- package/dist/arcgis-map-components/6BRA3H5R.js +0 -4
- package/dist/arcgis-map-components/6L67GPXK.js +0 -4
- package/dist/arcgis-map-components/AIS6XRCA.js +0 -4
- package/dist/arcgis-map-components/CDPTHN7M.js +0 -4
- package/dist/arcgis-map-components/CY4RD5EZ.js +0 -4
- package/dist/arcgis-map-components/DGRHXGIJ.js +0 -4
- package/dist/arcgis-map-components/DJTAB5YJ.js +0 -4
- package/dist/arcgis-map-components/DS5UY4A5.js +0 -4
- package/dist/arcgis-map-components/F6KVHAW5.js +0 -4
- package/dist/arcgis-map-components/FAD4QCY5.js +0 -4
- package/dist/arcgis-map-components/G4NQLVDM.js +0 -4
- package/dist/arcgis-map-components/G5MYZSXI.js +0 -4
- package/dist/arcgis-map-components/GF7DQ2HF.js +0 -4
- package/dist/arcgis-map-components/GOF2ZPQO.js +0 -4
- package/dist/arcgis-map-components/GYOFX6GM.js +0 -4
- package/dist/arcgis-map-components/HGRPMJYS.js +0 -4
- package/dist/arcgis-map-components/HHCDTRYJ.js +0 -4
- package/dist/arcgis-map-components/I2XGQGQT.js +0 -4
- package/dist/arcgis-map-components/I3UH6WIZ.js +0 -4
- package/dist/arcgis-map-components/I72ZBGF7.js +0 -4
- package/dist/arcgis-map-components/ICI2QOLA.js +0 -4
- package/dist/arcgis-map-components/ILW2SXFG.js +0 -4
- package/dist/arcgis-map-components/IY27NX4K.js +0 -4
- package/dist/arcgis-map-components/J4JR5EEX.js +0 -4
- package/dist/arcgis-map-components/JE3RL5CN.js +0 -4
- package/dist/arcgis-map-components/KCOSPAM2.js +0 -4
- package/dist/arcgis-map-components/KXSIMLV4.js +0 -4
- package/dist/arcgis-map-components/L3EUZ3I3.js +0 -4
- package/dist/arcgis-map-components/L4MMMLN7.js +0 -4
- package/dist/arcgis-map-components/LLXR34C3.js +0 -4
- package/dist/arcgis-map-components/LTLMO4VR.js +0 -4
- package/dist/arcgis-map-components/LUVATZTZ.js +0 -4
- package/dist/arcgis-map-components/LWJ7XGPK.js +0 -4
- package/dist/arcgis-map-components/LX5BA6TS.js +0 -4
- package/dist/arcgis-map-components/LYR353RS.js +0 -4
- package/dist/arcgis-map-components/MA4JQKZW.js +0 -4
- package/dist/arcgis-map-components/MBLOZCXC.js +0 -4
- package/dist/arcgis-map-components/MU55G7BC.js +0 -4
- package/dist/arcgis-map-components/MXLBD6WM.js +0 -4
- package/dist/arcgis-map-components/NHFTLDIR.js +0 -4
- package/dist/arcgis-map-components/NWYMXX23.js +0 -4
- package/dist/arcgis-map-components/OKRYFOXT.js +0 -4
- package/dist/arcgis-map-components/PCEBHQ4H.js +0 -4
- package/dist/arcgis-map-components/PSWEKZOM.js +0 -4
- package/dist/arcgis-map-components/PV4PB5SF.js +0 -4
- package/dist/arcgis-map-components/QKBF6VGX.js +0 -4
- package/dist/arcgis-map-components/RMLEZPHC.js +0 -4
- package/dist/arcgis-map-components/S3O3LY3V.js +0 -4
- package/dist/arcgis-map-components/SOTBSA63.js +0 -6
- package/dist/arcgis-map-components/TJILDT5D.js +0 -4
- package/dist/arcgis-map-components/TXLHIVWF.js +0 -4
- package/dist/arcgis-map-components/UBINEOZD.js +0 -4
- package/dist/arcgis-map-components/UKEHTE3Y.js +0 -4
- package/dist/arcgis-map-components/UZ7QNRXJ.js +0 -4
- package/dist/arcgis-map-components/V2GMLJUR.js +0 -4
- package/dist/arcgis-map-components/VCZGAQCB.js +0 -4
- package/dist/arcgis-map-components/VPUYYO32.js +0 -4
- package/dist/arcgis-map-components/WZACTK7R.js +0 -4
- package/dist/arcgis-map-components/XA27VVWC.js +0 -4
- package/dist/arcgis-map-components/XLCKXKWC.js +0 -4
- package/dist/arcgis-map-components/ZASSP5GW.js +0 -4
- package/dist/arcgis-map-components/ZRIOISKT.js +0 -4
- package/dist/chunks/basemap-gallery-item.js +0 -53
- package/dist/chunks/disconnected.js +0 -16
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +0 -12
- /package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/index.d.ts +0 -0
- /package/dist/components/{arcgis-basemap-gallery/components/basemap-gallery-item → arcgis-basemap-gallery-item}/index.js +0 -0
|
@@ -1,116 +1,37 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { html as p } from "lit";
|
|
8
|
-
import { LitElement as f, createEvent as t, noShadowRoot as w } from "@arcgis/lumina";
|
|
1
|
+
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
+
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
3
|
+
import { reEmitEvent as e } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import s from "@arcgis/core/widgets/UtilityNetworkTrace.js";
|
|
5
|
+
import { LitElement as a, createEvent as r, noShadowRoot as o } from "@arcgis/lumina";
|
|
6
|
+
import { m as l } from "../../chunks/useWidget.js";
|
|
9
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
12
|
-
|
|
9
|
+
v4.33.0-next.61 */
|
|
10
|
+
const d = l(s);
|
|
11
|
+
class h extends a {
|
|
13
12
|
constructor() {
|
|
14
|
-
super(...arguments), this.
|
|
15
|
-
color: [255, 255, 0, 0.6],
|
|
16
|
-
haloOpacity: 0.9,
|
|
17
|
-
fillOpacity: 0.2,
|
|
18
|
-
hex: "#FFFF00"
|
|
19
|
-
}, this.disabled = !1, this.enableResultArea = !1, this.flags = [], this.gdbVersion = "sde.DEFAULT", this.inputSettings = [], this.position = "bottom-left", this.selectOnCompleteDisabled = !1, this.selectedTraces = [], this.showGraphicsOnCompleteDisabled = !1, this.showSelectionAttributesDisabled = !1, this.arcgisAddFlag = t(), this.arcgisAddFlagComplete = t(), this.arcgisAddFlagError = t(), this.arcgisAddResultArea = t(), this.arcgisReady = t(), this.arcgisRemoveResultArea = t();
|
|
13
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.defaultGraphicColor = this.widget.defaultGraphicColor, this.disabled = this.widget.disabled, this.enableResultArea = this.widget.enableResultArea, this.flags = this.widget.flags, this.gdbVersion = this.widget.gdbVersion, this.icon = this.widget.icon, this.inputSettings = [], this.label = this.widget.label, this.position = "top-right", this.selectOnCompleteDisabled = !1, this.selectedTraces = [], this.showGraphicsOnCompleteDisabled = !1, this.showSelectionAttributesDisabled = !1, this.state = this.viewModel.state, this.arcgisAddFlag = e(() => this.widget, "add-flag"), this.arcgisAddFlagComplete = e(() => this.widget, "add-flag-complete"), this.arcgisAddFlagError = e(() => this.widget, "add-flag-error"), this.arcgisAddResultArea = e(() => this.widget, "add-result-area"), this.arcgisPropertyChange = i()("state"), this.arcgisReady = r(), this.arcgisRemoveResultArea = e(() => this.widget, "remove-result-area");
|
|
20
14
|
}
|
|
21
15
|
static {
|
|
22
|
-
this.properties = { defaultGraphicColor: 0, disabled: 7, enableResultArea: 5, flags: 0, gdbVersion: 1, inputSettings: 0, position: 1, referenceElement: 1, resultAreaProperties: 0, selectOnCompleteDisabled: 5, selectedTraces: 0, showGraphicsOnCompleteDisabled: 5, showSelectionAttributesDisabled: 5,
|
|
16
|
+
this.properties = { view: 16, autoDestroyDisabled: 5, defaultGraphicColor: 0, disabled: 7, enableResultArea: 5, flags: 0, gdbVersion: 1, icon: 1, inputSettings: 0, label: 1, position: 1, referenceElement: 1, resultAreaProperties: 0, selectOnCompleteDisabled: 5, selectedTraces: 0, showGraphicsOnCompleteDisabled: 5, showSelectionAttributesDisabled: 5, state: 3 };
|
|
23
17
|
}
|
|
24
18
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = o;
|
|
26
20
|
}
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region Public Methods
|
|
29
23
|
async checkCanTrace() {
|
|
30
24
|
await this.widget?.checkCanTrace();
|
|
31
25
|
}
|
|
32
26
|
async confirmReset() {
|
|
33
27
|
this.widget?.confirmReset();
|
|
34
28
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
e.has("referenceElement") && this.referenceElementWatcher(this.referenceElement), e.has("enableResultArea") && this.enableResultAreaWatcher(this.enableResultArea), e.has("defaultGraphicColor") && this.defaultGraphicColorWatcher(this.defaultGraphicColor), e.has("disabled") && this.disabledWatcher(this.disabled, e.get("disabled")), e.has("flags") && this.flagsWatcher(this.flags), e.has("gdbVersion") && this.gdbVersionWatcher(this.gdbVersion), e.has("inputSettings") && this.inputSettingsWatcher(this.inputSettings), e.has("resultAreaProperties") && this.resultAreaProperties && this.resultAreaPropertiesWatcher(this.resultAreaProperties), e.has("selectedTraces") && this.selectedTracesWatcher(this.selectedTraces), e.has("selectOnCompleteDisabled") && this.selectOnCompleteDisabledWatcher(this.selectOnCompleteDisabled), e.has("showGraphicsOnCompleteDisabled") && this.showGraphicsOnCompleteDisabledWatcher(this.showGraphicsOnCompleteDisabled), e.has("showSelectionAttributesDisabled") && this.showSelectionAttributesDisabledWatcher(this.showSelectionAttributesDisabled), e.has("position") && this.positionWatcher(this.position), e.has("view") && this.viewWatcher(this.view);
|
|
39
|
-
}
|
|
40
|
-
async loaded() {
|
|
41
|
-
const e = this._createParams(), i = new h(e);
|
|
42
|
-
this.widget = i, await this._addWatchers(), this._proxyEvents(), this._addContainer(), l(this), o(this);
|
|
43
|
-
}
|
|
44
|
-
disconnectedCallback() {
|
|
45
|
-
super.disconnectedCallback(), n(this);
|
|
46
|
-
}
|
|
47
|
-
// #endregion
|
|
48
|
-
// #region Private Methods
|
|
49
|
-
referenceElementWatcher(e) {
|
|
50
|
-
d(this, e);
|
|
51
|
-
}
|
|
52
|
-
enableResultAreaWatcher(e) {
|
|
53
|
-
this.widget && (this.widget.enableResultArea = e);
|
|
54
|
-
}
|
|
55
|
-
defaultGraphicColorWatcher(e) {
|
|
56
|
-
this.widget && (this.widget.defaultGraphicColor = e);
|
|
57
|
-
}
|
|
58
|
-
disabledWatcher(e, i) {
|
|
59
|
-
this.widget && e !== i && (this.widget.disabled = e);
|
|
60
|
-
}
|
|
61
|
-
flagsWatcher(e) {
|
|
62
|
-
this.widget && (this.widget.flags = e);
|
|
63
|
-
}
|
|
64
|
-
gdbVersionWatcher(e) {
|
|
65
|
-
this.widget && (this.widget.gdbVersion = e);
|
|
66
|
-
}
|
|
67
|
-
inputSettingsWatcher(e) {
|
|
68
|
-
this.widget && (this.widget.inputSettings = e);
|
|
69
|
-
}
|
|
70
|
-
resultAreaPropertiesWatcher(e) {
|
|
71
|
-
this.widget && (this.widget.resultAreaProperties = e);
|
|
72
|
-
}
|
|
73
|
-
selectedTracesWatcher(e) {
|
|
74
|
-
this.widget && (this.widget.selectedTraces = e);
|
|
75
|
-
}
|
|
76
|
-
selectOnCompleteDisabledWatcher(e) {
|
|
77
|
-
e !== void 0 && this.widget && (this.widget.selectOnComplete = !e);
|
|
78
|
-
}
|
|
79
|
-
showGraphicsOnCompleteDisabledWatcher(e) {
|
|
80
|
-
e !== void 0 && this.widget && (this.widget.showGraphicsOnComplete = !e);
|
|
81
|
-
}
|
|
82
|
-
showSelectionAttributesDisabledWatcher(e) {
|
|
83
|
-
e !== void 0 && this.widget && (this.widget.showSelectionAttributes = !e);
|
|
84
|
-
}
|
|
85
|
-
positionWatcher(e) {
|
|
86
|
-
e !== void 0 && this.widget && this.el.childElem && this.view.ui?.move(this.el.childElem, e);
|
|
87
|
-
}
|
|
88
|
-
viewWatcher(e) {
|
|
89
|
-
e !== void 0 && this.widget && (this.widget.view = e);
|
|
90
|
-
}
|
|
91
|
-
_addContainer() {
|
|
92
|
-
this.widget.container = this.el.childElem;
|
|
93
|
-
}
|
|
94
|
-
async _addWatchers() {
|
|
95
|
-
c(this, a(() => this.widget.disabled, (e) => this.disabled = e));
|
|
96
|
-
}
|
|
97
|
-
_createParams() {
|
|
98
|
-
const e = {};
|
|
99
|
-
return this.defaultGraphicColor && (e.defaultGraphicColor = this.defaultGraphicColor), this.enableResultArea !== void 0 && (e.enableResultArea = this.enableResultArea), this.flags && (e.flags = this.flags), this.gdbVersion && (e.gdbVersion = this.gdbVersion), this.inputSettings && (e.inputSettings = this.inputSettings), this.resultAreaProperties && (e.resultAreaProperties = this.resultAreaProperties), this.selectedTraces && (e.selectedTraces = this.selectedTraces), this.selectOnCompleteDisabled !== void 0 && (e.selectOnComplete = !this.selectOnCompleteDisabled), this.showGraphicsOnCompleteDisabled !== void 0 && (e.showGraphicsOnComplete = !this.showGraphicsOnCompleteDisabled), this.showSelectionAttributesDisabled !== void 0 && (e.showSelectionAttributes = !this.showSelectionAttributesDisabled), this.view && (e.view = this.view), e;
|
|
100
|
-
}
|
|
101
|
-
_proxyEvents() {
|
|
102
|
-
this.widget.on("add-flag", (e) => this.arcgisAddFlag.emit(e)), this.widget.on("add-flag-complete", (e) => this.arcgisAddFlagComplete.emit(e)), this.widget.on("add-flag-error", (e) => this.arcgisAddFlagError.emit(e)), this.widget.on("add-result-area", (e) => this.arcgisAddResultArea.emit(e)), this.widget.on("remove-result-area", (e) => this.arcgisRemoveResultArea.emit(e));
|
|
103
|
-
}
|
|
104
|
-
_setChildElement(e) {
|
|
105
|
-
this.el.childElem = e;
|
|
106
|
-
}
|
|
107
|
-
// #endregion
|
|
108
|
-
// #region Rendering
|
|
109
|
-
render() {
|
|
110
|
-
return p`<div ${r(this._setChildElement)}></div>`;
|
|
29
|
+
/** Permanently destroy the component */
|
|
30
|
+
async destroy() {
|
|
31
|
+
await this.manager.destroy();
|
|
111
32
|
}
|
|
112
33
|
}
|
|
113
|
-
|
|
34
|
+
t("arcgis-utility-network-trace", h);
|
|
114
35
|
export {
|
|
115
|
-
|
|
36
|
+
h as ArcgisUtilityNetworkTrace
|
|
116
37
|
};
|
|
@@ -1,22 +1,76 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import {
|
|
4
|
-
import { ArcgisReferenceElement, WidgetElement } from '../../utils/component-utils';
|
|
3
|
+
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
export type UtilityNetworkValidateTopologyWidget = InstanceType<typeof UtilityNetworkValidateTopology>;
|
|
10
|
-
/** The UtilityNetworkValidateTopology component simplifies the process of validating a DirtyArea within a utility network. It offers an intuitive user interface, reducing the complexity of working with utility network associations.
|
|
11
|
-
|
|
12
|
-
> The UtilityNetworkValidateTopology Component does not support proxied feature services or feature services that utilize stored credentials.
|
|
5
|
+
import { default as UtilityNetworkValidateTopology } from '@arcgis/core/widgets/UtilityNetworkValidateTopology.js';
|
|
6
|
+
import { ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
13
8
|
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
export type UtilityNetworkValidateTopologysWidget = InstanceType<typeof UtilityNetworkValidateTopology>;
|
|
10
|
+
declare const useUtilityNetworkValidateTopologyWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
11
|
+
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
12
|
+
el: HTMLElement;
|
|
13
|
+
autoDestroyDisabled?: boolean;
|
|
14
|
+
destroy?: () => Promise<void>;
|
|
15
|
+
} & Pick<UtilityNetworkValidateTopology & {
|
|
16
|
+
viewModel: __esri.Accessor;
|
|
17
|
+
}, "icon" | "label" | "viewModel" | "extentToValidate" | "utilityNetwork"> & {
|
|
18
|
+
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
19
|
+
state?: unknown;
|
|
20
|
+
viewModel?: (__esri.UtilityNetworkValidateTopologyViewModel & __esri.Accessor) | undefined;
|
|
21
|
+
icon: Nil | string;
|
|
22
|
+
label: Nil | string;
|
|
23
|
+
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
24
|
+
position: __esri.UIPosition;
|
|
25
|
+
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
|
26
|
+
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
|
27
|
+
name: string;
|
|
28
|
+
}> | undefined;
|
|
29
|
+
el: HTMLElement & {
|
|
30
|
+
childElem?: HTMLElement & {
|
|
31
|
+
ownedBy?: HTMLElement;
|
|
32
|
+
};
|
|
33
|
+
view?: __esri.MapView | __esri.SceneView | Nil;
|
|
34
|
+
};
|
|
35
|
+
autoDestroyDisabled: boolean;
|
|
36
|
+
destroy: () => Promise<void>;
|
|
37
|
+
}, options?: {
|
|
38
|
+
editConstructorProperties(props: __esri.UtilityNetworkValidateTopologyProperties): __esri.UtilityNetworkValidateTopologyProperties | Promise<__esri.UtilityNetworkValidateTopologyProperties>;
|
|
39
|
+
} | undefined) => UtilityNetworkValidateTopology & {
|
|
40
|
+
viewModel: __esri.Accessor;
|
|
41
|
+
};
|
|
16
42
|
export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
17
|
-
|
|
43
|
+
/**
|
|
44
|
+
* If true, the component will not be destroyed automatically when it is
|
|
45
|
+
* disconnected from the document. This is useful when you want to move the
|
|
46
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
47
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
48
|
+
* memory leaks.
|
|
49
|
+
*/
|
|
50
|
+
autoDestroyDisabled: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Specifies the extent of the validation.
|
|
53
|
+
*/
|
|
54
|
+
extentToValidate: "current" | "entire";
|
|
55
|
+
/**
|
|
56
|
+
* Icon displayed in the component's button.
|
|
57
|
+
* Search [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/) for possible values.
|
|
58
|
+
*/
|
|
59
|
+
icon: string;
|
|
60
|
+
/** The component's default label. */
|
|
61
|
+
label: string;
|
|
18
62
|
position: __esri.UIPosition;
|
|
19
63
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
20
|
-
|
|
64
|
+
readonly state: "ready" | "loading" | "failed" | "disabled" | "executing" | "success";
|
|
65
|
+
/**
|
|
66
|
+
* Determines the utility network to use.
|
|
67
|
+
*/
|
|
68
|
+
utilityNetwork: nullish | __esri.UtilityNetwork;
|
|
69
|
+
/** Permanently destroy the component */
|
|
70
|
+
destroy(): Promise<void>;
|
|
71
|
+
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
72
|
+
name: "state";
|
|
73
|
+
}>;
|
|
21
74
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
22
75
|
}
|
|
76
|
+
export {};
|
|
@@ -1,59 +1,43 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
1
|
+
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
+
import { watch as o } from "@arcgis/core/core/reactiveUtils.js";
|
|
3
4
|
import s from "@arcgis/core/widgets/UtilityNetworkValidateTopology.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { html as d } from "lit";
|
|
7
|
-
import { LitElement as n, createEvent as c, noShadowRoot as w } from "@arcgis/lumina";
|
|
5
|
+
import { LitElement as a, createEvent as r, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
+
import { m as h } from "../../chunks/useWidget.js";
|
|
8
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
|
|
9
|
+
v4.33.0-next.61 */
|
|
10
|
+
const w = h(
|
|
11
|
+
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
|
|
12
|
+
s
|
|
13
|
+
);
|
|
14
|
+
class d extends a {
|
|
12
15
|
constructor() {
|
|
13
|
-
super(...arguments), this.
|
|
16
|
+
super(...arguments), this.widget = w(this), this.viewModel = this.widget.viewModel, this.view = this.widget.view, this.autoDestroyDisabled = !1, this.extentToValidate = this.widget.extentToValidate, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "top-right", this.state = this.viewModel.state, this.utilityNetwork = this.widget.utilityNetwork, this.arcgisPropertyChange = e()("state"), this.arcgisReady = r();
|
|
14
17
|
}
|
|
15
18
|
static {
|
|
16
|
-
this.properties = { extentToValidate: 1,
|
|
19
|
+
this.properties = { view: 16, autoDestroyDisabled: 5, extentToValidate: 1, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, utilityNetwork: 0 };
|
|
17
20
|
}
|
|
18
21
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
22
|
+
this.shadowRootOptions = l;
|
|
20
23
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region Public Methods
|
|
26
|
+
/** Permanently destroy the component */
|
|
27
|
+
async destroy() {
|
|
28
|
+
await this.manager.destroy();
|
|
25
29
|
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region Lifecycle
|
|
26
32
|
async loaded() {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
referenceElementWatcher(t) {
|
|
36
|
-
l(this, t);
|
|
37
|
-
}
|
|
38
|
-
extentToValidateWatcher(t) {
|
|
39
|
-
this.widget && (this.widget.extentToValidate = t);
|
|
40
|
-
}
|
|
41
|
-
utilityNetworkWatcher(t) {
|
|
42
|
-
this.widget && t && (this.widget.utilityNetwork = t);
|
|
43
|
-
}
|
|
44
|
-
positionWatcher(t) {
|
|
45
|
-
t !== void 0 && this.widget && this.el.childElem && this.view.ui?.move(this.el.childElem, t);
|
|
46
|
-
}
|
|
47
|
-
viewWatcher(t) {
|
|
48
|
-
t !== void 0 && this.widget && (this.widget.view = t, this._loadUtilityNetwork());
|
|
49
|
-
}
|
|
50
|
-
_addContainer() {
|
|
51
|
-
this.widget.container = this.el.childElem;
|
|
52
|
-
}
|
|
53
|
-
_createParams() {
|
|
54
|
-
const t = {};
|
|
55
|
-
return this.extentToValidate !== void 0 && (t.extentToValidate = this.extentToValidate), this.utilityNetwork !== void 0 && (t.utilityNetwork = this.utilityNetwork), t;
|
|
56
|
-
}
|
|
33
|
+
await this._loadUtilityNetwork(), this.manager.onLifecycle(() => [
|
|
34
|
+
o(() => this.view, () => {
|
|
35
|
+
this._loadUtilityNetwork();
|
|
36
|
+
})
|
|
37
|
+
]);
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region Private Methods
|
|
57
41
|
async _loadUtilityNetwork() {
|
|
58
42
|
if (this.view?.map && this.view.map.portalItem) {
|
|
59
43
|
await this.view.map.load();
|
|
@@ -61,16 +45,8 @@ class m extends n {
|
|
|
61
45
|
await t?.load(), this.utilityNetwork = t;
|
|
62
46
|
}
|
|
63
47
|
}
|
|
64
|
-
_setChildElement(t) {
|
|
65
|
-
this.el.childElem = t;
|
|
66
|
-
}
|
|
67
|
-
// #endregion
|
|
68
|
-
// #region Rendering
|
|
69
|
-
render() {
|
|
70
|
-
return d`<div ${o(this._setChildElement)}></div>`;
|
|
71
|
-
}
|
|
72
48
|
}
|
|
73
|
-
|
|
49
|
+
i("arcgis-utility-network-validate-topology", d);
|
|
74
50
|
export {
|
|
75
|
-
|
|
51
|
+
d as ArcgisUtilityNetworkValidateTopology
|
|
76
52
|
};
|
|
@@ -7,8 +7,8 @@ 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.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
11
|
-
const l = r
|
|
10
|
+
v4.33.0-next.61 */
|
|
11
|
+
const l = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this.widget = c(this), this.autoDestroyDisabled = !1, this.canNext = this.widget.canNext, this.canPlay = this.widget.canPlay, this.canPrevious = this.widget.canPrevious, this.caption = this.widget.caption, this.component = this.widget.component, this.hideNextButton = this.widget.visibleElements.nextButton, this.hidePlayButton = this.widget.visibleElements.playButton, this.hidePreviousButton = this.widget.visibleElements.previousButton, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.loop = this.widget.loop, this.playRate = this.widget.playRate, this.position = "bottom-left", this.values = this.widget.values, this.arcgisAnimate = t(() => this.widget, "animate"), this.arcgisNext = t(() => this.widget, "next"), this.arcgisPause = t(() => this.widget, "pause"), this.arcgisPlay = t(() => this.widget, "play"), this.arcgisPrevious = t(() => this.widget, "previous"), this.arcgisPropertyChange = e()("values"), this.arcgisReady = o();
|
|
@@ -22,8 +22,8 @@ class u extends a {
|
|
|
22
22
|
static {
|
|
23
23
|
this.styles = l;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region Public Methods
|
|
27
27
|
/** Permanently destroy the component */
|
|
28
28
|
async destroy() {
|
|
29
29
|
await this.manager.destroy();
|
|
@@ -148,6 +148,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
148
148
|
set initialVersionInfos(value: InitialVersionInfo[]);
|
|
149
149
|
icon: Nil | string;
|
|
150
150
|
label: string | undefined;
|
|
151
|
+
/** Replace localized message strings with your own strings. */
|
|
151
152
|
messageOverrides?: typeof this.messages._overrides;
|
|
152
153
|
mode: Nil | string;
|
|
153
154
|
/**
|
|
@@ -159,11 +160,10 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
159
160
|
readonly state: "ready" | "loading" | "failed" | "disabled" | "executing" | "success";
|
|
160
161
|
/**
|
|
161
162
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
162
|
-
* In the event that the Version Management
|
|
163
|
+
* 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.
|
|
163
164
|
* 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.
|
|
164
165
|
*/
|
|
165
166
|
versioningStates: __esri.Collection<__esri.VersioningState>;
|
|
166
|
-
view: __esri.MapView;
|
|
167
167
|
/** Permanently destroy the component */
|
|
168
168
|
destroy(): Promise<void>;
|
|
169
169
|
readonly arcgisReady: TargetedEvent<this, undefined>;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { c as S } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as h } from "lit-html";
|
|
3
3
|
import { once as _, watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import P from "@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js";
|
|
5
|
-
import { LitElement as F, createEvent as
|
|
6
|
-
import { createRef as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
5
|
+
import { LitElement as F, createEvent as u, noShadowRoot as N, safeClassMap as C } from "@arcgis/lumina";
|
|
6
|
+
import { createRef as M, ref as k } from "lit-html/directives/ref.js";
|
|
7
|
+
import { u as $ } from "../../chunks/useView.js";
|
|
8
|
+
import { m as b } from "../../chunks/useViewModel.js";
|
|
9
9
|
import { css as A } 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.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
13
|
-
const T = A
|
|
12
|
+
v4.33.0-next.61 */
|
|
13
|
+
const T = A`@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}}}`, x = b(P), w = "map-components:version-management";
|
|
14
14
|
class D extends F {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this.flowElement =
|
|
16
|
+
super(...arguments), this.flowElement = M(), this.messages = $({ blocking: !0 }), this.viewModel = x(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
|
-
this.properties = { versionList: 16, _showInvalidFeatureServiceNotice: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, initialVersionInfos: 0, icon: 3, label: 3, messageOverrides: 0, mode: 1, pageSize: 9, position: 1, referenceElement: 1, state: 3, versioningStates: 0
|
|
19
|
+
this.properties = { versionList: 16, _showInvalidFeatureServiceNotice: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, initialVersionInfos: 0, icon: 3, label: 3, messageOverrides: 0, mode: 1, pageSize: 9, position: 1, referenceElement: 1, state: 3, versioningStates: 0 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = T;
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = N;
|
|
26
26
|
}
|
|
27
27
|
get initialVersionInfos() {
|
|
28
28
|
return this._initialVersionInfos;
|
|
@@ -80,51 +80,51 @@ class D extends F {
|
|
|
80
80
|
return e.replace(/\/+$/u, "");
|
|
81
81
|
}
|
|
82
82
|
_createVersionPropertiesFlowItem(e, i) {
|
|
83
|
-
const { closable: t, flowElement: { value: s }, viewModel:
|
|
84
|
-
return
|
|
83
|
+
const { closable: t, flowElement: { value: s }, viewModel: o, viewModel: { state: l } } = this, n = document.createElement("arcgis-version-management-version-properties");
|
|
84
|
+
return n.versionPropertiesElementProps = {
|
|
85
85
|
closable: t,
|
|
86
|
-
currentUser:
|
|
87
|
-
hasAdvEditingUte:
|
|
88
|
-
isVersionAdministrator:
|
|
86
|
+
currentUser: o.userLookup.get(e),
|
|
87
|
+
hasAdvEditingUte: o.advancedEditingUserTypeExtensionLookup.get(e),
|
|
88
|
+
isVersionAdministrator: o.versionAdministratorLookup.get(e),
|
|
89
89
|
serviceUrl: e,
|
|
90
90
|
state: l,
|
|
91
91
|
strings: this.messages,
|
|
92
92
|
versionInfo: i
|
|
93
|
-
},
|
|
94
|
-
const { createVersionParameters: d, switchToVersion:
|
|
95
|
-
|
|
93
|
+
}, n.selected = !0, n.showBackButton = !0, n.addEventListener("arcgisCreateVersion", (r) => {
|
|
94
|
+
const { createVersionParameters: d, switchToVersion: m } = r.detail;
|
|
95
|
+
o.createVersion(d).then(async (a) => {
|
|
96
96
|
a && this.arcgisVersioningStateChanged.emit({
|
|
97
97
|
type: "version-created",
|
|
98
98
|
versionIdentifier: a.versionIdentifier,
|
|
99
|
-
versioningState:
|
|
100
|
-
}),
|
|
101
|
-
|
|
99
|
+
versioningState: o.versioningStateLookup.get(e)
|
|
100
|
+
}), m && await this.viewModel.changeVersion(e, a.versionIdentifier.name, a.versionIdentifier.guid).then((g) => {
|
|
101
|
+
g && this.arcgisVersioningStateChanged.emit({
|
|
102
102
|
type: "version-switched",
|
|
103
103
|
versionIdentifier: a.versionIdentifier,
|
|
104
|
-
versioningState:
|
|
104
|
+
versioningState: o.versioningStateLookup.get(e)
|
|
105
105
|
});
|
|
106
106
|
}), await this._refreshVersionList(e);
|
|
107
107
|
}).finally(() => {
|
|
108
108
|
s && this._removeVersionPropertiesFlowItem(s);
|
|
109
109
|
});
|
|
110
|
-
}),
|
|
111
|
-
const { flowElement: { value: d } } = this, { alterVersionParameters:
|
|
112
|
-
await
|
|
110
|
+
}), n.addEventListener("arcgisAlterVersion", async (r) => {
|
|
111
|
+
const { flowElement: { value: d } } = this, { alterVersionParameters: m } = r.detail;
|
|
112
|
+
await o.alterVersion(m).then(async (a) => {
|
|
113
113
|
a && this.arcgisVersioningStateChanged.emit({
|
|
114
114
|
type: "version-changed",
|
|
115
|
-
versionIdentifier:
|
|
116
|
-
versioningState:
|
|
115
|
+
versionIdentifier: m.versionIdentifier,
|
|
116
|
+
versioningState: o.versioningStateLookup.get(e)
|
|
117
117
|
}), await this._refreshVersionList(e);
|
|
118
118
|
}).finally(() => {
|
|
119
119
|
d && this._removeVersionPropertiesFlowItem(d);
|
|
120
120
|
});
|
|
121
|
-
}),
|
|
121
|
+
}), n.addEventListener("arcgisFlowItemBack", () => {
|
|
122
122
|
this._removeVersionPropertiesFlowItem(this.flowElement.value);
|
|
123
|
-
}),
|
|
123
|
+
}), n.addEventListener("calciteFlowItemBack", (r) => {
|
|
124
124
|
r.preventDefault(), this._removeVersionPropertiesFlowItem(this.flowElement.value), this.versionList && (this.versionList.selected = !0);
|
|
125
|
-
}),
|
|
125
|
+
}), n.addEventListener("calciteFlowItemClose", () => {
|
|
126
126
|
this._handleFlowItemClose();
|
|
127
|
-
}),
|
|
127
|
+
}), n;
|
|
128
128
|
}
|
|
129
129
|
_getLoadError(e) {
|
|
130
130
|
const { messages: i } = this;
|
|
@@ -138,13 +138,13 @@ class D extends F {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
_changeToInitialVersion(e) {
|
|
141
|
-
const { _isInitialVersionInvalid: i, viewModel: t } = this, { url: s, name:
|
|
141
|
+
const { _isInitialVersionInvalid: i, viewModel: t } = this, { url: s, name: o } = e, l = t.versioningStateLookup.get(s);
|
|
142
142
|
if (!l)
|
|
143
|
-
throw this._showInvalidFeatureServiceNotice = !0, new Error(`${
|
|
144
|
-
const
|
|
145
|
-
if (!
|
|
146
|
-
throw i.set(s, !0), new Error(`${
|
|
147
|
-
const r =
|
|
143
|
+
throw this._showInvalidFeatureServiceNotice = !0, new Error(`${w} - no versioning state found for feature service ${s}`);
|
|
144
|
+
const n = l?.versionInfos.find((m) => m.versionIdentifier.name === o);
|
|
145
|
+
if (!n)
|
|
146
|
+
throw i.set(s, !0), new Error(`${w} - version ${o} not found in the versioning state for feature service ${s}`);
|
|
147
|
+
const r = n.versionIdentifier, d = l?.currentVersionInfo?.versionIdentifier;
|
|
148
148
|
r.guid !== d?.guid && t.changeVersion(s, r.name, r.guid);
|
|
149
149
|
}
|
|
150
150
|
_handleFlowItemClose() {
|
|
@@ -156,36 +156,36 @@ class D extends F {
|
|
|
156
156
|
this.flowElement.value?.appendChild(i), this.versionList && (this.versionList.selected = !1);
|
|
157
157
|
}
|
|
158
158
|
async _handleManageVersionAction(e) {
|
|
159
|
-
const { actionType: i, serviceUrl: t, versionInfo: s } = e.detail, { viewModel:
|
|
159
|
+
const { actionType: i, serviceUrl: t, versionInfo: s } = e.detail, { viewModel: o, flowElement: l } = this;
|
|
160
160
|
switch (i) {
|
|
161
161
|
case "changeVersion": {
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
o.changeVersion(t, s.versionIdentifier.name, s.versionIdentifier.guid).then((n) => {
|
|
163
|
+
n && this.arcgisVersioningStateChanged.emit({
|
|
164
164
|
type: "version-switched",
|
|
165
165
|
versionIdentifier: s.versionIdentifier,
|
|
166
|
-
versioningState:
|
|
166
|
+
versioningState: o.versioningStateLookup.get(t)
|
|
167
167
|
});
|
|
168
168
|
const { versionList: r } = this;
|
|
169
169
|
r && (r.versionListElementProps = {
|
|
170
170
|
...r.versionListElementProps,
|
|
171
|
-
currentVersionIdentifier:
|
|
171
|
+
currentVersionIdentifier: o.versioningStateLookup.get(t).currentVersionInfo.versionIdentifier
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
174
|
break;
|
|
175
175
|
}
|
|
176
176
|
case "deleteVersion": {
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
o.deleteVersion(t, s.versionIdentifier.name, s.versionIdentifier.guid).then(async (n) => {
|
|
178
|
+
n && this.arcgisVersioningStateChanged.emit({
|
|
179
179
|
type: "version-deleted",
|
|
180
180
|
versionIdentifier: s.versionIdentifier,
|
|
181
|
-
versioningState:
|
|
181
|
+
versioningState: o.versioningStateLookup.get(t)
|
|
182
182
|
}), await this._refreshVersionList(t);
|
|
183
183
|
});
|
|
184
184
|
break;
|
|
185
185
|
}
|
|
186
186
|
case "editVersion": {
|
|
187
|
-
const
|
|
188
|
-
l.value?.appendChild(
|
|
187
|
+
const n = this._createVersionPropertiesFlowItem(t, s);
|
|
188
|
+
l.value?.appendChild(n), this.versionList && (this.versionList.selected = !1);
|
|
189
189
|
break;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -193,16 +193,16 @@ class D extends F {
|
|
|
193
193
|
async _refreshVersionList(e) {
|
|
194
194
|
const { flowElement: { value: i }, versionList: t, viewModel: s } = this;
|
|
195
195
|
if (i) {
|
|
196
|
-
const
|
|
197
|
-
for (const
|
|
198
|
-
|
|
199
|
-
...
|
|
200
|
-
versionInfos:
|
|
196
|
+
const o = await s.getVersionInfos(e), l = i.getElementsByTagName("arcgis-version-management-service-item");
|
|
197
|
+
for (const n of l)
|
|
198
|
+
n.serviceItemElementProps.serviceUrl === e && (n.serviceItemElementProps = {
|
|
199
|
+
...n.serviceItemElementProps,
|
|
200
|
+
versionInfos: o
|
|
201
201
|
});
|
|
202
202
|
t && (t.versionListElementProps = {
|
|
203
203
|
...t.versionListElementProps,
|
|
204
204
|
currentVersionIdentifier: s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,
|
|
205
|
-
versionInfos:
|
|
205
|
+
versionInfos: o
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
}
|
|
@@ -217,7 +217,7 @@ class D extends F {
|
|
|
217
217
|
//#endregion
|
|
218
218
|
//#region Rendering
|
|
219
219
|
render() {
|
|
220
|
-
const { allowEditingDisabled: e, closable: i, flowElement: { value: t }, initialVersionInfos: s, _isInitialVersionInvalid:
|
|
220
|
+
const { allowEditingDisabled: e, closable: i, flowElement: { value: t }, initialVersionInfos: s, _isInitialVersionInvalid: o, label: l, messages: n, mode: r, pageSize: d, versionList: m, viewModel: a, viewModel: { loadError: g, state: v } } = this, I = Array.from(a.serviceNameLookup, ([c, f]) => ({ url: c, name: f })), V = v !== "disabled" ? I.map((c) => {
|
|
221
221
|
const f = {
|
|
222
222
|
allowEditing: !e,
|
|
223
223
|
closable: i,
|
|
@@ -228,18 +228,18 @@ class D extends F {
|
|
|
228
228
|
hasAdvEditingUte: a.advancedEditingUserTypeExtensionLookup.get(c.url),
|
|
229
229
|
heading: l,
|
|
230
230
|
initialVersionInfos: s,
|
|
231
|
-
isInitialVersionInvalid:
|
|
231
|
+
isInitialVersionInvalid: o,
|
|
232
232
|
isVersionAdministrator: a.versionAdministratorLookup.get(c.url),
|
|
233
233
|
isVersioningApiAvailable: (a.serverVersionLookup.get(c.url) ?? 0) >= 11.2,
|
|
234
234
|
mode: r,
|
|
235
235
|
pageSize: d,
|
|
236
236
|
serviceName: c.name,
|
|
237
|
-
state:
|
|
237
|
+
state: v,
|
|
238
238
|
serviceUrl: c.url,
|
|
239
|
-
strings:
|
|
239
|
+
strings: n,
|
|
240
240
|
versionInfos: a.versioningStateLookup.get(c.url)?.versionInfos ?? []
|
|
241
241
|
};
|
|
242
|
-
return
|
|
242
|
+
return h`<arcgis-version-management-service-item .serviceItemElementProps=${f} @arcgisGetVersions=${async (p) => {
|
|
243
243
|
await this._refreshVersionList(p.detail.serviceUrl);
|
|
244
244
|
}} @arcgisFlowItemBack=${() => {
|
|
245
245
|
t && (this._removeVersionListFlowItem(t), this.versionList = void 0);
|
|
@@ -248,10 +248,10 @@ class D extends F {
|
|
|
248
248
|
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(p) => {
|
|
249
249
|
this.versionList = p.detail;
|
|
250
250
|
}}></arcgis-version-management-service-item>`;
|
|
251
|
-
}) : void 0, E =
|
|
252
|
-
return
|
|
251
|
+
}) : void 0, E = v === "disabled" && g != null ? h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(g)}</div></calcite-notice>` : void 0, L = this._showInvalidFeatureServiceNotice ? h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${() => this._showInvalidFeatureServiceNotice = !1}><div slot=title>${n.headers.invalidInitialFeatureService}</div><div slot=message>${n.loadErrors.invalidInitialFeatureService}</div></calcite-notice>` : void 0;
|
|
252
|
+
return h`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${C(this.mode === "dialog" ? "" : "component-container-flow")} ${k(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${l ?? void 0} @calciteFlowItemClose=${() => {
|
|
253
253
|
this._handleFlowItemClose();
|
|
254
|
-
}} .selected=${!
|
|
254
|
+
}} .selected=${!m}>${L}<calcite-panel class="service-items-panel" .loading=${v === "loading" || v === "executing"}>${V}${E}</calcite-panel></calcite-flow-item></calcite-flow></div>`;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
S("arcgis-version-management", D);
|