@arcgis/portal-components 6.0.0-next.3 → 6.0.0-next.31
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/22DNGXFY.js +2 -0
- package/dist/cdn/234TH32X.js +106 -0
- package/dist/cdn/25K5D5HL.js +2 -0
- package/dist/cdn/2CC4MNQP.js +2 -0
- package/dist/cdn/365ICWHN.js +2 -0
- package/dist/cdn/3CXU5CCM.js +2 -0
- package/dist/cdn/3DTSKTHB.js +2 -0
- package/dist/cdn/3MUI6DF4.js +2 -0
- package/dist/cdn/{3NSHGKZA.js → 3QWNGHAK.js} +1 -1
- package/dist/cdn/3T3QBPC3.js +2 -0
- package/dist/cdn/4QYVBXZT.js +2 -0
- package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
- package/dist/cdn/4X4EYM3Q.js +2 -0
- package/dist/cdn/4Y73LE7P.js +2 -0
- package/dist/cdn/5CEFJTG4.js +2 -0
- package/dist/cdn/5VFGR7LA.js +2 -0
- package/dist/cdn/5Y32T5IJ.js +2 -0
- package/dist/cdn/{JPUUMGX5.js → 6EMK2BU6.js} +1 -1
- package/dist/cdn/6HNKQNS5.js +2 -0
- package/dist/cdn/{NWVLGU2C.js → 7BFTXD5J.js} +1 -1
- package/dist/cdn/{URQML7KV.js → 7DAB2CEU.js} +1 -1
- package/dist/cdn/7ZWYPQMW.js +2 -0
- package/dist/cdn/AM3UTQWH.js +4 -0
- package/dist/cdn/{D2YQWKME.js → ASID6YW7.js} +2 -2
- package/dist/cdn/ASLKTYLX.js +2 -0
- package/dist/cdn/{7ZWYUHGK.js → B343BOVA.js} +1 -1
- package/dist/cdn/BHZKSSVZ.js +2 -0
- package/dist/cdn/BOEGDK4D.js +2 -0
- package/dist/cdn/{QTAYXO5T.js → BRWHEYLW.js} +1 -1
- package/dist/cdn/{74T6IXSN.js → BX2LXI3N.js} +1 -1
- package/dist/cdn/{JE2376SE.js → C3F24ZOM.js} +1 -1
- package/dist/cdn/C4GK263H.js +2 -0
- package/dist/cdn/CBFFZMX4.js +2 -0
- package/dist/cdn/CJ4S56BE.js +2 -0
- package/dist/cdn/{IN4JPZTY.js → CMNTOT5D.js} +1 -1
- package/dist/cdn/CVU6YKOA.js +2 -0
- package/dist/cdn/D52TYBRX.js +2 -0
- package/dist/cdn/DMS3R2W5.js +2 -0
- package/dist/cdn/{TWCJJCPC.js → DV57AOBF.js} +1 -1
- package/dist/cdn/EDQSL2P3.js +2 -0
- package/dist/cdn/ERBRAY5U.js +2 -0
- package/dist/cdn/{TRMFL7PT.js → ESKKH4DE.js} +1 -1
- package/dist/cdn/FAZVQI4K.js +2 -0
- package/dist/cdn/{TXC7YBGL.js → FGDSHTJ5.js} +1 -1
- package/dist/cdn/FGRMURKX.js +2 -0
- package/dist/cdn/{2TDHJSMP.js → FKOSVY5D.js} +1 -1
- package/dist/cdn/FN2QMDEW.js +2 -0
- package/dist/cdn/FOWOLUC3.js +2 -0
- package/dist/cdn/FVHP6PFG.js +2 -0
- package/dist/cdn/G7DJPREL.js +2 -0
- package/dist/cdn/GBXFX37Y.js +2 -0
- package/dist/cdn/{K2XSYDAP.js → GC4BV7IZ.js} +1 -1
- package/dist/cdn/H6MGSC3Y.js +2 -0
- package/dist/cdn/H6OQOEHS.js +2 -0
- package/dist/cdn/{YZTBAUIO.js → HBO7XTIL.js} +1 -1
- package/dist/cdn/HKHDBGNN.js +2 -0
- package/dist/cdn/HVQ7FKJ5.js +2 -0
- package/dist/cdn/HXR7GUM3.js +91 -0
- package/dist/cdn/IGOSZ2LL.js +2 -0
- package/dist/cdn/{GAF4YT5N.js → IUIFCQQU.js} +1 -1
- package/dist/cdn/IX4WEZZ2.js +2 -0
- package/dist/cdn/JA3GGSJJ.js +2 -0
- package/dist/cdn/{M5PPX4ZX.js → JEVNGG2O.js} +1 -1
- package/dist/cdn/JLT5GCLY.js +2 -0
- package/dist/cdn/K3GAZFRI.js +63 -0
- package/dist/cdn/KHA6NJ4N.js +2 -0
- package/dist/cdn/KRORL7QC.js +2 -0
- package/dist/cdn/KTTPPUQ7.js +2 -0
- package/dist/cdn/L25GEXL6.js +2 -0
- package/dist/cdn/LBW47BJG.js +2 -0
- package/dist/cdn/LR33CLTB.js +2 -0
- package/dist/cdn/{CFRJU6VA.js → M664QA6J.js} +1 -1
- package/dist/cdn/MJVKDAYF.js +2 -0
- package/dist/cdn/MSSJRDR7.js +2 -0
- package/dist/cdn/MVC6LIQ6.js +2 -0
- package/dist/cdn/NENAFJEC.js +2 -0
- package/dist/cdn/NHVPNSNH.js +2 -0
- package/dist/cdn/NLFBHNSX.js +2 -0
- package/dist/cdn/{VNU4QX7M.js → NQ2IAQKL.js} +17 -17
- package/dist/cdn/{2YZWRFCI.js → NYBLHT3F.js} +1 -1
- package/dist/cdn/O4YFPGD5.js +2 -0
- package/dist/cdn/OHAQPQAP.js +2 -0
- package/dist/cdn/OQ2JULON.js +2 -0
- package/dist/cdn/{JIJO4CAS.js → PJZZIITX.js} +1 -1
- package/dist/cdn/PRBP4AP6.js +2 -0
- package/dist/cdn/{ZKZDKJ6D.js → PST62OKJ.js} +1 -1
- package/dist/cdn/Q2CCAKI4.js +2 -0
- package/dist/cdn/QF626JXP.js +2 -0
- package/dist/cdn/QMIVFHQE.js +2 -0
- package/dist/cdn/QRHXMIMW.js +2 -0
- package/dist/cdn/R5LNWMD4.js +2 -0
- package/dist/cdn/RJ3SU3EV.js +2 -0
- package/dist/cdn/RJRTGF33.js +2 -0
- package/dist/cdn/RT26JZP5.js +2 -0
- package/dist/cdn/{I6IRHXWR.js → SO3IBFEU.js} +1 -1
- package/dist/cdn/SRWFOV5W.js +2 -0
- package/dist/cdn/SUA7ZZUH.js +2 -0
- package/dist/cdn/SV6SGTR6.js +2 -0
- package/dist/cdn/TAZDV6DB.js +2 -0
- package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
- package/dist/cdn/TJANHZ25.js +2 -0
- package/dist/cdn/{MKSFNVXL.js → TO666HVV.js} +1 -1
- package/dist/cdn/UBPCKCW2.js +2 -0
- package/dist/cdn/ULGME5RT.js +2 -0
- package/dist/cdn/US37IXWO.js +2 -0
- package/dist/cdn/UZW2KV4X.js +2 -0
- package/dist/cdn/{Z6R3C4AK.js → VFECPSKA.js} +1 -1
- package/dist/cdn/VLD3MVSG.js +2 -0
- package/dist/cdn/VWV2LCNA.js +2 -0
- package/dist/cdn/WC3MDSMP.js +70 -0
- package/dist/cdn/WCZJXBW3.js +2 -0
- package/dist/cdn/WFPUAEJQ.js +3 -0
- package/dist/cdn/{OR6T5SB3.js → WIUFH5SJ.js} +1 -1
- package/dist/cdn/{5HZNBMW6.js → WZFGZEQI.js} +1 -1
- package/dist/cdn/XE3DCC5D.js +2 -0
- package/dist/cdn/{JN23JH3T.js → XEVOU7SJ.js} +1 -1
- package/dist/cdn/{BKD7JSV2.js → XH6RD5BO.js} +1 -1
- package/dist/cdn/XJNEK5Q7.js +2 -0
- package/dist/cdn/XK3WIW4R.js +2 -0
- package/dist/cdn/XOM3GLYF.js +2 -0
- package/dist/cdn/YGZICQBT.js +2 -0
- package/dist/cdn/YP7T6NKR.js +2 -0
- package/dist/cdn/{RHCRPJWS.js → YYKKXL62.js} +1 -1
- package/dist/cdn/Z5OZYZYV.js +2 -0
- package/dist/cdn/{SGDDFWCJ.js → ZGSAH7Z7.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-type/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/FieldIcons.js +24 -0
- package/dist/chunks/fieldAddDelete.js +7 -7
- package/dist/chunks/functionalities.js +14 -9
- package/dist/chunks/groups.js +8 -61
- package/dist/chunks/groups2.js +23 -8
- package/dist/chunks/info.js +2 -2
- package/dist/chunks/item.js +131 -33
- package/dist/chunks/item2.js +63 -125
- package/dist/chunks/itemThumbnail.js +21 -21
- 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-related-items-list-item.js +1 -1
- package/dist/chunks/portal.js +6 -6
- package/dist/chunks/portal2.js +23 -23
- package/dist/chunks/portalEntitySelection.js +61 -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/utils2.js +4 -4
- 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 +26 -17
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +546 -2655
- package/dist/components/arcgis-portal-ai-assistant/index.js +4 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
- package/dist/components/arcgis-portal-ai-assistant/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 +8 -1
- package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +19 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +39 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +67 -27
- package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -1
- 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 +446 -330
- package/dist/components/arcgis-portal-delete-items/index.js +1 -2
- package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
- package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +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 +96 -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-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.js +7 -8
- package/dist/components/arcgis-portal-navigation/index.js +4 -4
- 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-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 +63 -0
- package/dist/index.js +300 -6
- package/dist/loader.js +18 -10
- 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 +17 -11
- package/dist/types/layer.d.ts +27 -0
- package/dist/types/lumina.d.ts +63 -11
- package/dist/types/portalAssistantCurrentContext.d.ts +9 -0
- package/dist/types/portalEntityPicker.d.ts +3 -0
- package/dist/types/preact.d.ts +71 -11
- package/dist/types/react.d.ts +79 -11
- package/dist/types/services.d.ts +28 -1
- package/dist/types/stencil.d.ts +63 -11
- 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 +11 -10
- 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/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/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/FRE56NBG.js +0 -2
- 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/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/{GGDOGNH4.js → U2HTYOBB.js} +0 -0
package/dist/types/react.d.ts
CHANGED
|
@@ -36,12 +36,20 @@ import type { ArcgisPortalItemActions } from "../components/arcgis-portal-item-a
|
|
|
36
36
|
import type { ArcgisPortalItemBadges } from "../components/arcgis-portal-item-badges/customElement.js";
|
|
37
37
|
import type { ArcgisPortalItemBadge } from "../components/arcgis-portal-item-badge/customElement.js";
|
|
38
38
|
import type { ArcgisPortalItemCard } from "../components/arcgis-portal-item-card/customElement.js";
|
|
39
|
+
import type { ArcgisPortalItemCardSublayerSelect } from "../components/arcgis-portal-item-card-sublayer-select/customElement.js";
|
|
39
40
|
import type { ArcgisPortalItemFavorite } from "../components/arcgis-portal-item-favorite/customElement.js";
|
|
40
41
|
import type { ArcgisPortalItemPicker } from "../components/arcgis-portal-item-picker/customElement.js";
|
|
42
|
+
import type { ArcgisPortalItemPreview } from "../components/arcgis-portal-item-preview/customElement.js";
|
|
43
|
+
import type { ArcgisPortalItemPreviewCopy } from "../components/arcgis-portal-item-preview-copy/customElement.js";
|
|
44
|
+
import type { ArcgisPortalItemPreviewField } from "../components/arcgis-portal-item-preview-field/customElement.js";
|
|
45
|
+
import type { ArcgisPortalItemPreviewSublayer } from "../components/arcgis-portal-item-preview-sublayer/customElement.js";
|
|
46
|
+
import type { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
|
|
47
|
+
import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
|
|
41
48
|
import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
|
|
42
49
|
import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
|
|
43
50
|
import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
44
51
|
import type { ArcGISPortalNavigation } from "../components/arcgis-portal-navigation/customElement.js";
|
|
52
|
+
import type { ArcgisPortalPreviewPanel } from "../components/arcgis-portal-preview-panel/customElement.js";
|
|
45
53
|
import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
|
|
46
54
|
import type { ArcgisPortalReviewRelatedItems } from "../components/arcgis-portal-review-related-items/customElement.js";
|
|
47
55
|
import type { ArcgisPortalSublayerType } from "../components/arcgis-portal-sublayer-type/customElement.js";
|
|
@@ -74,16 +82,17 @@ interface ReactArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPor
|
|
|
74
82
|
onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
|
|
75
83
|
}
|
|
76
84
|
|
|
77
|
-
interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
|
|
85
|
+
interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
|
|
78
86
|
onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
|
|
87
|
+
onarcgisPropertyChange?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]>;
|
|
79
88
|
onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
|
|
80
89
|
}
|
|
81
90
|
|
|
82
|
-
interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "
|
|
91
|
+
interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, HTMLProps<ArcgisPortalAiAssistant> {
|
|
83
92
|
onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
|
|
84
93
|
}
|
|
85
94
|
|
|
86
|
-
interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
|
|
95
|
+
interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
|
|
87
96
|
onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
|
|
88
97
|
onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
|
|
89
98
|
}
|
|
@@ -92,6 +101,8 @@ interface ReactArcgisPortalBrowser extends Partial<Pick<ArcgisPortalBrowser, "al
|
|
|
92
101
|
onarcgisAriaUpdate?: EventHandler<ArcgisPortalBrowser["arcgisAriaUpdate"]>;
|
|
93
102
|
onarcgisBrowserFilterClear?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterClear"]>;
|
|
94
103
|
onarcgisBrowserFilterRemove?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterRemove"]>;
|
|
104
|
+
onarcgisPreviewClose?: EventHandler<ArcgisPortalBrowser["arcgisPreviewClose"]>;
|
|
105
|
+
/** @deprecated Use arcgisAriaUpdate instead. */
|
|
95
106
|
onariaUpdate?: EventHandler<ArcgisPortalBrowser["ariaUpdate"]>;
|
|
96
107
|
}
|
|
97
108
|
|
|
@@ -140,8 +151,8 @@ interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgis
|
|
|
140
151
|
onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
|
|
141
152
|
}
|
|
142
153
|
|
|
143
|
-
interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
|
|
144
|
-
|
|
154
|
+
interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
|
|
155
|
+
onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
|
|
145
156
|
onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
|
|
146
157
|
onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
|
|
147
158
|
}
|
|
@@ -149,7 +160,7 @@ interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteIt
|
|
|
149
160
|
interface ReactArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItemsReview> {
|
|
150
161
|
}
|
|
151
162
|
|
|
152
|
-
interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalEntityPicker> {
|
|
163
|
+
interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalEntityPicker> {
|
|
153
164
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
|
|
154
165
|
}
|
|
155
166
|
|
|
@@ -202,7 +213,7 @@ interface ReactArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard,
|
|
|
202
213
|
onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
|
|
203
214
|
}
|
|
204
215
|
|
|
205
|
-
interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalGroupPicker> {
|
|
216
|
+
interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalGroupPicker> {
|
|
206
217
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
|
|
207
218
|
}
|
|
208
219
|
|
|
@@ -225,21 +236,49 @@ interface ReactArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadge
|
|
|
225
236
|
interface ReactArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, HTMLProps<ArcgisPortalItemBadge> {
|
|
226
237
|
}
|
|
227
238
|
|
|
228
|
-
interface ReactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "disabled" | "disableSelection" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "user" | "userPopupZIndex" | "view">>, HTMLProps<ArcgisPortalItemCard> {
|
|
239
|
+
interface ReactArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "allowedGeometries" | "disabled" | "disableSelection" | "groups" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selectedItems" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "useProduction" | "user" | "userGroups" | "userPopupZIndex" | "view">>, HTMLProps<ArcgisPortalItemCard> {
|
|
229
240
|
onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
|
|
230
241
|
onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
|
|
231
242
|
onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
|
|
232
243
|
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
|
|
244
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
interface ReactArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, HTMLProps<ArcgisPortalItemCardSublayerSelect> {
|
|
248
|
+
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
|
|
249
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
|
|
233
250
|
}
|
|
234
251
|
|
|
235
252
|
interface ReactArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, HTMLProps<ArcgisPortalItemFavorite> {
|
|
236
253
|
onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
|
|
237
254
|
}
|
|
238
255
|
|
|
239
|
-
interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalItemPicker> {
|
|
256
|
+
interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalItemPicker> {
|
|
240
257
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
|
|
241
258
|
}
|
|
242
259
|
|
|
260
|
+
interface ReactArcgisPortalItemPreview extends Partial<Pick<ArcgisPortalItemPreview, "groups" | "item" | "matchedSublayerIds" | "portal" | "showFieldStatistics" | "showHosted" | "user" | "userGroups">>, HTMLProps<ArcgisPortalItemPreview> {
|
|
261
|
+
onarcgisClose?: EventHandler<ArcgisPortalItemPreview["arcgisClose"]>;
|
|
262
|
+
onarcgisExternalLink?: EventHandler<ArcgisPortalItemPreview["arcgisExternalLink"]>;
|
|
263
|
+
onarcgisSublayerChange?: EventHandler<ArcgisPortalItemPreview["arcgisSublayerChange"]>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
interface ReactArcgisPortalItemPreviewCopy extends Partial<Pick<ArcgisPortalItemPreviewCopy, "heading" | "label" | "section" | "text">>, HTMLProps<ArcgisPortalItemPreviewCopy> {
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
interface ReactArcgisPortalItemPreviewField extends Partial<Pick<ArcgisPortalItemPreviewField, "failed" | "field" | "layer" | "showStatistics">>, HTMLProps<ArcgisPortalItemPreviewField> {
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
interface ReactArcgisPortalItemPreviewSublayer extends Partial<Pick<ArcgisPortalItemPreviewSublayer, "externalLinkHandler" | "item" | "layer" | "portal" | "showFieldStatistics">>, HTMLProps<ArcgisPortalItemPreviewSublayer> {
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
interface ReactArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummary> {
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
interface ReactArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummaryEditable> {
|
|
279
|
+
onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
|
|
280
|
+
}
|
|
281
|
+
|
|
243
282
|
interface ReactArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, HTMLProps<ArcgisPortalItemThumbnail> {
|
|
244
283
|
onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
|
|
245
284
|
}
|
|
@@ -262,11 +301,16 @@ interface ReactArcgisPortalNavigation extends Partial<Pick<ArcGISPortalNavigatio
|
|
|
262
301
|
onarcgisNavigationSignOut?: EventHandler<ArcGISPortalNavigation["arcgisNavigationSignOut"]>;
|
|
263
302
|
}
|
|
264
303
|
|
|
304
|
+
interface ReactArcgisPortalPreviewPanel extends Partial<Pick<ArcgisPortalPreviewPanel, "fixed" | "open">>, HTMLProps<ArcgisPortalPreviewPanel> {
|
|
305
|
+
onarcgisClose?: EventHandler<ArcgisPortalPreviewPanel["arcgisClose"]>;
|
|
306
|
+
onarcgisOpen?: EventHandler<ArcgisPortalPreviewPanel["arcgisOpen"]>;
|
|
307
|
+
}
|
|
308
|
+
|
|
265
309
|
interface ReactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, "itemId" | "portal" | "user">>, HTMLProps<ArcgisPortalReplacementItemRedirect> {
|
|
266
310
|
onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
|
|
267
311
|
}
|
|
268
312
|
|
|
269
|
-
interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
|
|
313
|
+
interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
|
|
270
314
|
}
|
|
271
315
|
|
|
272
316
|
interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, HTMLProps<ArcgisPortalSublayerType> {
|
|
@@ -275,7 +319,7 @@ interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublaye
|
|
|
275
319
|
interface ReactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLProps<ArcgisPortalUserAvatar> {
|
|
276
320
|
}
|
|
277
321
|
|
|
278
|
-
interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalUserPicker> {
|
|
322
|
+
interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalUserPicker> {
|
|
279
323
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
|
|
280
324
|
}
|
|
281
325
|
|
|
@@ -332,12 +376,20 @@ declare module "react" {
|
|
|
332
376
|
"arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
|
|
333
377
|
"arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
|
|
334
378
|
"arcgis-portal-item-card": ReactArcgisPortalItemCard;
|
|
379
|
+
"arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
|
|
335
380
|
"arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
|
|
336
381
|
"arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
|
|
382
|
+
"arcgis-portal-item-preview": ReactArcgisPortalItemPreview;
|
|
383
|
+
"arcgis-portal-item-preview-copy": ReactArcgisPortalItemPreviewCopy;
|
|
384
|
+
"arcgis-portal-item-preview-field": ReactArcgisPortalItemPreviewField;
|
|
385
|
+
"arcgis-portal-item-preview-sublayer": ReactArcgisPortalItemPreviewSublayer;
|
|
386
|
+
"arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
|
|
387
|
+
"arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
|
|
337
388
|
"arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
|
|
338
389
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
339
390
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
340
391
|
"arcgis-portal-navigation": ReactArcgisPortalNavigation;
|
|
392
|
+
"arcgis-portal-preview-panel": ReactArcgisPortalPreviewPanel;
|
|
341
393
|
"arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
|
|
342
394
|
"arcgis-portal-review-related-items": ReactArcgisPortalReviewRelatedItems;
|
|
343
395
|
"arcgis-portal-sublayer-type": ReactArcgisPortalSublayerType;
|
|
@@ -388,12 +440,20 @@ declare module "react/jsx-runtime" {
|
|
|
388
440
|
"arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
|
|
389
441
|
"arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
|
|
390
442
|
"arcgis-portal-item-card": ReactArcgisPortalItemCard;
|
|
443
|
+
"arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
|
|
391
444
|
"arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
|
|
392
445
|
"arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
|
|
446
|
+
"arcgis-portal-item-preview": ReactArcgisPortalItemPreview;
|
|
447
|
+
"arcgis-portal-item-preview-copy": ReactArcgisPortalItemPreviewCopy;
|
|
448
|
+
"arcgis-portal-item-preview-field": ReactArcgisPortalItemPreviewField;
|
|
449
|
+
"arcgis-portal-item-preview-sublayer": ReactArcgisPortalItemPreviewSublayer;
|
|
450
|
+
"arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
|
|
451
|
+
"arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
|
|
393
452
|
"arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
|
|
394
453
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
395
454
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
396
455
|
"arcgis-portal-navigation": ReactArcgisPortalNavigation;
|
|
456
|
+
"arcgis-portal-preview-panel": ReactArcgisPortalPreviewPanel;
|
|
397
457
|
"arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
|
|
398
458
|
"arcgis-portal-review-related-items": ReactArcgisPortalReviewRelatedItems;
|
|
399
459
|
"arcgis-portal-sublayer-type": ReactArcgisPortalSublayerType;
|
|
@@ -444,12 +504,20 @@ declare module "react/jsx-dev-runtime" {
|
|
|
444
504
|
"arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
|
|
445
505
|
"arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
|
|
446
506
|
"arcgis-portal-item-card": ReactArcgisPortalItemCard;
|
|
507
|
+
"arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
|
|
447
508
|
"arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
|
|
448
509
|
"arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
|
|
510
|
+
"arcgis-portal-item-preview": ReactArcgisPortalItemPreview;
|
|
511
|
+
"arcgis-portal-item-preview-copy": ReactArcgisPortalItemPreviewCopy;
|
|
512
|
+
"arcgis-portal-item-preview-field": ReactArcgisPortalItemPreviewField;
|
|
513
|
+
"arcgis-portal-item-preview-sublayer": ReactArcgisPortalItemPreviewSublayer;
|
|
514
|
+
"arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
|
|
515
|
+
"arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
|
|
449
516
|
"arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
|
|
450
517
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
451
518
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
452
519
|
"arcgis-portal-navigation": ReactArcgisPortalNavigation;
|
|
520
|
+
"arcgis-portal-preview-panel": ReactArcgisPortalPreviewPanel;
|
|
453
521
|
"arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
|
|
454
522
|
"arcgis-portal-review-related-items": ReactArcgisPortalReviewRelatedItems;
|
|
455
523
|
"arcgis-portal-sublayer-type": ReactArcgisPortalSublayerType;
|
package/dist/types/services.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export interface Result<ResultT = never, ErrorT extends PortalErrorType = PortalErrorType> {
|
|
2
|
+
result?: ResultT;
|
|
3
|
+
error?: PortalError<ErrorT>;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
export interface ArcgisRestError {
|
|
2
7
|
code: number;
|
|
3
8
|
messageCode: string;
|
|
@@ -6,4 +11,26 @@ export interface ArcgisRestError {
|
|
|
6
11
|
details: { messages: string[]; };
|
|
7
12
|
/** List of dependent items blocking an operation */
|
|
8
13
|
offendingItems: unknown[];
|
|
9
|
-
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type PortalErrorType = (typeof portalErrorList)[number];
|
|
17
|
+
|
|
18
|
+
export interface PortalError<Error extends PortalErrorType = PortalErrorType> {
|
|
19
|
+
code: Error;
|
|
20
|
+
translatedMessage?: string;
|
|
21
|
+
message?: string;
|
|
22
|
+
details?: { messages: string[]; };
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const portalErrorList: readonly [
|
|
26
|
+
"unhandledError",
|
|
27
|
+
"disabledSubscription",
|
|
28
|
+
"serviceNotExist",
|
|
29
|
+
"notebookAccessBlocked",
|
|
30
|
+
"serviceUnavailable",
|
|
31
|
+
"missingGroupId",
|
|
32
|
+
"groupNotFound",
|
|
33
|
+
"itemHasDependentItems",
|
|
34
|
+
"itemDeleteProtected",
|
|
35
|
+
"itemNotSupportedInRecycleBin"
|
|
36
|
+
];
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -36,12 +36,20 @@ import type { ArcgisPortalItemActions } from "../components/arcgis-portal-item-a
|
|
|
36
36
|
import type { ArcgisPortalItemBadges } from "../components/arcgis-portal-item-badges/customElement.js";
|
|
37
37
|
import type { ArcgisPortalItemBadge } from "../components/arcgis-portal-item-badge/customElement.js";
|
|
38
38
|
import type { ArcgisPortalItemCard } from "../components/arcgis-portal-item-card/customElement.js";
|
|
39
|
+
import type { ArcgisPortalItemCardSublayerSelect } from "../components/arcgis-portal-item-card-sublayer-select/customElement.js";
|
|
39
40
|
import type { ArcgisPortalItemFavorite } from "../components/arcgis-portal-item-favorite/customElement.js";
|
|
40
41
|
import type { ArcgisPortalItemPicker } from "../components/arcgis-portal-item-picker/customElement.js";
|
|
42
|
+
import type { ArcgisPortalItemPreview } from "../components/arcgis-portal-item-preview/customElement.js";
|
|
43
|
+
import type { ArcgisPortalItemPreviewCopy } from "../components/arcgis-portal-item-preview-copy/customElement.js";
|
|
44
|
+
import type { ArcgisPortalItemPreviewField } from "../components/arcgis-portal-item-preview-field/customElement.js";
|
|
45
|
+
import type { ArcgisPortalItemPreviewSublayer } from "../components/arcgis-portal-item-preview-sublayer/customElement.js";
|
|
46
|
+
import type { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
|
|
47
|
+
import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
|
|
41
48
|
import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
|
|
42
49
|
import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
|
|
43
50
|
import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
44
51
|
import type { ArcGISPortalNavigation } from "../components/arcgis-portal-navigation/customElement.js";
|
|
52
|
+
import type { ArcgisPortalPreviewPanel } from "../components/arcgis-portal-preview-panel/customElement.js";
|
|
45
53
|
import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
|
|
46
54
|
import type { ArcgisPortalReviewRelatedItems } from "../components/arcgis-portal-review-related-items/customElement.js";
|
|
47
55
|
import type { ArcgisPortalSublayerType } from "../components/arcgis-portal-sublayer-type/customElement.js";
|
|
@@ -74,16 +82,17 @@ interface StencilArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisP
|
|
|
74
82
|
onArcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
|
|
75
83
|
}
|
|
76
84
|
|
|
77
|
-
interface StencilArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, StencilJsx.HTMLAttributes<ArcgisPortalAddGpsMetadata> {
|
|
85
|
+
interface StencilArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, StencilJsx.HTMLAttributes<ArcgisPortalAddGpsMetadata> {
|
|
78
86
|
onArcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
|
|
87
|
+
onArcgisPropertyChange?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]>;
|
|
79
88
|
onArcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
|
|
80
89
|
}
|
|
81
90
|
|
|
82
|
-
interface StencilArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "
|
|
91
|
+
interface StencilArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalAiAssistant> {
|
|
83
92
|
onArcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
|
|
84
93
|
}
|
|
85
94
|
|
|
86
|
-
interface StencilArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, StencilJsx.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
95
|
+
interface StencilArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, StencilJsx.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
87
96
|
onArcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
|
|
88
97
|
onArcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
|
|
89
98
|
}
|
|
@@ -92,6 +101,8 @@ interface StencilArcgisPortalBrowser extends Partial<Pick<ArcgisPortalBrowser, "
|
|
|
92
101
|
onArcgisAriaUpdate?: EventHandler<ArcgisPortalBrowser["arcgisAriaUpdate"]>;
|
|
93
102
|
onArcgisBrowserFilterClear?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterClear"]>;
|
|
94
103
|
onArcgisBrowserFilterRemove?: EventHandler<ArcgisPortalBrowser["arcgisBrowserFilterRemove"]>;
|
|
104
|
+
onArcgisPreviewClose?: EventHandler<ArcgisPortalBrowser["arcgisPreviewClose"]>;
|
|
105
|
+
/** @deprecated Use arcgisAriaUpdate instead. */
|
|
95
106
|
onAriaUpdate?: EventHandler<ArcgisPortalBrowser["ariaUpdate"]>;
|
|
96
107
|
}
|
|
97
108
|
|
|
@@ -140,8 +151,8 @@ interface StencilArcgisPortalClassificationFormElement extends Partial<Pick<Arcg
|
|
|
140
151
|
onArcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
|
|
141
152
|
}
|
|
142
153
|
|
|
143
|
-
interface StencilArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
144
|
-
|
|
154
|
+
interface StencilArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
155
|
+
onArcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
|
|
145
156
|
onArcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
|
|
146
157
|
onArcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
|
|
147
158
|
}
|
|
@@ -149,7 +160,7 @@ interface StencilArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDelete
|
|
|
149
160
|
interface StencilArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalDeleteItemsReview> {
|
|
150
161
|
}
|
|
151
162
|
|
|
152
|
-
interface StencilArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
163
|
+
interface StencilArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
153
164
|
onArcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
|
|
154
165
|
}
|
|
155
166
|
|
|
@@ -202,7 +213,7 @@ interface StencilArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCar
|
|
|
202
213
|
onArcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
|
|
203
214
|
}
|
|
204
215
|
|
|
205
|
-
interface StencilArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
216
|
+
interface StencilArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
206
217
|
onArcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
|
|
207
218
|
}
|
|
208
219
|
|
|
@@ -225,21 +236,49 @@ interface StencilArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBad
|
|
|
225
236
|
interface StencilArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, StencilJsx.HTMLAttributes<ArcgisPortalItemBadge> {
|
|
226
237
|
}
|
|
227
238
|
|
|
228
|
-
interface StencilArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "disabled" | "disableSelection" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "user" | "userPopupZIndex" | "view">>, StencilJsx.HTMLAttributes<ArcgisPortalItemCard> {
|
|
239
|
+
interface StencilArcgisPortalItemCard extends Partial<Pick<ArcgisPortalItemCard, "actions" | "allowedGeometries" | "disabled" | "disableSelection" | "groups" | "hideActionsStart" | "item" | "link" | "linkHandler" | "name" | "newTab" | "portal" | "preview" | "previewed" | "recycleBin" | "selected" | "selectedItems" | "selection" | "showAccess" | "showBadges" | "showBadgeTooltips" | "showDateUpdated" | "showFavorite" | "showFavoriteInActionsMenu" | "showItemType" | "showItemTypeHosted" | "showOwner" | "showSummary" | "showThumbnail" | "useProduction" | "user" | "userGroups" | "userPopupZIndex" | "view">>, StencilJsx.HTMLAttributes<ArcgisPortalItemCard> {
|
|
229
240
|
onArcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
|
|
230
241
|
onArcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
|
|
231
242
|
onArcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
|
|
232
243
|
onArcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
|
|
244
|
+
onArcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
interface StencilArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, StencilJsx.HTMLAttributes<ArcgisPortalItemCardSublayerSelect> {
|
|
248
|
+
onArcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
|
|
249
|
+
onArcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
|
|
233
250
|
}
|
|
234
251
|
|
|
235
252
|
interface StencilArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, StencilJsx.HTMLAttributes<ArcgisPortalItemFavorite> {
|
|
236
253
|
onArcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
|
|
237
254
|
}
|
|
238
255
|
|
|
239
|
-
interface StencilArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPicker> {
|
|
256
|
+
interface StencilArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPicker> {
|
|
240
257
|
onArcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
|
|
241
258
|
}
|
|
242
259
|
|
|
260
|
+
interface StencilArcgisPortalItemPreview extends Partial<Pick<ArcgisPortalItemPreview, "groups" | "item" | "matchedSublayerIds" | "portal" | "showFieldStatistics" | "showHosted" | "user" | "userGroups">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPreview> {
|
|
261
|
+
onArcgisClose?: EventHandler<ArcgisPortalItemPreview["arcgisClose"]>;
|
|
262
|
+
onArcgisExternalLink?: EventHandler<ArcgisPortalItemPreview["arcgisExternalLink"]>;
|
|
263
|
+
onArcgisSublayerChange?: EventHandler<ArcgisPortalItemPreview["arcgisSublayerChange"]>;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
interface StencilArcgisPortalItemPreviewCopy extends Partial<Pick<ArcgisPortalItemPreviewCopy, "heading" | "label" | "section" | "text">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPreviewCopy> {
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
interface StencilArcgisPortalItemPreviewField extends Partial<Pick<ArcgisPortalItemPreviewField, "failed" | "field" | "layer" | "showStatistics">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPreviewField> {
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
interface StencilArcgisPortalItemPreviewSublayer extends Partial<Pick<ArcgisPortalItemPreviewSublayer, "externalLinkHandler" | "item" | "layer" | "portal" | "showFieldStatistics">>, StencilJsx.HTMLAttributes<ArcgisPortalItemPreviewSublayer> {
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
interface StencilArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, StencilJsx.HTMLAttributes<ArcgisPortalItemShareSummary> {
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
interface StencilArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, StencilJsx.HTMLAttributes<ArcgisPortalItemShareSummaryEditable> {
|
|
279
|
+
onArcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
|
|
280
|
+
}
|
|
281
|
+
|
|
243
282
|
interface StencilArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalItemThumbnail> {
|
|
244
283
|
onArcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
|
|
245
284
|
}
|
|
@@ -262,11 +301,16 @@ interface StencilArcgisPortalNavigation extends Partial<Pick<ArcGISPortalNavigat
|
|
|
262
301
|
onArcgisNavigationSignOut?: EventHandler<ArcGISPortalNavigation["arcgisNavigationSignOut"]>;
|
|
263
302
|
}
|
|
264
303
|
|
|
304
|
+
interface StencilArcgisPortalPreviewPanel extends Partial<Pick<ArcgisPortalPreviewPanel, "fixed" | "open">>, StencilJsx.HTMLAttributes<ArcgisPortalPreviewPanel> {
|
|
305
|
+
onArcgisClose?: EventHandler<ArcgisPortalPreviewPanel["arcgisClose"]>;
|
|
306
|
+
onArcgisOpen?: EventHandler<ArcgisPortalPreviewPanel["arcgisOpen"]>;
|
|
307
|
+
}
|
|
308
|
+
|
|
265
309
|
interface StencilArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, "itemId" | "portal" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalReplacementItemRedirect> {
|
|
266
310
|
onArcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
|
|
267
311
|
}
|
|
268
312
|
|
|
269
|
-
interface StencilArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
313
|
+
interface StencilArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
270
314
|
}
|
|
271
315
|
|
|
272
316
|
interface StencilArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, StencilJsx.HTMLAttributes<ArcgisPortalSublayerType> {
|
|
@@ -275,7 +319,7 @@ interface StencilArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSubla
|
|
|
275
319
|
interface StencilArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, StencilJsx.HTMLAttributes<ArcgisPortalUserAvatar> {
|
|
276
320
|
}
|
|
277
321
|
|
|
278
|
-
interface StencilArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalUserPicker> {
|
|
322
|
+
interface StencilArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, StencilJsx.HTMLAttributes<ArcgisPortalUserPicker> {
|
|
279
323
|
onArcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
|
|
280
324
|
}
|
|
281
325
|
|
|
@@ -330,12 +374,20 @@ interface ExposedElements {
|
|
|
330
374
|
"arcgis-portal-item-badges": StencilArcgisPortalItemBadges;
|
|
331
375
|
"arcgis-portal-item-badge": StencilArcgisPortalItemBadge;
|
|
332
376
|
"arcgis-portal-item-card": StencilArcgisPortalItemCard;
|
|
377
|
+
"arcgis-portal-item-card-sublayer-select": StencilArcgisPortalItemCardSublayerSelect;
|
|
333
378
|
"arcgis-portal-item-favorite": StencilArcgisPortalItemFavorite;
|
|
334
379
|
"arcgis-portal-item-picker": StencilArcgisPortalItemPicker;
|
|
380
|
+
"arcgis-portal-item-preview": StencilArcgisPortalItemPreview;
|
|
381
|
+
"arcgis-portal-item-preview-copy": StencilArcgisPortalItemPreviewCopy;
|
|
382
|
+
"arcgis-portal-item-preview-field": StencilArcgisPortalItemPreviewField;
|
|
383
|
+
"arcgis-portal-item-preview-sublayer": StencilArcgisPortalItemPreviewSublayer;
|
|
384
|
+
"arcgis-portal-item-share-summary": StencilArcgisPortalItemShareSummary;
|
|
385
|
+
"arcgis-portal-item-share-summary-editable": StencilArcgisPortalItemShareSummaryEditable;
|
|
335
386
|
"arcgis-portal-item-thumbnail": StencilArcgisPortalItemThumbnail;
|
|
336
387
|
"arcgis-portal-item-type": StencilArcgisPortalItemType;
|
|
337
388
|
"arcgis-portal-mentionable-text-area": StencilArcgisPortalMentionableTextArea;
|
|
338
389
|
"arcgis-portal-navigation": StencilArcgisPortalNavigation;
|
|
390
|
+
"arcgis-portal-preview-panel": StencilArcgisPortalPreviewPanel;
|
|
339
391
|
"arcgis-portal-replacement-item-redirect": StencilArcgisPortalReplacementItemRedirect;
|
|
340
392
|
"arcgis-portal-review-related-items": StencilArcgisPortalReviewRelatedItems;
|
|
341
393
|
"arcgis-portal-sublayer-type": StencilArcgisPortalSublayerType;
|
package/dist/types/user.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type PortalUser from "@arcgis/core/portal/PortalUser.js";
|
|
1
2
|
import type { PortalUserProperties } from "@arcgis/core/portal/PortalUser.js";
|
|
2
3
|
import type { PortalGroupSourceJSON, MemberType } from "./group.js";
|
|
3
4
|
import type { StandardAccessLevel } from "./item.js";
|
|
@@ -63,15 +64,8 @@ export interface SearchResultUser {
|
|
|
63
64
|
thumbnail?: string | null;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
/**
|
|
67
|
-
export
|
|
68
|
-
description: string;
|
|
69
|
-
fullName: string;
|
|
70
|
-
username: string;
|
|
71
|
-
thumbnail: string | null;
|
|
72
|
-
id: string;
|
|
73
|
-
url: string;
|
|
74
|
-
}
|
|
67
|
+
/** User or verified-organization information supported by portal presentation components. */
|
|
68
|
+
export type UserPresentation = CommunityUser | ItemUserInfo | PortalUser | SearchResultUser;
|
|
75
69
|
|
|
76
70
|
export type LinkedAccount = {
|
|
77
71
|
clientAppAccessAllowed: boolean;
|
|
@@ -84,4 +78,14 @@ export type LinkedAccount = {
|
|
|
84
78
|
thumbnail: string;
|
|
85
79
|
userType: string;
|
|
86
80
|
username: string;
|
|
87
|
-
};
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/** Short user info made specifically for the UI */
|
|
84
|
+
export interface ItemUserInfo {
|
|
85
|
+
description: string;
|
|
86
|
+
fullName: string;
|
|
87
|
+
username: string;
|
|
88
|
+
thumbnail: string | null;
|
|
89
|
+
id: string;
|
|
90
|
+
url: string;
|
|
91
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/** Searchable catalog fields. Additional consumer fields are preserved in matches. */
|
|
2
|
+
export interface SemanticSearchItem {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
hints?: readonly string[];
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** Multiple vectors may refer to one item; its strongest similarity is used. */
|
|
10
|
+
export interface SemanticSearchEmbedding {
|
|
11
|
+
itemId: string;
|
|
12
|
+
vector: readonly number[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface SemanticSearchMatch<T extends SemanticSearchItem> {
|
|
16
|
+
item: T;
|
|
17
|
+
/** Reciprocal Rank Fusion ordering score, not a confidence or probability. */
|
|
18
|
+
score: number;
|
|
19
|
+
keywordRank?: number;
|
|
20
|
+
keywordScore?: number;
|
|
21
|
+
semanticRank?: number;
|
|
22
|
+
semanticScore?: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface SemanticSearchResult<T extends SemanticSearchItem> {
|
|
26
|
+
/** True when semantic ranking is unavailable and only keywords were used. */
|
|
27
|
+
degraded: boolean;
|
|
28
|
+
degradedReason?: string;
|
|
29
|
+
matches: SemanticSearchMatch<T>[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface SemanticSearchOptions {
|
|
33
|
+
/** Ready-to-use catalog vectors. Without vectors or a loader, search is keyword-only. */
|
|
34
|
+
embeddings?: readonly SemanticSearchEmbedding[];
|
|
35
|
+
/** Optional loader for callers that want to wait for catalog vectors. Takes precedence over embeddings. */
|
|
36
|
+
loadEmbeddings?: () => Promise<readonly SemanticSearchEmbedding[]>;
|
|
37
|
+
/** Defaults to the SDK's signed-in default Portal session. */
|
|
38
|
+
embedQuery?: (query: string) => Promise<readonly number[]>;
|
|
39
|
+
/** Maximum distinct matches. Defaults to 5; non-positive values return no matches. */
|
|
40
|
+
topN?: number;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Searches a consumer-supplied catalog with weighted BM25 keywords and cosine
|
|
45
|
+
* similarity, combining both rankings with Reciprocal Rank Fusion.
|
|
46
|
+
*
|
|
47
|
+
* Titles, hints, and descriptions have keyword weights of 3, 2, and 1.
|
|
48
|
+
* Semantic matches require a cosine similarity of at least 0.65. Ties are
|
|
49
|
+
* resolved by semantic score, keyword score, then item ID.
|
|
50
|
+
*
|
|
51
|
+
* Catalogs must have unique IDs. Treat the catalog as immutable and pass a new
|
|
52
|
+
* array when its searchable fields change; keyword indexes are cached by array.
|
|
53
|
+
* Embedding failures return keyword matches with explicit degraded diagnostics.
|
|
54
|
+
* Catalog embedding generation and caching are owned by the caller.
|
|
55
|
+
*
|
|
56
|
+
* @param query
|
|
57
|
+
* @param catalog
|
|
58
|
+
* @param options
|
|
59
|
+
*/
|
|
60
|
+
export function searchCatalog<T extends SemanticSearchItem>(query: string, catalog: readonly T[], options?: SemanticSearchOptions): Promise<SemanticSearchResult<T>>;
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -9,6 +9,16 @@ export interface IConfig {
|
|
|
9
9
|
helpBase?: string;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
/** A generic API response interface */
|
|
13
|
+
export interface APIResponse {
|
|
14
|
+
success?: boolean;
|
|
15
|
+
code?: number;
|
|
16
|
+
messageCode?: string;
|
|
17
|
+
message?: string;
|
|
18
|
+
details?: unknown[];
|
|
19
|
+
status?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
12
22
|
export interface FieldDeleteOptions {
|
|
13
23
|
item: PortalItem;
|
|
14
24
|
portal: Portal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/portal-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.31",
|
|
4
4
|
"description": "ArcGIS Portal Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -38,23 +38,24 @@
|
|
|
38
38
|
],
|
|
39
39
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@arcgis/ai-components": "6.0.0-next.
|
|
42
|
-
"@arcgis/
|
|
43
|
-
"@arcgis/lumina
|
|
44
|
-
"@arcgis/
|
|
45
|
-
"@arcgis/
|
|
41
|
+
"@arcgis/ai-components": "6.0.0-next.31",
|
|
42
|
+
"@arcgis/common-components": "6.0.0-next.31",
|
|
43
|
+
"@arcgis/lumina": "6.0.0-next.31",
|
|
44
|
+
"@arcgis/lumina-toolkit": "6.0.0-next.31",
|
|
45
|
+
"@arcgis/map-components": "6.0.0-next.31",
|
|
46
|
+
"@arcgis/toolkit": "6.0.0-next.31",
|
|
46
47
|
"@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
|
|
47
48
|
"@langchain/core": "^1.2.9",
|
|
48
49
|
"@langchain/langgraph": "^1.4.14",
|
|
49
50
|
"@lit/task": "^1.0.3",
|
|
50
51
|
"lit": "^3.3.0",
|
|
51
|
-
"marked": "~18.1.
|
|
52
|
+
"marked": "~18.1.2",
|
|
52
53
|
"tslib": "^2.8.1",
|
|
53
|
-
"zod": "^4.
|
|
54
|
+
"zod": "^4.6.7"
|
|
54
55
|
},
|
|
55
56
|
"peerDependencies": {
|
|
56
|
-
"@arcgis/core": "6.0.0-next.
|
|
57
|
-
"@esri/calcite-components": "^5.2.0
|
|
57
|
+
"@arcgis/core": "6.0.0-next.31",
|
|
58
|
+
"@esri/calcite-components": "^5.2.0"
|
|
58
59
|
},
|
|
59
60
|
"css.customData": [
|
|
60
61
|
"dist/docs/vscode.css-custom-data.json"
|