@arcgis/portal-components-react 4.34.0-next.144

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/LICENSE.md ADDED
@@ -0,0 +1,17 @@
1
+ # Licensing
2
+
3
+ COPYRIGHT © Esri
4
+
5
+ All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
6
+
7
+ This material is licensed for use under the [Esri Master License Agreement (MLA)](https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf), and is bound by the terms of that agreement.
8
+ You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
9
+
10
+ For additional information, contact:
11
+ Environmental Systems Research Institute, Inc.
12
+ Attn: Contracts and Legal Services Department
13
+ 380 New York Street
14
+ Redlands, California, USA 92373
15
+ USA
16
+
17
+ email: legal@esri.com
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # ArcGIS Maps SDK for JavaScript - React 18 wrapper for Portal Components
2
+
3
+ > Note: `@arcgis/portal-components-react` was developed for use in React 18. Consider updating to React 19 where the React wrapper is no longer necessary.
4
+
5
+ **No Esri Technical Support included.**
6
+
7
+ Package that is part of the [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript).
8
+
9
+ It is not intended to be used directly, but rather used as a dependency by other packages in the SDK.
10
+
11
+ ## License
12
+
13
+ COPYRIGHT © Esri
14
+
15
+ This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package.
@@ -0,0 +1,25 @@
1
+ /// <reference types="@arcgis/portal-components" preserve="true" />
2
+ import { EventName } from '@lit/react';
3
+ export declare const ArcgisPortalClassificationBanner: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationBannerElement & {
4
+ class?: string;
5
+ }, {}>;
6
+ export declare const ArcgisPortalClassificationConfig: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationConfigElement & {
7
+ class?: string;
8
+ }, {
9
+ onArcgisPropertyChange: EventName<HTMLArcgisPortalClassificationConfigElement["arcgisPropertyChange"]>;
10
+ }>;
11
+ export declare const ArcgisPortalClassificationFavorite: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationFavoriteElement & {
12
+ class?: string;
13
+ }, {}>;
14
+ export declare const ArcgisPortalClassificationFormElement: import('@lit/react').ReactWebComponent<HTMLArcgisPortalClassificationFormElementElement & {
15
+ class?: string;
16
+ }, {
17
+ onArcgisAttributeValueChange: EventName<HTMLArcgisPortalClassificationFormElementElement["arcgisAttributeValueChange"]>;
18
+ }>;
19
+ export declare const ArcgisPortalFieldDelete: import('@lit/react').ReactWebComponent<HTMLArcgisPortalFieldDeleteElement & {
20
+ class?: string;
21
+ }, {
22
+ onArcgisBeforeModalClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisBeforeModalClose"]>;
23
+ onArcgisClose: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisClose"]>;
24
+ onArcgisFieldsDeleted: EventName<HTMLArcgisPortalFieldDeleteElement["arcgisFieldsDeleted"]>;
25
+ }>;
@@ -0,0 +1 @@
1
+ export * from './components';
package/dist/index.js ADDED
@@ -0,0 +1,44 @@
1
+ import i from "react";
2
+ import { createComponent as e } from "@lit/react";
3
+ import { makeReactWrapperFactory as o, getReactWrapperOptions as r } from "@arcgis/lumina";
4
+ const a = /* @__PURE__ */ o(i, e), l = /* @__PURE__ */ a(
5
+ r(
6
+ "arcgis-portal-classification-banner",
7
+ {}
8
+ )
9
+ ), n = /* @__PURE__ */ a(
10
+ r(
11
+ "arcgis-portal-classification-config",
12
+ {
13
+ onArcgisPropertyChange: "arcgisPropertyChange"
14
+ }
15
+ )
16
+ ), g = /* @__PURE__ */ a(
17
+ r(
18
+ "arcgis-portal-classification-favorite",
19
+ {}
20
+ )
21
+ ), p = /* @__PURE__ */ a(
22
+ r(
23
+ "arcgis-portal-classification-form-element",
24
+ {
25
+ onArcgisAttributeValueChange: "arcgisAttributeValueChange"
26
+ }
27
+ )
28
+ ), f = /* @__PURE__ */ a(
29
+ r(
30
+ "arcgis-portal-field-delete",
31
+ {
32
+ onArcgisBeforeModalClose: "arcgisBeforeModalClose",
33
+ onArcgisClose: "arcgisClose",
34
+ onArcgisFieldsDeleted: "arcgisFieldsDeleted"
35
+ }
36
+ )
37
+ );
38
+ export {
39
+ l as ArcgisPortalClassificationBanner,
40
+ n as ArcgisPortalClassificationConfig,
41
+ g as ArcgisPortalClassificationFavorite,
42
+ p as ArcgisPortalClassificationFormElement,
43
+ f as ArcgisPortalFieldDelete
44
+ };
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@arcgis/portal-components-react",
3
+ "version": "4.34.0-next.144",
4
+ "description": "A set of React components that wrap ArcGIS portal components",
5
+ "keywords": [
6
+ "ArcGIS",
7
+ "javascript",
8
+ "react",
9
+ "map",
10
+ "3D",
11
+ "2D",
12
+ "visualization",
13
+ "analytics",
14
+ "spatial",
15
+ "data-driven",
16
+ "gis",
17
+ "components",
18
+ "web-components",
19
+ "Esri"
20
+ ],
21
+ "homepage": "https://developers.arcgis.com/javascript/latest/",
22
+ "sideEffects": false,
23
+ "type": "module",
24
+ "main": "dist/index.js",
25
+ "module": "dist/index.js",
26
+ "types": "dist/index.d.ts",
27
+ "files": [
28
+ "dist/"
29
+ ],
30
+ "license": "SEE LICENSE.md",
31
+ "dependencies": {
32
+ "@arcgis/lumina": "4.34.0-next.144",
33
+ "@arcgis/portal-components": "4.34.0-next.144",
34
+ "@lit/react": "^1.0.7",
35
+ "lit": "^3.3.0",
36
+ "tslib": "^2.8.1"
37
+ },
38
+ "peerDependencies": {
39
+ "@arcgis/core": ">=4.34.0-next.43 <4.35",
40
+ "react": ">=18.0.0 <20.0.0",
41
+ "react-dom": ">=18.0.0 <20.0.0"
42
+ }
43
+ }