@arcgis/portal-components 5.2.0-next.53 → 5.2.0-next.55
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/{BZRUGC5P.js → 2WEWH5G3.js} +1 -1
- package/dist/cdn/{POIXW2OA.js → 5DE3XVTY.js} +1 -1
- package/dist/cdn/{75N65DHR.js → C2DREZD4.js} +1 -1
- package/dist/cdn/{F3G5N2UU.js → C4UBEDKI.js} +1 -1
- package/dist/cdn/DHD74RG3.js +619 -0
- package/dist/cdn/{DZJMNZY6.js → IZOGASBD.js} +1 -1
- package/dist/cdn/{XVFCF4AX.js → NADYAODN.js} +34 -34
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/utils.js +13 -9
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +562 -554
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +5 -6
- package/dist/cdn/AGVSKS3A.js +0 -645
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{A as e,R as r}from"./STZRXY35.js";import"./UZLQALHY.js";var a=e(r,{"arcgis-portal-account-switcher":[()=>import("./BJTJP57C.js"),"baseUrl,messages:,portal:"],"arcgis-portal-account-switcher-accounts":[()=>import("./3MIY7CNH.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./IFYHXRHA.js"),"interactive,label,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-ai-assistant":[()=>import("./
|
|
2
|
+
import{A as e,R as r}from"./STZRXY35.js";import"./UZLQALHY.js";var a=e(r,{"arcgis-portal-account-switcher":[()=>import("./BJTJP57C.js"),"baseUrl,messages:,portal:"],"arcgis-portal-account-switcher-accounts":[()=>import("./3MIY7CNH.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./IFYHXRHA.js"),"interactive,label,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-ai-assistant":[()=>import("./DHD74RG3.js"),"autoDestroyDisabled,config:,defaultClosed,navigationTargetMap:,portal:,t9n:,user:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./NADYAODN.js"),"_messages:,message,options:,type"],"arcgis-portal-browser":[()=>import("./OUN473QW.js"),"_messages:,alwaysShowContent,alwaysShowPagination,alwaysShowSelection,api,formFactor,height,hideContentTop,hideFilters,hideTopBar,loading,panel,preview,rangeFormatter:,response:,searchTerm,selected:,showPreSearch,store:;scrollToTop"],"arcgis-portal-browser-actions":[()=>import("./GKBK32VH.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter":[()=>import("./DNMB343K.js"),"_messages:,active,clearDisabled,expanded,filterId,heading,noPadding,primary"],"arcgis-portal-browser-filter-date":[()=>import("./QPFPNUHH.js"),"_messages:,end,expanded,includeNever,property,range,serverProperty,start,store:"],"arcgis-portal-browser-filter-status":[()=>import("./3PWVEX4V.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-filters":[()=>import("./2VLAJOZX.js"),"store:"],"arcgis-portal-browser-pagination":[()=>import("./LTQA5JRV.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./BZRM2V6V.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./SJDQS32I.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./OGC5YU6V.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./EJZ55DVU.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./IZTK4QQL.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./CU34VHCE.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./FDQ3EJUR.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./ILBX6R25.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./UCCRV44E.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./K7NCYRPX.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./UQWELJR5.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./M6X5KCWL.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-card":[()=>import("./M5MGOBU3.js"),"disabled,group:,indeterminate,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,selected,selection,showBadges,showDateCreated,showDateUpdated,showOwner,showSummary,showViewableBy,user:,view;restoreFocus"],"arcgis-portal-group-thumbnail":[()=>import("./J46I5HEQ.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./IF2LNWBA.js"),"config:,position"],"arcgis-portal-item-type":[()=>import("./C2DREZD4.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./Y5CRBUVL.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./2WEWH5G3.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:"],"arcgis-portal-replacement-item-redirect":[()=>import("./JJ7P5JJ3.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-user-avatar":[()=>import("./OBVMQ64S.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-popup":[()=>import("./2JCFEF3J.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("./PBH3JZCG.js"),"language;clearText,startListening,stopListening"]});a({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-ai-assistant,arcgis-portal-ai-assistant-interrupt,arcgis-portal-browser,arcgis-portal-browser-actions,arcgis-portal-browser-filter,arcgis-portal-browser-filter-date,arcgis-portal-browser-filter-status,arcgis-portal-browser-filters,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-extent-picker,arcgis-portal-field-delete,arcgis-portal-group-badges,arcgis-portal-group-card,arcgis-portal-group-thumbnail,arcgis-portal-info-banner,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-replacement-item-redirect,arcgis-portal-user-avatar,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/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { u as f, i as
|
|
2
|
+
import { u as f, i as S, a as M, b as A, c as x, d as C, e as j, f as G } from "./item2.js";
|
|
3
3
|
const L = (r) => typeof r?.role == "string" && r?.role ? r?.role : r?.roleId ?? r?.sourceJSON?.id;
|
|
4
|
-
function
|
|
4
|
+
function v(r) {
|
|
5
5
|
return r ? ["org_admin", "account_admin"].includes(L(r)) && !r?.roleId : !1;
|
|
6
6
|
}
|
|
7
7
|
function T(r) {
|
|
@@ -11,19 +11,19 @@ function E(r) {
|
|
|
11
11
|
return !!r?.privileges?.includes("portal:admin:deleteItems");
|
|
12
12
|
}
|
|
13
13
|
function W(r, t) {
|
|
14
|
-
return t ? f(r, t) || r.itemControl === "update" ||
|
|
14
|
+
return t ? f(r, t) || r.itemControl === "update" || S([r], t) && v(t) : !1;
|
|
15
15
|
}
|
|
16
16
|
function R(r, t) {
|
|
17
17
|
if (!t)
|
|
18
18
|
return !1;
|
|
19
|
-
const a =
|
|
19
|
+
const a = S([r], t), e = f(r, t) || v(t) && a, i = T(t) && E(t);
|
|
20
20
|
return !!(e || a && i);
|
|
21
21
|
}
|
|
22
22
|
async function K({ item: r, messages: t, user: a, serviceInfo: e, portal: i }) {
|
|
23
23
|
const c = O(r), n = V(r, t, i);
|
|
24
24
|
return {
|
|
25
|
-
displayName:
|
|
26
|
-
displayNameHosted:
|
|
25
|
+
displayName: k(n, { item: r, user: a, messages: t, serviceInfo: e }, !1),
|
|
26
|
+
displayNameHosted: k(n, { item: r, user: a, messages: t, serviceInfo: e }, !0),
|
|
27
27
|
icon: c
|
|
28
28
|
};
|
|
29
29
|
}
|
|
@@ -33,7 +33,7 @@ function $(r) {
|
|
|
33
33
|
const t = r.typeKeywords;
|
|
34
34
|
return t?.includes("IntegratedMesh") ? "mesh" : t?.includes("3DObject") ? "3D object" : t?.includes("Point") ? "3D point" : t?.includes("PointCloud") ? "point cloud" : t?.includes("Building") ? "building" : t?.includes("Voxel") ? "voxel" : null;
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function k(r, { item: t, user: a, messages: e, serviceInfo: i }, c = !0) {
|
|
37
37
|
const n = t.type === "Image Service";
|
|
38
38
|
if (!t || !e || !(c && a) && t.type !== "Image Service")
|
|
39
39
|
return r;
|
|
@@ -47,7 +47,7 @@ function b(r, { item: t, user: a, messages: e, serviceInfo: i }, c = !0) {
|
|
|
47
47
|
return `${r} (${e.utilityNetwork}${o})`;
|
|
48
48
|
}
|
|
49
49
|
if (n) {
|
|
50
|
-
const o = t.typeKeywords?.includes("Elevation 3D Layer"), w = m && u, P = A(t, i) && !o, I = x(t, i) && !o, l = `${w ? "Hosted" : ""}${I ? "Collection" : ""}${P ? "Multidimensional" : ""}`,
|
|
50
|
+
const o = t.typeKeywords?.includes("Elevation 3D Layer"), w = m && u, P = A(t, i) && !o, I = x(t, i) && !o, l = `${w ? "Hosted" : ""}${I ? "Collection" : ""}${P ? "Multidimensional" : ""}`, b = l && `${l[0].toLowerCase()}${l.slice(1)}`, D = b ? ` (${e[b]})` : "";
|
|
51
51
|
return `${r}${D}`;
|
|
52
52
|
}
|
|
53
53
|
if (m) {
|
|
@@ -285,6 +285,10 @@ function V(r, t, a) {
|
|
|
285
285
|
return "Tile layer";
|
|
286
286
|
case "netCDF":
|
|
287
287
|
return "NetCDF";
|
|
288
|
+
case "Site Application":
|
|
289
|
+
return "Hub site application";
|
|
290
|
+
case "Site Page":
|
|
291
|
+
return "Hub page";
|
|
288
292
|
case "SQLite Geodatabase":
|
|
289
293
|
return "Mobile geodatabase";
|
|
290
294
|
case "Style":
|
|
@@ -641,5 +645,5 @@ function O(r) {
|
|
|
641
645
|
export {
|
|
642
646
|
V as a,
|
|
643
647
|
K as g,
|
|
644
|
-
|
|
648
|
+
v as i
|
|
645
649
|
};
|