@arcgis/portal-components 5.2.0-next.5 → 5.2.0-next.6

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.
@@ -1 +1 @@
1
- {"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/portal-components","version":"5.2.0-next.5","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-portal-ai-assistant","description":"### Events\n- **arcgisPortalNavigationRequest**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"auto-destroy-disabled","default":"false","value":{"type":"boolean"}},{"name":"default-closed","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisPortalNavigationRequest","type":"{\n href: string;\n targetDetail: DocAssistantNavigationTarget;\n}"}],"js":{"properties":[{"name":"autoDestroyDisabled","type":"boolean"},{"name":"config","type":"Config"},{"name":"defaultClosed","type":"boolean"},{"name":"portal","type":"Portal"},{"name":"user","type":"PortalUser"}],"events":[{"name":"arcgisPortalNavigationRequest","type":"{\n href: string;\n targetDetail: DocAssistantNavigationTarget;\n}"}]}},{"name":"arcgis-portal-ai-assistant-interrupt","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"message","value":{"type":"string"}},{"name":"type","value":{"type":["\"boolean-choice\"","\"multi-select\"","\"single-select\"","\"text-input\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | boolean | string"}],"js":{"properties":[{"name":"message","type":"NonNullable<InterruptType[\"message\"]>"},{"name":"options","type":"InterruptType[\"options\"]"},{"name":"type","type":"InterruptType[\"type\"]"}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | boolean | string"}]}},{"name":"arcgis-portal-classification-banner","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component","attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","default":"false","value":{"type":"boolean"}},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","default":"\"\"","value":{"type":"string"}},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","default":"\"full\"","value":{"type":["\"full\"","\"preview\""]}}],"events":[],"js":{"properties":[{"name":"missingExistingClassification","description":"If the portal item has a classification previously","type":"boolean"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"PortalItem | undefined"},{"name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":"string"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":"\"full\" | \"preview\""}],"events":[]}},{"name":"arcgis-portal-classification-config","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.","attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","default":"\"idle\"","value":{"type":["\"loading\"","\"loaded\"","\"error\"","\"idle\""]}},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","default":"false","value":{"type":"boolean"}},{"name":"values","description":"The edited classification values of the portal item.","value":{}}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}],"js":{"properties":[{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"PortalItem | undefined"},{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":"Status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":"boolean"},{"name":"values","description":"The edited classification values of the portal item.","type":"PortalItem[\"classification\"]"}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}]}},{"name":"arcgis-portal-classification-favorite","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"selected-favorite-classification-name","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined"},{"name":"classificationValue","description":"Current classification value","type":"PortalItem[\"classification\"] | undefined"},{"name":"favoriteClassifications","description":"List of favorite classifications","type":"FavoriteClassification[]"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"PortalItem | undefined"},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void"},{"name":"selectedFavoriteClassificationName","type":"string"},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void"}],"events":[]}},{"name":"arcgis-portal-classification-form-element","description":"A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"attribute-key","value":{"type":"string"}}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}],"js":{"properties":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]"},{"name":"attributeKey","type":"string"},{"name":"isRequiredErrors","type":"Set<string>"},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined"},{"name":"value","type":"unknown"}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}]}},{"name":"arcgis-portal-extent-picker","description":"To select extent value from a map or by entering coordinates.\n--\n\n### Events\n- **arcgisExtentPickerChange** - Emitted when the extent value changes\n- **arcgisExtentPickerClose** - Emitted when the dialog is closed\n- **arcgisExtentPickerSave** - Emitted when the save button is clicked\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value","attributes":[{"name":"active","description":"if true, open the dialog","default":"false","value":{"type":"boolean"}},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","default":"false","value":{"type":"boolean"}},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","value":{"type":"string"}},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","default":"false","value":{"type":"boolean"}},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","value":{"type":"string"}}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}],"js":{"properties":[{"name":"active","description":"if true, open the dialog","type":"boolean"},{"name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":"boolean"},{"name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":"string | undefined"},{"name":"extentValue","description":"current extent value","type":"ExtentValue | undefined"},{"name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":"boolean"},{"name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":"string | undefined"},{"name":"portal","description":"Optional; Portal instance","type":"Portal | undefined"}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}]}},{"name":"arcgis-portal-field-delete","description":"### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}],"js":{"properties":[{"name":"config","description":"For documentation links.","type":"IConfig | undefined"},{"name":"fieldNames","description":"The fields to delete.","type":"string[] | undefined"},{"name":"layer","description":"The layer whose field is being deleted.","type":"FeatureLayer | OrientedImageryLayer | undefined"},{"name":"mapView","description":"The MapView instance.","type":"MapView | undefined"},{"name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":"FieldDeleteOptions | undefined"}],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}]}},{"name":"arcgis-portal-item-type","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"ellipsis","description":"Set to true to hide overflow (otherwise it will wrap lines)","default":"false","value":{"type":"boolean"}},{"name":"hide-icon","default":"false","value":{"type":"boolean"}},{"name":"hide-text","default":"false","value":{"type":"boolean"}},{"name":"scale","default":"\"s\"","value":{"type":["\"l\"","\"m\"","\"s\""]}},{"name":"show-hosted","description":"Display additional information about the item (views, extensions, photos, etc)\nwill only display for users who can update or edit","default":"false","value":{"type":"boolean"}}],"events":[],"js":{"properties":[{"name":"ellipsis","description":"Set to true to hide overflow (otherwise it will wrap lines)","type":"boolean | undefined"},{"name":"hideIcon","type":"boolean | undefined"},{"name":"hideText","type":"boolean | undefined"},{"name":"item","type":"PortalItem"},{"name":"portal","type":"Portal | undefined"},{"name":"scale","type":"\"l\" | \"m\" | \"s\""},{"name":"serviceInfo","type":"FeatureLayerProperties | undefined"},{"name":"showHosted","description":"Display additional information about the item (views, extensions, photos, etc)\nwill only display for users who can update or edit","type":"boolean | undefined"},{"name":"user","type":"PortalUser | undefined"}],"events":[]}},{"name":"arcgis-portal-mentionable-text-area","description":"A mention-enabled text area for ArcGIS Portal users, items, and groups.\n--\n\n### Events\n- **arcgisMentionableSelectedIndexChange** - Emitted when the selected item index changes\n- **arcgisMentionableTextAreaChange** - Emitted when the text content changes\n- **arcgisMentionableTextAreaKeyDown** - Emitted when a key is pressed in the text area\n\nUse this instead of the native onKeyDown event to avoid conflicts with the popover.\n- **arcgisUserMentionableTextAreaChange** - Emitted when the text content changes\n- **arcgisUserMentionableTextAreaKeyDown** - Emitted when a key is pressed in the text area\n\n### Methods\n- `closePopover(): Promise<void>` - Close the mention popover. Exposed as a public method so wrapper components\ncan programmatically dismiss the popover when needed (e.g. no search results).\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `focusTextArea(): Promise<void>`\n- `selectItem(item: MentionableEntity): Promise<void>`","attributes":[{"name":"disabled","default":"false","value":{"type":"boolean"}},{"name":"max-length","description":"Mirrors the `maxlength` property on the internal native `textarea`","value":{"type":"number"}},{"name":"placeholder","description":"Creates a placeholder for the calcite-text-area component","value":{"type":"string"}},{"name":"popover-list-label","value":{"type":"string"}},{"name":"popover-placement","default":"\"bottom-start\"","value":{"type":["\"auto\"","\"auto-start\"","\"auto-end\"","\"top\"","\"top-start\"","\"top-end\"","\"bottom\"","\"bottom-start\"","\"bottom-end\"","\"right\"","\"right-start\"","\"right-end\"","\"left\"","\"left-start\"","\"left-end\"","\"leading-start\"","\"leading\"","\"leading-end\"","\"trailing-end\"","\"trailing\"","\"trailing-start\""]}},{"name":"read-only","description":"Flag to enable readOnly","default":"false","value":{"type":"boolean"}},{"name":"rows","description":"Mirrors the `rows` property on the internal native `textarea`","default":"3","value":{"type":"number"}},{"name":"scale","description":"Decides scale of internal calcite-components","default":"\"m\"","value":{"type":["\"s\"","\"m\"","\"l\""]}},{"name":"value","description":"Current text content","value":{"type":"string"}}],"events":[{"name":"arcgisMentionableSelectedIndexChange","type":"number","description":"Emitted when the selected item index changes"},{"name":"arcgisMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area\n\nUse this instead of the native onKeyDown event to avoid conflicts with the popover."},{"name":"arcgisUserMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisUserMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area"}],"js":{"properties":[{"name":"disabled","type":"boolean | undefined"},{"name":"maxLength","description":"Mirrors the `maxlength` property on the internal native `textarea`","type":"number | undefined"},{"name":"placeholder","description":"Creates a placeholder for the calcite-text-area component","type":"string | undefined"},{"name":"popoverListLabel","type":"string"},{"name":"popoverPlacement","type":"Popover[\"placement\"]"},{"name":"portal","type":"Portal"},{"name":"readOnly","description":"Flag to enable readOnly","type":"boolean | undefined"},{"name":"rows","description":"Mirrors the `rows` property on the internal native `textarea`","type":"number | undefined"},{"name":"scale","description":"Decides scale of internal calcite-components","type":"Input[\"scale\"] | undefined"},{"name":"starters","description":"Character(s) that trigger the mention popover (e.g., \"@\", \"#\", \"$\")","type":"MentionableStarter[] | readonly MentionableStarter[]"},{"name":"user","type":"PortalUser"},{"name":"value","description":"Current text content","type":"string | undefined"}],"events":[{"name":"arcgisMentionableSelectedIndexChange","type":"number","description":"Emitted when the selected item index changes"},{"name":"arcgisMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area\n\nUse this instead of the native onKeyDown event to avoid conflicts with the popover."},{"name":"arcgisUserMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisUserMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area"}]}},{"name":"arcgis-portal-replacement-item-redirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.\n--\n\n### Events\n- **arcgisPortalReplacementItemFetch**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `setFocus(): Promise<void>` - Set focus on the component","attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","value":{"type":"string"}}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}],"js":{"properties":[{"name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":"string"},{"name":"portal","description":"The portal instance","type":"Portal"},{"name":"user","description":"The user. Defaults to `portal.user` if omitted","type":"PortalUser | null | undefined"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}]}},{"name":"arcgis-portal-user-avatar","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"check-online","default":"false","value":{"type":"boolean"}},{"name":"description","description":"Configurable text to show under the user's name","value":{"type":"string"}},{"name":"heading","description":"Configurable text to use in place of full name (use to add to add additional context, etc)","value":{"type":"string"}},{"name":"hide-avatar","description":"Set to true to hide the avatar (useful for just showing the name lockup styled correctly)","default":"false","value":{"type":"boolean"}},{"name":"scale","description":"Scale of the component","default":"\"m\"","value":{"type":["\"s\"","\"m\"","\"l\"","\"xs\""]}},{"name":"show-name","description":"Set to true to show user's name alongside the avatar as part of lockup","default":"false","value":{"type":"boolean"}},{"name":"underline","description":"Set to true to underline the name (only applies if showName is also true)","default":"false","value":{"type":"boolean"}},{"name":"username","description":"A username to get a User object from","value":{"type":"string"}},{"name":"wrap","description":"Allow the name to wrap lines (max 2)","default":"false","value":{"type":"boolean"}}],"events":[],"js":{"properties":[{"name":"checkOnline","type":"boolean | undefined"},{"name":"description","description":"Configurable text to show under the user's name","type":"string | undefined"},{"name":"heading","description":"Configurable text to use in place of full name (use to add to add additional context, etc)","type":"string | undefined"},{"name":"hideAvatar","description":"Set to true to hide the avatar (useful for just showing the name lockup styled correctly)","type":"boolean | undefined"},{"name":"portal","description":"The current portal instance","type":"Portal | undefined"},{"name":"scale","description":"Scale of the component","type":"Scale"},{"name":"showName","description":"Set to true to show user's name alongside the avatar as part of lockup","type":"boolean | undefined"},{"name":"underline","description":"Set to true to underline the name (only applies if showName is also true)","type":"boolean | undefined"},{"name":"user","description":"A User or org information (used for verified items)","type":"CommunityUser | ItemUserInfo | PortalUser | SearchResultUser | undefined"},{"name":"username","description":"A username to get a User object from","type":"string | undefined"},{"name":"wrap","description":"Allow the name to wrap lines (max 2)","type":"boolean | undefined"}],"events":[]}},{"name":"arcgis-portal-voice-input","description":"A headless component that provides a voice input interface\n--\n\n### Events\n- **arcgisVoiceInputError**\n- **arcgisVoiceInputInterimTranscription** - Emitted with the current recognized text as it is being transcribed\n- **arcgisVoiceInputStart**\n- **arcgisVoiceInputStop**\n- **arcgisVoiceInputTranscription** - Emitted when transcription is complete\n\nNote that this means the user has stopped speaking, not when the status is turned to \"idle\".\n\nTo look for the current interim transcription, listen to the `arcgisVoiceInputInterimTranscription` event.\n\n### Methods\n- `clearText(): Promise<void>`\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `startListening(): Promise<VoiceInputError | null>`\n- `stopListening(): Promise<void>`","attributes":[{"name":"language","description":"Language for speech recognition (e.g., 'en-US', 'es-ES'). If not provided, the browser's default language will be used.","value":{"type":"string"}}],"events":[{"name":"arcgisVoiceInputError","type":"{ errorCode: VoiceInputError; }"},{"name":"arcgisVoiceInputInterimTranscription","type":"{ text: string; }","description":"Emitted with the current recognized text as it is being transcribed"},{"name":"arcgisVoiceInputStart","type":"void"},{"name":"arcgisVoiceInputStop","type":"void"},{"name":"arcgisVoiceInputTranscription","type":"{ text: string; }","description":"Emitted when transcription is complete\n\nNote that this means the user has stopped speaking, not when the status is turned to \"idle\".\n\nTo look for the current interim transcription, listen to the `arcgisVoiceInputInterimTranscription` event."}],"js":{"properties":[{"name":"language","description":"Language for speech recognition (e.g., 'en-US', 'es-ES'). If not provided, the browser's default language will be used.","type":"string | undefined"}],"events":[{"name":"arcgisVoiceInputError","type":"{ errorCode: VoiceInputError; }"},{"name":"arcgisVoiceInputInterimTranscription","type":"{ text: string; }","description":"Emitted with the current recognized text as it is being transcribed"},{"name":"arcgisVoiceInputStart","type":"void"},{"name":"arcgisVoiceInputStop","type":"void"},{"name":"arcgisVoiceInputTranscription","type":"{ text: string; }","description":"Emitted when transcription is complete\n\nNote that this means the user has stopped speaking, not when the status is turned to \"idle\".\n\nTo look for the current interim transcription, listen to the `arcgisVoiceInputInterimTranscription` event."}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
1
+ {"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/portal-components","version":"5.2.0-next.6","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-portal-ai-assistant","description":"### Events\n- **arcgisPortalNavigationRequest**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"auto-destroy-disabled","default":"false","value":{"type":"boolean"}},{"name":"default-closed","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisPortalNavigationRequest","type":"{\n href: string;\n targetDetail: DocAssistantNavigationTarget;\n}"}],"js":{"properties":[{"name":"autoDestroyDisabled","type":"boolean"},{"name":"config","type":"Config"},{"name":"defaultClosed","type":"boolean"},{"name":"portal","type":"Portal"},{"name":"user","type":"PortalUser"}],"events":[{"name":"arcgisPortalNavigationRequest","type":"{\n href: string;\n targetDetail: DocAssistantNavigationTarget;\n}"}]}},{"name":"arcgis-portal-ai-assistant-interrupt","description":"### Events\n- **arcgisCancel**\n- **arcgisSubmit**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"message","value":{"type":"string"}},{"name":"type","value":{"type":["\"boolean-choice\"","\"multi-select\"","\"single-select\"","\"text-input\""]}}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | boolean | string"}],"js":{"properties":[{"name":"message","type":"NonNullable<InterruptType[\"message\"]>"},{"name":"options","type":"InterruptType[\"options\"]"},{"name":"type","type":"InterruptType[\"type\"]"}],"events":[{"name":"arcgisCancel","type":"void"},{"name":"arcgisSubmit","type":"string[] | boolean | string"}]}},{"name":"arcgis-portal-classification-banner","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component","attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","default":"false","value":{"type":"boolean"}},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","default":"\"\"","value":{"type":"string"}},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","default":"\"full\"","value":{"type":["\"full\"","\"preview\""]}}],"events":[],"js":{"properties":[{"name":"missingExistingClassification","description":"If the portal item has a classification previously","type":"boolean"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"PortalItem | undefined"},{"name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":"string"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":"\"full\" | \"preview\""}],"events":[]}},{"name":"arcgis-portal-classification-config","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.","attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","default":"\"idle\"","value":{"type":["\"loading\"","\"loaded\"","\"error\"","\"idle\""]}},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","default":"false","value":{"type":"boolean"}},{"name":"values","description":"The edited classification values of the portal item.","value":{}}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}],"js":{"properties":[{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"PortalItem | undefined"},{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":"Status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":"boolean"},{"name":"values","description":"The edited classification values of the portal item.","type":"PortalItem[\"classification\"]"}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}]}},{"name":"arcgis-portal-classification-favorite","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"selected-favorite-classification-name","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined"},{"name":"classificationValue","description":"Current classification value","type":"PortalItem[\"classification\"] | undefined"},{"name":"favoriteClassifications","description":"List of favorite classifications","type":"FavoriteClassification[]"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"PortalItem | undefined"},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void"},{"name":"selectedFavoriteClassificationName","type":"string"},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void"}],"events":[]}},{"name":"arcgis-portal-classification-form-element","description":"A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"attribute-key","value":{"type":"string"}}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}],"js":{"properties":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]"},{"name":"attributeKey","type":"string"},{"name":"isRequiredErrors","type":"Set<string>"},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined"},{"name":"value","type":"unknown"}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}]}},{"name":"arcgis-portal-extent-picker","description":"To select extent value from a map or by entering coordinates.\n--\n\n### Events\n- **arcgisExtentPickerChange** - Emitted when the extent value changes\n- **arcgisExtentPickerClose** - Emitted when the dialog is closed\n- **arcgisExtentPickerSave** - Emitted when the save button is clicked\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value","attributes":[{"name":"active","description":"if true, open the dialog","default":"false","value":{"type":"boolean"}},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","default":"false","value":{"type":"boolean"}},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","value":{"type":"string"}},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","default":"false","value":{"type":"boolean"}},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","value":{"type":"string"}}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}],"js":{"properties":[{"name":"active","description":"if true, open the dialog","type":"boolean"},{"name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":"boolean"},{"name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":"string | undefined"},{"name":"extentValue","description":"current extent value","type":"ExtentValue | undefined"},{"name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":"boolean"},{"name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":"string | undefined"},{"name":"portal","description":"Optional; Portal instance","type":"Portal | undefined"}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}]}},{"name":"arcgis-portal-field-delete","description":"### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}],"js":{"properties":[{"name":"config","description":"For documentation links.","type":"IConfig | undefined"},{"name":"fieldNames","description":"The fields to delete.","type":"string[] | undefined"},{"name":"layer","description":"The layer whose field is being deleted.","type":"FeatureLayer | OrientedImageryLayer | undefined"},{"name":"mapView","description":"The MapView instance.","type":"MapView | undefined"},{"name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":"FieldDeleteOptions | undefined"}],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}]}},{"name":"arcgis-portal-item-type","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"ellipsis","description":"Set to true to hide overflow (otherwise it will wrap lines)","default":"false","value":{"type":"boolean"}},{"name":"hide-icon","default":"false","value":{"type":"boolean"}},{"name":"hide-text","default":"false","value":{"type":"boolean"}},{"name":"scale","default":"\"s\"","value":{"type":["\"l\"","\"m\"","\"s\""]}},{"name":"show-hosted","description":"Display additional information about the item (views, extensions, photos, etc)\nwill only display for users who can update or edit","default":"false","value":{"type":"boolean"}}],"events":[],"js":{"properties":[{"name":"ellipsis","description":"Set to true to hide overflow (otherwise it will wrap lines)","type":"boolean | undefined"},{"name":"hideIcon","type":"boolean | undefined"},{"name":"hideText","type":"boolean | undefined"},{"name":"item","type":"PortalItem"},{"name":"portal","type":"Portal | undefined"},{"name":"scale","type":"\"l\" | \"m\" | \"s\""},{"name":"serviceInfo","type":"FeatureLayerProperties | undefined"},{"name":"showHosted","description":"Display additional information about the item (views, extensions, photos, etc)\nwill only display for users who can update or edit","type":"boolean | undefined"},{"name":"user","type":"PortalUser | undefined"}],"events":[]}},{"name":"arcgis-portal-mentionable-text-area","description":"A mention-enabled text area for ArcGIS Portal users, items, and groups.\n--\n\n### Events\n- **arcgisMentionableSelectedIndexChange** - Emitted when the selected item index changes\n- **arcgisMentionableTextAreaChange** - Emitted when the text content changes\n- **arcgisMentionableTextAreaKeyDown** - Emitted when a key is pressed in the text area\n\nUse this instead of the native onKeyDown event to avoid conflicts with the popover.\n- **arcgisUserMentionableTextAreaChange** - Emitted when the text content changes\n- **arcgisUserMentionableTextAreaKeyDown** - Emitted when a key is pressed in the text area\n\n### Methods\n- `closePopover(): Promise<void>` - Close the mention popover. Exposed as a public method so wrapper components\ncan programmatically dismiss the popover when needed (e.g. no search results).\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `focusTextArea(): Promise<void>`\n- `selectItem(item: MentionableEntity): Promise<void>`","attributes":[{"name":"disabled","default":"false","value":{"type":"boolean"}},{"name":"max-length","description":"Mirrors the `maxlength` property on the internal native `textarea`","value":{"type":"number"}},{"name":"placeholder","description":"Creates a placeholder for the calcite-text-area component","value":{"type":"string"}},{"name":"popover-list-label","value":{"type":"string"}},{"name":"popover-placement","default":"\"bottom-start\"","value":{"type":["\"auto\"","\"auto-start\"","\"auto-end\"","\"top\"","\"top-start\"","\"top-end\"","\"bottom\"","\"bottom-start\"","\"bottom-end\"","\"right\"","\"right-start\"","\"right-end\"","\"left\"","\"left-start\"","\"left-end\"","\"leading-start\"","\"leading\"","\"leading-end\"","\"trailing-end\"","\"trailing\"","\"trailing-start\""]}},{"name":"read-only","description":"Flag to enable readOnly","default":"false","value":{"type":"boolean"}},{"name":"rows","description":"Mirrors the `rows` property on the internal native `textarea`","default":"3","value":{"type":"number"}},{"name":"scale","description":"Decides scale of internal calcite-components","default":"\"m\"","value":{"type":["\"s\"","\"m\"","\"l\""]}},{"name":"value","description":"Current text content","value":{"type":"string"}}],"events":[{"name":"arcgisMentionableSelectedIndexChange","type":"number","description":"Emitted when the selected item index changes"},{"name":"arcgisMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area\n\nUse this instead of the native onKeyDown event to avoid conflicts with the popover."},{"name":"arcgisUserMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisUserMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area"}],"js":{"properties":[{"name":"disabled","type":"boolean | undefined"},{"name":"maxLength","description":"Mirrors the `maxlength` property on the internal native `textarea`","type":"number | undefined"},{"name":"placeholder","description":"Creates a placeholder for the calcite-text-area component","type":"string | undefined"},{"name":"popoverListLabel","type":"string"},{"name":"popoverPlacement","type":"Popover[\"placement\"]"},{"name":"portal","type":"Portal"},{"name":"readOnly","description":"Flag to enable readOnly","type":"boolean | undefined"},{"name":"rows","description":"Mirrors the `rows` property on the internal native `textarea`","type":"number | undefined"},{"name":"scale","description":"Decides scale of internal calcite-components","type":"Input[\"scale\"] | undefined"},{"name":"starters","description":"Character(s) that trigger the mention popover (e.g., \"@\", \"#\", \"$\")","type":"MentionableStarter[] | readonly MentionableStarter[]"},{"name":"user","type":"PortalUser"},{"name":"value","description":"Current text content","type":"string | undefined"}],"events":[{"name":"arcgisMentionableSelectedIndexChange","type":"number","description":"Emitted when the selected item index changes"},{"name":"arcgisMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area\n\nUse this instead of the native onKeyDown event to avoid conflicts with the popover."},{"name":"arcgisUserMentionableTextAreaChange","type":"string","description":"Emitted when the text content changes"},{"name":"arcgisUserMentionableTextAreaKeyDown","type":"KeyboardEvent","description":"Emitted when a key is pressed in the text area"}]}},{"name":"arcgis-portal-replacement-item-redirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.\n--\n\n### Events\n- **arcgisPortalReplacementItemFetch**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `setFocus(): Promise<void>` - Set focus on the component","attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","value":{"type":"string"}}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}],"js":{"properties":[{"name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":"string"},{"name":"portal","description":"The portal instance","type":"Portal"},{"name":"user","description":"The user. Defaults to `portal.user` if omitted","type":"PortalUser | null | undefined"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}]}},{"name":"arcgis-portal-user-avatar","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"check-online","default":"false","value":{"type":"boolean"}},{"name":"description","description":"Configurable text to show under the user's name","value":{"type":"string"}},{"name":"heading","description":"Configurable text to use in place of full name (use to add to add additional context, etc)","value":{"type":"string"}},{"name":"hide-avatar","description":"Set to true to hide the avatar (useful for just showing the name lockup styled correctly)","default":"false","value":{"type":"boolean"}},{"name":"scale","description":"Scale of the component","default":"\"m\"","value":{"type":["\"s\"","\"m\"","\"l\"","\"xs\""]}},{"name":"show-name","description":"Set to true to show user's name alongside the avatar as part of lockup","default":"false","value":{"type":"boolean"}},{"name":"underline","description":"Set to true to underline the name (only applies if showName is also true)","default":"false","value":{"type":"boolean"}},{"name":"username","description":"A username to get a User object from","value":{"type":"string"}},{"name":"wrap","description":"Allow the name to wrap lines (max 2)","default":"false","value":{"type":"boolean"}}],"events":[],"js":{"properties":[{"name":"checkOnline","type":"boolean | undefined"},{"name":"description","description":"Configurable text to show under the user's name","type":"string | undefined"},{"name":"heading","description":"Configurable text to use in place of full name (use to add to add additional context, etc)","type":"string | undefined"},{"name":"hideAvatar","description":"Set to true to hide the avatar (useful for just showing the name lockup styled correctly)","type":"boolean | undefined"},{"name":"portal","description":"The current portal instance","type":"Portal | undefined"},{"name":"scale","description":"Scale of the component","type":"Scale"},{"name":"showName","description":"Set to true to show user's name alongside the avatar as part of lockup","type":"boolean | undefined"},{"name":"underline","description":"Set to true to underline the name (only applies if showName is also true)","type":"boolean | undefined"},{"name":"user","description":"A User or org information (used for verified items)","type":"CommunityUser | ItemUserInfo | PortalUser | SearchResultUser | undefined"},{"name":"username","description":"A username to get a User object from","type":"string | undefined"},{"name":"wrap","description":"Allow the name to wrap lines (max 2)","type":"boolean | undefined"}],"events":[]}},{"name":"arcgis-portal-user-popup","description":"### Events\n- **arcgisUserPopupClose**\n- **arcgisUserPopupInternalUIAction** - Fires on internal component interaction - used by telemetry.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `openPopup(): Promise<void>`\n- `setFocus(): Promise<void>`","attributes":[{"name":"appearance","description":"Choose outline for a full-width outlined button.","default":"\"transparent\"","value":{"type":["\"outline\"","\"transparent\""]}},{"name":"avatar-aria-hidden","description":"Set to true to hide avatar from screen readers.","default":"false","value":{"type":"boolean"}},{"name":"base-url","description":"Fully qualified path to portal home root.","value":{"type":"string"}},{"name":"check-online","default":"false","value":{"type":"boolean"}},{"name":"full-name","description":"Optional full name fallback if user information does not include it.","value":{"type":"string"}},{"name":"scale","description":"Scale of the component.","default":"\"m\"","value":{"type":["\"s\"","\"m\"","\"l\"","\"xs\""]}},{"name":"show-avatar","description":"Set to false to hide the avatar and show username only.","default":"true","value":{"type":"boolean"}},{"name":"show-name","description":"Set to false to show only the avatar.","default":"true","value":{"type":"boolean"}},{"name":"show-username","description":"Set to true to show username in description.","default":"false","value":{"type":"boolean"}},{"name":"underline","description":"Set to true to underline the name.","default":"false","value":{"type":"boolean"}},{"name":"username","description":"Passing a username will perform a fetch for the user information on load.","value":{"type":"string"}},{"name":"wrap","description":"Allow the name to wrap lines (max 2).","default":"false","value":{"type":"boolean"}},{"name":"z-index","description":"The z-index of the popover.","value":{"type":"number"}}],"events":[{"name":"arcgisUserPopupClose","type":"void"},{"name":"arcgisUserPopupInternalUIAction","type":"InternalUIAction","description":"Fires on internal component interaction - used by telemetry."}],"js":{"properties":[{"name":"appearance","description":"Choose outline for a full-width outlined button.","type":"\"outline\" | \"transparent\""},{"name":"avatarAriaHidden","description":"Set to true to hide avatar from screen readers.","type":"boolean | undefined"},{"name":"baseUrl","description":"Fully qualified path to portal home root.","type":"string | undefined"},{"name":"checkOnline","type":"boolean | undefined"},{"name":"fullName","description":"Optional full name fallback if user information does not include it.","type":"string | undefined"},{"name":"item","description":"Passing an item will show org info for publicly verified items, user info for standard items.","type":"PortalItem | undefined"},{"name":"portal","description":"The current portal instance.","type":"Portal"},{"name":"scale","description":"Scale of the component.","type":"Scale"},{"name":"showAvatar","description":"Set to false to hide the avatar and show username only.","type":"boolean"},{"name":"showName","description":"Set to false to show only the avatar.","type":"boolean"},{"name":"showUsername","description":"Set to true to show username in description.","type":"boolean"},{"name":"underline","description":"Set to true to underline the name.","type":"boolean | undefined"},{"name":"user","description":"Passing a user will always show thumbnail for that user (use either user or item).","type":"PortalUser | undefined"},{"name":"username","description":"Passing a username will perform a fetch for the user information on load.","type":"string | undefined"},{"name":"wrap","description":"Allow the name to wrap lines (max 2).","type":"boolean | undefined"},{"name":"zIndex","description":"The z-index of the popover.","type":"number | undefined"}],"events":[{"name":"arcgisUserPopupClose","type":"void"},{"name":"arcgisUserPopupInternalUIAction","type":"InternalUIAction","description":"Fires on internal component interaction - used by telemetry."}]}},{"name":"arcgis-portal-voice-input","description":"A headless component that provides a voice input interface\n--\n\n### Events\n- **arcgisVoiceInputError**\n- **arcgisVoiceInputInterimTranscription** - Emitted with the current recognized text as it is being transcribed\n- **arcgisVoiceInputStart**\n- **arcgisVoiceInputStop**\n- **arcgisVoiceInputTranscription** - Emitted when transcription is complete\n\nNote that this means the user has stopped speaking, not when the status is turned to \"idle\".\n\nTo look for the current interim transcription, listen to the `arcgisVoiceInputInterimTranscription` event.\n\n### Methods\n- `clearText(): Promise<void>`\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `startListening(): Promise<VoiceInputError | null>`\n- `stopListening(): Promise<void>`","attributes":[{"name":"language","description":"Language for speech recognition (e.g., 'en-US', 'es-ES'). If not provided, the browser's default language will be used.","value":{"type":"string"}}],"events":[{"name":"arcgisVoiceInputError","type":"{ errorCode: VoiceInputError; }"},{"name":"arcgisVoiceInputInterimTranscription","type":"{ text: string; }","description":"Emitted with the current recognized text as it is being transcribed"},{"name":"arcgisVoiceInputStart","type":"void"},{"name":"arcgisVoiceInputStop","type":"void"},{"name":"arcgisVoiceInputTranscription","type":"{ text: string; }","description":"Emitted when transcription is complete\n\nNote that this means the user has stopped speaking, not when the status is turned to \"idle\".\n\nTo look for the current interim transcription, listen to the `arcgisVoiceInputInterimTranscription` event."}],"js":{"properties":[{"name":"language","description":"Language for speech recognition (e.g., 'en-US', 'es-ES'). If not provided, the browser's default language will be used.","type":"string | undefined"}],"events":[{"name":"arcgisVoiceInputError","type":"{ errorCode: VoiceInputError; }"},{"name":"arcgisVoiceInputInterimTranscription","type":"{ text: string; }","description":"Emitted with the current recognized text as it is being transcribed"},{"name":"arcgisVoiceInputStart","type":"void"},{"name":"arcgisVoiceInputStop","type":"void"},{"name":"arcgisVoiceInputTranscription","type":"{ text: string; }","description":"Emitted when transcription is complete\n\nNote that this means the user has stopped speaking, not when the status is turned to \"idle\".\n\nTo look for the current interim transcription, listen to the `arcgisVoiceInputInterimTranscription` event."}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
package/dist/index.d.ts CHANGED
@@ -39,6 +39,7 @@ import type { ArcgisPortalItemType } from "./components/arcgis-portal-item-type/
39
39
  import type { ArcgisPortalMentionableTextArea } from "./components/arcgis-portal-mentionable-text-area/customElement.js";
40
40
  import type { ArcgisPortalReplacementItemRedirect } from "./components/arcgis-portal-replacement-item-redirect/customElement.js";
41
41
  import type { ArcgisPortalUserAvatar } from "./components/arcgis-portal-user-avatar/customElement.js";
42
+ import type { ArcgisPortalUserPopup } from "./components/arcgis-portal-user-popup/customElement.js";
42
43
  import type { ArcgisPortalVoiceInput } from "./components/arcgis-portal-voice-input/customElement.js";
43
44
 
44
45
  export { ToEvents, TargetedEvent } from "@arcgis/lumina";
@@ -83,6 +84,11 @@ export interface ArcgisPortalReplacementItemRedirectCustomEvent<T> extends Custo
83
84
  target: ArcgisPortalReplacementItemRedirect;
84
85
  currentTarget: ArcgisPortalReplacementItemRedirect;
85
86
  }
