@arcgis/portal-components-react 5.2.0-next.0 → 5.2.0-next.10
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 +23 -0
- package/dist/index.js +66 -35
- package/package.json +4 -4
package/dist/components.d.ts
CHANGED
|
@@ -50,6 +50,22 @@ export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebCompo
|
|
|
50
50
|
onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
51
51
|
onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
|
52
52
|
}>;
|
|
53
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-group-badges /> directly. */
|
|
54
|
+
export declare const ArcgisPortalGroupBadges: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-group-badges/customElement').ArcgisPortalGroupBadges & {
|
|
55
|
+
class?: string;
|
|
56
|
+
}, {}>;
|
|
57
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-group-card /> directly. */
|
|
58
|
+
export declare const ArcgisPortalGroupCard: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-group-card/customElement').ArcgisPortalGroupCard & {
|
|
59
|
+
class?: string;
|
|
60
|
+
}, {
|
|
61
|
+
onArcgisGroupBrowserCardPreview: EventName<HTMLArcgisPortalGroupCardElement["arcgisGroupBrowserCardPreview"]>;
|
|
62
|
+
onArcgisGroupBrowserInternalUIAction: EventName<HTMLArcgisPortalGroupCardElement["arcgisGroupBrowserInternalUIAction"]>;
|
|
63
|
+
onArcgisGroupCardSelect: EventName<HTMLArcgisPortalGroupCardElement["arcgisGroupCardSelect"]>;
|
|
64
|
+
}>;
|
|
65
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-group-thumbnail /> directly. */
|
|
66
|
+
export declare const ArcgisPortalGroupThumbnail: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-group-thumbnail/customElement').ArcgisPortalGroupThumbnail & {
|
|
67
|
+
class?: string;
|
|
68
|
+
}, {}>;
|
|
53
69
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-item-type /> directly. */
|
|
54
70
|
export declare const ArcgisPortalItemType: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-item-type/customElement').ArcgisPortalItemType & {
|
|
55
71
|
class?: string;
|
|
@@ -74,6 +90,13 @@ export declare const ArcgisPortalReplacementItemRedirect: import('@lit/react').R
|
|
|
74
90
|
export declare const ArcgisPortalUserAvatar: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-user-avatar/customElement').ArcgisPortalUserAvatar & {
|
|
75
91
|
class?: string;
|
|
76
92
|
}, {}>;
|
|
93
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-user-popup /> directly. */
|
|
94
|
+
export declare const ArcgisPortalUserPopup: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-user-popup/customElement').ArcgisPortalUserPopup & {
|
|
95
|
+
class?: string;
|
|
96
|
+
}, {
|
|
97
|
+
onArcgisUserPopupClose: EventName<HTMLArcgisPortalUserPopupElement["arcgisUserPopupClose"]>;
|
|
98
|
+
onArcgisUserPopupInternalUIAction: EventName<HTMLArcgisPortalUserPopupElement["arcgisUserPopupInternalUIAction"]>;
|
|
99
|
+
}>;
|
|
77
100
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-voice-input /> directly. */
|
|
78
101
|
export declare const ArcgisPortalVoiceInput: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-voice-input/customElement').ArcgisPortalVoiceInput & {
|
|
79
102
|
class?: string;
|
package/dist/index.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
import { createComponent as i } from "@lit/react";
|
|
3
|
-
import { getReactWrapperOptions as
|
|
4
|
-
const
|
|
5
|
-
|
|
3
|
+
import { getReactWrapperOptions as r, makeReactWrapperFactory as a } from "@arcgis/lumina";
|
|
4
|
+
const e = /* @__PURE__ */ a(t, i), n = /* @__PURE__ */ e(
|
|
5
|
+
r(
|
|
6
6
|
"arcgis-portal-ai-assistant",
|
|
7
7
|
{
|
|
8
8
|
onArcgisPortalNavigationRequest: "arcgisPortalNavigationRequest"
|
|
9
9
|
}
|
|
10
10
|
)
|
|
11
|
-
), g = /* @__PURE__ */
|
|
12
|
-
|
|
11
|
+
), g = /* @__PURE__ */ e(
|
|
12
|
+
r(
|
|
13
13
|
"arcgis-portal-ai-assistant-interrupt",
|
|
14
14
|
{
|
|
15
15
|
onArcgisCancel: "arcgisCancel",
|
|
16
16
|
onArcgisSubmit: "arcgisSubmit"
|
|
17
17
|
}
|
|
18
18
|
)
|
|
19
|
-
), l = /* @__PURE__ */
|
|
20
|
-
|
|
19
|
+
), l = /* @__PURE__ */ e(
|
|
20
|
+
r(
|
|
21
21
|
"arcgis-portal-classification-banner",
|
|
22
22
|
{}
|
|
23
23
|
)
|
|
24
|
-
), p = /* @__PURE__ */
|
|
25
|
-
|
|
24
|
+
), p = /* @__PURE__ */ e(
|
|
25
|
+
r(
|
|
26
26
|
"arcgis-portal-classification-config",
|
|
27
27
|
{
|
|
28
28
|
onArcgisPropertyChange: "arcgisPropertyChange"
|
|
29
29
|
}
|
|
30
30
|
)
|
|
31
|
-
), A = /* @__PURE__ */
|
|
32
|
-
|
|
31
|
+
), A = /* @__PURE__ */ e(
|
|
32
|
+
r(
|
|
33
33
|
"arcgis-portal-classification-favorite",
|
|
34
34
|
{}
|
|
35
35
|
)
|
|
36
|
-
),
|
|
37
|
-
|
|
36
|
+
), u = /* @__PURE__ */ e(
|
|
37
|
+
r(
|
|
38
38
|
"arcgis-portal-classification-form-element",
|
|
39
39
|
{
|
|
40
40
|
onArcgisAttributeValueChange: "arcgisAttributeValueChange"
|
|
41
41
|
}
|
|
42
42
|
)
|
|
43
|
-
),
|
|
44
|
-
|
|
43
|
+
), P = /* @__PURE__ */ e(
|
|
44
|
+
r(
|
|
45
45
|
"arcgis-portal-extent-picker",
|
|
46
46
|
{
|
|
47
47
|
onArcgisExtentPickerChange: "arcgisExtentPickerChange",
|
|
@@ -49,8 +49,8 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
|
|
|
49
49
|
onArcgisExtentPickerSave: "arcgisExtentPickerSave"
|
|
50
50
|
}
|
|
51
51
|
)
|
|
52
|
-
),
|
|
53
|
-
|
|
52
|
+
), C = /* @__PURE__ */ e(
|
|
53
|
+
r(
|
|
54
54
|
"arcgis-portal-field-delete",
|
|
55
55
|
{
|
|
56
56
|
onArcgisBeforeDelete: "arcgisBeforeDelete",
|
|
@@ -59,13 +59,32 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
|
|
|
59
59
|
onArcgisFieldsDeleted: "arcgisFieldsDeleted"
|
|
60
60
|
}
|
|
61
61
|
)
|
|
62
|
-
),
|
|
63
|
-
|
|
62
|
+
), m = /* @__PURE__ */ e(
|
|
63
|
+
r(
|
|
64
|
+
"arcgis-portal-group-badges",
|
|
65
|
+
{}
|
|
66
|
+
)
|
|
67
|
+
), I = /* @__PURE__ */ e(
|
|
68
|
+
r(
|
|
69
|
+
"arcgis-portal-group-card",
|
|
70
|
+
{
|
|
71
|
+
onArcgisGroupBrowserCardPreview: "arcgisGroupBrowserCardPreview",
|
|
72
|
+
onArcgisGroupBrowserInternalUIAction: "arcgisGroupBrowserInternalUIAction",
|
|
73
|
+
onArcgisGroupCardSelect: "arcgisGroupCardSelect"
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
), d = /* @__PURE__ */ e(
|
|
77
|
+
r(
|
|
78
|
+
"arcgis-portal-group-thumbnail",
|
|
79
|
+
{}
|
|
80
|
+
)
|
|
81
|
+
), x = /* @__PURE__ */ e(
|
|
82
|
+
r(
|
|
64
83
|
"arcgis-portal-item-type",
|
|
65
84
|
{}
|
|
66
85
|
)
|
|
67
|
-
),
|
|
68
|
-
|
|
86
|
+
), b = /* @__PURE__ */ e(
|
|
87
|
+
r(
|
|
69
88
|
"arcgis-portal-mentionable-text-area",
|
|
70
89
|
{
|
|
71
90
|
onArcgisMentionableSelectedIndexChange: "arcgisMentionableSelectedIndexChange",
|
|
@@ -75,20 +94,28 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
|
|
|
75
94
|
onArcgisUserMentionableTextAreaKeyDown: "arcgisUserMentionableTextAreaKeyDown"
|
|
76
95
|
}
|
|
77
96
|
)
|
|
78
|
-
), f = /* @__PURE__ */
|
|
79
|
-
|
|
97
|
+
), f = /* @__PURE__ */ e(
|
|
98
|
+
r(
|
|
80
99
|
"arcgis-portal-replacement-item-redirect",
|
|
81
100
|
{
|
|
82
101
|
onArcgisPortalReplacementItemFetch: "arcgisPortalReplacementItemFetch"
|
|
83
102
|
}
|
|
84
103
|
)
|
|
85
|
-
),
|
|
86
|
-
|
|
104
|
+
), h = /* @__PURE__ */ e(
|
|
105
|
+
r(
|
|
87
106
|
"arcgis-portal-user-avatar",
|
|
88
107
|
{}
|
|
89
108
|
)
|
|
90
|
-
),
|
|
91
|
-
|
|
109
|
+
), T = /* @__PURE__ */ e(
|
|
110
|
+
r(
|
|
111
|
+
"arcgis-portal-user-popup",
|
|
112
|
+
{
|
|
113
|
+
onArcgisUserPopupClose: "arcgisUserPopupClose",
|
|
114
|
+
onArcgisUserPopupInternalUIAction: "arcgisUserPopupInternalUIAction"
|
|
115
|
+
}
|
|
116
|
+
)
|
|
117
|
+
), U = /* @__PURE__ */ e(
|
|
118
|
+
r(
|
|
92
119
|
"arcgis-portal-voice-input",
|
|
93
120
|
{
|
|
94
121
|
onArcgisVoiceInputError: "arcgisVoiceInputError",
|
|
@@ -100,17 +127,21 @@ const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
|
|
|
100
127
|
)
|
|
101
128
|
);
|
|
102
129
|
export {
|
|
103
|
-
|
|
130
|
+
n as ArcgisPortalAiAssistant,
|
|
104
131
|
g as ArcgisPortalAiAssistantInterrupt,
|
|
105
132
|
l as ArcgisPortalClassificationBanner,
|
|
106
133
|
p as ArcgisPortalClassificationConfig,
|
|
107
134
|
A as ArcgisPortalClassificationFavorite,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
135
|
+
u as ArcgisPortalClassificationFormElement,
|
|
136
|
+
P as ArcgisPortalExtentPicker,
|
|
137
|
+
C as ArcgisPortalFieldDelete,
|
|
138
|
+
m as ArcgisPortalGroupBadges,
|
|
139
|
+
I as ArcgisPortalGroupCard,
|
|
140
|
+
d as ArcgisPortalGroupThumbnail,
|
|
141
|
+
x as ArcgisPortalItemType,
|
|
142
|
+
b as ArcgisPortalMentionableTextArea,
|
|
113
143
|
f as ArcgisPortalReplacementItemRedirect,
|
|
114
|
-
|
|
115
|
-
|
|
144
|
+
h as ArcgisPortalUserAvatar,
|
|
145
|
+
T as ArcgisPortalUserPopup,
|
|
146
|
+
U as ArcgisPortalVoiceInput
|
|
116
147
|
};
|
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.10",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS portal components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@lit/react": "^1.0.8",
|
|
33
33
|
"lit": "^3.3.0",
|
|
34
34
|
"tslib": "^2.8.1",
|
|
35
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
36
|
-
"@arcgis/portal-components": "5.2.0-next.
|
|
35
|
+
"@arcgis/lumina": "5.2.0-next.10",
|
|
36
|
+
"@arcgis/portal-components": "5.2.0-next.10"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@arcgis/core": "^5.
|
|
39
|
+
"@arcgis/core": "^5.2.0-next",
|
|
40
40
|
"react": ">=18.0.0 <20.0.0"
|
|
41
41
|
}
|
|
42
42
|
}
|