@pantograph/vue 0.32.3 → 0.32.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/Accordion/index.js +169 -190
- package/dist/Accordion/index.umd.cjs +1 -1
- package/dist/AlertDialog/AlertDialog.d.ts +234 -32
- package/dist/AlertDialog/ConfirmDialog.d.ts +30 -0
- package/dist/AlertDialog/_index.d.ts +1 -0
- package/dist/AlertDialog/useAlertDialog.d.ts +21 -0
- package/dist/ColorPicker/index.js +2 -2
- package/dist/ColorPicker/index.umd.cjs +1 -1
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-D9G-d0r6.js → ColorPicker.vue_vue_type_style_index_0_lang-BrT753B_.js} +1 -1
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-CQT-bHho.js → ColorPicker.vue_vue_type_style_index_0_lang-ngeRTae-.js} +1 -1
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +6 -0
- package/dist/ColorSwatchGroup/index.js +1 -1
- package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-B4PdDPjL.js +1 -0
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-awOxZml7.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-_pCAmZ53.js} +33 -30
- package/dist/Combobox/Combobox.d.ts +7 -4
- package/dist/Combobox/index.js +246 -240
- package/dist/Combobox/index.umd.cjs +1 -1
- package/dist/Combobox/types.d.ts +1 -1
- package/dist/Comment/CommentMention.d.ts +28 -14
- package/dist/Comment/index.js +31 -27
- package/dist/Comment/index.umd.cjs +1 -1
- package/dist/ConfigProvider/ConfigProvider.d.ts +1 -0
- package/dist/ConfigProvider/index.js +2 -1
- package/dist/ConfigProvider/index.umd.cjs +1 -1
- package/dist/ConfigProvider/utils.d.ts +3 -3
- package/dist/DataTable/DataTable.d.ts +1 -1
- package/dist/Dialog/Dialog.d.ts +885 -149
- package/dist/Dialog/index.js +206 -193
- package/dist/Dialog/index.umd.cjs +1 -1
- package/dist/Drawer/Drawer.d.ts +36 -12
- package/dist/Drawer/index.js +22 -19
- package/dist/Drawer/index.umd.cjs +1 -1
- package/dist/GOPicker/index.js +1 -1
- package/dist/GOPicker/index.umd.cjs +1 -1
- package/dist/HoverCard/HoverCard.d.ts +4 -2
- package/dist/HoverCard/index.d.ts +5 -1
- package/dist/HoverCard/index.js +54 -36
- package/dist/HoverCard/index.umd.cjs +1 -1
- package/dist/Image/Image.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +2 -2
- package/dist/Modal/Modal.d.ts +35 -12
- package/dist/Modal/index.js +19 -16
- package/dist/Modal/index.umd.cjs +1 -1
- package/dist/Popover/Popover.d.ts +7 -7
- package/dist/Popover/index.d.ts +3 -2
- package/dist/Popover/index.js +56 -38
- package/dist/Popover/index.umd.cjs +1 -1
- package/dist/Popover/type.d.ts +23 -4
- package/dist/Popover/utils.d.ts +6 -5
- package/dist/Progress/ProgressCirclePath.d.ts +1 -1
- package/dist/Select/Select.d.ts +3 -2
- package/dist/Select/index.d.ts +1 -1
- package/dist/Select/index.js +10 -9
- package/dist/Select/index.umd.cjs +1 -1
- package/dist/Select/types.d.ts +5 -0
- package/dist/{Select.vue_vue_type_style_index_0_lang-DQitB2YA.js → Select.vue_vue_type_style_index_0_lang-BLHjk2Iy.js} +1 -1
- package/dist/{Select.vue_vue_type_style_index_0_lang-CoTVc2XS.js → Select.vue_vue_type_style_index_0_lang-BmCg9S_L.js} +24 -20
- package/dist/index.js +4 -4
- package/dist/index.umd.cjs +1 -1
- package/dist/style/index.css +1 -1
- package/dist/use/index.js +5 -5
- package/dist/use/index.umd.cjs +1 -1
- package/dist/utils/popupContext.d.ts +8 -0
- package/dist/utils-CCymYPFY.js +1 -0
- package/dist/utils-ktMrldiH.js +214 -0
- package/package.json +2 -2
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-DE47Don1.js +0 -1
- package/dist/utils-DeYtvqtV.js +0 -197
- package/dist/utils-V8eBZdnq.js +0 -1
|
@@ -99,6 +99,10 @@ export interface ColorSwatchGroupEmits {
|
|
|
99
99
|
* Emitted when the selected color value changes (v-model binding)
|
|
100
100
|
*/
|
|
101
101
|
(e: 'update:modelValue', value?: string): void;
|
|
102
|
+
/**
|
|
103
|
+
* Emitted when the selected color value changes
|
|
104
|
+
*/
|
|
105
|
+
(e: 'change', value?: string | null): void;
|
|
102
106
|
}
|
|
103
107
|
declare function __VLS_template(): {
|
|
104
108
|
attrs: Partial<{}>;
|
|
@@ -112,9 +116,11 @@ declare function __VLS_template(): {
|
|
|
112
116
|
};
|
|
113
117
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
114
118
|
declare const __VLS_component: import('vue').DefineComponent<ColorSwatchGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
119
|
+
change: (value?: string | null | undefined) => any;
|
|
115
120
|
"update:modelValue": (value?: string | undefined) => any;
|
|
116
121
|
"update:format": (value: VisibleColorFormat) => any;
|
|
117
122
|
}, string, import('vue').PublicProps, Readonly<ColorSwatchGroupProps> & Readonly<{
|
|
123
|
+
onChange?: ((value?: string | null | undefined) => any) | undefined;
|
|
118
124
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
119
125
|
"onUpdate:format"?: ((value: VisibleColorFormat) => any) | undefined;
|
|
120
126
|
}>, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o } from "../ColorSwatchGroup.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as o } from "../ColorSwatchGroup.vue_vue_type_style_index_0_lang-_pCAmZ53.js";
|
|
2
2
|
import { installComponent as r } from "@pantograph/utils-vue";
|
|
3
3
|
import { getComponentName as t } from "@pantograph/utils";
|
|
4
4
|
const n = r(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorSwatchGroup.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorSwatchGroup.vue_vue_type_style_index_0_lang-B4PdDPjL.js"),o=require("@pantograph/utils-vue"),t=require("@pantograph/utils"),u=o.installComponent(e._sfc_main,t.getComponentName("ColorSwatchGroup"));exports.ColorSwatchGroup=e._sfc_main;exports.default=e._sfc_main;exports.ColorSwatchGroupPlugin=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),k=require("@pantograph/utils-vue"),q=require("reka-ui"),m=require("./ColorSwatch/index.umd.cjs"),i=require("es-toolkit"),a=require("@pantograph/utils"),w=require("class-variance-authority"),N=require("./Popover/index.umd.cjs"),E=require("./ColorPicker.vue_vue_type_style_index_0_lang-ngeRTae-.js"),b=require("./isObject-BDHKUJKN.js"),O=e.defineComponent({...a.getComponentOptions("ColorSwatchGroup"),__name:"ColorSwatchGroup",props:{format:{},defaultFormat:{},hideAlpha:{type:Boolean},size:{default:"md"},customPickerIcon:{},icon:{},class:{type:[Array,Object,String,Number,null,Boolean]},noRemover:{type:Boolean},noCustomPicker:{type:Boolean},modelValue:{},headerCls:{},header:{},disabled:{type:Boolean,default:void 0},colorsCls:{},defaultValue:{},colors:{},colorMode:{default:"bold"},popoverProps:{}},emits:["update:format","update:modelValue","change"],setup(s,{emit:h}){const t=s,y=e.useSlots(),f=h,{getDisabled:c}=k.useFormInput({exports:["getDisabled"]}),n=k.useVModel(t,"modelValue",f,{defaultValue:t.defaultValue,passive:t.modelValue===void 0,onChange(o){f("change",o)}}),B=o=>{if(i.isString(o))return{selected:n.value===o,icon:t.icon,bg:o};if(b.isObject(o))return{...i.omit(o,["value"]),icon:o.icon??t.icon,selected:n.value===o.value}},d=a.getBemBlock("color_swatch_group"),P=w.cva(d,{variants:{size:a.generateVariantClassList(m.ColorSwatchSizes,d)}}),g=e.ref(!1),p=o=>b.isObject(o)?o.value:o??void 0,C=o=>{if(!c.value){const r=p(o);n.value=r,g.value=!r}},v=e.computed(()=>{if(t.colors)return t.colors;const o=["red","orange","yellow","lime","green","sky","blue","violet"];return t.colorMode==="subtle"?o.map(r=>`${r}-subtle`):typeof t.colorMode=="object"&&t.colorMode.value&&(t.colorMode.bg||t.colorMode.br||t.colorMode.fg)?o.map(r=>{const l={value:typeof t.colorMode=="object"&&t.colorMode.value==="subtle"?`${r}-subtle`:r};return typeof t.colorMode=="object"&&t.colorMode.bg&&(l.bg=t.colorMode.bg==="subtle"?`${r}-subtle`:r),typeof t.colorMode=="object"&&t.colorMode.br&&(l.br=t.colorMode.br==="subtle"?`${r}-subtle`:r),typeof t.colorMode=="object"&&t.colorMode.fg&&(l.fg=t.colorMode.fg==="subtle"?`${r}-subtle`:r),l}):o}),V=e.computed(()=>{var o;if(!((o=v.value)!=null&&o.length&&v.value.some(r=>i.isString(r)&&r===n.value||b.isObject(r)&&n.value===r.value)))return n.value}),M=o=>{o&&(n.value=o)},z=q.useEmitAsProps(f),S=e.computed(()=>({...i.pick(z,["onUpdate:format"]),...i.pick(t,["format","defaultFormat","hideAlpha"])})),j=e.computed(()=>{const{open:o,"onUpdate:open":r,...l}=t.popoverProps||{};return{open:c.value?!1:o,"onUpdate:open":u=>{c.value||r==null||r(u)},...l}});return(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a.normCls)(t.class,e.unref(P)({size:s.size})))},[y.header||s.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a.normCls)(e.unref(a.getBemElement)(e.unref(d),"header"),s.headerCls))},[e.renderSlot(o.$slots,"header",{},()=>[e.createTextVNode(e.toDisplayString(s.header),1)])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a.normCls)(e.unref(a.getBemElement)(e.unref(d),"colors"),s.colorsCls))},[s.noRemover?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(m.default,{key:0,type:"remover",size:s.size,disabled:e.unref(c),onClick:r[0]||(r[0]=l=>C()),selected:!e.unref(n)&&g.value},null,8,["size","disabled","selected"])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,l=>(e.openBlock(),e.createBlock(m.default,e.mergeProps({type:"color",size:s.size,icon:s.icon,disabled:e.unref(c)},{ref_for:!0},B(l),{key:p(l),onClick:u=>C(l)}),e.createSlots({_:2},[e.renderList(Object.keys(o.$slots),u=>({name:u,fn:e.withCtx($=>[e.renderSlot(o.$slots,u,e.mergeProps({ref_for:!0},{...$,value:p(l)}))])}))]),1040,["size","icon","disabled","onClick"]))),128)),s.noCustomPicker?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(N.Popover,e.mergeProps({key:1,"reverse-placement-on-dir":"rtl",placement:"right-start","side-offset":4},j.value),{content:e.withCtx(()=>[e.createVNode(E._sfc_main,e.mergeProps({defaultColor:V.value,"onUpdate:color":M},S.value),null,16,["defaultColor"])]),default:e.withCtx(()=>[e.createVNode(m.default,{type:"custom-picker",size:s.size,customPickerIcon:s.customPickerIcon,disabled:e.unref(c)},e.createSlots({_:2},[e.renderList(Object.keys(o.$slots),l=>({name:l,fn:e.withCtx(u=>[e.renderSlot(o.$slots,l,e.normalizeProps(e.guardReactiveProps(u)))])}))]),1032,["size","customPickerIcon","disabled"])]),_:3},16))],2)],2))}});exports._sfc_main=O;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as T, useSlots as q, ref as H, computed as d, createElementBlock as
|
|
1
|
+
import { defineComponent as T, useSlots as q, ref as H, computed as d, createElementBlock as g, openBlock as u, normalizeClass as C, unref as s, createCommentVNode as k, createElementVNode as J, renderSlot as y, createTextVNode as K, toDisplayString as Q, createBlock as h, Fragment as W, renderList as M, mergeProps as m, createSlots as j, withCtx as f, createVNode as S, normalizeProps as X, guardReactiveProps as Y } from "vue";
|
|
2
2
|
import { useFormInput as Z, useVModel as _ } from "@pantograph/utils-vue";
|
|
3
3
|
import { useEmitAsProps as ee } from "reka-ui";
|
|
4
|
-
import
|
|
4
|
+
import P, { ColorSwatchSizes as oe } from "./ColorSwatch/index.js";
|
|
5
5
|
import { isString as w, pick as I, omit as te } from "es-toolkit";
|
|
6
|
-
import { getComponentOptions as le, getBemBlock as re, generateVariantClassList as se, normCls as
|
|
6
|
+
import { getComponentOptions as le, getBemBlock as re, generateVariantClassList as se, normCls as z, getBemElement as A } from "@pantograph/utils";
|
|
7
7
|
import { cva as ae } from "class-variance-authority";
|
|
8
8
|
import { Popover as ne } from "./Popover/index.js";
|
|
9
|
-
import { _ as ie } from "./ColorPicker.vue_vue_type_style_index_0_lang-
|
|
10
|
-
import { i as
|
|
9
|
+
import { _ as ie } from "./ColorPicker.vue_vue_type_style_index_0_lang-BrT753B_.js";
|
|
10
|
+
import { i as V } from "./isObject-vmP43YLW.js";
|
|
11
11
|
const ke = /* @__PURE__ */ T({
|
|
12
12
|
...le("ColorSwatchGroup"),
|
|
13
13
|
__name: "ColorSwatchGroup",
|
|
@@ -31,17 +31,20 @@ const ke = /* @__PURE__ */ T({
|
|
|
31
31
|
colorMode: { default: "bold" },
|
|
32
32
|
popoverProps: {}
|
|
33
33
|
},
|
|
34
|
-
emits: ["update:format", "update:modelValue"],
|
|
34
|
+
emits: ["update:format", "update:modelValue", "change"],
|
|
35
35
|
setup(r, { emit: N }) {
|
|
36
|
-
const o = r, D = q(),
|
|
36
|
+
const o = r, D = q(), p = N, { getDisabled: i } = Z({
|
|
37
37
|
exports: ["getDisabled"]
|
|
38
38
|
}), a = _(
|
|
39
39
|
o,
|
|
40
40
|
"modelValue",
|
|
41
|
-
|
|
41
|
+
p,
|
|
42
42
|
{
|
|
43
43
|
defaultValue: o.defaultValue,
|
|
44
|
-
passive: o.modelValue === void 0
|
|
44
|
+
passive: o.modelValue === void 0,
|
|
45
|
+
onChange(e) {
|
|
46
|
+
p("change", e);
|
|
47
|
+
}
|
|
45
48
|
}
|
|
46
49
|
), E = (e) => {
|
|
47
50
|
if (w(e))
|
|
@@ -50,7 +53,7 @@ const ke = /* @__PURE__ */ T({
|
|
|
50
53
|
icon: o.icon,
|
|
51
54
|
bg: e
|
|
52
55
|
};
|
|
53
|
-
if (
|
|
56
|
+
if (V(e))
|
|
54
57
|
return {
|
|
55
58
|
...te(e, ["value"]),
|
|
56
59
|
icon: e.icon ?? o.icon,
|
|
@@ -60,12 +63,12 @@ const ke = /* @__PURE__ */ T({
|
|
|
60
63
|
variants: {
|
|
61
64
|
size: se(oe, c)
|
|
62
65
|
}
|
|
63
|
-
}), $ = H(!1),
|
|
66
|
+
}), $ = H(!1), v = (e) => V(e) ? e.value : e ?? void 0, B = (e) => {
|
|
64
67
|
if (!i.value) {
|
|
65
|
-
const t =
|
|
68
|
+
const t = v(e);
|
|
66
69
|
a.value = t, $.value = !t;
|
|
67
70
|
}
|
|
68
|
-
},
|
|
71
|
+
}, b = d(() => {
|
|
69
72
|
if (o.colors) return o.colors;
|
|
70
73
|
const e = ["red", "orange", "yellow", "lime", "green", "sky", "blue", "violet"];
|
|
71
74
|
return o.colorMode === "subtle" ? e.map((t) => `${t}-subtle`) : typeof o.colorMode == "object" && o.colorMode.value && (o.colorMode.bg || o.colorMode.br || o.colorMode.fg) ? e.map((t) => {
|
|
@@ -76,13 +79,13 @@ const ke = /* @__PURE__ */ T({
|
|
|
76
79
|
}) : e;
|
|
77
80
|
}), O = d(() => {
|
|
78
81
|
var e;
|
|
79
|
-
if (!((e =
|
|
80
|
-
(t) => w(t) && t === a.value ||
|
|
82
|
+
if (!((e = b.value) != null && e.length && b.value.some(
|
|
83
|
+
(t) => w(t) && t === a.value || V(t) && a.value === t.value
|
|
81
84
|
)))
|
|
82
85
|
return a.value;
|
|
83
86
|
}), U = (e) => {
|
|
84
87
|
e && (a.value = e);
|
|
85
|
-
}, R = ee(
|
|
88
|
+
}, R = ee(p), G = d(() => ({
|
|
86
89
|
...I(R, ["onUpdate:format"]),
|
|
87
90
|
...I(o, ["format", "defaultFormat", "hideAlpha"])
|
|
88
91
|
})), L = d(() => {
|
|
@@ -95,21 +98,21 @@ const ke = /* @__PURE__ */ T({
|
|
|
95
98
|
...l
|
|
96
99
|
};
|
|
97
100
|
});
|
|
98
|
-
return (e, t) => (u(),
|
|
99
|
-
class:
|
|
101
|
+
return (e, t) => (u(), g("div", {
|
|
102
|
+
class: C(s(z)(o.class, s(F)({ size: r.size })))
|
|
100
103
|
}, [
|
|
101
|
-
D.header || r.header ? (u(),
|
|
104
|
+
D.header || r.header ? (u(), g("div", {
|
|
102
105
|
key: 0,
|
|
103
|
-
class:
|
|
106
|
+
class: C(s(z)(s(A)(s(c), "header"), r.headerCls))
|
|
104
107
|
}, [
|
|
105
|
-
|
|
108
|
+
y(e.$slots, "header", {}, () => [
|
|
106
109
|
K(Q(r.header), 1)
|
|
107
110
|
])
|
|
108
|
-
], 2)) :
|
|
111
|
+
], 2)) : k("", !0),
|
|
109
112
|
J("div", {
|
|
110
|
-
class:
|
|
113
|
+
class: C(s(z)(s(A)(s(c), "colors"), r.colorsCls))
|
|
111
114
|
}, [
|
|
112
|
-
r.noRemover ?
|
|
115
|
+
r.noRemover ? k("", !0) : (u(), h(P, {
|
|
113
116
|
key: 0,
|
|
114
117
|
type: "remover",
|
|
115
118
|
size: r.size,
|
|
@@ -117,23 +120,23 @@ const ke = /* @__PURE__ */ T({
|
|
|
117
120
|
onClick: t[0] || (t[0] = (l) => B()),
|
|
118
121
|
selected: !s(a) && $.value
|
|
119
122
|
}, null, 8, ["size", "disabled", "selected"])),
|
|
120
|
-
(u(!0),
|
|
123
|
+
(u(!0), g(W, null, M(b.value, (l) => (u(), h(P, m({
|
|
121
124
|
type: "color",
|
|
122
125
|
size: r.size,
|
|
123
126
|
icon: r.icon,
|
|
124
127
|
disabled: s(i)
|
|
125
128
|
}, { ref_for: !0 }, E(l), {
|
|
126
|
-
key:
|
|
129
|
+
key: v(l),
|
|
127
130
|
onClick: (n) => B(l)
|
|
128
131
|
}), j({ _: 2 }, [
|
|
129
132
|
M(Object.keys(e.$slots), (n) => ({
|
|
130
133
|
name: n,
|
|
131
134
|
fn: f((x) => [
|
|
132
|
-
|
|
135
|
+
y(e.$slots, n, m({ ref_for: !0 }, { ...x, value: v(l) }))
|
|
133
136
|
])
|
|
134
137
|
}))
|
|
135
138
|
]), 1040, ["size", "icon", "disabled", "onClick"]))), 128)),
|
|
136
|
-
r.noCustomPicker ?
|
|
139
|
+
r.noCustomPicker ? k("", !0) : (u(), h(ne, m({
|
|
137
140
|
key: 1,
|
|
138
141
|
"reverse-placement-on-dir": "rtl",
|
|
139
142
|
placement: "right-start",
|
|
@@ -146,7 +149,7 @@ const ke = /* @__PURE__ */ T({
|
|
|
146
149
|
}, G.value), null, 16, ["defaultColor"])
|
|
147
150
|
]),
|
|
148
151
|
default: f(() => [
|
|
149
|
-
S(
|
|
152
|
+
S(P, {
|
|
150
153
|
type: "custom-picker",
|
|
151
154
|
size: r.size,
|
|
152
155
|
customPickerIcon: r.customPickerIcon,
|
|
@@ -155,7 +158,7 @@ const ke = /* @__PURE__ */ T({
|
|
|
155
158
|
M(Object.keys(e.$slots), (l) => ({
|
|
156
159
|
name: l,
|
|
157
160
|
fn: f((n) => [
|
|
158
|
-
|
|
161
|
+
y(e.$slots, l, X(Y(n)))
|
|
159
162
|
])
|
|
160
163
|
}))
|
|
161
164
|
]), 1032, ["size", "customPickerIcon", "disabled"])
|
|
@@ -258,7 +258,7 @@ declare function __VLS_template(): {
|
|
|
258
258
|
overlay: boolean;
|
|
259
259
|
scrollDistance: number;
|
|
260
260
|
scrollHideDelay: number;
|
|
261
|
-
}> & Omit<Readonly<import('..').ScrollContainerProps> & Readonly<{}>, "wrap" | "root" | "topVisible" | "bottomVisible" | "rightVisible" | "leftVisible" | "isOverflowX" | "isOverflowY" | "
|
|
261
|
+
}> & Omit<Readonly<import('..').ScrollContainerProps> & Readonly<{}>, "wrap" | "container" | "root" | "topVisible" | "bottomVisible" | "rightVisible" | "leftVisible" | "isOverflowX" | "isOverflowY" | "getScroll" | "scrollTop" | "scrollTopLeft" | ("type" | "size" | "overlay" | "scrollDistance" | "scrollHideDelay")> & import('vue').ShallowUnwrapRef<{
|
|
262
262
|
container: Ref<any, any>;
|
|
263
263
|
wrap: Ref<any, any>;
|
|
264
264
|
root: Ref<any, any>;
|
|
@@ -527,11 +527,12 @@ declare const __VLS_component: import('vue').DefineComponent<ComboboxProps, {
|
|
|
527
527
|
"update:modelValue": (value: string | string[]) => any;
|
|
528
528
|
closeAutoFocus: (event: Event) => any;
|
|
529
529
|
openAutoFocus: (event: Event) => any;
|
|
530
|
+
openChange: (value?: boolean | null | undefined) => any;
|
|
531
|
+
"update:open": (value: boolean) => any;
|
|
530
532
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
531
533
|
pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
|
|
532
534
|
focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
|
|
533
535
|
interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
|
|
534
|
-
"update:open": (value: boolean) => any;
|
|
535
536
|
"update:expandedKeys": (value: string[]) => any;
|
|
536
537
|
keydownEnter: (value: KeyboardEvent, searchModel?: string | undefined) => any;
|
|
537
538
|
keydownEscape: (value: KeyboardEvent) => any;
|
|
@@ -543,11 +544,12 @@ declare const __VLS_component: import('vue').DefineComponent<ComboboxProps, {
|
|
|
543
544
|
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
544
545
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
545
546
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
547
|
+
onOpenChange?: ((value?: boolean | null | undefined) => any) | undefined;
|
|
548
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
546
549
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
547
550
|
onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
|
|
548
551
|
onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
549
552
|
onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
|
|
550
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
551
553
|
"onUpdate:expandedKeys"?: ((value: string[]) => any) | undefined;
|
|
552
554
|
onKeydownEnter?: ((value: KeyboardEvent, searchModel?: string | undefined) => any) | undefined;
|
|
553
555
|
onKeydownEscape?: ((value: KeyboardEvent) => any) | undefined;
|
|
@@ -564,6 +566,7 @@ declare const __VLS_component: import('vue').DefineComponent<ComboboxProps, {
|
|
|
564
566
|
sideOffset: number;
|
|
565
567
|
avoidCollisions: boolean;
|
|
566
568
|
disableOutsidePointerEvents: boolean;
|
|
569
|
+
zIndex: number | string;
|
|
567
570
|
checkbox: boolean;
|
|
568
571
|
trailingIcon: string | boolean;
|
|
569
572
|
selectedItemIconAsTrailingIcon: boolean;
|
|
@@ -828,7 +831,7 @@ declare const __VLS_component: import('vue').DefineComponent<ComboboxProps, {
|
|
|
828
831
|
overlay: boolean;
|
|
829
832
|
scrollDistance: number;
|
|
830
833
|
scrollHideDelay: number;
|
|
831
|
-
}> & Omit<Readonly<import('..').ScrollContainerProps> & Readonly<{}>, "wrap" | "root" | "topVisible" | "bottomVisible" | "rightVisible" | "leftVisible" | "isOverflowX" | "isOverflowY" | "
|
|
834
|
+
}> & Omit<Readonly<import('..').ScrollContainerProps> & Readonly<{}>, "wrap" | "container" | "root" | "topVisible" | "bottomVisible" | "rightVisible" | "leftVisible" | "isOverflowX" | "isOverflowY" | "getScroll" | "scrollTop" | "scrollTopLeft" | ("type" | "size" | "overlay" | "scrollDistance" | "scrollHideDelay")> & import('vue').ShallowUnwrapRef<{
|
|
832
835
|
container: Ref<any, any>;
|
|
833
836
|
wrap: Ref<any, any>;
|
|
834
837
|
root: Ref<any, any>;
|