@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
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { LitElement as
|
|
2
|
+
import { c as T } from "../../chunks/runtime.js";
|
|
3
|
+
import { keyed as M } from "lit/directives/keyed.js";
|
|
4
|
+
import { LitElement as K, createEvent as $, safeClassMap as R, nothing as E } from "@arcgis/lumina";
|
|
5
5
|
import { html as d, svg as N } from "lit";
|
|
6
|
-
import { s as
|
|
7
|
-
import { g as
|
|
6
|
+
import { s as H } from "../../chunks/portal-account-switcher.js";
|
|
7
|
+
import { g as P, a as W, l as B, u as D } from "../../chunks/user.js";
|
|
8
8
|
import p from "@arcgis/core/identity/IdentityManager.js";
|
|
9
|
-
import { t as
|
|
10
|
-
import { u as
|
|
11
|
-
import { m as
|
|
9
|
+
import { t as J } from "../../chunks/functionalities.js";
|
|
10
|
+
import { u as j } from "../../chunks/useT9n.js";
|
|
11
|
+
import { m as q } from "../../chunks/icons.js";
|
|
12
12
|
import { substitute as w } from "@arcgis/core/intl.js";
|
|
13
|
-
import { g as
|
|
14
|
-
|
|
13
|
+
import { g as z } from "../../chunks/services.js";
|
|
14
|
+
import { createRef as C, ref as L } from "lit/directives/ref.js";
|
|
15
|
+
const y = 1260 * 1e3, F = 2500;
|
|
15
16
|
function _(r, e = "_blank", s = 582, t = 670) {
|
|
16
17
|
const i = window.screenLeft ?? 0, n = window.screenTop ?? 0, a = window.innerWidth || document.documentElement.clientWidth || window.screen.width, o = window.innerHeight || document.documentElement.clientHeight || window.screen.height, c = a / 2 - s / 2 + i, l = o / 2 - t / 2 + n, u = window.open(r, e, `scrollbars=no, width=${s}, height=${t}, top=${l}, left=${c}`);
|
|
17
18
|
return u?.focus(), u;
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function G(r) {
|
|
20
21
|
const e = p.findOAuthInfo(r.url), { locale: s = "en", expiration: t = y } = e ?? {}, i = new URLSearchParams({
|
|
21
22
|
locale: s,
|
|
22
23
|
// Linking accounts ALWAYS uses the "arcgisonline" client id
|
|
@@ -58,7 +59,7 @@ function U(r) {
|
|
|
58
59
|
}), c = `${e.restBaseUrl}/oauth2/signout?${o.toString()}`, l = document.createElement("iframe");
|
|
59
60
|
l.src = c, l.style.display = "none", document.body.appendChild(l);
|
|
60
61
|
}
|
|
61
|
-
function
|
|
62
|
+
function Q(r, e, s) {
|
|
62
63
|
const t = h(r.orgUrlKey, e), i = p.findOAuthInfo(t), { appId: n, locale: a = "en", expiration: o = y } = i ?? {}, c = b(r.provider), l = new URLSearchParams({
|
|
63
64
|
locale: a,
|
|
64
65
|
client_id: s ?? n ?? "arcgisonline",
|
|
@@ -78,7 +79,7 @@ function F(r, e, s) {
|
|
|
78
79
|
}), u = `${I(r, e)}?${l.toString()}`;
|
|
79
80
|
_(u);
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function V({
|
|
82
83
|
accounts: r,
|
|
83
84
|
clientId: e = "arcgisonline",
|
|
84
85
|
usersToFilter: s = [],
|
|
@@ -93,14 +94,14 @@ function G({
|
|
|
93
94
|
return n[a.username] = o, (s.includes(a.username) || s.includes(a.username.toLowerCase()) || t === "org" && a.orgUrlKey || e === "esriapps" && a.userType !== "both") && (o.allowed = !1), n;
|
|
94
95
|
}, i), i;
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function X({
|
|
97
98
|
account: r,
|
|
98
99
|
credential: e,
|
|
99
100
|
clientId: s,
|
|
100
101
|
portal: t,
|
|
101
102
|
redirectUri: i
|
|
102
103
|
}) {
|
|
103
|
-
const n = b(r.provider), a = I(r, t), o = i ||
|
|
104
|
+
const n = b(r.provider), a = I(r, t), o = i || x(r, t), c = new URLSearchParams({
|
|
104
105
|
client_id: s,
|
|
105
106
|
redirect_uri: o,
|
|
106
107
|
parent: window.location.origin,
|
|
@@ -113,9 +114,9 @@ function Q({
|
|
|
113
114
|
return `${a}?${c.toString()}`;
|
|
114
115
|
}
|
|
115
116
|
function b(r) {
|
|
116
|
-
return
|
|
117
|
+
return Y(r) ? "social" : r === "enterprise" ? "enterprise" : r.includes("oidc") ? "oidc" : "default";
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
+
function Y(r) {
|
|
119
120
|
return ["apple", "facebook", "github", "google"].includes(r);
|
|
120
121
|
}
|
|
121
122
|
function I(r, e) {
|
|
@@ -137,14 +138,14 @@ function I(r, e) {
|
|
|
137
138
|
function h(r, e) {
|
|
138
139
|
return r?.startsWith("https://") ? r : r && e.customBaseUrl ? `https://${r}.${e.customBaseUrl}` : `https://${e.portalHostname}`;
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
+
function x(r, e) {
|
|
141
142
|
return `${h(r.orgUrlKey, e)}/home/accountswitcher-callback.html`;
|
|
142
143
|
}
|
|
143
|
-
function
|
|
144
|
+
function Z(r, e) {
|
|
144
145
|
return p.findCredential(h(r.orgUrlKey, e), r.username);
|
|
145
146
|
}
|
|
146
|
-
function
|
|
147
|
-
const s =
|
|
147
|
+
function ee(r, e) {
|
|
148
|
+
const s = Z(r, e);
|
|
148
149
|
if (s)
|
|
149
150
|
return s;
|
|
150
151
|
const t = h(r.orgUrlKey, e), i = `${t}/home/check_sign_in_status.html#state=${JSON.stringify({
|
|
@@ -152,16 +153,16 @@ function Y(r, e) {
|
|
|
152
153
|
server: t,
|
|
153
154
|
orgKey: t
|
|
154
155
|
})}`;
|
|
155
|
-
|
|
156
|
+
te(i, `iframe__for-${t}`);
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
+
function te(r, e) {
|
|
158
159
|
const s = document.createElement("iframe");
|
|
159
160
|
s.src = r, s.id = e, s.style.display = "none", document.body.appendChild(s);
|
|
160
161
|
}
|
|
161
162
|
const S = 100;
|
|
162
|
-
class
|
|
163
|
+
class se extends K {
|
|
163
164
|
constructor() {
|
|
164
|
-
super(), this.messages =
|
|
165
|
+
super(), this.messages = j({ blocking: !0 }), this.targetUser = "", this.targetToken = "", this.accountAccess = {}, this.remainingSignouts = 0, this.signoutHandle = 0, this.rootDialogRef = C(), this.dialogAlertRef = C(), this.linkedAccounts = [], this.loading = !1, this.signedInStatus = {}, this.showAssociatedAccountsWarning = !1, this.signedInAccounts = [], this.clientId = "arcgisonline", this.signout = !1, this.signoutOptions = {
|
|
165
166
|
redirectToClientUri: !1,
|
|
166
167
|
displaySignoutComplete: !1
|
|
167
168
|
}, this.arcgisAccountSwitch = $(), this.arcgisClose = $(), this.arcgisSignoutComplete = $(), this.listenOn(window, "message", this.handleMessageEvent);
|
|
@@ -170,7 +171,7 @@ class ee extends T {
|
|
|
170
171
|
this.properties = { linkedAccounts: 16, userAccounts: 16, user: 16, credential: 16, alertOptions: 16, loading: 16, signedInStatus: 16, showAssociatedAccountsWarning: 16, signedInAccounts: 16, portal: 0, clientId: 1, redirectUri: 1, signout: 5, signoutOptions: 0 };
|
|
171
172
|
}
|
|
172
173
|
static {
|
|
173
|
-
this.styles =
|
|
174
|
+
this.styles = H;
|
|
174
175
|
}
|
|
175
176
|
willUpdate(e) {
|
|
176
177
|
if (e.has("portal") && (this.user = this.portal?.user), (e.has("portal") || e.has("user")) && this.portal && this.user) {
|
|
@@ -181,20 +182,20 @@ class ee extends T {
|
|
|
181
182
|
if (this.signout) {
|
|
182
183
|
const { signedInStatus: s, linkedAccounts: t, portal: i, signoutOptions: n, clientId: a, user: o, redirectUri: c } = this, l = Object.keys(s).filter((k) => s[k] !== null).map((k) => t.find((O) => O.username === k));
|
|
183
184
|
this.remainingSignouts = l.length + 1;
|
|
184
|
-
const u = h(i.urlKey ?? "", i),
|
|
185
|
-
let { displaySignoutComplete:
|
|
186
|
-
l.length > 0 && (
|
|
185
|
+
const u = h(i.urlKey ?? "", i), m = `${u}/sharing/rest`;
|
|
186
|
+
let { displaySignoutComplete: f = !0, redirectToClientUri: g = !0 } = n;
|
|
187
|
+
l.length > 0 && (f = !1, g = !1), this.loading = !0;
|
|
187
188
|
const A = p.findCredential(u, o?.id || o?.username);
|
|
188
189
|
U({
|
|
189
|
-
displaySignoutComplete:
|
|
190
|
+
displaySignoutComplete: f,
|
|
190
191
|
redirectToClientUri: g,
|
|
191
192
|
clientId: a,
|
|
192
|
-
config: { baseUrl: u, restBaseUrl:
|
|
193
|
+
config: { baseUrl: u, restBaseUrl: m },
|
|
193
194
|
token: A?.token,
|
|
194
195
|
clientUri: g ? c : void 0
|
|
195
196
|
}), this.signoutHandle = window.setTimeout(() => {
|
|
196
|
-
this.remainingSignouts -= 1, this.finishSignout({ accountOrigin: u, redirectToClientUri: g, displaySignoutComplete:
|
|
197
|
-
},
|
|
197
|
+
this.remainingSignouts -= 1, this.finishSignout({ accountOrigin: u, redirectToClientUri: g, displaySignoutComplete: f });
|
|
198
|
+
}, F);
|
|
198
199
|
}
|
|
199
200
|
return;
|
|
200
201
|
}
|
|
@@ -242,8 +243,8 @@ class ee extends T {
|
|
|
242
243
|
return;
|
|
243
244
|
}
|
|
244
245
|
if (n === "success") {
|
|
245
|
-
const { portal: u, user:
|
|
246
|
-
g?.orgUrlKey === this.portal.urlKey && p.findCredential(`https://${u.portalHostname}`,
|
|
246
|
+
const { portal: u, user: m, redirectUri: f } = this, g = this.linkedAccounts.find((v) => v.username === a.user);
|
|
247
|
+
g?.orgUrlKey === this.portal.urlKey && p.findCredential(`https://${u.portalHostname}`, m?.username)?.destroy();
|
|
247
248
|
const A = {
|
|
248
249
|
server: a.portalUrl,
|
|
249
250
|
userId: a.user,
|
|
@@ -252,12 +253,12 @@ class ee extends T {
|
|
|
252
253
|
ssl: c === void 0 || c !== "false"
|
|
253
254
|
};
|
|
254
255
|
p.registerToken(A);
|
|
255
|
-
const k =
|
|
256
|
+
const k = X({
|
|
256
257
|
account: g,
|
|
257
258
|
credential: A,
|
|
258
259
|
clientId: t,
|
|
259
260
|
portal: u,
|
|
260
|
-
redirectUri:
|
|
261
|
+
redirectUri: f
|
|
261
262
|
});
|
|
262
263
|
window.self !== window.top ? window.top?.postMessage({ type: "navigate", url: k }) : this.arcgisAccountSwitch.emit({ account: g, finishUrl: k });
|
|
263
264
|
}
|
|
@@ -282,7 +283,7 @@ class ee extends T {
|
|
|
282
283
|
this.showAlert("danger", w(c.errors.alreadyLinked, { username: t }));
|
|
283
284
|
return;
|
|
284
285
|
}
|
|
285
|
-
const l = await
|
|
286
|
+
const l = await P(n, t, i);
|
|
286
287
|
if (l?.length) {
|
|
287
288
|
this.userAccounts = l, this.targetUser = t ?? "", this.targetToken = i ?? "", this.showAssociatedAccountsWarning = !0;
|
|
288
289
|
return;
|
|
@@ -295,10 +296,10 @@ class ee extends T {
|
|
|
295
296
|
if (s.error)
|
|
296
297
|
console.error(s);
|
|
297
298
|
else if (s.status === "success" && this.targetUser) {
|
|
298
|
-
const { portal: t, linkedAccounts: i, targetUser: n, clientId: a } = this, o = i.find((
|
|
299
|
+
const { portal: t, linkedAccounts: i, targetUser: n, clientId: a } = this, o = i.find((f) => f.username === n);
|
|
299
300
|
if (!o)
|
|
300
301
|
return;
|
|
301
|
-
const c =
|
|
302
|
+
const c = x(o, t), l = h(o.orgUrlKey, t), u = new URLSearchParams({
|
|
302
303
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
303
304
|
response_type: "token",
|
|
304
305
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -306,8 +307,8 @@ class ee extends T {
|
|
|
306
307
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
307
308
|
redirect_uri: c,
|
|
308
309
|
state: JSON.stringify({ user: o.username, portalUrl: l })
|
|
309
|
-
}),
|
|
310
|
-
window.opener ? (window.opener.location.href =
|
|
310
|
+
}), m = `${I(o, t)}?${u.toString()}`;
|
|
311
|
+
window.opener ? (window.opener.location.href = m, window.close()) : window.location.href = m;
|
|
311
312
|
}
|
|
312
313
|
}
|
|
313
314
|
}
|
|
@@ -319,35 +320,35 @@ class ee extends T {
|
|
|
319
320
|
this.linkedAccounts = [], this.loading = !1;
|
|
320
321
|
return;
|
|
321
322
|
}
|
|
322
|
-
this.linkedAccounts = await
|
|
323
|
+
this.linkedAccounts = await W(this.portal, this.user), this.linkedAccounts.length && (this.signedInStatus = this.linkedAccounts.filter((e) => e.orgUrlKey !== this.portal.urlKey).reduce((e, s) => (e[s.username] = ee(s, this.portal) ?? null, e), {}), this.accountAccess = V({ accounts: this.linkedAccounts, clientId: this.clientId })), this.loading = !1;
|
|
323
324
|
}
|
|
324
325
|
async linkAccount(e, s) {
|
|
325
326
|
const { portal: t, user: i } = this;
|
|
326
327
|
if (!t || !i)
|
|
327
328
|
return;
|
|
328
|
-
const n = await
|
|
329
|
+
const n = await B({ portal: t, user: i, targetUser: e, targetToken: s }), { messages: a } = this;
|
|
329
330
|
if (n.error) {
|
|
330
331
|
this.showAlert("danger", w(a.errors.linkAccount, { username: e })), this.targetUser = "", this.userAccounts = [];
|
|
331
332
|
return;
|
|
332
333
|
}
|
|
333
334
|
const o = this.userAccounts?.length ? a.success.linkAccountMultiple : a.success.linkAccount;
|
|
334
|
-
this.showAlert("success", w(o, { username: e })), this.targetUser = "", this.userAccounts = [], await
|
|
335
|
+
this.showAlert("success", w(o, { username: e })), this.targetUser = "", this.userAccounts = [], await J(350), this.findLinkedUsers();
|
|
335
336
|
}
|
|
336
337
|
async unlinkAccount(e) {
|
|
337
338
|
if (!this.portal || !this.user)
|
|
338
339
|
return;
|
|
339
|
-
const { messages: s, portal: t, user: i } = this, { success: n } = await
|
|
340
|
+
const { messages: s, portal: t, user: i } = this, { success: n } = await D({ portal: t, user: i, linkedUsername: e.username });
|
|
340
341
|
n ? this.showAlert("success", w(s.success.unlinkAccount, { username: e.username })) : this.showAlert("danger", w(s.errors.unlinkAccount, { username: e.username })), await this.findLinkedUsers();
|
|
341
342
|
}
|
|
342
343
|
startAccountLink() {
|
|
343
|
-
|
|
344
|
+
G(this.portal);
|
|
344
345
|
}
|
|
345
346
|
switchAccount(e) {
|
|
346
347
|
const { portal: s, user: t, clientId: i } = this;
|
|
347
348
|
if (!s || !t || !e)
|
|
348
349
|
return;
|
|
349
|
-
const n = h(t.sourceJSON.orgUrlKey ?? "", s), a = p.findCredential(n, t.
|
|
350
|
-
a && U({ config: { baseUrl: n, restBaseUrl: `${n}/sharing/rest` }, token: a?.token, clientId: i }),
|
|
350
|
+
const n = h(t.sourceJSON.orgUrlKey ?? "", s), a = p.findCredential(n, t.username);
|
|
351
|
+
a && U({ config: { baseUrl: n, restBaseUrl: `${n}/sharing/rest` }, token: a?.token, clientId: i }), Q(e, s, i);
|
|
351
352
|
}
|
|
352
353
|
signoutAll(e) {
|
|
353
354
|
const { portal: s, signedInStatus: t, clientId: i } = this;
|
|
@@ -397,20 +398,22 @@ class ee extends T {
|
|
|
397
398
|
}
|
|
398
399
|
return d`<calcite-dialog .heading=${n.switchAccounts} heading-level=2 scale=m width=s open modal .loading=${this.loading} outside-close-disabled @calciteDialogClose=${() => {
|
|
399
400
|
this.arcgisClose.emit();
|
|
400
|
-
}}><calcite-block .heading=${n.currentAccount} heading-level=3 .description=${n.signedInAs} expanded class="current-account-block" tabindex=-1>${
|
|
401
|
+
}} ${L(this.rootDialogRef)}><calcite-block .heading=${n.currentAccount} heading-level=3 .description=${n.signedInAs} expanded class="current-account-block" tabindex=-1>${M(t.id ?? t.username, d`<calcite-block class="current-account" .label=${i.urlKey ? `${t.username}, ${i.name}` : t.username} heading-level=4 .heading=${t.username} .description=${i.urlKey ? `${t.fullName ?? t.username}, ${i.name}` : t.fullName ?? t.username}><calcite-avatar slot=content-start inert .fullName=${t.fullName ?? void 0} .username=${t.username} .userId=${t.id} .thumbnail=${z(t, i) ?? void 0}></calcite-avatar></calcite-block>`)}</calcite-block>${e.length > 0 ? d`<calcite-block .heading=${n.linkedAccounts} heading-level=3 .description=${n.linkedAccountActions} expanded class="linked-accounts-block"><calcite-button slot=content-end icon-start=plus class="link-account-button" @click=${() => this.startAccountLink()} .disabled=${e.length >= S}>${n.addAccount}</calcite-button><arcgis-portal-account-switcher-list .portal=${i} .linkedAccounts=${e} .accountAccess=${s} .signedInUsers=${Object.keys(this.signedInStatus).filter((o) => this.signedInStatus[o] !== null)} interactive @arcgisAccountListSwitch=${(o) => {
|
|
401
402
|
this.switchAccount(o.detail.account);
|
|
402
403
|
}} @arcgisAccountListUnlink=${(o) => {
|
|
403
404
|
this.showUnlinkConfirmation(o.detail.account);
|
|
404
|
-
}}></arcgis-portal-account-switcher-list></calcite-block>` : d`<calcite-block .heading=${n.linkedAccounts} heading-level=3 expanded class="empty-accounts-block"><div class="empty-accounts-info"><svg class="empty-accounts-icon" width=48 height=48 viewBox="0 0 48 48" fill=none xmlns=http://www.w3.org/2000/svg>${N`<path d=${
|
|
405
|
+
}}></arcgis-portal-account-switcher-list></calcite-block>` : d`<calcite-block .heading=${n.linkedAccounts} heading-level=3 expanded class="empty-accounts-block"><div class="empty-accounts-info"><svg class="empty-accounts-icon" width=48 height=48 viewBox="0 0 48 48" fill=none xmlns=http://www.w3.org/2000/svg>${N`<path d=${q.couple ?? E} fill=currentColor />`}</svg><h4>${n.emptyListTitle}</h4><p>${n.emptyList}</p><calcite-button icon-start=plus class="link-account-button" @click=${() => this.startAccountLink()} .disabled=${e.length >= S}>${n.linkAccount}</calcite-button></div></calcite-block>`}<calcite-notice kind=info .open=${e.length >= S}><div slot=message>${n.maxAccounts}</div></calcite-notice><calcite-alert .label=${n.alertLabel} slot=alerts .autoClose=${this.alertOptions?.kind !== "danger"} auto-close-duration=fast placement=bottom .kind=${this.alertOptions?.kind} .icon=${this.alertOptions?.icon} .open=${!!this.alertOptions} @calciteAlertClose=${() => {
|
|
405
406
|
this.alertOptions = void 0;
|
|
406
|
-
}}
|
|
407
|
+
}} @calciteAlertOpen=${async () => {
|
|
408
|
+
await this.rootDialogRef?.value?.updateFocusTrapElements(this.dialogAlertRef?.value), this.dialogAlertRef?.value?.autoClose === !1 && this.dialogAlertRef?.value?.setFocus();
|
|
409
|
+
}} ${L(this.dialogAlertRef)}>${this.alertOptions?.title && d`<h4 slot=title class="alert-title">${this.alertOptions.title}</h4>` || ""}${this.alertOptions?.message && d`<p slot=message class=${R({ "alert-message": !0, "short-message": !!this.alertOptions?.actions?.length })}>${this.alertOptions.message}</p>` || ""}${this.alertOptions?.actions?.map((o) => d`<calcite-button slot=actions-end .kind=${o.kind} .appearance=${o.appearance} @click=${o.clickHandler}>${o.text}</calcite-button>`)}</calcite-alert></calcite-dialog>${this.showAssociatedAccountsWarning && d`<arcgis-portal-account-switcher-accounts .portal=${i} .targetUser=${this.targetUser} .accounts=${this.userAccounts ?? []} @arcgisAccountsLinkAll=${() => {
|
|
407
410
|
this.linkAccount(this.targetUser, this.targetToken);
|
|
408
411
|
}} @arcgisAccountsCloseDialog=${() => {
|
|
409
412
|
this.showAssociatedAccountsWarning = !1;
|
|
410
413
|
}}></arcgis-portal-account-switcher-accounts>` || ""}`;
|
|
411
414
|
}
|
|
412
415
|
}
|
|
413
|
-
|
|
416
|
+
T("arcgis-portal-account-switcher", se);
|
|
414
417
|
export {
|
|
415
|
-
|
|
418
|
+
se as ArcgisPortalAccountSwitcher
|
|
416
419
|
};
|
|
@@ -21,10 +21,28 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
21
21
|
* be updated with the rangefinder fields, and the table and polygon will be ignored as those fields do not apply.
|
|
22
22
|
*/
|
|
23
23
|
export abstract class ArcgisPortalAddGpsMetadata extends LitElement {
|
|
24
|
+
/**
|
|
25
|
+
* Whether the service allows source schema changes. Starts true so that errors are only set after checks finish.
|
|
26
|
+
*
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
get areSourceSchemaChangesAllowed(): true;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the item supports displaying GPS metadata controls. Remains false until compatibility checks finish.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
get canShowAddGPSMetadata(): false;
|
|
24
36
|
/** Takes precedence over `itemId` when both are provided. */
|
|
25
37
|
accessor item: PortalItem | null;
|
|
26
38
|
/** The ID of the item to load when an `item` is not provided. */
|
|
27
39
|
accessor itemId: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Overrides for the provided translations.
|
|
42
|
+
*
|
|
43
|
+
* TODO: Add strings officially, remove after 2026R03
|
|
44
|
+
*/
|
|
45
|
+
accessor messageOverrides: Record<string, string>;
|
|
28
46
|
/** @internal */
|
|
29
47
|
protected messages: {
|
|
30
48
|
addFields: string;
|
|
@@ -46,11 +64,20 @@ export abstract class ArcgisPortalAddGpsMetadata extends LitElement {
|
|
|
46
64
|
laserRangefinderFields: string;
|
|
47
65
|
}>;
|
|
48
66
|
accessor portal: Portal;
|
|
67
|
+
/**
|
|
68
|
+
* Whether all supported layers support attachments. Starts true so that errors are only set after checks finish.
|
|
69
|
+
*
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
get supportsAttachments(): true;
|
|
49
73
|
/** Emitted when fields are successfully added/repaired. */
|
|
50
74
|
readonly arcgisGPSMetadataFieldsAdded: import("@arcgis/lumina").TargetedEvent<this, GPSMetadataFieldSet>;
|
|
75
|
+
/** Emitted when GPS metadata control visibility or service capabilities change. */
|
|
76
|
+
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "canShowAddGPSMetadata" | "supportsAttachments" | "areSourceSchemaChangesAllowed"; }>;
|
|
51
77
|
readonly arcgisReadOnlyMode: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
52
78
|
readonly "@eventTypes": {
|
|
53
79
|
arcgisGPSMetadataFieldsAdded: ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]["detail"];
|
|
80
|
+
arcgisPropertyChange: ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]["detail"];
|
|
54
81
|
arcgisReadOnlyMode: ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]["detail"];
|
|
55
82
|
};
|
|
56
83
|
}
|