@node-projects/web-component-designer-widgets-wunderbaum 0.1.29 → 0.1.31
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseCustomWebComponentConstructorAppend, TypedEvent } from '@node-projects/base-custom-webcomponent';
|
|
2
2
|
import { IBindableObject, InstanceServiceContainer, ServiceContainer } from '@node-projects/web-component-designer';
|
|
3
|
+
import { BindableObjectsTarget } from '@node-projects/web-component-designer/src/elements/services/bindableObjectsService/BindableObjectsTarget.js';
|
|
3
4
|
export declare class BindableObjectsBrowser extends BaseCustomWebComponentConstructorAppend {
|
|
4
5
|
private _treeDiv;
|
|
5
6
|
private _tree;
|
|
@@ -9,5 +10,5 @@ export declare class BindableObjectsBrowser extends BaseCustomWebComponentConstr
|
|
|
9
10
|
static template: HTMLTemplateElement;
|
|
10
11
|
constructor();
|
|
11
12
|
private _instanceServiceContainer;
|
|
12
|
-
initialize(serviceContainer: ServiceContainer, instanceServiceContainer: InstanceServiceContainer): Promise<void>;
|
|
13
|
+
initialize(serviceContainer: ServiceContainer, instanceServiceContainer: InstanceServiceContainer, bindableObjectsTarget: BindableObjectsTarget): Promise<void>;
|
|
13
14
|
}
|
|
@@ -66,13 +66,13 @@ export class BindableObjectsBrowser extends BaseCustomWebComponentConstructorApp
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
_instanceServiceContainer;
|
|
69
|
-
async initialize(serviceContainer, instanceServiceContainer) {
|
|
69
|
+
async initialize(serviceContainer, instanceServiceContainer, bindableObjectsTarget) {
|
|
70
70
|
this._instanceServiceContainer = instanceServiceContainer;
|
|
71
71
|
let rootNode = this._tree.root;
|
|
72
72
|
rootNode.removeChildren();
|
|
73
73
|
const services = serviceContainer.bindableObjectsServices;
|
|
74
74
|
for (const s of services) {
|
|
75
|
-
if (!s.hasObjectsForInstanceServiceContainer(this._instanceServiceContainer))
|
|
75
|
+
if (!s.hasObjectsForInstanceServiceContainer(this._instanceServiceContainer, bindableObjectsTarget))
|
|
76
76
|
continue;
|
|
77
77
|
this._tree.root.addChildren({
|
|
78
78
|
title: s.name,
|
|
@@ -6,7 +6,7 @@ export declare class PaletteTreeView extends BaseCustomWebComponentConstructorAp
|
|
|
6
6
|
private _filter;
|
|
7
7
|
static readonly style: CSSStyleSheet;
|
|
8
8
|
static readonly template: HTMLTemplateElement;
|
|
9
|
-
|
|
9
|
+
serviceContainer: ServiceContainer;
|
|
10
10
|
constructor();
|
|
11
11
|
loadControls(serviceContainer: ServiceContainer, elementsServices: IElementsService[]): Promise<void>;
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": "web-component-designer addon: Widgets using wunderbaum",
|
|
3
3
|
"name": "@node-projects/web-component-designer-widgets-wunderbaum",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.31",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"author": "jochen.kuehner@gmx.de",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"prepublishOnly": "npm run build"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@node-projects/base-custom-webcomponent": ">=0.
|
|
17
|
-
"@node-projects/web-component-designer": ">=0.1.
|
|
16
|
+
"@node-projects/base-custom-webcomponent": ">=0.27.8",
|
|
17
|
+
"@node-projects/web-component-designer": ">=0.1.224",
|
|
18
18
|
"wunderbaum": ">=0.11.0"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|