@arcgis/map-components 4.34.0-next.4 → 4.34.0-next.40
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/2G25KKQ7.js +4 -0
- package/dist/cdn/{7LVS3WYQ.js → 2MYUN5AX.js} +1 -1
- package/dist/cdn/2O5U5EPE.js +4 -0
- package/dist/cdn/2RYNVEQ6.js +4 -0
- package/dist/cdn/2Z3HJLSO.js +4 -0
- package/dist/cdn/{Z56QLV5B.js → 344IW43G.js} +2 -2
- package/dist/cdn/36556HIR.js +4 -0
- package/dist/cdn/3BO6QCBL.js +4 -0
- package/dist/cdn/3IZLGMBU.js +4 -0
- package/dist/cdn/{23HVPN5Y.js → 3LQ353K4.js} +1 -1
- package/dist/cdn/3PMUZCO7.js +4 -0
- package/dist/cdn/{SBFO6UJ3.js → 3SQPHMUO.js} +2 -2
- package/dist/cdn/3TDFVW75.js +4 -0
- package/dist/cdn/3VAME4X3.js +4 -0
- package/dist/cdn/3WZLKNMR.js +4 -0
- package/dist/cdn/{6Q2QPWAU.js → 3Z3S3Q4P.js} +2 -2
- package/dist/cdn/4A2U6566.js +4 -0
- package/dist/cdn/4CB4DKZ3.js +4 -0
- package/dist/cdn/{ZNYIHOBS.js → 4HCZAXMY.js} +2 -2
- package/dist/cdn/4I4HUQYS.js +4 -0
- package/dist/cdn/4PSCIFK7.js +4 -0
- package/dist/cdn/4R2ASZBP.js +4 -0
- package/dist/cdn/4XEKGZTO.js +4 -0
- package/dist/cdn/54PQW27H.js +4 -0
- package/dist/cdn/{LEPO6MP3.js → 57OYIV44.js} +2 -2
- package/dist/cdn/5JISY5GY.js +4 -0
- package/dist/cdn/5KIEBLWJ.js +4 -0
- package/dist/cdn/5Q3BHGUF.js +4 -0
- package/dist/cdn/5SNFGRK7.js +4 -0
- package/dist/cdn/5WWYWINX.js +4 -0
- package/dist/cdn/5YJAZAWE.js +4 -0
- package/dist/cdn/63OTOECK.js +4 -0
- package/dist/cdn/6A77EQJ7.js +4 -0
- package/dist/cdn/{3L3QQBXT.js → 6MKSXDOB.js} +2 -2
- package/dist/cdn/6OVPKQBU.js +4 -0
- package/dist/cdn/6SDJS76D.js +4 -0
- package/dist/cdn/7KYRHL7B.js +4 -0
- package/dist/cdn/7SXTOJRV.js +4 -0
- package/dist/cdn/7U23MXDK.js +4 -0
- package/dist/cdn/A3AWOIW2.js +4 -0
- package/dist/cdn/AIOIF72H.js +4 -0
- package/dist/cdn/AVVDUMMF.js +4 -0
- package/dist/cdn/BDGRTNF4.js +4 -0
- package/dist/cdn/BGKCJWBL.js +4 -0
- package/dist/cdn/BKJQO6FJ.js +4 -0
- package/dist/cdn/BNINW57F.js +4 -0
- package/dist/cdn/BU6CK36L.js +4 -0
- package/dist/cdn/BXH3MFUD.js +4 -0
- package/dist/cdn/C5AP2BUA.js +4 -0
- package/dist/cdn/CBC3T45B.js +4 -0
- package/dist/cdn/CGKOBQRW.js +4 -0
- package/dist/cdn/{W47LCTBG.js → CGOS6G3P.js} +2 -2
- package/dist/cdn/{VCDM3JXH.js → CISHKQZT.js} +1 -1
- package/dist/cdn/CJXQKVG2.js +4 -0
- package/dist/cdn/CTIPMOE4.js +6 -0
- package/dist/cdn/CU4YQ46R.js +4 -0
- package/dist/cdn/{4HGMI6ZO.js → CULGUUN2.js} +2 -2
- package/dist/cdn/D4NG5TI7.js +4 -0
- package/dist/cdn/DDMA7MKS.js +4 -0
- package/dist/cdn/DDW6GQVZ.js +4 -0
- package/dist/cdn/DIP2K36D.js +4 -0
- package/dist/cdn/DMHT5UNA.js +4 -0
- package/dist/cdn/DNDHT2N5.js +4 -0
- package/dist/cdn/DNZSOKT7.js +4 -0
- package/dist/cdn/DWKT6TI4.js +4 -0
- package/dist/cdn/E3CGCG5A.js +4 -0
- package/dist/cdn/EBJTGGCQ.js +4 -0
- package/dist/cdn/EBNMY3CX.js +4 -0
- package/dist/cdn/ED3SCFNT.js +4 -0
- package/dist/cdn/EGM2QPQ5.js +4 -0
- package/dist/cdn/EJHMB3QF.js +4 -0
- package/dist/cdn/{AIBT7DAE.js → EN7FL4PC.js} +2 -2
- package/dist/cdn/ESKA4SWS.js +4 -0
- package/dist/cdn/F34EVHXG.js +4 -0
- package/dist/cdn/FF6NDWSM.js +4 -0
- package/dist/cdn/FVT323HL.js +4 -0
- package/dist/cdn/{TD2GCLNS.js → G4XKAX2D.js} +1 -1
- package/dist/cdn/G7JMOGSQ.js +4 -0
- package/dist/cdn/GIR3LJ47.js +4 -0
- package/dist/cdn/GIX2LZAQ.js +4 -0
- package/dist/cdn/GLBLJGC6.js +4 -0
- package/dist/cdn/GPNU4ZZ4.js +4 -0
- package/dist/cdn/GS4CDQTC.js +4 -0
- package/dist/cdn/GUCP6NF2.js +4 -0
- package/dist/cdn/HA3XT7EN.js +4 -0
- package/dist/cdn/HMEBVYIV.js +4 -0
- package/dist/cdn/HYD3MOJY.js +4 -0
- package/dist/cdn/IAZ2PJDO.js +4 -0
- package/dist/cdn/{HKQYPN7I.js → IKTZGVCY.js} +1 -1
- package/dist/cdn/IM3B6OHN.js +4 -0
- package/dist/cdn/INC5XWFI.js +4 -0
- package/dist/cdn/IPDEUPJR.js +4 -0
- package/dist/cdn/IS42Y5CF.js +4 -0
- package/dist/cdn/IUGC3R52.js +4 -0
- package/dist/cdn/IZQKCS7I.js +4 -0
- package/dist/cdn/J4JQSW22.js +4 -0
- package/dist/cdn/JAHZHASL.js +4 -0
- package/dist/cdn/JK3X3736.js +4 -0
- package/dist/cdn/JX7CDVXU.js +4 -0
- package/dist/cdn/JXTR7GDI.js +4 -0
- package/dist/cdn/K2LNOCQB.js +4 -0
- package/dist/cdn/KRMGV5X7.js +4 -0
- package/dist/cdn/{QQSFIVFC.js → KS2XVOMO.js} +2 -2
- package/dist/cdn/KTZKO4YL.js +4 -0
- package/dist/cdn/KV7DNFPR.js +4 -0
- package/dist/cdn/LM7WD37H.js +4 -0
- package/dist/cdn/LN3G5UWC.js +4 -0
- package/dist/cdn/LNN4EY3E.js +4 -0
- package/dist/cdn/LNPY5TPT.js +4 -0
- package/dist/cdn/LON4LZUN.js +4 -0
- package/dist/cdn/LRXB52MM.js +4 -0
- package/dist/cdn/LV5CPKTQ.js +4 -0
- package/dist/cdn/M2J2LVPP.js +4 -0
- package/dist/cdn/M3JLT2RZ.js +4 -0
- package/dist/cdn/M7O3KYOD.js +4 -0
- package/dist/cdn/MBDDLD6V.js +4 -0
- package/dist/cdn/MKAEHASH.js +4 -0
- package/dist/cdn/MZIM2HC7.js +4 -0
- package/dist/cdn/N7KOO3W5.js +4 -0
- package/dist/cdn/NIC7Q7DB.js +4 -0
- package/dist/cdn/NNQOZZM4.js +4 -0
- package/dist/cdn/NOMDCCLG.js +4 -0
- package/dist/cdn/O5CXUD6M.js +4 -0
- package/dist/cdn/OCYEDVBE.js +4 -0
- package/dist/cdn/OVYOPSDQ.js +4 -0
- package/dist/cdn/P3GTRUGG.js +4 -0
- package/dist/cdn/Q7HUVMW3.js +4 -0
- package/dist/cdn/QCF3FZ7O.js +4 -0
- package/dist/cdn/QETNFXJP.js +4 -0
- package/dist/cdn/QGYBZCXI.js +5 -0
- package/dist/cdn/QMKOIVFS.js +4 -0
- package/dist/cdn/QNRVGA6I.js +4 -0
- package/dist/cdn/QPBXRYCD.js +4 -0
- package/dist/cdn/QQBACVKP.js +4 -0
- package/dist/cdn/QQPG4QWI.js +4 -0
- package/dist/cdn/{PAOQYXUG.js → QUS6DTO6.js} +1 -1
- package/dist/cdn/QWFTHY7X.js +4 -0
- package/dist/cdn/QXNRGC25.js +4 -0
- package/dist/cdn/QY2A6R2I.js +4 -0
- package/dist/cdn/R5TM4FKT.js +4 -0
- package/dist/cdn/SBSRH3SM.js +4 -0
- package/dist/cdn/{6MFND45L.js → SN4KGEJN.js} +2 -2
- package/dist/cdn/T74Z2NZM.js +4 -0
- package/dist/cdn/T7QNVRSW.js +4 -0
- package/dist/cdn/TISHWYSQ.js +4 -0
- package/dist/cdn/TKUIR56W.js +4 -0
- package/dist/cdn/TUNZY5WR.js +4 -0
- package/dist/cdn/UBYIYSHB.js +4 -0
- package/dist/cdn/UNHYJ5FM.js +4 -0
- package/dist/cdn/VA2KKANL.js +4 -0
- package/dist/cdn/VANPMF74.js +4 -0
- package/dist/cdn/VC3RX4AG.js +4 -0
- package/dist/cdn/VEEBJSTE.js +4 -0
- package/dist/cdn/VN7KZF6S.js +4 -0
- package/dist/cdn/VQMWXEBT.js +4 -0
- package/dist/cdn/VRDBT24P.js +4 -0
- package/dist/cdn/VROBMM6D.js +4 -0
- package/dist/cdn/W3KCHPCM.js +4 -0
- package/dist/cdn/W3LY457I.js +4 -0
- package/dist/cdn/W7DVWJ7T.js +4 -0
- package/dist/cdn/W7NTOZTL.js +4 -0
- package/dist/cdn/W7SVVLPE.js +4 -0
- package/dist/cdn/WEYUU2IF.js +4 -0
- package/dist/cdn/WIKCAY7H.js +4 -0
- package/dist/cdn/WL5RVZFW.js +4 -0
- package/dist/cdn/WNF5CJNE.js +4 -0
- package/dist/cdn/X52Z3HIU.js +4 -0
- package/dist/cdn/XHRMCWZT.js +4 -0
- package/dist/cdn/XIGWI45G.js +4 -0
- package/dist/cdn/XJKRZLFM.js +4 -0
- package/dist/cdn/XKILNUQN.js +4 -0
- package/dist/cdn/XVYLIU52.js +4 -0
- package/dist/cdn/Y7GSEAQU.js +4 -0
- package/dist/cdn/YDYVVWBO.js +4 -0
- package/dist/cdn/YQ2G76WP.js +4 -0
- package/dist/cdn/YTQWWLJJ.js +4 -0
- package/dist/cdn/YXRO4UNU.js +4 -0
- package/dist/cdn/YZYFUMRA.js +4 -0
- package/dist/cdn/Z4U6KGUV.js +4 -0
- package/dist/cdn/{SUW77QCI.js → Z7OWBB5L.js} +2 -2
- package/dist/cdn/{VEN3DMN6.js → ZGBWJOFH.js} +1 -1
- package/dist/cdn/ZMBYBGSF.js +4 -0
- package/dist/cdn/ZWQY4GPL.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 +4 -4
- package/dist/chunks/async-utils.js +3 -3
- 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 +1 -1
- package/dist/chunks/heading.js +13 -13
- 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 +7 -2
- 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 +6 -1
- 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 +10 -4
- 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 +16 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +31 -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 +43 -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-expression/customElement.d.ts +19 -0
- package/dist/components/arcgis-feature-expression/customElement.js +242 -0
- package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
- package/dist/components/arcgis-feature-expression/index.js +5 -0
- package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
- package/dist/components/arcgis-feature-fields/customElement.js +143 -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 +7 -2
- 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 +38 -0
- package/dist/components/arcgis-feature-media/customElement.js +577 -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 +21 -2
- package/dist/components/arcgis-fullscreen/customElement.js +33 -19
- 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 +39 -16
- 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 +20 -10
- package/dist/components/arcgis-link-chart/customElement.js +19 -8
- 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/LocateViewModel.d.ts +4 -5
- package/dist/components/arcgis-locate/customElement.d.ts +17 -5
- package/dist/components/arcgis-locate/customElement.js +45 -45
- 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 +144 -81
- package/dist/components/arcgis-scene/customElement.js +27 -16
- package/dist/components/arcgis-search/customElement.d.ts +52 -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/SliceViewModel.d.ts +0 -1
- package/dist/components/arcgis-slice/customElement.d.ts +77 -18
- package/dist/components/arcgis-slice/customElement.js +33 -41
- 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 +28 -2
- package/dist/components/arcgis-swipe/customElement.js +39 -39
- 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 +6 -2
- package/dist/components/arcgis-unit-select/customElement.js +15 -8
- 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 +27 -10
- package/dist/components/arcgis-video/customElement.js +15 -24
- package/dist/components/arcgis-video-player/customElement.d.ts +23 -5
- package/dist/components/arcgis-video-player/customElement.js +36 -29
- 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/WeatherViewModel.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +52 -3
- package/dist/components/arcgis-weather/customElement.js +3 -3
- 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 +1544 -516
- package/dist/docs/docs.json +1469 -737
- package/dist/docs/vscode.html-custom-data.json +208 -108
- package/dist/docs/web-types.json +472 -239
- package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -17
- package/dist/support/heading.d.ts +2 -1
- package/dist/types/lumina.d.ts +19 -13
- package/dist/types/preact.d.ts +19 -13
- package/dist/types/react.d.ts +19 -13
- package/dist/types/stencil.d.ts +19 -13
- 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/24QCAR23.js +0 -4
- package/dist/cdn/2F3VHU6V.js +0 -4
- package/dist/cdn/2ZMNNXHS.js +0 -4
- package/dist/cdn/3PFMM57M.js +0 -4
- package/dist/cdn/4F36IAZ7.js +0 -4
- package/dist/cdn/4NG4JOQP.js +0 -4
- package/dist/cdn/55FCKHUW.js +0 -4
- package/dist/cdn/5DWV4QYU.js +0 -4
- package/dist/cdn/637V7MBM.js +0 -4
- package/dist/cdn/6LL6GANH.js +0 -4
- package/dist/cdn/6MJTJDVW.js +0 -4
- package/dist/cdn/6RDZEEQ3.js +0 -4
- package/dist/cdn/6ROCC4GF.js +0 -4
- package/dist/cdn/6RSZZWDZ.js +0 -4
- package/dist/cdn/7GYK2I76.js +0 -4
- package/dist/cdn/7IET7A5H.js +0 -4
- package/dist/cdn/7ODPBN7V.js +0 -4
- package/dist/cdn/7QQAGBLE.js +0 -4
- package/dist/cdn/7ZAX32TI.js +0 -4
- package/dist/cdn/A4ULRWZG.js +0 -4
- package/dist/cdn/AC5U3NYZ.js +0 -4
- package/dist/cdn/ANZO55OT.js +0 -4
- package/dist/cdn/BQ4U6UMN.js +0 -4
- package/dist/cdn/BUCVAAEN.js +0 -4
- package/dist/cdn/CMBNVRX4.js +0 -4
- package/dist/cdn/D6MGY4ZG.js +0 -4
- package/dist/cdn/DOURUCK4.js +0 -4
- package/dist/cdn/DUCTZYWY.js +0 -4
- package/dist/cdn/EAIBQGHI.js +0 -4
- package/dist/cdn/EFGCTCBU.js +0 -4
- package/dist/cdn/F7S6WPMH.js +0 -4
- package/dist/cdn/FJLEVPNO.js +0 -4
- package/dist/cdn/FKAPKNBK.js +0 -4
- package/dist/cdn/FMUBO2SM.js +0 -4
- package/dist/cdn/FP272N3B.js +0 -4
- package/dist/cdn/FR5GZWQ6.js +0 -4
- package/dist/cdn/FTMB44PL.js +0 -4
- package/dist/cdn/FUVKUX3F.js +0 -4
- package/dist/cdn/G4CXV4NF.js +0 -4
- package/dist/cdn/GFL63DN7.js +0 -4
- package/dist/cdn/GL7SUTZC.js +0 -4
- package/dist/cdn/GLFXDT4O.js +0 -4
- package/dist/cdn/GR4O6BEU.js +0 -4
- package/dist/cdn/GUHP2PZF.js +0 -4
- package/dist/cdn/GZPGD27B.js +0 -6
- package/dist/cdn/HUV7GHIN.js +0 -4
- package/dist/cdn/IAXNFEPP.js +0 -4
- package/dist/cdn/IGWPHMX5.js +0 -4
- package/dist/cdn/ILGO5YVA.js +0 -4
- package/dist/cdn/IZNGYRHV.js +0 -4
- package/dist/cdn/J7QN3PZF.js +0 -4
- package/dist/cdn/JVVOVQFU.js +0 -4
- package/dist/cdn/KGHAGZY4.js +0 -4
- package/dist/cdn/KO6DPIWR.js +0 -4
- package/dist/cdn/L4YRXMVR.js +0 -4
- package/dist/cdn/L7ML76QM.js +0 -4
- package/dist/cdn/L7PXJ66C.js +0 -4
- package/dist/cdn/LHISUI6W.js +0 -4
- package/dist/cdn/LHKNQO6E.js +0 -4
- package/dist/cdn/LQ2SBKQY.js +0 -4
- package/dist/cdn/LVUAE6PC.js +0 -4
- package/dist/cdn/M4TXLEZN.js +0 -4
- package/dist/cdn/MF2DQEZU.js +0 -4
- package/dist/cdn/NCM6TOGJ.js +0 -4
- package/dist/cdn/NKEZIJO5.js +0 -4
- package/dist/cdn/NRVD3YPY.js +0 -4
- package/dist/cdn/OJUNMDUD.js +0 -4
- package/dist/cdn/OMDERSQZ.js +0 -4
- package/dist/cdn/PTTXNCL2.js +0 -4
- package/dist/cdn/PZKQVM4A.js +0 -4
- package/dist/cdn/Q5C26WCX.js +0 -4
- package/dist/cdn/Q77K3LVO.js +0 -4
- package/dist/cdn/QF4MHKQN.js +0 -4
- package/dist/cdn/QFFUI3FI.js +0 -4
- package/dist/cdn/QKFIJZ6Y.js +0 -4
- package/dist/cdn/QMATOY57.js +0 -4
- package/dist/cdn/QNDB6SQ6.js +0 -4
- package/dist/cdn/QNUXQPPT.js +0 -4
- package/dist/cdn/QYOYVCWC.js +0 -4
- package/dist/cdn/R5VIFHLX.js +0 -4
- package/dist/cdn/RBYK77JC.js +0 -4
- package/dist/cdn/SBVPQITU.js +0 -4
- package/dist/cdn/SOUISCIY.js +0 -4
- package/dist/cdn/SR67U4DI.js +0 -4
- package/dist/cdn/TMP2IYQ2.js +0 -4
- package/dist/cdn/TXQ2JI7T.js +0 -4
- package/dist/cdn/UC5VZITI.js +0 -4
- package/dist/cdn/UFNFAWDA.js +0 -4
- package/dist/cdn/UMZJE6UL.js +0 -4
- package/dist/cdn/VDTUN3EA.js +0 -4
- package/dist/cdn/VI4PPH6M.js +0 -4
- package/dist/cdn/VNUITTUC.js +0 -4
- package/dist/cdn/VRCJUC36.js +0 -4
- package/dist/cdn/WF5UHW5E.js +0 -4
- package/dist/cdn/WTF7JDXK.js +0 -4
- package/dist/cdn/Y7WJXUDZ.js +0 -4
- package/dist/cdn/YDINXYCI.js +0 -4
- package/dist/cdn/YKZKDYG3.js +0 -4
- package/dist/cdn/YPWZFYOY.js +0 -4
- package/dist/cdn/YU37LD7Q.js +0 -4
|
@@ -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.40 */
|
|
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.40 */
|
|
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.40 */
|
|
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.40 */
|
|
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;
|