@arcgis/map-components 4.32.0-next.20 → 4.32.0-next.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. package/dist/arcgis-map-components/{NBQX2PVV.js → 2DNTLMTB.js} +2 -2
  2. package/dist/arcgis-map-components/{E5D4CPWV.js → 2U733VXV.js} +2 -2
  3. package/dist/arcgis-map-components/33AA3PEL.js +203 -0
  4. package/dist/arcgis-map-components/{ZF5CP5WV.js → 3DBN7NBY.js} +2 -2
  5. package/dist/arcgis-map-components/{C6ZSDFBZ.js → 3DN66BEC.js} +2 -2
  6. package/dist/arcgis-map-components/{PNZ2G4N2.js → 3XOMWGZP.js} +2 -2
  7. package/dist/arcgis-map-components/{TVVAEM4M.js → 4JPI5FZ7.js} +2 -2
  8. package/dist/arcgis-map-components/4LKLM5XC.js +6 -0
  9. package/dist/arcgis-map-components/5E36Y6LW.js +6 -0
  10. package/dist/arcgis-map-components/{XXMG2AON.js → 5E7EUJ5A.js} +2 -2
  11. package/dist/arcgis-map-components/6FDS3YVF.js +6 -0
  12. package/dist/arcgis-map-components/{LOKWMMAC.js → 6QQZSC3U.js} +2 -2
  13. package/dist/arcgis-map-components/6RZ3S2EF.js +8 -0
  14. package/dist/arcgis-map-components/{7B75CFKS.js → 7AY6XL2I.js} +1 -1
  15. package/dist/arcgis-map-components/7OHAZ62N.js +6 -0
  16. package/dist/arcgis-map-components/{4E6LETTC.js → 7SM4LN5H.js} +2 -2
  17. package/dist/arcgis-map-components/{YQKQAATS.js → 7T4CPEUN.js} +2 -2
  18. package/dist/arcgis-map-components/{OOW4UPZL.js → 7TFJYPQY.js} +2 -2
  19. package/dist/arcgis-map-components/{6QL7QAA5.js → AVK52HRN.js} +2 -2
  20. package/dist/arcgis-map-components/{6E2U7XGV.js → BMI4WHZK.js} +2 -2
  21. package/dist/arcgis-map-components/{EMZ5HVE6.js → CQFEQEOG.js} +2 -2
  22. package/dist/arcgis-map-components/DOJRMVHP.js +6 -0
  23. package/dist/arcgis-map-components/{J6662W2O.js → EBLGHMSC.js} +2 -2
  24. package/dist/arcgis-map-components/{FXA7BOUX.js → ETF6MM6B.js} +2 -2
  25. package/dist/arcgis-map-components/{MEB7IANZ.js → GEULEAEM.js} +2 -2
  26. package/dist/arcgis-map-components/IM4FB5R3.js +6 -0
  27. package/dist/arcgis-map-components/{QVBQLBOQ.js → IOTXSBMW.js} +2 -2
  28. package/dist/arcgis-map-components/{6XYS7PCB.js → JQKDLJNY.js} +2 -2
  29. package/dist/arcgis-map-components/JVJRAPUX.js +6 -0
  30. package/dist/arcgis-map-components/{5LV7RNPY.js → JYCWSPOU.js} +2 -2
  31. package/dist/arcgis-map-components/{NMXKPS7A.js → K2WCJUWA.js} +2 -2
  32. package/dist/arcgis-map-components/{QPTWIZO7.js → KXZJEXIL.js} +2 -2
  33. package/dist/arcgis-map-components/{P46JNE5Z.js → L2YRXBR6.js} +2 -2
  34. package/dist/arcgis-map-components/{HG5527TM.js → L6L75XFG.js} +2 -2
  35. package/dist/arcgis-map-components/{GMV6BWDH.js → LCD47EYR.js} +2 -2
  36. package/dist/arcgis-map-components/{V73BVBXS.js → LCX5VUD4.js} +2 -2
  37. package/dist/arcgis-map-components/{K32NOVJH.js → LOVPVCP5.js} +2 -2
  38. package/dist/arcgis-map-components/{BVQCG65I.js → MIXPTOWS.js} +2 -2
  39. package/dist/arcgis-map-components/{DOHCAWQ3.js → MZ2OHNBQ.js} +2 -2
  40. package/dist/arcgis-map-components/{IFCTYPYU.js → MZBTFGYM.js} +2 -2
  41. package/dist/arcgis-map-components/{6LOYHRNG.js → NV2JSNTY.js} +2 -2
  42. package/dist/arcgis-map-components/{SZ5WCSH6.js → P3FSTHG5.js} +2 -2
  43. package/dist/arcgis-map-components/{JCX6ASIV.js → P4FLA3RN.js} +1 -1
  44. package/dist/arcgis-map-components/{VHPA56IK.js → QPF7IYYE.js} +2 -2
  45. package/dist/arcgis-map-components/{TRKDXUIA.js → QPIYXIHT.js} +2 -2
  46. package/dist/arcgis-map-components/{LVYYU2DM.js → QQ3QW4JQ.js} +2 -2
  47. package/dist/arcgis-map-components/{32NTW4SQ.js → RS5GQRJB.js} +2 -2
  48. package/dist/arcgis-map-components/{MVTDXCAM.js → S3JBVJPX.js} +2 -2
  49. package/dist/arcgis-map-components/S6I7VCVM.js +6 -0
  50. package/dist/arcgis-map-components/{L4XNUK5O.js → SJU5UCZD.js} +2 -2
  51. package/dist/arcgis-map-components/{FG4TP4PA.js → SNSKYHBC.js} +2 -2
  52. package/dist/arcgis-map-components/{U3BDOFGB.js → TA2WFOIS.js} +2 -2
  53. package/dist/arcgis-map-components/{KYBMXL3Y.js → TFDBIOU7.js} +2 -2
  54. package/dist/arcgis-map-components/{WAVJUW46.js → U5LSQVRU.js} +2 -2
  55. package/dist/arcgis-map-components/{FDJ6HKAX.js → UFQE6RTO.js} +2 -2
  56. package/dist/arcgis-map-components/{36IFNAX2.js → UILXLOJJ.js} +2 -2
  57. package/dist/arcgis-map-components/{XG63H5X7.js → UKOX6DQF.js} +2 -2
  58. package/dist/arcgis-map-components/{6Z3UBYKO.js → UPSGI4YB.js} +2 -2
  59. package/dist/arcgis-map-components/{ZJENKLNZ.js → VC64WSZG.js} +2 -2
  60. package/dist/arcgis-map-components/{7OQN5GKF.js → VZH3CAF6.js} +2 -2
  61. package/dist/arcgis-map-components/{EEKI6XV3.js → WIUB5GL5.js} +2 -2
  62. package/dist/arcgis-map-components/WYSLUAQV.js +6 -0
  63. package/dist/arcgis-map-components/{DLPALYE6.js → XOXGIFMM.js} +2 -2
  64. package/dist/arcgis-map-components/{IPUO6QSO.js → Y6CAFLD6.js} +2 -2
  65. package/dist/arcgis-map-components/{FW4F6TTR.js → YEDOBJVM.js} +2 -2
  66. package/dist/arcgis-map-components/{XKUOXI7R.js → YGYIOEST.js} +2 -2
  67. package/dist/arcgis-map-components/{5FUZCMHF.js → YWIPYX56.js} +2 -2
  68. package/dist/arcgis-map-components/{HQR3WRHD.js → Z556VFKP.js} +2 -2
  69. package/dist/arcgis-map-components/{I255SXDT.js → ZDEHXZL7.js} +2 -2
  70. package/dist/arcgis-map-components/{4SBEOIGA.js → ZJ2P3FUV.js} +2 -2
  71. package/dist/arcgis-map-components/{HHG2IOJJ.js → ZLJZTLQU.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 +1 -1
  80. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  81. package/dist/components/arcgis-attachments/customElement.js +1 -1
  82. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  83. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  84. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  85. package/dist/components/arcgis-basemap-toggle/index.d.ts +3 -3
  86. package/dist/components/arcgis-basemap-toggle/index.js +3 -3
  87. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  88. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  89. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  90. package/dist/components/arcgis-compass/customElement.js +1 -1
  91. package/dist/components/arcgis-compass/index.d.ts +2 -2
  92. package/dist/components/arcgis-compass/index.js +2 -2
  93. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  94. package/dist/components/arcgis-daylight/customElement.js +1 -1
  95. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  96. package/dist/components/arcgis-directions/customElement.js +1 -1
  97. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  98. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  99. package/dist/components/arcgis-editor/customElement.js +1 -1
  100. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  101. package/dist/components/arcgis-expand/customElement.js +1 -1
  102. package/dist/components/arcgis-feature/customElement.js +1 -1
  103. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  104. package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
  105. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  106. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  107. package/dist/components/arcgis-features/customElement.d.ts +4 -2
  108. package/dist/components/arcgis-features/customElement.js +3 -3
  109. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  110. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  111. package/dist/components/arcgis-fullscreen/index.d.ts +1 -1
  112. package/dist/components/arcgis-fullscreen/index.js +1 -1
  113. package/dist/components/arcgis-histogram/customElement.js +1 -1
  114. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  115. package/dist/components/arcgis-home/customElement.js +9562 -1000
  116. package/dist/components/arcgis-home/index.d.ts +1 -1
  117. package/dist/components/arcgis-home/index.js +1 -1
  118. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  119. package/dist/components/arcgis-legend/customElement.js +1 -1
  120. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  121. package/dist/components/arcgis-locate/customElement.js +1 -1
  122. package/dist/components/arcgis-locate/index.d.ts +2 -2
  123. package/dist/components/arcgis-locate/index.js +2 -2
  124. package/dist/components/arcgis-map/customElement.js +1 -1
  125. package/dist/components/arcgis-measurement/customElement.js +1 -1
  126. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  127. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  128. package/dist/components/arcgis-placement/customElement.js +1 -1
  129. package/dist/components/arcgis-print/customElement.js +1 -1
  130. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  131. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  132. package/dist/components/arcgis-scene/customElement.js +1 -1
  133. package/dist/components/arcgis-search/customElement.js +1 -1
  134. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  135. package/dist/components/arcgis-sketch/customElement.js +1 -1
  136. package/dist/components/arcgis-slice/customElement.js +1 -1
  137. package/dist/components/arcgis-slider/customElement.js +1 -1
  138. package/dist/components/arcgis-swipe/customElement.js +1 -1
  139. package/dist/components/arcgis-table-list/customElement.js +1 -1
  140. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  141. package/dist/components/arcgis-track/customElement.js +1 -1
  142. package/dist/components/arcgis-track/index.d.ts +2 -2
  143. package/dist/components/arcgis-track/index.js +2 -2
  144. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  145. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  146. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  147. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  148. package/dist/components/arcgis-version-management/customElement.js +1 -1
  149. package/dist/components/arcgis-version-management/index.d.ts +4 -4
  150. package/dist/components/arcgis-version-management/index.js +4 -4
  151. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  152. package/dist/components/arcgis-version-management-service-item/index.d.ts +5 -5
  153. package/dist/components/arcgis-version-management-service-item/index.js +5 -5
  154. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  155. package/dist/components/arcgis-version-management-version-item/index.d.ts +4 -4
  156. package/dist/components/arcgis-version-management-version-item/index.js +4 -4
  157. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  158. package/dist/components/arcgis-version-management-version-list/index.d.ts +10 -10
  159. package/dist/components/arcgis-version-management-version-list/index.js +10 -10
  160. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  161. package/dist/components/arcgis-version-management-version-properties/index.d.ts +10 -10
  162. package/dist/components/arcgis-version-management-version-properties/index.js +10 -10
  163. package/dist/components/arcgis-weather/customElement.js +1 -1
  164. package/dist/components/arcgis-zoom/customElement.js +1 -1
  165. package/dist/components/arcgis-zoom/index.d.ts +1 -1
  166. package/dist/components/arcgis-zoom/index.js +1 -1
  167. package/dist/docs/api.json +1249 -1442
  168. package/dist/docs/docs.json +878 -834
  169. package/dist/docs/vscode.html-custom-data.json +229 -346
  170. package/dist/docs/web-types.json +892 -1118
  171. package/dist/index.js +1 -1
  172. package/dist/loader.js +2 -2
  173. package/dist/types/lumina.d.ts +1 -1
  174. package/dist/types/preact.d.ts +1 -1
  175. package/dist/types/react.d.ts +1 -1
  176. package/dist/types/stencil.d.ts +67 -61
  177. package/package.json +5 -5
  178. package/dist/arcgis-map-components/3F7DW3N2.js +0 -6
  179. package/dist/arcgis-map-components/4SYTH7P3.js +0 -6
  180. package/dist/arcgis-map-components/CKQ4UHRE.js +0 -6
  181. package/dist/arcgis-map-components/CPU2FVJE.js +0 -8
  182. package/dist/arcgis-map-components/GN3KL52J.js +0 -6
  183. package/dist/arcgis-map-components/J2GCXAKR.js +0 -6
  184. package/dist/arcgis-map-components/J7KTF33Y.js +0 -6
  185. package/dist/arcgis-map-components/JWSVGXMH.js +0 -6
  186. package/dist/arcgis-map-components/WKQGYL5T.js +0 -6
  187. package/dist/arcgis-map-components/XS54DQEB.js +0 -6
  188. package/dist/arcgis-map-components/Z3KQ55OO.js +0 -6
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.20
4
+ * v4.32.0-next.21
5
5
  */
6
- import{a as d}from"./3F7DW3N2.js";import"./6Z3UBYKO.js";import{y as r}from"./4E6LETTC.js";import"./7B75CFKS.js";import{B as l,G as n,o as i,p as s,y as o,z as a}from"./CPU2FVJE.js";var g=s`arcgis-editor{display:block}`,h=d(r),t=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=i()("activeWorkflow","state"),this.arcgisReady=o()}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=a}static{this.styles=g}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};n("arcgis-editor",t);export{t as ArcgisEditor};
6
+ import{a as d}from"./WYSLUAQV.js";import"./UPSGI4YB.js";import{y as r}from"./7SM4LN5H.js";import"./7AY6XL2I.js";import{B as o,D as a,E as l,J as n,p as i,q as s}from"./6RZ3S2EF.js";var g=s`arcgis-editor{display:block}`,h=d(r),t=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.allowedWorkflows=this.widget.allowedWorkflows,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=i()("activeWorkflow","state"),this.arcgisReady=o()}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=a}static{this.styles=g}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};n("arcgis-editor",t);export{t as ArcgisEditor};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.20
4
+ * v4.32.0-next.21
5
5
  */
6
- import{B as p,E as v,G as h,q as o,y as m,z as g}from"./CPU2FVJE.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=g}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
6
+ import{B as m,D as g,E as p,H as v,J as h,r as o}from"./6RZ3S2EF.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=g}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};