lkt-menu 2.0.4 → 2.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/README.md +0 -250
- package/dist/build.js +39 -41
- package/dist/components/MenuItem.vue.d.ts +26 -998
- package/dist/lib-components/LktMenu.vue.d.ts +10 -658
- package/package.json +2 -2
- package/src/components/MenuItem.vue +106 -107
package/README.md
CHANGED
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
# LKT Button
|
|
2
|
-
A simple button component for Vue.js 3.0.
|
|
3
|
-
|
|
4
|
-
## Installation
|
|
5
|
-
|
|
6
|
-
### With npm
|
|
7
|
-
|
|
8
|
-
```bash
|
|
9
|
-
npm i -S lkt-button
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
## Typical use:
|
|
13
|
-
In your main.js
|
|
14
|
-
```js
|
|
15
|
-
import LktButton from 'lkt-button';
|
|
16
|
-
|
|
17
|
-
app.use(LktButton);
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
App use options:
|
|
21
|
-
|
|
22
|
-
* `defaultState` string (default: undefined) => Set a default state for all buttons
|
|
23
|
-
|
|
24
|
-
In your component:
|
|
25
|
-
|
|
26
|
-
```html
|
|
27
|
-
<lkt-button v-on:click="doSomething" v-bind:disabled="disabledChecker"></lkt-button>
|
|
28
|
-
```
|
|
29
|
-
```js
|
|
30
|
-
export default {
|
|
31
|
-
methods: {
|
|
32
|
-
doSomething() {
|
|
33
|
-
console.log('May the force be with you');
|
|
34
|
-
},
|
|
35
|
-
disabledChecker() {
|
|
36
|
-
return false;
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Props
|
|
44
|
-
|
|
45
|
-
### type
|
|
46
|
-
Type: `String`<br>
|
|
47
|
-
Required: `false`<br>
|
|
48
|
-
Default: `button` <br>
|
|
49
|
-
Options: `button`, `submit`, `reset`
|
|
50
|
-
|
|
51
|
-
Determines which kind of button will be.
|
|
52
|
-
```html
|
|
53
|
-
<lkt-button type="submit"></lkt-button>
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### name
|
|
57
|
-
Type: `String`<br>
|
|
58
|
-
Required: `false`<br>
|
|
59
|
-
Default: `a random string is generated` <br>
|
|
60
|
-
|
|
61
|
-
An identifier emitted on click.
|
|
62
|
-
```html
|
|
63
|
-
<lkt-button name="sendMessage"></lkt-button>
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### value
|
|
67
|
-
Type: `String`<br>
|
|
68
|
-
Required: `false`<br>
|
|
69
|
-
Default: `'`
|
|
70
|
-
|
|
71
|
-
Set a value for form buttons. Emitted on click.
|
|
72
|
-
```html
|
|
73
|
-
<lkt-button v-bind:value="myButton"></lkt-button>
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### palette
|
|
77
|
-
Type: `String`<br>
|
|
78
|
-
Required: `false`<br>
|
|
79
|
-
Default: `''`
|
|
80
|
-
|
|
81
|
-
Appends a palette classname. It's useful for palette control and styling.
|
|
82
|
-
```html
|
|
83
|
-
<lkt-button palette="calculating"></lkt-button>
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
### disabled
|
|
87
|
-
Type: `Boolean`<br>
|
|
88
|
-
Required: `false`<br>
|
|
89
|
-
Default: `false`
|
|
90
|
-
|
|
91
|
-
Determines if button is disabled or not.
|
|
92
|
-
```html
|
|
93
|
-
<lkt-button disabled></lkt-button>
|
|
94
|
-
<lkt-button v-bind:disabled="disabledChecker"></lkt-button>
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### Events
|
|
99
|
-
|
|
100
|
-
* LktButton emits these events:
|
|
101
|
-
|
|
102
|
-
- `click`
|
|
103
|
-
|
|
104
|
-
HTML:
|
|
105
|
-
```HTML
|
|
106
|
-
<lkt-button v-on:click="doSomething"></lkt-button>
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### Slots
|
|
110
|
-
|
|
111
|
-
#### default slot
|
|
112
|
-
This slot allows you to fill the button with whatever you want.
|
|
113
|
-
|
|
114
|
-
```html
|
|
115
|
-
<lkt-button name="testButton" v-on:click="doSomething">
|
|
116
|
-
Click, me!
|
|
117
|
-
</lkt-button>
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
#### prev/next slot
|
|
121
|
-
These slots are designed to add something before/after the text, like an icon.
|
|
122
|
-
|
|
123
|
-
```html
|
|
124
|
-
<lkt-button name="testButton" v-on:click="doSomething">
|
|
125
|
-
Click, me!
|
|
126
|
-
<template v-slot:prev>
|
|
127
|
-
<i class="font-icon"></i>
|
|
128
|
-
</template>
|
|
129
|
-
<template v-slot:next>
|
|
130
|
-
<i class="font-icon2"></i>
|
|
131
|
-
</template>
|
|
132
|
-
</lkt-button>
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
#### prev-loading/next-loading slot
|
|
136
|
-
Same as prev/next but only appears if button is loading
|
|
137
|
-
|
|
138
|
-
```html
|
|
139
|
-
<lkt-button name="testButton" v-on:click="doSomething">
|
|
140
|
-
Click, me!
|
|
141
|
-
<template v-slot:prev-loading>
|
|
142
|
-
<i class="font-icon"></i>
|
|
143
|
-
</template>
|
|
144
|
-
<template v-slot:next-loading>
|
|
145
|
-
<i class="font-icon2"></i>
|
|
146
|
-
</template>
|
|
147
|
-
</lkt-button>
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
## Styling
|
|
151
|
-
|
|
152
|
-
### Style configuration
|
|
153
|
-
|
|
154
|
-
If you want to modify the default style without having to override styles in CSS, you can use the configurator like this:
|
|
155
|
-
|
|
156
|
-
```scss
|
|
157
|
-
@use "node_modules/lkt-button/lkt-button";
|
|
158
|
-
|
|
159
|
-
@include lkt-button.configure((border-width: 2px)); //opts list
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
#### Available style options
|
|
163
|
-
| Option | Default value |
|
|
164
|
-
|---------------|---------------------------------------|
|
|
165
|
-
| border-width | 1px |
|
|
166
|
-
| border-style | solid |
|
|
167
|
-
| border-color | #ddd |
|
|
168
|
-
| color | #333 |
|
|
169
|
-
| background | transparent |
|
|
170
|
-
| height | 35px |
|
|
171
|
-
| min-width | 150px |
|
|
172
|
-
| padding | 7px |
|
|
173
|
-
| slot-gap | 5px |
|
|
174
|
-
| font-weight | 300 |
|
|
175
|
-
| line-height | 1 |
|
|
176
|
-
| text-align | center |
|
|
177
|
-
| cursor | default |
|
|
178
|
-
| box-shadow | none |
|
|
179
|
-
| border-radius | lkt-theme.$primary-border-radius |
|
|
180
|
-
| transition | lkt-theme.$primary-transition |
|
|
181
|
-
| font-size | lkt-theme.$primary-button-font-size |
|
|
182
|
-
| font-family | lkt-theme.$primary-button-font-family |
|
|
183
|
-
|
|
184
|
-
### Style generation
|
|
185
|
-
|
|
186
|
-
The following example will show you how to generate styles.
|
|
187
|
-
|
|
188
|
-
```scss
|
|
189
|
-
@use "node_modules/lkt-button/lkt-button";
|
|
190
|
-
|
|
191
|
-
@include lkt-button.generate();
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
#### Theme modifiers
|
|
195
|
-
|
|
196
|
-
If ```lkt-theme``` is configured, the ```generate``` mixin also will generate some colored styles if colors were configured in ```lkt-theme```.
|
|
197
|
-
|
|
198
|
-
These modifiers will be the way:
|
|
199
|
-
|
|
200
|
-
lkt-button--<color>
|
|
201
|
-
lkt-button--<color>-dark
|
|
202
|
-
lkt-button--<color>-darker
|
|
203
|
-
lkt-button--<color>-light
|
|
204
|
-
lkt-button--<color>-lighter
|
|
205
|
-
|
|
206
|
-
For example, if you already set up info color and info color dark, it will generate the following modifiers:
|
|
207
|
-
|
|
208
|
-
lkt-button--info
|
|
209
|
-
lkt-button--info-dark
|
|
210
|
-
|
|
211
|
-
All ```lkt-theme``` colors can generate a modifier but disabled (which generates styles if button is disabled) and focus (which is not intended for this component).
|
|
212
|
-
|
|
213
|
-
Some example could be:
|
|
214
|
-
|
|
215
|
-
lkt-button--info
|
|
216
|
-
lkt-button--info-dark
|
|
217
|
-
lkt-button--info-darker
|
|
218
|
-
lkt-button--info-light
|
|
219
|
-
lkt-button--info-lighter
|
|
220
|
-
|
|
221
|
-
lkt-button--success
|
|
222
|
-
lkt-button--success-dark
|
|
223
|
-
lkt-button--success-darker
|
|
224
|
-
lkt-button--success-light
|
|
225
|
-
lkt-button--success-lighter
|
|
226
|
-
|
|
227
|
-
lkt-button--warning
|
|
228
|
-
lkt-button--warning-dark
|
|
229
|
-
lkt-button--warning-darker
|
|
230
|
-
lkt-button--warning-light
|
|
231
|
-
lkt-button--warning-lighter
|
|
232
|
-
|
|
233
|
-
#### Using CSS Selectors in HTML
|
|
234
|
-
```html
|
|
235
|
-
<lkt-button class="lkt-button--info">More info</lkt-button>
|
|
236
|
-
|
|
237
|
-
<lkt-button class="lkt-button--success-light">Confirm action</lkt-button>
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
#### The ```palette``` prop
|
|
241
|
-
You can apply ```lkt-theme``` modifiers with the palette prop this way:
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
```html
|
|
245
|
-
<lkt-button palette="info">More info</lkt-button>
|
|
246
|
-
|
|
247
|
-
<!-- Is the same as: -->
|
|
248
|
-
|
|
249
|
-
<lkt-button class="lkt-button--info">More info</lkt-button>
|
|
250
|
-
```
|
package/dist/build.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as G, ref as F, useSlots as H, computed as p, watch as R, onMounted as X, resolveComponent as K, createElementBlock as d, openBlock as
|
|
1
|
+
import { defineComponent as G, ref as F, useSlots as H, computed as p, watch as R, onMounted as X, resolveComponent as K, createElementBlock as d, openBlock as s, normalizeClass as O, createElementVNode as $, createCommentVNode as S, createBlock as g, unref as k, normalizeProps as q, mergeProps as L, createSlots as P, withCtx as f, renderSlot as h, toDisplayString as Y, resolveDynamicComponent as Z, Fragment as Q, renderList as j, mergeDefaults as x } from "vue";
|
|
2
2
|
import { MenuEntryType as z, getDefaultValues as ee, Menu as te } from "lkt-vue-kernel";
|
|
3
3
|
import { useRouter as le } from "vue-router";
|
|
4
4
|
import { DataState as ne } from "lkt-data-state";
|
|
5
5
|
import { httpCall as oe } from "lkt-http-client";
|
|
6
|
-
const W = (r, _) => (_.forEach((
|
|
7
|
-
|
|
6
|
+
const W = (r, _) => (_.forEach((a) => {
|
|
7
|
+
a.key && !r.includes(a.key) && r.push(a.key), a.children && a.children.length > 0 && W(r, a.children);
|
|
8
8
|
}), r), T = class T {
|
|
9
9
|
};
|
|
10
10
|
T.toggleSlot = "", T.debugEnabled = !1;
|
|
11
|
-
let
|
|
12
|
-
const ue = { class: "lkt-menu-entry-main" },
|
|
11
|
+
let b = T;
|
|
12
|
+
const ue = { class: "lkt-menu-entry-main" }, se = { class: "lkt-entry-content" }, ae = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "lkt-menu-entry-icon"
|
|
15
15
|
}, re = {
|
|
@@ -27,15 +27,13 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
27
27
|
"update:modelValue"
|
|
28
28
|
],
|
|
29
29
|
setup(r, { emit: _ }) {
|
|
30
|
-
const
|
|
30
|
+
const a = _, v = r, e = F(v.modelValue), i = H(), V = le(), y = F(!1), A = () => {
|
|
31
31
|
e.value.isOpened = !e.value.isOpened;
|
|
32
32
|
}, U = () => {
|
|
33
33
|
var t, o;
|
|
34
|
-
return typeof e.value.children < "u" && ((t = e.value.children) == null ? void 0 : t.length) > 0 && A(), typeof ((o = e.value.events) == null ? void 0 : o.click) == "function"
|
|
34
|
+
return typeof e.value.children < "u" && ((t = e.value.children) == null ? void 0 : t.length) > 0 && !e.value.keepOpenOnChildClick && A(), typeof ((o = e.value.events) == null ? void 0 : o.click) == "function" && e.value.events.click({
|
|
35
35
|
entry: e.value
|
|
36
|
-
}), 1
|
|
37
|
-
entry: e.value
|
|
38
|
-
}), 1);
|
|
36
|
+
}), 1;
|
|
39
37
|
}, D = p(() => i["icon-" + e.value.key] || e.value.icon !== ""), w = p(() => {
|
|
40
38
|
let t = [];
|
|
41
39
|
return D.value && t.push("has-icon"), y.value && t.push("is-active"), e.value.type && t.push(`is-${e.value.type}`), t.join(" ");
|
|
@@ -49,11 +47,11 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
49
47
|
return t;
|
|
50
48
|
}), n = p(() => e.value.isActive ? !0 : typeof e.value.isActiveChecker == "function" ? !!e.value.isActiveChecker({
|
|
51
49
|
entry: e.value
|
|
52
|
-
}) : !1), u = p(() => !!
|
|
50
|
+
}) : !1), u = p(() => !!b.toggleSlot), c = p(() => b.toggleSlot);
|
|
53
51
|
return R(() => v.modelValue, (t) => {
|
|
54
52
|
e.value = t;
|
|
55
53
|
}, { deep: !0 }), R(e, (t) => {
|
|
56
|
-
|
|
54
|
+
a("update:modelValue", t);
|
|
57
55
|
}, { deep: !0 }), X(() => {
|
|
58
56
|
var o, E, C;
|
|
59
57
|
let t = V == null ? void 0 : V.currentRoute;
|
|
@@ -71,11 +69,11 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
71
69
|
}), (t, o) => {
|
|
72
70
|
var B;
|
|
73
71
|
const E = K("lkt-button"), C = K("lkt-anchor"), I = K("menu-item", !0);
|
|
74
|
-
return
|
|
75
|
-
class:
|
|
72
|
+
return s(), d("div", {
|
|
73
|
+
class: O(["lkt-menu-entry", w.value])
|
|
76
74
|
}, [
|
|
77
|
-
|
|
78
|
-
e.value.type === k(z).Button ? (
|
|
75
|
+
$("div", ue, [
|
|
76
|
+
e.value.type === k(z).Button ? (s(), g(E, q(L({ key: 0 }, e.value.button)), P({ _: 2 }, [
|
|
79
77
|
k(i).tooltip ? {
|
|
80
78
|
name: "tooltip",
|
|
81
79
|
fn: f(() => [
|
|
@@ -90,45 +88,45 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
90
88
|
]),
|
|
91
89
|
key: "1"
|
|
92
90
|
} : void 0
|
|
93
|
-
]), 1040)) : e.value.type === k(z).Anchor ? (
|
|
91
|
+
]), 1040)) : e.value.type === k(z).Anchor ? (s(), g(C, q(L({ key: 1 }, e.value.anchor)), null, 16)) : (s(), g(C, L({ key: 2 }, e.value.anchor, {
|
|
94
92
|
"on-click": U,
|
|
95
93
|
"is-active": n.value,
|
|
96
94
|
onActive: o[0] || (o[0] = (m) => y.value = m)
|
|
97
95
|
}), {
|
|
98
96
|
text: f(({ text: m }) => [
|
|
99
|
-
|
|
100
|
-
D.value ? (
|
|
97
|
+
$("div", se, [
|
|
98
|
+
D.value ? (s(), d("div", ae, [
|
|
101
99
|
k(i)["icon-" + e.value.key] ? h(t.$slots, "icon-" + e.value.key, {
|
|
102
100
|
key: e.value.key,
|
|
103
101
|
entry: e.value
|
|
104
|
-
}) : e.value.icon !== "" ? (
|
|
102
|
+
}) : e.value.icon !== "" ? (s(), d("i", {
|
|
105
103
|
key: 1,
|
|
106
|
-
class:
|
|
104
|
+
class: O(e.value.icon)
|
|
107
105
|
}, null, 2)) : S("", !0)
|
|
108
106
|
])) : S("", !0),
|
|
109
|
-
m !== "" ? (
|
|
107
|
+
m !== "" ? (s(), d("div", re, Y(m), 1)) : S("", !0)
|
|
110
108
|
])
|
|
111
109
|
]),
|
|
112
110
|
_: 3
|
|
113
111
|
}, 16, ["is-active"])),
|
|
114
|
-
e.value.type !== k(z).Button && e.value.children && ((B = e.value.children) == null ? void 0 : B.length) > 0 ? (
|
|
112
|
+
e.value.type !== k(z).Button && e.value.children && ((B = e.value.children) == null ? void 0 : B.length) > 0 ? (s(), d("div", {
|
|
115
113
|
key: 3,
|
|
116
114
|
class: "lkt-menu-entry-toggle",
|
|
117
115
|
onClick: A
|
|
118
116
|
}, [
|
|
119
|
-
u.value ? (
|
|
117
|
+
u.value ? (s(), g(Z(c.value), {
|
|
120
118
|
key: 0,
|
|
121
|
-
class:
|
|
122
|
-
}, null, 8, ["class"])) : (
|
|
119
|
+
class: O(["lkt-menu-entry-toggle-inner", e.value.isOpened ? "is-opened" : ""])
|
|
120
|
+
}, null, 8, ["class"])) : (s(), d("div", {
|
|
123
121
|
key: 1,
|
|
124
|
-
class:
|
|
122
|
+
class: O(["lkt-menu-entry-toggle-inner", e.value.isOpened ? "is-opened" : ""])
|
|
125
123
|
}, o[1] || (o[1] = [
|
|
126
|
-
|
|
124
|
+
$("i", { class: "lkt-icn-angle-bottom" }, null, -1)
|
|
127
125
|
]), 2))
|
|
128
126
|
])) : S("", !0)
|
|
129
127
|
]),
|
|
130
|
-
e.value.isOpened ? (
|
|
131
|
-
(
|
|
128
|
+
e.value.isOpened ? (s(), d("div", ie, [
|
|
129
|
+
(s(!0), d(Q, null, j(e.value.children, (m, J) => (s(), g(I, {
|
|
132
130
|
modelValue: e.value.children[J],
|
|
133
131
|
"onUpdate:modelValue": (N) => e.value.children[J] = N,
|
|
134
132
|
key: e.value.children[J].key
|
|
@@ -160,7 +158,7 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
160
158
|
],
|
|
161
159
|
setup(r, { emit: _ }) {
|
|
162
160
|
var M;
|
|
163
|
-
const
|
|
161
|
+
const a = r, v = _, e = H(), i = F(a.modelValue), V = (l) => {
|
|
164
162
|
let n = {};
|
|
165
163
|
typeof l == "object" && Object.keys(l).length > 0 && (n = JSON.parse(JSON.stringify(l)));
|
|
166
164
|
for (let u in n)
|
|
@@ -168,7 +166,7 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
168
166
|
return n;
|
|
169
167
|
};
|
|
170
168
|
let y = new ne({});
|
|
171
|
-
y.increment(V(((M =
|
|
169
|
+
y.increment(V(((M = a.http) == null ? void 0 : M.data) ?? {}));
|
|
172
170
|
const A = p(() => W([], i.value)), U = p(() => {
|
|
173
171
|
let l = [];
|
|
174
172
|
for (let n in e)
|
|
@@ -176,9 +174,9 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
176
174
|
return l;
|
|
177
175
|
}), D = () => {
|
|
178
176
|
var n, u;
|
|
179
|
-
if (!((n =
|
|
177
|
+
if (!((n = a.http) != null && n.resource)) return;
|
|
180
178
|
let l = y.getData();
|
|
181
|
-
v("loading"), oe((u =
|
|
179
|
+
v("loading"), oe((u = a.http) == null ? void 0 : u.resource, l).then((c) => {
|
|
182
180
|
y.turnStoredIntoOriginal(), i.value = c.data, v("results", c.data), v("response", c);
|
|
183
181
|
}).catch((c) => {
|
|
184
182
|
v("error", c);
|
|
@@ -186,17 +184,17 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
186
184
|
}, w = () => {
|
|
187
185
|
v("click-outside");
|
|
188
186
|
};
|
|
189
|
-
return R(() =>
|
|
187
|
+
return R(() => a.modelValue, (l) => {
|
|
190
188
|
i.value = l;
|
|
191
189
|
}, { deep: !0 }), R(i, (l) => {
|
|
192
190
|
v("update:modelValue", l);
|
|
193
|
-
}, { deep: !0 }), D(), (l, n) => (
|
|
194
|
-
|
|
195
|
-
(
|
|
191
|
+
}, { deep: !0 }), D(), (l, n) => (s(), d("div", de, [
|
|
192
|
+
$("div", ve, [
|
|
193
|
+
(s(!0), d(Q, null, j(i.value, (u, c) => (s(), g(ce, {
|
|
196
194
|
modelValue: i.value[c],
|
|
197
195
|
"onUpdate:modelValue": (t) => i.value[c] = t,
|
|
198
196
|
key: u.key,
|
|
199
|
-
class:
|
|
197
|
+
class: O(u.class)
|
|
200
198
|
}, P({ _: 2 }, [
|
|
201
199
|
j(U.value, (t) => ({
|
|
202
200
|
name: t,
|
|
@@ -220,7 +218,7 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
220
218
|
} : void 0
|
|
221
219
|
]), 1032, ["modelValue", "onUpdate:modelValue", "class"]))), 128))
|
|
222
220
|
]),
|
|
223
|
-
|
|
221
|
+
$("div", {
|
|
224
222
|
class: "lkt-menu-outside",
|
|
225
223
|
onClick: w
|
|
226
224
|
})
|
|
@@ -230,7 +228,7 @@ const ue = { class: "lkt-menu-entry-main" }, ae = { class: "lkt-entry-content" }
|
|
|
230
228
|
install: (r) => {
|
|
231
229
|
r.component("lkt-menu") === void 0 && r.component("lkt-menu", pe);
|
|
232
230
|
}
|
|
233
|
-
}, _e = (r) => (
|
|
231
|
+
}, _e = (r) => (b.toggleSlot = r, !0);
|
|
234
232
|
export {
|
|
235
233
|
ge as default,
|
|
236
234
|
_e as setMenuToggleSlot
|