@arcgis/portal-components 6.0.0-next.43 → 6.0.0-next.45
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/2H4XUTGC.js +2 -0
- package/dist/cdn/2SXAFTBV.js +2 -0
- package/dist/cdn/43PDHAIF.js +76 -0
- package/dist/cdn/44XWSV22.js +2 -0
- package/dist/cdn/5ASHV75J.js +2 -0
- package/dist/cdn/A3C27QXY.js +2 -0
- package/dist/cdn/CNTCDLAV.js +2 -0
- package/dist/cdn/CZE75G6W.js +2 -0
- package/dist/cdn/DLPVBMPX.js +2 -0
- package/dist/cdn/FFTXNKIV.js +2 -0
- package/dist/cdn/KIII5IQV.js +2 -0
- package/dist/cdn/LH47JYFW.js +2 -0
- package/dist/cdn/NPLIEXAH.js +2 -0
- package/dist/cdn/QZPNR6GF.js +2 -0
- package/dist/cdn/RSKKZ7MS.js +2 -0
- package/dist/cdn/SHUSYAET.js +2 -0
- package/dist/cdn/SW5C6THN.js +100 -0
- package/dist/cdn/VPVDVHQA.js +2 -0
- package/dist/cdn/YXTLFAFP.js +2 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-item-card/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/portal-review-layer-sharing-check-notice/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/createPortalTool.js +32 -12
- package/dist/chunks/fieldAddDelete.js +1 -1
- package/dist/chunks/item.js +10 -10
- package/dist/chunks/portal-review-layer-sharing.js +595 -0
- package/dist/chunks/privileges.js +26 -0
- package/dist/chunks/utils4.js +39 -58
- package/dist/components/arcgis-portal-account-switcher/customElement.d.ts +38 -6
- package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-account-switcher-signout/customElement.d.ts +38 -6
- package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +38 -6
- package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +38 -7
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +529 -473
- package/dist/components/arcgis-portal-ai-assistant/index.js +1 -0
- package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +38 -5
- package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-browser/customElement.d.ts +54 -8
- package/dist/components/arcgis-portal-browser-actions/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-browser-filter-status/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-browser-pagination/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-browser-search/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-browser-sort/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-browser-top-bar/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-browser-view/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-classification-banner/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-classification-config/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-classification-favorite/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-delete-items/customElement.d.ts +38 -6
- package/dist/components/arcgis-portal-delete-items-review/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +40 -6
- package/dist/components/arcgis-portal-extent-picker/customElement.js +288 -236
- package/dist/components/arcgis-portal-extent-picker/index.js +3 -2
- package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +28 -27
- package/dist/components/arcgis-portal-field-delete/customElement.d.ts +42 -7
- package/dist/components/arcgis-portal-group-badges/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-group-browser/customElement.d.ts +62 -12
- package/dist/components/arcgis-portal-group-browser-card/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-group-browser-preview/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-group-browser-preview-card/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-group-card/customElement.d.ts +38 -6
- package/dist/components/arcgis-portal-group-picker/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-group-thumbnail/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-info-banner/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-item-actions/customElement.d.ts +44 -7
- package/dist/components/arcgis-portal-item-actions/customElement.js +44 -44
- package/dist/components/arcgis-portal-item-badge/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-item-badges/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-item-card/customElement.d.ts +57 -9
- package/dist/components/arcgis-portal-item-card/customElement.js +80 -68
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +1 -1
- package/dist/components/arcgis-portal-item-favorite/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-item-picker/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-item-preview/customElement.d.ts +38 -6
- package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-item-status-card/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-item-thumbnail/customElement.js +9 -9
- package/dist/components/arcgis-portal-item-type/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-mentionable-text-area/customElement.d.ts +46 -8
- package/dist/components/arcgis-portal-navigation/customElement.d.ts +42 -7
- package/dist/components/arcgis-portal-navigation/customElement.js +12 -11
- package/dist/components/arcgis-portal-navigation/index.js +1 -1
- package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-replacement-item-redirect/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +17 -588
- package/dist/components/arcgis-portal-review-layer-sharing-check-notice/customElement.d.ts +79 -0
- package/dist/components/arcgis-portal-review-layer-sharing-check-notice/customElement.js +57 -0
- package/dist/components/arcgis-portal-review-layer-sharing-check-notice/index.d.ts +1 -0
- package/dist/components/arcgis-portal-review-layer-sharing-check-notice/index.js +5 -0
- package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-sublayer-type/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-user-avatar/customElement.d.ts +17 -1
- package/dist/components/arcgis-portal-user-picker/customElement.d.ts +30 -4
- package/dist/components/arcgis-portal-user-popup/customElement.d.ts +34 -5
- package/dist/components/arcgis-portal-voice-input/customElement.d.ts +46 -8
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +50 -235
- package/dist/index.js +69 -69
- package/dist/loader.d.ts +65 -2
- package/dist/loader.js +2 -1
- package/dist/types/lumina.d.ts +192 -358
- package/dist/types/portalAssistantCurrentContext.d.ts +11 -9
- package/dist/types/preact.d.ts +192 -424
- package/dist/types/react.d.ts +192 -493
- package/dist/types/stencil.d.ts +133 -299
- package/package.json +9 -9
- package/dist/cdn/36DGXQLJ.js +0 -2
- package/dist/cdn/3ZVDEJPF.js +0 -2
- package/dist/cdn/42AN66SK.js +0 -2
- package/dist/cdn/7JDXAVUG.js +0 -2
- package/dist/cdn/CERDMRFQ.js +0 -2
- package/dist/cdn/FINVGL3V.js +0 -2
- package/dist/cdn/GA4OWLSO.js +0 -2
- package/dist/cdn/GHDMQJG4.js +0 -2
- package/dist/cdn/JDW7ECBF.js +0 -2
- package/dist/cdn/OXF2WDSW.js +0 -2
- package/dist/cdn/PM33STYQ.js +0 -2
- package/dist/cdn/QKRLO5CJ.js +0 -2
- package/dist/cdn/SCIZKRKA.js +0 -93
- package/dist/cdn/TQX5BOZG.js +0 -2
- package/dist/cdn/YZZQ3Y6G.js +0 -73
- package/dist/cdn/ZOOEWYFB.js +0 -2
|
@@ -3,6 +3,7 @@ import "@arcgis/ai-components/components/arcgis-assistant";
|
|
|
3
3
|
import "@esri/calcite-components/components/calcite-icon";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-action";
|
|
5
5
|
import "../arcgis-portal-ai-assistant-interrupt/index.js";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-notice";
|
|
6
7
|
import "../arcgis-portal-mentionable-text-area/index.js";
|
|
7
8
|
import "../arcgis-portal-voice-input/index.js";
|
|
8
9
|
import "@arcgis/ai-components/components/arcgis-assistant-agent";
|
|
@@ -24,15 +24,37 @@ export interface PortalAssistantToolMemoryOptions {
|
|
|
24
24
|
cachePolicy?: PortalAssistantToolCachePolicy;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
/** Controls whether a tool call pauses for user approval before execution. */
|
|
28
|
+
export interface PortalAssistantToolApprovalOptions<TInput extends Record<string, unknown>> {
|
|
29
|
+
/**
|
|
30
|
+
* Requires explicit user approval before this tool executes.
|
|
31
|
+
* Defaults to `true`; set to `false` for read-only tools.
|
|
32
|
+
*
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
requiresApproval?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Creates the confirmation message shown to the user. Defaults to a generic
|
|
38
|
+
* confirmation question.
|
|
39
|
+
*
|
|
40
|
+
* @param input - The validated input for the tool call.
|
|
41
|
+
*/
|
|
42
|
+
approvalMessage?: (input: TInput) => string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** Portal-owned execution and conversation-memory options for a tool. */
|
|
46
|
+
export interface PortalAssistantToolMetadata<TInput extends Record<string, unknown> = Record<string, unknown>> extends PortalAssistantToolApprovalOptions<TInput>, PortalAssistantToolMemoryOptions {}
|
|
47
|
+
|
|
27
48
|
/**
|
|
28
49
|
* Factory that creates tools made available to the Portal assistant.
|
|
29
50
|
*
|
|
30
51
|
* The Portal-provided `tool` and `requestPortalAssistantUiAction` helpers
|
|
31
52
|
* avoid consumer imports for those capabilities.
|
|
32
53
|
* Tool result payloads are stored generically in conversation state and may be
|
|
33
|
-
* supplied as previously retrieved reference data. Tools default to `cachePolicy: "no-cache"`;
|
|
34
|
-
* opt read tools into `cachePolicy: "normal"`. Writes and UI actions should remain uncached. Fresh tool calls always
|
|
35
|
-
* run normally.
|
|
54
|
+
* supplied as previously retrieved reference data. Tools default to `metadata.cachePolicy: "no-cache"`;
|
|
55
|
+
* opt read tools into `metadata.cachePolicy: "normal"`. Writes and UI actions should remain uncached. Fresh tool calls always
|
|
56
|
+
* run normally. Tools created with `tool` require approval by default; set
|
|
57
|
+
* `metadata.requiresApproval: false` for read-only tools. Resource-wide refresh orchestration is not implemented yet.
|
|
36
58
|
*
|
|
37
59
|
* @param context
|
|
38
60
|
*/
|
|
@@ -41,7 +63,7 @@ export type PortalAssistantTools = (context: PortalAssistantToolsContext) => rea
|
|
|
41
63
|
export interface PortalAssistantToolsContext {
|
|
42
64
|
/** Requests a constrained UI action without exposing its callback to the model. */
|
|
43
65
|
requestPortalAssistantUiAction: (action: PortalAssistantUiAction, config?: RunnableConfig) => Promise<boolean>;
|
|
44
|
-
/** Creates a native function tool and registers its Portal-owned
|
|
66
|
+
/** Creates a native function tool and registers its Portal-owned metadata separately. */
|
|
45
67
|
tool: <TInput extends Record<string, unknown>, TOutput = unknown>(properties: PortalAssistantToolProperties<TInput, TOutput>) => FunctionTool<TInput, TOutput>;
|
|
46
68
|
}
|
|
47
69
|
|
|
@@ -50,7 +72,18 @@ export type PortalAssistantUiAction = InlineButtonUiAction | InlineLinkUiAction
|
|
|
50
72
|
|
|
51
73
|
/** Properties accepted by the Portal-provided tool helper. \@public */
|
|
52
74
|
export type PortalAssistantToolProperties<TInput extends Record<string, unknown>, TOutput = unknown> = FunctionToolConstructProperties<TInput, TOutput>
|
|
53
|
-
&
|
|
75
|
+
& {
|
|
76
|
+
/**
|
|
77
|
+
* Portal-owned metadata, kept separate from the native tool and its model-visible schema.
|
|
78
|
+
* Defaults to requiring approval and retaining no results in conversation memory.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```ts
|
|
82
|
+
* metadata: { cachePolicy: "normal", requiresApproval: false }
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
metadata?: PortalAssistantToolMetadata<TInput>;
|
|
86
|
+
};
|
|
54
87
|
|
|
55
88
|
/** A user-clickable inline button rendered by the assistant. */
|
|
56
89
|
export interface InlineButtonUiAction {
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { ContextUsage, RegisteredTool } from "./contextUsage.js";
|
|
4
4
|
|
|
5
|
+
declare module "@arcgis/lumina" {
|
|
6
|
+
interface RegisteredElements {
|
|
7
|
+
/** See {@link ArcgisPortalAiAssistantDiagnostics}. */
|
|
8
|
+
"arcgis-portal-ai-assistant-diagnostics": ArcgisPortalAiAssistantDiagnostics;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
5
12
|
/**
|
|
6
13
|
* The content of the Portal assistant's diagnostics window: an action bar that switches between
|
|
7
14
|
* Runs, which is whatever is slotted in (the shared observation panel), Context, which lists
|
|
@@ -24,4 +31,13 @@ export abstract class ArcgisPortalAiAssistantDiagnostics extends LitElement {
|
|
|
24
31
|
accessor contextUsages: readonly ContextUsage[];
|
|
25
32
|
/** The tools currently given to the tool agent. */
|
|
26
33
|
accessor registeredTools: readonly RegisteredTool[];
|
|
27
|
-
|
|
34
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "contextUsages" | "registeredTools">;
|
|
35
|
+
readonly "@jsxEvents": {};
|
|
36
|
+
readonly "@jsxStencilEvents": {};
|
|
37
|
+
}
|
|
38
|
+
declare global {
|
|
39
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAiAssistantDiagnostics from its component module instead. */
|
|
40
|
+
type HTMLArcgisPortalAiAssistantDiagnosticsElement = ArcgisPortalAiAssistantDiagnostics;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export {};
|
|
@@ -5,6 +5,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
5
5
|
import type { PortalEntitySelectionRequest } from "../arcgis-portal-ai-assistant/types/portalEntityTools.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
8
|
+
declare module "@arcgis/lumina" {
|
|
9
|
+
interface RegisteredElements {
|
|
10
|
+
/** See {@link ArcgisPortalAiAssistantInterrupt}. */
|
|
11
|
+
"arcgis-portal-ai-assistant-interrupt": ArcgisPortalAiAssistantInterrupt;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
8
15
|
/** @internal */
|
|
9
16
|
export abstract class ArcgisPortalAiAssistantInterrupt extends LitElement {
|
|
10
17
|
/** @internal */
|
|
@@ -71,13 +78,35 @@ export abstract class ArcgisPortalAiAssistantInterrupt extends LitElement {
|
|
|
71
78
|
/** @default false */
|
|
72
79
|
accessor showOtherOption: boolean;
|
|
73
80
|
accessor type: InterruptType["type"];
|
|
81
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "entityRequest" | "message" | "options" | "portal" | "requestId" | "showOtherOption" | "type">;
|
|
82
|
+
readonly "@jsxEvents": ArcgisPortalAiAssistantInterruptEventHandlers<this>;
|
|
83
|
+
readonly "@jsxStencilEvents": ArcgisPortalAiAssistantInterruptStencilEventHandlers<this>;
|
|
74
84
|
readonly arcgisCancel: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
75
85
|
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, string[] | boolean | string>;
|
|
76
|
-
readonly "@eventTypes":
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
86
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisCancel" | "arcgisSubmit">>;
|
|
87
|
+
}
|
|
88
|
+
interface ArcgisPortalAiAssistantInterruptEventHandlers<Target extends ArcgisPortalAiAssistantInterrupt = ArcgisPortalAiAssistantInterrupt> {
|
|
89
|
+
/** See {@link ArcgisPortalAiAssistantInterrupt.arcgisCancel}. */
|
|
90
|
+
onarcgisCancel?: import("@arcgis/lumina").EventHandler<Target["arcgisCancel"]>;
|
|
91
|
+
/** See {@link ArcgisPortalAiAssistantInterrupt.arcgisSubmit}. */
|
|
92
|
+
onarcgisSubmit?: import("@arcgis/lumina").EventHandler<Target["arcgisSubmit"]>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
interface ArcgisPortalAiAssistantInterruptStencilEventHandlers<Target extends ArcgisPortalAiAssistantInterrupt = ArcgisPortalAiAssistantInterrupt> {
|
|
96
|
+
/** See {@link ArcgisPortalAiAssistantInterrupt.arcgisCancel}. */
|
|
97
|
+
onArcgisCancel?: import("@arcgis/lumina").EventHandler<Target["arcgisCancel"]>;
|
|
98
|
+
/** See {@link ArcgisPortalAiAssistantInterrupt.arcgisSubmit}. */
|
|
99
|
+
onArcgisSubmit?: import("@arcgis/lumina").EventHandler<Target["arcgisSubmit"]>;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare global {
|
|
103
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalAiAssistantInterrupt from its component module instead. */
|
|
104
|
+
type HTMLArcgisPortalAiAssistantInterruptElement = ArcgisPortalAiAssistantInterrupt;
|
|
105
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalAiAssistantInterrupt["@eventTypes"] instead. */
|
|
106
|
+
type HTMLArcgisPortalAiAssistantInterruptElementEventMap = ArcgisPortalAiAssistantInterrupt["@eventTypes"];
|
|
80
107
|
}
|
|
81
108
|
|
|
109
|
+
|
|
82
110
|
/** @internal */
|
|
83
|
-
export type InterruptType = NonNullable<ArcgisAssistant["interrupt"]>;
|
|
111
|
+
export type InterruptType = NonNullable<ArcgisAssistant["interrupt"]>;
|
|
112
|
+
export {};
|
|
@@ -4,6 +4,13 @@ import type { PortalBrowserStore } from "./utils/store.js";
|
|
|
4
4
|
import type { BrowserContent, RangeFormatter } from "./utils/types.js";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
|
|
7
|
+
declare module "@arcgis/lumina" {
|
|
8
|
+
interface RegisteredElements {
|
|
9
|
+
/** See {@link ArcgisPortalBrowser}. */
|
|
10
|
+
"arcgis-portal-browser": ArcgisPortalBrowser;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
export abstract class ArcgisPortalBrowser extends LitElement {
|
|
8
15
|
/** @internal */
|
|
9
16
|
protected _messages: {
|
|
@@ -216,6 +223,9 @@ export abstract class ArcgisPortalBrowser extends LitElement {
|
|
|
216
223
|
accessor showPreSearch: boolean | undefined;
|
|
217
224
|
accessor store: PortalBrowserStore;
|
|
218
225
|
scrollToTop(): Promise<void>;
|
|
226
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "alwaysShowContent" | "alwaysShowPagination" | "alwaysShowSelection" | "formFactor" | "height" | "hideContentTop" | "hideFilters" | "hideTopBar" | "loading" | "panel" | "preview" | "rangeFormatter" | "response" | "searchTerm" | "selected" | "showPreSearch" | "store">;
|
|
227
|
+
readonly "@jsxEvents": ArcgisPortalBrowserEventHandlers<this>;
|
|
228
|
+
readonly "@jsxStencilEvents": ArcgisPortalBrowserStencilEventHandlers<this>;
|
|
219
229
|
readonly arcgisAriaUpdate: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
220
230
|
readonly arcgisBrowserFilterClear: import("@arcgis/lumina").TargetedEvent<this, null>;
|
|
221
231
|
readonly arcgisBrowserFilterRemove: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
@@ -223,19 +233,55 @@ export abstract class ArcgisPortalBrowser extends LitElement {
|
|
|
223
233
|
readonly arcgisPreviewClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
224
234
|
/** @deprecated Use arcgisAriaUpdate instead. */
|
|
225
235
|
readonly ariaUpdate: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
226
|
-
readonly "@eventTypes":
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
236
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisAriaUpdate" | "arcgisBrowserFilterClear" | "arcgisBrowserFilterRemove" | "arcgisPreviewClose" | "ariaUpdate">>;
|
|
237
|
+
}
|
|
238
|
+
interface ArcgisPortalBrowserEventHandlers<Target extends ArcgisPortalBrowser = ArcgisPortalBrowser> {
|
|
239
|
+
/** See {@link ArcgisPortalBrowser.arcgisAriaUpdate}. */
|
|
240
|
+
onarcgisAriaUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisAriaUpdate"]>;
|
|
241
|
+
/** See {@link ArcgisPortalBrowser.arcgisBrowserFilterClear}. */
|
|
242
|
+
onarcgisBrowserFilterClear?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterClear"]>;
|
|
243
|
+
/** See {@link ArcgisPortalBrowser.arcgisBrowserFilterRemove}. */
|
|
244
|
+
onarcgisBrowserFilterRemove?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterRemove"]>;
|
|
245
|
+
/** See {@link ArcgisPortalBrowser.arcgisPreviewClose}. */
|
|
246
|
+
onarcgisPreviewClose?: import("@arcgis/lumina").EventHandler<Target["arcgisPreviewClose"]>;
|
|
247
|
+
/**
|
|
248
|
+
* See {@link ArcgisPortalBrowser.ariaUpdate}.
|
|
249
|
+
*
|
|
250
|
+
* @deprecated Use arcgisAriaUpdate instead.
|
|
251
|
+
*/
|
|
252
|
+
onariaUpdate?: import("@arcgis/lumina").EventHandler<Target["ariaUpdate"]>;
|
|
233
253
|
}
|
|
234
254
|
|
|
255
|
+
interface ArcgisPortalBrowserStencilEventHandlers<Target extends ArcgisPortalBrowser = ArcgisPortalBrowser> {
|
|
256
|
+
/** See {@link ArcgisPortalBrowser.arcgisAriaUpdate}. */
|
|
257
|
+
onArcgisAriaUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisAriaUpdate"]>;
|
|
258
|
+
/** See {@link ArcgisPortalBrowser.arcgisBrowserFilterClear}. */
|
|
259
|
+
onArcgisBrowserFilterClear?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterClear"]>;
|
|
260
|
+
/** See {@link ArcgisPortalBrowser.arcgisBrowserFilterRemove}. */
|
|
261
|
+
onArcgisBrowserFilterRemove?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterRemove"]>;
|
|
262
|
+
/** See {@link ArcgisPortalBrowser.arcgisPreviewClose}. */
|
|
263
|
+
onArcgisPreviewClose?: import("@arcgis/lumina").EventHandler<Target["arcgisPreviewClose"]>;
|
|
264
|
+
/**
|
|
265
|
+
* See {@link ArcgisPortalBrowser.ariaUpdate}.
|
|
266
|
+
*
|
|
267
|
+
* @deprecated Use arcgisAriaUpdate instead.
|
|
268
|
+
*/
|
|
269
|
+
onAriaUpdate?: import("@arcgis/lumina").EventHandler<Target["ariaUpdate"]>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
declare global {
|
|
273
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowser from its component module instead. */
|
|
274
|
+
type HTMLArcgisPortalBrowserElement = ArcgisPortalBrowser;
|
|
275
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalBrowser["@eventTypes"] instead. */
|
|
276
|
+
type HTMLArcgisPortalBrowserElementEventMap = ArcgisPortalBrowser["@eventTypes"];
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
|
|
235
280
|
export interface PortalBrowserSearchResponse {
|
|
236
281
|
nextStart?: number;
|
|
237
282
|
num: number;
|
|
238
283
|
start: number;
|
|
239
284
|
total: number;
|
|
240
285
|
results: unknown[];
|
|
241
|
-
}
|
|
286
|
+
}
|
|
287
|
+
export {};
|
|
@@ -4,6 +4,13 @@ import type { BrowserContent } from "../arcgis-portal-browser/utils/types.js";
|
|
|
4
4
|
import type { PortalBrowserAction } from "./types.js";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
|
|
7
|
+
declare module "@arcgis/lumina" {
|
|
8
|
+
interface RegisteredElements {
|
|
9
|
+
/** See {@link ArcgisPortalBrowserActions}. */
|
|
10
|
+
"arcgis-portal-browser-actions": ArcgisPortalBrowserActions;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
export abstract class ArcgisPortalBrowserActions extends LitElement {
|
|
8
15
|
/** @internal */
|
|
9
16
|
protected _messages: {
|
|
@@ -182,4 +189,13 @@ export abstract class ArcgisPortalBrowserActions extends LitElement {
|
|
|
182
189
|
accessor actions: PortalBrowserAction[];
|
|
183
190
|
accessor selection: BrowserContent | undefined;
|
|
184
191
|
restoreFocus(): Promise<void>;
|
|
185
|
-
|
|
192
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "actions" | "selection">;
|
|
193
|
+
readonly "@jsxEvents": {};
|
|
194
|
+
readonly "@jsxStencilEvents": {};
|
|
195
|
+
}
|
|
196
|
+
declare global {
|
|
197
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowserActions from its component module instead. */
|
|
198
|
+
type HTMLArcgisPortalBrowserActionsElement = ArcgisPortalBrowserActions;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export {};
|
|
@@ -3,6 +3,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { PortalBrowserFilterDetail } from "../arcgis-portal-browser/utils/store.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
interface RegisteredElements {
|
|
8
|
+
/** See {@link ArcgisPortalBrowserFilterStatus}. */
|
|
9
|
+
"arcgis-portal-browser-filter-status": ArcgisPortalBrowserFilterStatus;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
export abstract class ArcgisPortalBrowserFilterStatus extends LitElement {
|
|
7
14
|
/** @internal */
|
|
8
15
|
protected _messages: {
|
|
@@ -184,10 +191,32 @@ export abstract class ArcgisPortalBrowserFilterStatus extends LitElement {
|
|
|
184
191
|
accessor componentWidth: number | undefined;
|
|
185
192
|
accessor filters: Record<string, PortalBrowserFilterDetail>;
|
|
186
193
|
accessor hiddenFilterIds: string[];
|
|
194
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "browserWidth" | "componentWidth" | "filters" | "hiddenFilterIds">;
|
|
195
|
+
readonly "@jsxEvents": ArcgisPortalBrowserFilterStatusEventHandlers<this>;
|
|
196
|
+
readonly "@jsxStencilEvents": ArcgisPortalBrowserFilterStatusStencilEventHandlers<this>;
|
|
187
197
|
readonly arcgisBrowserFilterClear: import("@arcgis/lumina").TargetedEvent<this, null>;
|
|
188
198
|
readonly arcgisBrowserFilterRemove: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
189
|
-
readonly "@eventTypes":
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
|
|
199
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisBrowserFilterClear" | "arcgisBrowserFilterRemove">>;
|
|
200
|
+
}
|
|
201
|
+
interface ArcgisPortalBrowserFilterStatusEventHandlers<Target extends ArcgisPortalBrowserFilterStatus = ArcgisPortalBrowserFilterStatus> {
|
|
202
|
+
/** See {@link ArcgisPortalBrowserFilterStatus.arcgisBrowserFilterClear}. */
|
|
203
|
+
onarcgisBrowserFilterClear?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterClear"]>;
|
|
204
|
+
/** See {@link ArcgisPortalBrowserFilterStatus.arcgisBrowserFilterRemove}. */
|
|
205
|
+
onarcgisBrowserFilterRemove?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterRemove"]>;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
interface ArcgisPortalBrowserFilterStatusStencilEventHandlers<Target extends ArcgisPortalBrowserFilterStatus = ArcgisPortalBrowserFilterStatus> {
|
|
209
|
+
/** See {@link ArcgisPortalBrowserFilterStatus.arcgisBrowserFilterClear}. */
|
|
210
|
+
onArcgisBrowserFilterClear?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterClear"]>;
|
|
211
|
+
/** See {@link ArcgisPortalBrowserFilterStatus.arcgisBrowserFilterRemove}. */
|
|
212
|
+
onArcgisBrowserFilterRemove?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterRemove"]>;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
declare global {
|
|
216
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowserFilterStatus from its component module instead. */
|
|
217
|
+
type HTMLArcgisPortalBrowserFilterStatusElement = ArcgisPortalBrowserFilterStatus;
|
|
218
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalBrowserFilterStatus["@eventTypes"] instead. */
|
|
219
|
+
type HTMLArcgisPortalBrowserFilterStatusElementEventMap = ArcgisPortalBrowserFilterStatus["@eventTypes"];
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export {};
|
|
@@ -4,6 +4,13 @@ import type { PortalBrowserStore } from "../arcgis-portal-browser/utils/store.js
|
|
|
4
4
|
import type { BrowserPageDetail } from "../arcgis-portal-browser/utils/types.js";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
|
|
7
|
+
declare module "@arcgis/lumina" {
|
|
8
|
+
interface RegisteredElements {
|
|
9
|
+
/** See {@link ArcgisPortalBrowserPagination}. */
|
|
10
|
+
"arcgis-portal-browser-pagination": ArcgisPortalBrowserPagination;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
export abstract class ArcgisPortalBrowserPagination extends LitElement {
|
|
8
15
|
/** @internal */
|
|
9
16
|
protected _messages: {
|
|
@@ -187,8 +194,27 @@ export abstract class ArcgisPortalBrowserPagination extends LitElement {
|
|
|
187
194
|
/** @default 0 */
|
|
188
195
|
accessor total: number;
|
|
189
196
|
nextPage(): Promise<void>;
|
|
197
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "num" | "start" | "store" | "total">;
|
|
198
|
+
readonly "@jsxEvents": ArcgisPortalBrowserPaginationEventHandlers<this>;
|
|
199
|
+
readonly "@jsxStencilEvents": ArcgisPortalBrowserPaginationStencilEventHandlers<this>;
|
|
190
200
|
readonly arcgisBrowserPage: import("@arcgis/lumina").TargetedEvent<this, BrowserPageDetail>;
|
|
191
|
-
readonly "@eventTypes":
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
201
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisBrowserPage">>;
|
|
202
|
+
}
|
|
203
|
+
interface ArcgisPortalBrowserPaginationEventHandlers<Target extends ArcgisPortalBrowserPagination = ArcgisPortalBrowserPagination> {
|
|
204
|
+
/** See {@link ArcgisPortalBrowserPagination.arcgisBrowserPage}. */
|
|
205
|
+
onarcgisBrowserPage?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserPage"]>;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
interface ArcgisPortalBrowserPaginationStencilEventHandlers<Target extends ArcgisPortalBrowserPagination = ArcgisPortalBrowserPagination> {
|
|
209
|
+
/** See {@link ArcgisPortalBrowserPagination.arcgisBrowserPage}. */
|
|
210
|
+
onArcgisBrowserPage?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserPage"]>;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
declare global {
|
|
214
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowserPagination from its component module instead. */
|
|
215
|
+
type HTMLArcgisPortalBrowserPaginationElement = ArcgisPortalBrowserPagination;
|
|
216
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalBrowserPagination["@eventTypes"] instead. */
|
|
217
|
+
type HTMLArcgisPortalBrowserPaginationElementEventMap = ArcgisPortalBrowserPagination["@eventTypes"];
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export {};
|
|
@@ -3,6 +3,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { PortalBrowserStore } from "../arcgis-portal-browser/utils/store.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
interface RegisteredElements {
|
|
8
|
+
/** See {@link ArcgisPortalBrowserSearch}. */
|
|
9
|
+
"arcgis-portal-browser-search": ArcgisPortalBrowserSearch;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
export abstract class ArcgisPortalBrowserSearch extends LitElement {
|
|
7
14
|
/** @internal */
|
|
8
15
|
protected _messages: {
|
|
@@ -186,10 +193,32 @@ export abstract class ArcgisPortalBrowserSearch extends LitElement {
|
|
|
186
193
|
/** @default "" */
|
|
187
194
|
accessor term: string;
|
|
188
195
|
setFocus(): Promise<void>;
|
|
196
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "allowClear" | "placeholder" | "store" | "term">;
|
|
197
|
+
readonly "@jsxEvents": ArcgisPortalBrowserSearchEventHandlers<this>;
|
|
198
|
+
readonly "@jsxStencilEvents": ArcgisPortalBrowserSearchStencilEventHandlers<this>;
|
|
189
199
|
readonly arcgisBrowserSearch: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
190
200
|
readonly arcgisBrowserSearchInput: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
191
|
-
readonly "@eventTypes":
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}
|
|
195
|
-
|
|
201
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisBrowserSearch" | "arcgisBrowserSearchInput">>;
|
|
202
|
+
}
|
|
203
|
+
interface ArcgisPortalBrowserSearchEventHandlers<Target extends ArcgisPortalBrowserSearch = ArcgisPortalBrowserSearch> {
|
|
204
|
+
/** See {@link ArcgisPortalBrowserSearch.arcgisBrowserSearch}. */
|
|
205
|
+
onarcgisBrowserSearch?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSearch"]>;
|
|
206
|
+
/** See {@link ArcgisPortalBrowserSearch.arcgisBrowserSearchInput}. */
|
|
207
|
+
onarcgisBrowserSearchInput?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSearchInput"]>;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
interface ArcgisPortalBrowserSearchStencilEventHandlers<Target extends ArcgisPortalBrowserSearch = ArcgisPortalBrowserSearch> {
|
|
211
|
+
/** See {@link ArcgisPortalBrowserSearch.arcgisBrowserSearch}. */
|
|
212
|
+
onArcgisBrowserSearch?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSearch"]>;
|
|
213
|
+
/** See {@link ArcgisPortalBrowserSearch.arcgisBrowserSearchInput}. */
|
|
214
|
+
onArcgisBrowserSearchInput?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSearchInput"]>;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare global {
|
|
218
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowserSearch from its component module instead. */
|
|
219
|
+
type HTMLArcgisPortalBrowserSearchElement = ArcgisPortalBrowserSearch;
|
|
220
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalBrowserSearch["@eventTypes"] instead. */
|
|
221
|
+
type HTMLArcgisPortalBrowserSearchElementEventMap = ArcgisPortalBrowserSearch["@eventTypes"];
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export {};
|
|
@@ -3,6 +3,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { PortalBrowserSortField, PortalBrowserSortOrder } from "./utils.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
interface RegisteredElements {
|
|
8
|
+
/** See {@link ArcgisPortalBrowserSort}. */
|
|
9
|
+
"arcgis-portal-browser-sort": ArcgisPortalBrowserSort;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
export abstract class ArcgisPortalBrowserSort extends LitElement {
|
|
7
14
|
/** @internal */
|
|
8
15
|
protected _messages: {
|
|
@@ -187,10 +194,32 @@ export abstract class ArcgisPortalBrowserSort extends LitElement {
|
|
|
187
194
|
accessor showText: boolean;
|
|
188
195
|
/** @default false */
|
|
189
196
|
accessor useDeleted: boolean;
|
|
197
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "appearance" | "field" | "options" | "order" | "showText" | "useDeleted">;
|
|
198
|
+
readonly "@jsxEvents": ArcgisPortalBrowserSortEventHandlers<this>;
|
|
199
|
+
readonly "@jsxStencilEvents": ArcgisPortalBrowserSortStencilEventHandlers<this>;
|
|
190
200
|
readonly arcgisBrowserSortFieldChange: import("@arcgis/lumina").TargetedEvent<this, PortalBrowserSortField>;
|
|
191
201
|
readonly arcgisBrowserSortOrderChange: import("@arcgis/lumina").TargetedEvent<this, PortalBrowserSortOrder>;
|
|
192
|
-
readonly "@eventTypes":
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
|
|
202
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisBrowserSortFieldChange" | "arcgisBrowserSortOrderChange">>;
|
|
203
|
+
}
|
|
204
|
+
interface ArcgisPortalBrowserSortEventHandlers<Target extends ArcgisPortalBrowserSort = ArcgisPortalBrowserSort> {
|
|
205
|
+
/** See {@link ArcgisPortalBrowserSort.arcgisBrowserSortFieldChange}. */
|
|
206
|
+
onarcgisBrowserSortFieldChange?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSortFieldChange"]>;
|
|
207
|
+
/** See {@link ArcgisPortalBrowserSort.arcgisBrowserSortOrderChange}. */
|
|
208
|
+
onarcgisBrowserSortOrderChange?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSortOrderChange"]>;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
interface ArcgisPortalBrowserSortStencilEventHandlers<Target extends ArcgisPortalBrowserSort = ArcgisPortalBrowserSort> {
|
|
212
|
+
/** See {@link ArcgisPortalBrowserSort.arcgisBrowserSortFieldChange}. */
|
|
213
|
+
onArcgisBrowserSortFieldChange?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSortFieldChange"]>;
|
|
214
|
+
/** See {@link ArcgisPortalBrowserSort.arcgisBrowserSortOrderChange}. */
|
|
215
|
+
onArcgisBrowserSortOrderChange?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserSortOrderChange"]>;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare global {
|
|
219
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowserSort from its component module instead. */
|
|
220
|
+
type HTMLArcgisPortalBrowserSortElement = ArcgisPortalBrowserSort;
|
|
221
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalBrowserSort["@eventTypes"] instead. */
|
|
222
|
+
type HTMLArcgisPortalBrowserSortElementEventMap = ArcgisPortalBrowserSort["@eventTypes"];
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export {};
|
|
@@ -3,6 +3,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { PortalBrowserStore } from "../arcgis-portal-browser/utils/store.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
interface RegisteredElements {
|
|
8
|
+
/** See {@link ArcgisPortalBrowserTopBar}. */
|
|
9
|
+
"arcgis-portal-browser-top-bar": ArcgisPortalBrowserTopBar;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
export abstract class ArcgisPortalBrowserTopBar extends LitElement {
|
|
7
14
|
/** @internal */
|
|
8
15
|
protected _messages: {
|
|
@@ -181,10 +188,32 @@ export abstract class ArcgisPortalBrowserTopBar extends LitElement {
|
|
|
181
188
|
/** @default false */
|
|
182
189
|
accessor filtersDisabled: boolean;
|
|
183
190
|
accessor store: PortalBrowserStore;
|
|
191
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "filtersDisabled" | "store">;
|
|
192
|
+
readonly "@jsxEvents": ArcgisPortalBrowserTopBarEventHandlers<this>;
|
|
193
|
+
readonly "@jsxStencilEvents": ArcgisPortalBrowserTopBarStencilEventHandlers<this>;
|
|
184
194
|
readonly arcgisBrowserFilterClear: import("@arcgis/lumina").TargetedEvent<this, null>;
|
|
185
195
|
readonly arcgisBrowserFilterRemove: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
186
|
-
readonly "@eventTypes":
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
|
|
196
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisBrowserFilterClear" | "arcgisBrowserFilterRemove">>;
|
|
197
|
+
}
|
|
198
|
+
interface ArcgisPortalBrowserTopBarEventHandlers<Target extends ArcgisPortalBrowserTopBar = ArcgisPortalBrowserTopBar> {
|
|
199
|
+
/** See {@link ArcgisPortalBrowserTopBar.arcgisBrowserFilterClear}. */
|
|
200
|
+
onarcgisBrowserFilterClear?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterClear"]>;
|
|
201
|
+
/** See {@link ArcgisPortalBrowserTopBar.arcgisBrowserFilterRemove}. */
|
|
202
|
+
onarcgisBrowserFilterRemove?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterRemove"]>;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
interface ArcgisPortalBrowserTopBarStencilEventHandlers<Target extends ArcgisPortalBrowserTopBar = ArcgisPortalBrowserTopBar> {
|
|
206
|
+
/** See {@link ArcgisPortalBrowserTopBar.arcgisBrowserFilterClear}. */
|
|
207
|
+
onArcgisBrowserFilterClear?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterClear"]>;
|
|
208
|
+
/** See {@link ArcgisPortalBrowserTopBar.arcgisBrowserFilterRemove}. */
|
|
209
|
+
onArcgisBrowserFilterRemove?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserFilterRemove"]>;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
declare global {
|
|
213
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowserTopBar from its component module instead. */
|
|
214
|
+
type HTMLArcgisPortalBrowserTopBarElement = ArcgisPortalBrowserTopBar;
|
|
215
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalBrowserTopBar["@eventTypes"] instead. */
|
|
216
|
+
type HTMLArcgisPortalBrowserTopBarElementEventMap = ArcgisPortalBrowserTopBar["@eventTypes"];
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export {};
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { PortalBrowserStore } from "../arcgis-portal-browser/utils/store.js";
|
|
4
4
|
|
|
5
|
+
declare module "@arcgis/lumina" {
|
|
6
|
+
interface RegisteredElements {
|
|
7
|
+
/** See {@link ArcgisPortalBrowserView}. */
|
|
8
|
+
"arcgis-portal-browser-view": ArcgisPortalBrowserView;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
5
12
|
export abstract class ArcgisPortalBrowserView extends LitElement {
|
|
6
13
|
accessor options: PortalBrowserViewOption[];
|
|
7
14
|
accessor store: PortalBrowserStore;
|
|
@@ -9,13 +16,32 @@ export abstract class ArcgisPortalBrowserView extends LitElement {
|
|
|
9
16
|
accessor view: string;
|
|
10
17
|
/** @default "View" */
|
|
11
18
|
accessor viewText: string;
|
|
19
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "options" | "store" | "view" | "viewText">;
|
|
20
|
+
readonly "@jsxEvents": ArcgisPortalBrowserViewEventHandlers<this>;
|
|
21
|
+
readonly "@jsxStencilEvents": ArcgisPortalBrowserViewStencilEventHandlers<this>;
|
|
12
22
|
readonly arcgisBrowserViewChange: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
13
|
-
readonly "@eventTypes":
|
|
14
|
-
|
|
15
|
-
|
|
23
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisBrowserViewChange">>;
|
|
24
|
+
}
|
|
25
|
+
interface ArcgisPortalBrowserViewEventHandlers<Target extends ArcgisPortalBrowserView = ArcgisPortalBrowserView> {
|
|
26
|
+
/** See {@link ArcgisPortalBrowserView.arcgisBrowserViewChange}. */
|
|
27
|
+
onarcgisBrowserViewChange?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserViewChange"]>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface ArcgisPortalBrowserViewStencilEventHandlers<Target extends ArcgisPortalBrowserView = ArcgisPortalBrowserView> {
|
|
31
|
+
/** See {@link ArcgisPortalBrowserView.arcgisBrowserViewChange}. */
|
|
32
|
+
onArcgisBrowserViewChange?: import("@arcgis/lumina").EventHandler<Target["arcgisBrowserViewChange"]>;
|
|
16
33
|
}
|
|
17
34
|
|
|
35
|
+
declare global {
|
|
36
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalBrowserView from its component module instead. */
|
|
37
|
+
type HTMLArcgisPortalBrowserViewElement = ArcgisPortalBrowserView;
|
|
38
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalBrowserView["@eventTypes"] instead. */
|
|
39
|
+
type HTMLArcgisPortalBrowserViewElementEventMap = ArcgisPortalBrowserView["@eventTypes"];
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
18
43
|
export interface PortalBrowserViewOption {
|
|
19
44
|
value: string;
|
|
20
45
|
title: string;
|
|
21
|
-
}
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -3,6 +3,13 @@ import type PortalItem from "@arcgis/core/portal/PortalItem.js";
|
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
interface RegisteredElements {
|
|
8
|
+
/** See {@link ArcgisPortalClassificationBanner}. */
|
|
9
|
+
"arcgis-portal-classification-banner": ArcgisPortalClassificationBanner;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
/** @internal */
|
|
7
14
|
export abstract class ArcgisPortalClassificationBanner extends LitElement {
|
|
8
15
|
/** @internal */
|
|
@@ -38,4 +45,13 @@ export abstract class ArcgisPortalClassificationBanner extends LitElement {
|
|
|
38
45
|
accessor variant: "full" | "preview";
|
|
39
46
|
/** Permanently destroy the component */
|
|
40
47
|
destroy(): Promise<void>;
|
|
41
|
-
|
|
48
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "missingExistingClassification" | "portalItem" | "validationErrors" | "variant">;
|
|
49
|
+
readonly "@jsxEvents": {};
|
|
50
|
+
readonly "@jsxStencilEvents": {};
|
|
51
|
+
}
|
|
52
|
+
declare global {
|
|
53
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalClassificationBanner from its component module instead. */
|
|
54
|
+
type HTMLArcgisPortalClassificationBannerElement = ArcgisPortalClassificationBanner;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export {};
|