@arcgis/portal-components 6.0.0-next.44 → 6.0.0-next.46
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/KIII5IQV.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/{K3Z2K3M4.js → SW5C6THN.js} +12 -12
- package/dist/cdn/VPVDVHQA.js +2 -0
- package/dist/cdn/YXTLFAFP.js +2 -0
- 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/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 +36 -7
- package/dist/components/arcgis-portal-ai-assistant/customElement.js +337 -324
- package/dist/components/arcgis-portal-ai-assistant/index.js +1 -0
- 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 +38 -6
- 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-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/loader.d.ts +65 -2
- package/dist/loader.js +1 -0
- 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/PM33STYQ.js +0 -2
- 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";
|
|
@@ -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 {};
|
|
@@ -4,6 +4,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
import type { Status } from "../../models/classificationModel.js";
|
|
6
6
|
|
|
7
|
+
declare module "@arcgis/lumina" {
|
|
8
|
+
interface RegisteredElements {
|
|
9
|
+
/** See {@link ArcgisPortalClassificationConfig}. */
|
|
10
|
+
"arcgis-portal-classification-config": ArcgisPortalClassificationConfig;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
/**
|
|
8
15
|
* The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.
|
|
9
16
|
*
|
|
@@ -66,9 +73,28 @@ export abstract class ArcgisPortalClassificationConfig extends LitElement {
|
|
|
66
73
|
resetForm(): Promise<void>;
|
|
67
74
|
/** Validates the form and sets the formValidationErrors state. */
|
|
68
75
|
validateForm(): Promise<void>;
|
|
76
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "valid" | "values", "portalItem">;
|
|
77
|
+
readonly "@jsxEvents": ArcgisPortalClassificationConfigEventHandlers<this>;
|
|
78
|
+
readonly "@jsxStencilEvents": ArcgisPortalClassificationConfigStencilEventHandlers<this>;
|
|
69
79
|
/** Event emitted when component property values status, values, or valid change. */
|
|
70
80
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "status" | "values" | "valid"; }>;
|
|
71
|
-
readonly "@eventTypes":
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
81
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisPropertyChange">>;
|
|
82
|
+
}
|
|
83
|
+
interface ArcgisPortalClassificationConfigEventHandlers<Target extends ArcgisPortalClassificationConfig = ArcgisPortalClassificationConfig> {
|
|
84
|
+
/** See {@link ArcgisPortalClassificationConfig.arcgisPropertyChange}. */
|
|
85
|
+
onarcgisPropertyChange?: import("@arcgis/lumina").EventHandler<Target["arcgisPropertyChange"]>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
interface ArcgisPortalClassificationConfigStencilEventHandlers<Target extends ArcgisPortalClassificationConfig = ArcgisPortalClassificationConfig> {
|
|
89
|
+
/** See {@link ArcgisPortalClassificationConfig.arcgisPropertyChange}. */
|
|
90
|
+
onArcgisPropertyChange?: import("@arcgis/lumina").EventHandler<Target["arcgisPropertyChange"]>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare global {
|
|
94
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalClassificationConfig from its component module instead. */
|
|
95
|
+
type HTMLArcgisPortalClassificationConfigElement = ArcgisPortalClassificationConfig;
|
|
96
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalClassificationConfig["@eventTypes"] instead. */
|
|
97
|
+
type HTMLArcgisPortalClassificationConfigElementEventMap = ArcgisPortalClassificationConfig["@eventTypes"];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export {};
|
|
@@ -4,6 +4,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
4
4
|
import type { FavoriteClassification, AttributeExpressionResults } from "../../types/classification.js";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
|
|
7
|
+
declare module "@arcgis/lumina" {
|
|
8
|
+
interface RegisteredElements {
|
|
9
|
+
/** See {@link ArcgisPortalClassificationFavorite}. */
|
|
10
|
+
"arcgis-portal-classification-favorite": ArcgisPortalClassificationFavorite;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
export abstract class ArcgisPortalClassificationFavorite extends LitElement {
|
|
8
15
|
accessor attributeExpressionResults: AttributeExpressionResults | undefined;
|
|
9
16
|
/** Current classification value */
|
|
@@ -60,4 +67,13 @@ export abstract class ArcgisPortalClassificationFavorite extends LitElement {
|
|
|
60
67
|
/** @default "" */
|
|
61
68
|
accessor selectedFavoriteClassificationName: string;
|
|
62
69
|
accessor updateClassificationData: (selectedClassification: FavoriteClassification) => void;
|
|
63
|
-
|
|
70
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "attributeExpressionResults" | "classificationValue" | "favoriteClassifications" | "portalItem" | "resetFavoriteClassification" | "selectedFavoriteClassificationName" | "updateClassificationData">;
|
|
71
|
+
readonly "@jsxEvents": {};
|
|
72
|
+
readonly "@jsxStencilEvents": {};
|
|
73
|
+
}
|
|
74
|
+
declare global {
|
|
75
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalClassificationFavorite from its component module instead. */
|
|
76
|
+
type HTMLArcgisPortalClassificationFavoriteElement = ArcgisPortalClassificationFavorite;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export {};
|