@arcgis/portal-components 6.0.0-next.2 → 6.0.0-next.21
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/{MKSFNVXL.js → 22TDAUX4.js} +1 -1
- package/dist/cdn/234TH32X.js +106 -0
- package/dist/cdn/2D3FQXJ4.js +2 -0
- package/dist/cdn/{BKD7JSV2.js → 2DXO6FVX.js} +1 -1
- package/dist/cdn/{TWCJJCPC.js → 2XJX2JUO.js} +1 -1
- package/dist/cdn/{SGDDFWCJ.js → 3EQGUCO4.js} +1 -1
- package/dist/cdn/{OR6T5SB3.js → 3J3ISO3E.js} +1 -1
- package/dist/cdn/3RTST3I6.js +2 -0
- package/dist/cdn/3XH3JHOI.js +2 -0
- package/dist/cdn/4ONCJSSP.js +2 -0
- package/dist/cdn/4QYVBXZT.js +2 -0
- package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
- package/dist/cdn/4WQA7UAJ.js +2 -0
- package/dist/cdn/5OWIWCEQ.js +2 -0
- package/dist/cdn/{7ZWYUHGK.js → 5R4JJWGB.js} +1 -1
- package/dist/cdn/63HYFDRU.js +2 -0
- package/dist/cdn/6MATPHXT.js +79 -0
- package/dist/cdn/7IP3RVPH.js +2 -0
- package/dist/cdn/7ISSDO2T.js +2 -0
- package/dist/cdn/AKTIIRJQ.js +2 -0
- package/dist/cdn/ASID6YW7.js +135 -0
- package/dist/cdn/B3HV5JVN.js +2 -0
- package/dist/cdn/B6666VUQ.js +2 -0
- package/dist/cdn/BOO7GG5L.js +2 -0
- package/dist/cdn/CZ4FC4GM.js +2 -0
- package/dist/cdn/D3LZFIHV.js +2 -0
- package/dist/cdn/{NWVLGU2C.js → D3Q72PPN.js} +1 -1
- package/dist/cdn/DABNV2OO.js +2 -0
- package/dist/cdn/DELNTRCT.js +2 -0
- package/dist/cdn/DOCNBKQZ.js +2 -0
- package/dist/cdn/EP7NWEC5.js +2 -0
- package/dist/cdn/EQRBP6H6.js +66 -0
- package/dist/cdn/{ABORO35R.js → ESKKH4DE.js} +1 -1
- package/dist/cdn/EUQQZIRW.js +2 -0
- package/dist/cdn/F2HT5PVQ.js +2 -0
- package/dist/cdn/FE3O23SE.js +2 -0
- package/dist/cdn/FGRMURKX.js +2 -0
- package/dist/cdn/FN2QMDEW.js +2 -0
- package/dist/cdn/{I6IRHXWR.js → FYVATGMR.js} +1 -1
- package/dist/cdn/{RHCRPJWS.js → G3WDR53S.js} +1 -1
- package/dist/cdn/GAU6DNV5.js +2 -0
- package/dist/cdn/GPAIXN52.js +2 -0
- package/dist/cdn/GRSBU4PD.js +2 -0
- package/dist/cdn/{JWBUJT43.js → H7FA5HFE.js} +1 -1
- package/dist/cdn/HHGKNVCH.js +4 -0
- package/dist/cdn/HJLWIQDI.js +2 -0
- package/dist/cdn/I3EWDYTU.js +2 -0
- package/dist/cdn/{24QSQLRY.js → IKPVMXXW.js} +1 -1
- package/dist/cdn/{5HZNBMW6.js → IOFXDIWC.js} +1 -1
- package/dist/cdn/IPHBVKMY.js +2 -0
- package/dist/cdn/{GAF4YT5N.js → IUIFCQQU.js} +1 -1
- package/dist/cdn/{ZKZDKJ6D.js → IVDZGUNZ.js} +1 -1
- package/dist/cdn/J6SI4Z4F.js +2 -0
- package/dist/cdn/K3GAZFRI.js +63 -0
- package/dist/cdn/K7LYYLUF.js +2 -0
- package/dist/cdn/{74T6IXSN.js → KDORI7H4.js} +1 -1
- package/dist/cdn/KRORL7QC.js +2 -0
- package/dist/cdn/LGJWULAW.js +2 -0
- package/dist/cdn/LTMPXQTC.js +2 -0
- package/dist/cdn/M5STJJRX.js +2 -0
- package/dist/cdn/M7J7RAM4.js +2 -0
- package/dist/cdn/{AXOBMX3S.js → MLTZSPZQ.js} +1 -1
- package/dist/cdn/MSSJRDR7.js +2 -0
- package/dist/cdn/{L64UURQB.js → N4ZRMYZL.js} +1 -1
- package/dist/cdn/NBCYYUHP.js +2 -0
- package/dist/cdn/NHVPNSNH.js +2 -0
- package/dist/cdn/NQ2IAQKL.js +41 -0
- package/dist/cdn/NXGTEDK4.js +2 -0
- package/dist/cdn/{7LMZHJZG.js → NYOXMT6S.js} +1 -1
- package/dist/cdn/O3JP4FQ3.js +2 -0
- package/dist/cdn/O4YFPGD5.js +2 -0
- package/dist/cdn/{JIJO4CAS.js → ODSA6NNS.js} +1 -1
- package/dist/cdn/OHAQPQAP.js +2 -0
- package/dist/cdn/OOXTSCQT.js +2 -0
- package/dist/cdn/OQ2JULON.js +2 -0
- package/dist/cdn/OVH4YLTS.js +2 -0
- package/dist/cdn/QB5BGHLA.js +2 -0
- package/dist/cdn/QKCRNS75.js +2 -0
- package/dist/cdn/{2YZWRFCI.js → RKMW4FUN.js} +1 -1
- package/dist/cdn/RT26JZP5.js +2 -0
- package/dist/cdn/SKHFISBA.js +2 -0
- package/dist/cdn/SKIDJ4QI.js +2 -0
- package/dist/cdn/SRWFOV5W.js +2 -0
- package/dist/cdn/{IN4JPZTY.js → SSCKCDXD.js} +1 -1
- package/dist/cdn/T66G7GIR.js +2 -0
- package/dist/cdn/{RQYNPDN3.js → TIMYD2HM.js} +1 -1
- package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
- package/dist/cdn/TJWJ3LTU.js +2 -0
- package/dist/cdn/{DHMNNIXZ.js → TMR4BRFI.js} +1 -1
- package/dist/cdn/{JN23JH3T.js → TTQGRN2V.js} +1 -1
- package/dist/cdn/{MLYQGIJU.js → U2HTYOBB.js} +13 -13
- package/dist/cdn/{YZTBAUIO.js → UHOW7Q65.js} +1 -1
- package/dist/cdn/ULGME5RT.js +2 -0
- package/dist/cdn/{Z6R3C4AK.js → US3N5L73.js} +1 -1
- package/dist/cdn/W5POIPYP.js +2 -0
- package/dist/cdn/{TLM457Z5.js → WJWWYBZ7.js} +1 -1
- package/dist/cdn/WNEPEEPZ.js +2 -0
- package/dist/cdn/WPAZDJHU.js +2 -0
- package/dist/cdn/WT72SOAU.js +2 -0
- package/dist/cdn/XJGKRAN5.js +2 -0
- package/dist/cdn/{JPUUMGX5.js → XS5EOWBK.js} +1 -1
- package/dist/cdn/Y5VUMGKH.js +3 -0
- package/dist/cdn/{EQDYQOOT.js → YCIFVZ4J.js} +1 -1
- package/dist/cdn/{3NSHGKZA.js → YDXJHNDI.js} +1 -1
- package/dist/cdn/{32BWFMTC.js → YIOJIA4Y.js} +1 -1
- package/dist/cdn/{K2XSYDAP.js → YK6FCXWU.js} +1 -1
- package/dist/cdn/YPDHSE2J.js +2 -0
- package/dist/cdn/{M5PPX4ZX.js → YQLFXHFG.js} +1 -1
- package/dist/cdn/YSVPB3BO.js +2 -0
- package/dist/cdn/YUOVGTP5.js +2 -0
- package/dist/cdn/Z5CA4C6H.js +2 -0
- package/dist/cdn/{TXC7YBGL.js → ZD6XJVGV.js} +1 -1
- package/dist/cdn/ZHQXYCPA.js +2 -0
- package/dist/cdn/{DLI4XKJ3.js → ZOX4RLS4.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-share-summary/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- 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 +58 -26
- package/dist/chunks/item2.js +34 -30
- package/dist/chunks/itemThumbnail.js +21 -21
- package/dist/chunks/loadClassificationData.js +26 -27
- package/dist/chunks/portal-delete-items-review.js +1 -1
- package/dist/chunks/portal-item-badge.js +1 -1
- package/dist/chunks/portal-related-items-list-item.js +1 -1
- package/dist/chunks/portal.js +6 -6
- package/dist/chunks/portal2.js +11 -11
- package/dist/chunks/portalEntitySelection.js +54 -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 +1 -1
- package/dist/chunks/string.js +14 -10
- package/dist/chunks/ui.js +1 -0
- package/dist/chunks/url.js +2 -2
- package/dist/chunks/user.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 +664 -0
- package/dist/components/arcgis-portal-account-switcher/customElement.js +28 -26
- package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +4 -4
- package/dist/components/arcgis-portal-account-switcher-accounts/customElement.js +8 -8
- package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +4 -4
- package/dist/components/arcgis-portal-account-switcher-list/customElement.js +6 -6
- package/dist/components/arcgis-portal-account-switcher-signout/customElement.d.ts +5 -5
- package/dist/components/arcgis-portal-account-switcher-signout/customElement.js +3 -3
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +6 -0
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +153 -130
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +25 -15
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +574 -2409
- 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/types/assistantTools.d.ts +51 -0
- package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +14 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +39 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +63 -27
- package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -1
- 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 +36 -0
- package/dist/components/arcgis-portal-entity-picker/customElement.js +202 -120
- package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
- package/dist/components/arcgis-portal-field-delete/customElement.js +33 -31
- 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 +93 -99
- package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
- package/dist/components/arcgis-portal-group-browser-preview/customElement.js +2 -2
- package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -1
- package/dist/components/arcgis-portal-group-card/customElement.js +18 -18
- package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +26 -10
- package/dist/components/arcgis-portal-item-card/customElement.js +101 -91
- 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 +352 -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-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.js +1 -1
- 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 +1 -1
- 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 +45 -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-popup/customElement.js +28 -28
- 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.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +30 -0
- package/dist/index.js +155 -6
- package/dist/loader.js +15 -12
- package/dist/services/groups.d.ts +9 -0
- package/dist/services/item.d.ts +9 -0
- package/dist/types/item.d.ts +9 -9
- package/dist/types/lumina.d.ts +36 -17
- package/dist/types/preact.d.ts +39 -17
- package/dist/types/react.d.ts +42 -17
- package/dist/types/services.d.ts +27 -1
- package/dist/types/stencil.d.ts +36 -17
- 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 +10 -10
- package/dist/cdn/23FS4XTG.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/3LEQ37YT.js +0 -68
- package/dist/cdn/46BUEBWS.js +0 -2
- package/dist/cdn/4AI52H7C.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/5PPZNVWG.js +0 -2
- package/dist/cdn/66XWNGQ2.js +0 -2
- package/dist/cdn/6F4SJDRR.js +0 -2
- package/dist/cdn/6RZEXOK3.js +0 -2
- package/dist/cdn/A2SQ4EMZ.js +0 -2
- package/dist/cdn/AICPYLWE.js +0 -4
- package/dist/cdn/AJQT7UXB.js +0 -2
- package/dist/cdn/APSYZEPP.js +0 -209
- package/dist/cdn/AZOJHVAO.js +0 -2
- package/dist/cdn/BSTA5KI5.js +0 -2
- package/dist/cdn/CD5UWSCP.js +0 -2
- package/dist/cdn/CXXV6WJT.js +0 -2
- package/dist/cdn/DDBXEXOV.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/EITRZQSC.js +0 -2
- package/dist/cdn/EMJQI4MA.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/GUO7HKSP.js +0 -463
- package/dist/cdn/GX7U3727.js +0 -2
- package/dist/cdn/GXM3XY3J.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/JL52W3Z4.js +0 -2
- package/dist/cdn/JOUR2FB2.js +0 -3
- package/dist/cdn/LISDTBEX.js +0 -2
- package/dist/cdn/LWFACY3F.js +0 -2
- package/dist/cdn/LYLQCBVX.js +0 -2
- package/dist/cdn/N4VOTJ25.js +0 -2
- package/dist/cdn/N5QLV56W.js +0 -2
- package/dist/cdn/NRMQDCM3.js +0 -2
- package/dist/cdn/OD5WXP7J.js +0 -2
- package/dist/cdn/OXPXXIWL.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/RVYSVTPQ.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/WC3FPLYQ.js +0 -2
- package/dist/cdn/XYMBRPC7.js +0 -2
- package/dist/cdn/YTODQCOG.js +0 -2
- package/dist/cdn/YYTEJVBL.js +0 -2
- package/dist/cdn/ZDDN7UKS.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/components/arcgis-portal-ai-assistant/{agents/types.d.ts → types/navigation.d.ts} +0 -0
- /package/dist/components/arcgis-portal-ai-assistant/{agents → types}/portalRouteKeys.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export { canAddField, canDeleteField } from "./utils/fieldAddDelete.js";
|
|
2
|
+
export { generateEmbeddings } from "./utils/generateEmbeddings.js";
|
|
3
|
+
export { searchCatalog } from "./utils/semanticSearch.js";
|
|
4
|
+
export { type SemanticSearchEmbedding, type SemanticSearchItem, type SemanticSearchMatch, type SemanticSearchOptions, type SemanticSearchResult } from "./utils/semanticSearch.js";
|
|
2
5
|
export { type FieldDeleteOptions, type UserItemInfo } from "./utils/types.js";
|
|
6
|
+
export { type PortalAssistantTools } from "./components/arcgis-portal-ai-assistant/types/assistantTools.js";
|
|
7
|
+
export { type PortalAssistantEntityToolPresets } from "./components/arcgis-portal-ai-assistant/types/portalEntityTools.js";
|
|
8
|
+
export { createGetItemTool } from "./components/arcgis-portal-ai-assistant/tools/getItemTool.js";
|
|
3
9
|
|
|
4
10
|
/**
|
|
5
11
|
* Get a resolved path from where an asset can be loaded.
|
|
@@ -64,8 +70,11 @@ import type { ArcgisPortalItemActions } from "./components/arcgis-portal-item-ac
|
|
|
64
70
|
import type { ArcgisPortalItemBadges } from "./components/arcgis-portal-item-badges/customElement.js";
|
|
65
71
|
import type { ArcgisPortalItemBadge } from "./components/arcgis-portal-item-badge/customElement.js";
|
|
66
72
|
import type { ArcgisPortalItemCard } from "./components/arcgis-portal-item-card/customElement.js";
|
|
73
|
+
import type { ArcgisPortalItemCardSublayerSelect } from "./components/arcgis-portal-item-card-sublayer-select/customElement.js";
|
|
67
74
|
import type { ArcgisPortalItemFavorite } from "./components/arcgis-portal-item-favorite/customElement.js";
|
|
68
75
|
import type { ArcgisPortalItemPicker } from "./components/arcgis-portal-item-picker/customElement.js";
|
|
76
|
+
import type { ArcgisPortalItemShareSummary } from "./components/arcgis-portal-item-share-summary/customElement.js";
|
|
77
|
+
import type { ArcgisPortalItemShareSummaryEditable } from "./components/arcgis-portal-item-share-summary-editable/customElement.js";
|
|
69
78
|
import type { ArcgisPortalItemThumbnail } from "./components/arcgis-portal-item-thumbnail/customElement.js";
|
|
70
79
|
import type { ArcgisPortalItemType } from "./components/arcgis-portal-item-type/customElement.js";
|
|
71
80
|
import type { ArcgisPortalMentionableTextArea } from "./components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
@@ -220,6 +229,11 @@ export interface ArcgisPortalItemCardCustomEvent<T> extends CustomEvent<T> {
|
|
|
220
229
|
target: ArcgisPortalItemCard;
|
|
221
230
|
currentTarget: ArcgisPortalItemCard;
|
|
222
231
|
}
|
|
232
|
+
export interface ArcgisPortalItemCardSublayerSelectCustomEvent<T> extends CustomEvent<T> {
|
|
233
|
+
detail: T;
|
|
234
|
+
target: ArcgisPortalItemCardSublayerSelect;
|
|
235
|
+
currentTarget: ArcgisPortalItemCardSublayerSelect;
|
|
236
|
+
}
|
|
223
237
|
export interface ArcgisPortalItemFavoriteCustomEvent<T> extends CustomEvent<T> {
|
|
224
238
|
detail: T;
|
|
225
239
|
target: ArcgisPortalItemFavorite;
|
|
@@ -230,6 +244,11 @@ export interface ArcgisPortalItemPickerCustomEvent<T> extends CustomEvent<T> {
|
|
|
230
244
|
target: ArcgisPortalItemPicker;
|
|
231
245
|
currentTarget: ArcgisPortalItemPicker;
|
|
232
246
|
}
|
|
247
|
+
export interface ArcgisPortalItemShareSummaryEditableCustomEvent<T> extends CustomEvent<T> {
|
|
248
|
+
detail: T;
|
|
249
|
+
target: ArcgisPortalItemShareSummaryEditable;
|
|
250
|
+
currentTarget: ArcgisPortalItemShareSummaryEditable;
|
|
251
|
+
}
|
|
233
252
|
export interface ArcgisPortalItemThumbnailCustomEvent<T> extends CustomEvent<T> {
|
|
234
253
|
detail: T;
|
|
235
254
|
target: ArcgisPortalItemThumbnail;
|
|
@@ -306,8 +325,11 @@ declare global {
|
|
|
306
325
|
"arcgis-portal-item-badges": ArcgisPortalItemBadges;
|
|
307
326
|
"arcgis-portal-item-badge": ArcgisPortalItemBadge;
|
|
308
327
|
"arcgis-portal-item-card": ArcgisPortalItemCard;
|
|
328
|
+
"arcgis-portal-item-card-sublayer-select": ArcgisPortalItemCardSublayerSelect;
|
|
309
329
|
"arcgis-portal-item-favorite": ArcgisPortalItemFavorite;
|
|
310
330
|
"arcgis-portal-item-picker": ArcgisPortalItemPicker;
|
|
331
|
+
"arcgis-portal-item-share-summary": ArcgisPortalItemShareSummary;
|
|
332
|
+
"arcgis-portal-item-share-summary-editable": ArcgisPortalItemShareSummaryEditable;
|
|
311
333
|
"arcgis-portal-item-thumbnail": ArcgisPortalItemThumbnail;
|
|
312
334
|
"arcgis-portal-item-type": ArcgisPortalItemType;
|
|
313
335
|
"arcgis-portal-mentionable-text-area": ArcgisPortalMentionableTextArea;
|
|
@@ -424,12 +446,20 @@ declare global {
|
|
|
424
446
|
type HTMLArcgisPortalItemCardElementEventMap = ArcgisPortalItemCard["@eventTypes"];
|
|
425
447
|
type HTMLArcgisPortalItemCardElement = ArcgisPortalItemCard;
|
|
426
448
|
|
|
449
|
+
type HTMLArcgisPortalItemCardSublayerSelectElementEventMap = ArcgisPortalItemCardSublayerSelect["@eventTypes"];
|
|
450
|
+
type HTMLArcgisPortalItemCardSublayerSelectElement = ArcgisPortalItemCardSublayerSelect;
|
|
451
|
+
|
|
427
452
|
type HTMLArcgisPortalItemFavoriteElementEventMap = ArcgisPortalItemFavorite["@eventTypes"];
|
|
428
453
|
type HTMLArcgisPortalItemFavoriteElement = ArcgisPortalItemFavorite;
|
|
429
454
|
|
|
430
455
|
type HTMLArcgisPortalItemPickerElementEventMap = ArcgisPortalItemPicker["@eventTypes"];
|
|
431
456
|
type HTMLArcgisPortalItemPickerElement = ArcgisPortalItemPicker;
|
|
432
457
|
|
|
458
|
+
type HTMLArcgisPortalItemShareSummaryElement = ArcgisPortalItemShareSummary;
|
|
459
|
+
|
|
460
|
+
type HTMLArcgisPortalItemShareSummaryEditableElementEventMap = ArcgisPortalItemShareSummaryEditable["@eventTypes"];
|
|
461
|
+
type HTMLArcgisPortalItemShareSummaryEditableElement = ArcgisPortalItemShareSummaryEditable;
|
|
462
|
+
|
|
433
463
|
type HTMLArcgisPortalItemThumbnailElementEventMap = ArcgisPortalItemThumbnail["@eventTypes"];
|
|
434
464
|
type HTMLArcgisPortalItemThumbnailElement = ArcgisPortalItemThumbnail;
|
|
435
465
|
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,158 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { g as
|
|
3
|
-
import {
|
|
2
|
+
import { g as L, s as $ } from "./chunks/runtime.js";
|
|
3
|
+
import { e as G, c as V } from "./chunks/fieldAddDelete.js";
|
|
4
|
+
import { FunctionTool as S } from "@arcgis/ai-components/agent-utils/tools/FunctionTool.js";
|
|
5
|
+
import g from "zod";
|
|
6
|
+
import { a as E } from "./chunks/item.js";
|
|
7
|
+
async function M(e) {
|
|
8
|
+
if (e.length === 0)
|
|
9
|
+
return [];
|
|
10
|
+
const [{ getEmbeddings: t }, { default: r }] = await Promise.all([
|
|
11
|
+
import("@arcgis/ai-components/orchestrator/embeddings/getEmbeddings.js"),
|
|
12
|
+
import("@arcgis/core/portal/Portal.js")
|
|
13
|
+
]);
|
|
14
|
+
return await r.getDefault().load(), await t(e);
|
|
15
|
+
}
|
|
16
|
+
const h = 1.2, w = 0.75, v = 60, I = 0.65, b = /* @__PURE__ */ new WeakMap();
|
|
17
|
+
async function K(e, t, r = {}) {
|
|
18
|
+
if (r.topN !== void 0 && !Number.isFinite(r.topN))
|
|
19
|
+
throw new Error("topN must be a finite number.");
|
|
20
|
+
const i = new Map(t.map((a) => [a.id, a])), o = F(y(e), x(t));
|
|
21
|
+
let s = [], n;
|
|
22
|
+
if (e.trim() && t.length)
|
|
23
|
+
if (!r.loadEmbeddings && !r.embeddings)
|
|
24
|
+
n = "Catalog embeddings are unavailable.";
|
|
25
|
+
else
|
|
26
|
+
try {
|
|
27
|
+
const [a, c] = await Promise.all([
|
|
28
|
+
(r.embedQuery ?? C)(e),
|
|
29
|
+
r.loadEmbeddings ? r.loadEmbeddings() : r.embeddings
|
|
30
|
+
]);
|
|
31
|
+
if (!c)
|
|
32
|
+
throw new Error("Catalog embeddings are unavailable.");
|
|
33
|
+
s = q(a, c, i);
|
|
34
|
+
} catch (a) {
|
|
35
|
+
n = `Semantic search is unavailable: ${a instanceof Error ? a.message : String(a)}`;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
degraded: n !== void 0,
|
|
39
|
+
...n ? { degradedReason: n } : {},
|
|
40
|
+
matches: D(o, s, i, r.topN ?? 5)
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function x(e) {
|
|
44
|
+
const t = b.get(e);
|
|
45
|
+
if (t)
|
|
46
|
+
return t;
|
|
47
|
+
const r = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), o = e.map((n) => {
|
|
48
|
+
if (r.has(n.id))
|
|
49
|
+
throw new Error(`Duplicate item id "${n.id}" in search catalog.`);
|
|
50
|
+
r.add(n.id);
|
|
51
|
+
const a = /* @__PURE__ */ new Map();
|
|
52
|
+
f(a, n.title, 3), f(a, n.description, 1);
|
|
53
|
+
for (const c of n.hints ?? [])
|
|
54
|
+
f(a, c, 2);
|
|
55
|
+
for (const c of a.keys())
|
|
56
|
+
i.set(c, (i.get(c) ?? 0) + 1);
|
|
57
|
+
return {
|
|
58
|
+
id: n.id,
|
|
59
|
+
length: [...a.values()].reduce((c, d) => c + d, 0),
|
|
60
|
+
termFrequencies: a
|
|
61
|
+
};
|
|
62
|
+
}), s = {
|
|
63
|
+
averageDocumentLength: o.length ? o.reduce((n, a) => n + a.length, 0) / o.length : 0,
|
|
64
|
+
documentFrequency: i,
|
|
65
|
+
documents: o
|
|
66
|
+
};
|
|
67
|
+
return b.set(e, s), s;
|
|
68
|
+
}
|
|
69
|
+
function f(e, t, r) {
|
|
70
|
+
for (const i of y(t))
|
|
71
|
+
e.set(i, (e.get(i) ?? 0) + r);
|
|
72
|
+
}
|
|
73
|
+
function y(e) {
|
|
74
|
+
return e.toLowerCase().split(/[^a-z0-9]+/u).filter(Boolean);
|
|
75
|
+
}
|
|
76
|
+
function F(e, t) {
|
|
77
|
+
const r = new Set(e), i = t.documents.length;
|
|
78
|
+
return t.documents.map(({ id: o, length: s, termFrequencies: n }) => {
|
|
79
|
+
let a = 0;
|
|
80
|
+
for (const c of r) {
|
|
81
|
+
const d = n.get(c), u = t.documentFrequency.get(c);
|
|
82
|
+
if (!d || !u)
|
|
83
|
+
continue;
|
|
84
|
+
const l = Math.log(1 + (i - u + 0.5) / (u + 0.5)), m = h * (1 - w + w * (s / t.averageDocumentLength));
|
|
85
|
+
a += l * (d * (h + 1) / (d + m));
|
|
86
|
+
}
|
|
87
|
+
return { id: o, score: a };
|
|
88
|
+
}).filter(({ score: o }) => o > 0).sort(k);
|
|
89
|
+
}
|
|
90
|
+
function q(e, t, r) {
|
|
91
|
+
const i = /* @__PURE__ */ new Map();
|
|
92
|
+
p(e);
|
|
93
|
+
for (const { itemId: o, vector: s } of t) {
|
|
94
|
+
if (!r.has(o))
|
|
95
|
+
continue;
|
|
96
|
+
const n = P(e, s);
|
|
97
|
+
n > (i.get(o) ?? -1 / 0) && i.set(o, n);
|
|
98
|
+
}
|
|
99
|
+
return [...i.entries()].filter(([, o]) => o >= I).map(([o, s]) => ({ id: o, score: s })).sort(k);
|
|
100
|
+
}
|
|
101
|
+
function p(e) {
|
|
102
|
+
if (!e.length || e.some((t) => !Number.isFinite(t)) || e.every((t) => t === 0))
|
|
103
|
+
throw new Error("Embedding vectors must be non-empty, finite, and have non-zero magnitude.");
|
|
104
|
+
}
|
|
105
|
+
function P(e, t) {
|
|
106
|
+
if (p(t), e.length !== t.length)
|
|
107
|
+
throw new Error("Query and catalog embedding dimensions must match.");
|
|
108
|
+
let r = 0, i = 0, o = 0;
|
|
109
|
+
for (let n = 0; n < e.length; n += 1)
|
|
110
|
+
r += e[n] * t[n], i += e[n] ** 2, o += t[n] ** 2;
|
|
111
|
+
const s = r / (Math.sqrt(i) * Math.sqrt(o));
|
|
112
|
+
if (!Number.isFinite(s))
|
|
113
|
+
throw new Error("Embedding vector magnitudes are outside the supported numeric range.");
|
|
114
|
+
return s;
|
|
115
|
+
}
|
|
116
|
+
async function C(e) {
|
|
117
|
+
const t = await M([e]);
|
|
118
|
+
if (t.length !== 1)
|
|
119
|
+
throw new Error("Expected one query embedding.");
|
|
120
|
+
return t[0];
|
|
121
|
+
}
|
|
122
|
+
function D(e, t, r, i) {
|
|
123
|
+
const o = /* @__PURE__ */ new Map();
|
|
124
|
+
for (const [s, n] of [
|
|
125
|
+
["keyword", e],
|
|
126
|
+
["semantic", t]
|
|
127
|
+
])
|
|
128
|
+
for (const [a, { id: c, score: d }] of n.entries()) {
|
|
129
|
+
const u = a + 1, l = r.get(c), m = o.get(c) ?? { item: l, score: 0 };
|
|
130
|
+
m.score += 1 / (v + u), s === "keyword" ? (m.keywordRank = u, m.keywordScore = d) : (m.semanticRank = u, m.semanticScore = d), o.set(c, m);
|
|
131
|
+
}
|
|
132
|
+
return [...o.values()].sort(
|
|
133
|
+
(s, n) => n.score - s.score || (n.semanticScore ?? 0) - (s.semanticScore ?? 0) || (n.keywordScore ?? 0) - (s.keywordScore ?? 0) || s.item.id.localeCompare(n.item.id)
|
|
134
|
+
).slice(0, Math.max(0, i));
|
|
135
|
+
}
|
|
136
|
+
function k(e, t) {
|
|
137
|
+
return t.score - e.score || e.id.localeCompare(t.id);
|
|
138
|
+
}
|
|
139
|
+
const N = g.object({
|
|
140
|
+
itemId: g.string().trim().regex(/^[a-f0-9]{32}$/iu).describe("The 32-character hexadecimal Portal item ID.")
|
|
141
|
+
});
|
|
142
|
+
function Q(e) {
|
|
143
|
+
return new S({
|
|
144
|
+
name: "getItem",
|
|
145
|
+
description: "Retrieves current metadata for a Portal item by ID. Returns result metadata or an error; an error does not mean the item is private or missing. This tool is read-only.",
|
|
146
|
+
inputSchema: N,
|
|
147
|
+
execute: async ({ itemId: t }) => await E(e, t)
|
|
148
|
+
});
|
|
149
|
+
}
|
|
4
150
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
151
|
+
G as canAddField,
|
|
152
|
+
V as canDeleteField,
|
|
153
|
+
Q as createGetItemTool,
|
|
154
|
+
M as generateEmbeddings,
|
|
155
|
+
L as getAssetPath,
|
|
156
|
+
K as searchCatalog,
|
|
157
|
+
$ as setAssetPath
|
|
9
158
|
};
|
package/dist/loader.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { r as e } from "./chunks/runtime.js";
|
|
3
|
-
import { makeDefineCustomElements as
|
|
4
|
-
const a =
|
|
3
|
+
import { makeDefineCustomElements as s } from "@arcgis/lumina";
|
|
4
|
+
const a = s(e, {
|
|
5
5
|
"arcgis-portal-account-switcher": [() => import("./components/arcgis-portal-account-switcher/customElement.js"), "clientId,messages:,portal:,redirectUri,signout,signoutOptions:"],
|
|
6
6
|
"arcgis-portal-account-switcher-accounts": [() => import("./components/arcgis-portal-account-switcher-accounts/customElement.js"), "accounts:,messages:,portal:,targetUser"],
|
|
7
7
|
"arcgis-portal-account-switcher-list": [() => import("./components/arcgis-portal-account-switcher-list/customElement.js"), "accountAccess:,actions:,interactive,linkedAccounts:,messages:,portal:,signedInUsers:"],
|
|
8
8
|
"arcgis-portal-account-switcher-signout": [() => import("./components/arcgis-portal-account-switcher-signout/customElement.js"), "messages:,portal:,signedInAccounts:"],
|
|
9
|
-
"arcgis-portal-add-gps-metadata": [() => import("./components/arcgis-portal-add-gps-metadata/customElement.js"), "item:,itemId,messages:,portal:"],
|
|
10
|
-
"arcgis-portal-ai-assistant": [() => import("./components/arcgis-portal-ai-assistant/customElement.js"), "autoDestroyDisabled,config:,defaultClosed,disabledAgents:,
|
|
11
|
-
"arcgis-portal-ai-assistant-interrupt": [() => import("./components/arcgis-portal-ai-assistant-interrupt/customElement.js"), "_messages:,message,options:,type"],
|
|
9
|
+
"arcgis-portal-add-gps-metadata": [() => import("./components/arcgis-portal-add-gps-metadata/customElement.js"), "item:,itemId,messageOverrides:,messages:,portal:"],
|
|
10
|
+
"arcgis-portal-ai-assistant": [() => import("./components/arcgis-portal-ai-assistant/customElement.js"), "autoDestroyDisabled,config:,defaultClosed,disabledAgents:,entityToolPresets:,navigationTargetMap:,observabilityEnabled,portal:,t9n:,tools:,user:"],
|
|
11
|
+
"arcgis-portal-ai-assistant-interrupt": [() => import("./components/arcgis-portal-ai-assistant-interrupt/customElement.js"), "_messages:,entityRequest:,message,options:,pickerMessages:,portal:,requestId,type"],
|
|
12
12
|
"arcgis-portal-browser": [() => import("./components/arcgis-portal-browser/customElement.js"), "_messages:,alwaysShowContent,alwaysShowPagination,alwaysShowSelection,formFactor,height,hideContentTop,hideFilters,hideTopBar,loading,panel,preview,rangeFormatter:,response:,searchTerm,selected:,showPreSearch,store:;scrollToTop"],
|
|
13
13
|
"arcgis-portal-browser-actions": [() => import("./components/arcgis-portal-browser-actions/customElement.js"), "_messages:,actions:,selection:;restoreFocus"],
|
|
14
14
|
"arcgis-portal-browser-filter-status": [() => import("./components/arcgis-portal-browser-filter-status/customElement.js"), "_messages:,browserWidth,componentWidth,filters:,hiddenFilterIds:"],
|
|
@@ -21,9 +21,9 @@ const a = r(e, {
|
|
|
21
21
|
"arcgis-portal-classification-config": [() => import("./components/arcgis-portal-classification-config/customElement.js"), "autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],
|
|
22
22
|
"arcgis-portal-classification-favorite": [() => import("./components/arcgis-portal-classification-favorite/customElement.js"), "attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],
|
|
23
23
|
"arcgis-portal-classification-form-element": [() => import("./components/arcgis-portal-classification-form-element/customElement.js"), "attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],
|
|
24
|
-
"arcgis-portal-delete-items": [() => import("./components/arcgis-portal-delete-items/customElement.js"), "active,disableLinks,items:,messages:,portal:,user:"],
|
|
24
|
+
"arcgis-portal-delete-items": [() => import("./components/arcgis-portal-delete-items/customElement.js"), "active,disableLinks,fieldDeleteMessages:,itemIds:,items:,messages:,portal:,user:"],
|
|
25
25
|
"arcgis-portal-delete-items-review": [() => import("./components/arcgis-portal-delete-items-review/customElement.js"), "items:,messages:,portal:,user:"],
|
|
26
|
-
"arcgis-portal-entity-picker": [() => import("./components/arcgis-portal-entity-picker/customElement.js"), "_messages:,entityType,icon,messageOverrides:,mode,num,portal:,query,selected
|
|
26
|
+
"arcgis-portal-entity-picker": [() => import("./components/arcgis-portal-entity-picker/customElement.js"), "_messages:,entityType,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],
|
|
27
27
|
"arcgis-portal-extent-picker": [() => import("./components/arcgis-portal-extent-picker/customElement.js"), "active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],
|
|
28
28
|
"arcgis-portal-extent-picker-coord-field": [() => import("./components/arcgis-portal-extent-picker-coord-field/customElement.js"), "errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],
|
|
29
29
|
"arcgis-portal-field-delete": [() => import("./components/arcgis-portal-field-delete/customElement.js"), "config:,fieldNames:,layer:,mapView:,messages:,options:"],
|
|
@@ -33,24 +33,27 @@ const a = r(e, {
|
|
|
33
33
|
"arcgis-portal-group-browser-preview": [() => import("./components/arcgis-portal-group-browser-preview/customElement.js"), "currentResponse:,group:,hideBadges,hidePreviewFooter,messages:,portal:,previewFooterActionsSpaced,user:;setFocus"],
|
|
34
34
|
"arcgis-portal-group-browser-preview-card": [() => import("./components/arcgis-portal-group-browser-preview-card/customElement.js"), "baseUrl,hideItemType,hideOwner,hideThumbnail,interactive,item:,link,newTab,portal:,showBadges,showDateUpdated,showOwnerPopup,showSummary,user:;restoreFocus"],
|
|
35
35
|
"arcgis-portal-group-card": [() => import("./components/arcgis-portal-group-card/customElement.js"), "disabled,group:,hideBadges,hideDateUpdated,hideOwner,hideViewableBy,indeterminate,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,selected,selection,showDateCreated,showSummary,user:,view;restoreFocus"],
|
|
36
|
-
"arcgis-portal-group-picker": [() => import("./components/arcgis-portal-group-picker/customElement.js"), "_messages:,entityType:,icon,messageOverrides:,mode,num,portal:,query,selected
|
|
36
|
+
"arcgis-portal-group-picker": [() => import("./components/arcgis-portal-group-picker/customElement.js"), "_messages:,entityType:,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],
|
|
37
37
|
"arcgis-portal-group-thumbnail": [() => import("./components/arcgis-portal-group-thumbnail/customElement.js"), "group:,portal:,scale,tooltip"],
|
|
38
38
|
"arcgis-portal-info-banner": [() => import("./components/arcgis-portal-info-banner/customElement.js"), "config:,position"],
|
|
39
39
|
"arcgis-portal-item-actions": [() => import("./components/arcgis-portal-item-actions/customElement.js"), "actions:,item:,keyHandler:,label,messages:,portal:,previewText,showFavorite,showPreview,tabIndexOverride,user:;setFocus"],
|
|
40
40
|
"arcgis-portal-item-badges": [() => import("./components/arcgis-portal-item-badges/customElement.js"), "appearance,empty,item:,portal:,scale,showTooltips,useProduction,user:,width"],
|
|
41
41
|
"arcgis-portal-item-badge": [() => import("./components/arcgis-portal-item-badge/customElement.js"), "_messages:,appearance,badgeType,item:,portal:,scale,showTooltip,useProduction,user:,width"],
|
|
42
|
-
"arcgis-portal-item-card": [() => import("./components/arcgis-portal-item-card/customElement.js"), "actions:,disabled,disableSelection,hideActionsStart,item:,link,linkHandler:,messages:,name,newTab,portal:,preview,previewed,recycleBin,selected,selection,showAccess,showBadges,showBadgeTooltips,showDateUpdated,showFavorite,showFavoriteInActionsMenu,showItemType,showItemTypeHosted,showOwner,showSummary,showThumbnail,user:,userPopupZIndex,view;restoreFocus"],
|
|
42
|
+
"arcgis-portal-item-card": [() => import("./components/arcgis-portal-item-card/customElement.js"), "actions:,allowedGeometries:,disabled,disableSelection,groups:,hideActionsStart,item:,link,linkHandler:,messages:,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;restoreFocus"],
|
|
43
|
+
"arcgis-portal-item-card-sublayer-select": [() => import("./components/arcgis-portal-item-card-sublayer-select/customElement.js"), "allowedGeometries:,appearance,disabled,item:,messageOverrides:,messages:,portal:,selectedItems:,selection,width"],
|
|
43
44
|
"arcgis-portal-item-favorite": [() => import("./components/arcgis-portal-item-favorite/customElement.js"), "iconOnly,item:,messages:,portal:,scale,showTooltip,user:,width;setFocus"],
|
|
44
|
-
"arcgis-portal-item-picker": [() => import("./components/arcgis-portal-item-picker/customElement.js"), "_messages:,entityType:,icon,messageOverrides:,mode,num,portal:,query,selected
|
|
45
|
+
"arcgis-portal-item-picker": [() => import("./components/arcgis-portal-item-picker/customElement.js"), "_messages:,entityType:,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],
|
|
46
|
+
"arcgis-portal-item-share-summary": [() => import("./components/arcgis-portal-item-share-summary/customElement.js"), "autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],
|
|
47
|
+
"arcgis-portal-item-share-summary-editable": [() => import("./components/arcgis-portal-item-share-summary-editable/customElement.js"), "allowEdit,autoFetchGroups,groups:,item:,messageOverrides:,messages:,overlayPositioning,portal:,scale,showHoverText,showText,userGroups:;fetchGroups,setFocus"],
|
|
45
48
|
"arcgis-portal-item-thumbnail": [() => import("./components/arcgis-portal-item-thumbnail/customElement.js"), "cacheString,generate,item:,portal:,serviceInfo:,useProduction,user:;generateThumbnail"],
|
|
46
49
|
"arcgis-portal-item-type": [() => import("./components/arcgis-portal-item-type/customElement.js"), "ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],
|
|
47
50
|
"arcgis-portal-mentionable-text-area": [() => import("./components/arcgis-portal-mentionable-text-area/customElement.js"), "disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],
|
|
48
51
|
"arcgis-portal-navigation": [() => import("./components/arcgis-portal-navigation/customElement.js"), "clientId,currentPathname,disableNotebookServer,disableTrackViewer,maxWidth,messages:,portal:,portalItem:,product,productHref,projectMenuIcon,projectMenuOptions:,projectMenuSaveIndicator,projectTitle,projectTitleSave:"],
|
|
49
52
|
"arcgis-portal-replacement-item-redirect": [() => import("./components/arcgis-portal-replacement-item-redirect/customElement.js"), "itemId,messages:,portal:,user:;setFocus"],
|
|
50
|
-
"arcgis-portal-review-related-items": [() => import("./components/arcgis-portal-review-related-items/customElement.js"), "messages:,portal:,relatedItems:,sourceItem:,user:"],
|
|
53
|
+
"arcgis-portal-review-related-items": [() => import("./components/arcgis-portal-review-related-items/customElement.js"), "browserMessages:,deleteMessages:,messages:,portal:,relatedItems:,relatedItemsCount,showDependentItems,sourceItem:,user:"],
|
|
51
54
|
"arcgis-portal-sublayer-type": [() => import("./components/arcgis-portal-sublayer-type/customElement.js"), "geometry,hideIcon,hideName,hideType,messages:,name,renderer:,scale,type,underline"],
|
|
52
55
|
"arcgis-portal-user-avatar": [() => import("./components/arcgis-portal-user-avatar/customElement.js"), "checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],
|
|
53
|
-
"arcgis-portal-user-picker": [() => import("./components/arcgis-portal-user-picker/customElement.js"), "_messages:,entityType:,icon,messageOverrides:,mode,num,portal:,query,selected
|
|
56
|
+
"arcgis-portal-user-picker": [() => import("./components/arcgis-portal-user-picker/customElement.js"), "_messages:,entityType:,icon,initialSearchTerm,messageOverrides:,mode,num,portal:,query,selected:,selectionMode;setFocus,togglePicker"],
|
|
54
57
|
"arcgis-portal-user-popup": [() => import("./components/arcgis-portal-user-popup/customElement.js"), "appearance,avatarAriaHidden,baseUrl,checkOnline,fullName,item:,messages:,portal:,scale,showAvatar,showName,showUsername,underline,user:,username,wrap,zIndex;openPopup,setFocus"],
|
|
55
58
|
"arcgis-portal-voice-input": [() => import("./components/arcgis-portal-voice-input/customElement.js"), "language;clearText,startListening,stopListening"]
|
|
56
59
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type Portal from "@arcgis/core/portal/Portal.js";
|
|
2
|
+
import type { ItemSourceJSON } from "../types/item.js";
|
|
3
|
+
import type { Result } from "../types/services.js";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @param portal
|
|
7
|
+
* @param itemId
|
|
8
|
+
*/
|
|
9
|
+
export function getItem(portal: Portal, itemId: string): Promise<Result<ItemSourceJSON, "unhandledError">>;
|
package/dist/types/item.d.ts
CHANGED
|
@@ -47,6 +47,15 @@ export interface ItemSourceJSON {
|
|
|
47
47
|
|
|
48
48
|
export type SearchResultSublayerGeometry = "multipoint" | "nonspatial" | "point" | "polygon" | "polyline";
|
|
49
49
|
|
|
50
|
+
export interface SearchResultSublayer {
|
|
51
|
+
description: string;
|
|
52
|
+
fieldAliases: string;
|
|
53
|
+
geometryType: SearchResultSublayerGeometry;
|
|
54
|
+
id: number;
|
|
55
|
+
title: string;
|
|
56
|
+
sourceJSON?: unknown;
|
|
57
|
+
}
|
|
58
|
+
|
|
50
59
|
/** Shared is `org` + shared to group, which is only for item */
|
|
51
60
|
export type AccessLevel = StandardAccessLevel | "shared";
|
|
52
61
|
|
|
@@ -58,15 +67,6 @@ export type ItemType = RetiredItemType | "3DTiles Package" | "3DTiles Service" |
|
|
|
58
67
|
|
|
59
68
|
export type RetiredItemType = (typeof retiredItemTypes)[number];
|
|
60
69
|
|
|
61
|
-
export interface SearchResultSublayer {
|
|
62
|
-
description: string;
|
|
63
|
-
fieldAliases: string;
|
|
64
|
-
geometryType: SearchResultSublayerGeometry;
|
|
65
|
-
id: number;
|
|
66
|
-
title: string;
|
|
67
|
-
sourceJSON?: unknown;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
70
|
export const retiredItemTypes: readonly [
|
|
71
71
|
"Operations Dashboard Add In",
|
|
72
72
|
"Operations Dashboard Extension",
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -36,8 +36,11 @@ 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 { ArcgisPortalItemShareSummary } from "../components/arcgis-portal-item-share-summary/customElement.js";
|
|
43
|
+
import type { ArcgisPortalItemShareSummaryEditable } from "../components/arcgis-portal-item-share-summary-editable/customElement.js";
|
|
41
44
|
import type { ArcgisPortalItemThumbnail } from "../components/arcgis-portal-item-thumbnail/customElement.js";
|
|
42
45
|
import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
|
|
43
46
|
import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
@@ -58,31 +61,31 @@ interface LuminaArcgisPortalAccountSwitcher extends Partial<Pick<ArcgisPortalAcc
|
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
interface LuminaArcgisPortalAccountSwitcherAccounts extends Partial<Pick<ArcgisPortalAccountSwitcherAccounts, "accounts" | "portal" | "targetUser">>, h.JSX.HTMLAttributes<ArcgisPortalAccountSwitcherAccounts> {
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
onarcgisAccountsCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsCloseDialog"]>;
|
|
65
|
+
onarcgisAccountsLinkAll?: EventHandler<ArcgisPortalAccountSwitcherAccounts["arcgisAccountsLinkAll"]>;
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
interface LuminaArcgisPortalAccountSwitcherList extends Partial<Pick<ArcgisPortalAccountSwitcherList, "accountAccess" | "actions" | "interactive" | "linkedAccounts" | "portal" | "signedInUsers">>, h.JSX.HTMLAttributes<ArcgisPortalAccountSwitcherList> {
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
onarcgisAccountListSwitch?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListSwitch"]>;
|
|
70
|
+
onarcgisAccountListUnlink?: EventHandler<ArcgisPortalAccountSwitcherList["arcgisAccountListUnlink"]>;
|
|
68
71
|
}
|
|
69
72
|
|
|
70
73
|
interface LuminaArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPortalAccountSwitcherSignout, "portal" | "signedInAccounts">>, h.JSX.HTMLAttributes<ArcgisPortalAccountSwitcherSignout> {
|
|
71
|
-
onarcgisCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisCloseDialog"]>;
|
|
72
74
|
onarcgisSignOutAll?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutAll"]>;
|
|
73
|
-
|
|
75
|
+
onarcgisSignOutCloseDialog?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutCloseDialog"]>;
|
|
76
|
+
onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
|
|
74
77
|
}
|
|
75
78
|
|
|
76
|
-
interface LuminaArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, h.JSX.HTMLAttributes<ArcgisPortalAddGpsMetadata> {
|
|
79
|
+
interface LuminaArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, h.JSX.HTMLAttributes<ArcgisPortalAddGpsMetadata> {
|
|
77
80
|
onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
|
|
78
81
|
onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
|
|
79
82
|
}
|
|
80
83
|
|
|
81
|
-
interface LuminaArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "
|
|
84
|
+
interface LuminaArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalAiAssistant> {
|
|
82
85
|
onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
|
|
83
86
|
}
|
|
84
87
|
|
|
85
|
-
interface LuminaArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, h.JSX.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
88
|
+
interface LuminaArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, h.JSX.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
86
89
|
onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
|
|
87
90
|
onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
|
|
88
91
|
}
|
|
@@ -139,8 +142,8 @@ interface LuminaArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
139
142
|
onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
|
|
140
143
|
}
|
|
141
144
|
|
|
142
|
-
interface LuminaArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
143
|
-
|
|
145
|
+
interface LuminaArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
146
|
+
onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
|
|
144
147
|
onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
|
|
145
148
|
onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
|
|
146
149
|
}
|
|
@@ -148,7 +151,7 @@ interface LuminaArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteI
|
|
|
148
151
|
interface LuminaArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalDeleteItemsReview> {
|
|
149
152
|
}
|
|
150
153
|
|
|
151
|
-
interface LuminaArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, h.JSX.HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
154
|
+
interface LuminaArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
152
155
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
|
|
153
156
|
}
|
|
154
157
|
|
|
@@ -201,7 +204,7 @@ interface LuminaArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard
|
|
|
201
204
|
onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
|
|
202
205
|
}
|
|
203
206
|
|
|
204
|
-
interface LuminaArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, h.JSX.HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
207
|
+
interface LuminaArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
205
208
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
|
|
206
209
|
}
|
|
207
210
|
|
|
@@ -224,21 +227,34 @@ interface LuminaArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadg
|
|
|
224
227
|
interface LuminaArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, h.JSX.HTMLAttributes<ArcgisPortalItemBadge> {
|
|
225
228
|
}
|
|
226
229
|
|
|
227
|
-
interface LuminaArcgisPortalItemCard 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">>, h.JSX.HTMLAttributes<ArcgisPortalItemCard> {
|
|
230
|
+
interface LuminaArcgisPortalItemCard 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">>, h.JSX.HTMLAttributes<ArcgisPortalItemCard> {
|
|
228
231
|
onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
|
|
229
232
|
onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
|
|
230
233
|
onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
|
|
231
234
|
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
|
|
235
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
interface LuminaArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, h.JSX.HTMLAttributes<ArcgisPortalItemCardSublayerSelect> {
|
|
239
|
+
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
|
|
240
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
|
|
232
241
|
}
|
|
233
242
|
|
|
234
243
|
interface LuminaArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, h.JSX.HTMLAttributes<ArcgisPortalItemFavorite> {
|
|
235
244
|
onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
|
|
236
245
|
}
|
|
237
246
|
|
|
238
|
-
interface LuminaArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, h.JSX.HTMLAttributes<ArcgisPortalItemPicker> {
|
|
247
|
+
interface LuminaArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalItemPicker> {
|
|
239
248
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
|
|
240
249
|
}
|
|
241
250
|
|
|
251
|
+
interface LuminaArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, h.JSX.HTMLAttributes<ArcgisPortalItemShareSummary> {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
interface LuminaArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, h.JSX.HTMLAttributes<ArcgisPortalItemShareSummaryEditable> {
|
|
255
|
+
onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
|
|
256
|
+
}
|
|
257
|
+
|
|
242
258
|
interface LuminaArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalItemThumbnail> {
|
|
243
259
|
onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
|
|
244
260
|
}
|
|
@@ -265,7 +281,7 @@ interface LuminaArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisP
|
|
|
265
281
|
onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
|
|
266
282
|
}
|
|
267
283
|
|
|
268
|
-
interface LuminaArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
284
|
+
interface LuminaArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
269
285
|
}
|
|
270
286
|
|
|
271
287
|
interface LuminaArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, h.JSX.HTMLAttributes<ArcgisPortalSublayerType> {
|
|
@@ -274,7 +290,7 @@ interface LuminaArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublay
|
|
|
274
290
|
interface LuminaArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, h.JSX.HTMLAttributes<ArcgisPortalUserAvatar> {
|
|
275
291
|
}
|
|
276
292
|
|
|
277
|
-
interface LuminaArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected">>, h.JSX.HTMLAttributes<ArcgisPortalUserPicker> {
|
|
293
|
+
interface LuminaArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalUserPicker> {
|
|
278
294
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
|
|
279
295
|
}
|
|
280
296
|
|
|
@@ -331,8 +347,11 @@ declare module "@arcgis/lumina" {
|
|
|
331
347
|
"arcgis-portal-item-badges": LuminaArcgisPortalItemBadges;
|
|
332
348
|
"arcgis-portal-item-badge": LuminaArcgisPortalItemBadge;
|
|
333
349
|
"arcgis-portal-item-card": LuminaArcgisPortalItemCard;
|
|
350
|
+
"arcgis-portal-item-card-sublayer-select": LuminaArcgisPortalItemCardSublayerSelect;
|
|
334
351
|
"arcgis-portal-item-favorite": LuminaArcgisPortalItemFavorite;
|
|
335
352
|
"arcgis-portal-item-picker": LuminaArcgisPortalItemPicker;
|
|
353
|
+
"arcgis-portal-item-share-summary": LuminaArcgisPortalItemShareSummary;
|
|
354
|
+
"arcgis-portal-item-share-summary-editable": LuminaArcgisPortalItemShareSummaryEditable;
|
|
336
355
|
"arcgis-portal-item-thumbnail": LuminaArcgisPortalItemThumbnail;
|
|
337
356
|
"arcgis-portal-item-type": LuminaArcgisPortalItemType;
|
|
338
357
|
"arcgis-portal-mentionable-text-area": LuminaArcgisPortalMentionableTextArea;
|