@arcgis/portal-components 6.0.0-next.43 → 6.0.0-next.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/dist/cdn/2H4XUTGC.js +2 -0
  2. package/dist/cdn/2SXAFTBV.js +2 -0
  3. package/dist/cdn/43PDHAIF.js +76 -0
  4. package/dist/cdn/44XWSV22.js +2 -0
  5. package/dist/cdn/5ASHV75J.js +2 -0
  6. package/dist/cdn/A3C27QXY.js +2 -0
  7. package/dist/cdn/CNTCDLAV.js +2 -0
  8. package/dist/cdn/CZE75G6W.js +2 -0
  9. package/dist/cdn/DLPVBMPX.js +2 -0
  10. package/dist/cdn/FFTXNKIV.js +2 -0
  11. package/dist/cdn/KIII5IQV.js +2 -0
  12. package/dist/cdn/LH47JYFW.js +2 -0
  13. package/dist/cdn/NPLIEXAH.js +2 -0
  14. package/dist/cdn/QZPNR6GF.js +2 -0
  15. package/dist/cdn/RSKKZ7MS.js +2 -0
  16. package/dist/cdn/SHUSYAET.js +2 -0
  17. package/dist/cdn/SW5C6THN.js +100 -0
  18. package/dist/cdn/VPVDVHQA.js +2 -0
  19. package/dist/cdn/YXTLFAFP.js +2 -0
  20. package/dist/cdn/assets/portal-extent-picker/t9n/messages.en.json +1 -1
  21. package/dist/cdn/assets/portal-item-card/t9n/messages.en.json +1 -1
  22. package/dist/cdn/assets/portal-review-layer-sharing-check-notice/t9n/messages.en.json +1 -0
  23. package/dist/cdn/index.js +1 -1
  24. package/dist/cdn/main.css +1 -1
  25. package/dist/chunks/createPortalTool.js +32 -12
  26. package/dist/chunks/fieldAddDelete.js +1 -1
  27. package/dist/chunks/item.js +10 -10
  28. package/dist/chunks/portal-review-layer-sharing.js +595 -0
  29. package/dist/chunks/privileges.js +26 -0
  30. package/dist/chunks/utils4.js +39 -58
  31. package/dist/components/arcgis-portal-account-switcher/customElement.d.ts +38 -6
  32. package/dist/components/arcgis-portal-account-switcher-accounts/customElement.d.ts +34 -5
  33. package/dist/components/arcgis-portal-account-switcher-list/customElement.d.ts +34 -5
  34. package/dist/components/arcgis-portal-account-switcher-signout/customElement.d.ts +38 -6
  35. package/dist/components/arcgis-portal-add-gps-metadata/customElement.d.ts +38 -6
  36. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +38 -7
  37. package/dist/components/arcgis-portal-ai-assistant/customElement.js +529 -473
  38. package/dist/components/arcgis-portal-ai-assistant/index.js +1 -0
  39. package/dist/components/arcgis-portal-ai-assistant/types/assistantTools.d.ts +38 -5
  40. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +17 -1
  41. package/dist/components/arcgis-portal-ai-assistant-interrupt/customElement.d.ts +34 -5
  42. package/dist/components/arcgis-portal-browser/customElement.d.ts +54 -8
  43. package/dist/components/arcgis-portal-browser-actions/customElement.d.ts +17 -1
  44. package/dist/components/arcgis-portal-browser-filter-status/customElement.d.ts +34 -5
  45. package/dist/components/arcgis-portal-browser-pagination/customElement.d.ts +30 -4
  46. package/dist/components/arcgis-portal-browser-search/customElement.d.ts +34 -5
  47. package/dist/components/arcgis-portal-browser-sort/customElement.d.ts +34 -5
  48. package/dist/components/arcgis-portal-browser-top-bar/customElement.d.ts +34 -5
  49. package/dist/components/arcgis-portal-browser-view/customElement.d.ts +30 -4
  50. package/dist/components/arcgis-portal-classification-banner/customElement.d.ts +17 -1
  51. package/dist/components/arcgis-portal-classification-config/customElement.d.ts +30 -4
  52. package/dist/components/arcgis-portal-classification-favorite/customElement.d.ts +17 -1
  53. package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +30 -4
  54. package/dist/components/arcgis-portal-delete-items/customElement.d.ts +38 -6
  55. package/dist/components/arcgis-portal-delete-items-review/customElement.d.ts +17 -1
  56. package/dist/components/arcgis-portal-entity-picker/customElement.d.ts +30 -4
  57. package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +40 -6
  58. package/dist/components/arcgis-portal-extent-picker/customElement.js +288 -236
  59. package/dist/components/arcgis-portal-extent-picker/index.js +3 -2
  60. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +28 -27
  61. package/dist/components/arcgis-portal-field-delete/customElement.d.ts +42 -7
  62. package/dist/components/arcgis-portal-group-badges/customElement.d.ts +17 -1
  63. package/dist/components/arcgis-portal-group-browser/customElement.d.ts +62 -12
  64. package/dist/components/arcgis-portal-group-browser-card/customElement.d.ts +34 -5
  65. package/dist/components/arcgis-portal-group-browser-preview/customElement.d.ts +34 -5
  66. package/dist/components/arcgis-portal-group-browser-preview-card/customElement.d.ts +34 -5
  67. package/dist/components/arcgis-portal-group-card/customElement.d.ts +38 -6
  68. package/dist/components/arcgis-portal-group-picker/customElement.d.ts +30 -4
  69. package/dist/components/arcgis-portal-group-thumbnail/customElement.d.ts +17 -1
  70. package/dist/components/arcgis-portal-info-banner/customElement.d.ts +17 -1
  71. package/dist/components/arcgis-portal-item-actions/customElement.d.ts +44 -7
  72. package/dist/components/arcgis-portal-item-actions/customElement.js +44 -44
  73. package/dist/components/arcgis-portal-item-badge/customElement.d.ts +17 -1
  74. package/dist/components/arcgis-portal-item-badges/customElement.d.ts +17 -1
  75. package/dist/components/arcgis-portal-item-card/customElement.d.ts +57 -9
  76. package/dist/components/arcgis-portal-item-card/customElement.js +80 -68
  77. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.d.ts +34 -5
  78. package/dist/components/arcgis-portal-item-card-sublayer-select/customElement.js +1 -1
  79. package/dist/components/arcgis-portal-item-favorite/customElement.d.ts +30 -4
  80. package/dist/components/arcgis-portal-item-picker/customElement.d.ts +30 -4
  81. package/dist/components/arcgis-portal-item-preview/customElement.d.ts +38 -6
  82. package/dist/components/arcgis-portal-item-preview-copy/customElement.d.ts +17 -1
  83. package/dist/components/arcgis-portal-item-preview-field/customElement.d.ts +17 -1
  84. package/dist/components/arcgis-portal-item-preview-sublayer/customElement.d.ts +17 -1
  85. package/dist/components/arcgis-portal-item-share-summary/customElement.d.ts +17 -1
  86. package/dist/components/arcgis-portal-item-share-summary-editable/customElement.d.ts +30 -4
  87. package/dist/components/arcgis-portal-item-status-card/customElement.d.ts +30 -4
  88. package/dist/components/arcgis-portal-item-thumbnail/customElement.d.ts +30 -4
  89. package/dist/components/arcgis-portal-item-thumbnail/customElement.js +9 -9
  90. package/dist/components/arcgis-portal-item-type/customElement.d.ts +17 -1
  91. package/dist/components/arcgis-portal-mentionable-text-area/customElement.d.ts +46 -8
  92. package/dist/components/arcgis-portal-navigation/customElement.d.ts +42 -7
  93. package/dist/components/arcgis-portal-navigation/customElement.js +12 -11
  94. package/dist/components/arcgis-portal-navigation/index.js +1 -1
  95. package/dist/components/arcgis-portal-preview-panel/customElement.d.ts +34 -5
  96. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.d.ts +30 -4
  97. package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +34 -5
  98. package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +17 -588
  99. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/customElement.d.ts +79 -0
  100. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/customElement.js +57 -0
  101. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/index.d.ts +1 -0
  102. package/dist/components/arcgis-portal-review-layer-sharing-check-notice/index.js +5 -0
  103. package/dist/components/arcgis-portal-review-related-items/customElement.d.ts +17 -1
  104. package/dist/components/arcgis-portal-sublayer-type/customElement.d.ts +17 -1
  105. package/dist/components/arcgis-portal-user-avatar/customElement.d.ts +17 -1
  106. package/dist/components/arcgis-portal-user-picker/customElement.d.ts +30 -4
  107. package/dist/components/arcgis-portal-user-popup/customElement.d.ts +34 -5
  108. package/dist/components/arcgis-portal-voice-input/customElement.d.ts +46 -8
  109. package/dist/docs/api.json +1 -1
  110. package/dist/docs/docs.json +1 -1
  111. package/dist/docs/vscode.html-custom-data.json +1 -1
  112. package/dist/docs/web-types.json +1 -1
  113. package/dist/index.d.ts +50 -235
  114. package/dist/index.js +69 -69
  115. package/dist/loader.d.ts +65 -2
  116. package/dist/loader.js +2 -1
  117. package/dist/types/lumina.d.ts +192 -358
  118. package/dist/types/portalAssistantCurrentContext.d.ts +11 -9
  119. package/dist/types/preact.d.ts +192 -424
  120. package/dist/types/react.d.ts +192 -493
  121. package/dist/types/stencil.d.ts +133 -299
  122. package/package.json +9 -9
  123. package/dist/cdn/36DGXQLJ.js +0 -2
  124. package/dist/cdn/3ZVDEJPF.js +0 -2
  125. package/dist/cdn/42AN66SK.js +0 -2
  126. package/dist/cdn/7JDXAVUG.js +0 -2
  127. package/dist/cdn/CERDMRFQ.js +0 -2
  128. package/dist/cdn/FINVGL3V.js +0 -2
  129. package/dist/cdn/GA4OWLSO.js +0 -2
  130. package/dist/cdn/GHDMQJG4.js +0 -2
  131. package/dist/cdn/JDW7ECBF.js +0 -2
  132. package/dist/cdn/OXF2WDSW.js +0 -2
  133. package/dist/cdn/PM33STYQ.js +0 -2
  134. package/dist/cdn/QKRLO5CJ.js +0 -2
  135. package/dist/cdn/SCIZKRKA.js +0 -93
  136. package/dist/cdn/TQX5BOZG.js +0 -2
  137. package/dist/cdn/YZZQ3Y6G.js +0 -73
  138. package/dist/cdn/ZOOEWYFB.js +0 -2
