lkt-menu 1.0.4 → 1.0.5

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/dist/build.d.ts CHANGED
@@ -1,3 +1,22 @@
1
+ declare class T {
2
+ constructor(t: any, s: any, v: any);
3
+ key: any;
4
+ href: any;
5
+ label: any;
6
+ icon: string;
7
+ isOpened: boolean;
8
+ isActive: boolean;
9
+ children: any[];
10
+ setChildren(t: any): this;
11
+ setOnClick(t: any): this;
12
+ onClick: any;
13
+ setIsActiveChecker(t: any): this;
14
+ isActiveChecker: any;
15
+ setIsActive(t?: boolean): this;
16
+ setLabel(t: any): this;
17
+ setIcon(t: any): this;
18
+ doClose(): void;
19
+ }
1
20
  declare function he(n: any, t: any, s: any): {
2
21
  key: any;
3
22
  href: any;
@@ -20,23 +39,4 @@ declare namespace ve {
20
39
  function install(n: any): void;
21
40
  }
22
41
  declare function me(n: any): boolean;
23
- declare class T {
24
- constructor(t: any, s: any, v: any);
25
- key: any;
26
- href: any;
27
- label: any;
28
- icon: string;
29
- isOpened: boolean;
30
- isActive: boolean;
31
- children: any[];
32
- setChildren(t: any): this;
33
- setOnClick(t: any): this;
34
- onClick: any;
35
- setIsActiveChecker(t: any): this;
36
- isActiveChecker: any;
37
- setIsActive(t?: boolean): this;
38
- setLabel(t: any): this;
39
- setIcon(t: any): this;
40
- doClose(): void;
41
- }
42
- export { he as createMenuEntry, ve as default, me as setMenuToggleSlot };
42
+ export { T as MenuEntry, he as createMenuEntry, ve as default, me as setMenuToggleSlot };
package/dist/build.js CHANGED
@@ -177,6 +177,7 @@ const Z = { class: "lkt-menu-entry-main" }, ee = { class: "lkt-entry-content" },
177
177
  }
178
178
  }, he = (n, t, s) => Q(new T(n, t, s)), me = (n) => (k.toggleSlot = n, !0);
179
179
  export {
180
+ T as MenuEntry,
180
181
  he as createMenuEntry,
181
182
  ve as default,
182
183
  me as setMenuToggleSlot
package/dist/index.d.ts CHANGED
@@ -5,3 +5,4 @@ declare const LktMenu: Plugin;
5
5
  export default LktMenu;
6
6
  export declare const createMenuEntry: (key: string, href: string, label: string) => MenuEntry;
7
7
  export declare const setMenuToggleSlot: (component: string | Component) => boolean;
8
+ export { MenuEntry };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkt-menu",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "lkt",