@arcgis/portal-components 5.0.0-next.136 → 5.0.0-next.138

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 (87) hide show
  1. package/dist/cdn/{KAAVLN67.js → 77AHGEH2.js} +2 -2
  2. package/dist/cdn/{QF4PT6DN.js → 7HJNBQ4Z.js} +2 -2
  3. package/dist/cdn/{K7NJST56.js → 7IUGSPNA.js} +2 -2
  4. package/dist/cdn/{X63SQRMQ.js → B5SBCJ3C.js} +1 -1
  5. package/dist/cdn/{P6R5NA3A.js → BMVMPK5L.js} +2 -2
  6. package/dist/cdn/{KGMTMMHV.js → CI6BKI5S.js} +2 -2
  7. package/dist/cdn/{VVWPJRUI.js → DGCGGFDO.js} +2 -2
  8. package/dist/cdn/DNYIE6VB.js +6 -0
  9. package/dist/cdn/{LXQRUFRM.js → EG7OXB7L.js} +2 -2
  10. package/dist/cdn/{4RPZSSVS.js → F3NO2DJ7.js} +2 -2
  11. package/dist/cdn/{PQD35XIM.js → KKDTTTRJ.js} +2 -2
  12. package/dist/cdn/{3QGXNHUJ.js → M3FLI3RE.js} +2 -2
  13. package/dist/cdn/{OLL7YXB7.js → TM7MOVDU.js} +1 -1
  14. package/dist/cdn/{BFBSGGTS.js → UPVXKXHM.js} +2 -2
  15. package/dist/cdn/{YEPDFJPA.js → VBAMQMEX.js} +2 -2
  16. package/dist/cdn/{CBZCGQ7U.js → WFP254HP.js} +2 -2
  17. package/dist/cdn/{6X4M6WCH.js → XQZNQPZY.js} +1 -1
  18. package/dist/cdn/index.js +2 -2
  19. package/dist/chunks/common.js +1 -1
  20. package/dist/chunks/fieldAddDelete.js +1 -1
  21. package/dist/chunks/item.js +1 -1
  22. package/dist/chunks/loadClassificationData.js +1 -1
  23. package/dist/chunks/requests.js +1 -1
  24. package/dist/chunks/runtime.js +1 -1
  25. package/dist/chunks/useT9n.js +1 -1
  26. package/dist/components/arcgis-portal-classification-banner/customElement.d.ts +39 -34
  27. package/dist/components/arcgis-portal-classification-banner/customElement.js +1 -1
  28. package/dist/components/arcgis-portal-classification-banner/index.d.ts +0 -1
  29. package/dist/components/arcgis-portal-classification-config/customElement.d.ts +67 -41
  30. package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
  31. package/dist/components/arcgis-portal-classification-config/index.d.ts +0 -11
  32. package/dist/components/arcgis-portal-classification-favorite/customElement.d.ts +61 -16
  33. package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
  34. package/dist/components/arcgis-portal-classification-favorite/index.d.ts +0 -11
  35. package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +27 -15
  36. package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
  37. package/dist/components/arcgis-portal-classification-form-element/index.d.ts +0 -8
  38. package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +119 -51
  39. package/dist/components/arcgis-portal-extent-picker/customElement.js +1 -1
  40. package/dist/components/arcgis-portal-extent-picker/index.d.ts +0 -7
  41. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +1 -1
  42. package/dist/components/arcgis-portal-field-delete/customElement.d.ts +88 -29
  43. package/dist/components/arcgis-portal-field-delete/customElement.js +1 -1
  44. package/dist/components/arcgis-portal-field-delete/index.d.ts +0 -9
  45. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.d.ts +33 -21
  46. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +1 -1
  47. package/dist/components/arcgis-portal-replacement-item-redirect/index.d.ts +0 -5
  48. package/dist/docs/api.json +1 -1609
  49. package/dist/docs/docs.json +1 -1520
  50. package/dist/docs/vscode.css-custom-data.json +1 -6
  51. package/dist/docs/vscode.html-custom-data.json +1 -142
  52. package/dist/docs/web-types.json +1 -484
  53. package/dist/index.d.ts +31 -17
  54. package/dist/index.js +1 -1
  55. package/dist/loader.js +10 -10
  56. package/dist/models/classificationModel.d.ts +1 -68
  57. package/dist/types/classification.d.ts +89 -165
  58. package/dist/types/lumina.d.ts +17 -17
  59. package/dist/types/preact.d.ts +17 -17
  60. package/dist/types/react.d.ts +17 -17
  61. package/dist/types/stencil.d.ts +17 -17
  62. package/dist/utils/fieldAddDelete.d.ts +12 -3
  63. package/dist/utils/types.d.ts +25 -24
  64. package/package.json +4 -4
  65. package/dist/cdn/HTG4KVD4.js +0 -6
  66. package/dist/components/arcgis-portal-extent-picker/mask-layer.d.ts +0 -28
  67. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.d.ts +0 -29
  68. package/dist/components/arcgis-portal-extent-picker-coord-field/index.d.ts +0 -3
  69. package/dist/components/arcgis-portal-field-delete/types.d.ts +0 -5
  70. package/dist/components/arcgis-portal-replacement-item-redirect/types/actions.d.ts +0 -11
  71. package/dist/components/arcgis-portal-replacement-item-redirect/utils/actions.d.ts +0 -24
  72. package/dist/components/arcgis-portal-replacement-item-redirect/utils/capabilities.d.ts +0 -4
  73. package/dist/components/arcgis-portal-replacement-item-redirect/utils/info.d.ts +0 -2
  74. package/dist/controllers/loadClassificationData.d.ts +0 -11
  75. package/dist/controllers/useClassificationModel.d.ts +0 -9
  76. package/dist/controllers/useT9n.d.ts +0 -1
  77. package/dist/runtime.d.ts +0 -6
  78. package/dist/utils/arcade.d.ts +0 -27
  79. package/dist/utils/common.d.ts +0 -29
  80. package/dist/utils/commonEnums.d.ts +0 -5
  81. package/dist/utils/commonFunctions.d.ts +0 -12
  82. package/dist/utils/functionalComponents/FieldIcons.d.ts +0 -6
  83. package/dist/utils/item.d.ts +0 -21
  84. package/dist/utils/portal.d.ts +0 -2
  85. package/dist/utils/requests.d.ts +0 -15
  86. package/dist/utils/style.d.ts +0 -1
  87. package/dist/utils/url.d.ts +0 -1
