@arcgis/portal-components-react 5.0.0-next.12 → 5.0.0-next.120
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 +19 -5
- package/dist/index.js +26 -15
- package/package.json +5 -5
package/dist/components.d.ts
CHANGED
|
@@ -1,24 +1,38 @@
|
|
|
1
1
|
/// <reference types="@arcgis/portal-components" preserve="true" />
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
|
|
3
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-banner /> directly. */
|
|
4
|
+
export declare const ArcgisPortalClassificationBanner: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-banner/customElement').ArcgisPortalClassificationBanner & {
|
|
4
5
|
class?: string;
|
|
5
6
|
}, {}>;
|
|
6
|
-
|
|
7
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-config /> directly. */
|
|
8
|
+
export declare const ArcgisPortalClassificationConfig: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-config/customElement').ArcgisPortalClassificationConfig & {
|
|
7
9
|
class?: string;
|
|
8
10
|
}, {
|
|
9
11
|
onArcgisPropertyChange: EventName<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
|
|
10
12
|
}>;
|
|
11
|
-
|
|
13
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-favorite /> directly. */
|
|
14
|
+
export declare const ArcgisPortalClassificationFavorite: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-favorite/customElement').ArcgisPortalClassificationFavorite & {
|
|
12
15
|
class?: string;
|
|
13
16
|
}, {}>;
|
|
14
|
-
|
|
17
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-classification-form-element /> directly. */
|
|
18
|
+
export declare const ArcgisPortalClassificationFormElement: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-classification-form-element/customElement').ArcgisPortalClassificationFormElement & {
|
|
15
19
|
class?: string;
|
|
16
20
|
}, {
|
|
17
21
|
onArcgisAttributeValueChange: EventName<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
|
|
18
22
|
}>;
|
|
19
|
-
|
|
23
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-extent-picker /> directly. */
|
|
24
|
+
export declare const ArcgisPortalExtentPicker: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-extent-picker/customElement').ArcgisPortalExtentPicker & {
|
|
20
25
|
class?: string;
|
|
21
26
|
}, {
|
|
27
|
+
onArcgisExtentPickerChange: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerChange"]>;
|
|
28
|
+
onArcgisExtentPickerClose: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerClose"]>;
|
|
29
|
+
onArcgisExtentPickerSave: EventName<HTMLArcgisPortalExtentPickerElement["arcgisExtentPickerSave"]>;
|
|
30
|
+
}>;
|
|
31
|
+
/** @deprecated since 5.0. React wrappers are not needed in React 19 or above. Use <arcgis-portal-field-delete /> directly. */
|
|
32
|
+
export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebComponent<import('@arcgis/portal-components/components/arcgis-portal-field-delete/customElement').ArcgisPortalFieldDelete & {
|
|
33
|
+
class?: string;
|
|
34
|
+
}, {
|
|
35
|
+
onArcgisBeforeDelete: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeDelete"]>;
|
|
22
36
|
onArcgisBeforeModalClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
|
|
23
37
|
onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
|
|
24
38
|
onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
|
package/dist/index.js
CHANGED
|
@@ -1,34 +1,44 @@
|
|
|
1
1
|
import i from "react";
|
|
2
|
-
import { createComponent as
|
|
3
|
-
import { makeReactWrapperFactory as
|
|
4
|
-
const
|
|
5
|
-
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { makeReactWrapperFactory as a, getReactWrapperOptions as e } from "@arcgis/lumina";
|
|
4
|
+
const r = /* @__PURE__ */ a(i, t), n = /* @__PURE__ */ r(
|
|
5
|
+
e(
|
|
6
6
|
"arcgis-portal-classification-banner",
|
|
7
7
|
{}
|
|
8
8
|
)
|
|
9
|
-
),
|
|
10
|
-
|
|
9
|
+
), l = /* @__PURE__ */ r(
|
|
10
|
+
e(
|
|
11
11
|
"arcgis-portal-classification-config",
|
|
12
12
|
{
|
|
13
13
|
onArcgisPropertyChange: "arcgisPropertyChange"
|
|
14
14
|
}
|
|
15
15
|
)
|
|
16
|
-
), g = /* @__PURE__ */
|
|
17
|
-
|
|
16
|
+
), g = /* @__PURE__ */ r(
|
|
17
|
+
e(
|
|
18
18
|
"arcgis-portal-classification-favorite",
|
|
19
19
|
{}
|
|
20
20
|
)
|
|
21
|
-
), p = /* @__PURE__ */
|
|
22
|
-
|
|
21
|
+
), p = /* @__PURE__ */ r(
|
|
22
|
+
e(
|
|
23
23
|
"arcgis-portal-classification-form-element",
|
|
24
24
|
{
|
|
25
25
|
onArcgisAttributeValueChange: "arcgisAttributeValueChange"
|
|
26
26
|
}
|
|
27
27
|
)
|
|
28
|
-
), f = /* @__PURE__ */
|
|
29
|
-
|
|
28
|
+
), f = /* @__PURE__ */ r(
|
|
29
|
+
e(
|
|
30
|
+
"arcgis-portal-extent-picker",
|
|
31
|
+
{
|
|
32
|
+
onArcgisExtentPickerChange: "arcgisExtentPickerChange",
|
|
33
|
+
onArcgisExtentPickerClose: "arcgisExtentPickerClose",
|
|
34
|
+
onArcgisExtentPickerSave: "arcgisExtentPickerSave"
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
), C = /* @__PURE__ */ r(
|
|
38
|
+
e(
|
|
30
39
|
"arcgis-portal-field-delete",
|
|
31
40
|
{
|
|
41
|
+
onArcgisBeforeDelete: "arcgisBeforeDelete",
|
|
32
42
|
onArcgisBeforeModalClose: "arcgisBeforeModalClose",
|
|
33
43
|
onArcgisClose: "arcgisClose",
|
|
34
44
|
onArcgisFieldsDeleted: "arcgisFieldsDeleted"
|
|
@@ -36,9 +46,10 @@ const a = /* @__PURE__ */ o(i, e), l = /* @__PURE__ */ a(
|
|
|
36
46
|
)
|
|
37
47
|
);
|
|
38
48
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
49
|
+
n as ArcgisPortalClassificationBanner,
|
|
50
|
+
l as ArcgisPortalClassificationConfig,
|
|
41
51
|
g as ArcgisPortalClassificationFavorite,
|
|
42
52
|
p as ArcgisPortalClassificationFormElement,
|
|
43
|
-
f as
|
|
53
|
+
f as ArcgisPortalExtentPicker,
|
|
54
|
+
C as ArcgisPortalFieldDelete
|
|
44
55
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/portal-components-react",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.120",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS portal components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "SEE LICENSE.md",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
33
|
-
"@arcgis/portal-components": "5.0.0-next.
|
|
34
|
-
"@lit/react": "^1.0.
|
|
32
|
+
"@arcgis/lumina": "5.0.0-next.120",
|
|
33
|
+
"@arcgis/portal-components": "5.0.0-next.120",
|
|
34
|
+
"@lit/react": "^1.0.8",
|
|
35
35
|
"lit": "^3.3.0",
|
|
36
36
|
"tslib": "^2.8.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@arcgis/core": ">=5.0.0-next.
|
|
39
|
+
"@arcgis/core": ">=5.0.0-next.62 <5.1",
|
|
40
40
|
"react": ">=18.0.0 <20.0.0",
|
|
41
41
|
"react-dom": ">=18.0.0 <20.0.0"
|
|
42
42
|
}
|