@arcgis/portal-components 6.0.0-next.4 → 6.0.0-next.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2574FNAZ.js +2 -0
- package/dist/cdn/3DOZPC3W.js +2 -0
- package/dist/cdn/3HZI6MKD.js +2 -0
- package/dist/cdn/3KGSWW6B.js +2 -0
- package/dist/cdn/3OL7A2UC.js +2 -0
- package/dist/cdn/3Q7UJKKN.js +2 -0
- package/dist/cdn/43A74S72.js +2 -0
- package/dist/cdn/46HNNQAD.js +2 -0
- package/dist/cdn/46MYBPSS.js +2 -0
- package/dist/cdn/{2TDHJSMP.js → 47DKAGRV.js} +1 -1
- package/dist/cdn/4CBRO7JP.js +2 -0
- package/dist/cdn/4QYVBXZT.js +2 -0
- package/dist/cdn/{K75JTQPW.js → 4VLEUN7I.js} +1 -1
- package/dist/cdn/5M25PCH2.js +2 -0
- package/dist/cdn/5MLBK66O.js +2 -0
- package/dist/cdn/5RBH3LGK.js +2 -0
- package/dist/cdn/5ZHNRQOW.js +2 -0
- package/dist/cdn/62TL6V4N.js +2 -0
- package/dist/cdn/66VV7NHO.js +2 -0
- package/dist/cdn/6AHPTR2E.js +2 -0
- package/dist/cdn/6APPSZ7E.js +2 -0
- package/dist/cdn/{BKD7JSV2.js → 6CUXEL27.js} +1 -1
- package/dist/cdn/6QI7DAS2.js +2 -0
- package/dist/cdn/6ZJNZZPC.js +2 -0
- package/dist/cdn/75CT6IMW.js +2 -0
- package/dist/cdn/7J22VLBO.js +2 -0
- package/dist/cdn/7VPB6Q55.js +63 -0
- package/dist/cdn/7ZU43BL6.js +2 -0
- package/dist/cdn/A5QLPZ57.js +2 -0
- package/dist/cdn/AZTAWZI5.js +2 -0
- package/dist/cdn/{OR6T5SB3.js → BNWJUQDF.js} +1 -1
- package/dist/cdn/BUYOYUA2.js +2 -0
- package/dist/cdn/BX7Q3V2Y.js +43 -0
- package/dist/cdn/BXPNB7VJ.js +2 -0
- package/dist/cdn/BZEKNJUA.js +2 -0
- package/dist/cdn/C6RUWLEJ.js +2 -0
- package/dist/cdn/C7SNE6YG.js +2 -0
- package/dist/cdn/DENQY4OE.js +2 -0
- package/dist/cdn/DT4HGMLS.js +2 -0
- package/dist/cdn/{2YZWRFCI.js → DTGPLVZF.js} +1 -1
- package/dist/cdn/DU2R3VC4.js +2 -0
- package/dist/cdn/E5HCHRAI.js +2 -0
- package/dist/cdn/EBL7YSRM.js +2 -0
- package/dist/cdn/EDGE3T36.js +2 -0
- package/dist/cdn/{YZTBAUIO.js → EFMYI4L2.js} +1 -1
- package/dist/cdn/FFL2L4X5.js +2 -0
- package/dist/cdn/{ZKZDKJ6D.js → FIAEPK5L.js} +1 -1
- package/dist/cdn/FN2QMDEW.js +2 -0
- package/dist/cdn/FTKSVLDI.js +2 -0
- package/dist/cdn/G272JPUS.js +2 -0
- package/dist/cdn/GFUKRB6D.js +2 -0
- package/dist/cdn/{SGDDFWCJ.js → GG6U75ZA.js} +1 -1
- package/dist/cdn/{FRE56NBG.js → GZ4ONSFV.js} +1 -1
- package/dist/cdn/HOIZXTOD.js +2 -0
- package/dist/cdn/{VDXESPJK.js → I4TKQB4A.js} +1 -1
- package/dist/cdn/{TWCJJCPC.js → IAMPUXPT.js} +1 -1
- package/dist/cdn/IAWL475A.js +2 -0
- package/dist/cdn/IGLODZPX.js +2 -0
- package/dist/cdn/IOF72CDU.js +2 -0
- package/dist/cdn/ITRJGXFV.js +93 -0
- package/dist/cdn/ITWLFQI4.js +2 -0
- package/dist/cdn/{7ZWYUHGK.js → IYICIRGI.js} +1 -1
- package/dist/cdn/JFGXTJY4.js +2 -0
- package/dist/cdn/JIU6MBGB.js +2 -0
- package/dist/cdn/JLT5GCLY.js +2 -0
- package/dist/cdn/JTA223NH.js +2 -0
- package/dist/cdn/KA2MXQTR.js +2 -0
- package/dist/cdn/KAK6CNI7.js +2 -0
- package/dist/cdn/KPZGBBDG.js +2 -0
- package/dist/cdn/{CFRJU6VA.js → KRO5XRZ7.js} +1 -1
- package/dist/cdn/KRORL7QC.js +2 -0
- package/dist/cdn/KWL2D56D.js +3 -0
- package/dist/cdn/{QTAYXO5T.js → KXVXQYIB.js} +1 -1
- package/dist/cdn/L3YOPSRB.js +135 -0
- package/dist/cdn/LEESUFWE.js +2 -0
- package/dist/cdn/{IN4JPZTY.js → LGKI24ZT.js} +1 -1
- package/dist/cdn/LTD5KLLE.js +2 -0
- package/dist/cdn/{GAF4YT5N.js → LUJGCYQY.js} +1 -1
- package/dist/cdn/{Z6R3C4AK.js → MB32XRI5.js} +1 -1
- package/dist/cdn/MSL36HAR.js +2 -0
- package/dist/cdn/MSSJRDR7.js +2 -0
- package/dist/cdn/N3WRMPM6.js +2 -0
- package/dist/cdn/N47MW5HI.js +9 -0
- package/dist/cdn/N7XYFVOI.js +2 -0
- package/dist/cdn/NHVPNSNH.js +2 -0
- package/dist/cdn/{5HZNBMW6.js → NU4K2AV3.js} +1 -1
- package/dist/cdn/O2GPTWGF.js +3 -0
- package/dist/cdn/{TRMFL7PT.js → ONRTCGLU.js} +1 -1
- package/dist/cdn/OPI4P6VO.js +2 -0
- package/dist/cdn/{RHCRPJWS.js → OPMM7QH5.js} +1 -1
- package/dist/cdn/OQ2JULON.js +2 -0
- package/dist/cdn/OXF2WDSW.js +2 -0
- package/dist/cdn/P3FFM322.js +2 -0
- package/dist/cdn/QAXFE5DD.js +2 -0
- package/dist/cdn/{JPUUMGX5.js → QKRLO5CJ.js} +1 -1
- package/dist/cdn/R26RBXQW.js +2 -0
- package/dist/cdn/R6KJVAX3.js +99 -0
- package/dist/cdn/RA2NMLMP.js +2 -0
- package/dist/cdn/RJXIU4GH.js +2 -0
- package/dist/cdn/RKHNP3KL.js +2 -0
- package/dist/cdn/RR56BOTV.js +2 -0
- package/dist/cdn/RT26JZP5.js +2 -0
- package/dist/cdn/RTZ2TKM5.js +2 -0
- package/dist/cdn/RX64JXHI.js +170 -0
- package/dist/cdn/RXMM6CFK.js +2 -0
- package/dist/cdn/S4N5QMSN.js +2 -0
- package/dist/cdn/SCLYGIHM.js +2 -0
- package/dist/cdn/{JIJO4CAS.js → SLK7PV62.js} +1 -1
- package/dist/cdn/SRWFOV5W.js +2 -0
- package/dist/cdn/SUN4MBT3.js +2 -0
- package/dist/cdn/SYXCSFIA.js +2 -0
- package/dist/cdn/{3NSHGKZA.js → TBSNDRRE.js} +1 -1
- package/dist/cdn/{ROX3GKKA.js → TIPQ2ZWK.js} +1 -1
- package/dist/cdn/TP7V25GT.js +2 -0
- package/dist/cdn/{TXC7YBGL.js → UBMZBXT7.js} +1 -1
- package/dist/cdn/UIK6LPA7.js +2 -0
- package/dist/cdn/ULGME5RT.js +2 -0
- package/dist/cdn/{URQML7KV.js → VQRMXBPQ.js} +1 -1
- package/dist/cdn/VWOBCSD6.js +4 -0
- package/dist/cdn/{JE2376SE.js → W3JJBZYX.js} +1 -1
- package/dist/cdn/W6WVMRGQ.js +2 -0
- package/dist/cdn/{MKSFNVXL.js → WNXDXB3M.js} +1 -1
- package/dist/cdn/{JN23JH3T.js → WOSWA2VI.js} +1 -1
- package/dist/cdn/WTKLB3R6.js +2 -0
- package/dist/cdn/X7W4VJO7.js +2 -0
- package/dist/cdn/XCOP6QHA.js +2 -0
- package/dist/cdn/XE3DCC5D.js +2 -0
- package/dist/cdn/XVV75AX3.js +2 -0
- package/dist/cdn/XYHIVGUK.js +2 -0
- package/dist/cdn/{M5PPX4ZX.js → Y4JOEFBJ.js} +1 -1
- package/dist/cdn/Y7ZCEONL.js +73 -0
- package/dist/cdn/YELHAJB3.js +2 -0
- package/dist/cdn/YH2OFXPU.js +2 -0
- package/dist/cdn/YYVLFAFT.js +2 -0
- package/dist/cdn/{74T6IXSN.js → ZDH4KVAV.js} +1 -1
- package/dist/cdn/{I6IRHXWR.js → ZECUXVTO.js} +1 -1
- package/dist/cdn/ZG7OW456.js +2 -0
- package/dist/cdn/{NWVLGU2C.js → ZLNBCJE4.js} +1 -1
- package/dist/cdn/{K2XSYDAP.js → ZNNEU5QW.js} +1 -1
- package/dist/cdn/assets/portal-ai-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-entity-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-item-card-sublayer-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-preview/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-share-summary/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-status-card/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/portal-item-type/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-navigation/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-review-layer-sharing/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/FieldIcons.js +24 -0
- package/dist/chunks/constants.js +7 -0
- package/dist/chunks/contextUsage.js +208 -0
- package/dist/chunks/createPortalTool.js +18 -0
- package/dist/chunks/fieldAddDelete.js +6 -6
- package/dist/chunks/functionalities.js +14 -9
- package/dist/chunks/groups.js +8 -61
- package/dist/chunks/groups2.js +23 -8
- package/dist/chunks/help.js +22 -0
- package/dist/chunks/info.js +2 -2
- package/dist/chunks/item.js +135 -33
- package/dist/chunks/item2.js +96 -122
- package/dist/chunks/itemThumbnail.js +21 -21
- package/dist/chunks/items.js +11 -11
- package/dist/chunks/layers.js +196 -0
- package/dist/chunks/loadClassificationData.js +26 -27
- package/dist/chunks/portal-browser.js +49 -46
- package/dist/chunks/portal-delete-items-review.js +1 -1
- package/dist/chunks/portal-item-badge.js +1 -1
- package/dist/chunks/portal-item-preview-sublayer.js +214 -0
- package/dist/chunks/portal-item-status-card.js +81 -0
- package/dist/chunks/portal-related-items-list-item.js +1 -1
- package/dist/chunks/portal.js +5 -5
- package/dist/chunks/portal2.js +22 -22
- package/dist/chunks/portalEntitySelection.js +61 -0
- package/dist/chunks/previewSessionController.js +33 -0
- package/dist/chunks/query.js +13 -13
- package/dist/chunks/request.js +49 -41
- package/dist/chunks/requests.js +7 -7
- package/dist/chunks/selectedMentions.js +25 -0
- package/dist/chunks/services.js +5 -5
- package/dist/chunks/string.js +19 -11
- package/dist/chunks/ui.js +1 -0
- package/dist/chunks/url.js +2 -2
- package/dist/chunks/user.js +67 -53
- package/dist/chunks/user2.js +10 -10
- package/dist/chunks/utils.js +35 -22
- package/dist/chunks/utils3.js +88 -657
- package/dist/chunks/utils4.js +663 -0
- package/dist/components/arcgis-portal-account-switcher/customElement.js +57 -54
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +27 -0
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.js +185 -137
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +38 -15
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +816 -2642
- package/dist/components/arcgis-portal-ai-assistant/index.js +5 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/getItemTool.d.ts +11 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/groups.d.ts +28 -0
- package/dist/components/arcgis-portal-ai-assistant/tools/users.d.ts +28 -0
- package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +41 -3
- package/dist/components/arcgis-portal-ai-assistant/types/portalEntityTools.d.ts +19 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/contextUsage.d.ts +46 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +26 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.js +46 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.d.ts +1 -0
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.js +10 -0
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +42 -1
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.js +49 -37
- package/dist/components/arcgis-portal-ai-assistant-interrupt/index.js +3 -4
- package/dist/components/arcgis-portal-browser/customElement.d.ts +3 -0
- package/dist/components/arcgis-portal-browser/customElement.js +3 -2
- package/dist/components/arcgis-portal-browser/index.js +1 -0
- package/dist/components/arcgis-portal-classification-banner/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-config/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
- package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
- package/dist/components/arcgis-portal-delete-items/customElement.d.ts +69 -3
- package/dist/components/arcgis-portal-delete-items/customElement.js +437 -333
- package/dist/components/arcgis-portal-delete-items/index.js +1 -2
- package/dist/components/arcgis-portal-delete-items/types.d.ts +1 -0
- package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +51 -5
- package/dist/components/arcgis-portal-entity-picker/customElement.js +204 -119
- package/dist/components/arcgis-portal-entity-picker/index.js +2 -0
- package/dist/components/arcgis-portal-field-delete/customElement.js +87 -101
- package/dist/components/arcgis-portal-field-delete/index.js +1 -1
- package/dist/components/arcgis-portal-group-badges/customElement.js +5 -5
- package/dist/components/arcgis-portal-group-browser/customElement.js +68 -100
- package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -7
- package/dist/components/arcgis-portal-group-browser-preview/customElement.js +49 -40
- package/dist/components/arcgis-portal-group-browser-preview/index.js +1 -0
- package/dist/components/arcgis-portal-group-browser-preview-card/customElement.js +1 -4
- package/dist/components/arcgis-portal-group-card/customElement.js +16 -16
- package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
- package/dist/components/arcgis-portal-item-badges/customElement.js +4 -4
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +26 -10
- package/dist/components/arcgis-portal-item-card/customElement.js +90 -80
- package/dist/components/arcgis-portal-item-card/index.js +2 -1
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +102 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +181 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/index.js +8 -0
- package/dist/components/arcgis-portal-item-card-sublayer-select/types.d.ts +22 -0
- package/dist/components/arcgis-portal-item-favorite/customElement.js +42 -29
- package/dist/components/arcgis-portal-item-preview/customElement.d.ts +263 -0
- package/dist/components/arcgis-portal-item-preview/customElement.js +137 -0
- package/dist/components/arcgis-portal-item-preview/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview/index.js +20 -0
- package/dist/components/arcgis-portal-item-preview/types.d.ts +14 -0
- package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +215 -0
- package/dist/components/arcgis-portal-item-preview-copy/customElement.js +46 -0
- package/dist/components/arcgis-portal-item-preview-copy/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview-copy/index.js +5 -0
- package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +216 -0
- package/dist/components/arcgis-portal-item-preview-field/customElement.js +34 -0
- package/dist/components/arcgis-portal-item-preview-field/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview-field/index.js +6 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +216 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/customElement.js +15 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-preview-sublayer/index.js +11 -0
- package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +113 -0
- package/dist/components/arcgis-portal-item-share-summary/customElement.js +172 -0
- package/dist/components/arcgis-portal-item-share-summary/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-share-summary/index.js +5 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +33 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/customElement.js +19 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-share-summary-editable/index.js +2 -0
- package/dist/components/arcgis-portal-item-status-card/customElement.d.ts +82 -0
- package/dist/components/arcgis-portal-item-status-card/customElement.js +12 -0
- package/dist/components/arcgis-portal-item-status-card/index.d.ts +1 -0
- package/dist/components/arcgis-portal-item-status-card/index.js +4 -0
- package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +1 -0
- package/dist/components/arcgis-portal-item-thumbnail/customElement.js +14 -14
- package/dist/components/arcgis-portal-item-type/customElement.d.ts +16 -14
- package/dist/components/arcgis-portal-item-type/customElement.js +25 -28
- package/dist/components/arcgis-portal-mentionable-text-area/customElement.js +61 -57
- package/dist/components/arcgis-portal-navigation/customElement.d.ts +6 -4
- package/dist/components/arcgis-portal-navigation/customElement.js +371 -374
- package/dist/components/arcgis-portal-navigation/index.js +1 -2
- package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +40 -0
- package/dist/components/arcgis-portal-preview-panel/customElement.js +40 -0
- package/dist/components/arcgis-portal-preview-panel/index.d.ts +1 -0
- package/dist/components/arcgis-portal-preview-panel/index.js +1 -0
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +8 -8
- package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +139 -0
- package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +593 -0
- package/dist/components/arcgis-portal-review-layer-sharing/index.d.ts +1 -0
- package/dist/components/arcgis-portal-review-layer-sharing/index.js +10 -0
- package/dist/components/arcgis-portal-review-layer-sharing/types.d.ts +27 -0
- package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +333 -0
- package/dist/components/arcgis-portal-review-related-items/customElement.js +46 -18
- package/dist/components/arcgis-portal-review-related-items/index.js +2 -0
- package/dist/components/arcgis-portal-sublayer-type/customElement.js +13 -103
- package/dist/components/arcgis-portal-user-avatar/customElement.d.ts +2 -3
- package/dist/components/arcgis-portal-user-avatar/customElement.js +15 -16
- package/dist/components/arcgis-portal-user-popup/customElement.d.ts +4 -7
- package/dist/components/arcgis-portal-user-popup/customElement.js +128 -111
- package/dist/components/portal-group-browser-filters/customElement.js +15 -15
- package/dist/components/portal-related-items-list-item/customElement.js +16 -14
- package/dist/components/portal-related-items-list-item/index.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +87 -0
- package/dist/index.js +305 -6
- package/dist/loader.js +22 -11
- package/dist/services/group.d.ts +17 -0
- package/dist/services/groups.d.ts +9 -0
- package/dist/services/item.d.ts +9 -0
- package/dist/types/item.d.ts +19 -11
- package/dist/types/layer.d.ts +27 -0
- package/dist/types/lumina.d.ts +82 -12
- package/dist/types/portalAssistantCurrentContext.d.ts +9 -0
- package/dist/types/portalEntityPicker.d.ts +3 -0
- package/dist/types/preact.d.ts +93 -12
- package/dist/types/react.d.ts +104 -12
- package/dist/types/services.d.ts +28 -1
- package/dist/types/stencil.d.ts +82 -12
- package/dist/types/user.d.ts +14 -10
- package/dist/utils/generateEmbeddings.d.ts +7 -0
- package/dist/utils/semanticSearch.d.ts +60 -0
- package/dist/utils/types.d.ts +10 -0
- package/package.json +14 -13
- package/dist/cdn/23NXHNPU.js +0 -2
- package/dist/cdn/24QSQLRY.js +0 -2
- package/dist/cdn/2CN754CY.js +0 -2
- package/dist/cdn/2FQKDFEE.js +0 -2
- package/dist/cdn/2MPQ5IWJ.js +0 -2
- package/dist/cdn/3CQKCUM5.js +0 -2
- package/dist/cdn/3EYB5GQX.js +0 -2
- package/dist/cdn/3FSPL34I.js +0 -170
- package/dist/cdn/3LEQ37YT.js +0 -68
- package/dist/cdn/4KTRAA2J.js +0 -2
- package/dist/cdn/4MUB6TL6.js +0 -2
- package/dist/cdn/4PRXQFCV.js +0 -2
- package/dist/cdn/4QFTKB6T.js +0 -2
- package/dist/cdn/4TSXFX3M.js +0 -2
- package/dist/cdn/5C5GHX4D.js +0 -2
- package/dist/cdn/7LMZHJZG.js +0 -2
- package/dist/cdn/A2SQ4EMZ.js +0 -2
- package/dist/cdn/AICPYLWE.js +0 -4
- package/dist/cdn/AXOBMX3S.js +0 -2
- package/dist/cdn/AZOJHVAO.js +0 -2
- package/dist/cdn/BYHX3UWV.js +0 -2
- package/dist/cdn/CD5UWSCP.js +0 -2
- package/dist/cdn/D2YQWKME.js +0 -135
- package/dist/cdn/DDBXEXOV.js +0 -2
- package/dist/cdn/DHMNNIXZ.js +0 -2
- package/dist/cdn/DLI4XKJ3.js +0 -2
- package/dist/cdn/DYO5P3F2.js +0 -2
- package/dist/cdn/E66BDC6N.js +0 -2
- package/dist/cdn/EEAVX4PP.js +0 -2
- package/dist/cdn/EMJQI4MA.js +0 -2
- package/dist/cdn/EY5S6ICQ.js +0 -2
- package/dist/cdn/FIBQAMJ3.js +0 -2
- package/dist/cdn/FIQZPIIK.js +0 -2
- package/dist/cdn/FNLBJ4ZQ.js +0 -2
- package/dist/cdn/GGDOGNH4.js +0 -150
- package/dist/cdn/GSOBDGLK.js +0 -2
- package/dist/cdn/GXM3XY3J.js +0 -2
- package/dist/cdn/HCNTXLUT.js +0 -2
- package/dist/cdn/I273CANO.js +0 -2
- package/dist/cdn/I6NVKNZJ.js +0 -2
- package/dist/cdn/J5FKIZAM.js +0 -2
- package/dist/cdn/J5NPDIZM.js +0 -2
- package/dist/cdn/JOUR2FB2.js +0 -3
- package/dist/cdn/JWBUJT43.js +0 -2
- package/dist/cdn/LISDTBEX.js +0 -2
- package/dist/cdn/LYLQCBVX.js +0 -2
- package/dist/cdn/MQK63FV7.js +0 -2
- package/dist/cdn/N4VOTJ25.js +0 -2
- package/dist/cdn/N5QLV56W.js +0 -2
- package/dist/cdn/OD5WXP7J.js +0 -2
- package/dist/cdn/OXPXXIWL.js +0 -2
- package/dist/cdn/PKA745KL.js +0 -2
- package/dist/cdn/PMRFXB4F.js +0 -2
- package/dist/cdn/PNIFJ5DQ.js +0 -2
- package/dist/cdn/PZDI5ZDC.js +0 -2
- package/dist/cdn/QROXYP6V.js +0 -2
- package/dist/cdn/QUOLQGKP.js +0 -2
- package/dist/cdn/QWHGLE3O.js +0 -2
- package/dist/cdn/R3PK7XOP.js +0 -2
- package/dist/cdn/REM3KCX6.js +0 -2
- package/dist/cdn/RNWICLRH.js +0 -2
- package/dist/cdn/RQYNPDN3.js +0 -2
- package/dist/cdn/S6F7U36E.js +0 -400
- package/dist/cdn/SMX2LEJB.js +0 -2
- package/dist/cdn/SVROAT3Z.js +0 -2
- package/dist/cdn/TBZXKKGP.js +0 -2
- package/dist/cdn/TNUCSWBN.js +0 -2
- package/dist/cdn/TOICLGFK.js +0 -2
- package/dist/cdn/TOTWYGB3.js +0 -2
- package/dist/cdn/TUUUK3VX.js +0 -2
- package/dist/cdn/U3KMGSVH.js +0 -2
- package/dist/cdn/UEP2NYJK.js +0 -2
- package/dist/cdn/UZP4YMTE.js +0 -2
- package/dist/cdn/VNU4QX7M.js +0 -41
- package/dist/cdn/XYMBRPC7.js +0 -2
- package/dist/cdn/YB3DR4VO.js +0 -2
- package/dist/cdn/YYTEJVBL.js +0 -2
- package/dist/cdn/Z3HGPBOR.js +0 -2
- package/dist/cdn/ZDDN7UKS.js +0 -2
- package/dist/cdn/ZXNF77OB.js +0 -2
- package/dist/chunks/functional.js +0 -9
- package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +0 -45
- /package/dist/cdn/{OUMTV5H5.js → KHKREBVZ.js} +0 -0
- /package/dist/cdn/{DAAON2UO.js → UOXUUCE7.js} +0 -0
|
@@ -1,60 +1,61 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
-
import { safeClassMap as T, LitElement as
|
|
4
|
-
import { html as
|
|
5
|
-
import { ref as
|
|
6
|
-
import { makeGenericController as
|
|
7
|
-
import { debounce as
|
|
8
|
-
import { S as
|
|
9
|
-
import { q as
|
|
10
|
-
import { s as
|
|
11
|
-
import { b as
|
|
3
|
+
import { safeClassMap as T, LitElement as P, createEvent as v } from "@arcgis/lumina";
|
|
4
|
+
import { html as h, css as k } from "lit";
|
|
5
|
+
import { ref as C, createRef as E } from "lit/directives/ref.js";
|
|
6
|
+
import { makeGenericController as U } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { debounce as D } from "@arcgis/toolkit/function";
|
|
8
|
+
import { S as L, M as y, g as O, c as R } from "../../chunks/utils.js";
|
|
9
|
+
import { q as _ } from "../../chunks/groups2.js";
|
|
10
|
+
import { s as F } from "../../chunks/item2.js";
|
|
11
|
+
import { b as Q } from "../../chunks/user.js";
|
|
12
12
|
import { f as $ } from "../../chunks/request.js";
|
|
13
|
-
import { keyed as
|
|
14
|
-
|
|
13
|
+
import { keyed as N } from "lit/directives/keyed.js";
|
|
14
|
+
import { c as g, a as K } from "../../chunks/selectedMentions.js";
|
|
15
|
+
const M = (r) => y.includes(r) ? r : "@", V = U((r) => {
|
|
15
16
|
let e = [];
|
|
16
17
|
const i = async (s) => await $({
|
|
17
|
-
requester: async () => await
|
|
18
|
+
requester: async () => await F(r.portal, s, { num: 3 }),
|
|
18
19
|
key: "items",
|
|
19
20
|
id: s
|
|
20
21
|
}), n = async (s) => await $({
|
|
21
|
-
requester: async () => await
|
|
22
|
+
requester: async () => await _(r.portal, { query: `title:${s}`, num: 3 }),
|
|
22
23
|
key: "groups",
|
|
23
24
|
id: s
|
|
24
|
-
}),
|
|
25
|
-
|
|
25
|
+
}), a = D(async (s, c) => {
|
|
26
|
+
r.isFetchingEntities = !0;
|
|
26
27
|
const l = s.toLowerCase();
|
|
27
|
-
switch (
|
|
28
|
+
switch (M(c)) {
|
|
28
29
|
case "@":
|
|
29
|
-
const
|
|
30
|
-
|
|
30
|
+
const m = 10;
|
|
31
|
+
r.filteredItemsInfo = {
|
|
31
32
|
type: "user",
|
|
32
33
|
items: e.filter(
|
|
33
|
-
(
|
|
34
|
-
).slice(0,
|
|
34
|
+
(f) => f.username?.toLowerCase().includes(l) || f.fullName?.toLowerCase().includes(l)
|
|
35
|
+
).slice(0, m)
|
|
35
36
|
};
|
|
36
37
|
break;
|
|
37
38
|
case "#":
|
|
38
|
-
const { result:
|
|
39
|
-
|
|
39
|
+
const { result: d } = await i(l);
|
|
40
|
+
r.filteredItemsInfo = { type: "item", items: d?.results ?? [] };
|
|
40
41
|
break;
|
|
41
42
|
case "$":
|
|
42
|
-
const { results:
|
|
43
|
-
|
|
43
|
+
const { results: I } = await n(l);
|
|
44
|
+
r.filteredItemsInfo = { type: "group", items: I };
|
|
44
45
|
break;
|
|
45
46
|
}
|
|
46
|
-
(
|
|
47
|
-
},
|
|
47
|
+
(r.filteredItemsInfo?.items?.length ?? 0) === 0 && await r.closePopover(), r.isFetchingEntities = !1;
|
|
48
|
+
}, L);
|
|
48
49
|
return { fetchUsers: async () => {
|
|
49
50
|
try {
|
|
50
|
-
const { users: s } = await
|
|
51
|
+
const { users: s } = await Q(r.portal);
|
|
51
52
|
e = s ?? [];
|
|
52
53
|
} catch (s) {
|
|
53
54
|
e = [], console.error("error fetching org users:", s);
|
|
54
55
|
}
|
|
55
|
-
}, filterItems:
|
|
56
|
+
}, filterItems: a, getItemText: (s, c) => {
|
|
56
57
|
let l = "";
|
|
57
|
-
switch (
|
|
58
|
+
switch (M(c)) {
|
|
58
59
|
case "@":
|
|
59
60
|
l = s.username;
|
|
60
61
|
break;
|
|
@@ -67,16 +68,16 @@ const y = (a) => g.includes(a) ? a : "@", Q = E((a) => {
|
|
|
67
68
|
}
|
|
68
69
|
return l.trim();
|
|
69
70
|
} };
|
|
70
|
-
}),
|
|
71
|
+
}), w = ({ id: r, label: e, selected: i, description: n, contentStart: a, onSelect: o }) => N(r, h`<calcite-list-item class=${T({ selected: i })} .label=${e} .description=${n} .selected=${i} @pointerdown=${async (t) => {
|
|
71
72
|
t.preventDefault(), t.stopPropagation(), await o();
|
|
72
|
-
}} ${
|
|
73
|
+
}} ${C((t) => {
|
|
73
74
|
i && t && t.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
|
74
|
-
})}>${
|
|
75
|
-
class
|
|
75
|
+
})}>${a}</calcite-list-item>`), q = k`.selected{--calcite-list-background-color: var(--calcite-color-foreground-2)}.mentionable-list{max-height:13rem;overflow-y:auto;padding:.25rem;width:min(100vw,24rem)}.mentionable-list--loading{min-height:10rem}`;
|
|
76
|
+
class G extends P {
|
|
76
77
|
constructor() {
|
|
77
|
-
super(...arguments), this.calciteTextAreaRef =
|
|
78
|
+
super(...arguments), this.calciteTextAreaRef = E(), this.mentionableEntityController = V(this), this.handleInput = (e) => {
|
|
78
79
|
const { bubbleNewValueChange: i, checkForMention: n } = this, o = e.target.value;
|
|
79
|
-
this._value = o, i(this._value);
|
|
80
|
+
o || g(this.el), this._value = o, i(this._value);
|
|
80
81
|
const t = this.nativeTextAreaRef?.selectionStart ?? 0;
|
|
81
82
|
n(o, t);
|
|
82
83
|
}, this.handleKeyDown = (e) => {
|
|
@@ -103,30 +104,30 @@ class K extends S {
|
|
|
103
104
|
}, this.bubbleNewValueChange = (e) => {
|
|
104
105
|
this.arcgisUserMentionableTextAreaChange.emit(e), this.arcgisMentionableTextAreaChange.emit(e);
|
|
105
106
|
}, this.checkForMention = (e, i) => {
|
|
106
|
-
const n = e.substring(0, i),
|
|
107
|
-
if (
|
|
108
|
-
const { starter: o } =
|
|
109
|
-
this.currentStarter = o, this.filterMentionItems(
|
|
107
|
+
const n = e.substring(0, i), a = O(n, this.starters ?? y);
|
|
108
|
+
if (a) {
|
|
109
|
+
const { starter: o } = a;
|
|
110
|
+
this.currentStarter = o, this.filterMentionItems(a), this.popoverOpen = !0;
|
|
110
111
|
return;
|
|
111
112
|
}
|
|
112
113
|
this.handleClosePopover();
|
|
113
114
|
}, this.filterMentionItems = (e) => {
|
|
114
|
-
const { mentionText: i, query: n, starter:
|
|
115
|
+
const { mentionText: i, query: n, starter: a, startIndex: o } = e;
|
|
115
116
|
this.currentMentionQuery = i, this.mentionStartPosition = o;
|
|
116
117
|
const t = n.toLowerCase();
|
|
117
|
-
this.mentionableEntityController.filterItems(t,
|
|
118
|
-
}, this.popoverOpen = !1, this.currentMentionQuery = "", this.mentionStartPosition = 0, this.selectedItemIndex = 0, this.currentStarter = null, this._value = "", this.filteredItemsInfo = null, this.isFetchingEntities = !1, this.popoverPlacement = "bottom-start", this.disabled = !1, this.scale = "m", this.rows = 3, this.starters =
|
|
118
|
+
this.mentionableEntityController.filterItems(t, a), this.selectedItemIndex = 0;
|
|
119
|
+
}, this.popoverOpen = !1, this.currentMentionQuery = "", this.mentionStartPosition = 0, this.selectedItemIndex = 0, this.currentStarter = null, this._value = "", this.filteredItemsInfo = null, this.isFetchingEntities = !1, this.popoverPlacement = "bottom-start", this.disabled = !1, this.scale = "m", this.rows = 3, this.starters = y, this.readOnly = !1, this.arcgisMentionableSelectedIndexChange = v(), this.arcgisMentionableTextAreaChange = v(), this.arcgisMentionableTextAreaKeyDown = v(), this.arcgisUserMentionableTextAreaChange = v(), this.arcgisUserMentionableTextAreaKeyDown = v(), this.renderItemInfo = () => {
|
|
119
120
|
const { filteredItemsInfo: e, selectedItemIndex: i, portal: n } = this;
|
|
120
121
|
if (!e)
|
|
121
122
|
return null;
|
|
122
|
-
const { items:
|
|
123
|
+
const { items: a, type: o } = e;
|
|
123
124
|
switch (o) {
|
|
124
125
|
case "user":
|
|
125
|
-
return
|
|
126
|
+
return a.map((t, s) => w({ id: t.id, label: `@${t.username}`, description: t.fullName, selected: s === i, contentStart: h`<arcgis-portal-user-avatar slot=content-start .user=${t} .portal=${n} scale=m></arcgis-portal-user-avatar>`, onSelect: async () => await this.selectItem(t) }));
|
|
126
127
|
case "item":
|
|
127
|
-
return
|
|
128
|
+
return a.map((t, s) => w({ id: t.id ?? `item-${s}`, label: `#${t.title}`, description: t.id ?? void 0, selected: s === i, onSelect: async () => await this.selectItem(t), contentStart: h`<calcite-avatar slot=content-start .fullName=${t.title ?? void 0} .thumbnail=${t.thumbnailUrl ?? void 0} scale=m></calcite-avatar>` }));
|
|
128
129
|
case "group":
|
|
129
|
-
return
|
|
130
|
+
return a.map((t, s) => w({ id: t.id ?? `group-${s}`, label: `${t.title}`, description: t.id ?? void 0, selected: s === i, onSelect: async () => await this.selectItem(t), contentStart: h`<calcite-avatar slot=content-start .fullName=${t.title ?? void 0} .thumbnail=${t.thumbnailUrl ?? void 0} scale=m></calcite-avatar>` }));
|
|
130
131
|
}
|
|
131
132
|
};
|
|
132
133
|
}
|
|
@@ -134,7 +135,7 @@ class K extends S {
|
|
|
134
135
|
this.properties = { popoverOpen: 16, currentMentionQuery: 16, mentionStartPosition: 16, selectedItemIndex: 16, currentStarter: 16, _value: 16, filteredItemsInfo: 16, isFetchingEntities: 16, popoverListLabel: 1, popoverPlacement: 1, disabled: 5, portal: 0, user: 0, scale: 1, value: 1, maxLength: 9, rows: 9, starters: 0, placeholder: 1, readOnly: 5 };
|
|
135
136
|
}
|
|
136
137
|
static {
|
|
137
|
-
this.styles =
|
|
138
|
+
this.styles = q;
|
|
138
139
|
}
|
|
139
140
|
get filteredItems() {
|
|
140
141
|
return this.filteredItemsInfo?.items ?? [];
|
|
@@ -146,16 +147,19 @@ class K extends S {
|
|
|
146
147
|
await this.calciteTextAreaRef.value?.setFocus();
|
|
147
148
|
}
|
|
148
149
|
async selectItem(e) {
|
|
149
|
-
const { currentStarter: i, _value: n, mentionStartPosition:
|
|
150
|
+
const { currentStarter: i, _value: n, mentionStartPosition: a, currentMentionQuery: o, handleClosePopover: t, calciteTextAreaRef: s, nativeTextAreaRef: c, bubbleNewValueChange: l } = this;
|
|
150
151
|
if (!e || !i)
|
|
151
152
|
return;
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
const u = this.mentionableEntityController.getItemText(e, i), p = u.replaceAll('"', "").trim(), m = /\s/u.test(p) ? `${i}"${p}"` : `${i}${p}`, d = (n ?? "").substring(0, a), I = (n ?? "").substring(a + o.length), f = `${d}${m} ${I}`, b = R(e, i, u);
|
|
154
|
+
b && K(this.el, {
|
|
155
|
+
text: m,
|
|
156
|
+
part: b
|
|
157
|
+
}), this._value = f, l(this._value);
|
|
158
|
+
const x = a + m.length + 1;
|
|
159
|
+
t(), await this.updateComplete, s.value?.setFocus(), c && (c.selectionEnd = x);
|
|
156
160
|
}
|
|
157
161
|
willUpdate(e) {
|
|
158
|
-
e.has("value") && (this._value = this.value ?? ""), e.has("selectedItemIndex") && this.arcgisMentionableSelectedIndexChange.emit(this.selectedItemIndex);
|
|
162
|
+
e.has("value") && (this._value = this.value ?? "", this._value || g(this.el)), (e.has("portal") || e.has("user")) && g(this.el), e.has("selectedItemIndex") && this.arcgisMentionableSelectedIndexChange.emit(this.selectedItemIndex);
|
|
159
163
|
}
|
|
160
164
|
loaded() {
|
|
161
165
|
this.updateComplete.then(() => {
|
|
@@ -164,11 +168,11 @@ class K extends S {
|
|
|
164
168
|
}), this.mentionableEntityController.fetchUsers();
|
|
165
169
|
}
|
|
166
170
|
render() {
|
|
167
|
-
const { popoverPlacement: e, scale: i, _value: n, maxLength:
|
|
168
|
-
return
|
|
171
|
+
const { popoverPlacement: e, scale: i, _value: n, maxLength: a, rows: o, placeholder: t, readOnly: s, popoverOpen: c, closePopover: l, handleInput: u, handleKeyDown: p, disabled: m, isFetchingEntities: d, filteredItemsInfo: I, renderItemInfo: f, popoverListLabel: b } = this, x = this.calciteTextAreaRef.value, S = I?.items ?? [];
|
|
172
|
+
return h`<calcite-text-area .placeholder=${t} .value=${n} .maxLength=${a} .rows=${o} .scale=${i} .readOnly=${s} .disabled=${m} @blur=${l} @calciteTextAreaInput=${u} @keydown=${p} ${C(this.calciteTextAreaRef)}></calcite-text-area>${x && h`<calcite-popover .open=${c} .placement=${e} class="mention-popover" .label=${b} .referenceElement=${x} trigger-disabled pointer-disabled focus-trap-disabled><div class=${T({ "mentionable-list": !0, "mentionable-list--loading": d })}>${d && h`<calcite-scrim .loading=${d}></calcite-scrim>` || ""}${S.length > 0 && h`<calcite-list .label=${b}>${f()}</calcite-list>` || ""}</div></calcite-popover>` || ""}`;
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
|
-
A("arcgis-portal-mentionable-text-area",
|
|
175
|
+
A("arcgis-portal-mentionable-text-area", G);
|
|
172
176
|
export {
|
|
173
|
-
|
|
177
|
+
G as ArcgisPortalMentionableTextArea
|
|
174
178
|
};
|
|
@@ -135,8 +135,6 @@ export abstract class ArcGISPortalNavigation extends LitElement {
|
|
|
135
135
|
cancel: string;
|
|
136
136
|
delete: string;
|
|
137
137
|
noAppResults: string;
|
|
138
|
-
noAppResultsDescriptionOrg: string;
|
|
139
|
-
noAppsDescriptionPublic: string;
|
|
140
138
|
noAppsAvailable: string;
|
|
141
139
|
noAppsAvailableDescription: string;
|
|
142
140
|
new: string;
|
|
@@ -335,8 +333,6 @@ export abstract class ArcGISPortalNavigation extends LitElement {
|
|
|
335
333
|
cancel: string;
|
|
336
334
|
delete: string;
|
|
337
335
|
noAppResults: string;
|
|
338
|
-
noAppResultsDescriptionOrg: string;
|
|
339
|
-
noAppsDescriptionPublic: string;
|
|
340
336
|
noAppsAvailable: string;
|
|
341
337
|
noAppsAvailableDescription: string;
|
|
342
338
|
new: string;
|
|
@@ -537,6 +533,12 @@ export abstract class ArcGISPortalNavigation extends LitElement {
|
|
|
537
533
|
accessor projectTitle: string | undefined;
|
|
538
534
|
/** Handler for new user-entered project title. Used to handle persisting title to server, or title validation */
|
|
539
535
|
accessor projectTitleSave: ((newTitle?: string) => Promise<PortalNavigationProjectSaveResult>) | undefined;
|
|
536
|
+
/**
|
|
537
|
+
* Show notifications from /notifications in the top nav
|
|
538
|
+
*
|
|
539
|
+
* @default false
|
|
540
|
+
*/
|
|
541
|
+
accessor showNotifications: boolean | undefined;
|
|
540
542
|
/**
|
|
541
543
|
* fires for all navigation events
|
|
542
544
|
* emits both a desired url, along with the original event (used to cancel if doing client side routing)
|