package/dist/loader.js CHANGED
@@ -2,17 +2,17 @@ import { r as e } from "./chunks/runtime.js";
2
2
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.136 */
6
- const r = t(e, {
7
- "arcgis-portal-classification-banner": [() => import("./components/arcgis-portal-classification-banner/customElement.js"), "autoDestroyDisabled,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],
8
- "arcgis-portal-classification-config": [() => import("./components/arcgis-portal-classification-config/customElement.js"), "autoDestroyDisabled,portalItem:,status,valid,values;destroy,resetForm,validateForm"],
9
- "arcgis-portal-classification-favorite": [() => import("./components/arcgis-portal-classification-favorite/customElement.js"), "attributeExpressionResults:,classificationValue:,favoriteClassifications:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],
10
- "arcgis-portal-classification-form-element": [() => import("./components/arcgis-portal-classification-form-element/customElement.js"), "attribute:,attributeKey,isRequiredErrors:,renderingInfo:,value:"],
11
- "arcgis-portal-extent-picker": [() => import("./components/arcgis-portal-extent-picker/customElement.js"), "active,contentOnly,extentService,extentValue:,isArea,itemId,portal:;;getExtent"],
5
+ v5.0.0-next.138 */
6
+ const s = t(e, {
7
+ "arcgis-portal-classification-banner": [() => import("./components/arcgis-portal-classification-banner/customElement.js"), "autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],
8
+ "arcgis-portal-classification-config": [() => import("./components/arcgis-portal-classification-config/customElement.js"), "autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],
9
+ "arcgis-portal-classification-favorite": [() => import("./components/arcgis-portal-classification-favorite/customElement.js"), "attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],
10
+ "arcgis-portal-classification-form-element": [() => import("./components/arcgis-portal-classification-form-element/customElement.js"), "attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],
11
+ "arcgis-portal-extent-picker": [() => import("./components/arcgis-portal-extent-picker/customElement.js"), "active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],
12
12
  "arcgis-portal-extent-picker-coord-field": [() => import("./components/arcgis-portal-extent-picker-coord-field/customElement.js"), "errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],
13
- "arcgis-portal-field-delete": [() => import("./components/arcgis-portal-field-delete/customElement.js"), "config:,fieldNames:,layer:,mapView:,options:"],
14
- "arcgis-portal-replacement-item-redirect": [() => import("./components/arcgis-portal-replacement-item-redirect/customElement.js"), "itemId,portal:,user:;setFocus"]
13
+ "arcgis-portal-field-delete": [() => import("./components/arcgis-portal-field-delete/customElement.js"), "config:,fieldNames:,layer:,mapView:,messages:,options:"],
14
+ "arcgis-portal-replacement-item-redirect": [() => import("./components/arcgis-portal-replacement-item-redirect/customElement.js"), "itemId,portal:,t9n:,user:;setFocus"]
15
15
  });
16
16
  export {
17
- r as defineCustomElements
17
+ s as defineCustomElements
18
18
  };
@@ -1,68 +1 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
2
- import { default as Accessor } from '@arcgis/core/core/Accessor.js';
3
- import { ClassificationSchema, SchemaResult } from '../types/classification';
4
- import { Deferred } from '@arcgis/toolkit/promise';
5
- type Status = "error" | "idle" | "loaded" | "loading";
6
- /**
7
- * Initialization options for the classification model.
8
- */
9
- export interface Options {
10
- portalClassificationSchema?: ClassificationSchema | undefined;
11
- }
12
- export declare class ClassificationModel extends Accessor {
13
- /**
14
- * The classification schema for the portal that is fetched from
15
- * <portal>/sharing/rest/portals/self/classification/classificationSchema.
16
- */
17
- portalClassificationSchema: ClassificationSchema | undefined;
18
- /**
19
- * Whether the model is currently getting fetched via an outside actor.
20
- */
21
- fetching: boolean;
22
- /** The loading status of the classification schema. */
23
- status: Status;
24
- error: SchemaResult["error"] | undefined;
25
- /**
26
- * The portal URL.
27
- */
28
- portalUrl: string | undefined;
29
- _itemClassificationValidationErrors: Map<string, Promise<string>>;
30
- /**
31
- * The promise that resolves when the classification schema is fetched.
32
- */
33
- fetchingPromise: Deferred<boolean>;
34
- /**
35
- * The primary attribute of the classification schema metadata.
36
- */
37
- get primaryAttribute(): ClassificationSchema["classificationMetadata"]["primaryAttribute"] | undefined;
38
- /**
39
- * Sets the portal classification schema and updates the portal URL.
40
- */
41
- setPortalClassificationData({ portalUrl, schema, }: {
42
- portalUrl: string;
43
- schema: ClassificationSchema | undefined;
44
- }): void;
45
- /**
46
- * Sets the fetching state.
47
- */
48
- setFetching(fetching: boolean): void;
49
- /**
50
- * Loads and sets the classification schema from the portal.
51
- */
52
- loadPortalClassificationData(portalUrl: string, { signal }: {
53
- signal: AbortSignal;
54
- }): Promise<void>;
55
- validateClassification(id: nullish | string, classificationValue: __esri.PortalItem["classification"], portalUrl: string, options?: {
56
- signal?: AbortSignal;
57
- }): Promise<string>;
58
- }
59
- /**
60
- * This function checks if model is already defined. If not, it creates the classification model,
61
- * ensuring that the classification model is created only once and reused for subsequent calls.
62
- */
63
- export declare function loadClassificationModel(initialValues?: Options): ClassificationModel;
64
- export declare const exportsForTests: {
65
- /** export a test util to allow test runner to reset the model */
66
- resetModel: () => void;
67
- };
68
- export {};
1
+ export type Status = "error" | "idle" | "loaded" | "loading";
@@ -1,66 +1,86 @@
1
1
  /// <reference types="@arcgis/core/interfaces.d.ts" />
2
- type ClassificationType = Readonly<{
3
- [index: string]: string | undefined;
4
- value: string;
5
- acronym?: string;
6
- backgroundColor?: string;
7
- textColor?: string;
2
+
3
+ /** The classification schema defined on the portal. */
4
+ export type ClassificationSchema = Readonly<{
5
+ attributeCategories?: string[];
6
+ attributes: Record<string, ClassificationAttributesValues>;
7
+ bannerExpression?: string;
8
+ classificationMetadata: ClassificationMetadata;
9
+ grammarVersion: string;
10
+ layouts: Record<string, DefaultLayout>;
11
+ name: string;
12
+ selectionTextExpression?: string;
13
+ version: string;
14
+ helpUrl?: string;
15
+ helpTooltip?: string;
8
16
  }>;
9
- type ClassificationMetadata = Readonly<{
17
+
18
+ export interface FavoriteClassification {
19
+ name: string;
20
+ classification: __esri.PortalItem["classification"];
21
+ }
22
+
23
+ /**
24
+ * State object that is used to store arcade expression results from expressions
25
+ * that are evaluated for each attribute in the classification schema.
26
+ */
27
+ export type AttributeExpressionResults = Map<string, {
28
+ enabled: boolean;
29
+ valueExpressionResult: Record<string, ValueOption[]> | ValueOption[] | null;
30
+ attributeValidationResult: string | null;
31
+ }>;
32
+
33
+ export type ClassificationMetadata = Readonly<{
10
34
  primaryAttribute: string;
11
35
  defaultValue: string;
12
36
  classificationValueProperties: ClassificationType[];
13
37
  }>;
38
+
14
39
  export type ValueOption = Readonly<{
15
40
  label: string;
16
41
  value: string;
17
42
  }>;
18
- export type BaseAttributesValues = Readonly<{
19
- label: string;
20
- description?: string;
21
- type: string;
22
- uiElement: string;
23
- isRequired?: boolean;
24
- defaultValue?: string;
25
- defaultDateTimeline?: number;
26
- defaultDateTimelineUnits?: string;
27
- validValues?: ValueOption[];
28
- validValuesMap?: Record<string, ValueOption[]>;
29
- isAttributeEnabled?: string;
30
- valueExpression?: string;
31
- attributeValidation?: string;
32
- arcadeResultLookup?: Record<string, ValueOption[]>;
33
- attributeCategory?: string;
34
- selectionDisplayOrder?: number;
35
- selectionDisplayLabel?: string;
36
- bannerOrder?: number;
37
- bannerLabel?: string;
38
- labelDelimiter?: string;
39
- labelTooltip?: string;
40
- valueDelimiter?: string;
41
- attributeDelimiter?: string;
43
+
44
+ export type ClassificationAttributesValues = CheckboxAttributesValues | DateAttributesValues | MultiGroupedSelectNestedAttributesValues | MultiSelectAttributesValues | SingleSelectAttributesValues | TextAttributesValues;
45
+
46
+ export type DefaultLayout = Readonly<{ layoutElements: Record<string, ClassificationLayoutElements>; }>;
47
+
48
+ export type ClassificationType = Readonly<{
49
+ [index: string]: string | undefined;
50
+ value: string;
51
+ acronym?: string;
52
+ backgroundColor?: string;
53
+ textColor?: string;
42
54
  }>;
55
+
43
56
  /**
44
57
  * Create narrowed types for each of the possible UI elements.
45
58
  * Never is used to inform users that the property will never be defined
46
59
  * when uiElement is a specific value.
47
60
  */
48
- type SingleSelectAttributesValues = BaseAttributesValues & Readonly<{
61
+ export type SingleSelectAttributesValues = BaseAttributesValues
62
+ & Readonly<{
49
63
  uiElement: "single-select";
50
64
  validValues?: ValueOption[];
51
65
  validValuesMap?: never;
52
66
  }>;
53
- type MultiSelectAttributesValues = BaseAttributesValues & Readonly<{
67
+
68
+ export type MultiSelectAttributesValues = BaseAttributesValues
69
+ & Readonly<{
54
70
  uiElement: "multi-select";
55
71
  validValues?: ValueOption[];
56
72
  validValuesMap?: never;
57
73
  }>;
58
- type MultiGroupedSelectNestedAttributesValues = BaseAttributesValues & Readonly<{
74
+
75
+ export type MultiGroupedSelectNestedAttributesValues = BaseAttributesValues
76
+ & Readonly<{
59
77
  uiElement: "multi-grouped-select-nested";
60
78
  validValuesMap: Record<string, ValueOption[]>;
61
79
  validValues?: never;
62
80
  }>;
63
- type CheckboxAttributesValues = BaseAttributesValues & Readonly<{
81
+
82
+ export type CheckboxAttributesValues = BaseAttributesValues
83
+ & Readonly<{
64
84
  uiElement: "checkbox";
65
85
  type: "boolean";
66
86
  validValues?: never;
@@ -68,7 +88,9 @@ type CheckboxAttributesValues = BaseAttributesValues & Readonly<{
68
88
  defaultDateTimeline?: never;
69
89
  defaultDateTimelineUnits?: never;
70
90
  }>;
71
- type DateAttributesValues = BaseAttributesValues & Readonly<{
91
+
92
+ export type DateAttributesValues = BaseAttributesValues
93
+ & Readonly<{
72
94
  uiElement: "date";
73
95
  type: "date";
74
96
  defaultDateTimeline: number;
@@ -76,7 +98,9 @@ type DateAttributesValues = BaseAttributesValues & Readonly<{
76
98
  validValues?: never;
77
99
  validValuesMap?: never;
78
100
  }>;
79
- type TextAttributesValues = BaseAttributesValues & Readonly<{
101
+
102
+ export type TextAttributesValues = BaseAttributesValues
103
+ & Readonly<{
80
104
  uiElement: "text";
81
105
  type: "string";
82
106
  validValues?: never;
@@ -84,131 +108,31 @@ type TextAttributesValues = BaseAttributesValues & Readonly<{
84
108
  defaultDateTimeline?: never;
85
109
  defaultDateTimelineUnits?: never;
86
110
  }>;
87
- export type ClassificationAttributesValues = CheckboxAttributesValues | DateAttributesValues | MultiGroupedSelectNestedAttributesValues | MultiSelectAttributesValues | SingleSelectAttributesValues | TextAttributesValues;
88
- export declare function isAttributesValuesOfUIElement<T extends BaseAttributesValues>(attributes: BaseAttributesValues, uiElement: T["uiElement"]): attributes is T;
89
- type ClassificationLayoutElements = Readonly<{
90
- formDisplayOrder: number;
91
- }>;
92
- type DefaultLayout = Readonly<{
93
- layoutElements: Record<string, ClassificationLayoutElements>;
94
- }>;
95
- /**
96
- * The classification schema defined on the portal.
97
- */
98
- export type ClassificationSchema = Readonly<{
99
- attributeCategories?: string[];
100
- attributes: Record<string, ClassificationAttributesValues>;
101
- bannerExpression?: string;
102
- classificationMetadata: ClassificationMetadata;
103
- grammarVersion: string;
104
- layouts: Record<string, DefaultLayout>;
105
- name: string;
106
- selectionTextExpression?: string;
107
- version: string;
108
- helpUrl?: string;
109
- helpTooltip?: string;
110
- }>;
111
- /**
112
- * The result of a request for a classification schema from
113
- * the portal /portals/self/classification/classificationSchema endpoint
114
- */
115
- export type SchemaResult = {
116
- result?: ClassificationSchema;
117
- error?: {
118
- name: string;
119
- message: string;
120
- details: Record<string, unknown>;
121
- };
122
- };
123
- export interface ValidationResult {
124
- result?: {
125
- success: string;
126
- };
127
- error?: {
128
- code: string;
129
- details: {
130
- raw: {
131
- messages: string[];
132
- };
133
- name: string;
134
- };
135
- message: string;
136
- name: string;
137
- };
138
- }
139
- declare const portalErrorList: readonly ["unhandledError"];
140
- export type PortalErrorType = (typeof portalErrorList)[number];
141
- export interface Result<ResultT = any, ErrorT extends PortalErrorType = PortalErrorType> {
142
- result?: ResultT;
143
- error?: PortalError<ErrorT>;
144
- }
145
- export interface PortalError<Error extends PortalErrorType = PortalErrorType> {
146
- code: Error;
147
- translatedMessage?: string;
148
- message?: string;
149
- details?: any;
150
- }
151
- export type EditInfo = Readonly<{
152
- createdUser: string;
153
- createdDate: number;
154
- lastEditedUser: string;
155
- lastEditedDate: number;
156
- }>;
157
- export type SelectionText = Readonly<{
158
- elementType: string;
159
- selectionDisplayLabel: string;
160
- labelDelimiter: string;
161
- classificationProp: string;
162
- valueDelimiter: string;
163
- }>;
164
- export interface FavoriteClassification {
165
- name: string;
166
- classification: __esri.PortalItem["classification"];
167
- }
168
- export interface FavoriteClassificationResult {
169
- result?: {
170
- favorites: FavoriteClassification[];
171
- };
172
- error?: {
173
- details: {
174
- raw: {
175
- code: string;
176
- messages: string[];
177
- messageCode: string;
178
- };
179
- };
180
- message: string;
181
- name: string;
182
- };
183
- }
184
- export interface ClassificationAlertIndicator {
185
- alertIndicatorType?: HTMLCalciteAlertElement["kind"];
186
- alertIndicatorIcon?: HTMLCalciteIconElement["icon"];
187
- alertIndicatorInfo: string;
188
- }
189
- export interface AddFavoriteClassificationResult {
190
- result?: {
191
- success: boolean;
192
- };
193
- error?: {
194
- name: string;
195
- message: string;
196
- details?: {
197
- raw: {
198
- messages: string[];
199
- };
200
- name: string;
201
- };
202
- url?: string;
203
- };
204
- }
205
- /**
206
- * State object that is used to store arcade expression results from expressions
207
- * that are evaluated for each attribute in the classification schema.
208
- **/
209
- export type AttributeExpressionResults = Map<string, {
210
- enabled: boolean;
211
- valueExpressionResult: Record<string, ValueOption[]> | ValueOption[] | null;
212
- attributeValidationResult: string | null;
213
- }>;
214
- export {};
111
+
112
+ export type ClassificationLayoutElements = Readonly<{ formDisplayOrder: number; }>;
113
+
114
+ export type BaseAttributesValues = Readonly<{
115
+ label: string;
116
+ description?: string;
117
+ type: string;
118
+ uiElement: string;
119
+ isRequired?: boolean;
120
+ defaultValue?: string;
121
+ defaultDateTimeline?: number;
122
+ defaultDateTimelineUnits?: string;
123
+ validValues?: ValueOption[];
124
+ validValuesMap?: Record<string, ValueOption[]>;
125
+ isAttributeEnabled?: string;
126
+ valueExpression?: string;
127
+ attributeValidation?: string;
128
+ arcadeResultLookup?: Record<string, ValueOption[]>;
129
+ attributeCategory?: string;
130
+ selectionDisplayOrder?: number;
131
+ selectionDisplayLabel?: string;
132
+ bannerOrder?: number;
133
+ bannerLabel?: string;
134
+ labelDelimiter?: string;
135
+ labelTooltip?: string;
136
+ valueDelimiter?: string;
137
+ attributeDelimiter?: string;
138
+ }>;
@@ -8,35 +8,35 @@ import type { ArcgisPortalFieldDelete } from "../components/arcgis-portal-field-
8
8
  import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-portal-replacement-item-redirect/customElement.js";
9
9
  import type { h, EventHandler } from "@arcgis/lumina";
10
10
 
11
- interface LuminaArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, 'missingExistingClassification' | 'portalItem' | 'validationErrors' | 'variant'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalClassificationBannerElement> {
11
+ interface LuminaArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, "missingExistingClassification" | "portalItem" | "validationErrors" | "variant">>, h.JSX.HTMLAttributes<ArcgisPortalClassificationBanner> {
12
12
  }
13
13
 
14
- interface LuminaArcgisPortalClassificationConfig extends Required<Pick<ArcgisPortalClassificationConfig, 'portalItem'>>, Partial<Pick<ArcgisPortalClassificationConfig, 'valid' | 'values'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalClassificationConfigElement> {
15
- onarcgisPropertyChange?: EventHandler<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
14
+ interface LuminaArcgisPortalClassificationConfig extends Required<Pick<ArcgisPortalClassificationConfig, "portalItem">>, Partial<Pick<ArcgisPortalClassificationConfig, "valid" | "values">>, h.JSX.HTMLAttributes<ArcgisPortalClassificationConfig> {
15
+ onarcgisPropertyChange?: EventHandler<ArcgisPortalClassificationConfig["arcgisPropertyChange"]>;
16
16
  }
17
17
 
18
- interface LuminaArcgisPortalClassificationFavorite extends Partial<Pick<ArcgisPortalClassificationFavorite, 'attributeExpressionResults' | 'classificationValue' | 'favoriteClassifications' | 'portalItem' | 'resetFavoriteClassification' | 'selectedFavoriteClassificationName' | 'updateClassificationData'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalClassificationFavoriteElement> {
18
+ interface LuminaArcgisPortalClassificationFavorite extends Partial<Pick<ArcgisPortalClassificationFavorite, "attributeExpressionResults" | "classificationValue" | "favoriteClassifications" | "portalItem" | "resetFavoriteClassification" | "selectedFavoriteClassificationName" | "updateClassificationData">>, h.JSX.HTMLAttributes<ArcgisPortalClassificationFavorite> {
19
19
  }
20
20
 
21
- interface LuminaArcgisPortalClassificationFormElement extends Partial<Pick<ArcgisPortalClassificationFormElement, 'attribute' | 'attributeKey' | 'isRequiredErrors' | 'renderingInfo' | 'value'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalClassificationFormElementElement> {
22
- onarcgisAttributeValueChange?: EventHandler<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
21
+ interface LuminaArcgisPortalClassificationFormElement extends Partial<Pick<ArcgisPortalClassificationFormElement, "attribute" | "attributeKey" | "isRequiredErrors" | "renderingInfo" | "value">>, h.JSX.HTMLAttributes<ArcgisPortalClassificationFormElement> {
22
+ onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
23
23
  }
24
24
 
25
- interface LuminaArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, 'active' | 'contentOnly' | 'extentService' | 'extentValue' | 'isArea' | 'itemId' | 'portal'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalExtentPickerElement> {
26
- onarcgisExtentPickerChange?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
27
- onarcgisExtentPickerClose?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
28
- onarcgisExtentPickerSave?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
25
+ interface LuminaArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, "active" | "contentOnly" | "extentService" | "extentValue" | "isArea" | "itemId" | "portal">>, h.JSX.HTMLAttributes<ArcgisPortalExtentPicker> {
26
+ onarcgisExtentPickerChange?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerChange"]>;
27
+ onarcgisExtentPickerClose?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerClose"]>;
28
+ onarcgisExtentPickerSave?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerSave"]>;
29
29
  }
30
30
 
31
- interface LuminaArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
32
- onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
33
- onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
34
- onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
35
- onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
31
+ interface LuminaArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, "config" | "fieldNames" | "layer" | "mapView" | "options">>, h.JSX.HTMLAttributes<ArcgisPortalFieldDelete> {
32
+ onarcgisBeforeDelete?: EventHandler<ArcgisPortalFieldDelete["arcgisBeforeDelete"]>;
33
+ onarcgisBeforeModalClose?: EventHandler<ArcgisPortalFieldDelete["arcgisBeforeModalClose"]>;
34
+ onarcgisClose?: EventHandler<ArcgisPortalFieldDelete["arcgisClose"]>;
35
+ onarcgisFieldsDeleted?: EventHandler<ArcgisPortalFieldDelete["arcgisFieldsDeleted"]>;
36
36
  }
37
37
 
38
- interface LuminaArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, 'itemId' | 'portal' | 'user'>>, h.JSX.HTMLAttributes<HTMLArcgisPortalReplacementItemRedirectElement> {
39
- onarcgisPortalReplacementItemFetch?: EventHandler<HTMLArcgisPortalReplacementItemRedirectElement["arcgisPortalReplacementItemFetch"]>;
38
+ interface LuminaArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, "itemId" | "portal" | "user">>, h.JSX.HTMLAttributes<ArcgisPortalReplacementItemRedirect> {
39
+ onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
40
40
  }
41
41
 
42
42
  declare module "@arcgis/lumina" {
@@ -9,35 +9,35 @@ import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-p
9
9
  import { HTMLAttributes } from "preact";
10
10
  import type { EventHandler } from "@arcgis/lumina";
11
11
 
12
- interface PreactArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, 'missingExistingClassification' | 'portalItem' | 'validationErrors' | 'variant'>>, HTMLAttributes<HTMLArcgisPortalClassificationBannerElement> {
12
+ interface PreactArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, "missingExistingClassification" | "portalItem" | "validationErrors" | "variant">>, HTMLAttributes<ArcgisPortalClassificationBanner> {
13
13
  }
14
14
 
15
- interface PreactArcgisPortalClassificationConfig extends Required<Pick<ArcgisPortalClassificationConfig, 'portalItem'>>, Partial<Pick<ArcgisPortalClassificationConfig, 'valid' | 'values'>>, HTMLAttributes<HTMLArcgisPortalClassificationConfigElement> {
16
- onarcgisPropertyChange?: EventHandler<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
15
+ interface PreactArcgisPortalClassificationConfig extends Required<Pick<ArcgisPortalClassificationConfig, "portalItem">>, Partial<Pick<ArcgisPortalClassificationConfig, "valid" | "values">>, HTMLAttributes<ArcgisPortalClassificationConfig> {
16
+ onarcgisPropertyChange?: EventHandler<ArcgisPortalClassificationConfig["arcgisPropertyChange"]>;
17
17
  }
18
18
 
19
- interface PreactArcgisPortalClassificationFavorite extends Partial<Pick<ArcgisPortalClassificationFavorite, 'attributeExpressionResults' | 'classificationValue' | 'favoriteClassifications' | 'portalItem' | 'resetFavoriteClassification' | 'selectedFavoriteClassificationName' | 'updateClassificationData'>>, HTMLAttributes<HTMLArcgisPortalClassificationFavoriteElement> {
19
+ interface PreactArcgisPortalClassificationFavorite extends Partial<Pick<ArcgisPortalClassificationFavorite, "attributeExpressionResults" | "classificationValue" | "favoriteClassifications" | "portalItem" | "resetFavoriteClassification" | "selectedFavoriteClassificationName" | "updateClassificationData">>, HTMLAttributes<ArcgisPortalClassificationFavorite> {
20
20
  }
21
21
 
22
- interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<ArcgisPortalClassificationFormElement, 'attribute' | 'attributeKey' | 'isRequiredErrors' | 'renderingInfo' | 'value'>>, HTMLAttributes<HTMLArcgisPortalClassificationFormElementElement> {
23
- onarcgisAttributeValueChange?: EventHandler<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
22
+ interface PreactArcgisPortalClassificationFormElement extends Partial<Pick<ArcgisPortalClassificationFormElement, "attribute" | "attributeKey" | "isRequiredErrors" | "renderingInfo" | "value">>, HTMLAttributes<ArcgisPortalClassificationFormElement> {
23
+ onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
24
24
  }
25
25
 
26
- interface PreactArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, 'active' | 'contentOnly' | 'extentService' | 'extentValue' | 'isArea' | 'itemId' | 'portal'>>, HTMLAttributes<HTMLArcgisPortalExtentPickerElement> {
27
- onarcgisExtentPickerChange?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
28
- onarcgisExtentPickerClose?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
29
- onarcgisExtentPickerSave?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
26
+ interface PreactArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, "active" | "contentOnly" | "extentService" | "extentValue" | "isArea" | "itemId" | "portal">>, HTMLAttributes<ArcgisPortalExtentPicker> {
27
+ onarcgisExtentPickerChange?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerChange"]>;
28
+ onarcgisExtentPickerClose?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerClose"]>;
29
+ onarcgisExtentPickerSave?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerSave"]>;
30
30
  }
31
31
 
32
- interface PreactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, HTMLAttributes<HTMLArcgisPortalFieldDeleteElement> {
33
- onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
34
- onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
35
- onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
36
- onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
32
+ interface PreactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, "config" | "fieldNames" | "layer" | "mapView" | "options">>, HTMLAttributes<ArcgisPortalFieldDelete> {
33
+ onarcgisBeforeDelete?: EventHandler<ArcgisPortalFieldDelete["arcgisBeforeDelete"]>;
34
+ onarcgisBeforeModalClose?: EventHandler<ArcgisPortalFieldDelete["arcgisBeforeModalClose"]>;
35
+ onarcgisClose?: EventHandler<ArcgisPortalFieldDelete["arcgisClose"]>;
36
+ onarcgisFieldsDeleted?: EventHandler<ArcgisPortalFieldDelete["arcgisFieldsDeleted"]>;
37
37
  }
38
38
 
39
- interface PreactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, 'itemId' | 'portal' | 'user'>>, HTMLAttributes<HTMLArcgisPortalReplacementItemRedirectElement> {
40
- onarcgisPortalReplacementItemFetch?: EventHandler<HTMLArcgisPortalReplacementItemRedirectElement["arcgisPortalReplacementItemFetch"]>;
39
+ interface PreactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, "itemId" | "portal" | "user">>, HTMLAttributes<ArcgisPortalReplacementItemRedirect> {
40
+ onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
41
41
  }
42
42
 
43
43
  declare module 'preact' {
@@ -9,35 +9,35 @@ import type { ArcgisPortalReplacementItemRedirect } from "../components/arcgis-p
9
9
  import type { HTMLProps } from 'react';
10
10
  import type { EventHandler } from "@arcgis/lumina";
11
11
 
12
- interface ReactArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, 'missingExistingClassification' | 'portalItem' | 'validationErrors' | 'variant'>>, HTMLProps<HTMLArcgisPortalClassificationBannerElement> {
12
+ interface ReactArcgisPortalClassificationBanner extends Partial<Pick<ArcgisPortalClassificationBanner, "missingExistingClassification" | "portalItem" | "validationErrors" | "variant">>, HTMLProps<ArcgisPortalClassificationBanner> {
13
13
  }
14
14
 
15
- interface ReactArcgisPortalClassificationConfig extends Required<Pick<ArcgisPortalClassificationConfig, 'portalItem'>>, Partial<Pick<ArcgisPortalClassificationConfig, 'valid' | 'values'>>, HTMLProps<HTMLArcgisPortalClassificationConfigElement> {
16
- onarcgisPropertyChange?: EventHandler<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
15
+ interface ReactArcgisPortalClassificationConfig extends Required<Pick<ArcgisPortalClassificationConfig, "portalItem">>, Partial<Pick<ArcgisPortalClassificationConfig, "valid" | "values">>, HTMLProps<ArcgisPortalClassificationConfig> {
16
+ onarcgisPropertyChange?: EventHandler<ArcgisPortalClassificationConfig["arcgisPropertyChange"]>;
17
17
  }
18
18
 
19
- interface ReactArcgisPortalClassificationFavorite extends Partial<Pick<ArcgisPortalClassificationFavorite, 'attributeExpressionResults' | 'classificationValue' | 'favoriteClassifications' | 'portalItem' | 'resetFavoriteClassification' | 'selectedFavoriteClassificationName' | 'updateClassificationData'>>, HTMLProps<HTMLArcgisPortalClassificationFavoriteElement> {
19
+ interface ReactArcgisPortalClassificationFavorite extends Partial<Pick<ArcgisPortalClassificationFavorite, "attributeExpressionResults" | "classificationValue" | "favoriteClassifications" | "portalItem" | "resetFavoriteClassification" | "selectedFavoriteClassificationName" | "updateClassificationData">>, HTMLProps<ArcgisPortalClassificationFavorite> {
20
20
  }
21
21
 
22
- interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<ArcgisPortalClassificationFormElement, 'attribute' | 'attributeKey' | 'isRequiredErrors' | 'renderingInfo' | 'value'>>, HTMLProps<HTMLArcgisPortalClassificationFormElementElement> {
23
- onarcgisAttributeValueChange?: EventHandler<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
22
+ interface ReactArcgisPortalClassificationFormElement extends Partial<Pick<ArcgisPortalClassificationFormElement, "attribute" | "attributeKey" | "isRequiredErrors" | "renderingInfo" | "value">>, HTMLProps<ArcgisPortalClassificationFormElement> {
23
+ onarcgisAttributeValueChange?: EventHandler<ArcgisPortalClassificationFormElement["arcgisAttributeValueChange"]>;
24
24
  }
25
25
 
26
- interface ReactArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, 'active' | 'contentOnly' | 'extentService' | 'extentValue' | 'isArea' | 'itemId' | 'portal'>>, HTMLProps<HTMLArcgisPortalExtentPickerElement> {
27
- onarcgisExtentPickerChange?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
28
- onarcgisExtentPickerClose?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
29
- onarcgisExtentPickerSave?: EventHandler<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
26
+ interface ReactArcgisPortalExtentPicker extends Partial<Pick<ArcgisPortalExtentPicker, "active" | "contentOnly" | "extentService" | "extentValue" | "isArea" | "itemId" | "portal">>, HTMLProps<ArcgisPortalExtentPicker> {
27
+ onarcgisExtentPickerChange?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerChange"]>;
28
+ onarcgisExtentPickerClose?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerClose"]>;
29
+ onarcgisExtentPickerSave?: EventHandler<ArcgisPortalExtentPicker["arcgisExtentPickerSave"]>;
30
30
  }
31
31
 
32
- interface ReactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, 'config' | 'fieldNames' | 'layer' | 'mapView' | 'options'>>, HTMLProps<HTMLArcgisPortalFieldDeleteElement> {
33
- onarcgisBeforeDelete?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
34
- onarcgisBeforeModalClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
35
- onarcgisClose?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
36
- onarcgisFieldsDeleted?: EventHandler<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
32
+ interface ReactArcgisPortalFieldDelete extends Partial<Pick<ArcgisPortalFieldDelete, "config" | "fieldNames" | "layer" | "mapView" | "options">>, HTMLProps<ArcgisPortalFieldDelete> {
33
+ onarcgisBeforeDelete?: EventHandler<ArcgisPortalFieldDelete["arcgisBeforeDelete"]>;
34
+ onarcgisBeforeModalClose?: EventHandler<ArcgisPortalFieldDelete["arcgisBeforeModalClose"]>;
35
+ onarcgisClose?: EventHandler<ArcgisPortalFieldDelete["arcgisClose"]>;
36
+ onarcgisFieldsDeleted?: EventHandler<ArcgisPortalFieldDelete["arcgisFieldsDeleted"]>;
37
37
  }
38
38
 
39
- interface ReactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, 'itemId' | 'portal' | 'user'>>, HTMLProps<HTMLArcgisPortalReplacementItemRedirectElement> {
40
- onarcgisPortalReplacementItemFetch?: EventHandler<HTMLArcgisPortalReplacementItemRedirectElement["arcgisPortalReplacementItemFetch"]>;
39
+ interface ReactArcgisPortalReplacementItemRedirect extends Partial<Pick<ArcgisPortalReplacementItemRedirect, "itemId" | "portal" | "user">>, HTMLProps<ArcgisPortalReplacementItemRedirect> {
40
+ onarcgisPortalReplacementItemFetch?: EventHandler<ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]>;
41
41
  }
42
42
 
43
43
  declare module "react" {