@arcgis/portal-components-react 5.1.0-next.53 → 5.1.0-next.55
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 +21 -0
- package/dist/index.js +42 -15
- package/package.json +3 -3
package/dist/components.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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-ai-assistant /> directly. */
|
|
4
|
+
export declare const ArcgisPortalAiAssistant: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-ai-assistant/customElement').ArcgisPortalAiAssistant & {
|
|
5
|
+
class?: string;
|
|
6
|
+
}, {
|
|
7
|
+
onArcgisAiAssistantPanelToggle: EventName<HTMLArcgisPortalAiAssistantElement["arcgisAiAssistantPanelToggle"]>;
|
|
8
|
+
onArcgisAiAssistantSend: EventName<HTMLArcgisPortalAiAssistantElement["arcgisAiAssistantSend"]>;
|
|
9
|
+
}>;
|
|
3
10
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-banner /> directly. */
|
|
4
11
|
export declare const ArcgisPortalClassificationBanner: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-banner/customElement').ArcgisPortalClassificationBanner & {
|
|
5
12
|
class?: string;
|
|
@@ -37,12 +44,26 @@ export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebCompo
|
|
|
37
44
|
onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
38
45
|
onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
|
39
46
|
}>;
|
|
47
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-mentionable-text-area /> directly. */
|
|
48
|
+
export declare const ArcgisPortalMentionableTextArea: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-mentionable-text-area/customElement').ArcgisPortalMentionableTextArea & {
|
|
49
|
+
class?: string;
|
|
50
|
+
}, {
|
|
51
|
+
onArcgisMentionableSelectedIndexChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisMentionableSelectedIndexChange"]>;
|
|
52
|
+
onArcgisMentionableTextAreaChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisMentionableTextAreaChange"]>;
|
|
53
|
+
onArcgisMentionableTextAreaKeyDown: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisMentionableTextAreaKeyDown"]>;
|
|
54
|
+
onArcgisUserMentionableTextAreaChange: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaChange"]>;
|
|
55
|
+
onArcgisUserMentionableTextAreaKeyDown: EventName<HTMLArcgisPortalMentionableTextAreaElement["arcgisUserMentionableTextAreaKeyDown"]>;
|
|
56
|
+
}>;
|
|
40
57
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-replacement-item-redirect /> directly. */
|
|
41
58
|
export declare const ArcgisPortalReplacementItemRedirect: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-replacement-item-redirect/customElement').ArcgisPortalReplacementItemRedirect & {
|
|
42
59
|
class?: string;
|
|
43
60
|
}, {
|
|
44
61
|
onArcgisPortalReplacementItemFetch: EventName<HTMLArcgisPortalReplacementItemRedirectElement["arcgisPortalReplacementItemFetch"]>;
|
|
45
62
|
}>;
|
|
63
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-user-avatar /> directly. */
|
|
64
|
+
export declare const ArcgisUserAvatar: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-user-avatar/customElement').ArcgisUserAvatar & {
|
|
65
|
+
class?: string;
|
|
66
|
+
}, {}>;
|
|
46
67
|
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-voice-input /> directly. */
|
|
47
68
|
export declare const ArcgisPortalVoiceInput: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-voice-input/customElement').ArcgisPortalVoiceInput & {
|
|
48
69
|
class?: string;
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createComponent as
|
|
3
|
-
import { getReactWrapperOptions as e, makeReactWrapperFactory as
|
|
4
|
-
const r = /* @__PURE__ */
|
|
1
|
+
import t from "react";
|
|
2
|
+
import { createComponent as i } from "@lit/react";
|
|
3
|
+
import { getReactWrapperOptions as e, makeReactWrapperFactory as a } from "@arcgis/lumina";
|
|
4
|
+
const r = /* @__PURE__ */ a(t, i), s = /* @__PURE__ */ r(
|
|
5
|
+
e(
|
|
6
|
+
"arcgis-portal-ai-assistant",
|
|
7
|
+
{
|
|
8
|
+
onArcgisAiAssistantPanelToggle: "arcgisAiAssistantPanelToggle",
|
|
9
|
+
onArcgisAiAssistantSend: "arcgisAiAssistantSend"
|
|
10
|
+
}
|
|
11
|
+
)
|
|
12
|
+
), g = /* @__PURE__ */ r(
|
|
5
13
|
e(
|
|
6
14
|
"arcgis-portal-classification-banner",
|
|
7
15
|
{}
|
|
8
16
|
)
|
|
9
|
-
),
|
|
17
|
+
), l = /* @__PURE__ */ r(
|
|
10
18
|
e(
|
|
11
19
|
"arcgis-portal-classification-config",
|
|
12
20
|
{
|
|
13
21
|
onArcgisPropertyChange: "arcgisPropertyChange"
|
|
14
22
|
}
|
|
15
23
|
)
|
|
16
|
-
),
|
|
24
|
+
), A = /* @__PURE__ */ r(
|
|
17
25
|
e(
|
|
18
26
|
"arcgis-portal-classification-favorite",
|
|
19
27
|
{}
|
|
@@ -25,7 +33,7 @@ const r = /* @__PURE__ */ c(i, t), n = /* @__PURE__ */ r(
|
|
|
25
33
|
onArcgisAttributeValueChange: "arcgisAttributeValueChange"
|
|
26
34
|
}
|
|
27
35
|
)
|
|
28
|
-
),
|
|
36
|
+
), C = /* @__PURE__ */ r(
|
|
29
37
|
e(
|
|
30
38
|
"arcgis-portal-extent-picker",
|
|
31
39
|
{
|
|
@@ -44,14 +52,30 @@ const r = /* @__PURE__ */ c(i, t), n = /* @__PURE__ */ r(
|
|
|
44
52
|
onArcgisFieldsDeleted: "arcgisFieldsDeleted"
|
|
45
53
|
}
|
|
46
54
|
)
|
|
47
|
-
),
|
|
55
|
+
), P = /* @__PURE__ */ r(
|
|
56
|
+
e(
|
|
57
|
+
"arcgis-portal-mentionable-text-area",
|
|
58
|
+
{
|
|
59
|
+
onArcgisMentionableSelectedIndexChange: "arcgisMentionableSelectedIndexChange",
|
|
60
|
+
onArcgisMentionableTextAreaChange: "arcgisMentionableTextAreaChange",
|
|
61
|
+
onArcgisMentionableTextAreaKeyDown: "arcgisMentionableTextAreaKeyDown",
|
|
62
|
+
onArcgisUserMentionableTextAreaChange: "arcgisUserMentionableTextAreaChange",
|
|
63
|
+
onArcgisUserMentionableTextAreaKeyDown: "arcgisUserMentionableTextAreaKeyDown"
|
|
64
|
+
}
|
|
65
|
+
)
|
|
66
|
+
), x = /* @__PURE__ */ r(
|
|
48
67
|
e(
|
|
49
68
|
"arcgis-portal-replacement-item-redirect",
|
|
50
69
|
{
|
|
51
70
|
onArcgisPortalReplacementItemFetch: "arcgisPortalReplacementItemFetch"
|
|
52
71
|
}
|
|
53
72
|
)
|
|
54
|
-
),
|
|
73
|
+
), f = /* @__PURE__ */ r(
|
|
74
|
+
e(
|
|
75
|
+
"arcgis-user-avatar",
|
|
76
|
+
{}
|
|
77
|
+
)
|
|
78
|
+
), I = /* @__PURE__ */ r(
|
|
55
79
|
e(
|
|
56
80
|
"arcgis-portal-voice-input",
|
|
57
81
|
{
|
|
@@ -64,12 +88,15 @@ const r = /* @__PURE__ */ c(i, t), n = /* @__PURE__ */ r(
|
|
|
64
88
|
)
|
|
65
89
|
);
|
|
66
90
|
export {
|
|
67
|
-
|
|
68
|
-
g as
|
|
69
|
-
l as
|
|
91
|
+
s as ArcgisPortalAiAssistant,
|
|
92
|
+
g as ArcgisPortalClassificationBanner,
|
|
93
|
+
l as ArcgisPortalClassificationConfig,
|
|
94
|
+
A as ArcgisPortalClassificationFavorite,
|
|
70
95
|
p as ArcgisPortalClassificationFormElement,
|
|
71
|
-
|
|
96
|
+
C as ArcgisPortalExtentPicker,
|
|
72
97
|
m as ArcgisPortalFieldDelete,
|
|
73
|
-
|
|
74
|
-
|
|
98
|
+
P as ArcgisPortalMentionableTextArea,
|
|
99
|
+
x as ArcgisPortalReplacementItemRedirect,
|
|
100
|
+
I as ArcgisPortalVoiceInput,
|
|
101
|
+
f as ArcgisUserAvatar
|
|
75
102
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/portal-components-react",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.55",
|
|
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/lumina": "5.1.0-next.
|
|
36
|
-
"@arcgis/portal-components": "5.1.0-next.
|
|
35
|
+
"@arcgis/lumina": "5.1.0-next.55",
|
|
36
|
+
"@arcgis/portal-components": "5.1.0-next.55"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@arcgis/core": "^5.1.0-next",
|