@arcgis/map-components 4.32.0-next.2 → 4.32.0-next.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. package/dist/arcgis-map-components/{YAS7GDPA.js → 2IEUTOD2.js} +2 -2
  2. package/dist/arcgis-map-components/{JD3NDKYH.js → 2TU4K4ZK.js} +2 -2
  3. package/dist/arcgis-map-components/{73ZPAYZL.js → 37EH3GXO.js} +2 -2
  4. package/dist/arcgis-map-components/{74DFQCVS.js → 3LSJILGF.js} +2 -2
  5. package/dist/arcgis-map-components/{EFVHFMSS.js → 4G7Q6XPC.js} +2 -2
  6. package/dist/arcgis-map-components/{YRMMQFCN.js → 4PIDQHBD.js} +2 -2
  7. package/dist/arcgis-map-components/{KRNTNUDC.js → 5C7V6I7B.js} +2 -2
  8. package/dist/arcgis-map-components/{FKQWYYJJ.js → 5QGKKOO2.js} +2 -2
  9. package/dist/arcgis-map-components/{TOG7VHWN.js → 6FOWAKPD.js} +2 -2
  10. package/dist/arcgis-map-components/{KGEFWFO6.js → 6GJAHGDQ.js} +2 -2
  11. package/dist/arcgis-map-components/{QMWMI2KR.js → 745T3RMX.js} +1 -1
  12. package/dist/arcgis-map-components/{2V6UXU6P.js → 7J2BBHTZ.js} +2 -2
  13. package/dist/arcgis-map-components/7VSQNBF3.js +6 -0
  14. package/dist/arcgis-map-components/7WW23BF5.js +6 -0
  15. package/dist/arcgis-map-components/{BODCRIXB.js → A2X5ZPAH.js} +2 -2
  16. package/dist/arcgis-map-components/ABQRV7US.js +6 -0
  17. package/dist/arcgis-map-components/{Z6FLHF4Y.js → BRXBPWDR.js} +2 -2
  18. package/dist/arcgis-map-components/BUWT2W52.js +6 -0
  19. package/dist/arcgis-map-components/{3R7EOYY3.js → CH2Z5YBN.js} +2 -2
  20. package/dist/arcgis-map-components/{P3X6SURG.js → CP2BAVYK.js} +2 -2
  21. package/dist/arcgis-map-components/{674RWNZK.js → E4ACVVM2.js} +2 -2
  22. package/dist/arcgis-map-components/{WLPAGIVE.js → EFFYUWHZ.js} +2 -2
  23. package/dist/arcgis-map-components/{T73URWJF.js → FJ62N2XU.js} +2 -2
  24. package/dist/arcgis-map-components/{WAIK2ZZN.js → GHNDYLBV.js} +2 -2
  25. package/dist/arcgis-map-components/{XRJ6T3QX.js → H5DMP6GW.js} +2 -2
  26. package/dist/arcgis-map-components/{QCYUUWJP.js → HX2TQK64.js} +2 -2
  27. package/dist/arcgis-map-components/{YYYNB4EI.js → I4UR5YDE.js} +2 -2
  28. package/dist/arcgis-map-components/{HNDOGSLA.js → IZGA4O3A.js} +2 -2
  29. package/dist/arcgis-map-components/{RVUHEIL2.js → JBY7SKZO.js} +2 -2
  30. package/dist/arcgis-map-components/{6ZWNHYVL.js → KISEOPFS.js} +2 -2
  31. package/dist/arcgis-map-components/{74C4V7KH.js → KNYSVWCR.js} +2 -2
  32. package/dist/arcgis-map-components/L3XQEWHE.js +8 -0
  33. package/dist/arcgis-map-components/{MOMHFVR6.js → LKUQFQV7.js} +2 -2
  34. package/dist/arcgis-map-components/{577SG2LO.js → MOB7HD5O.js} +2 -2
  35. package/dist/arcgis-map-components/{G6YHMY2X.js → MRJXVNGR.js} +2 -2
  36. package/dist/arcgis-map-components/{XL42GVGB.js → MXRSWKTA.js} +2 -2
  37. package/dist/arcgis-map-components/{EQTBXL27.js → NNKT3ZIQ.js} +2 -2
  38. package/dist/arcgis-map-components/{327OXNT5.js → NOH2I5QA.js} +2 -2
  39. package/dist/arcgis-map-components/{KF46FZNO.js → OLSCWJ46.js} +2 -2
  40. package/dist/arcgis-map-components/{LDDW6F6M.js → PE2B6HSL.js} +2 -2
  41. package/dist/arcgis-map-components/{VURDEWQI.js → PJWTTRNK.js} +2 -2
  42. package/dist/arcgis-map-components/{MCZ4R2D2.js → PPFSBSO6.js} +2 -2
  43. package/dist/arcgis-map-components/{HEBIFCHW.js → PZ5ZSV6X.js} +2 -2
  44. package/dist/arcgis-map-components/{MXAGX7OA.js → RBC6EMOK.js} +2 -2
  45. package/dist/arcgis-map-components/{D4XIASG2.js → RBLBRQU7.js} +1 -1
  46. package/dist/arcgis-map-components/{XAOANEKX.js → RX2GG6WZ.js} +2 -2
  47. package/dist/arcgis-map-components/{C7HA6EHC.js → RXXYBCBD.js} +2 -2
  48. package/dist/arcgis-map-components/{U3A7NBMN.js → RYLPL2QP.js} +2 -2
  49. package/dist/arcgis-map-components/{W5BYKY5K.js → SLP6HRCX.js} +2 -2
  50. package/dist/arcgis-map-components/SUBG4KNV.js +6 -0
  51. package/dist/arcgis-map-components/{B6Z3K5E6.js → TCMGOO25.js} +2 -2
  52. package/dist/arcgis-map-components/{MPO7H3FA.js → TDHEAF7T.js} +2 -2
  53. package/dist/arcgis-map-components/{QJE6C2KB.js → TSEJTJGB.js} +2 -2
  54. package/dist/arcgis-map-components/{3R2MPXOH.js → TYTFYYYO.js} +2 -2
  55. package/dist/arcgis-map-components/{AHIVLV3N.js → U7M4HU4O.js} +2 -2
  56. package/dist/arcgis-map-components/{SPLN4VXX.js → UUSC7Z5K.js} +2 -2
  57. package/dist/arcgis-map-components/{26RVOVEC.js → VE7TQ3U7.js} +2 -2
  58. package/dist/arcgis-map-components/{NAY7H67N.js → VUQRGZNU.js} +2 -2
  59. package/dist/arcgis-map-components/{GMTDFL22.js → W22D5PHH.js} +2 -2
  60. package/dist/arcgis-map-components/W72GKZOE.js +6 -0
  61. package/dist/arcgis-map-components/{SOKO6DPY.js → WSU47LM5.js} +2 -2
  62. package/dist/arcgis-map-components/{GGMK22ZD.js → X5BO5HYN.js} +2 -2
  63. package/dist/arcgis-map-components/{6TSLGWQT.js → XK4K5FLG.js} +2 -2
  64. package/dist/arcgis-map-components/{Y7DD72RA.js → XNE3HH7U.js} +2 -2
  65. package/dist/arcgis-map-components/XWTZLYTG.js +6 -0
  66. package/dist/arcgis-map-components/{OUFCLRMG.js → Y53UGIKL.js} +2 -2
  67. package/dist/arcgis-map-components/{QWQXCAI5.js → YEPK6QME.js} +2 -2
  68. package/dist/arcgis-map-components/{OTOXD6WT.js → YRZXRBP4.js} +2 -2
  69. package/dist/arcgis-map-components/{TOS6QE45.js → ZLZMFYTA.js} +2 -2
  70. package/dist/arcgis-map-components/{ZATBD4AU.js → ZQZ6FPWL.js} +2 -2
  71. package/dist/arcgis-map-components/{ZJDGS42S.js → ZUA5WCPQ.js} +2 -2
  72. package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
  73. package/dist/chunks/component-utils.js +1 -1
  74. package/dist/chunks/disconnected.js +1 -1
  75. package/dist/chunks/globalCss.js +1 -1
  76. package/dist/chunks/runtime.js +1 -1
  77. package/dist/chunks/useViewModel.js +1 -1
  78. package/dist/chunks/useWidget.js +1 -1
  79. package/dist/components/arcgis-area-measurement-2d/customElement.js +5 -5
  80. package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
  81. package/dist/components/arcgis-attachments/customElement.js +2 -2
  82. package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
  83. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  84. package/dist/components/arcgis-basemap-toggle/customElement.js +3 -3
  85. package/dist/components/arcgis-bookmarks/customElement.js +5 -5
  86. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  87. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  88. package/dist/components/arcgis-compass/customElement.js +2 -2
  89. package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
  90. package/dist/components/arcgis-daylight/customElement.js +2 -2
  91. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  92. package/dist/components/arcgis-directions/customElement.js +2 -2
  93. package/dist/components/arcgis-directline-measurement-3d/customElement.js +2 -2
  94. package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
  95. package/dist/components/arcgis-editor/customElement.js +2 -2
  96. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  97. package/dist/components/arcgis-expand/customElement.js +2 -2
  98. package/dist/components/arcgis-feature/customElement.js +2 -2
  99. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  100. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  101. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  102. package/dist/components/arcgis-features/customElement.js +2 -2
  103. package/dist/components/arcgis-floor-filter/customElement.js +2 -2
  104. package/dist/components/arcgis-fullscreen/customElement.js +3 -3
  105. package/dist/components/arcgis-histogram/customElement.js +2 -2
  106. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  107. package/dist/components/arcgis-home/customElement.js +2 -2
  108. package/dist/components/arcgis-layer-list/customElement.js +2 -2
  109. package/dist/components/arcgis-legend/customElement.js +2 -2
  110. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  111. package/dist/components/arcgis-locate/customElement.js +2 -2
  112. package/dist/components/arcgis-map/customElement.d.ts +1 -3
  113. package/dist/components/arcgis-map/customElement.js +9 -9
  114. package/dist/components/arcgis-measurement/customElement.js +2 -2
  115. package/dist/components/arcgis-navigation-toggle/customElement.js +2 -2
  116. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  117. package/dist/components/arcgis-placement/customElement.js +1 -1
  118. package/dist/components/arcgis-print/customElement.js +2 -2
  119. package/dist/components/arcgis-scale-bar/customElement.js +18 -18
  120. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  121. package/dist/components/arcgis-scene/customElement.js +2 -2
  122. package/dist/components/arcgis-search/customElement.js +2 -2
  123. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  124. package/dist/components/arcgis-sketch/customElement.js +6 -6
  125. package/dist/components/arcgis-slice/customElement.js +2 -2
  126. package/dist/components/arcgis-slider/customElement.js +2 -2
  127. package/dist/components/arcgis-swipe/customElement.js +2 -2
  128. package/dist/components/arcgis-table-list/customElement.js +6 -6
  129. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  130. package/dist/components/arcgis-track/customElement.js +2 -2
  131. package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
  132. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  133. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +4 -4
  134. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  135. package/dist/components/arcgis-version-management/customElement.js +4 -4
  136. package/dist/components/arcgis-version-management-service-item/customElement.js +2 -2
  137. package/dist/components/arcgis-version-management-version-item/customElement.js +3 -3
  138. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  139. package/dist/components/arcgis-version-management-version-properties/customElement.js +2 -2
  140. package/dist/components/arcgis-weather/customElement.js +2 -2
  141. package/dist/components/arcgis-zoom/customElement.js +2 -2
  142. package/dist/docs/docs.json +2 -28
  143. package/dist/docs/manifest.json +2 -23
  144. package/dist/docs/web-types.json +1 -6
  145. package/dist/index.js +1 -1
  146. package/dist/loader.js +2 -2
  147. package/dist/types/lumina.d.ts +1 -1
  148. package/dist/types/preact.d.ts +1 -1
  149. package/dist/types/react.d.ts +1 -1
  150. package/dist/types/stencil.d.ts +1 -1
  151. package/package.json +14 -14
  152. package/dist/arcgis-map-components/3CKLCOIH.js +0 -6
  153. package/dist/arcgis-map-components/46EZ5CLU.js +0 -6
  154. package/dist/arcgis-map-components/DQK27YBW.js +0 -6
  155. package/dist/arcgis-map-components/JHGXWM55.js +0 -6
  156. package/dist/arcgis-map-components/LMZOA6VS.js +0 -8
  157. package/dist/arcgis-map-components/LQPFVUFQ.js +0 -6
  158. package/dist/arcgis-map-components/RHLWBYBO.js +0 -6
  159. package/dist/arcgis-map-components/TY4LRMYB.js +0 -6
  160. package/dist/chunks/index.js +0 -728
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as d}from"./WAIK2ZZN.js";import{d as n}from"./RHLWBYBO.js";import{D as h}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as s,B as a,D as o,I as r,q as i}from"./LMZOA6VS.js";var c=d(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=i()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"triggerAction")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);export{t as ArcgisFeatures};
6
+ import{a as d}from"./GHNDYLBV.js";import{d as n}from"./SUBG4KNV.js";import{E as h}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as s,B as a,D as o,I as r,q as i}from"./L3XQEWHE.js";var c=d(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=i()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"triggerAction")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,collapsed:7,content:1,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,l){return await this.widget?.fetchFeatures(e,l)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);export{t as ArcgisFeatures};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as r}from"./WAIK2ZZN.js";import{d as t}from"./RHLWBYBO.js";import{Z as m}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as n,B as h,D as l,I as g,q as s,r as a}from"./LMZOA6VS.js";var d=a`arcgis-slider{min-width:200px;min-height:25px}`,c=r(m),i=class extends l{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.arcgisMaxChange=t(()=>this.widget,"maxChange"),this.arcgisMaxClick=t(()=>this.widget,"maxClick"),this.arcgisMinChange=t(()=>this.widget,"minChange"),this.arcgisMinClick=t(()=>this.widget,"minClick"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=n(),this.arcgisSegmentClick=t(()=>this.widget,"segmentClick"),this.arcgisSegmentDrag=t(()=>this.widget,"segmentDrag"),this.arcgisThumbChange=t(()=>this.widget,"thumbChange"),this.arcgisThumbClick=t(()=>this.widget,"thumbClick"),this.arcgisThumbDrag=t(()=>this.widget,"thumbDrag"),this.arcgisTickClick=t(()=>this.widget,"tickClick"),this.arcgisTrackClick=t(()=>this.widget,"trackClick")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=h}static{this.styles=d}async destroy(){await this.manager.destroy()}};g("arcgis-slider",i);export{i as ArcgisSlider};
6
+ import{a as r}from"./GHNDYLBV.js";import{d as t}from"./SUBG4KNV.js";import{_ as m}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as n,B as h,D as l,I as g,q as s,r as a}from"./L3XQEWHE.js";var d=a`arcgis-slider{min-width:200px;min-height:25px}`,c=r(m),i=class extends l{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.draggableSegmentsEnabled=this.widget.draggableSegmentsEnabled,this.effectiveMax=this.widget.effectiveMax,this.effectiveMin=this.widget.effectiveMin,this.effectiveSegmentElements=this.widget.effectiveSegmentElements,this.icon=this.widget.icon,this.label=this.widget.label,this.labelElements=this.widget.labelElements,this.labelInputsEnabled=this.widget.labelInputsEnabled,this.labels=this.widget.labels,this.layout=this.widget.layout,this.max=this.widget.max,this.maxLabelElement=this.widget.maxLabelElement,this.min=this.widget.min,this.minLabelElement=this.widget.minLabelElement,this.position="bottom-left",this.precision=this.widget.precision,this.rangeLabelInputsEnabled=this.widget.rangeLabelInputsEnabled,this.segmentElements=this.widget.segmentElements,this.snapOnClickEnabled=this.widget.snapOnClickEnabled,this.state=this.widget.state,this.steps=this.widget.steps,this.syncedSegmentsEnabled=this.widget.syncedSegmentsEnabled,this.thumbElements=this.widget.thumbElements,this.thumbsConstrained=this.widget.thumbsConstrained,this.tickConfigs=this.widget.tickConfigs,this.tickElements=this.widget.tickElements,this.trackElement=this.widget.trackElement,this.values=this.widget.values,this.arcgisMaxChange=t(()=>this.widget,"maxChange"),this.arcgisMaxClick=t(()=>this.widget,"maxClick"),this.arcgisMinChange=t(()=>this.widget,"minChange"),this.arcgisMinClick=t(()=>this.widget,"minClick"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=n(),this.arcgisSegmentClick=t(()=>this.widget,"segmentClick"),this.arcgisSegmentDrag=t(()=>this.widget,"segmentDrag"),this.arcgisThumbChange=t(()=>this.widget,"thumbChange"),this.arcgisThumbClick=t(()=>this.widget,"thumbClick"),this.arcgisThumbDrag=t(()=>this.widget,"thumbDrag"),this.arcgisTickClick=t(()=>this.widget,"tickClick"),this.arcgisTrackClick=t(()=>this.widget,"trackClick")}static{this.properties={autoDestroyDisabled:5,draggableSegmentsEnabled:5,effectiveMax:9,effectiveMin:9,effectiveSegmentElements:0,icon:1,label:1,labelElements:0,labelInputsEnabled:5,labels:0,layout:1,max:9,maxLabelElement:0,min:9,minLabelElement:0,position:1,precision:9,rangeLabelInputsEnabled:5,referenceElement:1,segmentElements:0,snapOnClickEnabled:5,state:3,steps:[9,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}],syncedSegmentsEnabled:5,thumbElements:0,thumbsConstrained:5,tickConfigs:0,tickElements:0,trackElement:0,values:[1,{converter:e=>typeof e=="string"?e.split(",").map(Number):e}]}}static{this.shadowRootOptions=h}static{this.styles=d}async destroy(){await this.manager.destroy()}};g("arcgis-slider",i);export{i as ArcgisSlider};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as h}from"./WAIK2ZZN.js";import{d as l}from"./RHLWBYBO.js";import{F as a}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as i,B as s,D as o,I as r,q as e}from"./LMZOA6VS.js";var n=h(a),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
6
+ import{a as h}from"./GHNDYLBV.js";import{d as l}from"./SUBG4KNV.js";import{G as a}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as i,B as s,D as o,I as r,q as e}from"./L3XQEWHE.js";var n=h(a),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
+ * v4.32.0-next.4
5
+ */
6
+ import{a as O,ka as S,la as D}from"./ABQRV7US.js";import{b as g,d as w,e as _,f as E,g as P,i as u,j as b,k as C,l as L,m as N,n as A}from"./L3XQEWHE.js";var v;async function V(){return v??(v=D()),await v}var x=Promise.all([O(),S()]),U=class extends E{async hostLoad(){let[e,{subclass:o,property:r}]=await x;class s extends e{}function c(p,m){return i[m],p}function t(p,m,h){return i!==void 0&&(i[h]=p),p}let d=this.component,a=d.manager.internals,n=[];if(Object.keys(a.members).forEach(p=>{a.accessorSetter[p]===u&&(n.push(p),a.accessorGetter[p]=c,a.accessorSetter[p]=t,r()(s.prototype,p))}),this._enabledMembers=n,n.length===0)return;let l=o(d.el.tagName)(s),i=new l;this._instance=i}controllerRemoved(){super.controllerRemoved();let e=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach(o=>{e.accessorGetter[o]=u,e.accessorSetter[o]=u})}},F=(e,o)=>(r,s)=>B(r,e,s),k=class extends P{constructor(e,o,r){super(e),this._loadAccessor=o,this._options=r,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(y.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));let s=e.manager.internals.reactiveUtilsIntegrations;s.add(this);let c=Array.from(s).find(t=>t instanceof U);c&&s.delete(c),s.add(c??new U(this.component)),b(e,t=>{t&&(this._instancePropName=t)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await V();let e=this.component,o=this._gatherParameters(),r=this._options?.editConstructorProperties?.call(e,o)??o,s=r instanceof Promise?await r:r,c=e,t=typeof this._instancePropName=="string"?c[this._instancePropName]:void 0;t!=null&&t!==this.exports?(this._instance=t,t.set(s)):this._instance=await this._createInstance(s),!e.manager.destroyed&&(y.watchComponentUpdates(this,this._instance,this._watchedProperties),y.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([r,s])=>[s,this.component[r]]).filter(([,r])=>r!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},B=A(k),y={makeGetterProxy:(e,o,r,s)=>new Proxy({},{has:(c,t)=>typeof t=="string"||t in c,get:(c,t)=>{let d=Reflect.get(c,t);if(typeof t=="symbol"||t in Promise.prototype)return d;let a=t in c,n=r?.value??!0;return a||!n?d:C(e,l=>{l!==void 0&&o.set(l.key,t)},d)}}),watchComponentUpdates(e,o,r){function s(a,n){let l=r.get(n),i=o[l];return typeof i=="boolean"&&l!==n&&n.toLowerCase().includes("disable")?!i:i}let c=(a,n,l)=>{let i=r.get(l),p=o[i],m=typeof p=="boolean"&&i!==l&&l.toLowerCase().includes("disable");if((m?!p:t.manager.isLit?p??void 0:p)===a)return a;o[i]=m?!a:a;let f=o[i];return m?!f:f},t=e.component,d=t.manager.internals;r.forEach((a,n)=>{d.accessorGetter[n]=s,d.accessorSetter[n]=c})},watchAccessorUpdates(e,o,r){let{component:s}=e,c=s,t=o,d=I(o);N(()=>r.forEach((a,n)=>{if(d.has(a))return;let l=c[n],i=t[a];s.manager.isLit&&(i??(i=void 0));let m=typeof l=="boolean"&&a!==n&&n.toLowerCase().includes("disable")?!l:l;m!=null&&i!==m&&(t[a]=m)})),e.onLifecycle(()=>{if(!o.destroyed)return Array.from(r,([a,n])=>e.reactiveUtils.watch(()=>t[n],()=>{let l=t[n],p=typeof l=="boolean"&&n!==a&&a.toLowerCase().includes("disable")?!l:l;L(()=>{c[a]=p})},{initial:!0}))})},reEmitAccessorEvents(e,o,r,s){if(!("on"in o&&typeof o.on=="function"))return;let t=Object.entries(e.component).map(([n,l])=>{let i=l;if(!n.startsWith(s)||n===s||typeof i!="object"||i===null||!("emit"in i)||typeof i.emit!="function")return;let p=i.emit,m=n.slice(s.length);return[g(m).toLowerCase(),p]}).filter(w);if(t.length===0)return;let d=o,a=()=>d;e.onLifecycle(()=>{if(!o.destroyed)return t.map(([n,l])=>r.on(a,n,l))})},async reCreate(e,o){let r=o.manager.useRefSync(e);r!==void 0&&await r.reCreate()}};function I(e){let r=Object.entries(e.__accessor__?.metadata??{});return new Set(r.filter(([s,c])=>c?.readOnly===!0).map(([s])=>s))}function K(e,o){let r=_(),s=V(),c=r.manager;c.onLoaded(()=>{s.then(d=>c.onLifecycle(()=>d.on(e,o,t.emit)))});let t=r.constructor.$createEvent(o,void 0,r);return t}export{F as a,k as b,y as c,K as d};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as m}from"./WAIK2ZZN.js";import{d as t}from"./RHLWBYBO.js";import{C as h}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as s,B as a,D as r,I as o,q as i}from"./LMZOA6VS.js";var g=m(h),e=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"valueChange")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=a}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}};o("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
6
+ import{a as m}from"./GHNDYLBV.js";import{d as t}from"./SUBG4KNV.js";import{D as h}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as s,B as a,D as r,I as o,q as i}from"./L3XQEWHE.js";var g=m(h),e=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"valueChange")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=a}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}};o("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as n}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{i as r}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as i,B as e,D as o,I as a,q as s}from"./LMZOA6VS.js";var h=n(r),t=class extends o{constructor(){super(...arguments),this.widget=h(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=s()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};a("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
6
+ import{a as n}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{j as r}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as e,B as i,D as o,I as a,q as s}from"./L3XQEWHE.js";var h=n(r),t=class extends o{constructor(){super(...arguments),this.widget=h(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=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=i}async destroy(){await this.manager.destroy()}};a("arcgis-area-measurement-2d",t);export{t as ArcgisAreaMeasurement2d};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{b as x}from"./MCZ4R2D2.js";import{a as $}from"./D4XIASG2.js";import{a as D,b as S}from"./GGMK22ZD.js";import"./RHLWBYBO.js";import{T as B,ja as U,ka as M,la as R}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as w,B as g,D as y,E as a,F as v,I as L,a as d,o as b,s as c}from"./LMZOA6VS.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=b(M),this.messages=D(),this.reactiveUtils=b(U),this._scaleComputedFrom=k(),this.unitUtils=b(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=g}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,p=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(p){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),p=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${p}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
6
+ import{b as x}from"./PPFSBSO6.js";import{a as $}from"./RBLBRQU7.js";import{a as D,b as S}from"./X5BO5HYN.js";import"./SUBG4KNV.js";import{U as B,la as U,ma as M,na as R}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as w,B as g,D as y,E as a,F as v,I as L,a as d,o as p,s as c}from"./L3XQEWHE.js";var r="esri-scale-bar",t={base:r,labelContainer:`${r}__label-container`,rulerLabelContainer:`${r}__label-container--ruler`,lineLabelContainer:`${r}__label-container--line`,topLabelContainer:`${r}__label-container--top`,bottomLabelContainer:`${r}__label-container--bottom`,label:`${r}__label`,line:`${r}__line`,topLine:`${r}__line--top`,bottomLine:`${r}__line--bottom`,ruler:`${r}__ruler`,rulerBlock:`${r}__ruler-block`,barContainer:`${r}__bar-container`,rulerBarContainer:`${r}__bar-container--ruler`,lineBarContainer:`${r}__bar-container--line`};function k(C=0,e=0){return{x:C,y:e}}var O=S(B),f=class extends y{constructor(){super(...arguments),this.intlUtils=p(M),this.messages=D(),this.reactiveUtils=p(U),this._scaleComputedFrom=k(),this.unitUtils=p(R),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=w()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=g}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this._defaultUnit=this.unitUtils.getDefaultUnitForView(this.viewModel.view),this.manager.onLifecycle(()=>this.reactiveUtils.watch(()=>{let e=this.viewModel.view;return[e?.stationary,e?.center,e?.scale,e?.zoom]},([e])=>{e&&this.requestUpdate()}))}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,s=this.el.getBoundingClientRect(),o=s.left+window.pageXOffset,n=s.top+window.pageYOffset,i=k(o,n);(i.x!==e.x||i.y!==e.y)&&(this._scaleComputedFrom=i)}_formatDistance(e,s){return this.intlUtils.formatNumber(e,{style:"unit",unit:s,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",s={[$.disabled]:e},o,n;if(!e){let{unit:i,barStyle:u}=this,b=i==="imperial"||i==="dual",_=i==="metric"||i==="dual",h=100,m=i==="dual"?"line":u;if(b){let l=this.viewModel.getScaleBarProperties(h,"imperial");l&&(n=m==="ruler"?this._renderRuler(l):this._renderLine(l,"bottom"))}if(_){let l=this.viewModel.getScaleBarProperties(h,"metric");l&&(o=m==="ruler"?this._renderRuler(l):this._renderLine(l,"top"))}}return c`<div class=${a(d(t.base,$.widget,s))} ${x(i=>i?this._handleRootCreateOrUpdate():void 0)}>${o}${n}</div>`}_renderRuler(e){let{length:s,unit:o,value:n}=e,i=Math.round(s),u=this._formatDistance(n,o);return c`<div class=${a(d(t.barContainer,t.rulerBarContainer))}><div class=${a(t.ruler)} style=${v({width:`${i}px`})}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer,t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${u}</div></div></div>`}_renderLine(e,s){let{length:o,unit:n,value:i}=e,u=Math.round(o),b=this._formatDistance(i,n),_={[t.topLabelContainer]:s==="top",[t.bottomLabelContainer]:s==="bottom"},h=c`<div class=${a(d(t.labelContainer,t.lineLabelContainer,_))}><div class=${a(t.label)}>${b}</div></div>`,m={[t.topLine]:s==="top",[t.bottomLine]:s==="bottom"},l=c`<div class=${a(d(t.line,m))} style=${v({width:`${u}px`})}></div>`;return c`<div class=${a(d(t.barContainer,t.lineBarContainer))}>${[l,h]}</div>`}};L("arcgis-scale-bar",f);export{f as ArcgisScaleBar};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as n}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{_ as r}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as s,B as e,D as a,I as o,q as t}from"./LMZOA6VS.js";var h=n(r),i=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.icon=this.widget.icon,this.label=this.widget.label,this.leadingLayers=this.widget.leadingLayers,this.position="manual",this.state=this.viewModel.state,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,direction:1,dragLabel:1,icon:1,label:1,leadingLayers:0,position:1,referenceElement:1,state:3,swipePosition:9,trailingLayers:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};o("arcgis-swipe",i);export{i as ArcgisSwipe};
6
+ import{a as n}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{$ as r}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as s,B as e,D as a,I as o,q as t}from"./L3XQEWHE.js";var h=n(r),i=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.direction=this.widget.direction,this.dragLabel=this.widget.dragLabel,this.icon=this.widget.icon,this.label=this.widget.label,this.leadingLayers=this.widget.leadingLayers,this.position="manual",this.state=this.viewModel.state,this.swipePosition=this.widget.position,this.trailingLayers=this.widget.trailingLayers,this.arcgisPropertyChange=t()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,direction:1,dragLabel:1,icon:1,label:1,leadingLayers:0,position:1,referenceElement:1,state:3,swipePosition:9,trailingLayers:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};o("arcgis-swipe",i);export{i as ArcgisSwipe};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as n}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{P as r}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as i,B as s,D as a,I as o,q as e}from"./LMZOA6VS.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("activeTool","state"),this.arcgisReady=i()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("arcgis-measurement",t);export{t as ArcgisMeasurement};
6
+ import{a as n}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{Q as r}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as i,B as s,D as a,I as o,q as e}from"./L3XQEWHE.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("activeTool","state"),this.arcgisReady=i()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("arcgis-measurement",t);export{t as ArcgisMeasurement};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as r}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{y as n}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as s,B as o,D as a,I as l,q as i}from"./LMZOA6VS.js";var g=r(n),t=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=i()("activeWorkflow","state"),this.arcgisReady=s()}static{this.properties={activeWorkflow:0,allowedWorkflows:1,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}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)}};l("arcgis-editor",t);export{t as ArcgisEditor};
6
+ import{a as r}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{z as n}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as s,B as o,D as a,I as l,q as i}from"./L3XQEWHE.js";var g=r(n),t=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=i()("activeWorkflow","state"),this.arcgisReady=s()}static{this.properties={activeWorkflow:0,allowedWorkflows:1,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}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)}};l("arcgis-editor",t);export{t as ArcgisEditor};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as g}from"./WAIK2ZZN.js";import{d as t}from"./RHLWBYBO.js";import{X as r,a as h}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as l,B as a,D as n,I as d,q as o}from"./LMZOA6VS.js";var p=g(r),s=class extends n{constructor(){super(),this.widget=p(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=o()("state"),this.arcgisReady=l(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={activeTool:3,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:0,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,tooltipOptions:0,updateGraphics:0}}static{this.shadowRootOptions=a}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){return void this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await h({title:"Sketch Layer"})),e}};d("arcgis-sketch",s);export{s as ArcgisSketch};
6
+ import{a as g}from"./GHNDYLBV.js";import{d as t}from"./SUBG4KNV.js";import{Y as r,b as h}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as l,B as a,D as n,I as d,q as o}from"./L3XQEWHE.js";var p=g(r),s=class extends n{constructor(){super(),this.widget=p(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=o()("state"),this.arcgisReady=l(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={activeTool:3,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:0,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,tooltipOptions:0,updateGraphics:0}}static{this.shadowRootOptions=a}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){return void this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await h({title:"Sketch Layer"})),e}};d("arcgis-sketch",s);export{s as ArcgisSketch};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as l}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{Y as r}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as s,B as i,D as a,I as o,q as t}from"./LMZOA6VS.js";var d=l(r),e=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=t()("analysis","state"),this.arcgisReady=s()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=i}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-slice",e);export{e as ArcgisSlice};
6
+ import{a as l}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{Z as r}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as s,B as i,D as a,I as o,q as t}from"./L3XQEWHE.js";var d=l(r),e=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=t()("analysis","state"),this.arcgisReady=s()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=i}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-slice",e);export{e as ArcgisSlice};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as u}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{d as s,v as l}from"./TY4LRMYB.js";import{d as w}from"./QMWMI2KR.js";import{A as r,B as h,D as d,I as n,q as o}from"./LMZOA6VS.js";var c=u(l),i="map-components:arcgis-directions",a=class extends d{constructor(){super(...arguments),this.widget=c(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=o()("lastRoute","state"),this.arcgisReady=r()}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=h}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(t,e){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(t,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(t){if(t.has("routeLayerItemId")){let e=this.routeLayerItemId;w(e)&&!this.useDefaultRouteLayer?(this.widget.view?.map.remove(this.layer),this._setDefaultLayer()):e&&this.widget&&s({portalItem:{id:e}}).then(y=>{this.layer=y,this.widget.view?.map.add(this.layer)}).catch(console.error)}t.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&s({}).then(t=>{this.layer=t,this.widget.view?.map.add(this.layer)}).catch(console.error)}};n("arcgis-directions",a);export{a as ArcgisDirections};
6
+ import{a as u}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{e as s,w as l}from"./ABQRV7US.js";import{d as w}from"./745T3RMX.js";import{A as r,B as h,D as n,I as d,q as o}from"./L3XQEWHE.js";var c=u(l),i="map-components:arcgis-directions",a=class extends n{constructor(){super(...arguments),this.widget=c(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=o()("lastRoute","state"),this.arcgisReady=r()}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=h}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(t,e){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(t,e)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(t){if(t.has("routeLayerItemId")){let e=this.routeLayerItemId;w(e)&&!this.useDefaultRouteLayer?(this.widget.view?.map.remove(this.layer),this._setDefaultLayer()):e&&this.widget&&s({portalItem:{id:e}}).then(y=>{this.layer=y,this.widget.view?.map.add(this.layer)}).catch(console.error)}t.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&s({}).then(t=>{this.layer=t,this.widget.view?.map.add(this.layer)}).catch(console.error)}};d("arcgis-directions",a);export{a as ArcgisDirections};
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
+ * v4.32.0-next.4
5
+ */
6
+ import{a,c as l,d as t}from"./SUBG4KNV.js";import{f as c,h as m,la as d}from"./ABQRV7US.js";import{f as g,g as r}from"./745T3RMX.js";import{A as s,B as w,D as p,I as v,o,r as n}from"./L3XQEWHE.js";var _=n`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`,f=a(m,{}),b=a(c,{}),h=class extends p{constructor(){super(...arguments),this._map=f(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=o(d),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlightOptions=this.view.highlightOptions,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"viewClick"),this.arcgisViewDoubleClick=t(()=>this.view,"viewDoubleClick"),this.arcgisViewDrag=t(()=>this.view,"viewDrag"),this.arcgisViewHold=t(()=>this.view,"viewHold"),this.arcgisViewImmediateClick=t(()=>this.view,"viewImmediateClick"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"viewImmediateDoubleClick"),this.arcgisViewKeyDown=t(()=>this.view,"viewKeyDown"),this.arcgisViewKeyUp=t(()=>this.view,"viewKeyUp"),this.arcgisViewLayerviewCreate=t(()=>this.view,"viewLayerviewCreate"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"viewLayerviewCreateError"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"viewLayerviewDestroy"),this.arcgisViewMouseWheel=t(()=>this.view,"viewMouseWheel"),this.arcgisViewPointerDown=t(()=>this.view,"viewPointerDown"),this.arcgisViewPointerEnter=t(()=>this.view,"viewPointerEnter"),this.arcgisViewPointerLeave=t(()=>this.view,"viewPointerLeave"),this.arcgisViewPointerMove=t(()=>this.view,"viewPointerMove"),this.arcgisViewPointerUp=t(()=>this.view,"viewPointerUp"),this.arcgisViewReadyChange=s()}static{this.properties={view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlightOptions:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:0,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=w}static{this.styles=_}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.ready&&(this.view.viewpoint=i),this._viewpoint=i)}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-map"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:i}=this.reactiveUtils;this.manager.onLifecycle(()=>[i(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),i(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap||(i.basemap="topo-vector");let{basemap:e,...u}=i;e||(i=u);let{ground:y,...V}=i;return y||(i=V),i}_editViewProperties(i){this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};v("arcgis-map",h);export{h as ArcgisMap};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as n}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{J as o}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as e,B as a,D as s,I as r,q as i}from"./LMZOA6VS.js";var h=n(o),t=class extends s{constructor(){super(...arguments),this.widget=h(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=i()("state"),this.arcgisReady=e()}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=a}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};r("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
6
+ import{a as n}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{K as o}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as e,B as a,D as s,I as r,q as i}from"./L3XQEWHE.js";var h=n(o),t=class extends s{constructor(){super(...arguments),this.widget=h(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=i()("state"),this.arcgisReady=e()}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=a}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};r("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{b as d}from"./RHLWBYBO.js";import{b as t}from"./QMWMI2KR.js";import{J as p,h as n,n as m,p as l}from"./LMZOA6VS.js";var D=l(p),u=(c,e)=>(s,o)=>y(s,c,o),i=class extends d{hostConnected(){this.component.manager.loadedCalled&&t(this.component)}async hostLoad(){await super.hostLoad(),!this.component.manager.destroyed&&this._watchMetaProperties()}hostLoaded(){let{el:e}=this.component,s=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=s??e.childElem;let o=!1,h=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view,set:r=>{let w=this.component.el.view,a=r;this._instance.view=a,this._instance.map=a?.map,this._watchViewDestroy(),this.component.requestUpdate("view",w),r&&!o&&(o=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),h&&(this._instance.view=h),this.component.el.isConnected&&(t(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){n(this.component,"position",e=>{this.component.el.childElem!=null&&typeof e=="string"&&t(this.component)}),n(this.component,"referenceElement",()=>t(this.component))}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},y=m(i);export{D as a,u as b};
6
+ import{b as d}from"./SUBG4KNV.js";import{b as t}from"./745T3RMX.js";import{J as p,h as n,n as m,p as l}from"./L3XQEWHE.js";var D=l(p),u=(c,e)=>(s,o)=>y(s,c,o),i=class extends d{hostConnected(){this.component.manager.loadedCalled&&t(this.component)}async hostLoad(){await super.hostLoad(),!this.component.manager.destroyed&&this._watchMetaProperties()}hostLoaded(){let{el:e}=this.component,s=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=s??e.childElem;let o=!1,h=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view,set:r=>{let w=this.component.el.view,a=r;this._instance.view=a,this._instance.map=a?.map,this._watchViewDestroy(),this.component.requestUpdate("view",w),r&&!o&&(o=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),h&&(this._instance.view=h),this.component.el.isConnected&&(t(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){n(this.component,"position",e=>{this.component.el.childElem!=null&&typeof e=="string"&&t(this.component)}),n(this.component,"referenceElement",()=>t(this.component))}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},y=m(i);export{D as a,u as b};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as g}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{Q as r}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as i,B as e,D as o,I as a,q as s}from"./LMZOA6VS.js";var h=g(r),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("layout","state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,layout:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}async toggle(){this.widget?.toggle()}};a("arcgis-navigation-toggle",t);export{t as ArcgisNavigationToggle};
6
+ import{a as g}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{R as r}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as s,B as e,D as o,I as a,q as i}from"./L3XQEWHE.js";var n=g(r),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("layout","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,layout:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}async toggle(){this.widget?.toggle()}};a("arcgis-navigation-toggle",t);export{t as ArcgisNavigationToggle};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as n}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{M as o}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as t,B as s,D as a,I as r,q as i}from"./LMZOA6VS.js";var h=n(o),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);export{e as ArcgisLegend};
6
+ import{a as n}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{N as o}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as t,B as s,D as a,I as r,q as i}from"./L3XQEWHE.js";var h=n(o),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);export{e as ArcgisLegend};
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
+ * v4.32.0-next.4
5
+ */
6
+ import{a as p}from"./RBLBRQU7.js";import{a as S,b as k}from"./X5BO5HYN.js";import"./SUBG4KNV.js";import{o as x,oa as M}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as w,B,D as f,E as a,F as d,G as o,I as T,a as m,o as y,q as _,s as l}from"./L3XQEWHE.js";var s="esri-basemap-toggle",n="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${n} ${s}__container`,image:`${n}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${n}__overlay ${s}__image-overlay`,title:`${n}__title ${s}__title`,overlayScrim:`${n}__overlay-scrim`},L=k(x),g=class extends f{constructor(){super(...arguments),this.basemapUtils=y(M),this.messages=S(),this.viewModel=L(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("nextBasemap","state"),this.arcgisReady=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=B}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let r=this.basemapUtils.getBasemapThumbnailUrl(t);return r?{backgroundImage:`url(${r})`}:{backgroundImage:""}}render(){let t=this.viewModel,r=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,C=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,A=this._getThumbnailStyles(r),D=this._getThumbnailStyles(i);return I&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${(this.label??void 0)||""} @click=${()=>void this.toggle()} title=${((this.label??void 0)||"")??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(A)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(D)}>${$||C?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};T("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{A as n,B as V,D as p,I as L,s as t}from"./LMZOA6VS.js";var g=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[o,c]of this._versionListEventListeners)e.removeEventListener(o,c)}render(){let{serviceItemElementProps:{allowEditing:e,closable:o,currentUser:c,executionError:E,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a}}=this,{_versionList:s}=this,$=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let x=i.target,M=a.find(N=>N.versionIdentifier.guid===x.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:v,versionInfo:M})}}>${a?a.map(i=>t`<calcite-combobox-item .selected=${l.guid===i.versionIdentifier.guid&&l.name===i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,d,h;return e&&(d=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{s=document.createElement("arcgis-version-management-version-list"),s.versionListElementProps={closable:o,currentUser:c,currentVersionIdentifier:l,executionError:E,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a},s.addEventListener("calciteFlowItemBack",i=>{i.preventDefault(),this.arcgisFlowItemBack.emit()}),s.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(s),_?.append(s)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${m.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${$}${d}${h}</calcite-block>`}};L("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
6
+ import{A as n,B as V,D as p,I as L,s as t}from"./L3XQEWHE.js";var g=class extends p{constructor(){super(...arguments),this._arcgisGetVersions=e=>{this.arcgisGetVersions.emit(e.detail)},this._arcgisManageVersion=e=>{this.arcgisManageVersion.emit(e.detail)},this._arcgisNewVersion=e=>{this.arcgisNewVersion.emit(e.detail)},this._versionListEventListeners=new Map,this.arcgisFlowItemBack=n(),this.arcgisFlowItemClose=n(),this.arcgisGetVersions=n(),this.arcgisManageVersion=n(),this.arcgisNewVersion=n()}static{this.properties={serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this._versionList&&this._removeVersionListEventListeners(this._versionList)}_addVersionListEventListeners(e){e.addEventListener("arcgisGetVersions",this._arcgisGetVersions),this._versionListEventListeners.set("arcgisGetVersions",this._arcgisGetVersions),e.addEventListener("arcgisManageVersion",this._arcgisManageVersion),this._versionListEventListeners.set("arcgisManageVersion",this._arcgisManageVersion),e.addEventListener("arcgisNewVersion",this._arcgisNewVersion),this._versionListEventListeners.set("arcgisNewVersion",this._arcgisNewVersion)}_removeVersionListEventListeners(e){for(let[o,c]of this._versionListEventListeners)e.removeEventListener(o,c)}render(){let{serviceItemElementProps:{allowEditing:e,closable:o,currentUser:c,executionError:E,currentVersionIdentifier:l,flowElement:_,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a}}=this,{_versionList:s}=this,$=t`<calcite-combobox clear-disabled .label=${r} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let x=i.target,M=a.find(N=>N.versionIdentifier.guid===x.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:v,versionInfo:M})}}>${a?a.map(i=>t`<calcite-combobox-item .selected=${l.guid===i.versionIdentifier.guid&&l.name===i.versionIdentifier.name||""} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,d,h;return e&&(d=t`<calcite-action .id=${`actionManageVersions_${r}`} icon=list scale=s slot=control text @click=${async()=>{s=document.createElement("arcgis-version-management-version-list"),s.versionListElementProps={closable:o,currentUser:c,currentVersionIdentifier:l,executionError:E,hasAdvEditingUte:b,heading:f,isVersioningApiAvailable:u,pageSize:I,serviceName:r,serviceUrl:v,state:w,strings:m,versionInfos:a},s.addEventListener("calciteFlowItemBack",i=>{i.preventDefault(),this.arcgisFlowItemBack.emit()}),s.addEventListener("calciteFlowItemClose",()=>{this.arcgisFlowItemClose.emit()}),this._addVersionListEventListeners(s),_?.append(s)}}></calcite-action>`,h=t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${r}`}><span>${m.headers.manageVersions}</span></calcite-tooltip>`),t`<calcite-block open .heading=${r}>${$}${d}${h}</calcite-block>`}};L("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{b as n,c as a,i as h}from"./QMWMI2KR.js";import{A as s,B as l,D as o,I as r,r as i}from"./LMZOA6VS.js";var c=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:flex}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=s(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=l}static{this.styles=c}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&h(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
6
+ import{b as n,c as a,i as h}from"./745T3RMX.js";import{A as s,B as l,D as o,I as r,r as i}from"./L3XQEWHE.js";var c=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:flex}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=s(),this._moveChildren=()=>{if(this.el.childElem.parentElement!==this.el)for(let e=this.el.firstElementChild;e!==null;e=this.el.firstElementChild)this.el.childElem.append(e)},this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=l}static{this.styles=c}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&h(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as h}from"./WAIK2ZZN.js";import{d as l}from"./RHLWBYBO.js";import{m as o}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as i,B as s,D as r,I as a,q as t}from"./LMZOA6VS.js";var n=h(o),e=class extends r{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=t()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"triggerAction")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};a("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
6
+ import{a as h}from"./GHNDYLBV.js";import{d as l}from"./SUBG4KNV.js";import{n as o}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as i,B as s,D as a,I as r,q as t}from"./L3XQEWHE.js";var n=h(o),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=t()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"triggerAction")}static{this.properties={autoDestroyDisabled:5,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};r("arcgis-basemap-layer-list",e);export{e as ArcgisBasemapLayerList};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as r}from"./D4XIASG2.js";import{a as f,b as M}from"./GGMK22ZD.js";import{d as s}from"./RHLWBYBO.js";import{ba as w}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as g,B as p,D as m,E as o,G as v,I as u,a as h,q as d,s as e}from"./LMZOA6VS.js";var $={base:"esri-track"},y=M(w),a=class extends m{constructor(){super(...arguments),this.messages=f(),this.viewModel=y(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,"trackError"),this.arcgisPropertyChange=d()("state"),this.arcgisReady=g()}static{this.properties={autoDestroyDisabled:5,error:0,geolocationOptions:0,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=p}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",T=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${o(h($.base,r.widget))}>${!b&&e`<calcite-button class=${o(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${T} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??v}></calcite-button>`||""}${c?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${c}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);export{a as ArcgisTrack};
6
+ import{a as r}from"./RBLBRQU7.js";import{a as M,b as f}from"./X5BO5HYN.js";import{d as s}from"./SUBG4KNV.js";import{ca as u}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as g,B as p,D as m,E as o,G as v,I as w,a as d,q as h,s as e}from"./L3XQEWHE.js";var $={base:"esri-track"},y=f(u),a=class extends m{constructor(){super(...arguments),this.messages=M(),this.viewModel=y(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,"trackError"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=g()}static{this.properties={autoDestroyDisabled:5,error:0,geolocationOptions:0,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=p}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",T=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${o(d($.base,r.widget))}>${!b&&e`<calcite-button class=${o(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${T} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??v}></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,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as b,b as y}from"./MCZ4R2D2.js";import{a as t}from"./D4XIASG2.js";import{a as v,b as k}from"./GGMK22ZD.js";import{d as s}from"./RHLWBYBO.js";import{O as f}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as p,B as m,D as g,E as r,G as u,I as w,a as d,q as h,s as e}from"./LMZOA6VS.js";var L={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"},T={base:"esri-locate"},E="gps-off",D=k(f),n=class extends g{constructor(){super(...arguments),this.messages=v(),this.viewModel=D(this),this._calciteButton=b(),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=E,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=s(()=>this.viewModel,"locateError"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=m}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}updated(){if(this._calciteButton.value)if(this.viewModel.state==="locating"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_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}_locate(){let{viewModel:i}=this;i.state==="locating"?i.cancelLocate():i.locate().catch(()=>{})}render(){let{viewModel:i,icon:z}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,M=o==="feature-unsupported",x=L===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d(T.base,t.widget))}>${!M&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:z??x} kind=neutral .label=${c} @click=${this._locate} title=${c??u} ${y(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};w("arcgis-locate",n);export{n as ArcgisLocate};
6
+ import{a as b,b as y}from"./PPFSBSO6.js";import{a as t}from"./RBLBRQU7.js";import{a as v,b as k}from"./X5BO5HYN.js";import{d as s}from"./SUBG4KNV.js";import{P as f}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as p,B as m,D as g,E as r,G as u,I as w,a as d,q as h,s as e}from"./L3XQEWHE.js";var L={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"},T={base:"esri-locate"},E="gps-off",D=k(f),n=class extends g{constructor(){super(...arguments),this.messages=v(),this.viewModel=D(this),this._calciteButton=b(),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=E,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=s(()=>this.viewModel,"locateError"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=m}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}updated(){if(this._calciteButton.value)if(this.viewModel.state==="locating"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_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}_locate(){let{viewModel:i}=this;i.state==="locating"?i.cancelLocate():i.locate().catch(()=>{})}render(){let{viewModel:i,icon:z}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,M=o==="feature-unsupported",x=L===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d(T.base,t.widget))}>${!M&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:z??x} kind=neutral .label=${c} @click=${this._locate} title=${c??u} ${y(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};w("arcgis-locate",n);export{n as ArcgisLocate};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.2
4
+ * v4.32.0-next.4
5
5
  */
6
- import{a as n}from"./WAIK2ZZN.js";import"./RHLWBYBO.js";import{x as r}from"./TY4LRMYB.js";import"./QMWMI2KR.js";import{A as i,B as e,D as o,I as a,q as s}from"./LMZOA6VS.js";var h=n(r),t=class extends o{constructor(){super(...arguments),this.widget=h(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=s()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};a("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};
6
+ import{a as n}from"./GHNDYLBV.js";import"./SUBG4KNV.js";import{y as r}from"./ABQRV7US.js";import"./745T3RMX.js";import{A as i,B as e,D as o,I as a,q as s}from"./L3XQEWHE.js";var h=n(r),t=class extends o{constructor(){super(...arguments),this.widget=h(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=s()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};a("arcgis-distance-measurement-2d",t);export{t as ArcgisDistanceMeasurement2d};