@arcgis/map-components 4.32.0-next.22 → 4.32.0-next.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{2CVNHRYT.js → 2L6BFJCV.js} +2 -2
- package/dist/arcgis-map-components/{WTPQNE5D.js → 2WO4N4ZF.js} +2 -2
- package/dist/arcgis-map-components/{VPYS3HF3.js → 3HZ55Q6R.js} +2 -2
- package/dist/arcgis-map-components/3Q2O3SKF.js +6 -0
- package/dist/arcgis-map-components/4QJLHNBS.js +6 -0
- package/dist/arcgis-map-components/4QLOUXWR.js +6 -0
- package/dist/arcgis-map-components/5WDCAVG4.js +6 -0
- package/dist/arcgis-map-components/{NPPU2N5L.js → 66ZWGMGE.js} +2 -2
- package/dist/arcgis-map-components/{MCMCZ246.js → 6JSNTH6Y.js} +2 -2
- package/dist/arcgis-map-components/7GCG342D.js +6 -0
- package/dist/arcgis-map-components/ANX6HA2W.js +6 -0
- package/dist/arcgis-map-components/AO3GR2N7.js +6 -0
- package/dist/arcgis-map-components/B27ZOTKU.js +6 -0
- package/dist/arcgis-map-components/{TZ62TALS.js → BSPAO6AD.js} +2 -2
- package/dist/arcgis-map-components/{BOYWFBTM.js → CSHOPRBT.js} +2 -2
- package/dist/arcgis-map-components/{CTC3AX7J.js → D2W2OCKG.js} +2 -2
- package/dist/arcgis-map-components/{TQOZVQ5O.js → D7Q2UEN2.js} +2 -2
- package/dist/arcgis-map-components/DNC4SUVP.js +6 -0
- package/dist/arcgis-map-components/E4NRYVTI.js +6 -0
- package/dist/arcgis-map-components/{AIOG5TW4.js → EC6WDPSQ.js} +2 -2
- package/dist/arcgis-map-components/{J4RUW5U7.js → ECYNZYQG.js} +2 -2
- package/dist/arcgis-map-components/{4EHJ65B6.js → EK24BNZL.js} +2 -2
- package/dist/arcgis-map-components/EUAZ2OPO.js +6 -0
- package/dist/arcgis-map-components/FIEUUBMQ.js +6 -0
- package/dist/arcgis-map-components/{AZTVD7VS.js → FKFOF4NY.js} +2 -2
- package/dist/arcgis-map-components/{SSNGQA6N.js → FKRGXSGS.js} +2 -2
- package/dist/arcgis-map-components/{ATB2NQSZ.js → FNAU225Z.js} +2 -2
- package/dist/arcgis-map-components/{CTCAMCJ2.js → FPLCZLCE.js} +2 -2
- package/dist/arcgis-map-components/{NBNZSUWE.js → GLR6EY3B.js} +2 -2
- package/dist/arcgis-map-components/GNMHWBPG.js +6 -0
- package/dist/arcgis-map-components/{M3W7VFU2.js → HPI43ZI6.js} +2 -2
- package/dist/arcgis-map-components/{IJTGSAJJ.js → IDSFNKDO.js} +2 -2
- package/dist/arcgis-map-components/{HAWS37PA.js → IJOEY6EG.js} +2 -2
- package/dist/arcgis-map-components/{MBDNUTUD.js → J36IDVXY.js} +2 -2
- package/dist/arcgis-map-components/{GHZYZ7MS.js → JETEERKO.js} +2 -2
- package/dist/arcgis-map-components/{RREQTJNH.js → JP2BLDGZ.js} +2 -2
- package/dist/arcgis-map-components/L4GRG5ZF.js +6 -0
- package/dist/arcgis-map-components/{MX5IYQ3L.js → L6C64KWI.js} +2 -2
- package/dist/arcgis-map-components/L6DN3YTM.js +8 -0
- package/dist/arcgis-map-components/M3Q5Z7WY.js +6 -0
- package/dist/arcgis-map-components/{TMSLROMY.js → M7EMJZKP.js} +2 -2
- package/dist/arcgis-map-components/{N5K25YLP.js → N3KPMAYI.js} +1 -1
- package/dist/arcgis-map-components/NFE2UN4H.js +6 -0
- package/dist/arcgis-map-components/{NWPEP754.js → NIRMKP6A.js} +2 -2
- package/dist/arcgis-map-components/{NNI622YB.js → NYO5FHDX.js} +2 -2
- package/dist/arcgis-map-components/O56APZFZ.js +6 -0
- package/dist/arcgis-map-components/{DCV4AMYE.js → ONRRQDMM.js} +2 -2
- package/dist/arcgis-map-components/{NB546L3D.js → OWJANPVV.js} +2 -2
- package/dist/arcgis-map-components/{5UGEBFSH.js → PAJYGKRV.js} +2 -2
- package/dist/arcgis-map-components/PFHS6QWD.js +6 -0
- package/dist/arcgis-map-components/PSVU65TR.js +6 -0
- package/dist/arcgis-map-components/RFGD5JHN.js +6 -0
- package/dist/arcgis-map-components/RHM27UG7.js +6 -0
- package/dist/arcgis-map-components/{ZQNFH5XL.js → S3OT5UG7.js} +2 -2
- package/dist/arcgis-map-components/SIYXNYKW.js +6 -0
- package/dist/arcgis-map-components/{5MR3G366.js → T4ENZBQZ.js} +2 -2
- package/dist/arcgis-map-components/{2WLE5FU6.js → THKVFDHM.js} +2 -2
- package/dist/arcgis-map-components/{VZZGOBNJ.js → TMHI4TXZ.js} +2 -2
- package/dist/arcgis-map-components/{OPNO4LK7.js → TTFHVBKJ.js} +2 -2
- package/dist/arcgis-map-components/UEIYIBHW.js +6 -0
- package/dist/arcgis-map-components/{RVAEZ25O.js → UL5NQOYB.js} +2 -2
- package/dist/arcgis-map-components/{PJLGSJVR.js → UORIWMKY.js} +2 -2
- package/dist/arcgis-map-components/USMD2GOX.js +6 -0
- package/dist/arcgis-map-components/VTW53PLJ.js +6 -0
- package/dist/arcgis-map-components/{DWLERNZA.js → WG3FSOO2.js} +2 -2
- package/dist/arcgis-map-components/{6RUB7HPF.js → WTUJ6GYT.js} +2 -2
- package/dist/arcgis-map-components/{DNK6WR2T.js → XQ5KG2NG.js} +2 -2
- package/dist/arcgis-map-components/{LBRTG3DC.js → XQWKSS5C.js} +2 -2
- package/dist/arcgis-map-components/{VWETGTFC.js → Y5S7GSFI.js} +2 -2
- package/dist/arcgis-map-components/{3GVS2Q5W.js → YUDSXC6A.js} +1 -1
- package/dist/arcgis-map-components/{CX5K524F.js → YZZMKHT7.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/assets/basemap-gallery/images/basemap-toggle-64.svg +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ar.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.bg.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.bs.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ca.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.cs.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.da.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.de.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.el.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.en.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.es.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.et.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.fi.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.fr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.he.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.hr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.hu.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.id.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.it.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ja.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ko.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.lt.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.lv.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.nb.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.nl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pt-BR.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pt-PT.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ro.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ru.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sk.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sv.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.th.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.tr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.uk.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.vi.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-CN.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-HK.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-TW.json +1 -0
- package/dist/chunks/basemap-gallery-item.js +55 -0
- 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/runtime.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/basemap-gallery-resources.d.ts +15 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.d.ts +15 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +14 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/index.d.ts +3 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/index.js +3 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +11 -11
- package/dist/components/arcgis-basemap-gallery/customElement.js +88 -15
- 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.d.ts +8 -1
- package/dist/components/arcgis-home/customElement.js +26 -10089
- 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-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 +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/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 +56 -18
- package/dist/docs/docs.json +35 -13
- package/dist/docs/vscode.html-custom-data.json +20 -4
- package/dist/docs/web-types.json +16 -14
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/support/basemapUtils.d.ts +3 -0
- package/dist/support/heading.d.ts +11 -0
- package/package.json +5 -5
- package/dist/arcgis-map-components/2WYRBVVF.js +0 -6
- package/dist/arcgis-map-components/4RDBHW6H.js +0 -6
- package/dist/arcgis-map-components/7BD2ETC4.js +0 -6
- package/dist/arcgis-map-components/7HIIXQ45.js +0 -6
- package/dist/arcgis-map-components/ARZT2I5Q.js +0 -6
- package/dist/arcgis-map-components/BYZ5EACA.js +0 -6
- package/dist/arcgis-map-components/GI3ARWPQ.js +0 -6
- package/dist/arcgis-map-components/IXNVWPUU.js +0 -8
- package/dist/arcgis-map-components/JQZAY7OR.js +0 -6
- package/dist/arcgis-map-components/K5NXKLZ7.js +0 -6
- package/dist/arcgis-map-components/LDSUA6QI.js +0 -6
- package/dist/arcgis-map-components/LZR5DOLZ.js +0 -6
- package/dist/arcgis-map-components/OG3X7C7C.js +0 -6
- package/dist/arcgis-map-components/PZWWFQST.js +0 -6
- package/dist/arcgis-map-components/Q3MLY533.js +0 -6
- package/dist/arcgis-map-components/QI5IPSYG.js +0 -6
- package/dist/arcgis-map-components/TKW43PZC.js +0 -6
- package/dist/arcgis-map-components/TWC7XTWH.js +0 -6
- package/dist/arcgis-map-components/URJKHHPY.js +0 -6
- package/dist/arcgis-map-components/VJ4LPHS5.js +0 -6
- package/dist/arcgis-map-components/WBGT5A53.js +0 -6
- package/dist/arcgis-map-components/WG75UGHH.js +0 -6
- package/dist/arcgis-map-components/WJQLEZQX.js +0 -6
- package/dist/arcgis-map-components/XNSSSK3Q.js +0 -203
- package/dist/arcgis-map-components/XWWDOZDD.js +0 -6
- package/dist/arcgis-map-components/Y3Z5INCT.js +0 -6
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./JP2BLDGZ.js";import"./S3OT5UG7.js";import{ha as h}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as a,B as o,G as r,f as e,q as s,r as i}from"./L6DN3YTM.js";var l=i`arcgis-weather{display:block}`,n=d(h),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideHeader=this.widget.visibleElements.header,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=l}async destroy(){await this.manager.destroy()}};r("arcgis-weather",t);export{t as ArcgisWeather};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as w}from"./
|
6
|
+
import{a as w}from"./NYO5FHDX.js";import{b as c}from"./NIRMKP6A.js";import{ea as h}from"./FIEUUBMQ.js";import{b as l,c as d,i as n}from"./YUDSXC6A.js";import{A as s,B as o,G as r,f as e,s as a}from"./L6DN3YTM.js";var i=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=s()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=e}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return a`<div ${c(t=>this.el.childElem=t)}></div>`}};r("arcgis-utility-network-validate-topology",i);export{i as ArcgisUtilityNetworkValidateTopology};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./JP2BLDGZ.js";import"./S3OT5UG7.js";import{B as d}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as n,B as o,G as h,f as i,q as s,r as a}from"./L6DN3YTM.js";var c=a`arcgis-feature{display:block}`,p=l(d),e=class extends o{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.arcgisPropertyChange=s()("state"),this.arcgisReady=n()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3}}static{this.shadowRootOptions=i}static{this.styles=c}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,r){this.widget?.setActiveMedia(t,r)}};h("arcgis-feature",e);export{e as ArcgisFeature};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as h}from"./JP2BLDGZ.js";import"./S3OT5UG7.js";import{R as l,c as n}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as r,B as o,G as d,f as t,q as a,r as s}from"./L6DN3YTM.js";var y=s`arcgis-oriented-imagery-viewer{display:block}`,c=h(l),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=a()("imageGalleryEnabled","layer"),this.arcgisReady=r()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=t}static{this.styles=y}async destroy(){await this.manager.destroy()}willUpdate(g){if(g.has("orientedImageryLayerItemId")){let i=this.orientedImageryLayerItemId;i&&this.widget&&n({portalItem:{id:i}}).then(m=>{this.layer=m,this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0}).catch(console.error)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?(this.widget.view?.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1):this.el.addEventListener("arcgisReady",()=>{this.widget.view.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1},{once:!0}))}};d("arcgis-oriented-imagery-viewer",e);export{e as ArcgisOrientedImageryViewer};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as u}from"./N3KPMAYI.js";import{a as G,b as K}from"./FKFOF4NY.js";import"./S3OT5UG7.js";import{ja as k,l as E,la as T}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as L,B as R,C as m,D,E as h,G as U,H as A,a as b,f as B,o as w,q as S,r as x,s as n,t as C,u as I}from"./L6DN3YTM.js";var P=Symbol.for(""),F=t=>{if(t?.r===P)return t?._$litStatic$},V=t=>({_$litStatic$:t,r:P});var O=new Map,y=t=>(e,...a)=>{let s=a.length,i,r,o=[],$=[],p,d=0,v=!1;for(;d<s;){for(p=e[d];d<s&&(r=a[d],(i=F(r))!==void 0);)p+=i+e[++d],v=!0;d!==s&&$.push(r),o.push(p),d++}if(d===s&&o.push(e[s]),v){let g=o.join("$$lit$$");(e=O.get(g))===void 0&&(o.raw=o,O.set(g,e=o)),a=$}return t(e,...a)},W=y(n),ie=y(C),re=y(I);var c="esri-basemap-gallery",l={base:c,sourceLoading:`${c}--source-loading`,layoutGrid:`${c}--grid`,narrowItems:`${c}--narrow-items`,loader:`${c}__loader`,item:`${c}__item`,itemContainer:`${c}__item-container`,itemContent:`${c}__item-content`,itemTitle:`${c}__item-title`,itemTagsContainer:`${c}__item-tags-container`,itemThumbnail:`${c}__item-thumbnail`,selectedItem:`${c}__item--selected`,itemError:`${c}__item--error`};function J(t){return t.portalItem?.type==="Web Scene"||t.referenceLayers.some(e=>e.type==="scene")}function N(t){return!!t?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}function j({disabled:t,item:e,itemIndex:a,viewModel:s,messages:i,state:r}){let o=e.basemap.thumbnailUrl||A("assets/basemap-gallery/images/basemap-toggle-64.svg"),$=e.basemap.title,p=e.basemap.portalItem?.snippet,d=e.error?.message||p||$,{activeBasemapIndex:v}=s,g=v===a,q=g||v===-1&&a===0?0:-1,z={[l.selectedItem]:g,[l.itemError]:e.state==="error"},M=`basemapgallery-item-${e.uid}`;return n`<div .ariaChecked=${g} .ariaDisabled=${t} aria-labelledby=${M??h} class=${m(b(l.item,z))} data-item=${e??h} data-basemap=${e.basemap.id??h} role=radio tabindex=${q??h} title=${d??h} @click=${()=>{e.state==="ready"&&(s.activeBasemap=e.basemap)}}><img alt class=${m(l.itemThumbnail)} src=${o??h}><div class=${m(l.itemContent)}><div class=${m(l.itemTitle)}><span id=${M??h}>${$}</span></div>${J(e.basemap)?Q(e.basemap,i):null}</div>${r==="ready"?null:n`<calcite-scrim><span aria-hidden=true class=${m(u.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}function Q(t,e){return n`<div class=${m(l.itemTagsContainer)}>${X(e)}${N(t)?Y(e):null}</div>`}function X(t){return n`<calcite-chip scale=s .value=${t.tag3D}>${t.tag3D}</calcite-chip>`}function Y(t){return n`<calcite-chip appearance=outline-fill scale=s .value=${t.tagBeta}>${t.tagBeta}</calcite-chip>`}function Z({level:t,class:e,children:a}){let s=ee(t),i=`h${s}`,r=V(i);return W`<${r} .ariaLevel=${String(s)} class=${m(b(u.heading,e))} role=heading>${a}</${r}>`}function H(t,e,a){return Math.min(Math.max(t,e),a)}function ee(t){return H(Math.ceil(t),1,6)}var te=x`arcgis-basemap-gallery{display:block}`,ae=K(E),f={small:200,default:280,wide:420},_=class extends R{constructor(){super(...arguments),this.messages=G({}),this.viewModel=ae(this),this.basemapUtils=w(T),this.reactiveUtils=w(k),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this._width=0,this._state="",this._itemsState="",this.arcgisPropertyChange=S()("activeBasemap","state"),this.arcgisReady=L()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3,_width:16,_state:16,_itemsState:16}}static{this.shadowRootOptions=B}static{this.styles=te}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[this.reactiveUtils.when(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),this.reactiveUtils.watch(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.items.filter(s=>s.state!=="ready").length,s=>{this._itemsState=s>0?"loading":"ready"},{sync:!0}),this.reactiveUtils.watch(()=>this.viewModel.activeBasemap,()=>{this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap.id}"]`)?.focus()},{sync:!0})]);let e=new ResizeObserver(s=>{for(let i of s)this._width=i.contentRect.width}),a=this.el.childElem;a&&e.observe(a)}render(){let e=this.source.state==="loading",a=this.disabled||this.state==="disabled",s=this.viewModel.items,i={[l.sourceLoading]:e,[u.disabled]:a,"esri-component":!0},r=this._width;r<=f.small||r>=f.wide?i[l.layoutGrid]=!0:r<f.default&&(i[l.narrowItems]=!0);let o=e?n`<div class=${m(l.loader)}></div>`:null,$=e?null:s.length>0?n`<div aria-disabled=${this.disabled??h} aria-label=${this.label??h} class=${m(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p,d)=>j({disabled:a,item:p,itemIndex:d,viewModel:this.viewModel,messages:this.messages,state:p.state}))}</div>`:n`<div class=${m(u.empty)}>${Z({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return n`<div class=${m(b(l.base,u.widget,u.panel,i))} style=${D({"--esri-basemap-gallery-small":`${f.small}px`})}>${[o,$]}</div>`}_getRoundRobinIndex(e,a){return(e+a)%a}_handleKeyDown(e){let{key:a}=e;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(a))return;e.preventDefault();let{items:s,activeBasemapIndex:i}=this.viewModel,r=a==="ArrowUp"||a==="ArrowLeft"?this._getRoundRobinIndex(Math.max(i-1,-1),s.length):this._getRoundRobinIndex(i+1,s.length),o=s.at(r);o?.state==="ready"&&(this.viewModel.activeBasemap=o.basemap)}};U("arcgis-basemap-gallery",_);export{_ as ArcgisBasemapGallery};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as o}from"./N3KPMAYI.js";import{a as p,b as f}from"./FKFOF4NY.js";import"./S3OT5UG7.js";import{H as g}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as d,B as m,C as i,E as h,G as u,a as r,f as l,q as n,r as c,s}from"./L6DN3YTM.js";var v=c`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state"),this.arcgisReady=d()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=l}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as b,b as y}from"./NIRMKP6A.js";import{a as s}from"./N3KPMAYI.js";import{a as w,b as f}from"./FKFOF4NY.js";import{d as u}from"./S3OT5UG7.js";import{K as v}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as m,B as d,C as i,E as g,G as p,a as r,f as c,q as n,r as l,s as h}from"./L6DN3YTM.js";var $=l`arcgis-home{display:block}`,_={base:"esri-home"},B=f(v),o=class extends d{constructor(){super(...arguments),this.messages=w(),this.viewModel=B(this),this._calciteButton=b(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=u(()=>this.viewModel,"go"),this.arcgisPropertyChange=n()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=c}static{this.styles=$}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let e=document.createElement("calcite-loader");e.inline=!0,e.label="",this._calciteButton.value.append(e)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:M}=this,t=this.viewModel?.state,a=t==="going-home";return h`<div class=${i(r(_.base,s.widget))}><calcite-button class=${i(s.widgetButton)} .disabled=${t==="disabled"} .iconStart=${a?void 0:M??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${a?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??g} ${y(this._calciteButton)}></calcite-button></div>`}};p("arcgis-home",o);export{o as ArcgisHome};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as N,b}from"./
|
6
|
+
import{a as N,b}from"./NIRMKP6A.js";import{a as C,b as M}from"./FKFOF4NY.js";import"./S3OT5UG7.js";import{ga as y,ja as P}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as w,B as V,C as L,G as S,f as E,o as u,r as I,s as v}from"./L6DN3YTM.js";var F=I`.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,A=M(y),f=class extends V{constructor(){super(...arguments),this.flowElement=N(),this.messages=C({blocking:!0}),this.reactiveUtils=u(P),this.viewModel=A(this),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={allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.shadowRootOptions=E}static{this.styles=F}async destroy(){await this.manager.destroy()}load(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.viewModel.state,i=>{let{flowElement:{value:s}}=this,r=s?.getElementsByTagName("arcgis-version-management-version-properties")[0],t=s?.getElementsByTagName("arcgis-version-management-version-list")[0];if(i==="disabled"){r&&this._removeVersionPropertiesFlowItem(s),t&&this._removeVersionListFlowItem(s);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:i}),r&&(r.versionPropertiesElementProps={...r.versionPropertiesElementProps,state:i})})])}_createVersionPropertiesFlowItem(e,i){let{closable:s,flowElement:{value:r},viewModel:t,viewModel:{state:a}}=this,o=document.createElement("arcgis-version-management-version-properties");return o.versionPropertiesElementProps={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:a,strings:this.messages,versionInfo:i},o.addEventListener("arcgisCreateVersion",n=>{let{createVersionParameters:m,switchToVersion:l}=n.detail;t.createVersion(m).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),l&&await this.viewModel.changeVersion(e,d.versionIdentifier.name,d.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:d.versionIdentifier,versioningState:t.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{r&&this._removeVersionPropertiesFlowItem(r)})}),o.addEventListener("arcgisAlterVersion",async n=>{let{flowElement:{value:m}}=this,{alterVersionParameters:l}=n.detail;await t.alterVersion(l).then(async d=>{d&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:l.versionIdentifier,versioningState:t.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{m&&this._removeVersionPropertiesFlowItem(m)})}),o.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),o.addEventListener("calciteFlowItemBack",n=>{n.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value)}),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}}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:r}=e.detail,{viewModel:t,flowElement:a}=this;switch(i){case"changeVersion":{t.changeVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)});let n=a.value?.getElementsByTagName("arcgis-version-management-version-list")[0];n&&n&&(n.versionListElementProps={...n.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{t.deleteVersion(s,r.versionIdentifier.name,r.versionIdentifier.guid).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:r.versionIdentifier,versioningState:t.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let o=this._createVersionPropertiesFlowItem(s,r);a.value?.appendChild(o);break}}}async _refreshVersionList(e){let{flowElement:{value:i},viewModel:s}=this;if(i){let r=await s.getVersionInfos(e),t=i.getElementsByTagName("arcgis-version-management-service-item");for(let o of t)o.serviceItemElementProps.serviceUrl===e&&(o.serviceItemElementProps={...o.serviceItemElementProps,versionInfos:r});let a=i.getElementsByTagName("arcgis-version-management-version-list")[0];a&&(a.versionListElementProps={...a.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),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),i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(i.getElementsByTagName("calcite-flow-item")[0].hidden=!1)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},label:r,messages:t,mode:a,pageSize:o,viewModel:n,viewModel:{loadError:m,state:l}}=this,d=Array.from(n.serviceNameLookup,([c,h])=>({url:c,name:h})),g=l!=="disabled"?d.map(c=>{let h={allowEditing:!e,closable:i,currentUser:n.userLookup.get(c.url),currentVersionIdentifier:n.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:n.advancedEditingUserTypeExtensionLookup.get(c.url),heading:r,isVersionAdministrator:n.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(n.serverVersionLookup.get(c.url)??0)>=11.2,mode:a,pageSize:o,serviceName:c.name,state:l,serviceUrl:c.url,strings:t,versionInfos:n.versioningStateLookup.get(c.url)?.versionInfos??[]};return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{s&&this._removeVersionListFlowItem(s)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${p=>{let _=this._createVersionPropertiesFlowItem(p.detail.serviceUrl,void 0);s?.appendChild(_)}}></arcgis-version-management-service-item>`}):void 0,k=l==="disabled"?v`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(m)}</div></calcite-notice>`:void 0;return v`<calcite-flow class=${L(this.mode==="dialog"?"":"calcite-flow-widget")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${r??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}}><calcite-panel .loading=${l==="loading"||l==="executing"}>${g}${k}</calcite-panel></calcite-flow-item></calcite-flow>`}};S("arcgis-version-management",f);export{f as ArcgisVersionManagement};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as p}from"./
|
6
|
+
import{a as p}from"./JP2BLDGZ.js";import{d as t}from"./S3OT5UG7.js";import{X as g,a as r}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as n,B as d,G as h,f as o,q as l,r as a}from"./L6DN3YTM.js";var c=a`arcgis-sketch{display:block}`,m=p(g),s=class extends d{constructor(){super(),this.widget=m(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=l()("state"),this.arcgisReady=n(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={activeTool:3,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:0,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,tooltipOptions:0,updateGraphics:0}}static{this.shadowRootOptions=o}static{this.styles=c}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){return void this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await r({title:"Sketch Layer"})),e}};h("arcgis-sketch",s);export{s as ArcgisSketch};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as l}from"./JP2BLDGZ.js";import"./S3OT5UG7.js";import{z as r}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as o,B as h,G as n,f as i,q as e,r as s}from"./L6DN3YTM.js";var a=s`arcgis-elevation-profile{display:block}`,d=l(r),t=class extends h{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.effectiveUnits=this.viewModel.effectiveUnits,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideLegend=this.widget.visibleElements.legend,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.input=this.widget.input,this.label=this.widget.label,this.position="bottom-left",this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=e()("input","effectiveUnits","progress","state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,effectiveUnits:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,highlightEnabled:5,hoveredChartPosition:9,icon:1,input:0,label:1,position:1,profiles:0,progress:8,referenceElement:1,state:3,uniformChartScaling:5,unit:1,unitOptions:0}}static{this.shadowRootOptions=i}static{this.styles=a}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}};n("arcgis-elevation-profile",t);export{t as ArcgisElevationProfile};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as n}from"./JP2BLDGZ.js";import{d as h}from"./S3OT5UG7.js";import{F as l}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as o,B as r,G as a,f as e,q as i,r as s}from"./L6DN3YTM.js";var d=s`arcgis-feature-templates{display:block}`,c=n(l),t=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisSelect=h(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=d}async destroy(){await this.manager.destroy()}};a("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as c}from"./JP2BLDGZ.js";import"./S3OT5UG7.js";import{P as n}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as a,B as o,G as r,f as e,q as i,r as s}from"./L6DN3YTM.js";var h=s`arcgis-measurement{display:block}`,d=c(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("activeTool","state"),this.arcgisReady=a()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};r("arcgis-measurement",t);export{t as ArcgisMeasurement};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as d}from"./JP2BLDGZ.js";import{d as h}from"./S3OT5UG7.js";import{q as r}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as o,B as a,G as l,f as e,q as i,r as s}from"./L6DN3YTM.js";var n=s`arcgis-catalog-layer-list{display:block}`,c=d(r),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=e}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};l("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as r}from"./
|
6
|
+
import{a as r}from"./JP2BLDGZ.js";import{d as t}from"./S3OT5UG7.js";import{o as d}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as a,B as h,G as l,f as e,q as s,r as o}from"./L6DN3YTM.js";var n=o`arcgis-bookmarks{display:block}`,m=r(d),i=class extends h{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmark-edit"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=a(),this.arcgisSelect=t(()=>this.widget,"bookmark-select")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=e}static{this.styles=n}async destroy(){await this.manager.destroy()}};l("arcgis-bookmarks",i);export{i as ArcgisBookmarks};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as d}from"./
|
6
|
+
import{a as d}from"./JP2BLDGZ.js";import"./S3OT5UG7.js";import{y as r}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as a,B as l,G as n,f as i,q as s,r as o}from"./L6DN3YTM.js";var g=o`arcgis-editor{display:block}`,h=d(r),t=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=s()("activeWorkflow","state"),this.arcgisReady=a()}static{this.properties={activeWorkflow:0,allowedWorkflows:1,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=i}static{this.styles=g}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};n("arcgis-editor",t);export{t as ArcgisEditor};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as g}from"./
|
6
|
+
import{a as g}from"./JP2BLDGZ.js";import{d as t}from"./S3OT5UG7.js";import{C as m}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as r,B as o,G as h,f as i,q as s,r as a}from"./L6DN3YTM.js";var l=a`arcgis-feature-form{display:block}`,n=g(m),e=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("state"),this.arcgisReady=r(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}};h("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as l}from"./
|
6
|
+
import{a as l}from"./JP2BLDGZ.js";import{d}from"./S3OT5UG7.js";import{D as n}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as o,B as r,G as h,f as i,q as s,r as a}from"./L6DN3YTM.js";var g=a`arcgis-features{display:block}`,w=l(n),t=class extends r{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=s()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=o(),this.arcgisTriggerAction=d(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=i}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as n}from"./JP2BLDGZ.js";import{d as h}from"./S3OT5UG7.js";import{L as l}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as a,B as o,G as r,f as e,q as i,r as s}from"./L6DN3YTM.js";var c=s`arcgis-layer-list{display:block}`,w=n(l),t=class extends o{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=e}static{this.styles=c}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(d,g){this.widget?.triggerAction(d,g)}};r("arcgis-layer-list",t);export{t as ArcgisLayerList};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{a as n}from"./JP2BLDGZ.js";import{d as h}from"./S3OT5UG7.js";import{m as l}from"./FIEUUBMQ.js";import"./YUDSXC6A.js";import{A as a,B as r,G as o,f as t,q as i,r as s}from"./L6DN3YTM.js";var d=s`arcgis-basemap-layer-list{display:block}`,c=n(l),e=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=t}static{this.styles=d}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};o("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as b}from"./
|
6
|
+
import{a as b}from"./NYO5FHDX.js";import{b as w}from"./NIRMKP6A.js";import{da as o,ja as d}from"./FIEUUBMQ.js";import{a as c,b as n,c as g,i as p}from"./YUDSXC6A.js";import{A as t,B as h,G as l,f as a,s as r}from"./L6DN3YTM.js";var i=class extends h{constructor(){super(...arguments),this._watchHandles=[],this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.enableResultArea=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.position="bottom-left",this.selectOnCompleteDisabled=!1,this.selectedTraces=[],this.showGraphicsOnCompleteDisabled=!1,this.showSelectionAttributesDisabled=!1,this.arcgisAddFlag=t(),this.arcgisAddFlagComplete=t(),this.arcgisAddFlagError=t(),this.arcgisAddResultArea=t(),this.arcgisReady=t(),this.arcgisRemoveResultArea=t()}static{this.properties={defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,gdbVersion:1,inputSettings:0,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,view:0,widget:0}}static{this.shadowRootOptions=a}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}willUpdate(e){e.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),e.has("enableResultArea")&&this.enableResultAreaWatcher(this.enableResultArea),e.has("defaultGraphicColor")&&this.defaultGraphicColorWatcher(this.defaultGraphicColor),e.has("disabled")&&this.disabledWatcher(this.disabled,e.get("disabled")),e.has("flags")&&this.flagsWatcher(this.flags),e.has("gdbVersion")&&this.gdbVersionWatcher(this.gdbVersion),e.has("inputSettings")&&this.inputSettingsWatcher(this.inputSettings),e.has("resultAreaProperties")&&this.resultAreaProperties&&this.resultAreaPropertiesWatcher(this.resultAreaProperties),e.has("selectedTraces")&&this.selectedTracesWatcher(this.selectedTraces),e.has("selectOnCompleteDisabled")&&this.selectOnCompleteDisabledWatcher(this.selectOnCompleteDisabled),e.has("showGraphicsOnCompleteDisabled")&&this.showGraphicsOnCompleteDisabledWatcher(this.showGraphicsOnCompleteDisabled),e.has("showSelectionAttributesDisabled")&&this.showSelectionAttributesDisabledWatcher(this.showSelectionAttributesDisabled),e.has("position")&&this.positionWatcher(this.position),e.has("view")&&this.viewWatcher(this.view)}async loaded(){let e=this._createParams(),s=await o(e);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),g(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),b(this)}referenceElementWatcher(e){p(this,e)}enableResultAreaWatcher(e){this.widget&&(this.widget.enableResultArea=e)}defaultGraphicColorWatcher(e){this.widget&&(this.widget.defaultGraphicColor=e)}disabledWatcher(e,s){this.widget&&e!==s&&(this.widget.disabled=e)}flagsWatcher(e){this.widget&&(this.widget.flags=e)}gdbVersionWatcher(e){this.widget&&(this.widget.gdbVersion=e)}inputSettingsWatcher(e){this.widget&&(this.widget.inputSettings=e)}resultAreaPropertiesWatcher(e){this.widget&&(this.widget.resultAreaProperties=e)}selectedTracesWatcher(e){this.widget&&(this.widget.selectedTraces=e)}selectOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.selectOnComplete=!e)}showGraphicsOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showGraphicsOnComplete=!e)}showSelectionAttributesDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showSelectionAttributes=!e)}positionWatcher(e){e!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,e)}viewWatcher(e){e!==void 0&&this.widget&&(this.widget.view=e)}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){let{watch:e}=await d();c(this,e(()=>this.widget.disabled,s=>this.disabled=s))}_createParams(){let e={};return this.defaultGraphicColor&&(e.defaultGraphicColor=this.defaultGraphicColor),this.enableResultArea!==void 0&&(e.enableResultArea=this.enableResultArea),this.flags&&(e.flags=this.flags),this.gdbVersion&&(e.gdbVersion=this.gdbVersion),this.inputSettings&&(e.inputSettings=this.inputSettings),this.resultAreaProperties&&(e.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(e.selectedTraces=this.selectedTraces),this.selectOnCompleteDisabled!==void 0&&(e.selectOnComplete=!this.selectOnCompleteDisabled),this.showGraphicsOnCompleteDisabled!==void 0&&(e.showGraphicsOnComplete=!this.showGraphicsOnCompleteDisabled),this.showSelectionAttributesDisabled!==void 0&&(e.showSelectionAttributes=!this.showSelectionAttributesDisabled),this.view&&(e.view=this.view),e}_proxyEvents(){this.widget.on("add-flag",e=>this.arcgisAddFlag.emit(e)),this.widget.on("add-flag-complete",e=>this.arcgisAddFlagComplete.emit(e)),this.widget.on("add-flag-error",e=>this.arcgisAddFlagError.emit(e)),this.widget.on("add-result-area",e=>this.arcgisAddResultArea.emit(e)),this.widget.on("remove-result-area",e=>this.arcgisRemoveResultArea.emit(e))}render(){return r`<div ${w(e=>this.el.childElem=e)}></div>`}};l("arcgis-utility-network-trace",i);export{i as ArcgisUtilityNetworkTrace};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a,c as l,d as t}from"./
|
6
|
+
import{a,c as l,d as t}from"./S3OT5UG7.js";import{e as v,g as m,ja as d}from"./FIEUUBMQ.js";import{f as g,g as r}from"./YUDSXC6A.js";import{A as s,B as p,G as c,f as o,o as n,r as w}from"./L6DN3YTM.js";var b=w`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`,_=a(m,{}),f=a(v,{}),h=class extends p{constructor(){super(...arguments),this._map=_(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=n(d),this.view=f(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:0,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=b}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.ready&&(this.view.viewpoint=i),this._viewpoint=i)}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-map"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:i}=this.reactiveUtils;this.manager.onLifecycle(()=>[i(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),i(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(i.basemap=void 0,this.basemap=null):i.basemap="topo-vector";let{basemap:e,...u}=i;e||(i=u);let{ground:y,...V}=i;return y||(i=V),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};c("arcgis-map",h);export{h as ArcgisMap};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as u,b as v}from"./
|
6
|
+
import{a as u,b as v}from"./NIRMKP6A.js";import{A as d,B as g,G as V,f as b,s as l}from"./L6DN3YTM.js";var _=class extends g{constructor(){super(...arguments),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.arcgisAlterVersion=d(),this.arcgisCreateVersion=d(),this.arcgisFlowItemBack=d(),this.arcgisFlowItemClose=d()}static{this.properties={versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;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"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:t,isVersionAdministrator:o,serviceUrl:s,versionInfo:p}}=this,{_alterVersionParameters:c,_createVersionParameters:a}=this;switch(i==="create"&&(a||(a={access:"public",description:"",featureServerUrl:s,ownerName:t,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:s,versionIdentifier:p.versionIdentifier,ownerName:h,versionName:m,access:p.access,description:p.description})),e.type){case"calciteChipGroupSelect":{let r=e.target.label,n=e.target.selectedItems[0].value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteInputTextInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteTextAreaInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}}i==="create"&&(a.access!=="public"&&t.toUpperCase()!==a.ownerName?.toUpperCase()&&!o?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{versionPropertiesElementProps:{closable:e,currentUser:i,hasAdvEditingUte:h,state:m,strings:t,versionInfo:o},_mode:s,_ownerName:p,_versionName:c}=this,a=l`<div><calcite-button appearance=outline slot=footer width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button slot=footer width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,r=l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${s==="edit"&&o.access==="public"||s==="create"} value=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="protected"} value=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="private"} value=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,n=l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${s==="edit"?o.description:""}></calcite-text-area></calcite-label>`,w=l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${s==="edit"?c:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,$=l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!h} .value=${s==="edit"?p:i}></calcite-input-text></calcite-label>`,f=s==="create"?l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return l`<calcite-flow-item .closable=${e} .description=${o?o.versionIdentifier.name:""} .heading=${o?t.actions.editVersion:t.actions.newVersion} @calciteFlowItemClose=${this._handleClose}><calcite-panel .loading=${m==="executing"}><calcite-block heading open>${w}${n}${r}${$}${f}${a}</calcite-block></calcite-panel></calcite-flow-item>`}};V("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
import{b as n,c as a,i as c}from"./YUDSXC6A.js";import{A as l,B as o,G as r,f as i,r as s}from"./L6DN3YTM.js";var h=s`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=l(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=i}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
+
* v4.32.0-next.24
|
5
|
+
*/
|
6
|
+
var e=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function n(t){return t.default!==void 0}async function i(){if(e)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return n(t)?t.default:t}async function mt(t){let r=await i();return new r(t)}async function dt(){if(e)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return n(t)?t.default:t}async function o(){if(e)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return n(t)?t.default:t}async function lt(t){let r=await o();return new r(t)}async function a(){if(e)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return n(t)?t.default:t}async function ft(t){let r=await a();return new r(t)}async function s(){if(e)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return n(t)?t.default:t}async function yt(t){let r=await s();return new r(t)}async function u(){if(e)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return n(t)?t.default:t}async function gt(t){let r=await u();return new r(t)}async function c(){if(e)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return n(t)?t.default:t}async function St(t){let r=await c();return new r(t)}async function w(){if(e)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return n(t)?t.default:t}async function Mt(t){let r=await w();return new r(t)}async function p(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return n(t)?t.default:t}async function Ct(t){let r=await p();return new r(t)}async function m(){if(e)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return n(t)?t.default:t}async function $t(t){let r=await m();return new r(t)}async function d(){if(e)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return n(t)?t.default:t}async function Lt(t){let r=await d();return new r(t)}async function l(){if(e)return await window.$arcgis.import("esri/widgets/BasemapGallery/BasemapGalleryViewModel");let t=await import("@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js");return n(t)?t.default:t}async function Rt(t){let r=await l();return new r(t)}async function f(){if(e)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await import("@arcgis/core/widgets/BasemapLayerList.js");return n(t)?t.default:t}async function Vt(t){let r=await f();return new r(t)}async function y(){if(e)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return n(t)?t.default:t}async function bt(t){let r=await y();return new r(t)}async function g(){if(e)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await import("@arcgis/core/widgets/Bookmarks.js");return n(t)?t.default:t}async function ht(t){let r=await g();return new r(t)}async function S(){if(e)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await import("@arcgis/core/widgets/BuildingExplorer.js");return n(t)?t.default:t}async function Pt(t){let r=await S();return new r(t)}async function M(){if(e)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await import("@arcgis/core/widgets/CatalogLayerList.js");return n(t)?t.default:t}async function It(t){let r=await M();return new r(t)}async function C(){if(e)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return n(t)?t.default:t}async function Wt(t){let r=await C();return new r(t)}async function $(){if(e)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await import("@arcgis/core/widgets/CoordinateConversion.js");return n(t)?t.default:t}async function Ft(t){let r=await $();return new r(t)}async function L(){if(e)return await window.$arcgis.import("esri/widgets/Daylight");let t=await import("@arcgis/core/widgets/Daylight.js");return n(t)?t.default:t}async function Gt(t){let r=await L();return new r(t)}async function R(){if(e)return await window.$arcgis.import("esri/widgets/DirectionalPad");let t=await import("@arcgis/core/widgets/DirectionalPad.js");return n(t)?t.default:t}async function Tt(t){let r=await R();return new r(t)}async function V(){if(e)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return n(t)?t.default:t}async function At(t){let r=await V();return new r(t)}async function b(){if(e)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return n(t)?t.default:t}async function Dt(t){let r=await b();return new r(t)}async function h(){if(e)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return n(t)?t.default:t}async function kt(t){let r=await h();return new r(t)}async function P(){if(e)return await window.$arcgis.import("esri/widgets/Editor");let t=await import("@arcgis/core/widgets/Editor.js");return n(t)?t.default:t}async function vt(t){let r=await P();return new r(t)}async function I(){if(e)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await import("@arcgis/core/widgets/ElevationProfile.js");return n(t)?t.default:t}async function Et(t){let r=await I();return new r(t)}async function W(){if(e)return await window.$arcgis.import("esri/widgets/Expand");let t=await import("@arcgis/core/widgets/Expand.js");return n(t)?t.default:t}async function Ot(t){let r=await W();return new r(t)}async function F(){if(e)return await window.$arcgis.import("esri/widgets/Feature");let t=await import("@arcgis/core/widgets/Feature.js");return n(t)?t.default:t}async function Bt(t){let r=await F();return new r(t)}async function G(){if(e)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await import("@arcgis/core/widgets/FeatureForm.js");return n(t)?t.default:t}async function Ut(t){let r=await G();return new r(t)}async function T(){if(e)return await window.$arcgis.import("esri/widgets/Features");let t=await import("@arcgis/core/widgets/Features.js");return n(t)?t.default:t}async function xt(t){let r=await T();return new r(t)}async function A(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return n(t)?t.default:t}async function Nt(t){let r=await A();return new r(t)}async function D(){if(e)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return n(t)?t.default:t}async function Kt(t){let r=await D();return new r(t)}async function k(){if(e)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return n(t)?t.default:t}async function zt(t){let r=await k();return new r(t)}async function v(){if(e)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return n(t)?t.default:t}async function Ht(t){let r=await v();return new r(t)}async function E(){if(e)return await window.$arcgis.import("esri/widgets/Histogram");let t=await import("@arcgis/core/widgets/Histogram.js");return n(t)?t.default:t}async function Qt(t){let r=await E();return new r(t)}async function O(){if(e)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return n(t)?t.default:t}async function qt(t){let r=await O();return new r(t)}async function B(){if(e)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return n(t)?t.default:t}async function jt(t){let r=await B();return new r(t)}async function U(){if(e)return await window.$arcgis.import("esri/widgets/LayerList");let t=await import("@arcgis/core/widgets/LayerList.js");return n(t)?t.default:t}async function Jt(t){let r=await U();return new r(t)}async function x(){if(e)return await window.$arcgis.import("esri/widgets/Legend");let t=await import("@arcgis/core/widgets/Legend.js");return n(t)?t.default:t}async function Zt(t){let r=await x();return new r(t)}async function N(){if(e)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await import("@arcgis/core/widgets/LineOfSight.js");return n(t)?t.default:t}async function Xt(t){let r=await N();return new r(t)}async function K(){if(e)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return n(t)?t.default:t}async function Yt(t){let r=await K();return new r(t)}async function z(){if(e)return await window.$arcgis.import("esri/widgets/Measurement");let t=await import("@arcgis/core/widgets/Measurement.js");return n(t)?t.default:t}async function _t(t){let r=await z();return new r(t)}async function H(){if(e)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await import("@arcgis/core/widgets/NavigationToggle.js");return n(t)?t.default:t}async function tr(t){let r=await H();return new r(t)}async function Q(){if(e)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return n(t)?t.default:t}async function rr(t){let r=await Q();return new r(t)}async function q(){if(e)return await window.$arcgis.import("esri/widgets/Print");let t=await import("@arcgis/core/widgets/Print.js");return n(t)?t.default:t}async function er(t){let r=await q();return new r(t)}async function j(){if(e)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return n(t)?t.default:t}async function nr(t){let r=await j();return new r(t)}async function J(){if(e)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return n(t)?t.default:t}async function ir(t){let r=await J();return new r(t)}async function Z(){if(e)return await window.$arcgis.import("esri/widgets/Search");let t=await import("@arcgis/core/widgets/Search.js");return n(t)?t.default:t}async function or(t){let r=await Z();return new r(t)}async function X(){if(e)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await import("@arcgis/core/widgets/ShadowCast.js");return n(t)?t.default:t}async function ar(t){let r=await X();return new r(t)}async function Y(){if(e)return await window.$arcgis.import("esri/widgets/Sketch");let t=await import("@arcgis/core/widgets/Sketch.js");return n(t)?t.default:t}async function sr(t){let r=await Y();return new r(t)}async function _(){if(e)return await window.$arcgis.import("esri/widgets/Slice");let t=await import("@arcgis/core/widgets/Slice.js");return n(t)?t.default:t}async function ur(t){let r=await _();return new r(t)}async function tt(){if(e)return await window.$arcgis.import("esri/widgets/Slider");let t=await import("@arcgis/core/widgets/Slider.js");return n(t)?t.default:t}async function cr(t){let r=await tt();return new r(t)}async function rt(){if(e)return await window.$arcgis.import("esri/widgets/Swipe");let t=await import("@arcgis/core/widgets/Swipe.js");return n(t)?t.default:t}async function wr(t){let r=await rt();return new r(t)}async function et(){if(e)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return n(t)?t.default:t}async function pr(t){let r=await et();return new r(t)}async function nt(){if(e)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return n(t)?t.default:t}async function mr(t){let r=await nt();return new r(t)}async function it(){if(e)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return n(t)?t.default:t}async function dr(t){let r=await it();return new r(t)}async function ot(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return n(t)?t.default:t}async function lr(t){let r=await ot();return new r(t)}async function at(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return n(t)?t.default:t}async function fr(t){let r=await at();return new r(t)}async function st(){if(e)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return n(t)?t.default:t}async function yr(t){let r=await st();return new r(t)}async function ut(){if(e)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return n(t)?t.default:t}async function gr(t){let r=await ut();return new r(t)}async function ct(){if(e)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return n(t)?t.default:t}async function Sr(t){let r=await ct();return new r(t)}async function wt(){if(e)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return n(t)?t.default:t}async function Mr(t){let r=await wt();return new r(t)}async function pt(){if(e)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return n(t)?t.default:t}async function Cr(t){let r=await pt();return new r(t)}async function $r(){if(e)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return n(t)?t.default:t}async function Lr(){if(e)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return n(t)?t.default:t}async function Rr(){if(e)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return n(t)?t.default:t}async function Vr(){if(e)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return n(t)?t.default:t}export{mt as a,dt as b,lt as c,ft as d,yt as e,gt as f,St as g,Mt as h,Ct as i,$t as j,Lt as k,Rt as l,Vt as m,bt as n,ht as o,Pt as p,It as q,Wt as r,Ft as s,Gt as t,Tt as u,At as v,Dt as w,kt as x,vt as y,Et as z,Ot as A,Bt as B,Ut as C,xt as D,Nt as E,Kt as F,zt as G,Ht as H,Qt as I,qt as J,jt as K,Jt as L,Zt as M,Xt as N,Yt as O,_t as P,tr as Q,rr as R,er as S,nr as T,ir as U,or as V,ar as W,sr as X,ur as Y,cr as Z,wr as _,pr as $,mr as aa,dr as ba,lr as ca,fr as da,yr as ea,gr as fa,Sr as ga,Mr as ha,Cr as ia,$r as ja,Lr as ka,Rr as la,Vr as ma};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{b as d}from"./
|
6
|
+
import{b as d}from"./S3OT5UG7.js";import{b as t}from"./YUDSXC6A.js";import{H as p,i as n,n as m,p as l}from"./L6DN3YTM.js";var D=l(p),u=(c,e)=>(s,o)=>y(s,c,o),i=class extends d{hostConnected(){this.component.manager.loadedCalled&&t(this.component)}async hostLoad(){await super.hostLoad(),!this.component.manager.destroyed&&this._watchMetaProperties()}hostLoaded(){let{el:e}=this.component,s=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=s??e.childElem;let o=!1,h=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view,set:r=>{let w=this.component.el.view,a=r;this._instance.view=a,this._instance.map=a?.map,this._watchViewDestroy(),this.component.requestUpdate("view",w),r&&!o&&(o=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),h&&(this._instance.view=h),this.component.el.isConnected&&(t(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){n(this.component,"position",e=>{this.component.el.childElem!=null&&typeof e=="string"&&t(this.component)}),n(this.component,"referenceElement",()=>t(this.component))}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},y=m(i);export{D as a,u as b};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
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.0-next.
|
4
|
+
* v4.32.0-next.24
|
5
5
|
*/
|
6
|
-
import{a as v,b as m}from"./
|
6
|
+
import{a as v,b as m}from"./NIRMKP6A.js";import{A as o,B as p,G as f,s as n}from"./L6DN3YTM.js";var l=class extends p{constructor(){super(...arguments),this._filterInputElement=v(),this.currentPage=1,this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,versionListElementProps:0}}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,versionListElementProps:{closable:i,currentUser:t,currentVersionIdentifier:c,executionError:h,hasAdvEditingUte:d,heading:u,isVersionAdministrator:V,isVersioningApiAvailable:g,pageSize:s,serviceName:I,serviceUrl:a,state:_,strings:{headers:E},strings:r,versionInfos:$}}=this,P=n`<calcite-block .heading=${E.currentVersion} .description=${c.name} overlay-positioning=fixed></calcite-block>`,x=n`<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>${r.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>s?this._paginate(this._filteredVersionInfos,s,e):this._filteredVersionInfos;let b=this._filteredVersionInfos.length>s?n`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/s)}></calcite-pagination>`:void 0,C=this._paginate(this._paginatedVersionInfos,s,1).map(k=>n`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:t,currentVersionIdentifier:c,isCurrentVersionCard:!1,hasAdvEditingUte:d,isVersionAdministrator:V,isVersioningApiAvailable:g,serviceUrl:a,strings:r,versionInfo:k}}></arcgis-version-management-version-item>`),U=$.length>s?n`<calcite-block heading open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${r.actions.searchVersions} ${m(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,L=n`<calcite-list>${C}</calcite-list>`,w=g&&d?n`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${r.actions.newVersion} @click=${()=>{this.arcgisNewVersion.emit({serviceUrl:a})}}></calcite-fab>`:void 0,A=h?n`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(h)}</div></calcite-notice>`:void 0;return n`<calcite-flow-item .closable=${i} .description=${I} .heading=${u}><calcite-panel .loading=${_==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${r.headers.manageVersions} (${this._filteredVersionInfos.length})`:r.headers.manageVersions}>${x}${U}${L}${w}</calcite-panel>${b}${A}</calcite-panel></calcite-flow-item>`}};f("arcgis-version-management-version-list",l);export{l as ArcgisVersionManagementVersionList};
|