@arcgis/portal-components-react 5.2.0-next.46 → 5.2.0-next.48
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/components.d.ts +33 -0
- package/dist/index.js +100 -57
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
/// <reference types="@arcgis/portal-components" preserve="true" />
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-account-switcher />` directly. */
|
|
4
|
+
export declare const ArcgisPortalAccountSwitcher: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-account-switcher/customElement').ArcgisPortalAccountSwitcher & {
|
|
5
|
+
class?: string;
|
|
6
|
+
}, {
|
|
7
|
+
onArcgisAccountSwitch: EventName<HTMLArcgisPortalAccountSwitcherElement["arcgisAccountSwitch"]>;
|
|
8
|
+
}>;
|
|
9
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-account-switcher-accounts />` directly. */
|
|
10
|
+
export declare const ArcgisPortalAccountSwitcherAccounts: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-account-switcher-accounts/customElement').ArcgisPortalAccountSwitcherAccounts & {
|
|
11
|
+
class?: string;
|
|
12
|
+
}, {
|
|
13
|
+
onArcgisCloseDialog: EventName<HTMLArcgisPortalAccountSwitcherAccountsElement["arcgisCloseDialog"]>;
|
|
14
|
+
onArcgisLinkAll: EventName<HTMLArcgisPortalAccountSwitcherAccountsElement["arcgisLinkAll"]>;
|
|
15
|
+
}>;
|
|
16
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-account-switcher-list />` directly. */
|
|
17
|
+
export declare const ArcgisPortalAccountSwitcherList: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-account-switcher-list/customElement').ArcgisPortalAccountSwitcherList & {
|
|
18
|
+
class?: string;
|
|
19
|
+
}, {
|
|
20
|
+
onArcgisAccountSwitch: EventName<HTMLArcgisPortalAccountSwitcherListElement["arcgisAccountSwitch"]>;
|
|
21
|
+
onArcgisAccountUnlink: EventName<HTMLArcgisPortalAccountSwitcherListElement["arcgisAccountUnlink"]>;
|
|
22
|
+
}>;
|
|
3
23
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-ai-assistant />` directly. */
|
|
4
24
|
export declare const ArcgisPortalAiAssistant: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-ai-assistant/customElement').ArcgisPortalAiAssistant & {
|
|
5
25
|
class?: string;
|
|
@@ -130,6 +150,10 @@ export declare const ArcgisPortalGroupCard: import('@lit/react').ReactWebCompone
|
|
|
130
150
|
export declare const ArcgisPortalGroupThumbnail: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-group-thumbnail/customElement').ArcgisPortalGroupThumbnail & {
|
|
131
151
|
class?: string;
|
|
132
152
|
}, {}>;
|
|
153
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-info-banner />` directly. */
|
|
154
|
+
export declare const ArcgisPortalInfoBanner: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-info-banner/customElement').ArcgisPortalInfoBanner & {
|
|
155
|
+
class?: string;
|
|
156
|
+
}, {}>;
|
|
133
157
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-item-type />` directly. */
|
|
134
158
|
export declare const ArcgisPortalItemType: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-item-type/customElement').ArcgisPortalItemType & {
|
|
135
159
|
class?: string;
|
|
@@ -144,6 +168,15 @@ export declare const ArcgisPortalMentionableTextArea: import('@lit/react').React
|
|
|
144
168
|
onArcgisUserMentionableTextAreaChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaChange"]>;
|
|
145
169
|
onArcgisUserMentionableTextAreaKeyDown: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaKeyDown"]>;
|
|
146
170
|
}>;
|
|
171
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-navigation />` directly. */
|
|
172
|
+
export declare const ArcgisPortalNavigation: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-navigation/customElement').ArcGISPortalNavigation & {
|
|
173
|
+
class?: string;
|
|
174
|
+
}, {
|
|
175
|
+
onArcgisNavigate: EventName<HTMLArcgisPortalNavigationElement["arcgisNavigate"]>;
|
|
176
|
+
onArcgisNavigationProjectMenuClick: EventName<HTMLArcgisPortalNavigationElement["arcgisNavigationProjectMenuClick"]>;
|
|
177
|
+
onArcgisNavigationSignIn: EventName<HTMLArcgisPortalNavigationElement["arcgisNavigationSignIn"]>;
|
|
178
|
+
onArcgisNavigationSignOut: EventName<HTMLArcgisPortalNavigationElement["arcgisNavigationSignOut"]>;
|
|
179
|
+
}>;
|
|
147
180
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use `<arcgis-portal-replacement-item-redirect />` directly. */
|
|
148
181
|
export declare const ArcgisPortalReplacementItemRedirect: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-replacement-item-redirect/customElement').ArcgisPortalReplacementItemRedirect & {
|
|
149
182
|
class?: string;
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createComponent as
|
|
3
|
-
import { getReactWrapperOptions as r, makeReactWrapperFactory as
|
|
4
|
-
const
|
|
1
|
+
import i from "react";
|
|
2
|
+
import { createComponent as e } from "@lit/react";
|
|
3
|
+
import { getReactWrapperOptions as r, makeReactWrapperFactory as t } from "@arcgis/lumina";
|
|
4
|
+
const o = /* @__PURE__ */ t(i, e), n = /* @__PURE__ */ o(
|
|
5
|
+
r(
|
|
6
|
+
"arcgis-portal-account-switcher",
|
|
7
|
+
{
|
|
8
|
+
onArcgisAccountSwitch: "arcgisAccountSwitch"
|
|
9
|
+
}
|
|
10
|
+
)
|
|
11
|
+
), g = /* @__PURE__ */ o(
|
|
12
|
+
r(
|
|
13
|
+
"arcgis-portal-account-switcher-accounts",
|
|
14
|
+
{
|
|
15
|
+
onArcgisCloseDialog: "arcgisCloseDialog",
|
|
16
|
+
onArcgisLinkAll: "arcgisLinkAll"
|
|
17
|
+
}
|
|
18
|
+
)
|
|
19
|
+
), l = /* @__PURE__ */ o(
|
|
20
|
+
r(
|
|
21
|
+
"arcgis-portal-account-switcher-list",
|
|
22
|
+
{
|
|
23
|
+
onArcgisAccountSwitch: "arcgisAccountSwitch",
|
|
24
|
+
onArcgisAccountUnlink: "arcgisAccountUnlink"
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
), A = /* @__PURE__ */ o(
|
|
5
28
|
r(
|
|
6
29
|
"arcgis-portal-ai-assistant",
|
|
7
30
|
{
|
|
8
31
|
onArcgisPortalNavigationRequest: "arcgisPortalNavigationRequest"
|
|
9
32
|
}
|
|
10
33
|
)
|
|
11
|
-
),
|
|
34
|
+
), p = /* @__PURE__ */ o(
|
|
12
35
|
r(
|
|
13
36
|
"arcgis-portal-ai-assistant-interrupt",
|
|
14
37
|
{
|
|
@@ -16,7 +39,7 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
16
39
|
onArcgisSubmit: "arcgisSubmit"
|
|
17
40
|
}
|
|
18
41
|
)
|
|
19
|
-
),
|
|
42
|
+
), u = /* @__PURE__ */ o(
|
|
20
43
|
r(
|
|
21
44
|
"arcgis-portal-browser",
|
|
22
45
|
{
|
|
@@ -24,26 +47,26 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
24
47
|
onAriaUpdate: "ariaUpdate"
|
|
25
48
|
}
|
|
26
49
|
)
|
|
27
|
-
),
|
|
50
|
+
), w = /* @__PURE__ */ o(
|
|
28
51
|
r(
|
|
29
52
|
"arcgis-portal-browser-actions",
|
|
30
53
|
{}
|
|
31
54
|
)
|
|
32
|
-
),
|
|
55
|
+
), P = /* @__PURE__ */ o(
|
|
33
56
|
r(
|
|
34
57
|
"arcgis-portal-browser-filter",
|
|
35
58
|
{
|
|
36
59
|
onArcgisBrowserFilterRemove: "arcgisBrowserFilterRemove"
|
|
37
60
|
}
|
|
38
61
|
)
|
|
39
|
-
),
|
|
62
|
+
), C = /* @__PURE__ */ o(
|
|
40
63
|
r(
|
|
41
64
|
"arcgis-portal-browser-filter-date",
|
|
42
65
|
{
|
|
43
66
|
onArcgisBrowserFilter: "arcgisBrowserFilter"
|
|
44
67
|
}
|
|
45
68
|
)
|
|
46
|
-
),
|
|
69
|
+
), B = /* @__PURE__ */ o(
|
|
47
70
|
r(
|
|
48
71
|
"arcgis-portal-browser-filter-status",
|
|
49
72
|
{
|
|
@@ -51,19 +74,19 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
51
74
|
onArcgisBrowserFilterRemove: "arcgisBrowserFilterRemove"
|
|
52
75
|
}
|
|
53
76
|
)
|
|
54
|
-
),
|
|
77
|
+
), h = /* @__PURE__ */ o(
|
|
55
78
|
r(
|
|
56
79
|
"arcgis-portal-browser-filters",
|
|
57
80
|
{}
|
|
58
81
|
)
|
|
59
|
-
),
|
|
82
|
+
), S = /* @__PURE__ */ o(
|
|
60
83
|
r(
|
|
61
84
|
"arcgis-portal-browser-pagination",
|
|
62
85
|
{
|
|
63
86
|
onArcgisBrowserPage: "arcgisBrowserPage"
|
|
64
87
|
}
|
|
65
88
|
)
|
|
66
|
-
),
|
|
89
|
+
), b = /* @__PURE__ */ o(
|
|
67
90
|
r(
|
|
68
91
|
"arcgis-portal-browser-search",
|
|
69
92
|
{
|
|
@@ -71,7 +94,7 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
71
94
|
onArcgisBrowserSearchInput: "arcgisBrowserSearchInput"
|
|
72
95
|
}
|
|
73
96
|
)
|
|
74
|
-
), m = /* @__PURE__ */
|
|
97
|
+
), m = /* @__PURE__ */ o(
|
|
75
98
|
r(
|
|
76
99
|
"arcgis-portal-browser-sort",
|
|
77
100
|
{
|
|
@@ -79,43 +102,43 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
79
102
|
onArcgisBrowserSortOrderChange: "arcgisBrowserSortOrderChange"
|
|
80
103
|
}
|
|
81
104
|
)
|
|
82
|
-
),
|
|
105
|
+
), I = /* @__PURE__ */ o(
|
|
83
106
|
r(
|
|
84
107
|
"arcgis-portal-browser-top-bar",
|
|
85
108
|
{}
|
|
86
109
|
)
|
|
87
|
-
), d = /* @__PURE__ */
|
|
110
|
+
), d = /* @__PURE__ */ o(
|
|
88
111
|
r(
|
|
89
112
|
"arcgis-portal-browser-view",
|
|
90
113
|
{
|
|
91
114
|
onArcgisBrowserViewChange: "arcgisBrowserViewChange"
|
|
92
115
|
}
|
|
93
116
|
)
|
|
94
|
-
),
|
|
117
|
+
), f = /* @__PURE__ */ o(
|
|
95
118
|
r(
|
|
96
119
|
"arcgis-portal-classification-banner",
|
|
97
120
|
{}
|
|
98
121
|
)
|
|
99
|
-
),
|
|
122
|
+
), v = /* @__PURE__ */ o(
|
|
100
123
|
r(
|
|
101
124
|
"arcgis-portal-classification-config",
|
|
102
125
|
{
|
|
103
126
|
onArcgisPropertyChange: "arcgisPropertyChange"
|
|
104
127
|
}
|
|
105
128
|
)
|
|
106
|
-
),
|
|
129
|
+
), F = /* @__PURE__ */ o(
|
|
107
130
|
r(
|
|
108
131
|
"arcgis-portal-classification-favorite",
|
|
109
132
|
{}
|
|
110
133
|
)
|
|
111
|
-
),
|
|
134
|
+
), x = /* @__PURE__ */ o(
|
|
112
135
|
r(
|
|
113
136
|
"arcgis-portal-classification-form-element",
|
|
114
137
|
{
|
|
115
138
|
onArcgisAttributeValueChange: "arcgisAttributeValueChange"
|
|
116
139
|
}
|
|
117
140
|
)
|
|
118
|
-
),
|
|
141
|
+
), U = /* @__PURE__ */ o(
|
|
119
142
|
r(
|
|
120
143
|
"arcgis-portal-extent-picker",
|
|
121
144
|
{
|
|
@@ -124,7 +147,7 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
124
147
|
onArcgisExtentPickerSave: "arcgisExtentPickerSave"
|
|
125
148
|
}
|
|
126
149
|
)
|
|
127
|
-
),
|
|
150
|
+
), T = /* @__PURE__ */ o(
|
|
128
151
|
r(
|
|
129
152
|
"arcgis-portal-field-delete",
|
|
130
153
|
{
|
|
@@ -134,12 +157,12 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
134
157
|
onArcgisFieldsDeleted: "arcgisFieldsDeleted"
|
|
135
158
|
}
|
|
136
159
|
)
|
|
137
|
-
),
|
|
160
|
+
), V = /* @__PURE__ */ o(
|
|
138
161
|
r(
|
|
139
162
|
"arcgis-portal-group-badges",
|
|
140
163
|
{}
|
|
141
164
|
)
|
|
142
|
-
),
|
|
165
|
+
), k = /* @__PURE__ */ o(
|
|
143
166
|
r(
|
|
144
167
|
"arcgis-portal-group-card",
|
|
145
168
|
{
|
|
@@ -148,17 +171,22 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
148
171
|
onArcgisGroupCardSelect: "arcgisGroupCardSelect"
|
|
149
172
|
}
|
|
150
173
|
)
|
|
151
|
-
),
|
|
174
|
+
), M = /* @__PURE__ */ o(
|
|
152
175
|
r(
|
|
153
176
|
"arcgis-portal-group-thumbnail",
|
|
154
177
|
{}
|
|
155
178
|
)
|
|
156
|
-
),
|
|
179
|
+
), R = /* @__PURE__ */ o(
|
|
180
|
+
r(
|
|
181
|
+
"arcgis-portal-info-banner",
|
|
182
|
+
{}
|
|
183
|
+
)
|
|
184
|
+
), D = /* @__PURE__ */ o(
|
|
157
185
|
r(
|
|
158
186
|
"arcgis-portal-item-type",
|
|
159
187
|
{}
|
|
160
188
|
)
|
|
161
|
-
),
|
|
189
|
+
), N = /* @__PURE__ */ o(
|
|
162
190
|
r(
|
|
163
191
|
"arcgis-portal-mentionable-text-area",
|
|
164
192
|
{
|
|
@@ -169,19 +197,29 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
169
197
|
onArcgisUserMentionableTextAreaKeyDown: "arcgisUserMentionableTextAreaKeyDown"
|
|
170
198
|
}
|
|
171
199
|
)
|
|
172
|
-
),
|
|
200
|
+
), E = /* @__PURE__ */ o(
|
|
201
|
+
r(
|
|
202
|
+
"arcgis-portal-navigation",
|
|
203
|
+
{
|
|
204
|
+
onArcgisNavigate: "arcgisNavigate",
|
|
205
|
+
onArcgisNavigationProjectMenuClick: "arcgisNavigationProjectMenuClick",
|
|
206
|
+
onArcgisNavigationSignIn: "arcgisNavigationSignIn",
|
|
207
|
+
onArcgisNavigationSignOut: "arcgisNavigationSignOut"
|
|
208
|
+
}
|
|
209
|
+
)
|
|
210
|
+
), y = /* @__PURE__ */ o(
|
|
173
211
|
r(
|
|
174
212
|
"arcgis-portal-replacement-item-redirect",
|
|
175
213
|
{
|
|
176
214
|
onArcgisPortalReplacementItemFetch: "arcgisPortalReplacementItemFetch"
|
|
177
215
|
}
|
|
178
216
|
)
|
|
179
|
-
),
|
|
217
|
+
), G = /* @__PURE__ */ o(
|
|
180
218
|
r(
|
|
181
219
|
"arcgis-portal-user-avatar",
|
|
182
220
|
{}
|
|
183
221
|
)
|
|
184
|
-
),
|
|
222
|
+
), O = /* @__PURE__ */ o(
|
|
185
223
|
r(
|
|
186
224
|
"arcgis-portal-user-popup",
|
|
187
225
|
{
|
|
@@ -189,7 +227,7 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
189
227
|
onArcgisUserPopupInternalUIAction: "arcgisUserPopupInternalUIAction"
|
|
190
228
|
}
|
|
191
229
|
)
|
|
192
|
-
),
|
|
230
|
+
), K = /* @__PURE__ */ o(
|
|
193
231
|
r(
|
|
194
232
|
"arcgis-portal-voice-input",
|
|
195
233
|
{
|
|
@@ -202,32 +240,37 @@ const e = /* @__PURE__ */ a(o, t), n = /* @__PURE__ */ e(
|
|
|
202
240
|
)
|
|
203
241
|
);
|
|
204
242
|
export {
|
|
205
|
-
n as
|
|
206
|
-
g as
|
|
207
|
-
l as
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
243
|
+
n as ArcgisPortalAccountSwitcher,
|
|
244
|
+
g as ArcgisPortalAccountSwitcherAccounts,
|
|
245
|
+
l as ArcgisPortalAccountSwitcherList,
|
|
246
|
+
A as ArcgisPortalAiAssistant,
|
|
247
|
+
p as ArcgisPortalAiAssistantInterrupt,
|
|
248
|
+
u as ArcgisPortalBrowser,
|
|
249
|
+
w as ArcgisPortalBrowserActions,
|
|
250
|
+
P as ArcgisPortalBrowserFilter,
|
|
251
|
+
C as ArcgisPortalBrowserFilterDate,
|
|
252
|
+
B as ArcgisPortalBrowserFilterStatus,
|
|
253
|
+
h as ArcgisPortalBrowserFilters,
|
|
254
|
+
S as ArcgisPortalBrowserPagination,
|
|
255
|
+
b as ArcgisPortalBrowserSearch,
|
|
215
256
|
m as ArcgisPortalBrowserSort,
|
|
216
|
-
|
|
257
|
+
I as ArcgisPortalBrowserTopBar,
|
|
217
258
|
d as ArcgisPortalBrowserView,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
259
|
+
f as ArcgisPortalClassificationBanner,
|
|
260
|
+
v as ArcgisPortalClassificationConfig,
|
|
261
|
+
F as ArcgisPortalClassificationFavorite,
|
|
262
|
+
x as ArcgisPortalClassificationFormElement,
|
|
263
|
+
U as ArcgisPortalExtentPicker,
|
|
264
|
+
T as ArcgisPortalFieldDelete,
|
|
265
|
+
V as ArcgisPortalGroupBadges,
|
|
266
|
+
k as ArcgisPortalGroupCard,
|
|
267
|
+
M as ArcgisPortalGroupThumbnail,
|
|
268
|
+
R as ArcgisPortalInfoBanner,
|
|
269
|
+
D as ArcgisPortalItemType,
|
|
270
|
+
N as ArcgisPortalMentionableTextArea,
|
|
271
|
+
E as ArcgisPortalNavigation,
|
|
272
|
+
y as ArcgisPortalReplacementItemRedirect,
|
|
273
|
+
G as ArcgisPortalUserAvatar,
|
|
274
|
+
O as ArcgisPortalUserPopup,
|
|
275
|
+
K as ArcgisPortalVoiceInput
|
|
233
276
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/portal-components-react",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.48",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS portal components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@lit/react": "^1.0.8",
|
|
33
33
|
"lit": "^3.3.0",
|
|
34
34
|
"tslib": "^2.8.1",
|
|
35
|
-
"@arcgis/
|
|
36
|
-
"@arcgis/
|
|
35
|
+
"@arcgis/lumina": "5.2.0-next.48",
|
|
36
|
+
"@arcgis/portal-components": "5.2.0-next.48"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@arcgis/core": "^5.2.0-next",
|