@oicl/openbridge-webcomponents-react 2.0.0-next.170 → 2.0.0-next.172
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/ar/poi-layer/poi-layer.d.ts +8 -0
- package/ar/poi-layer/poi-layer.d.ts.map +1 -1
- package/ar/poi-layer/poi-layer.js +1 -0
- package/ar/poi-layer/poi-layer.js.map +1 -1
- package/ar/poi-layer-stack/poi-layer-stack.d.ts +10 -1
- package/ar/poi-layer-stack/poi-layer-stack.d.ts.map +1 -1
- package/ar/poi-layer-stack/poi-layer-stack.js +3 -1
- package/ar/poi-layer-stack/poi-layer-stack.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { EventName } from '@lit/react';
|
|
2
2
|
import { ObcPoiLayer as ObcPoiLayerElement } from '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';
|
|
3
|
+
import { Poi } from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
4
|
+
export type { Poi } from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
3
5
|
export declare const ObcPoiLayer: import("@lit/react").ReactWebComponent<ObcPoiLayerElement, {
|
|
4
6
|
onLayerResize: EventName<CustomEvent<{
|
|
5
7
|
height: number;
|
|
6
8
|
label: string;
|
|
7
9
|
}>>;
|
|
10
|
+
onGroupingChange: EventName<CustomEvent<{
|
|
11
|
+
clusters: Poi[][];
|
|
12
|
+
front: Poi[];
|
|
13
|
+
behind: Poi[];
|
|
14
|
+
pregrouped: Poi[];
|
|
15
|
+
}>>;
|
|
8
16
|
onLayerSelectionChanged: EventName<Event>;
|
|
9
17
|
}>;
|
|
10
18
|
//# sourceMappingURL=poi-layer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poi-layer.d.ts","sourceRoot":"","sources":["../../src/ar/poi-layer/poi-layer.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,+DAA+D,CAAC;
|
|
1
|
+
{"version":3,"file":"poi-layer.d.ts","sourceRoot":"","sources":["../../src/ar/poi-layer/poi-layer.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,+DAA+D,CAAC;AAChH,OAAO,EAAC,GAAG,EAAC,MAAM,mDAAmD,CAAC;AACtE,YAAY,EAAC,GAAG,EAAC,MAAM,mDAAmD,CAAC;AAI3E,eAAO,MAAM,WAAW;mBAMa,SAAS,CAAC,WAAW,CAAC;QAAC,MAAM,EAAC,MAAM,CAAC;QAAA,KAAK,EAAC,MAAM,CAAA;KAAC,CAAC,CAAC;sBAC9C,SAAS,CAAC,WAAW,CAAC;QAAC,QAAQ,EAAC,GAAG,EAAE,EAAE,CAAC;QAAA,KAAK,EAAC,GAAG,EAAE,CAAC;QAAA,MAAM,EAAC,GAAG,EAAE,CAAC;QAAA,UAAU,EAAC,GAAG,EAAE,CAAA;KAAC,CAAC,CAAC;6BACrE,SAAS,CAAC,KAAK,CAAC;EAEvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poi-layer.js","sourceRoot":"","sources":["../../src/ar/poi-layer/poi-layer.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,+DAA+D,CAAC;AAMhH,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC;IACzC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,eAAe;IACxB,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE;QAEN,aAAa,EAAE,cAAsE;QACrF,uBAAuB,EAAE,yBAA6C;KACvE;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcPoiLayer as ObcPoiLayerElement} from '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';\n
|
|
1
|
+
{"version":3,"file":"poi-layer.js","sourceRoot":"","sources":["../../src/ar/poi-layer/poi-layer.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,+DAA+D,CAAC;AAMhH,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC;IACzC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,eAAe;IACxB,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE;QAEN,aAAa,EAAE,cAAsE;QACrF,gBAAgB,EAAE,iBAAyG;QAC3H,uBAAuB,EAAE,yBAA6C;KACvE;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcPoiLayer as ObcPoiLayerElement} from '@oicl/openbridge-webcomponents/dist/ar/poi-layer/poi-layer.js';\n import {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';\n export type {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';\n \n\n \n export const ObcPoiLayer = createComponent({\n react: React,\n tagName: 'obc-poi-layer',\n elementClass: ObcPoiLayerElement,\n events: {\n \n onLayerResize: 'layer-resize' as EventName<CustomEvent<{height:number,label:string}>>,\n onGroupingChange: 'grouping-change' as EventName<CustomEvent<{clusters:Poi[][],front:Poi[],behind:Poi[],pregrouped:Poi[]}>>,\n onLayerSelectionChanged: 'layer-selection-changed' as EventName<Event>,\n }\n });\n \n "]}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import { EventName } from '@lit/react';
|
|
1
2
|
import { ObcPoiLayerStack as ObcPoiLayerStackElement } from '@oicl/openbridge-webcomponents/dist/ar/poi-layer-stack/poi-layer-stack.js';
|
|
2
|
-
|
|
3
|
+
import { Poi } from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
4
|
+
export type { Poi } from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';
|
|
5
|
+
export declare const ObcPoiLayerStack: import("@lit/react").ReactWebComponent<ObcPoiLayerStackElement, {
|
|
6
|
+
onSelectionChange: EventName<CustomEvent<{
|
|
7
|
+
selected: Poi[];
|
|
8
|
+
added: Poi | null;
|
|
9
|
+
removed: Poi | null;
|
|
10
|
+
}>>;
|
|
11
|
+
}>;
|
|
3
12
|
//# sourceMappingURL=poi-layer-stack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poi-layer-stack.d.ts","sourceRoot":"","sources":["../../src/ar/poi-layer-stack/poi-layer-stack.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"poi-layer-stack.d.ts","sourceRoot":"","sources":["../../src/ar/poi-layer-stack/poi-layer-stack.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,gBAAgB,IAAI,uBAAuB,EAAC,MAAM,2EAA2E,CAAC;AACtI,OAAO,EAAC,GAAG,EAAC,MAAM,mDAAmD,CAAC;AACtE,YAAY,EAAC,GAAG,EAAC,MAAM,mDAAmD,CAAC;AAI3E,eAAO,MAAM,gBAAgB;uBAMgB,SAAS,CAAC,WAAW,CAAC;QAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;QAAC,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC;QAAC,OAAO,EAAE,GAAG,GAAG,IAAI,CAAA;KAAC,CAAC,CAAC;EAE3H,CAAC"}
|
|
@@ -5,6 +5,8 @@ export const ObcPoiLayerStack = createComponent({
|
|
|
5
5
|
react: React,
|
|
6
6
|
tagName: 'obc-poi-layer-stack',
|
|
7
7
|
elementClass: ObcPoiLayerStackElement,
|
|
8
|
-
events: {
|
|
8
|
+
events: {
|
|
9
|
+
onSelectionChange: 'selection-change',
|
|
10
|
+
}
|
|
9
11
|
});
|
|
10
12
|
//# sourceMappingURL=poi-layer-stack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poi-layer-stack.js","sourceRoot":"","sources":["../../src/ar/poi-layer-stack/poi-layer-stack.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"poi-layer-stack.js","sourceRoot":"","sources":["../../src/ar/poi-layer-stack/poi-layer-stack.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,gBAAgB,IAAI,uBAAuB,EAAC,MAAM,2EAA2E,CAAC;AAMtI,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC;IAC9C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,uBAAuB;IACrC,MAAM,EAAE;QAEN,iBAAiB,EAAE,kBAAuG;KAC3H;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcPoiLayerStack as ObcPoiLayerStackElement} from '@oicl/openbridge-webcomponents/dist/ar/poi-layer-stack/poi-layer-stack.js';\n import {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';\n export type {Poi} from '@oicl/openbridge-webcomponents/dist/ar/poi/poi.js';\n \n\n \n export const ObcPoiLayerStack = createComponent({\n react: React,\n tagName: 'obc-poi-layer-stack',\n elementClass: ObcPoiLayerStackElement,\n events: {\n \n onSelectionChange: 'selection-change' as EventName<CustomEvent<{selected: Poi[]; added: Poi | null; removed: Poi | null}>>,\n }\n });\n \n "]}
|
package/package.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"build": "tsc",
|
|
6
6
|
"build:watch": "tsc --watch"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.0.0-next.
|
|
8
|
+
"version": "2.0.0-next.172",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
10
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.172",
|
|
11
11
|
"@lit/react": "^1.0.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|