@arcgis/map-components 4.32.0-next.15 → 4.32.0-next.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/dist/arcgis-map-components/{GQPVNDRU.js → 2YR6M353.js} +2 -2
  2. package/dist/arcgis-map-components/{DFBZF24G.js → 2ZHISQJN.js} +1 -1
  3. package/dist/arcgis-map-components/{BOYAJ6VE.js → 35P4ZVFR.js} +2 -2
  4. package/dist/arcgis-map-components/{JVERGKXO.js → 3AZ6NFON.js} +2 -2
  5. package/dist/arcgis-map-components/{5HZW3QN2.js → 3ZAO6TTP.js} +2 -2
  6. package/dist/arcgis-map-components/{JDYJVJCS.js → 43V7URIL.js} +2 -2
  7. package/dist/arcgis-map-components/{5LVKDYUV.js → 45BEOPC6.js} +2 -2
  8. package/dist/arcgis-map-components/{FKDBXAPU.js → 4C3FYHS4.js} +2 -2
  9. package/dist/arcgis-map-components/{UAAXJ35Y.js → 4HMYOX7P.js} +2 -2
  10. package/dist/arcgis-map-components/{KFKYZESD.js → 4XOD7QC3.js} +2 -2
  11. package/dist/arcgis-map-components/{CHAF4UED.js → 5M63L7YY.js} +2 -2
  12. package/dist/arcgis-map-components/{CSTWYMED.js → 5MU44G7R.js} +2 -2
  13. package/dist/arcgis-map-components/{TC4H6F4Z.js → 6EQFGE6N.js} +2 -2
  14. package/dist/arcgis-map-components/{TAIBDKTC.js → 6G3EBE53.js} +2 -2
  15. package/dist/arcgis-map-components/{MR2DNCB6.js → 6WXLVJT5.js} +2 -2
  16. package/dist/arcgis-map-components/{DHV3MVWR.js → 7PC7FXI3.js} +2 -2
  17. package/dist/arcgis-map-components/{NDU2EHCJ.js → A4RLVC2A.js} +2 -2
  18. package/dist/arcgis-map-components/{NPD6WM5H.js → AVJZ3NJX.js} +2 -2
  19. package/dist/arcgis-map-components/{TGFFGUJI.js → B7H7WD4G.js} +2 -2
  20. package/dist/arcgis-map-components/{CWZYZDY4.js → BHCHZGF7.js} +2 -2
  21. package/dist/arcgis-map-components/{ZMONZWS7.js → BJFVHRWQ.js} +2 -2
  22. package/dist/arcgis-map-components/{ARE6PONS.js → BKQDQDEF.js} +2 -2
  23. package/dist/arcgis-map-components/{HXS5SJ2U.js → BU7UFQQB.js} +1 -1
  24. package/dist/arcgis-map-components/{CANQL7TP.js → CI45AMD2.js} +2 -2
  25. package/dist/arcgis-map-components/{UV42DIUS.js → CZAWBXTJ.js} +2 -2
  26. package/dist/arcgis-map-components/{WUJOORRK.js → D36GFJS5.js} +2 -2
  27. package/dist/arcgis-map-components/{BRNGVNA2.js → DYXQQCAT.js} +2 -2
  28. package/dist/arcgis-map-components/{YOQXD7S2.js → EXDFC7VV.js} +2 -2
  29. package/dist/arcgis-map-components/{7B4ABPSZ.js → EYPM5JFM.js} +2 -2
  30. package/dist/arcgis-map-components/{RCYO3V5U.js → GAO4PBLB.js} +2 -2
  31. package/dist/arcgis-map-components/{B52FTWII.js → HE276VDN.js} +2 -2
  32. package/dist/arcgis-map-components/{LKRQT225.js → HKG357IZ.js} +2 -2
  33. package/dist/arcgis-map-components/{FMCAHNPQ.js → I7X7PQ5B.js} +2 -2
  34. package/dist/arcgis-map-components/{NKYWZ3P5.js → IGATJWOV.js} +2 -2
  35. package/dist/arcgis-map-components/{5TH742JK.js → KKNFQCWI.js} +2 -2
  36. package/dist/arcgis-map-components/{WVWCCXT7.js → L7QM54ST.js} +2 -2
  37. package/dist/arcgis-map-components/{U37UDLWM.js → MISEJFJ7.js} +1 -1
  38. package/dist/arcgis-map-components/{RL67VMJK.js → MP5E6DEV.js} +2 -2
  39. package/dist/arcgis-map-components/{B3HBUFVK.js → N36JFLPY.js} +2 -2
  40. package/dist/arcgis-map-components/{DE2377HN.js → NHABUMLT.js} +2 -2
  41. package/dist/arcgis-map-components/{R6QBRQ6Z.js → NILBBRM5.js} +2 -2
  42. package/dist/arcgis-map-components/{UWWLUAMU.js → O646RL65.js} +2 -2
  43. package/dist/arcgis-map-components/{S74CPYI3.js → PBWEJMHW.js} +2 -2
  44. package/dist/arcgis-map-components/{YF4ITTHT.js → PSJGBVMQ.js} +2 -2
  45. package/dist/arcgis-map-components/{YUUC3BR5.js → QUSBQ4OK.js} +2 -2
  46. package/dist/arcgis-map-components/{HTAD7O3T.js → RAFPWR72.js} +2 -2
  47. package/dist/arcgis-map-components/{PJIR4ZVN.js → REA5VY4P.js} +2 -2
  48. package/dist/arcgis-map-components/{4O3GPPBI.js → SUMXURKO.js} +2 -2
  49. package/dist/arcgis-map-components/{FFL26GED.js → SV55VUUT.js} +2 -2
  50. package/dist/arcgis-map-components/{NTQNZS4D.js → TDMFAMWP.js} +2 -2
  51. package/dist/arcgis-map-components/{37LAX4UC.js → TLEY3SYK.js} +2 -2
  52. package/dist/arcgis-map-components/{5TO23PN5.js → TOBLLYA5.js} +2 -2
  53. package/dist/arcgis-map-components/{2E3HTPUD.js → U5Y2JTBY.js} +2 -2
  54. package/dist/arcgis-map-components/{LJBYN4O5.js → UBU2U6CM.js} +2 -2
  55. package/dist/arcgis-map-components/{PK3KHH4T.js → UPGFD5BC.js} +2 -2
  56. package/dist/arcgis-map-components/{BGXW2FJG.js → UYZ7ALKH.js} +2 -2
  57. package/dist/arcgis-map-components/{ROA4IE63.js → VWG4BPAP.js} +2 -2
  58. package/dist/arcgis-map-components/{DNH2BB3B.js → VWQCN3O2.js} +2 -2
  59. package/dist/arcgis-map-components/{LI6CZIYO.js → W7BWBTPD.js} +2 -2
  60. package/dist/arcgis-map-components/{Y5NX3TK7.js → WBWZXLRU.js} +2 -2
  61. package/dist/arcgis-map-components/{GCXRGVMR.js → WKFO5HNK.js} +2 -2
  62. package/dist/arcgis-map-components/{N3NQIFK2.js → WNP23KL4.js} +2 -2
  63. package/dist/arcgis-map-components/{KCDZ36GI.js → WWMFX5BO.js} +2 -2
  64. package/dist/arcgis-map-components/{BH56HZLF.js → WWUQ5FWW.js} +2 -2
  65. package/dist/arcgis-map-components/{2ZHBTXXN.js → X5ZIU6WP.js} +2 -2
  66. package/dist/arcgis-map-components/{P54QZUUD.js → XDAHKJZ7.js} +2 -2
  67. package/dist/arcgis-map-components/{ZTR6V2EX.js → XFM6PCVT.js} +2 -2
  68. package/dist/arcgis-map-components/{2PEXTY6O.js → XNBJ7NNW.js} +2 -2
  69. package/dist/arcgis-map-components/{RZG2MFPJ.js → XQSXJYHQ.js} +2 -2
  70. package/dist/arcgis-map-components/{YPX3R5LB.js → XXPIG53C.js} +2 -2
  71. package/dist/arcgis-map-components/{XS5ZVM5P.js → ZJD6HG35.js} +1 -1
  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-bookmarks/customElement.js +1 -1
  86. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  87. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  88. package/dist/components/arcgis-compass/customElement.js +1 -1
  89. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  90. package/dist/components/arcgis-daylight/customElement.js +1 -1
  91. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  92. package/dist/components/arcgis-directions/customElement.js +1 -1
  93. package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
  94. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  95. package/dist/components/arcgis-editor/customElement.js +1 -1
  96. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  97. package/dist/components/arcgis-expand/customElement.js +1 -1
  98. package/dist/components/arcgis-feature/customElement.js +1 -1
  99. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  100. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  101. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  102. package/dist/components/arcgis-features/customElement.js +1 -1
  103. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  104. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  105. package/dist/components/arcgis-histogram/customElement.js +1 -1
  106. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  107. package/dist/components/arcgis-home/customElement.js +1 -1
  108. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  109. package/dist/components/arcgis-legend/customElement.js +1 -1
  110. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  111. package/dist/components/arcgis-locate/customElement.js +1 -1
  112. package/dist/components/arcgis-map/customElement.js +1 -1
  113. package/dist/components/arcgis-measurement/customElement.js +1 -1
  114. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  115. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  116. package/dist/components/arcgis-placement/customElement.js +1 -1
  117. package/dist/components/arcgis-print/customElement.js +1 -1
  118. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  119. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  120. package/dist/components/arcgis-scene/customElement.js +1 -1
  121. package/dist/components/arcgis-search/customElement.js +1 -1
  122. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  123. package/dist/components/arcgis-sketch/customElement.js +1 -1
  124. package/dist/components/arcgis-slice/customElement.js +1 -1
  125. package/dist/components/arcgis-slider/customElement.js +1 -1
  126. package/dist/components/arcgis-swipe/customElement.js +1 -1
  127. package/dist/components/arcgis-table-list/customElement.js +1 -1
  128. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  129. package/dist/components/arcgis-track/customElement.js +1 -1
  130. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  131. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  132. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  133. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  134. package/dist/components/arcgis-version-management/customElement.js +1 -1
  135. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  136. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  137. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  138. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  139. package/dist/components/arcgis-weather/customElement.js +1 -1
  140. package/dist/components/arcgis-zoom/customElement.js +1 -1
  141. package/dist/docs/api.json +2 -2
  142. package/dist/docs/docs.json +2 -2
  143. package/dist/docs/web-types.json +1 -1
  144. package/dist/index.js +1 -1
  145. package/dist/loader.js +1 -1
  146. package/package.json +5 -5
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as fe,b as pe}from"./P54QZUUD.js";import{a as L}from"./DFBZF24G.js";import{a as ce,b as le}from"./HTAD7O3T.js";import{d as se}from"./5TO23PN5.js";import{K as ue}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as oe,C as D,E as ae,G as ie,a as G,b as K,o as J,p as X,q as $,r as Z,s as Q,v as ee,w as te,y as ne,z as re}from"./HXS5SJ2U.js";var we=Symbol.for(""),Se=u=>{if(u?.r===we)return u?._$litStatic$};var de=new Map,N=u=>(i,...m)=>{let d=m.length,v,g,b=[],R=[],w,h=0,O=!1;for(;h<d;){for(w=i[h];h<d&&(g=m[h],(v=Se(g))!==void 0);)w+=v+i[++h],O=!0;h!==d&&R.push(g),b.push(w),h++}if(h===d&&b.push(i[d]),O){let S=b.join("$$lit$$");(i=de.get(S))===void 0&&(b.raw=b,de.set(S,i=b)),m=R}return u(i,...m)},De=N($),Le=N(Z),Ne=N(Q);var n={};var ye;function Re(){if(ye)return n;ye=1;var u=Symbol.for("react.element"),i=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),S=Symbol.iterator;function ve(e){return e===null||typeof e!="object"?null:(e=S&&e[S]||e["@@iterator"],typeof e=="function"?e:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,A={};function _(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function U(){}U.prototype=_.prototype;function j(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}var T=j.prototype=new U;T.constructor=j,F(T,_.prototype),T.isPureReactComponent=!0;var B=Array.isArray,z=Object.prototype.hasOwnProperty,P={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function W(e,t,r){var a,o={},c=null,f=null;if(t!=null)for(a in t.ref!==void 0&&(f=t.ref),t.key!==void 0&&(c=""+t.key),t)z.call(t,a)&&!H.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var s=Array(l),y=0;y<l;y++)s[y]=arguments[y+2];o.children=s}if(e&&e.defaultProps)for(a in l=e.defaultProps,l)o[a]===void 0&&(o[a]=l[a]);return{$$typeof:u,type:e,key:c,ref:f,props:o,_owner:P.current}}function he(e,t){return{$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function ge(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Y=/\/+/g;function I(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ge(""+e.key):t.toString(36)}function k(e,t,r,a,o){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(c){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case u:case i:f=!0}}if(f)return f=e,o=o(f),e=a===""?"."+I(f,0):a,B(o)?(r="",e!=null&&(r=e.replace(Y,"$&/")+"/"),k(o,t,r,"",function(y){return y})):o!=null&&(x(o)&&(o=he(o,r+(!o.key||f&&f.key===o.key?"":(""+o.key).replace(Y,"$&/")+"/")+e)),t.push(o)),1;if(f=0,a=a===""?".":a+":",B(e))for(var l=0;l<e.length;l++){c=e[l];var s=a+I(c,l);f+=k(c,t,r,s,o)}else if(s=ve(e),typeof s=="function")for(e=s.call(e),l=0;!(c=e.next()).done;)c=c.value,s=a+I(c,l++),f+=k(c,t,r,s,o);else if(c==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return f}function E(e,t,r){if(e==null)return e;var a=[],o=0;return k(e,a,"","",function(c){return t.call(r,c,o++)}),a}function be(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var p={current:null},C={transition:null},_e={ReactCurrentDispatcher:p,ReactCurrentBatchConfig:C,ReactCurrentOwner:P};function q(){throw Error("act(...) is not supported in production builds of React.")}return n.Children={map:E,forEach:function(e,t,r){E(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return E(e,function(){t++}),t},toArray:function(e){return E(e,function(t){return t})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=_,n.Fragment=m,n.Profiler=v,n.PureComponent=j,n.StrictMode=d,n.Suspense=w,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_e,n.act=q,n.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=F({},e.props),o=e.key,c=e.ref,f=e._owner;if(t!=null){if(t.ref!==void 0&&(c=t.ref,f=P.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)z.call(t,s)&&!H.hasOwnProperty(s)&&(a[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)a.children=r;else if(1<s){l=Array(s);for(var y=0;y<s;y++)l[y]=arguments[y+2];a.children=l}return{$$typeof:u,type:e.type,key:o,ref:c,props:a,_owner:f}},n.createContext=function(e){return e={$$typeof:b,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:g,_context:e},e.Consumer=e},n.createElement=W,n.createFactory=function(e){var t=W.bind(null,e);return t.type=e,t},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:R,render:e}},n.isValidElement=x,n.lazy=function(e){return{$$typeof:O,_payload:{_status:-1,_result:e},_init:be}},n.memo=function(e,t){return{$$typeof:h,type:e,compare:t===void 0?null:t}},n.startTransition=function(e){var t=C.transition;C.transition={};try{e()}finally{C.transition=t}},n.unstable_act=q,n.useCallback=function(e,t){return p.current.useCallback(e,t)},n.useContext=function(e){return p.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return p.current.useDeferredValue(e)},n.useEffect=function(e,t){return p.current.useEffect(e,t)},n.useId=function(){return p.current.useId()},n.useImperativeHandle=function(e,t,r){return p.current.useImperativeHandle(e,t,r)},n.useInsertionEffect=function(e,t){return p.current.useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return p.current.useLayoutEffect(e,t)},n.useMemo=function(e,t){return p.current.useMemo(e,t)},n.useReducer=function(e,t,r){return p.current.useReducer(e,t,r)},n.useRef=function(e){return p.current.useRef(e)},n.useState=function(e){return p.current.useState(e)},n.useSyncExternalStore=function(e,t,r){return p.current.useSyncExternalStore(e,t,r)},n.useTransition=function(){return p.current.useTransition()},n.version="18.3.1",n}var Oe={exports:{}};Oe.exports;Re();var me=(()=>{let u;return typeof window<"u"?u=window:typeof globalThis<"u"?u=globalThis:typeof global<"u"?u=global:typeof self<"u"?u=self:u={},u})(),{window:ke}=me;ke.STORYBOOK_ENV="web-components";var{window:Ee,EventSource:Ce}=me;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Ce("__webpack_hmr").addEventListener("message",function(u){try{let{action:i}=JSON.parse(u.data);i==="built"&&Ee.location.reload()}catch{}}));var $e=new Set(["componentName","view","itemId","mapItemId","sceneItemId"]),je=class extends te{update(u,i){let[m]=i,d=u;Object.entries(m).forEach(([v,g])=>{$e.has(v)||g==="false"||g===!1||d.element.setAttribute(K(v),String(g))})}};ee(je);var Te=X`arcgis-home{display:block}`,Pe={base:"esri-home"},xe=le(ue),M=class extends oe{constructor(){super(...arguments),this.messages=ce(),this.viewModel=xe(this),this._calciteButton=fe(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=se(()=>this.viewModel,"go"),this.arcgisPropertyChange=J()("state"),this.arcgisReady=ne()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=re}static{this.styles=Te}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:i}=this;i.state==="going-home"?i.cancelGo():i.go()}render(){let{messages:i,icon:m}=this,d=this.viewModel?.state,v=d==="going-home";return $`<div class=${D(G(Pe.base,L.widget))}><calcite-button class=${D(L.widgetButton)} .disabled=${d==="disabled"} .iconStart=${v?void 0:m??void 0} kind=neutral .label=${i.componentLabel} @click=${this._go} .scale=${v?"s":"m"} title=${(d==="going-home"?i.cancel:i.title)??ae} ${pe(this._calciteButton)}></calcite-button></div>`}};ie("arcgis-home",M);export{M as ArcgisHome};
6
+ import{a as fe,b as pe}from"./XDAHKJZ7.js";import{a as L}from"./2ZHISQJN.js";import{a as ce,b as le}from"./RAFPWR72.js";import{d as se}from"./TOBLLYA5.js";import{K as ue}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as oe,C as D,E as ae,G as ie,a as G,b as K,o as J,p as X,q as $,r as Z,s as Q,v as ee,w as te,y as ne,z as re}from"./BU7UFQQB.js";var we=Symbol.for(""),Se=u=>{if(u?.r===we)return u?._$litStatic$};var de=new Map,N=u=>(i,...m)=>{let d=m.length,v,g,b=[],R=[],w,h=0,O=!1;for(;h<d;){for(w=i[h];h<d&&(g=m[h],(v=Se(g))!==void 0);)w+=v+i[++h],O=!0;h!==d&&R.push(g),b.push(w),h++}if(h===d&&b.push(i[d]),O){let S=b.join("$$lit$$");(i=de.get(S))===void 0&&(b.raw=b,de.set(S,i=b)),m=R}return u(i,...m)},De=N($),Le=N(Z),Ne=N(Q);var n={};var ye;function Re(){if(ye)return n;ye=1;var u=Symbol.for("react.element"),i=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),S=Symbol.iterator;function ve(e){return e===null||typeof e!="object"?null:(e=S&&e[S]||e["@@iterator"],typeof e=="function"?e:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,A={};function _(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function U(){}U.prototype=_.prototype;function j(e,t,r){this.props=e,this.context=t,this.refs=A,this.updater=r||V}var T=j.prototype=new U;T.constructor=j,F(T,_.prototype),T.isPureReactComponent=!0;var B=Array.isArray,z=Object.prototype.hasOwnProperty,P={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function W(e,t,r){var a,o={},c=null,f=null;if(t!=null)for(a in t.ref!==void 0&&(f=t.ref),t.key!==void 0&&(c=""+t.key),t)z.call(t,a)&&!H.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(l===1)o.children=r;else if(1<l){for(var s=Array(l),y=0;y<l;y++)s[y]=arguments[y+2];o.children=s}if(e&&e.defaultProps)for(a in l=e.defaultProps,l)o[a]===void 0&&(o[a]=l[a]);return{$$typeof:u,type:e,key:c,ref:f,props:o,_owner:P.current}}function he(e,t){return{$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function ge(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Y=/\/+/g;function I(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ge(""+e.key):t.toString(36)}function k(e,t,r,a,o){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(c){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case u:case i:f=!0}}if(f)return f=e,o=o(f),e=a===""?"."+I(f,0):a,B(o)?(r="",e!=null&&(r=e.replace(Y,"$&/")+"/"),k(o,t,r,"",function(y){return y})):o!=null&&(x(o)&&(o=he(o,r+(!o.key||f&&f.key===o.key?"":(""+o.key).replace(Y,"$&/")+"/")+e)),t.push(o)),1;if(f=0,a=a===""?".":a+":",B(e))for(var l=0;l<e.length;l++){c=e[l];var s=a+I(c,l);f+=k(c,t,r,s,o)}else if(s=ve(e),typeof s=="function")for(e=s.call(e),l=0;!(c=e.next()).done;)c=c.value,s=a+I(c,l++),f+=k(c,t,r,s,o);else if(c==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return f}function E(e,t,r){if(e==null)return e;var a=[],o=0;return k(e,a,"","",function(c){return t.call(r,c,o++)}),a}function be(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var p={current:null},C={transition:null},_e={ReactCurrentDispatcher:p,ReactCurrentBatchConfig:C,ReactCurrentOwner:P};function q(){throw Error("act(...) is not supported in production builds of React.")}return n.Children={map:E,forEach:function(e,t,r){E(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return E(e,function(){t++}),t},toArray:function(e){return E(e,function(t){return t})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=_,n.Fragment=m,n.Profiler=v,n.PureComponent=j,n.StrictMode=d,n.Suspense=w,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_e,n.act=q,n.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=F({},e.props),o=e.key,c=e.ref,f=e._owner;if(t!=null){if(t.ref!==void 0&&(c=t.ref,f=P.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)z.call(t,s)&&!H.hasOwnProperty(s)&&(a[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)a.children=r;else if(1<s){l=Array(s);for(var y=0;y<s;y++)l[y]=arguments[y+2];a.children=l}return{$$typeof:u,type:e.type,key:o,ref:c,props:a,_owner:f}},n.createContext=function(e){return e={$$typeof:b,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:g,_context:e},e.Consumer=e},n.createElement=W,n.createFactory=function(e){var t=W.bind(null,e);return t.type=e,t},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:R,render:e}},n.isValidElement=x,n.lazy=function(e){return{$$typeof:O,_payload:{_status:-1,_result:e},_init:be}},n.memo=function(e,t){return{$$typeof:h,type:e,compare:t===void 0?null:t}},n.startTransition=function(e){var t=C.transition;C.transition={};try{e()}finally{C.transition=t}},n.unstable_act=q,n.useCallback=function(e,t){return p.current.useCallback(e,t)},n.useContext=function(e){return p.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return p.current.useDeferredValue(e)},n.useEffect=function(e,t){return p.current.useEffect(e,t)},n.useId=function(){return p.current.useId()},n.useImperativeHandle=function(e,t,r){return p.current.useImperativeHandle(e,t,r)},n.useInsertionEffect=function(e,t){return p.current.useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return p.current.useLayoutEffect(e,t)},n.useMemo=function(e,t){return p.current.useMemo(e,t)},n.useReducer=function(e,t,r){return p.current.useReducer(e,t,r)},n.useRef=function(e){return p.current.useRef(e)},n.useState=function(e){return p.current.useState(e)},n.useSyncExternalStore=function(e,t,r){return p.current.useSyncExternalStore(e,t,r)},n.useTransition=function(){return p.current.useTransition()},n.version="18.3.1",n}var Oe={exports:{}};Oe.exports;Re();var me=(()=>{let u;return typeof window<"u"?u=window:typeof globalThis<"u"?u=globalThis:typeof global<"u"?u=global:typeof self<"u"?u=self:u={},u})(),{window:ke}=me;ke.STORYBOOK_ENV="web-components";var{window:Ee,EventSource:Ce}=me;typeof module<"u"&&module?.hot?.decline&&(module.hot.decline(),new Ce("__webpack_hmr").addEventListener("message",function(u){try{let{action:i}=JSON.parse(u.data);i==="built"&&Ee.location.reload()}catch{}}));var $e=new Set(["componentName","view","itemId","mapItemId","sceneItemId"]),je=class extends te{update(u,i){let[m]=i,d=u;Object.entries(m).forEach(([v,g])=>{$e.has(v)||g==="false"||g===!1||d.element.setAttribute(K(v),String(g))})}};ee(je);var Te=X`arcgis-home{display:block}`,Pe={base:"esri-home"},xe=le(ue),M=class extends oe{constructor(){super(...arguments),this.messages=ce(),this.viewModel=xe(this),this._calciteButton=fe(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=se(()=>this.viewModel,"go"),this.arcgisPropertyChange=J()("state"),this.arcgisReady=ne()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=re}static{this.styles=Te}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:i}=this;i.state==="going-home"?i.cancelGo():i.go()}render(){let{messages:i,icon:m}=this,d=this.viewModel?.state,v=d==="going-home";return $`<div class=${D(G(Pe.base,L.widget))}><calcite-button class=${D(L.widgetButton)} .disabled=${d==="disabled"} .iconStart=${v?void 0:m??void 0} kind=neutral .label=${i.componentLabel} @click=${this._go} .scale=${v?"s":"m"} title=${(d==="going-home"?i.cancel:i.title)??ae} ${pe(this._calciteButton)}></calcite-button></div>`}};ie("arcgis-home",M);export{M as ArcgisHome};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.15
4
+ * v4.32.0-next.16
5
5
  */
6
6
  var e={anchor:"esri-widget__anchor",anchorDisabled:"esri-widget__anchor--disabled",button:"esri-button",buttonDisabled:"esri-button--disabled",buttonHalf:"esri-button--half",buttonSecondary:"esri-button--secondary",buttonSmall:"esri-button--small",buttonTertiary:"esri-button--tertiary",buttonThird:"esri-button--third",disabled:"esri-disabled",disabledElement:"esri-disabled-element",empty:"esri-widget__content--empty",emptyIllustration:"esri-widget__content-illustration--empty",heading:"esri-widget__heading",hidden:"esri-hidden",input:"esri-input",interactive:"esri-interactive",loader:"esri-widget__loader",loaderAnimation:"esri-widget__loader-animation",loaderText:"esri-widget__loader-text",menu:"esri-menu",menuHeader:"esri-menu__header",menuItem:"esri-menu__list-item",menuItemActive:"esri-menu__list-item--active",menuItemFocus:"esri-menu__list-item--focus",menuList:"esri-menu__list",noBookmarksIcon:"esri-widget__no-bookmark-icon",panel:"esri-widget--panel",panelHeightOnly:"esri-widget--panel-height-only",primaryTick:"primary-tick",primaryTickAmPm:"primary-tick__ampm",primaryTickLabel:"primary-tick__label",rotating:"esri-rotating",secondaryTick:"secondary-tick",select:"esri-select",table:"esri-widget__table",ui:"esri-component",widget:"esri-widget",widgetButton:"esri-widget--button",widgetButtonActive:"esri-widget--button-active",widgetDisabled:"esri-widget--disabled"};export{e as a};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as l}from"./TGFFGUJI.js";import{d}from"./5TO23PN5.js";import{D as n}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as r,G as h,o as i,p as s,y as a,z as o}from"./HXS5SJ2U.js";var g=s`arcgis-features{display:block}`,w=l(n),t=class extends r{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.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=a(),this.arcgisTriggerAction=d(()=>this.widget,"trigger-action")}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=o}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
6
+ import{a as l}from"./B7H7WD4G.js";import{d}from"./TOBLLYA5.js";import{D as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as r,G as h,o as i,p as s,y as a,z as o}from"./BU7UFQQB.js";var g=s`arcgis-features{display:block}`,w=l(n),t=class extends r{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.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=a(),this.arcgisTriggerAction=d(()=>this.widget,"trigger-action")}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=o}static{this.styles=g}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};h("arcgis-features",t);export{t as ArcgisFeatures};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{c as w}from"./HXS5SJ2U.js";function o(e){e.el.childElem?e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el.childElem):e.widget?.view&&e.widget.view.ui.remove(e.el.childElem),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy()):w(()=>{e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el):e.widget?.view&&e.widget.view.ui.remove(e.el),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy())},1e3)}export{o as a};
6
+ import{c as w}from"./BU7UFQQB.js";function o(e){e.el.childElem?e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el.childElem):e.widget?.view&&e.widget.view.ui.remove(e.el.childElem),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy()):w(()=>{e.el.isConnected||(e.view?.ui?e.view.ui.remove(e.el):e.widget?.view&&e.widget.view.ui.remove(e.el),e._watchHandles&&e._watchHandles.forEach(d=>{d.remove()}),e._watchHandles=[],e.widget?.destroy())},1e3)}export{o as a};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as p}from"./TGFFGUJI.js";import{d as t}from"./5TO23PN5.js";import{X as g,a as r}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as d,G as h,o,p as l,y as a,z as n}from"./HXS5SJ2U.js";var c=l`arcgis-sketch{display:block}`,m=p(g),s=class extends d{constructor(){super(),this.widget=m(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=o()("state"),this.arcgisReady=a(),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=n}static{this.styles=c}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){return void this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await r({title:"Sketch Layer"})),e}};h("arcgis-sketch",s);export{s as ArcgisSketch};
6
+ import{a as p}from"./B7H7WD4G.js";import{d as t}from"./TOBLLYA5.js";import{X as g,a as r}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as d,G as h,o,p as l,y as a,z as n}from"./BU7UFQQB.js";var c=l`arcgis-sketch{display:block}`,m=p(g),s=class extends d{constructor(){super(),this.widget=m(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=o()("state"),this.arcgisReady=a(),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=n}static{this.styles=c}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){return void this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await r({title:"Sketch Layer"})),e}};h("arcgis-sketch",s);export{s as ArcgisSketch};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as n}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{k as h}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as d,G as o,o as i,p as e,y as s,z as a}from"./HXS5SJ2U.js";var r=e`arcgis-attachments{display:block}`,l=n(h),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=i()("submitting","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=a}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
6
+ import{a as n}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{k as h}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as d,G as o,o as i,p as e,y as s,z as a}from"./BU7UFQQB.js";var r=e`arcgis-attachments{display:block}`,l=n(h),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=i()("submitting","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=a}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as h}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{I as n}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as r,o as i,p as s,y as e,z as a}from"./HXS5SJ2U.js";var d=s`arcgis-histogram{display:block}`,g=h(n),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
6
+ import{a as h}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{I as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as i,p as s,y as e,z as a}from"./BU7UFQQB.js";var d=s`arcgis-histogram{display:block}`,g=h(n),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=a}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-histogram",t);export{t as ArcgisHistogram};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as o}from"./DFBZF24G.js";import{a as p,b as f}from"./HTAD7O3T.js";import"./5TO23PN5.js";import{H as g}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as m,C as i,E as h,G as u,a as r,o as l,p as n,q as s,y as c,z as d}from"./HXS5SJ2U.js";var v=n`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
6
+ import{a as o}from"./2ZHISQJN.js";import{a as p,b as f}from"./RAFPWR72.js";import"./TOBLLYA5.js";import{H as g}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as m,C as i,E as h,G as u,a as r,o as l,p as n,q as s,y as c,z as d}from"./BU7UFQQB.js";var v=n`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as n}from"./TGFFGUJI.js";import{d as h}from"./5TO23PN5.js";import{F as l}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as r,G as a,o as e,p as i,y as s,z as o}from"./HXS5SJ2U.js";var d=i`arcgis-feature-templates{display:block}`,c=n(l),t=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisSelect=h(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=o}static{this.styles=d}async destroy(){await this.manager.destroy()}};a("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
6
+ import{a as n}from"./B7H7WD4G.js";import{d as h}from"./TOBLLYA5.js";import{F as l}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as r,G as a,o as e,p as i,y as s,z as o}from"./BU7UFQQB.js";var d=i`arcgis-feature-templates{display:block}`,c=n(l),t=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisSelect=h(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=o}static{this.styles=d}async destroy(){await this.manager.destroy()}};a("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as r}from"./DFBZF24G.js";import{a as M,b as k}from"./HTAD7O3T.js";import{d as o}from"./5TO23PN5.js";import{ba as f}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as v,C as s,E as w,G as u,a as d,o as h,p as g,q as e,y as p,z as m}from"./HXS5SJ2U.js";var $=g`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=m}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></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"./2ZHISQJN.js";import{a as M,b as k}from"./RAFPWR72.js";import{d as o}from"./TOBLLYA5.js";import{ba as f}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as v,C as s,E as w,G as u,a as d,o as h,p as g,q as e,y as p,z as m}from"./BU7UFQQB.js";var $=g`arcgis-track{display:block}`,O={base:"esri-track"},D=k(f),a=class extends v{constructor(){super(...arguments),this.messages=M(),this.viewModel=D(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=o(()=>this.viewModel,"track"),this.arcgisError=o(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=m}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",c=this._localizeError(this.viewModel?.error),l=(b?n?.stopTracking:n?.startTracking)??"",T=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return e`<div class=${s(d(O.base,r.widget))}>${!T&&e`<calcite-button class=${s(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${l} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${l??w}></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};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as h}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{s as r}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as n,G as a,o as i,p as e,y as s,z as o}from"./HXS5SJ2U.js";var c=e`arcgis-coordinate-conversion{display:block}`,g=h(r),t=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.arcgisPropertyChange=i()("currentLocation","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,headingLevel:9,hideCaptureButton:5,hideEditButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=o}static{this.styles=c}async destroy(){await this.manager.destroy()}async reverseConvert(d,l){return await this.widget?.reverseConvert(d,l)}};a("arcgis-coordinate-conversion",t);export{t as ArcgisCoordinateConversion};
6
+ import{a as h}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{s as r}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as n,G as a,o as i,p as e,y as s,z as o}from"./BU7UFQQB.js";var c=e`arcgis-coordinate-conversion{display:block}`,g=h(r),t=class extends n{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.arcgisPropertyChange=i()("currentLocation","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,headingLevel:9,hideCaptureButton:5,hideEditButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=o}static{this.styles=c}async destroy(){await this.manager.destroy()}async reverseConvert(d,l){return await this.widget?.reverseConvert(d,l)}};a("arcgis-coordinate-conversion",t);export{t as ArcgisCoordinateConversion};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as t}from"./DFBZF24G.js";import{a as p,b}from"./HTAD7O3T.js";import"./5TO23PN5.js";import{ia as z}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as h,C as o,E as i,G as u,a,o as l,p as n,q as m,y as c,z as d}from"./HXS5SJ2U.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=n`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s as ArcgisZoom};
6
+ import{a as t}from"./2ZHISQJN.js";import{a as p,b}from"./RAFPWR72.js";import"./TOBLLYA5.js";import{ia as z}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as h,C as o,E as i,G as u,a,o as l,p as n,q as m,y as c,z as d}from"./BU7UFQQB.js";var g={base:"esri-zoom",horizontalLayout:"esri-zoom--horizontal"},v=n`arcgis-zoom{display:block}.esri-zoom{display:flex;flex-flow:column nowrap}.esri-zoom .esri-widget--button{box-shadow:none}.esri-zoom .esri-widget--button:first-child{margin-bottom:0}.esri-zoom .esri-widget--button:last-child{border-top:solid 1px var(--calcite-color-border-1)}.esri-zoom.esri-zoom--horizontal{flex-flow:row-reverse nowrap}.esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-top:none}.esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-left:solid 1px var(--calcite-color-border-1)}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:first-child{border-top:none}[dir=rtl] .esri-zoom.esri-zoom--horizontal .esri-widget--button:last-child{border-left:solid 1px var(--calcite-color-border-1)}`,$=b(z),s=class extends h{constructor(){super(...arguments),this.messages=p({}),this.viewModel=$(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=c()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=v}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let w={[g.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:f,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${o(a(g.base,t.widget,w))}><calcite-button class=${o(t.widgetButton)} .disabled=${!f} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??i}></calcite-button><calcite-button class=${o(t.widgetButton)} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??i}></calcite-button></div>`}};u("arcgis-zoom",s);export{s as ArcgisZoom};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as u,b as v}from"./P54QZUUD.js";import{B as g,G as V,q as l,y as d,z as b}from"./HXS5SJ2U.js";var _=class extends g{constructor(){super(...arguments),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.arcgisAlterVersion=d(),this.arcgisCreateVersion=d(),this.arcgisFlowItemBack=d(),this.arcgisFlowItemClose=d()}static{this.properties={versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:t,isVersionAdministrator:o,serviceUrl:s,versionInfo:p}}=this,{_alterVersionParameters:c,_createVersionParameters:a}=this;switch(i==="create"&&(a||(a={access:"public",description:"",featureServerUrl:s,ownerName:t,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:s,versionIdentifier:p.versionIdentifier,ownerName:h,versionName:m,access:p.access,description:p.description})),e.type){case"calciteChipGroupSelect":{let r=e.target.label,n=e.target.selectedItems[0].value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteInputTextInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteTextAreaInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}}i==="create"&&(a.access!=="public"&&t.toUpperCase()!==a.ownerName?.toUpperCase()&&!o?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{versionPropertiesElementProps:{closable:e,currentUser:i,hasAdvEditingUte:h,state:m,strings:t,versionInfo:o},_mode:s,_ownerName:p,_versionName:c}=this,a=l`<div><calcite-button appearance=outline slot=footer width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button slot=footer width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,r=l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${s==="edit"&&o.access==="public"||s==="create"} value=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="protected"} value=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="private"} value=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,n=l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${s==="edit"?o.description:""}></calcite-text-area></calcite-label>`,w=l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${s==="edit"?c:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,$=l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!h} .value=${s==="edit"?p:i}></calcite-input-text></calcite-label>`,f=s==="create"?l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return l`<calcite-flow-item .closable=${e} .description=${o?o.versionIdentifier.name:""} .heading=${o?t.actions.editVersion:t.actions.newVersion} @calciteFlowItemClose=${this._handleClose}><calcite-panel .loading=${m==="executing"}><calcite-block heading open>${w}${n}${r}${$}${f}${a}</calcite-block></calcite-panel></calcite-flow-item>`}};V("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
6
+ import{a as u,b as v}from"./XDAHKJZ7.js";import{B as g,G as V,q as l,y as d,z as b}from"./BU7UFQQB.js";var _=class extends g{constructor(){super(...arguments),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.arcgisAlterVersion=d(),this.arcgisCreateVersion=d(),this.arcgisFlowItemBack=d(),this.arcgisFlowItemClose=d()}static{this.properties={versionPropertiesElementProps:0}}static{this.shadowRootOptions=b}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:t,isVersionAdministrator:o,serviceUrl:s,versionInfo:p}}=this,{_alterVersionParameters:c,_createVersionParameters:a}=this;switch(i==="create"&&(a||(a={access:"public",description:"",featureServerUrl:s,ownerName:t,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:s,versionIdentifier:p.versionIdentifier,ownerName:h,versionName:m,access:p.access,description:p.description})),e.type){case"calciteChipGroupSelect":{let r=e.target.label,n=e.target.selectedItems[0].value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteInputTextInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}case"calciteTextAreaInput":{let r=e.target.name,n=e.target.value;i==="create"&&(a={...a,[r]:n}),i==="edit"&&(c={...c,[r]:n});break}}i==="create"&&(a.access!=="public"&&t.toUpperCase()!==a.ownerName?.toUpperCase()&&!o?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{versionPropertiesElementProps:{closable:e,currentUser:i,hasAdvEditingUte:h,state:m,strings:t,versionInfo:o},_mode:s,_ownerName:p,_versionName:c}=this,a=l`<div><calcite-button appearance=outline slot=footer width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button slot=footer width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,r=l`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${s==="edit"&&o.access==="public"||s==="create"} value=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="protected"} value=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${s==="edit"&&o.access==="private"} value=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,n=l`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${s==="edit"?o.description:""}></calcite-text-area></calcite-label>`,w=l`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${s==="edit"?c:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,$=l`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!h} .value=${s==="edit"?p:i}></calcite-input-text></calcite-label>`,f=s==="create"?l`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return l`<calcite-flow-item .closable=${e} .description=${o?o.versionIdentifier.name:""} .heading=${o?t.actions.editVersion:t.actions.newVersion} @calciteFlowItemClose=${this._handleClose}><calcite-panel .loading=${m==="executing"}><calcite-block heading open>${w}${n}${r}${$}${f}${a}</calcite-block></calcite-panel></calcite-flow-item>`}};V("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as m}from"./TGFFGUJI.js";import{d as n}from"./5TO23PN5.js";import{$ as r}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as a,G as o,o as e,p as i,y as s,z as l}from"./HXS5SJ2U.js";var d=i`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=l}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
6
+ import{a as m}from"./B7H7WD4G.js";import{d as n}from"./TOBLLYA5.js";import{$ as r}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as a,G as o,o as e,p as i,y as s,z as l}from"./BU7UFQQB.js";var d=i`arcgis-table-list{display:block}`,h=m(r),t=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=e()("state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=l}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",t);export{t as ArcgisTableList};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as w}from"./JVERGKXO.js";import{b as c}from"./P54QZUUD.js";import{ea as h}from"./U37UDLWM.js";import{b as l,c as d,i as n}from"./XS5ZVM5P.js";import{B as o,G as r,q as e,y as a,z as s}from"./HXS5SJ2U.js";var i=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=a()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=s}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${c(t=>this.el.childElem=t)}></div>`}};r("arcgis-utility-network-validate-topology",i);export{i as ArcgisUtilityNetworkValidateTopology};
6
+ import{a as w}from"./3AZ6NFON.js";import{b as c}from"./XDAHKJZ7.js";import{ea as h}from"./MISEJFJ7.js";import{b as l,c as d,i as n}from"./ZJD6HG35.js";import{B as o,G as r,q as e,y as a,z as s}from"./BU7UFQQB.js";var i=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=a()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=s}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${c(t=>this.el.childElem=t)}></div>`}};r("arcgis-utility-network-validate-topology",i);export{i as ArcgisUtilityNetworkValidateTopology};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
3
  * See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