@@ -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
- arcgisPropertyChange: ArcgisPortalClassificationConfig["arcgisPropertyChange"]["detail"];
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 {};
@@ -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
- arcgisAttributeValueChange: ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]["detail"];
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
- arcgisClose: ArcgisPortalDeleteItems["arcgisClose"]["detail"];
264
- arcgisConfirm: ArcgisPortalDeleteItems["arcgisConfirm"]["detail"];
265
- arcgisError: ArcgisPortalDeleteItems["arcgisError"]["detail"];
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
- arcgisSelectionChange: ArcgisPortalEntityPicker["arcgisSelectionChange"]["detail"];
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
  /**
@@ -62,6 +69,7 @@ export abstract class ArcgisPortalExtentPicker extends LitElement {
62
69
  bottomLessThanTop: string;
63
70
  topGreaterThanBottom: string;
64
71
  overDateLine: string;
72
+ revertSuccess: string;
65
73
  }> & T9nMeta<{
66
74
  close: string;
67
75
  setExtent: string;
@@ -94,24 +102,49 @@ export abstract class ArcgisPortalExtentPicker extends LitElement {
94
102
  bottomLessThanTop: string;
95
103
  topGreaterThanBottom: string;
96
104
  overDateLine: string;
105
+ revertSuccess: string;
97
106
  }>;
98
107
  /** Optional; Portal instance */
