@arcgis/portal-components 6.0.0-next.40 → 6.0.0-next.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{GG6U75ZA.js → 2GIECQ25.js} +1 -1
- package/dist/cdn/{75CT6IMW.js → 2N6K2UUQ.js} +1 -1
- package/dist/cdn/{RTZ2TKM5.js → 36DGXQLJ.js} +1 -1
- package/dist/cdn/{47DKAGRV.js → 3HXQ5Z4C.js} +1 -1
- package/dist/cdn/{KPZGBBDG.js → 3SG67WP5.js} +1 -1
- package/dist/cdn/3ZVDEJPF.js +2 -0
- package/dist/cdn/42AN66SK.js +2 -0
- package/dist/cdn/{6APPSZ7E.js → 4E354KKM.js} +1 -1
- package/dist/cdn/{4VLEUN7I.js → 67FEZD25.js} +1 -1
- package/dist/cdn/{7J22VLBO.js → 6GPAZV4Z.js} +1 -1
- package/dist/cdn/{DT4HGMLS.js → 6XDKSVRF.js} +1 -1
- package/dist/cdn/{N3WRMPM6.js → 6ZYYG64M.js} +1 -1
- package/dist/cdn/{SYXCSFIA.js → 7AG3E7K6.js} +1 -1
- package/dist/cdn/7JDXAVUG.js +2 -0
- package/dist/cdn/{3KGSWW6B.js → 7JKFWVCY.js} +1 -1
- package/dist/cdn/{AZTAWZI5.js → AJEQETRW.js} +1 -1
- package/dist/cdn/{W3JJBZYX.js → AP7UWD4P.js} +1 -1
- package/dist/cdn/CERDMRFQ.js +2 -0
- package/dist/cdn/{UIK6LPA7.js → DFECUYNW.js} +1 -1
- package/dist/cdn/{2574FNAZ.js → DGWOMELT.js} +1 -1
- package/dist/cdn/{LEESUFWE.js → DIWTHL4N.js} +1 -1
- package/dist/cdn/{FFL2L4X5.js → DKUOQCHO.js} +1 -1
- package/dist/cdn/{FIAEPK5L.js → DQL2JT6K.js} +1 -1
- package/dist/cdn/{RKHNP3KL.js → EETYTFHH.js} +1 -1
- package/dist/cdn/FINVGL3V.js +2 -0
- package/dist/cdn/{RXMM6CFK.js → FXXFSYNB.js} +1 -1
- package/dist/cdn/{6AHPTR2E.js → GA4OWLSO.js} +1 -1
- package/dist/cdn/{43A74S72.js → GHDMQJG4.js} +1 -1
- package/dist/cdn/{GZ4ONSFV.js → GY4SY4XC.js} +1 -1
- package/dist/cdn/{OQ2JULON.js → H4TPPTVB.js} +1 -1
- package/dist/cdn/{TP7V25GT.js → IQPJOVDL.js} +1 -1
- package/dist/cdn/{IAWL475A.js → IWPJEUHY.js} +1 -1
- package/dist/cdn/{XVV75AX3.js → JDW7ECBF.js} +1 -1
- package/dist/cdn/{DENQY4OE.js → JGTBDGJ7.js} +1 -1
- package/dist/cdn/{SLK7PV62.js → LVWAYUYZ.js} +1 -1
- package/dist/cdn/{YYVLFAFT.js → ME6XACY6.js} +1 -1
- package/dist/cdn/{P3FFM322.js → N5AG34NK.js} +1 -1
- package/dist/cdn/{JIU6MBGB.js → ODYYTLLQ.js} +1 -1
- package/dist/cdn/{XCOP6QHA.js → OQBLBDR5.js} +1 -1
- package/dist/cdn/{ZG7OW456.js → OWODUQF2.js} +1 -1
- package/dist/cdn/{W6WVMRGQ.js → PM33STYQ.js} +1 -1
- package/dist/cdn/{XE3DCC5D.js → PUHZVFK7.js} +1 -1
- package/dist/cdn/{SUN4MBT3.js → QXPDVHB5.js} +1 -1
- package/dist/cdn/{ZLNBCJE4.js → R45EMSQJ.js} +1 -1
- package/dist/cdn/{RJXIU4GH.js → RDRSZQAR.js} +1 -1
- package/dist/cdn/{X7W4VJO7.js → SGV47YVU.js} +1 -1
- package/dist/cdn/{C7SNE6YG.js → TQX5BOZG.js} +1 -1
- package/dist/cdn/{FTKSVLDI.js → U2J4ST45.js} +1 -1
- package/dist/cdn/{5M25PCH2.js → U3V7PPC2.js} +1 -1
- package/dist/cdn/{LTD5KLLE.js → UCHX4CBR.js} +1 -1
- package/dist/cdn/{5RBH3LGK.js → UCTXRTQZ.js} +1 -1
- package/dist/cdn/UWB23CG4.js +2 -0
- package/dist/cdn/{IOF72CDU.js → VABNHOVG.js} +1 -1
- package/dist/cdn/{OPI4P6VO.js → W6U2HMEK.js} +1 -1
- package/dist/cdn/{LUJGCYQY.js → XSEFGIVV.js} +1 -1
- package/dist/cdn/{7ZU43BL6.js → YCMZ3RVZ.js} +1 -1
- package/dist/cdn/{ZDH4KVAV.js → ZOOEWYFB.js} +1 -1
- package/dist/cdn/assets/portal-item-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-navigation/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/portal.js +12 -8
- package/dist/chunks/query.js +1 -1
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +11 -0
- package/dist/components/arcgis-portal-item-card/customElement.js +81 -52
- package/dist/components/arcgis-portal-item-card/index.js +2 -0
- package/dist/components/arcgis-portal-navigation/customElement.d.ts +4 -0
- package/dist/components/arcgis-portal-navigation/customElement.js +265 -264
- package/dist/components/arcgis-portal-navigation/index.js +4 -4
- package/dist/components/arcgis-portal-navigation/types.d.ts +3 -0
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +1 -1
- package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/item.d.ts +4 -0
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +8 -8
- package/dist/cdn/3DOZPC3W.js +0 -2
- package/dist/cdn/46MYBPSS.js +0 -2
- package/dist/cdn/66VV7NHO.js +0 -2
- package/dist/cdn/A5QLPZ57.js +0 -2
- package/dist/cdn/G272JPUS.js +0 -2
- package/dist/cdn/IGLODZPX.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as b,d as k}from"./
|
|
2
|
+
import{a as b,d as k}from"./67FEZD25.js";import"./KV4ZZSNW.js";import"./FN2QMDEW.js";import{L as c,M as h,N as f,P as g,Q as $,T as d,h as m,j as l}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";var E=/^#[0-9a-f]{3}$/iu,x=/^#[0-9a-f]{6}$/iu;function u(o){return I(o)||v(o)}function I(o){return o?.length===4&&E.test(o)}function v(o){return o?.length===7&&x.test(o)}function O(o){if(!u(o))return null;let t=o.replace("#","");if(t.length===3){let[e,i,r]=t.split("");return{r:Number.parseInt(`${e}${e}`,16),g:Number.parseInt(`${i}${i}`,16),b:Number.parseInt(`${r}${r}`,16)}}return{r:Number.parseInt(t.slice(0,2),16),g:Number.parseInt(t.slice(2,4),16),b:Number.parseInt(t.slice(4,6),16)}}function w(o){let t=0;for(let i=0;i<o.length;i++)t=o.charCodeAt(i)+((t<<5)-t);let e="#";for(let i=0;i<3;i++){let r=t>>i*8&255;e+=`00${r.toString(16)}`.slice(-2)}return e}function y(o){let{r:t,g:e,b:i}=o;t/=255,e/=255,i/=255;let r=Math.max(t,e,i),n=Math.min(t,e,i),s=r-n;if(s===0)return 0;let a=0;switch(r){case t:a=(e-i)/s+(e<i?6:0);break;case e:a=(i-t)/s+2;break;default:a=(t-e)/s+4;break}return Math.round(a*60)}function M(o){let t=O(o);return t?y(t):0}var T=m`:host{display:inline-block}:host([scale="s"]){height:1.5rem;width:1.5rem;font-size:.625rem}:host([scale="m"]){height:2rem;width:2rem;font-size:.75rem}:host([scale="l"]){font-size:1rem;height:2.75rem;width:2.75rem}:host([scale="xl"]){font-size:1.25rem;height:4rem;width:4rem}.icon{display:flex;color:var(--calcite-color-text-3)}.background{position:relative;display:flex;height:100%;width:100%;align-items:center;justify-content:center}.initials{position:absolute;font-weight:700;text-transform:uppercase;color:var(--calcite-color-text-2)}.thumbnail{height:100%;width:100%}.tooltip-text{margin:0;padding:0;font-size:.75rem;color:var(--calcite-color-text-2)}calcite-tooltip{pointer-events:none}`,p=class extends f{constructor(){super(...arguments),this.imageEl=c(),this.fallbackEl=c(),this.tooltipEl=c(),this.imageError=!1,this.tooltipOpen=!1,this.tooltip=!1,this.scale="m"}static{this.properties={imageError:16,tooltipOpen:16,group:0,portal:0,tooltip:5,scale:3}}static{this.styles=T}willUpdate(t){t.has("group")&&(this.imageError=!1)}updated(){let t=this.tooltipEl.value,e=this.imageEl.value||this.fallbackEl.value;t&&e&&(t.referenceElement=e)}isDarkMode(){return!!this.el.closest(".calcite-mode-dark")}getThumbnailURI(){let{group:t,portal:e}=this;if(!t)return null;if(t.thumbnailUrl)return t.thumbnailUrl;let i=t.thumbnail;if(!i)return null;if(i.startsWith("http"))return i;if(!e||!t.id)return null;let r=k(e),n=r?`?token=${r}`:"";return`${b(e)}community/groups/${t.id}/info/${i}${n}`}generateFillColor(){let{id:t,title:e}=this.group||{},i=t?`#${t.slice(Math.max(0,t.length-6))}`:"",r=t&&u(i)?i:w(e||"");if(!t&&!e||!u(r))return"var(--calcite-color-foreground-2)";let n=M(r),s=this.isDarkMode()?20:90;return`hsl(${n}, 60%, ${s}%)`}generateInitials(){let t=this.group?.title?.trim().charAt(0);return t?.match(/^\w+$/u)?t:null}getIconScale(){return this.scale==="xl"?"l":this.scale==="xs"?"s":this.scale}renderTooltip(){return!this.tooltip||!this.group?.title?null:l`<calcite-tooltip .open=${this.tooltipOpen} close-on-click placement=bottom-start offset-distance=6 offset-skidding=0 ${h(this.tooltipEl)}><p class="tooltip-text">${this.group.title}</p></calcite-tooltip>`}render(){let t=this.getThumbnailURI();if(t&&!this.imageError)return l`<img class="thumbnail" src=${t??$} alt @error=${()=>{this.imageError=!0}} @mouseenter=${()=>{this.tooltipOpen=!0}} @mouseleave=${()=>{this.tooltipOpen=!1}} @focusin=${()=>{this.tooltipOpen=!0}} @focusout=${()=>{this.tooltipOpen=!1}} ${h(this.imageEl)}>${this.renderTooltip()}`;let e=this.generateInitials();return l`<span class="background" style=${g({backgroundColor:this.generateFillColor()})} @mouseenter=${()=>{this.tooltipOpen=!0}} @mouseleave=${()=>{this.tooltipOpen=!1}} @focusin=${()=>{this.tooltipOpen=!0}} @focusout=${()=>{this.tooltipOpen=!1}} ${h(this.fallbackEl)}>${e?l`<span aria-hidden=true class="initials">${e}</span>`:l`<calcite-icon class="icon" icon=users .scale=${this.getIconScale()}></calcite-icon>`}</span>${this.renderTooltip()}`}};d("arcgis-portal-group-thumbnail",p);export{p as ArcgisPortalGroupThumbnail};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import b from"./TIPQ2ZWK.js";import a from"./
|
|
2
|
+
import b from"./TIPQ2ZWK.js";import a from"./H4TPPTVB.js";import{a as u,d as p}from"./67FEZD25.js";export default $arcgis.t(([{a:m,d:c},{e:l,f:d,g:i}])=>{async function g(e,r,s){let t=`${s?"https://www.arcgis.com/sharing/rest/":u(r)}community/users/${e}`,o=t?.includes("www.arcgis.com")&&r.isPortal,n=t?.includes(".arcgis.com")&&!r.isPortal&&!r.user,y=o||n?{disableIdentityLookup:!0,addTokenManually:!1}:{};return await m({requester:async()=>{try{return await c({url:t,portal:r,options:y})}catch{return{username:e}}},key:"user",id:t})}var $=async e=>{let r=`${u(e)}/portals/${e.id}/users`;return await c({url:r,portal:e,params:{num:100,sortField:"lastlogin",sortOrder:"desc"}})};function a(e,r){return`${e.restUrl}/community/users/${r?.id||e?.user?.id}`}async function k(e,r){let s=`${a(e,r)}/properties`;return await l(s)}async function U(e,r,s){let t=`${a(r,s)}/setProperties`,o=p(r),n=new FormData;return n.append("properties",JSON.stringify(e)),n.append("token",o),n.append("f","json"),await l(t,{method:"post",body:n})}async function b(e,r){let s=`${a(e,r)}/provisionedListings`;return await i(s,{returnAppClientIds:!0,returnAllProvisions:!0},"provisionedListings")}async function v(e,r){let s=`${a(e,r)}/linkedUsers`;try{return await i(s,{num:10},"linkedUsers")}catch(t){return console.error("Error fetching linked accounts:",t),[]}}async function C(e,r,s){try{return await i(`https://${e.portalHostname}/sharing/rest/community/users/${r}/linkedUsers`,{num:10,token:s},"linkedUsers")}catch(t){return console.error(t),[]}}async function I({portal:e,user:r,targetUser:s,targetToken:t}){let o=`${a(e,r)}/linkUser`,n=await d(o,{method:"post",query:{user:s,userToken:t}});return n.error&&console.error(n.error),n}async function L({portal:e,user:r,linkedUsername:s}){let t=`${a(e,r)}/unlinkUser`,o=await d(t,{method:"post",query:{user:s}});return o.error&&console.error(o.error),o}return{a:g,b:$,c:k,d:U,e:b,f:v,g:C,h:I,i:L}},a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./GY4SY4XC.js";import"./GUL7EIJ4.js";import"./67FEZD25.js";import"./KV4ZZSNW.js";import"./FN2QMDEW.js";import{a as p}from"./IYICIRGI.js";import"./N7XYFVOI.js";import"./ZNNEU5QW.js";import{L as d,M as u,N as v,T as m,j as o,v as c}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([{a:f,b:F,c:b}])=>{var r=class extends v{constructor(){super(),this.messages=p({blocking:!0}),this.buttonRef=d(),this.favoriteRequestId=0,this.handleFavoriteUpdate=t=>{let i=b(t,this.item?.id??void 0);i&&(this.isFavorite=i.favorite)},this.handleToggleFavorite=async t=>{t.preventDefault(),t.stopPropagation();let{item:i,portal:e,user:s}=this;if(!i.id||!e||!s)return;let h={id:i.id,access:i.access},n=this.isFavorite;this.mutation?.abort();let l=new AbortController;this.mutation=l;let a=!n;this.isFavorite=a;let{updated:g}=await F({currentFavorite:n,item:h,portal:e,user:s});if(!(l.signal.aborted||this.item!==i||this.item.id!==h.id||this.portal!==e||this.user!==s)){if(!g){this.isFavorite=!a;return}this.arcgisItemFavoriteUpdate.emit({id:i.id,favorite:a})}},this.isFavorite=!1,this.isFavoriteLoaded=!1,this.width="full",this.iconOnly=!1,this.scale="m",this.showTooltip=!1,this.arcgisItemFavoriteUpdate=c(),this.listenOn(window,"arcgisItemFavoriteUpdate",this.handleFavoriteUpdate)}static{this.properties={isFavorite:16,isFavoriteLoaded:16,item:0,portal:0,user:0,width:1,iconOnly:5,scale:1,showTooltip:5}}async setFocus(){await this.buttonRef.value?.setFocus()}willUpdate(t){(t.has("item")||t.has("portal")||t.has("user"))&&(this.mutation?.abort(),this.isFavoriteLoaded=!1,this.refreshFavorite())}disconnectedCallback(){super.disconnectedCallback(),this.mutation?.abort(),this.favoriteRequestId++}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.refreshFavorite()}async refreshFavorite(){let t=++this.favoriteRequestId;if(!this.item.id||!this.portal||!this.user){this.isFavorite=!1;return}let i=await f(this.item.id,this.portal,this.user);t===this.favoriteRequestId&&(this.isFavorite=i,this.isFavoriteLoaded=!0)}render(){if(!this.isFavoriteLoaded)return null;let t=this.isFavorite?this.messages.remove:this.messages.add;return o`<calcite-button .width=${this.iconOnly?"auto":this.width} .scale=${this.scale} .appearance=${this.iconOnly?"transparent":"outline-fill"} kind=neutral .iconStart=${this.isFavorite?"star-f":"star"} .ariaLabel=${this.iconOnly?t:void 0} @click=${this.handleToggleFavorite} ${u(this.buttonRef)}>${this.iconOnly?null:t}</calcite-button>${this.showTooltip?o`<calcite-tooltip .referenceElement=${this.buttonRef.value}>${t}</calcite-tooltip>`:null}`}};m("arcgis-portal-item-favorite",r);return r},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import h from"./
|
|
2
|
+
import h from"./VABNHOVG.js";import"./SRWFOV5W.js";import g from"./YCMZ3RVZ.js";import f from"./LVWAYUYZ.js";import"./O2GPTWGF.js";import"./JLT5GCLY.js";import e from"./VQRMXBPQ.js";import"./4QYVBXZT.js";import d from"./FINVGL3V.js";import"./I4TKQB4A.js";import"./ULGME5RT.js";import"./UOXUUCE7.js";import c from"./RDRSZQAR.js";import b from"./TIPQ2ZWK.js";import"./IAMPUXPT.js";import"./U3V7PPC2.js";import"./KAK6CNI7.js";import a from"./H4TPPTVB.js";import"./67FEZD25.js";import"./KV4ZZSNW.js";import"./FN2QMDEW.js";import"./IYICIRGI.js";import"./N7XYFVOI.js";import"./ZNNEU5QW.js";import{T as r}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([,,,,,,,e])=>{var t=class extends e{constructor(){super(...arguments),this.entityType="group",this.selected=null}static{this.properties={entityType:32,selected:0}}};r("arcgis-portal-group-picker",t);return t},a,b,c,d,e,f,g,h)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as f,b as S,c as O}from"./
|
|
2
|
+
import{a as f,b as S,c as O}from"./DIWTHL4N.js";import a from"./6GPAZV4Z.js";import"./KAK6CNI7.js";import{d as E}from"./67FEZD25.js";import"./KV4ZZSNW.js";import{d as R}from"./FN2QMDEW.js";import{N as L,O as x,Q as U,T as P,h as I,j as y,v as M}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([{execute:K},{a:v,i:w}])=>{function z(t){return t?`${t.xmin},${t.ymin},${t.xmax},${t.ymax}`:""}function V(t){return t&&t.xmin>=-180&&t.xmax<=180&&t.ymin>=-90&&t.ymax<=90&&t.xmin<=t.xmax&&t.ymin<=t.ymax?[[t.xmin,t.ymin],[t.xmax,t.ymax]]:[[-180,-90],[180,90]]}var m=document.createElement("div");m.style.height="532px";m.style.left="-10000px";m.style.position="absolute";m.style.top="-10000px";m.style.width="800px";async function A({item:t,portal:e,serviceInfo:a}){let i=t.thumbnailUrl,n=t.url??"",r=["Map Service","Feature Service","Image Service"];if(i)return i;if(!r.includes(t.type??""))return"";if(t.type==="Map Service"||t.type==="Image Service"||n.includes("/MapServer")){let l=z(t.extent);return l?G({serviceUrl:n,extent:l,size:"800,532",format:"image",serviceInfo:a}):""}return t.type==="Feature Service"?await j(t,e):""}function G({visibleLayers:t,serviceUrl:e,serviceInfo:a,size:i,extent:n,bboxSR:r,imageSR:l,format:h}){if(!a)return"";let s=e,u=s.includes("/MapServer"),p=t,d=s.indexOf("/MapServer");if(!p&&u&&d!==-1){let g=s.indexOf("?");p=g>-1?s.substring(d+11,g):s.substring(d+11),s=g>-1?s.substring(0,d+10)+s.substring(g):s.substring(0,d+10)}u||(u=!!(a.capabilities?.toLowerCase().includes("map")||a.supportedImageFormatTypes));let c=s.indexOf("?"),o;if(c===-1)if(u)o=`${s}/export?`;else{if((a.currentVersion??0)>=10.1)return`${s}/info/thumbnail`;o=`${s}/exportImage?`}else if(u)o=`${s.substring(0,c)}/export${s.substring(c)}&`;else{if((a.currentVersion??0)>=10.1)return`${s.substring(0,c)}/info/thumbnail${s.substring(c)}`;o=`${s.substring(0,c)}/exportImage${s.substring(c)}&`}return o+=`size=${i}&bbox=${n}`,r&&(o+=`&bboxSR=${r}`),l&&(o+=`&imageSR=${l}`),u?(o+=a.supportedImageFormatTypes?.includes("PNG32")?`&format=png32&f=${h}`:`&format=png24&f=${h}`,p&&(o+=`&layers=show:${p}`)):o+=`&format=jpgpng&f=${h}&interpolation=RSP_NearestNeighbor&bandIds=null`,o}async function j(t,e){if(!e||!t.id)return"";m.isConnected||document.body.append(m);let a,i;try{let[{default:n},{default:r},{default:l},h,{default:s},{default:u},{default:p},{default:d}]=await Promise.all([$arcgis.t(m=>({default:m[0]}),"Basemap"),$arcgis.t(m=>({default:m[0]}),"layers/FeatureLayer"),$arcgis.t(m=>({default:m[0]}),"Map"),$arcgis.t(m=>m[0],"rest/print"),$arcgis.t(m=>({default:m[0]}),"rest/support/PrintParameters"),$arcgis.t(m=>({default:m[0]}),"rest/support/PrintTemplate"),$arcgis.t(m=>({default:m[0]}),"smartMapping/heuristics/scaleRange"),$arcgis.t(m=>({default:m[0]}),"views/MapView")]),c=new r({portalItem:{id:t.id,portal:e}}),o=e.defaultBasemap?.id??"",g=o.includes("basemap")?"topo-vector":new n({portalItem:{id:o,portal:e}});a=new l({basemap:g}),i=new d({map:a,container:m}),await i.when();let $=0,b=0;o.includes("basemap")||({minScale:$,maxScale:b}=await p({layer:c,view:i}));let k=await c.queryExtent();if(!k.extent)return"";await i.goTo(k.extent),c.minScale=$,c.maxScale=b,a.add(c),i.scale=b,await new Promise(D=>setTimeout(D,2e3));let N=e.helperServices?.printTask?.url??"https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task",_=new u({format:"png32",exportOptions:{dpi:96,width:800,height:532},layout:"map-only",showLabels:!1,attributionVisible:!1});return(await h.execute(N,new s({view:i,template:_}))).url??""}catch{return""}finally{i?.destroy(),a?.destroy()}}async function F({webMap:t,extent:e,portal:a,spatialReference:i}){let n=a?.helperServices?.printTask?.url;if(!n)return"";let r={Web_Map_as_JSON:JSON.stringify({...t,mapOptions:{showAttribution:!1,extent:{xmin:e[0][0],ymin:e[0][1],xmax:e[1][0],ymax:e[1][1],spatialReference:{wkid:4326}},spatialReference:i},exportOptions:{dpi:96,outputSize:[600,400]},layoutOptions:{}}),Format:"PNG32",Layout_Template:"MAP_ONLY"};return(await K(n,r)).results?.find(l=>l.dataType==="data-file")?.value?.url??""}async function W({item:t,portal:e}){let a=t.url||(e&&t.id?`${v(t.id,e)}/data`:"");if(!a||!e?.defaultBasemap)return"";let i=new URL(a),n=new URL(e.restUrl).hostname,r=E(e);r&&i.hostname===n&&i.searchParams.set("token",r);let l={baseMap:{...e.defaultBasemap.toJSON(),title:"basemap"},operationalLayers:[{url:i.toString(),id:`KML_${t.id}`,opacity:1,title:t.title,visibility:!0,type:"KML"}]};return await F({webMap:l,extent:V(t.extent),portal:e,spatialReference:{wkid:4326}})}async function B({item:t,portal:e}){if(!e||!t.id)return"";let a=v(t.id,e),i={operationalLayers:[],baseMap:{baseMapLayers:[{id:t.id,type:"VectorTileLayer",layerType:"VectorTileLayer",title:t.title,styleUrl:`${a}/resources/styles/root.json`,visibility:!0,opacity:1}],title:"Topographic"},spatialReference:{wkid:102100,latestWkid:3857},authoringApp:"WebMapViewer",authoringAppVersion:"5.3",version:"2.10"};return await F({webMap:i,extent:V(t.extent),portal:e,spatialReference:{wkid:102100}})}async function C({item:t,portal:e,serviceInfo:a}){let i=f(t),n=t.type??"",r;try{R(["Image Service","Map Service","Feature Service"],n)&&(r=await A({item:t,portal:e,serviceInfo:a})||i),n==="Vector Tile Service"&&(r=await B({item:t,portal:e})||i),n==="KML"&&(r=await W({item:t,portal:e})||i)}catch{return{error:{code:"unhandledError"}}}return{result:r??i}}function J(t,e){if(!t)return!1;let a=t.includes("thumbnail/ago_downloaded."),i=t.includes("Utilities/PrintingTools");return!t.includes("images/transparent.gif")&&(e?.isPortal?!i:!a)}function q(t,e){let a=!!e&&w(t,e),i=t.type==="Dashboard";return!S(t)&&a&&i}function H(t,e,a){let i=S(t),n=J(i,e),r=["Feature Service","Vector Tile Service"].includes(t.type)&&!n,l=t.type==="Feature Service"&&t.typeKeywords?.includes("Location Tracking Service"),h=t.typeKeywords?.includes("Table");if(t.type==="Image"||i&&!r||l||h)return!1;let s=t.typeKeywords?.includes("Tiled Imagery"),u=t.type==="Image Service"&&!s||t.type==="Map Service",p=!!a&&w(t,a);return p&&u||p&&t.type==="Feature Service"||t.type==="Vector Tile Service"||p&&t.type==="KML"}var Q=I`:host{display:block;height:100%;position:relative;width:100%}.outer{position:relative;width:100%;height:100%;aspect-ratio:3 / 2;min-height:0}.inner{position:absolute;inset:0;background-color:var(--calcite-color-background)}.inner--loading{animation:thumbnail-shimmer 1s linear infinite;background-image:linear-gradient(to right,var(--calcite-color-background) 0%,var(--calcite-color-foreground-2),var(--calcite-color-background) 40%,var(--calcite-color-background) 100%);background-repeat:no-repeat;background-size:800px 100%}.thumbnail{display:block;width:100%;height:100%;object-fit:cover;opacity:1;transition:opacity .3s linear}.thumbnail--loading{opacity:0}.fallback{display:flex;height:100%;width:100%;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-3)}@keyframes thumbnail-shimmer{0%{background-position:-468px 0}to{background-position:468px 0}}`,T=class extends L{constructor(){super(...arguments),this.generating=!1,this.imageError=!1,this.loading=!0,this.thumbnailUri=null,this.useDefaultThumbnail=!1,this.useProduction=!1,this.generate=!1,this.arcgisItemThumbnailGenerated=M()}static{this.properties={imageError:16,loading:16,thumbnailUri:16,useDefaultThumbnail:16,item:0,user:0,portal:0,useProduction:5,generate:5,serviceInfo:0,cacheString:1}}static{this.styles=Q}async generateThumbnail(e=!1){let{item:a,portal:i}=this;if(this.loading=!0,this.generating)return this.thumbnailUri??"";try{this.generating=!0;let n=e?f(a):await C({item:a,portal:i,serviceInfo:this.serviceInfo}),r=typeof n=="string"?n:n.result??f(a);return this.thumbnailUri=r,this.useDefaultThumbnail=!1,this.arcgisItemThumbnailGenerated.emit(r),this.generating=!1,r}catch{return this.generating=!1,""}}willUpdate(e){(e.has("item")||e.has("portal")||e.has("user")||e.has("useProduction")||e.has("cacheString")||e.has("generate"))&&this.updateThumbnail()}async updateThumbnail(){let{item:e,portal:a,user:i}=this;this.imageError=!1,this.useDefaultThumbnail=!1;let n=this.generate&&H(e,a,i),r=this.generate&&q(e,i);n&&await this.generateThumbnail()||(this.thumbnailUri=r?f(e):O(a,e,!1,this.useProduction,this.cacheString),r&&await this.generateThumbnail(!0))}render(){let e=this.thumbnailUri;return this.imageError?null:y`<div class="outer"><div class=${x({inner:!0,"inner--loading":this.loading})}>${e?y`<img class=${x({thumbnail:!0,"thumbnail--loading":this.loading})} src=${e??U} alt @load=${()=>{this.loading=!1}} @error=${()=>{if(!this.useDefaultThumbnail&&this.item){this.loading=!0,this.useDefaultThumbnail=!0,this.thumbnailUri=f(this.item);return}this.imageError=!0,this.loading=!1}}>`:null}</div></div>`}};P("arcgis-portal-item-thumbnail",T);return T},"rest/geoprocessor",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as u,d as a}from"./
|
|
2
|
+
import{a as u,d as a}from"./67FEZD25.js";var o=t=>"thumbnailUrl"in t;function m(t,r,s=!1){if(o(t))return t.thumbnailUrl;let n=t.thumbnail;if(!n)return null;if(n.startsWith("http"))return n;let i=a(r);return`${s?"https://www.arcgis.com/sharing/rest/":u(r)}community/users/${t.username}/info/${n}${i&&!s?`?token=${i}`:""}`}export{m as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./H4TPPTVB.js";import{a as s}from"./67FEZD25.js";export default $arcgis.t(([{d:c}])=>{var e=new Map;async function m(r,t){let a=s(r),n=JSON.stringify([a,t]),o=e.get(n);if(o)return o;try{let p=(await c({url:`${a}portals/helpmap`,portal:r,params:{culture:t}}))?.helpMap?.m??{};return e.set(n,p),p}catch{return{}}}return m},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import f from"./
|
|
2
|
+
import f from"./OQBLBDR5.js";import e from"./PUHZVFK7.js";import d from"./2GIECQ25.js";import"./DIWTHL4N.js";import"./JLT5GCLY.js";import"./4QYVBXZT.js";import"./I4TKQB4A.js";import"./UOXUUCE7.js";import c from"./RDRSZQAR.js";import b from"./TIPQ2ZWK.js";import"./IAMPUXPT.js";import"./EFMYI4L2.js";import"./KAK6CNI7.js";import a from"./H4TPPTVB.js";import"./67FEZD25.js";import"./KV4ZZSNW.js";import"./FN2QMDEW.js";import"./IYICIRGI.js";import"./N7XYFVOI.js";import"./ZNNEU5QW.js";import"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([,,,,,{g:a}])=>{return a},a,b,c,d,e,f)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import a from"./2GIECQ25.js";import"./DIWTHL4N.js";import"./KAK6CNI7.js";import"./67FEZD25.js";import"./KV4ZZSNW.js";import"./FN2QMDEW.js";import"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([a])=>{return a},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import e from"./7ZU43BL6.js";import{c as x,d as T,e as k}from"./O2GPTWGF.js";import{a as M}from"./I4TKQB4A.js";import{a as d}from"./IAMPUXPT.js";import a from"./OQ2JULON.js";import{a as P}from"./4VLEUN7I.js";import{a as G}from"./IYICIRGI.js";import{c as L}from"./N7XYFVOI.js";import{L as b,M as w,N as O,P as q,T as D,h as I,j as c,v as _}from"./VWOBCSD6.js";export default $arcgis.t(([{isAbortError:U},z,{d:F},{a:E}])=>{var B=["esri_livingatlas","esri_boundaries","esri_demographics","esri_nav","esri_webstyles"];function j(l){return M(l.trim()).replace(/[!*+\-&|()[\]{}^~?:"\\]/gu,"\\$&")}async function K({portal:l,searchTerm:e,num:t=100,query:r,signal:o}){let n=j(e),i=`${P(l)}portals/self/users/search`,s=[n?`(${n})`:void 0,r?.trim()?`(${r.trim()})`:void 0];l.isPortal&&s.push(...B.map(p=>`-username:${p}`));let u=i.includes("www.arcgis.com")&&l.isPortal?{disableIdentityLookup:!0,addTokenManually:!1}:{};return await F({url:i,portal:l,params:{num:Math.min(Math.max(t,1),100),q:s.filter(Boolean).join(" AND "),sortField:"relevance"},options:{...u,...o?{signal:o}:{}}})}function C(l,e){let t=["all"];return e==="user"||!l.user?.username||(e==="item"&&t.push("myContent"),t.push("myGroups"),l.user.orgId&&t.push("myOrganization")),t}async function H(l){let{portal:e,entityType:t,searchTerm:r,signal:o}=l,n=Math.min(Math.max(l.num??10,1),100),i=l.scope??"all";try{if(o?.throwIfAborted(),!C(e,t).includes(i))throw new Error(`Search scope "${i}" is unavailable for ${t} searches.`);if(!r.trim()&&!l.query?.trim())return{};if(t==="user")return{result:{entityType:t,result:await K({portal:e,searchTerm:r,num:n,query:l.query,...o?{signal:o}:{}})}};let s=x(r);if(!s&&!l.query?.trim())return{};let u,p=e.user;if(i==="myContent"&&p)u=`owner:${T(p.username)}`;else if(i==="myOrganization"&&p?.orgId)u=`orgid:${T(p.orgId)}`;else if(i==="myGroups"&&p){if(t==="group"){let a=await E(e,{num:n,q:k(s,l.query),searchUserAccess:"groupMember",searchUserName:p.username},{signal:o});return{result:{entityType:t,result:new z({results:a.results,total:a.total})}}}let g=await p.fetchGroups();if(o?.throwIfAborted(),!g.length)return{result:{entityType:t,result:new z({results:[],total:0})}};u=g.map(({id:a})=>{if(!a)throw new Error("A membership group is missing its ID.");return`group:${T(a)}`}).join(" OR ")}let y={num:n,query:k(s,l.query,u)};return t==="group"?{result:{entityType:t,result:await e.queryGroups(y,{signal:o})}}:{result:{entityType:t,result:await e.queryItems(y,{signal:o})}}}catch(s){if(o?.aborted||U(s))throw s;return console.error(s),{error:{code:"unhandledError"}}}}var Q=l=>L((e,t)=>{let r={searchTerm:"",scope:"all",searchActive:!1,isSearching:!1,searchFailed:!1},o,n,i=a=>{r={...r,...a},t.exports={...r,setSearchTerm:y,setScope:g}},s=()=>{o!==void 0&&(clearTimeout(o),o=void 0),n?.abort(),n=void 0},u=async(a,h)=>{let{entityType:m,num:v,portal:f,query:S}=e,{scope:A}=r;try{let{error:$,result:N}=await H({portal:f,entityType:m,searchTerm:a,num:v,query:S,signal:h,...A==="all"?{}:{scope:A}});h.aborted||i({searchFailed:!!$,searchResult:N,isSearching:!1})}catch($){!h.aborted&&!U($)&&(console.error($),i({searchFailed:!0,searchResult:void 0,isSearching:!1}))}},p=a=>{let h=a.searchTerm.trim(),m=C(e.portal,e.entityType).includes(a.scope),v=!!(h||e.query?.trim()),f=!m||v;if(s(),i({...a,searchActive:f,searchFailed:!m,searchResult:void 0,isSearching:m&&v}),l(f),m&&v){n=new AbortController;let{signal:S}=n;o=setTimeout(()=>{o=void 0,u(h,S)},400)}},y=a=>{p({searchTerm:a,scope:r.scope})},g=a=>{!e.scopeSelectionDisabled&&a!==r.scope&&p({searchTerm:r.searchTerm,scope:a})};return t.onUpdate(a=>{let h=a.has("portal")||a.has("entityType")||a.has("query")||a.has("num")||a.has("initialSearchTerm"),m=a.has("portal")||a.has("entityType")||a.has("initialScope")||a.has("scopeSelectionDisabled");(h||m)&&p({searchTerm:h?e.initialSearchTerm:r.searchTerm,scope:m?e.initialScope:r.scope})}),t.onConnected(()=>{r.isSearching&&p({searchTerm:r.searchTerm,scope:r.scope})}),t.onDisconnected(s),{...r,setSearchTerm:y,setScope:g}}),J=I`:host{display:block;inline-size:100%}.entity-picker{display:flex;flex-direction:column;gap:.5rem;min-inline-size:16rem}.entity-picker__results{max-block-size:var(--arcgis-portal-entity-picker-results-max-block-size, 22rem);overflow-y:auto}.entity-picker__cards{display:flex;flex-direction:column;gap:.5rem}.entity-picker__status{color:var(--calcite-color-text-3);font-size:.875rem;margin:0;padding:.75rem}.entity-picker__selection{align-items:center;display:var(--arcgis-portal-entity-picker-selection-display, flex);gap:.5rem}.entity-picker__selection-label{flex:1;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-picker__input{inline-size:100%}`,R=class extends O{constructor(){super(...arguments),this._messages=G({blocking:!0,name:"portal-entity-picker"}),this.inputRef=b(),this.inputContainerRef=b(),this.resizeObserver=null,this.searchController=Q(e=>{(!e||this.mode==="popover")&&(this.popoverOpen=e)})(this),this.popoverOpen=!1,this.popoverWidth=0,this.entityType="group",this.mode="inline",this.selectionMode="single",this.selected=null,this.initialScope="all",this.scopeSelectionDisabled=!1,this.initialSearchTerm="",this.num=10,this.arcgisSelectionChange=_()}static{this.properties={popoverOpen:16,popoverWidth:16,portal:0,entityType:1,mode:1,selectionMode:1,selected:0,query:1,initialScope:1,scopeSelectionDisabled:5,initialSearchTerm:1,num:9,icon:1,messageOverrides:0}}static{this.styles=J}get searchLabel(){let{entityType:e,_messages:t}=this;return e==="group"?t.searchGroups:e==="item"?t.searchItems:t.searchUsers}get selectedLabel(){let{entityType:e,selected:t}=this;if(t?.entityType===e)return t.entityType==="user"?t.entity.fullName||t.entity.username:t.entity.title||t.entity.id||void 0}async togglePicker(e){this.mode==="popover"&&(this.popoverOpen=e,await this.updateComplete,await this.setFocus())}async setFocus(){await this.inputRef.value?.setFocus()}firstUpdated(){this.updatePopoverWidth(),!(typeof ResizeObserver>"u"||!this.inputContainerRef.value)&&(this.resizeObserver=new ResizeObserver(()=>this.updatePopoverWidth()),this.resizeObserver.observe(this.inputContainerRef.value))}willUpdate(e){this.hasUpdated&&this.selected&&["portal","entityType","query","initialScope","scopeSelectionDisabled"].some(t=>e.has(t))&&this.arcgisSelectionChange.emit(null),e.has("mode")&&this.mode==="inline"&&(this.popoverOpen=!1)}disconnectedCallback(){this.resizeObserver?.disconnect(),this.resizeObserver=null,super.disconnectedCallback()}updatePopoverWidth(){requestAnimationFrame(()=>{this.popoverWidth=this.inputContainerRef.value?.offsetWidth??0})}emitSelection(e){this.arcgisSelectionChange.emit(e),this.mode==="popover"&&this.togglePicker(!1)}getFocusableResults(){let e=Array.from(this.renderRoot.querySelector('slot[name="list-start"]')?.assignedElements({flatten:!0})??[]).filter(r=>r instanceof HTMLElement&&(r.tagName==="CALCITE-LIST-ITEM"||r.tabIndex>=0)),t=Array.from(this.renderRoot.querySelectorAll("calcite-list-item, arcgis-portal-group-card, arcgis-portal-item-card"));return[...e,...t]}async focusResult(e){if(e.tagName==="CALCITE-LIST-ITEM"){await e.setFocus();return}if(e.tagName==="ARCGIS-PORTAL-GROUP-CARD"){await e.restoreFocus();return}if(e.tagName==="ARCGIS-PORTAL-ITEM-CARD"){await e.restoreFocus();return}e.focus()}async focusResultAt(e){let t=this.getFocusableResults();if(!t.length)return;let r=(e+t.length)%t.length;await this.focusResult(t[r])}handleResultsKeyDown(e){if(e.defaultPrevented)return;let t=this.getFocusableResults(),r=e.composedPath(),o=t.findIndex(i=>r.includes(i));if(o===-1)return;if(this.mode==="inline"&&(e.key==="ArrowDown"||e.key==="ArrowUp")){e.preventDefault(),this.focusResultAt(o+(e.key==="ArrowDown"?1:-1));return}let n=t[o];if(n.tagName==="ARCGIS-PORTAL-GROUP-CARD"&&(e.key==="Enter"||e.key===" ")){e.preventDefault();let{group:i}=n;this.emitSelection({entityType:"group",entity:i});return}if(n.tagName==="ARCGIS-PORTAL-ITEM-CARD"&&(e.key==="Enter"||e.key===" ")){e.preventDefault();let{item:i}=n;this.emitSelection({entityType:"item",entity:i})}}renderScopeSelector(){let{entityType:e,portal:t,_messages:r}=this,{scope:o}=this.searchController,n=C(t,e);return n.length<=1?null:c`<calcite-select .disabled=${this.scopeSelectionDisabled} .label=${r.searchIn} scale=m @calciteSelectChange=${i=>{let s=n.find(u=>u===i.target.value);s&&this.searchController.setScope(s)}}>${n.map(i=>c`<calcite-option .selected=${i===o} .value=${i}>${i==="all"?e==="item"?r.allContent:r.allGroups:r[i]}</calcite-option>`)}</calcite-select>`}renderGroup(e){return d(e.id,c`<calcite-list-item .label=${e.title||e.id||""} .description=${[e.owner,e.access].filter(Boolean).join(" \xB7 ")} .selected=${this.selected?.entityType==="group"&&this.selected.entity.id===e.id} @calciteListItemSelect=${()=>this.emitSelection({entityType:"group",entity:e})}><calcite-avatar slot=content-start .fullName=${e.title??void 0} .thumbnail=${e.thumbnailUrl??void 0} scale=m></calcite-avatar></calcite-list-item>`)}renderInlineGroup(e){return d(e.id,c`<arcgis-portal-group-card .group=${e} .portal=${this.portal} .preview=${this.selectionMode==="none"?"top":void 0} .selected=${this.selected?.entityType==="group"&&this.selected.entity.id===e.id} .selection=${this.selectionMode} @arcgisGroupBrowserCardPreview=${()=>this.emitSelection({entityType:"group",entity:e})} @arcgisGroupCardSelect=${({detail:t})=>{t.selected&&this.emitSelection({entityType:"group",entity:t.group})}} .user=${this.portal.user??void 0} view=compact></arcgis-portal-group-card>`)}renderItem(e){return d(e.id,c`<calcite-list-item .label=${e.title||e.id||""} .description=${[e.type,e.owner].filter(Boolean).join(" \xB7 ")} .selected=${this.selected?.entityType==="item"&&this.selected.entity.id===e.id} @calciteListItemSelect=${()=>this.emitSelection({entityType:"item",entity:e})}><calcite-avatar slot=content-start .fullName=${e.title??void 0} .thumbnail=${e.thumbnailUrl??void 0} scale=m></calcite-avatar></calcite-list-item>`)}renderInlineItem(e){return d(e.id,c`<arcgis-portal-item-card .item=${e} .portal=${this.portal} .preview=${this.selectionMode==="none"?"top":void 0} .selected=${this.selected?.entityType==="item"&&this.selected.entity.id===e.id} .selection=${this.selectionMode} @arcgisItemBrowserCardPreview=${()=>this.emitSelection({entityType:"item",entity:e})} @arcgisItemCardSelect=${({detail:t})=>{t.selected&&this.emitSelection({entityType:"item",entity:t.item})}} .user=${this.portal.user??void 0} view=list></arcgis-portal-item-card>`)}renderUser(e){return d(e.username,c`<calcite-list-item .label=${e.fullName||e.username} .description=${e.username} .selected=${this.selected?.entityType==="user"&&this.selected.entity.username===e.username} @calciteListItemSelect=${()=>this.emitSelection({entityType:"user",entity:e})}><arcgis-portal-user-avatar slot=content-start .portal=${this.portal} .user=${e} scale=m></arcgis-portal-user-avatar></calcite-list-item>`)}renderSearchResults(){let{entityType:e,_messages:t}=this,{isSearching:r,searchActive:o,searchFailed:n,searchResult:i}=this.searchController;if(!o)return null;if(r)return c`<div role=status><calcite-loader .label=${t.searching} scale=s></calcite-loader></div>`;if(n)return c`<p class="entity-picker__status" role=alert>${t.searchFailed}</p>`;if(!(i?.result.results??[]).length){let s=e==="group"?t.noGroupsFound:e==="item"?t.noItemsFound:t.noUsersFound;return c`<p class="entity-picker__status" role=status>${s}</p>`}return this.mode==="inline"&&i?.entityType==="group"?c`<div class="entity-picker__cards"><slot name=list-start></slot>${i.result.results.map(s=>this.renderInlineGroup(s))}</div>`:this.mode==="inline"&&i?.entityType==="item"?c`<div class="entity-picker__cards"><slot name=list-start></slot>${i.result.results.map(s=>this.renderInlineItem(s))}</div>`:c`<calcite-list interaction-mode=interactive .label=${this.searchLabel} .selectionMode=${this.mode==="inline"&&this.selectionMode==="single"?"single-persist":"none"}><slot name=list-start></slot>${i?.entityType==="group"?i.result.results.map(s=>this.renderGroup(s)):i?.entityType==="item"?i.result.results.map(s=>this.renderItem(s)):i?.result.results.map(s=>this.renderUser(s))}</calcite-list>`}renderPicker(e=!0){return c`<div class="entity-picker">${this.selectedLabel&&c`<div class="entity-picker__selection"><span class="entity-picker__selection-label">${this.selectedLabel}</span><calcite-button appearance=transparent icon-start=x kind=neutral .label=${this._messages.clearSelection} @click=${()=>this.arcgisSelectionChange.emit(null)} scale=s></calcite-button></div>`||""}${this.renderScopeSelector()}<div class="entity-picker__input" ${w(this.inputContainerRef)}><calcite-input .icon=${this.icon} .clearable=${this.mode==="inline"} .label=${this.searchLabel} .placeholder=${this.searchLabel} .value=${this.searchController.searchTerm} @click=${()=>{this.mode==="popover"&&this.searchController.searchActive&&(this.popoverOpen=!0)}} @keydown=${t=>{(t.key==="ArrowDown"||t.key==="ArrowUp")&&this.searchController.searchResult?.result.results.length&&(t.preventDefault(),this.focusResultAt(t.key==="ArrowDown"?0:-1))}} @focus=${()=>{this.mode==="popover"&&this.searchController.searchActive&&(this.popoverOpen=!0)}} @calciteInputInput=${t=>{this.searchController.setSearchTerm(t.target.value)}} ${w(this.inputRef)}></calcite-input></div>${e&&c`<div class="entity-picker__results" @keydown=${this.handleResultsKeyDown}>${this.renderSearchResults()}</div>`||""}</div>`}render(){return this.mode==="inline"?this.renderPicker():c`${this.renderPicker(!1)}<calcite-popover .label=${this.searchLabel} .open=${this.popoverOpen} placement=bottom-start .referenceElement=${this.inputContainerRef.value} trigger-disabled @calcitePopoverClose=${e=>{!e.target.open&&this.popoverOpen&&(this.popoverOpen=!1,requestAnimationFrame(()=>{this.setFocus()}))}}><div class="entity-picker__results" style=${q({inlineSize:this.popoverWidth?`${this.popoverWidth}px`:void 0})}>${this.renderSearchResults()}</div></calcite-popover>`}};D("arcgis-portal-entity-picker",R);return R},"core/promiseUtils","portal/PortalQueryResult",a,e)
|
|
2
|
+
import e from"./YCMZ3RVZ.js";import{c as x,d as T,e as k}from"./O2GPTWGF.js";import{a as M}from"./I4TKQB4A.js";import{a as d}from"./IAMPUXPT.js";import a from"./H4TPPTVB.js";import{a as P}from"./67FEZD25.js";import{a as G}from"./IYICIRGI.js";import{c as L}from"./N7XYFVOI.js";import{L as b,M as w,N as O,P as q,T as D,h as I,j as c,v as _}from"./VWOBCSD6.js";export default $arcgis.t(([{isAbortError:U},z,{d:F},{a:E}])=>{var B=["esri_livingatlas","esri_boundaries","esri_demographics","esri_nav","esri_webstyles"];function j(l){return M(l.trim()).replace(/[!*+\-&|()[\]{}^~?:"\\]/gu,"\\$&")}async function K({portal:l,searchTerm:e,num:t=100,query:r,signal:o}){let n=j(e),i=`${P(l)}portals/self/users/search`,s=[n?`(${n})`:void 0,r?.trim()?`(${r.trim()})`:void 0];l.isPortal&&s.push(...B.map(p=>`-username:${p}`));let u=i.includes("www.arcgis.com")&&l.isPortal?{disableIdentityLookup:!0,addTokenManually:!1}:{};return await F({url:i,portal:l,params:{num:Math.min(Math.max(t,1),100),q:s.filter(Boolean).join(" AND "),sortField:"relevance"},options:{...u,...o?{signal:o}:{}}})}function C(l,e){let t=["all"];return e==="user"||!l.user?.username||(e==="item"&&t.push("myContent"),t.push("myGroups"),l.user.orgId&&t.push("myOrganization")),t}async function H(l){let{portal:e,entityType:t,searchTerm:r,signal:o}=l,n=Math.min(Math.max(l.num??10,1),100),i=l.scope??"all";try{if(o?.throwIfAborted(),!C(e,t).includes(i))throw new Error(`Search scope "${i}" is unavailable for ${t} searches.`);if(!r.trim()&&!l.query?.trim())return{};if(t==="user")return{result:{entityType:t,result:await K({portal:e,searchTerm:r,num:n,query:l.query,...o?{signal:o}:{}})}};let s=x(r);if(!s&&!l.query?.trim())return{};let u,p=e.user;if(i==="myContent"&&p)u=`owner:${T(p.username)}`;else if(i==="myOrganization"&&p?.orgId)u=`orgid:${T(p.orgId)}`;else if(i==="myGroups"&&p){if(t==="group"){let a=await E(e,{num:n,q:k(s,l.query),searchUserAccess:"groupMember",searchUserName:p.username},{signal:o});return{result:{entityType:t,result:new z({results:a.results,total:a.total})}}}let g=await p.fetchGroups();if(o?.throwIfAborted(),!g.length)return{result:{entityType:t,result:new z({results:[],total:0})}};u=g.map(({id:a})=>{if(!a)throw new Error("A membership group is missing its ID.");return`group:${T(a)}`}).join(" OR ")}let y={num:n,query:k(s,l.query,u)};return t==="group"?{result:{entityType:t,result:await e.queryGroups(y,{signal:o})}}:{result:{entityType:t,result:await e.queryItems(y,{signal:o})}}}catch(s){if(o?.aborted||U(s))throw s;return console.error(s),{error:{code:"unhandledError"}}}}var Q=l=>L((e,t)=>{let r={searchTerm:"",scope:"all",searchActive:!1,isSearching:!1,searchFailed:!1},o,n,i=a=>{r={...r,...a},t.exports={...r,setSearchTerm:y,setScope:g}},s=()=>{o!==void 0&&(clearTimeout(o),o=void 0),n?.abort(),n=void 0},u=async(a,h)=>{let{entityType:m,num:v,portal:f,query:S}=e,{scope:A}=r;try{let{error:$,result:N}=await H({portal:f,entityType:m,searchTerm:a,num:v,query:S,signal:h,...A==="all"?{}:{scope:A}});h.aborted||i({searchFailed:!!$,searchResult:N,isSearching:!1})}catch($){!h.aborted&&!U($)&&(console.error($),i({searchFailed:!0,searchResult:void 0,isSearching:!1}))}},p=a=>{let h=a.searchTerm.trim(),m=C(e.portal,e.entityType).includes(a.scope),v=!!(h||e.query?.trim()),f=!m||v;if(s(),i({...a,searchActive:f,searchFailed:!m,searchResult:void 0,isSearching:m&&v}),l(f),m&&v){n=new AbortController;let{signal:S}=n;o=setTimeout(()=>{o=void 0,u(h,S)},400)}},y=a=>{p({searchTerm:a,scope:r.scope})},g=a=>{!e.scopeSelectionDisabled&&a!==r.scope&&p({searchTerm:r.searchTerm,scope:a})};return t.onUpdate(a=>{let h=a.has("portal")||a.has("entityType")||a.has("query")||a.has("num")||a.has("initialSearchTerm"),m=a.has("portal")||a.has("entityType")||a.has("initialScope")||a.has("scopeSelectionDisabled");(h||m)&&p({searchTerm:h?e.initialSearchTerm:r.searchTerm,scope:m?e.initialScope:r.scope})}),t.onConnected(()=>{r.isSearching&&p({searchTerm:r.searchTerm,scope:r.scope})}),t.onDisconnected(s),{...r,setSearchTerm:y,setScope:g}}),J=I`:host{display:block;inline-size:100%}.entity-picker{display:flex;flex-direction:column;gap:.5rem;min-inline-size:16rem}.entity-picker__results{max-block-size:var(--arcgis-portal-entity-picker-results-max-block-size, 22rem);overflow-y:auto}.entity-picker__cards{display:flex;flex-direction:column;gap:.5rem}.entity-picker__status{color:var(--calcite-color-text-3);font-size:.875rem;margin:0;padding:.75rem}.entity-picker__selection{align-items:center;display:var(--arcgis-portal-entity-picker-selection-display, flex);gap:.5rem}.entity-picker__selection-label{flex:1;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-picker__input{inline-size:100%}`,R=class extends O{constructor(){super(...arguments),this._messages=G({blocking:!0,name:"portal-entity-picker"}),this.inputRef=b(),this.inputContainerRef=b(),this.resizeObserver=null,this.searchController=Q(e=>{(!e||this.mode==="popover")&&(this.popoverOpen=e)})(this),this.popoverOpen=!1,this.popoverWidth=0,this.entityType="group",this.mode="inline",this.selectionMode="single",this.selected=null,this.initialScope="all",this.scopeSelectionDisabled=!1,this.initialSearchTerm="",this.num=10,this.arcgisSelectionChange=_()}static{this.properties={popoverOpen:16,popoverWidth:16,portal:0,entityType:1,mode:1,selectionMode:1,selected:0,query:1,initialScope:1,scopeSelectionDisabled:5,initialSearchTerm:1,num:9,icon:1,messageOverrides:0}}static{this.styles=J}get searchLabel(){let{entityType:e,_messages:t}=this;return e==="group"?t.searchGroups:e==="item"?t.searchItems:t.searchUsers}get selectedLabel(){let{entityType:e,selected:t}=this;if(t?.entityType===e)return t.entityType==="user"?t.entity.fullName||t.entity.username:t.entity.title||t.entity.id||void 0}async togglePicker(e){this.mode==="popover"&&(this.popoverOpen=e,await this.updateComplete,await this.setFocus())}async setFocus(){await this.inputRef.value?.setFocus()}firstUpdated(){this.updatePopoverWidth(),!(typeof ResizeObserver>"u"||!this.inputContainerRef.value)&&(this.resizeObserver=new ResizeObserver(()=>this.updatePopoverWidth()),this.resizeObserver.observe(this.inputContainerRef.value))}willUpdate(e){this.hasUpdated&&this.selected&&["portal","entityType","query","initialScope","scopeSelectionDisabled"].some(t=>e.has(t))&&this.arcgisSelectionChange.emit(null),e.has("mode")&&this.mode==="inline"&&(this.popoverOpen=!1)}disconnectedCallback(){this.resizeObserver?.disconnect(),this.resizeObserver=null,super.disconnectedCallback()}updatePopoverWidth(){requestAnimationFrame(()=>{this.popoverWidth=this.inputContainerRef.value?.offsetWidth??0})}emitSelection(e){this.arcgisSelectionChange.emit(e),this.mode==="popover"&&this.togglePicker(!1)}getFocusableResults(){let e=Array.from(this.renderRoot.querySelector('slot[name="list-start"]')?.assignedElements({flatten:!0})??[]).filter(r=>r instanceof HTMLElement&&(r.tagName==="CALCITE-LIST-ITEM"||r.tabIndex>=0)),t=Array.from(this.renderRoot.querySelectorAll("calcite-list-item, arcgis-portal-group-card, arcgis-portal-item-card"));return[...e,...t]}async focusResult(e){if(e.tagName==="CALCITE-LIST-ITEM"){await e.setFocus();return}if(e.tagName==="ARCGIS-PORTAL-GROUP-CARD"){await e.restoreFocus();return}if(e.tagName==="ARCGIS-PORTAL-ITEM-CARD"){await e.restoreFocus();return}e.focus()}async focusResultAt(e){let t=this.getFocusableResults();if(!t.length)return;let r=(e+t.length)%t.length;await this.focusResult(t[r])}handleResultsKeyDown(e){if(e.defaultPrevented)return;let t=this.getFocusableResults(),r=e.composedPath(),o=t.findIndex(i=>r.includes(i));if(o===-1)return;if(this.mode==="inline"&&(e.key==="ArrowDown"||e.key==="ArrowUp")){e.preventDefault(),this.focusResultAt(o+(e.key==="ArrowDown"?1:-1));return}let n=t[o];if(n.tagName==="ARCGIS-PORTAL-GROUP-CARD"&&(e.key==="Enter"||e.key===" ")){e.preventDefault();let{group:i}=n;this.emitSelection({entityType:"group",entity:i});return}if(n.tagName==="ARCGIS-PORTAL-ITEM-CARD"&&(e.key==="Enter"||e.key===" ")){e.preventDefault();let{item:i}=n;this.emitSelection({entityType:"item",entity:i})}}renderScopeSelector(){let{entityType:e,portal:t,_messages:r}=this,{scope:o}=this.searchController,n=C(t,e);return n.length<=1?null:c`<calcite-select .disabled=${this.scopeSelectionDisabled} .label=${r.searchIn} scale=m @calciteSelectChange=${i=>{let s=n.find(u=>u===i.target.value);s&&this.searchController.setScope(s)}}>${n.map(i=>c`<calcite-option .selected=${i===o} .value=${i}>${i==="all"?e==="item"?r.allContent:r.allGroups:r[i]}</calcite-option>`)}</calcite-select>`}renderGroup(e){return d(e.id,c`<calcite-list-item .label=${e.title||e.id||""} .description=${[e.owner,e.access].filter(Boolean).join(" \xB7 ")} .selected=${this.selected?.entityType==="group"&&this.selected.entity.id===e.id} @calciteListItemSelect=${()=>this.emitSelection({entityType:"group",entity:e})}><calcite-avatar slot=content-start .fullName=${e.title??void 0} .thumbnail=${e.thumbnailUrl??void 0} scale=m></calcite-avatar></calcite-list-item>`)}renderInlineGroup(e){return d(e.id,c`<arcgis-portal-group-card .group=${e} .portal=${this.portal} .preview=${this.selectionMode==="none"?"top":void 0} .selected=${this.selected?.entityType==="group"&&this.selected.entity.id===e.id} .selection=${this.selectionMode} @arcgisGroupBrowserCardPreview=${()=>this.emitSelection({entityType:"group",entity:e})} @arcgisGroupCardSelect=${({detail:t})=>{t.selected&&this.emitSelection({entityType:"group",entity:t.group})}} .user=${this.portal.user??void 0} view=compact></arcgis-portal-group-card>`)}renderItem(e){return d(e.id,c`<calcite-list-item .label=${e.title||e.id||""} .description=${[e.type,e.owner].filter(Boolean).join(" \xB7 ")} .selected=${this.selected?.entityType==="item"&&this.selected.entity.id===e.id} @calciteListItemSelect=${()=>this.emitSelection({entityType:"item",entity:e})}><calcite-avatar slot=content-start .fullName=${e.title??void 0} .thumbnail=${e.thumbnailUrl??void 0} scale=m></calcite-avatar></calcite-list-item>`)}renderInlineItem(e){return d(e.id,c`<arcgis-portal-item-card .item=${e} .portal=${this.portal} .preview=${this.selectionMode==="none"?"top":void 0} .selected=${this.selected?.entityType==="item"&&this.selected.entity.id===e.id} .selection=${this.selectionMode} @arcgisItemBrowserCardPreview=${()=>this.emitSelection({entityType:"item",entity:e})} @arcgisItemCardSelect=${({detail:t})=>{t.selected&&this.emitSelection({entityType:"item",entity:t.item})}} .user=${this.portal.user??void 0} view=list></arcgis-portal-item-card>`)}renderUser(e){return d(e.username,c`<calcite-list-item .label=${e.fullName||e.username} .description=${e.username} .selected=${this.selected?.entityType==="user"&&this.selected.entity.username===e.username} @calciteListItemSelect=${()=>this.emitSelection({entityType:"user",entity:e})}><arcgis-portal-user-avatar slot=content-start .portal=${this.portal} .user=${e} scale=m></arcgis-portal-user-avatar></calcite-list-item>`)}renderSearchResults(){let{entityType:e,_messages:t}=this,{isSearching:r,searchActive:o,searchFailed:n,searchResult:i}=this.searchController;if(!o)return null;if(r)return c`<div role=status><calcite-loader .label=${t.searching} scale=s></calcite-loader></div>`;if(n)return c`<p class="entity-picker__status" role=alert>${t.searchFailed}</p>`;if(!(i?.result.results??[]).length){let s=e==="group"?t.noGroupsFound:e==="item"?t.noItemsFound:t.noUsersFound;return c`<p class="entity-picker__status" role=status>${s}</p>`}return this.mode==="inline"&&i?.entityType==="group"?c`<div class="entity-picker__cards"><slot name=list-start></slot>${i.result.results.map(s=>this.renderInlineGroup(s))}</div>`:this.mode==="inline"&&i?.entityType==="item"?c`<div class="entity-picker__cards"><slot name=list-start></slot>${i.result.results.map(s=>this.renderInlineItem(s))}</div>`:c`<calcite-list interaction-mode=interactive .label=${this.searchLabel} .selectionMode=${this.mode==="inline"&&this.selectionMode==="single"?"single-persist":"none"}><slot name=list-start></slot>${i?.entityType==="group"?i.result.results.map(s=>this.renderGroup(s)):i?.entityType==="item"?i.result.results.map(s=>this.renderItem(s)):i?.result.results.map(s=>this.renderUser(s))}</calcite-list>`}renderPicker(e=!0){return c`<div class="entity-picker">${this.selectedLabel&&c`<div class="entity-picker__selection"><span class="entity-picker__selection-label">${this.selectedLabel}</span><calcite-button appearance=transparent icon-start=x kind=neutral .label=${this._messages.clearSelection} @click=${()=>this.arcgisSelectionChange.emit(null)} scale=s></calcite-button></div>`||""}${this.renderScopeSelector()}<div class="entity-picker__input" ${w(this.inputContainerRef)}><calcite-input .icon=${this.icon} .clearable=${this.mode==="inline"} .label=${this.searchLabel} .placeholder=${this.searchLabel} .value=${this.searchController.searchTerm} @click=${()=>{this.mode==="popover"&&this.searchController.searchActive&&(this.popoverOpen=!0)}} @keydown=${t=>{(t.key==="ArrowDown"||t.key==="ArrowUp")&&this.searchController.searchResult?.result.results.length&&(t.preventDefault(),this.focusResultAt(t.key==="ArrowDown"?0:-1))}} @focus=${()=>{this.mode==="popover"&&this.searchController.searchActive&&(this.popoverOpen=!0)}} @calciteInputInput=${t=>{this.searchController.setSearchTerm(t.target.value)}} ${w(this.inputRef)}></calcite-input></div>${e&&c`<div class="entity-picker__results" @keydown=${this.handleResultsKeyDown}>${this.renderSearchResults()}</div>`||""}</div>`}render(){return this.mode==="inline"?this.renderPicker():c`${this.renderPicker(!1)}<calcite-popover .label=${this.searchLabel} .open=${this.popoverOpen} placement=bottom-start .referenceElement=${this.inputContainerRef.value} trigger-disabled @calcitePopoverClose=${e=>{!e.target.open&&this.popoverOpen&&(this.popoverOpen=!1,requestAnimationFrame(()=>{this.setFocus()}))}}><div class="entity-picker__results" style=${q({inlineSize:this.popoverWidth?`${this.popoverWidth}px`:void 0})}>${this.renderSearchResults()}</div></calcite-popover>`}};D("arcgis-portal-entity-picker",R);return R},"core/promiseUtils","portal/PortalQueryResult",a,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as N}from"./GUL7EIJ4.js";import{a as g,b as _,c as F}from"./SRWFOV5W.js";import f from"./
|
|
2
|
+
import{a as N}from"./GUL7EIJ4.js";import{a as g,b as _,c as F}from"./SRWFOV5W.js";import f from"./YCMZ3RVZ.js";import e from"./DGWOMELT.js";import"./O2GPTWGF.js";import{a as R,c as v}from"./MSSJRDR7.js";import"./I4TKQB4A.js";import"./UOXUUCE7.js";import c from"./RDRSZQAR.js";import b from"./TIPQ2ZWK.js";import{a as E}from"./IAMPUXPT.js";import a from"./H4TPPTVB.js";import"./67FEZD25.js";import"./KV4ZZSNW.js";import"./FN2QMDEW.js";import{c as L}from"./N7XYFVOI.js";import"./ZNNEU5QW.js";import{L as S,M as y,N as k,O as w,T as P,h as T,j as o,v as d}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([{a:C},,{b:D},{e:O},{b:U}])=>{var q=n=>g.includes(n)?n:"@",V=L(n=>{let e=[],a=async s=>await C({requester:async()=>await O(n.portal,s,{num:3}),key:"items",id:s}),l=async s=>await C({requester:async()=>await U(n.portal,{query:`title:${s}`,num:3}),key:"groups",id:s}),i=N(async(s,t)=>{n.isFetchingEntities=!0;let r=s.toLowerCase();switch(q(t)){case"@":let h=10;n.filteredItemsInfo={type:"user",items:e.filter(c=>c.username?.toLowerCase().includes(r)||c.fullName?.toLowerCase().includes(r)).slice(0,h)};break;case"#":let{result:u}=await a(r);n.filteredItemsInfo={type:"item",items:u?.results??[]};break;case"$":let{results:m}=await l(r);n.filteredItemsInfo={type:"group",items:m};break}(n.filteredItemsInfo?.items?.length??0)===0&&await n.closePopover(),n.isFetchingEntities=!1},400);return{fetchUsers:async()=>{try{let{users:s}=await D(n.portal);e=s??[]}catch(s){e=[],console.error("error fetching org users:",s)}},filterItems:i,getItemText:(s,t)=>{let r="";switch(q(t)){case"@":r=s.username;break;case"#":r=s.title??"";break;case"$":r=s.title??"";break}return r.trim()}}}),A=({id:n,label:e,selected:a,description:l,contentStart:i,onSelect:s})=>E(n,o`<calcite-list-item class=${w({selected:a})} .label=${e} .description=${l} .selected=${a} @pointerdown=${async t=>{t.preventDefault(),t.stopPropagation(),await s()}} ${y(t=>{a&&t&&t.scrollIntoView({block:"nearest",behavior:"smooth"})})}>${i}</calcite-list-item>`),j=T`.selected{--calcite-list-background-color: var(--calcite-color-foreground-2)}.mentionable-list{max-height:13rem;overflow-y:auto;padding:.25rem;width:min(100vw,24rem)}.mentionable-list--loading{min-height:10rem}`,M=class extends k{constructor(){super(...arguments),this.calciteTextAreaRef=S(),this.mentionableEntityController=V(this),this.handleInput=e=>{let{bubbleNewValueChange:a,checkForMention:l}=this,i=e.target.value;i||v(this.el),this._value=i,a(this._value);let s=this.nativeTextAreaRef?.selectionStart??0;l(i,s)},this.handleKeyDown=e=>{if(!this.popoverOpen){this.arcgisUserMentionableTextAreaKeyDown.emit(e),this.arcgisMentionableTextAreaKeyDown.emit(e);return}switch(e.key){case"ArrowDown":e.preventDefault(),this.selectedItemIndex=Math.min(this.selectedItemIndex+1,this.filteredItems.length-1);break;case"ArrowUp":e.preventDefault(),this.selectedItemIndex=Math.max(this.selectedItemIndex-1,0);break;case"Enter":e.preventDefault(),this.selectItem(this.filteredItems[this.selectedItemIndex]);break;case"Escape":e.preventDefault(),this.closePopover.bind(this)();break}},this.handleClosePopover=()=>{this.popoverOpen=!1,this.currentMentionQuery="",this.selectedItemIndex=0,this.currentStarter=null},this.bubbleNewValueChange=e=>{this.arcgisUserMentionableTextAreaChange.emit(e),this.arcgisMentionableTextAreaChange.emit(e)},this.checkForMention=(e,a)=>{let l=e.substring(0,a),i=F(l,this.starters??g);if(i){let{starter:s}=i;this.currentStarter=s,this.filterMentionItems(i),this.popoverOpen=!0;return}this.handleClosePopover()},this.filterMentionItems=e=>{let{mentionText:a,query:l,starter:i,startIndex:s}=e;this.currentMentionQuery=a,this.mentionStartPosition=s;let t=l.toLowerCase();this.mentionableEntityController.filterItems(t,i),this.selectedItemIndex=0},this.popoverOpen=!1,this.currentMentionQuery="",this.mentionStartPosition=0,this.selectedItemIndex=0,this.currentStarter=null,this._value="",this.filteredItemsInfo=null,this.isFetchingEntities=!1,this.popoverPlacement="bottom-start",this.disabled=!1,this.scale="m",this.rows=3,this.starters=g,this.readOnly=!1,this.arcgisMentionableSelectedIndexChange=d(),this.arcgisMentionableTextAreaChange=d(),this.arcgisMentionableTextAreaKeyDown=d(),this.arcgisUserMentionableTextAreaChange=d(),this.arcgisUserMentionableTextAreaKeyDown=d(),this.renderItemInfo=()=>{let{filteredItemsInfo:e,selectedItemIndex:a,portal:l}=this;if(!e)return null;let{items:i,type:s}=e;switch(s){case"user":return i.map((t,r)=>A({id:t.id,label:`@${t.username}`,description:t.fullName,selected:r===a,contentStart:o`<arcgis-portal-user-avatar slot=content-start .user=${t} .portal=${l} scale=m></arcgis-portal-user-avatar>`,onSelect:async()=>await this.selectItem(t)}));case"item":return i.map((t,r)=>A({id:t.id??`item-${r}`,label:`#${t.title}`,description:t.id??void 0,selected:r===a,onSelect:async()=>await this.selectItem(t),contentStart:o`<calcite-avatar slot=content-start .fullName=${t.title??void 0} .thumbnail=${t.thumbnailUrl??void 0} scale=m></calcite-avatar>`}));case"group":return i.map((t,r)=>A({id:t.id??`group-${r}`,label:`${t.title}`,description:t.id??void 0,selected:r===a,onSelect:async()=>await this.selectItem(t),contentStart:o`<calcite-avatar slot=content-start .fullName=${t.title??void 0} .thumbnail=${t.thumbnailUrl??void 0} scale=m></calcite-avatar>`}))}}}static{this.properties={popoverOpen:16,currentMentionQuery:16,mentionStartPosition:16,selectedItemIndex:16,currentStarter:16,_value:16,filteredItemsInfo:16,isFetchingEntities:16,popoverListLabel:1,popoverPlacement:1,disabled:5,portal:0,user:0,scale:1,value:1,maxLength:9,rows:9,starters:0,placeholder:1,readOnly:5}}static{this.styles=j}get filteredItems(){return this.filteredItemsInfo?.items??[]}async closePopover(){this.handleClosePopover()}async focusTextArea(){await this.calciteTextAreaRef.value?.setFocus()}async selectItem(e){let{currentStarter:a,_value:l,mentionStartPosition:i,currentMentionQuery:s,handleClosePopover:t,calciteTextAreaRef:r,nativeTextAreaRef:h,bubbleNewValueChange:u}=this;if(!e||!a)return;let m=this.mentionableEntityController.getItemText(e,a),c=m.replaceAll('"',"").trim(),p=/\s/u.test(c)?`${a}"${c}"`:`${a}${c}`,f=(l??"").substring(0,i),x=(l??"").substring(i+s.length),$=`${f}${p} ${x}`,b=_(e,a,m);b&&R(this.el,{text:p,part:b}),this._value=$,u(this._value);let I=i+p.length+1;t(),await this.updateComplete,r.value?.setFocus(),h&&(h.selectionEnd=I)}willUpdate(e){e.has("value")&&(this._value=this.value??"",this._value||v(this.el)),(e.has("portal")||e.has("user"))&&v(this.el),e.has("selectedItemIndex")&&this.arcgisMentionableSelectedIndexChange.emit(this.selectedItemIndex)}loaded(){this.updateComplete.then(()=>{let e=this.calciteTextAreaRef.value?.shadowRoot?.querySelector("textarea");e&&(this.nativeTextAreaRef=e)}),this.mentionableEntityController.fetchUsers()}render(){let{popoverPlacement:e,scale:a,_value:l,maxLength:i,rows:s,placeholder:t,readOnly:r,popoverOpen:h,closePopover:u,handleInput:m,handleKeyDown:c,disabled:p,isFetchingEntities:f,filteredItemsInfo:x,renderItemInfo:$,popoverListLabel:b}=this,I=this.calciteTextAreaRef.value,K=x?.items??[];return o`<calcite-text-area .placeholder=${t} .value=${l} .maxLength=${i} .rows=${s} .scale=${a} .readOnly=${r} .disabled=${p} @blur=${u} @calciteTextAreaInput=${m} @keydown=${c} ${y(this.calciteTextAreaRef)}></calcite-text-area>${I&&o`<calcite-popover .open=${h} .placement=${e} class="mention-popover" .label=${b} .referenceElement=${I} trigger-disabled pointer-disabled focus-trap-disabled><div class=${w({"mentionable-list":!0,"mentionable-list--loading":f})}>${f&&o`<calcite-scrim .loading=${f}></calcite-scrim>`||""}${K.length>0&&o`<calcite-list .label=${b}>${$()}</calcite-list>`||""}</div></calcite-popover>`||""}`}};P("arcgis-portal-mentionable-text-area",M);return M},a,b,c,e,f)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{b as y}from"./I4TKQB4A.js";import a from"./
|
|
2
|
+
import{b as y}from"./I4TKQB4A.js";import a from"./H4TPPTVB.js";export default $arcgis.t(([{a:$,d:i}])=>{async function k(a,s,o,t,r){let l=a.portal?.portalHostname||t?.portalHostname||t?.restUrl?.replace("/sharing/rest",""),p=r?`https://www.arcgis.com/sharing/rest/portals/${s}`:`https://${l}/sharing/rest/portals/${s}`;if(!l&&!r)return null;let c=r?{disableIdentityLookup:!0,addTokenManually:!1}:{},e=await i({url:p,portal:t,options:c}),{urlKey:g,thumbnail:u,customBaseUrl:w}=e,m=`https://${g}.${w}/`,b=u?`${m}sharing/rest/portals/self/resources/${u}`:null,d="",f="";try{let n=await i({url:`${p}/resources/localizedOrgProperties`,portal:t,params:{start:1,num:100},options:c});if(n){let h=n[o]||n.default;d=h.name,f=h.description}}catch{}return{name:d||e.name,description:y(f||e.description),url:`${m}home/`,thumbnail:b}}async function H(a,s,o,t){let r=a.sourceJSON?.orgId??a.portal?.id??o?.id;return await $({requester:async()=>await k(a,r,s,o,t),key:"verified",id:r})}return H},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./H4TPPTVB.js";import{a as s}from"./67FEZD25.js";export default $arcgis.t(([m,{d:n}])=>{async function f(r,o,p={}){let t=await n({url:`${s(r)}community/groups`,portal:r,params:o,options:p});return{...t,results:t.results.map(u=>{let a=m.fromJSON(u);return a.portal=r,a})}}async function l(r,o={}){return await r.queryGroups(o)}return{a:f,b:l}},"portal/PortalGroup",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./GY4SY4XC.js";import"./GUL7EIJ4.js";import{a as v}from"./IAMPUXPT.js";import{a as b}from"./EFMYI4L2.js";import"./67FEZD25.js";import"./KV4ZZSNW.js";import{b as $}from"./FN2QMDEW.js";import{a as F}from"./IYICIRGI.js";import"./N7XYFVOI.js";import"./ZNNEU5QW.js";import{L as p,M as m,N as f,Q as o,T as u,h as g,j as n,v as c}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([{a:y,b:I,c:k}])=>{var x=g`:host{display:inline-flex}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}`,w=class extends f{constructor(){super(),this.messages=F({name:"portal-item-favorite",blocking:!0}),this.actionRef=p(),this.dropdownRef=p(),this.favoriteRequestId=0,this.didWarnEmptyActions=!1,this.handleFavoriteUpdate=e=>{let i=k(e,this.item.id??void 0);i&&(this.isFavorite=i.favorite)},this.isFavorite=!1,this.actions=[],this.showFavorite=!1,this.showPreview=!1,this.arcgisItemActionClick=c(),this.arcgisItemActionsOpen=c(),this.arcgisItemFavoriteUpdate=c(),this.arcgisItemActions=c(),this.listenOn(window,"arcgisItemFavoriteUpdate",this.handleFavoriteUpdate)}static{this.properties={isFavorite:16,item:0,portal:0,user:0,actions:0,keyHandler:0,label:1,showFavorite:5,showPreview:5,previewText:1,tabIndexOverride:9}}static{this.styles=x}async setFocus(){await this.actionRef.value?.setFocus()}willUpdate(e){(e.has("item")||e.has("portal")||e.has("user"))&&this.refreshFavorite()}async refreshFavorite(){if(!this.item.id||!this.portal||!this.user){this.isFavorite=!1;return}let e=++this.favoriteRequestId,i=await y(this.item.id,this.portal,this.user);e===this.favoriteRequestId&&(this.isFavorite=i)}async handleToggleFavorite(e){e.preventDefault(),e.stopPropagation();let{item:i,portal:d,user:l,isFavorite:a}=this;if(!i.id||!d||!l)return;let r={id:i.id,access:i.access},{updated:s}=await I({currentFavorite:a,item:r,portal:d,user:l});s&&(await $(300),this.isFavorite=!a,this.arcgisItemFavoriteUpdate.emit({id:i.id,favorite:this.isFavorite}))}handleActionClick(e,i){i.stopPropagation(),this.arcgisItemActionClick.emit(e.id||e.text),e.action&&(i.preventDefault(),e.action())}render(){let{item:e,actions:i,label:d,previewText:l}=this,a=i.length>0,r=this.showFavorite&&!!this.user;if(!a&&!r&&!this.showPreview&&!this.didWarnEmptyActions&&(console.warn("[arcgis-portal-item-actions] The actions menu is hidden because no actions were provided and both showFavorite/showPreview are disabled."),this.didWarnEmptyActions=!0),!a&&!r&&!this.showPreview)return null;let s=`${e.id}-title`;return n`<span class="screen-readers-only" id=${s??o}>${e.title}</span><calcite-dropdown overlay-positioning=fixed placement=bottom-end close-on-select-disabled @click=${t=>{t.stopPropagation()}} ${m(this.dropdownRef)}><calcite-action scale=s slot=trigger alignment=center .text=${d} icon=ellipsis tabindex=${this.tabIndexOverride??o} @click=${t=>{this.arcgisItemActionsOpen.emit({el:t.currentTarget})}} @keydown=${t=>{let h=this.dropdownRef.value;this.keyHandler&&h&&this.keyHandler(t,h)}} ${m(this.actionRef)}></calcite-action><calcite-dropdown-group selection-mode=none>${b(i,t=>t.id||t.text,t=>n`<calcite-dropdown-item aria-describedby=${s??o} .href=${t.link} .target=${t.newTab?"_blank":void 0} .rel=${t.newTab?"noopener noreferrer":void 0} .innerHTML=${t.text??""} @calciteDropdownItemSelect=${h=>{this.handleActionClick(t,h)}}></calcite-dropdown-item>`)}${r&&v("favorites",n`<calcite-dropdown-item aria-describedby=${s??o} @calciteDropdownItemSelect=${t=>{this.handleToggleFavorite(t)}} @click=${t=>{t.preventDefault(),t.stopPropagation()}}>${this.isFavorite?this.messages.remove:this.messages.add}</calcite-dropdown-item>`)||""}${this.showPreview&&v("preview",n`<calcite-dropdown-item id=item-preview aria-describedby=${s??o} @calciteDropdownItemSelect=${t=>{t.stopPropagation(),this.arcgisItemActionClick.emit("preview")}}>${l}</calcite-dropdown-item>`)||""}</calcite-dropdown-group></calcite-dropdown>`}};u("arcgis-portal-item-actions",w);return w},a)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"select":"Select item: {title}","lastUpdated":"Item updated: {date}","viewItemDetails":"View details","preview":"Preview","closePreview":"Close preview","everyone":"Everyone (public)","organization":"Organization","group":"Shared with groups","owner":"Owner","favorite":"Favorite","deprecated":"Deprecated","itemActions":"Item actions for {title}"}
|
|
1
|
+
{"select":"Select item: {title}","lastUpdated":"Item updated: {date}","viewItemDetails":"View details","preview":"Preview","closePreview":"Close preview","everyone":"Everyone (public)","organization":"Organization","group":"Shared with groups","owner":"Owner","favorite":"Favorite","deprecated":"Deprecated","outdatedRuntimeWarning":"New runtimes are available. Update notebook runtime to access the latest features and improvements.","outdatedRuntimeWarningK8s":"This notebook uses a runtime that is no longer in general availability and will not receive further software updates or patches. Update the runtime before opening.","retiredRuntimeWarning":"This notebook uses a retired runtime. Update the runtime before opening.","itemActions":"Item actions for {title}"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"shared":{"close":"Close"},"platform":{"label":"App switcher","applicationMenu":"Application menu","searchMyApps":"Search my apps","allMyApplications":"All my applictions","customizeApps":"Customize apps","reorder":"Reorder","applyChanges":"Apply","myApps":"My apps","recentContent":"Recent content","searchRecentContent":"Search my recent content","recentContentNoResultsDescription":"Check your spelling and try again.","noContent":"No recent content","noContentDescription":"Quickly access recently created and saved items from this list.","hide":"Hide application","show":"Show application","cancel":"Cancel","delete":"Delete","noAppResults":"No results for \"{term}\"","noAppsAvailable":"No applications","noAppsAvailableDescription":"You currently have no applications.","new":"New","descriptions":{"360 VR":"View 360 VR Experiences on desktops, mobile devices, and VR headsets.","ArcGIS Community Analyst":"Leverage location-based community intelligence.","ArcGIS Dashboards":"Display maps and data in an interactive dashboard.","ArcGIS Earth":"Visualize and explore geospatial content on a 3D globe.","ArcGIS Excalibur":"Annotate, mark up, and add observations or measurements to imagery.","ArcGIS Experience Builder":"Build immersive web apps your way.","ArcGIS Explorer":"View and interact with GIS content in this free app.","ArcGIS for Power BI":"Enhance Power BI reports with spatial analysis and visualization.","ArcGIS Field Maps":"Streamline mobile workflows for field personnel.","ArcGIS Field Maps Early Access":"Create maps and smart forms for use in the field.","ArcGIS GeoBIM":"Add geospatial context to Autodesk projects.","ArcGIS Hub":"Transform how you share data, collaborate, and engage with your community.","ArcGIS Indoors":"Create and manage floor plan data to compose floor-aware maps.","ArcGIS Indoors Floor Plan Editor":"Modify floor plan data of indoor spaces.","ArcGIS Indoors Space Planner":"Visualize and plan occupant assignments in indoor spaces.","ArcGIS Maps for Adobe Creative Cloud":"Design with data-driven maps in Adobe Illustrator and Photoshop.","ArcGIS Mission Responder":"Empower users in the field to participate in active missions.","ArcGIS Online":"Build and share interactive web maps and apps.","ArcGIS QuickCapture Web Designer":"Design custom data collection projects.","ArcGIS Solutions":"Leverage industry-specific mapping configurations of ArcGIS.","ArcGIS Urban":"Evaluate urban impacts with 3D visualizations and urban analytics.","ArcGIS Velocity":"Ingest data from the Internet of Things (IoT).","Business Analyst":"Leverage location-based market and community intelligence.","Data Pipelines":"Prepare and integrate data for visualization and analysis.","Deep Learning Studio":"Collect training data, train models, and run inference at scale.","Developer Documentation":"Access resources and information for developer workflows.","Esri Redistricting":"Complete and share regulation-compliant redistricting plans.","Field Maps Designer":"Create maps and smart forms for use in the field.","GeoPlanner for ArcGIS":"Leverage data-informed planning that engages your audience.","Insights for ArcGIS":"Fuse location analytics with business intelligence workflows.","Instant Apps":"Quickly transform maps into template-based applications.","Knowledge Studio":"Investigate knowledge graphs, perform link analysis, and uncover insights from interconnected data.","Living Atlas":"Add trusted, curated content into your maps","Map Viewer":"Create and share interactive maps and data-driven visualizations.","Mission Manager":"Combine situational awareness with command and control.","My Esri":"Access Esri products and services.","Ortho Maker":"Create 2D imagery products from drone images.","Scene Viewer":"Visualize geospatial data through interactive 3D scenes on the web.","Sites":"Transform how you share data, collaborate, and engage with your community.","StoryMaps":"Build and share stories with maps.","Story Maps":"Build and share stories with maps.","Survey123":"Gather data with an intuitive form-centric solution.","Track Viewer":"Create track views that define who is tracked and who can view those tracks.","Vector Tile Style Editor":"Create and maintain your own customized versions of Esri's vector basemaps.","Wayback Imagery":"Explore a digital archive of basemap imagery.","Web Editor":"Streamline data maintenance workflows with a wide array of editing tools.","Workflow Manager":"Orchestrate work across ArcGIS.","Workforce":"Streamline the planning and coordination of your mobile workforce.","XR Viewer (early access)":"Explore GIS data with a VR headset."},"lessThanOneMinute":"just now","lastUpdated":"Last updated {date}"},"logo":{"label":"Landing page"},"project":{"label":"Project menu","new":"New","open":"Open","create":"Create","save":"Save","saveAsCopy":"Save as copy","manageSharing":"Manage sharing","rename":"Rename","copyLink":"Copy link","embed":"Embed","print":"Print","itemDetails":"View item details","resources":"Resources","saveRename":"Save new title","cancelRename":"Cancel rename","error":"Error","title":"title"},"links":{"label":"Menu","home":"Home","gallery":"Gallery","content":"Content","groups":"Groups","features":"Features","organization":"Organization","overview":"Overview","pricing":"Pricing","map":"Map","scene":"Scene","help":"Help","subscription":"Subscription","downloads":"Downloads","developerCredentials":"Developer credentials","account":"Account","ArcGIS":"ArcGIS","myContent":"Content","notebook":"Notebooks","portalAdmin":"Administration"},"search":{"label":"Search","online":"Search ArcGIS Online","close":"Close search","loadingResults":"Loading results","topResults":"Top results","viewAll":"View all results","suggestions":"Suggestions","by":"{itemType} by {owner}","searchType":{"label":"Search type","keywordTitle":"Search by keyword","keywordDescription":"Best for when you are looking for specific items or groups.","keywordPlaceholder":"Search for maps, layers, apps, groups, and more in ArcGIS Online","semanticTitle":"Search by semantics","semanticDescription":"Best for descriptive and exploratory searches. Use natural language to find conceptually related items.","semanticPlaceholder":"Describe the content you are looking for in ArcGIS Online"}},"notifications":{"label":"Notifications","noNotifications":"No notifications","noNotificationsDescription":"Check back for updates.","dismissAllLabel":"Dismiss all","dismissLabel":"Dismiss notification","lessThanOneMinute":"Just now","deleting":"Deleting notifications...","types":{"group_join":"You requested to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","group_join_admin":"Group <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link> has pending membership requests.","group_application_accepted":"Your request to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link> was accepted.","group_application_declined":"Your request to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link> was declined.","user_invite":"You have been invited to join {groupTitle}.<br><calcite-link href='{baseUrl}groups.html?showInvites=true'>View your invitations</calcite-link>","user_invitation_accepted":"You accepted the invitation to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","user_invitation_declined":"You declined the invitation to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","user_added_to_group":"You have been added to <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","collaboration_workspace_added":"Collaboration {collaborationName} has a new workspace {collaborationWorkspaceName}. Join the workspace by going to Settings > Collaborations.","collaboration_deleted":"Collaboration {collaborationName} has been deleted.","collaboration_leaving":"The organization {participantName} has left the collaboration {collaborationName}.","collaboration_join":"You have joined the collaboration {collaborationName}. To begin collaborating join a group to the collaboration workspace. Navigate to the Workspaces view of the collaboration, click Join Workspace in the Action menu and either create a new group or select an existing one.","collaboration_participant_join":"A new participant {participantName} is joining your collaboration {collaborationName}.","collaboration_participant_workspace_join":"The organization {participantName} has joined the workspace {collaborationWorkspaceName} in collaboration {collaborationName}.","collaboration_participant_workspace_unjoin":"The organization {participantName} has left the workspace {collaborationWorkspaceName} in the collaboration {collaborationName}.","collaboration_participant_removed":"You have been removed from the collaboration {collaborationName}. For more information, you may contact {contactName} ({contactEmail}).","collaboration_peer_participant_removed":"The organization {participantName} is no longer participating in the collaboration {collaborationName}.","collaboration_participant_access_changed":"Your access to one or more workspaces has changed in collaboration {collaborationName}.","collaboration_content_store_disk_limit_reached":"Unable to add item while syncing data. Content store disk space usage threshold of {collaborationContentStoreDiskLimit} GB reached.","user_email_bounced":"There was a problem delivering email to your address, {toEmail}, due to the following reason: {reason}. Contact your organization administrator to resolve the issue.","feature_layer_copy_over_failed":"Feature layer <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to {collaborationWorkspaceName} in {collaborationName} was shared as a reference rather than a copy.","feature_layer_one_way_shared_not_two_way":"Feature layer <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to {collaborationWorkspaceName} in {collaborationName} was shared supporting one-way rather than two-way sharing of edits.","feature_view_copy_over_failed":"Hosted feature layer view <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to {collaborationWorkspaceName} in {collaborationName} was shared as a reference rather than a copy.","webapp_not_copied":"Web mapping application <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to group {sourcePortalGroup} could not be sent to collaboration participant {participantName} because this is an unsupported operation.","webapp_not_copied_portal":"Web mapping application <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to group {sourcePortalGroup} could not be sent to collaboration participant {participantName} because they are using an older version of Portal for ArcGIS.","insights_item_not_copied":"Insights item <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to group {sourcePortalGroup} could not be sent to collaboration participant {participantName} because this is an unsupported operation.","scheduled_task_disabled":"A <span class='tooltip tooltip-notification tooltip-dotted' aria-label='ID: {taskId}'>scheduled task</span> on item <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> has been disabled.","portal_certificate_about_to_expire":"The certificate used by Portal for ArcGIS on port 7443 will expire in {daysLeft} day(s). Please update or import a new certificate before it expires to avoid any security risks or service interruptions.","portal_certificate_expired":"The certificate used by Portal for ArcGIS on port 7443 has expired. Please update or import a new certificate to avoid any security risks or service interruptions.","notebook_runtime_deprecated":"Task {taskTitle} on <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> is configured with a deprecated runtime and cannot run. Update the item's runtime to ensure the task runs as expected.","ingress_certificate_about_to_expire":"The certificate used by the Ingress Controller will expire in {daysLeft} day(s). Please update or import a new certificate before it expires to avoid any security risks or service interruptions.","ingress_certificate_expired":"The certificate used by the Ingress Controller has expired. Please update or import a new certificate to avoid any security risks or service interruptions."}},"user":{"account":"Account","resources":"Resources","myProfile":"My profile","mySettings":"My settings","myEsri":"My Esri","training":"Training","communityForums":"Community","trialDownload":"Trial Downloads","arcgisBlog":"ArcGIS Blog","help":"Help","switchAccounts":"Switch accounts","signOut":"Sign out","signIn":"Sign in","userMenu":"User menu"}}
|
|
1
|
+
{"shared":{"close":"Close"},"platform":{"label":"App switcher","applicationMenu":"Application menu","searchMyApps":"Search my apps","allMyApplications":"All my applictions","customizeApps":"Customize apps","reorder":"Reorder","applyChanges":"Apply","myApps":"My apps","recentContent":"Recent content","searchRecentContent":"Search my recent content","recentContentNoResultsDescription":"Check your spelling and try again.","noContent":"No recent content","noContentDescription":"Quickly access recently created and saved items from this list.","hide":"Hide application","show":"Show application","cancel":"Cancel","delete":"Delete","noAppResults":"No results for \"{term}\"","noAppsAvailable":"No applications","noAppsAvailableDescription":"You currently have no applications.","new":"New","descriptions":{"360 VR":"View 360 VR Experiences on desktops, mobile devices, and VR headsets.","ArcGIS Community Analyst":"Leverage location-based community intelligence.","ArcGIS Dashboards":"Display maps and data in an interactive dashboard.","ArcGIS Earth":"Visualize and explore geospatial content on a 3D globe.","ArcGIS Excalibur":"Annotate, mark up, and add observations or measurements to imagery.","ArcGIS Experience Builder":"Build immersive web apps your way.","ArcGIS Explorer":"View and interact with GIS content in this free app.","ArcGIS for Power BI":"Enhance Power BI reports with spatial analysis and visualization.","ArcGIS Field Maps":"Streamline mobile workflows for field personnel.","ArcGIS Field Maps Early Access":"Create maps and smart forms for use in the field.","ArcGIS GeoBIM":"Add geospatial context to Autodesk projects.","ArcGIS Hub":"Transform how you share data, collaborate, and engage with your community.","ArcGIS Indoors":"Create and manage floor plan data to compose floor-aware maps.","ArcGIS Indoors Floor Plan Editor":"Modify floor plan data of indoor spaces.","ArcGIS Indoors Space Planner":"Visualize and plan occupant assignments in indoor spaces.","ArcGIS Maps for Adobe Creative Cloud":"Design with data-driven maps in Adobe Illustrator and Photoshop.","ArcGIS Mission Responder":"Empower users in the field to participate in active missions.","ArcGIS Online":"Build and share interactive web maps and apps.","ArcGIS QuickCapture Web Designer":"Design custom data collection projects.","ArcGIS Solutions":"Leverage industry-specific mapping configurations of ArcGIS.","ArcGIS Urban":"Evaluate urban impacts with 3D visualizations and urban analytics.","ArcGIS Velocity":"Ingest data from the Internet of Things (IoT).","Business Analyst":"Leverage location-based market and community intelligence.","Data Pipelines":"Prepare and integrate data for visualization and analysis.","Deep Learning Studio":"Collect training data, train models, and run inference at scale.","Developer Documentation":"Access resources and information for developer workflows.","Esri Redistricting":"Complete and share regulation-compliant redistricting plans.","Field Maps Designer":"Create maps and smart forms for use in the field.","GeoPlanner for ArcGIS":"Leverage data-informed planning that engages your audience.","Insights for ArcGIS":"Fuse location analytics with business intelligence workflows.","Instant Apps":"Quickly transform maps into template-based applications.","Knowledge Studio":"Investigate knowledge graphs, perform link analysis, and uncover insights from interconnected data.","Living Atlas":"Add trusted, curated content into your maps","Map Viewer":"Create and share interactive maps and data-driven visualizations.","Mission Manager":"Combine situational awareness with command and control.","My Esri":"Access Esri products and services.","Ortho Maker":"Create 2D imagery products from drone images.","Scene Viewer":"Visualize geospatial data through interactive 3D scenes on the web.","Sites":"Transform how you share data, collaborate, and engage with your community.","StoryMaps":"Build and share stories with maps.","Story Maps":"Build and share stories with maps.","Survey123":"Gather data with an intuitive form-centric solution.","Track Viewer":"Create track views that define who is tracked and who can view those tracks.","Vector Tile Style Editor":"Create and maintain your own customized versions of Esri's vector basemaps.","Wayback Imagery":"Explore a digital archive of basemap imagery.","Web Editor":"Streamline data maintenance workflows with a wide array of editing tools.","Workflow Manager":"Orchestrate work across ArcGIS.","Workforce":"Streamline the planning and coordination of your mobile workforce.","XR Viewer (early access)":"Explore GIS data with a VR headset."},"lessThanOneMinute":"just now","lastUpdated":"Last updated {date}"},"logo":{"label":"Landing page"},"project":{"label":"Project menu","new":"New","open":"Open","create":"Create","save":"Save","saveAsCopy":"Save as copy","manageSharing":"Manage sharing","rename":"Rename","copyLink":"Copy link","embed":"Embed","print":"Print","itemDetails":"View item details","resources":"Resources","saveRename":"Save new title","cancelRename":"Cancel rename","error":"Error","title":"title"},"links":{"label":"Menu","home":"Home","gallery":"Gallery","content":"Content","groups":"Groups","features":"Features","organization":"Organization","overview":"Overview","pricing":"Pricing","map":"Map","scene":"Scene","help":"Help","subscription":"Subscription","downloads":"Downloads","developerCredentials":"Developer credentials","account":"Account","ArcGIS":"ArcGIS","myContent":"Content","notebook":"Notebooks","portalAdmin":"Administration"},"search":{"label":"Search","online":"Search ArcGIS Online","close":"Close search","loadingResults":"Loading results","topResults":"Top results","viewAll":"View all results","suggestions":"Suggestions","by":"{itemType} by {owner}","searchType":{"label":"Search type","keywordTitle":"Search by keyword","keywordDescription":"Best for when you are looking for specific items or groups.","keywordPlaceholder":"Search for maps, layers, apps, groups, and more in ArcGIS Online","keywordPlaceholderEnterprise":"Search for maps, layers, apps, groups, and more in ArcGIS Enterprise","semanticTitle":"Search by semantics","semanticDescription":"Best for descriptive and exploratory searches. Use natural language to find conceptually related items.","semanticPlaceholder":"Describe the content you are looking for in ArcGIS Online","semanticPlaceholderEnterprise":"Describe the content you are looking for in ArcGIS Enterprise"}},"notifications":{"label":"Notifications","noNotifications":"No notifications","noNotificationsDescription":"Check back for updates.","dismissAllLabel":"Dismiss all","dismissLabel":"Dismiss notification","lessThanOneMinute":"Just now","deleting":"Deleting notifications...","types":{"group_join":"You requested to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","group_join_admin":"Group <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link> has pending membership requests.","group_application_accepted":"Your request to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link> was accepted.","group_application_declined":"Your request to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link> was declined.","user_invite":"You have been invited to join {groupTitle}.<br><calcite-link href='{baseUrl}groups.html?showInvites=true'>View your invitations</calcite-link>","user_invitation_accepted":"You accepted the invitation to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","user_invitation_declined":"You declined the invitation to join <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","user_added_to_group":"You have been added to <calcite-link href='{baseUrl}group.html?id={groupId}'>{groupTitle}</calcite-link>.","collaboration_workspace_added":"Collaboration {collaborationName} has a new workspace {collaborationWorkspaceName}. Join the workspace by going to Settings > Collaborations.","collaboration_deleted":"Collaboration {collaborationName} has been deleted.","collaboration_leaving":"The organization {participantName} has left the collaboration {collaborationName}.","collaboration_join":"You have joined the collaboration {collaborationName}. To begin collaborating join a group to the collaboration workspace. Navigate to the Workspaces view of the collaboration, click Join Workspace in the Action menu and either create a new group or select an existing one.","collaboration_participant_join":"A new participant {participantName} is joining your collaboration {collaborationName}.","collaboration_participant_workspace_join":"The organization {participantName} has joined the workspace {collaborationWorkspaceName} in collaboration {collaborationName}.","collaboration_participant_workspace_unjoin":"The organization {participantName} has left the workspace {collaborationWorkspaceName} in the collaboration {collaborationName}.","collaboration_participant_removed":"You have been removed from the collaboration {collaborationName}. For more information, you may contact {contactName} ({contactEmail}).","collaboration_peer_participant_removed":"The organization {participantName} is no longer participating in the collaboration {collaborationName}.","collaboration_participant_access_changed":"Your access to one or more workspaces has changed in collaboration {collaborationName}.","collaboration_content_store_disk_limit_reached":"Unable to add item while syncing data. Content store disk space usage threshold of {collaborationContentStoreDiskLimit} GB reached.","user_email_bounced":"There was a problem delivering email to your address, {toEmail}, due to the following reason: {reason}. Contact your organization administrator to resolve the issue.","feature_layer_copy_over_failed":"Feature layer <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to {collaborationWorkspaceName} in {collaborationName} was shared as a reference rather than a copy.","feature_layer_one_way_shared_not_two_way":"Feature layer <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to {collaborationWorkspaceName} in {collaborationName} was shared supporting one-way rather than two-way sharing of edits.","feature_view_copy_over_failed":"Hosted feature layer view <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to {collaborationWorkspaceName} in {collaborationName} was shared as a reference rather than a copy.","webapp_not_copied":"Web mapping application <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to group {sourcePortalGroup} could not be sent to collaboration participant {participantName} because this is an unsupported operation.","webapp_not_copied_portal":"Web mapping application <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to group {sourcePortalGroup} could not be sent to collaboration participant {participantName} because they are using an older version of Portal for ArcGIS.","insights_item_not_copied":"Insights item <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> shared to group {sourcePortalGroup} could not be sent to collaboration participant {participantName} because this is an unsupported operation.","scheduled_task_disabled":"A <span class='tooltip tooltip-notification tooltip-dotted' aria-label='ID: {taskId}'>scheduled task</span> on item <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> has been disabled.","portal_certificate_about_to_expire":"The certificate used by Portal for ArcGIS on port 7443 will expire in {daysLeft} day(s). Please update or import a new certificate before it expires to avoid any security risks or service interruptions.","portal_certificate_expired":"The certificate used by Portal for ArcGIS on port 7443 has expired. Please update or import a new certificate to avoid any security risks or service interruptions.","notebook_runtime_deprecated":"Task {taskTitle} on <calcite-link href='{baseUrl}item.html?id={itemId}'>{itemTitle}</calcite-link> is configured with a deprecated runtime and cannot run. Update the item's runtime to ensure the task runs as expected.","ingress_certificate_about_to_expire":"The certificate used by the Ingress Controller will expire in {daysLeft} day(s). Please update or import a new certificate before it expires to avoid any security risks or service interruptions.","ingress_certificate_expired":"The certificate used by the Ingress Controller has expired. Please update or import a new certificate to avoid any security risks or service interruptions."}},"user":{"account":"Account","resources":"Resources","myProfile":"My profile","mySettings":"My settings","myEsri":"My Esri","training":"Training","communityForums":"Community","trialDownload":"Trial Downloads","arcgisBlog":"ArcGIS Blog","help":"Help","switchAccounts":"Switch accounts","signOut":"Sign out","signIn":"Sign in","userMenu":"User menu"}}
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{S as r,y as e}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";var s=e(r,{"arcgis-portal-account-switcher":[()=>import("./FFL2L4X5.js"),"clientId,messages:,portal:,redirectUri,signout,signoutOptions:"],"arcgis-portal-account-switcher-accounts":[()=>import("./KRO5XRZ7.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./W3JJBZYX.js"),"accountAccess:,actions:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-account-switcher-signout":[()=>import("./KXVXQYIB.js"),"messages:,portal:,signedInAccounts:"],"arcgis-portal-add-gps-metadata":[()=>import("./YYVLFAFT.js"),"areSourceSchemaChangesAllowed:,canShowAddGPSMetadata:,item:,itemId,messageOverrides:,messages:,portal:,supportsAttachments:"],"arcgis-portal-ai-assistant":[()=>import("./ITRJGXFV.js"),"autoDestroyDisabled,config:,currentContext:,defaultClosed,disabledAgents:,entityToolPresets:,navigationTargetMap:,observabilityEnabled,portal:,t9n:,tools:,user:;submitMessage"],"arcgis-portal-ai-assistant-diagnostics":[()=>import("./5ZHNRQOW.js"),"contextUsages:,registeredTools:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./Y7ZCEONL.js"),"_messages:,entityRequest:,message,options:,pickerMessages:,portal:,requestId,showOtherOption,type"],"arcgis-portal-browser":[()=>import("./YELHAJB3.js"),"_messages:,alwaysShowContent,alwaysShowPagination,alwaysShowSelection,formFactor,height,hideContentTop,hideFilters,hideTopBar,loading,panel,preview,rangeFormatter:,response:,searchTerm,selected:,showPreSearch,store:;scrollToTop"],"arcgis-portal-browser-actions":[()=>import("./WOSWA2VI.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter-status":[()=>import("./KA2MXQTR.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-pagination":[()=>import("./EDGE3T36.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./RR56BOTV.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./C6RUWLEJ.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./RA2NMLMP.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./ZECUXVTO.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./GFUKRB6D.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./S4N5QMSN.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./3OL7A2UC.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./ITWLFQI4.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-delete-items":[()=>import("./UIK6LPA7.js"),"active,disableLinks,fieldDeleteMessages:,itemIds:,items:,messages:,portal:,user:"],"arcgis-portal-delete-items-review":[()=>import("./62TL6V4N.js"),"items:,messages:,portal:,user:"],"arcgis-portal-entity-picker":[()=>import("./IGLODZPX.js"),"_messages:,entityType,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-extent-picker":[()=>import("./OXF2WDSW.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./QKRLO5CJ.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./SUN4MBT3.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./E5HCHRAI.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-browser":[()=>import("./DENQY4OE.js"),"_browserMessages:,_messages:,alwaysShowSelection,cards:,fetch:,filters:,formFactor,hasIndoorsSpaces,height,hidePreviewBadges,hidePreviewFooter,hideTopBar,loading,messageOverrides:,num,portal:,preflight:,preview,q,searchParamInteraction:,searchTerm,searchUser,selected:,selection,sort:,store:,view;clearFilters,refresh"],"arcgis-portal-group-browser-card":[()=>import("./46HNNQAD.js"),"browser:,cardProps:,group:;restoreFocus"],"arcgis-portal-group-browser-preview":[()=>import("./5RBH3LGK.js"),"currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],"arcgis-portal-group-browser-preview-card":[()=>import("./A5QLPZ57.js"),"baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],"arcgis-portal-group-card":[()=>import("./3Q7UJKKN.js"),"disabled,group:,hideBadges,hideDateUpdated,hideOwner,hideViewableBy,indeterminate,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,selected,selection,showDateCreated,showSummary,user:,view;restoreFocus"],"arcgis-portal-group-picker":[()=>import("./C7SNE6YG.js"),"_messages:,entityType:,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-group-thumbnail":[()=>import("./ZLNBCJE4.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./Y4JOEFBJ.js"),"config:,position"],"arcgis-portal-item-actions":[()=>import("./ZDH4KVAV.js"),"actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],"arcgis-portal-item-badges":[()=>import("./IAWL475A.js"),"appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],"arcgis-portal-item-badge":[()=>import("./AZTAWZI5.js"),"_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],"arcgis-portal-item-card":[()=>import("./3DOZPC3W.js"),"actions:,allowedGeometries:,disabled,disableSelection,groups:,hideActionsStart,item:,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,recycleBin,selected,selectedItems:,selection,showAccess,showBadges,showBadgeTooltips,showDateUpdated,showFavorite,showFavoriteInActionsMenu,showItemType,showItemTypeHosted,showOwner,showSummary,showThumbnail,useProduction,user:,userGroups:,userPopupZIndex,view;restoreFocus"],"arcgis-portal-item-card-sublayer-select":[()=>import("./3KGSWW6B.js"),"allowedGeometries:,appearance,disabled,item:,messageOverrides:,messages:,portal:,selectedItems:,selection,width"],"arcgis-portal-item-favorite":[()=>import("./X7W4VJO7.js"),"iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],"arcgis-portal-item-picker":[()=>import("./43A74S72.js"),"_messages:,entityType:,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-item-preview":[()=>import("./SYXCSFIA.js"),"groups:,item:,matchedSublayerIds:,messages:,portal:,showFieldStatistics,showHosted,user:,userGroups:;setFocus"],"arcgis-portal-item-preview-copy":[()=>import("./BZEKNJUA.js"),"heading,label,messages:,section,text"],"arcgis-portal-item-preview-field":[()=>import("./YH2OFXPU.js"),"failed,field:,layer:,messages:,showStatistics"],"arcgis-portal-item-preview-sublayer":[()=>import("./ZG7OW456.js"),"externalLinkHandler:,item:,layer:,messages:,portal:,showFieldStatistics"],"arcgis-portal-item-share-summary":[()=>import("./N3WRMPM6.js"),"autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],"arcgis-portal-item-share-summary-editable":[()=>import("./RXMM6CFK.js"),"allowEdit,autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],"arcgis-portal-item-thumbnail":[()=>import("./FTKSVLDI.js"),"cacheString,generate,item:,portal:,serviceInfo:,useProduction,user:;generateThumbnail"],"arcgis-portal-item-type":[()=>import("./XVV75AX3.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./OPI4P6VO.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./66VV7NHO.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:,showNotifications"],"arcgis-portal-preview-panel":[()=>import("./6QI7DAS2.js"),"fixed,open"],"arcgis-portal-replacement-item-redirect":[()=>import("./FIAEPK5L.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-review-layer-sharing":[()=>import("./W6WVMRGQ.js"),"items:,messages:,open,portal:,statusMessages:"],"arcgis-portal-item-status-card":[()=>import("./46MYBPSS.js"),"item:,messages:,portal:,previewed,state;restoreFocus"],"arcgis-portal-review-related-items":[()=>import("./DT4HGMLS.js"),"browserMessages:,deleteMessages:,messages:,portal:,relatedItems:,relatedItemsCount,showDependentItems,sourceItem:,user:"],"arcgis-portal-sublayer-type":[()=>import("./R26RBXQW.js"),"geometry,hideIcon,hideName,hideType,messages:,name,renderer:,scale,type,underline"],"arcgis-portal-user-avatar":[()=>import("./P3FFM322.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-picker":[()=>import("./RTZ2TKM5.js"),"_messages:,entityType:,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-user-popup":[()=>import("./JIU6MBGB.js"),"appearance,avatarAriaHidden,baseUrl,checkOnline,fullName,item:,messages:,portal:,scale,showAvatar,showName,showUsername,underline,user:,username,wrap,zIndex;openPopup,setFocus"],"arcgis-portal-voice-input":[()=>import("./DTGPLVZF.js"),"language;clearText,startListening,stopListening"]});s({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-account-switcher,arcgis-portal-account-switcher-accounts,arcgis-portal-account-switcher-list,arcgis-portal-account-switcher-signout,arcgis-portal-add-gps-metadata,arcgis-portal-ai-assistant,arcgis-portal-ai-assistant-diagnostics,arcgis-portal-ai-assistant-interrupt,arcgis-portal-browser,arcgis-portal-browser-actions,arcgis-portal-browser-filter-status,arcgis-portal-browser-pagination,arcgis-portal-browser-search,arcgis-portal-browser-sort,arcgis-portal-browser-top-bar,arcgis-portal-browser-view,arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-delete-items,arcgis-portal-delete-items-review,arcgis-portal-entity-picker,arcgis-portal-extent-picker,arcgis-portal-field-delete,arcgis-portal-group-badges,arcgis-portal-group-browser,arcgis-portal-group-browser-card,arcgis-portal-group-browser-preview,arcgis-portal-group-browser-preview-card,arcgis-portal-group-card,arcgis-portal-group-picker,arcgis-portal-group-thumbnail,arcgis-portal-info-banner,arcgis-portal-item-actions,arcgis-portal-item-badges,arcgis-portal-item-badge,arcgis-portal-item-card,arcgis-portal-item-card-sublayer-select,arcgis-portal-item-favorite,arcgis-portal-item-picker,arcgis-portal-item-preview,arcgis-portal-item-preview-copy,arcgis-portal-item-preview-field,arcgis-portal-item-preview-sublayer,arcgis-portal-item-share-summary,arcgis-portal-item-share-summary-editable,arcgis-portal-item-thumbnail,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-preview-panel,arcgis-portal-replacement-item-redirect,arcgis-portal-review-layer-sharing,arcgis-portal-item-status-card,arcgis-portal-review-related-items,arcgis-portal-sublayer-type,arcgis-portal-user-avatar,arcgis-portal-user-picker,arcgis-portal-user-popup,arcgis-portal-voice-input){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,r)
|
|
2
|
+
import{S as r,y as e}from"./VWOBCSD6.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";var s=e(r,{"arcgis-portal-account-switcher":[()=>import("./DKUOQCHO.js"),"clientId,messages:,portal:,redirectUri,signout,signoutOptions:"],"arcgis-portal-account-switcher-accounts":[()=>import("./KRO5XRZ7.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./AP7UWD4P.js"),"accountAccess:,actions:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-account-switcher-signout":[()=>import("./KXVXQYIB.js"),"messages:,portal:,signedInAccounts:"],"arcgis-portal-add-gps-metadata":[()=>import("./ME6XACY6.js"),"areSourceSchemaChangesAllowed:,canShowAddGPSMetadata:,item:,itemId,messageOverrides:,messages:,portal:,supportsAttachments:"],"arcgis-portal-ai-assistant":[()=>import("./ITRJGXFV.js"),"autoDestroyDisabled,config:,currentContext:,defaultClosed,disabledAgents:,entityToolPresets:,navigationTargetMap:,observabilityEnabled,portal:,t9n:,tools:,user:;submitMessage"],"arcgis-portal-ai-assistant-diagnostics":[()=>import("./5ZHNRQOW.js"),"contextUsages:,registeredTools:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./Y7ZCEONL.js"),"_messages:,entityRequest:,message,options:,pickerMessages:,portal:,requestId,showOtherOption,type"],"arcgis-portal-browser":[()=>import("./YELHAJB3.js"),"_messages:,alwaysShowContent,alwaysShowPagination,alwaysShowSelection,formFactor,height,hideContentTop,hideFilters,hideTopBar,loading,panel,preview,rangeFormatter:,response:,searchTerm,selected:,showPreSearch,store:;scrollToTop"],"arcgis-portal-browser-actions":[()=>import("./WOSWA2VI.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter-status":[()=>import("./KA2MXQTR.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-pagination":[()=>import("./EDGE3T36.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./RR56BOTV.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./C6RUWLEJ.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./RA2NMLMP.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./ZECUXVTO.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./GFUKRB6D.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./S4N5QMSN.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./3OL7A2UC.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./ITWLFQI4.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-delete-items":[()=>import("./DFECUYNW.js"),"active,disableLinks,fieldDeleteMessages:,itemIds:,items:,messages:,portal:,user:"],"arcgis-portal-delete-items-review":[()=>import("./62TL6V4N.js"),"items:,messages:,portal:,user:"],"arcgis-portal-entity-picker":[()=>import("./CERDMRFQ.js"),"_messages:,entityType,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-extent-picker":[()=>import("./OXF2WDSW.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./QKRLO5CJ.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./QXPDVHB5.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./E5HCHRAI.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-browser":[()=>import("./JGTBDGJ7.js"),"_browserMessages:,_messages:,alwaysShowSelection,cards:,fetch:,filters:,formFactor,hasIndoorsSpaces,height,hidePreviewBadges,hidePreviewFooter,hideTopBar,loading,messageOverrides:,num,portal:,preflight:,preview,q,searchParamInteraction:,searchTerm,searchUser,selected:,selection,sort:,store:,view;clearFilters,refresh"],"arcgis-portal-group-browser-card":[()=>import("./46HNNQAD.js"),"browser:,cardProps:,group:;restoreFocus"],"arcgis-portal-group-browser-preview":[()=>import("./UCTXRTQZ.js"),"currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],"arcgis-portal-group-browser-preview-card":[()=>import("./UWB23CG4.js"),"baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],"arcgis-portal-group-card":[()=>import("./3Q7UJKKN.js"),"disabled,group:,hideBadges,hideDateUpdated,hideOwner,hideViewableBy,indeterminate,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,selected,selection,showDateCreated,showSummary,user:,view;restoreFocus"],"arcgis-portal-group-picker":[()=>import("./TQX5BOZG.js"),"_messages:,entityType:,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-group-thumbnail":[()=>import("./R45EMSQJ.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./Y4JOEFBJ.js"),"config:,position"],"arcgis-portal-item-actions":[()=>import("./ZOOEWYFB.js"),"actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],"arcgis-portal-item-badges":[()=>import("./IWPJEUHY.js"),"appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],"arcgis-portal-item-badge":[()=>import("./AJEQETRW.js"),"_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],"arcgis-portal-item-card":[()=>import("./3ZVDEJPF.js"),"actions:,allowedGeometries:,disabled,disableSelection,groups:,hideActionsStart,item:,link,linkHandler:,messages:,name,newTab,notebookRuntimeStatus,portal:,preview,previewed,recycleBin,selected,selectedItems:,selection,showAccess,showBadges,showBadgeTooltips,showDateUpdated,showFavorite,showFavoriteInActionsMenu,showItemType,showItemTypeHosted,showOwner,showSummary,showThumbnail,useProduction,user:,userGroups:,userPopupZIndex,view;restoreFocus"],"arcgis-portal-item-card-sublayer-select":[()=>import("./7JKFWVCY.js"),"allowedGeometries:,appearance,disabled,item:,messageOverrides:,messages:,portal:,selectedItems:,selection,width"],"arcgis-portal-item-favorite":[()=>import("./SGV47YVU.js"),"iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],"arcgis-portal-item-picker":[()=>import("./GHDMQJG4.js"),"_messages:,entityType:,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-item-preview":[()=>import("./7AG3E7K6.js"),"groups:,item:,matchedSublayerIds:,messages:,portal:,showFieldStatistics,showHosted,user:,userGroups:;setFocus"],"arcgis-portal-item-preview-copy":[()=>import("./BZEKNJUA.js"),"heading,label,messages:,section,text"],"arcgis-portal-item-preview-field":[()=>import("./YH2OFXPU.js"),"failed,field:,layer:,messages:,showStatistics"],"arcgis-portal-item-preview-sublayer":[()=>import("./OWODUQF2.js"),"externalLinkHandler:,item:,layer:,messages:,portal:,showFieldStatistics"],"arcgis-portal-item-share-summary":[()=>import("./6ZYYG64M.js"),"autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],"arcgis-portal-item-share-summary-editable":[()=>import("./FXXFSYNB.js"),"allowEdit,autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],"arcgis-portal-item-thumbnail":[()=>import("./U2J4ST45.js"),"cacheString,generate,item:,portal:,serviceInfo:,useProduction,user:;generateThumbnail"],"arcgis-portal-item-type":[()=>import("./JDW7ECBF.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./W6U2HMEK.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./7JDXAVUG.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:,showNotifications"],"arcgis-portal-preview-panel":[()=>import("./6QI7DAS2.js"),"fixed,open"],"arcgis-portal-replacement-item-redirect":[()=>import("./DQL2JT6K.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-review-layer-sharing":[()=>import("./PM33STYQ.js"),"items:,messages:,open,portal:,statusMessages:"],"arcgis-portal-item-status-card":[()=>import("./42AN66SK.js"),"item:,messages:,portal:,previewed,state;restoreFocus"],"arcgis-portal-review-related-items":[()=>import("./6XDKSVRF.js"),"browserMessages:,deleteMessages:,messages:,portal:,relatedItems:,relatedItemsCount,showDependentItems,sourceItem:,user:"],"arcgis-portal-sublayer-type":[()=>import("./R26RBXQW.js"),"geometry,hideIcon,hideName,hideType,messages:,name,renderer:,scale,type,underline"],"arcgis-portal-user-avatar":[()=>import("./N5AG34NK.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-picker":[()=>import("./36DGXQLJ.js"),"_messages:,entityType:,icon,initialScope,initialSearchTerm,messageOverrides:,mode,num,portal:,query,scopeSelectionDisabled,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-user-popup":[()=>import("./ODYYTLLQ.js"),"appearance,avatarAriaHidden,baseUrl,checkOnline,fullName,item:,messages:,portal:,scale,showAvatar,showName,showUsername,underline,user:,username,wrap,zIndex;openPopup,setFocus"],"arcgis-portal-voice-input":[()=>import("./DTGPLVZF.js"),"language;clearText,startListening,stopListening"]});s({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-account-switcher,arcgis-portal-account-switcher-accounts,arcgis-portal-account-switcher-list,arcgis-portal-account-switcher-signout,arcgis-portal-add-gps-metadata,arcgis-portal-ai-assistant,arcgis-portal-ai-assistant-diagnostics,arcgis-portal-ai-assistant-interrupt,arcgis-portal-browser,arcgis-portal-browser-actions,arcgis-portal-browser-filter-status,arcgis-portal-browser-pagination,arcgis-portal-browser-search,arcgis-portal-browser-sort,arcgis-portal-browser-top-bar,arcgis-portal-browser-view,arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-delete-items,arcgis-portal-delete-items-review,arcgis-portal-entity-picker,arcgis-portal-extent-picker,arcgis-portal-field-delete,arcgis-portal-group-badges,arcgis-portal-group-browser,arcgis-portal-group-browser-card,arcgis-portal-group-browser-preview,arcgis-portal-group-browser-preview-card,arcgis-portal-group-card,arcgis-portal-group-picker,arcgis-portal-group-thumbnail,arcgis-portal-info-banner,arcgis-portal-item-actions,arcgis-portal-item-badges,arcgis-portal-item-badge,arcgis-portal-item-card,arcgis-portal-item-card-sublayer-select,arcgis-portal-item-favorite,arcgis-portal-item-picker,arcgis-portal-item-preview,arcgis-portal-item-preview-copy,arcgis-portal-item-preview-field,arcgis-portal-item-preview-sublayer,arcgis-portal-item-share-summary,arcgis-portal-item-share-summary-editable,arcgis-portal-item-thumbnail,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-preview-panel,arcgis-portal-replacement-item-redirect,arcgis-portal-review-layer-sharing,arcgis-portal-item-status-card,arcgis-portal-review-related-items,arcgis-portal-sublayer-type,arcgis-portal-user-avatar,arcgis-portal-user-picker,arcgis-portal-user-popup,arcgis-portal-voice-input){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,r)
|
package/dist/chunks/portal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { i } from "./functionalities.js";
|
|
3
3
|
import { a, b as c } from "./url.js";
|
|
4
|
-
function
|
|
4
|
+
function h(e) {
|
|
5
5
|
return a(e.restUrl);
|
|
6
6
|
}
|
|
7
7
|
function u(e, t) {
|
|
@@ -68,6 +68,9 @@ function m(e, t, n) {
|
|
|
68
68
|
}
|
|
69
69
|
const s = (e) => e.sourceJSON, o = (e) => e.portalProperties ?? {};
|
|
70
70
|
function w(e) {
|
|
71
|
+
return s(e)?.portalDeploymentType === "ArcGISEnterpriseOnKubernetes";
|
|
72
|
+
}
|
|
73
|
+
function H(e) {
|
|
71
74
|
const t = o(e).homePage === "modern";
|
|
72
75
|
return e.isPortal ? t || g(e) : t || f(e);
|
|
73
76
|
}
|
|
@@ -78,7 +81,7 @@ function f(e) {
|
|
|
78
81
|
function g(e) {
|
|
79
82
|
return e.isPortal && o(e).homePage === "modernOnly";
|
|
80
83
|
}
|
|
81
|
-
function
|
|
84
|
+
function O(e) {
|
|
82
85
|
return e.type === "gallery" && !!e.groupId;
|
|
83
86
|
}
|
|
84
87
|
function k(e) {
|
|
@@ -86,14 +89,15 @@ function k(e) {
|
|
|
86
89
|
return e?.isPortal ? t.supportsHostedNotebooks : !(i(["Trial Developer", "Trial", "Trial Press"], t.subscriptionInfo?.type) || t.subscriptionInfo?.options?.includes("Developer"));
|
|
87
90
|
}
|
|
88
91
|
export {
|
|
89
|
-
|
|
92
|
+
h as a,
|
|
90
93
|
S as b,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
w as c,
|
|
95
|
+
s as d,
|
|
96
|
+
O as e,
|
|
97
|
+
u as f,
|
|
95
98
|
P as g,
|
|
96
|
-
|
|
99
|
+
H as h,
|
|
97
100
|
T as i,
|
|
101
|
+
m as j,
|
|
98
102
|
k as n
|
|
99
103
|
};
|
package/dist/chunks/query.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as p } from "./functionalities.js";
|
|
|
3
3
|
import { e as y } from "./groups.js";
|
|
4
4
|
import { b as l } from "./url.js";
|
|
5
5
|
import { g as O, a as g } from "./portal2.js";
|
|
6
|
-
import {
|
|
6
|
+
import { d as R, h as d, e as m } from "./portal.js";
|
|
7
7
|
const f = '-typekeywords:("MapAreaPackage") -type:("Map Area" OR "Indoors Map Configuration" OR "Code Attachment")';
|
|
8
8
|
async function b(e) {
|
|
9
9
|
const t = R(e);
|
|
@@ -62,6 +62,9 @@ export abstract class ArcgisPortalItemCard extends LitElement {
|
|
|
62
62
|
owner: string;
|
|
63
63
|
favorite: string;
|
|
64
64
|
deprecated: string;
|
|
65
|
+
outdatedRuntimeWarning: string;
|
|
66
|
+
outdatedRuntimeWarningK8s: string;
|
|
67
|
+
retiredRuntimeWarning: string;
|
|
65
68
|
itemActions: string;
|
|
66
69
|
} & T9nMeta<{
|
|
67
70
|
select: string;
|
|
@@ -75,6 +78,9 @@ export abstract class ArcgisPortalItemCard extends LitElement {
|
|
|
75
78
|
owner: string;
|
|
76
79
|
favorite: string;
|
|
77
80
|
deprecated: string;
|
|
81
|
+
outdatedRuntimeWarning: string;
|
|
82
|
+
outdatedRuntimeWarningK8s: string;
|
|
83
|
+
retiredRuntimeWarning: string;
|
|
78
84
|
itemActions: string;
|
|
79
85
|
}>;
|
|
80
86
|
/** Name of the radio button control for accessibility. */
|
|
@@ -85,6 +91,8 @@ export abstract class ArcgisPortalItemCard extends LitElement {
|
|
|
85
91
|
* @default false
|
|
86
92
|
*/
|
|
87
93
|
accessor newTab: boolean;
|
|
94
|
+
/** Status of the notebook runtime associated with the item. */
|
|
95
|
+
accessor notebookRuntimeStatus: PortalItemCardNotebookRuntimeStatus | undefined;
|
|
88
96
|
/** Current portal instance. */
|
|
89
97
|
accessor portal: Portal;
|
|
90
98
|
/** Optionally emit preview behavior on click of card. */
|
|
@@ -225,6 +233,9 @@ export type ItemCardSelection = "multiple-sublayer" | "multiple" | "none" | "sin
|
|
|
225
233
|
|
|
226
234
|
export type ItemCardPreview = "action" | "top";
|
|
227
235
|
|
|
236
|
+
/** Status of the notebook runtime associated with the item. */
|
|
237
|
+
export type PortalItemCardNotebookRuntimeStatus = "current" | "outdated" | "retired";
|
|
238
|
+
|
|
228
239
|
export interface PortalItemCardActionsOpenDetail {
|
|
229
240
|
actions: PortalItemAction[];
|
|
230
241
|
el: Element | HTMLButtonElement;
|