@arcgis/map-components 4.33.0-next.165 → 4.33.0-next.166
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/README.md +1 -1
- package/dist/cdn/{OMKO4JHM.js → 2GZ2MYAN.js} +2 -2
- package/dist/cdn/{PMAIAAOQ.js → 2QGDPVAO.js} +2 -2
- package/dist/cdn/{NQDCDJCV.js → 2VCKPCID.js} +2 -2
- package/dist/cdn/36WTJWVO.js +4 -0
- package/dist/cdn/{SEP4SEVG.js → 3DXFI2AL.js} +2 -2
- package/dist/cdn/{ASAGHVOA.js → 3KDUPGJZ.js} +2 -2
- package/dist/cdn/{3PQI5F2X.js → 3QEEPUD6.js} +2 -2
- package/dist/cdn/{6R2INHBN.js → 4G4A5E3G.js} +2 -2
- package/dist/cdn/{JZDVUUCU.js → 5LSJYLIP.js} +2 -2
- package/dist/cdn/{Y2TYHWNF.js → 5V73R3RI.js} +2 -2
- package/dist/cdn/{WWQJGHPQ.js → 64ZB4JXV.js} +2 -2
- package/dist/cdn/{MZBBUM6Q.js → 67EQMBZU.js} +2 -2
- package/dist/cdn/{UZV45NY6.js → 6NOI5ZLC.js} +2 -2
- package/dist/cdn/{H7QOTAJV.js → 6ZTPC2AD.js} +2 -2
- package/dist/cdn/{POBDDUZZ.js → 73CR5AIY.js} +1 -1
- package/dist/cdn/{NKADU5AW.js → 7HHSXMTB.js} +2 -2
- package/dist/cdn/{YXTMRIJL.js → 7JN3ZO2O.js} +2 -2
- package/dist/cdn/{E3AQ2QMP.js → 7QT6TUSX.js} +2 -2
- package/dist/cdn/{IQCSP4CK.js → 7SY4BNZF.js} +2 -2
- package/dist/cdn/{QPQ2AKVN.js → 7THRNZ6Y.js} +2 -2
- package/dist/cdn/{OBHSCPHD.js → A3HVVZZR.js} +2 -2
- package/dist/cdn/{EJYKNBI3.js → AD6UHC7J.js} +2 -2
- package/dist/cdn/{SSCVWJOS.js → ADRDBJX6.js} +2 -2
- package/dist/cdn/{DVNW56QI.js → AN4GD2UL.js} +2 -2
- package/dist/cdn/{6DUAEM4K.js → AOMTVPC5.js} +1 -1
- package/dist/cdn/AU4O3QF4.js +4 -0
- package/dist/cdn/{RSM7BWTC.js → AVCMWLAH.js} +2 -2
- package/dist/cdn/{25HQTHBN.js → AY2FH2GF.js} +2 -2
- package/dist/cdn/{RD4LDM5Z.js → B3ADQSMW.js} +2 -2
- package/dist/cdn/{WKISCW35.js → B6ZAOB5U.js} +1 -1
- package/dist/cdn/{WW6OFUQW.js → BHUG747H.js} +2 -2
- package/dist/cdn/{POEDXPRL.js → C4MOVLRT.js} +2 -2
- package/dist/cdn/{QI676JBC.js → C5VGNPT6.js} +2 -2
- package/dist/cdn/{HGRGYFM7.js → C7QRIJ6W.js} +2 -2
- package/dist/cdn/{5R6A6QGR.js → CLR2LXB5.js} +2 -2
- package/dist/cdn/{UMOKADBG.js → CR2BYYIT.js} +2 -2
- package/dist/cdn/{MQZRTOJN.js → CYLND7JO.js} +2 -2
- package/dist/cdn/{NOTWFZAR.js → D445FQHC.js} +2 -2
- package/dist/cdn/{YDA7IFHY.js → DQOYWXY2.js} +2 -2
- package/dist/cdn/{MTTSPTQK.js → DSGVKJCL.js} +2 -2
- package/dist/cdn/{RQ2GK6HD.js → EIHL74CT.js} +2 -2
- package/dist/cdn/{MWJ47SGT.js → EJ6UTNLN.js} +2 -2
- package/dist/cdn/{YJ4YJRM2.js → ENPNRIM6.js} +2 -2
- package/dist/cdn/{EGQQTBD3.js → EXZHG3MA.js} +2 -2
- package/dist/cdn/{VAPFIHJW.js → EZWM5PA5.js} +2 -2
- package/dist/cdn/{ZKSNTIXF.js → F3JW62WC.js} +2 -2
- package/dist/cdn/{4CBSE3Q5.js → FTC7ZZVY.js} +2 -2
- package/dist/cdn/{M3ZUY3MX.js → G2TCB4OS.js} +2 -2
- package/dist/cdn/{P42EBOVV.js → G622KPCC.js} +2 -2
- package/dist/cdn/{AXBEWKGF.js → GQAX3OP3.js} +2 -2
- package/dist/cdn/{RPG4ABBO.js → H7VU7EN4.js} +2 -2
- package/dist/cdn/{WKWPAFP7.js → HDR5ABRS.js} +2 -2
- package/dist/cdn/{MAQAVSKR.js → HQLECYIY.js} +2 -2
- package/dist/cdn/{3APGFJ5Z.js → I7R57ZVU.js} +2 -2
- package/dist/cdn/{B2CXE7XY.js → IB67ICLL.js} +2 -2
- package/dist/cdn/{M33SAW5M.js → IJMSCYES.js} +2 -2
- package/dist/cdn/{FRXYFS2X.js → IUOURA2D.js} +2 -2
- package/dist/cdn/{TWDDNVRC.js → J3LJLY35.js} +2 -2
- package/dist/cdn/{RPHD5QFW.js → JB6PDD4G.js} +2 -2
- package/dist/cdn/{7KG6MPR5.js → JPGTO5Y4.js} +2 -2
- package/dist/cdn/{RKVHBB2U.js → JQSNJL7H.js} +2 -2
- package/dist/cdn/{XGVEATEL.js → JTKQZUXS.js} +2 -2
- package/dist/cdn/{J4G4H3N7.js → K6AOLBKT.js} +2 -2
- package/dist/cdn/{MGTHS7HP.js → KM6R6XVP.js} +2 -2
- package/dist/cdn/{TB5CUUMG.js → LEQV5CEL.js} +2 -2
- package/dist/cdn/{6MLFLDPF.js → LSCLBICP.js} +2 -2
- package/dist/cdn/{ATI6TTHT.js → MM4RF6CW.js} +2 -2
- package/dist/cdn/{TGSNKWHN.js → MOK2OFDG.js} +2 -2
- package/dist/cdn/{NR3HAYCW.js → MXVVW2BF.js} +2 -2
- package/dist/cdn/{7ZHVKJFQ.js → N3WMZE7Q.js} +2 -2
- package/dist/cdn/{UC24T3GH.js → N74PONZB.js} +2 -2
- package/dist/cdn/{TESGOBK4.js → NIL4WZXC.js} +2 -2
- package/dist/cdn/{AK7MMFIJ.js → NQWJJOLE.js} +2 -2
- package/dist/cdn/{25SPQTQF.js → NUSV5SL6.js} +2 -2
- package/dist/cdn/{SIPBZPAK.js → O2F3HAAA.js} +2 -2
- package/dist/cdn/{QE46ROFU.js → ONLROA4T.js} +2 -2
- package/dist/cdn/P33WUDIH.js +4 -0
- package/dist/cdn/{5HFBME5D.js → PIGOSY7X.js} +2 -2
- package/dist/cdn/{F4GWE2SC.js → QCPCVTCL.js} +2 -2
- package/dist/cdn/{LBLEPUEU.js → QNU4H6AY.js} +2 -2
- package/dist/cdn/{BIMORNRS.js → QWZMNHNA.js} +2 -2
- package/dist/cdn/{MZ74MXQN.js → RD6JXEWJ.js} +1 -1
- package/dist/cdn/{BBVXTPSY.js → RI4E3Z4X.js} +2 -2
- package/dist/cdn/{KEPTLIX3.js → RLVAWXK2.js} +2 -2
- package/dist/cdn/RXBU73Y2.js +4 -0
- package/dist/cdn/{BWZVOI6S.js → S6TP4762.js} +2 -2
- package/dist/cdn/{NQTLMNCH.js → SEM2RYX7.js} +2 -2
- package/dist/cdn/{PGZZRNOO.js → SLGBWB2N.js} +1 -1
- package/dist/cdn/{2KJQ5CXW.js → SNGRUQF2.js} +2 -2
- package/dist/cdn/{EG2NDCS3.js → SOHFPMKL.js} +2 -2
- package/dist/cdn/{MIJXPEPF.js → TH44YFFU.js} +2 -2
- package/dist/cdn/{U4DZBCUB.js → TKR66ZEQ.js} +2 -2
- package/dist/cdn/{44ESVELG.js → TONLBXIE.js} +2 -2
- package/dist/cdn/{ZJPD2Q6D.js → UKVZ3IAT.js} +2 -2
- package/dist/cdn/{GQGXJBY4.js → ULPYKXGU.js} +2 -2
- package/dist/cdn/{P2SYUD2V.js → V4SRPDKE.js} +2 -2
- package/dist/cdn/{F4BSB7Q4.js → VEW65GSM.js} +2 -2
- package/dist/cdn/{H33BCFNB.js → VFSE5BFV.js} +2 -2
- package/dist/cdn/{JV5DAVQB.js → VSOZPA2E.js} +2 -2
- package/dist/cdn/{MU3MCHQ2.js → VUOLGAK5.js} +2 -2
- package/dist/cdn/{RMTIPY2E.js → VZBSC2JI.js} +2 -2
- package/dist/cdn/{4Y6HIODN.js → WCMHAGQH.js} +2 -2
- package/dist/cdn/{S7FYCMP3.js → WDROAAYM.js} +1 -1
- package/dist/cdn/{QEO55PCR.js → XQ7ULC3Q.js} +2 -2
- package/dist/cdn/{USTIZ3KN.js → XUXLUGXH.js} +2 -2
- package/dist/cdn/{TPB3YMWE.js → XWHUXFOV.js} +2 -2
- package/dist/cdn/{KW7BI6R3.js → XYBCFVTO.js} +2 -2
- package/dist/cdn/{XZTKL4TN.js → XYJEWKX4.js} +2 -2
- package/dist/cdn/{GA4ATDYY.js → XYTN56HL.js} +2 -2
- package/dist/cdn/{5LM44NFW.js → Y27VKCYD.js} +1 -1
- package/dist/cdn/{DYXB7JUN.js → Y43BZBUQ.js} +2 -2
- package/dist/cdn/{DYOVG4YW.js → Y7AHROVQ.js} +2 -2
- package/dist/cdn/{YORFQWUQ.js → YA45POLO.js} +2 -2
- package/dist/cdn/{AQMK7MJ2.js → YCRKGVJ5.js} +2 -2
- package/dist/cdn/{ZIVBN4PL.js → YPTCFZRU.js} +2 -2
- package/dist/cdn/{CKZ6QBLT.js → YRXS5GWE.js} +1 -1
- package/dist/cdn/YTYQG7LF.js +4 -0
- package/dist/cdn/{5JOVYVWX.js → YYKVWZT7.js} +2 -2
- package/dist/cdn/{LVEBKSBU.js → ZWMOZNVR.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +3 -4
- 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.d.ts +3 -4
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -3
- 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 +3 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -3
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -4
- 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.d.ts +3 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -3
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +3 -4
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -5
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +3 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +3 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +4 -7
- 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.d.ts +3 -4
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -5
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -4
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +3 -4
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +2 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -3
- 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 +3 -4
- 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 +3 -4
- 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.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +3 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -3
- 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.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -4
- 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.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -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-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-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.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +3 -4
- 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.d.ts +1 -3
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -6
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +3 -6
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -3
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -4
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +3 -4
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +2 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +4 -5
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -4
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +2 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -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.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -5
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +200 -208
- package/dist/docs/docs.json +136 -140
- package/dist/docs/vscode.html-custom-data.json +65 -68
- package/dist/docs/web-types.json +131 -132
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/ABWMT25R.js +0 -4
- package/dist/cdn/F33XGFEL.js +0 -4
- package/dist/cdn/QQ6REXRX.js +0 -4
- package/dist/cdn/TBRMCJBG.js +0 -4
- package/dist/cdn/USM4Q6K2.js +0 -4
|
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lu
|
|
|
4
4
|
import { m as A } from "../../chunks/useWidget.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.166 */
|
|
8
8
|
const S = A(a);
|
|
9
9
|
class g extends c {
|
|
10
10
|
constructor() {
|
|
@@ -79,12 +79,13 @@ export declare class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
79
79
|
/**
|
|
80
80
|
* The Geodatabase version to pass into the trace.
|
|
81
81
|
*
|
|
82
|
-
* @deprecated since version 4.31
|
|
82
|
+
* @deprecated `gdbVersion` is deprecated since version 4.31.
|
|
83
83
|
* @default "sde.DEFAULT"
|
|
84
84
|
*/
|
|
85
85
|
gdbVersion: string;
|
|
86
86
|
/**
|
|
87
|
-
* Icon
|
|
87
|
+
* Icon which represents the component.
|
|
88
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
88
89
|
*
|
|
89
90
|
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
90
91
|
* @default "utility-network-trace"
|
|
@@ -160,9 +161,7 @@ export declare class ArcgisUtilityNetworkTrace extends LitElement {
|
|
|
160
161
|
*/
|
|
161
162
|
showSelectionAttributesDisabled: boolean;
|
|
162
163
|
/**
|
|
163
|
-
* The
|
|
164
|
-
*
|
|
165
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkTrace-UtilityNetworkTraceViewModel.html#state)
|
|
164
|
+
* The current state of the component.
|
|
166
165
|
*
|
|
167
166
|
* @default "ready"
|
|
168
167
|
*/
|
|
@@ -6,7 +6,7 @@ import { LitElement as r, createEvent as a, noShadowRoot as o } from "@arcgis/lu
|
|
|
6
6
|
import { m as l } from "../../chunks/useWidget.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.166 */
|
|
10
10
|
const d = l(s);
|
|
11
11
|
class h extends r {
|
|
12
12
|
constructor() {
|
|
@@ -49,7 +49,8 @@ export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
|
49
49
|
*/
|
|
50
50
|
extentToValidate: "current" | "entire";
|
|
51
51
|
/**
|
|
52
|
-
* Icon
|
|
52
|
+
* Icon which represents the component.
|
|
53
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
53
54
|
*
|
|
54
55
|
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
55
56
|
* @default "check-circle"
|
|
@@ -70,9 +71,7 @@ export declare class ArcgisUtilityNetworkValidateTopology extends LitElement {
|
|
|
70
71
|
*/
|
|
71
72
|
referenceElement?: ArcgisReferenceElement | string;
|
|
72
73
|
/**
|
|
73
|
-
* The
|
|
74
|
-
*
|
|
75
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-UtilityNetworkValidateTopology-UtilityNetworkValidateTopologyViewModel.html#state)
|
|
74
|
+
* The current state of the component.
|
|
76
75
|
*
|
|
77
76
|
* @default "ready"
|
|
78
77
|
*/
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as r, noShadowRoot as l } from "@arcgis/lu
|
|
|
6
6
|
import { m as h } from "../../chunks/useWidget.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.166 */
|
|
10
10
|
const w = h(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
|
|
12
12
|
s
|
|
@@ -85,7 +85,8 @@ export declare class ArcgisValuePicker extends LitElement {
|
|
|
85
85
|
/** @default false */
|
|
86
86
|
hidePreviousButton: boolean | undefined;
|
|
87
87
|
/**
|
|
88
|
-
* Icon which represents the
|
|
88
|
+
* Icon which represents the component.
|
|
89
|
+
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
89
90
|
*
|
|
90
91
|
* @see [Calcite Icons](https://developers.arcgis.com/calcite-design-system/icons/)
|
|
91
92
|
* @default "list-rectangle"
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.166 */
|
|
11
11
|
const l = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
@@ -72,11 +72,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
72
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
73
|
*/
|
|
74
74
|
referenceElement?: ArcgisReferenceElement | string;
|
|
75
|
-
/**
|
|
76
|
-
* The viewModel's state.
|
|
77
|
-
*
|
|
78
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-VersionManagement-VersionManagementViewModel.html#state)
|
|
79
|
-
*/
|
|
75
|
+
/** The current state of the component. */
|
|
80
76
|
readonly state: "ready" | "loading" | "disabled" | "executing" | "failed" | "success";
|
|
81
77
|
/**
|
|
82
78
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
@@ -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.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.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.33.0-next.166 */
|
|
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.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.0-next.
|
|
7
|
-
class
|
|
6
|
+
v4.33.0-next.166 */
|
|
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.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.0-next.
|
|
7
|
-
class
|
|
6
|
+
v4.33.0-next.166 */
|
|
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.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
9
|
-
const
|
|
10
|
-
class
|
|
8
|
+
v4.33.0-next.166 */
|
|
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;
|