@arcgis/coding-components-react 4.32.0-next.9 → 4.32.0-next.90
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 +15 -12
- package/dist/components.js +13 -27
- package/package.json +2 -2
package/dist/components.d.ts
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
/// <reference types="@arcgis/coding-components" />
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onarcgisValueChange: EventName<CustomEvent<string>>;
|
|
9
|
+
export declare const ArcgisCodeEditor: import("@lit/react").ReactWebComponent<HTMLArcgisCodeEditorElement & {
|
|
10
|
+
class?: string;
|
|
11
|
+
}, {
|
|
12
|
+
onArcgisSelectionChange: EventName<HTMLArcgisCodeEditorElement["arcgisSelectionChange"]>;
|
|
13
|
+
onArcgisValueChange: EventName<HTMLArcgisCodeEditorElement["arcgisValueChange"]>;
|
|
13
14
|
}>;
|
|
14
|
-
export declare const ArcgisSqlExpressionEditor: import("@lit/react").ReactWebComponent<HTMLArcgisSqlExpressionEditorElement
|
|
15
|
-
|
|
15
|
+
export declare const ArcgisSqlExpressionEditor: import("@lit/react").ReactWebComponent<HTMLArcgisSqlExpressionEditorElement & {
|
|
16
|
+
class?: string;
|
|
17
|
+
}, {
|
|
18
|
+
onArcgisScriptChange: EventName<HTMLArcgisSqlExpressionEditorElement["arcgisScriptChange"]>;
|
|
16
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.90",
|
|
4
4
|
"description": "A set of React components that wrap ArcGIS coding components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -29,7 +29,7 @@
|
|
|
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.90",
|
|
33
33
|
"tslib": "^2.7.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|