@esri/hub-web-components 0.37.1 → 0.37.3
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/24LWDIWH.js +2 -0
- package/dist/cdn/{OCLH76JV.js → 4VZL3FH3.js} +1 -1
- package/dist/cdn/{ENIUDJ7K.js → 5SFG6XNQ.js} +1 -1
- package/dist/cdn/{DIAOUTLA.js → 5VH76XSQ.js} +1 -1
- package/dist/cdn/{UAGYDOBI.js → 77NTOQZO.js} +1 -1
- package/dist/cdn/CKOFCDE3.js +2 -0
- package/dist/cdn/{J2T727KW.js → EAB7DUGA.js} +1 -1
- package/dist/cdn/GLKCCCVQ.js +2 -0
- package/dist/cdn/{J6YVMYK4.js → HE3DHDMO.js} +1 -1
- package/dist/cdn/{MK2IL6EU.js → HKS652OZ.js} +1 -1
- package/dist/cdn/{UNAHMPVZ.js → I2CC4Z7B.js} +1 -1
- package/dist/cdn/{BFDKTUKB.js → I3GKS5LC.js} +1 -1
- package/dist/cdn/IE3N5HKQ.js +2 -0
- package/dist/cdn/{I4GSA6FV.js → JXTLVDZ3.js} +1 -1
- package/dist/cdn/{NCDVI3CS.js → K4JVFZDS.js} +1 -1
- package/dist/cdn/{LGCNVPYM.js → MLV6BSL7.js} +1 -1
- package/dist/cdn/{6X3MZZZU.js → MT4BUGHF.js} +1 -1
- package/dist/cdn/MUJK2PAB.js +10 -0
- package/dist/cdn/{WO6HRRH3.js → N6VT6AJI.js} +1 -1
- package/dist/cdn/{P25YNGGG.js → PTAQKJEW.js} +1 -1
- package/dist/cdn/{M4WTQTD4.js → SOGZ7ZLI.js} +1 -1
- package/dist/cdn/{V3OFOLDD.js → VQ6FS65F.js} +1 -1
- package/dist/cdn/{H4XKOYUB.js → WTFAANTX.js} +1 -1
- package/dist/cdn/{E5HKFFMD.js → XRBZRHR3.js} +1 -1
- package/dist/cdn/{LX5L3QU6.js → YDFCEZES.js} +1 -1
- package/dist/cdn/YEWX4IVK.js +6 -0
- package/dist/cdn/{PHGORKJG.js → YTAOXT7K.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-hub-entity-view-layout/customElement.js +42 -36
- package/dist/components/arcgis-layout-container/customElement.js +221 -221
- package/dist/components/arcgis-layout-editor-toolbar/customElement.js +13 -13
- package/dist/components/arcgis-layout-node-controls/customElement.js +27 -27
- package/dist/components/arcgis-layout-node-wrapper/customElement.js +31 -31
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +55 -54
- package/dist/cdn/5PZXLCBE.js +0 -2
- package/dist/cdn/EG7UYDYW.js +0 -2
- package/dist/cdn/PQAWOUBJ.js +0 -6
- package/dist/cdn/QA3FAKMR.js +0 -2
- package/dist/cdn/TZLGC5F6.js +0 -2
- package/dist/cdn/W5FA4IWP.js +0 -10
package/dist/docs/docs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"timestamp":"2026-03-17T15:53:32","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.9","typescriptVersion":"5.8.3"},"components":[{"filePath":"src/components/chat-shell/chat-shell.tsx","tag":"arcgis-chat-shell","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"aboutContent","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"about-content","reflectToAttr":false,"docs":"","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"mapEnabled","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-enabled","reflectToAttr":false,"docs":"","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"mapVisible","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-visible","reflectToAttr":false,"docs":"","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst chatShell = document.querySelector(\"arcgis-chat-shell\");\ndocument.body.append(chatShell);\nawait chatShell.componentOnReady();\nconsole.log(\"arcgis-chat-shell is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisUpdateMapVisibility","detail":"boolean","bubbles":true,"complexType":{"original":"boolean","resolved":"boolean","references":{}},"cancelable":true,"composed":true,"docs":"","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/chat-ui/chat-ui.tsx","tag":"arcgis-chat-ui","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"botDescription","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"bot-description","reflectToAttr":false,"docs":"The disclaimer text for the AI assistant","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"botTitle","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"bot-title","reflectToAttr":false,"docs":"The title of the AI assistant","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"conversationId","type":"string | null","complexType":{"original":"string | null","resolved":"string | null","references":{}},"mutable":true,"attr":"conversation-id","reflectToAttr":false,"docs":"The current conversation ID, or null if starting a new conversation.","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"defaultSuggestions","type":"string[]","complexType":{"original":"string[]","resolved":"string[]","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The default suggestions prompted to the user","docsTags":[],"values":[],"optional":true,"required":false},{"name":"domain","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"domain","reflectToAttr":false,"docs":"","docsTags":[],"default":"\"hub.arcgis.com\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"getFinderResponse","type":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","complexType":{"original":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","resolved":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"},"ArcgisErrorResponse":{"location":"local","path":"components/arcgis-hub-ai-assistant/util/framework","id":"notImplemented"},"FinderSkillResponse":{"location":"local","path":"components/arcgis-hub-ai-assistant/util/framework","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Function property to get a Finder response.\nShould be provided by the parent component, `hub-ai-assistant`.","docsTags":[{"name":"param","text":"message - The user message to send."},{"name":"param","text":"conversationId - The current conversation ID, or null to start a new conversation."},{"name":"returns","text":"A promise resolving to an array of ArcgisErrorResponse or FinderSkillResponse."}],"values":[],"optional":true,"required":false},{"name":"inputText","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"input-text","reflectToAttr":false,"docs":"The current text input value from the user.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisChatUI = document.querySelector(\"arcgis-chat-ui\");\ndocument.body.append(arcgisChatUI);\nawait arcgisChatUI.componentOnReady();\nconsole.log(\"arcgis-chat-ui is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"submitUserMessage","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(text: string, type: \"query\" | \"suggest\"): Promise<void>","parameters":[{"name":"text","type":"string","docs":"The user's input message."},{"name":"type","type":"\"query\" | \"suggest\"","docs":""}],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"submitUserMessage(text: string, type: \"query\" | \"suggest\"): Promise<void>","parameters":[{"name":"text","type":"string","docs":"The user's input message."},{"name":"type","type":"\"query\" | \"suggest\"","docs":""}],"docs":"Submits the user's message to the chat.\nClears the input, adds the message to the chat history, and triggers the AI response.\nCurrently using the @method decorator to expose this method to the DOM,\nallowing it to be called from `embed-modal.html`. Once this application has been migrated,\nI assume there will be no need for the html component and the @method decorator can be removed.","docsTags":[]}],"events":[{"event":"arcgisAddDataClick","detail":"AddDataAction","bubbles":true,"complexType":{"original":"AddDataAction","resolved":"AddDataAction","references":{"AddDataAction":{"location":"local","path":"components/arcgis-chat-ui/util/types","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the user clicks to add data from a chat message.","docsTags":[]},{"event":"arcgisAppIdentityStartSignIn","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"","docsTags":[]},{"event":"arcgisLocationClick","detail":"FinderLocation","bubbles":true,"complexType":{"original":"FinderLocation","resolved":"FinderLocation","references":{"FinderLocation":{"location":"local","path":"components/arcgis-hub-ai-assistant/util/framework","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the user clicks a zoom to location button in a chat message.","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/hub-ai-assistant/hub-ai-assistant.tsx","tag":"arcgis-hub-ai-assistant","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"_layers","type":"Layer[]","complexType":{"original":"Layer[]","resolved":"Layer[]","references":{"default":{"location":"import","path":"@arcgis/core/layers/Layer.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"botDescription","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"bot-description","reflectToAttr":false,"docs":"Basic info about the bot to display in the \"About\" panel","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"botTitle","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"bot-title","reflectToAttr":false,"docs":"The title of the AI assistant bot, displayed in the UI.","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"defaultSuggestions","type":"string[]","complexType":{"original":"string[]","resolved":"string[]","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The default suggestions for the user","docsTags":[],"values":[],"optional":true,"required":false},{"name":"extent","type":"number[][] | undefined","complexType":{"original":"number[][] | undefined","resolved":"number[][] | undefined","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The default map extent (bounding box) to use for the map view.\nFormat: [[minX, minY], [maxX, maxY]]","docsTags":[],"values":[],"optional":true,"required":false},{"name":"hub","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"hub","reflectToAttr":false,"docs":"Hub domain to use for finding relevant datasets","docsTags":[],"default":"\"https://hub.arcgis.com\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"itemId","type":"string | null","complexType":{"original":"string | null","resolved":"string | null","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"ArcGIS Item id for assistant configuration","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"itemModifiedDate","type":"number","complexType":{"original":"number","resolved":"number","references":{}},"mutable":true,"attr":"item-modified-date","reflectToAttr":false,"docs":"The last modified timestamp of the assistant configuration item (site)","docsTags":[],"default":"0","values":[{"type":"number"}],"optional":true,"required":false},{"name":"location","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"location","reflectToAttr":false,"docs":"Default geographic location to limit / focus results","docsTags":[],"default":"\"USA\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"mapEnabled","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-enabled","reflectToAttr":false,"docs":"If the map is enabled (able to be togged on within the component).","docsTags":[],"default":"true","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"mapLayers","type":"string[]","complexType":{"original":"string[]","resolved":"string[]","references":{}},"mutable":true,"reflectToAttr":false,"docs":"Portal IDs of the layers on the map","docsTags":[],"values":[],"optional":true,"required":false},{"name":"mapShowTable","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-show-table","reflectToAttr":false,"docs":"In the map, option to show the \"Table\" widget.","docsTags":[],"default":"true","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"mapVisible","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-visible","reflectToAttr":false,"docs":"If the map is currently visible. Only applicable if `mapEnabled` is true.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcGISHubAIAssistant = document.querySelector(\"arcgis-hub-ai-assistant\");\ndocument.body.append(arcGISHubAIAssistant);\nawait arcGISHubAIAssistant.componentOnReady();\nconsole.log(\"arcgis-hub-ai-assistant is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/hub-entity-view-layout/hub-entity-view-layout.tsx","tag":"arcgis-hub-entity-view-layout","overview":"","readme":"","usage":{},"docs":"Component that renders a Hub entity view\nusing the layout system.\n\nIf an entity does not have a layout defined, we\nbuild a type-specific default layout from the entity's\nmetadata. The layout does not get persisted to the\nunderlying item until the user makes changes and\npublishes them.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The Hub entity whose view will be\nrendered in a layout","docsTags":[],"values":[],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":false,"docs":"Whether the layout is in edit mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityViewLayout = document.querySelector(\"arcgis-hub-entity-view-layout\");\ndocument.body.append(arcgisHubEntityViewLayout);\nawait arcgisHubEntityViewLayout.componentOnReady();\nconsole.log(\"arcgis-hub-entity-view-layout is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisHubEntityViewPublished","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is published.","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted for telemetry","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/hub-entity-associations-card/hub-entity-associations-card.tsx","tag":"arcgis-hub-entity-associations-card","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"associationType","type":"HubEntityType","complexType":{"original":"HubEntityType","resolved":"HubEntityType","references":{"HubEntityType":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"attr":"association-type","reflectToAttr":false,"docs":"entity type to query for","docsTags":[],"default":"\"initiative\"","values":[{"type":"string","value":"template"},{"type":"string","value":"event"},{"type":"string","value":"group"},{"type":"string","value":"initiative"},{"type":"string","value":"initiativeTemplate"},{"type":"string","value":"organization"},{"type":"string","value":"survey"},{"type":"string","value":"user"},{"type":"string","value":"channel"},{"type":"string","value":"content"},{"type":"string","value":"org"},{"type":"string","value":"page"},{"type":"string","value":"project"},{"type":"string","value":"site"},{"type":"string","value":"discussion"}],"optional":true,"required":false},{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityAssociationsCard = document.querySelector(\"arcgis-hub-entity-associations-card\");\ndocument.body.append(arcgisHubEntityAssociationsCard);\nawait arcgisHubEntityAssociationsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-associations-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/hub-entity-metrics-card/hub-entity-metrics-card.tsx","tag":"arcgis-hub-entity-metrics-card","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityMetricsCard = document.querySelector(\"arcgis-hub-entity-metrics-card\");\ndocument.body.append(arcgisHubEntityMetricsCard);\nawait arcgisHubEntityMetricsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-metrics-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/hub-entity-status-card/hub-entity-status-card.tsx","tag":"arcgis-hub-entity-status-card","overview":"","readme":"","usage":{},"docs":"A card that can be added to an ILayout or leveraged\nindependently to render an entity's status.\n\nNOTE: this card is a temporary implementation, and\nwill likely be removed once we decide how to handle\nentity statuses in the context of the layout system\ne.g. via a text card with variables, for example","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityStatusCard = document.querySelector(\"arcgis-hub-entity-status-card\");\ndocument.body.append(arcgisHubEntityStatusCard);\nawait arcgisHubEntityStatusCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-status-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/nav-card/nav-card.tsx","tag":"arcgis-nav-card","overview":"","readme":"","usage":{},"docs":"The nav card is intended to render various\ntypes of in-place navigation in an ILayout (e.g.\ntabs, accordions, etc.).\n\nTODO: hook up other nav types (e.g. accordion)\nTODO: hook up query params (e.g. navigating to\na different tab should update the URL, thereby\nenabling deep linking).","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"activatedNode","type":"ILayoutNode | undefined","complexType":{"original":"ILayoutNode | undefined","resolved":"ILayoutNode | undefined","references":{"ILayoutNode":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout node that is currently activated for editing. This is\ntracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"debug","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"debug","reflectToAttr":false,"docs":"Enables debug mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":true,"docs":"Whether the parent layout is in edit mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"node","type":"ILayoutNode","complexType":{"original":"ILayoutNode","resolved":"ILayoutNode","references":{"ILayoutNode":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"sections","type":"ISection[]","complexType":{"original":"ISection[]","resolved":"ISection[]","references":{"ISection":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The sections to render within the nav card","docsTags":[],"values":[],"optional":true,"required":false},{"name":"translations","type":"ITranslationMap","complexType":{"original":"ITranslationMap","resolved":"ITranslationMap","references":{"ITranslationMap":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Customer provided translations to override the\ndefault strings.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"utils","type":"LayoutUtils | undefined","complexType":{"original":"LayoutUtils | undefined","resolved":"LayoutUtils | undefined","references":{"LayoutUtils":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Utility functions passed down to all child layout\ncomponents. For now, this is specifically needed to\nprocess a remote layout that is referenced by a\nlayout node.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisNavCard = document.querySelector(\"arcgis-nav-card\");\ndocument.body.append(arcgisNavCard);\nawait arcgisNavCard.componentOnReady();\nconsole.log(\"arcgis-nav-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisLayoutActivateNode","detail":"ILayoutNodeActivateEventDetail","bubbles":true,"complexType":{"original":"ILayoutNodeActivateEventDetail","resolved":"ILayoutNodeActivateEventDetail","references":{"ILayoutNodeActivateEventDetail":{"location":"local","path":"components/layouts/utils/layout-event-types","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"","docsTags":[]},{"event":"arcgisLayoutNodeFocus","detail":"boolean","bubbles":true,"complexType":{"original":"boolean","resolved":"boolean","references":{}},"cancelable":true,"composed":true,"docs":"","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/text-card/text-card.tsx","tag":"arcgis-text-card","overview":"","readme":"","usage":{},"docs":"A text card that can be added to an ILayout or leveraged\nindependently. The text content is sanitized before rendering\nto prevent XSS attacks.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"html","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"html","reflectToAttr":false,"docs":"The HTML content to display - this will be\nsanitized before rendering.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisTextCard = document.querySelector(\"arcgis-text-card\");\ndocument.body.append(arcgisTextCard);\nawait arcgisTextCard.componentOnReady();\nconsole.log(\"arcgis-text-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/layout/layout.tsx","tag":"arcgis-layout","overview":"","readme":"","usage":{},"docs":"Web component for rendering an ILayout. Orchestrates\nthe rendering of sections, rows, columns, and cards\nas defined by the layout JSON.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"activatedNode","type":"ILayoutNode | undefined","complexType":{"original":"ILayoutNode | undefined","resolved":"ILayoutNode | undefined","references":{"ILayoutNode":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout node that is currently activated for editing.\nThis is tracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"debug","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"debug","reflectToAttr":true,"docs":"Enables debug mode.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":true,"docs":"Whether the layout is in edit mode.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"layout","type":"ILayout | undefined","complexType":{"original":"ILayout | undefined","resolved":"ILayout | undefined","references":{"ILayout":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout to render.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"IProcessLayoutOptions","complexType":{"original":"IProcessLayoutOptions","resolved":"IProcessLayoutOptions","references":{"IProcessLayoutOptions":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayout = document.querySelector(\"arcgis-layout\");\ndocument.body.append(arcgisLayout);\nawait arcgisLayout.componentOnReady();\nconsole.log(\"arcgis-layout is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"getCardEl","returns":{"type":"Promise<HTMLConfigurableLayoutNodeElement | undefined>","docs":""},"complexType":{"signature":"(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>","parameters":[{"name":"nodeId","type":"string","docs":"The id of the node"}],"return":"Promise<HTMLConfigurableLayoutNodeElement | undefined>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"},"HTMLConfigurableLayoutNodeElement":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"signature":"getCardEl(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>","parameters":[{"name":"nodeId","type":"string","docs":"The id of the node"}],"docs":"Public method that returns the DOM element for a\nlayout node by id. Used for highlighting or\nscrolling to a node in the layout.","docsTags":[]}],"events":[{"event":"arcgisHubLayoutRendered","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout has finished\nrendering.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/layout-container/layout-container.tsx","tag":"arcgis-layout-container","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"debug","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"debug","reflectToAttr":true,"docs":"","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":true,"docs":"Whether the layout is in edit mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isPublishing","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-publishing","reflectToAttr":false,"docs":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"layout","type":"Layout","complexType":{"original":"Layout","resolved":"Layout","references":{"Layout":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout to render","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"IProcessLayoutOptions","complexType":{"original":"IProcessLayoutOptions","resolved":"IProcessLayoutOptions","references":{"IProcessLayoutOptions":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayoutContainer = document.querySelector(\"arcgis-layout-container\");\ndocument.body.append(arcgisLayoutContainer);\nawait arcgisLayoutContainer.componentOnReady();\nconsole.log(\"arcgis-layout-container is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisHubLayoutChanged","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is edited","docsTags":[]},{"event":"arcgisHubLayoutEditorExit","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout editor is exited","docsTags":[]},{"event":"arcgisHubLayoutPublished","detail":"ILayoutPublishEventDetail","bubbles":true,"complexType":{"original":"ILayoutPublishEventDetail","resolved":"ILayoutPublishEventDetail","references":{"ILayoutPublishEventDetail":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is published","docsTags":[]},{"event":"arcgisHubLayoutReset","detail":"ILayoutResetEventDetail","bubbles":true,"complexType":{"original":"ILayoutResetEventDetail","resolved":"ILayoutResetEventDetail","references":{"ILayoutResetEventDetail":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is reset","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted for telemetry","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]}],"typeLibrary":{}}
|
|
1
|
+
{"timestamp":"2026-03-19T19:02:25","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.9","typescriptVersion":"5.8.3"},"components":[{"filePath":"src/components/chat-shell/chat-shell.tsx","tag":"arcgis-chat-shell","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"aboutContent","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"about-content","reflectToAttr":false,"docs":"","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"mapEnabled","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-enabled","reflectToAttr":false,"docs":"","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"mapVisible","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-visible","reflectToAttr":false,"docs":"","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst chatShell = document.querySelector(\"arcgis-chat-shell\");\ndocument.body.append(chatShell);\nawait chatShell.componentOnReady();\nconsole.log(\"arcgis-chat-shell is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisUpdateMapVisibility","detail":"boolean","bubbles":true,"complexType":{"original":"boolean","resolved":"boolean","references":{}},"cancelable":true,"composed":true,"docs":"","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/chat-ui/chat-ui.tsx","tag":"arcgis-chat-ui","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"botDescription","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"bot-description","reflectToAttr":false,"docs":"The disclaimer text for the AI assistant","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"botTitle","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"bot-title","reflectToAttr":false,"docs":"The title of the AI assistant","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"conversationId","type":"string | null","complexType":{"original":"string | null","resolved":"string | null","references":{}},"mutable":true,"attr":"conversation-id","reflectToAttr":false,"docs":"The current conversation ID, or null if starting a new conversation.","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"defaultSuggestions","type":"string[]","complexType":{"original":"string[]","resolved":"string[]","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The default suggestions prompted to the user","docsTags":[],"values":[],"optional":true,"required":false},{"name":"domain","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"domain","reflectToAttr":false,"docs":"","docsTags":[],"default":"\"hub.arcgis.com\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"getFinderResponse","type":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","complexType":{"original":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","resolved":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"},"ArcgisErrorResponse":{"location":"local","path":"components/arcgis-hub-ai-assistant/util/framework","id":"notImplemented"},"FinderSkillResponse":{"location":"local","path":"components/arcgis-hub-ai-assistant/util/framework","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Function property to get a Finder response.\nShould be provided by the parent component, `hub-ai-assistant`.","docsTags":[{"name":"param","text":"message - The user message to send."},{"name":"param","text":"conversationId - The current conversation ID, or null to start a new conversation."},{"name":"returns","text":"A promise resolving to an array of ArcgisErrorResponse or FinderSkillResponse."}],"values":[],"optional":true,"required":false},{"name":"inputText","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"input-text","reflectToAttr":false,"docs":"The current text input value from the user.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisChatUI = document.querySelector(\"arcgis-chat-ui\");\ndocument.body.append(arcgisChatUI);\nawait arcgisChatUI.componentOnReady();\nconsole.log(\"arcgis-chat-ui is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"submitUserMessage","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(text: string, type: \"query\" | \"suggest\"): Promise<void>","parameters":[{"name":"text","type":"string","docs":"The user's input message."},{"name":"type","type":"\"query\" | \"suggest\"","docs":""}],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"submitUserMessage(text: string, type: \"query\" | \"suggest\"): Promise<void>","parameters":[{"name":"text","type":"string","docs":"The user's input message."},{"name":"type","type":"\"query\" | \"suggest\"","docs":""}],"docs":"Submits the user's message to the chat.\nClears the input, adds the message to the chat history, and triggers the AI response.\nCurrently using the @method decorator to expose this method to the DOM,\nallowing it to be called from `embed-modal.html`. Once this application has been migrated,\nI assume there will be no need for the html component and the @method decorator can be removed.","docsTags":[]}],"events":[{"event":"arcgisAddDataClick","detail":"AddDataAction","bubbles":true,"complexType":{"original":"AddDataAction","resolved":"AddDataAction","references":{"AddDataAction":{"location":"local","path":"components/arcgis-chat-ui/util/types","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the user clicks to add data from a chat message.","docsTags":[]},{"event":"arcgisAppIdentityStartSignIn","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"","docsTags":[]},{"event":"arcgisLocationClick","detail":"FinderLocation","bubbles":true,"complexType":{"original":"FinderLocation","resolved":"FinderLocation","references":{"FinderLocation":{"location":"local","path":"components/arcgis-hub-ai-assistant/util/framework","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the user clicks a zoom to location button in a chat message.","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when telemetry data is sent from the chat UI.","docsTags":[{"name":"event","text":"hubTelemetry"}]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/hub-ai-assistant/hub-ai-assistant.tsx","tag":"arcgis-hub-ai-assistant","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"_layers","type":"Layer[]","complexType":{"original":"Layer[]","resolved":"Layer[]","references":{"default":{"location":"import","path":"@arcgis/core/layers/Layer.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"botDescription","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"bot-description","reflectToAttr":false,"docs":"Basic info about the bot to display in the \"About\" panel","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"botTitle","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"bot-title","reflectToAttr":false,"docs":"The title of the AI assistant bot, displayed in the UI.","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"defaultSuggestions","type":"string[]","complexType":{"original":"string[]","resolved":"string[]","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The default suggestions for the user","docsTags":[],"values":[],"optional":true,"required":false},{"name":"extent","type":"number[][] | undefined","complexType":{"original":"number[][] | undefined","resolved":"number[][] | undefined","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The default map extent (bounding box) to use for the map view.\nFormat: [[minX, minY], [maxX, maxY]]","docsTags":[],"values":[],"optional":true,"required":false},{"name":"hub","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"hub","reflectToAttr":false,"docs":"Hub domain to use for finding relevant datasets","docsTags":[],"default":"\"https://hub.arcgis.com\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"itemId","type":"string | null","complexType":{"original":"string | null","resolved":"string | null","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"ArcGIS Item id for assistant configuration","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"itemModifiedDate","type":"number","complexType":{"original":"number","resolved":"number","references":{}},"mutable":true,"attr":"item-modified-date","reflectToAttr":false,"docs":"The last modified timestamp of the assistant configuration item (site)","docsTags":[],"default":"0","values":[{"type":"number"}],"optional":true,"required":false},{"name":"location","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"location","reflectToAttr":false,"docs":"Default geographic location to limit / focus results","docsTags":[],"default":"\"USA\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"mapEnabled","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-enabled","reflectToAttr":false,"docs":"If the map is enabled (able to be togged on within the component).","docsTags":[],"default":"true","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"mapLayers","type":"string[]","complexType":{"original":"string[]","resolved":"string[]","references":{}},"mutable":true,"reflectToAttr":false,"docs":"Portal IDs of the layers on the map","docsTags":[],"values":[],"optional":true,"required":false},{"name":"mapShowTable","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-show-table","reflectToAttr":false,"docs":"In the map, option to show the \"Table\" widget.","docsTags":[],"default":"true","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"mapVisible","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"map-visible","reflectToAttr":false,"docs":"If the map is currently visible. Only applicable if `mapEnabled` is true.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcGISHubAIAssistant = document.querySelector(\"arcgis-hub-ai-assistant\");\ndocument.body.append(arcGISHubAIAssistant);\nawait arcGISHubAIAssistant.componentOnReady();\nconsole.log(\"arcgis-hub-ai-assistant is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/hub-entity-view-layout/hub-entity-view-layout.tsx","tag":"arcgis-hub-entity-view-layout","overview":"","readme":"","usage":{},"docs":"Component that renders a Hub entity view\nusing the layout system.\n\nIf an entity does not have a layout defined, we\nbuild a type-specific default layout from the entity's\nmetadata. The layout does not get persisted to the\nunderlying item until the user makes changes and\npublishes them.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The Hub entity whose view will be\nrendered in a layout","docsTags":[],"values":[],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":false,"docs":"Whether the layout is in edit mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityViewLayout = document.querySelector(\"arcgis-hub-entity-view-layout\");\ndocument.body.append(arcgisHubEntityViewLayout);\nawait arcgisHubEntityViewLayout.componentOnReady();\nconsole.log(\"arcgis-hub-entity-view-layout is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisHubEntityViewPublished","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is published.","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted for telemetry","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/hub-entity-associations-card/hub-entity-associations-card.tsx","tag":"arcgis-hub-entity-associations-card","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"associationType","type":"HubEntityType","complexType":{"original":"HubEntityType","resolved":"HubEntityType","references":{"HubEntityType":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"attr":"association-type","reflectToAttr":false,"docs":"entity type to query for","docsTags":[],"default":"\"initiative\"","values":[{"type":"string","value":"template"},{"type":"string","value":"event"},{"type":"string","value":"group"},{"type":"string","value":"initiative"},{"type":"string","value":"initiativeTemplate"},{"type":"string","value":"organization"},{"type":"string","value":"survey"},{"type":"string","value":"user"},{"type":"string","value":"channel"},{"type":"string","value":"content"},{"type":"string","value":"org"},{"type":"string","value":"page"},{"type":"string","value":"project"},{"type":"string","value":"site"},{"type":"string","value":"discussion"}],"optional":true,"required":false},{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityAssociationsCard = document.querySelector(\"arcgis-hub-entity-associations-card\");\ndocument.body.append(arcgisHubEntityAssociationsCard);\nawait arcgisHubEntityAssociationsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-associations-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/hub-entity-metrics-card/hub-entity-metrics-card.tsx","tag":"arcgis-hub-entity-metrics-card","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityMetricsCard = document.querySelector(\"arcgis-hub-entity-metrics-card\");\ndocument.body.append(arcgisHubEntityMetricsCard);\nawait arcgisHubEntityMetricsCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-metrics-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/hub-entity-status-card/hub-entity-status-card.tsx","tag":"arcgis-hub-entity-status-card","overview":"","readme":"","usage":{},"docs":"A card that can be added to an ILayout or leveraged\nindependently to render an entity's status.\n\nNOTE: this card is a temporary implementation, and\nwill likely be removed once we decide how to handle\nentity statuses in the context of the layout system\ne.g. via a text card with variables, for example","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"entity","type":"HubEntity | undefined","complexType":{"original":"HubEntity | undefined","resolved":"HubEntity | undefined","references":{"HubEntity":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisHubEntityStatusCard = document.querySelector(\"arcgis-hub-entity-status-card\");\ndocument.body.append(arcgisHubEntityStatusCard);\nawait arcgisHubEntityStatusCard.componentOnReady();\nconsole.log(\"arcgis-hub-entity-status-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/nav-card/nav-card.tsx","tag":"arcgis-nav-card","overview":"","readme":"","usage":{},"docs":"The nav card is intended to render various\ntypes of in-place navigation in an ILayout (e.g.\ntabs, accordions, etc.).\n\nTODO: hook up other nav types (e.g. accordion)\nTODO: hook up query params (e.g. navigating to\na different tab should update the URL, thereby\nenabling deep linking).","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"activatedNode","type":"ILayoutNode | undefined","complexType":{"original":"ILayoutNode | undefined","resolved":"ILayoutNode | undefined","references":{"ILayoutNode":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout node that is currently activated for editing. This is\ntracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"debug","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"debug","reflectToAttr":false,"docs":"Enables debug mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":true,"docs":"Whether the parent layout is in edit mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"node","type":"ILayoutNode","complexType":{"original":"ILayoutNode","resolved":"ILayoutNode","references":{"ILayoutNode":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"sections","type":"ISection[]","complexType":{"original":"ISection[]","resolved":"ISection[]","references":{"ISection":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The sections to render within the nav card","docsTags":[],"values":[],"optional":true,"required":false},{"name":"translations","type":"ITranslationMap","complexType":{"original":"ITranslationMap","resolved":"ITranslationMap","references":{"ITranslationMap":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Customer provided translations to override the\ndefault strings.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"utils","type":"LayoutUtils | undefined","complexType":{"original":"LayoutUtils | undefined","resolved":"LayoutUtils | undefined","references":{"LayoutUtils":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Utility functions passed down to all child layout\ncomponents. For now, this is specifically needed to\nprocess a remote layout that is referenced by a\nlayout node.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisNavCard = document.querySelector(\"arcgis-nav-card\");\ndocument.body.append(arcgisNavCard);\nawait arcgisNavCard.componentOnReady();\nconsole.log(\"arcgis-nav-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisLayoutActivateNode","detail":"ILayoutNodeActivateEventDetail","bubbles":true,"complexType":{"original":"ILayoutNodeActivateEventDetail","resolved":"ILayoutNodeActivateEventDetail","references":{"ILayoutNodeActivateEventDetail":{"location":"local","path":"components/layouts/utils/layout-event-types","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"","docsTags":[]},{"event":"arcgisLayoutNodeFocus","detail":"boolean","bubbles":true,"complexType":{"original":"boolean","resolved":"boolean","references":{}},"cancelable":true,"composed":true,"docs":"","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/cards/text-card/text-card.tsx","tag":"arcgis-text-card","overview":"","readme":"","usage":{},"docs":"A text card that can be added to an ILayout or leveraged\nindependently. The text content is sanitized before rendering\nto prevent XSS attacks.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"html","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"html","reflectToAttr":false,"docs":"The HTML content to display - this will be\nsanitized before rendering.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisTextCard = document.querySelector(\"arcgis-text-card\");\ndocument.body.append(arcgisTextCard);\nawait arcgisTextCard.componentOnReady();\nconsole.log(\"arcgis-text-card is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/layout/layout.tsx","tag":"arcgis-layout","overview":"","readme":"","usage":{},"docs":"Web component for rendering an ILayout. Orchestrates\nthe rendering of sections, rows, columns, and cards\nas defined by the layout JSON.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"activatedNode","type":"ILayoutNode | undefined","complexType":{"original":"ILayoutNode | undefined","resolved":"ILayoutNode | undefined","references":{"ILayoutNode":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout node that is currently activated for editing.\nThis is tracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"debug","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"debug","reflectToAttr":true,"docs":"Enables debug mode.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":true,"docs":"Whether the layout is in edit mode.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"layout","type":"ILayout | undefined","complexType":{"original":"ILayout | undefined","resolved":"ILayout | undefined","references":{"ILayout":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout to render.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"IProcessLayoutOptions","complexType":{"original":"IProcessLayoutOptions","resolved":"IProcessLayoutOptions","references":{"IProcessLayoutOptions":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayout = document.querySelector(\"arcgis-layout\");\ndocument.body.append(arcgisLayout);\nawait arcgisLayout.componentOnReady();\nconsole.log(\"arcgis-layout is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"getCardEl","returns":{"type":"Promise<HTMLConfigurableLayoutNodeElement | undefined>","docs":""},"complexType":{"signature":"(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>","parameters":[{"name":"nodeId","type":"string","docs":"The id of the node"}],"return":"Promise<HTMLConfigurableLayoutNodeElement | undefined>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"},"HTMLConfigurableLayoutNodeElement":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"signature":"getCardEl(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>","parameters":[{"name":"nodeId","type":"string","docs":"The id of the node"}],"docs":"Public method that returns the DOM element for a\nlayout node by id. Used for highlighting or\nscrolling to a node in the layout.","docsTags":[]}],"events":[{"event":"arcgisHubLayoutRendered","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout has finished\nrendering.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/layouts/components/layout-container/layout-container.tsx","tag":"arcgis-layout-container","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"none","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"debug","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"debug","reflectToAttr":true,"docs":"","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isEditMode","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-edit-mode","reflectToAttr":true,"docs":"Whether the layout is in edit mode","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"isPublishing","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-publishing","reflectToAttr":false,"docs":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"layout","type":"Layout","complexType":{"original":"Layout","resolved":"Layout","references":{"Layout":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layout to render","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"IProcessLayoutOptions","complexType":{"original":"IProcessLayoutOptions","resolved":"IProcessLayoutOptions","references":{"IProcessLayoutOptions":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisLayoutContainer = document.querySelector(\"arcgis-layout-container\");\ndocument.body.append(arcgisLayoutContainer);\nawait arcgisLayoutContainer.componentOnReady();\nconsole.log(\"arcgis-layout-container is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisHubLayoutChanged","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is edited","docsTags":[]},{"event":"arcgisHubLayoutEditorExit","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout editor is exited","docsTags":[]},{"event":"arcgisHubLayoutPublished","detail":"ILayoutPublishEventDetail","bubbles":true,"complexType":{"original":"ILayoutPublishEventDetail","resolved":"ILayoutPublishEventDetail","references":{"ILayoutPublishEventDetail":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is published","docsTags":[]},{"event":"arcgisHubLayoutReset","detail":"ILayoutResetEventDetail","bubbles":true,"complexType":{"original":"ILayoutResetEventDetail","resolved":"ILayoutResetEventDetail","references":{"ILayoutResetEventDetail":{"location":"import","path":"@esri/hub-common","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted when the layout is reset","docsTags":[]},{"event":"hubTelemetry","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Event emitted for telemetry","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]}],"typeLibrary":{}}
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@esri/hub-web-components","version":"0.37.1","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-chat-shell","description":"### Events\n- **arcgisUpdateMapVisibility**\n- **hubTelemetry** - Event emitted when telemetry data is sent from the chat UI.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"about-content","value":{"type":"string"}},{"name":"map-enabled","default":"false","value":{"type":"boolean"}},{"name":"map-visible","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisUpdateMapVisibility","type":"boolean"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}],"js":{"properties":[{"name":"aboutContent","type":"string | undefined"},{"name":"mapEnabled","type":"boolean"},{"name":"mapVisible","type":"boolean"}],"events":[{"name":"arcgisUpdateMapVisibility","type":"boolean"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}]}},{"name":"arcgis-chat-ui","description":"### Events\n- **arcgisAddDataClick** - Event emitted when the user clicks to add data from a chat message.\n- **arcgisAppIdentityStartSignIn**\n- **arcgisLocationClick** - Event emitted when the user clicks a zoom to location button in a chat message.\n- **hubTelemetry** - Event emitted when telemetry data is sent from the chat UI.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `submitUserMessage(text: string, type: \"query\" | \"suggest\"): Promise<void>` - Submits the user's message to the chat.\nClears the input, adds the message to the chat history, and triggers the AI response.\nCurrently using the @method decorator to expose this method to the DOM,\nallowing it to be called from `embed-modal.html`. Once this application has been migrated,\nI assume there will be no need for the html component and the @method decorator can be removed.","attributes":[{"name":"bot-description","description":"The disclaimer text for the AI assistant","default":"\"\"","value":{"type":"string"}},{"name":"bot-title","description":"The title of the AI assistant","default":"\"\"","value":{"type":"string"}},{"name":"conversation-id","description":"The current conversation ID, or null if starting a new conversation.","value":{"type":"string"}},{"name":"domain","default":"\"hub.arcgis.com\"","value":{"type":"string"}},{"name":"input-text","description":"The current text input value from the user.","default":"\"\"","value":{"type":"string"}}],"events":[{"name":"arcgisAddDataClick","type":"AddDataAction","description":"Event emitted when the user clicks to add data from a chat message."},{"name":"arcgisAppIdentityStartSignIn","type":"void"},{"name":"arcgisLocationClick","type":"FinderLocation","description":"Event emitted when the user clicks a zoom to location button in a chat message."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}],"js":{"properties":[{"name":"botDescription","description":"The disclaimer text for the AI assistant","type":"string"},{"name":"botTitle","description":"The title of the AI assistant","type":"string"},{"name":"conversationId","description":"The current conversation ID, or null if starting a new conversation.","type":"string | null"},{"name":"defaultSuggestions","description":"The default suggestions prompted to the user","type":"string[]"},{"name":"domain","type":"string"},{"name":"getFinderResponse","description":"Function property to get a Finder response.\nShould be provided by the parent component, `hub-ai-assistant`.","type":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>"},{"name":"inputText","description":"The current text input value from the user.","type":"string"}],"events":[{"name":"arcgisAddDataClick","type":"AddDataAction","description":"Event emitted when the user clicks to add data from a chat message."},{"name":"arcgisAppIdentityStartSignIn","type":"void"},{"name":"arcgisLocationClick","type":"FinderLocation","description":"Event emitted when the user clicks a zoom to location button in a chat message."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}]}},{"name":"arcgis-hub-ai-assistant","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"bot-description","description":"Basic info about the bot to display in the \"About\" panel","value":{"type":"string"}},{"name":"bot-title","description":"The title of the AI assistant bot, displayed in the UI.","value":{"type":"string"}},{"name":"hub","description":"Hub domain to use for finding relevant datasets","default":"\"https://hub.arcgis.com\"","value":{"type":"string"}},{"name":"item-id","description":"ArcGIS Item id for assistant configuration","value":{"type":"string"}},{"name":"item-modified-date","description":"The last modified timestamp of the assistant configuration item (site)","default":"0","value":{"type":"number"}},{"name":"location","description":"Default geographic location to limit / focus results","default":"\"USA\"","value":{"type":"string"}},{"name":"map-enabled","description":"If the map is enabled (able to be togged on within the component).","default":"true","value":{"type":"boolean"}},{"name":"map-show-table","description":"In the map, option to show the \"Table\" widget.","default":"true","value":{"type":"boolean"}},{"name":"map-visible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","default":"false","value":{"type":"boolean"}}],"events":[],"js":{"properties":[{"name":"_layers","type":"Layer[]"},{"name":"botDescription","description":"Basic info about the bot to display in the \"About\" panel","type":"string | undefined"},{"name":"botTitle","description":"The title of the AI assistant bot, displayed in the UI.","type":"string | undefined"},{"name":"defaultSuggestions","description":"The default suggestions for the user","type":"string[]"},{"name":"extent","description":"The default map extent (bounding box) to use for the map view.\nFormat: [[minX, minY], [maxX, maxY]]","type":"number[][] | undefined"},{"name":"hub","description":"Hub domain to use for finding relevant datasets","type":"string"},{"name":"itemId","description":"ArcGIS Item id for assistant configuration","type":"string | null"},{"name":"itemModifiedDate","description":"The last modified timestamp of the assistant configuration item (site)","type":"number"},{"name":"location","description":"Default geographic location to limit / focus results","type":"string"},{"name":"mapEnabled","description":"If the map is enabled (able to be togged on within the component).","type":"boolean"},{"name":"mapLayers","description":"Portal IDs of the layers on the map","type":"string[]"},{"name":"mapShowTable","description":"In the map, option to show the \"Table\" widget.","type":"boolean"},{"name":"mapVisible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","type":"boolean"}],"events":[]}},{"name":"arcgis-hub-entity-view-layout","description":"Component that renders a Hub entity view\nusing the layout system.\n\nIf an entity does not have a layout defined, we\nbuild a type-specific default layout from the entity's\nmetadata. The layout does not get persisted to the\nunderlying item until the user makes changes and\npublishes them.\n--\n\n### Events\n- **arcgisHubEntityViewPublished** - Event emitted when the layout is published.\n- **hubTelemetry** - Event emitted for telemetry\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"is-edit-mode","description":"Whether the layout is in edit mode","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisHubEntityViewPublished","type":"void","description":"Event emitted when the layout is published."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}],"js":{"properties":[{"name":"entity","description":"The Hub entity whose view will be\nrendered in a layout","type":"HubEntity | undefined"},{"name":"isEditMode","description":"Whether the layout is in edit mode","type":"boolean"}],"events":[{"name":"arcgisHubEntityViewPublished","type":"void","description":"Event emitted when the layout is published."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}]}},{"name":"arcgis-hub-entity-associations-card","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"association-type","description":"entity type to query for","default":"\"initiative\"","value":{"type":["\"template\"","\"event\"","\"group\"","\"initiative\"","\"initiativeTemplate\"","\"organization\"","\"survey\"","\"user\"","\"channel\"","\"content\"","\"org\"","\"page\"","\"project\"","\"site\"","\"discussion\""]}}],"events":[],"js":{"properties":[{"name":"associationType","description":"entity type to query for","type":"HubEntityType"},{"name":"entity","type":"HubEntity | undefined"}],"events":[]}},{"name":"arcgis-hub-entity-metrics-card","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[],"js":{"properties":[{"name":"entity","type":"HubEntity | undefined"}],"events":[]}},{"name":"arcgis-hub-entity-status-card","description":"A card that can be added to an ILayout or leveraged\nindependently to render an entity's status.\n\nNOTE: this card is a temporary implementation, and\nwill likely be removed once we decide how to handle\nentity statuses in the context of the layout system\ne.g. via a text card with variables, for example\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[],"js":{"properties":[{"name":"entity","type":"HubEntity | undefined"}],"events":[]}},{"name":"arcgis-nav-card","description":"The nav card is intended to render various\ntypes of in-place navigation in an ILayout (e.g.\ntabs, accordions, etc.).\n\nTODO: hook up other nav types (e.g. accordion)\nTODO: hook up query params (e.g. navigating to\na different tab should update the URL, thereby\nenabling deep linking).\n--\n\n### Events\n- **arcgisLayoutActivateNode**\n- **arcgisLayoutNodeFocus**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"debug","description":"Enables debug mode","default":"false","value":{"type":"boolean"}},{"name":"is-edit-mode","description":"Whether the parent layout is in edit mode","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisLayoutActivateNode","type":"ILayoutNodeActivateEventDetail"},{"name":"arcgisLayoutNodeFocus","type":"boolean"}],"js":{"properties":[{"name":"activatedNode","description":"The layout node that is currently activated for editing. This is\ntracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":"ILayoutNode | undefined"},{"name":"debug","description":"Enables debug mode","type":"boolean"},{"name":"isEditMode","description":"Whether the parent layout is in edit mode","type":"boolean"},{"name":"node","type":"ILayoutNode"},{"name":"sections","description":"The sections to render within the nav card","type":"ISection[]"},{"name":"translations","description":"Customer provided translations to override the\ndefault strings.","type":"ITranslationMap"},{"name":"utils","description":"Utility functions passed down to all child layout\ncomponents. For now, this is specifically needed to\nprocess a remote layout that is referenced by a\nlayout node.","type":"LayoutUtils | undefined"}],"events":[{"name":"arcgisLayoutActivateNode","type":"ILayoutNodeActivateEventDetail"},{"name":"arcgisLayoutNodeFocus","type":"boolean"}]}},{"name":"arcgis-text-card","description":"A text card that can be added to an ILayout or leveraged\nindependently. The text content is sanitized before rendering\nto prevent XSS attacks.\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","type":"string"}],"events":[]}},{"name":"arcgis-layout","description":"Web component for rendering an ILayout. Orchestrates\nthe rendering of sections, rows, columns, and cards\nas defined by the layout JSON.\n--\n\n### Events\n- **arcgisHubLayoutRendered** - Event emitted when the layout has finished\nrendering.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getCardEl(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>` - Public method that returns the DOM element for a\nlayout node by id. Used for highlighting or\nscrolling to a node in the layout.","attributes":[{"name":"debug","description":"Enables debug mode.","default":"false","value":{"type":"boolean"}},{"name":"is-edit-mode","description":"Whether the layout is in edit mode.","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisHubLayoutRendered","type":"void","description":"Event emitted when the layout has finished\nrendering."}],"js":{"properties":[{"name":"activatedNode","description":"The layout node that is currently activated for editing.\nThis is tracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":"ILayoutNode | undefined"},{"name":"debug","description":"Enables debug mode.","type":"boolean"},{"name":"isEditMode","description":"Whether the layout is in edit mode.","type":"boolean"},{"name":"layout","description":"The layout to render.","type":"ILayout | undefined"},{"name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":"IProcessLayoutOptions"}],"events":[{"name":"arcgisHubLayoutRendered","type":"void","description":"Event emitted when the layout has finished\nrendering."}]}},{"name":"arcgis-layout-container","description":"### Events\n- **arcgisHubLayoutChanged** - Event emitted when the layout is edited\n- **arcgisHubLayoutEditorExit** - Event emitted when the layout editor is exited\n- **arcgisHubLayoutPublished** - Event emitted when the layout is published\n- **arcgisHubLayoutReset** - Event emitted when the layout is reset\n- **hubTelemetry** - Event emitted for telemetry\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"debug","default":"false","value":{"type":"boolean"}},{"name":"is-edit-mode","description":"Whether the layout is in edit mode","default":"false","value":{"type":"boolean"}},{"name":"is-publishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisHubLayoutChanged","type":"void","description":"Event emitted when the layout is edited"},{"name":"arcgisHubLayoutEditorExit","type":"void","description":"Event emitted when the layout editor is exited"},{"name":"arcgisHubLayoutPublished","type":"ILayoutPublishEventDetail","description":"Event emitted when the layout is published"},{"name":"arcgisHubLayoutReset","type":"ILayoutResetEventDetail","description":"Event emitted when the layout is reset"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}],"js":{"properties":[{"name":"debug","type":"boolean"},{"name":"isEditMode","description":"Whether the layout is in edit mode","type":"boolean"},{"name":"isPublishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","type":"boolean"},{"name":"layout","description":"The layout to render","type":"Layout"},{"name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":"IProcessLayoutOptions"}],"events":[{"name":"arcgisHubLayoutChanged","type":"void","description":"Event emitted when the layout is edited"},{"name":"arcgisHubLayoutEditorExit","type":"void","description":"Event emitted when the layout editor is exited"},{"name":"arcgisHubLayoutPublished","type":"ILayoutPublishEventDetail","description":"Event emitted when the layout is published"},{"name":"arcgisHubLayoutReset","type":"ILayoutResetEventDetail","description":"Event emitted when the layout is reset"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
|
|
1
|
+
{"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@esri/hub-web-components","version":"0.37.3","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-chat-shell","description":"### Events\n- **arcgisUpdateMapVisibility**\n- **hubTelemetry** - Event emitted when telemetry data is sent from the chat UI.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"about-content","value":{"type":"string"}},{"name":"map-enabled","default":"false","value":{"type":"boolean"}},{"name":"map-visible","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisUpdateMapVisibility","type":"boolean"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}],"js":{"properties":[{"name":"aboutContent","type":"string | undefined"},{"name":"mapEnabled","type":"boolean"},{"name":"mapVisible","type":"boolean"}],"events":[{"name":"arcgisUpdateMapVisibility","type":"boolean"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}]}},{"name":"arcgis-chat-ui","description":"### Events\n- **arcgisAddDataClick** - Event emitted when the user clicks to add data from a chat message.\n- **arcgisAppIdentityStartSignIn**\n- **arcgisLocationClick** - Event emitted when the user clicks a zoom to location button in a chat message.\n- **hubTelemetry** - Event emitted when telemetry data is sent from the chat UI.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `submitUserMessage(text: string, type: \"query\" | \"suggest\"): Promise<void>` - Submits the user's message to the chat.\nClears the input, adds the message to the chat history, and triggers the AI response.\nCurrently using the @method decorator to expose this method to the DOM,\nallowing it to be called from `embed-modal.html`. Once this application has been migrated,\nI assume there will be no need for the html component and the @method decorator can be removed.","attributes":[{"name":"bot-description","description":"The disclaimer text for the AI assistant","default":"\"\"","value":{"type":"string"}},{"name":"bot-title","description":"The title of the AI assistant","default":"\"\"","value":{"type":"string"}},{"name":"conversation-id","description":"The current conversation ID, or null if starting a new conversation.","value":{"type":"string"}},{"name":"domain","default":"\"hub.arcgis.com\"","value":{"type":"string"}},{"name":"input-text","description":"The current text input value from the user.","default":"\"\"","value":{"type":"string"}}],"events":[{"name":"arcgisAddDataClick","type":"AddDataAction","description":"Event emitted when the user clicks to add data from a chat message."},{"name":"arcgisAppIdentityStartSignIn","type":"void"},{"name":"arcgisLocationClick","type":"FinderLocation","description":"Event emitted when the user clicks a zoom to location button in a chat message."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}],"js":{"properties":[{"name":"botDescription","description":"The disclaimer text for the AI assistant","type":"string"},{"name":"botTitle","description":"The title of the AI assistant","type":"string"},{"name":"conversationId","description":"The current conversation ID, or null if starting a new conversation.","type":"string | null"},{"name":"defaultSuggestions","description":"The default suggestions prompted to the user","type":"string[]"},{"name":"domain","type":"string"},{"name":"getFinderResponse","description":"Function property to get a Finder response.\nShould be provided by the parent component, `hub-ai-assistant`.","type":"(message: string, conversationId: string | null) => Promise<ArcgisErrorResponse[] | FinderSkillResponse[]>"},{"name":"inputText","description":"The current text input value from the user.","type":"string"}],"events":[{"name":"arcgisAddDataClick","type":"AddDataAction","description":"Event emitted when the user clicks to add data from a chat message."},{"name":"arcgisAppIdentityStartSignIn","type":"void"},{"name":"arcgisLocationClick","type":"FinderLocation","description":"Event emitted when the user clicks a zoom to location button in a chat message."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted when telemetry data is sent from the chat UI."}]}},{"name":"arcgis-hub-ai-assistant","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"bot-description","description":"Basic info about the bot to display in the \"About\" panel","value":{"type":"string"}},{"name":"bot-title","description":"The title of the AI assistant bot, displayed in the UI.","value":{"type":"string"}},{"name":"hub","description":"Hub domain to use for finding relevant datasets","default":"\"https://hub.arcgis.com\"","value":{"type":"string"}},{"name":"item-id","description":"ArcGIS Item id for assistant configuration","value":{"type":"string"}},{"name":"item-modified-date","description":"The last modified timestamp of the assistant configuration item (site)","default":"0","value":{"type":"number"}},{"name":"location","description":"Default geographic location to limit / focus results","default":"\"USA\"","value":{"type":"string"}},{"name":"map-enabled","description":"If the map is enabled (able to be togged on within the component).","default":"true","value":{"type":"boolean"}},{"name":"map-show-table","description":"In the map, option to show the \"Table\" widget.","default":"true","value":{"type":"boolean"}},{"name":"map-visible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","default":"false","value":{"type":"boolean"}}],"events":[],"js":{"properties":[{"name":"_layers","type":"Layer[]"},{"name":"botDescription","description":"Basic info about the bot to display in the \"About\" panel","type":"string | undefined"},{"name":"botTitle","description":"The title of the AI assistant bot, displayed in the UI.","type":"string | undefined"},{"name":"defaultSuggestions","description":"The default suggestions for the user","type":"string[]"},{"name":"extent","description":"The default map extent (bounding box) to use for the map view.\nFormat: [[minX, minY], [maxX, maxY]]","type":"number[][] | undefined"},{"name":"hub","description":"Hub domain to use for finding relevant datasets","type":"string"},{"name":"itemId","description":"ArcGIS Item id for assistant configuration","type":"string | null"},{"name":"itemModifiedDate","description":"The last modified timestamp of the assistant configuration item (site)","type":"number"},{"name":"location","description":"Default geographic location to limit / focus results","type":"string"},{"name":"mapEnabled","description":"If the map is enabled (able to be togged on within the component).","type":"boolean"},{"name":"mapLayers","description":"Portal IDs of the layers on the map","type":"string[]"},{"name":"mapShowTable","description":"In the map, option to show the \"Table\" widget.","type":"boolean"},{"name":"mapVisible","description":"If the map is currently visible. Only applicable if `mapEnabled` is true.","type":"boolean"}],"events":[]}},{"name":"arcgis-hub-entity-view-layout","description":"Component that renders a Hub entity view\nusing the layout system.\n\nIf an entity does not have a layout defined, we\nbuild a type-specific default layout from the entity's\nmetadata. The layout does not get persisted to the\nunderlying item until the user makes changes and\npublishes them.\n--\n\n### Events\n- **arcgisHubEntityViewPublished** - Event emitted when the layout is published.\n- **hubTelemetry** - Event emitted for telemetry\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"is-edit-mode","description":"Whether the layout is in edit mode","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisHubEntityViewPublished","type":"void","description":"Event emitted when the layout is published."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}],"js":{"properties":[{"name":"entity","description":"The Hub entity whose view will be\nrendered in a layout","type":"HubEntity | undefined"},{"name":"isEditMode","description":"Whether the layout is in edit mode","type":"boolean"}],"events":[{"name":"arcgisHubEntityViewPublished","type":"void","description":"Event emitted when the layout is published."},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}]}},{"name":"arcgis-hub-entity-associations-card","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"association-type","description":"entity type to query for","default":"\"initiative\"","value":{"type":["\"template\"","\"event\"","\"group\"","\"initiative\"","\"initiativeTemplate\"","\"organization\"","\"survey\"","\"user\"","\"channel\"","\"content\"","\"org\"","\"page\"","\"project\"","\"site\"","\"discussion\""]}}],"events":[],"js":{"properties":[{"name":"associationType","description":"entity type to query for","type":"HubEntityType"},{"name":"entity","type":"HubEntity | undefined"}],"events":[]}},{"name":"arcgis-hub-entity-metrics-card","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[],"js":{"properties":[{"name":"entity","type":"HubEntity | undefined"}],"events":[]}},{"name":"arcgis-hub-entity-status-card","description":"A card that can be added to an ILayout or leveraged\nindependently to render an entity's status.\n\nNOTE: this card is a temporary implementation, and\nwill likely be removed once we decide how to handle\nentity statuses in the context of the layout system\ne.g. via a text card with variables, for example\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[],"js":{"properties":[{"name":"entity","type":"HubEntity | undefined"}],"events":[]}},{"name":"arcgis-nav-card","description":"The nav card is intended to render various\ntypes of in-place navigation in an ILayout (e.g.\ntabs, accordions, etc.).\n\nTODO: hook up other nav types (e.g. accordion)\nTODO: hook up query params (e.g. navigating to\na different tab should update the URL, thereby\nenabling deep linking).\n--\n\n### Events\n- **arcgisLayoutActivateNode**\n- **arcgisLayoutNodeFocus**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"debug","description":"Enables debug mode","default":"false","value":{"type":"boolean"}},{"name":"is-edit-mode","description":"Whether the parent layout is in edit mode","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisLayoutActivateNode","type":"ILayoutNodeActivateEventDetail"},{"name":"arcgisLayoutNodeFocus","type":"boolean"}],"js":{"properties":[{"name":"activatedNode","description":"The layout node that is currently activated for editing. This is\ntracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":"ILayoutNode | undefined"},{"name":"debug","description":"Enables debug mode","type":"boolean"},{"name":"isEditMode","description":"Whether the parent layout is in edit mode","type":"boolean"},{"name":"node","type":"ILayoutNode"},{"name":"sections","description":"The sections to render within the nav card","type":"ISection[]"},{"name":"translations","description":"Customer provided translations to override the\ndefault strings.","type":"ITranslationMap"},{"name":"utils","description":"Utility functions passed down to all child layout\ncomponents. For now, this is specifically needed to\nprocess a remote layout that is referenced by a\nlayout node.","type":"LayoutUtils | undefined"}],"events":[{"name":"arcgisLayoutActivateNode","type":"ILayoutNodeActivateEventDetail"},{"name":"arcgisLayoutNodeFocus","type":"boolean"}]}},{"name":"arcgis-text-card","description":"A text card that can be added to an ILayout or leveraged\nindependently. The text content is sanitized before rendering\nto prevent XSS attacks.\n--\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"html","description":"The HTML content to display - this will be\nsanitized before rendering.","type":"string"}],"events":[]}},{"name":"arcgis-layout","description":"Web component for rendering an ILayout. Orchestrates\nthe rendering of sections, rows, columns, and cards\nas defined by the layout JSON.\n--\n\n### Events\n- **arcgisHubLayoutRendered** - Event emitted when the layout has finished\nrendering.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getCardEl(nodeId: string): Promise<HTMLConfigurableLayoutNodeElement | undefined>` - Public method that returns the DOM element for a\nlayout node by id. Used for highlighting or\nscrolling to a node in the layout.","attributes":[{"name":"debug","description":"Enables debug mode.","default":"false","value":{"type":"boolean"}},{"name":"is-edit-mode","description":"Whether the layout is in edit mode.","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisHubLayoutRendered","type":"void","description":"Event emitted when the layout has finished\nrendering."}],"js":{"properties":[{"name":"activatedNode","description":"The layout node that is currently activated for editing.\nThis is tracked in order to show the node's configuration\ncontrols and \"active\" state in the UI.","type":"ILayoutNode | undefined"},{"name":"debug","description":"Enables debug mode.","type":"boolean"},{"name":"isEditMode","description":"Whether the layout is in edit mode.","type":"boolean"},{"name":"layout","description":"The layout to render.","type":"ILayout | undefined"},{"name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":"IProcessLayoutOptions"}],"events":[{"name":"arcgisHubLayoutRendered","type":"void","description":"Event emitted when the layout has finished\nrendering."}]}},{"name":"arcgis-layout-container","description":"### Events\n- **arcgisHubLayoutChanged** - Event emitted when the layout is edited\n- **arcgisHubLayoutEditorExit** - Event emitted when the layout editor is exited\n- **arcgisHubLayoutPublished** - Event emitted when the layout is published\n- **arcgisHubLayoutReset** - Event emitted when the layout is reset\n- **hubTelemetry** - Event emitted for telemetry\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"debug","default":"false","value":{"type":"boolean"}},{"name":"is-edit-mode","description":"Whether the layout is in edit mode","default":"false","value":{"type":"boolean"}},{"name":"is-publishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","default":"false","value":{"type":"boolean"}}],"events":[{"name":"arcgisHubLayoutChanged","type":"void","description":"Event emitted when the layout is edited"},{"name":"arcgisHubLayoutEditorExit","type":"void","description":"Event emitted when the layout editor is exited"},{"name":"arcgisHubLayoutPublished","type":"ILayoutPublishEventDetail","description":"Event emitted when the layout is published"},{"name":"arcgisHubLayoutReset","type":"ILayoutResetEventDetail","description":"Event emitted when the layout is reset"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}],"js":{"properties":[{"name":"debug","type":"boolean"},{"name":"isEditMode","description":"Whether the layout is in edit mode","type":"boolean"},{"name":"isPublishing","description":"Whether the layout is currently being published.\nWe use this to disable and show a loading state\non the \"Publish\" button in the edit toolbar.","type":"boolean"},{"name":"layout","description":"The layout to render","type":"Layout"},{"name":"options","description":"Contextual information used to process various\nparts of the layout system (e.g. processing the\nlayout itself, generating addable layout nodes,\netc.)","type":"IProcessLayoutOptions"}],"events":[{"name":"arcgisHubLayoutChanged","type":"void","description":"Event emitted when the layout is edited"},{"name":"arcgisHubLayoutEditorExit","type":"void","description":"Event emitted when the layout editor is exited"},{"name":"arcgisHubLayoutPublished","type":"ILayoutPublishEventDetail","description":"Event emitted when the layout is published"},{"name":"arcgisHubLayoutReset","type":"ILayoutResetEventDetail","description":"Event emitted when the layout is reset"},{"name":"hubTelemetry","type":"Record<string, unknown>","description":"Event emitted for telemetry"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
|
package/package.json
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/hub-web-components",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.3",
|
|
4
4
|
"description": "A collection of web components to build web experiences with ArcGIS Hub.",
|
|
5
|
-
"publishConfig": {
|
|
6
|
-
"access": "public",
|
|
7
|
-
"registry": "https://registry.npmjs.org/"
|
|
8
|
-
},
|
|
9
5
|
"type": "module",
|
|
10
6
|
"main": "dist/index.js",
|
|
11
7
|
"module": "dist/index.js",
|
|
@@ -24,7 +20,54 @@
|
|
|
24
20
|
"files": [
|
|
25
21
|
"dist/"
|
|
26
22
|
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public",
|
|
25
|
+
"registry": "https://registry.npmjs.org/"
|
|
26
|
+
},
|
|
27
27
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
28
|
+
"scripts": {
|
|
29
|
+
"prepare": "husky",
|
|
30
|
+
"start": "npm run build-harness-tree && vite",
|
|
31
|
+
"start-internal-storybook": "storybook dev -c .storybook/internal -p 6007 --quiet",
|
|
32
|
+
"disabled-start-external-storybook": "storybook dev -c .storybook/external dev -p 6017 --quiet",
|
|
33
|
+
"build": "vite build",
|
|
34
|
+
"copy-redirect": "shx cp redirect.html www/redirect.html",
|
|
35
|
+
"copy-config": "shx cp dist/embed-config.js www/src/embed-config.js",
|
|
36
|
+
"build-dev": "vite build --mode development",
|
|
37
|
+
"ci:lint": "npm run lint -- --quiet && npm run ci:stylelint && npm run madge:circular",
|
|
38
|
+
"ci:stylelint": "stylelint 'src/components/**/*.css' --quiet",
|
|
39
|
+
"ci:test:install": "npx playwright install --with-deps chromium chrome",
|
|
40
|
+
"ci:test:coverage": "vitest run --coverage --browser.headless",
|
|
41
|
+
"ci:test:e2e": "npx playwright test",
|
|
42
|
+
"ci:release": "npm run ci:build && npx @changesets/cli publish",
|
|
43
|
+
"dev": "npm run build-harness-tree && vite",
|
|
44
|
+
"watch": "npm run build-dev --watch",
|
|
45
|
+
"build-internal-storybook": "storybook build -c .storybook/internal --quiet",
|
|
46
|
+
"disabled-build-external-storybook": "storybook build -c .storybook/external -o storybook-static-external --quiet",
|
|
47
|
+
"lint": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.ts' --config eslint.config.js",
|
|
48
|
+
"madge:circular": "madge --circular --ts-config ./tsconfig.json --extensions ts,tsx ./src",
|
|
49
|
+
"precommit": "lint-staged --config lint-staged.config.js",
|
|
50
|
+
"test:install": "npx playwright install --with-deps chromium",
|
|
51
|
+
"test": "npm run test:unit && npm run test:e2e",
|
|
52
|
+
"test:unit": "vitest run --browser.headless",
|
|
53
|
+
"test:e2e": "npx playwright test",
|
|
54
|
+
"test:e2e:ui": "npm run test:e2e -- --ui",
|
|
55
|
+
"test:e2e:update": "npm run test:e2e -- -u",
|
|
56
|
+
"test:debug": "vitest run --no-file-parallelism --no-isolate --inspect",
|
|
57
|
+
"test:watch": "vitest --coverage.enabled=true",
|
|
58
|
+
"test:coverage": "vitest run --coverage --browser.headless",
|
|
59
|
+
"test:coverage:update": "npm run test:coverage -- --coverage.thresholds.autoUpdate=true",
|
|
60
|
+
"test-pre": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install",
|
|
61
|
+
"test-debug": "echo 'keeping for compatibility with other Lumina repos' && npm run test:debug",
|
|
62
|
+
"test-watch": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install && npm run test:debug",
|
|
63
|
+
"clean": "rimraf ./coverage ./www ./storybook-static ./storybook-static-external ./.turbo ./dist ./playwright-report ./test-results",
|
|
64
|
+
"reset": "npm run clean && rimraf ./node_modules",
|
|
65
|
+
"format": "prettier 'src/**' --check",
|
|
66
|
+
"format:fix": "prettier 'src/**' --write",
|
|
67
|
+
"build-harness-tree": "node scripts/buildTree.js",
|
|
68
|
+
"changeset": "npx @changesets/cli",
|
|
69
|
+
"sync-snapshots": "./scripts/sync-snapshots.sh"
|
|
70
|
+
},
|
|
28
71
|
"dependencies": {
|
|
29
72
|
"@arcgis/lumina": "~5.0.9",
|
|
30
73
|
"@arcgis/map-components": "~5.0.9",
|
|
@@ -51,9 +94,10 @@
|
|
|
51
94
|
"@axe-core/playwright": "^4.10.2",
|
|
52
95
|
"@changesets/cli": "^2.29.7",
|
|
53
96
|
"@esri/calcite-components": "^5.0.2",
|
|
97
|
+
"@esri/calcite-design-tokens": "^4.0.0",
|
|
54
98
|
"@esri/calcite-tailwind-preset": "^1.0.2",
|
|
55
99
|
"@esri/hub-components": ">=5.422.0-next.1",
|
|
56
|
-
"@playwright/test": "
|
|
100
|
+
"@playwright/test": "~1.56.0",
|
|
57
101
|
"@testing-library/dom": "^10.4.0",
|
|
58
102
|
"@types/node": "^22.0.0",
|
|
59
103
|
"@vitest/browser-playwright": "^4.0.9",
|
|
@@ -89,53 +133,6 @@
|
|
|
89
133
|
"html.customData": [
|
|
90
134
|
"dist/docs/vscode.html-custom-data.json"
|
|
91
135
|
],
|
|
92
|
-
"web-types": "dist/docs/web-types.json",
|
|
93
|
-
"scripts": {
|
|
94
|
-
"prepare": "husky",
|
|
95
|
-
"start": "npm run build-harness-tree && vite",
|
|
96
|
-
"start-internal-storybook": "storybook dev -c .storybook/internal -p 6007 --quiet",
|
|
97
|
-
"disabled-start-external-storybook": "storybook dev -c .storybook/external dev -p 6017 --quiet",
|
|
98
|
-
"build": "vite build",
|
|
99
|
-
"copy-redirect": "shx cp redirect.html www/redirect.html",
|
|
100
|
-
"copy-config": "shx cp dist/embed-config.js www/src/embed-config.js",
|
|
101
|
-
"build-dev": "vite build --mode development",
|
|
102
|
-
"ci:lint": "npm run lint -- --quiet && npm run ci:stylelint && npm run madge:circular",
|
|
103
|
-
"ci:stylelint": "stylelint 'src/components/**/*.css' --quiet",
|
|
104
|
-
"ci:test:install": "npx playwright install --with-deps chromium chrome",
|
|
105
|
-
"ci:test:coverage": "vitest run --coverage --browser.headless",
|
|
106
|
-
"ci:test:e2e": "npx playwright test",
|
|
107
|
-
"ci:release": "npm run ci:build && npx @changesets/cli publish",
|
|
108
|
-
"dev": "npm run build-harness-tree && vite",
|
|
109
|
-
"watch": "npm run build-dev --watch",
|
|
110
|
-
"build-internal-storybook": "storybook build -c .storybook/internal --quiet",
|
|
111
|
-
"disabled-build-external-storybook": "storybook build -c .storybook/external -o storybook-static-external --quiet",
|
|
112
|
-
"lint": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.ts' --config eslint.config.js",
|
|
113
|
-
"madge:circular": "madge --circular --ts-config ./tsconfig.json --extensions ts,tsx ./src",
|
|
114
|
-
"precommit": "lint-staged --config lint-staged.config.js",
|
|
115
|
-
"test:install": "npx playwright install --with-deps chromium",
|
|
116
|
-
"test": "npm run test:unit && npm run test:e2e",
|
|
117
|
-
"test:unit": "vitest run --browser.headless",
|
|
118
|
-
"test:e2e": "npx playwright test",
|
|
119
|
-
"test:e2e:ui": "npm run test:e2e -- --ui",
|
|
120
|
-
"test:e2e:update": "npm run test:e2e -- -u",
|
|
121
|
-
"test:debug": "vitest run --no-file-parallelism --no-isolate --inspect",
|
|
122
|
-
"test:watch": "vitest --coverage.enabled=true",
|
|
123
|
-
"test:coverage": "vitest run --coverage --browser.headless",
|
|
124
|
-
"test:coverage:update": "npm run test:coverage -- --coverage.thresholds.autoUpdate=true",
|
|
125
|
-
"test-pre": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install",
|
|
126
|
-
"test-debug": "echo 'keeping for compatibility with other Lumina repos' && npm run test:debug",
|
|
127
|
-
"test-watch": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install && npm run test:debug",
|
|
128
|
-
"clean": "rimraf ./coverage ./www ./storybook-static ./storybook-static-external ./.turbo ./dist ./playwright-report ./test-results",
|
|
129
|
-
"reset": "npm run clean && rimraf ./node_modules",
|
|
130
|
-
"format": "prettier 'src/**' --check",
|
|
131
|
-
"format:fix": "prettier 'src/**' --write",
|
|
132
|
-
"build-harness-tree": "node scripts/buildTree.js",
|
|
133
|
-
"changeset": "npx @changesets/cli",
|
|
134
|
-
"sync-snapshots": "./scripts/sync-snapshots.sh"
|
|
135
|
-
},
|
|
136
|
-
"volta": {
|
|
137
|
-
"extends": "../../package.json"
|
|
138
|
-
},
|
|
139
136
|
"madge": {
|
|
140
137
|
"fontSize": "10px",
|
|
141
138
|
"tsConfig": "tsconfig.json",
|
|
@@ -152,5 +149,9 @@
|
|
|
152
149
|
"skipTypeImports": true
|
|
153
150
|
}
|
|
154
151
|
}
|
|
155
|
-
}
|
|
152
|
+
},
|
|
153
|
+
"volta": {
|
|
154
|
+
"extends": "../../package.json"
|
|
155
|
+
},
|
|
156
|
+
"web-types": "dist/docs/web-types.json"
|
|
156
157
|
}
|
package/dist/cdn/5PZXLCBE.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
|
|
2
|
-
import{a as y}from"./YHO7A5RX.js";import{a as l}from"./LNVYZ53G.js";import"./X5GRVXSY.js";import{b as m,c as b}from"./I4GSA6FV.js";import{a as s,b as o}from"./W5FA4IWP.js";import{a as C}from"./GSGLH4CM.js";import"./6VA6IJMP.js";import{B as p,H as g,a as c,b as u,m as i,o as h}from"./PHGORKJG.js";import"./BMRPHSYL.js";import{c as N}from"./IONZ3SDQ.js";var a=N(C(),1);var v=c`@layer{layout-node-controls{position:absolute}layout-node-controls .delete-popover-content{padding:0 1rem 1rem;margin:0}}`,n=class extends p{constructor(){super(),this.#t=m({context:b,subscribe:!0}),this.isEditMode=!1,this.isLayoutValid=!0,this.arcgisLayoutDeactivateNode=i(),this.arcgisLayoutDeleteNode=i(),this.arcgisLayoutNodeEditorOpen=i(),this.arcgisLayoutNodeReposition=i(),this.arcgisLayoutNodeVisibilityChange=i(),this.hubTelemetry=i(),this.listen("calcitePopoverOpen",t=>{t.stopPropagation()}),this.listen("calcitePopoverClose",t=>{t.stopPropagation(),this.arcgisLayoutDeactivateNode.emit({node:this.node})})}static{this.properties={isEditMode:5,isLayoutValid:5,node:0,activatedNode:0,layoutElement:0,messages:0,layoutNodeConfig:0}}static{this.styles=v}static{this.shadowRootOptions=h}#t;get#e(){let t=this.layoutNodeConfig?this.layoutNodeConfig.disableMove:!1,e=!1;return this.node&&this.layout&&(e=!!l(this.node,this.layout)?.isFirstInColumn),!t&&!e}get#o(){let t=this.layoutNodeConfig?this.layoutNodeConfig.disableMove:!1,e=!1;return this.node&&this.layout&&(e=!!l(this.node,this.layout)?.isLastInColumn),!t&&!e}get _isNodeVisible(){return y(this.node)}get layoutNodeEditorRef(){return this.#t.value.layoutNodeEditorRef}get layout(){return this.#t.value.layout}get moveUpTooltipText(){let t="";return this.#e||(t=this.messages.layoutNodeControls.repositionUpDisabledTooltip),t}get moveDownTooltipText(){let t="";return this.#o||(t=this.messages.layoutNodeControls.repositionDownDisabledTooltip),t}get deleteTooltipText(){let t="";return this.layoutNodeConfig?.disableDelete?t=this.messages.layoutNodeControls.deletePremiumOnlyTooltip:this.node?.readOnly&&(t=this.messages.layoutNodeControls.readOnlyTooltip),t}_onOpenEditorButtonClick(){this.arcgisLayoutNodeEditorOpen.emit({node:this.node,element:this.layoutElement}),this.hubTelemetry.emit({...a.dictionary.category.interaction.action.open.label.sidePanel,details:this.layoutNodeConfig.name})}_onToggleVisibilityClick(){this.arcgisLayoutNodeVisibilityChange.emit({id:this.node.id,valid:!0,layoutNodeConfig:this.layoutNodeConfig});let t=this._isNodeVisible?"disable":"enable";this.hubTelemetry.emit({...a.dictionary.category.interaction.action[t].label.visibility,details:this.layoutNodeConfig.name})}_onMoveUpButtonClick(){this.arcgisLayoutNodeReposition.emit({node:this.node,direction:"up"})}_onMoveDownButtonClick(){this.arcgisLayoutNodeReposition.emit({node:this.node,direction:"down"})}_onDeleteButtonClick(){this.hubTelemetry.emit({...a.dictionary.category.interaction.action.open.label.popover,details:`Delete ${this.layoutNodeConfig.name}`})}_onDeleteConfirmButtonClick(){this.arcgisLayoutDeleteNode.emit({id:this.node.id}),this.hubTelemetry.emit({...a.dictionary.category.content.action.delete.label.layoutNode,details:this.layoutNodeConfig.name})}renderControls(){let t,e=this.layoutNodeConfig;if(this.isEditMode&&this.node&&e&&this.layoutElement){let f=this.messages.layoutNodeControls.a11yLabel||"",d="overlay";this.node.tag==="arcgis-nav-card"&&(d=this.layoutElement.querySelector("calcite-tab-nav"));let r=this.layoutNodeEditorRef?{initialFocus:this.layoutNodeEditorRef,extraContainers:[this.layoutNodeEditorRef]}:void 0;t=u`<calcite-popover .focusTrapOptions=${r} offset-distance=1 offset-skidding=-4 .label=${f} .open=${this.node.id===this.activatedNode?.id} overlay-positioning=fixed placement=top-start pointer-disabled .referenceElement=${d} top-layer-disabled trigger-disabled><calcite-action-bar expand-disabled floating layout=horizontal overflow-actions-disabled overlay-positioning=absolute><calcite-action-group><calcite-action .text=${o(e,"i18n.label",this.messages.configurableNodes.default.label)} text-enabled></calcite-action></calcite-action-group><calcite-action-group><calcite-action .disabled=${e.disableAdjustVisibility} .icon=${this._isNodeVisible?"view-visible":"view-hide"} @click=${this._onToggleVisibilityClick} .text=${this._isNodeVisible?o(e,"i18n.hideLabel",this.messages.configurableNodes.default.hide):o(e,"i18n.showLabel",this.messages.configurableNodes.default.show)}></calcite-action><arcgis-ref-tooltip .text=${this.moveUpTooltipText}><calcite-action .disabled=${!this.#e} icon=arrow-up @click=${this._onMoveUpButtonClick} .text=${o(e,"i18n.repositionUpLabel",this.messages.configurableNodes.default.up)}></calcite-action></arcgis-ref-tooltip><arcgis-ref-tooltip .text=${this.moveDownTooltipText}><calcite-action .disabled=${!this.#o} icon=arrow-down @click=${this._onMoveDownButtonClick} .text=${o(e,"i18n.repositionDownLabel",this.messages.configurableNodes.default.down)}></calcite-action></arcgis-ref-tooltip><arcgis-ref-tooltip .text=${this.node.readOnly?"Metadata must be updated in the workspace":""}><calcite-action .disabled=${this.node.readOnly||e.disableEdit||!this.isLayoutValid} icon=pencil @click=${this._onOpenEditorButtonClick} .text=${o(e,"i18n.edit",this.messages.configurableNodes.default.edit)}></calcite-action></arcgis-ref-tooltip><arcgis-ref-tooltip .text=${this.deleteTooltipText}><calcite-action .disabled=${this.node.readOnly||e.disableDelete} icon=trash id=delete-button @click=${this._onDeleteButtonClick} .text=${o(e,"i18n.delete",this.messages.configurableNodes.default.delete)}></calcite-action></arcgis-ref-tooltip><calcite-popover .focusTrapOptions=${r} .heading=${s(this.messages,"layoutNodeControls.deletePopover.heading")} .label=${s(this.messages,"layoutNodeControls.deletePopover.heading")} offset-distance=2 overlay-positioning=fixed placement=bottom-start pointer-disabled reference-element=delete-button><div class="delete-popover-content"><p>${s(this.messages,"layoutNodeControls.deletePopover.body")}</p><calcite-button alignment=center appearance=outline-fill kind=danger @click=${this._onDeleteConfirmButtonClick} round width=full>${s(this.messages,"layoutNodeControls.deletePopover.button")}</calcite-button></div></calcite-popover></calcite-action-group></calcite-action-bar></calcite-popover>`}return t}render(){return this.renderControls()}};g("arcgis-layout-node-controls",n);export{n as ArcgisLayoutNodeControls};
|