@arcgis/portal-components 6.0.0-next.4 → 6.0.0-next.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{SGDDFWCJ.js → 2GIECQ25.js} +1 -1
- package/dist/cdn/2N6K2UUQ.js +2 -0
- package/dist/cdn/36DGXQLJ.js +2 -0
- package/dist/cdn/{2TDHJSMP.js → 3HXQ5Z4C.js} +1 -1
- package/dist/cdn/3HZI6MKD.js +2 -0
- package/dist/cdn/3OL7A2UC.js +2 -0
- package/dist/cdn/3Q7UJKKN.js +2 -0
- package/dist/cdn/3SG67WP5.js +2 -0
- package/dist/cdn/3ZVDEJPF.js +2 -0
- package/dist/cdn/42AN66SK.js +2 -0
- package/dist/cdn/46HNNQAD.js +2 -0
- package/dist/cdn/4CBRO7JP.js +2 -0
- package/dist/cdn/4E354KKM.js +2 -0
- package/dist/cdn/4QYVBXZT.js +2 -0
- package/dist/cdn/5MLBK66O.js +2 -0
- package/dist/cdn/5ZHNRQOW.js +2 -0
- package/dist/cdn/62TL6V4N.js +2 -0
- package/dist/cdn/67FEZD25.js +2 -0
- package/dist/cdn/{BKD7JSV2.js → 6CUXEL27.js} +1 -1
- package/dist/cdn/6GPAZV4Z.js +2 -0
- package/dist/cdn/6QI7DAS2.js +2 -0
- package/dist/cdn/6XDKSVRF.js +2 -0
- package/dist/cdn/6ZJNZZPC.js +2 -0
- package/dist/cdn/6ZYYG64M.js +2 -0
- package/dist/cdn/7AG3E7K6.js +2 -0
- package/dist/cdn/7JDXAVUG.js +2 -0
- package/dist/cdn/7JKFWVCY.js +2 -0
- package/dist/cdn/7VPB6Q55.js +63 -0
- package/dist/cdn/AJEQETRW.js +2 -0
- package/dist/cdn/{JE2376SE.js → AP7UWD4P.js} +1 -1
- package/dist/cdn/{OR6T5SB3.js → BNWJUQDF.js} +1 -1
- package/dist/cdn/BUYOYUA2.js +2 -0
- package/dist/cdn/BX7Q3V2Y.js +43 -0
- package/dist/cdn/BXPNB7VJ.js +2 -0
- package/dist/cdn/BZEKNJUA.js +2 -0
- package/dist/cdn/C6RUWLEJ.js +2 -0
- package/dist/cdn/CERDMRFQ.js +2 -0
- package/dist/cdn/DFECUYNW.js +2 -0
- package/dist/cdn/DGWOMELT.js +2 -0
- package/dist/cdn/DIWTHL4N.js +2 -0
- package/dist/cdn/DKUOQCHO.js +2 -0
- package/dist/cdn/{ZKZDKJ6D.js → DQL2JT6K.js} +1 -1
- package/dist/cdn/{2YZWRFCI.js → DTGPLVZF.js} +1 -1
- package/dist/cdn/DU2R3VC4.js +2 -0
- package/dist/cdn/E5HCHRAI.js +2 -0
- package/dist/cdn/EBL7YSRM.js +2 -0
- package/dist/cdn/EDGE3T36.js +2 -0
- package/dist/cdn/EETYTFHH.js +2 -0
- package/dist/cdn/{YZTBAUIO.js → EFMYI4L2.js} +1 -1
- package/dist/cdn/FINVGL3V.js +2 -0
- package/dist/cdn/FN2QMDEW.js +2 -0
- package/dist/cdn/FXXFSYNB.js +2 -0
- package/dist/cdn/GA4OWLSO.js +2 -0
- package/dist/cdn/GFUKRB6D.js +2 -0
- package/dist/cdn/GHDMQJG4.js +2 -0
- package/dist/cdn/{FRE56NBG.js → GY4SY4XC.js} +1 -1
- package/dist/cdn/H4TPPTVB.js +2 -0
- package/dist/cdn/HOIZXTOD.js +2 -0
- package/dist/cdn/{VDXESPJK.js → I4TKQB4A.js} +1 -1
- package/dist/cdn/{TWCJJCPC.js → IAMPUXPT.js} +1 -1
- package/dist/cdn/IQPJOVDL.js +2 -0
- package/dist/cdn/ITRJGXFV.js +93 -0
- package/dist/cdn/ITWLFQI4.js +2 -0
- package/dist/cdn/IWPJEUHY.js +2 -0
- package/dist/cdn/{7ZWYUHGK.js → IYICIRGI.js} +1 -1
- package/dist/cdn/JDW7ECBF.js +2 -0
- package/dist/cdn/JFGXTJY4.js +2 -0
- package/dist/cdn/JGTBDGJ7.js +2 -0
- package/dist/cdn/JLT5GCLY.js +2 -0
- package/dist/cdn/JTA223NH.js +2 -0
- package/dist/cdn/KA2MXQTR.js +2 -0
- package/dist/cdn/KAK6CNI7.js +2 -0
- package/dist/cdn/{CFRJU6VA.js → KRO5XRZ7.js} +1 -1
- package/dist/cdn/KRORL7QC.js +2 -0
- package/dist/cdn/KWL2D56D.js +3 -0
- package/dist/cdn/{QTAYXO5T.js → KXVXQYIB.js} +1 -1
- package/dist/cdn/L3YOPSRB.js +135 -0
- package/dist/cdn/{IN4JPZTY.js → LGKI24ZT.js} +1 -1
- package/dist/cdn/{JIJO4CAS.js → LVWAYUYZ.js} +1 -1
- package/dist/cdn/{Z6R3C4AK.js → MB32XRI5.js} +1 -1
- package/dist/cdn/ME6XACY6.js +2 -0
- package/dist/cdn/MSL36HAR.js +2 -0
- package/dist/cdn/MSSJRDR7.js +2 -0
- package/dist/cdn/N47MW5HI.js +9 -0
- package/dist/cdn/N5AG34NK.js +2 -0
- package/dist/cdn/N7XYFVOI.js +2 -0
- package/dist/cdn/NHVPNSNH.js +2 -0
- package/dist/cdn/{5HZNBMW6.js → NU4K2AV3.js} +1 -1
- package/dist/cdn/O2GPTWGF.js +3 -0
- package/dist/cdn/ODYYTLLQ.js +2 -0
- package/dist/cdn/{TRMFL7PT.js → ONRTCGLU.js} +1 -1
- package/dist/cdn/{RHCRPJWS.js → OPMM7QH5.js} +1 -1
- package/dist/cdn/OQBLBDR5.js +2 -0
- package/dist/cdn/OWODUQF2.js +2 -0
- package/dist/cdn/OXF2WDSW.js +2 -0
- package/dist/cdn/PM33STYQ.js +2 -0
- package/dist/cdn/PUHZVFK7.js +2 -0
- package/dist/cdn/QAXFE5DD.js +2 -0
- package/dist/cdn/{JPUUMGX5.js → QKRLO5CJ.js} +1 -1
- package/dist/cdn/QXPDVHB5.js +2 -0
- package/dist/cdn/R26RBXQW.js +2 -0
- package/dist/cdn/{NWVLGU2C.js → R45EMSQJ.js} +1 -1
- package/dist/cdn/R6KJVAX3.js +99 -0
- package/dist/cdn/RA2NMLMP.js +2 -0
- package/dist/cdn/RDRSZQAR.js +2 -0
- package/dist/cdn/RR56BOTV.js +2 -0
- package/dist/cdn/RT26JZP5.js +2 -0
- package/dist/cdn/RX64JXHI.js +170 -0
- package/dist/cdn/S4N5QMSN.js +2 -0
- package/dist/cdn/SCLYGIHM.js +2 -0
- package/dist/cdn/SGV47YVU.js +2 -0
- package/dist/cdn/SRWFOV5W.js +2 -0
- package/dist/cdn/{3NSHGKZA.js → TBSNDRRE.js} +1 -1
- package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
- package/dist/cdn/TQX5BOZG.js +2 -0
- package/dist/cdn/U2J4ST45.js +2 -0
- package/dist/cdn/U3V7PPC2.js +2 -0
- package/dist/cdn/{TXC7YBGL.js → UBMZBXT7.js} +1 -1
- package/dist/cdn/UCHX4CBR.js +2 -0
- package/dist/cdn/UCTXRTQZ.js +2 -0
- package/dist/cdn/ULGME5RT.js +2 -0
- package/dist/cdn/UWB23CG4.js +2 -0
- package/dist/cdn/VABNHOVG.js +2 -0
- package/dist/cdn/{URQML7KV.js → VQRMXBPQ.js} +1 -1
- package/dist/cdn/VWOBCSD6.js +4 -0
- package/dist/cdn/W6U2HMEK.js +2 -0
- package/dist/cdn/{MKSFNVXL.js → WNXDXB3M.js} +1 -1
- package/dist/cdn/{JN23JH3T.js → WOSWA2VI.js} +1 -1
- package/dist/cdn/WTKLB3R6.js +2 -0
- package/dist/cdn/{GAF4YT5N.js → XSEFGIVV.js} +1 -1
- package/dist/cdn/XYHIVGUK.js +2 -0
- package/dist/cdn/{M5PPX4ZX.js → Y4JOEFBJ.js} +1 -1
- package/dist/cdn/Y7ZCEONL.js +73 -0
- package/dist/cdn/YCMZ3RVZ.js +2 -0
- package/dist/cdn/YELHAJB3.js +2 -0
- package/dist/cdn/YH2OFXPU.js +2 -0
- package/dist/cdn/{I6IRHXWR.js → ZECUXVTO.js} +1 -1
- package/dist/cdn/{K2XSYDAP.js → ZNNEU5QW.js} +1 -1
- package/dist/cdn/{74T6IXSN.js → ZOOEWYFB.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/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-preview/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-status-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-type/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-navigation/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-review-layer-sharing/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/FieldIcons.js +24 -0
- package/dist/chunks/constants.js +7 -0
- package/dist/chunks/contextUsage.js +208 -0
- package/dist/chunks/createPortalTool.js +18 -0
- package/dist/chunks/fieldAddDelete.js +6 -6
- package/dist/chunks/functionalities.js +14 -9
- package/dist/chunks/groups.js +8 -61
- package/dist/chunks/groups2.js +23 -8
- package/dist/chunks/help.js +22 -0
- package/dist/chunks/info.js +2 -2
- package/dist/chunks/item.js +135 -33
- package/dist/chunks/item2.js +96 -122
- package/dist/chunks/itemThumbnail.js +21 -21
- package/dist/chunks/items.js +11 -11
- package/dist/chunks/layers.js +196 -0
- package/dist/chunks/loadClassificationData.js +26 -27
- package/dist/chunks/portal-browser.js +49 -46
- package/dist/chunks/portal-delete-items-review.js +1 -1
- package/dist/chunks/portal-item-badge.js +1 -1
- package/dist/chunks/portal-item-preview-sublayer.js +214 -0
- package/dist/chunks/portal-item-status-card.js +81 -0
- package/dist/chunks/portal-related-items-list-item.js +1 -1
- package/dist/chunks/portal.js +14 -10
- package/dist/chunks/portal2.js +22 -22
- package/dist/chunks/portalEntitySelection.js +61 -0
- package/dist/chunks/previewSessionController.js +33 -0
- package/dist/chunks/query.js +14 -14
- 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 +5 -5
- package/dist/chunks/string.js +19 -11
- package/dist/chunks/ui.js +1 -0
- package/dist/chunks/url.js +2 -2
- package/dist/chunks/user.js +67 -53
- package/dist/chunks/user2.js +10 -10
- package/dist/chunks/utils.js +35 -22
- package/dist/chunks/utils3.js +88 -657
- package/dist/chunks/utils4.js +663 -0
- package/dist/components/arcgis-portal-account-switcher/customElement.js +57 -54
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +27 -0
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +185 -137
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +38 -15
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +816 -2642
- package/dist/components/arcgis-portal-ai-assistant/index.js +5 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/groups.d.ts +28 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/users.d.ts +28 -0
- package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +41 -3
- package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +19 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/contextUsage.d.ts +46 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +26 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.js +46 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.d.ts +1 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.js +10 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +42 -1
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +49 -37
- package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -4
- package/dist/components/arcgis-portal-browser/customElement.d.ts +3 -0
- package/dist/components/arcgis-portal-browser/customElement.js +3 -2
- package/dist/components/arcgis-portal-browser/index.js +1 -0
- 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 +437 -333
- 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 +51 -5
- package/dist/components/arcgis-portal-entity-picker/customElement.js +204 -119
- package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
- package/dist/components/arcgis-portal-field-delete/customElement.js +87 -101
- 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 +68 -100
- package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
- package/dist/components/arcgis-portal-group-browser-preview/customElement.js +49 -40
- package/dist/components/arcgis-portal-group-browser-preview/index.js +1 -0
- package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -4
- package/dist/components/arcgis-portal-group-card/customElement.js +16 -16
- package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
- package/dist/components/arcgis-portal-item-badges/customElement.js +4 -4
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +37 -10
- package/dist/components/arcgis-portal-item-card/customElement.js +125 -86
- package/dist/components/arcgis-portal-item-card/index.js +4 -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 +181 -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-favorite/customElement.js +42 -29
- package/dist/components/arcgis-portal-item-preview/customElement.d.ts +263 -0
- package/dist/components/arcgis-portal-item-preview/customElement.js +137 -0
- package/dist/components/arcgis-portal-item-preview/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview/index.js +20 -0
- package/dist/components/arcgis-portal-item-preview/types.d.ts +14 -0
- package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +215 -0
- package/dist/components/arcgis-portal-item-preview-copy/customElement.js +46 -0
- package/dist/components/arcgis-portal-item-preview-copy/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview-copy/index.js +5 -0
- package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +216 -0
- package/dist/components/arcgis-portal-item-preview-field/customElement.js +34 -0
- package/dist/components/arcgis-portal-item-preview-field/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview-field/index.js +6 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +216 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/customElement.js +15 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/index.js +11 -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-status-card/customElement.d.ts +82 -0
- package/dist/components/arcgis-portal-item-status-card/customElement.js +12 -0
- package/dist/components/arcgis-portal-item-status-card/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-status-card/index.js +4 -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.d.ts +16 -14
- package/dist/components/arcgis-portal-item-type/customElement.js +25 -28
- package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
- package/dist/components/arcgis-portal-navigation/customElement.d.ts +10 -4
- package/dist/components/arcgis-portal-navigation/customElement.js +349 -351
- package/dist/components/arcgis-portal-navigation/index.js +4 -5
- package/dist/components/arcgis-portal-navigation/types.d.ts +3 -0
- package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +40 -0
- package/dist/components/arcgis-portal-preview-panel/customElement.js +40 -0
- package/dist/components/arcgis-portal-preview-panel/index.d.ts +1 -0
- package/dist/components/arcgis-portal-preview-panel/index.js +1 -0
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
- package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +139 -0
- package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +593 -0
- package/dist/components/arcgis-portal-review-layer-sharing/index.d.ts +1 -0
- package/dist/components/arcgis-portal-review-layer-sharing/index.js +10 -0
- package/dist/components/arcgis-portal-review-layer-sharing/types.d.ts +27 -0
- package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
- package/dist/components/arcgis-portal-review-related-items/customElement.js +46 -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-avatar/customElement.d.ts +2 -3
- package/dist/components/arcgis-portal-user-avatar/customElement.js +15 -16
- package/dist/components/arcgis-portal-user-popup/customElement.d.ts +4 -7
- package/dist/components/arcgis-portal-user-popup/customElement.js +128 -111
- 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.css-custom-data.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 +87 -0
- package/dist/index.js +305 -6
- package/dist/loader.js +22 -11
- package/dist/services/group.d.ts +17 -0
- package/dist/services/groups.d.ts +9 -0
- package/dist/services/item.d.ts +9 -0
- package/dist/types/item.d.ts +23 -11
- package/dist/types/layer.d.ts +27 -0
- package/dist/types/lumina.d.ts +82 -12
- package/dist/types/portalAssistantCurrentContext.d.ts +9 -0
- package/dist/types/portalEntityPicker.d.ts +3 -0
- package/dist/types/preact.d.ts +93 -12
- package/dist/types/react.d.ts +104 -12
- package/dist/types/services.d.ts +28 -1
- package/dist/types/stencil.d.ts +82 -12
- package/dist/types/user.d.ts +14 -10
- 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 +14 -13
- package/dist/cdn/23NXHNPU.js +0 -2
- package/dist/cdn/24QSQLRY.js +0 -2
- package/dist/cdn/2CN754CY.js +0 -2
- package/dist/cdn/2FQKDFEE.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/3FSPL34I.js +0 -170
- package/dist/cdn/3LEQ37YT.js +0 -68
- package/dist/cdn/4KTRAA2J.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/7LMZHJZG.js +0 -2
- package/dist/cdn/A2SQ4EMZ.js +0 -2
- package/dist/cdn/AICPYLWE.js +0 -4
- package/dist/cdn/AXOBMX3S.js +0 -2
- package/dist/cdn/AZOJHVAO.js +0 -2
- package/dist/cdn/BYHX3UWV.js +0 -2
- package/dist/cdn/CD5UWSCP.js +0 -2
- package/dist/cdn/D2YQWKME.js +0 -135
- package/dist/cdn/DDBXEXOV.js +0 -2
- package/dist/cdn/DHMNNIXZ.js +0 -2
- package/dist/cdn/DLI4XKJ3.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/EMJQI4MA.js +0 -2
- package/dist/cdn/EY5S6ICQ.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/GGDOGNH4.js +0 -150
- package/dist/cdn/GSOBDGLK.js +0 -2
- package/dist/cdn/GXM3XY3J.js +0 -2
- package/dist/cdn/HCNTXLUT.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/J5NPDIZM.js +0 -2
- package/dist/cdn/JOUR2FB2.js +0 -3
- package/dist/cdn/JWBUJT43.js +0 -2
- package/dist/cdn/K75JTQPW.js +0 -2
- package/dist/cdn/LISDTBEX.js +0 -2
- package/dist/cdn/LYLQCBVX.js +0 -2
- package/dist/cdn/MQK63FV7.js +0 -2
- package/dist/cdn/N4VOTJ25.js +0 -2
- package/dist/cdn/N5QLV56W.js +0 -2
- package/dist/cdn/OD5WXP7J.js +0 -2
- package/dist/cdn/OXPXXIWL.js +0 -2
- package/dist/cdn/PKA745KL.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/QROXYP6V.js +0 -2
- package/dist/cdn/QUOLQGKP.js +0 -2
- package/dist/cdn/QWHGLE3O.js +0 -2
- package/dist/cdn/R3PK7XOP.js +0 -2
- package/dist/cdn/REM3KCX6.js +0 -2
- package/dist/cdn/RNWICLRH.js +0 -2
- package/dist/cdn/RQYNPDN3.js +0 -2
- package/dist/cdn/S6F7U36E.js +0 -400
- package/dist/cdn/SMX2LEJB.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/UEP2NYJK.js +0 -2
- package/dist/cdn/UZP4YMTE.js +0 -2
- package/dist/cdn/VNU4QX7M.js +0 -41
- package/dist/cdn/XYMBRPC7.js +0 -2
- package/dist/cdn/YB3DR4VO.js +0 -2
- package/dist/cdn/YYTEJVBL.js +0 -2
- package/dist/cdn/Z3HGPBOR.js +0 -2
- package/dist/cdn/ZDDN7UKS.js +0 -2
- package/dist/cdn/ZXNF77OB.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/cdn/{DAAON2UO.js → UOXUUCE7.js} +0 -0
package/dist/chunks/portal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { i } from "./functionalities.js";
|
|
3
|
-
import { a,
|
|
4
|
-
function
|
|
3
|
+
import { a, b as c } from "./url.js";
|
|
4
|
+
function h(e) {
|
|
5
5
|
return a(e.restUrl);
|
|
6
6
|
}
|
|
7
7
|
function u(e, t) {
|
|
@@ -68,6 +68,9 @@ function m(e, t, n) {
|
|
|
68
68
|
}
|
|
69
69
|
const s = (e) => e.sourceJSON, o = (e) => e.portalProperties ?? {};
|
|
70
70
|
function w(e) {
|
|
71
|
+
return s(e)?.portalDeploymentType === "ArcGISEnterpriseOnKubernetes";
|
|
72
|
+
}
|
|
73
|
+
function H(e) {
|
|
71
74
|
const t = o(e).homePage === "modern";
|
|
72
75
|
return e.isPortal ? t || g(e) : t || f(e);
|
|
73
76
|
}
|
|
@@ -78,7 +81,7 @@ function f(e) {
|
|
|
78
81
|
function g(e) {
|
|
79
82
|
return e.isPortal && o(e).homePage === "modernOnly";
|
|
80
83
|
}
|
|
81
|
-
function
|
|
84
|
+
function O(e) {
|
|
82
85
|
return e.type === "gallery" && !!e.groupId;
|
|
83
86
|
}
|
|
84
87
|
function k(e) {
|
|
@@ -86,14 +89,15 @@ function k(e) {
|
|
|
86
89
|
return e?.isPortal ? t.supportsHostedNotebooks : !(i(["Trial Developer", "Trial", "Trial Press"], t.subscriptionInfo?.type) || t.subscriptionInfo?.options?.includes("Developer"));
|
|
87
90
|
}
|
|
88
91
|
export {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
h as a,
|
|
93
|
+
S as b,
|
|
94
|
+
w as c,
|
|
95
|
+
s as d,
|
|
96
|
+
O as e,
|
|
94
97
|
u as f,
|
|
95
|
-
|
|
96
|
-
|
|
98
|
+
P as g,
|
|
99
|
+
H as h,
|
|
97
100
|
T as i,
|
|
101
|
+
m as j,
|
|
98
102
|
k as n
|
|
99
103
|
};
|
package/dist/chunks/portal2.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import
|
|
3
|
-
import { f as n, r as
|
|
2
|
+
import i from "@arcgis/core/request.js";
|
|
3
|
+
import { f as n, r as u } from "./request.js";
|
|
4
4
|
import { a } from "./portal.js";
|
|
5
|
-
import {
|
|
6
|
-
async function
|
|
5
|
+
import { c as r } from "./requests.js";
|
|
6
|
+
async function m(e) {
|
|
7
7
|
const s = `${e.restUrl}/portals/${e.id}/approvedApps`;
|
|
8
8
|
return await r(s, { query: { returnAllApps: !1 } });
|
|
9
9
|
}
|
|
10
|
-
async function
|
|
10
|
+
async function y(e) {
|
|
11
11
|
const s = `${e.restUrl}/portals/self/subscriptionInfo`, { result: t } = await r(s);
|
|
12
12
|
return t?.orgCapabilities || [];
|
|
13
13
|
}
|
|
14
|
-
async function
|
|
15
|
-
const
|
|
16
|
-
return
|
|
14
|
+
async function d(e, s) {
|
|
15
|
+
const t = `${e.restUrl}/portals/self/settings`, { result: o } = await r(t, s);
|
|
16
|
+
return o;
|
|
17
17
|
}
|
|
18
|
-
async function
|
|
18
|
+
async function w(e) {
|
|
19
19
|
const s = `${e.restUrl}/portals/self/servers`;
|
|
20
20
|
return (await r(s))?.result?.servers || [];
|
|
21
21
|
}
|
|
22
|
-
async function
|
|
22
|
+
async function l(e) {
|
|
23
23
|
const s = `${e.restUrl}/portals/self/signinSettings`;
|
|
24
24
|
return (await r(s)).result || {};
|
|
25
25
|
}
|
|
26
|
-
async function
|
|
27
|
-
return e?.user ? (await
|
|
26
|
+
async function $(e) {
|
|
27
|
+
return e?.user ? (await l(e))?.blockedApps || [] : [];
|
|
28
28
|
}
|
|
29
29
|
async function S(e) {
|
|
30
30
|
return (await n({
|
|
31
|
-
requester: async () => await
|
|
31
|
+
requester: async () => await i(`${a(e)}portals/self/userDefaultSettings`, { query: { f: "json" } }),
|
|
32
32
|
key: "memberDefaults",
|
|
33
33
|
id: e.id
|
|
34
34
|
})).data;
|
|
35
35
|
}
|
|
36
|
-
async function
|
|
36
|
+
async function b(e) {
|
|
37
37
|
try {
|
|
38
38
|
return { result: await n({
|
|
39
|
-
requester: async () => await
|
|
39
|
+
requester: async () => await u({
|
|
40
40
|
url: `${a(e)}portals/self/resources/home.page.json`,
|
|
41
41
|
portal: e
|
|
42
42
|
}),
|
|
@@ -48,12 +48,12 @@ async function $(e) {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
S as a,
|
|
52
|
+
m as b,
|
|
53
|
+
y as c,
|
|
54
|
+
l as d,
|
|
55
|
+
w as e,
|
|
56
56
|
d as f,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
b as g,
|
|
58
|
+
$ as h
|
|
59
59
|
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import e from "zod";
|
|
3
|
+
const l = ["item", "group", "user"], u = e.object({
|
|
4
|
+
query: e.string().trim().min(1),
|
|
5
|
+
initialScope: e.enum(["all", "myContent", "myGroups", "myOrganization"]).optional(),
|
|
6
|
+
scopeSelectionDisabled: e.boolean().optional()
|
|
7
|
+
}), m = e.object({
|
|
8
|
+
entityType: e.enum(l),
|
|
9
|
+
searchTerm: e.string().trim().min(1).optional().describe("Suggested search text from the unresolved name or title. Omit when no search text is known."),
|
|
10
|
+
picker: u.optional().describe(
|
|
11
|
+
"Picker settings returned by a companion tool. Copy them unchanged; put the user's editable search text in searchTerm, not query. These filters do not establish operation eligibility."
|
|
12
|
+
)
|
|
13
|
+
}), y = m.extend({
|
|
14
|
+
kind: e.literal("portal-entity-selection"),
|
|
15
|
+
portalContext: e.object({
|
|
16
|
+
portalUrl: e.string().min(1),
|
|
17
|
+
username: e.string().min(1)
|
|
18
|
+
}).optional()
|
|
19
|
+
}), o = e.string().trim().min(1), a = e.string().trim().min(1), c = e.discriminatedUnion("entityType", [
|
|
20
|
+
e.object({ entityType: e.literal("item"), id: a, label: o }),
|
|
21
|
+
e.object({ entityType: e.literal("group"), id: a, label: o }),
|
|
22
|
+
e.object({
|
|
23
|
+
entityType: e.literal("user"),
|
|
24
|
+
id: a.optional(),
|
|
25
|
+
label: o,
|
|
26
|
+
username: e.string().trim().min(1)
|
|
27
|
+
})
|
|
28
|
+
]);
|
|
29
|
+
function d(n) {
|
|
30
|
+
return l.filter((t) => n?.[t] !== !1);
|
|
31
|
+
}
|
|
32
|
+
function b(n) {
|
|
33
|
+
const t = y.safeParse(n);
|
|
34
|
+
return t.success ? t.data : void 0;
|
|
35
|
+
}
|
|
36
|
+
function g(n) {
|
|
37
|
+
const { entity: t, entityType: i } = n, r = i === "user" ? {
|
|
38
|
+
entityType: i,
|
|
39
|
+
id: t.id || void 0,
|
|
40
|
+
label: t.fullName || t.username,
|
|
41
|
+
username: t.username
|
|
42
|
+
} : { entityType: i, id: t.id, label: t.title || t.id }, s = c.safeParse(r);
|
|
43
|
+
return s.success ? s.data : void 0;
|
|
44
|
+
}
|
|
45
|
+
function h(n, t) {
|
|
46
|
+
if (typeof n == "string")
|
|
47
|
+
try {
|
|
48
|
+
const i = JSON.parse(n), r = c.safeParse(i);
|
|
49
|
+
return r.success && r.data.entityType === t ? r.data : void 0;
|
|
50
|
+
} catch {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
c as a,
|
|
56
|
+
d as b,
|
|
57
|
+
b as g,
|
|
58
|
+
m as p,
|
|
59
|
+
h as r,
|
|
60
|
+
g as t
|
|
61
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
function u(e) {
|
|
3
|
+
return !e || !(e instanceof HTMLElement) ? null : e;
|
|
4
|
+
}
|
|
5
|
+
async function c(e) {
|
|
6
|
+
if (e) {
|
|
7
|
+
if (e.restoreFocus) {
|
|
8
|
+
await e.restoreFocus();
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
if (e.setFocus) {
|
|
12
|
+
await e.setFocus();
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
e.focus?.();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function t(e) {
|
|
19
|
+
let o = null;
|
|
20
|
+
const r = async (n = {}) => {
|
|
21
|
+
e.onClose(), n.restoreFocus && await c(o);
|
|
22
|
+
};
|
|
23
|
+
return { handlePreview: (n, s) => {
|
|
24
|
+
if (!n?.id) {
|
|
25
|
+
r();
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
o = u(s), e.onOpen({ preview: n });
|
|
29
|
+
}, closePreview: r };
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
t as c
|
|
33
|
+
};
|
package/dist/chunks/query.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { a as p } from "./functionalities.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { e as y } from "./groups.js";
|
|
4
|
+
import { b as l } from "./url.js";
|
|
5
|
+
import { g as O, a as g } from "./portal2.js";
|
|
6
|
+
import { d as R, h as d, e as m } from "./portal.js";
|
|
7
7
|
const f = '-typekeywords:("MapAreaPackage") -type:("Map Area" OR "Indoors Map Configuration" OR "Code Attachment")';
|
|
8
8
|
async function b(e) {
|
|
9
9
|
const t = R(e);
|
|
@@ -30,7 +30,7 @@ async function b(e) {
|
|
|
30
30
|
r = n(c, r);
|
|
31
31
|
});
|
|
32
32
|
} else u && s.push(u);
|
|
33
|
-
s.forEach((a) => {
|
|
33
|
+
if (s.forEach((a) => {
|
|
34
34
|
r = n(a, r);
|
|
35
35
|
}), e.featuredGroups?.forEach((a) => {
|
|
36
36
|
if ("id" in a && a.id) {
|
|
@@ -40,15 +40,15 @@ async function b(e) {
|
|
|
40
40
|
const i = `(${Object.entries(a).map((c) => `${c[0]}:"${c[1]}"`).join(" ")})`;
|
|
41
41
|
r = n(i, r, !0);
|
|
42
42
|
}
|
|
43
|
-
})
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
}), e.user)
|
|
44
|
+
try {
|
|
45
|
+
(await g(e))?.groups?.forEach((o) => {
|
|
46
|
+
const i = `id:${o}`;
|
|
47
|
+
r = n(i, r);
|
|
48
|
+
});
|
|
49
|
+
} catch (a) {
|
|
50
|
+
console.warn("Error fetching member defaults:", a);
|
|
51
|
+
}
|
|
52
52
|
return r.length > 0 ? `(${r.join(" OR ")})` : "";
|
|
53
53
|
}
|
|
54
54
|
function n(e, t, r) {
|
package/dist/chunks/request.js
CHANGED
|
@@ -1,65 +1,71 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import
|
|
2
|
+
import q from "@arcgis/core/identity/IdentityManager.js";
|
|
3
3
|
import w from "@arcgis/core/request.js";
|
|
4
|
-
import { i as
|
|
5
|
-
const
|
|
6
|
-
async function A({ requester: t, key: e, id: n, cacheOption:
|
|
7
|
-
const
|
|
8
|
-
if (
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
if (
|
|
13
|
-
const { expireAfter: d, getExpireAfterFromResult:
|
|
14
|
-
|
|
4
|
+
import { i as R, b, a as g } from "./portal.js";
|
|
5
|
+
const a = {}, o = {}, s = {};
|
|
6
|
+
async function A({ requester: t, key: e, id: n, cacheOption: r }) {
|
|
7
|
+
const i = s[e]?.[n]?.expireAt, c = !!i && (/* @__PURE__ */ new Date()).getTime() > i;
|
|
8
|
+
if (a[e]?.[n] && !c)
|
|
9
|
+
return a[e][n];
|
|
10
|
+
o[e] || (o[e] = {}), (!o[e][n] || c) && (o[e][n] = t());
|
|
11
|
+
const u = await o[e][n];
|
|
12
|
+
if (a[e] || (a[e] = {}), s[e] || (s[e] = {}), a[e][n] = u, r) {
|
|
13
|
+
const { expireAfter: d, getExpireAfterFromResult: f } = r, h = f || d ? (/* @__PURE__ */ new Date()).getTime() + (f?.(u) ?? d ?? 0) : null;
|
|
14
|
+
s[e][n] = { ...s[e][n], expireAt: h };
|
|
15
15
|
}
|
|
16
|
-
return
|
|
16
|
+
return u;
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
function W(t, e) {
|
|
19
|
+
return a[t]?.[e];
|
|
20
|
+
}
|
|
21
|
+
function X(t, e) {
|
|
22
|
+
e ? (delete a[t]?.[e], delete o[t]?.[e], delete s[t]?.[e]) : (Reflect.deleteProperty(a, t), Reflect.deleteProperty(o, t), Reflect.deleteProperty(s, t));
|
|
23
|
+
}
|
|
24
|
+
async function j({
|
|
19
25
|
url: t,
|
|
20
26
|
portal: e,
|
|
21
27
|
params: n = {},
|
|
22
|
-
options:
|
|
23
|
-
method:
|
|
24
|
-
abortControllerId:
|
|
25
|
-
excludeJson:
|
|
28
|
+
options: r = {},
|
|
29
|
+
method: i,
|
|
30
|
+
abortControllerId: c,
|
|
31
|
+
excludeJson: u
|
|
26
32
|
}) {
|
|
27
|
-
const d =
|
|
28
|
-
if (!t.includes("f=") && !
|
|
29
|
-
|
|
30
|
-
else if (
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
+
const d = E(c)?.signal, { customToken: f, addTokenManually: h, addSSL: x, useProxy: C } = r, p = { ...n };
|
|
34
|
+
if (!t.includes("f=") && !u && (p.f = "json"), f)
|
|
35
|
+
p.token = f;
|
|
36
|
+
else if (h !== !1) {
|
|
37
|
+
const m = await M(e);
|
|
38
|
+
m && (p.token = m);
|
|
33
39
|
}
|
|
34
|
-
const
|
|
35
|
-
query:
|
|
36
|
-
method:
|
|
37
|
-
...
|
|
38
|
-
timeout:
|
|
39
|
-
useProxy:
|
|
40
|
-
...
|
|
41
|
-
},
|
|
42
|
-
return
|
|
40
|
+
const P = x ? U(t, e) : t, S = {
|
|
41
|
+
query: p,
|
|
42
|
+
method: i || "auto",
|
|
43
|
+
...r,
|
|
44
|
+
timeout: r.timeout || 0,
|
|
45
|
+
useProxy: C,
|
|
46
|
+
...r?.disableIdentityLookup ? { authMode: "anonymous" } : {}
|
|
47
|
+
}, T = await w(P, { signal: d, ...S });
|
|
48
|
+
return c && (l[c] = void 0), T.data;
|
|
43
49
|
}
|
|
44
50
|
const l = {};
|
|
45
|
-
function
|
|
51
|
+
function E(t) {
|
|
46
52
|
if (t)
|
|
47
53
|
return l[t] && l[t].abort(), l[t] = new AbortController(), l[t];
|
|
48
54
|
}
|
|
49
55
|
async function M(t) {
|
|
50
|
-
const e =
|
|
56
|
+
const e = R(t);
|
|
51
57
|
if (!t?.isPortal || !e)
|
|
52
|
-
return
|
|
58
|
+
return b(t);
|
|
53
59
|
const n = t?.user;
|
|
54
60
|
if (!n && e)
|
|
55
61
|
return;
|
|
56
|
-
const { token:
|
|
62
|
+
const { token: r } = await A({
|
|
57
63
|
requester: async () => await L(t),
|
|
58
64
|
key: "platformSelf",
|
|
59
65
|
id: n?.id ?? t.id ?? "<unknown>",
|
|
60
|
-
cacheOption: { getExpireAfterFromResult: (
|
|
66
|
+
cacheOption: { getExpireAfterFromResult: (i) => i.expires_in }
|
|
61
67
|
});
|
|
62
|
-
return
|
|
68
|
+
return r;
|
|
63
69
|
}
|
|
64
70
|
const L = async (t) => {
|
|
65
71
|
const n = {
|
|
@@ -73,7 +79,7 @@ const L = async (t) => {
|
|
|
73
79
|
method: "post"
|
|
74
80
|
})).data;
|
|
75
81
|
}, v = async (t) => (await A({
|
|
76
|
-
requester: async () => await
|
|
82
|
+
requester: async () => await q.getCredential(g(t), { oAuthPopupConfirmation: !1 }),
|
|
77
83
|
key: "credential",
|
|
78
84
|
id: t.user?.id ?? "<unknown>"
|
|
79
85
|
})).oAuthState?.appId ?? "arcgisonline";
|
|
@@ -81,7 +87,9 @@ function U(t, e) {
|
|
|
81
87
|
return window.location.protocol === "https:" || e.allSSL ? t.replace("http:", "https:") : t;
|
|
82
88
|
}
|
|
83
89
|
export {
|
|
90
|
+
X as c,
|
|
84
91
|
A as f,
|
|
85
92
|
M as g,
|
|
86
|
-
|
|
93
|
+
W as i,
|
|
94
|
+
j as r
|
|
87
95
|
};
|
package/dist/chunks/requests.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import o from "@arcgis/core/request.js";
|
|
3
3
|
import { once as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
async function
|
|
4
|
+
async function j(r, s) {
|
|
5
5
|
const t = `${r}/portals/self/classification/classificationSchema`, c = {};
|
|
6
6
|
try {
|
|
7
7
|
const e = (await o(t, { query: { f: "json" }, signal: s })).data;
|
|
@@ -14,7 +14,7 @@ async function g(r, s) {
|
|
|
14
14
|
}
|
|
15
15
|
return c;
|
|
16
16
|
}
|
|
17
|
-
async function
|
|
17
|
+
async function R(r, s, t) {
|
|
18
18
|
const c = `${r}/portals/self/classification/validateClassification`, a = { classificationValue: JSON.stringify(s), f: "json" }, e = {};
|
|
19
19
|
try {
|
|
20
20
|
const n = await o(c, { query: a, method: "post", signal: t.signal });
|
|
@@ -107,11 +107,11 @@ async function U(r, s, t = "results", c = !1) {
|
|
|
107
107
|
}), e;
|
|
108
108
|
}
|
|
109
109
|
export {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
j as a,
|
|
111
|
+
C as b,
|
|
112
|
+
y as c,
|
|
113
113
|
U as f,
|
|
114
|
-
|
|
114
|
+
x as r,
|
|
115
115
|
$ as u,
|
|
116
|
-
|
|
116
|
+
R as v
|
|
117
117
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
const c = /* @__PURE__ */ new WeakMap();
|
|
3
|
+
function r(t, e) {
|
|
4
|
+
c.set(t, [...c.get(t) ?? [], e]);
|
|
5
|
+
}
|
|
6
|
+
function a(t, e) {
|
|
7
|
+
const o = c.get(t) ?? [];
|
|
8
|
+
return o.filter(({ text: n }) => {
|
|
9
|
+
const s = e.indexOf(n), i = s + n.length;
|
|
10
|
+
return (
|
|
11
|
+
// The selected text must still appear exactly once in the submitted message.
|
|
12
|
+
s !== -1 && !e.includes(n, s + 1) && // Different selections with the same text cannot be resolved to a single ID.
|
|
13
|
+
o.filter((d) => d.text === n).length === 1 && // Require a whole mention, not a substring inside another token.
|
|
14
|
+
(s === 0 || /\s/u.test(e[s - 1])) && (i === e.length || /\s/u.test(e[i]))
|
|
15
|
+
);
|
|
16
|
+
}).map(({ part: n }) => n);
|
|
17
|
+
}
|
|
18
|
+
function g(t) {
|
|
19
|
+
c.delete(t);
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
r as a,
|
|
23
|
+
g as c,
|
|
24
|
+
a as g
|
|
25
|
+
};
|
package/dist/chunks/services.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
const o = (t) =>
|
|
4
|
-
function u(t,
|
|
2
|
+
import { b as a, a as i } from "./portal.js";
|
|
3
|
+
const o = (t) => "thumbnailUrl" in t;
|
|
4
|
+
function u(t, n, r = !1) {
|
|
5
5
|
if (o(t))
|
|
6
6
|
return t.thumbnailUrl;
|
|
7
7
|
const s = t.thumbnail;
|
|
@@ -9,8 +9,8 @@ function u(t, r, n = !1) {
|
|
|
9
9
|
return null;
|
|
10
10
|
if (s.startsWith("http"))
|
|
11
11
|
return s;
|
|
12
|
-
const e = a(
|
|
13
|
-
return `${
|
|
12
|
+
const e = a(n);
|
|
13
|
+
return `${r ? "https://www.arcgis.com/sharing/rest/" : i(n)}community/users/${t.username}/info/${s}${e && !r ? `?token=${e}` : ""}`;
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
16
16
|
u as g
|
package/dist/chunks/string.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { s as a } from "./dom.js";
|
|
3
|
-
function
|
|
3
|
+
function i(e) {
|
|
4
4
|
const r = /(https?:\/\/[^\s]+)/gu;
|
|
5
5
|
return e?.replace(r, (t) => `<a href="${t}" target="_blank">${t}</a>`);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function c(e) {
|
|
8
8
|
return e?.replace(/(?:\r)/gu, " ").replace(/(?:\n)/gu, " ");
|
|
9
9
|
}
|
|
10
10
|
function s(e) {
|
|
@@ -22,21 +22,29 @@ function u(e = "") {
|
|
|
22
22
|
const r = a(e);
|
|
23
23
|
return ["id:", "title:", "type:", "typekeywords:", "owner:"].some((n) => e.includes(n)) ? r.replace(/[<>\/\\?]/gu, "\\$&").trim() : r.replace(/[\[\]\{\}\(\)\-+:<>\/\\?]/gu, "\\$&").trim();
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function m(e) {
|
|
26
26
|
const r = u(e.replace(/\s+/gu, " "));
|
|
27
27
|
if (r)
|
|
28
28
|
return `title:"${r.replace(/"/gu, '\\"')}"`;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
30
|
+
function g(e) {
|
|
31
|
+
return `"${e.replace(/[\\"]/gu, "\\$&")}"`;
|
|
32
|
+
}
|
|
33
|
+
function f(...e) {
|
|
34
|
+
return e.map((r) => r?.trim()).filter((r) => !!r).map((r) => `(${r})`).join(" AND ");
|
|
35
|
+
}
|
|
36
|
+
function $(e) {
|
|
37
|
+
return o(c(i(s(e))));
|
|
32
38
|
}
|
|
33
|
-
function
|
|
39
|
+
function T(e) {
|
|
34
40
|
return e?.endsWith("/") ? e.slice(0, e.length - 1) : e;
|
|
35
41
|
}
|
|
36
42
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
43
|
+
f as a,
|
|
44
|
+
u as b,
|
|
45
|
+
m as c,
|
|
46
|
+
T as d,
|
|
47
|
+
$ as g,
|
|
48
|
+
g as q,
|
|
49
|
+
d as r
|
|
42
50
|
};
|
package/dist/chunks/ui.js
CHANGED
package/dist/chunks/url.js
CHANGED