Skip to content

Commit 3b019c6

Browse files
committed
fixes
1 parent 1e58c7b commit 3b019c6

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

src/appShell.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export class AppShell extends BaseCustomWebComponentConstructorAppend {
273273
});
274274

275275
await this._setupServiceContainer();
276-
this._bindableObjectsBrowser.initialize(serviceContainer);
276+
this._bindableObjectsBrowser.initialize(serviceContainer, null, 'itemsView');
277277
//@ts-ignore
278278
this._propertyGrid.propertyGrid.propertyGroupHover = (group) => group.properties?.[0]?.styleDeclaration;
279279
this._propertyGrid.propertyGrid.propertyContextMenuProvider = (designItems, property) => {

src/services/CustomBindableObjectsService.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
import { IBindableObjectsService, IBindableObject, BindableObjectType } from "@node-projects/web-component-designer";
1+
import { IBindableObjectsService, IBindableObject, BindableObjectType, BindableObjectsTarget, InstanceServiceContainer } from "@node-projects/web-component-designer";
22

33
export class CustomBindableObjectsService implements IBindableObjectsService {
44

5+
hasObjectsForInstanceServiceContainer(instanceServiceContainer: InstanceServiceContainer, source: BindableObjectsTarget) {
6+
return true;
7+
}
8+
59
name = 'custom';
610

711
async getBindableObject(fullName: string): Promise<IBindableObject<void>> {

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757
/* Experimental Options */
5858
"experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
59+
"skipLibCheck": true,
5960
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
6061
"plugins": [
6162
{

0 commit comments

Comments
 (0)