@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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import { c as i } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as s, createEvent as o, safeClassMap as a } from "@arcgis/lumina";
|
|
4
|
+
import { log as c } from "@arcgis/toolkit/log";
|
|
5
|
+
import { css as l, html as r } from "lit";
|
|
6
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
7
|
+
const n = l`:host{display:block}calcite-label{--calcite-label-margin-bottom: 0}h4{margin:0 0 .25rem;font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3)}[role=status]{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--2)}.live-region{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}`;
|
|
8
|
+
class h extends s {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments), this.messages = p({ name: "portal-item-preview", blocking: !0 }), this.copyStatus = "idle", this.copiedSuffix = "", this.heading = "", this.text = "", this.label = "", this.section = "details", this.arcgisInternalUIAction = o();
|
|
11
|
+
}
|
|
12
|
+
static {
|
|
13
|
+
this.properties = { copyStatus: 16, copiedSuffix: 16, heading: 1, text: 1, label: 1, section: 1 };
|
|
14
|
+
}
|
|
15
|
+
static {
|
|
16
|
+
this.styles = n;
|
|
17
|
+
}
|
|
18
|
+
willUpdate(t) {
|
|
19
|
+
t.has("text") && this.resetCopy();
|
|
20
|
+
}
|
|
21
|
+
disconnectedCallback() {
|
|
22
|
+
super.disconnectedCallback(), this.resetCopy();
|
|
23
|
+
}
|
|
24
|
+
resetCopy() {
|
|
25
|
+
this.request?.abort(), clearTimeout(this.resetTimer), this.copyStatus = "idle";
|
|
26
|
+
}
|
|
27
|
+
async copy() {
|
|
28
|
+
this.resetCopy();
|
|
29
|
+
const t = new AbortController();
|
|
30
|
+
this.request = t, this.copyStatus = "copying";
|
|
31
|
+
try {
|
|
32
|
+
await navigator.clipboard.writeText(this.text), t.signal.throwIfAborted(), this.copyStatus = "copied", this.arcgisInternalUIAction.emit({ action: "copy", category: "panel action", details: this.section }), this.copiedSuffix = this.copiedSuffix ? "" : " ", this.resetTimer = setTimeout(() => {
|
|
33
|
+
this.copyStatus = "idle";
|
|
34
|
+
}, 2e3);
|
|
35
|
+
} catch (e) {
|
|
36
|
+
t.signal.aborted || (this.copyStatus = "failed", c("error", this, "Unable to copy preview text.", { detail: { error: e } }));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
render() {
|
|
40
|
+
return r`<calcite-label for=copy-input scale=s><h4>${this.heading}</h4></calcite-label><calcite-input id=copy-input .value=${this.text} read-only .label=${this.heading} scale=s><calcite-button id=copy-button slot=action .label=${this.label} icon-start=copy-to-clipboard kind=neutral scale=s .disabled=${this.copyStatus === "copying" || !this.text} @click=${this.copy}></calcite-button></calcite-input><calcite-tooltip reference-element=copy-button placement=bottom-end overlay-positioning=fixed scale=s>${this.copyStatus === "copied" ? this.messages.copied : this.messages.copy}</calcite-tooltip><div role=status aria-live=polite class=${a({ "live-region": this.copyStatus !== "failed" })}>${this.copyStatus === "failed" ? this.messages.copyError : this.copyStatus === "copied" ? `${this.messages.copied}${this.copiedSuffix}` : ""}</div>`;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
i("arcgis-portal-item-preview-copy", h);
|
|
44
|
+
export {
|
|
45
|
+
h as ArcgisPortalItemPreviewCopy
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-input";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-tooltip";
|
|
5
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
+
import type { ItemPreviewField } from "../arcgis-portal-item-preview/types.js";
|
|
5
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
|
+
|
|
7
|
+
/** @internal */
|
|
8
|
+
export abstract class ArcgisPortalItemPreviewField extends LitElement {
|
|
9
|
+
/** @default false */
|
|
10
|
+
accessor failed: boolean;
|
|
11
|
+
accessor field: ItemPreviewField;
|
|
12
|
+
/** Loaded and owned by the sublayer component; shared across its expanded fields. */
|
|
13
|
+
accessor layer: FeatureLayer | undefined;
|
|
14
|
+
/** @internal */
|
|
15
|
+
protected messages: {
|
|
16
|
+
componentLabel: string;
|
|
17
|
+
close: string;
|
|
18
|
+
thumbnail: string;
|
|
19
|
+
summary: string;
|
|
20
|
+
noSummary: string;
|
|
21
|
+
overview: string;
|
|
22
|
+
itemStatus: string;
|
|
23
|
+
owner: string;
|
|
24
|
+
shared: string;
|
|
25
|
+
updated: string;
|
|
26
|
+
groupCategories: string;
|
|
27
|
+
description: string;
|
|
28
|
+
noDescription: string;
|
|
29
|
+
details: string;
|
|
30
|
+
created: string;
|
|
31
|
+
viewCount: string;
|
|
32
|
+
dashboardViews: string;
|
|
33
|
+
dashboardMobile: string;
|
|
34
|
+
dashboardDesktop: string;
|
|
35
|
+
fileSize: string;
|
|
36
|
+
attachmentsSize: string;
|
|
37
|
+
id: string;
|
|
38
|
+
url: string;
|
|
39
|
+
copyID: string;
|
|
40
|
+
copyURL: string;
|
|
41
|
+
copied: string;
|
|
42
|
+
copy: string;
|
|
43
|
+
copyError: string;
|
|
44
|
+
credits: string;
|
|
45
|
+
noCredits: string;
|
|
46
|
+
termsOfUse: string;
|
|
47
|
+
noTermsOfUse: string;
|
|
48
|
+
layers: string;
|
|
49
|
+
layersCount: string;
|
|
50
|
+
matched: string;
|
|
51
|
+
matchedNumber: string;
|
|
52
|
+
loadingLayers: string;
|
|
53
|
+
noLayers: string;
|
|
54
|
+
layerErrorTitle: string;
|
|
55
|
+
layerErrorMessage: string;
|
|
56
|
+
noServiceMessage: string;
|
|
57
|
+
retry: string;
|
|
58
|
+
back: string;
|
|
59
|
+
fields: string;
|
|
60
|
+
noFields: string;
|
|
61
|
+
geometryTypeTitle: string;
|
|
62
|
+
layerTypeTitle: string;
|
|
63
|
+
dataUpdated: string;
|
|
64
|
+
schemaUpdated: string;
|
|
65
|
+
loadingSublayer: string;
|
|
66
|
+
loadingStatistics: string;
|
|
67
|
+
statisticsError: string;
|
|
68
|
+
sublayerErrorTitle: string;
|
|
69
|
+
sublayerErrorMessage: string;
|
|
70
|
+
layerTypes: {
|
|
71
|
+
point: string;
|
|
72
|
+
line: string;
|
|
73
|
+
polygon: string;
|
|
74
|
+
multipatch: string;
|
|
75
|
+
multipoint: string;
|
|
76
|
+
table: string;
|
|
77
|
+
annotation: string;
|
|
78
|
+
dimension: string;
|
|
79
|
+
catalog: string;
|
|
80
|
+
"oriented imagery": string;
|
|
81
|
+
parcel: string;
|
|
82
|
+
"utility network": string;
|
|
83
|
+
topology: string;
|
|
84
|
+
"trace network": string;
|
|
85
|
+
};
|
|
86
|
+
fieldTypes: {
|
|
87
|
+
oid: string;
|
|
88
|
+
boolean: string;
|
|
89
|
+
string: string;
|
|
90
|
+
single: string;
|
|
91
|
+
double: string;
|
|
92
|
+
integer: string;
|
|
93
|
+
"small-integer": string;
|
|
94
|
+
"global-id": string;
|
|
95
|
+
date: string;
|
|
96
|
+
"big-integer": string;
|
|
97
|
+
"date-only": string;
|
|
98
|
+
"time-only": string;
|
|
99
|
+
"timestamp-offset": string;
|
|
100
|
+
guid: string;
|
|
101
|
+
blob: string;
|
|
102
|
+
raster: string;
|
|
103
|
+
geometry: string;
|
|
104
|
+
long: string;
|
|
105
|
+
xml: string;
|
|
106
|
+
};
|
|
107
|
+
fileSizeUnits: {
|
|
108
|
+
bytes: string;
|
|
109
|
+
kilobytes: string;
|
|
110
|
+
megabytes: string;
|
|
111
|
+
gigabytes: string;
|
|
112
|
+
terabytes: string;
|
|
113
|
+
};
|
|
114
|
+
} & T9nMeta<{
|
|
115
|
+
componentLabel: string;
|
|
116
|
+
close: string;
|
|
117
|
+
thumbnail: string;
|
|
118
|
+
summary: string;
|
|
119
|
+
noSummary: string;
|
|
120
|
+
overview: string;
|
|
121
|
+
itemStatus: string;
|
|
122
|
+
owner: string;
|
|
123
|
+
shared: string;
|
|
124
|
+
updated: string;
|
|
125
|
+
groupCategories: string;
|
|
126
|
+
description: string;
|
|
127
|
+
noDescription: string;
|
|
128
|
+
details: string;
|
|
129
|
+
created: string;
|
|
130
|
+
viewCount: string;
|
|
131
|
+
dashboardViews: string;
|
|
132
|
+
dashboardMobile: string;
|
|
133
|
+
dashboardDesktop: string;
|
|
134
|
+
fileSize: string;
|
|
135
|
+
attachmentsSize: string;
|
|
136
|
+
id: string;
|
|
137
|
+
url: string;
|
|
138
|
+
copyID: string;
|
|
139
|
+
copyURL: string;
|
|
140
|
+
copied: string;
|
|
141
|
+
copy: string;
|
|
142
|
+
copyError: string;
|
|
143
|
+
credits: string;
|
|
144
|
+
noCredits: string;
|
|
145
|
+
termsOfUse: string;
|
|
146
|
+
noTermsOfUse: string;
|
|
147
|
+
layers: string;
|
|
148
|
+
layersCount: string;
|
|
149
|
+
matched: string;
|
|
150
|
+
matchedNumber: string;
|
|
151
|
+
loadingLayers: string;
|
|
152
|
+
noLayers: string;
|
|
153
|
+
layerErrorTitle: string;
|
|
154
|
+
layerErrorMessage: string;
|
|
155
|
+
noServiceMessage: string;
|
|
156
|
+
retry: string;
|
|
157
|
+
back: string;
|
|
158
|
+
fields: string;
|
|
159
|
+
noFields: string;
|
|
160
|
+
geometryTypeTitle: string;
|
|
161
|
+
layerTypeTitle: string;
|
|
162
|
+
dataUpdated: string;
|
|
163
|
+
schemaUpdated: string;
|
|
164
|
+
loadingSublayer: string;
|
|
165
|
+
loadingStatistics: string;
|
|
166
|
+
statisticsError: string;
|
|
167
|
+
sublayerErrorTitle: string;
|
|
168
|
+
sublayerErrorMessage: string;
|
|
169
|
+
layerTypes: {
|
|
170
|
+
point: string;
|
|
171
|
+
line: string;
|
|
172
|
+
polygon: string;
|
|
173
|
+
multipatch: string;
|
|
174
|
+
multipoint: string;
|
|
175
|
+
table: string;
|
|
176
|
+
annotation: string;
|
|
177
|
+
dimension: string;
|
|
178
|
+
catalog: string;
|
|
179
|
+
"oriented imagery": string;
|
|
180
|
+
parcel: string;
|
|
181
|
+
"utility network": string;
|
|
182
|
+
topology: string;
|
|
183
|
+
"trace network": string;
|
|
184
|
+
};
|
|
185
|
+
fieldTypes: {
|
|
186
|
+
oid: string;
|
|
187
|
+
boolean: string;
|
|
188
|
+
string: string;
|
|
189
|
+
single: string;
|
|
190
|
+
double: string;
|
|
191
|
+
integer: string;
|
|
192
|
+
"small-integer": string;
|
|
193
|
+
"global-id": string;
|
|
194
|
+
date: string;
|
|
195
|
+
"big-integer": string;
|
|
196
|
+
"date-only": string;
|
|
197
|
+
"time-only": string;
|
|
198
|
+
"timestamp-offset": string;
|
|
199
|
+
guid: string;
|
|
200
|
+
blob: string;
|
|
201
|
+
raster: string;
|
|
202
|
+
geometry: string;
|
|
203
|
+
long: string;
|
|
204
|
+
xml: string;
|
|
205
|
+
};
|
|
206
|
+
fileSizeUnits: {
|
|
207
|
+
bytes: string;
|
|
208
|
+
kilobytes: string;
|
|
209
|
+
megabytes: string;
|
|
210
|
+
gigabytes: string;
|
|
211
|
+
terabytes: string;
|
|
212
|
+
};
|
|
213
|
+
}>;
|
|
214
|
+
/** @default false */
|
|
215
|
+
accessor showStatistics: boolean;
|
|
216
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import { c as i } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as a, createEvent as l } from "@arcgis/lumina";
|
|
4
|
+
import { css as c, html as s } from "lit";
|
|
5
|
+
import { cache as r } from "lit/directives/cache.js";
|
|
6
|
+
import { u as o } from "../../chunks/useT9n.js";
|
|
7
|
+
import { F as n } from "../../chunks/FieldIcons.js";
|
|
8
|
+
const d = c`:host{display:block}calcite-block{margin:0}.message{padding:1rem;font-size:var(--calcite-font-size--1)}.message p{margin:0 0 .5rem}`;
|
|
9
|
+
class p extends a {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments), this.messages = o({ name: "portal-item-preview", blocking: !0 }), this.expanded = !1, this.showStatistics = !1, this.failed = !1, this.arcgisInternalRequestStatistics = l({ bubbles: !1, composed: !1 });
|
|
12
|
+
}
|
|
13
|
+
static {
|
|
14
|
+
this.properties = { expanded: 16, field: 0, showStatistics: 5, layer: 0, failed: 5 };
|
|
15
|
+
}
|
|
16
|
+
static {
|
|
17
|
+
this.styles = d;
|
|
18
|
+
}
|
|
19
|
+
willUpdate(e) {
|
|
20
|
+
(e.has("field") || e.has("showStatistics") && !this.showStatistics) && (this.expanded = !1);
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
const { field: e, messages: t } = this;
|
|
24
|
+
return s`<calcite-block .heading=${e.alias || e.name} .description=${e.name} heading-level=5 .expandable=${this.showStatistics} .expanded=${this.expanded} @calciteBlockExpand=${() => {
|
|
25
|
+
this.expanded = !0, this.arcgisInternalRequestStatistics.emit();
|
|
26
|
+
}} @calciteBlockCollapse=${() => {
|
|
27
|
+
this.expanded = !1;
|
|
28
|
+
}}><span slot=content-start>${n({ fieldType: e.type, label: t.fieldTypes[e.type] })}</span>${this.showStatistics && r(this.expanded ? this.layer ? s`<arcgis-field-info .layer=${this.layer} .fieldName=${e.name}></arcgis-field-info>` : this.failed ? s`<div class="message"><p role=status>${t.statisticsError}</p><calcite-button appearance=outline scale=s @click=${() => this.arcgisInternalRequestStatistics.emit()}>${t.retry}</calcite-button></div>` : s`<calcite-loader .label=${t.loadingStatistics} scale=s></calcite-loader>` : null) || ""}</calcite-block>`;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
i("arcgis-portal-item-preview-field", p);
|
|
32
|
+
export {
|
|
33
|
+
p as ArcgisPortalItemPreviewField
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-icon";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-block";
|
|
3
|
+
import "@arcgis/common-components/components/arcgis-field-info";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
6
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type Portal from "@arcgis/core/portal/Portal.js";
|
|
3
|
+
import type PortalItem from "@arcgis/core/portal/PortalItem.js";
|
|
4
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
+
import type { ItemPreviewLayer } from "../arcgis-portal-item-preview/types.js";
|
|
6
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
|
+
|
|
8
|
+
/** @internal */
|
|
9
|
+
export abstract class ArcgisPortalItemPreviewSublayer extends LitElement {
|
|
10
|
+
accessor externalLinkHandler: ((event: MouseEvent) => void) | undefined;
|
|
11
|
+
accessor item: PortalItem | undefined;
|
|
12
|
+
accessor layer: ItemPreviewLayer | undefined;
|
|
13
|
+
/** @internal */
|
|
14
|
+
protected messages: {
|
|
15
|
+
componentLabel: string;
|
|
16
|
+
close: string;
|
|
17
|
+
thumbnail: string;
|
|
18
|
+
summary: string;
|
|
19
|
+
noSummary: string;
|
|
20
|
+
overview: string;
|
|
21
|
+
itemStatus: string;
|
|
22
|
+
owner: string;
|
|
23
|
+
shared: string;
|
|
24
|
+
updated: string;
|
|
25
|
+
groupCategories: string;
|
|
26
|
+
description: string;
|
|
27
|
+
noDescription: string;
|
|
28
|
+
details: string;
|
|
29
|
+
created: string;
|
|
30
|
+
viewCount: string;
|
|
31
|
+
dashboardViews: string;
|
|
32
|
+
dashboardMobile: string;
|
|
33
|
+
dashboardDesktop: string;
|
|
34
|
+
fileSize: string;
|
|
35
|
+
attachmentsSize: string;
|
|
36
|
+
id: string;
|
|
37
|
+
url: string;
|
|
38
|
+
copyID: string;
|
|
39
|
+
copyURL: string;
|
|
40
|
+
copied: string;
|
|
41
|
+
copy: string;
|
|
42
|
+
copyError: string;
|
|
43
|
+
credits: string;
|
|
44
|
+
noCredits: string;
|
|
45
|
+
termsOfUse: string;
|
|
46
|
+
noTermsOfUse: string;
|
|
47
|
+
layers: string;
|
|
48
|
+
layersCount: string;
|
|
49
|
+
matched: string;
|
|
50
|
+
matchedNumber: string;
|
|
51
|
+
loadingLayers: string;
|
|
52
|
+
noLayers: string;
|
|
53
|
+
layerErrorTitle: string;
|
|
54
|
+
layerErrorMessage: string;
|
|
55
|
+
noServiceMessage: string;
|
|
56
|
+
retry: string;
|
|
57
|
+
back: string;
|
|
58
|
+
fields: string;
|
|
59
|
+
noFields: string;
|
|
60
|
+
geometryTypeTitle: string;
|
|
61
|
+
layerTypeTitle: string;
|
|
62
|
+
dataUpdated: string;
|
|
63
|
+
schemaUpdated: string;
|
|
64
|
+
loadingSublayer: string;
|
|
65
|
+
loadingStatistics: string;
|
|
66
|
+
statisticsError: string;
|
|
67
|
+
sublayerErrorTitle: string;
|
|
68
|
+
sublayerErrorMessage: string;
|
|
69
|
+
layerTypes: {
|
|
70
|
+
point: string;
|
|
71
|
+
line: string;
|
|
72
|
+
polygon: string;
|
|
73
|
+
multipatch: string;
|
|
74
|
+
multipoint: string;
|
|
75
|
+
table: string;
|
|
76
|
+
annotation: string;
|
|
77
|
+
dimension: string;
|
|
78
|
+
catalog: string;
|
|
79
|
+
"oriented imagery": string;
|
|
80
|
+
parcel: string;
|
|
81
|
+
"utility network": string;
|
|
82
|
+
topology: string;
|
|
83
|
+
"trace network": string;
|
|
84
|
+
};
|
|
85
|
+
fieldTypes: {
|
|
86
|
+
oid: string;
|
|
87
|
+
boolean: string;
|
|
88
|
+
string: string;
|
|
89
|
+
single: string;
|
|
90
|
+
double: string;
|
|
91
|
+
integer: string;
|
|
92
|
+
"small-integer": string;
|
|
93
|
+
"global-id": string;
|
|
94
|
+
date: string;
|
|
95
|
+
"big-integer": string;
|
|
96
|
+
"date-only": string;
|
|
97
|
+
"time-only": string;
|
|
98
|
+
"timestamp-offset": string;
|
|
99
|
+
guid: string;
|
|
100
|
+
blob: string;
|
|
101
|
+
raster: string;
|
|
102
|
+
geometry: string;
|
|
103
|
+
long: string;
|
|
104
|
+
xml: string;
|
|
105
|
+
};
|
|
106
|
+
fileSizeUnits: {
|
|
107
|
+
bytes: string;
|
|
108
|
+
kilobytes: string;
|
|
109
|
+
megabytes: string;
|
|
110
|
+
gigabytes: string;
|
|
111
|
+
terabytes: string;
|
|
112
|
+
};
|
|
113
|
+
} & T9nMeta<{
|
|
114
|
+
componentLabel: string;
|
|
115
|
+
close: string;
|
|
116
|
+
thumbnail: string;
|
|
117
|
+
summary: string;
|
|
118
|
+
noSummary: string;
|
|
119
|
+
overview: string;
|
|
120
|
+
itemStatus: string;
|
|
121
|
+
owner: string;
|
|
122
|
+
shared: string;
|
|
123
|
+
updated: string;
|
|
124
|
+
groupCategories: string;
|
|
125
|
+
description: string;
|
|
126
|
+
noDescription: string;
|
|
127
|
+
details: string;
|
|
128
|
+
created: string;
|
|
129
|
+
viewCount: string;
|
|
130
|
+
dashboardViews: string;
|
|
131
|
+
dashboardMobile: string;
|
|
132
|
+
dashboardDesktop: string;
|
|
133
|
+
fileSize: string;
|
|
134
|
+
attachmentsSize: string;
|
|
135
|
+
id: string;
|
|
136
|
+
url: string;
|
|
137
|
+
copyID: string;
|
|
138
|
+
copyURL: string;
|
|
139
|
+
copied: string;
|
|
140
|
+
copy: string;
|
|
141
|
+
copyError: string;
|
|
142
|
+
credits: string;
|
|
143
|
+
noCredits: string;
|
|
144
|
+
termsOfUse: string;
|
|
145
|
+
noTermsOfUse: string;
|
|
146
|
+
layers: string;
|
|
147
|
+
layersCount: string;
|
|
148
|
+
matched: string;
|
|
149
|
+
matchedNumber: string;
|
|
150
|
+
loadingLayers: string;
|
|
151
|
+
noLayers: string;
|
|
152
|
+
layerErrorTitle: string;
|
|
153
|
+
layerErrorMessage: string;
|
|
154
|
+
noServiceMessage: string;
|
|
155
|
+
retry: string;
|
|
156
|
+
back: string;
|
|
157
|
+
fields: string;
|
|
158
|
+
noFields: string;
|
|
159
|
+
geometryTypeTitle: string;
|
|
160
|
+
layerTypeTitle: string;
|
|
161
|
+
dataUpdated: string;
|
|
162
|
+
schemaUpdated: string;
|
|
163
|
+
loadingSublayer: string;
|
|
164
|
+
loadingStatistics: string;
|
|
165
|
+
statisticsError: string;
|
|
166
|
+
sublayerErrorTitle: string;
|
|
167
|
+
sublayerErrorMessage: string;
|
|
168
|
+
layerTypes: {
|
|
169
|
+
point: string;
|
|
170
|
+
line: string;
|
|
171
|
+
polygon: string;
|
|
172
|
+
multipatch: string;
|
|
173
|
+
multipoint: string;
|
|
174
|
+
table: string;
|
|
175
|
+
annotation: string;
|
|
176
|
+
dimension: string;
|
|
177
|
+
catalog: string;
|
|
178
|
+
"oriented imagery": string;
|
|
179
|
+
parcel: string;
|
|
180
|
+
"utility network": string;
|
|
181
|
+
topology: string;
|
|
182
|
+
"trace network": string;
|
|
183
|
+
};
|
|
184
|
+
fieldTypes: {
|
|
185
|
+
oid: string;
|
|
186
|
+
boolean: string;
|
|
187
|
+
string: string;
|
|
188
|
+
single: string;
|
|
189
|
+
double: string;
|
|
190
|
+
integer: string;
|
|
191
|
+
"small-integer": string;
|
|
192
|
+
"global-id": string;
|
|
193
|
+
date: string;
|
|
194
|
+
"big-integer": string;
|
|
195
|
+
"date-only": string;
|
|
196
|
+
"time-only": string;
|
|
197
|
+
"timestamp-offset": string;
|
|
198
|
+
guid: string;
|
|
199
|
+
blob: string;
|
|
200
|
+
raster: string;
|
|
201
|
+
geometry: string;
|
|
202
|
+
long: string;
|
|
203
|
+
xml: string;
|
|
204
|
+
};
|
|
205
|
+
fileSizeUnits: {
|
|
206
|
+
bytes: string;
|
|
207
|
+
kilobytes: string;
|
|
208
|
+
megabytes: string;
|
|
209
|
+
gigabytes: string;
|
|
210
|
+
terabytes: string;
|
|
211
|
+
};
|
|
212
|
+
}>;
|
|
213
|
+
accessor portal: Portal | undefined;
|
|
214
|
+
/** @default false */
|
|
215
|
+
accessor showFieldStatistics: boolean;
|
|
216
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import "../../chunks/runtime.js";
|
|
3
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
4
|
+
import "@arcgis/lumina";
|
|
5
|
+
import "@arcgis/toolkit/log";
|
|
6
|
+
import "@lit/task";
|
|
7
|
+
import "lit";
|
|
8
|
+
import "../../chunks/useT9n.js";
|
|
9
|
+
import "../../chunks/dom.js";
|
|
10
|
+
import "../../chunks/utils3.js";
|
|
11
|
+
import { A as b } from "../../chunks/portal-item-preview-sublayer.js";
|
|
12
|
+
import "../arcgis-portal-item-preview-field/customElement.js";
|
|
13
|
+
export {
|
|
14
|
+
b as ArcgisPortalItemPreviewSublayer
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-tabs";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-tab-nav";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-tab-title";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-tab";
|
|
5
|
+
import "../arcgis-portal-item-preview-field/index.js";
|
|
6
|
+
import "../arcgis-portal-item-preview-copy/index.js";
|
|
7
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
9
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
10
|
+
import "../arcgis-portal-sublayer-type/index.js";
|
|
11
|
+
export * from "./customElement.js";
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/// <reference path="../../index.d.ts" />
|
|
2
|
+
import type Portal from "@arcgis/core/portal/Portal.js";
|
|
3
|
+
import type PortalItem from "@arcgis/core/portal/PortalItem.js";
|
|
4
|
+
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
+
import type { PortalGroupSourceJSON } from "../../types/group.js";
|
|
6
|
+
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
|
+
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
|
+
import type { Tooltip as Tooltip } from "@esri/calcite-components/components/calcite-tooltip";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Read-only sharing summary, also reusable as the UI of a sharing workflow.
|
|
12
|
+
*
|
|
13
|
+
* @slot [tooltip-header-end] - Content at the end of the sharing tooltip header.
|
|
14
|
+
*/
|
|
15
|
+
export abstract class ArcgisPortalItemShareSummary extends LitElement {
|
|
16
|
+
/**
|
|
17
|
+
* Automatically fetches omitted groups, including when the item or portal changes.
|
|
18
|
+
*
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
21
|
+
accessor autoFetchGroups: boolean;
|
|
22
|
+
/** List of current user's groups the item is shared to. */
|
|
23
|
+
accessor groups: string[] | undefined;
|
|
24
|
+
/** Item whose sharing status you'd like to show, can be a search result or a PortalItem instance. */
|
|
25
|
+
accessor item: PortalItem;
|
|
26
|
+
/** Overrides the component's localized messages. */
|
|
27
|
+
accessor messageOverrides: {
|
|
28
|
+
sharing?: string | undefined;
|
|
29
|
+
private?: string | undefined;
|
|
30
|
+
shared?: string | undefined;
|
|
31
|
+
org?: string | undefined;
|
|
32
|
+
public?: string | undefined;
|
|
33
|
+
privateGroups?: string | undefined;
|
|
34
|
+
sharedGroups?: string | undefined;
|
|
35
|
+
orgGroups?: string | undefined;
|
|
36
|
+
publicGroups?: string | undefined;
|
|
37
|
+
groups?: string | undefined;
|
|
38
|
+
updateSharing?: string | undefined;
|
|
39
|
+
viewableBy?: string | undefined;
|
|
40
|
+
everyone?: string | undefined;
|
|
41
|
+
organization?: string | undefined;
|
|
42
|
+
groupMembers?: string | undefined;
|
|
43
|
+
};
|
|
44
|
+
/** @internal */
|
|
45
|
+
protected messages: {
|
|
46
|
+
sharing: string;
|
|
47
|
+
private: string;
|
|
48
|
+
shared: string;
|
|
49
|
+
org: string;
|
|
50
|
+
public: string;
|
|
51
|
+
privateGroups: string;
|
|
52
|
+
sharedGroups: string;
|
|
53
|
+
orgGroups: string;
|
|
54
|
+
publicGroups: string;
|
|
55
|
+
groups: string;
|
|
56
|
+
updateSharing: string;
|
|
57
|
+
viewableBy: string;
|
|
58
|
+
everyone: string;
|
|
59
|
+
organization: string;
|
|
60
|
+
groupMembers: string;
|
|
61
|
+
} & T9nMeta<{
|
|
62
|
+
sharing: string;
|
|
63
|
+
private: string;
|
|
64
|
+
shared: string;
|
|
65
|
+
org: string;
|
|
66
|
+
public: string;
|
|
67
|
+
privateGroups: string;
|
|
68
|
+
sharedGroups: string;
|
|
69
|
+
orgGroups: string;
|
|
70
|
+
publicGroups: string;
|
|
71
|
+
groups: string;
|
|
72
|
+
updateSharing: string;
|
|
73
|
+
viewableBy: string;
|
|
74
|
+
everyone: string;
|
|
75
|
+
organization: string;
|
|
76
|
+
groupMembers: string;
|
|
77
|
+
}>;
|
|
78
|
+
/**
|
|
79
|
+
* Positioning of the tooltip overlay.
|
|
80
|
+
*
|
|
81
|
+
* @default "absolute"
|
|
82
|
+
*/
|
|
83
|
+
accessor overlayPositioning: Tooltip["overlayPositioning"];
|
|
84
|
+
/** Portal used for sharing and group requests. */
|
|
85
|
+
accessor portal: Portal;
|
|
86
|
+
/**
|
|
87
|
+
* Scale of the component.
|
|
88
|
+
*
|
|
89
|
+
* @default "m"
|
|
90
|
+
*/
|
|
91
|
+
accessor scale: Icon["scale"];
|
|
92
|
+
/**
|
|
93
|
+
* Force display of hoverText (even if showText is true).
|
|
94
|
+
*
|
|
95
|
+
* @default false
|
|
96
|
+
*/
|
|
97
|
+
accessor showHoverText: boolean | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Show text, if false will show icon plus tooltip.
|
|
100
|
+
*
|
|
101
|
+
* @default true
|
|
102
|
+
*/
|
|
103
|
+
accessor showText: boolean;
|
|
104
|
+
/** List of all the user's groups. */
|
|
105
|
+
accessor userGroups: Pick<PortalGroupSourceJSON, "id">[] | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Refreshes sharing groups after pending property updates, excluding favorites from the sharing count.
|
|
108
|
+
* Does not reload the item's access level; the host must supply the updated item after sharing changes.
|
|
109
|
+
*/
|
|
110
|
+
fetchGroups(): Promise<void>;
|
|
111
|
+
/** Focuses the summary button after pending property updates. */
|
|
112
|
+
setFocus(): Promise<void>;
|
|
113
|
+
}
|