@arcgis/map-components 4.32.15 → 4.32.16
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/{T3KRHNCT.js → 27EDOUK2.js} +2 -2
- package/dist/arcgis-map-components/{2WUEN4GG.js.LEGAL.txt → 27EDOUK2.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{H53H46J4.js → 2K5YZIH7.js} +2 -2
- package/dist/arcgis-map-components/{2HQ3ND3B.js.LEGAL.txt → 2K5YZIH7.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{TMLGBBKY.js → 3ABB4MO7.js} +2 -2
- package/dist/arcgis-map-components/{32NJBHWG.js.LEGAL.txt → 3ABB4MO7.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{EVQ373SK.js → 5DAE7L3V.js} +2 -2
- package/dist/arcgis-map-components/{2PJ4T6JJ.js.LEGAL.txt → 5DAE7L3V.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{C3IGJLLH.js → 5I42ZOKM.js} +1 -1
- package/dist/arcgis-map-components/{C3IGJLLH.js.LEGAL.txt → 5I42ZOKM.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{5LGXMO4N.js → 5VZGVKFT.js} +2 -2
- package/dist/arcgis-map-components/5VZGVKFT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TMF4CXLQ.js → 6GOFPBWS.js} +2 -2
- package/dist/arcgis-map-components/6GOFPBWS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JOKZPZMX.js → 6L3SKPNU.js} +2 -2
- package/dist/arcgis-map-components/6L3SKPNU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JH76UJVD.js → 73KZXUAM.js} +2 -2
- package/dist/arcgis-map-components/73KZXUAM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{I6LLPNBW.js → 7WZPXSE2.js} +2 -2
- package/dist/arcgis-map-components/7WZPXSE2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ZD6GVHHA.js → A7OKPVXO.js} +2 -2
- package/dist/arcgis-map-components/A7OKPVXO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XI4QQFSQ.js → AEQTSW6J.js} +2 -2
- package/dist/arcgis-map-components/AEQTSW6J.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{M2UTJB4M.js → B5ORECN2.js} +2 -2
- package/dist/arcgis-map-components/B5ORECN2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TGHAQXM4.js → BP5QQ4BK.js} +2 -2
- package/dist/arcgis-map-components/BP5QQ4BK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DTV4JKGB.js → BTD2V2O5.js} +2 -2
- package/dist/arcgis-map-components/BTD2V2O5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{B26CNUPM.js → BYWMEHAD.js} +1 -1
- package/dist/arcgis-map-components/BYWMEHAD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/CGCWTJRO.js +4 -0
- package/dist/arcgis-map-components/CGCWTJRO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TBPGUB2D.js → DCO5CXJ6.js} +2 -2
- package/dist/arcgis-map-components/DCO5CXJ6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{32NJBHWG.js → EJ4Z7SK7.js} +2 -2
- package/dist/arcgis-map-components/EJ4Z7SK7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DFEJ26C2.js → EOWRKCAL.js} +2 -2
- package/dist/arcgis-map-components/EOWRKCAL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JTAEI3B7.js → EZONSFYI.js} +2 -2
- package/dist/arcgis-map-components/EZONSFYI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OVXZNP64.js → F4D7RDDJ.js} +2 -2
- package/dist/arcgis-map-components/F4D7RDDJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{E4GZ5P3V.js → FV2JQRHO.js} +1 -1
- package/dist/arcgis-map-components/FV2JQRHO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YPMBDTKC.js → G4QPXSJJ.js} +2 -2
- package/dist/arcgis-map-components/G4QPXSJJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2HQ3ND3B.js → GJJAEIYJ.js} +2 -2
- package/dist/arcgis-map-components/GJJAEIYJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2WUEN4GG.js → GQP3RP4G.js} +2 -2
- package/dist/arcgis-map-components/GQP3RP4G.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7J35NOEZ.js → GY6UTGJC.js} +2 -2
- package/dist/arcgis-map-components/GY6UTGJC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OAMBN6PT.js → GYCGFNIG.js} +2 -2
- package/dist/arcgis-map-components/GYCGFNIG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QV6HW5LK.js → HA7BAMHN.js} +2 -2
- package/dist/arcgis-map-components/HA7BAMHN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GZQQ5DRX.js → HBWLMGYK.js} +2 -2
- package/dist/arcgis-map-components/HBWLMGYK.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MPMFLNLU.js → HN7UAOZV.js} +2 -2
- package/dist/arcgis-map-components/{MPMFLNLU.js.LEGAL.txt → HN7UAOZV.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/HWJOF4HT.js +4 -0
- package/dist/arcgis-map-components/HWJOF4HT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HB2JWJSB.js → I77AIDRV.js} +2 -2
- package/dist/arcgis-map-components/I77AIDRV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QGAVFBXU.js → J4RJRCVV.js} +2 -2
- package/dist/arcgis-map-components/J4RJRCVV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{U73H7YEY.js → J5JNXA6G.js} +2 -2
- package/dist/arcgis-map-components/J5JNXA6G.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MXWIDN3V.js → J5WXQENR.js} +2 -2
- package/dist/arcgis-map-components/J5WXQENR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{L6NHQTWK.js → JHW2BMOD.js} +2 -2
- package/dist/arcgis-map-components/JHW2BMOD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{Q33RJGI3.js → KMXSADIA.js} +2 -2
- package/dist/arcgis-map-components/KMXSADIA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YVB5ZW5J.js → KWBE7JGI.js} +2 -2
- package/dist/arcgis-map-components/KWBE7JGI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{L4HNUE7V.js → KYBHKZ6N.js} +2 -2
- package/dist/arcgis-map-components/KYBHKZ6N.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{VNPY4W3N.js → KYC7MUV6.js} +2 -2
- package/dist/arcgis-map-components/KYC7MUV6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{NGKDBY6Z.js → LZX6NXDA.js} +2 -2
- package/dist/arcgis-map-components/LZX6NXDA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XTGHDXCM.js → M6VERLFL.js} +2 -2
- package/dist/arcgis-map-components/M6VERLFL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QKX57BVG.js → MCL2JTSE.js} +2 -2
- package/dist/arcgis-map-components/MCL2JTSE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IZS2OGWB.js → MFDGKP5H.js} +2 -2
- package/dist/arcgis-map-components/MFDGKP5H.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{EOILWSPM.js → MPGJQVCV.js} +2 -2
- package/dist/arcgis-map-components/MPGJQVCV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{O5XFNJ6B.js → NEDWNSKV.js} +2 -2
- package/dist/arcgis-map-components/NEDWNSKV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PX3POOM2.js → NEMT4276.js} +2 -2
- package/dist/arcgis-map-components/NEMT4276.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{A4UUFQBX.js → NJENNRTY.js} +2 -2
- package/dist/arcgis-map-components/NJENNRTY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{K36SSCPC.js → OHVPVV3U.js} +2 -2
- package/dist/arcgis-map-components/OHVPVV3U.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{UQRXRJA7.js → PUBNSG7Y.js} +2 -2
- package/dist/arcgis-map-components/PUBNSG7Y.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SARBBUMR.js → PWOIQZEB.js} +2 -2
- package/dist/arcgis-map-components/Q75LZAIG.js +4 -0
- package/dist/arcgis-map-components/Q75LZAIG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{77UM4EEG.js → RNIEUKZB.js} +2 -2
- package/dist/arcgis-map-components/RNIEUKZB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{5VWZ725C.js → RSQFZSDA.js} +2 -2
- package/dist/arcgis-map-components/RSQFZSDA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{M3KPL4D5.js → RSYGPODU.js} +1 -1
- package/dist/arcgis-map-components/RSYGPODU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WWUEUXH5.js → S46M64RW.js} +2 -2
- package/dist/arcgis-map-components/S46M64RW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ZLS2K36B.js → S6AWO2FP.js} +2 -2
- package/dist/arcgis-map-components/S6AWO2FP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{RTAPBYJH.js → SIV3I7UT.js} +2 -2
- package/dist/arcgis-map-components/SIV3I7UT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{Y34T3LWH.js → SPAB27VA.js} +2 -2
- package/dist/arcgis-map-components/SPAB27VA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/SUJPAEIM.js +4 -0
- package/dist/arcgis-map-components/SUJPAEIM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TPHXVATJ.js → THFJ3ISP.js} +2 -2
- package/dist/arcgis-map-components/THFJ3ISP.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{DEGI5BKA.js → TXK2NNI2.js} +2 -2
- package/dist/arcgis-map-components/TXK2NNI2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4PLBH4DU.js → UTXUKFQJ.js} +2 -2
- package/dist/arcgis-map-components/UTXUKFQJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/VJ5THEIQ.js +4 -0
- package/dist/arcgis-map-components/VJ5THEIQ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XAWASA2M.js → VO2D3VD6.js} +2 -2
- package/dist/arcgis-map-components/VO2D3VD6.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{Z6LYN4J6.js → VOGK2QIF.js} +2 -2
- package/dist/arcgis-map-components/VOGK2QIF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2PJ4T6JJ.js → WESZTYAW.js} +2 -2
- package/dist/arcgis-map-components/WESZTYAW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{AUIAHW4R.js → XDB5CWXX.js} +2 -2
- package/dist/arcgis-map-components/XDB5CWXX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{G6EQEH3T.js → XPLGYTVY.js} +2 -2
- package/dist/arcgis-map-components/XPLGYTVY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{S534WD3A.js → Y7SVORFU.js} +2 -2
- package/dist/arcgis-map-components/{JFCNP44A.js → YFVT4CDU.js} +1 -1
- package/dist/arcgis-map-components/YFVT4CDU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{M33C22Q4.js → YOV4MKG3.js} +2 -2
- package/dist/arcgis-map-components/YOV4MKG3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{G6LFATTV.js → ZDN4AIZH.js} +2 -2
- package/dist/arcgis-map-components/ZDN4AIZH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{ACCZ3RHI.js → ZFGY4WUN.js} +2 -2
- package/dist/arcgis-map-components/ZFGY4WUN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{COUY7CFE.js → ZLD2TWYJ.js} +2 -2
- package/dist/arcgis-map-components/ZLD2TWYJ.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 +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -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.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +4 -6
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +0 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +18 -19
- 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 +18 -25
- 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-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
- package/dist/arcgis-map-components/37BIXJIX.js +0 -4
- package/dist/arcgis-map-components/37BIXJIX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4PLBH4DU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5LGXMO4N.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5VWZ725C.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/77UM4EEG.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7J35NOEZ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/A4UUFQBX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/A5V55BPS.js +0 -4
- package/dist/arcgis-map-components/A5V55BPS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ACCZ3RHI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AUIAHW4R.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/B26CNUPM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/COUY7CFE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DEGI5BKA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DFEJ26C2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DTV4JKGB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/E4GZ5P3V.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/EOILWSPM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/EVQ373SK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/G6EQEH3T.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/G6LFATTV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GZQQ5DRX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/H53H46J4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HB2JWJSB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/I6LLPNBW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IZS2OGWB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JFCNP44A.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JH76UJVD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JOKZPZMX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/JTAEI3B7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/K36SSCPC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/L4HNUE7V.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/L6NHQTWK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/M2UTJB4M.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/M33C22Q4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/M3KPL4D5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MXWIDN3V.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/NGKDBY6Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O5XFNJ6B.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OAMBN6PT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OVXZNP64.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PX3POOM2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Q33RJGI3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QBWQC2VN.js +0 -4
- package/dist/arcgis-map-components/QBWQC2VN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QGAVFBXU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QKX57BVG.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QV6HW5LK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RTAPBYJH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/T3KRHNCT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TBPGUB2D.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TGHAQXM4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TMF4CXLQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TMLGBBKY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TPHXVATJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/U73H7YEY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/UQRXRJA7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VNPY4W3N.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WG2WASQK.js +0 -4
- package/dist/arcgis-map-components/WG2WASQK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WWUEUXH5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XAWASA2M.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XI4QQFSQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XTGHDXCM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Y34T3LWH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YPMBDTKC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YVB5ZW5J.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YX63ZTQW.js +0 -4
- package/dist/arcgis-map-components/YX63ZTQW.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/Z6LYN4J6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZD6GVHHA.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZLS2K36B.js.LEGAL.txt +0 -3
- /package/dist/arcgis-map-components/{SARBBUMR.js.LEGAL.txt → PWOIQZEB.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{S534WD3A.js.LEGAL.txt → Y7SVORFU.js.LEGAL.txt} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as N } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as t } from "lit-html";
|
|
3
|
-
import { LitElement as
|
|
3
|
+
import { LitElement as k, createEvent as n, noShadowRoot as C, safeClassMap as G } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
6
|
-
v4.32.
|
|
7
|
-
class
|
|
6
|
+
v4.32.16 */
|
|
7
|
+
class F extends k {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._arcgisGetVersions = (e) => {
|
|
10
10
|
this.arcgisGetVersions.emit(e.detail);
|
|
@@ -18,7 +18,7 @@ class y extends C {
|
|
|
18
18
|
this.properties = { _showInvalidVersionNotice: 16, serviceItemElementProps: 0 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.shadowRootOptions =
|
|
21
|
+
this.shadowRootOptions = C;
|
|
22
22
|
}
|
|
23
23
|
// #endregion
|
|
24
24
|
// #region Lifecycle
|
|
@@ -37,12 +37,12 @@ class y extends C {
|
|
|
37
37
|
// #endregion
|
|
38
38
|
// #region Rendering
|
|
39
39
|
render() {
|
|
40
|
-
const { serviceItemElementProps: { allowEditing: e, closable: c, currentUser: l, executionError: h, currentVersionIdentifier: d, flowElement: V,
|
|
40
|
+
const { serviceItemElementProps: { allowEditing: e, closable: c, currentUser: l, executionError: h, currentVersionIdentifier: d, flowElement: V, heading: p, isInitialVersionInvalid: L, isVersionAdministrator: E, isVersioningApiAvailable: _, mode: b, pageSize: w, serviceName: o, serviceUrl: g, state: I, strings: r, versionInfos: a } } = this;
|
|
41
41
|
let { _versionList: i } = this;
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: g, versionInfo:
|
|
45
|
-
}}>${a ? a.map((s) => t`<calcite-combobox-item class=${
|
|
42
|
+
const u = L.get(g) && this._showInvalidVersionNotice ? t`<calcite-notice class="initial-version-invalid-block" closable kind=warning open scale=s width=full icon @calciteNoticeClose=${() => this._showInvalidVersionNotice = !1}><div slot=title>${r.headers.invalidInitialVersion}</div><div slot=message>${r.loadErrors.invalidInitialVersion}</div></calcite-notice>` : void 0, f = t`<calcite-combobox clear-disabled .label=${o} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${(s) => {
|
|
43
|
+
const $ = s.target, x = a.find((M) => M.versionIdentifier.guid === $.value);
|
|
44
|
+
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: g, versionInfo: x });
|
|
45
|
+
}}>${a ? a.map((s) => t`<calcite-combobox-item class=${G(b === "dialog" ? "" : "calcite-combobox-item")} .selected=${d.guid === s.versionIdentifier.guid && d.name === s.versionIdentifier.name} .textLabel=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
|
|
46
46
|
let m, v;
|
|
47
47
|
return e && (m = t`<calcite-action .id=${`actionManageVersions_${o}`} icon=list scale=s slot=control text @click=${async () => {
|
|
48
48
|
i = document.createElement("arcgis-version-management-version-list"), i.versionListElementProps = {
|
|
@@ -50,14 +50,13 @@ class y extends C {
|
|
|
50
50
|
currentUser: l,
|
|
51
51
|
currentVersionIdentifier: d,
|
|
52
52
|
executionError: h,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
pageSize: I,
|
|
53
|
+
heading: p,
|
|
54
|
+
isVersionAdministrator: E,
|
|
55
|
+
isVersioningApiAvailable: _,
|
|
56
|
+
pageSize: w,
|
|
58
57
|
serviceName: o,
|
|
59
58
|
serviceUrl: g,
|
|
60
|
-
state:
|
|
59
|
+
state: I,
|
|
61
60
|
strings: r,
|
|
62
61
|
versionInfos: a
|
|
63
62
|
}, i.selected = !0, i.showBackButton = !0, i.addEventListener("calciteFlowItemBack", (s) => {
|
|
@@ -65,10 +64,10 @@ class y extends C {
|
|
|
65
64
|
}), i.addEventListener("calciteFlowItemClose", () => {
|
|
66
65
|
this.arcgisFlowItemClose.emit();
|
|
67
66
|
}), this._addVersionListEventListeners(i), V?.append(i), this.arcgisCreateVersionList.emit(i);
|
|
68
|
-
}}></calcite-action>`, v = t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${o}`}><span>${r.headers.manageVersions}</span></calcite-tooltip>`), t`<calcite-block open .heading=${o}>${
|
|
67
|
+
}}></calcite-action>`, v = t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${o}`}><span>${r.headers.manageVersions}</span></calcite-tooltip>`), t`<calcite-block open .heading=${o}>${u}${f}${m}${v}</calcite-block>`;
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
|
-
|
|
70
|
+
N("arcgis-version-management-service-item", F);
|
|
72
71
|
export {
|
|
73
|
-
|
|
72
|
+
F as ArcgisVersionManagementServiceItem
|
|
74
73
|
};
|
|
@@ -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,26 +1,26 @@
|
|
|
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.32/esri/copyright.txt for details.
|
|
6
|
-
v4.32.
|
|
7
|
-
class
|
|
6
|
+
v4.32.16 */
|
|
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
|
// #endregion
|
|
18
18
|
// #region Rendering
|
|
19
19
|
render() {
|
|
20
|
-
const { versionItemElementProps: { currentUser: d, currentVersionIdentifier: m,
|
|
20
|
+
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=${() => {
|
|
21
21
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
22
|
-
}} slot=actions-start></calcite-action>`,
|
|
23
|
-
return c`<calcite-list-item .description=${a} .label=${V} .value=${r}>${
|
|
22
|
+
}} slot=actions-start></calcite-action>`, $ = i ? void 0 : c`<calcite-tooltip overlay-positioning=fixed .referenceElement=${l}><span>${n.switchToVersion}</span></calcite-tooltip>`;
|
|
23
|
+
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=${() => {
|
|
24
24
|
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: t, versionInfo: e });
|
|
25
25
|
}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o || i} icon=code-branch-edit @click=${() => {
|
|
26
26
|
this.arcgisManageVersion.emit({ actionType: "editVersion", serviceUrl: t, versionInfo: e });
|
|
@@ -29,7 +29,7 @@ class E extends b {
|
|
|
29
29
|
}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
u("arcgis-version-management-version-item", I);
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
I as ArcgisVersionManagementVersionItem
|
|
35
35
|
};
|
|
@@ -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
|
|
3
|
+
import { createRef as f, ref as m } from "lit-html/directives/ref.js";
|
|
4
4
|
import { LitElement as F, createEvent as a } from "@arcgis/lumina";
|
|
5
|
-
import { css as
|
|
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.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.
|
|
9
|
-
const
|
|
10
|
-
class
|
|
8
|
+
v4.32.16 */
|
|
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 F {
|
|
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.arcgisGetVersions = a(), this.arcgisManageVersion = a(), this.arcgisNewVersion = a();
|
|
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
|
//#endregion
|
|
21
21
|
//#region Lifecycle
|
|
@@ -55,8 +55,6 @@ class N extends F {
|
|
|
55
55
|
_getExecutionError(e) {
|
|
56
56
|
const { versionListElementProps: { strings: { executionErrors: t } } } = this;
|
|
57
57
|
switch (e) {
|
|
58
|
-
case "no-advanced-editing-user-type-extension":
|
|
59
|
-
return t.noAdvancedEditingUserTypeExtension;
|
|
60
58
|
case "no-feature-service-found":
|
|
61
59
|
return t.noFeatureServiceFound;
|
|
62
60
|
case "no-valid-enterprise-version":
|
|
@@ -73,31 +71,26 @@ class N extends F {
|
|
|
73
71
|
//#endregion
|
|
74
72
|
//#region Rendering
|
|
75
73
|
render() {
|
|
76
|
-
const { currentPage: e, selected: t, showBackButton: i, versionListElementProps: { closable:
|
|
74
|
+
const { currentPage: e, selected: t, showBackButton: i, versionListElementProps: { closable: p, currentUser: g, currentVersionIdentifier: l, executionError: c, heading: u, isVersionAdministrator: v, isVersioningApiAvailable: h, pageSize: o, serviceName: V, serviceUrl: r, state: I, 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=${() => {
|
|
77
75
|
this.arcgisGetVersions.emit({
|
|
78
76
|
serviceUrl: r
|
|
79
77
|
});
|
|
80
78
|
}} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;
|
|
81
79
|
this._paginatedVersionInfos = this._filteredVersionInfos.length > o ? this._paginate(this._filteredVersionInfos, o, e) : this._filteredVersionInfos;
|
|
82
|
-
const
|
|
83
|
-
currentUser:
|
|
80
|
+
const P = 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, b = this._paginate(this._paginatedVersionInfos, o, 1).map((L) => s`<arcgis-version-management-version-item .versionItemElementProps=${{
|
|
81
|
+
currentUser: g,
|
|
84
82
|
currentVersionIdentifier: l,
|
|
85
83
|
isCurrentVersionCard: !1,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
isVersioningApiAvailable: d,
|
|
84
|
+
isVersionAdministrator: v,
|
|
85
|
+
isVersioningApiAvailable: h,
|
|
89
86
|
serviceUrl: r,
|
|
90
87
|
strings: n,
|
|
91
|
-
versionInfo:
|
|
92
|
-
}}></arcgis-version-management-version-item>`), w = $.length > o ? s`<calcite-block heading .label=${
|
|
93
|
-
|
|
94
|
-
serviceUrl: r
|
|
95
|
-
});
|
|
96
|
-
}}></calcite-fab>` : void 0, L = 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;
|
|
97
|
-
return s`<calcite-flow-item .closable=${m} .description=${I} .heading=${v} .selected=${t} .showBackButton=${i} ${p(this._flowItemElement)}><calcite-panel .loading=${E === "executing"}>${_}<calcite-panel .heading=${this._filteredVersionInfos.length ? `${n.headers.manageVersions} (${this._filteredVersionInfos.length})` : n.headers.manageVersions}>${P}${w}${k}${C}</calcite-panel>${x}${L}</calcite-panel></calcite-flow-item>`;
|
|
88
|
+
versionInfo: L
|
|
89
|
+
}}></arcgis-version-management-version-item>`), w = $.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, x = s`<calcite-list .label=${n.headers.manageVersions}>${b}</calcite-list>`, k = h ? s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${() => this.arcgisNewVersion.emit({ serviceUrl: r })}></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;
|
|
90
|
+
return s`<calcite-flow-item .closable=${p} .description=${V} .heading=${u} .selected=${t} .showBackButton=${i} ${m(this._flowItemElement)}><calcite-panel .loading=${I === "executing"}>${_}<calcite-panel .heading=${this._filteredVersionInfos.length ? `${n.headers.manageVersions} (${this._filteredVersionInfos.length})` : n.headers.manageVersions}>${E}${w}${x}${k}</calcite-panel>${P}${C}</calcite-panel></calcite-flow-item>`;
|
|
98
91
|
}
|
|
99
92
|
}
|
|
100
|
-
|
|
93
|
+
B("arcgis-version-management-version-list", U);
|
|
101
94
|
export {
|
|
102
|
-
|
|
95
|
+
U as ArcgisVersionManagementVersionList
|
|
103
96
|
};
|
|
@@ -10,7 +10,6 @@ export declare class ArcgisVersionManagementVersionProperties extends LitElement
|
|
|
10
10
|
versionPropertiesElementProps: {
|
|
11
11
|
closable: boolean;
|
|
12
12
|
currentUser: string;
|
|
13
|
-
hasAdvEditingUte: boolean;
|
|
14
13
|
isVersionAdministrator: boolean;
|
|
15
14
|
serviceUrl: string;
|
|
16
15
|
state: string;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
1
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as l } from "lit-html";
|
|
3
3
|
import { createRef as u, ref as f } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as V, createEvent as
|
|
5
|
-
import { css as
|
|
4
|
+
import { LitElement as V, createEvent as d, noShadowRoot as $ } from "@arcgis/lumina";
|
|
5
|
+
import { css as I } 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.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.
|
|
9
|
-
const
|
|
10
|
-
class
|
|
8
|
+
v4.32.16 */
|
|
9
|
+
const x = I`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
10
|
+
class C extends V {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion =
|
|
12
|
+
super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion = d(), this.arcgisCreateVersion = d(), this.arcgisFlowItemBack = d(), this.arcgisFlowItemClose = d();
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.properties = { selected: 7, showBackButton: 7, versionPropertiesElementProps: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.shadowRootOptions =
|
|
18
|
+
this.shadowRootOptions = $;
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.styles =
|
|
21
|
+
this.styles = x;
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region Lifecycle
|
|
25
25
|
load() {
|
|
26
|
-
const { versionPropertiesElementProps: { versionInfo:
|
|
27
|
-
|
|
26
|
+
const { versionPropertiesElementProps: { versionInfo: e } } = this;
|
|
27
|
+
e ? (this._mode = "edit", this._fullVersionName = e.versionIdentifier.name, this._ownerName = this._fullVersionName.substring(0, this._fullVersionName.lastIndexOf(".")), this._versionName = this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".") + 1)) : this._mode = "create";
|
|
28
28
|
}
|
|
29
29
|
updated() {
|
|
30
30
|
this._mode === "create" && this._versionNameInputElement.value?.setFocus();
|
|
@@ -40,64 +40,64 @@ class k extends V {
|
|
|
40
40
|
_handleCancel() {
|
|
41
41
|
this.arcgisFlowItemBack.emit();
|
|
42
42
|
}
|
|
43
|
-
_handleChange(
|
|
44
|
-
const { _mode:
|
|
45
|
-
let { _alterVersionParameters:
|
|
46
|
-
switch (
|
|
43
|
+
_handleChange(e) {
|
|
44
|
+
const { _mode: i, _ownerName: h, _versionName: m, versionPropertiesElementProps: { currentUser: p, isVersionAdministrator: t, serviceUrl: r, versionInfo: a } } = this;
|
|
45
|
+
let { _alterVersionParameters: c, _createVersionParameters: s } = this;
|
|
46
|
+
switch (i === "create" && (s || (s = {
|
|
47
47
|
access: "public",
|
|
48
48
|
description: "",
|
|
49
|
-
featureServerUrl:
|
|
50
|
-
ownerName:
|
|
49
|
+
featureServerUrl: r,
|
|
50
|
+
ownerName: p,
|
|
51
51
|
versionName: ""
|
|
52
|
-
})),
|
|
53
|
-
featureServerUrl:
|
|
54
|
-
versionIdentifier:
|
|
55
|
-
ownerName:
|
|
56
|
-
versionName:
|
|
57
|
-
access:
|
|
58
|
-
description:
|
|
59
|
-
})),
|
|
52
|
+
})), i === "edit" && (c || (c = {
|
|
53
|
+
featureServerUrl: r,
|
|
54
|
+
versionIdentifier: a.versionIdentifier,
|
|
55
|
+
ownerName: h,
|
|
56
|
+
versionName: m,
|
|
57
|
+
access: a.access,
|
|
58
|
+
description: a.description
|
|
59
|
+
})), e.type) {
|
|
60
60
|
case "calciteChipGroupSelect": {
|
|
61
|
-
const
|
|
62
|
-
|
|
61
|
+
const o = e.target.label, n = e.target.selectedItems[0].label;
|
|
62
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
63
63
|
break;
|
|
64
64
|
}
|
|
65
65
|
case "calciteInputTextInput": {
|
|
66
|
-
const
|
|
67
|
-
|
|
66
|
+
const o = e.target.name, n = e.target.value;
|
|
67
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
68
68
|
break;
|
|
69
69
|
}
|
|
70
70
|
case "calciteTextAreaInput": {
|
|
71
|
-
const
|
|
72
|
-
|
|
71
|
+
const o = e.target.name, n = e.target.value;
|
|
72
|
+
i === "create" && (s = { ...s, [o]: n }), i === "edit" && (c = { ...c, [o]: n });
|
|
73
73
|
break;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
i === "create" && (s.access !== "public" && p.toUpperCase() !== s.ownerName?.toUpperCase() && !t ? (this._switchToVersionCheckboxElement.value.checked = !1, this._switchToVersionCheckboxElement.value.disabled = !0, this._switchToVersion = !1) : this._switchToVersionCheckboxElement.value.disabled = !1, this._createVersionParameters = s), i === "edit" && (this._alterVersionParameters = c);
|
|
77
77
|
}
|
|
78
78
|
_handleClose() {
|
|
79
79
|
this.arcgisFlowItemClose.emit();
|
|
80
80
|
}
|
|
81
81
|
_handleSave() {
|
|
82
|
-
const { _alterVersionParameters:
|
|
83
|
-
|
|
84
|
-
createVersionParameters:
|
|
85
|
-
switchToVersion:
|
|
86
|
-
}),
|
|
87
|
-
alterVersionParameters:
|
|
82
|
+
const { _alterVersionParameters: e, _createVersionParameters: i, _mode: h, _switchToVersion: m } = this;
|
|
83
|
+
h === "create" && this.arcgisCreateVersion.emit({
|
|
84
|
+
createVersionParameters: i,
|
|
85
|
+
switchToVersion: m
|
|
86
|
+
}), h === "edit" && this.arcgisAlterVersion.emit({
|
|
87
|
+
alterVersionParameters: e
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
|
-
_handleSwitchToVersionChange(
|
|
91
|
-
this._switchToVersion =
|
|
90
|
+
_handleSwitchToVersionChange(e) {
|
|
91
|
+
this._switchToVersion = e.target.checked;
|
|
92
92
|
}
|
|
93
93
|
//#endregion
|
|
94
94
|
//#region Rendering
|
|
95
95
|
render() {
|
|
96
|
-
const { selected:
|
|
97
|
-
return
|
|
96
|
+
const { selected: e, showBackButton: i, versionPropertiesElementProps: { closable: h, currentUser: m, state: p, strings: t, versionInfo: r }, _mode: a, _ownerName: c, _versionName: s } = this, o = l`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`, n = l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a === "edit" && r.access === "public" || a === "create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a === "edit" && r.access === "private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, v = l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a === "edit" ? r.description : ""}></calcite-text-area></calcite-label>`, b = l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a === "edit" ? s : ""} ${f(this._versionNameInputElement)}></calcite-input-text></calcite-label>`, _ = l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a === "edit" ? c : m}></calcite-input-text></calcite-label>`, w = a === "create" ? l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${f(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>` : void 0;
|
|
97
|
+
return l`<calcite-flow-item .closable=${h} .description=${r ? r.versionIdentifier.name : ""} .heading=${r ? t.actions.editVersion : t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${f(this._flowItemElement)}><calcite-panel .loading=${p === "executing"}><calcite-block .label=${t.headers.versionProperties} open>${b}${v}${n}${_}${w}${o}</calcite-block></calcite-panel></calcite-flow-item>`;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
g("arcgis-version-management-version-properties", C);
|
|
101
101
|
export {
|
|
102
|
-
|
|
102
|
+
C as ArcgisVersionManagementVersionProperties
|
|
103
103
|
};
|
|
@@ -6,7 +6,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.
|
|
9
|
+
v4.32.16 */
|
|
10
10
|
const l = h`@layer{arcgis-weather{display:block}}`, d = r(s);
|
|
11
11
|
class n extends i {
|
|
12
12
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { m as b } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { css as y } 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.32/esri/copyright.txt for details.
|
|
12
|
-
v4.32.
|
|
12
|
+
v4.32.16 */
|
|
13
13
|
const o = {
|
|
14
14
|
base: "arcgis-zoom",
|
|
15
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
package/dist/docs/api.json
CHANGED
package/dist/docs/docs.json
CHANGED
package/dist/docs/web-types.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
v4.32.
|
|
4
|
+
v4.32.16 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
5
|
-
v4.32.
|
|
5
|
+
v4.32.16 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;destroy"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.32.
|
|
3
|
+
"version": "4.32.16",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
],
|
|
41
41
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcgis/components-controllers": "4.32.
|
|
44
|
-
"@arcgis/components-utils": "4.32.
|
|
45
|
-
"@arcgis/core-adapter": "4.32.
|
|
46
|
-
"@arcgis/lumina": "4.32.
|
|
43
|
+
"@arcgis/components-controllers": "4.32.16",
|
|
44
|
+
"@arcgis/components-utils": "4.32.16",
|
|
45
|
+
"@arcgis/core-adapter": "4.32.16",
|
|
46
|
+
"@arcgis/lumina": "4.32.16",
|
|
47
47
|
"tslib": "^2.7.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.15 */
|
|
4
|
-
import{A as n,B as p,C as L,G as E,g as V,s as t}from"./C3IGJLLH.js";var v=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this._showInvalidVersionNotice=!0,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n(),this.arcgisCreateVersionList=n()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[c,l]of this._versionListEventListeners)e.removeEventListener(c,l)}render(){let{serviceItemElementProps:{allowEditing:e,closable:c,currentUser:l,executionError:I,currentVersionIdentifier:d,flowElement:_,hasAdvEditingUte:b,heading:w,isInitialVersionInvalid:f,isVersionAdministrator:u,isVersioningApiAvailable:$,mode:x,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a}}=this,{_versionList:i}=this,k=f.get(g)&&this._showInvalidVersionNotice?t`<calcite-notice class="initial-version-invalid-block" closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${o.headers.invalidInitialVersion}</div><div slot=message>${o.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,C=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${s=>{let A=s.target,G=a.find(F=>F.versionIdentifier.guid===A.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:g,versionInfo:G})}}>${a?a.map(s=>t`<calcite-combobox-item class=${L(x==="dialog"?"":"calcite-combobox-item")} .selected=${d.guid===s.versionIdentifier.guid&&d.name===s.versionIdentifier.name} .textLabel=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,m,h;return e&&(m=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{i=document.createElement("arcgis-version-management-version-list"),i.versionListElementProps={closable:c,currentUser:l,currentVersionIdentifier:d,executionError:I,hasAdvEditingUte:b,heading:w,isVersionAdministrator:u,isVersioningApiAvailable:$,pageSize:M,serviceName:r,serviceUrl:g,state:N,strings:o,versionInfos:a},i.selected=!0,i.showBackButton=!0,i.addEventListener("calciteFlowItemBack",s=>{s.preventDefault(),this.arcgisFlowItemBack.emit()}),i.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(i),_?.append(i),this.arcgisCreateVersionList.emit(i)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${o.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${k}${C}${m}${h}</calcite-block>`}};E("arcgis-version-management-service-item",v);export{v as ArcgisVersionManagementServiceItem};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.15 */
|
|
4
|
-
import{a as P,b as F}from"./S534WD3A.js";import{a as y}from"./EVQ373SK.js";import{a as _}from"./5VWZ725C.js";import"./SARBBUMR.js";import"./JFCNP44A.js";import{A as w,B as E,C as L,G as S,g as I,r as V,s as h}from"./C3IGJLLH.js";var[{once:N,watch:A},T]=await $arcgis.l(["core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel"]);var U=V`@layer{.initial-version-invalid-block{margin-bottom:1rem}.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}}`,x=y(T),k="map-components:version-management",u=class extends E{constructor(){super(...arguments),this.flowElement=P(),this.messages=_({blocking:!0}),this.viewModel=x(this),this._isInitialVersionInvalid=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.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{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,view:0}}static{this.styles=U}static{this.shadowRootOptions=I}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){N(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[A(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:t}=this,s=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){s&&this._removeVersionPropertiesFlowItem(i),t&&this._removeVersionListFlowItem(i);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:e}),s&&(s.versionPropertiesElementProps={...s.versionPropertiesElementProps,state:e})})])}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:t,flowElement:{value:s},viewModel:r,viewModel:{state:l}}=this,o=document.createElement("arcgis-version-management-version-properties");return o.versionPropertiesElementProps={closable:t,currentUser:r.userLookup.get(e),hasAdvEditingUte:r.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:r.versionAdministratorLookup.get(e),serviceUrl:e,state:l,strings:this.messages,versionInfo:i},o.selected=!0,o.showBackButton=!0,o.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:v,switchToVersion:d}=n.detail;r.createVersion(v).then(async a=>{a&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:a.versionIdentifier,versioningState:r.versioningStateLookup.get(e)}),d&&await this.viewModel.changeVersion(e,a.versionIdentifier.name,a.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:a.versionIdentifier,versioningState:r.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{s&&this._removeVersionPropertiesFlowItem(s)})}),o.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:v}}=this,{alterVersionParameters:d}=n.detail;await r.alterVersion(d).then(async a=>{a&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:d.versionIdentifier,versioningState:r.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{v&&this._removeVersionPropertiesFlowItem(v)})}),o.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),o.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),o}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:t}=this,{url:s,name:r}=e,l=t.versioningStateLookup.get(s);if(!l)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${k} - no versioning state found for feature service ${s}`);let o=l?.versionInfos.find(d=>d.versionIdentifier.name===r);if(!o)throw i.set(s,!0),new Error(`${k} - version ${r} not found in the versioning state for feature service ${s}`);let n=o.versionIdentifier,v=l?.currentVersionInfo?.versionIdentifier;n.guid!==v?.guid&&t.changeVersion(s,n.name,n.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:t,versionInfo:s}=e.detail,{viewModel:r,flowElement:l}=this;switch(i){case"changeVersion":{r.changeVersion(t,s.versionIdentifier.name,s.versionIdentifier.guid).then(o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:s.versionIdentifier,versioningState:r.versioningStateLookup.get(t)});let{versionList:n}=this;n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:r.versioningStateLookup.get(t).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{r.deleteVersion(t,s.versionIdentifier.name,s.versionIdentifier.guid).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:s.versionIdentifier,versioningState:r.versioningStateLookup.get(t)}),await this._refreshVersionList(t)});break}case"editVersion":{let o=this._createVersionPropertiesFlowItem(t,s);l.value?.appendChild(o),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:t,viewModel:s}=this;if(i){let r=await s.getVersionInfos(e),l=i.getElementsByTagName("arcgis-version-management-service-item");for(let o of l)o.serviceItemElementProps.serviceUrl===e&&(o.serviceItemElementProps={...o.serviceItemElementProps,versionInfos:r});t&&(t.versionListElementProps={...t.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:r})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:t},initialVersionInfos:s,_isInitialVersionInvalid:r,label:l,messages:o,mode:n,pageSize:v,versionList:d,viewModel:a,viewModel:{loadError:g,state:m}}=this,b=Array.from(a.serviceNameLookup,([c,f])=>({url:c,name:f})),C=m!=="disabled"?b.map(c=>{let f={allowEditing:!e,closable:i,currentUser:a.userLookup.get(c.url),currentVersionIdentifier:a.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:t,hasAdvEditingUte:a.advancedEditingUserTypeExtensionLookup.get(c.url),heading:l,initialVersionInfos:s,isInitialVersionInvalid:r,isVersionAdministrator:a.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(a.serverVersionLookup.get(c.url)??0)>=11.2,mode:n,pageSize:v,serviceName:c.name,state:m,serviceUrl:c.url,strings:o,versionInfos:a.versioningStateLookup.get(c.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${f} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{t&&(this._removeVersionListFlowItem(t),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>{this.versionList=p.detail}}></arcgis-version-management-service-item>`}):void 0,$=m==="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,M=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${o.headers.invalidInitialFeatureService}</div><div slot=message>${o.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${F(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${l??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}} .selected=${!d}>${M}<calcite-panel .loading=${m==="loading"||m==="executing"}>${C}${$}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",u);export{u as ArcgisVersionManagement};
|