@arcgis/portal-components 6.0.0-next.44 → 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/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,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { ClassificationSchema, AttributeExpressionResults } from "../../types/classification.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
|
|
6
|
+
declare module "@arcgis/lumina" {
|
|
7
|
+
interface RegisteredElements {
|
|
8
|
+
/** See {@link ArcgisPortalClassificationFormElement}. */
|
|
9
|
+
"arcgis-portal-classification-form-element": ArcgisPortalClassificationFormElement;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
/**
|
|
7
14
|
* A web component that renders form elements for a classification schema attribute.
|
|
8
15
|
*
|
|
@@ -26,9 +33,28 @@ export abstract class ArcgisPortalClassificationFormElement extends LitElement {
|
|
|
26
33
|
}>;
|
|
27
34
|
accessor renderingInfo: Pick<NonNullable<ReturnType<AttributeExpressionResults["get"]>>, "attributeValidationResult" | "valueExpressionResult"> | undefined;
|
|
28
35
|
accessor value: unknown;
|
|
36
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "attribute" | "attributeKey" | "isRequiredErrors" | "renderingInfo" | "value">;
|
|
37
|
+
readonly "@jsxEvents": ArcgisPortalClassificationFormElementEventHandlers<this>;
|
|
38
|
+
readonly "@jsxStencilEvents": ArcgisPortalClassificationFormElementStencilEventHandlers<this>;
|
|
29
39
|
/** The attribute value has changed. */
|
|
30
40
|
readonly arcgisAttributeValueChange: import("@arcgis/lumina").TargetedEvent<this, Record<string, unknown>>;
|
|
31
|
-
readonly "@eventTypes":
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
41
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisAttributeValueChange">>;
|
|
42
|
+
}
|
|
43
|
+
interface ArcgisPortalClassificationFormElementEventHandlers<Target extends ArcgisPortalClassificationFormElement = ArcgisPortalClassificationFormElement> {
|
|
44
|
+
/** See {@link ArcgisPortalClassificationFormElement.arcgisAttributeValueChange}. */
|
|
45
|
+
onarcgisAttributeValueChange?: import("@arcgis/lumina").EventHandler<Target["arcgisAttributeValueChange"]>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface ArcgisPortalClassificationFormElementStencilEventHandlers<Target extends ArcgisPortalClassificationFormElement = ArcgisPortalClassificationFormElement> {
|
|
49
|
+
/** See {@link ArcgisPortalClassificationFormElement.arcgisAttributeValueChange}. */
|
|
50
|
+
onArcgisAttributeValueChange?: import("@arcgis/lumina").EventHandler<Target["arcgisAttributeValueChange"]>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare global {
|
|
54
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalClassificationFormElement from its component module instead. */
|
|
55
|
+
type HTMLArcgisPortalClassificationFormElementElement = ArcgisPortalClassificationFormElement;
|
|
56
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalClassificationFormElement["@eventTypes"] instead. */
|
|
57
|
+
type HTMLArcgisPortalClassificationFormElementElementEventMap = ArcgisPortalClassificationFormElement["@eventTypes"];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export {};
|
|
@@ -7,6 +7,13 @@ import type { DeleteItemResponse } from "./services.js";
|
|
|
7
7
|
import type { APIResponse } from "../../utils/types.js";
|
|
8
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
9
|
|
|
10
|
+
declare module "@arcgis/lumina" {
|
|
11
|
+
interface RegisteredElements {
|
|
12
|
+
/** See {@link ArcgisPortalDeleteItems}. */
|
|
13
|
+
"arcgis-portal-delete-items": ArcgisPortalDeleteItems;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
10
17
|
/**
|
|
11
18
|
* Displays a confirmation dialog for deleting portal items.
|
|
12
19
|
*
|
|
@@ -253,19 +260,43 @@ export abstract class ArcgisPortalDeleteItems extends LitElement {
|
|
|
253
260
|
accessor portal: Portal;
|
|
254
261
|
/** The user performing deletion. */
|
|
255
262
|
accessor user: PortalUser | null | undefined;
|
|
263
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "active" | "disableLinks" | "itemIds" | "items" | "portal" | "user">;
|
|
264
|
+
readonly "@jsxEvents": ArcgisPortalDeleteItemsEventHandlers<this>;
|
|
265
|
+
readonly "@jsxStencilEvents": ArcgisPortalDeleteItemsStencilEventHandlers<this>;
|
|
256
266
|
/** Emitted when the user cancels the deletion. */
|
|
257
267
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
258
268
|
/** Emitted when the user confirms the deletion. */
|
|
259
269
|
readonly arcgisConfirm: import("@arcgis/lumina").TargetedEvent<this, DeleteItemsPayload>;
|
|
260
270
|
/** Emitted when an error occurs during deletion. */
|
|
261
271
|
readonly arcgisError: import("@arcgis/lumina").TargetedEvent<this, DeleteItemsPayload>;
|
|
262
|
-
readonly "@eventTypes":
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
272
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisClose" | "arcgisConfirm" | "arcgisError">>;
|
|
273
|
+
}
|
|
274
|
+
interface ArcgisPortalDeleteItemsEventHandlers<Target extends ArcgisPortalDeleteItems = ArcgisPortalDeleteItems> {
|
|
275
|
+
/** See {@link ArcgisPortalDeleteItems.arcgisClose}. */
|
|
276
|
+
onarcgisClose?: import("@arcgis/lumina").EventHandler<Target["arcgisClose"]>;
|
|
277
|
+
/** See {@link ArcgisPortalDeleteItems.arcgisConfirm}. */
|
|
278
|
+
onarcgisConfirm?: import("@arcgis/lumina").EventHandler<Target["arcgisConfirm"]>;
|
|
279
|
+
/** See {@link ArcgisPortalDeleteItems.arcgisError}. */
|
|
280
|
+
onarcgisError?: import("@arcgis/lumina").EventHandler<Target["arcgisError"]>;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
interface ArcgisPortalDeleteItemsStencilEventHandlers<Target extends ArcgisPortalDeleteItems = ArcgisPortalDeleteItems> {
|
|
284
|
+
/** See {@link ArcgisPortalDeleteItems.arcgisClose}. */
|
|
285
|
+
onArcgisClose?: import("@arcgis/lumina").EventHandler<Target["arcgisClose"]>;
|
|
286
|
+
/** See {@link ArcgisPortalDeleteItems.arcgisConfirm}. */
|
|
287
|
+
onArcgisConfirm?: import("@arcgis/lumina").EventHandler<Target["arcgisConfirm"]>;
|
|
288
|
+
/** See {@link ArcgisPortalDeleteItems.arcgisError}. */
|
|
289
|
+
onArcgisError?: import("@arcgis/lumina").EventHandler<Target["arcgisError"]>;
|
|
267
290
|
}
|
|
268
291
|
|
|
292
|
+
declare global {
|
|
293
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalDeleteItems from its component module instead. */
|
|
294
|
+
type HTMLArcgisPortalDeleteItemsElement = ArcgisPortalDeleteItems;
|
|
295
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalDeleteItems["@eventTypes"] instead. */
|
|
296
|
+
type HTMLArcgisPortalDeleteItemsElementEventMap = ArcgisPortalDeleteItems["@eventTypes"];
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
|
|
269
300
|
/** @internal */
|
|
270
301
|
export interface DeleteItemsPayload {
|
|
271
302
|
deletedItems: DeleteItemResponse[] | null;
|
|
@@ -277,4 +308,5 @@ export interface DeleteItemsPayload {
|
|
|
277
308
|
*/
|
|
278
309
|
deletedItemsCount?: number;
|
|
279
310
|
permanentlyDeletedItemsCount?: number;
|
|
280
|
-
}
|
|
311
|
+
}
|
|
312
|
+
export {};
|
|
@@ -5,6 +5,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
5
5
|
import type { RecycleStatus } from "../arcgis-portal-delete-items/types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
8
|
+
declare module "@arcgis/lumina" {
|
|
9
|
+
interface RegisteredElements {
|
|
10
|
+
/** See {@link ArcgisPortalDeleteItemsReview}. */
|
|
11
|
+
"arcgis-portal-delete-items-review": ArcgisPortalDeleteItemsReview;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
8
15
|
export abstract class ArcgisPortalDeleteItemsReview extends LitElement {
|
|
9
16
|
accessor items: RecycleStatus[];
|
|
10
17
|
/** @internal */
|
|
@@ -37,4 +44,13 @@ export abstract class ArcgisPortalDeleteItemsReview extends LitElement {
|
|
|
37
44
|
}>;
|
|
38
45
|
accessor portal: Portal;
|
|
39
46
|
accessor user: PortalUser | null | undefined;
|
|
40
|
-
|
|
47
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "items" | "portal" | "user">;
|
|
48
|
+
readonly "@jsxEvents": {};
|
|
49
|
+
readonly "@jsxStencilEvents": {};
|
|
50
|
+
}
|
|
51
|
+
declare global {
|
|
52
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalDeleteItemsReview from its component module instead. */
|
|
53
|
+
type HTMLArcgisPortalDeleteItemsReviewElement = ArcgisPortalDeleteItemsReview;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export {};
|
|
@@ -6,6 +6,13 @@ import type { ArcgisPortalItemCard } from "../arcgis-portal-item-card/customElem
|
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
8
8
|
|
|
9
|
+
declare module "@arcgis/lumina" {
|
|
10
|
+
interface RegisteredElements {
|
|
11
|
+
/** See {@link ArcgisPortalEntityPicker}. */
|
|
12
|
+
"arcgis-portal-entity-picker": ArcgisPortalEntityPicker;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
9
16
|
/**
|
|
10
17
|
* Search for and select an item, group, or organization member from a portal.
|
|
11
18
|
* Item and group searches default to all accessible content; user searches are organization-only.
|
|
@@ -132,9 +139,28 @@ export abstract class ArcgisPortalEntityPicker extends LitElement {
|
|
|
132
139
|
* @param open
|
|
133
140
|
*/
|
|
134
141
|
togglePicker(open: boolean): Promise<void>;
|
|
142
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "entityType" | "icon" | "initialScope" | "initialSearchTerm" | "messageOverrides" | "mode" | "num" | "portal" | "query" | "scopeSelectionDisabled" | "selected" | "selectionMode">;
|
|
143
|
+
readonly "@jsxEvents": ArcgisPortalEntityPickerEventHandlers<this>;
|
|
144
|
+
readonly "@jsxStencilEvents": ArcgisPortalEntityPickerStencilEventHandlers<this>;
|
|
135
145
|
/** Emitted when the user requests a selection change. */
|
|
136
146
|
readonly arcgisSelectionChange: import("@arcgis/lumina").TargetedEvent<this, PortalEntityPickerSelection | null>;
|
|
137
|
-
readonly "@eventTypes":
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
147
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisSelectionChange">>;
|
|
148
|
+
}
|
|
149
|
+
interface ArcgisPortalEntityPickerEventHandlers<Target extends ArcgisPortalEntityPicker = ArcgisPortalEntityPicker> {
|
|
150
|
+
/** See {@link ArcgisPortalEntityPicker.arcgisSelectionChange}. */
|
|
151
|
+
onarcgisSelectionChange?: import("@arcgis/lumina").EventHandler<Target["arcgisSelectionChange"]>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
interface ArcgisPortalEntityPickerStencilEventHandlers<Target extends ArcgisPortalEntityPicker = ArcgisPortalEntityPicker> {
|
|
155
|
+
/** See {@link ArcgisPortalEntityPicker.arcgisSelectionChange}. */
|
|
156
|
+
onArcgisSelectionChange?: import("@arcgis/lumina").EventHandler<Target["arcgisSelectionChange"]>;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
declare global {
|
|
160
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalEntityPicker from its component module instead. */
|
|
161
|
+
type HTMLArcgisPortalEntityPickerElement = ArcgisPortalEntityPicker;
|
|
162
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalEntityPicker["@eventTypes"] instead. */
|
|
163
|
+
type HTMLArcgisPortalEntityPickerElementEventMap = ArcgisPortalEntityPicker["@eventTypes"];
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export {};
|
|
@@ -3,6 +3,13 @@ import type Portal from "@arcgis/core/portal/Portal.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 ArcgisPortalExtentPicker}. */
|
|
9
|
+
"arcgis-portal-extent-picker": ArcgisPortalExtentPicker;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
/** To select extent value from a map or by entering coordinates. */
|
|
7
14
|
export abstract class ArcgisPortalExtentPicker extends LitElement {
|
|
8
15
|
/**
|
|
@@ -101,19 +108,43 @@ export abstract class ArcgisPortalExtentPicker extends LitElement {
|
|
|
101
108
|
accessor portal: Portal | undefined;
|
|
102
109
|
/** Returns the current extent value */
|
|
103
110
|
getExtent(): ExtentObj;
|
|
111
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "active" | "contentOnly" | "extentService" | "extentValue" | "isArea" | "itemId" | "portal">;
|
|
112
|
+
readonly "@jsxEvents": ArcgisPortalExtentPickerEventHandlers<this>;
|
|
113
|
+
readonly "@jsxStencilEvents": ArcgisPortalExtentPickerStencilEventHandlers<this>;
|
|
104
114
|
/** Emitted when the extent value changes */
|
|
105
115
|
readonly arcgisExtentPickerChange: import("@arcgis/lumina").TargetedEvent<this, ExtentObj>;
|
|
106
116
|
/** Emitted when the dialog is closed */
|
|
107
117
|
readonly arcgisExtentPickerClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
108
118
|
/** Emitted when the save button is clicked */
|
|
109
119
|
readonly arcgisExtentPickerSave: import("@arcgis/lumina").TargetedEvent<this, ExtentObj>;
|
|
110
|
-
readonly "@eventTypes":
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
120
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisExtentPickerChange" | "arcgisExtentPickerClose" | "arcgisExtentPickerSave">>;
|
|
121
|
+
}
|
|
122
|
+
interface ArcgisPortalExtentPickerEventHandlers<Target extends ArcgisPortalExtentPicker = ArcgisPortalExtentPicker> {
|
|
123
|
+
/** See {@link ArcgisPortalExtentPicker.arcgisExtentPickerChange}. */
|
|
124
|
+
onarcgisExtentPickerChange?: import("@arcgis/lumina").EventHandler<Target["arcgisExtentPickerChange"]>;
|
|
125
|
+
/** See {@link ArcgisPortalExtentPicker.arcgisExtentPickerClose}. */
|
|
126
|
+
onarcgisExtentPickerClose?: import("@arcgis/lumina").EventHandler<Target["arcgisExtentPickerClose"]>;
|
|
127
|
+
/** See {@link ArcgisPortalExtentPicker.arcgisExtentPickerSave}. */
|
|
128
|
+
onarcgisExtentPickerSave?: import("@arcgis/lumina").EventHandler<Target["arcgisExtentPickerSave"]>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
interface ArcgisPortalExtentPickerStencilEventHandlers<Target extends ArcgisPortalExtentPicker = ArcgisPortalExtentPicker> {
|
|
132
|
+
/** See {@link ArcgisPortalExtentPicker.arcgisExtentPickerChange}. */
|
|
133
|
+
onArcgisExtentPickerChange?: import("@arcgis/lumina").EventHandler<Target["arcgisExtentPickerChange"]>;
|
|
134
|
+
/** See {@link ArcgisPortalExtentPicker.arcgisExtentPickerClose}. */
|
|
135
|
+
onArcgisExtentPickerClose?: import("@arcgis/lumina").EventHandler<Target["arcgisExtentPickerClose"]>;
|
|
136
|
+
/** See {@link ArcgisPortalExtentPicker.arcgisExtentPickerSave}. */
|
|
137
|
+
onArcgisExtentPickerSave?: import("@arcgis/lumina").EventHandler<Target["arcgisExtentPickerSave"]>;
|
|
115
138
|
}
|
|
116
139
|
|
|
140
|
+
declare global {
|
|
141
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalExtentPicker from its component module instead. */
|
|
142
|
+
type HTMLArcgisPortalExtentPickerElement = ArcgisPortalExtentPicker;
|
|
143
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalExtentPicker["@eventTypes"] instead. */
|
|
144
|
+
type HTMLArcgisPortalExtentPickerElementEventMap = ArcgisPortalExtentPicker["@eventTypes"];
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
117
148
|
export type ExtentValue = {
|
|
118
149
|
ymin: string;
|
|
119
150
|
ymax: string;
|
|
@@ -123,4 +154,5 @@ export type ExtentValue = {
|
|
|
123
154
|
|
|
124
155
|
export type ExtentObj = {
|
|
125
156
|
extent: ExtentValue;
|
|
126
|
-
};
|
|
157
|
+
};
|
|
158
|
+
export {};
|
|
@@ -6,6 +6,13 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
6
6
|
import type { FieldDeleteOptions, IConfig } from "../../utils/types.js";
|
|
7
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
8
|
|
|
9
|
+
declare module "@arcgis/lumina" {
|
|
10
|
+
interface RegisteredElements {
|
|
11
|
+
/** See {@link ArcgisPortalFieldDelete}. */
|
|
12
|
+
"arcgis-portal-field-delete": ArcgisPortalFieldDelete;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
9
16
|
export abstract class ArcgisPortalFieldDelete extends LitElement {
|
|
10
17
|
/** For documentation links. */
|
|
11
18
|
accessor config: IConfig | undefined;
|
|
@@ -75,6 +82,9 @@ export abstract class ArcgisPortalFieldDelete extends LitElement {
|
|
|
75
82
|
}>;
|
|
76
83
|
/** Properties that may need to be passed in case values differ from what is available on Map Viewer. */
|
|
77
84
|
accessor options: FieldDeleteOptions | undefined;
|
|
85
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "config" | "fieldNames" | "layer" | "mapView" | "options">;
|
|
86
|
+
readonly "@jsxEvents": ArcgisPortalFieldDeleteEventHandlers<this>;
|
|
87
|
+
readonly "@jsxStencilEvents": ArcgisPortalFieldDeleteStencilEventHandlers<this>;
|
|
78
88
|
/** Emitted when the user initiates the delete process. */
|
|
79
89
|
readonly arcgisBeforeDelete: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
80
90
|
/** Emitted before the modal is closed if the alert is handled in consumer. */
|
|
@@ -83,10 +93,35 @@ export abstract class ArcgisPortalFieldDelete extends LitElement {
|
|
|
83
93
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
84
94
|
/** Emitted when the field is successfully deleted. */
|
|
85
95
|
readonly arcgisFieldsDeleted: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
86
|
-
readonly "@eventTypes":
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
96
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisBeforeDelete" | "arcgisBeforeModalClose" | "arcgisClose" | "arcgisFieldsDeleted">>;
|
|
97
|
+
}
|
|
98
|
+
interface ArcgisPortalFieldDeleteEventHandlers<Target extends ArcgisPortalFieldDelete = ArcgisPortalFieldDelete> {
|
|
99
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisBeforeDelete}. */
|
|
100
|
+
onarcgisBeforeDelete?: import("@arcgis/lumina").EventHandler<Target["arcgisBeforeDelete"]>;
|
|
101
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisBeforeModalClose}. */
|
|
102
|
+
onarcgisBeforeModalClose?: import("@arcgis/lumina").EventHandler<Target["arcgisBeforeModalClose"]>;
|
|
103
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisClose}. */
|
|
104
|
+
onarcgisClose?: import("@arcgis/lumina").EventHandler<Target["arcgisClose"]>;
|
|
105
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisFieldsDeleted}. */
|
|
106
|
+
onarcgisFieldsDeleted?: import("@arcgis/lumina").EventHandler<Target["arcgisFieldsDeleted"]>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
interface ArcgisPortalFieldDeleteStencilEventHandlers<Target extends ArcgisPortalFieldDelete = ArcgisPortalFieldDelete> {
|
|
110
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisBeforeDelete}. */
|
|
111
|
+
onArcgisBeforeDelete?: import("@arcgis/lumina").EventHandler<Target["arcgisBeforeDelete"]>;
|
|
112
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisBeforeModalClose}. */
|
|
113
|
+
onArcgisBeforeModalClose?: import("@arcgis/lumina").EventHandler<Target["arcgisBeforeModalClose"]>;
|
|
114
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisClose}. */
|
|
115
|
+
onArcgisClose?: import("@arcgis/lumina").EventHandler<Target["arcgisClose"]>;
|
|
116
|
+
/** See {@link ArcgisPortalFieldDelete.arcgisFieldsDeleted}. */
|
|
117
|
+
onArcgisFieldsDeleted?: import("@arcgis/lumina").EventHandler<Target["arcgisFieldsDeleted"]>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare global {
|
|
121
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalFieldDelete from its component module instead. */
|
|
122
|
+
type HTMLArcgisPortalFieldDeleteElement = ArcgisPortalFieldDelete;
|
|
123
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalFieldDelete["@eventTypes"] instead. */
|
|
124
|
+
type HTMLArcgisPortalFieldDeleteElementEventMap = ArcgisPortalFieldDelete["@eventTypes"];
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export {};
|
|
@@ -5,6 +5,13 @@ import type { GroupBadgesPortal } from "./types.js";
|
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
import type { Chip as Chip } from "@esri/calcite-components/components/calcite-chip";
|
|
7
7
|
|
|
8
|
+
declare module "@arcgis/lumina" {
|
|
9
|
+
interface RegisteredElements {
|
|
10
|
+
/** See {@link ArcgisPortalGroupBadges}. */
|
|
11
|
+
"arcgis-portal-group-badges": ArcgisPortalGroupBadges;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
8
15
|
/** Groups can have special statuses and capabilities. This component derives and renders badges for those states. */
|
|
9
16
|
export abstract class ArcgisPortalGroupBadges extends LitElement {
|
|
10
17
|
/** @internal */
|
|
@@ -98,4 +105,13 @@ export abstract class ArcgisPortalGroupBadges extends LitElement {
|
|
|
98
105
|
* @default "full"
|
|
99
106
|
*/
|
|
100
107
|
accessor width: "full" | "narrow";
|
|
101
|
-
|
|
108
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "appearance" | "empty" | "group" | "portal" | "scale" | "showTooltips" | "width">;
|
|
109
|
+
readonly "@jsxEvents": {};
|
|
110
|
+
readonly "@jsxStencilEvents": {};
|
|
111
|
+
}
|
|
112
|
+
declare global {
|
|
113
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalGroupBadges from its component module instead. */
|
|
114
|
+
type HTMLArcgisPortalGroupBadgesElement = ArcgisPortalGroupBadges;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export {};
|
|
@@ -7,6 +7,13 @@ import type { InternalUIAction } from "../../types/tracking.js";
|
|
|
7
7
|
import type { PortalGroupBrowserCardsConfig, PortalGroupBrowserFiltersConfig, PortalGroupBrowserQuery, PortalGroupBrowserResponse, PortalGroupBrowserSearchParamInteraction, PortalGroupBrowserSearchParamsUpdate, PortalGroupBrowserSearchResult, PortalGroupBrowserSortConfig } from "./types.js";
|
|
8
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
9
|
|
|
10
|
+
declare module "@arcgis/lumina" {
|
|
11
|
+
interface RegisteredElements {
|
|
12
|
+
/** See {@link ArcgisPortalGroupBrowser}. */
|
|
13
|
+
"arcgis-portal-group-browser": ArcgisPortalGroupBrowser;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
10
17
|
/** A group-browser wrapper around `arcgis-portal-browser` that renders filters from declarative config. */
|
|
11
18
|
export abstract class ArcgisPortalGroupBrowser extends LitElement {
|
|
12
19
|
/** @internal */
|
|
@@ -466,6 +473,9 @@ export abstract class ArcgisPortalGroupBrowser extends LitElement {
|
|
|
466
473
|
accessor view: PortalGroupCardProps["view"] | undefined;
|
|
467
474
|
clearFilters(): Promise<void>;
|
|
468
475
|
refresh(): Promise<void>;
|
|
476
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "alwaysShowSelection" | "cards" | "fetch" | "filters" | "formFactor" | "hasIndoorsSpaces" | "height" | "hidePreviewBadges" | "hidePreviewFooter" | "hideTopBar" | "loading" | "messageOverrides" | "num" | "portal" | "preflight" | "preview" | "q" | "searchParamInteraction" | "searchTerm" | "searchUser" | "selected" | "selection" | "sort" | "view">;
|
|
477
|
+
readonly "@jsxEvents": ArcgisPortalGroupBrowserEventHandlers<this>;
|
|
478
|
+
readonly "@jsxStencilEvents": ArcgisPortalGroupBrowserStencilEventHandlers<this>;
|
|
469
479
|
/** Mirrors live-region announcements from the underlying portal browser. */
|
|
470
480
|
readonly arcgisAriaUpdate: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
471
481
|
readonly arcgisGroupBrowserInternalUIAction: import("@arcgis/lumina").TargetedEvent<this, InternalUIAction>;
|
|
@@ -478,15 +488,55 @@ export abstract class ArcgisPortalGroupBrowser extends LitElement {
|
|
|
478
488
|
readonly arcgisGroupBrowserSublayerPreview: import("@arcgis/lumina").TargetedEvent<this, null>;
|
|
479
489
|
readonly arcgisGroupBrowserUpdate: import("@arcgis/lumina").TargetedEvent<this, PortalGroupBrowserResponse>;
|
|
480
490
|
readonly arcgisGroupBrowserUserFilterChange: import("@arcgis/lumina").TargetedEvent<this, string>;
|
|
481
|
-
readonly "@eventTypes":
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
}
|
|
491
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisAriaUpdate" | "arcgisGroupBrowserInternalUIAction" | "arcgisGroupBrowserLoading" | "arcgisGroupBrowserPreview" | "arcgisGroupBrowserSearchParamsUpdate" | "arcgisGroupBrowserSelect" | "arcgisGroupBrowserSublayerPreview" | "arcgisGroupBrowserUpdate" | "arcgisGroupBrowserUserFilterChange">>;
|
|
492
|
+
}
|
|
493
|
+
interface ArcgisPortalGroupBrowserEventHandlers<Target extends ArcgisPortalGroupBrowser = ArcgisPortalGroupBrowser> {
|
|
494
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisAriaUpdate}. */
|
|
495
|
+
onarcgisAriaUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisAriaUpdate"]>;
|
|
496
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserInternalUIAction}. */
|
|
497
|
+
onarcgisGroupBrowserInternalUIAction?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserInternalUIAction"]>;
|
|
498
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserLoading}. */
|
|
499
|
+
onarcgisGroupBrowserLoading?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserLoading"]>;
|
|
500
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserPreview}. */
|
|
501
|
+
onarcgisGroupBrowserPreview?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserPreview"]>;
|
|
502
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserSearchParamsUpdate}. */
|
|
503
|
+
onarcgisGroupBrowserSearchParamsUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserSearchParamsUpdate"]>;
|
|
504
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserSelect}. */
|
|
505
|
+
onarcgisGroupBrowserSelect?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserSelect"]>;
|
|
506
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserSublayerPreview}. */
|
|
507
|
+
onarcgisGroupBrowserSublayerPreview?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserSublayerPreview"]>;
|
|
508
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserUpdate}. */
|
|
509
|
+
onarcgisGroupBrowserUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserUpdate"]>;
|
|
510
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserUserFilterChange}. */
|
|
511
|
+
onarcgisGroupBrowserUserFilterChange?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserUserFilterChange"]>;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
interface ArcgisPortalGroupBrowserStencilEventHandlers<Target extends ArcgisPortalGroupBrowser = ArcgisPortalGroupBrowser> {
|
|
515
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisAriaUpdate}. */
|
|
516
|
+
onArcgisAriaUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisAriaUpdate"]>;
|
|
517
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserInternalUIAction}. */
|
|
518
|
+
onArcgisGroupBrowserInternalUIAction?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserInternalUIAction"]>;
|
|
519
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserLoading}. */
|
|
520
|
+
onArcgisGroupBrowserLoading?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserLoading"]>;
|
|
521
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserPreview}. */
|
|
522
|
+
onArcgisGroupBrowserPreview?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserPreview"]>;
|
|
523
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserSearchParamsUpdate}. */
|
|
524
|
+
onArcgisGroupBrowserSearchParamsUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserSearchParamsUpdate"]>;
|
|
525
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserSelect}. */
|
|
526
|
+
onArcgisGroupBrowserSelect?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserSelect"]>;
|
|
527
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserSublayerPreview}. */
|
|
528
|
+
onArcgisGroupBrowserSublayerPreview?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserSublayerPreview"]>;
|
|
529
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserUpdate}. */
|
|
530
|
+
onArcgisGroupBrowserUpdate?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserUpdate"]>;
|
|
531
|
+
/** See {@link ArcgisPortalGroupBrowser.arcgisGroupBrowserUserFilterChange}. */
|
|
532
|
+
onArcgisGroupBrowserUserFilterChange?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserUserFilterChange"]>;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
declare global {
|
|
536
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalGroupBrowser from its component module instead. */
|
|
537
|
+
type HTMLArcgisPortalGroupBrowserElement = ArcgisPortalGroupBrowser;
|
|
538
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalGroupBrowser["@eventTypes"] instead. */
|
|
539
|
+
type HTMLArcgisPortalGroupBrowserElementEventMap = ArcgisPortalGroupBrowser["@eventTypes"];
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export {};
|
|
@@ -5,6 +5,13 @@ import type { ArcgisPortalGroupBrowser } from "../arcgis-portal-group-browser/cu
|
|
|
5
5
|
import type { PortalGroupBrowserGroupCardConfig } from "../arcgis-portal-group-browser/types.js";
|
|
6
6
|
import type { PortalGroupCardPreviewDetail, PortalGroupCardSelectDetail } from "../arcgis-portal-group-card/types.js";
|
|
7
7
|
|
|
8
|
+
declare module "@arcgis/lumina" {
|
|
9
|
+
interface RegisteredElements {
|
|
10
|
+
/** See {@link ArcgisPortalGroupBrowserCard}. */
|
|
11
|
+
"arcgis-portal-group-browser-card": ArcgisPortalGroupBrowserCard;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
8
15
|
/**
|
|
9
16
|
* A wrapper card for custom group-browser rendering that inherits state from the nearest `arcgis-portal-group-browser`.
|
|
10
17
|
*
|
|
@@ -21,10 +28,32 @@ export abstract class ArcgisPortalGroupBrowserCard extends LitElement {
|
|
|
21
28
|
/** Group for this card row. */
|
|
22
29
|
accessor group: PortalGroup;
|
|
23
30
|
restoreFocus(): Promise<void>;
|
|
31
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "browser" | "cardProps" | "group">;
|
|
32
|
+
readonly "@jsxEvents": ArcgisPortalGroupBrowserCardEventHandlers<this>;
|
|
33
|
+
readonly "@jsxStencilEvents": ArcgisPortalGroupBrowserCardStencilEventHandlers<this>;
|
|
24
34
|
readonly arcgisGroupBrowserCardPreview: import("@arcgis/lumina").TargetedEvent<this, PortalGroupCardPreviewDetail>;
|
|
25
35
|
readonly arcgisGroupCardSelect: import("@arcgis/lumina").TargetedEvent<this, PortalGroupCardSelectDetail>;
|
|
26
|
-
readonly "@eventTypes":
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
36
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisGroupBrowserCardPreview" | "arcgisGroupCardSelect">>;
|
|
37
|
+
}
|
|
38
|
+
interface ArcgisPortalGroupBrowserCardEventHandlers<Target extends ArcgisPortalGroupBrowserCard = ArcgisPortalGroupBrowserCard> {
|
|
39
|
+
/** See {@link ArcgisPortalGroupBrowserCard.arcgisGroupBrowserCardPreview}. */
|
|
40
|
+
onarcgisGroupBrowserCardPreview?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserCardPreview"]>;
|
|
41
|
+
/** See {@link ArcgisPortalGroupBrowserCard.arcgisGroupCardSelect}. */
|
|
42
|
+
onarcgisGroupCardSelect?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupCardSelect"]>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface ArcgisPortalGroupBrowserCardStencilEventHandlers<Target extends ArcgisPortalGroupBrowserCard = ArcgisPortalGroupBrowserCard> {
|
|
46
|
+
/** See {@link ArcgisPortalGroupBrowserCard.arcgisGroupBrowserCardPreview}. */
|
|
47
|
+
onArcgisGroupBrowserCardPreview?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserCardPreview"]>;
|
|
48
|
+
/** See {@link ArcgisPortalGroupBrowserCard.arcgisGroupCardSelect}. */
|
|
49
|
+
onArcgisGroupCardSelect?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupCardSelect"]>;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare global {
|
|
53
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalGroupBrowserCard from its component module instead. */
|
|
54
|
+
type HTMLArcgisPortalGroupBrowserCardElement = ArcgisPortalGroupBrowserCard;
|
|
55
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalGroupBrowserCard["@eventTypes"] instead. */
|
|
56
|
+
type HTMLArcgisPortalGroupBrowserCardElementEventMap = ArcgisPortalGroupBrowserCard["@eventTypes"];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export {};
|
|
@@ -7,6 +7,13 @@ import type { InternalUIAction } from "../../types/tracking.js";
|
|
|
7
7
|
import type { PortalGroupBrowserSearchResult } from "../arcgis-portal-group-browser/types.js";
|
|
8
8
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
9
|
|
|
10
|
+
declare module "@arcgis/lumina" {
|
|
11
|
+
interface RegisteredElements {
|
|
12
|
+
/** See {@link ArcgisPortalGroupBrowserPreview}. */
|
|
13
|
+
"arcgis-portal-group-browser-preview": ArcgisPortalGroupBrowserPreview;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
10
17
|
export abstract class ArcgisPortalGroupBrowserPreview extends LitElement {
|
|
11
18
|
/** Current query response used for telemetry position calculation. */
|
|
12
19
|
accessor currentResponse: PortalGroupBrowserSearchResult | undefined;
|
|
@@ -217,11 +224,33 @@ export abstract class ArcgisPortalGroupBrowserPreview extends LitElement {
|
|
|
217
224
|
/** Current signed-in user context used by preview cards. */
|
|
218
225
|
accessor user: PortalUser | undefined;
|
|
219
226
|
setFocus(): Promise<void>;
|
|
227
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "currentResponse" | "group" | "hideBadges" | "hidePreviewFooter" | "portal" | "previewFooterActionsSpaced" | "user">;
|
|
228
|
+
readonly "@jsxEvents": ArcgisPortalGroupBrowserPreviewEventHandlers<this>;
|
|
229
|
+
readonly "@jsxStencilEvents": ArcgisPortalGroupBrowserPreviewStencilEventHandlers<this>;
|
|
220
230
|
/** Fires on internal component interaction for telemetry. */
|
|
221
231
|
readonly arcgisGroupBrowserInternalUIAction: import("@arcgis/lumina").TargetedEvent<this, InternalUIAction>;
|
|
222
232
|
readonly arcgisGroupBrowserPreviewClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
223
|
-
readonly "@eventTypes":
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
}
|
|
227
|
-
|
|
233
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisGroupBrowserInternalUIAction" | "arcgisGroupBrowserPreviewClose">>;
|
|
234
|
+
}
|
|
235
|
+
interface ArcgisPortalGroupBrowserPreviewEventHandlers<Target extends ArcgisPortalGroupBrowserPreview = ArcgisPortalGroupBrowserPreview> {
|
|
236
|
+
/** See {@link ArcgisPortalGroupBrowserPreview.arcgisGroupBrowserInternalUIAction}. */
|
|
237
|
+
onarcgisGroupBrowserInternalUIAction?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserInternalUIAction"]>;
|
|
238
|
+
/** See {@link ArcgisPortalGroupBrowserPreview.arcgisGroupBrowserPreviewClose}. */
|
|
239
|
+
onarcgisGroupBrowserPreviewClose?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserPreviewClose"]>;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
interface ArcgisPortalGroupBrowserPreviewStencilEventHandlers<Target extends ArcgisPortalGroupBrowserPreview = ArcgisPortalGroupBrowserPreview> {
|
|
243
|
+
/** See {@link ArcgisPortalGroupBrowserPreview.arcgisGroupBrowserInternalUIAction}. */
|
|
244
|
+
onArcgisGroupBrowserInternalUIAction?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserInternalUIAction"]>;
|
|
245
|
+
/** See {@link ArcgisPortalGroupBrowserPreview.arcgisGroupBrowserPreviewClose}. */
|
|
246
|
+
onArcgisGroupBrowserPreviewClose?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserPreviewClose"]>;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare global {
|
|
250
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalGroupBrowserPreview from its component module instead. */
|
|
251
|
+
type HTMLArcgisPortalGroupBrowserPreviewElement = ArcgisPortalGroupBrowserPreview;
|
|
252
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalGroupBrowserPreview["@eventTypes"] instead. */
|
|
253
|
+
type HTMLArcgisPortalGroupBrowserPreviewElementEventMap = ArcgisPortalGroupBrowserPreview["@eventTypes"];
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export {};
|
|
@@ -5,6 +5,13 @@ import type PortalUser from "@arcgis/core/portal/PortalUser.js";
|
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { InternalUIAction } from "../../types/tracking.js";
|
|
7
7
|
|
|
8
|
+
declare module "@arcgis/lumina" {
|
|
9
|
+
interface RegisteredElements {
|
|
10
|
+
/** See {@link ArcgisPortalGroupBrowserPreviewCard}. */
|
|
11
|
+
"arcgis-portal-group-browser-preview-card": ArcgisPortalGroupBrowserPreviewCard;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
8
15
|
export abstract class ArcgisPortalGroupBrowserPreviewCard extends LitElement {
|
|
9
16
|
/** Optional fully qualified path to the portal home root. */
|
|
10
17
|
accessor baseUrl: string | undefined;
|
|
@@ -71,12 +78,34 @@ export abstract class ArcgisPortalGroupBrowserPreviewCard extends LitElement {
|
|
|
71
78
|
/** Current signed in user for owner and item context. */
|
|
72
79
|
accessor user: PortalUser | undefined;
|
|
73
80
|
restoreFocus(): Promise<void>;
|
|
81
|
+
readonly "@jsxProps": import("@arcgis/lumina").PickJsxProps<this, "baseUrl" | "hideItemType" | "hideOwner" | "hideThumbnail" | "interactive" | "item" | "link" | "newTab" | "portal" | "showBadges" | "showDateUpdated" | "showOwnerPopup" | "showSummary" | "user">;
|
|
82
|
+
readonly "@jsxEvents": ArcgisPortalGroupBrowserPreviewCardEventHandlers<this>;
|
|
83
|
+
readonly "@jsxStencilEvents": ArcgisPortalGroupBrowserPreviewCardStencilEventHandlers<this>;
|
|
74
84
|
/** Fires on internal component interaction for telemetry. */
|
|
75
85
|
readonly arcgisGroupBrowserInternalUIAction: import("@arcgis/lumina").TargetedEvent<this, InternalUIAction>;
|
|
76
86
|
/** Emitted when this card is selected via interaction. */
|
|
77
87
|
readonly arcgisGroupBrowserPreviewCardSelect: import("@arcgis/lumina").TargetedEvent<this, PortalItem>;
|
|
78
|
-
readonly "@eventTypes":
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
88
|
+
readonly "@eventTypes": import("@arcgis/lumina").EventPayloads<Pick<this, "arcgisGroupBrowserInternalUIAction" | "arcgisGroupBrowserPreviewCardSelect">>;
|
|
89
|
+
}
|
|
90
|
+
interface ArcgisPortalGroupBrowserPreviewCardEventHandlers<Target extends ArcgisPortalGroupBrowserPreviewCard = ArcgisPortalGroupBrowserPreviewCard> {
|
|
91
|
+
/** See {@link ArcgisPortalGroupBrowserPreviewCard.arcgisGroupBrowserInternalUIAction}. */
|
|
92
|
+
onarcgisGroupBrowserInternalUIAction?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserInternalUIAction"]>;
|
|
93
|
+
/** See {@link ArcgisPortalGroupBrowserPreviewCard.arcgisGroupBrowserPreviewCardSelect}. */
|
|
94
|
+
onarcgisGroupBrowserPreviewCardSelect?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserPreviewCardSelect"]>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
interface ArcgisPortalGroupBrowserPreviewCardStencilEventHandlers<Target extends ArcgisPortalGroupBrowserPreviewCard = ArcgisPortalGroupBrowserPreviewCard> {
|
|
98
|
+
/** See {@link ArcgisPortalGroupBrowserPreviewCard.arcgisGroupBrowserInternalUIAction}. */
|
|
99
|
+
onArcgisGroupBrowserInternalUIAction?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserInternalUIAction"]>;
|
|
100
|
+
/** See {@link ArcgisPortalGroupBrowserPreviewCard.arcgisGroupBrowserPreviewCardSelect}. */
|
|
101
|
+
onArcgisGroupBrowserPreviewCardSelect?: import("@arcgis/lumina").EventHandler<Target["arcgisGroupBrowserPreviewCardSelect"]>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare global {
|
|
105
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Import ArcgisPortalGroupBrowserPreviewCard from its component module instead. */
|
|
106
|
+
type HTMLArcgisPortalGroupBrowserPreviewCardElement = ArcgisPortalGroupBrowserPreviewCard;
|
|
107
|
+
/** @deprecated Migrate using `npx @arcgis/codemod@latest run refactor-component-types`. Use ArcgisPortalGroupBrowserPreviewCard["@eventTypes"] instead. */
|
|
108
|
+
type HTMLArcgisPortalGroupBrowserPreviewCardElementEventMap = ArcgisPortalGroupBrowserPreviewCard["@eventTypes"];
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export {};
|