@arcgis/lumina-toolkit 5.2.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/LICENSE.md +19 -0
- package/README.md +12 -0
- package/dist/reEmitEvent.d.ts +3 -0
- package/dist/reEmitEvent.js +5 -0
- package/dist/store.d.ts +7 -0
- package/dist/store.js +7 -0
- package/dist/useAccessor.d.ts +25 -0
- package/dist/useAccessor.js +13 -0
- package/package.json +24 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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), 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
|
+
See use restrictions at https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf.
|
|
11
|
+
|
|
12
|
+
For additional information, contact:
|
|
13
|
+
Environmental Systems Research Institute, Inc.
|
|
14
|
+
Attn: Contracts and Legal Services Department
|
|
15
|
+
380 New York Street
|
|
16
|
+
Redlands, California, USA 92373
|
|
17
|
+
USA
|
|
18
|
+
|
|
19
|
+
email: legal@esri.com
|
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# ArcGIS Maps SDK for JavaScript - Lumina Toolkit
|
|
2
|
+
|
|
3
|
+
**No Esri Technical Support included.**
|
|
4
|
+
|
|
5
|
+
Package that is part of the [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript).
|
|
6
|
+
|
|
7
|
+
It is not intended to be used directly, but rather used as a dependency by other packages in the SDK.
|
|
8
|
+
|
|
9
|
+
## License
|
|
10
|
+
|
|
11
|
+
This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package, and at https://js.arcgis.com/5.2/LICENSE.txt.
|
|
12
|
+
For third party notices, see https://js.arcgis.com/5.2/third-party-notices.txt.
|
package/dist/store.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { createLegacyStore as createLegacyStoreAliased, createStore as createStoreAliased, ObservableMap as ObservableMapAliased } from "@arcgis/lumina/controllers/accessor";
|
|
2
|
+
|
|
3
|
+
export const createStore: typeof createStoreAliased;
|
|
4
|
+
|
|
5
|
+
export const createLegacyStore: typeof createLegacyStoreAliased;
|
|
6
|
+
|
|
7
|
+
export type ObservableMap<T> = ObservableMapAliased<T>;
|
package/dist/store.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type coreAccessor from "@arcgis/core/core/Accessor.js";
|
|
2
|
+
import type { LitElement } from "@arcgis/lumina";
|
|
3
|
+
import type { AccessorController as AccessorControllerAliased, getAccessorControllerBoundProperties as getAccessorControllerBoundPropertiesAliased, makeAccessorController as makeAccessorControllerAliased, makeBinderProxy as makeBinderProxyAliased, AccessorControllerRequires as AccessorControllerRequiresAliased } from "@arcgis/lumina/controllers/accessor";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @param createInstance
|
|
7
|
+
* @param options
|
|
8
|
+
*/
|
|
9
|
+
export function makeAccessorController<Props, Accessor extends InstanceType<typeof AccessorControllerAliased>["exports"], OmitProps extends string = never>(createInstance: ((props?: Props) => Accessor) | (new (props?: Props) => Accessor), options?: Parameters<typeof makeAccessorControllerAliased<Props, Accessor, OmitProps>>[1]): (component: AccessorControllerRequires<Props, Accessor, OmitProps>) => Accessor;
|
|
10
|
+
|
|
11
|
+
export const AccessorController: typeof AccessorControllerAliased;
|
|
12
|
+
|
|
13
|
+
export type AccessorController<Props, Accessor extends InstanceType<typeof AccessorControllerAliased>["exports"], ExtraRequires = Record<never, never>> = AccessorControllerAliased<Props, Accessor, ExtraRequires>;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @param instance
|
|
17
|
+
* @param component
|
|
18
|
+
*/
|
|
19
|
+
export function reCreateAccessor(instance: coreAccessor, component: LitElement): void;
|
|
20
|
+
|
|
21
|
+
export const makeBinderProxy: typeof makeBinderProxyAliased;
|
|
22
|
+
|
|
23
|
+
export const getAccessorControllerBoundProperties: typeof getAccessorControllerBoundPropertiesAliased;
|
|
24
|
+
|
|
25
|
+
export type AccessorControllerRequires<Props, Accessor extends InstanceType<typeof AccessorControllerAliased>["exports"], OmitProps extends string = never> = AccessorControllerRequiresAliased<Props, Accessor, OmitProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AccessorController as AccessorController$1, getAccessorControllerBoundProperties as getAccessorControllerBoundProperties$1, makeAccessorController as makeAccessorController$1, makeBinderProxy as makeBinderProxy$1, reCreateAccessor as reCreateAccessor$1 } from "@arcgis/lumina/controllers/accessor";
|
|
2
|
+
const makeAccessorController = makeAccessorController$1;
|
|
3
|
+
const AccessorController = AccessorController$1;
|
|
4
|
+
const reCreateAccessor = reCreateAccessor$1;
|
|
5
|
+
const makeBinderProxy = makeBinderProxy$1;
|
|
6
|
+
const getAccessorControllerBoundProperties = getAccessorControllerBoundProperties$1;
|
|
7
|
+
export {
|
|
8
|
+
AccessorController,
|
|
9
|
+
getAccessorControllerBoundProperties,
|
|
10
|
+
makeAccessorController,
|
|
11
|
+
makeBinderProxy,
|
|
12
|
+
reCreateAccessor
|
|
13
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@arcgis/lumina-toolkit",
|
|
3
|
+
"version": "5.2.0-next.120",
|
|
4
|
+
"description": "Higher level utilities on top of @arcgis/lumina",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
"./reEmitEvent": "./dist/reEmitEvent.js",
|
|
9
|
+
"./store": "./dist/store.js",
|
|
10
|
+
"./useAccessor": "./dist/useAccessor.js",
|
|
11
|
+
"./package.json": "./package.json"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/"
|
|
15
|
+
],
|
|
16
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"tslib": "^2.8.1"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@arcgis/core": "5.2.0-next.120",
|
|
22
|
+
"@arcgis/lumina": "5.2.0-next.120"
|
|
23
|
+
}
|
|
24
|
+
}
|