@arcgis/portal-components 6.0.0-next.2 → 6.0.0-next.21
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/{MKSFNVXL.js → 22TDAUX4.js} +1 -1
- package/dist/cdn/234TH32X.js +106 -0
- package/dist/cdn/2D3FQXJ4.js +2 -0
- package/dist/cdn/{BKD7JSV2.js → 2DXO6FVX.js} +1 -1
- package/dist/cdn/{TWCJJCPC.js → 2XJX2JUO.js} +1 -1
- package/dist/cdn/{SGDDFWCJ.js → 3EQGUCO4.js} +1 -1
- package/dist/cdn/{OR6T5SB3.js → 3J3ISO3E.js} +1 -1
- package/dist/cdn/3RTST3I6.js +2 -0
- package/dist/cdn/3XH3JHOI.js +2 -0
- package/dist/cdn/4ONCJSSP.js +2 -0
- package/dist/cdn/4QYVBXZT.js +2 -0
- package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
- package/dist/cdn/4WQA7UAJ.js +2 -0
- package/dist/cdn/5OWIWCEQ.js +2 -0
- package/dist/cdn/{7ZWYUHGK.js → 5R4JJWGB.js} +1 -1
- package/dist/cdn/63HYFDRU.js +2 -0
- package/dist/cdn/6MATPHXT.js +79 -0
- package/dist/cdn/7IP3RVPH.js +2 -0
- package/dist/cdn/7ISSDO2T.js +2 -0
- package/dist/cdn/AKTIIRJQ.js +2 -0
- package/dist/cdn/ASID6YW7.js +135 -0
- package/dist/cdn/B3HV5JVN.js +2 -0
- package/dist/cdn/B6666VUQ.js +2 -0
- package/dist/cdn/BOO7GG5L.js +2 -0
- package/dist/cdn/CZ4FC4GM.js +2 -0
- package/dist/cdn/D3LZFIHV.js +2 -0
- package/dist/cdn/{NWVLGU2C.js → D3Q72PPN.js} +1 -1
- package/dist/cdn/DABNV2OO.js +2 -0
- package/dist/cdn/DELNTRCT.js +2 -0
- package/dist/cdn/DOCNBKQZ.js +2 -0
- package/dist/cdn/EP7NWEC5.js +2 -0
- package/dist/cdn/EQRBP6H6.js +66 -0
- package/dist/cdn/{ABORO35R.js → ESKKH4DE.js} +1 -1
- package/dist/cdn/EUQQZIRW.js +2 -0
- package/dist/cdn/F2HT5PVQ.js +2 -0
- package/dist/cdn/FE3O23SE.js +2 -0
- package/dist/cdn/FGRMURKX.js +2 -0
- package/dist/cdn/FN2QMDEW.js +2 -0
- package/dist/cdn/{I6IRHXWR.js → FYVATGMR.js} +1 -1
- package/dist/cdn/{RHCRPJWS.js → G3WDR53S.js} +1 -1
- package/dist/cdn/GAU6DNV5.js +2 -0
- package/dist/cdn/GPAIXN52.js +2 -0
- package/dist/cdn/GRSBU4PD.js +2 -0
- package/dist/cdn/{JWBUJT43.js → H7FA5HFE.js} +1 -1
- package/dist/cdn/HHGKNVCH.js +4 -0
- package/dist/cdn/HJLWIQDI.js +2 -0
- package/dist/cdn/I3EWDYTU.js +2 -0
- package/dist/cdn/{24QSQLRY.js → IKPVMXXW.js} +1 -1
- package/dist/cdn/{5HZNBMW6.js → IOFXDIWC.js} +1 -1
- package/dist/cdn/IPHBVKMY.js +2 -0
- package/dist/cdn/{GAF4YT5N.js → IUIFCQQU.js} +1 -1
- package/dist/cdn/{ZKZDKJ6D.js → IVDZGUNZ.js} +1 -1
- package/dist/cdn/J6SI4Z4F.js +2 -0
- package/dist/cdn/K3GAZFRI.js +63 -0
- package/dist/cdn/K7LYYLUF.js +2 -0
- package/dist/cdn/{74T6IXSN.js → KDORI7H4.js} +1 -1
- package/dist/cdn/KRORL7QC.js +2 -0
- package/dist/cdn/LGJWULAW.js +2 -0
- package/dist/cdn/LTMPXQTC.js +2 -0
- package/dist/cdn/M5STJJRX.js +2 -0
- package/dist/cdn/M7J7RAM4.js +2 -0
- package/dist/cdn/{AXOBMX3S.js → MLTZSPZQ.js} +1 -1
- package/dist/cdn/MSSJRDR7.js +2 -0
- package/dist/cdn/{L64UURQB.js → N4ZRMYZL.js} +1 -1
- package/dist/cdn/NBCYYUHP.js +2 -0
- package/dist/cdn/NHVPNSNH.js +2 -0
- package/dist/cdn/NQ2IAQKL.js +41 -0
- package/dist/cdn/NXGTEDK4.js +2 -0
- package/dist/cdn/{7LMZHJZG.js → NYOXMT6S.js} +1 -1
- package/dist/cdn/O3JP4FQ3.js +2 -0
- package/dist/cdn/O4YFPGD5.js +2 -0
- package/dist/cdn/{JIJO4CAS.js → ODSA6NNS.js} +1 -1
- package/dist/cdn/OHAQPQAP.js +2 -0
- package/dist/cdn/OOXTSCQT.js +2 -0
- package/dist/cdn/OQ2JULON.js +2 -0
- package/dist/cdn/OVH4YLTS.js +2 -0
- package/dist/cdn/QB5BGHLA.js +2 -0
- package/dist/cdn/QKCRNS75.js +2 -0
- package/dist/cdn/{2YZWRFCI.js → RKMW4FUN.js} +1 -1
- package/dist/cdn/RT26JZP5.js +2 -0
- package/dist/cdn/SKHFISBA.js +2 -0
- package/dist/cdn/SKIDJ4QI.js +2 -0
- package/dist/cdn/SRWFOV5W.js +2 -0
- package/dist/cdn/{IN4JPZTY.js → SSCKCDXD.js} +1 -1
- package/dist/cdn/T66G7GIR.js +2 -0
- package/dist/cdn/{RQYNPDN3.js → TIMYD2HM.js} +1 -1
- package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
- package/dist/cdn/TJWJ3LTU.js +2 -0
- package/dist/cdn/{DHMNNIXZ.js → TMR4BRFI.js} +1 -1
- package/dist/cdn/{JN23JH3T.js → TTQGRN2V.js} +1 -1
- package/dist/cdn/{MLYQGIJU.js → U2HTYOBB.js} +13 -13
- package/dist/cdn/{YZTBAUIO.js → UHOW7Q65.js} +1 -1
- package/dist/cdn/ULGME5RT.js +2 -0
- package/dist/cdn/{Z6R3C4AK.js → US3N5L73.js} +1 -1
- package/dist/cdn/W5POIPYP.js +2 -0
- package/dist/cdn/{TLM457Z5.js → WJWWYBZ7.js} +1 -1
- package/dist/cdn/WNEPEEPZ.js +2 -0
- package/dist/cdn/WPAZDJHU.js +2 -0
- package/dist/cdn/WT72SOAU.js +2 -0
- package/dist/cdn/XJGKRAN5.js +2 -0
- package/dist/cdn/{JPUUMGX5.js → XS5EOWBK.js} +1 -1
- package/dist/cdn/Y5VUMGKH.js +3 -0
- package/dist/cdn/{EQDYQOOT.js → YCIFVZ4J.js} +1 -1
- package/dist/cdn/{3NSHGKZA.js → YDXJHNDI.js} +1 -1
- package/dist/cdn/{32BWFMTC.js → YIOJIA4Y.js} +1 -1
- package/dist/cdn/{K2XSYDAP.js → YK6FCXWU.js} +1 -1
- package/dist/cdn/YPDHSE2J.js +2 -0
- package/dist/cdn/{M5PPX4ZX.js → YQLFXHFG.js} +1 -1
- package/dist/cdn/YSVPB3BO.js +2 -0
- package/dist/cdn/YUOVGTP5.js +2 -0
- package/dist/cdn/Z5CA4C6H.js +2 -0
- package/dist/cdn/{TXC7YBGL.js → ZD6XJVGV.js} +1 -1
- package/dist/cdn/ZHQXYCPA.js +2 -0
- package/dist/cdn/{DLI4XKJ3.js → ZOX4RLS4.js} +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-entity-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-item-card-sublayer-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/fieldAddDelete.js +7 -7
- package/dist/chunks/functionalities.js +14 -9
- package/dist/chunks/groups.js +8 -61
- package/dist/chunks/groups2.js +23 -8
- package/dist/chunks/info.js +2 -2
- package/dist/chunks/item.js +58 -26
- package/dist/chunks/item2.js +34 -30
- package/dist/chunks/itemThumbnail.js +21 -21
- package/dist/chunks/loadClassificationData.js +26 -27
- package/dist/chunks/portal-delete-items-review.js +1 -1
- package/dist/chunks/portal-item-badge.js +1 -1
- package/dist/chunks/portal-related-items-list-item.js +1 -1
- package/dist/chunks/portal.js +6 -6
- package/dist/chunks/portal2.js +11 -11
- package/dist/chunks/portalEntitySelection.js +54 -0
- package/dist/chunks/query.js +13 -13
- package/dist/chunks/request.js +49 -41
- package/dist/chunks/requests.js +7 -7
- package/dist/chunks/selectedMentions.js +25 -0
- package/dist/chunks/services.js +1 -1
- package/dist/chunks/string.js +14 -10
- package/dist/chunks/ui.js +1 -0
- package/dist/chunks/url.js +2 -2
- package/dist/chunks/user.js +10 -10
- package/dist/chunks/utils.js +35 -22
- package/dist/chunks/utils2.js +4 -4
- package/dist/chunks/utils3.js +88 -657
- package/dist/chunks/utils4.js +664 -0
- package/dist/components/arcgis-portal-account-switcher/customElement.js +28 -26
- package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +4 -4
- package/dist/components/arcgis-portal-account-switcher-accounts/customElement.js +8 -8
- package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-portal-account-switcher-list/customElement.js +6 -6
- package/dist/components/arcgis-portal-account-switcher-signout/customElement.d.ts +5 -5
- package/dist/components/arcgis-portal-account-switcher-signout/customElement.js +3 -3
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +6 -0
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +153 -130
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +25 -15
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +574 -2409
- package/dist/components/arcgis-portal-ai-assistant/index.js +4 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
- package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +51 -0
- package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +14 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +39 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +63 -27
- package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -1
- package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-config/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
- package/dist/components/arcgis-portal-delete-items/customElement.d.ts +69 -3
- package/dist/components/arcgis-portal-delete-items/customElement.js +446 -330
- package/dist/components/arcgis-portal-delete-items/index.js +1 -2
- package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
- package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +36 -0
- package/dist/components/arcgis-portal-entity-picker/customElement.js +202 -120
- package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
- package/dist/components/arcgis-portal-field-delete/customElement.js +33 -31
- package/dist/components/arcgis-portal-field-delete/index.js +1 -1
- package/dist/components/arcgis-portal-group-badges/customElement.js +5 -5
- package/dist/components/arcgis-portal-group-browser/customElement.js +93 -99
- package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
- package/dist/components/arcgis-portal-group-browser-preview/customElement.js +2 -2
- package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -1
- package/dist/components/arcgis-portal-group-card/customElement.js +18 -18
- package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +26 -10
- package/dist/components/arcgis-portal-item-card/customElement.js +101 -91
- package/dist/components/arcgis-portal-item-card/index.js +2 -1
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +102 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +352 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/index.js +8 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/types.d.ts +22 -0
- package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +113 -0
- package/dist/components/arcgis-portal-item-share-summary/customElement.js +172 -0
- package/dist/components/arcgis-portal-item-share-summary/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-share-summary/index.js +5 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +33 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/customElement.js +19 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/index.js +2 -0
- package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +1 -0
- package/dist/components/arcgis-portal-item-thumbnail/customElement.js +14 -14
- package/dist/components/arcgis-portal-item-type/customElement.js +1 -1
- package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
- package/dist/components/arcgis-portal-navigation/customElement.js +7 -8
- package/dist/components/arcgis-portal-navigation/index.js +1 -1
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
- package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
- package/dist/components/arcgis-portal-review-related-items/customElement.js +45 -18
- package/dist/components/arcgis-portal-review-related-items/index.js +2 -0
- package/dist/components/arcgis-portal-sublayer-type/customElement.js +13 -103
- package/dist/components/arcgis-portal-user-popup/customElement.js +28 -28
- package/dist/components/portal-group-browser-filters/customElement.js +15 -15
- package/dist/components/portal-related-items-list-item/customElement.js +16 -14
- package/dist/components/portal-related-items-list-item/index.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/index.d.ts +30 -0
- package/dist/index.js +155 -6
- package/dist/loader.js +15 -12
- package/dist/services/groups.d.ts +9 -0
- package/dist/services/item.d.ts +9 -0
- package/dist/types/item.d.ts +9 -9
- package/dist/types/lumina.d.ts +36 -17
- package/dist/types/preact.d.ts +39 -17
- package/dist/types/react.d.ts +42 -17
- package/dist/types/services.d.ts +27 -1
- package/dist/types/stencil.d.ts +36 -17
- package/dist/utils/generateEmbeddings.d.ts +7 -0
- package/dist/utils/semanticSearch.d.ts +60 -0
- package/dist/utils/types.d.ts +10 -0
- package/package.json +10 -10
- package/dist/cdn/23FS4XTG.js +0 -2
- package/dist/cdn/2MPQ5IWJ.js +0 -2
- package/dist/cdn/3CQKCUM5.js +0 -2
- package/dist/cdn/3EYB5GQX.js +0 -2
- package/dist/cdn/3LEQ37YT.js +0 -68
- package/dist/cdn/46BUEBWS.js +0 -2
- package/dist/cdn/4AI52H7C.js +0 -2
- package/dist/cdn/4MUB6TL6.js +0 -2
- package/dist/cdn/4PRXQFCV.js +0 -2
- package/dist/cdn/4QFTKB6T.js +0 -2
- package/dist/cdn/4TSXFX3M.js +0 -2
- package/dist/cdn/5C5GHX4D.js +0 -2
- package/dist/cdn/5PPZNVWG.js +0 -2
- package/dist/cdn/66XWNGQ2.js +0 -2
- package/dist/cdn/6F4SJDRR.js +0 -2
- package/dist/cdn/6RZEXOK3.js +0 -2
- package/dist/cdn/A2SQ4EMZ.js +0 -2
- package/dist/cdn/AICPYLWE.js +0 -4
- package/dist/cdn/AJQT7UXB.js +0 -2
- package/dist/cdn/APSYZEPP.js +0 -209
- package/dist/cdn/AZOJHVAO.js +0 -2
- package/dist/cdn/BSTA5KI5.js +0 -2
- package/dist/cdn/CD5UWSCP.js +0 -2
- package/dist/cdn/CXXV6WJT.js +0 -2
- package/dist/cdn/DDBXEXOV.js +0 -2
- package/dist/cdn/DYO5P3F2.js +0 -2
- package/dist/cdn/E66BDC6N.js +0 -2
- package/dist/cdn/EEAVX4PP.js +0 -2
- package/dist/cdn/EITRZQSC.js +0 -2
- package/dist/cdn/EMJQI4MA.js +0 -2
- package/dist/cdn/FIBQAMJ3.js +0 -2
- package/dist/cdn/FIQZPIIK.js +0 -2
- package/dist/cdn/FNLBJ4ZQ.js +0 -2
- package/dist/cdn/FRE56NBG.js +0 -2
- package/dist/cdn/GSOBDGLK.js +0 -2
- package/dist/cdn/GUO7HKSP.js +0 -463
- package/dist/cdn/GX7U3727.js +0 -2
- package/dist/cdn/GXM3XY3J.js +0 -2
- package/dist/cdn/I273CANO.js +0 -2
- package/dist/cdn/I6NVKNZJ.js +0 -2
- package/dist/cdn/J5FKIZAM.js +0 -2
- package/dist/cdn/JL52W3Z4.js +0 -2
- package/dist/cdn/JOUR2FB2.js +0 -3
- package/dist/cdn/LISDTBEX.js +0 -2
- package/dist/cdn/LWFACY3F.js +0 -2
- package/dist/cdn/LYLQCBVX.js +0 -2
- package/dist/cdn/N4VOTJ25.js +0 -2
- package/dist/cdn/N5QLV56W.js +0 -2
- package/dist/cdn/NRMQDCM3.js +0 -2
- package/dist/cdn/OD5WXP7J.js +0 -2
- package/dist/cdn/OXPXXIWL.js +0 -2
- package/dist/cdn/PMRFXB4F.js +0 -2
- package/dist/cdn/PNIFJ5DQ.js +0 -2
- package/dist/cdn/PZDI5ZDC.js +0 -2
- package/dist/cdn/RVYSVTPQ.js +0 -2
- package/dist/cdn/SVROAT3Z.js +0 -2
- package/dist/cdn/TBZXKKGP.js +0 -2
- package/dist/cdn/TNUCSWBN.js +0 -2
- package/dist/cdn/TOICLGFK.js +0 -2
- package/dist/cdn/TOTWYGB3.js +0 -2
- package/dist/cdn/TUUUK3VX.js +0 -2
- package/dist/cdn/U3KMGSVH.js +0 -2
- package/dist/cdn/WC3FPLYQ.js +0 -2
- package/dist/cdn/XYMBRPC7.js +0 -2
- package/dist/cdn/YTODQCOG.js +0 -2
- package/dist/cdn/YYTEJVBL.js +0 -2
- package/dist/cdn/ZDDN7UKS.js +0 -2
- package/dist/chunks/functional.js +0 -9
- package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +0 -45
- /package/dist/cdn/{OUMTV5H5.js → KHKREBVZ.js} +0 -0
- /package/dist/components/arcgis-portal-ai-assistant/{agents/types.d.ts → types/navigation.d.ts} +0 -0
- /package/dist/components/arcgis-portal-ai-assistant/{agents → types}/portalRouteKeys.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import e from"./
|
|
2
|
+
import e from"./IUIFCQQU.js";import{e as B,f as L}from"./Y5VUMGKH.js";import{a as C}from"./PKA745KL.js";import{a as N}from"./SSCKCDXD.js";import{a as y}from"./VDXESPJK.js";import"./DAAON2UO.js";import d from"./TIMYD2HM.js";import c from"./TIPQ2ZWK.js";import a from"./OQ2JULON.js";import{a as w}from"./4VLEUN7I.js";import"./KV4ZZSNW.js";import"./FN2QMDEW.js";import{a as A}from"./5R4JJWGB.js";import"./B3HV5JVN.js";import"./YK6FCXWU.js";import{I as g,J as b,K as O,L as $,M as P,Q as R,h as x,j as n,v}from"./HHGKNVCH.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";export default $arcgis.t(([{a:_,d:k},,{a:d},z])=>{var S=x`:host{display:flex}.button{display:flex;align-items:center;max-width:100%;cursor:pointer;white-space:normal;border-style:none;padding:0;font-size:.75rem;color:var(--calcite-color-text-2);outline:2px solid transparent;outline-offset:2px;transition-property:all;outline-color:transparent;background:transparent;font-family:inherit;line-height:1.5;&:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}}.button--outline{box-sizing:border-box;width:100%;padding:.5rem .75rem;transition-property:all;border:1px solid var(--calcite-color-border-3);&:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}}.name{overflow:hidden;white-space:nowrap;margin-inline-start:.5rem;text-overflow:ellipsis}.popover__wrapper{background-color:var(--calcite-color-foreground-1);width:min(32rem,80vw)}.popover__header{padding:1.25rem 1rem}.popover__avatar{max-width:100%}.popover__content{padding:.5rem 1rem 1.25rem}.popover__description{margin:0;overflow:auto;padding:0;padding-bottom:1rem;font-size:.875rem;color:var(--calcite-color-text-2);max-height:21.25rem}.popover__fade{position:relative;z-index:10;margin-bottom:.25rem;display:block;height:1rem;width:100%;background:linear-gradient(to bottom,transparent,var(--calcite-color-foreground-1) 100%);margin-top:-1rem}.popover__buttons{display:grid;grid-auto-flow:column;grid-gap:.5rem}.popover__buttons--no-description{padding-top:1rem}.popover__button{min-width:0px}.popover__loader{--calcite-loader-padding: 0}`,q=a=>a?.sourceJSON?.contentStatus==="public_authoritative";async function G(a,t,o,r){if(q(a)){let e=a.owner||"",i=await z(a,o,t,r);if(!i)return await d(e,t,r);let{description:s,name:l,thumbnail:u,url:p}=i;return{description:s?y(s):"",fullName:l,username:e,thumbnail:u,id:a.portal.id,url:p}}return await d(a.owner||"",t,r)}async function H(a,t,o){let r=o?"https://www.arcgis.com/sharing/rest/":w(t),e=o?{disableIdentityLookup:!0,addTokenManually:!1}:{};return await _({requester:async()=>await k({url:`${r}community/groups`,portal:t,params:{q:`(owner:"${a}")`,num:100},options:e}),key:"userGroups",id:a})}async function J(a,t,o){let r=o?"https://www.arcgis.com/sharing/rest/":w(t),e=o?{disableIdentityLookup:!0,addTokenManually:!1}:{};return await _({requester:async()=>(await k({url:`${r}search`,portal:t,params:{q:`(owner:"${a}") -typekeywords:"recyclebin"`,num:1},options:e})).total,key:"userItemsTotal",id:a})}function M({baseUrl:a,user:t,type:o}){let r=L(a),e=encodeURIComponent(t.username||"");return e?`${r}/${o}.html?user=${e}`:`${r}/${o}.html`}var U=class extends O{constructor(){super(...arguments),this.messages=A({blocking:!0}),this.buttonRef=g(),this.popoverRef=g(),this.isPopoverOpen=!1,this.scale="m",this.showAvatar=!0,this.showName=!0,this.showUsername=!1,this.appearance="transparent",this.arcgisUserPopupInternalUIAction=v(),this.arcgisUserPopupClose=v()}static{this.properties={itemUserInfo:16,groups:16,total:16,isPopoverOpen:16,user:0,username:1,fullName:1,item:0,scale:3,portal:0,baseUrl:1,underline:5,showAvatar:5,showName:5,showUsername:5,wrap:5,appearance:1,zIndex:9,avatarAriaHidden:5,checkOnline:5}}static{this.styles=S}async setFocus(){this.buttonRef.value?.focus()}async openPopup(){this.buttonRef.value?.click()}connectedCallback(){super.connectedCallback(),this.init()}updated(t){t.has("isPopoverOpen")&&this.isPopoverOpen&&this.setPopoverOpen(!0)}get resolvedBaseUrl(){return this.baseUrl||`${this.portal.url}/home`}async init(){let{item:t,username:o,portal:r,fullName:e,messages:i}=this;if(!(!i._lang||!r)){if(t){this.itemUserInfo=await G(t,r,i._lang,this.checkOnline);return}if(o){let s=await d(o,r,this.checkOnline);!s.fullName&&e&&(s.fullName=e),this.itemUserInfo=s}}}async fetchItemsAndGroups(){let{user:t,itemUserInfo:o,item:r,portal:e,username:i,checkOnline:s}=this,l=i||t?.username||r?.owner||o?.username;if(!(!l||!e)){if(!this.groups){let u=await H(l,e,s);this.groups=u}this.total=await J(l,e,s)}}setPopoverOpen(t){requestAnimationFrame(()=>{this.popoverRef.value&&(this.popoverRef.value.open=t)})}openLink(t,o){t.preventDefault(),window.open(o,"_blank")}renderOrgButtons(t){let{messages:o}=this,r=(t.url||this.resolvedBaseUrl).replace(/\/$/u,"");return n`<calcite-button appearance=outline-fill kind=neutral .href=${r} target=_blank @click=${e=>this.openLink(e,r)}>${o.homepage}</calcite-button><calcite-button appearance=outline-fill kind=neutral .href=${`${r}/gallery.html`} target=_blank @click=${e=>this.openLink(e,`${r}/gallery.html`)}>${o.gallery}</calcite-button>`}renderUserButtons(t){let{total:o,groups:r,messages:e}=this,i=t.username||"";if(typeof o!="number"||!r)return n`<calcite-loader .label=${e.loadingUserInformation} scale=s class="popover__loader"></calcite-loader>`;let s=M({baseUrl:this.resolvedBaseUrl,user:{username:i},type:"groups"}),l=M({baseUrl:this.resolvedBaseUrl,user:{username:i},type:"content"}),u=`${this.resolvedBaseUrl.replace(/\/$/u,"")}/user.html?user=${encodeURIComponent(i)}`;return n`${!!r.total&&n`<calcite-button class="popover__button" appearance=outline-fill kind=neutral .href=${s} target=_blank @click=${p=>{this.openLink(p,s),this.arcgisUserPopupInternalUIAction.emit({category:"profile popup",action:"view all groups"})}}>${e.groups.replace("${number}",new Intl.NumberFormat(e._lang).format(r.total))}</calcite-button>`||""}${!!o&&n`<calcite-button class="popover__button" appearance=outline-fill kind=neutral .href=${l} target=_blank @click=${p=>{this.openLink(p,l),this.arcgisUserPopupInternalUIAction.emit({category:"profile popup",action:"view all content"})}}>${e.items.replace("${number}",new Intl.NumberFormat(e._lang).format(o))}</calcite-button>`||""}<calcite-button class="popover__button" appearance=outline-fill kind=neutral .href=${u} target=_blank @click=${p=>{this.openLink(p,u),this.arcgisUserPopupInternalUIAction.emit({category:"profile popup",action:"view profile"})}}>${e.profile}</calcite-button>`}render(){let{user:t,itemUserInfo:o,portal:r,item:e,appearance:i,scale:s,isPopoverOpen:l,showName:u,showUsername:p,messages:f}=this,c=t||o;if(!f._lang||!c)return n`<arcgis-portal-user-avatar scale=s show-name .checkOnline=${this.checkOnline}></arcgis-portal-user-avatar>`;let I=q(e),m=c.username||"",h=B(c.description||"")||"",T=C(c,f._lang),E=I?f.itemManagedBy.replace("${username}",m):m;return n`<button class=${$({button:!0,"button--outline":i==="outline"})} @click=${()=>{this.isPopoverOpen||(this.isPopoverOpen=!0),this.fetchItemsAndGroups()}} ${b(this.buttonRef)}><slot><arcgis-portal-user-avatar .user=${c} .scale=${s} .portal=${r} .showName=${u} .description=${p?m:""} .hideAvatar=${!this.showAvatar} .underline=${this.underline} .checkOnline=${this.checkOnline} .wrap=${this.wrap}></arcgis-portal-user-avatar></slot></button>${l&&this.buttonRef.value&&c&&n`<calcite-popover class="popover" .label=${T} pointer-disabled .referenceElement=${this.buttonRef.value} placement=auto .id=${`${m}-popover`} auto-close style=${P({"--calcite-popover-z-index":this.zIndex?.toString()||"12"})} @calcitePopoverOpen=${()=>{this.arcgisUserPopupInternalUIAction.emit({category:"profile popup",action:"open profile popup"})}} @calcitePopoverClose=${()=>{this.isPopoverOpen=!1,this.arcgisUserPopupClose.emit()}} @keydown=${F=>{F.key==="Escape"&&setTimeout(()=>{this.buttonRef.value?.focus()},200)}} ${b(this.popoverRef)}><div class="popover__wrapper"><div class="popover__header"><arcgis-portal-user-avatar class="popover__avatar" .user=${c} scale=l .portal=${r} show-name .description=${E} .checkOnline=${this.checkOnline}></arcgis-portal-user-avatar></div><div class="popover__content">${!!h&&n`<p class="popover__description">${N(y(h))}</p>`||""}${!!h&&n`<div class="popover__fade"></div>`||""}<div class=${$({popover__buttons:!0,"popover__buttons--no-description":!h})}>${I?this.renderOrgButtons(c):this.renderUserButtons(c)}</div></div></div></calcite-popover>`||""}`}};R("arcgis-portal-user-popup",U);return U},a,c,d,e)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"heading":"ArcGIS Portal Assistant","placeholder":"Ask a question or mention @people, #items, and $groups","askMeAQuestionPlaceholder":"Ask me a question...","emptyStateMessage":"Ask a question about your portal content to start the conversation.","entryMessage":"Responses are generated from a local assistant service and your current portal context.","welcome":"Welcome","welcomeText":"What would you like to do today?","send":"Ask","newChat":"New Chat","stop":"Stop","session":"Session","missingContext":"Portal id, username, or token is unavailable.","requestFailed":"Assistant request failed.","thinking":"Thinking","searchHitsHeading":"Search Hits","foundHitsMessage":"Found {total} hits. Displaying top {top} results:","runAction":"Run Action","voiceInput":"Voice Input","somethingWentWrong":"Sorry, something went wrong.","streamErrorOccurred":"Stream error occurred","noFinalTurnDataReceived":"No final turn data received","errorSendingTurn":"Error sending turn:","genieNavigateEvent":"Genie navigate event:","mentionEntities":"Mention entities","navigation":{"openContent":"Open content page","openContentFavorites":"Open Content > My favorites","openContentGroup":"Open Content > My groups","openContentLivingAtlas":"Open Content > Living Atlas","openContentOrganization":"Open Content > My organization","openGallery":"Open gallery","openGroups":"Open groups page","openGroupsFeatured":"Open Groups > Featured groups","openGroupsMy":"Open Groups > My groups","openGroupsOrganization":"Open Groups > My organization's groups","openItem":"Open item page","openMapViewer":"Open Map Viewer","openNotebooks":"Open Notebooks","openSceneViewer":"Open Scene Viewer","openGroup":"Open group page","openOrgSettings":"Open the organization setting page"},"navigationTargets":{"myContent":"My content","createFeatureLayer":"Create feature layer","createFolder":"Create folder","myGroups":"My groups","createGroup":"Create group","featuredGroups":"Featured groups","organizationGroups":"Organization groups","configureMultifactorAuthentication":"Configure multifactor authentication"},"openPanel":"Open side panel","status":{"sending":"Sending...","thinking":"Thinking...","waitingForResponse":"Waiting for response...","routing":"Routing...","runningAnalytic":"Analyzing...","runningNavigation":"Finding the suitable place to navigate...","summarizing":"Summarizing...","savingState":"Saving state...","completed":"Completed!"},"sidePanel":{"back":"Back","chatHistory":"Chat history"}}
|
|
1
|
+
{"heading":"ArcGIS Portal Assistant","diagnostics":"Assistant diagnostics","placeholder":"Ask a question or mention @people, #items, and $groups","askMeAQuestionPlaceholder":"Ask me a question...","emptyStateMessage":"Ask a question about your portal content to start the conversation.","entryMessage":"Responses are generated from a local assistant service and your current portal context.","welcome":"Welcome","welcomeText":"What would you like to do today?","send":"Ask","newChat":"New Chat","stop":"Stop","session":"Session","missingContext":"Portal id, username, or token is unavailable.","requestFailed":"Assistant request failed.","thinking":"Thinking","searchHitsHeading":"Search Hits","foundHitsMessage":"Found {total} hits. Displaying top {top} results:","runAction":"Run Action","voiceInput":"Voice Input","somethingWentWrong":"Sorry, something went wrong.","streamErrorOccurred":"Stream error occurred","noFinalTurnDataReceived":"No final turn data received","errorSendingTurn":"Error sending turn:","genieNavigateEvent":"Genie navigate event:","mentionEntities":"Mention entities","navigation":{"openContent":"Open content page","openContentFavorites":"Open Content > My favorites","openContentGroup":"Open Content > My groups","openContentLivingAtlas":"Open Content > Living Atlas","openContentOrganization":"Open Content > My organization","openGallery":"Open gallery","openGroups":"Open groups page","openGroupsFeatured":"Open Groups > Featured groups","openGroupsMy":"Open Groups > My groups","openGroupsOrganization":"Open Groups > My organization's groups","openItem":"Open item page","openMapViewer":"Open Map Viewer","openNotebooks":"Open Notebooks","openSceneViewer":"Open Scene Viewer","openGroup":"Open group page","openOrgSettings":"Open the organization setting page"},"navigationTargets":{"myContent":"My content","createFeatureLayer":"Create feature layer","createFolder":"Create folder","myGroups":"My groups","createGroup":"Create group","featuredGroups":"Featured groups","organizationGroups":"Organization groups","configureMultifactorAuthentication":"Configure multifactor authentication"},"openPanel":"Open side panel","status":{"sending":"Sending...","thinking":"Thinking...","waitingForResponse":"Waiting for response...","routing":"Routing...","runningAnalytic":"Analyzing...","runningNavigation":"Finding the suitable place to navigate...","summarizing":"Summarizing...","savingState":"Saving state...","completed":"Completed!"},"sidePanel":{"back":"Back","chatHistory":"Chat history"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"clearSelection":"Clear selection","noGroupsFound":"No groups found.","noItemsFound":"No items found.","noUsersFound":"No users found.","searchFailed":"Search could not be completed. Try again.","searchGroups":"Search groups","searchItems":"Search items","searchUsers":"Search organization members","searching":"Searching"}
|
|
1
|
+
{"allContent":"All accessible content","allGroups":"All accessible groups","clearSelection":"Clear selection","myContent":"My content","myGroups":"My groups","myOrganization":"My organization","noGroupsFound":"No groups found.","noItemsFound":"No items found.","noUsersFound":"No users found.","searchFailed":"Search could not be completed. Try again.","searchGroups":"Search groups","searchItems":"Search items","searchIn":"Search in","searchUsers":"Search organization members","searching":"Searching"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"select":"Select layer","selectLayers":"Select layers","geometryNotAllowed":"This layer cannot be selected because its geometry type is not allowed.","selectedSingle":"Selected","selectedLayers":"Selected layers: ${num}","selectedName":"Selected layer: ${name}","selectedTask":"Selected task: ${task}","errorTitle":"Error connecting to service.","errorBody":"Unable to successfully connect to the service. The service is either down or requires authentication.","notebookErrorBody":"This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.","retry":"Retry","selectTask":"Select task","selectTaskFrom":"Select a task from ${title}"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"sharing":"Sharing","private":"Owner","shared":"Owner and shared with groups","org":"Organization","public":"Everyone (public)","privateGroups":"Owner","sharedGroups":"Owner + Groups (${num})","orgGroups":"Organization + Groups (${num})","publicGroups":"Everyone (public) + Groups (${num})","groups":"Groups (${num})","updateSharing":"Share level: ${level}, update sharing","viewableBy":"Viewable by: ${level}","everyone":"Everyone (public)","organization":"Organization","groupMembers":"Group members"}
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{Q as r,z as e}from"./AICPYLWE.js";import"./OUMTV5H5.js";import"./5PV2GUZW.js";var a=e(r,{"arcgis-portal-account-switcher":[()=>import("./6RZEXOK3.js"),"clientId,messages:,portal:,redirectUri,signout,signoutOptions:"],"arcgis-portal-account-switcher-accounts":[()=>import("./NRMQDCM3.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./5PPZNVWG.js"),"accountAccess:,actions:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-account-switcher-signout":[()=>import("./BSTA5KI5.js"),"messages:,portal:,signedInAccounts:"],"arcgis-portal-add-gps-metadata":[()=>import("./DDBXEXOV.js"),"item:,itemId,messages:,portal:"],"arcgis-portal-ai-assistant":[()=>import("./GUO7HKSP.js"),"autoDestroyDisabled,config:,defaultClosed,disabledAgents:,navigationCapabilities:,navigationTargetMap:,portal:,t9n:,useProdDocAssistant,user:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./3LEQ37YT.js"),"_messages:,message,options:,type"],"arcgis-portal-browser":[()=>import("./23FS4XTG.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("./JN23JH3T.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter-status":[()=>import("./EEAVX4PP.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-pagination":[()=>import("./GXM3XY3J.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./E66BDC6N.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./YYTEJVBL.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./N4VOTJ25.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./I6IRHXWR.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./5C5GHX4D.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./LWFACY3F.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./FIQZPIIK.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./3EYB5GQX.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-delete-items":[()=>import("./3CQKCUM5.js"),"active,disableLinks,items:,messages:,portal:,user:"],"arcgis-portal-delete-items-review":[()=>import("./FIBQAMJ3.js"),"items:,messages:,portal:,user:"],"arcgis-portal-entity-picker":[()=>import("./66XWNGQ2.js"),"_messages:,entityType,icon,messageOverrides:,mode,num,portal:,query,selected:;setFocus,togglePicker"],"arcgis-portal-extent-picker":[()=>import("./TUUUK3VX.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./JPUUMGX5.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./TOICLGFK.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./LISDTBEX.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-browser":[()=>import("./CXXV6WJT.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("./WC3FPLYQ.js"),"browser:,cardProps:,group:;restoreFocus"],"arcgis-portal-group-browser-preview":[()=>import("./FNLBJ4ZQ.js"),"currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],"arcgis-portal-group-browser-preview-card":[()=>import("./2MPQ5IWJ.js"),"baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],"arcgis-portal-group-card":[()=>import("./46BUEBWS.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("./6F4SJDRR.js"),"_messages:,entityType:,icon,messageOverrides:,mode,num,portal:,query,selected:;setFocus,togglePicker"],"arcgis-portal-group-thumbnail":[()=>import("./NWVLGU2C.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./M5PPX4ZX.js"),"config:,position"],"arcgis-portal-item-actions":[()=>import("./74T6IXSN.js"),"actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],"arcgis-portal-item-badges":[()=>import("./TLM457Z5.js"),"appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],"arcgis-portal-item-badge":[()=>import("./AJQT7UXB.js"),"_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],"arcgis-portal-item-card":[()=>import("./JL52W3Z4.js"),"actions:,disabled,disableSelection,hideActionsStart,item:,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,recycleBin,selected,selection,showAccess,showBadges,showBadgeTooltips,showDateUpdated,showFavorite,showFavoriteInActionsMenu,showItemType,showItemTypeHosted,showOwner,showSummary,showThumbnail,user:,userPopupZIndex,view;restoreFocus"],"arcgis-portal-item-favorite":[()=>import("./JWBUJT43.js"),"iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],"arcgis-portal-item-picker":[()=>import("./4AI52H7C.js"),"_messages:,entityType:,icon,messageOverrides:,mode,num,portal:,query,selected:;setFocus,togglePicker"],"arcgis-portal-item-thumbnail":[()=>import("./SVROAT3Z.js"),"cacheString,generate,item:,portal:,serviceInfo:,useProduction,user:;generateThumbnail"],"arcgis-portal-item-type":[()=>import("./24QSQLRY.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./LYLQCBVX.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./4PRXQFCV.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:"],"arcgis-portal-replacement-item-redirect":[()=>import("./ZKZDKJ6D.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-review-related-items":[()=>import("./DYO5P3F2.js"),"messages:,portal:,relatedItems:,sourceItem:,user:"],"arcgis-portal-sublayer-type":[()=>import("./OXPXXIWL.js"),"geometry,hideIcon,hideName,hideType,messages:,name,renderer:,scale,type,underline"],"arcgis-portal-user-avatar":[()=>import("./J5FKIZAM.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-picker":[()=>import("./EITRZQSC.js"),"_messages:,entityType:,icon,messageOverrides:,mode,num,portal:,query,selected:;setFocus,togglePicker"],"arcgis-portal-user-popup":[()=>import("./DLI4XKJ3.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("./2YZWRFCI.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-account-switcher-signout,arcgis-portal-add-gps-metadata,arcgis-portal-ai-assistant,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-favorite,arcgis-portal-item-picker,arcgis-portal-item-thumbnail,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-replacement-item-redirect,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{P as r,y as e}from"./HHGKNVCH.js";import"./KHKREBVZ.js";import"./5PV2GUZW.js";var s=e(r,{"arcgis-portal-account-switcher":[()=>import("./YUOVGTP5.js"),"clientId,messages:,portal:,redirectUri,signout,signoutOptions:"],"arcgis-portal-account-switcher-accounts":[()=>import("./3XH3JHOI.js"),"accounts:,messages:,portal:,targetUser"],"arcgis-portal-account-switcher-list":[()=>import("./4WQA7UAJ.js"),"accountAccess:,actions:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],"arcgis-portal-account-switcher-signout":[()=>import("./BOO7GG5L.js"),"messages:,portal:,signedInAccounts:"],"arcgis-portal-add-gps-metadata":[()=>import("./4ONCJSSP.js"),"item:,itemId,messageOverrides:,messages:,portal:"],"arcgis-portal-ai-assistant":[()=>import("./6MATPHXT.js"),"autoDestroyDisabled,config:,defaultClosed,disabledAgents:,entityToolPresets:,navigationTargetMap:,observabilityEnabled,portal:,t9n:,tools:,user:"],"arcgis-portal-ai-assistant-interrupt":[()=>import("./EQRBP6H6.js"),"_messages:,entityRequest:,message,options:,pickerMessages:,portal:,requestId,type"],"arcgis-portal-browser":[()=>import("./I3EWDYTU.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("./TTQGRN2V.js"),"_messages:,actions:,selection:;restoreFocus"],"arcgis-portal-browser-filter-status":[()=>import("./AKTIIRJQ.js"),"_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],"arcgis-portal-browser-pagination":[()=>import("./IPHBVKMY.js"),"_messages:,num,start,store:,total;nextPage"],"arcgis-portal-browser-search":[()=>import("./WNEPEEPZ.js"),"_messages:,allowClear,placeholder,store:,term;setFocus"],"arcgis-portal-browser-sort":[()=>import("./J6SI4Z4F.js"),"_messages:,appearance,field,options:,order,showText,useDeleted"],"arcgis-portal-browser-top-bar":[()=>import("./SKIDJ4QI.js"),"_messages:,filtersDisabled,store:"],"arcgis-portal-browser-view":[()=>import("./FYVATGMR.js"),"options:,store:,view,viewText"],"arcgis-portal-classification-banner":[()=>import("./FE3O23SE.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./GPAIXN52.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./5OWIWCEQ.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./CZ4FC4GM.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-delete-items":[()=>import("./Z5CA4C6H.js"),"active,disableLinks,fieldDeleteMessages:,itemIds:,items:,messages:,portal:,user:"],"arcgis-portal-delete-items-review":[()=>import("./B6666VUQ.js"),"items:,messages:,portal:,user:"],"arcgis-portal-entity-picker":[()=>import("./GAU6DNV5.js"),"_messages:,entityType,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-extent-picker":[()=>import("./7IP3RVPH.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./XS5EOWBK.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./YPDHSE2J.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-group-badges":[()=>import("./EUQQZIRW.js"),"_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],"arcgis-portal-group-browser":[()=>import("./DABNV2OO.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("./DOCNBKQZ.js"),"browser:,cardProps:,group:;restoreFocus"],"arcgis-portal-group-browser-preview":[()=>import("./SKHFISBA.js"),"currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],"arcgis-portal-group-browser-preview-card":[()=>import("./GRSBU4PD.js"),"baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],"arcgis-portal-group-card":[()=>import("./QKCRNS75.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("./WT72SOAU.js"),"_messages:,entityType:,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-group-thumbnail":[()=>import("./D3Q72PPN.js"),"group:,portal:,scale,tooltip"],"arcgis-portal-info-banner":[()=>import("./YQLFXHFG.js"),"config:,position"],"arcgis-portal-item-actions":[()=>import("./KDORI7H4.js"),"actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],"arcgis-portal-item-badges":[()=>import("./WJWWYBZ7.js"),"appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],"arcgis-portal-item-badge":[()=>import("./XJGKRAN5.js"),"_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],"arcgis-portal-item-card":[()=>import("./LTMPXQTC.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("./NBCYYUHP.js"),"allowedGeometries:,appearance,disabled,item:,messageOverrides:,messages:,portal:,selectedItems:,selection,width"],"arcgis-portal-item-favorite":[()=>import("./H7FA5HFE.js"),"iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],"arcgis-portal-item-picker":[()=>import("./NXGTEDK4.js"),"_messages:,entityType:,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-item-share-summary":[()=>import("./O3JP4FQ3.js"),"autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],"arcgis-portal-item-share-summary-editable":[()=>import("./OVH4YLTS.js"),"allowEdit,autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],"arcgis-portal-item-thumbnail":[()=>import("./M7J7RAM4.js"),"cacheString,generate,item:,portal:,serviceInfo:,useProduction,user:;generateThumbnail"],"arcgis-portal-item-type":[()=>import("./IKPVMXXW.js"),"ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],"arcgis-portal-mentionable-text-area":[()=>import("./QB5BGHLA.js"),"disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],"arcgis-portal-navigation":[()=>import("./EP7NWEC5.js"),"clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:"],"arcgis-portal-replacement-item-redirect":[()=>import("./IVDZGUNZ.js"),"itemId,messages:,portal:,user:;setFocus"],"arcgis-portal-review-related-items":[()=>import("./W5POIPYP.js"),"browserMessages:,deleteMessages:,messages:,portal:,relatedItems:,relatedItemsCount,showDependentItems,sourceItem:,user:"],"arcgis-portal-sublayer-type":[()=>import("./OOXTSCQT.js"),"geometry,hideIcon,hideName,hideType,messages:,name,renderer:,scale,type,underline"],"arcgis-portal-user-avatar":[()=>import("./2D3FQXJ4.js"),"checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],"arcgis-portal-user-picker":[()=>import("./M5STJJRX.js"),"_messages:,entityType:,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],"arcgis-portal-user-popup":[()=>import("./ZOX4RLS4.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("./RKMW4FUN.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-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-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-replacement-item-redirect,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/cdn/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@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-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-favorite,arcgis-portal-item-picker,arcgis-portal-item-thumbnail,arcgis-portal-item-type,arcgis-portal-mentionable-text-area,arcgis-portal-navigation,arcgis-portal-replacement-item-redirect,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}}
|
|
1
|
+
@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-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-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-replacement-item-redirect,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}}
|
|
@@ -6,8 +6,8 @@ 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 {
|
|
10
|
-
import {
|
|
9
|
+
import { a as J, b as N, l as T, c as P, d as z, u as G, g as E, e as D, f as V, h as k } from "./item2.js";
|
|
10
|
+
import { g as K } from "./portal.js";
|
|
11
11
|
var O = /* @__PURE__ */ ((r) => (r.expression = "expression/", r))(O || {});
|
|
12
12
|
function b(r) {
|
|
13
13
|
return r != null;
|
|
@@ -264,11 +264,11 @@ async function C(r, e, i) {
|
|
|
264
264
|
);
|
|
265
265
|
}
|
|
266
266
|
export {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
267
|
+
xe as a,
|
|
268
|
+
Oe as b,
|
|
269
|
+
Je as c,
|
|
270
|
+
ve as d,
|
|
271
|
+
Re as e,
|
|
272
272
|
be as g,
|
|
273
273
|
b as i
|
|
274
274
|
};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
const
|
|
3
|
-
throw new Error(`Unexpected value: ${
|
|
4
|
-
},
|
|
5
|
-
await new Promise((
|
|
6
|
-
}, n = (
|
|
2
|
+
const r = (t) => {
|
|
3
|
+
throw new Error(`Unexpected value: ${t}`);
|
|
4
|
+
}, s = async (t) => {
|
|
5
|
+
await new Promise((e) => setTimeout(e, t));
|
|
6
|
+
}, n = async (t, e = 10) => {
|
|
7
|
+
for (let a = 0; a < e; a++)
|
|
8
|
+
if (a > 0 && await s(500 * 2 ** Math.floor((a - 1) / 2)), await t())
|
|
9
|
+
return !0;
|
|
10
|
+
return !1;
|
|
11
|
+
}, o = (t, e) => t.includes(e);
|
|
7
12
|
export {
|
|
8
|
-
|
|
9
|
-
o as
|
|
10
|
-
n as
|
|
11
|
-
|
|
13
|
+
r as a,
|
|
14
|
+
o as i,
|
|
15
|
+
n as p,
|
|
16
|
+
s as t
|
|
12
17
|
};
|
package/dist/chunks/groups.js
CHANGED
|
@@ -1,64 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
|
|
3
|
-
import { a as d } from "./portal.js";
|
|
4
|
-
async function l(t, o = {}) {
|
|
5
|
-
return await t.queryGroups(o);
|
|
6
|
-
}
|
|
7
|
-
async function p(t, o) {
|
|
8
|
-
const e = o.title.trim();
|
|
9
|
-
if (!e)
|
|
10
|
-
return { error: { code: "unhandledError", message: "Group title is required." } };
|
|
11
|
-
try {
|
|
12
|
-
const { data: r } = await n(`${d(t)}community/createGroup`, {
|
|
13
|
-
method: "post",
|
|
14
|
-
responseType: "json",
|
|
15
|
-
query: {
|
|
16
|
-
f: "json",
|
|
17
|
-
...o,
|
|
18
|
-
title: e
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
return !r.success || !r.group?.id ? {
|
|
22
|
-
error: {
|
|
23
|
-
code: "unhandledError",
|
|
24
|
-
message: "Unable to create a group with the provided title."
|
|
25
|
-
}
|
|
26
|
-
} : {
|
|
27
|
-
result: {
|
|
28
|
-
id: r.group.id,
|
|
29
|
-
title: r.group.title || e
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
} catch (r) {
|
|
33
|
-
return console.error("Error creating portal group:", r), {
|
|
34
|
-
error: {
|
|
35
|
-
code: "unhandledError",
|
|
36
|
-
message: r.details.messages.join(",")
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
async function g(t, o, e) {
|
|
42
|
-
if (!e.length)
|
|
43
|
-
return { error: { code: "unhandledError", message: "At least one username is required." } };
|
|
44
|
-
try {
|
|
45
|
-
const { data: r } = await n(
|
|
46
|
-
`${d(t)}community/groups/${o}/addUsers`,
|
|
47
|
-
{
|
|
48
|
-
method: "post",
|
|
49
|
-
responseType: "json",
|
|
50
|
-
query: { f: "json", users: e.join(",") }
|
|
51
|
-
}
|
|
52
|
-
), s = r.notAdded;
|
|
53
|
-
return {
|
|
54
|
-
result: { addedUsernames: s?.length ? e.filter((a) => !s.includes(a)) : e, notAddedUsers: r.notAddedDetails }
|
|
55
|
-
};
|
|
56
|
-
} catch (r) {
|
|
57
|
-
return console.error("Error adding users to portal group:", r), { error: { code: "unhandledError" } };
|
|
58
|
-
}
|
|
59
|
-
}
|
|
2
|
+
const t = (s) => s.sourceJSON, o = (s) => "sourceJSON" in s, e = (s) => o(s) ? t(s) : s, a = (s) => e(s).capabilities ?? [], i = (s) => e(s).orgId, c = (s) => e(s).membershipAccess, r = (s) => e(s).isOpenData === !0, n = (s) => a(s).includes("distributed");
|
|
60
3
|
export {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
4
|
+
i as a,
|
|
5
|
+
c as b,
|
|
6
|
+
e as c,
|
|
7
|
+
n as d,
|
|
8
|
+
t as e,
|
|
9
|
+
a as g,
|
|
10
|
+
r as i
|
|
64
11
|
};
|
package/dist/chunks/groups2.js
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
|
|
2
|
+
import a from "@arcgis/core/portal/PortalGroup.js";
|
|
3
|
+
import { g as n } from "./portal.js";
|
|
4
|
+
import { r as p } from "./request.js";
|
|
5
|
+
async function f(r, s, u = {}) {
|
|
6
|
+
const o = await p({
|
|
7
|
+
url: `${n(r)}community/groups`,
|
|
8
|
+
portal: r,
|
|
9
|
+
params: s,
|
|
10
|
+
options: u
|
|
11
|
+
});
|
|
12
|
+
return {
|
|
13
|
+
...o,
|
|
14
|
+
results: o.results.map((e) => {
|
|
15
|
+
const t = a.fromJSON(e);
|
|
16
|
+
return t.portal = r, t;
|
|
17
|
+
})
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
async function l(r, s = {}) {
|
|
21
|
+
return await r.queryGroups(s);
|
|
22
|
+
}
|
|
3
23
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
c,
|
|
7
|
-
e as d,
|
|
8
|
-
n as e,
|
|
9
|
-
t as g,
|
|
10
|
-
r as i
|
|
24
|
+
l as q,
|
|
25
|
+
f as s
|
|
11
26
|
};
|
package/dist/chunks/info.js
CHANGED
package/dist/chunks/item.js
CHANGED
|
@@ -1,38 +1,70 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { c as p } from "./requests.js";
|
|
3
|
+
import { c as h } from "./string.js";
|
|
4
|
+
import { g as u } from "./portal.js";
|
|
5
|
+
import { r as l } from "./request.js";
|
|
6
|
+
function E(r) {
|
|
7
|
+
return r.replace(/[.*+?^${}()|[\]\\]/gu, "\\$&");
|
|
8
|
+
}
|
|
9
|
+
const d = (r, e) => [...Array(Math.ceil(r.length / e))].map((t, n) => r.slice(e * n, e + e * n));
|
|
10
|
+
async function w(r, e) {
|
|
11
|
+
const t = `${u(r)}content/items/${e}`;
|
|
9
12
|
try {
|
|
10
|
-
return { result: await
|
|
11
|
-
} catch
|
|
12
|
-
return
|
|
13
|
+
return { result: await l({ url: t, portal: r }) };
|
|
14
|
+
} catch {
|
|
15
|
+
return { error: { code: "unhandledError" } };
|
|
13
16
|
}
|
|
14
|
-
}
|
|
15
|
-
|
|
17
|
+
}
|
|
18
|
+
async function j(r, e, t, n) {
|
|
19
|
+
const s = Object.fromEntries(t.flatMap(({ id: c }) => c ? [[c, []]] : []));
|
|
20
|
+
if (!t.length)
|
|
21
|
+
return { result: s };
|
|
22
|
+
if (!e.groups)
|
|
23
|
+
return { error: { code: "unhandledError" } };
|
|
24
|
+
try {
|
|
25
|
+
return (await Promise.all(
|
|
26
|
+
d(e.groups, 100).map(
|
|
27
|
+
async (a) => await l({
|
|
28
|
+
url: `${u(r)}content/itemsgroups`,
|
|
29
|
+
portal: r,
|
|
30
|
+
params: {
|
|
31
|
+
items: t.map(({ id: o }) => o).join(","),
|
|
32
|
+
groups: a.map(({ id: o }) => o).join(",")
|
|
33
|
+
},
|
|
34
|
+
...n ? { options: n } : {}
|
|
35
|
+
})
|
|
36
|
+
)
|
|
37
|
+
)).reduce((a, o) => {
|
|
38
|
+
for (const { groupId: m, items: i } of Object.values(o))
|
|
39
|
+
for (const { itemId: f } of i)
|
|
40
|
+
a[f]?.push(m);
|
|
41
|
+
return a;
|
|
42
|
+
}, s), { result: s };
|
|
43
|
+
} catch {
|
|
44
|
+
return { error: { code: "unhandledError" } };
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const q = async (r, e, t) => {
|
|
48
|
+
const n = h(e);
|
|
49
|
+
if (!n)
|
|
50
|
+
return {};
|
|
16
51
|
try {
|
|
17
|
-
return {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
responseType: "json",
|
|
21
|
-
query: { f: "json" }
|
|
22
|
-
})).data
|
|
23
|
-
};
|
|
24
|
-
} catch (o) {
|
|
25
|
-
return console.error("Error fetching item context:", o), { error: { code: "unhandledError" } };
|
|
52
|
+
return { result: await r.queryItems({ ...t, query: n }) };
|
|
53
|
+
} catch (s) {
|
|
54
|
+
return console.error(s), { error: { code: "unhandledError" } };
|
|
26
55
|
}
|
|
27
56
|
};
|
|
28
|
-
async function
|
|
57
|
+
async function R(r, e) {
|
|
29
58
|
if (!r || !e)
|
|
30
59
|
return { result: null };
|
|
31
60
|
const t = `${r.restUrl}/content/items/${e}/data`;
|
|
32
|
-
return await
|
|
61
|
+
return await p(t);
|
|
33
62
|
}
|
|
34
63
|
export {
|
|
35
|
-
|
|
36
|
-
d as
|
|
37
|
-
|
|
64
|
+
w as a,
|
|
65
|
+
d as c,
|
|
66
|
+
E as e,
|
|
67
|
+
j as f,
|
|
68
|
+
R as g,
|
|
69
|
+
q as s
|
|
38
70
|
};
|
package/dist/chunks/item2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import a from "@arcgis/core/request.js";
|
|
3
|
-
import {
|
|
3
|
+
import { g as i } from "./portal.js";
|
|
4
4
|
function f(e, r) {
|
|
5
5
|
return `${i(r)}content/items/${e}`;
|
|
6
6
|
}
|
|
@@ -11,9 +11,12 @@ function v(e) {
|
|
|
11
11
|
return e.typeKeywords?.includes("View Service");
|
|
12
12
|
}
|
|
13
13
|
function h(e) {
|
|
14
|
-
return e
|
|
14
|
+
return e?.type === "Geoprocessing Service";
|
|
15
15
|
}
|
|
16
16
|
function I(e) {
|
|
17
|
+
return e.typeKeywords?.includes("Service Proxy") && e.typeKeywords.includes("Geocoding filter");
|
|
18
|
+
}
|
|
19
|
+
function S(e) {
|
|
17
20
|
return e.type === "Image Collection" && e.typeKeywords?.includes("Photo locations");
|
|
18
21
|
}
|
|
19
22
|
function p(e) {
|
|
@@ -22,12 +25,12 @@ function p(e) {
|
|
|
22
25
|
function P(e, r) {
|
|
23
26
|
return e.typeKeywords?.includes("Managed Image Collection") || p(r) && !e.typeKeywords?.includes("Tiled Imagery");
|
|
24
27
|
}
|
|
25
|
-
function
|
|
28
|
+
function K(e, r) {
|
|
26
29
|
return !!((e.sourceJSON?.serviceProperties?.tags || e?.serviceProperties?.tags)?.includes(
|
|
27
30
|
"hasMultidimensions"
|
|
28
31
|
) || r?.hasMultidimensions);
|
|
29
32
|
}
|
|
30
|
-
function
|
|
33
|
+
function T(e, r) {
|
|
31
34
|
return c(e, r) || m(e, r);
|
|
32
35
|
}
|
|
33
36
|
function c(e, r) {
|
|
@@ -38,23 +41,23 @@ function m(e, r) {
|
|
|
38
41
|
return e.portal?.isPortal && !c(e, r) && s && t?.includes("esri_") && // portal incorrectly returns "itemControl="admin" for esri owned items
|
|
39
42
|
!n.includes(t) ? !1 : s;
|
|
40
43
|
}
|
|
41
|
-
const
|
|
44
|
+
const k = (e, r) => !!r.orgId && e.every((t) => t.isOrgItem);
|
|
42
45
|
function j(e) {
|
|
43
46
|
return e.typeKeywords?.includes("Spatiotemporal");
|
|
44
47
|
}
|
|
45
|
-
function
|
|
48
|
+
function G(e) {
|
|
46
49
|
return e.typeKeywords?.includes("View Service");
|
|
47
50
|
}
|
|
48
51
|
function V(e) {
|
|
49
52
|
return e.typeKeywords?.includes("Hosted Service");
|
|
50
53
|
}
|
|
51
|
-
function
|
|
54
|
+
function U(e) {
|
|
52
55
|
return e.typeKeywords?.includes("Multi Services View");
|
|
53
56
|
}
|
|
54
|
-
function
|
|
57
|
+
function $(e) {
|
|
55
58
|
return e?.hasViews && !e.sourceSchemaChangesAllowed;
|
|
56
59
|
}
|
|
57
|
-
async function
|
|
60
|
+
async function b(e) {
|
|
58
61
|
const r = e?.portalItem;
|
|
59
62
|
if (!r)
|
|
60
63
|
return await Promise.resolve(null);
|
|
@@ -77,7 +80,7 @@ async function $(e) {
|
|
|
77
80
|
}
|
|
78
81
|
return await Promise.resolve(null);
|
|
79
82
|
}
|
|
80
|
-
async function
|
|
83
|
+
async function M(e) {
|
|
81
84
|
const r = e?.portalItem;
|
|
82
85
|
if (!r)
|
|
83
86
|
return await Promise.resolve(null);
|
|
@@ -96,14 +99,14 @@ async function b(e) {
|
|
|
96
99
|
async () => await Promise.reject(new Error("Failed to fetch item groups"))
|
|
97
100
|
);
|
|
98
101
|
}
|
|
99
|
-
async function
|
|
102
|
+
async function C(e, r, { relationshipType: t, direction: s }, n = !1) {
|
|
100
103
|
const o = `${i(r)}content/items/${e}/relatedItems`;
|
|
101
104
|
return await a(o, {
|
|
102
105
|
query: { f: "json", relationshipType: t, direction: s, includeRecycleBin: n },
|
|
103
106
|
responseType: "json"
|
|
104
107
|
});
|
|
105
108
|
}
|
|
106
|
-
function
|
|
109
|
+
function q(e, r) {
|
|
107
110
|
return e?.some(
|
|
108
111
|
(t) => r?.some(
|
|
109
112
|
(s) => t.id === s.id && t.capabilities.includes("updateitemcontrol")
|
|
@@ -111,22 +114,23 @@ function C(e, r) {
|
|
|
111
114
|
);
|
|
112
115
|
}
|
|
113
116
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
117
|
+
V as a,
|
|
118
|
+
G as b,
|
|
119
|
+
$ as c,
|
|
120
|
+
j as d,
|
|
121
|
+
M as e,
|
|
122
|
+
q as f,
|
|
123
|
+
b as g,
|
|
124
|
+
C as h,
|
|
125
|
+
g as i,
|
|
126
|
+
h as j,
|
|
127
|
+
f as k,
|
|
128
|
+
U as l,
|
|
129
|
+
k as m,
|
|
130
|
+
K as n,
|
|
131
|
+
P as o,
|
|
132
|
+
v as p,
|
|
133
|
+
I as q,
|
|
134
|
+
S as r,
|
|
135
|
+
T as u
|
|
132
136
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { g as
|
|
3
|
-
import { g as
|
|
4
|
-
import { g } from "./items.js";
|
|
5
|
-
function
|
|
6
|
-
const a =
|
|
7
|
-
return
|
|
2
|
+
import { g as v, b as g } from "./portal.js";
|
|
3
|
+
import { g as d } from "./runtime.js";
|
|
4
|
+
import { g as m } from "./items.js";
|
|
5
|
+
function f(e) {
|
|
6
|
+
const a = b(e);
|
|
7
|
+
return d(`assets/portal-item-thumbnail/${a}`);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function b(e) {
|
|
10
10
|
const a = e.type?.toLowerCase(), r = e.typeKeywords || [];
|
|
11
11
|
switch (a) {
|
|
12
12
|
case "web mapping application":
|
|
@@ -172,22 +172,22 @@ function d(e) {
|
|
|
172
172
|
return "default.avif";
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
return e.thumbnail ??
|
|
175
|
+
function h(e) {
|
|
176
|
+
return e.thumbnail ?? m(e).thumbnail ?? null;
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
const
|
|
180
|
-
if (a.thumbnailUrl) {
|
|
181
|
-
const
|
|
182
|
-
return
|
|
178
|
+
function j(e, a, r = !1, t = !1, i) {
|
|
179
|
+
const c = t ? "https://www.arcgis.com/sharing/rest/" : e ? v(e) : void 0, o = r || t;
|
|
180
|
+
if (!t && a.thumbnailUrl) {
|
|
181
|
+
const s = new URL(a.thumbnailUrl);
|
|
182
|
+
return s.searchParams.append("w", "400"), i && s.searchParams.append("t", i), s.href;
|
|
183
183
|
}
|
|
184
|
-
if (!
|
|
185
|
-
return
|
|
186
|
-
const
|
|
187
|
-
return
|
|
184
|
+
if (!c)
|
|
185
|
+
return f(a);
|
|
186
|
+
const u = e && !o ? g(e) : "", n = u ? `token=${u}` : "", p = `${c}content/items/${a.id}`, l = h(a);
|
|
187
|
+
return l ? `${p}/info/${l}?w=400${n ? `&${n}` : ""}${i ? `&t=${i}` : ""}` : a.type === "Image" && !o ? `${p}/data?${n}` : f(a);
|
|
188
188
|
}
|
|
189
189
|
export {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
f as a,
|
|
191
|
+
h as b,
|
|
192
|
+
j as g
|
|
193
193
|
};
|