87
+ export interface ArcgisPortalUserPopupCustomEvent<T> extends CustomEvent<T> {
88
+ detail: T;
89
+ target: ArcgisPortalUserPopup;
90
+ currentTarget: ArcgisPortalUserPopup;
91
+ }
86
92
  export interface ArcgisPortalVoiceInputCustomEvent<T> extends CustomEvent<T> {
87
93
  detail: T;
88
94
  target: ArcgisPortalVoiceInput;
@@ -104,6 +110,7 @@ declare global {
104
110
  "arcgis-portal-mentionable-text-area": ArcgisPortalMentionableTextArea;
105
111
  "arcgis-portal-replacement-item-redirect": ArcgisPortalReplacementItemRedirect;
106
112
  "arcgis-portal-user-avatar": ArcgisPortalUserAvatar;
113
+ "arcgis-portal-user-popup": ArcgisPortalUserPopup;
107
114
  "arcgis-portal-voice-input": ArcgisPortalVoiceInput;
108
115
 
109
116
  }
@@ -140,6 +147,9 @@ declare global {
140
147
 
141
148
  type HTMLArcgisPortalUserAvatarElement = ArcgisPortalUserAvatar;
142
149
 
150
+ type HTMLArcgisPortalUserPopupElementEventMap = ArcgisPortalUserPopup["@eventTypes"];
151
+ type HTMLArcgisPortalUserPopupElement = ArcgisPortalUserPopup;
152
+
143
153
  type HTMLArcgisPortalVoiceInputElementEventMap = ArcgisPortalVoiceInput["@eventTypes"];
144
154
  type HTMLArcgisPortalVoiceInputElement = ArcgisPortalVoiceInput;
145
155
 
package/dist/loader.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { r as e } from "./chunks/runtime.js";
3
- import { makeDefineCustomElements as t } from "@arcgis/lumina";
4
- const i = t(e, {
3
+ import { makeDefineCustomElements as a } from "@arcgis/lumina";
4
+ const r = a(e, {
5
5
  "arcgis-portal-ai-assistant": [() => import("./components/arcgis-portal-ai-assistant/customElement.js"), "autoDestroyDisabled,config:,defaultClosed,portal:,t9n:,user:"],
6
6
  "arcgis-portal-ai-assistant-interrupt": [() => import("./components/arcgis-portal-ai-assistant-interrupt/customElement.js"), "_messages:,message,options:,type"],
7
7
  "arcgis-portal-classification-banner": [() => import("./components/arcgis-portal-classification-banner/customElement.js"), "autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],
@@ -15,8 +15,9 @@ const i = t(e, {
15
15
  "arcgis-portal-mentionable-text-area": [() => import("./components/arcgis-portal-mentionable-text-area/customElement.js"), "disabled,maxLength,placeholder,popoverListLabel,popoverPlacement,portal:,readOnly,rows,scale,starters:,user:,value;closePopover,focusTextArea,selectItem"],
16
16
  "arcgis-portal-replacement-item-redirect": [() => import("./components/arcgis-portal-replacement-item-redirect/customElement.js"), "itemId,messages:,portal:,user:;setFocus"],
17
17
  "arcgis-portal-user-avatar": [() => import("./components/arcgis-portal-user-avatar/customElement.js"), "checkOnline,description,heading,hideAvatar,messages:,portal:,scale,showName,underline,user:,username,wrap"],
18
+ "arcgis-portal-user-popup": [() => import("./components/arcgis-portal-user-popup/customElement.js"), "appearance,avatarAriaHidden,baseUrl,checkOnline,fullName,item:,messages:,portal:,scale,showAvatar,showName,showUsername,underline,user:,username,wrap,zIndex;openPopup,setFocus"],
18
19
  "arcgis-portal-voice-input": [() => import("./components/arcgis-portal-voice-input/customElement.js"), "language;clearText,startListening,stopListening"]
19
20
  });
20
21
  export {
21
- i as defineCustomElements
22
+ r as defineCustomElements
22
23
  };
@@ -11,6 +11,7 @@ import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type
11
11
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
12
12
  import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
13
13
  import type { ArcgisPortalUserAvatar } from "../components/arcgis-portal-user-avatar/customElement.js";
14
+ import type { ArcgisPortalUserPopup } from "../components/arcgis-portal-user-popup/customElement.js";
14
15
  import type { ArcgisPortalVoiceInput } from "../components/arcgis-portal-voice-input/customElement.js";
15
16
  import type { h, EventHandler } from "@arcgis/lumina";
16
17
 
@@ -68,6 +69,11 @@ interface LuminaArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisP
68
69
  interface LuminaArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, h.JSX.HTMLAttributes<ArcgisPortalUserAvatar> {
69
70
  }
70
71
 
72
+ interface LuminaArcgisPortalUserPopup extends Partial<Pick<ArcgisPortalUserPopup, "appearance" | "avatarAriaHidden" | "baseUrl" | "checkOnline" | "fullName" | "item" | "portal" | "scale" | "showAvatar" | "showName" | "showUsername" | "underline" | "user" | "username" | "wrap" | "zIndex">>, h.JSX.HTMLAttributes<ArcgisPortalUserPopup> {
73
+ onarcgisUserPopupClose?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupClose"]>;
74
+ onarcgisUserPopupInternalUIAction?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupInternalUIAction"]>;
75
+ }
76
+
71
77
  interface LuminaArcgisPortalVoiceInput extends Partial<Pick<ArcgisPortalVoiceInput, "language">>, h.JSX.HTMLAttributes<ArcgisPortalVoiceInput> {
72
78
  onarcgisVoiceInputError?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputError"]>;
73
79
  onarcgisVoiceInputInterimTranscription?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputInterimTranscription"]>;
@@ -91,6 +97,7 @@ declare module "@arcgis/lumina" {
91
97
  "arcgis-portal-mentionable-text-area": LuminaArcgisPortalMentionableTextArea;
92
98
  "arcgis-portal-replacement-item-redirect": LuminaArcgisPortalReplacementItemRedirect;
93
99
  "arcgis-portal-user-avatar": LuminaArcgisPortalUserAvatar;
100
+ "arcgis-portal-user-popup": LuminaArcgisPortalUserPopup;
94
101
  "arcgis-portal-voice-input": LuminaArcgisPortalVoiceInput;
95
102
  }
96
103
  }
@@ -11,6 +11,7 @@ import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type
11
11
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
12
12
  import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
13
13
  import type { ArcgisPortalUserAvatar } from "../components/arcgis-portal-user-avatar/customElement.js";
14
+ import type { ArcgisPortalUserPopup } from "../components/arcgis-portal-user-popup/customElement.js";
14
15
  import type { ArcgisPortalVoiceInput } from "../components/arcgis-portal-voice-input/customElement.js";
15
16
  import { HTMLAttributes } from "preact";
16
17
  import type { EventHandler } from "@arcgis/lumina";
@@ -69,6 +70,11 @@ interface PreactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisP
69
70
  interface PreactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLAttributes<ArcgisPortalUserAvatar> {
70
71
  }
71
72
 
73
+ interface PreactArcgisPortalUserPopup extends Partial<Pick<ArcgisPortalUserPopup, "appearance" | "avatarAriaHidden" | "baseUrl" | "checkOnline" | "fullName" | "item" | "portal" | "scale" | "showAvatar" | "showName" | "showUsername" | "underline" | "user" | "username" | "wrap" | "zIndex">>, HTMLAttributes<ArcgisPortalUserPopup> {
74
+ onarcgisUserPopupClose?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupClose"]>;
75
+ onarcgisUserPopupInternalUIAction?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupInternalUIAction"]>;
76
+ }
77
+
72
78
  interface PreactArcgisPortalVoiceInput extends Partial<Pick<ArcgisPortalVoiceInput, "language">>, HTMLAttributes<ArcgisPortalVoiceInput> {
73
79
  onarcgisVoiceInputError?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputError"]>;
74
80
  onarcgisVoiceInputInterimTranscription?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputInterimTranscription"]>;
@@ -92,6 +98,7 @@ declare module 'preact' {
92
98
  "arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
93
99
  "arcgis-portal-replacement-item-redirect": PreactArcgisPortalReplacementItemRedirect;
94
100
  "arcgis-portal-user-avatar": PreactArcgisPortalUserAvatar;
101
+ "arcgis-portal-user-popup": PreactArcgisPortalUserPopup;
95
102
  "arcgis-portal-voice-input": PreactArcgisPortalVoiceInput;
96
103
  }
97
104
  }
@@ -109,6 +116,7 @@ declare module 'preact' {
109
116
  "arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
110
117
  "arcgis-portal-replacement-item-redirect": PreactArcgisPortalReplacementItemRedirect;
111
118
  "arcgis-portal-user-avatar": PreactArcgisPortalUserAvatar;
119
+ "arcgis-portal-user-popup": PreactArcgisPortalUserPopup;
112
120
  "arcgis-portal-voice-input": PreactArcgisPortalVoiceInput;
113
121
  }
114
122
  }
@@ -11,6 +11,7 @@ import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type
11
11
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
12
12
  import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
13
13
  import type { ArcgisPortalUserAvatar } from "../components/arcgis-portal-user-avatar/customElement.js";
14
+ import type { ArcgisPortalUserPopup } from "../components/arcgis-portal-user-popup/customElement.js";
14
15
  import type { ArcgisPortalVoiceInput } from "../components/arcgis-portal-voice-input/customElement.js";
15
16
  import type { HTMLProps } from 'react';
16
17
  import type { EventHandler } from "@arcgis/lumina";
@@ -69,6 +70,11 @@ interface ReactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPo
69
70
  interface ReactArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, HTMLProps<ArcgisPortalUserAvatar> {
70
71
  }
71
72
 
73
+ interface ReactArcgisPortalUserPopup extends Partial<Pick<ArcgisPortalUserPopup, "appearance" | "avatarAriaHidden" | "baseUrl" | "checkOnline" | "fullName" | "item" | "portal" | "scale" | "showAvatar" | "showName" | "showUsername" | "underline" | "user" | "username" | "wrap" | "zIndex">>, HTMLProps<ArcgisPortalUserPopup> {
74
+ onarcgisUserPopupClose?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupClose"]>;
75
+ onarcgisUserPopupInternalUIAction?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupInternalUIAction"]>;
76
+ }
77
+
72
78
  interface ReactArcgisPortalVoiceInput extends Partial<Pick<ArcgisPortalVoiceInput, "language">>, HTMLProps<ArcgisPortalVoiceInput> {
73
79
  onarcgisVoiceInputError?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputError"]>;
74
80
  onarcgisVoiceInputInterimTranscription?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputInterimTranscription"]>;
@@ -92,6 +98,7 @@ declare module "react" {
92
98
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
93
99
  "arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
94
100
  "arcgis-portal-user-avatar": ReactArcgisPortalUserAvatar;
101
+ "arcgis-portal-user-popup": ReactArcgisPortalUserPopup;
95
102
  "arcgis-portal-voice-input": ReactArcgisPortalVoiceInput;
96
103
  }
97
104
  }
@@ -111,6 +118,7 @@ declare module "react/jsx-runtime" {
111
118
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
112
119
  "arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
113
120
  "arcgis-portal-user-avatar": ReactArcgisPortalUserAvatar;
121
+ "arcgis-portal-user-popup": ReactArcgisPortalUserPopup;
114
122
  "arcgis-portal-voice-input": ReactArcgisPortalVoiceInput;
115
123
  }
116
124
  }
@@ -130,6 +138,7 @@ declare module "react/jsx-dev-runtime" {
130
138
  "arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
131
139
  "arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
132
140
  "arcgis-portal-user-avatar": ReactArcgisPortalUserAvatar;
141
+ "arcgis-portal-user-popup": ReactArcgisPortalUserPopup;
133
142
  "arcgis-portal-voice-input": ReactArcgisPortalVoiceInput;
134
143
  }
135
144
  }
@@ -11,6 +11,7 @@ import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type
11
11
  import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
12
12
  import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
13
13
  import type { ArcgisPortalUserAvatar } from "../components/arcgis-portal-user-avatar/customElement.js";
14
+ import type { ArcgisPortalUserPopup } from "../components/arcgis-portal-user-popup/customElement.js";
14
15
  import type { ArcgisPortalVoiceInput } from "../components/arcgis-portal-voice-input/customElement.js";
15
16
  import { JSXBase as StencilJsx } from "@stencil/core/internal";
16
17
  import type { EventHandler } from "@arcgis/lumina";
@@ -69,6 +70,11 @@ interface StencilArcgisPortalReplacementItemRedirect extends Partial<Pick<Arcgis
69
70
  interface StencilArcgisPortalUserAvatar extends Partial<Pick<ArcgisPortalUserAvatar, "checkOnline" | "description" | "heading" | "hideAvatar" | "portal" | "scale" | "showName" | "underline" | "user" | "username" | "wrap">>, StencilJsx.HTMLAttributes<ArcgisPortalUserAvatar> {
70
71
  }
71
72
 
73
+ interface StencilArcgisPortalUserPopup extends Partial<Pick<ArcgisPortalUserPopup, "appearance" | "avatarAriaHidden" | "baseUrl" | "checkOnline" | "fullName" | "item" | "portal" | "scale" | "showAvatar" | "showName" | "showUsername" | "underline" | "user" | "username" | "wrap" | "zIndex">>, StencilJsx.HTMLAttributes<ArcgisPortalUserPopup> {
74
+ onArcgisUserPopupClose?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupClose"]>;
75
+ onArcgisUserPopupInternalUIAction?: EventHandler<ArcgisPortalUserPopup["arcgisUserPopupInternalUIAction"]>;
76
+ }
77
+
72
78
  interface StencilArcgisPortalVoiceInput extends Partial<Pick<ArcgisPortalVoiceInput, "language">>, StencilJsx.HTMLAttributes<ArcgisPortalVoiceInput> {
73
79
  onArcgisVoiceInputError?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputError"]>;
74
80
  onArcgisVoiceInputInterimTranscription?: EventHandler<ArcgisPortalVoiceInput["arcgisVoiceInputInterimTranscription"]>;
@@ -90,6 +96,7 @@ interface ExposedElements {
90
96
  "arcgis-portal-mentionable-text-area": StencilArcgisPortalMentionableTextArea;
91
97
  "arcgis-portal-replacement-item-redirect": StencilArcgisPortalReplacementItemRedirect;
92
98
  "arcgis-portal-user-avatar": StencilArcgisPortalUserAvatar;
99
+ "arcgis-portal-user-popup": StencilArcgisPortalUserPopup;
93
100
  "arcgis-portal-voice-input": StencilArcgisPortalVoiceInput;
94
101
  }
95
102
 
@@ -0,0 +1,10 @@
1
+ /** Used for tracking internal component events from outside the component */
2
+ export type InternalUIAction = {
3
+ action?: string;
4
+ details?: string;
5
+ category?: string;
6
+ position?: number;
7
+ attribute?: string;
8
+ count?: number;
9
+ label?: string;
10
+ };
@@ -60,7 +60,7 @@ export interface SearchResultUser {
60
60
  username: string;
61
61
  joined?: number;
62
62
  memberType?: MemberType;
63
- thumbnail?: string;
63
+ thumbnail?: string | null;
64
64
  }
65
65
 
66
66
  /** Short user info made specifically for the UI */
@@ -68,7 +68,7 @@ export interface ItemUserInfo {
68
68
  description: string;
69
69
  fullName: string;
70
70
  username: string;
71
- thumbnail: string;
71
+ thumbnail: string | null;
72
72
  id: string;
73
73
  url: string;
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components",
3
- "version": "5.2.0-next.5",
3
+ "version": "5.2.0-next.6",
4
4
  "description": "ArcGIS Portal Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -47,13 +47,13 @@
47
47
  "marked": "~18.0.4",
48
48
  "tslib": "^2.8.1",
49
49
  "zod": "^4.3.6",
50
- "@arcgis/ai-components": "5.2.0-next.5",
51
- "@arcgis/toolkit": "5.2.0-next.5",
52
- "@arcgis/lumina": "5.2.0-next.5"
50
+ "@arcgis/ai-components": "5.2.0-next.6",
51
+ "@arcgis/lumina": "5.2.0-next.6",
52
+ "@arcgis/toolkit": "5.2.0-next.6"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@arcgis/core": "^5.1.0-next",
56
- "@esri/calcite-components": "^5.1.0-next.60"
56
+ "@esri/calcite-components": "^5.1.1-next.3"
57
57
  },
58
58
  "css.customData": [
59
59
  "dist/docs/vscode.css-custom-data.json"