@arcgis/portal-components 6.0.0-next.3 → 6.0.0-next.30
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/234TH32X.js +106 -0
- package/dist/cdn/{Z6R3C4AK.js → 2W3O3KBH.js} +1 -1
- package/dist/cdn/2XRZP4QI.js +2 -0
- package/dist/cdn/365ICWHN.js +2 -0
- package/dist/cdn/{RHCRPJWS.js → 47EZWWY7.js} +1 -1
- package/dist/cdn/4PL5CXXD.js +2 -0
- package/dist/cdn/4QYVBXZT.js +2 -0
- package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
- package/dist/cdn/{JPUUMGX5.js → 4XFXM76G.js} +1 -1
- package/dist/cdn/5BVGWSPJ.js +2 -0
- package/dist/cdn/{2TDHJSMP.js → 5MZ64QM7.js} +1 -1
- package/dist/cdn/{K2XSYDAP.js → 657KMT6Y.js} +1 -1
- package/dist/cdn/{JWBUJT43.js → 6P7WYZZS.js} +1 -1
- package/dist/cdn/76IANSI7.js +2 -0
- package/dist/cdn/7DBQRL5U.js +2 -0
- package/dist/cdn/{MKSFNVXL.js → 7ECLKNGV.js} +1 -1
- package/dist/cdn/7HNMTPSD.js +2 -0
- package/dist/cdn/AEJPC2Q5.js +2 -0
- package/dist/cdn/AHJDGTDG.js +2 -0
- package/dist/cdn/{D2YQWKME.js → ASID6YW7.js} +2 -2
- package/dist/cdn/{IN4JPZTY.js → BDMPW4YT.js} +1 -1
- package/dist/cdn/{NWVLGU2C.js → BNDM7DRY.js} +1 -1
- package/dist/cdn/BPFX6I6Z.js +2 -0
- package/dist/cdn/{SGDDFWCJ.js → CB3UEA5V.js} +1 -1
- package/dist/cdn/CFNR4XS2.js +91 -0
- package/dist/cdn/CHJAALGF.js +2 -0
- package/dist/cdn/{JE2376SE.js → COET6FWR.js} +1 -1
- package/dist/cdn/DOU2QZP5.js +2 -0
- package/dist/cdn/{QTAYXO5T.js → DSJOBYW5.js} +1 -1
- package/dist/cdn/EQZYUMUN.js +2 -0
- package/dist/cdn/{TRMFL7PT.js → ESKKH4DE.js} +1 -1
- package/dist/cdn/EY37MGL2.js +2 -0
- package/dist/cdn/{DDBXEXOV.js → F5T3DTCW.js} +1 -1
- package/dist/cdn/FCGMSMBW.js +2 -0
- package/dist/cdn/FGRMURKX.js +2 -0
- package/dist/cdn/FICE62PO.js +2 -0
- package/dist/cdn/FN2QMDEW.js +2 -0
- package/dist/cdn/GJP72ONW.js +2 -0
- package/dist/cdn/GQTAE72S.js +2 -0
- package/dist/cdn/{M5PPX4ZX.js → GRQLUOSD.js} +1 -1
- package/dist/cdn/{EY5S6ICQ.js → GW6SI25C.js} +1 -1
- package/dist/cdn/H6OQOEHS.js +2 -0
- package/dist/cdn/{I6IRHXWR.js → HH5DBWJ2.js} +1 -1
- package/dist/cdn/HNVQMOOU.js +2 -0
- package/dist/cdn/IMFTTYIV.js +2 -0
- package/dist/cdn/{J5NPDIZM.js → ITGOCCZZ.js} +1 -1
- package/dist/cdn/{GAF4YT5N.js → IUIFCQQU.js} +1 -1
- package/dist/cdn/JD6QT6IC.js +2 -0
- package/dist/cdn/JTSFNRWR.js +2 -0
- package/dist/cdn/K3GAZFRI.js +63 -0
- package/dist/cdn/K6NEES4K.js +2 -0
- package/dist/cdn/K6YTIB74.js +2 -0
- package/dist/cdn/KRORL7QC.js +2 -0
- package/dist/cdn/{TXC7YBGL.js → KWZIYNDC.js} +1 -1
- package/dist/cdn/{3NSHGKZA.js → L2P23REA.js} +1 -1
- package/dist/cdn/L3A3L7FY.js +2 -0
- package/dist/cdn/L3JSQQUK.js +2 -0
- package/dist/cdn/LGRW3SGR.js +2 -0
- package/dist/cdn/MDOMTVQY.js +2 -0
- package/dist/cdn/{YZTBAUIO.js → MDYX3ON3.js} +1 -1
- package/dist/cdn/{AXOBMX3S.js → MLTZSPZQ.js} +1 -1
- package/dist/cdn/MSOJ4BDB.js +2 -0
- package/dist/cdn/MSSJRDR7.js +2 -0
- package/dist/cdn/NHVPNSNH.js +2 -0
- package/dist/cdn/{JN23JH3T.js → NK474LV6.js} +1 -1
- package/dist/cdn/{24QSQLRY.js → NNILBERZ.js} +1 -1
- package/dist/cdn/NO5VHQVY.js +2 -0
- package/dist/cdn/{VNU4QX7M.js → NQ2IAQKL.js} +17 -17
- package/dist/cdn/{7LMZHJZG.js → NYOXMT6S.js} +1 -1
- package/dist/cdn/{OR6T5SB3.js → O2H6SPV3.js} +1 -1
- package/dist/cdn/O4YFPGD5.js +2 -0
- package/dist/cdn/OHAQPQAP.js +2 -0
- package/dist/cdn/OHEJPZ35.js +2 -0
- package/dist/cdn/OQ2JULON.js +2 -0
- package/dist/cdn/OUFJRLPQ.js +4 -0
- package/dist/cdn/OW67EEOH.js +2 -0
- package/dist/cdn/P4XDOAK2.js +2 -0
- package/dist/cdn/PU7NVVTN.js +2 -0
- package/dist/cdn/{CFRJU6VA.js → QE64NUUD.js} +1 -1
- package/dist/cdn/R3IQ7OYN.js +70 -0
- package/dist/cdn/R5LNWMD4.js +2 -0
- package/dist/cdn/RT26JZP5.js +2 -0
- package/dist/cdn/{TWCJJCPC.js → S4Y7FPSQ.js} +1 -1
- package/dist/cdn/SCZ2GY3E.js +2 -0
- package/dist/cdn/{URQML7KV.js → SF7P7MND.js} +1 -1
- package/dist/cdn/SRWFOV5W.js +2 -0
- package/dist/cdn/{74T6IXSN.js → TABWX4F2.js} +1 -1
- package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
- package/dist/cdn/TOVMYLXB.js +2 -0
- package/dist/cdn/TP5IFB74.js +2 -0
- package/dist/cdn/TRPOPI34.js +2 -0
- package/dist/cdn/ULGME5RT.js +2 -0
- package/dist/cdn/UOY4FZLR.js +2 -0
- package/dist/cdn/{DHMNNIXZ.js → UPVGSEFX.js} +1 -1
- package/dist/cdn/{JIJO4CAS.js → VZPUDARW.js} +1 -1
- package/dist/cdn/W2MFAJEG.js +2 -0
- package/dist/cdn/W5AV2JMK.js +2 -0
- package/dist/cdn/WFPUAEJQ.js +3 -0
- package/dist/cdn/{7ZWYUHGK.js → WQOCWSJC.js} +1 -1
- package/dist/cdn/WRP5SUB4.js +2 -0
- package/dist/cdn/{2YZWRFCI.js → WUPQROF4.js} +1 -1
- package/dist/cdn/X4EHFUD4.js +2 -0
- package/dist/cdn/XLR4JEUA.js +2 -0
- package/dist/cdn/{ZKZDKJ6D.js → XMFA6QY6.js} +1 -1
- package/dist/cdn/XX6BL3DR.js +2 -0
- package/dist/cdn/YF4HTCBB.js +2 -0
- package/dist/cdn/{5HZNBMW6.js → YG5ZZUE4.js} +1 -1
- package/dist/cdn/YKFYCIOS.js +2 -0
- package/dist/cdn/YMVVEC2R.js +2 -0
- package/dist/cdn/{BKD7JSV2.js → YWWBQUH2.js} +1 -1
- package/dist/cdn/Z55T6COF.js +2 -0
- package/dist/cdn/Z7DRFGQ6.js +2 -0
- package/dist/cdn/ZJQ55GQG.js +2 -0
- 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 +131 -33
- package/dist/chunks/item2.js +63 -125
- 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 +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 +1 -1
- 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/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 +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-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 +34 -32
- 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 +14 -14
- 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-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 +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 +4 -4
- 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-popup/customElement.d.ts +1 -1
- package/dist/components/arcgis-portal-user-popup/customElement.js +17 -16
- 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 +31 -0
- package/dist/index.js +300 -6
- package/dist/loader.js +13 -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 +11 -11
- package/dist/types/lumina.d.ts +31 -11
- package/dist/types/portalAssistantCurrentContext.d.ts +9 -0
- package/dist/types/portalEntityPicker.d.ts +3 -0
- package/dist/types/preact.d.ts +34 -11
- package/dist/types/react.d.ts +37 -11
- package/dist/types/services.d.ts +27 -1
- package/dist/types/stencil.d.ts +31 -11
- 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/23NXHNPU.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/A2SQ4EMZ.js +0 -2
- package/dist/cdn/AICPYLWE.js +0 -4
- package/dist/cdn/AZOJHVAO.js +0 -2
- package/dist/cdn/BYHX3UWV.js +0 -2
- package/dist/cdn/CD5UWSCP.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/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/JOUR2FB2.js +0 -3
- 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/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/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";
|
|
@@ -73,16 +76,17 @@ interface LuminaArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPo
|
|
|
73
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"]>;
|
|
81
|
+
onarcgisPropertyChange?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]>;
|
|
78
82
|
onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
|
|
79
83
|
}
|
|
80
84
|
|
|
81
|
-
interface LuminaArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "
|
|
85
|
+
interface LuminaArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalAiAssistant> {
|
|
82
86
|
onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
|
|
83
87
|
}
|
|
84
88
|
|
|
85
|
-
interface LuminaArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, h.JSX.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
89
|
+
interface LuminaArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, h.JSX.HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
86
90
|
onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
|
|
87
91
|
onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
|
|
88
92
|
}
|
|
@@ -139,8 +143,8 @@ interface LuminaArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
139
143
|
onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
|
|
140
144
|
}
|
|
141
145
|
|
|
142
|
-
interface LuminaArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
143
|
-
|
|
146
|
+
interface LuminaArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
147
|
+
onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
|
|
144
148
|
onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
|
|
145
149
|
onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
|
|
146
150
|
}
|
|
@@ -148,7 +152,7 @@ interface LuminaArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteI
|
|
|
148
152
|
interface LuminaArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalDeleteItemsReview> {
|
|
149
153
|
}
|
|
150
154
|
|
|
151
|
-
interface LuminaArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
155
|
+
interface LuminaArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
152
156
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
|
|
153
157
|
}
|
|
154
158
|
|
|
@@ -201,7 +205,7 @@ interface LuminaArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard
|
|
|
201
205
|
onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
|
|
202
206
|
}
|
|
203
207
|
|
|
204
|
-
interface LuminaArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
208
|
+
interface LuminaArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
205
209
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
|
|
206
210
|
}
|
|
207
211
|
|
|
@@ -224,21 +228,34 @@ interface LuminaArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadg
|
|
|
224
228
|
interface LuminaArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, h.JSX.HTMLAttributes<ArcgisPortalItemBadge> {
|
|
225
229
|
}
|
|
226
230
|
|
|
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> {
|
|
231
|
+
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
232
|
onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
|
|
229
233
|
onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
|
|
230
234
|
onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
|
|
231
235
|
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
|
|
236
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
interface LuminaArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, h.JSX.HTMLAttributes<ArcgisPortalItemCardSublayerSelect> {
|
|
240
|
+
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
|
|
241
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
|
|
232
242
|
}
|
|
233
243
|
|
|
234
244
|
interface LuminaArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, h.JSX.HTMLAttributes<ArcgisPortalItemFavorite> {
|
|
235
245
|
onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
|
|
236
246
|
}
|
|
237
247
|
|
|
238
|
-
interface LuminaArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalItemPicker> {
|
|
248
|
+
interface LuminaArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalItemPicker> {
|
|
239
249
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
|
|
240
250
|
}
|
|
241
251
|
|
|
252
|
+
interface LuminaArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, h.JSX.HTMLAttributes<ArcgisPortalItemShareSummary> {
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
interface LuminaArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, h.JSX.HTMLAttributes<ArcgisPortalItemShareSummaryEditable> {
|
|
256
|
+
onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
|
|
257
|
+
}
|
|
258
|
+
|
|
242
259
|
interface LuminaArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalItemThumbnail> {
|
|
243
260
|
onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
|
|
244
261
|
}
|
|
@@ -265,7 +282,7 @@ interface LuminaArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisP
|
|
|
265
282
|
onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
|
|
266
283
|
}
|
|
267
284
|
|
|
268
|
-
interface LuminaArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
285
|
+
interface LuminaArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
269
286
|
}
|
|
270
287
|
|
|
271
288
|
interface LuminaArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, h.JSX.HTMLAttributes<ArcgisPortalSublayerType> {
|
|
@@ -274,7 +291,7 @@ interface LuminaArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublay
|
|
|
274
291
|
interface LuminaArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, h.JSX.HTMLAttributes<ArcgisPortalUserAvatar> {
|
|
275
292
|
}
|
|
276
293
|
|
|
277
|
-
interface LuminaArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalUserPicker> {
|
|
294
|
+
interface LuminaArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, h.JSX.HTMLAttributes<ArcgisPortalUserPicker> {
|
|
278
295
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
|
|
279
296
|
}
|
|
280
297
|
|
|
@@ -331,8 +348,11 @@ declare module "@arcgis/lumina" {
|
|
|
331
348
|
"arcgis-portal-item-badges": LuminaArcgisPortalItemBadges;
|
|
332
349
|
"arcgis-portal-item-badge": LuminaArcgisPortalItemBadge;
|
|
333
350
|
"arcgis-portal-item-card": LuminaArcgisPortalItemCard;
|
|
351
|
+
"arcgis-portal-item-card-sublayer-select": LuminaArcgisPortalItemCardSublayerSelect;
|
|
334
352
|
"arcgis-portal-item-favorite": LuminaArcgisPortalItemFavorite;
|
|
335
353
|
"arcgis-portal-item-picker": LuminaArcgisPortalItemPicker;
|
|
354
|
+
"arcgis-portal-item-share-summary": LuminaArcgisPortalItemShareSummary;
|
|
355
|
+
"arcgis-portal-item-share-summary-editable": LuminaArcgisPortalItemShareSummaryEditable;
|
|
336
356
|
"arcgis-portal-item-thumbnail": LuminaArcgisPortalItemThumbnail;
|
|
337
357
|
"arcgis-portal-item-type": LuminaArcgisPortalItemType;
|
|
338
358
|
"arcgis-portal-mentionable-text-area": LuminaArcgisPortalMentionableTextArea;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The current entity supplied by the host application as context for the AI assistant. */
|
|
2
|
+
export interface PortalAssistantCurrentContext {
|
|
3
|
+
/** The kind of entity represented by the current view. */
|
|
4
|
+
readonly entityType: "group" | "item" | "organization";
|
|
5
|
+
/** The entity's identifier. Item and group identifiers are 32-character hexadecimal strings. */
|
|
6
|
+
readonly id: string;
|
|
7
|
+
/** An optional display label for the entity. */
|
|
8
|
+
readonly label?: string;
|
|
9
|
+
}
|
|
@@ -6,6 +6,9 @@ export type PortalEntityPickerEntityType = "group" | "item" | "user";
|
|
|
6
6
|
|
|
7
7
|
export type PortalEntityPickerMode = "inline" | "popover";
|
|
8
8
|
|
|
9
|
+
/** Search buckets for portal entities. For organization members, `all` searches only the configured organization. */
|
|
10
|
+
export type PortalEntityPickerScope = "all" | "myContent" | "myGroups" | "myOrganization";
|
|
11
|
+
|
|
9
12
|
export type PortalEntityPickerSelection = Readonly<{
|
|
10
13
|
entity: PortalGroup;
|
|
11
14
|
entityType: "group";
|
package/dist/types/preact.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";
|
|
@@ -74,16 +77,17 @@ interface PreactArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPo
|
|
|
74
77
|
onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
|
|
75
78
|
}
|
|
76
79
|
|
|
77
|
-
interface PreactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, HTMLAttributes<ArcgisPortalAddGpsMetadata> {
|
|
80
|
+
interface PreactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, HTMLAttributes<ArcgisPortalAddGpsMetadata> {
|
|
78
81
|
onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
|
|
82
|
+
onarcgisPropertyChange?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]>;
|
|
79
83
|
onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
|
|
80
84
|
}
|
|
81
85
|
|
|
82
|
-
interface PreactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "
|
|
86
|
+
interface PreactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, HTMLAttributes<ArcgisPortalAiAssistant> {
|
|
83
87
|
onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
|
|
84
88
|
}
|
|
85
89
|
|
|
86
|
-
interface PreactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
90
|
+
interface PreactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, HTMLAttributes<ArcgisPortalAiAssistantInterrupt> {
|
|
87
91
|
onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
|
|
88
92
|
onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
|
|
89
93
|
}
|
|
@@ -140,8 +144,8 @@ interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgi
|
|
|
140
144
|
onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
|
|
141
145
|
}
|
|
142
146
|
|
|
143
|
-
interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
144
|
-
|
|
147
|
+
interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItems> {
|
|
148
|
+
onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
|
|
145
149
|
onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
|
|
146
150
|
onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
|
|
147
151
|
}
|
|
@@ -149,7 +153,7 @@ interface PreactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteI
|
|
|
149
153
|
interface PreactArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, HTMLAttributes<ArcgisPortalDeleteItemsReview> {
|
|
150
154
|
}
|
|
151
155
|
|
|
152
|
-
interface PreactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
156
|
+
interface PreactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalEntityPicker> {
|
|
153
157
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
|
|
154
158
|
}
|
|
155
159
|
|
|
@@ -202,7 +206,7 @@ interface PreactArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard
|
|
|
202
206
|
onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
|
|
203
207
|
}
|
|
204
208
|
|
|
205
|
-
interface PreactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
209
|
+
interface PreactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalGroupPicker> {
|
|
206
210
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
|
|
207
211
|
}
|
|
208
212
|
|
|
@@ -225,21 +229,34 @@ interface PreactArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadg
|
|
|
225
229
|
interface PreactArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, HTMLAttributes<ArcgisPortalItemBadge> {
|
|
226
230
|
}
|
|
227
231
|
|
|
228
|
-
interface PreactArcgisPortalItemCard 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">>, HTMLAttributes<ArcgisPortalItemCard> {
|
|
232
|
+
interface PreactArcgisPortalItemCard 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">>, HTMLAttributes<ArcgisPortalItemCard> {
|
|
229
233
|
onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
|
|
230
234
|
onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
|
|
231
235
|
onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
|
|
232
236
|
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
|
|
237
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
interface PreactArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, HTMLAttributes<ArcgisPortalItemCardSublayerSelect> {
|
|
241
|
+
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
|
|
242
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
|
|
233
243
|
}
|
|
234
244
|
|
|
235
245
|
interface PreactArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, HTMLAttributes<ArcgisPortalItemFavorite> {
|
|
236
246
|
onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
|
|
237
247
|
}
|
|
238
248
|
|
|
239
|
-
interface PreactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalItemPicker> {
|
|
249
|
+
interface PreactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalItemPicker> {
|
|
240
250
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
|
|
241
251
|
}
|
|
242
252
|
|
|
253
|
+
interface PreactArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLAttributes<ArcgisPortalItemShareSummary> {
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
interface PreactArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLAttributes<ArcgisPortalItemShareSummaryEditable> {
|
|
257
|
+
onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
|
|
258
|
+
}
|
|
259
|
+
|
|
243
260
|
interface PreactArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, HTMLAttributes<ArcgisPortalItemThumbnail> {
|
|
244
261
|
onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
|
|
245
262
|
}
|
|
@@ -266,7 +283,7 @@ interface PreactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisP
|
|
|
266
283
|
onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
|
|
267
284
|
}
|
|
268
285
|
|
|
269
|
-
interface PreactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
286
|
+
interface PreactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, HTMLAttributes<ArcgisPortalReviewRelatedItems> {
|
|
270
287
|
}
|
|
271
288
|
|
|
272
289
|
interface PreactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, HTMLAttributes<ArcgisPortalSublayerType> {
|
|
@@ -275,7 +292,7 @@ interface PreactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublay
|
|
|
275
292
|
interface PreactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLAttributes<ArcgisPortalUserAvatar> {
|
|
276
293
|
}
|
|
277
294
|
|
|
278
|
-
interface PreactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalUserPicker> {
|
|
295
|
+
interface PreactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLAttributes<ArcgisPortalUserPicker> {
|
|
279
296
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
|
|
280
297
|
}
|
|
281
298
|
|
|
@@ -332,8 +349,11 @@ declare module 'preact' {
|
|
|
332
349
|
"arcgis-portal-item-badges": PreactArcgisPortalItemBadges;
|
|
333
350
|
"arcgis-portal-item-badge": PreactArcgisPortalItemBadge;
|
|
334
351
|
"arcgis-portal-item-card": PreactArcgisPortalItemCard;
|
|
352
|
+
"arcgis-portal-item-card-sublayer-select": PreactArcgisPortalItemCardSublayerSelect;
|
|
335
353
|
"arcgis-portal-item-favorite": PreactArcgisPortalItemFavorite;
|
|
336
354
|
"arcgis-portal-item-picker": PreactArcgisPortalItemPicker;
|
|
355
|
+
"arcgis-portal-item-share-summary": PreactArcgisPortalItemShareSummary;
|
|
356
|
+
"arcgis-portal-item-share-summary-editable": PreactArcgisPortalItemShareSummaryEditable;
|
|
337
357
|
"arcgis-portal-item-thumbnail": PreactArcgisPortalItemThumbnail;
|
|
338
358
|
"arcgis-portal-item-type": PreactArcgisPortalItemType;
|
|
339
359
|
"arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
|
|
@@ -386,8 +406,11 @@ declare module 'preact' {
|
|
|
386
406
|
"arcgis-portal-item-badges": PreactArcgisPortalItemBadges;
|
|
387
407
|
"arcgis-portal-item-badge": PreactArcgisPortalItemBadge;
|
|
388
408
|
"arcgis-portal-item-card": PreactArcgisPortalItemCard;
|
|
409
|
+
"arcgis-portal-item-card-sublayer-select": PreactArcgisPortalItemCardSublayerSelect;
|
|
389
410
|
"arcgis-portal-item-favorite": PreactArcgisPortalItemFavorite;
|
|
390
411
|
"arcgis-portal-item-picker": PreactArcgisPortalItemPicker;
|
|
412
|
+
"arcgis-portal-item-share-summary": PreactArcgisPortalItemShareSummary;
|
|
413
|
+
"arcgis-portal-item-share-summary-editable": PreactArcgisPortalItemShareSummaryEditable;
|
|
391
414
|
"arcgis-portal-item-thumbnail": PreactArcgisPortalItemThumbnail;
|
|
392
415
|
"arcgis-portal-item-type": PreactArcgisPortalItemType;
|
|
393
416
|
"arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
|
package/dist/types/react.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";
|
|
@@ -74,16 +77,17 @@ interface ReactArcgisPortalAccountSwitcherSignout extends Partial<Pick<ArcgisPor
|
|
|
74
77
|
onarcgisSignOutSwitchAccount?: EventHandler<ArcgisPortalAccountSwitcherSignout["arcgisSignOutSwitchAccount"]>;
|
|
75
78
|
}
|
|
76
79
|
|
|
77
|
-
interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
|
|
80
|
+
interface ReactArcgisPortalAddGpsMetadata extends Partial<Pick<ArcgisPortalAddGpsMetadata, "item" | "itemId" | "messageOverrides" | "portal">>, HTMLProps<ArcgisPortalAddGpsMetadata> {
|
|
78
81
|
onarcgisGPSMetadataFieldsAdded?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisGPSMetadataFieldsAdded"]>;
|
|
82
|
+
onarcgisPropertyChange?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisPropertyChange"]>;
|
|
79
83
|
onarcgisReadOnlyMode?: EventHandler<ArcgisPortalAddGpsMetadata["arcgisReadOnlyMode"]>;
|
|
80
84
|
}
|
|
81
85
|
|
|
82
|
-
interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "defaultClosed" | "disabledAgents" | "
|
|
86
|
+
interface ReactArcgisPortalAiAssistant extends Partial<Pick<ArcgisPortalAiAssistant, "autoDestroyDisabled" | "config" | "currentContext" | "defaultClosed" | "disabledAgents" | "entityToolPresets" | "navigationTargetMap" | "observabilityEnabled" | "portal" | "tools" | "user">>, HTMLProps<ArcgisPortalAiAssistant> {
|
|
83
87
|
onarcgisPortalNavigationRequest?: EventHandler<ArcgisPortalAiAssistant["arcgisPortalNavigationRequest"]>;
|
|
84
88
|
}
|
|
85
89
|
|
|
86
|
-
interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "message" | "options" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
|
|
90
|
+
interface ReactArcgisPortalAiAssistantInterrupt extends Partial<Pick<ArcgisPortalAiAssistantInterrupt, "entityRequest" | "message" | "options" | "portal" | "requestId" | "type">>, HTMLProps<ArcgisPortalAiAssistantInterrupt> {
|
|
87
91
|
onarcgisCancel?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisCancel"]>;
|
|
88
92
|
onarcgisSubmit?: EventHandler<ArcgisPortalAiAssistantInterrupt["arcgisSubmit"]>;
|
|
89
93
|
}
|
|
@@ -140,8 +144,8 @@ interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<Arcgis
|
|
|
140
144
|
onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
|
|
141
145
|
}
|
|
142
146
|
|
|
143
|
-
interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
|
|
144
|
-
|
|
147
|
+
interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteItems, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItems> {
|
|
148
|
+
onarcgisClose?: EventHandler<ArcgisPortalDeleteItems["arcgisClose"]>;
|
|
145
149
|
onarcgisConfirm?: EventHandler<ArcgisPortalDeleteItems["arcgisConfirm"]>;
|
|
146
150
|
onarcgisError?: EventHandler<ArcgisPortalDeleteItems["arcgisError"]>;
|
|
147
151
|
}
|
|
@@ -149,7 +153,7 @@ interface ReactArcgisPortalDeleteItems extends Partial<Pick<ArcgisPortalDeleteIt
|
|
|
149
153
|
interface ReactArcgisPortalDeleteItemsReview extends Partial<Pick<ArcgisPortalDeleteItemsReview, "items" | "portal" | "user">>, HTMLProps<ArcgisPortalDeleteItemsReview> {
|
|
150
154
|
}
|
|
151
155
|
|
|
152
|
-
interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalEntityPicker> {
|
|
156
|
+
interface ReactArcgisPortalEntityPicker extends Partial<Pick<ArcgisPortalEntityPicker, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalEntityPicker> {
|
|
153
157
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalEntityPicker["arcgisSelectionChange"]>;
|
|
154
158
|
}
|
|
155
159
|
|
|
@@ -202,7 +206,7 @@ interface ReactArcgisPortalGroupCard extends Partial<Pick<ArcgisPortalGroupCard,
|
|
|
202
206
|
onarcgisGroupCardSelect?: EventHandler<ArcgisPortalGroupCard["arcgisGroupCardSelect"]>;
|
|
203
207
|
}
|
|
204
208
|
|
|
205
|
-
interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalGroupPicker> {
|
|
209
|
+
interface ReactArcgisPortalGroupPicker extends Partial<Pick<ArcgisPortalGroupPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalGroupPicker> {
|
|
206
210
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalGroupPicker["arcgisSelectionChange"]>;
|
|
207
211
|
}
|
|
208
212
|
|
|
@@ -225,21 +229,34 @@ interface ReactArcgisPortalItemBadges extends Partial<Pick<ArcgisPortalItemBadge
|
|
|
225
229
|
interface ReactArcgisPortalItemBadge extends Partial<Pick<ArcgisPortalItemBadge, "appearance" | "badgeType" | "item" | "portal" | "scale" | "showTooltip" | "useProduction" | "user" | "width">>, HTMLProps<ArcgisPortalItemBadge> {
|
|
226
230
|
}
|
|
227
231
|
|
|
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> {
|
|
232
|
+
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
233
|
onarcgisItemBrowserCardPreview?: EventHandler<ArcgisPortalItemCard["arcgisItemBrowserCardPreview"]>;
|
|
230
234
|
onarcgisItemCardActionsOpen?: EventHandler<ArcgisPortalItemCard["arcgisItemCardActionsOpen"]>;
|
|
231
235
|
onarcgisItemCardInternalUIAction?: EventHandler<ArcgisPortalItemCard["arcgisItemCardInternalUIAction"]>;
|
|
232
236
|
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelect"]>;
|
|
237
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCard["arcgisItemCardSelectError"]>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
interface ReactArcgisPortalItemCardSublayerSelect extends Partial<Pick<ArcgisPortalItemCardSublayerSelect, "allowedGeometries" | "appearance" | "disabled" | "item" | "messageOverrides" | "portal" | "selectedItems" | "selection" | "width">>, HTMLProps<ArcgisPortalItemCardSublayerSelect> {
|
|
241
|
+
onarcgisItemCardSelect?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelect"]>;
|
|
242
|
+
onarcgisItemCardSelectError?: EventHandler<ArcgisPortalItemCardSublayerSelect["arcgisItemCardSelectError"]>;
|
|
233
243
|
}
|
|
234
244
|
|
|
235
245
|
interface ReactArcgisPortalItemFavorite extends Partial<Pick<ArcgisPortalItemFavorite, "iconOnly" | "item" | "portal" | "scale" | "showTooltip" | "user" | "width">>, HTMLProps<ArcgisPortalItemFavorite> {
|
|
236
246
|
onarcgisItemFavoriteUpdate?: EventHandler<ArcgisPortalItemFavorite["arcgisItemFavoriteUpdate"]>;
|
|
237
247
|
}
|
|
238
248
|
|
|
239
|
-
interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalItemPicker> {
|
|
249
|
+
interface ReactArcgisPortalItemPicker extends Partial<Pick<ArcgisPortalItemPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalItemPicker> {
|
|
240
250
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalItemPicker["arcgisSelectionChange"]>;
|
|
241
251
|
}
|
|
242
252
|
|
|
253
|
+
interface ReactArcgisPortalItemShareSummary extends Partial<Pick<ArcgisPortalItemShareSummary, "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummary> {
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
interface ReactArcgisPortalItemShareSummaryEditable extends Partial<Pick<ArcgisPortalItemShareSummaryEditable, "allowEdit" | "autoFetchGroups" | "groups" | "item" | "messageOverrides" | "overlayPositioning" | "portal" | "scale" | "showHoverText" | "showText" | "userGroups">>, HTMLProps<ArcgisPortalItemShareSummaryEditable> {
|
|
257
|
+
onarcgisItemShareSummaryRequest?: EventHandler<ArcgisPortalItemShareSummaryEditable["arcgisItemShareSummaryRequest"]>;
|
|
258
|
+
}
|
|
259
|
+
|
|
243
260
|
interface ReactArcgisPortalItemThumbnail extends Partial<Pick<ArcgisPortalItemThumbnail, "cacheString" | "generate" | "item" | "portal" | "serviceInfo" | "useProduction" | "user">>, HTMLProps<ArcgisPortalItemThumbnail> {
|
|
244
261
|
onarcgisItemThumbnailGenerated?: EventHandler<ArcgisPortalItemThumbnail["arcgisItemThumbnailGenerated"]>;
|
|
245
262
|
}
|
|
@@ -266,7 +283,7 @@ interface ReactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPo
|
|
|
266
283
|
onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
|
|
267
284
|
}
|
|
268
285
|
|
|
269
|
-
interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
|
|
286
|
+
interface ReactArcgisPortalReviewRelatedItems extends Partial<Pick<ArcgisPortalReviewRelatedItems, "portal" | "relatedItems" | "relatedItemsCount" | "showDependentItems" | "sourceItem" | "user">>, HTMLProps<ArcgisPortalReviewRelatedItems> {
|
|
270
287
|
}
|
|
271
288
|
|
|
272
289
|
interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublayerType, "geometry" | "hideIcon" | "hideName" | "hideType" | "name" | "renderer" | "scale" | "type" | "underline">>, HTMLProps<ArcgisPortalSublayerType> {
|
|
@@ -275,7 +292,7 @@ interface ReactArcgisPortalSublayerType extends Partial<Pick<ArcgisPortalSublaye
|
|
|
275
292
|
interface ReactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLProps<ArcgisPortalUserAvatar> {
|
|
276
293
|
}
|
|
277
294
|
|
|
278
|
-
interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalUserPicker> {
|
|
295
|
+
interface ReactArcgisPortalUserPicker extends Partial<Pick<ArcgisPortalUserPicker, "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">>, HTMLProps<ArcgisPortalUserPicker> {
|
|
279
296
|
onarcgisSelectionChange?: EventHandler<ArcgisPortalUserPicker["arcgisSelectionChange"]>;
|
|
280
297
|
}
|
|
281
298
|
|
|
@@ -332,8 +349,11 @@ declare module "react" {
|
|
|
332
349
|
"arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
|
|
333
350
|
"arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
|
|
334
351
|
"arcgis-portal-item-card": ReactArcgisPortalItemCard;
|
|
352
|
+
"arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
|
|
335
353
|
"arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
|
|
336
354
|
"arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
|
|
355
|
+
"arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
|
|
356
|
+
"arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
|
|
337
357
|
"arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
|
|
338
358
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
339
359
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
@@ -388,8 +408,11 @@ declare module "react/jsx-runtime" {
|
|
|
388
408
|
"arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
|
|
389
409
|
"arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
|
|
390
410
|
"arcgis-portal-item-card": ReactArcgisPortalItemCard;
|
|
411
|
+
"arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
|
|
391
412
|
"arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
|
|
392
413
|
"arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
|
|
414
|
+
"arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
|
|
415
|
+
"arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
|
|
393
416
|
"arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
|
|
394
417
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
395
418
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
@@ -444,8 +467,11 @@ declare module "react/jsx-dev-runtime" {
|
|
|
444
467
|
"arcgis-portal-item-badges": ReactArcgisPortalItemBadges;
|
|
445
468
|
"arcgis-portal-item-badge": ReactArcgisPortalItemBadge;
|
|
446
469
|
"arcgis-portal-item-card": ReactArcgisPortalItemCard;
|
|
470
|
+
"arcgis-portal-item-card-sublayer-select": ReactArcgisPortalItemCardSublayerSelect;
|
|
447
471
|
"arcgis-portal-item-favorite": ReactArcgisPortalItemFavorite;
|
|
448
472
|
"arcgis-portal-item-picker": ReactArcgisPortalItemPicker;
|
|
473
|
+
"arcgis-portal-item-share-summary": ReactArcgisPortalItemShareSummary;
|
|
474
|
+
"arcgis-portal-item-share-summary-editable": ReactArcgisPortalItemShareSummaryEditable;
|
|
449
475
|
"arcgis-portal-item-thumbnail": ReactArcgisPortalItemThumbnail;
|
|
450
476
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
451
477
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
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,25 @@ 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
|
+
"serviceNotExist",
|
|
28
|
+
"notebookAccessBlocked",
|
|
29
|
+
"serviceUnavailable",
|
|
30
|
+
"missingGroupId",
|
|
31
|
+
"groupNotFound",
|
|
32
|
+
"itemHasDependentItems",
|
|
33
|
+
"itemDeleteProtected",
|
|
34
|
+
"itemNotSupportedInRecycleBin"
|
|
35
|
+
];
|