@arcgis/portal-components 6.0.0-next.4 → 6.0.0-next.40
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/2574FNAZ.js +2 -0
- package/dist/cdn/3DOZPC3W.js +2 -0
- package/dist/cdn/3HZI6MKD.js +2 -0
- package/dist/cdn/3KGSWW6B.js +2 -0
- package/dist/cdn/3OL7A2UC.js +2 -0
- package/dist/cdn/3Q7UJKKN.js +2 -0
- package/dist/cdn/43A74S72.js +2 -0
- package/dist/cdn/46HNNQAD.js +2 -0
- package/dist/cdn/46MYBPSS.js +2 -0
- package/dist/cdn/{2TDHJSMP.js → 47DKAGRV.js} +1 -1
- package/dist/cdn/4CBRO7JP.js +2 -0
- package/dist/cdn/4QYVBXZT.js +2 -0
- package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
- package/dist/cdn/5M25PCH2.js +2 -0
- package/dist/cdn/5MLBK66O.js +2 -0
- package/dist/cdn/5RBH3LGK.js +2 -0
- package/dist/cdn/5ZHNRQOW.js +2 -0
- package/dist/cdn/62TL6V4N.js +2 -0
- package/dist/cdn/66VV7NHO.js +2 -0
- package/dist/cdn/6AHPTR2E.js +2 -0
- package/dist/cdn/6APPSZ7E.js +2 -0
- package/dist/cdn/{BKD7JSV2.js → 6CUXEL27.js} +1 -1
- package/dist/cdn/6QI7DAS2.js +2 -0
- package/dist/cdn/6ZJNZZPC.js +2 -0
- package/dist/cdn/75CT6IMW.js +2 -0
- package/dist/cdn/7J22VLBO.js +2 -0
- package/dist/cdn/7VPB6Q55.js +63 -0
- package/dist/cdn/7ZU43BL6.js +2 -0
- package/dist/cdn/A5QLPZ57.js +2 -0
- package/dist/cdn/AZTAWZI5.js +2 -0
- 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/C7SNE6YG.js +2 -0
- package/dist/cdn/DENQY4OE.js +2 -0
- package/dist/cdn/DT4HGMLS.js +2 -0
- 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/{YZTBAUIO.js → EFMYI4L2.js} +1 -1
- package/dist/cdn/FFL2L4X5.js +2 -0
- package/dist/cdn/{ZKZDKJ6D.js → FIAEPK5L.js} +1 -1
- package/dist/cdn/FN2QMDEW.js +2 -0
- package/dist/cdn/FTKSVLDI.js +2 -0
- package/dist/cdn/G272JPUS.js +2 -0
- package/dist/cdn/GFUKRB6D.js +2 -0
- package/dist/cdn/{SGDDFWCJ.js → GG6U75ZA.js} +1 -1
- package/dist/cdn/{FRE56NBG.js → GZ4ONSFV.js} +1 -1
- 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/IAWL475A.js +2 -0
- package/dist/cdn/IGLODZPX.js +2 -0
- package/dist/cdn/IOF72CDU.js +2 -0
- package/dist/cdn/ITRJGXFV.js +93 -0
- package/dist/cdn/ITWLFQI4.js +2 -0
- package/dist/cdn/{7ZWYUHGK.js → IYICIRGI.js} +1 -1
- package/dist/cdn/JFGXTJY4.js +2 -0
- package/dist/cdn/JIU6MBGB.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/KPZGBBDG.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/LEESUFWE.js +2 -0
- package/dist/cdn/{IN4JPZTY.js → LGKI24ZT.js} +1 -1
- package/dist/cdn/LTD5KLLE.js +2 -0
- package/dist/cdn/{GAF4YT5N.js → LUJGCYQY.js} +1 -1
- package/dist/cdn/{Z6R3C4AK.js → MB32XRI5.js} +1 -1
- package/dist/cdn/MSL36HAR.js +2 -0
- package/dist/cdn/MSSJRDR7.js +2 -0
- package/dist/cdn/N3WRMPM6.js +2 -0
- package/dist/cdn/N47MW5HI.js +9 -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/{TRMFL7PT.js → ONRTCGLU.js} +1 -1
- package/dist/cdn/OPI4P6VO.js +2 -0
- package/dist/cdn/{RHCRPJWS.js → OPMM7QH5.js} +1 -1
- package/dist/cdn/OQ2JULON.js +2 -0
- package/dist/cdn/OXF2WDSW.js +2 -0
- package/dist/cdn/P3FFM322.js +2 -0
- package/dist/cdn/QAXFE5DD.js +2 -0
- package/dist/cdn/{JPUUMGX5.js → QKRLO5CJ.js} +1 -1
- package/dist/cdn/R26RBXQW.js +2 -0
- package/dist/cdn/R6KJVAX3.js +99 -0
- package/dist/cdn/RA2NMLMP.js +2 -0
- package/dist/cdn/RJXIU4GH.js +2 -0
- package/dist/cdn/RKHNP3KL.js +2 -0
- package/dist/cdn/RR56BOTV.js +2 -0
- package/dist/cdn/RT26JZP5.js +2 -0
- package/dist/cdn/RTZ2TKM5.js +2 -0
- package/dist/cdn/RX64JXHI.js +170 -0
- package/dist/cdn/RXMM6CFK.js +2 -0
- package/dist/cdn/S4N5QMSN.js +2 -0
- package/dist/cdn/SCLYGIHM.js +2 -0
- package/dist/cdn/{JIJO4CAS.js → SLK7PV62.js} +1 -1
- package/dist/cdn/SRWFOV5W.js +2 -0
- package/dist/cdn/SUN4MBT3.js +2 -0
- package/dist/cdn/SYXCSFIA.js +2 -0
- package/dist/cdn/{3NSHGKZA.js → TBSNDRRE.js} +1 -1
- package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
- package/dist/cdn/TP7V25GT.js +2 -0
- package/dist/cdn/{TXC7YBGL.js → UBMZBXT7.js} +1 -1
- package/dist/cdn/UIK6LPA7.js +2 -0
- package/dist/cdn/ULGME5RT.js +2 -0
- package/dist/cdn/{URQML7KV.js → VQRMXBPQ.js} +1 -1
- package/dist/cdn/VWOBCSD6.js +4 -0
- package/dist/cdn/{JE2376SE.js → W3JJBZYX.js} +1 -1
- package/dist/cdn/W6WVMRGQ.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/X7W4VJO7.js +2 -0
- package/dist/cdn/XCOP6QHA.js +2 -0
- package/dist/cdn/XE3DCC5D.js +2 -0
- package/dist/cdn/XVV75AX3.js +2 -0
- 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/YELHAJB3.js +2 -0
- package/dist/cdn/YH2OFXPU.js +2 -0
- package/dist/cdn/YYVLFAFT.js +2 -0
- package/dist/cdn/{74T6IXSN.js → ZDH4KVAV.js} +1 -1
- package/dist/cdn/{I6IRHXWR.js → ZECUXVTO.js} +1 -1
- package/dist/cdn/ZG7OW456.js +2 -0
- package/dist/cdn/{NWVLGU2C.js → ZLNBCJE4.js} +1 -1
- package/dist/cdn/{K2XSYDAP.js → ZNNEU5QW.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-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 +5 -5
- 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 +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 +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 +26 -10
- package/dist/components/arcgis-portal-item-card/customElement.js +90 -80
- 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 +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 +6 -4
- package/dist/components/arcgis-portal-navigation/customElement.js +371 -374
- package/dist/components/arcgis-portal-navigation/index.js +1 -2
- 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 +19 -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/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
|
@@ -6,6 +6,336 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
8
8
|
export abstract class ArcgisPortalReviewRelatedItems extends LitElement {
|
|
9
|
+
/** @internal */
|
|
10
|
+
protected browserMessages: {
|
|
11
|
+
browser: {
|
|
12
|
+
refineContent: string;
|
|
13
|
+
filters: string;
|
|
14
|
+
pageRange: string;
|
|
15
|
+
pageRangeAria: string;
|
|
16
|
+
pageRangeWithRecycleBin: string;
|
|
17
|
+
pageRangeAriaWithRecycleBin: string;
|
|
18
|
+
totalSize: string;
|
|
19
|
+
loading: string;
|
|
20
|
+
close: string;
|
|
21
|
+
};
|
|
22
|
+
actions: { more: string; };
|
|
23
|
+
filter: { clear: string; };
|
|
24
|
+
filterDate: {
|
|
25
|
+
today: string;
|
|
26
|
+
yesterday: string;
|
|
27
|
+
last7: string;
|
|
28
|
+
last30: string;
|
|
29
|
+
never: string;
|
|
30
|
+
custom: string;
|
|
31
|
+
title: {
|
|
32
|
+
created: string;
|
|
33
|
+
modified: string;
|
|
34
|
+
joined: string;
|
|
35
|
+
lastLogin: string;
|
|
36
|
+
};
|
|
37
|
+
created: string;
|
|
38
|
+
modified: string;
|
|
39
|
+
joined: string;
|
|
40
|
+
lastLogin: string;
|
|
41
|
+
};
|
|
42
|
+
pagination: {
|
|
43
|
+
next: string;
|
|
44
|
+
prev: string;
|
|
45
|
+
};
|
|
46
|
+
search: {
|
|
47
|
+
label: string;
|
|
48
|
+
search: string;
|
|
49
|
+
clear: string;
|
|
50
|
+
wildcard: string;
|
|
51
|
+
};
|
|
52
|
+
sort: {
|
|
53
|
+
sortDirection: string;
|
|
54
|
+
title: string;
|
|
55
|
+
relevance: string;
|
|
56
|
+
modified: string;
|
|
57
|
+
deleted: string;
|
|
58
|
+
created: string;
|
|
59
|
+
added: string;
|
|
60
|
+
size: string;
|
|
61
|
+
owner: string;
|
|
62
|
+
sizeAsc: string;
|
|
63
|
+
sizeDesc: string;
|
|
64
|
+
numviews: string;
|
|
65
|
+
numAsc: string;
|
|
66
|
+
numDesc: string;
|
|
67
|
+
alphabeticalAsc: string;
|
|
68
|
+
alphabeticalDesc: string;
|
|
69
|
+
recentAsc: string;
|
|
70
|
+
recentDesc: string;
|
|
71
|
+
sort: string;
|
|
72
|
+
sortBy: string;
|
|
73
|
+
sortByColon: string;
|
|
74
|
+
fullname: string;
|
|
75
|
+
username: string;
|
|
76
|
+
name: string;
|
|
77
|
+
membertype: string;
|
|
78
|
+
joined: string;
|
|
79
|
+
lastlogin: string;
|
|
80
|
+
dataset: string;
|
|
81
|
+
mfaenabled: string;
|
|
82
|
+
description: string;
|
|
83
|
+
lastSyncFailureCount: string;
|
|
84
|
+
invitationsPendingCount: string;
|
|
85
|
+
participantGroupLinksCount: string;
|
|
86
|
+
defaultAsc: string;
|
|
87
|
+
defaultDesc: string;
|
|
88
|
+
};
|
|
89
|
+
topBar: { filter: string; };
|
|
90
|
+
filterStatus: {
|
|
91
|
+
clear: string;
|
|
92
|
+
filters: string;
|
|
93
|
+
additional: string;
|
|
94
|
+
clearAllFilters: string;
|
|
95
|
+
};
|
|
96
|
+
} & T9nMeta<{
|
|
97
|
+
browser: {
|
|
98
|
+
refineContent: string;
|
|
99
|
+
filters: string;
|
|
100
|
+
pageRange: string;
|
|
101
|
+
pageRangeAria: string;
|
|
102
|
+
pageRangeWithRecycleBin: string;
|
|
103
|
+
pageRangeAriaWithRecycleBin: string;
|
|
104
|
+
totalSize: string;
|
|
105
|
+
loading: string;
|
|
106
|
+
close: string;
|
|
107
|
+
};
|
|
108
|
+
actions: { more: string; };
|
|
109
|
+
filter: { clear: string; };
|
|
110
|
+
filterDate: {
|
|
111
|
+
today: string;
|
|
112
|
+
yesterday: string;
|
|
113
|
+
last7: string;
|
|
114
|
+
last30: string;
|
|
115
|
+
never: string;
|
|
116
|
+
custom: string;
|
|
117
|
+
title: {
|
|
118
|
+
created: string;
|
|
119
|
+
modified: string;
|
|
120
|
+
joined: string;
|
|
121
|
+
lastLogin: string;
|
|
122
|
+
};
|
|
123
|
+
created: string;
|
|
124
|
+
modified: string;
|
|
125
|
+
joined: string;
|
|
126
|
+
lastLogin: string;
|
|
127
|
+
};
|
|
128
|
+
pagination: {
|
|
129
|
+
next: string;
|
|
130
|
+
prev: string;
|
|
131
|
+
};
|
|
132
|
+
search: {
|
|
133
|
+
label: string;
|
|
134
|
+
search: string;
|
|
135
|
+
clear: string;
|
|
136
|
+
wildcard: string;
|
|
137
|
+
};
|
|
138
|
+
sort: {
|
|
139
|
+
sortDirection: string;
|
|
140
|
+
title: string;
|
|
141
|
+
relevance: string;
|
|
142
|
+
modified: string;
|
|
143
|
+
deleted: string;
|
|
144
|
+
created: string;
|
|
145
|
+
added: string;
|
|
146
|
+
size: string;
|
|
147
|
+
owner: string;
|
|
148
|
+
sizeAsc: string;
|
|
149
|
+
sizeDesc: string;
|
|
150
|
+
numviews: string;
|
|
151
|
+
numAsc: string;
|
|
152
|
+
numDesc: string;
|
|
153
|
+
alphabeticalAsc: string;
|
|
154
|
+
alphabeticalDesc: string;
|
|
155
|
+
recentAsc: string;
|
|
156
|
+
recentDesc: string;
|
|
157
|
+
sort: string;
|
|
158
|
+
sortBy: string;
|
|
159
|
+
sortByColon: string;
|
|
160
|
+
fullname: string;
|
|
161
|
+
username: string;
|
|
162
|
+
name: string;
|
|
163
|
+
membertype: string;
|
|
164
|
+
joined: string;
|
|
165
|
+
lastlogin: string;
|
|
166
|
+
dataset: string;
|
|
167
|
+
mfaenabled: string;
|
|
168
|
+
description: string;
|
|
169
|
+
lastSyncFailureCount: string;
|
|
170
|
+
invitationsPendingCount: string;
|
|
171
|
+
participantGroupLinksCount: string;
|
|
172
|
+
defaultAsc: string;
|
|
173
|
+
defaultDesc: string;
|
|
174
|
+
};
|
|
175
|
+
topBar: { filter: string; };
|
|
176
|
+
filterStatus: {
|
|
177
|
+
clear: string;
|
|
178
|
+
filters: string;
|
|
179
|
+
additional: string;
|
|
180
|
+
clearAllFilters: string;
|
|
181
|
+
};
|
|
182
|
+
}>;
|
|
183
|
+
/** @internal */
|
|
184
|
+
protected deleteMessages: {
|
|
185
|
+
deleteItem: string;
|
|
186
|
+
deleteItems: string;
|
|
187
|
+
selectedItems: string;
|
|
188
|
+
reviewItemsCount: string;
|
|
189
|
+
reviewItemsDescription: string;
|
|
190
|
+
delete: string;
|
|
191
|
+
permanentlyDelete: string;
|
|
192
|
+
permanentlyDeleteInstead: string;
|
|
193
|
+
deprecate: string;
|
|
194
|
+
confirm: string;
|
|
195
|
+
cancel: string;
|
|
196
|
+
moreInfo: string;
|
|
197
|
+
bucketItems: string;
|
|
198
|
+
directlyUsedBy: string;
|
|
199
|
+
usedByOtherItems: {
|
|
200
|
+
single: string;
|
|
201
|
+
multiple: string;
|
|
202
|
+
unknown: string;
|
|
203
|
+
};
|
|
204
|
+
usedByPopover: string;
|
|
205
|
+
deleteDiscouraged: string;
|
|
206
|
+
learnMoreAboutDeletingSourceItems: string;
|
|
207
|
+
reviewRelatedItems: { multiple: string; };
|
|
208
|
+
reviewItems: string;
|
|
209
|
+
reviewItemsList: string;
|
|
210
|
+
exclude: string;
|
|
211
|
+
deprecateInstead: string;
|
|
212
|
+
proceedToDelete: string;
|
|
213
|
+
proceedWithDeletion: string;
|
|
214
|
+
relatedItemsReviewed: string;
|
|
215
|
+
reviewImpactedItems: string;
|
|
216
|
+
summary: {
|
|
217
|
+
willBeRecycled: string;
|
|
218
|
+
deprecate: {
|
|
219
|
+
label: string;
|
|
220
|
+
message: string;
|
|
221
|
+
};
|
|
222
|
+
exclude: {
|
|
223
|
+
label: string;
|
|
224
|
+
message: string;
|
|
225
|
+
};
|
|
226
|
+
cannotDelete: string;
|
|
227
|
+
permanentlyDelete: string;
|
|
228
|
+
canBeRecovered: { single: string; };
|
|
229
|
+
permanentDelete: {
|
|
230
|
+
delete: string;
|
|
231
|
+
notSupported: { single: string; };
|
|
232
|
+
default: { single: string; };
|
|
233
|
+
};
|
|
234
|
+
protectedGroup: {
|
|
235
|
+
deleteProtectedDescription: string;
|
|
236
|
+
hasDependentItemsDescription: {
|
|
237
|
+
singleOneDependentItem: string;
|
|
238
|
+
singleMultipleDependentItems: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
areYouSure: { multiple: string; };
|
|
243
|
+
deletingWillImpactOtherItems: string;
|
|
244
|
+
itemsDependingOnThisItem: string;
|
|
245
|
+
dependentItems: string;
|
|
246
|
+
dependentItemsWillBeDeletedTogether: string;
|
|
247
|
+
impactedItems: {
|
|
248
|
+
title: string;
|
|
249
|
+
itemsYouHaveAccessTo: string;
|
|
250
|
+
"View usage": string;
|
|
251
|
+
"View full list": string;
|
|
252
|
+
};
|
|
253
|
+
replacementItem: {
|
|
254
|
+
isReplacementFor: {
|
|
255
|
+
single: string;
|
|
256
|
+
multiple: string;
|
|
257
|
+
unknown: string;
|
|
258
|
+
};
|
|
259
|
+
itemIsReplacedBySelectedItem: string;
|
|
260
|
+
};
|
|
261
|
+
} & T9nMeta<{
|
|
262
|
+
deleteItem: string;
|
|
263
|
+
deleteItems: string;
|
|
264
|
+
selectedItems: string;
|
|
265
|
+
reviewItemsCount: string;
|
|
266
|
+
reviewItemsDescription: string;
|
|
267
|
+
delete: string;
|
|
268
|
+
permanentlyDelete: string;
|
|
269
|
+
permanentlyDeleteInstead: string;
|
|
270
|
+
deprecate: string;
|
|
271
|
+
confirm: string;
|
|
272
|
+
cancel: string;
|
|
273
|
+
moreInfo: string;
|
|
274
|
+
bucketItems: string;
|
|
275
|
+
directlyUsedBy: string;
|
|
276
|
+
usedByOtherItems: {
|
|
277
|
+
single: string;
|
|
278
|
+
multiple: string;
|
|
279
|
+
unknown: string;
|
|
280
|
+
};
|
|
281
|
+
usedByPopover: string;
|
|
282
|
+
deleteDiscouraged: string;
|
|
283
|
+
learnMoreAboutDeletingSourceItems: string;
|
|
284
|
+
reviewRelatedItems: { multiple: string; };
|
|
285
|
+
reviewItems: string;
|
|
286
|
+
reviewItemsList: string;
|
|
287
|
+
exclude: string;
|
|
288
|
+
deprecateInstead: string;
|
|
289
|
+
proceedToDelete: string;
|
|
290
|
+
proceedWithDeletion: string;
|
|
291
|
+
relatedItemsReviewed: string;
|
|
292
|
+
reviewImpactedItems: string;
|
|
293
|
+
summary: {
|
|
294
|
+
willBeRecycled: string;
|
|
295
|
+
deprecate: {
|
|
296
|
+
label: string;
|
|
297
|
+
message: string;
|
|
298
|
+
};
|
|
299
|
+
exclude: {
|
|
300
|
+
label: string;
|
|
301
|
+
message: string;
|
|
302
|
+
};
|
|
303
|
+
cannotDelete: string;
|
|
304
|
+
permanentlyDelete: string;
|
|
305
|
+
canBeRecovered: { single: string; };
|
|
306
|
+
permanentDelete: {
|
|
307
|
+
delete: string;
|
|
308
|
+
notSupported: { single: string; };
|
|
309
|
+
default: { single: string; };
|
|
310
|
+
};
|
|
311
|
+
protectedGroup: {
|
|
312
|
+
deleteProtectedDescription: string;
|
|
313
|
+
hasDependentItemsDescription: {
|
|
314
|
+
singleOneDependentItem: string;
|
|
315
|
+
singleMultipleDependentItems: string;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
areYouSure: { multiple: string; };
|
|
320
|
+
deletingWillImpactOtherItems: string;
|
|
321
|
+
itemsDependingOnThisItem: string;
|
|
322
|
+
dependentItems: string;
|
|
323
|
+
dependentItemsWillBeDeletedTogether: string;
|
|
324
|
+
impactedItems: {
|
|
325
|
+
title: string;
|
|
326
|
+
itemsYouHaveAccessTo: string;
|
|
327
|
+
"View usage": string;
|
|
328
|
+
"View full list": string;
|
|
329
|
+
};
|
|
330
|
+
replacementItem: {
|
|
331
|
+
isReplacementFor: {
|
|
332
|
+
single: string;
|
|
333
|
+
multiple: string;
|
|
334
|
+
unknown: string;
|
|
335
|
+
};
|
|
336
|
+
itemIsReplacedBySelectedItem: string;
|
|
337
|
+
};
|
|
338
|
+
}>;
|
|
9
339
|
/** @internal */
|
|
10
340
|
protected messages: {
|
|
11
341
|
itemsDirectlyUsing: string;
|
|
@@ -22,6 +352,9 @@ export abstract class ArcgisPortalReviewRelatedItems extends LitElement {
|
|
|
22
352
|
}>;
|
|
23
353
|
accessor portal: Portal | undefined;
|
|
24
354
|
accessor relatedItems: PortalItem[];
|
|
355
|
+
accessor relatedItemsCount: number | undefined;
|
|
356
|
+
/** @default false */
|
|
357
|
+
accessor showDependentItems: boolean;
|
|
25
358
|
accessor sourceItem: PortalItem | null;
|
|
26
359
|
accessor user: PortalUser | null | undefined;
|
|
27
360
|
}
|
|
@@ -1,30 +1,58 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import { c as u } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as h } from "@arcgis/lumina";
|
|
4
|
+
import { css as g, html as o } from "lit";
|
|
5
|
+
import { f as d } from "../../chunks/user.js";
|
|
6
|
+
import { f as I } from "../../chunks/item2.js";
|
|
7
|
+
import { s as f } from "../../chunks/portal-related-items-list-item.js";
|
|
8
|
+
import { u as n } from "../../chunks/useT9n.js";
|
|
9
|
+
import { RelatedItemsListItem as w } from "../portal-related-items-list-item/customElement.js";
|
|
10
|
+
import { g as b } from "../../chunks/url.js";
|
|
11
|
+
import { i as p } from "../../chunks/users.js";
|
|
12
|
+
const v = g`:host{display:block}.items-directly-using{display:flex;justify-content:space-between;align-items:center;padding-block-end:.75rem}.impacted-items-labels{display:flex;flex-direction:column}.impacted-items-title{font-weight:500}.impacted-items-access-count{font-size:var(--calcite-font-size--2)}.view-full-list{margin:.5rem 0}.items-list{max-block-size:250px;overflow-y:auto}calcite-block{--calcite-block-icon-start-color: var(--calcite-color-status-warning)}`, c = 20;
|
|
13
|
+
class $ extends h {
|
|
11
14
|
constructor() {
|
|
12
|
-
super(...arguments), this.messages =
|
|
15
|
+
super(...arguments), this.messages = n({ blocking: !0 }), this.browserMessages = n({ name: "portal-browser", blocking: !0 }), this.deleteMessages = n({ name: "portal-delete-items", blocking: !0 }), this.userRequestId = 0, this.itemGroups = {}, this.itemOwners = {}, this.sourceItem = null, this.relatedItems = [], this.showDependentItems = !1;
|
|
13
16
|
}
|
|
14
17
|
static {
|
|
15
|
-
this.properties = { sourceItem: 0, relatedItems: 0, portal: 0, user: 0 };
|
|
18
|
+
this.properties = { itemGroups: 16, itemOwners: 16, sourceItem: 0, relatedItems: 0, relatedItemsCount: 9, showDependentItems: 5, portal: 0, user: 0 };
|
|
16
19
|
}
|
|
17
20
|
static {
|
|
18
|
-
this.styles = [
|
|
21
|
+
this.styles = [v, f];
|
|
22
|
+
}
|
|
23
|
+
willUpdate(e) {
|
|
24
|
+
(e.has("relatedItems") || e.has("portal") || e.has("user")) && (this.itemGroups = {}, this.itemOwners = {}, this.loadGroupSharing(++this.userRequestId), this.loadItemOwners());
|
|
25
|
+
}
|
|
26
|
+
async loadItemOwners() {
|
|
27
|
+
const { portal: e, relatedItems: s } = this;
|
|
28
|
+
if (!e)
|
|
29
|
+
return;
|
|
30
|
+
const a = [
|
|
31
|
+
...new Set(s.slice(0, c).map((t) => t.owner).filter((t) => !!t))
|
|
32
|
+
], i = await Promise.all(a.map(async (t) => [t, await d(t, e)]));
|
|
33
|
+
this.itemOwners = Object.fromEntries(i);
|
|
34
|
+
}
|
|
35
|
+
async loadGroupSharing(e) {
|
|
36
|
+
const { portal: s, relatedItems: a } = this, i = this.user ?? s?.user;
|
|
37
|
+
if (!s || !i?.username || !a.length)
|
|
38
|
+
return;
|
|
39
|
+
const t = await d(i.username, s);
|
|
40
|
+
if (e !== this.userRequestId)
|
|
41
|
+
return;
|
|
42
|
+
const { result: r } = await I(s, t, a);
|
|
43
|
+
e === this.userRequestId && (this.itemGroups = r ?? {});
|
|
19
44
|
}
|
|
20
45
|
render() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
46
|
+
const e = this.relatedItemsCount ?? this.relatedItems.length;
|
|
47
|
+
if (!e && !this.relatedItems.length)
|
|
48
|
+
return null;
|
|
49
|
+
const s = new Intl.NumberFormat(this.deleteMessages._t9nLocale), a = s.format(e), i = this.showDependentItems ? this.deleteMessages.dependentItems : this.deleteMessages.impactedItems.title, t = this.showDependentItems ? this.deleteMessages.itemsDependingOnThisItem : this.deleteMessages.deletingWillImpactOtherItems, r = this.portal && this.sourceItem ? `${b({ portal: this.portal })}/item.html?id=${this.sourceItem.id}#usage` : void 0, m = () => {
|
|
50
|
+
r && window.open(r, "_blank");
|
|
51
|
+
};
|
|
52
|
+
return o`<calcite-block .heading=${t.replace("{count}", a)} collapsible .label=${i} icon-start=exclamation-mark-triangle><div class="items-directly-using"><div class="impacted-items-labels"><span class="impacted-items-title">${i}</span>${!this.showDependentItems && o`<span class="impacted-items-access-count">${this.deleteMessages.impactedItems.itemsYouHaveAccessTo.replace("{accessCount}", s.format(this.relatedItems.length)).replace("{totalCount}", a)}</span>` || ""}</div>${!p(this.user) && o`<calcite-button appearance=transparent icon-end=launch @click=${m}>${this.deleteMessages.impactedItems["View usage"]}</calcite-button>` || ""}</div><div class="items-list"><calcite-list .label=${i}>${this.relatedItems.slice(0, c).map((l) => w({ item: l, owner: this.itemOwners[l.owner], portal: this.portal, user: this.user, lang: this.messages._lang, modifiedLabel: this.browserMessages.filterDate.modified, access: { level: l.access, groupIds: l.id ? this.itemGroups[l.id] : void 0 } }))}</calcite-list>${this.relatedItems.length > c && !p(this.user) && o`<calcite-button class="view-full-list" appearance=transparent icon-end=launch @click=${m}>${this.deleteMessages.impactedItems["View full list"]}</calcite-button>` || ""}</div></calcite-block>`;
|
|
25
53
|
}
|
|
26
54
|
}
|
|
27
|
-
|
|
55
|
+
u("arcgis-portal-review-related-items", $);
|
|
28
56
|
export {
|
|
29
|
-
|
|
57
|
+
$ as ArcgisPortalReviewRelatedItems
|
|
30
58
|
};
|
|
@@ -1,101 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as l, html as
|
|
4
|
-
import { LitElement as
|
|
2
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as l, html as e } from "lit";
|
|
4
|
+
import { LitElement as o, safeClassMap as c } from "@arcgis/lumina";
|
|
5
5
|
import { u as m } from "../../chunks/useT9n.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
switch (e) {
|
|
10
|
-
case "Annotation Layer":
|
|
11
|
-
return {
|
|
12
|
-
icon: "layer-annotation",
|
|
13
|
-
type: "annotation",
|
|
14
|
-
isGeometry: !1
|
|
15
|
-
};
|
|
16
|
-
case "Dimension Layer":
|
|
17
|
-
return {
|
|
18
|
-
icon: "layer-dimension",
|
|
19
|
-
type: "dimension",
|
|
20
|
-
isGeometry: !1
|
|
21
|
-
};
|
|
22
|
-
case "Utility Network Layer":
|
|
23
|
-
return {
|
|
24
|
-
icon: "utility-network-layer",
|
|
25
|
-
type: "utility network",
|
|
26
|
-
isGeometry: !1
|
|
27
|
-
};
|
|
28
|
-
case "Catalog Layer":
|
|
29
|
-
return {
|
|
30
|
-
icon: "catalog-dataset",
|
|
31
|
-
type: "catalog",
|
|
32
|
-
isGeometry: !1
|
|
33
|
-
};
|
|
34
|
-
case "Parcel Layer":
|
|
35
|
-
return {
|
|
36
|
-
icon: "parcel-layer",
|
|
37
|
-
type: "parcel",
|
|
38
|
-
isGeometry: !1
|
|
39
|
-
};
|
|
40
|
-
case "Oriented Imagery Layer":
|
|
41
|
-
return {
|
|
42
|
-
icon: "oriented-imagery-layer",
|
|
43
|
-
type: "oriented imagery",
|
|
44
|
-
isGeometry: !1
|
|
45
|
-
};
|
|
46
|
-
case "Table":
|
|
47
|
-
return {
|
|
48
|
-
icon: "table",
|
|
49
|
-
type: "table",
|
|
50
|
-
isGeometry: !0
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
switch (n) {
|
|
54
|
-
case "point":
|
|
55
|
-
case "esriGeometryPoint":
|
|
56
|
-
return {
|
|
57
|
-
type: "point",
|
|
58
|
-
icon: "point",
|
|
59
|
-
isGeometry: !0
|
|
60
|
-
};
|
|
61
|
-
case "esriGeometryMultipoint":
|
|
62
|
-
case "multipoint":
|
|
63
|
-
return {
|
|
64
|
-
type: "multipoint",
|
|
65
|
-
icon: "layer-points",
|
|
66
|
-
isGeometry: !0
|
|
67
|
-
};
|
|
68
|
-
case "line":
|
|
69
|
-
case "polyline":
|
|
70
|
-
case "esriGeometryPolyline":
|
|
71
|
-
return {
|
|
72
|
-
type: "line",
|
|
73
|
-
icon: "line",
|
|
74
|
-
isGeometry: !0
|
|
75
|
-
};
|
|
76
|
-
case "polygon":
|
|
77
|
-
case "esriGeometryPolygon":
|
|
78
|
-
return {
|
|
79
|
-
type: "polygon",
|
|
80
|
-
icon: "polygon",
|
|
81
|
-
isGeometry: !0
|
|
82
|
-
};
|
|
83
|
-
case "multipatch":
|
|
84
|
-
case "esriGeometryMultiPatch":
|
|
85
|
-
return {
|
|
86
|
-
type: "multipatch",
|
|
87
|
-
icon: "cube",
|
|
88
|
-
isGeometry: !0
|
|
89
|
-
};
|
|
90
|
-
default:
|
|
91
|
-
return {
|
|
92
|
-
type: "table",
|
|
93
|
-
icon: "table",
|
|
94
|
-
isGeometry: !0
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
class h extends y {
|
|
6
|
+
import { g as h } from "../../chunks/utils3.js";
|
|
7
|
+
const d = l`:host{display:inline-flex;align-items:center;line-height:1.35;--sublayer-type-font-size: var(--calcite-font-size--1)}.sublayer-type{display:inline-flex;align-items:center;max-width:100%;min-width:0}.text{flex:1 1 0%;margin-inline-start:.5rem;color:inherit}.name{font-weight:500;font-size:var(--sublayer-type-font-size);overflow-wrap:anywhere;white-space:normal}.name--underline{text-decoration:underline}.type{font-weight:400;color:var(--calcite-color-text-2);font-size:var(--sublayer-type-font-size)}`;
|
|
8
|
+
class y extends o {
|
|
99
9
|
constructor() {
|
|
100
10
|
super(...arguments), this.messages = m({ blocking: !0 }), this.hideName = !1, this.hideIcon = !1, this.hideType = !1, this.underline = !1;
|
|
101
11
|
}
|
|
@@ -103,19 +13,19 @@ class h extends y {
|
|
|
103
13
|
this.properties = { geometry: 1, type: 1, scale: 3, name: 1, hideName: 5, hideIcon: 5, hideType: 5, underline: 5, renderer: 0 };
|
|
104
14
|
}
|
|
105
15
|
static {
|
|
106
|
-
this.styles =
|
|
16
|
+
this.styles = d;
|
|
107
17
|
}
|
|
108
18
|
render() {
|
|
109
19
|
if (!this.messages._lang)
|
|
110
20
|
return null;
|
|
111
|
-
const
|
|
21
|
+
const t = h({ type: this.type, geometry: this.geometry });
|
|
112
22
|
if (this.renderer)
|
|
113
|
-
return this.renderer({ ...
|
|
114
|
-
const { hideIcon:
|
|
115
|
-
return i &&
|
|
23
|
+
return this.renderer({ ...t, name: this.name ?? "" });
|
|
24
|
+
const { hideIcon: r, hideName: i, hideType: s, underline: n } = this;
|
|
25
|
+
return i && r && s ? null : e`<div class="sublayer-type">${!r && e`<calcite-icon .icon=${t.icon} .scale=${this.scale}></calcite-icon>` || ""}${(!i || !s) && e`<div class="text">${!i && e`<div class=${c({ name: !0, "name--underline": n })}>${this.name ?? ""}</div>` || ""}${!s && e`<div class="type">${this.messages[t.type]}</div>` || ""}</div>` || ""}</div>`;
|
|
116
26
|
}
|
|
117
27
|
}
|
|
118
|
-
|
|
28
|
+
a("arcgis-portal-sublayer-type", y);
|
|
119
29
|
export {
|
|
120
|
-
|
|
30
|
+
y as ArcgisPortalSublayerType
|
|
121
31
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Portal from "@arcgis/core/portal/Portal.js";
|
|
3
|
-
import type PortalUser from "@arcgis/core/portal/PortalUser.js";
|
|
4
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
4
|
import type { Scale } from "../../types/ui.js";
|
|
6
|
-
import type {
|
|
5
|
+
import type { UserPresentation } from "../../types/user.js";
|
|
7
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
7
|
|
|
9
8
|
declare module "@arcgis/lumina" {
|
|
@@ -54,7 +53,7 @@ export abstract class ArcgisPortalUserAvatar extends LitElement {
|
|
|
54
53
|
*/
|
|
55
54
|
accessor underline: boolean | undefined;
|
|
56
55
|
/** A User or org information (used for verified items) */
|
|
57
|
-
accessor user:
|
|
56
|
+
accessor user: UserPresentation | undefined;
|
|
58
57
|
/** A username to get a User object from */
|
|
59
58
|
accessor username: string | undefined;
|
|
60
59
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as x } from "../../chunks/runtime.js";
|
|
3
|
-
import { LitElement as w, safeClassMap as
|
|
4
|
-
import { css as k, html as
|
|
3
|
+
import { LitElement as w, safeClassMap as o } from "@arcgis/lumina";
|
|
4
|
+
import { css as k, html as r } from "lit";
|
|
5
5
|
import { u as b } from "../../chunks/useT9n.js";
|
|
6
6
|
import { f as z } from "../../chunks/user.js";
|
|
7
7
|
import { g as $ } from "../../chunks/user2.js";
|
|
@@ -18,27 +18,26 @@ class y extends w {
|
|
|
18
18
|
this.styles = U;
|
|
19
19
|
}
|
|
20
20
|
async load() {
|
|
21
|
-
const { username:
|
|
22
|
-
if (
|
|
23
|
-
const
|
|
24
|
-
this.user =
|
|
25
|
-
} else i &&
|
|
21
|
+
const { username: a, checkOnline: s, portal: e, user: i } = this;
|
|
22
|
+
if (a && e) {
|
|
23
|
+
const t = await z(a, e, s);
|
|
24
|
+
this.user = t, this.thumbnailUrl = n(t, e, s);
|
|
25
|
+
} else i && e && (this.thumbnailUrl = n(i, e, s));
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
a && this.portal && (this.thumbnailUrl = n(a, this.portal, this.checkOnline));
|
|
27
|
+
willUpdate(a) {
|
|
28
|
+
(a.has("user") || a.has("portal") || a.has("checkOnline")) && (this.thumbnailUrl = this.user && this.portal ? n(this.user, this.portal, this.checkOnline) : null);
|
|
30
29
|
}
|
|
31
30
|
renderSkeleton() {
|
|
32
|
-
return
|
|
31
|
+
return r`<div class="skeleton">${!this.hideAvatar && r`<div class="skeleton-avatar"></div>` || ""}${this.showName && r`<div class="skeleton-name"></div>` || ""}</div>`;
|
|
33
32
|
}
|
|
34
33
|
renderUser() {
|
|
35
|
-
const { user:
|
|
36
|
-
if (!
|
|
34
|
+
const { user: a, messages: s, thumbnailUrl: e, hideAvatar: i, showName: t, description: c, scale: p, underline: h, heading: m } = this;
|
|
35
|
+
if (!a)
|
|
37
36
|
return [];
|
|
38
|
-
const { fullName:
|
|
37
|
+
const { fullName: d, username: v, id: g } = a, l = !!c, f = (d?.split(" ") || []).slice(0, 2).join(" "), u = this.wrap ? "text--clamp" : "text--ellipsis";
|
|
39
38
|
return [
|
|
40
|
-
!i &&
|
|
41
|
-
(
|
|
39
|
+
!i && r`<calcite-avatar class="avatar" .scale=${p === "xs" ? "s" : p} .fullName=${f} .username=${v} .userId=${g} .thumbnail=${e || void 0} .inert=${t || l ? !0 : void 0}></calcite-avatar>` || "",
|
|
40
|
+
(t || l) && r`<span class=${o({ text: !0, "text--underline": h, "text--no-avatar": i })}>${t && r`<span class=${o({ title: !0, "has-description": l, [u]: !0 })}>${m || $(a, s._lang)}</span>` || ""}${l && r`<span class=${o({ description: !0, [u]: !0 })}>${c}</span>` || ""}</span>` || ""
|
|
42
41
|
];
|
|
43
42
|
}
|
|
44
43
|
render() {
|