- * v4.32.0-next.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as d}from"./DFBZF24G.js";import{a as k,b as C}from"./HTAD7O3T.js";import"./5TO23PN5.js";import{la as S,n as M}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as T,C as a,D as p,E as o,G as x,a as m,m as y,o as _,p as w,q as l,y as B,z as f}from"./HXS5SJ2U.js";var t="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:t,secondaryBasemapImage:`${t}__image--secondary`,container:`${r} ${t}__container`,image:`${r}__image ${t}__image`,imageLoading:`${t}__image--loading`,overlay:`${r}__overlay ${t}__image-overlay`,title:`${r}__title ${t}__title`,overlayScrim:`${r}__overlay-scrim`},L=w`arcgis-basemap-toggle{display:block}`,R=C(M),g=class extends T{constructor(){super(...arguments),this.basemapUtils=y(S),this.messages=k(),this.viewModel=R(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=B()}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=f}static{this.styles=L}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(s){let n=this.basemapUtils.getBasemapThumbnailUrl(s);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let s=this.viewModel,n=s.state==="disabled"?null:s.activeBasemap,i=s.state==="disabled"?null:s.nextBasemap,D=s.state==="loading",h=s.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,U=this._getThumbnailStyles(n),A=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,d.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=${p(U)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${p(A)}>${$||D?l`<calcite-scrim><span aria-hidden=true class=${a(d.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
6
+ import{a as d}from"./2ZHISQJN.js";import{a as k,b as C}from"./RAFPWR72.js";import"./TOBLLYA5.js";import{la as S,n as M}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as T,C as a,D as p,E as o,G as x,a as m,m as y,o as _,p as w,q as l,y as B,z as f}from"./BU7UFQQB.js";var t="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:t,secondaryBasemapImage:`${t}__image--secondary`,container:`${r} ${t}__container`,image:`${r}__image ${t}__image`,imageLoading:`${t}__image--loading`,overlay:`${r}__overlay ${t}__image-overlay`,title:`${r}__title ${t}__title`,overlayScrim:`${r}__overlay-scrim`},L=w`arcgis-basemap-toggle{display:block}`,R=C(M),g=class extends T{constructor(){super(...arguments),this.basemapUtils=y(S),this.messages=k(),this.viewModel=R(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=B()}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=f}static{this.styles=L}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(s){let n=this.basemapUtils.getBasemapThumbnailUrl(s);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let s=this.viewModel,n=s.state==="disabled"?null:s.activeBasemap,i=s.state==="disabled"?null:s.nextBasemap,D=s.state==="loading",h=s.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,I=b||u,U=this._getThumbnailStyles(n),A=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,d.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=${p(U)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${p(A)}>${$||D?l`<calcite-scrim><span aria-hidden=true class=${a(d.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as l}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{u as d}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./HXS5SJ2U.js";var c=i`arcgis-directional-pad{display:block}`,h=l(d),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.visualScale=this.widget.visualScale,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,disabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,visualScale:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-directional-pad",t);export{t as ArcgisDirectionalPad};
6
+ import{a as l}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{u as d}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./BU7UFQQB.js";var c=i`arcgis-directional-pad{display:block}`,h=l(d),t=class extends o{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.visualScale=this.widget.visualScale,this.arcgisPropertyChange=s()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,disabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,visualScale:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-directional-pad",t);export{t as ArcgisDirectionalPad};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as d}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{J as n}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as r,G as o,o as i,p as e,y as s,z as a}from"./HXS5SJ2U.js";var l=e`arcgis-histogram-range-slider{display:block}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}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}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("arcgis-histogram-range-slider",t);export{t as ArcgisHistogramRangeSlider};
6
+ import{a as d}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{J as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as r,G as o,o as i,p as e,y as s,z as a}from"./BU7UFQQB.js";var l=e`arcgis-histogram-range-slider{display:block}`,g=d(n),t=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=i()("state"),this.arcgisReady=s()}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}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(h){return this.widget.generateWhereClause(h)}};o("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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{b as y,c as a}from"./5TO23PN5.js";import{b as r}from"./XS5ZVM5P.js";import{g as h,h as w,l as _}from"./HXS5SJ2U.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
6
+ import{b as y,c as a}from"./TOBLLYA5.js";import{b as r}from"./ZJD6HG35.js";import{g as h,h as w,l as _}from"./BU7UFQQB.js";var P=(d,s)=>(i,e)=>v(i,d,e),p=class extends y{constructor(s,i,e){super(s,i,e),this._watchedViewModelProperties=new Map,this._watchedVisibleElementsProperties={},this._isBindingViewModel={value:!0},Object.defineProperty(this.exports,"viewModel",{value:a.makeGetterProxy(s,this._watchedViewModelProperties,this._isBindingViewModel)}),Object.defineProperty(this.exports,"visibleElements",{value:this._makeVisibleElementsBinder()})}hostConnected(){super.hostConnected(),this._isBindingViewModel.value=!1,this.component.manager.loadedCalled&&r(this.component)}async hostLoad(){if(this._watchedProperties.delete("viewModel"),await super.hostLoad(),this.component.manager.destroyed)return;this._watchMetaProperties(),this.onLifecycle(()=>this.reactiveUtils.watch(()=>this._instance.viewModel,e=>{this.component.viewModel=e},{initial:!0}));let s=this._instance.viewModel;typeof s=="object"&&(a.watchComponentUpdates(this,s,this._watchedViewModelProperties),a.watchAccessorUpdates(this,s,this._watchedViewModelProperties));let i=Object.entries(this._watchedVisibleElementsProperties);i.length>0&&this.onLifecycle(()=>i.map(([e,t])=>{let o=this._instance.visibleElements??{},n;for(let c of t.slice(0,-1))if(typeof o[c]=="object"&&o[c]!==null)o=o[c];else{n=!!o[c];break}n===void 0&&(n=!!(o[t.slice(-1)[0]]??!0)),e.startsWith("hide");let m=e.startsWith("hide")||e.startsWith("show")?e.startsWith("hide"):n,l=this.component;return typeof l[e]=="boolean"?this._updateWidgetVisibleElement(t,l[e],m):l[e]=!1,h(this.component,e,c=>this._updateWidgetVisibleElement(t,c,m))}))}_updateWidgetVisibleElement(s,i,e){let t=this._instance.visibleElements??{};for(let n of s.slice(0,-1))(typeof t[n]!="object"||t[n]===null)&&(t[n]={}),t=t[n];let o=!!(e?!i:i);t[s.at(-1)]=o}hostLoaded(){let{el:s}=this.component;s.childElem??=document.createElement("div"),this._instance.container=s.childElem;let i=!1,e=this.component.el.view;Object.defineProperty(this.component.el,"view",{get:()=>this._instance.view??this._instance.viewModel?.view,set:t=>{!("view"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.view=t:this._instance.view=t,!("map"in this._instance)&&typeof this._instance.viewModel=="object"?this._instance.viewModel.map=t.map:this._instance.map=t.map,this._watchViewDestroy(),t&&!i&&(i=!0,this.component.arcgisReady.emit())},configurable:!0,enumerable:!0}),e&&(this._instance.view=e),this.component.el.isConnected&&(r(this.component),this._watchViewDestroy())}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.component.el.view?.ui?.remove(this.component.el.childElem)}hostDestroy(){super.hostDestroy(),this._watchViewDestroyHandle?.remove()}_watchMetaProperties(){h(this.component,"position",s=>{this.component.el.childElem!=null&&typeof s=="string"&&r(this.component)}),h(this.component,"referenceElement",()=>r(this.component))}_makeVisibleElementsBinder(){return new Proxy({},{has:(s,i)=>typeof i=="string"||Reflect.has(s,i),get:(s,i)=>{if(typeof i=="symbol"||i in Promise.prototype)return Reflect.get(s,i);let e=[i],t=this._makeRecursiveProxy(e);return w(this.component,o=>{let n=o;this.component[n]=!1,this._watchedVisibleElementsProperties[n]=e},t)}})}_makeRecursiveProxy(s){let i=new Proxy({},{get:(e,t)=>{let o=Reflect.get(e,t);return typeof t=="symbol"||t in Promise.prototype?o:(s.push(t),i)}});return i}_watchViewDestroy(){this._watchViewDestroyHandle?.remove(),this._watchViewDestroyHandle=this.reactiveUtils.when(()=>this.component.el.view?.destroyed===!0,()=>void this.component.destroy().catch(console.error),{sync:!0})}},v=_(p);export{P as a};
@@ -1,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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{b as n,c as a,i as c}from"./XS5ZVM5P.js";import{B as o,G as r,p as i,y as s,z as l}from"./HXS5SJ2U.js";var h=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=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=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
6
+ import{b as n,c as a,i as c}from"./ZJD6HG35.js";import{B as o,G as r,p as i,y as s,z as l}from"./BU7UFQQB.js";var h=i`arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}`,t=class extends o{constructor(){super(),this._observer=void 0,this.position="bottom-left",this.arcgisReady=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=h}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&c(this,this.referenceElement),e.has("position")&&this.el.childElem&&this.position!==void 0&&this.el.view?.ui.move(this.el.childElem,this.position)}loaded(){a(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),this.el.childElem&&this.el.view?.ui?.remove(this.el.childElem),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};r("arcgis-placement",t);export{t as ArcgisPlacement};
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as c}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{A as n}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as a,p as e,y as i,z as s}from"./HXS5SJ2U.js";var d=e`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`,p=c(n),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=i(),this.content??=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=s}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);export{t as ArcgisExpand};
6
+ import{a as c}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{A as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as a,p as e,y as i,z as s}from"./BU7UFQQB.js";var d=e`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`,p=c(n),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=i(),this.content??=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=s}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);export{t as ArcgisExpand};
@@ -1,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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as y,b as z}from"./P54QZUUD.js";import{a as t}from"./DFBZF24G.js";import{a as k,b}from"./HTAD7O3T.js";import{d as s}from"./5TO23PN5.js";import{O as v}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as u,C as r,E as w,G as f,a as d,o as h,p,q as e,y as m,z as g}from"./HXS5SJ2U.js";var O={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=p`arcgis-locate{display:block}`,$={base:"esri-locate"},E="gps-off",D=b(v),n=class extends u{constructor(){super(...arguments),this.messages=k(),this.viewModel=D(this),this._calciteButton=y(),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,"locate-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=m(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:1,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=g}static{this.styles=T}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:M}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,x=o==="feature-unsupported",L=O===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d($.base,t.widget))}>${!x&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:M??L} kind=neutral .label=${c} @click=${this._locate} title=${c??w} ${z(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};f("arcgis-locate",n);export{n as ArcgisLocate};
6
+ import{a as y,b as z}from"./XDAHKJZ7.js";import{a as t}from"./2ZHISQJN.js";import{a as k,b}from"./RAFPWR72.js";import{d as s}from"./TOBLLYA5.js";import{O as v}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as u,C as r,E as w,G as f,a as d,o as h,p,q as e,y as m,z as g}from"./BU7UFQQB.js";var O={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=p`arcgis-locate{display:block}`,$={base:"esri-locate"},E="gps-off",D=b(v),n=class extends u{constructor(){super(...arguments),this.messages=k(),this.viewModel=D(this),this._calciteButton=y(),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,"locate-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=m(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:1,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=g}static{this.styles=T}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:M}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,x=o==="feature-unsupported",L=O===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d($.base,t.widget))}>${!x&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:M??L} kind=neutral .label=${c} @click=${this._locate} title=${c??w} ${z(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};f("arcgis-locate",n);export{n as ArcgisLocate};
@@ -1,7 +1,7 @@
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.15
4
+ * v4.32.0-next.16
5
5
  */
6
6
  function zo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Re(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function Me(e,t,r){let{subscribe:o}=je(t);return o(s=>{s.some(i=>Re(e,i.target))&&r()})}var bt={};function je(e){let t=e.join(","),r=bt[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),bt[t]=void 0)}}}};return bt[t]=n,n}function Ve(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ie(e,t,r){return Ve(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function W(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],He=new Set(ze),tt="en",We={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Be(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return _t[s]??(_t[s]=Mt(e,o)),await _t[s]}var _t={};async function Mt(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Mt(tt,t)}function Et(e){let t=Ie(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:jt(t)}}function jt(e){let[t,r]=e.split("-"),o=t.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=We[s]??s,He.has(s)?s:r?jt(o):tt}function Vt(e,t,r,o){let s,n=()=>void Fe(e,t,o).then(i=>{(s?.lang!==i.lang||s.t9nLocale!==i.t9nLocale||s.t9nStrings!==i.t9nStrings)&&r(i),s=i}).catch(console.error);return n(),Me(e,["lang"],n)}async function Fe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:s}=Et(e),n=`${t}/${r}/t9n`,i=`${r}.t9n.`,c=r===null?{}:await Be(s,n,i);return{lang:o,t9nLocale:s,t9nStrings:c}}var et=e=>e.replace(Ge,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(e,t){let r=t>qe?Ke:t/Je,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var qe=4e3,Ke=2e3,Je=4;function zt(e){return e!==void 0}function Ht(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(zt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Wt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Bt=(e,t)=>e.manager.internals.members?.[t]?.[0];var rt=Symbol.for("controller");var qt=e=>typeof e=="object"&&e!==null&&(rt in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function x(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function I(e){return B}var P=[];function st(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Kt(){return P}var V;function Ye(e){V!==e&&(V=e,queueMicrotask(()=>{V===e&&(V=void 0)}))}function Qe(){let e=V;return V=void 0,e}var Ze=async(e,t)=>{let r=At(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},Xe=async e=>{let t=At(e);return await t.ready,t},At=e=>{let t=Qe();if(t!==void 0)return t;let o=I().manager.internals.resolveExports(e);if(o!==void 0)return o;if(qt(e))return e},$={setter:!1,getter:!1,readOnly:!1},F=new WeakMap,Jt;Jt=rt;var wt=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[Jt]=!0,this.ready=this._ready.promise,this._exports=Gt(this),this._exportWatchers=new Set;let t=e??I(new.target.name);this.component=t,this.component.addController(this),st(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Gt(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return x(this.component),Ze}get useRef(){return x(this.component),Xe}get useRefSync(){return x(this.component),At}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await W(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(W)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Ft,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Ft,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){x(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Ft(e){p(e,void 0,this)}var Yt=wt;function Gt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(to.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var to=new Set(["exports","_exports"]);function nt(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(G),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var T=void 0;function G(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function q(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var Qt=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=$t,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if($.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let r=this.keyTrackers;this.trackedValue=$t,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=Bt(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),E=F.get(this);if($.getter||E===void 0)return v;let j=E.manager.internals;v=j.accessorGetter[t](v,t);let y=j.getters[t]??Ct;for(let C=0;C<y.length;C++)v=y[C](v,t);return v}:i,g=h?function(v){let E=i.call(this),j=F.get(this);if(j===void 0){c.call(this,v);return}let y=j.manager.isLit?v??void 0:Wt(v,s),C=j.manager.internals;if(y===E)c.call(this,y);else{let Rt=$.setter?Ct:C.setters[t]??Ct;for(let H=0;H<Rt.length&&(y=Rt[H](y,E,t),y!==E);H++);y=C.accessorSetter[t](y,E,t),c.call(this,y),y!==E&&C.enabledWatchers[t]?.forEach(H=>H(y,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(g[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},Ct=[],ot=Symbol(),$t=Symbol();function Zt(e,t,r){let o=e.manager.internals;return o.trackedValue!==$t&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function Xt(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>nt(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&Zt(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:!0}),r),r}function eo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function oo(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function te(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ee=e=>(...t)=>{let r=Kt(),o=new e(...t),s=o.exports;st(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),Ye(o);let i=[o.component,...r].reverse();return Xt(i,c=>c===void 0?void 0:ro(o,c,s),s)};function ro(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),q(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?te(()=>{n[r]=e.exports}):n[r]=e.exports})}var se=(e,t)=>new so(e,t),so=class extends Yt{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(rt in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new Qt(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,Ht(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=Lt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=oe,c.accessorSetter[a]=oe,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),st(void 0),x(e),F.set(e.el,e),F.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(io),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(ao),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,co)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&q(this.component,Lt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(lo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(ho,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(po,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(uo),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=It(e,no)}}},Lt="autoDestroyDisabled",no=1e3;var oe=e=>e;function io(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function ao(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function co(e){"triggerLoad"in e?await e.triggerLoad():await W(e.hostLoad,e)}function lo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function ho(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function po(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function uo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var ne=e=>mo(void 0,e);var fo=class extends wt{constructor(e,t){super(e);let r=this.exports;try{x(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},mo=ee(fo);var cr=ne;var hr=e=>(t={})=>ne((r,o)=>{let s=Et(r.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=r;queueMicrotask(()=>o.onLifecycle(()=>Vt(r.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};o.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=f)),c(i.messageOverrides)},t.name)));function c(a){let l=o.exports,d=l._original??l,h=ie(d,a);a&&(h._original=d),o.exports=h}return"messageOverrides"in i&&o.onLifecycle(()=>q(i,"messageOverrides",c)),t.blocking?(o.setProvisionalExports(n,!1),o.ready):n});function ie(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ie(e[o],s):r[o]=s??e[o]}),r}var dr=e=>yo,re="arcgisPropertyChange";function yo(...e){let t=I(),o=t[re];return t.manager.isLit&&(o=t.constructor.$createEvent(re,void 0,t)),t.manager.onLoad(()=>t.manager.onLifecycle(()=>e.map(s=>q(t,s,()=>o.emit({name:s}))))),o}var it=globalThis,at=it.ShadowRoot&&(it.ShadyCSS===void 0||it.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),ae=new WeakMap,K=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==Ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(at&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=ae.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ae.set(r,t))}return t}toString(){return this.cssText}},ce=e=>new K(typeof e=="string"?e:e+"",void 0,Ot),go=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+e[n+1],e[0]);return new K(r,e,Ot)},St=(e,t)=>{if(at)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=it.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},ct=at?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return ce(r)})(e):e;var Tt=globalThis,lt=Tt.trustedTypes,le=lt?lt.createPolicy("lit-html",{createHTML:e=>e}):void 0,xt="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Nt="?"+A,vo=`<${Nt}>`,k=document,Y=()=>k.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Dt=Array.isArray,me=e=>Dt(e)||typeof e?.[Symbol.iterator]=="function",Pt=`[
7
7
  \f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,he=/-->/g,de=/>/g,N=RegExp(`>|${Pt}(?:([^\\s"'>=/]+)(${Pt}*=${Pt}*(?:[^
@@ -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.15
4
+ * v4.32.0-next.16
5
5
  */
6
- import{a as h}from"./TGFFGUJI.js";import"./5TO23PN5.js";import{j as n}from"./U37UDLWM.js";import"./XS5ZVM5P.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./HXS5SJ2U.js";var d=i`arcgis-area-measurement-3d{display:block}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};
6
+ import{a as h}from"./B7H7WD4G.js";import"./TOBLLYA5.js";import{j as n}from"./MISEJFJ7.js";import"./ZJD6HG35.js";import{B as o,G as r,o as s,p as i,y as e,z as a}from"./BU7UFQQB.js";var d=i`arcgis-area-measurement-3d{display:block}`,l=h(n),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("analysis","state"),this.arcgisReady=e()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=a}static{this.styles=d}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-area-measurement-3d",t);export{t as ArcgisAreaMeasurement3d};