@node-projects/web-component-designer-widgets-wunderbaum 0.1.32 → 0.1.33

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,21 +1,3 @@
1
+ import { WunderbaumOptions } from "wb_options";
1
2
  export declare const defaultStyle: CSSStyleSheet;
2
- export declare const defaultOptions: {
3
- element: any;
4
- debugLevel: number;
5
- scrollIntoViewOnExpandClick: boolean;
6
- iconMap: {
7
- expanderCollapsed: string;
8
- expanderExpanded: string;
9
- folder: string;
10
- folderLazy: string;
11
- folderOpen: string;
12
- doc: string;
13
- };
14
- quicksearch: boolean;
15
- checkbox: boolean;
16
- source: any[];
17
- header: boolean;
18
- iconBadge: (e: any) => {
19
- badge: any;
20
- };
21
- };
3
+ export declare const defaultOptions: WunderbaumOptions;
@@ -21,6 +21,7 @@ export const defaultOptions = {
21
21
  element: null,
22
22
  debugLevel: 0,
23
23
  scrollIntoViewOnExpandClick: false,
24
+ //@ts-ignore
24
25
  iconMap: {
25
26
  expanderCollapsed: new URL("../../assets/images/expander.svg", import.meta.url).toString(),
26
27
  expanderExpanded: new URL("../../assets/images/expanderClose.svg", import.meta.url).toString(),
@@ -34,6 +35,7 @@ export const defaultOptions = {
34
35
  source: [],
35
36
  header: false,
36
37
  iconBadge: (e) => {
38
+ //@ts-ignore
37
39
  const node = e.node;
38
40
  if (node.expanded || !node.children || !node.children.length) {
39
41
  return null;
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.32",
4
+ "version": "0.1.33",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "@node-projects/base-custom-webcomponent": ">=0.27.8",
17
17
  "@node-projects/web-component-designer": ">=0.1.224",
18
- "wunderbaum": ">=0.11.0"
18
+ "wunderbaum": ">=0.13.0"
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",