@arcgis/portal-components 5.2.0-next.7 → 5.2.0-next.8
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/{G6QT6MYP.js → 2EV3TV75.js} +1 -1
- package/dist/cdn/{L3BQK62N.js → F2AM2M4H.js} +1 -1
- package/dist/cdn/QB34ACZ2.js +2 -0
- package/dist/cdn/WZC4LHVH.js +2 -0
- package/dist/cdn/assets/portal-group-badges/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/components/arcgis-portal-group-badges/customElement.d.ts +102 -0
- package/dist/components/arcgis-portal-group-badges/customElement.js +58 -0
- package/dist/components/arcgis-portal-group-badges/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-badges/index.js +3 -0
- package/dist/components/arcgis-portal-group-badges/types.d.ts +3 -0
- package/dist/components/arcgis-portal-group-thumbnail/customElement.d.ts +32 -0
- package/dist/components/arcgis-portal-group-thumbnail/customElement.js +153 -0
- package/dist/components/arcgis-portal-group-thumbnail/index.d.ts +1 -0
- package/dist/components/arcgis-portal-group-thumbnail/index.js +3 -0
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/loader.js +2 -0
- package/dist/types/lumina.d.ts +10 -0
- package/dist/types/preact.d.ts +12 -0
- package/dist/types/react.d.ts +14 -0
- package/dist/types/stencil.d.ts +10 -0
- package/package.json +4 -4
- /package/dist/cdn/{T25WZ6OL.js → RBC6VGDJ.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json","version":1.1,"tags":[{"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","values":[]},{"name":"default-closed","values":[]}],"references":[]},{"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","values":[]},{"name":"type","values":[{"name":"boolean-choice"},{"name":"multi-select"},{"name":"single-select"},{"name":"text-input"}]}],"references":[]},{"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","values":[]},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","values":[]},{"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.","values":[{"name":"full"},{"name":"preview"}]}],"references":[]},{"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.","values":[{"name":"loading"},{"name":"loaded"},{"name":"error"},{"name":"idle"}]},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","values":[]},{"name":"values","description":"The edited classification values of the portal item.","values":[]}],"references":[]},{"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","values":[]}],"references":[]},{"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","values":[]}],"references":[]},{"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","values":[]},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","values":[]},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","values":[]},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","values":[]},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","values":[]}],"references":[]},{"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":[],"references":[]},{"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)","values":[]},{"name":"hide-icon","values":[]},{"name":"hide-text","values":[]},{"name":"scale","values":[{"name":"l"},{"name":"m"},{"name":"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","values":[]}],"references":[]},{"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","values":[]},{"name":"max-length","description":"Mirrors the `maxlength` property on the internal native `textarea`","values":[]},{"name":"placeholder","description":"Creates a placeholder for the calcite-text-area component","values":[]},{"name":"popover-list-label","values":[]},{"name":"popover-placement","values":[{"name":"auto"},{"name":"auto-start"},{"name":"auto-end"},{"name":"top"},{"name":"top-start"},{"name":"top-end"},{"name":"bottom"},{"name":"bottom-start"},{"name":"bottom-end"},{"name":"right"},{"name":"right-start"},{"name":"right-end"},{"name":"left"},{"name":"left-start"},{"name":"left-end"},{"name":"leading-start"},{"name":"leading"},{"name":"leading-end"},{"name":"trailing-end"},{"name":"trailing"},{"name":"trailing-start"}]},{"name":"read-only","description":"Flag to enable readOnly","values":[]},{"name":"rows","description":"Mirrors the `rows` property on the internal native `textarea`","values":[]},{"name":"scale","description":"Decides scale of internal calcite-components","values":[{"name":"s"},{"name":"m"},{"name":"l"}]},{"name":"value","description":"Current text content","values":[]}],"references":[]},{"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","values":[]}],"references":[]},{"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","values":[]},{"name":"description","description":"Configurable text to show under the user's name","values":[]},{"name":"heading","description":"Configurable text to use in place of full name (use to add to add additional context, etc)","values":[]},{"name":"hide-avatar","description":"Set to true to hide the avatar (useful for just showing the name lockup styled correctly)","values":[]},{"name":"scale","description":"Scale of the component","values":[{"name":"s"},{"name":"m"},{"name":"l"},{"name":"xs"}]},{"name":"show-name","description":"Set to true to show user's name alongside the avatar as part of lockup","values":[]},{"name":"underline","description":"Set to true to underline the name (only applies if showName is also true)","values":[]},{"name":"username","description":"A username to get a User object from","values":[]},{"name":"wrap","description":"Allow the name to wrap lines (max 2)","values":[]}],"references":[]},{"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.","values":[{"name":"outline"},{"name":"transparent"}]},{"name":"avatar-aria-hidden","description":"Set to true to hide avatar from screen readers.","values":[]},{"name":"base-url","description":"Fully qualified path to portal home root.","values":[]},{"name":"check-online","values":[]},{"name":"full-name","description":"Optional full name fallback if user information does not include it.","values":[]},{"name":"scale","description":"Scale of the component.","values":[{"name":"s"},{"name":"m"},{"name":"l"},{"name":"xs"}]},{"name":"show-avatar","description":"Set to false to hide the avatar and show username only.","values":[]},{"name":"show-name","description":"Set to false to show only the avatar.","values":[]},{"name":"show-username","description":"Set to true to show username in description.","values":[]},{"name":"underline","description":"Set to true to underline the name.","values":[]},{"name":"username","description":"Passing a username will perform a fetch for the user information on load.","values":[]},{"name":"wrap","description":"Allow the name to wrap lines (max 2).","values":[]},{"name":"z-index","description":"The z-index of the popover.","values":[]}],"references":[]},{"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.","values":[]}],"references":[]}]}
|
|
1
|
+
{"$schema":"https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json","version":1.1,"tags":[{"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","values":[]},{"name":"default-closed","values":[]}],"references":[]},{"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","values":[]},{"name":"type","values":[{"name":"boolean-choice"},{"name":"multi-select"},{"name":"single-select"},{"name":"text-input"}]}],"references":[]},{"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","values":[]},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","values":[]},{"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.","values":[{"name":"full"},{"name":"preview"}]}],"references":[]},{"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.","values":[{"name":"loading"},{"name":"loaded"},{"name":"error"},{"name":"idle"}]},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","values":[]},{"name":"values","description":"The edited classification values of the portal item.","values":[]}],"references":[]},{"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","values":[]}],"references":[]},{"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","values":[]}],"references":[]},{"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","values":[]},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","values":[]},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","values":[]},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","values":[]},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","values":[]}],"references":[]},{"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":[],"references":[]},{"name":"arcgis-portal-group-badges","description":"Groups can have special statuses and capabilities. This component derives and renders badges for those states.\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"appearance","description":"Appearance of the chips used for group badges.","values":[{"name":"outline"},{"name":"outline-fill"},{"name":"solid"}]},{"name":"empty","description":"Reflected flag that indicates no badges were generated for the current input.","values":[]},{"name":"scale","description":"Size of each badge chip.","values":[{"name":"s"},{"name":"m"},{"name":"l"}]},{"name":"show-tooltips","description":"Enables tooltip text for each badge.","values":[]},{"name":"width","description":"Full width shows label text, narrow renders icon only.","values":[{"name":"full"},{"name":"narrow"}]}],"references":[]},{"name":"arcgis-portal-group-thumbnail","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"scale","description":"Component scale.","values":[{"name":"s"},{"name":"m"},{"name":"l"},{"name":"xs"},{"name":"xl"}]},{"name":"tooltip","description":"Whether to show tooltip on hover/focus.","values":[]}],"references":[]},{"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)","values":[]},{"name":"hide-icon","values":[]},{"name":"hide-text","values":[]},{"name":"scale","values":[{"name":"l"},{"name":"m"},{"name":"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","values":[]}],"references":[]},{"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","values":[]},{"name":"max-length","description":"Mirrors the `maxlength` property on the internal native `textarea`","values":[]},{"name":"placeholder","description":"Creates a placeholder for the calcite-text-area component","values":[]},{"name":"popover-list-label","values":[]},{"name":"popover-placement","values":[{"name":"auto"},{"name":"auto-start"},{"name":"auto-end"},{"name":"top"},{"name":"top-start"},{"name":"top-end"},{"name":"bottom"},{"name":"bottom-start"},{"name":"bottom-end"},{"name":"right"},{"name":"right-start"},{"name":"right-end"},{"name":"left"},{"name":"left-start"},{"name":"left-end"},{"name":"leading-start"},{"name":"leading"},{"name":"leading-end"},{"name":"trailing-end"},{"name":"trailing"},{"name":"trailing-start"}]},{"name":"read-only","description":"Flag to enable readOnly","values":[]},{"name":"rows","description":"Mirrors the `rows` property on the internal native `textarea`","values":[]},{"name":"scale","description":"Decides scale of internal calcite-components","values":[{"name":"s"},{"name":"m"},{"name":"l"}]},{"name":"value","description":"Current text content","values":[]}],"references":[]},{"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","values":[]}],"references":[]},{"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","values":[]},{"name":"description","description":"Configurable text to show under the user's name","values":[]},{"name":"heading","description":"Configurable text to use in place of full name (use to add to add additional context, etc)","values":[]},{"name":"hide-avatar","description":"Set to true to hide the avatar (useful for just showing the name lockup styled correctly)","values":[]},{"name":"scale","description":"Scale of the component","values":[{"name":"s"},{"name":"m"},{"name":"l"},{"name":"xs"}]},{"name":"show-name","description":"Set to true to show user's name alongside the avatar as part of lockup","values":[]},{"name":"underline","description":"Set to true to underline the name (only applies if showName is also true)","values":[]},{"name":"username","description":"A username to get a User object from","values":[]},{"name":"wrap","description":"Allow the name to wrap lines (max 2)","values":[]}],"references":[]},{"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.","values":[{"name":"outline"},{"name":"transparent"}]},{"name":"avatar-aria-hidden","description":"Set to true to hide avatar from screen readers.","values":[]},{"name":"base-url","description":"Fully qualified path to portal home root.","values":[]},{"name":"check-online","values":[]},{"name":"full-name","description":"Optional full name fallback if user information does not include it.","values":[]},{"name":"scale","description":"Scale of the component.","values":[{"name":"s"},{"name":"m"},{"name":"l"},{"name":"xs"}]},{"name":"show-avatar","description":"Set to false to hide the avatar and show username only.","values":[]},{"name":"show-name","description":"Set to false to show only the avatar.","values":[]},{"name":"show-username","description":"Set to true to show username in description.","values":[]},{"name":"underline","description":"Set to true to underline the name.","values":[]},{"name":"username","description":"Passing a username will perform a fetch for the user information on load.","values":[]},{"name":"wrap","description":"Allow the name to wrap lines (max 2).","values":[]},{"name":"z-index","description":"The z-index of the popover.","values":[]}],"references":[]},{"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.","values":[]}],"references":[]}]}
|
package/dist/docs/web-types.json
CHANGED
|
@@ -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.7","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":[]}}}
|
|
1
|
+
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/portal-components","version":"5.2.0-next.8","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-group-badges","description":"Groups can have special statuses and capabilities. This component derives and renders badges for those states.\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"appearance","description":"Appearance of the chips used for group badges.","value":{"type":["\"outline\"","\"outline-fill\"","\"solid\""]}},{"name":"empty","description":"Reflected flag that indicates no badges were generated for the current input.","default":"false","value":{"type":"boolean"}},{"name":"scale","description":"Size of each badge chip.","default":"\"m\"","value":{"type":["\"s\"","\"m\"","\"l\""]}},{"name":"show-tooltips","description":"Enables tooltip text for each badge.","default":"false","value":{"type":"boolean"}},{"name":"width","description":"Full width shows label text, narrow renders icon only.","default":"\"full\"","value":{"type":["\"full\"","\"narrow\""]}}],"events":[],"js":{"properties":[{"name":"appearance","description":"Appearance of the chips used for group badges.","type":"Chip[\"appearance\"] | undefined"},{"name":"empty","description":"Reflected flag that indicates no badges were generated for the current input.","type":"boolean"},{"name":"group","description":"PortalGroup instance for deriving badge states from sourceJSON.","type":"PortalGroup | undefined"},{"name":"portal","description":"Current Portal instance.","type":"GroupBadgesPortal | undefined"},{"name":"scale","description":"Size of each badge chip.","type":"Chip[\"scale\"]"},{"name":"showTooltips","description":"Enables tooltip text for each badge.","type":"boolean"},{"name":"width","description":"Full width shows label text, narrow renders icon only.","type":"\"full\" | \"narrow\""}],"events":[]}},{"name":"arcgis-portal-group-thumbnail","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"scale","description":"Component scale.","default":"\"m\"","value":{"type":["\"s\"","\"m\"","\"l\"","\"xs\"","\"xl\""]}},{"name":"tooltip","description":"Whether to show tooltip on hover/focus.","default":"false","value":{"type":"boolean"}}],"events":[],"js":{"properties":[{"name":"group","description":"Group data used to render thumbnail image or fallback initials.","type":"GroupThumbnail | undefined"},{"name":"portal","description":"Current portal instance used for tokenized thumbnail URL generation.","type":"Portal | undefined"},{"name":"scale","description":"Component scale.","type":"GroupThumbnailScale"},{"name":"tooltip","description":"Whether to show tooltip on hover/focus.","type":"boolean"}],"events":[]}},{"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
|
@@ -35,6 +35,8 @@ import type { ArcgisPortalClassificationFavorite } from "./components/arcgis-por
|
|
|
35
35
|
import type { ArcgisPortalClassificationFormElement } from "./components/arcgis-portal-classification-form-element/customElement.js";
|
|
36
36
|
import type { ArcgisPortalExtentPicker } from "./components/arcgis-portal-extent-picker/customElement.js";
|
|
37
37
|
import type { ArcgisPortalFieldDelete } from "./components/arcgis-portal-field-delete/customElement.js";
|
|
38
|
+
import type { ArcgisPortalGroupBadges } from "./components/arcgis-portal-group-badges/customElement.js";
|
|
39
|
+
import type { ArcgisPortalGroupThumbnail } from "./components/arcgis-portal-group-thumbnail/customElement.js";
|
|
38
40
|
import type { ArcgisPortalItemType } from "./components/arcgis-portal-item-type/customElement.js";
|
|
39
41
|
import type { ArcgisPortalMentionableTextArea } from "./components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
40
42
|
import type { ArcgisPortalReplacementItemRedirect } from "./components/arcgis-portal-replacement-item-redirect/customElement.js";
|
|
@@ -106,6 +108,8 @@ declare global {
|
|
|
106
108
|
"arcgis-portal-classification-form-element": ArcgisPortalClassificationFormElement;
|
|
107
109
|
"arcgis-portal-extent-picker": ArcgisPortalExtentPicker;
|
|
108
110
|
"arcgis-portal-field-delete": ArcgisPortalFieldDelete;
|
|
111
|
+
"arcgis-portal-group-badges": ArcgisPortalGroupBadges;
|
|
112
|
+
"arcgis-portal-group-thumbnail": ArcgisPortalGroupThumbnail;
|
|
109
113
|
"arcgis-portal-item-type": ArcgisPortalItemType;
|
|
110
114
|
"arcgis-portal-mentionable-text-area": ArcgisPortalMentionableTextArea;
|
|
111
115
|
"arcgis-portal-replacement-item-redirect": ArcgisPortalReplacementItemRedirect;
|
|
@@ -137,6 +141,10 @@ declare global {
|
|
|
137
141
|
type HTMLArcgisPortalFieldDeleteElementEventMap = ArcgisPortalFieldDelete["@eventTypes"];
|
|
138
142
|
type HTMLArcgisPortalFieldDeleteElement = ArcgisPortalFieldDelete;
|
|
139
143
|
|
|
144
|
+
type HTMLArcgisPortalGroupBadgesElement = ArcgisPortalGroupBadges;
|
|
145
|
+
|
|
146
|
+
type HTMLArcgisPortalGroupThumbnailElement = ArcgisPortalGroupThumbnail;
|
|
147
|
+
|
|
140
148
|
type HTMLArcgisPortalItemTypeElement = ArcgisPortalItemType;
|
|
141
149
|
|
|
142
150
|
type HTMLArcgisPortalMentionableTextAreaElementEventMap = ArcgisPortalMentionableTextArea["@eventTypes"];
|
package/dist/loader.js
CHANGED
|
@@ -11,6 +11,8 @@ const r = a(e, {
|
|
|
11
11
|
"arcgis-portal-extent-picker": [() => import("./components/arcgis-portal-extent-picker/customElement.js"), "active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],
|
|
12
12
|
"arcgis-portal-extent-picker-coord-field": [() => import("./components/arcgis-portal-extent-picker-coord-field/customElement.js"), "errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],
|
|
13
13
|
"arcgis-portal-field-delete": [() => import("./components/arcgis-portal-field-delete/customElement.js"), "config:,fieldNames:,layer:,mapView:,messages:,options:"],
|
|
14
|
+
"arcgis-portal-group-badges": [() => import("./components/arcgis-portal-group-badges/customElement.js"), "_messages:,appearance,empty,group:,portal:,scale,showTooltips,width"],
|
|
15
|
+
"arcgis-portal-group-thumbnail": [() => import("./components/arcgis-portal-group-thumbnail/customElement.js"), "group:,portal:,scale,tooltip"],
|
|
14
16
|
"arcgis-portal-item-type": [() => import("./components/arcgis-portal-item-type/customElement.js"), "ellipsis,hideIcon,hideText,item:,messages:,portal:,scale,serviceInfo:,showHosted,user:"],
|
|
15
17
|
"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
18
|
"arcgis-portal-replacement-item-redirect": [() => import("./components/arcgis-portal-replacement-item-redirect/customElement.js"), "itemId,messages:,portal:,user:;setFocus"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-po
|
|
|
7
7
|
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/customElement.js";
|
|
8
8
|
import type { ArcgisPortalExtentPicker } from "../components/arcgis-portal-extent-picker/customElement.js";
|
|
9
9
|
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/customElement.js";
|
|
10
|
+
import type { ArcgisPortalGroupBadges } from "../components/arcgis-portal-group-badges/customElement.js";
|
|
11
|
+
import type { ArcgisPortalGroupThumbnail } from "../components/arcgis-portal-group-thumbnail/customElement.js";
|
|
10
12
|
import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
|
|
11
13
|
import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
12
14
|
import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
|
|
@@ -51,6 +53,12 @@ interface LuminaArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDe
|
|
|
51
53
|
onarcgisFieldsDeleted?: EventHandler<ArcgisPortalFieldDelete["arcgisFieldsDeleted"]>;
|
|
52
54
|
}
|
|
53
55
|
|
|
56
|
+
interface LuminaArcgisPortalGroupBadges extends Partial<Pick<ArcgisPortalGroupBadges, "appearance" | "empty" | "group" | "portal" | "scale" | "showTooltips" | "width">>, h.JSX.HTMLAttributes<ArcgisPortalGroupBadges> {
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface LuminaArcgisPortalGroupThumbnail extends Partial<Pick<ArcgisPortalGroupThumbnail, "group" | "portal" | "scale" | "tooltip">>, h.JSX.HTMLAttributes<ArcgisPortalGroupThumbnail> {
|
|
60
|
+
}
|
|
61
|
+
|
|
54
62
|
interface LuminaArcgisPortalItemType extends Partial<Pick<ArcgisPortalItemType, "ellipsis" | "hideIcon" | "hideText" | "item" | "portal" | "scale" | "serviceInfo" | "showHosted" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalItemType> {
|
|
55
63
|
}
|
|
56
64
|
|
|
@@ -93,6 +101,8 @@ declare module "@arcgis/lumina" {
|
|
|
93
101
|
"arcgis-portal-classification-form-element": LuminaArcgisPortalClassificationFormElement;
|
|
94
102
|
"arcgis-portal-extent-picker": LuminaArcgisPortalExtentPicker;
|
|
95
103
|
"arcgis-portal-field-delete": LuminaArcgisPortalFieldDelete;
|
|
104
|
+
"arcgis-portal-group-badges": LuminaArcgisPortalGroupBadges;
|
|
105
|
+
"arcgis-portal-group-thumbnail": LuminaArcgisPortalGroupThumbnail;
|
|
96
106
|
"arcgis-portal-item-type": LuminaArcgisPortalItemType;
|
|
97
107
|
"arcgis-portal-mentionable-text-area": LuminaArcgisPortalMentionableTextArea;
|
|
98
108
|
"arcgis-portal-replacement-item-redirect": LuminaArcgisPortalReplacementItemRedirect;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-po
|
|
|
7
7
|
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/customElement.js";
|
|
8
8
|
import type { ArcgisPortalExtentPicker } from "../components/arcgis-portal-extent-picker/customElement.js";
|
|
9
9
|
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/customElement.js";
|
|
10
|
+
import type { ArcgisPortalGroupBadges } from "../components/arcgis-portal-group-badges/customElement.js";
|
|
11
|
+
import type { ArcgisPortalGroupThumbnail } from "../components/arcgis-portal-group-thumbnail/customElement.js";
|
|
10
12
|
import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
|
|
11
13
|
import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
12
14
|
import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
|
|
@@ -52,6 +54,12 @@ interface PreactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDe
|
|
|
52
54
|
onarcgisFieldsDeleted?: EventHandler<ArcgisPortalFieldDelete["arcgisFieldsDeleted"]>;
|
|
53
55
|
}
|
|
54
56
|
|
|
57
|
+
interface PreactArcgisPortalGroupBadges extends Partial<Pick<ArcgisPortalGroupBadges, "appearance" | "empty" | "group" | "portal" | "scale" | "showTooltips" | "width">>, HTMLAttributes<ArcgisPortalGroupBadges> {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface PreactArcgisPortalGroupThumbnail extends Partial<Pick<ArcgisPortalGroupThumbnail, "group" | "portal" | "scale" | "tooltip">>, HTMLAttributes<ArcgisPortalGroupThumbnail> {
|
|
61
|
+
}
|
|
62
|
+
|
|
55
63
|
interface PreactArcgisPortalItemType extends Partial<Pick<ArcgisPortalItemType, "ellipsis" | "hideIcon" | "hideText" | "item" | "portal" | "scale" | "serviceInfo" | "showHosted" | "user">>, HTMLAttributes<ArcgisPortalItemType> {
|
|
56
64
|
}
|
|
57
65
|
|
|
@@ -94,6 +102,8 @@ declare module 'preact' {
|
|
|
94
102
|
"arcgis-portal-classification-form-element": PreactArcgisPortalClassificationFormElement;
|
|
95
103
|
"arcgis-portal-extent-picker": PreactArcgisPortalExtentPicker;
|
|
96
104
|
"arcgis-portal-field-delete": PreactArcgisPortalFieldDelete;
|
|
105
|
+
"arcgis-portal-group-badges": PreactArcgisPortalGroupBadges;
|
|
106
|
+
"arcgis-portal-group-thumbnail": PreactArcgisPortalGroupThumbnail;
|
|
97
107
|
"arcgis-portal-item-type": PreactArcgisPortalItemType;
|
|
98
108
|
"arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
|
|
99
109
|
"arcgis-portal-replacement-item-redirect": PreactArcgisPortalReplacementItemRedirect;
|
|
@@ -112,6 +122,8 @@ declare module 'preact' {
|
|
|
112
122
|
"arcgis-portal-classification-form-element": PreactArcgisPortalClassificationFormElement;
|
|
113
123
|
"arcgis-portal-extent-picker": PreactArcgisPortalExtentPicker;
|
|
114
124
|
"arcgis-portal-field-delete": PreactArcgisPortalFieldDelete;
|
|
125
|
+
"arcgis-portal-group-badges": PreactArcgisPortalGroupBadges;
|
|
126
|
+
"arcgis-portal-group-thumbnail": PreactArcgisPortalGroupThumbnail;
|
|
115
127
|
"arcgis-portal-item-type": PreactArcgisPortalItemType;
|
|
116
128
|
"arcgis-portal-mentionable-text-area": PreactArcgisPortalMentionableTextArea;
|
|
117
129
|
"arcgis-portal-replacement-item-redirect": PreactArcgisPortalReplacementItemRedirect;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-po
|
|
|
7
7
|
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/customElement.js";
|
|
8
8
|
import type { ArcgisPortalExtentPicker } from "../components/arcgis-portal-extent-picker/customElement.js";
|
|
9
9
|
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/customElement.js";
|
|
10
|
+
import type { ArcgisPortalGroupBadges } from "../components/arcgis-portal-group-badges/customElement.js";
|
|
11
|
+
import type { ArcgisPortalGroupThumbnail } from "../components/arcgis-portal-group-thumbnail/customElement.js";
|
|
10
12
|
import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
|
|
11
13
|
import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
12
14
|
import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
|
|
@@ -52,6 +54,12 @@ interface ReactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDel
|
|
|
52
54
|
onarcgisFieldsDeleted?: EventHandler<ArcgisPortalFieldDelete["arcgisFieldsDeleted"]>;
|
|
53
55
|
}
|
|
54
56
|
|
|
57
|
+
interface ReactArcgisPortalGroupBadges extends Partial<Pick<ArcgisPortalGroupBadges, "appearance" | "empty" | "group" | "portal" | "scale" | "showTooltips" | "width">>, HTMLProps<ArcgisPortalGroupBadges> {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface ReactArcgisPortalGroupThumbnail extends Partial<Pick<ArcgisPortalGroupThumbnail, "group" | "portal" | "scale" | "tooltip">>, HTMLProps<ArcgisPortalGroupThumbnail> {
|
|
61
|
+
}
|
|
62
|
+
|
|
55
63
|
interface ReactArcgisPortalItemType extends Partial<Pick<ArcgisPortalItemType, "ellipsis" | "hideIcon" | "hideText" | "item" | "portal" | "scale" | "serviceInfo" | "showHosted" | "user">>, HTMLProps<ArcgisPortalItemType> {
|
|
56
64
|
}
|
|
57
65
|
|
|
@@ -94,6 +102,8 @@ declare module "react" {
|
|
|
94
102
|
"arcgis-portal-classification-form-element": ReactArcgisPortalClassificationFormElement;
|
|
95
103
|
"arcgis-portal-extent-picker": ReactArcgisPortalExtentPicker;
|
|
96
104
|
"arcgis-portal-field-delete": ReactArcgisPortalFieldDelete;
|
|
105
|
+
"arcgis-portal-group-badges": ReactArcgisPortalGroupBadges;
|
|
106
|
+
"arcgis-portal-group-thumbnail": ReactArcgisPortalGroupThumbnail;
|
|
97
107
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
98
108
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
99
109
|
"arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
|
|
@@ -114,6 +124,8 @@ declare module "react/jsx-runtime" {
|
|
|
114
124
|
"arcgis-portal-classification-form-element": ReactArcgisPortalClassificationFormElement;
|
|
115
125
|
"arcgis-portal-extent-picker": ReactArcgisPortalExtentPicker;
|
|
116
126
|
"arcgis-portal-field-delete": ReactArcgisPortalFieldDelete;
|
|
127
|
+
"arcgis-portal-group-badges": ReactArcgisPortalGroupBadges;
|
|
128
|
+
"arcgis-portal-group-thumbnail": ReactArcgisPortalGroupThumbnail;
|
|
117
129
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
118
130
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
119
131
|
"arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
|
|
@@ -134,6 +146,8 @@ declare module "react/jsx-dev-runtime" {
|
|
|
134
146
|
"arcgis-portal-classification-form-element": ReactArcgisPortalClassificationFormElement;
|
|
135
147
|
"arcgis-portal-extent-picker": ReactArcgisPortalExtentPicker;
|
|
136
148
|
"arcgis-portal-field-delete": ReactArcgisPortalFieldDelete;
|
|
149
|
+
"arcgis-portal-group-badges": ReactArcgisPortalGroupBadges;
|
|
150
|
+
"arcgis-portal-group-thumbnail": ReactArcgisPortalGroupThumbnail;
|
|
137
151
|
"arcgis-portal-item-type": ReactArcgisPortalItemType;
|
|
138
152
|
"arcgis-portal-mentionable-text-area": ReactArcgisPortalMentionableTextArea;
|
|
139
153
|
"arcgis-portal-replacement-item-redirect": ReactArcgisPortalReplacementItemRedirect;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import type { ArcgisPortalClassificationFavorite } from "../components/arcgis-po
|
|
|
7
7
|
import type { ArcgisPortalClassificationFormElement } from "../components/arcgis-portal-classification-form-element/customElement.js";
|
|
8
8
|
import type { ArcgisPortalExtentPicker } from "../components/arcgis-portal-extent-picker/customElement.js";
|
|
9
9
|
import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-delete/customElement.js";
|
|
10
|
+
import type { ArcgisPortalGroupBadges } from "../components/arcgis-portal-group-badges/customElement.js";
|
|
11
|
+
import type { ArcgisPortalGroupThumbnail } from "../components/arcgis-portal-group-thumbnail/customElement.js";
|
|
10
12
|
import type { ArcgisPortalItemType } from "../components/arcgis-portal-item-type/customElement.js";
|
|
11
13
|
import type { ArcgisPortalMentionableTextArea } from "../components/arcgis-portal-mentionable-text-area/customElement.js";
|
|
12
14
|
import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
|
|
@@ -52,6 +54,12 @@ interface StencilArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldD
|
|
|
52
54
|
onArcgisFieldsDeleted?: EventHandler<ArcgisPortalFieldDelete["arcgisFieldsDeleted"]>;
|
|
53
55
|
}
|
|
54
56
|
|
|
57
|
+
interface StencilArcgisPortalGroupBadges extends Partial<Pick<ArcgisPortalGroupBadges, "appearance" | "empty" | "group" | "portal" | "scale" | "showTooltips" | "width">>, StencilJsx.HTMLAttributes<ArcgisPortalGroupBadges> {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface StencilArcgisPortalGroupThumbnail extends Partial<Pick<ArcgisPortalGroupThumbnail, "group" | "portal" | "scale" | "tooltip">>, StencilJsx.HTMLAttributes<ArcgisPortalGroupThumbnail> {
|
|
61
|
+
}
|
|
62
|
+
|
|
55
63
|
interface StencilArcgisPortalItemType extends Partial<Pick<ArcgisPortalItemType, "ellipsis" | "hideIcon" | "hideText" | "item" | "portal" | "scale" | "serviceInfo" | "showHosted" | "user">>, StencilJsx.HTMLAttributes<ArcgisPortalItemType> {
|
|
56
64
|
}
|
|
57
65
|
|
|
@@ -92,6 +100,8 @@ interface ExposedElements {
|
|
|
92
100
|
"arcgis-portal-classification-form-element": StencilArcgisPortalClassificationFormElement;
|
|
93
101
|
"arcgis-portal-extent-picker": StencilArcgisPortalExtentPicker;
|
|
94
102
|
"arcgis-portal-field-delete": StencilArcgisPortalFieldDelete;
|
|
103
|
+
"arcgis-portal-group-badges": StencilArcgisPortalGroupBadges;
|
|
104
|
+
"arcgis-portal-group-thumbnail": StencilArcgisPortalGroupThumbnail;
|
|
95
105
|
"arcgis-portal-item-type": StencilArcgisPortalItemType;
|
|
96
106
|
"arcgis-portal-mentionable-text-area": StencilArcgisPortalMentionableTextArea;
|
|
97
107
|
"arcgis-portal-replacement-item-redirect": StencilArcgisPortalReplacementItemRedirect;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/portal-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.8",
|
|
4
4
|
"description": "ArcGIS Portal Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -47,9 +47,9 @@
|
|
|
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.
|
|
51
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
52
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
50
|
+
"@arcgis/ai-components": "5.2.0-next.8",
|
|
51
|
+
"@arcgis/lumina": "5.2.0-next.8",
|
|
52
|
+
"@arcgis/toolkit": "5.2.0-next.8"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@arcgis/core": "^5.2.0-next",
|
|
File without changes
|