@arcgis/lumina 4.32.0-next.42 → 4.32.0-next.44
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/index.js +6 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ function useContextConsumer(options) {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// src/createEvent.ts
|
|
25
|
-
import { retrieveComponent as retrieveComponent2,
|
|
25
|
+
import { retrieveComponent as retrieveComponent2, keyTrackResolve, trackKey } from "@arcgis/components-controllers";
|
|
26
26
|
import { isEsriInternalEnv } from "@arcgis/components-utils";
|
|
27
27
|
var createEventFactory = (eventName = "", options = {}, component = retrieveComponent2()) => {
|
|
28
28
|
const emitter = {
|
|
@@ -50,13 +50,13 @@ var createEventFactory = (eventName = "", options = {}, component = retrieveComp
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
if (eventName === "") {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
(
|
|
56
|
-
if (typeof process === "object" && process.env.NODE_ENV !== "production" && isEsriInternalEnv() &&
|
|
53
|
+
trackKey(
|
|
54
|
+
void 0,
|
|
55
|
+
(resolution) => {
|
|
56
|
+
if (typeof process === "object" && process.env.NODE_ENV !== "production" && isEsriInternalEnv() && resolution === void 0) {
|
|
57
57
|
throw new Error(`createEvent must be called in property default value only`);
|
|
58
58
|
}
|
|
59
|
-
eventName = key;
|
|
59
|
+
eventName = resolution.key;
|
|
60
60
|
},
|
|
61
61
|
emitter
|
|
62
62
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
],
|
|
21
21
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
|
24
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
23
|
+
"@arcgis/components-controllers": "4.32.0-next.44",
|
|
24
|
+
"@arcgis/components-utils": "4.32.0-next.44",
|
|
25
25
|
"@lit-labs/ssr": "^3.2.2",
|
|
26
26
|
"@lit-labs/ssr-client": "^1.1.7",
|
|
27
27
|
"@lit/context": "^1.1.3",
|