99
108
  accessor portal: Portal | undefined;
100
109
  /** Returns the current extent value */
101
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>;
102
114
  /** Emitted when the extent value changes */
103
115
  readonly arcgisExtentPickerChange: import("@arcgis/lumina").TargetedEvent<this, ExtentObj>;
104
116
  /** Emitted when the dialog is closed */
105
117
  readonly arcgisExtentPickerClose: import("@arcgis/lumina").TargetedEvent<this, void>;
106
118
  /** Emitted when the save button is clicked */
107
119
  readonly arcgisExtentPickerSave: import("@arcgis/lumina").TargetedEvent<this, ExtentObj>;
108
- readonly "@eventTypes": {
109
- arcgisExtentPickerChange: ArcgisPortalExtentPicker["arcgisExtentPickerChange"]["detail"];
110
- arcgisExtentPickerClose: ArcgisPortalExtentPicker["arcgisExtentPickerClose"]["detail"];
111
- arcgisExtentPickerSave: ArcgisPortalExtentPicker["arcgisExtentPickerSave"]["detail"];
112
- };
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"]>;
113
138
  }
114
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
+
115
148
  export type ExtentValue = {
116
149
  ymin: string;
117
150
  ymax: string;
@@ -121,4 +154,5 @@ export type ExtentValue = {
121
154
 
122
155
  export type ExtentObj = {
123
156
  extent: ExtentValue;
124
- };
157
+ };
158
+ export {};