@pantograph/vue 0.10.4 → 0.10.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/ActionButton/index.js.js +1 -1
- package/dist/ActionButton/index.umd.cjs.js +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-XYkQJLWE.js → ActionButton.vue_vue_type_script_setup_true_lang-48AXc54q.js} +2 -2
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-DZY7N5gS.js → ActionButton.vue_vue_type_script_setup_true_lang-B3fz9VlS.js} +1 -1
- package/dist/Avatar/index.js.js +1 -1
- package/dist/Avatar/index.umd.cjs.js +1 -1
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-B3h6--NG.js → Avatar.vue_vue_type_style_index_0_lang-BtPvBDpf.js} +2 -2
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-B62H7K8P.js → Avatar.vue_vue_type_style_index_0_lang-Dno8MmtN.js} +1 -1
- package/dist/AvatarGroup/index.js.js +1 -1
- package/dist/AvatarGroup/index.umd.cjs.js +1 -1
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/Badge/index.js.js +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-BY-B21u1.js → Badge.vue_vue_type_script_setup_true_lang-CQlVTtz6.js} +2 -2
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BaxHfiNY.js → BaseBadge.vue_vue_type_style_index_0_lang-CKBk5zhg.js} +2 -2
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-C0nSQYiX.js → BaseButton.vue_vue_type_style_index_0_lang-CoUA_gDr.js} +30 -30
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-D0Qoa28N.js +1 -0
- package/dist/Button/index.js.js +1 -1
- package/dist/Button/index.umd.cjs.js +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-ZXQe6Slx.js → Button.vue_vue_type_script_setup_true_lang-CYNr2NyY.js} +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-C49On28W.js → Button.vue_vue_type_script_setup_true_lang-CobnwnGT.js} +2 -2
- package/dist/Checkbox/Checkbox.d.ts +3 -3
- package/dist/Checkbox/index.js.js +1 -1
- package/dist/Checkbox/index.umd.cjs.js +1 -1
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-Bphv5qnx.js → Checkbox.vue_vue_type_style_index_0_lang-DfpxRngn.js} +69 -67
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-pWUK1jtk.js +1 -0
- package/dist/CheckboxGroup/index.js.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs.js +1 -1
- package/dist/ColorPicker/index.js.js +1 -1
- package/dist/ColorPicker/index.umd.cjs.js +1 -1
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-LYEiXGuI.js → ColorPicker.vue_vue_type_style_index_0_lang-BNdf9ydf.js} +1 -1
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-nriGmBdP.js → ColorPicker.vue_vue_type_style_index_0_lang-CMZ6my8r.js} +2 -2
- package/dist/ColorSwatch/index.js.js +1 -1
- package/dist/ColorSwatch/index.umd.cjs.js +1 -1
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-Tu5jN_qs.js → ColorSwatch.vue_vue_type_style_index_0_lang-DWbErEeg.js} +1 -1
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-DMzq203l.js → ColorSwatch.vue_vue_type_style_index_0_lang-DmWOViyT.js} +3 -3
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -3
- package/dist/ColorSwatchGroup/index.js.js +1 -1
- package/dist/ColorSwatchGroup/index.umd.cjs.js +1 -1
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-CRyynAiW.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-Bqsu2-Pi.js} +6 -6
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-BxWt-Zbz.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-CfrcyIa2.js} +1 -1
- package/dist/ColorTrigger/index.js.js +1 -1
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-m13EP8UW.js → ColorTrigger.vue_vue_type_style_index_0_lang-DdGYFQWx.js} +2 -2
- package/dist/Divider/Divider.d.ts +1 -1
- package/dist/Empty/Empty.d.ts +38 -0
- package/dist/Empty/Empty.model.d.ts +2 -0
- package/dist/Empty/index.d.ts +1 -0
- package/dist/Empty/index.js.js +1 -0
- package/dist/Empty/index.umd.cjs.js +1 -0
- package/dist/FloatButton/index.js.js +1 -1
- package/dist/FloatButton/index.umd.cjs.js +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-Vfrxg8PK.js → FloatButton.vue_vue_type_script_setup_true_lang-BZreRcZ1.js} +2 -2
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-sfslt2vn.js → FloatButton.vue_vue_type_script_setup_true_lang-io7at7GI.js} +1 -1
- package/dist/GraphicalObject/GraphicalObject.d.ts +1 -1
- package/dist/GraphicalObject/index.js.js +1 -1
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-D9DyDBKQ.js → GraphicalObject.vue_vue_type_script_setup_true_lang-D0vD57ET.js} +2 -2
- package/dist/IconButton/index.js.js +1 -1
- package/dist/IconButton/index.umd.cjs.js +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-B_9aypIC.js → IconButton.vue_vue_type_script_setup_true_lang-CWqrQ22L.js} +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-5W7GQOhv.js → IconButton.vue_vue_type_script_setup_true_lang-CruPwQ16.js} +2 -2
- package/dist/IndentLevel/IndentLevel.d.ts +1 -1
- package/dist/IndentLevel/index.js.js +1 -1
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-C4bSKGaz.js → IndentLevel.vue_vue_type_style_index_0_lang-Bgt84fW2.js} +1 -1
- package/dist/Indicator/Indicator.d.ts +1 -1
- package/dist/Indicator/index.js.js +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-DYFKQ-dL.js → Indicator.vue_vue_type_script_setup_true_lang-DX6wYSsL.js} +5 -5
- package/dist/Input/index.js.js +1 -1
- package/dist/Input/index.umd.cjs.js +1 -1
- package/dist/Input.vue_vue_type_style_index_0_lang-Bg1yMzU-.js +1 -0
- package/dist/Input.vue_vue_type_style_index_0_lang-CfRRpkAQ.js +269 -0
- package/dist/Menu/Menu.d.ts +41 -4
- package/dist/Menu/index.js.js +1 -1
- package/dist/Menu/index.umd.cjs.js +1 -1
- package/dist/Menu.vue_vue_type_style_index_0_lang-1iiTY68f.js +1 -0
- package/dist/{Menu.vue_vue_type_style_index_0_lang-Dcu2gyxm.js → Menu.vue_vue_type_style_index_0_lang-CJAZruBS.js} +146 -145
- package/dist/MenuItem/MenuItem.d.ts +20 -3
- package/dist/MenuItem/MenuItemContent.d.ts +7 -7
- package/dist/MenuItem/index.js.js +1 -1
- package/dist/MenuItem/index.umd.cjs.js +1 -1
- package/dist/Popover/Popover.d.ts +8 -6
- package/dist/Popover/index.js.js +1 -1
- package/dist/Popover/index.umd.cjs.js +1 -1
- package/dist/Popover.vue_vue_type_style_index_0_lang-BmWYJg2M.js +154 -0
- package/dist/Popover.vue_vue_type_style_index_0_lang-C7q9V9tc.js +1 -0
- package/dist/RadioGroup/index.js.js +1 -1
- package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-DTcXCTZt.js → RadioGroup.vue_vue_type_script_setup_true_lang-Dmj1c8T_.js} +1 -1
- package/dist/Switch/index.js.js +1 -1
- package/dist/{Switch.vue_vue_type_style_index_0_lang-Diz2BK9E.js → Switch.vue_vue_type_style_index_0_lang-KnEeVf_H.js} +1 -1
- package/dist/Table/Table.d.ts +67 -0
- package/dist/Table/Table.model.d.ts +57 -0
- package/dist/Table/index.d.ts +2 -0
- package/dist/Table/index.js.js +2650 -0
- package/dist/Table/index.umd.cjs.js +22 -0
- package/dist/Table/useColumn.d.ts +15 -0
- package/dist/Table/useColumnWrap.d.ts +12 -0
- package/dist/Tree/Tree.d.ts +3 -3
- package/dist/Tree/index.js.js +1 -1
- package/dist/Tree/index.umd.cjs.js +1 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-BZVa19t5.js +499 -0
- package/dist/Tree.vue_vue_type_style_index_0_lang-CDS7qhkC.js +1 -0
- package/dist/_baseIsEqual-BTV64KSy.js +144 -0
- package/dist/_baseIsEqual-DP4HkppL.js +1 -0
- package/dist/{_flatRest-Cgl-JzmZ.js → _flatRest-BzXqWlYG.js} +15 -15
- package/dist/{cloneDeep-C3qTbnbj.js → cloneDeep-D-sgVuxc.js} +1 -1
- package/dist/{get-B_rtzkiJ.js → get-CFKlew5d.js} +1 -1
- package/dist/index.js.js +21 -21
- package/dist/index.umd.cjs.js +1 -1
- package/dist/{omit-gDFhewvU.js → omit-Beooz3Dl.js} +26 -26
- package/dist/{pick-D8bMooY6.js → pick-Bwh_EsUP.js} +1 -1
- package/dist/style/index.css +1 -1
- package/dist/uniq-Bfg4Hn1q.js +56 -0
- package/dist/uniq-ChIEzCZe.js +1 -0
- package/package.json +12 -2
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-dcMigyCt.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-BPQsppLy.js +0 -1
- package/dist/Input.vue_vue_type_style_index_0_lang-BCS_of9l.js +0 -406
- package/dist/Input.vue_vue_type_style_index_0_lang-HdWdXVjL.js +0 -1
- package/dist/Menu.vue_vue_type_style_index_0_lang-zgFo-Qhe.js +0 -1
- package/dist/Popover.vue_vue_type_style_index_0_lang-CCfVt5eZ.js +0 -142
- package/dist/Popover.vue_vue_type_style_index_0_lang-DyKW40kh.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-ChV5Fqjc.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-CoTI1i5g.js +0 -545
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as H, useSlots as Z, computed as i, createElementBlock as y, openBlock as u, normalizeClass as b, unref as r, createCommentVNode as $, renderSlot as f, normalizeProps as D, guardReactiveProps as
|
|
1
|
+
import { defineComponent as H, useSlots as Z, computed as i, createElementBlock as y, openBlock as u, normalizeClass as b, unref as r, createCommentVNode as $, renderSlot as f, normalizeProps as D, guardReactiveProps as A, createTextVNode as F, toDisplayString as V, createBlock as N, withCtx as P, mergeProps as I, ref as E, getCurrentInstance as re, resolveComponent as oe, createVNode as ie, createSlots as U, renderList as w, Fragment as _, watch as X, withModifiers as ue } from "vue";
|
|
2
2
|
import { g as J, a as O, b as h } from "./class-DziTeW9B.js";
|
|
3
3
|
import { cva as x } from "class-variance-authority";
|
|
4
4
|
import { g as Q } from "./options-JBqnVZUl.js";
|
|
5
|
-
import { _ as
|
|
6
|
-
import { c as
|
|
7
|
-
import {
|
|
5
|
+
import { _ as ce } from "./Popover.vue_vue_type_style_index_0_lang-BmWYJg2M.js";
|
|
6
|
+
import { c as R } from "./cloneDeep-D-sgVuxc.js";
|
|
7
|
+
import { o as de, m as pe, n as ge, g as me, l as ye, p as fe, q as ve } from "./_flatRest-BzXqWlYG.js";
|
|
8
8
|
import { a as Ce } from "./isArray-CdbPONHA.js";
|
|
9
9
|
import { i as be } from "./isNumber-BopDesuz.js";
|
|
10
10
|
import { a as he } from "./index-iTlmMf0U.js";
|
|
11
11
|
import { createContext as ee } from "radix-vue";
|
|
12
12
|
import { _ as ke } from "./Icon.vue_vue_type_style_index_0_lang-BVVc15Aa.js";
|
|
13
|
-
import { o as Me } from "./omit-
|
|
13
|
+
import { o as Me } from "./omit-Beooz3Dl.js";
|
|
14
14
|
import { u as ze } from "./useId-DvOSMFGX.js";
|
|
15
15
|
import { U as Se } from "./useInputDataStates-CZbdWpyp.js";
|
|
16
|
-
const se = ["sm", "md", "lg"], Be = ["tabindex"],
|
|
16
|
+
const se = ["sm", "md", "lg"], Be = ["tabindex"], d = J("menu_item"), Y = /* @__PURE__ */ H({
|
|
17
17
|
...Q("MenuItemContent"),
|
|
18
18
|
__name: "MenuItemContent",
|
|
19
19
|
props: {
|
|
@@ -39,19 +39,19 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
39
39
|
hasChildren: { type: Boolean }
|
|
40
40
|
},
|
|
41
41
|
setup(o) {
|
|
42
|
-
const s = o,
|
|
42
|
+
const s = o, t = Z(), m = x(d, {
|
|
43
43
|
variants: {
|
|
44
|
-
size: O(se,
|
|
45
|
-
selected: O("selected",
|
|
46
|
-
unFocusable: O("un-focusable",
|
|
47
|
-
danger: O("danger",
|
|
48
|
-
disabled: O("disabled",
|
|
49
|
-
hoverTrailing: O("hover-trailing",
|
|
50
|
-
description: O("description",
|
|
51
|
-
leadingCenter: O("leading-center",
|
|
44
|
+
size: O(se, d),
|
|
45
|
+
selected: O("selected", d),
|
|
46
|
+
unFocusable: O("un-focusable", d),
|
|
47
|
+
danger: O("danger", d),
|
|
48
|
+
disabled: O("disabled", d),
|
|
49
|
+
hoverTrailing: O("hover-trailing", d),
|
|
50
|
+
description: O("description", d),
|
|
51
|
+
leadingCenter: O("leading-center", d)
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
54
|
-
const
|
|
53
|
+
}), c = i(() => {
|
|
54
|
+
const l = () => {
|
|
55
55
|
switch (s.size) {
|
|
56
56
|
case "sm":
|
|
57
57
|
return "2xsm";
|
|
@@ -65,7 +65,7 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
65
65
|
default:
|
|
66
66
|
return "sm";
|
|
67
67
|
}
|
|
68
|
-
},
|
|
68
|
+
}, j = () => {
|
|
69
69
|
switch (s.size) {
|
|
70
70
|
case "sm":
|
|
71
71
|
return "2xsm";
|
|
@@ -85,80 +85,80 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
return {
|
|
88
|
-
iconSize:
|
|
88
|
+
iconSize: l(),
|
|
89
89
|
buttonSize: k(),
|
|
90
|
-
checkIconSize:
|
|
91
|
-
switchSize:
|
|
92
|
-
checkboxSize:
|
|
90
|
+
checkIconSize: j(),
|
|
91
|
+
switchSize: j(),
|
|
92
|
+
checkboxSize: l(),
|
|
93
93
|
avatarSize: S(),
|
|
94
94
|
graphicalObjectSize: S(),
|
|
95
95
|
badgeSize: S(),
|
|
96
96
|
...s
|
|
97
97
|
};
|
|
98
98
|
});
|
|
99
|
-
return (
|
|
99
|
+
return (l, k) => (u(), y("div", {
|
|
100
100
|
role: "menuitem",
|
|
101
|
-
tabindex:
|
|
101
|
+
tabindex: l.unFocusable ? void 0 : 0,
|
|
102
102
|
class: b([
|
|
103
103
|
r(m)({
|
|
104
|
-
size:
|
|
105
|
-
selected:
|
|
106
|
-
unFocusable:
|
|
107
|
-
danger:
|
|
108
|
-
disabled:
|
|
109
|
-
hoverTrailing:
|
|
110
|
-
leadingCenter:
|
|
111
|
-
description: !!(
|
|
104
|
+
size: l.size,
|
|
105
|
+
selected: l.selected,
|
|
106
|
+
unFocusable: l.unFocusable,
|
|
107
|
+
danger: l.danger,
|
|
108
|
+
disabled: l.disabled,
|
|
109
|
+
hoverTrailing: l.hoverTrailing,
|
|
110
|
+
leadingCenter: l.leadingCenter,
|
|
111
|
+
description: !!(t.description || s.description)
|
|
112
112
|
}),
|
|
113
113
|
s.class
|
|
114
114
|
])
|
|
115
115
|
}, [
|
|
116
|
-
|
|
116
|
+
t.leading || s.leading ? (u(), y("div", {
|
|
117
117
|
key: 0,
|
|
118
|
-
class: b([r(h)(r(
|
|
118
|
+
class: b([r(h)(r(d), "leading"), l.leadingCls])
|
|
119
119
|
}, [
|
|
120
|
-
f(
|
|
121
|
-
F(V(
|
|
120
|
+
f(l.$slots, "leading", D(A(c.value)), () => [
|
|
121
|
+
F(V(l.leading), 1)
|
|
122
122
|
])
|
|
123
123
|
], 2)) : $("", !0),
|
|
124
|
-
|
|
124
|
+
t.title || s.title || t.description || s.description ? (u(), y("div", {
|
|
125
125
|
key: 1,
|
|
126
|
-
class: b([r(h)(r(
|
|
126
|
+
class: b([r(h)(r(d), "content"), l.contentCls])
|
|
127
127
|
}, [
|
|
128
|
-
|
|
128
|
+
t.title || s.title ? (u(), y("div", {
|
|
129
129
|
key: 0,
|
|
130
|
-
class: b([r(h)(r(
|
|
130
|
+
class: b([r(h)(r(d), "title"), l.titleCls])
|
|
131
131
|
}, [
|
|
132
|
-
f(
|
|
133
|
-
F(V(
|
|
132
|
+
f(l.$slots, "title", D(A(s)), () => [
|
|
133
|
+
F(V(l.title), 1)
|
|
134
134
|
])
|
|
135
135
|
], 2)) : $("", !0),
|
|
136
|
-
|
|
136
|
+
t.description || s.description ? (u(), y("div", {
|
|
137
137
|
key: 1,
|
|
138
|
-
class: b([r(h)(r(
|
|
138
|
+
class: b([r(h)(r(d), "description"), l.descriptionCls])
|
|
139
139
|
}, [
|
|
140
|
-
f(
|
|
141
|
-
F(V(
|
|
140
|
+
f(l.$slots, "description", D(A(s)), () => [
|
|
141
|
+
F(V(l.description), 1)
|
|
142
142
|
])
|
|
143
143
|
], 2)) : $("", !0)
|
|
144
144
|
], 2)) : $("", !0),
|
|
145
|
-
|
|
145
|
+
l.hasChildren || t.trailing || s.trailing ? (u(), y("div", {
|
|
146
146
|
key: 2,
|
|
147
|
-
class: b([r(h)(r(
|
|
147
|
+
class: b([r(h)(r(d), "trailing"), l.trailingCls])
|
|
148
148
|
}, [
|
|
149
|
-
|
|
149
|
+
l.hasChildren ? (u(), N(ke, {
|
|
150
150
|
key: 0,
|
|
151
151
|
"flip-on-dir": "rtl",
|
|
152
|
-
size:
|
|
153
|
-
icon:
|
|
154
|
-
class: b([r(h)(r(
|
|
152
|
+
size: c.value.checkIconSize,
|
|
153
|
+
icon: l.branchIcon,
|
|
154
|
+
class: b([r(h)(r(d), "branch"), l.branchCls ?? ""])
|
|
155
155
|
}, {
|
|
156
|
-
default:
|
|
157
|
-
f(
|
|
156
|
+
default: P(() => [
|
|
157
|
+
f(l.$slots, "branchIcon", D(A(c.value)))
|
|
158
158
|
]),
|
|
159
159
|
_: 3
|
|
160
|
-
}, 8, ["size", "icon", "class"])) : f(
|
|
161
|
-
F(V(
|
|
160
|
+
}, 8, ["size", "icon", "class"])) : f(l.$slots, "trailing", D(I({ key: 1 }, c.value)), () => [
|
|
161
|
+
F(V(l.trailing), 1)
|
|
162
162
|
])
|
|
163
163
|
], 2)) : $("", !0)
|
|
164
164
|
], 10, Be));
|
|
@@ -195,7 +195,7 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
195
195
|
branchIcon: { default: "tabler:chevron-right" }
|
|
196
196
|
},
|
|
197
197
|
setup(o) {
|
|
198
|
-
const s = o,
|
|
198
|
+
const s = o, t = Z(), m = i(() => {
|
|
199
199
|
switch (s.size) {
|
|
200
200
|
case "lg":
|
|
201
201
|
return 10;
|
|
@@ -204,37 +204,37 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
204
204
|
default:
|
|
205
205
|
return 6;
|
|
206
206
|
}
|
|
207
|
-
}),
|
|
208
|
-
var
|
|
209
|
-
return !!((
|
|
210
|
-
}),
|
|
211
|
-
var
|
|
212
|
-
return s.triggerSubMenuAction ?? ((
|
|
213
|
-
}),
|
|
207
|
+
}), c = i(() => {
|
|
208
|
+
var a;
|
|
209
|
+
return !!((a = s.items) != null && a.length || t.items);
|
|
210
|
+
}), l = E(), k = i(() => {
|
|
211
|
+
var a;
|
|
212
|
+
return s.triggerSubMenuAction ?? ((a = n.triggerSubMenuAction) == null ? void 0 : a.value);
|
|
213
|
+
}), j = (a) => {
|
|
214
214
|
var M;
|
|
215
|
-
(k.value === "click" || (M = e.value) != null && M.length) && (
|
|
216
|
-
}, S = J("sub_menu"), n = Ve(),
|
|
217
|
-
var
|
|
218
|
-
return ((
|
|
215
|
+
(k.value === "click" || (M = e.value) != null && M.length) && (a.stopPropagation(), a.preventDefault());
|
|
216
|
+
}, S = J("sub_menu"), n = Ve(), T = i(() => {
|
|
217
|
+
var a;
|
|
218
|
+
return ((a = re()) == null ? void 0 : a.vnode.key) ?? ze(d);
|
|
219
219
|
}), L = Ke({}), e = i(() => {
|
|
220
|
-
var
|
|
221
|
-
return ((
|
|
220
|
+
var a;
|
|
221
|
+
return ((a = L.parentKeys) == null ? void 0 : a.value) ?? [];
|
|
222
222
|
});
|
|
223
223
|
Oe({
|
|
224
|
-
parentKeys: i(() => [...e.value,
|
|
224
|
+
parentKeys: i(() => [...e.value, T.value])
|
|
225
225
|
});
|
|
226
226
|
const v = i(() => ({
|
|
227
227
|
...s,
|
|
228
|
-
key:
|
|
229
|
-
hasChildren:
|
|
228
|
+
key: T.value,
|
|
229
|
+
hasChildren: c.value,
|
|
230
230
|
parentKeys: e.value
|
|
231
231
|
})), p = i(() => {
|
|
232
|
-
var
|
|
233
|
-
return ((
|
|
234
|
-
}), C = () => !
|
|
232
|
+
var a;
|
|
233
|
+
return ((a = n.size) == null ? void 0 : a.value) ?? s.size;
|
|
234
|
+
}), C = () => !c.value && s.disabled, { rootBindings: B, inputBindings: q } = Se({
|
|
235
235
|
getDisabled: C
|
|
236
236
|
}), W = i(() => {
|
|
237
|
-
var
|
|
237
|
+
var a, M, z;
|
|
238
238
|
return {
|
|
239
239
|
...Me(
|
|
240
240
|
s,
|
|
@@ -246,37 +246,37 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
246
246
|
"items"
|
|
247
247
|
),
|
|
248
248
|
size: p.value,
|
|
249
|
-
selected: ((
|
|
249
|
+
selected: ((a = n.isItemSelected) == null ? void 0 : a.call(n, v.value)) ?? s.selected,
|
|
250
250
|
unFocusable: n.onClick ? void 0 : s.unFocusable,
|
|
251
251
|
disabled: C(),
|
|
252
252
|
hoverTrailing: s.hoverTrailing ?? ((M = n.hoverTrailing) == null ? void 0 : M.value),
|
|
253
253
|
leadingCenter: s.leadingCenter ?? ((z = n.leadingCenter) == null ? void 0 : z.value),
|
|
254
|
-
hasChildren:
|
|
254
|
+
hasChildren: c.value,
|
|
255
255
|
onClick: (g) => {
|
|
256
256
|
var K;
|
|
257
257
|
return (K = n.onClick) == null ? void 0 : K.call(n, v.value, g);
|
|
258
258
|
},
|
|
259
|
-
...
|
|
259
|
+
...q.value
|
|
260
260
|
};
|
|
261
|
-
}),
|
|
262
|
-
var
|
|
263
|
-
return ((
|
|
264
|
-
}), te = (
|
|
261
|
+
}), G = E(!1), ne = i(() => {
|
|
262
|
+
var a;
|
|
263
|
+
return ((a = n.isOpen) == null ? void 0 : a.call(n, T.value)) ?? G.value;
|
|
264
|
+
}), te = (a) => {
|
|
265
265
|
var z, g;
|
|
266
|
-
(((z = n.isOpen) == null ? void 0 : z.call(n,
|
|
267
|
-
},
|
|
268
|
-
var
|
|
269
|
-
return
|
|
266
|
+
(((z = n.isOpen) == null ? void 0 : z.call(n, T.value)) ?? G.value) !== a && (n.onChildrenOpenChange ? (g = n.onChildrenOpenChange) == null || g.call(n, v.value, a) : G.value = a);
|
|
267
|
+
}, ae = i(() => {
|
|
268
|
+
var a, M, z, g;
|
|
269
|
+
return c.value ? {
|
|
270
270
|
size: p.value,
|
|
271
271
|
containerProps: {
|
|
272
|
-
onClick:
|
|
272
|
+
onClick: j
|
|
273
273
|
},
|
|
274
|
-
to:
|
|
274
|
+
to: l,
|
|
275
275
|
reversePlacementOnDir: "rtl",
|
|
276
276
|
placement: "right-start",
|
|
277
277
|
containerCls: [
|
|
278
278
|
h(S, "items"),
|
|
279
|
-
(
|
|
279
|
+
(a = n.submenuCls) == null ? void 0 : a.value,
|
|
280
280
|
s.submenuCls
|
|
281
281
|
],
|
|
282
282
|
sideOffset: m.value,
|
|
@@ -287,35 +287,35 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
287
287
|
open: ne.value
|
|
288
288
|
} : {};
|
|
289
289
|
});
|
|
290
|
-
return (
|
|
290
|
+
return (a, M) => {
|
|
291
291
|
const z = oe("MenuItem", !0);
|
|
292
|
-
return
|
|
293
|
-
content:
|
|
294
|
-
f(
|
|
295
|
-
(u(!0), y(_, null, w(
|
|
296
|
-
w(Object.keys(t
|
|
292
|
+
return c.value ? (u(), N(ce, I({ key: 0 }, ae.value, { "onUpdate:open": te }), {
|
|
293
|
+
content: P(() => [
|
|
294
|
+
f(a.$slots, "items", D(A({ ...s, key: T.value })), () => [
|
|
295
|
+
(u(!0), y(_, null, w(a.items, (g) => (u(), N(z, I({ ref_for: !0 }, g), U({ _: 2 }, [
|
|
296
|
+
w(Object.keys(t), (K) => ({
|
|
297
297
|
name: K,
|
|
298
|
-
fn:
|
|
299
|
-
f(
|
|
298
|
+
fn: P((le) => [
|
|
299
|
+
f(a.$slots, K, I({ ref_for: !0 }, le))
|
|
300
300
|
])
|
|
301
301
|
}))
|
|
302
302
|
]), 1040))), 256))
|
|
303
303
|
])
|
|
304
304
|
]),
|
|
305
|
-
default:
|
|
306
|
-
|
|
305
|
+
default: P(() => [
|
|
306
|
+
c.value ? (u(), y("div", I({
|
|
307
307
|
key: 0,
|
|
308
308
|
class: [r(S), s.submenuTriggerCls],
|
|
309
309
|
ref_key: "root",
|
|
310
|
-
ref:
|
|
310
|
+
ref: l
|
|
311
311
|
}, r(B)), [
|
|
312
312
|
ie(Y, I(W.value, {
|
|
313
313
|
class: r(h)(r(S), "trigger")
|
|
314
314
|
}), U({ _: 2 }, [
|
|
315
|
-
w(Object.keys(
|
|
315
|
+
w(Object.keys(t), (g) => ({
|
|
316
316
|
name: g,
|
|
317
|
-
fn:
|
|
318
|
-
f(
|
|
317
|
+
fn: P((K) => [
|
|
318
|
+
f(a.$slots, g, D(A(K)))
|
|
319
319
|
])
|
|
320
320
|
}))
|
|
321
321
|
]), 1040, ["class"])
|
|
@@ -323,10 +323,10 @@ const se = ["sm", "md", "lg"], Be = ["tabindex"], c = J("menu_item"), Y = /* @__
|
|
|
323
323
|
]),
|
|
324
324
|
_: 3
|
|
325
325
|
}, 16)) : (u(), N(Y, D(I({ key: 1 }, W.value)), U({ _: 2 }, [
|
|
326
|
-
w(Object.keys(t
|
|
326
|
+
w(Object.keys(t), (g) => ({
|
|
327
327
|
name: g,
|
|
328
|
-
fn:
|
|
329
|
-
f(
|
|
328
|
+
fn: P((K) => [
|
|
329
|
+
f(a.$slots, g, D(A({ ...K, key: T.value })))
|
|
330
330
|
])
|
|
331
331
|
}))
|
|
332
332
|
]), 1040));
|
|
@@ -337,15 +337,15 @@ var De = "[object Map]", Te = "[object Set]", Pe = Object.prototype, Ae = Pe.has
|
|
|
337
337
|
function je(o) {
|
|
338
338
|
if (o == null)
|
|
339
339
|
return !0;
|
|
340
|
-
if (
|
|
340
|
+
if (de(o) && (Ce(o) || typeof o == "string" || typeof o.splice == "function" || pe(o) || ge(o) || me(o)))
|
|
341
341
|
return !o.length;
|
|
342
342
|
var s = ye(o);
|
|
343
343
|
if (s == De || s == Te)
|
|
344
344
|
return !o.size;
|
|
345
345
|
if (fe(o))
|
|
346
346
|
return !ve(o).length;
|
|
347
|
-
for (var
|
|
348
|
-
if (Ae.call(o,
|
|
347
|
+
for (var t in o)
|
|
348
|
+
if (Ae.call(o, t))
|
|
349
349
|
return !1;
|
|
350
350
|
return !0;
|
|
351
351
|
}
|
|
@@ -380,73 +380,73 @@ const [we, Fe] = ee("Menu"), Ve = () => we({}), xe = /* @__PURE__ */ H({
|
|
|
380
380
|
"select"
|
|
381
381
|
],
|
|
382
382
|
setup(o, { emit: s }) {
|
|
383
|
-
const
|
|
383
|
+
const t = o, m = s, c = J("menu"), l = x(c, {
|
|
384
384
|
variants: {
|
|
385
|
-
gap: O($e,
|
|
385
|
+
gap: O($e, c)
|
|
386
386
|
}
|
|
387
|
-
}), k = E(
|
|
387
|
+
}), k = E(t.openKeys ?? []);
|
|
388
388
|
X(
|
|
389
|
-
() =>
|
|
389
|
+
() => t.openKeys,
|
|
390
390
|
() => {
|
|
391
|
-
k.value =
|
|
391
|
+
k.value = t.openKeys ?? [];
|
|
392
392
|
}
|
|
393
393
|
);
|
|
394
|
-
const
|
|
395
|
-
let p =
|
|
396
|
-
v ? p = [...e.parentKeys, e.key] : p = p.filter((C) => C !== e.key),
|
|
397
|
-
}, S = (e) => k.value.includes(e), n = E(
|
|
394
|
+
const j = (e, v) => {
|
|
395
|
+
let p = R(k.value);
|
|
396
|
+
v ? p = [...e.parentKeys, e.key] : p = p.filter((C) => C !== e.key), t.openKeys || (k.value = p), m("update:openKeys", p), m("openChange", p);
|
|
397
|
+
}, S = (e) => k.value.includes(e), n = E(t.selectedKeys ?? []);
|
|
398
398
|
X(
|
|
399
|
-
() =>
|
|
399
|
+
() => t.selectedKeys,
|
|
400
400
|
() => {
|
|
401
|
-
n.value =
|
|
401
|
+
n.value = t.selectedKeys ?? [];
|
|
402
402
|
}
|
|
403
403
|
);
|
|
404
|
-
const
|
|
404
|
+
const T = (e, v) => {
|
|
405
405
|
const p = ![void 0, null].includes(e.key) && (he(e.key) && !je(e.key) || be(e.key));
|
|
406
|
-
if (!e.danger && !e.disabled && p &&
|
|
407
|
-
if (
|
|
406
|
+
if (!e.danger && !e.disabled && p && t.selectable && !e.hasChildren) {
|
|
407
|
+
if (t.multiple)
|
|
408
408
|
if (n.value.indexOf(e.key) > -1) {
|
|
409
409
|
if (n.value.length > 1) {
|
|
410
|
-
const B =
|
|
411
|
-
|
|
410
|
+
const B = R(n.value).filter((q) => q !== e.key);
|
|
411
|
+
t.selectedKeys || (n.value = B), m("update:selectedKeys", B), m("deselect", { item: e, selectedKeys: n.value });
|
|
412
412
|
}
|
|
413
413
|
} else {
|
|
414
|
-
const B = [...
|
|
415
|
-
|
|
414
|
+
const B = [...R(n.value), e.key];
|
|
415
|
+
t.selectedKeys || (n.value = B), m("update:selectedKeys", B), m("select", { item: e, selectedKeys: n.value });
|
|
416
416
|
}
|
|
417
417
|
else {
|
|
418
418
|
const C = [e.key];
|
|
419
|
-
|
|
419
|
+
t.selectedKeys || (n.value = C), m("update:selectedKeys", C), m("select", { item: e, selectedKeys: n.value });
|
|
420
420
|
}
|
|
421
421
|
m("click", e, v);
|
|
422
422
|
}
|
|
423
423
|
}, L = (e) => !e.danger && !e.disabled && n.value.includes(e.key);
|
|
424
424
|
return Fe({
|
|
425
|
-
size: i(() =>
|
|
426
|
-
forceMountSubmenu: i(() =>
|
|
427
|
-
hoverTrailing: i(() =>
|
|
428
|
-
leadingCenter: i(() =>
|
|
429
|
-
subMenuCloseDelay: i(() =>
|
|
430
|
-
subMenuOpenDelay: i(() =>
|
|
431
|
-
triggerSubMenuAction: i(() =>
|
|
432
|
-
submenuCls: i(() =>
|
|
433
|
-
onClick:
|
|
425
|
+
size: i(() => t.size),
|
|
426
|
+
forceMountSubmenu: i(() => t.forceMountSubmenu),
|
|
427
|
+
hoverTrailing: i(() => t.hoverTrailing),
|
|
428
|
+
leadingCenter: i(() => t.leadingCenter),
|
|
429
|
+
subMenuCloseDelay: i(() => t.subMenuCloseDelay),
|
|
430
|
+
subMenuOpenDelay: i(() => t.subMenuOpenDelay),
|
|
431
|
+
triggerSubMenuAction: i(() => t.triggerSubMenuAction),
|
|
432
|
+
submenuCls: i(() => t.submenuCls),
|
|
433
|
+
onClick: T,
|
|
434
434
|
isItemSelected: L,
|
|
435
|
-
onChildrenOpenChange:
|
|
435
|
+
onChildrenOpenChange: j,
|
|
436
436
|
isOpen: S
|
|
437
437
|
}), (e, v) => (u(), y("div", {
|
|
438
|
-
class: b([r(
|
|
438
|
+
class: b([r(l)({ gap: e.gap ?? e.size }), t.class]),
|
|
439
439
|
onClick: v[1] || (v[1] = ue(() => {
|
|
440
440
|
}, ["stop"]))
|
|
441
441
|
}, [
|
|
442
442
|
e.$slots.header || e.header || e.$slots.headerActions ? (u(), y("div", {
|
|
443
443
|
key: 0,
|
|
444
|
-
class: b([r(h)(r(
|
|
444
|
+
class: b([r(h)(r(c), "header")]),
|
|
445
445
|
onClick: v[0] || (v[0] = (p) => m("headerClick", p))
|
|
446
446
|
}, [
|
|
447
447
|
e.$slots.header || e.header ? (u(), y("div", {
|
|
448
448
|
key: 0,
|
|
449
|
-
class: b([r(h)(r(
|
|
449
|
+
class: b([r(h)(r(c), "header__title")])
|
|
450
450
|
}, [
|
|
451
451
|
f(e.$slots, "header", {}, () => [
|
|
452
452
|
F(V(e.header), 1)
|
|
@@ -454,7 +454,7 @@ const [we, Fe] = ee("Menu"), Ve = () => we({}), xe = /* @__PURE__ */ H({
|
|
|
454
454
|
], 2)) : $("", !0),
|
|
455
455
|
e.$slots.headerActions ? (u(), y("div", {
|
|
456
456
|
key: 1,
|
|
457
|
-
class: b([r(h)(r(
|
|
457
|
+
class: b([r(h)(r(c), "header__actions")])
|
|
458
458
|
}, [
|
|
459
459
|
f(e.$slots, "headerActions")
|
|
460
460
|
], 2)) : $("", !0)
|
|
@@ -463,7 +463,7 @@ const [we, Fe] = ee("Menu"), Ve = () => we({}), xe = /* @__PURE__ */ H({
|
|
|
463
463
|
(u(!0), y(_, null, w(e.items, (p) => (u(), N(Ie, I({ ref_for: !0 }, p), U({ _: 2 }, [
|
|
464
464
|
w(Object.keys(e.$slots), (C) => ({
|
|
465
465
|
name: C,
|
|
466
|
-
fn:
|
|
466
|
+
fn: P((B) => [
|
|
467
467
|
f(e.$slots, C, I({ ref_for: !0 }, B))
|
|
468
468
|
])
|
|
469
469
|
}))
|
|
@@ -477,6 +477,7 @@ export {
|
|
|
477
477
|
xe as _,
|
|
478
478
|
Ie as a,
|
|
479
479
|
se as b,
|
|
480
|
+
je as c,
|
|
480
481
|
Ve as i,
|
|
481
482
|
Fe as p
|
|
482
483
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { MenuItemContentProps, MenuItemLeadingProps } from './MenuItemContent';
|
|
3
3
|
export interface MenuItemProps extends Omit<MenuItemContentProps, 'hasChildren'> {
|
|
4
4
|
subMenuCloseDelay?: number;
|
|
5
5
|
subMenuOpenDelay?: number;
|
|
@@ -11,8 +11,25 @@ export interface MenuItemProps extends Omit<MenuItemContentProps, 'hasChildren'>
|
|
|
11
11
|
key: string | number;
|
|
12
12
|
})[];
|
|
13
13
|
}
|
|
14
|
-
export interface MenuItemSlots
|
|
15
|
-
items?: (props: MenuItemProps
|
|
14
|
+
export interface MenuItemSlots {
|
|
15
|
+
items?: (props: MenuItemProps & {
|
|
16
|
+
key: string;
|
|
17
|
+
}) => never;
|
|
18
|
+
title?: (props: MenuItemContentProps & {
|
|
19
|
+
key: string;
|
|
20
|
+
}) => never;
|
|
21
|
+
description?: (props: MenuItemContentProps & {
|
|
22
|
+
key: string;
|
|
23
|
+
}) => never;
|
|
24
|
+
leading?: (props: MenuItemContentProps & MenuItemLeadingProps & {
|
|
25
|
+
key: string;
|
|
26
|
+
}) => never;
|
|
27
|
+
trailing?: (props: MenuItemContentProps & MenuItemLeadingProps & {
|
|
28
|
+
key: string;
|
|
29
|
+
}) => never;
|
|
30
|
+
branchIcon?: (props: MenuItemContentProps & MenuItemLeadingProps & {
|
|
31
|
+
key: string;
|
|
32
|
+
}) => never;
|
|
16
33
|
}
|
|
17
34
|
export interface Context {
|
|
18
35
|
parentKeys?: ComputedRef<(string | number)[]>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MenuItemSize } from './MenuItem.model';
|
|
2
2
|
import { Class } from '../types';
|
|
3
|
+
import { GraphicalObjectProps } from '../GraphicalObject';
|
|
3
4
|
import { AvatarSize } from '../Avatar/Avatar.model';
|
|
4
5
|
import { IconSize } from '../Icon/Icon.model';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { SwitchSize } from '../Switch';
|
|
6
|
+
import { CheckboxSize } from '../Checkbox/Checkbox.model';
|
|
7
|
+
import { SwitchSize } from '../Switch/Switch.model';
|
|
8
8
|
import { ButtonSize } from '../Base/BaseButton/BaseButton.model';
|
|
9
9
|
import { BadgeSize } from '../Base/BaseBadge/BaseBadge.model';
|
|
10
10
|
export interface MenuItemContentProps {
|
|
@@ -29,7 +29,7 @@ export interface MenuItemContentProps {
|
|
|
29
29
|
branchIcon?: string;
|
|
30
30
|
hasChildren?: boolean;
|
|
31
31
|
}
|
|
32
|
-
interface
|
|
32
|
+
export interface MenuItemLeadingProps {
|
|
33
33
|
iconSize?: IconSize;
|
|
34
34
|
avatarSize?: AvatarSize;
|
|
35
35
|
checkboxSize?: CheckboxSize;
|
|
@@ -42,9 +42,9 @@ interface LeadingProps {
|
|
|
42
42
|
export interface MenuItemContentSlots {
|
|
43
43
|
title?: (props: MenuItemContentProps) => never;
|
|
44
44
|
description?: (props: MenuItemContentProps) => never;
|
|
45
|
-
leading?: (props: MenuItemContentProps &
|
|
46
|
-
trailing?: (props: MenuItemContentProps &
|
|
47
|
-
branchIcon?: (props: MenuItemContentProps &
|
|
45
|
+
leading?: (props: MenuItemContentProps & MenuItemLeadingProps) => never;
|
|
46
|
+
trailing?: (props: MenuItemContentProps & MenuItemLeadingProps) => never;
|
|
47
|
+
branchIcon?: (props: MenuItemContentProps & MenuItemLeadingProps) => never;
|
|
48
48
|
}
|
|
49
49
|
export declare const MenuItemPrefix: string;
|
|
50
50
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<MenuItemContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MenuItemContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<MenuItemContentSlots> & MenuItemContentSlots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Menu.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Menu.vue_vue_type_style_index_0_lang-1iiTY68f.js");exports.MenuItem=e._sfc_main$1;exports.MenuItemSizes=e.MenuItemSizes;exports.default=e._sfc_main$1;
|
|
@@ -14,6 +14,8 @@ export interface PopoverProps extends HoverCardRootProps, Omit<PopoverPortalProp
|
|
|
14
14
|
placement?: PopoverPlacement;
|
|
15
15
|
to?: string | HTMLElement | getPopupContainer;
|
|
16
16
|
reversePlacementOnDir?: Direction;
|
|
17
|
+
autoFocusInside?: boolean;
|
|
18
|
+
zIndex?: number | string;
|
|
17
19
|
}
|
|
18
20
|
export interface PopoverSlots {
|
|
19
21
|
default?: () => never;
|
|
@@ -97,17 +99,17 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
97
99
|
declare const __VLS_component: import('vue').DefineComponent<PopoverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
98
100
|
"update:open": (value: boolean) => any;
|
|
99
101
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
100
|
-
pointerDownOutside: (event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/
|
|
101
|
-
focusOutside: (event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/
|
|
102
|
-
interactOutside: (event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/
|
|
102
|
+
pointerDownOutside: (event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).PointerDownOutsideEvent) => any;
|
|
103
|
+
focusOutside: (event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).FocusOutsideEvent) => any;
|
|
104
|
+
interactOutside: (event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).PointerDownOutsideEvent | import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).FocusOutsideEvent) => any;
|
|
103
105
|
openAutoFocus: (event: Event) => any;
|
|
104
106
|
closeAutoFocus: (event: Event) => any;
|
|
105
107
|
}, string, import('vue').PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
106
108
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
107
109
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
108
|
-
onPointerDownOutside?: ((event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/
|
|
109
|
-
onFocusOutside?: ((event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/
|
|
110
|
-
onInteractOutside?: ((event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/
|
|
110
|
+
onPointerDownOutside?: ((event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).PointerDownOutsideEvent) => any) | undefined;
|
|
111
|
+
onFocusOutside?: ((event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).FocusOutsideEvent) => any) | undefined;
|
|
112
|
+
onInteractOutside?: ((event: import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).PointerDownOutsideEvent | import('../../../../node_modules/radix-vue/dist/DismissableLayer/index.js', { with: { "resolution-mode": "import" } }).FocusOutsideEvent) => any) | undefined;
|
|
111
113
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
112
114
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
113
115
|
}>, {
|
package/dist/Popover/index.js.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Popover.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Popover.vue_vue_type_style_index_0_lang-C7q9V9tc.js");exports.Popover=e._sfc_main;exports.PopoverPlacements=e.PopoverPlacements;exports.PopoverSizes=e.PopoverSizes;exports.default=e._sfc_main;
|