@arcgis/coding-components-react 4.32.0-next.14 → 4.32.0-next.141
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 +1 -1
- package/README.md +1 -1
- package/dist/components.d.ts +14 -8
- package/dist/components.js +13 -27
- package/package.json +3 -2
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Samples for how to use this package are available on github in the [jsapi-resour
|
|
|
27
27
|
|
|
28
28
|
## License
|
|
29
29
|
|
|
30
|
-
COPYRIGHT ©
|
|
30
|
+
COPYRIGHT © 2025 Esri
|
|
31
31
|
|
|
32
32
|
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
|
|
33
33
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
/// <reference types="@arcgis/coding-components" preserve="true" />
|
|
2
2
|
import type { EventName } from "@lit/react";
|
|
3
|
-
export declare const ArcgisArcadeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisArcadeEditorElement
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export declare const ArcgisArcadeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisArcadeEditorElement & {
|
|
4
|
+
class?: string;
|
|
5
|
+
}, {
|
|
6
|
+
onArcgisDiagnosticsChange: EventName<HTMLArcgisArcadeEditorElement["arcgisDiagnosticsChange"]>;
|
|
7
|
+
onArcgisScriptChange: EventName<HTMLArcgisArcadeEditorElement["arcgisScriptChange"]>;
|
|
6
8
|
}>;
|
|
7
|
-
export declare const ArcgisCodeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisCodeEditorElement
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
export declare const ArcgisCodeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisCodeEditorElement & {
|
|
10
|
+
class?: string;
|
|
11
|
+
}, {
|
|
12
|
+
onArcgisSelectionChange: EventName<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
|
|
13
|
+
onArcgisValueChange: EventName<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
|
|
10
14
|
}>;
|
|
11
|
-
export declare const ArcgisSqlExpressionEditor: import("@lit/react").ReactWebComponent<HTMLArcgisSqlExpressionEditorElement
|
|
12
|
-
|
|
15
|
+
export declare const ArcgisSqlExpressionEditor: import("@lit/react").ReactWebComponent<HTMLArcgisSqlExpressionEditorElement & {
|
|
16
|
+
class?: string;
|
|
17
|
+
}, {
|
|
18
|
+
onArcgisScriptChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
|
|
13
19
|
}>;
|
package/dist/components.js
CHANGED
|
@@ -1,30 +1,16 @@
|
|
|
1
1
|
/// <reference types="@arcgis/coding-components" preserve="true" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { createComponent } from "@lit/react";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
});
|
|
14
|
-
export const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
elementClass: createPrototypeProxy("arcgis-code-editor"),
|
|
18
|
-
events: {
|
|
19
|
-
onarcgisSelectionChange: "arcgisSelectionChange",
|
|
20
|
-
onarcgisValueChange: "arcgisValueChange",
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
export const ArcgisSqlExpressionEditor = /*@__PURE__*/ createComponent({
|
|
24
|
-
react: React,
|
|
25
|
-
tagName: "arcgis-sql-expression-editor",
|
|
26
|
-
elementClass: createPrototypeProxy("arcgis-sql-expression-editor"),
|
|
27
|
-
events: {
|
|
28
|
-
onarcgisScriptChange: "arcgisScriptChange",
|
|
29
|
-
},
|
|
30
|
-
});
|
|
4
|
+
import { makeReactWrapperFactory, getReactWrapperOptions } from "@arcgis/lumina";
|
|
5
|
+
const createWrapper = /*@__PURE__*/ makeReactWrapperFactory(React, createComponent);
|
|
6
|
+
export const ArcgisArcadeEditor = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-arcade-editor", {
|
|
7
|
+
onArcgisDiagnosticsChange: "arcgisDiagnosticsChange",
|
|
8
|
+
onArcgisScriptChange: "arcgisScriptChange",
|
|
9
|
+
}));
|
|
10
|
+
export const ArcgisCodeEditor = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-code-editor", {
|
|
11
|
+
onArcgisSelectionChange: "arcgisSelectionChange",
|
|
12
|
+
onArcgisValueChange: "arcgisValueChange",
|
|
13
|
+
}));
|
|
14
|
+
export const ArcgisSqlExpressionEditor = /*@__PURE__*/ createWrapper(getReactWrapperOptions("arcgis-sql-expression-editor", {
|
|
15
|
+
onArcgisScriptChange: "arcgisScriptChange",
|
|
16
|
+
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/coding-components-react",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.141",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS coding components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "SEE LICENSE.md",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@arcgis/coding-components": "4.32.0-next.
|
|
32
|
+
"@arcgis/coding-components": "4.32.0-next.141",
|
|
33
|
+
"@lit/react": "^1.0.5",
|
|
33
34
|
"tslib": "^2.7.0"
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|