@arcgis/map-components 4.33.0-next.13 → 4.33.0-next.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{OMWVKGG6.js → 3QCD5Q6C.js} +2 -2
- package/dist/arcgis-map-components/{O7SMKQ4P.js → 3SFYPZSZ.js} +2 -2
- package/dist/arcgis-map-components/{5MB2PI3P.js → 46AQYXJY.js} +2 -2
- package/dist/arcgis-map-components/{3A2GF4GE.js → 4YPW6DZ2.js} +2 -2
- package/dist/arcgis-map-components/{6ECZO26E.js → 5F3A7MA5.js} +2 -2
- package/dist/arcgis-map-components/{3PG3WT5M.js → 5GMAOEGJ.js} +2 -2
- package/dist/arcgis-map-components/{7PKYHWTZ.js → 5OVPHYDK.js} +2 -2
- package/dist/arcgis-map-components/{WTH53L5J.js → 5UYMMUZH.js} +2 -2
- package/dist/arcgis-map-components/{UC6B5E3H.js → 5XCGO5XN.js} +1 -1
- package/dist/arcgis-map-components/{ALJ2NKOC.js → 76B6FVRT.js} +2 -2
- package/dist/arcgis-map-components/{QYHIMB7W.js → 7I4TR7GH.js} +2 -2
- package/dist/arcgis-map-components/{4W2IDWP6.js → AKUGYMUX.js} +2 -2
- package/dist/arcgis-map-components/{SXOSAGH5.js → AL2SQZ4S.js} +2 -2
- package/dist/arcgis-map-components/{SMLPH3EJ.js → AOE73IAF.js} +2 -2
- package/dist/arcgis-map-components/{BXXOHU5T.js → AOWHGENO.js} +2 -2
- package/dist/arcgis-map-components/{RDLBUV2U.js → APBXNVZR.js} +2 -2
- package/dist/arcgis-map-components/{ARL4DNDE.js → ATNEWNCI.js} +2 -2
- package/dist/arcgis-map-components/{N56AG2AR.js → AXLA7RM2.js} +2 -2
- package/dist/arcgis-map-components/{EJQYJCQP.js → B7APW5GJ.js} +2 -2
- package/dist/arcgis-map-components/{PIL5STOI.js → BSW6A72R.js} +2 -2
- package/dist/arcgis-map-components/{E7G56XQH.js → BVGPZFFJ.js} +2 -2
- package/dist/arcgis-map-components/{VNBJ3EWX.js → BZI2SQ42.js} +2 -2
- package/dist/arcgis-map-components/{CL5PD3ZW.js → C2X3R7OM.js} +2 -2
- package/dist/arcgis-map-components/{Y7A3S7SF.js → C4WMJOZC.js} +2 -2
- package/dist/arcgis-map-components/{SE6HJLBJ.js → C5SGSXIY.js} +2 -2
- package/dist/arcgis-map-components/{7MD2VYCP.js → D73777DI.js} +2 -2
- package/dist/arcgis-map-components/{JAZIY24E.js → DC2LAX4C.js} +2 -2
- package/dist/arcgis-map-components/{B54RJ2OL.js → E4WGVVLS.js} +2 -2
- package/dist/arcgis-map-components/{43RM43FG.js → EEDSRCXB.js} +2 -2
- package/dist/arcgis-map-components/{G2WCU4MW.js → EGU5R3DM.js} +2 -2
- package/dist/arcgis-map-components/{2IDI566S.js → EM5EKS2U.js} +2 -2
- package/dist/arcgis-map-components/{3ALLS3IS.js → FYFUOPOG.js} +2 -2
- package/dist/arcgis-map-components/{QA4PFZTU.js → HLAHDO7Q.js} +2 -2
- package/dist/arcgis-map-components/{BA3NGPEO.js → IXXWXSAU.js} +2 -2
- package/dist/arcgis-map-components/{DEVUSZY4.js → JL7O2TWL.js} +2 -2
- package/dist/arcgis-map-components/{77GERM6U.js → JM3HGN7O.js} +2 -2
- package/dist/arcgis-map-components/{XQ4IYQ2K.js → JWCMVH4R.js} +2 -2
- package/dist/arcgis-map-components/{BCYDYLJV.js → JYOKPK2Y.js} +2 -2
- package/dist/arcgis-map-components/{FJPYVYAE.js → KDFL7YHG.js} +2 -2
- package/dist/arcgis-map-components/{LTXPW37Y.js → KVUO6PPZ.js} +2 -2
- package/dist/arcgis-map-components/{ULIKMVGG.js → LFMK7V62.js} +2 -2
- package/dist/arcgis-map-components/{A2Q24HOV.js → LHCTLEHC.js} +2 -2
- package/dist/arcgis-map-components/{TEQEJVRL.js → LO6UGYCB.js} +2 -2
- package/dist/arcgis-map-components/{3IEKTOIA.js → LRKGUZME.js} +2 -2
- package/dist/arcgis-map-components/{QJKGBD2M.js → MLEFSHMY.js} +1 -1
- package/dist/arcgis-map-components/{IAF3L2E4.js → MPBAC2KP.js} +2 -2
- package/dist/arcgis-map-components/{YRPTNMYV.js → NADAC7QC.js} +2 -2
- package/dist/arcgis-map-components/{AQG3R7KB.js → NRRIBWUW.js} +2 -2
- package/dist/arcgis-map-components/{EWDY6UOR.js → OINIY252.js} +2 -2
- package/dist/arcgis-map-components/{KS5ODZ4A.js → OL5U274A.js} +2 -2
- package/dist/arcgis-map-components/{MR6347JC.js → P6URY6VU.js} +2 -2
- package/dist/arcgis-map-components/{SUOLWPII.js → R7ZNH5AN.js} +2 -2
- package/dist/arcgis-map-components/{M7377YUT.js → REE7WCR6.js} +2 -2
- package/dist/arcgis-map-components/{QQZ5D3EC.js → SN7JQKU4.js} +2 -2
- package/dist/arcgis-map-components/{QFF6VY2W.js → STPTH7XP.js} +2 -2
- package/dist/arcgis-map-components/{CHYOJA5L.js → SYIFFCIM.js} +2 -2
- package/dist/arcgis-map-components/{LFB5SAS7.js → TSWWOYRK.js} +1 -1
- package/dist/arcgis-map-components/{7UM6X7FG.js → U3XRVU4T.js} +2 -2
- package/dist/arcgis-map-components/{RSMC6QJW.js → UCEFNO74.js} +2 -2
- package/dist/arcgis-map-components/{NYC7WEVB.js → ULVMN22P.js} +2 -2
- package/dist/arcgis-map-components/{MAREKZVM.js → UN7L4ATG.js} +2 -2
- package/dist/arcgis-map-components/{ZZTWQVXO.js → VJY7QVF6.js} +2 -2
- package/dist/arcgis-map-components/{IWLSIP4K.js → VL6SBQMI.js} +2 -2
- package/dist/arcgis-map-components/{6NXTSHCD.js → VLE2NI3P.js} +2 -2
- package/dist/arcgis-map-components/{55NEJ4DY.js → VVV26PX6.js} +2 -2
- package/dist/arcgis-map-components/{SO3HZ57N.js → W5ZYLWNS.js} +2 -2
- package/dist/arcgis-map-components/{IE4EGUJS.js → WPQNE7ZI.js} +1 -1
- package/dist/arcgis-map-components/{BG6SE4FB.js → XIT3B6IF.js} +2 -2
- package/dist/arcgis-map-components/{BSMLLCNP.js → XPLEC7MI.js} +2 -2
- package/dist/arcgis-map-components/{3IEK2QV4.js → XQAFXLBX.js} +2 -2
- package/dist/arcgis-map-components/{7E4UZIHY.js → YTFHVSDQ.js} +2 -2
- package/dist/arcgis-map-components/{YPABMJ45.js → ZLFU4GW7.js} +2 -2
- package/dist/arcgis-map-components/{7524DQMN.js → ZSUY5F66.js} +2 -2
- package/dist/arcgis-map-components/{I6BRENYQ.js → ZZLYILVW.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useView.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/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +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 +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as n}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./TSWWOYRK.js";var h=await $arcgis.l("widgets/AreaMeasurement2D");var m=e`@layer{arcgis-area-measurement-2d{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=m}async destroy(){await this.manager.destroy()}};r("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as r}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as l,G as n,g as i,q as s,r as o}from"./TSWWOYRK.js";var g=await $arcgis.l("widgets/Editor");var d=o`@layer{arcgis-editor{display:block}}`,p=r(g),t=class extends l{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,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,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=d}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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as n}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as s,B as o,G as a,g as e,r as i}from"./TSWWOYRK.js";var c=await $arcgis.l("widgets/Expand");var d=i`@layer{arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}}`,p=n(c),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.focusTrapEnabled=this.widget.focusTrapDisabled,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=s(),this.content??=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,focusTrapEnabled:5,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=e}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);export{t as ArcgisExpand};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as M}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as M}from"./7I4TR7GH.js";import{a as r}from"./5XCGO5XN.js";import{a as f}from"./D73777DI.js";import{d as s}from"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as m,B as v,C as o,E as u,G as w,a as h,g as d,q as g,r as p,s as e}from"./TSWWOYRK.js";var T=await $arcgis.l("widgets/Track/TrackViewModel");var $=p`@layer{arcgis-track{display:block}}`,O={base:"esri-track"},D=M(T),a=class extends v{constructor(){super(...arguments),this.messages=f(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=s(()=>this.viewModel,"track"),this.arcgisError=s(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=g()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=d}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,k=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(k?n?.stopTracking:n?.startTracking)??"",b=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${o(h(O.base,r.widget))}>${!b&&e`<calcite-button class=${o(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??u}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};w("arcgis-track",a);export{a as ArcgisTrack};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as h}from"./B7APW5GJ.js";import{d as l}from"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as o,G as r,g as e,q as i,r as s}from"./TSWWOYRK.js";var g=await $arcgis.l("widgets/LayerList");var c=s`@layer{arcgis-layer-list{display:block}}`,w=h(g),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.filterPredicate=this.widget.filterPredicate,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=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,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,n){this.widget?.triggerAction(d,n)}};r("arcgis-layer-list",t);export{t as ArcgisLayerList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as u}from"./5XCGO5XN.js";import{a as y,b}from"./D73777DI.js";import"./WPQNE7ZI.js";import{A as p,B as h,C as v,E as e,G as m,g as r,q as l,r as d,s as g}from"./TSWWOYRK.js";var{when:M}=await $arcgis.l("core/reactiveUtils");var $="arcgis-navigation-toggle",w={base:$},_=d`@layer{.arcgis-navigation-toggle{display:flex}}`,s=class extends h{constructor(){super(...arguments),this.view=b(this),this._messages=y(),this.autoDestroyDisabled=!1,this.icon="pan",this.layout="vertical",this.navigationMode="pan",this.position="bottom-left",this.state="disabled",this.arcgisPropertyChange=l()("layout","state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,layout:3,navigationMode:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=r}static{this.styles=_}async destroy(){await this.manager.destroy()}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{let{view:a}=this;return a?.ready&&a?.type==="3d"?"ready":"disabled"},a=>{this.state=a},{sync:!0,initial:!0})])}willUpdate(a){a.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let a=this.view?.navigation?.actionMap;if(!a)return;let t=this.navigationMode==="pan";a.dragPrimary=t?"pan":"rotate",a.dragSecondary=t?"rotate":"pan"}render(){let{_messages:a,navigationMode:t,state:f}=this,o=a.pan??"",n=a.rotate??"",i=f==="disabled",c=t==="pan";return g`<calcite-action-bar .ariaLabel=${this.label} class=${v({[w.base]:!0,[u.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${c} appearance=solid data-testid=navigation-toggle-pan .disabled=${i} icon=move @click=${this._onPanClick} scale=s .text=${o} title=${o??e}></calcite-action><calcite-action .active=${!c} appearance=solid data-testid=navigation-toggle-rotate .disabled=${i} icon=rotate @click=${this._onRotateClick} scale=s .text=${n} title=${n??e}></calcite-action></calcite-action-bar>`}};m("arcgis-navigation-toggle",s);export{s as ArcgisNavigationToggle};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as R}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{b as R}from"./VL6SBQMI.js";import{a as w}from"./7I4TR7GH.js";import{a as d}from"./5XCGO5XN.js";import{a as f}from"./D73777DI.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as b,B as v,C as a,D as _,E as c,G as $,b as u,g as p,q as m,r as g,s as o}from"./TSWWOYRK.js";var[{watch:x},y]=await $arcgis.l(["core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel"]);var C=[-45,0,45,-90,90,-135,180,135],M={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},S=g`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background:transparent;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function B(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function E(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var k=w(y),h=class extends v{constructor(){super(...arguments),this.messages=f({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=k(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=m()("state"),this.arcgisReady=b()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=p}static{this.styles=S}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[x(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?this.el.childElem?.focus():u(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=B(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return o`<calcite-action-pad expand-disabled layout=grid><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${R(this._setButtonContainerRef)}>${C.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${C.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-pad>`}_renderButton(t){let{label:e,iconName:i}=M[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||E(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${_(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return o`<calcite-action-pad expand-disabled layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-pad>`}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};$("arcgis-directional-pad",h);export{h as ArcgisDirectionalPad};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as d}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as n,B as o,G as h,g as i,q as s,r as a}from"./TSWWOYRK.js";var r=await $arcgis.l("widgets/Feature");var c=a`@layer{arcgis-feature{display:block}}`,p=d(r),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,l){this.widget?.setActiveMedia(t,l)}};h("arcgis-feature",e);export{e as ArcgisFeature};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
4
|
var e={anchor:"esri-widget__anchor",anchorDisabled:"esri-widget__anchor--disabled",button:"esri-button",buttonDisabled:"esri-button--disabled",buttonHalf:"esri-button--half",buttonSecondary:"esri-button--secondary",buttonSmall:"esri-button--small",buttonTertiary:"esri-button--tertiary",buttonThird:"esri-button--third",disabled:"esri-disabled",disabledElement:"esri-disabled-element",empty:"esri-widget__content--empty",emptyIllustration:"esri-widget__content-illustration--empty",heading:"esri-widget__heading",hidden:"esri-hidden",input:"esri-input",interactive:"esri-interactive",loader:"esri-widget__loader",loaderAnimation:"esri-widget__loader-animation",loaderText:"esri-widget__loader-text",menu:"esri-menu",menuHeader:"esri-menu__header",menuItem:"esri-menu__list-item",menuItemActive:"esri-menu__list-item--active",menuItemFocus:"esri-menu__list-item--focus",menuList:"esri-menu__list",noBookmarksIcon:"esri-widget__no-bookmark-icon",panel:"esri-widget--panel",panelHeightOnly:"esri-widget--panel-height-only",primaryTick:"primary-tick",primaryTickAmPm:"primary-tick__ampm",primaryTickLabel:"primary-tick__label",rotating:"esri-rotating",secondaryTick:"secondary-tick",select:"esri-select",table:"esri-widget__table",ui:"esri-component",widget:"esri-widget esri-component",widgetButton:"esri-widget--button",widgetButtonActive:"esri-widget--button-active",widgetDisabled:"esri-widget--disabled"};export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as n}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as o,G as r,g as s,q as i,r as e}from"./TSWWOYRK.js";var h=await $arcgis.l("widgets/AreaMeasurement3D");var l=e`@layer{arcgis-area-measurement-3d{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=i()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{c as r}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{c as r}from"./D73777DI.js";import{b as i}from"./AOE73IAF.js";import{o as e}from"./TSWWOYRK.js";var l=(o,t)=>(n,a)=>c(n,o,a),s=class extends i{constructor(){super(...arguments),this.viewController=new r(this.component),this._viewWatchHandle=void 0}async hostLoad(){await super.hostLoad(),this._viewWatchHandle=this.reactiveUtils.watch(()=>this.component.el.view,t=>{this._instance.view=t,this._instance.map=t?.map},{sync:!0,initial:!0})}hostDestroy(){this._viewWatchHandle?.remove(),super.hostDestroy()}},c=e(s);export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as l}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as r,B as d,G as n,g as a,q as s,r as o}from"./TSWWOYRK.js";var[h,g]=await $arcgis.l(["layers/OrientedImageryLayer","widgets/OrientedImageryViewer"]);var m=o`@layer{arcgis-oriented-imagery-viewer{display:block}}`,y=l(g),i=class extends d{constructor(){super(...arguments),this.widget=y(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=s()("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=a}static{this.styles=m}async destroy(){await this.manager.destroy()}willUpdate(e){if(e.has("orientedImageryLayerItemId")){let t=this.orientedImageryLayerItemId;t&&this.widget&&(this.layer=new h({portalItem:{id:t}}),this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?this._onReady():this.el.addEventListener("arcgisReady",()=>{this._onReady()},{once:!0}))}_onReady(){let{layer:e}=this;e&&(this.widget.view?.map.add(e),this._hasOrientedImageryLayerToAdd=!1)}};n("arcgis-oriented-imagery-viewer",i);export{i as ArcgisOrientedImageryViewer};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as u}from"./7I4TR7GH.js";import{a as e}from"./5XCGO5XN.js";import{a as p}from"./D73777DI.js";import{d as g}from"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as h,B as d,C as a,G as m,a as c,g as s,q as l,r as n,s as o}from"./TSWWOYRK.js";var b=await $arcgis.l("widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel");var k=n`@layer{arcgis-link-chart-layout-switcher{display:block}}`,v={basicLayoutCategory:["basic-grid"],organicLayoutCategory:["organic-standard","organic-community","geographic-organic-standard"],treeLayoutCategory:["tree-left-to-right","radial-root-centric"],hierarchicalLayoutCategory:["hierarchical-bottom-to-top"],chronologicalLayoutCategory:["chronological-mono-timeline","chronological-multi-timeline"]},L={"organic-standard":"force-directed-link-chart-layout","organic-community":"community-link-chart-layout","basic-grid":"simple-link-chart-layout","hierarchical-bottom-to-top":"hierarchical-link-chart-layout","radial-root-centric":"radial-tree-link-chart-layout","tree-left-to-right":"smart-tree-link-chart-layout","geographic-organic-standard":"geographic-link-chart-layout","chronological-mono-timeline":"clock-forward","chronological-multi-timeline":"clock-forward"},$={"organic-standard":"forceDirected","organic-community":"community","basic-grid":"simple","hierarchical-bottom-to-top":"hierarchical","radial-root-centric":"radialTree","tree-left-to-right":"smartTree","geographic-organic-standard":"geographic","chronological-mono-timeline":"chronologicalSingle","chronological-multi-timeline":"chronologicalMultiple"},C={base:"esri-link-chart-layout-switcher"},M=u(b),r=class extends d{constructor(){super(...arguments),this.messages=p(),this.viewModel=M(this),this.autoDestroyDisabled=!1,this.icon="nodes-link",this.layout=this.viewModel.layout,this.position="top-left",this.preventExtentUpdate=this.viewModel.preventExtentUpdate,this.state=this.viewModel.state,this.arcgisSwitchLayout=g(()=>this.viewModel,"switchLayout"),this.arcgisPropertyChange=l()("state"),this.arcgisReady=h()}static{this.properties={autoDestroyDisabled:5,icon:3,label:1,layout:32,position:3,preventExtentUpdate:5,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=k}async destroy(){await this.manager.destroy()}async switchLayout(t){this.viewModel.switchLayout(t)}render(){let{messages:t,icon:y}=this;return o`<div class=${a(c(C.base,e.widget))}><calcite-dropdown scale=s width=m max-items=9><calcite-button class=${a(e.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state==="disabled"} .iconStart=${y??void 0} .label=${t.layoutOptions??"Layout"}></calcite-button>${Object.entries(v).map(([w,f])=>o`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[w]}>${f.map(i=>o`<calcite-dropdown-item .iconStart=${L[i]} .selected=${i===this.layout?!0:void 0} @click=${()=>void this.switchLayout(i)}>${t[$[i]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown></div>`}};m("arcgis-link-chart-layout-switcher",r);export{r as ArcgisLinkChartLayoutSwitcher};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{c as y,e as g,h as S,i as M,k as C,l as $,m as L,n as R,o as h}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{c as y,e as g,h as S,i as M,k as C,l as $,m as L,n as R,o as h}from"./TSWWOYRK.js";var I=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function W(t){return t.default!==void 0}async function V(){if(I)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.l("core/reactiveUtils");return W(t)?t.default:t}var l;async function b(){return l??(l=V()),await l}var x=(t,e)=>(r,i)=>G(r,t,i),F=class extends M{constructor(t,e,r){super(t),this._loadAccessor=e,this._options=r,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(f.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),C(t,i=>{i&&(this._instancePropName=i)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await b();let t=this.component,e=this._gatherParameters(),r=this._options?.editConstructorProperties?.call(t,e)??e,i=r instanceof Promise?await r:r,c=t,n=typeof this._instancePropName=="string"?c[this._instancePropName]:void 0;n!=null&&n!==this.exports?(this._instance=n,n.set(i)):this._instance=await this._createInstance(i),!t.manager.destroyed&&(f.watchComponentUpdates(this,this._instance,this._watchedProperties),f.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([r,i])=>[i,this.component[r]]).filter(([,r])=>r!==void 0))}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},G=h(F),f={makeGetterProxy:(t,e,r,i)=>new Proxy({},{has:(c,n)=>typeof n=="string"||n in c,get:(c,n)=>{let w=Reflect.get(c,n);if(typeof n=="symbol"||n in Promise.prototype)return w;let u=n in c,o=r?.value??!0;if(u||!o)return w;if(!e.has(n))return $(t,a=>{a!==void 0&&e.set(a.key,n)},w)}}),watchComponentUpdates(t,e,r){function i(u,o){let a=r.get(o),s=e[a];return typeof s=="boolean"&&a!==o&&o.toLowerCase().includes("disable")?!s:s}let c=(u,o,a)=>{let s=r.get(a),p=e[s],m=typeof p=="boolean"&&s!==a&&a.toLowerCase().includes("disable");if((m?!p:n.manager.isLit?p??void 0:p)===u)return u;e[s]=m?!u:u;let d=e[s];return m?!d:d},n=t.component,w=n.manager.internals;r.forEach((u,o)=>{w.accessorGetter[o]=i,w.accessorSetter[o]=c})},watchAccessorUpdates(t,e,r){let{component:i}=t,c=i,n=e,w=T(e);R(()=>r.forEach((u,o)=>{if(w.has(u))return;let a=c[o],s=n[u];i.manager.isLit&&(s??(s=void 0));let m=typeof a=="boolean"&&u!==o&&o.toLowerCase().includes("disable")?!a:a;m!=null&&s!==m&&(n[u]=m)})),t.onLifecycle(()=>{if(!e.destroyed)return Array.from(r,([u,o])=>t.reactiveUtils.watch(()=>n[o],()=>{let a=n[o],p=typeof a=="boolean"&&o!==u&&u.toLowerCase().includes("disable")?!a:a;L(()=>{c[u]=p})},{initial:!0}))})},reEmitAccessorEvents(t,e,r,i){if(!("on"in e&&typeof e.on=="function"))return;let n=Object.entries(t.component).map(([o,a])=>{let s=a;if(!o.startsWith(i)||o===i||typeof s!="object"||s===null||!("emit"in s)||typeof s.emit!="function")return;let p=s.emit,m=o.slice(i.length);return[y(m).toLowerCase(),p]}).filter(g);if(n.length===0)return;let w=e,u=()=>w;t.onLifecycle(()=>{if(!e.destroyed)return n.map(([o,a])=>r.on(u,o,a))})},async reCreate(t,e){let r=e.manager.useRefSync(t);r!==void 0&&await r.reCreate()}};function T(t){let r=Object.entries(t.__accessor__?.metadata??{});return new Set(r.filter(([i,c])=>c?.readOnly===!0).map(([i])=>i))}function N(t,e){let r=S(),i=r.manager,c=b();i.onLoaded(()=>{c.then(w=>i.onLifecycle(()=>w.on(t,e,n.emit)))});let n=r.constructor.$createEvent();return n}export{x as a,F as b,f as c,N as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as r}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as l,G as o,g as i,q as t,r as s}from"./TSWWOYRK.js";var c=await $arcgis.l("widgets/ScaleRangeSlider");var n=s`@layer{arcgis-scale-range-slider{display:block}}`,h=r(c),e=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=t()("state","minScale","maxScale"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:0,state:3}}static{this.shadowRootOptions=i}static{this.styles=n}async destroy(){await this.manager.destroy()}};o("arcgis-scale-range-slider",e);export{e as ArcgisScaleRangeSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as d}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as o,B as a,G as h,g as t,q as e,r as s}from"./TSWWOYRK.js";var n=await $arcgis.l("widgets/ShadowCast");var l=s`@layer{arcgis-shadow-cast{display:block}}`,c=d(n),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=e()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=t}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(r){return await this.widget?.viewModel.getDuration(r)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);export{i as ArcgisShadowCast};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{A as p,B as g,E as v,G as h,g as m,s as a}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{A as p,B as g,E as v,G as h,g as m,s as a}from"./TSWWOYRK.js";var c=class extends g{constructor(){super(...arguments),this.arcgisManageVersion=p()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=m}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,o=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=a`<calcite-action appearance=transparent .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return a`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||o&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as r}from"./B7APW5GJ.js";import{d as t}from"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as o,B as h,G as n,g as s,q as e,r as a}from"./TSWWOYRK.js";var c=await $arcgis.l("widgets/ValuePicker");var l=a`@layer{arcgis-value-picker{display:block}}`,p=r(c),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=e()("values"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);export{i as ArcgisValuePicker};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as y,c as a}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{b as y,c as a}from"./AOE73IAF.js";import{b as r}from"./WPQNE7ZI.js";import{j as h,k as w,o as _}from"./TSWWOYRK.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(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(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as h}from"./B7APW5GJ.js";import{d as a}from"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as o,B as l,G as r,g as e,q as i,r as s}from"./TSWWOYRK.js";var d=await $arcgis.l("widgets/TableList");var n=s`@layer{arcgis-table-list{display:block}}`,m=h(d),t=class extends l{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,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.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=a(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5}}static{this.shadowRootOptions=e}static{this.styles=n}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};r("arcgis-table-list",t);export{t as ArcgisTableList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as n}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as r,G as o,g as i,q as e,r as s}from"./TSWWOYRK.js";var h=await $arcgis.l("widgets/HistogramRangeSlider");var l=s`@layer{arcgis-histogram-range-slider{display:block}}`,g=n(h),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=e()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:0,icon:1,includedBarColor:0,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=i}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as o}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as l,G as h,g as s,q as i,r as t}from"./TSWWOYRK.js";var r=await $arcgis.l("widgets/BuildingExplorer");var d=t`@layer{arcgis-building-explorer{display:block}}`,n=o(r),e=class extends l{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideDisciplines=this.widget.visibleElements.disciplines,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("level","phase","state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:0,phase:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-building-explorer",e);export{e as ArcgisBuildingExplorer};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as l}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as s,B as a,G as h,g as i,r as t}from"./TSWWOYRK.js";var o=await $arcgis.l("widgets/Daylight");var d=t`@layer{arcgis-daylight{display:block}}`,r=l(o),e=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=i}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);export{e as ArcgisDaylight};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as g}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as g}from"./B7APW5GJ.js";import{d as i}from"./AOE73IAF.js";import{d as r}from"./WPQNE7ZI.js";import{A as s,B as d,G as a,g as o,q as n,r as h}from"./TSWWOYRK.js";var[m,u]=await $arcgis.l(["layers/Layer","widgets/FeatureTable"]);var w=h`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`,b=g(u),l=class extends d{constructor(){super(...arguments),this.widget=b(this),this.viewModel=this.widget.viewModel,this.attributeTableTemplate=this.widget.attributeTableTemplate,this.actionColumnConfig=this.widget.actionColumnConfig,this.activeFilters=this.widget.activeFilters,this.activeSortOrders=this.widget.activeSortOrders,this.allRelatedTablesVisible=this.widget.allRelatedTablesVisible,this.attachmentsEnabled=this.widget.attachmentsEnabled,this.autoDestroyDisabled=!1,this.autoRefreshDisabled=this.widget.autoRefreshEnabled,this.columnReorderingDisabled=this.widget.columnReorderingEnabled,this.columns=this.widget.columns,this.description=this.widget.description,this.editingEnabled=this.widget.editingEnabled,this.effectiveSize=this.widget.effectiveSize,this.filterBySelectionEnabled=this.widget.filterBySelectionEnabled,this.filterGeometry=this.widget.filterGeometry,this.hideColumnDescriptions=this.widget.visibleElements.columnDescriptions,this.hiddenFields=this.widget.hiddenFields,this.hideColumnMenuItemsSortAscending=this.widget.visibleElements.columnMenuItems.sortAscending,this.hideColumnMenuItemsSortDescending=this.widget.visibleElements.columnMenuItems.sortDescending,this.hideColumnMenus=this.widget.visibleElements.columnMenus,this.hideHeader=this.widget.visibleElements.header,this.hideMenu=this.widget.visibleElements.menu,this.hideMenuItemsClearSelection=this.widget.visibleElements.menuItems.clearSelection,this.hideMenuItemsDeleteSelection=this.widget.visibleElements.menuItems.deleteSelection,this.hideMenuItemsExportSelectionToCsv=this.widget.visibleElements.menuItems.exportSelectionToCSV,this.hideMenuItemsRefreshData=this.widget.visibleElements.menuItems.refreshData,this.hideMenuItemsSelectedRecordsShowAllToggle=this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle,this.hideMenuItemsSelectedRecordsShowSelectedToggle=this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle,this.hideMenuItemsToggleColumns=this.widget.visibleElements.menuItems.toggleColumns,this.hideMenuItemsZoomToSelection=this.widget.visibleElements.menuItems.zoomToSelection,this.hideProgress=this.widget.visibleElements.progress,this.hideSelectionColumn=this.widget.visibleElements.selectionColumn,this.hideTooltips=this.widget.visibleElements.tooltips,this.highlightDisabled=this.widget.highlightEnabled,this.highlightIds=this.widget.highlightIds,this.initialSize=this.widget.initialSize,this.icon=this.widget.icon,this.isQueryingOrSyncing=this.widget.isQueryingOrSyncing,this.label=this.widget.label,this.layer=this.widget.layer,this.layerView=this.widget.layerView,this.layers=this.widget.layers,this.maxSize=this.widget.maxSize,this.menuConfig=this.widget.menuConfig,this.multipleSelectionDisabled=this.widget.multipleSelectionEnabled,this.multipleSortEnabled=this.widget.multiSortEnabled,this.objectIds=this.widget.objectIds,this.outFields=this.widget.outFields,this.pageCount=this.widget.pageCount,this.pageIndex=this.widget.pageIndex,this.pageSize=this.widget.pageSize,this.paginationEnabled=this.widget.paginationEnabled,this.position="manual",this.relatedRecordsEnabled=this.widget.relatedRecordsEnabled,this.relatedTable=this.widget.relatedTable,this.relatedTables=this.widget.relatedTables,this.returnGeometryEnabled=this.widget.returnGeometryEnabled,this.returnMEnabled=this.widget.returnMEnabled,this.returnZEnabled=this.widget.returnZEnabled,this.rowHighlightIds=this.widget.rowHighlightIds,this.size=this.widget.size,this.showLayerDropdown=this.widget.visibleElements.layerDropdown,this.state=this.widget.state,this.tableController=this.widget.tableController,this.tableDisabled=this.widget.disabled,this.tableParent=this.widget.tableParent,this.tableTemplate=this.widget.tableTemplate,this.timeExtent=this.widget.timeExtent,this.timeZone=this.widget.timeZone,this.arcgisCellClick=i(()=>this.widget,"cell-click"),this.arcgisCellKeydown=i(()=>this.widget,"cell-keydown"),this.arcgisCellPointerout=i(()=>this.widget,"cell-pointerout"),this.arcgisCellPointerover=i(()=>this.widget,"cell-pointerover"),this.arcgisColumnReorder=i(()=>this.widget,"column-reorder"),this.arcgisPropertyChange=n()("effectiveSize","isQueryingOrSyncing","layerView","size","state"),this.arcgisReady=s(),this.arcgisSelectionChange=s()}static{this.properties={attributeTableTemplate:0,actionColumnConfig:0,activeFilters:0,activeSortOrders:0,allRelatedTablesVisible:4,attachmentsEnabled:5,autoDestroyDisabled:5,autoRefreshDisabled:5,columnReorderingDisabled:5,columns:0,description:1,editingEnabled:5,effectiveSize:8,filterBySelectionEnabled:5,filterGeometry:0,hideColumnDescriptions:5,hiddenFields:0,hideColumnMenuItemsSortAscending:5,hideColumnMenuItemsSortDescending:5,hideColumnMenus:5,hideHeader:5,hideMenu:5,hideMenuItemsClearSelection:5,hideMenuItemsDeleteSelection:5,hideMenuItemsExportSelectionToCsv:5,hideMenuItemsRefreshData:5,hideMenuItemsSelectedRecordsShowAllToggle:5,hideMenuItemsSelectedRecordsShowSelectedToggle:5,hideMenuItemsToggleColumns:5,hideMenuItemsZoomToSelection:5,hideProgress:5,hideSelectionColumn:5,hideTooltips:5,highlightDisabled:5,highlightIds:0,initialSize:9,icon:1,isQueryingOrSyncing:4,label:1,layer:0,layerItemId:1,layerUrl:1,layerView:0,layers:0,maxSize:9,menuConfig:0,multipleSelectionDisabled:5,multipleSortEnabled:5,objectIds:0,outFields:0,pageCount:8,pageIndex:9,pageSize:9,paginationEnabled:5,position:1,referenceElement:1,relatedRecordsEnabled:5,relatedTable:0,relatedTables:0,returnGeometryEnabled:5,returnMEnabled:5,returnZEnabled:5,rowHighlightIds:0,size:8,showLayerDropdown:5,state:3,tableController:0,tableDisabled:5,tableParent:0,tableTemplate:0,timeExtent:0,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=w}async deleteSelection(e){await this.widget?.deleteSelection(e)}async destroy(){await this.manager.destroy()}async exportSelectionToCSV(e){await this.widget?.exportSelectionToCSV(e)}async findColumn(e){return this.widget?.findColumn(e)}async goToPage(e){this.widget.goToPage(e)}async hideColumn(e){this.widget?.hideColumn(e)}async nextPage(){this.widget.nextPage()}async previousPage(){this.widget.previousPage()}async refresh(){await this.widget?.refresh()}async scrollToBottom(){this.widget.scrollToBottom()}async scrollToIndex(e){this.widget?.scrollToIndex(e)}async scrollToLeft(){this.widget.scrollLeft()}async scrollToRow(e){this.widget?.scrollToRow(e)}async scrollToTop(){this.widget.scrollToTop()}async showAllColumns(){this.widget?.showAllColumns()}async showColumn(e){this.widget?.showColumn(e)}async sortColumn(e,t){this.widget?.sortColumn(e,t)}async zoomToSelection(){this.widget?.zoomToSelection()}load(){this.manager.onLifecycle(()=>this.widget.highlightIds.on("change",this.arcgisSelectionChange.emit))}willUpdate(e){if(e.has("layerItemId")&&(r(this.layerItemId)?this.layer=null:this.layerItemId&&m.fromPortalItem({portalItem:{id:this.layerItemId}}).then(t=>{this.layer=t}).catch(console.error)),e.has("layerUrl")){let t=this.layerUrl;t?m.fromArcGISServerUrl({url:t}).then(c=>{this.layer=c}).catch(console.error):this.layer=null}}loaded(){this.el.childElem?.classList.add("arcgis-feature-table")}};a("arcgis-feature-table",l);export{l as ArcgisFeatureTable};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as d}from"./B7APW5GJ.js";import{d as t}from"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as a,B as h,G as l,g as e,q as s,r as o}from"./TSWWOYRK.js";var r=await $arcgis.l("widgets/Bookmarks");var n=o`@layer{arcgis-bookmarks{display:block}}`,m=d(r),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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as i}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{b as i}from"./WPQNE7ZI.js";import{H as m,i as c,j as s,o as h,p as l}from"./TSWWOYRK.js";var[{signal:v},d]=await $arcgis.l(["applications/Components/reactiveUtils","core/reactiveUtils"]);var _=l(m),g=r=>w(r),n=class extends c{constructor(e){super(e),this._view$=v(void 0),this._viewDestroyHandle=void 0,this._arcgisReadyEmitted=!1;let{el:t}=e,a=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this._view$.value,set:o=>{if(this.exports===o)return;let p=t.view;this._view$.value=o,this.exports=o,this.component.requestUpdate("view",p),!this._arcgisReadyEmitted&&o!=null&&(this._arcgisReadyEmitted=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>{a&&(t.view=a)})}hostConnected(){this._viewDestroyHandle??=d.when(()=>this._view$.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.component.manager.loadedCalled&&i(this.component)}hostLoad(){this.component.manager.destroyed||this._watchMetaProperties()}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=t??e.childElem,e.isConnected&&i(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this._view$.value?.ui?.remove(this.component.el.childElem)}hostDestroy(){this._viewDestroyHandle?.remove()}_watchMetaProperties(){s(this.component,"position",e=>{this.component.el.childElem!=null&&typeof e=="string"&&i(this.component)}),s(this.component,"referenceElement",()=>i(this.component))}},w=h(n);export{_ as a,g as b,n as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as A}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as A}from"./B7APW5GJ.js";import"./AOE73IAF.js";import"./WPQNE7ZI.js";import{A as c,B as h,G as r,g as l}from"./TSWWOYRK.js";var S=await $arcgis.l("widgets/UtilityNetworkAssociations");var g=A(S),a=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.position="bottom-left",this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let t=this.el.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}willUpdate(t){this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(t,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(t,n){let s=`show${n}`,o=`hide${n}`,e=`visibleElements${n}`,i=this;t.has(s)?i[e]=!!i[s]:t.has(o)?i[e]=!i[o]:t.has(e)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i?s:o} instead.`),s in i?i[s]=!!i[e]:o in i&&(i[o]=!i[e]))}};r("arcgis-utility-network-associations",a);export{a as ArcgisUtilityNetworkAssociations};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as y}from"./
|
|
3
|
+
v4.33.0-next.14 */
|
|
4
|
+
import{a as y}from"./B7APW5GJ.js";import"./AOE73IAF.js";import{d as w}from"./WPQNE7ZI.js";import{A as d,B as n,G as l,g as o,q as r,r as h}from"./TSWWOYRK.js";var[m,u]=await $arcgis.l(["layers/RouteLayer","widgets/Directions"]);var c=h`@layer{arcgis-directions{display:block}}`,g=y(u),i="map-components:arcgis-directions",s=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=r()("lastRoute","state"),this.arcgisReady=d()}static{this.properties={apiKey:1,autoDestroyDisabled:5,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:0,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=o}static{this.styles=c}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(e,t){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(e,t)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(e){if(e.has("routeLayerItemId")){let t=this.routeLayerItemId;if(w(t)&&!this.useDefaultRouteLayer){let{layer:a}=this;a&&this.widget.view?.map.remove(a),this._setDefaultLayer()}else t&&this.widget&&(this.layer=new m({portalItem:{id:t}}),this.widget.view?.map.add(this.layer))}e.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&(this.layer=new m,this.widget.view?.map.add(this.layer))}};l("arcgis-directions",s);export{s as ArcgisDirections};
|