@arcgis/portal-components 5.1.0-next.98 → 5.1.0
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/README.md +2 -2
- package/dist/cdn/3AFLX4RZ.js +31 -0
- package/dist/cdn/3XDKOO6K.js +2 -0
- package/dist/cdn/4ISLOZQ3.js +2 -0
- package/dist/cdn/{TTZBF4KI.js → 563BUCQX.js} +1 -1
- package/dist/cdn/{JOYFDD4B.js → 5BPXS3WU.js} +1 -1
- package/dist/cdn/65JPRIL4.js +98 -0
- package/dist/cdn/6K7GPATC.js +2 -0
- package/dist/cdn/6RA33SDH.js +34 -0
- package/dist/cdn/7IAAHGM2.js +2 -0
- package/dist/cdn/{SOPWLUP4.js → ABRHXRFP.js} +1 -1
- package/dist/cdn/BCUEYBNI.js +2 -0
- package/dist/cdn/CAQR2NSG.js +4 -0
- package/dist/cdn/D42PED2R.js +2 -0
- package/dist/cdn/DEHBTA5D.js +2 -0
- package/dist/cdn/EZ7YC5N5.js +99 -0
- package/dist/cdn/{SEZNHA2J.js → FK7QXBE2.js} +1 -1
- package/dist/cdn/IBYY5ORN.js +122 -0
- package/dist/cdn/ITFWXO7A.js +49 -0
- package/dist/cdn/JWUQZ52F.js +134 -0
- package/dist/cdn/KBYWRUKO.js +2 -0
- package/dist/cdn/KFH2OM2D.js +2 -0
- package/dist/cdn/{GPPEHGUO.js → LVUHKMSB.js} +1 -1
- package/dist/cdn/NDKFZPYE.js +2 -0
- package/dist/cdn/NX4L2LC2.js +2 -0
- package/dist/cdn/OYABHYVF.js +2 -0
- package/dist/cdn/{V5ZWDMLE.js → PIZFXU2N.js} +1 -1
- package/dist/cdn/QOCYNLQ7.js +71 -0
- package/dist/cdn/{ERNT74VA.js → QUYBZ3J7.js} +1 -1
- package/dist/cdn/R2XPTETT.js +22 -0
- package/dist/cdn/R53CO5LK.js +77 -0
- package/dist/cdn/{HQAGVE4P.js → RNRPTWHT.js} +17 -1
- package/dist/cdn/{32DRTMS4.js → SFKRR7GW.js} +1 -1
- package/dist/cdn/SQ54YADV.js +533 -0
- package/dist/cdn/SX4KDMYV.js +69 -0
- package/dist/cdn/TKQAFRBM.js +36 -0
- package/dist/cdn/TNDL67UN.js +2 -0
- package/dist/cdn/{LJUIMVQ2.js → W4RAJWHA.js} +1 -1
- package/dist/cdn/WHLL7DNC.js +146 -0
- package/dist/cdn/X3LZYQ4U.js +66 -0
- package/dist/cdn/XR4PMNYP.js +2 -0
- package/dist/cdn/YJK6JAPE.js +422 -0
- package/dist/cdn/{5WK4GJK2.js → Z5UVAVHJ.js} +1 -1
- package/dist/cdn/{3OTUKLZI.js → ZCL2V7W3.js} +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/portal-ai-assistant-interrupt/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/portal-item-type/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/portal-item-type/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/fieldAddDelete.js +1 -1
- package/dist/chunks/functionalities.js +10 -0
- package/dist/chunks/groups.js +86 -0
- package/dist/chunks/item.js +124 -22
- package/dist/chunks/portal.js +48 -8
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/user.js +4 -109
- package/dist/chunks/user2.js +113 -0
- package/dist/components/arcgis-portal-ai-assistant/agents/types.d.ts +7 -0
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +20 -6
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +738 -124
- package/dist/components/arcgis-portal-ai-assistant/index.js +2 -1
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +42 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +51 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/index.d.ts +1 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +6 -0
- package/dist/components/arcgis-portal-classification-config/customElement.js +44 -37
- package/dist/components/arcgis-portal-item-type/customElement.js +1 -1
- package/dist/components/arcgis-portal-mentionable-text-area/customElement.d.ts +2 -1
- package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +38 -41
- package/dist/components/arcgis-portal-mentionable-text-area/utils.d.ts +7 -0
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.d.ts +3 -3
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +131 -63
- package/dist/components/arcgis-portal-user-avatar/customElement.js +24 -27
- package/dist/components/arcgis-portal-voice-input/customElement.d.ts +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/index.d.ts +16 -0
- package/dist/loader.js +3 -2
- package/dist/types/lumina.d.ts +9 -1
- package/dist/types/preact.d.ts +10 -1
- package/dist/types/react.d.ts +11 -1
- package/dist/types/stencil.d.ts +9 -1
- package/package.json +12 -10
- package/dist/cdn/2UAWM45V.js +0 -2
- package/dist/cdn/4XGP5S32.js +0 -2
- package/dist/cdn/AMCZ4UZQ.js +0 -2
- package/dist/cdn/CVTNZK7F.js +0 -2
- package/dist/cdn/DAD7LUKA.js +0 -2
- package/dist/cdn/F5QGCGHF.js +0 -2
- package/dist/cdn/HGOHRPAD.js +0 -2
- package/dist/cdn/IZQBJ5VK.js +0 -2
- package/dist/cdn/JFG6QVNF.js +0 -2
- package/dist/cdn/LCWXNCUX.js +0 -396
- package/dist/cdn/NJMHL2Y7.js +0 -4
- package/dist/cdn/OGQ2PD7M.js +0 -2
- package/dist/cdn/S2PHM4WZ.js +0 -2
- package/dist/cdn/ZAHK6WQT.js +0 -138
- package/dist/chunks/item2.js +0 -128
- /package/dist/cdn/{3OPKWSWR.js → 34BMNP6G.js} +0 -0
- /package/dist/cdn/{JQKWT7SI.js → FPAFR5IL.js} +0 -0
- /package/dist/cdn/{N5K4DR3J.js → FPKINYFN.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Zamiennik dostępny","replacementUnavailable":"Zamiennik niedostępny","redirectToReplacement":"Przekieruj do zamiennika","retiredTitle":"Wycofane","cancel":"Anuluj","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Zamiennik dostępny","replacementUnavailable":"Zamiennik niedostępny","redirectToReplacement":"Przekieruj do zamiennika","retiredTitle":"Wycofane","cancel":"Anuluj","cancelRedirection":"Anuluj przekierowanie","ownedBy":"Właściciel: ${owner}","redirect":"Przekierowywanie za ${seconds} s...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> zastąpiono następującym elementem:","retired":"Element <strong>${itemTitle}</strong> został wycofany.","retiredReplacementUnavailable":"Element <strong>${itemTitle}</strong> został wycofany. Nie masz dostępu do jego zamiennika.","moreDetails":"Wyświetl szczegóły"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Substituição disponível","replacementUnavailable":"Substituição
|
|
1
|
+
{"replacementAvailable":"Substituição disponível","replacementUnavailable":"Substituição não disponível","redirectToReplacement":"Redirecionar para a substituição","retiredTitle":"Retirado","cancel":"Cancelar","cancelRedirection":"Cancelar redirecionamento","ownedBy":"Propriedade de: ${owner}","redirect":"Redirecionando em ${seconds}s...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> foi substituído pelo seguinte:","retired":"</strong>${itemTitle}<strong> foi descontinuado.","retiredReplacementUnavailable":"</strong>${itemTitle}<strong> foi descontinuado. Você não tem acesso a esta substituição.","moreDetails":"Detalhes de visualização"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Substituição disponível","replacementUnavailable":"Substituição indisponível","redirectToReplacement":"Redirecionar para substituição","retiredTitle":"Descontinuado","cancel":"Cancelar","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Substituição disponível","replacementUnavailable":"Substituição indisponível","redirectToReplacement":"Redirecionar para substituição","retiredTitle":"Descontinuado","cancel":"Cancelar","cancelRedirection":"Cancelar redirecionamento","ownedBy":"Propriedade de: ${owner}","redirect":"A redirecionar dentro de ${seconds} s...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> foi substituído por:","retired":"<strong>${itemTitle}</strong> foi retirado.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> foi retirado. Não tem acesso à respetiva substituição.","moreDetails":"Ver detalhes"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Înlocuire disponibilă","replacementUnavailable":"Înlocuirea nu este disponibilă","redirectToReplacement":"Redirecționare la înlocuire","retiredTitle":"Retras","cancel":"Anulare","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Înlocuire disponibilă","replacementUnavailable":"Înlocuirea nu este disponibilă","redirectToReplacement":"Redirecționare la înlocuire","retiredTitle":"Retras","cancel":"Anulare","cancelRedirection":"Anulare redirecționare","ownedBy":"Deținut de: ${owner}","redirect":"Redirecționare în ${seconds}s...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> a fost înlocuit de:","retired":"<strong>${itemTitle}</strong> a fost retras.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> a fost retras. Nu aveți acces la înlocuitorul său.","moreDetails":"Vizualizare detalii"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Замена доступна","replacementUnavailable":"Замена недоступна","redirectToReplacement":"Перенаправить на замену","retiredTitle":"Устаревший","cancel":"Отмена","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Замена доступна","replacementUnavailable":"Замена недоступна","redirectToReplacement":"Перенаправить на замену","retiredTitle":"Устаревший","cancel":"Отмена","cancelRedirection":"Отменить перенаправление","ownedBy":"Владелец: ${owner}","redirect":"Перенаправление через ${seconds} с...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> заменен следующим:","retired":"<strong>${itemTitle}</strong> устарел.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> устарел. У вас нет доступа к его замене.","moreDetails":"Просмотреть подробную информацию"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Náhrada k dispozícii","replacementUnavailable":"Náhrada
|
|
1
|
+
{"replacementAvailable":"Náhrada k dispozícii","replacementUnavailable":"Náhrada nie je k dispozícii","redirectToReplacement":"Presmerovať na náhradu","retiredTitle":"Ukončená podpora","cancel":"Zrušiť","cancelRedirection":"Zrušiť presmerovanie","ownedBy":"Vlastnené: ${owner}","redirect":"Presmerovanie za ${seconds}s...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> boli nahradené nasledujúcimi:","retired":"<strong>${itemTitle}</strong> bola ukončená podpora.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> bola ukončená podpora. K náhrade nemáte prístup.","moreDetails":"Zobraziť podrobnosti"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Zamenjava je na voljo","replacementUnavailable":"Zamenjava ni na voljo","redirectToReplacement":"Preusmeri na zamenjavo","retiredTitle":"Umaknjeno","cancel":"Prekliči","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Zamenjava je na voljo","replacementUnavailable":"Zamenjava ni na voljo","redirectToReplacement":"Preusmeri na zamenjavo","retiredTitle":"Umaknjeno","cancel":"Prekliči","cancelRedirection":"Prekliči preusmeritev","ownedBy":"Lastnik: ${owner}","redirect":"Preusmerjanje čez ${seconds}s ...","deprecatedHasReplacement":"</strong>${itemTitle}<strong> je bil uspešno zamenjan z naslednjim:","retired":"<strong>${itemTitle}</strong> je bil umaknjen.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> je bil umaknjen. Nimate dostopa do njegove zamenjave.","moreDetails":"Ogled podrobnosti"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Dostupna je zamena","replacementUnavailable":"Zamena nije dostupna","redirectToReplacement":"Preusmeri na zamenu","retiredTitle":"Povučeno","cancel":"Otkaži","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Dostupna je zamena","replacementUnavailable":"Zamena nije dostupna","redirectToReplacement":"Preusmeri na zamenu","retiredTitle":"Povučeno","cancel":"Otkaži","cancelRedirection":"Otkaži preusmeravanje","ownedBy":"Vlasnik: ${owner}","redirect":"Preusmeravanje za ${seconds}s...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> je zamenjeno sledećim:","retired":"<strong>${itemTitle}</strong> je povučen.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> je povučen. Nemate pristup njegovoj zameni.","moreDetails":"Prikaži detalje"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Ersättning tillgänglig","replacementUnavailable":"Ersättning
|
|
1
|
+
{"replacementAvailable":"Ersättning tillgänglig","replacementUnavailable":"Ersättning inte tillgänglig","redirectToReplacement":"Omdirigera till ersättning","retiredTitle":"Utgånget","cancel":"Avbryt","cancelRedirection":"Avbryt omdirigering","ownedBy":"Ägs av: ${owner}","redirect":"Omdirigerar om ${seconds} s...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> har ersatts av följande:","retired":"<strong>${itemTitle}</strong> har tagits bort.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> har tagits bort. Du har inte åtkomst till dess ersättning.","moreDetails":"Visa information"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"การแทนที่ที่พร้อมใช้งาน","replacementUnavailable":"การแทนที่ไม่พร้อมใช้งาน","redirectToReplacement":"เปลี่ยนเส้นทางไปยังการแทนที่","retiredTitle":"ปลดออก","cancel":"ยกเลิก","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"การแทนที่ที่พร้อมใช้งาน","replacementUnavailable":"การแทนที่ไม่พร้อมใช้งาน","redirectToReplacement":"เปลี่ยนเส้นทางไปยังการแทนที่","retiredTitle":"ปลดออก","cancel":"ยกเลิก","cancelRedirection":"ยกเลิกการเปลี่ยนเส้นทาง","ownedBy":"เป็นเจ้าของโดย: ${owner}","redirect":"กำลังเปลี่ยนเส้นทางใน ${seconds} วินาที...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> ถูกแทนที่ด้วยรายการต่อไปนี้:","retired":"เลิกใช้งาน <strong>${itemTitle}</strong> แล้ว","retiredReplacementUnavailable":"เลิกใช้งาน <strong>${itemTitle}</strong> แล้ว คุณไม่มีสิทธิ์เข้าถึงรายการแทนที่","moreDetails":"ดูรายละเอียด"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Değiştirme mevcut","replacementUnavailable":"Yedek mevcut değil","redirectToReplacement":"Değiştirmeye yeniden yönlendir","retiredTitle":"Kaldırıldı","cancel":"İptal","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Değiştirme mevcut","replacementUnavailable":"Yedek mevcut değil","redirectToReplacement":"Değiştirmeye yeniden yönlendir","retiredTitle":"Kaldırıldı","cancel":"İptal","cancelRedirection":"Yönlendirmeyi iptal et","ownedBy":"Sahibi: ${owner}","redirect":"${seconds} sn içinde yeniden yönlendiriliyor...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> aşağıdakiyle değiştirildi:","retired":"<strong>${itemTitle}</strong> kullanımdan kaldırıldı.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> kullanımdan kaldırıldı. Bu yedeğe erişiminiz yok.","moreDetails":"Ayrıntıları görüntüle"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Доступна заміна","replacementUnavailable":"Заміна недоступна","redirectToReplacement":"Перенаправлення на заміну","retiredTitle":"Списано","cancel":"Скасувати","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"Доступна заміна","replacementUnavailable":"Заміна недоступна","redirectToReplacement":"Перенаправлення на заміну","retiredTitle":"Списано","cancel":"Скасувати","cancelRedirection":"Скасувати перенаправлення","ownedBy":"Власник: ${owner}","redirect":"Перенаправлення через ${seconds}с...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> замінено на таке:","retired":"<strong>${itemTitle}</strong> виведено з експлуатації.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> виведено з експлуатації. У вас немає доступу до його заміни.","moreDetails":"Переглянути детальну інформацію"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"Mục thay thế khả dụng","replacementUnavailable":"
|
|
1
|
+
{"replacementAvailable":"Mục thay thế khả dụng","replacementUnavailable":"Thay thế không khả dụng","redirectToReplacement":"Chuyển hướng đến mục thay thế","retiredTitle":"Đã ngưng sử dụng","cancel":"Hủy bỏ","cancelRedirection":"Hủy bỏ chuyển hướng","ownedBy":"Được sở hữu bởi: ${owner}","redirect":"Chuyển hướng sau ${seconds} giây...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> đã được thay thế bằng mục sau:","retired":"<strong>${itemTitle}</strong> đã ngừng hoạt động.","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> đã ngừng hoạt động. Bạn không có quyền truy cập vào mục thay thế của nó.","moreDetails":"Xem thông tin chi tiết"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"替换可用","replacementUnavailable":"
|
|
1
|
+
{"replacementAvailable":"替换可用","replacementUnavailable":"替换不可用","redirectToReplacement":"重定向到替换","retiredTitle":"已停用","cancel":"取消","cancelRedirection":"取消重定向","ownedBy":"所有者:${owner}","redirect":"将在 ${seconds} 秒后重定向...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> 已被以下内容替换:","retired":"<strong>${itemTitle}</strong> 已经停用。","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> 已经停用。 您没有访问其替代项的权限。","moreDetails":"查看详细信息"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"取代可用","replacementUnavailable":"取代無法使用","redirectToReplacement":"重新導向至取代","retiredTitle":"已淘汰","cancel":"取消","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"取代可用","replacementUnavailable":"取代無法使用","redirectToReplacement":"重新導向至取代","retiredTitle":"已淘汰","cancel":"取消","cancelRedirection":"取消重新導向","ownedBy":"擁有者: ${owner}","redirect":"在 ${seconds} 秒後重新導向...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> 已被以下內容取代:","retired":"<strong>${itemTitle}</strong> 已經停用。","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> 已經停用。 您沒有存取其取代項目的權限。","moreDetails":"檢視詳細資訊"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"replacementAvailable":"取代可用","replacementUnavailable":"取代無法使用","redirectToReplacement":"重新導向至取代","retiredTitle":"已淘汰","cancel":"取消","cancelRedirection":"
|
|
1
|
+
{"replacementAvailable":"取代可用","replacementUnavailable":"取代無法使用","redirectToReplacement":"重新導向至取代","retiredTitle":"已淘汰","cancel":"取消","cancelRedirection":"取消重新導向","ownedBy":"擁有者: ${owner}","redirect":"在 ${seconds} 秒後重新導向...","deprecatedHasReplacement":"<strong>${itemTitle}</strong> 已被以下內容取代:","retired":"<strong>${itemTitle}</strong> 已經停用。","retiredReplacementUnavailable":"<strong>${itemTitle}</strong> 已經停用。 您沒有存取其取代項目的權限。","moreDetails":"檢視詳細資訊"}
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{
|
|
2
|
+
import{P as t,z as e}from"./CAQR2NSG.js";import"./CFDTXKJ6.js";var a=e(t,{"arcgis-portal-ai-assistant":[()=>import("./SQ54YADV.js"),"autoDestroyDisabled,config:,defaultClosed,portal:,t9n:,user:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./X3LZYQ4U.js"),"_messages:,message,options:,type"],"arcgis-portal-classification-banner":[()=>import("./KBYWRUKO.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./TNDL67UN.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./FK7QXBE2.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./NDKFZPYE.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./ABRHXRFP.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./W4RAJWHA.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./LVUHKMSB.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-item-type":[()=>import("./3XDKOO6K.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./OYABHYVF.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-replacement-item-redirect":[()=>import("./7IAAHGM2.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-user-avatar":[()=>import("./DEHBTA5D.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-voice-input":[()=>import("./QUYBZ3J7.js"),"language;clearText,startListening,stopListening"]});a({resourcesUrl:import.meta.url});var s=new CSSStyleSheet;s.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-ai-assistant,arcgis-portal-ai-assistant-interrupt,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-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-replacement-item-redirect,arcgis-portal-user-avatar,arcgis-portal-voice-input){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,s];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,t)
|
package/dist/cdn/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer{:not([hydrated]):is(arcgis-portal-ai-assistant,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-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-replacement-item-redirect,arcgis-portal-user-avatar,arcgis-portal-voice-input){visibility:hidden}}
|
|
1
|
+
@layer{:not([hydrated]):is(arcgis-portal-ai-assistant,arcgis-portal-ai-assistant-interrupt,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-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-replacement-item-redirect,arcgis-portal-user-avatar,arcgis-portal-voice-input){visibility:hidden}}
|
|
@@ -6,7 +6,7 @@ import * as x from "@arcgis/core/renderers/support/jsonUtils.js";
|
|
|
6
6
|
import R from "@arcgis/core/request.js";
|
|
7
7
|
import * as L from "@arcgis/core/core/sql.js";
|
|
8
8
|
import * as H from "@arcgis/core/applications/PortalApp/layerUtils.js";
|
|
9
|
-
import { i as J, a as N, l as T, b as P, c as z, u as G, g as E, d as D, e as V, f as k } from "./
|
|
9
|
+
import { i as J, a as N, l as T, b as P, c as z, u as G, g as E, d as D, e as V, f as k } from "./item.js";
|
|
10
10
|
import { g as K } from "./portal.js";
|
|
11
11
|
var O = /* @__PURE__ */ ((r) => (r.expression = "expression/", r))(O || {});
|
|
12
12
|
function b(r) {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import n from "@arcgis/core/request.js";
|
|
3
|
+
import { g as a } from "./portal.js";
|
|
4
|
+
const l = async (o, t, e) => {
|
|
5
|
+
try {
|
|
6
|
+
return { result: await o.queryItems({ ...e, query: `title:${t}` }) };
|
|
7
|
+
} catch (r) {
|
|
8
|
+
return console.error(r), { error: { code: "unhandledError" } };
|
|
9
|
+
}
|
|
10
|
+
}, p = async (o, t, e) => {
|
|
11
|
+
const r = `${t.restUrl}/content/users/${o.id}/items/${e}/generateContext`;
|
|
12
|
+
try {
|
|
13
|
+
return {
|
|
14
|
+
result: (await n(r, {
|
|
15
|
+
method: "post",
|
|
16
|
+
responseType: "json",
|
|
17
|
+
query: { f: "json" }
|
|
18
|
+
})).data
|
|
19
|
+
};
|
|
20
|
+
} catch (s) {
|
|
21
|
+
return console.error("Error fetching item context:", s), { error: { code: "unhandledError" } };
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
async function m(o, t = {}) {
|
|
25
|
+
return await o.queryGroups(t);
|
|
26
|
+
}
|
|
27
|
+
async function g(o, t) {
|
|
28
|
+
const e = t.title.trim();
|
|
29
|
+
if (!e)
|
|
30
|
+
return { error: { code: "unhandledError", message: "Group title is required." } };
|
|
31
|
+
try {
|
|
32
|
+
const { data: r } = await n(`${a(o)}community/createGroup`, {
|
|
33
|
+
method: "post",
|
|
34
|
+
responseType: "json",
|
|
35
|
+
query: {
|
|
36
|
+
f: "json",
|
|
37
|
+
...t,
|
|
38
|
+
title: e
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
return !r.success || !r.group?.id ? {
|
|
42
|
+
error: {
|
|
43
|
+
code: "unhandledError",
|
|
44
|
+
message: "Unable to create a group with the provided title."
|
|
45
|
+
}
|
|
46
|
+
} : {
|
|
47
|
+
result: {
|
|
48
|
+
id: r.group.id,
|
|
49
|
+
title: r.group.title || e
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
} catch (r) {
|
|
53
|
+
return console.error("Error creating portal group:", r), {
|
|
54
|
+
error: {
|
|
55
|
+
code: "unhandledError",
|
|
56
|
+
message: r.details.messages.join(",")
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
async function y(o, t, e) {
|
|
62
|
+
if (!e.length)
|
|
63
|
+
return { error: { code: "unhandledError", message: "At least one username is required." } };
|
|
64
|
+
try {
|
|
65
|
+
const { data: r } = await n(
|
|
66
|
+
`${a(o)}community/groups/${t}/addUsers`,
|
|
67
|
+
{
|
|
68
|
+
method: "post",
|
|
69
|
+
responseType: "json",
|
|
70
|
+
query: { f: "json", users: e.join(",") }
|
|
71
|
+
}
|
|
72
|
+
), s = r.notAdded;
|
|
73
|
+
return {
|
|
74
|
+
result: { addedUsernames: s?.length ? e.filter((d) => !s.includes(d)) : e, notAddedUsers: r.notAddedDetails }
|
|
75
|
+
};
|
|
76
|
+
} catch (r) {
|
|
77
|
+
return console.error("Error adding users to portal group:", r), { error: { code: "unhandledError" } };
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export {
|
|
81
|
+
y as a,
|
|
82
|
+
g as c,
|
|
83
|
+
p as g,
|
|
84
|
+
m as q,
|
|
85
|
+
l as s
|
|
86
|
+
};
|
package/dist/chunks/item.js
CHANGED
|
@@ -1,26 +1,128 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import i from "@arcgis/core/request.js";
|
|
3
|
+
import { g as a } from "./portal.js";
|
|
4
|
+
function f(e) {
|
|
5
|
+
return e.typeKeywords?.includes("Hosted Service") && e.type !== "Insights Workbook" && e.type !== "Insights Data Engineering Workbook" && e.type !== "Insights Page";
|
|
6
|
+
}
|
|
7
|
+
function g(e) {
|
|
8
|
+
return e.typeKeywords?.includes("View Service");
|
|
9
|
+
}
|
|
10
|
+
function v(e) {
|
|
11
|
+
return e.typeKeywords?.includes("Service Proxy") && e.typeKeywords.includes("Geocoding filter");
|
|
12
|
+
}
|
|
13
|
+
function h(e) {
|
|
14
|
+
return e.type === "Image Collection" && e.typeKeywords?.includes("Photo locations");
|
|
15
|
+
}
|
|
16
|
+
function p(e) {
|
|
17
|
+
return e?.sourceType === "mosaic-dataset" || e?.serviceSourceType === "esriImageServiceSourceTypeMosaicDataset";
|
|
18
|
+
}
|
|
19
|
+
function I(e, r) {
|
|
20
|
+
return e.typeKeywords?.includes("Managed Image Collection") || p(r) && !e.typeKeywords?.includes("Tiled Imagery");
|
|
21
|
+
}
|
|
22
|
+
function P(e, r) {
|
|
23
|
+
return !!((e.sourceJSON?.serviceProperties?.tags || e?.serviceProperties?.tags)?.includes(
|
|
24
|
+
"hasMultidimensions"
|
|
25
|
+
) || r?.hasMultidimensions);
|
|
26
|
+
}
|
|
27
|
+
function S(e, r) {
|
|
28
|
+
return c(e, r) || m(e, r);
|
|
29
|
+
}
|
|
30
|
+
function c(e, r) {
|
|
31
|
+
return e.owner === r.username;
|
|
32
|
+
}
|
|
33
|
+
function m(e, r) {
|
|
34
|
+
const s = e.owner, t = e.itemControl === "admin", o = ["esri_livingatlas", "esri_demographics", "esri_boundaries"];
|
|
35
|
+
return e.portal?.isPortal && !c(e, r) && t && s?.includes("esri_") && // portal incorrectly returns "itemControl="admin" for esri owned items
|
|
36
|
+
!o.includes(s) ? !1 : t;
|
|
37
|
+
}
|
|
38
|
+
const K = (e, r) => !!r.orgId && e.every((s) => s.isOrgItem);
|
|
39
|
+
function T(e) {
|
|
40
|
+
return e.typeKeywords?.includes("Spatiotemporal");
|
|
41
|
+
}
|
|
42
|
+
function j(e) {
|
|
43
|
+
return e.typeKeywords?.includes("View Service");
|
|
44
|
+
}
|
|
45
|
+
function k(e) {
|
|
46
|
+
return e.typeKeywords?.includes("Hosted Service");
|
|
47
|
+
}
|
|
48
|
+
function V(e) {
|
|
49
|
+
return e.typeKeywords?.includes("Multi Services View");
|
|
50
|
+
}
|
|
51
|
+
function G(e) {
|
|
52
|
+
return e?.hasViews && !e.sourceSchemaChangesAllowed;
|
|
53
|
+
}
|
|
54
|
+
async function b(e) {
|
|
55
|
+
const r = e?.portalItem;
|
|
56
|
+
if (!r)
|
|
57
|
+
return await Promise.resolve(null);
|
|
58
|
+
const s = r.portal;
|
|
59
|
+
if (s?.user) {
|
|
60
|
+
const t = `${a(s)}community/users/${s.user.username}`;
|
|
61
|
+
return await i(t, {
|
|
62
|
+
query: {
|
|
63
|
+
f: "json",
|
|
64
|
+
token: r.portal.credential?.token
|
|
65
|
+
},
|
|
66
|
+
responseType: "json"
|
|
67
|
+
}).then(
|
|
68
|
+
async (o) => {
|
|
69
|
+
const n = o.data?.groups ?? [];
|
|
70
|
+
return await Promise.resolve(n);
|
|
71
|
+
},
|
|
72
|
+
async () => await Promise.reject(new Error("Failed to fetch user groups"))
|
|
73
|
+
);
|
|
8
74
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
75
|
+
return await Promise.resolve(null);
|
|
76
|
+
}
|
|
77
|
+
async function M(e) {
|
|
78
|
+
const r = e?.portalItem;
|
|
79
|
+
if (!r)
|
|
80
|
+
return await Promise.resolve(null);
|
|
81
|
+
const s = r.portal, t = `${a(s)}content/items/${r.id}/groups`;
|
|
82
|
+
return await i(t, {
|
|
83
|
+
query: {
|
|
84
|
+
f: "json",
|
|
85
|
+
token: r.portal.credential?.token
|
|
86
|
+
},
|
|
87
|
+
responseType: "json"
|
|
88
|
+
}).then(
|
|
89
|
+
async (o) => {
|
|
90
|
+
const n = o.data?.admin ?? [], u = o.data?.member ?? [], l = o.data?.other ?? [], d = [...n, ...u, ...l];
|
|
91
|
+
return await Promise.resolve(d);
|
|
92
|
+
},
|
|
93
|
+
async () => await Promise.reject(new Error("Failed to fetch item groups"))
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
async function U(e, r, { relationshipType: s, direction: t }, o = !1) {
|
|
97
|
+
const n = `${a(r)}content/items/${e}/relatedItems`;
|
|
98
|
+
return await i(n, {
|
|
99
|
+
query: { f: "json", relationshipType: s, direction: t, includeRecycleBin: o },
|
|
100
|
+
responseType: "json"
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function C(e, r) {
|
|
104
|
+
return e?.some(
|
|
105
|
+
(s) => r?.some(
|
|
106
|
+
(t) => s.id === t.id && s.capabilities.includes("updateitemcontrol")
|
|
107
|
+
)
|
|
108
|
+
);
|
|
109
|
+
}
|
|
23
110
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
111
|
+
j as a,
|
|
112
|
+
G as b,
|
|
113
|
+
T as c,
|
|
114
|
+
M as d,
|
|
115
|
+
C as e,
|
|
116
|
+
U as f,
|
|
117
|
+
b as g,
|
|
118
|
+
K as h,
|
|
119
|
+
k as i,
|
|
120
|
+
f as j,
|
|
121
|
+
P as k,
|
|
122
|
+
V as l,
|
|
123
|
+
I as m,
|
|
124
|
+
g as n,
|
|
125
|
+
v as o,
|
|
126
|
+
h as p,
|
|
127
|
+
S as u
|
|
26
128
|
};
|
package/dist/chunks/portal.js
CHANGED
|
@@ -1,16 +1,56 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
return
|
|
2
|
+
const s = (e) => e && !e.endsWith("/") ? `${e}/` : e;
|
|
3
|
+
function i(e) {
|
|
4
|
+
return s(e.restUrl);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function p(e) {
|
|
7
7
|
return e.credential?.token || e.token || e.user?.credential?.token || e.portalUser?.token || "";
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function c(e) {
|
|
10
10
|
return e.sourceJSON?.isWebTierAuth;
|
|
11
11
|
}
|
|
12
|
+
function a(e, r, t) {
|
|
13
|
+
if (!r?.type)
|
|
14
|
+
return !1;
|
|
15
|
+
const n = r.typeKeywords ?? [];
|
|
16
|
+
switch (e) {
|
|
17
|
+
case "arcgisinstantapps":
|
|
18
|
+
return r.type === "Web Mapping Application" && n.includes("configurableApp");
|
|
19
|
+
case "arcgis360vr":
|
|
20
|
+
return !t && r.type === "360 VR Experience";
|
|
21
|
+
case "survey123":
|
|
22
|
+
return r.type === "Form";
|
|
23
|
+
case "datapipelines":
|
|
24
|
+
return r.type === "Data Pipeline";
|
|
25
|
+
case "dashboards":
|
|
26
|
+
return r.type === "Dashboard";
|
|
27
|
+
case "experienceBuilder":
|
|
28
|
+
return r.type === "Web Experience" || r.type === "Web Experience Template";
|
|
29
|
+
case "webappbuilder":
|
|
30
|
+
return r.type === "Web Mapping Application" && (n.includes("Web AppBuilder") || n.includes("WebAppBuilder"));
|
|
31
|
+
case "fieldmaps":
|
|
32
|
+
return r.type === "Web Map";
|
|
33
|
+
case "arcgisnotebooks":
|
|
34
|
+
return r.type === "Notebook";
|
|
35
|
+
case "HubforArcGIS":
|
|
36
|
+
return [
|
|
37
|
+
"Discussion",
|
|
38
|
+
"Hub Page",
|
|
39
|
+
"Hub Initiative Template",
|
|
40
|
+
"Hub Initiative",
|
|
41
|
+
"Hub Event",
|
|
42
|
+
"Hub Project"
|
|
43
|
+
].includes(r.type);
|
|
44
|
+
default:
|
|
45
|
+
return !1;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function u(e, r, t) {
|
|
49
|
+
return (r ?? []).some((n) => a(n, e, t));
|
|
50
|
+
}
|
|
12
51
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
i
|
|
52
|
+
p as a,
|
|
53
|
+
u as b,
|
|
54
|
+
i as g,
|
|
55
|
+
c as i
|
|
16
56
|
};
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import "../cdn/main.css";
|
|
3
3
|
import { makeRuntime as e } from "@arcgis/lumina";
|
|
4
4
|
import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
5
|
-
const t = e({ defaultAssetPath: "https://
|
|
5
|
+
const t = e({ defaultAssetPath: "https://js.arcgis.com/5.1.0/portal-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: i, setAssetPath: d } = t;
|
|
6
6
|
t.t = s;
|
|
7
7
|
t.o = r;
|
|
8
8
|
t.c = a;
|
|
9
9
|
t.r = c;
|
|
10
10
|
export {
|
|
11
11
|
n as c,
|
|
12
|
-
|
|
12
|
+
i as g,
|
|
13
13
|
t as r,
|
|
14
|
-
|
|
14
|
+
d as s
|
|
15
15
|
};
|
package/dist/chunks/user.js
CHANGED
|
@@ -1,113 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const u = {}, f = {}, l = {};
|
|
6
|
-
async function p({ requester: t, key: e, id: n, cacheOption: s }) {
|
|
7
|
-
const r = l[e]?.[n]?.expireAt, i = !!r && (/* @__PURE__ */ new Date()).getTime() > r;
|
|
8
|
-
if (u[e]?.[n] && !i)
|
|
9
|
-
return u[e][n];
|
|
10
|
-
f[e] || (f[e] = {}), (!f[e][n] || i) && (f[e][n] = t());
|
|
11
|
-
const o = await f[e][n];
|
|
12
|
-
if (u[e] || (u[e] = {}), l[e] || (l[e] = {}), u[e][n] = o, s) {
|
|
13
|
-
const { expireAfter: a, getExpireAfterFromResult: c } = s, h = c || a ? (/* @__PURE__ */ new Date()).getTime() + (c?.(o) ?? a ?? 0) : null;
|
|
14
|
-
l[e][n] = { ...l[e][n], expireAt: h };
|
|
15
|
-
}
|
|
16
|
-
return o;
|
|
2
|
+
function s(a, n) {
|
|
3
|
+
const { fullName: t, firstName: e, lastName: r, username: u } = a;
|
|
4
|
+
return t || (e && r ? n === "ja" ? `${r} ${e}` : `${e} ${r}` : u);
|
|
17
5
|
}
|
|
18
|
-
async function x({
|
|
19
|
-
url: t,
|
|
20
|
-
portal: e,
|
|
21
|
-
params: n = {},
|
|
22
|
-
options: s = {},
|
|
23
|
-
method: r,
|
|
24
|
-
abortControllerId: i,
|
|
25
|
-
excludeJson: o
|
|
26
|
-
}) {
|
|
27
|
-
const a = E(i)?.signal, { customToken: c, addTokenManually: h, addSSL: P, useProxy: S } = s, m = { ...n };
|
|
28
|
-
if (!t.includes("f=") && !o && (m.f = "json"), c)
|
|
29
|
-
m.token = c;
|
|
30
|
-
else if (h !== !1) {
|
|
31
|
-
const g = await L(e);
|
|
32
|
-
g && (m.token = g);
|
|
33
|
-
}
|
|
34
|
-
const T = P ? U(t, e) : t, q = {
|
|
35
|
-
query: m,
|
|
36
|
-
method: r || "auto",
|
|
37
|
-
...s,
|
|
38
|
-
timeout: s.timeout || 0,
|
|
39
|
-
useProxy: S,
|
|
40
|
-
...s?.disableIdentityLookup ? { authMode: "anonymous" } : {}
|
|
41
|
-
}, y = await A(T, { signal: a, ...q });
|
|
42
|
-
return i && (d[i] = void 0), y.data;
|
|
43
|
-
}
|
|
44
|
-
const d = {};
|
|
45
|
-
function E(t) {
|
|
46
|
-
if (t)
|
|
47
|
-
return d[t] && d[t].abort(), d[t] = new AbortController(), d[t];
|
|
48
|
-
}
|
|
49
|
-
const L = async (t) => {
|
|
50
|
-
const e = C(t);
|
|
51
|
-
if (!t?.isPortal || !e)
|
|
52
|
-
return b(t);
|
|
53
|
-
const n = t?.user;
|
|
54
|
-
if (!n && e)
|
|
55
|
-
return;
|
|
56
|
-
const { token: s } = await p({
|
|
57
|
-
requester: async () => await M(t),
|
|
58
|
-
key: "platformSelf",
|
|
59
|
-
id: n?.id ?? t.id ?? "<unknown>",
|
|
60
|
-
cacheOption: { getExpireAfterFromResult: (r) => r.expires_in }
|
|
61
|
-
});
|
|
62
|
-
return s;
|
|
63
|
-
}, M = async (t) => {
|
|
64
|
-
const n = {
|
|
65
|
-
"X-Esri-Auth-Client-Id": await R(t),
|
|
66
|
-
"X-Esri-Auth-Redirect-Uri": window.location.href.replace(/#.*$/u, "")
|
|
67
|
-
};
|
|
68
|
-
return (await A(`${w(t)}/oauth2/platformSelf`, {
|
|
69
|
-
authMode: "no-prompt",
|
|
70
|
-
headers: n,
|
|
71
|
-
withCredentials: !0,
|
|
72
|
-
method: "post"
|
|
73
|
-
})).data;
|
|
74
|
-
}, R = async (t) => (await p({
|
|
75
|
-
requester: async () => await $.getCredential(w(t), { oAuthPopupConfirmation: !1 }),
|
|
76
|
-
key: "credential",
|
|
77
|
-
id: t.user?.id ?? "<unknown>"
|
|
78
|
-
})).oAuthState?.appId ?? "arcgisonline";
|
|
79
|
-
function U(t, e) {
|
|
80
|
-
return window.location.protocol === "https:" || e.allSSL ? t.replace("http:", "https:") : t;
|
|
81
|
-
}
|
|
82
|
-
async function B(t, e, n) {
|
|
83
|
-
const r = `${n ? "https://www.arcgis.com/sharing/rest/" : w(e)}community/users/${t}`, i = r?.includes("www.arcgis.com") && e.isPortal, o = r?.includes(".arcgis.com") && !e.isPortal && !e.user, a = i || o ? { disableIdentityLookup: !0, addTokenManually: !1 } : {};
|
|
84
|
-
return await p({
|
|
85
|
-
requester: async () => {
|
|
86
|
-
try {
|
|
87
|
-
return await x({ url: r, portal: e, options: a });
|
|
88
|
-
} catch {
|
|
89
|
-
return { username: t };
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
key: "user",
|
|
93
|
-
id: r
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
const k = async (t) => {
|
|
97
|
-
const e = `${w(t)}/portals/${t.id}/users`;
|
|
98
|
-
return await x({
|
|
99
|
-
url: e,
|
|
100
|
-
portal: t,
|
|
101
|
-
params: {
|
|
102
|
-
// TODO: Add pagination
|
|
103
|
-
num: 100,
|
|
104
|
-
sortField: "lastlogin",
|
|
105
|
-
sortOrder: "desc"
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
6
|
export {
|
|
110
|
-
|
|
111
|
-
k as b,
|
|
112
|
-
B as f
|
|
7
|
+
s as g
|
|
113
8
|
};
|