@bridge-ui/vue 0.0.9 → 0.0.10
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/ai/skills/bridge-ui-components/SKILL.md +2 -1
- package/dist/Components/Accordion/Accordion.js +5 -0
- package/dist/Components/Accordion/Accordion.vue.d.ts +26 -0
- package/dist/Components/Accordion/Accordion.vue_vue_type_script_setup_true_lang.js +38 -0
- package/dist/Components/Accordion/accordion.types.d.ts +88 -0
- package/dist/Components/Accordion/accordionInjectionKey.d.ts +63 -0
- package/dist/Components/Accordion/accordionInjectionKey.js +4 -0
- package/dist/Components/Accordion/composables/useAccordion.d.ts +14 -0
- package/dist/Components/Accordion/composables/useAccordion.js +79 -0
- package/dist/Components/Accordion/index.d.ts +4 -0
- package/dist/Components/Accordion/index.js +4 -0
- package/dist/Components/AccordionItem/AccordionItem.js +5 -0
- package/dist/Components/AccordionItem/AccordionItem.vue.d.ts +11 -0
- package/dist/Components/AccordionItem/AccordionItem.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/Components/AccordionItem/accordionItem.types.d.ts +105 -0
- package/dist/Components/AccordionItem/composables/useAccordionItem.d.ts +41 -0
- package/dist/Components/AccordionItem/composables/useAccordionItem.js +123 -0
- package/dist/Components/AccordionItem/index.d.ts +3 -0
- package/dist/Components/AccordionItem/index.js +3 -0
- package/dist/Components/Alert/Alert.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Components/Alert/composables/useAlert.js +9 -9
- package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +69 -65
- package/dist/Components/Avatar/Avatar.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Components/Avatar/composables/useAvatar.d.ts +0 -1
- package/dist/Components/Avatar/composables/useAvatar.js +23 -24
- package/dist/Components/Badge/Badge.vue.d.ts +11 -1
- package/dist/Components/Badge/Badge.vue_vue_type_script_setup_true_lang.js +7 -8
- package/dist/Components/BaseField/BaseField.vue_vue_type_script_setup_true_lang.js +31 -27
- package/dist/Components/BaseField/BaseFieldLabel.vue.d.ts +11 -1
- package/dist/Components/BaseField/BaseFieldLabel.vue_vue_type_script_setup_true_lang.js +11 -10
- package/dist/Components/BaseField/baseField.types.d.ts +5 -0
- package/dist/Components/BaseField/baseField.types.js +11 -0
- package/dist/Components/BaseField/index.d.ts +1 -0
- package/dist/Components/BaseField/index.js +4 -3
- package/dist/Components/Breadcrumb/Breadcrumb.js +5 -0
- package/dist/Components/Breadcrumb/Breadcrumb.vue.d.ts +13 -0
- package/dist/Components/Breadcrumb/Breadcrumb.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/Components/Breadcrumb/breadcrumb.types.d.ts +101 -0
- package/dist/Components/Breadcrumb/breadcrumbInjectionKey.d.ts +35 -0
- package/dist/Components/Breadcrumb/breadcrumbInjectionKey.js +4 -0
- package/dist/Components/Breadcrumb/composables/useBreadcrumb.d.ts +20 -0
- package/dist/Components/Breadcrumb/composables/useBreadcrumb.js +69 -0
- package/dist/Components/Breadcrumb/index.d.ts +4 -0
- package/dist/Components/Breadcrumb/index.js +4 -0
- package/dist/Components/BreadcrumbItem/BreadcrumbItem.js +5 -0
- package/dist/Components/BreadcrumbItem/BreadcrumbItem.vue.d.ts +14 -0
- package/dist/Components/BreadcrumbItem/BreadcrumbItem.vue_vue_type_script_setup_true_lang.js +47 -0
- package/dist/Components/BreadcrumbItem/breadcrumbItem.types.d.ts +140 -0
- package/dist/Components/BreadcrumbItem/composables/useBreadcrumbItem.d.ts +38 -0
- package/dist/Components/BreadcrumbItem/composables/useBreadcrumbItem.js +87 -0
- package/dist/Components/BreadcrumbItem/index.d.ts +3 -0
- package/dist/Components/BreadcrumbItem/index.js +3 -0
- package/dist/Components/Button/Button.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/Components/Card/Card.vue_vue_type_script_setup_true_lang.js +10 -10
- package/dist/Components/Card/composables/useCard.d.ts +0 -1
- package/dist/Components/Card/composables/useCard.js +64 -66
- package/dist/Components/Checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +31 -26
- package/dist/Components/Chip/Chip.vue_vue_type_script_setup_true_lang.js +10 -10
- package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +61 -56
- package/dist/Components/DateField/composables/useDateField.d.ts +14 -4
- package/dist/Components/DateField/dateField.types.d.ts +3 -3
- package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +59 -54
- package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +14 -4
- package/dist/Components/DateRangeField/dateRangeField.types.d.ts +3 -3
- package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +65 -60
- package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +14 -4
- package/dist/Components/DateTimeField/dateTimeField.types.d.ts +3 -3
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +65 -60
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +14 -4
- package/dist/Components/DateTimeRangeField/dateTimeRangeField.types.d.ts +3 -3
- package/dist/Components/Drawer/Drawer.vue_vue_type_script_setup_true_lang.js +19 -20
- package/dist/Components/FormControl/FormControl.vue.d.ts +2 -4
- package/dist/Components/FormControl/FormControl.vue_vue_type_script_setup_true_lang.js +37 -23
- package/dist/Components/FormControl/FormControlLabel.vue.d.ts +11 -1
- package/dist/Components/FormControl/FormControlLabel.vue_vue_type_script_setup_true_lang.js +11 -10
- package/dist/Components/FormControl/formControl.types.d.ts +4 -0
- package/dist/Components/FormControl/formControl.types.js +9 -0
- package/dist/Components/FormControl/index.d.ts +1 -0
- package/dist/Components/FormControl/index.js +3 -2
- package/dist/Components/FormField/FilledFormField.vue.d.ts +14 -2
- package/dist/Components/FormField/FilledFormField.vue_vue_type_script_setup_true_lang.js +23 -18
- package/dist/Components/FormField/FormField.vue_vue_type_script_setup_true_lang.js +32 -27
- package/dist/Components/FormField/FormFieldLabel.vue.d.ts +11 -1
- package/dist/Components/FormField/FormFieldLabel.vue_vue_type_script_setup_true_lang.js +11 -10
- package/dist/Components/FormField/NotchedFormField.vue.d.ts +14 -2
- package/dist/Components/FormField/NotchedFormField.vue_vue_type_script_setup_true_lang.js +22 -17
- package/dist/Components/FormField/OutlinedFormField.vue.d.ts +14 -2
- package/dist/Components/FormField/OutlinedFormField.vue_vue_type_script_setup_true_lang.js +23 -18
- package/dist/Components/FormField/StackedFormField.vue.d.ts +14 -2
- package/dist/Components/FormField/StackedFormField.vue_vue_type_script_setup_true_lang.js +25 -20
- package/dist/Components/FormField/UnderlinedFormField.vue.d.ts +14 -2
- package/dist/Components/FormField/UnderlinedFormField.vue_vue_type_script_setup_true_lang.js +23 -18
- package/dist/Components/FormField/formField.types.d.ts +5 -0
- package/dist/Components/FormField/formField.types.js +11 -0
- package/dist/Components/FormField/index.d.ts +1 -0
- package/dist/Components/FormField/index.js +3 -2
- package/dist/Components/Label/Label.vue.d.ts +11 -1
- package/dist/Components/Label/Label.vue_vue_type_script_setup_true_lang.js +7 -8
- package/dist/Components/Link/Link.vue_vue_type_script_setup_true_lang.js +23 -23
- package/dist/Components/List/List.vue.d.ts +11 -1
- package/dist/Components/List/List.vue_vue_type_script_setup_true_lang.js +9 -10
- package/dist/Components/ListItem/ListItem.vue_vue_type_script_setup_true_lang.js +18 -18
- package/dist/Components/ListItem/composables/useListItem.d.ts +1 -3
- package/dist/Components/ListItem/composables/useListItem.js +47 -55
- package/dist/Components/ListSection/ListSection.vue_vue_type_script_setup_true_lang.js +10 -9
- package/dist/Components/ListSection/composables/useListSection.d.ts +1 -3
- package/dist/Components/ListSection/composables/useListSection.js +29 -31
- package/dist/Components/Listbox/Listbox.vue_vue_type_script_setup_true_lang.js +82 -82
- package/dist/Components/Menu/Menu.vue_vue_type_script_setup_true_lang.js +19 -19
- package/dist/Components/Modal/Modal.vue_vue_type_script_setup_true_lang.js +19 -20
- package/dist/Components/NumberField/NumberField.vue_vue_type_script_setup_true_lang.js +48 -43
- package/dist/Components/OtpField/OtpField.vue_vue_type_script_setup_true_lang.js +27 -22
- package/dist/Components/PasswordField/PasswordField.vue_vue_type_script_setup_true_lang.js +34 -29
- package/dist/Components/Radio/Radio.vue_vue_type_script_setup_true_lang.js +26 -21
- package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +67 -63
- package/dist/Components/Slider/Slider.vue_vue_type_script_setup_true_lang.js +54 -49
- package/dist/Components/Switch/Switch.vue_vue_type_script_setup_true_lang.js +28 -23
- package/dist/Components/Tab/Tab.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/Components/TabList/TabList.vue_vue_type_script_setup_true_lang.js +7 -8
- package/dist/Components/TabPanel/TabPanel.vue_vue_type_script_setup_true_lang.js +7 -8
- package/dist/Components/Tabs/Tabs.vue_vue_type_script_setup_true_lang.js +29 -26
- package/dist/Components/TextField/TextField.vue_vue_type_script_setup_true_lang.js +21 -16
- package/dist/Components/Textarea/Textarea.vue_vue_type_script_setup_true_lang.js +25 -20
- package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +53 -48
- package/dist/Components/TimeField/composables/useTimeField.d.ts +14 -4
- package/dist/Components/TimeField/timeField.types.d.ts +3 -3
- package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +53 -48
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +14 -4
- package/dist/Components/TimeRangeField/timeRangeField.types.d.ts +3 -3
- package/dist/Components/Tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +18 -18
- package/dist/Utils/index.d.ts +1 -1
- package/dist/Utils/index.js +2 -2
- package/dist/Utils/slotOrProp.d.ts +20 -11
- package/dist/Utils/slotOrProp.js +21 -17
- package/dist/Utils/useBreakpoint.d.ts +0 -4
- package/dist/index.d.ts +8 -0
- package/dist/index.js +133 -124
- package/docs/README.md +1 -0
- package/docs/components/Accordion.md +104 -0
- package/docs/components/Breadcrumb.md +74 -0
- package/package.json +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { hasNamedSlot as e, hasSlotOrProp as t,
|
|
1
|
+
import { hasNamedSlot as e, hasSlotOrProp as t, isPropPresent as n } from "../../Utils/slotOrProp.js";
|
|
2
|
+
import r from "../Icon/Icon.js";
|
|
2
3
|
import { useAlert as i } from "./composables/useAlert.js";
|
|
3
|
-
import a from "
|
|
4
|
-
import { Fragment as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeProps as m, openBlock as h, resolveDynamicComponent as g, unref as _ } from "vue";
|
|
4
|
+
import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeProps as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v } from "vue";
|
|
5
5
|
//#region src/Components/Alert/Alert.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
6
|
+
var y = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "flex justify-between items-start"
|
|
9
|
-
},
|
|
9
|
+
}, b = { class: "flex items-start gap-x-3" }, x = /*@__PURE__*/ d({
|
|
10
10
|
inheritAttrs: !1,
|
|
11
11
|
__name: "Alert",
|
|
12
12
|
props: {
|
|
@@ -21,19 +21,19 @@ var v = {
|
|
|
21
21
|
variant: {}
|
|
22
22
|
},
|
|
23
23
|
setup(d) {
|
|
24
|
-
let { slots:
|
|
24
|
+
let { slots: x, merged: S, bodyBind: C, iconBind: w, rootBind: T, titleBind: E, resolvedIcon: D, hasDefaultBody: O } = i(d, {
|
|
25
25
|
shadow: "sm",
|
|
26
26
|
rounded: "sm",
|
|
27
27
|
variant: "flat",
|
|
28
28
|
color: "primary",
|
|
29
29
|
padding: "medium"
|
|
30
30
|
});
|
|
31
|
-
return (i, d) => (h(),
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
return (i, d) => (h(), c("div", m(f(v(T))), [
|
|
32
|
+
v(e)(v(x), "header") ? g(i.$slots, "header", {}, void 0, void 0, 0) : v(t)(v(x), "title", v(S).title) ? (h(), c("div", y, [l("div", b, [v(e)(v(x), "icon") ? g(i.$slots, "icon", {}, void 0, void 0, 0) : v(D) ? (h(), o(r, p({ key: 1 }, v(w), { icon: v(D) }), null, 16, ["icon"])) : s("", !0), l("div", m(f(v(E))), [v(e)(v(x), "title") ? g(i.$slots, "title", {}, void 0, void 0, 0) : v(n)(v(S).title) ? (h(), c(a, { key: 1 }, [u(_(v(S).title), 1)], 64)) : s("", !0)], 16)]), g(i.$slots, "action")])) : s("", !0),
|
|
33
|
+
v(O) ? (h(), c("div", m(p({ key: 2 }, v(C))), [g(i.$slots, "default")], 16)) : s("", !0),
|
|
34
|
+
g(i.$slots, "footer")
|
|
35
35
|
], 16));
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
|
-
export {
|
|
39
|
+
export { x as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { mergePartBind as e, useBridgeUIComponent as t, useBridgeUIMergedRegistryClasses as n } from "../../../Utils/index.js";
|
|
2
|
+
import { alertDefaultIcons as r } from "../alertDefaultIcons.js";
|
|
3
3
|
import { computed as i, useAttrs as a, useSlots as o } from "vue";
|
|
4
4
|
import { cn as s, mergeBridgeUILayeredClasses as c, splitComponentProps as l } from "@bridge-ui/core";
|
|
5
5
|
import { get as u, isNull as d } from "es-toolkit/compat";
|
|
@@ -23,11 +23,11 @@ function _(_, v) {
|
|
|
23
23
|
...y,
|
|
24
24
|
..._
|
|
25
25
|
}
|
|
26
|
-
})), { merged: S, entry: C } =
|
|
26
|
+
})), { merged: S, entry: C } = t({
|
|
27
27
|
libDefaults: v,
|
|
28
28
|
componentName: "Alert",
|
|
29
29
|
props: () => x.value.componentProps
|
|
30
|
-
}), w = i(() => S.value.customProps), T =
|
|
30
|
+
}), w = i(() => S.value.customProps), T = n({
|
|
31
31
|
entry: C,
|
|
32
32
|
props: () => x.value.componentProps
|
|
33
33
|
}), E = i(() => {
|
|
@@ -45,22 +45,22 @@ function _(_, v) {
|
|
|
45
45
|
}), A = i(() => {
|
|
46
46
|
let e = c(p, C.value?.tokens?.rounded);
|
|
47
47
|
return u(e, S.value.rounded);
|
|
48
|
-
}), j = i(() => d(S.value.icon) ? null : S.value.icon ? S.value.icon : u(D.value, "icon") ?? u(
|
|
48
|
+
}), j = i(() => d(S.value.icon) ? null : S.value.icon ? S.value.icon : u(D.value, "icon") ?? u(r, S.value.color));
|
|
49
49
|
return {
|
|
50
50
|
slots: b,
|
|
51
51
|
merged: S,
|
|
52
|
-
bodyBind: i(() =>
|
|
52
|
+
bodyBind: i(() => e(w.value?.body, {}, s({
|
|
53
53
|
"grow text-sm text-start": !0,
|
|
54
54
|
[k.value ?? ""]: !0,
|
|
55
55
|
[u(D.value, "text") ?? ""]: !0,
|
|
56
56
|
[u(T.value, "body") ?? ""]: !0
|
|
57
57
|
}))),
|
|
58
|
-
iconBind: i(() =>
|
|
58
|
+
iconBind: i(() => e(w.value?.icon, {}, s({
|
|
59
59
|
"w-5 h-5 shrink-0": !0,
|
|
60
60
|
[u(D.value, "iconColor") ?? ""]: !0,
|
|
61
61
|
[u(T.value, "icon") ?? ""]: !0
|
|
62
62
|
}))),
|
|
63
|
-
rootBind: i(() =>
|
|
63
|
+
rootBind: i(() => e(w.value?.root, x.value.inheritedAttrs, s({
|
|
64
64
|
"w-full flex flex-col p-4": !0,
|
|
65
65
|
[O.value ?? ""]: !0,
|
|
66
66
|
[A.value ?? ""]: !0,
|
|
@@ -68,7 +68,7 @@ function _(_, v) {
|
|
|
68
68
|
[u(D.value, "background") ?? ""]: !0,
|
|
69
69
|
[u(T.value, "root") ?? ""]: !0
|
|
70
70
|
}))),
|
|
71
|
-
titleBind: i(() =>
|
|
71
|
+
titleBind: i(() => e(w.value?.title, {}, s({
|
|
72
72
|
"text-start text-sm whitespace-normal": !0,
|
|
73
73
|
"font-normal": !E.value,
|
|
74
74
|
"font-semibold": E.value,
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { useResolveMessage as e } from "../../Adapters/I18n/useI18nAdapter.js";
|
|
2
|
-
import { hasNamedSlot as t,
|
|
2
|
+
import { hasNamedSlot as t, presentSlotNames as n } from "../../Utils/slotOrProp.js";
|
|
3
3
|
import { mergeNestedComponentProps as r } from "../../Utils/index.js";
|
|
4
4
|
import i from "../Icon/Icon.js";
|
|
5
5
|
import { AUTOCOMPLETE_OPTION_KEY as a } from "./autocompleteInjectionKey.js";
|
|
6
|
-
import { useAutocomplete as
|
|
7
|
-
import
|
|
8
|
-
import te from "../FormField/
|
|
6
|
+
import { useAutocomplete as ee } from "./composables/useAutocomplete.js";
|
|
7
|
+
import o from "../Chip/Chip.js";
|
|
8
|
+
import { FORM_FIELD_CHROME_SLOT_NAMES as te } from "../FormField/formField.types.js";
|
|
9
|
+
import ne from "../FormField/FormField.js";
|
|
9
10
|
import s from "../Listbox/Listbox.js";
|
|
10
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as
|
|
11
|
-
import { cn as
|
|
12
|
-
import { isUndefined as
|
|
11
|
+
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as re, createVNode as h, defineComponent as g, guardReactiveProps as _, isRef as v, mergeModels as y, mergeProps as b, normalizeProps as x, openBlock as S, provide as C, ref as w, renderList as T, renderSlot as E, toDisplayString as ie, unref as D, useModel as ae, useTemplateRef as oe, withCtx as O, withKeys as k, withModifiers as A } from "vue";
|
|
12
|
+
import { cn as j } from "@bridge-ui/core";
|
|
13
|
+
import { isUndefined as M } from "es-toolkit/compat";
|
|
13
14
|
//#region src/Components/Autocomplete/Autocomplete.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
-
var
|
|
15
|
+
var N = {
|
|
15
16
|
key: 0,
|
|
16
17
|
class: "flex min-w-0 flex-1 flex-wrap items-center gap-0.5"
|
|
17
|
-
},
|
|
18
|
+
}, P = {
|
|
18
19
|
key: 1,
|
|
19
20
|
class: "flex min-w-0 flex-1 items-center gap-1"
|
|
20
|
-
},
|
|
21
|
+
}, F = ["aria-label"], I = {
|
|
21
22
|
key: 0,
|
|
22
23
|
hidden: "",
|
|
23
24
|
"aria-hidden": "true"
|
|
24
|
-
},
|
|
25
|
+
}, L = /*@__PURE__*/ g({
|
|
25
26
|
inheritAttrs: !1,
|
|
26
27
|
__name: "Autocomplete",
|
|
27
|
-
props: /*@__PURE__*/
|
|
28
|
+
props: /*@__PURE__*/ y({
|
|
28
29
|
asyncData: {},
|
|
29
30
|
clearable: {
|
|
30
31
|
type: Boolean,
|
|
@@ -85,7 +86,7 @@ var P = {
|
|
|
85
86
|
modelValue: {},
|
|
86
87
|
modelModifiers: {}
|
|
87
88
|
}),
|
|
88
|
-
emits: /*@__PURE__*/
|
|
89
|
+
emits: /*@__PURE__*/ y([
|
|
89
90
|
"cancel",
|
|
90
91
|
"change",
|
|
91
92
|
"clear",
|
|
@@ -96,14 +97,14 @@ var P = {
|
|
|
96
97
|
"select",
|
|
97
98
|
"update:modelValue"
|
|
98
99
|
], ["update:modelValue"]),
|
|
99
|
-
setup(
|
|
100
|
-
let
|
|
100
|
+
setup(g, { emit: y }) {
|
|
101
|
+
let L = ae(g, "modelValue"), R = g, z = e(), B = y, V = w(R.defaultValue), H = l({
|
|
101
102
|
set: (e) => {
|
|
102
|
-
|
|
103
|
+
L.value = e, V.value = e;
|
|
103
104
|
},
|
|
104
|
-
get: () =>
|
|
105
|
-
}), U =
|
|
106
|
-
|
|
105
|
+
get: () => M(L.value) ? V.value : L.value
|
|
106
|
+
}), U = oe("trigger"), W = w([]);
|
|
107
|
+
C(a, {
|
|
107
108
|
unregister(e) {
|
|
108
109
|
W.value = W.value.filter((t) => String(t.value) !== String(e));
|
|
109
110
|
},
|
|
@@ -111,81 +112,84 @@ var P = {
|
|
|
111
112
|
W.value.some((t) => String(t.value) === String(e.value)) || (W.value = [...W.value, e]);
|
|
112
113
|
}
|
|
113
114
|
});
|
|
114
|
-
let { open: G, slots: K, multiple: q, formField: J, clearBind: Y, clearValue: X, removeChip: se, triggerBind: Z, handleApply: ce, selectOption: le, handleCancel: ue, containerRef: Q, listboxProps: de, clearIconSize: fe, mergedClasses: pe, showClearIcon: me, selectedOptions: he, hasComposedList: $, handleRegisteredOptionsChange: ge } =
|
|
115
|
-
return (e, a) => (
|
|
116
|
-
|
|
117
|
-
default:
|
|
115
|
+
let { open: G, slots: K, multiple: q, formField: J, clearBind: Y, clearValue: X, removeChip: se, triggerBind: Z, handleApply: ce, selectOption: le, handleCancel: ue, containerRef: Q, listboxProps: de, clearIconSize: fe, mergedClasses: pe, showClearIcon: me, selectedOptions: he, hasComposedList: $, handleRegisteredOptionsChange: ge } = ee(R, H, U, B, W);
|
|
116
|
+
return (e, a) => (S(), f(c, null, [
|
|
117
|
+
h(D(ne), { field: D(J) }, m({
|
|
118
|
+
default: O(() => [D(q) ? (S(), f("div", N, [(S(!0), f(c, null, T(D(he), (t) => (S(), u(D(o), b({
|
|
118
119
|
dismissible: "",
|
|
119
120
|
key: String(t.value),
|
|
120
|
-
size:
|
|
121
|
-
disabled:
|
|
121
|
+
size: D(J).merged.value.size,
|
|
122
|
+
disabled: D(J).isDisabled.value,
|
|
122
123
|
"clear-label": `Remove ${t.label}`,
|
|
123
|
-
onDismiss: (e) =>
|
|
124
|
-
}, { ref_for: !0 },
|
|
125
|
-
customProps: { clear:
|
|
126
|
-
classes: { root:
|
|
124
|
+
onDismiss: (e) => D(se)(t, e)
|
|
125
|
+
}, { ref_for: !0 }, D(r)(R.customProps?.chip, {
|
|
126
|
+
customProps: { clear: D(Y) },
|
|
127
|
+
classes: { root: D(j)({
|
|
127
128
|
"bg-white ring-1 ring-inset ring-dark-200 dark:bg-dark-700 dark:ring-dark-600": !0,
|
|
128
|
-
[
|
|
129
|
+
[D(pe).chip ?? ""]: !0
|
|
129
130
|
}) }
|
|
130
131
|
})), {
|
|
131
|
-
default:
|
|
132
|
+
default: O(() => [E(e.$slots, "chip", { option: t }, () => [re(ie(t.label), 1)])]),
|
|
132
133
|
_: 2
|
|
133
134
|
}, 1040, [
|
|
134
135
|
"size",
|
|
135
136
|
"disabled",
|
|
136
137
|
"clear-label",
|
|
137
138
|
"onDismiss"
|
|
138
|
-
]))), 128)), p("textarea",
|
|
139
|
+
]))), 128)), p("textarea", b({ ref: "trigger" }, D(Z)), null, 16)])) : (S(), f("div", P, [p("input", b({
|
|
139
140
|
ref: "trigger",
|
|
140
141
|
class: "min-w-0 flex-1"
|
|
141
|
-
},
|
|
142
|
-
onClick: a[0] ||= (...e) =>
|
|
143
|
-
onKeydown: [a[1] ||= A(
|
|
144
|
-
"aria-label":
|
|
145
|
-
}), [
|
|
142
|
+
}, D(Z)), null, 16), D(me) ? (S(), f("span", b({ key: 0 }, D(Y), {
|
|
143
|
+
onClick: a[0] ||= (...e) => D(X) && D(X)(...e),
|
|
144
|
+
onKeydown: [a[1] ||= k(A((...e) => D(X) && D(X)(...e), ["prevent"]), ["enter"]), a[2] ||= k(A((...e) => D(X) && D(X)(...e), ["prevent"]), ["space"])],
|
|
145
|
+
"aria-label": D(z)("Clear selection")
|
|
146
|
+
}), [h(D(i), b({
|
|
146
147
|
icon: "clear",
|
|
147
|
-
size:
|
|
148
|
-
},
|
|
149
|
-
_:
|
|
150
|
-
},
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
148
|
+
size: D(fe)
|
|
149
|
+
}, R.customProps?.clearIcon), null, 16, ["size"])], 16, F)) : d("", !0)]))]),
|
|
150
|
+
_: 2
|
|
151
|
+
}, [T(D(n)(D(te), e.$slots), (t) => ({
|
|
152
|
+
name: t,
|
|
153
|
+
fn: O((n) => [E(e.$slots, t, x(_(n || {})))])
|
|
154
|
+
}))]), 1032, ["field"]),
|
|
155
|
+
h(D(s), b({
|
|
156
|
+
modelValue: D(G),
|
|
157
|
+
"onUpdate:modelValue": a[3] ||= (e) => v(G) ? G.value = e : null
|
|
158
|
+
}, D(de), {
|
|
159
|
+
onApply: D(ce),
|
|
160
|
+
"anchor-el": D(Q),
|
|
161
|
+
onCancel: D(ue),
|
|
162
|
+
onSelect: D(le),
|
|
163
|
+
onRegisteredOptionsChange: D(ge)
|
|
164
|
+
}), m({ _: 2 }, [
|
|
165
|
+
D($) ? {
|
|
162
166
|
name: "default",
|
|
163
|
-
fn:
|
|
167
|
+
fn: O(() => [E(e.$slots, "default")]),
|
|
164
168
|
key: "0"
|
|
165
169
|
} : void 0,
|
|
166
|
-
|
|
170
|
+
D(t)(D(K), "beforeOptions") ? {
|
|
167
171
|
name: "beforeOptions",
|
|
168
|
-
fn:
|
|
172
|
+
fn: O(() => [E(e.$slots, "beforeOptions")]),
|
|
169
173
|
key: "1"
|
|
170
174
|
} : void 0,
|
|
171
|
-
|
|
175
|
+
D(t)(D(K), "loading") ? {
|
|
172
176
|
name: "loading",
|
|
173
|
-
fn:
|
|
177
|
+
fn: O(() => [E(e.$slots, "loading")]),
|
|
174
178
|
key: "2"
|
|
175
179
|
} : void 0,
|
|
176
|
-
|
|
180
|
+
D(t)(D(K), "option") ? {
|
|
177
181
|
name: "option",
|
|
178
|
-
fn:
|
|
182
|
+
fn: O((t) => [E(e.$slots, "option", x(_(t)))]),
|
|
179
183
|
key: "3"
|
|
180
184
|
} : void 0,
|
|
181
|
-
|
|
185
|
+
D(t)(D(K), "empty") ? {
|
|
182
186
|
name: "empty",
|
|
183
|
-
fn:
|
|
187
|
+
fn: O(() => [E(e.$slots, "empty")]),
|
|
184
188
|
key: "4"
|
|
185
189
|
} : void 0,
|
|
186
|
-
|
|
190
|
+
D(t)(D(K), "afterOptions") ? {
|
|
187
191
|
name: "afterOptions",
|
|
188
|
-
fn:
|
|
192
|
+
fn: O(() => [E(e.$slots, "afterOptions")]),
|
|
189
193
|
key: "5"
|
|
190
194
|
} : void 0
|
|
191
195
|
]), 1040, [
|
|
@@ -196,9 +200,9 @@ var P = {
|
|
|
196
200
|
"onSelect",
|
|
197
201
|
"onRegisteredOptionsChange"
|
|
198
202
|
]),
|
|
199
|
-
|
|
203
|
+
D($) ? d("", !0) : (S(), f("div", I, [E(e.$slots, "default")]))
|
|
200
204
|
], 64));
|
|
201
205
|
}
|
|
202
206
|
});
|
|
203
207
|
//#endregion
|
|
204
|
-
export {
|
|
208
|
+
export { L as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { hasNamedSlot as e } from "../../Utils/slotOrProp.js";
|
|
2
2
|
import t from "../Icon/Icon.js";
|
|
3
3
|
import { useAvatar as n } from "./composables/useAvatar.js";
|
|
4
|
-
import { createBlock as r, createElementBlock as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l,
|
|
4
|
+
import { createBlock as r, createElementBlock as i, defineComponent as a, guardReactiveProps as o, mergeProps as s, normalizeProps as c, openBlock as l, renderSlot as u, toDisplayString as d, unref as f } from "vue";
|
|
5
5
|
//#region src/Components/Avatar/Avatar.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var p = /*@__PURE__*/ a({
|
|
7
7
|
inheritAttrs: !1,
|
|
@@ -18,12 +18,12 @@ var p = /*@__PURE__*/ a({
|
|
|
18
18
|
src: {}
|
|
19
19
|
},
|
|
20
20
|
setup(a) {
|
|
21
|
-
let { slots: p, merged: m, rootBind: h, iconBind: g, hasImage: _, imageBind: v, fallbackBind: y, resolvedIcon: b,
|
|
21
|
+
let { slots: p, merged: m, rootBind: h, iconBind: g, hasImage: _, imageBind: v, fallbackBind: y, resolvedIcon: b, hasFallbackText: x, hasCustomContent: S } = n(a, {
|
|
22
22
|
size: "md",
|
|
23
23
|
rounded: "full",
|
|
24
24
|
color: "secondary"
|
|
25
25
|
});
|
|
26
|
-
return (n, a) => (l(), i("div", c(o(f(h))), [f(
|
|
26
|
+
return (n, a) => (l(), i("div", c(o(f(h))), [f(S) ? u(n.$slots, "default", {}, void 0, void 0, 0) : f(_) ? (l(), i("img", c(s({ key: 1 }, f(v))), null, 16)) : f(e)(f(p), "fallback") ? u(n.$slots, "fallback", {}, void 0, void 0, 2) : f(x) ? (l(), i("span", c(s({ key: 3 }, f(y))), d(f(m).fallback), 17)) : (l(), r(f(t), s({
|
|
27
27
|
key: 4,
|
|
28
28
|
icon: f(b)
|
|
29
29
|
}, f(g)), null, 16, ["icon"]))], 16));
|
|
@@ -16,7 +16,6 @@ export declare function useAvatar(props: AvatarProps, libDefaults: AvatarLibDefa
|
|
|
16
16
|
}>>;
|
|
17
17
|
fallbackBind: import('vue').ComputedRef<import('@bridge-ui/core').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
18
18
|
resolvedIcon: import('vue').ComputedRef<import('../../..').IconSource>;
|
|
19
|
-
hasFallbackSlot: import('vue').ComputedRef<boolean>;
|
|
20
19
|
hasFallbackText: import('vue').ComputedRef<boolean>;
|
|
21
20
|
hasCustomContent: import('vue').ComputedRef<boolean>;
|
|
22
21
|
};
|
|
@@ -30,54 +30,53 @@ function v(v, y) {
|
|
|
30
30
|
}), T = r({
|
|
31
31
|
entry: w,
|
|
32
32
|
props: () => S.value.componentProps
|
|
33
|
-
}), E = i(() => e(x, "default")), D = i(() => !f(C.value.src) && !d(C.value.src)), O = i(() =>
|
|
33
|
+
}), E = i(() => e(x, "default")), D = i(() => !f(C.value.src) && !d(C.value.src)), O = i(() => !f(C.value.fallback) && !d(C.value.fallback)), k = i(() => C.value.icon ?? "user"), A = i(() => !D.value && !E.value), j = i(() => {
|
|
34
34
|
let e = c(g, w.value?.tokens?.size);
|
|
35
35
|
return u(e, C.value.size);
|
|
36
|
-
}),
|
|
36
|
+
}), M = i(() => {
|
|
37
37
|
let e = c(p, w.value?.tokens?.color);
|
|
38
38
|
return u(e, C.value.color);
|
|
39
|
-
}),
|
|
39
|
+
}), N = i(() => {
|
|
40
40
|
let e = c(h, w.value?.tokens?.rounded);
|
|
41
41
|
return u(e, C.value.rounded);
|
|
42
|
-
}),
|
|
42
|
+
}), P = i(() => {
|
|
43
43
|
let e = c(m, w.value?.tokens?.iconSize);
|
|
44
44
|
return u(e, C.value.size);
|
|
45
|
-
}),
|
|
45
|
+
}), F = i(() => C.value.customProps), I = i(() => t(F.value?.root, S.value.inheritedAttrs, s({
|
|
46
46
|
"inline-flex shrink-0 items-center justify-center overflow-hidden": !0,
|
|
47
47
|
[T.value.root ?? ""]: !0,
|
|
48
|
-
[
|
|
49
|
-
[
|
|
50
|
-
[u(
|
|
51
|
-
[u(
|
|
52
|
-
}))),
|
|
48
|
+
[N.value ?? ""]: !0,
|
|
49
|
+
[j.value ?? ""]: A.value || E.value || D.value,
|
|
50
|
+
[u(M.value, "background") ?? ""]: A.value,
|
|
51
|
+
[u(M.value, "text") ?? ""]: A.value
|
|
52
|
+
}))), L = i(() => t(F.value?.image, {
|
|
53
53
|
alt: C.value.alt,
|
|
54
54
|
src: C.value.src
|
|
55
55
|
}, s({
|
|
56
56
|
"shrink-0 object-cover object-center": !0,
|
|
57
|
-
[
|
|
58
|
-
[
|
|
57
|
+
[j.value ?? ""]: !0,
|
|
58
|
+
[N.value ?? ""]: !0,
|
|
59
59
|
[T.value.image ?? ""]: !0
|
|
60
|
-
}))),
|
|
60
|
+
}))), R = i(() => t(F.value?.fallback, {}, s({
|
|
61
61
|
"font-medium": !0,
|
|
62
|
-
[u(
|
|
63
|
-
[u(
|
|
62
|
+
[u(P.value, "label") ?? ""]: !0,
|
|
63
|
+
[u(M.value, "text") ?? ""]: !0,
|
|
64
64
|
[T.value.fallback ?? ""]: !0
|
|
65
65
|
})));
|
|
66
66
|
return {
|
|
67
67
|
slots: x,
|
|
68
68
|
merged: C,
|
|
69
|
-
rootBind:
|
|
70
|
-
iconBind: i(() => t(
|
|
69
|
+
rootBind: I,
|
|
70
|
+
iconBind: i(() => t(F.value?.icon, {}, s({
|
|
71
71
|
"shrink-0": !0,
|
|
72
|
-
[u(
|
|
73
|
-
[u(
|
|
72
|
+
[u(P.value, "icon") ?? ""]: !0,
|
|
73
|
+
[u(M.value, "text") ?? ""]: !0
|
|
74
74
|
}))),
|
|
75
75
|
hasImage: D,
|
|
76
|
-
imageBind:
|
|
77
|
-
fallbackBind:
|
|
78
|
-
resolvedIcon:
|
|
79
|
-
|
|
80
|
-
hasFallbackText: k,
|
|
76
|
+
imageBind: L,
|
|
77
|
+
fallbackBind: R,
|
|
78
|
+
resolvedIcon: k,
|
|
79
|
+
hasFallbackText: O,
|
|
81
80
|
hasCustomContent: E
|
|
82
81
|
};
|
|
83
82
|
}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { BadgeOwnProps } from './badge.types';
|
|
2
|
-
declare
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<BadgeOwnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
3
8
|
declare const _default: typeof __VLS_export;
|
|
4
9
|
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { createBlock as n, createElementBlock as r, defineComponent as i, guardReactiveProps as a, normalizeProps as o, openBlock as s, resolveDynamicComponent as c, unref as l, useSlots as u } from "vue";
|
|
1
|
+
import { useBadge as e } from "./composables/useBadge.js";
|
|
2
|
+
import { createElementBlock as t, defineComponent as n, guardReactiveProps as r, normalizeProps as i, openBlock as a, renderSlot as o, unref as s } from "vue";
|
|
4
3
|
//#region src/Components/Badge/Badge.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var
|
|
4
|
+
var c = /*@__PURE__*/ n({
|
|
6
5
|
inheritAttrs: !1,
|
|
7
6
|
__name: "Badge",
|
|
8
7
|
props: {
|
|
@@ -14,16 +13,16 @@ var d = /*@__PURE__*/ i({
|
|
|
14
13
|
size: {},
|
|
15
14
|
variant: {}
|
|
16
15
|
},
|
|
17
|
-
setup(
|
|
18
|
-
let
|
|
16
|
+
setup(n) {
|
|
17
|
+
let { rootBind: c } = e(n, {
|
|
19
18
|
size: "sm",
|
|
20
19
|
rounded: "md",
|
|
21
20
|
variant: "flat",
|
|
22
21
|
color: "primary",
|
|
23
22
|
density: "default"
|
|
24
23
|
});
|
|
25
|
-
return (
|
|
24
|
+
return (e, n) => (a(), t("span", i(r(s(c))), [o(e.$slots, "default")], 16));
|
|
26
25
|
}
|
|
27
26
|
});
|
|
28
27
|
//#endregion
|
|
29
|
-
export {
|
|
28
|
+
export { c as default };
|
|
@@ -1,41 +1,45 @@
|
|
|
1
|
-
import { hasNamedSlot as e, hasSlotOrProp as t,
|
|
2
|
-
import
|
|
3
|
-
import { computed as a,
|
|
1
|
+
import { hasNamedSlot as e, hasSlotOrProp as t, isPropPresent as n } from "../../Utils/slotOrProp.js";
|
|
2
|
+
import r from "./BaseFieldLabel.js";
|
|
3
|
+
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeProps as h, openBlock as g, renderSlot as _, toDisplayString as v, unref as y, useSlots as b, withCtx as x } from "vue";
|
|
4
4
|
//#region src/Components/BaseField/BaseField.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var
|
|
5
|
+
var S = [
|
|
6
6
|
"data-invalid",
|
|
7
7
|
"aria-disabled",
|
|
8
8
|
"aria-readonly"
|
|
9
|
-
],
|
|
9
|
+
], C = ["id"], w = ["id", "aria-hidden"], T = /*@__PURE__*/ f({
|
|
10
10
|
inheritAttrs: !1,
|
|
11
11
|
__name: "BaseField",
|
|
12
12
|
props: { field: {} },
|
|
13
|
-
setup(
|
|
14
|
-
let
|
|
15
|
-
...
|
|
13
|
+
setup(f) {
|
|
14
|
+
let T = f, E = b(), D = a(() => ({
|
|
15
|
+
...T.field,
|
|
16
16
|
slots: {
|
|
17
|
-
...
|
|
18
|
-
...
|
|
17
|
+
...T.field.slots,
|
|
18
|
+
...E
|
|
19
19
|
}
|
|
20
|
-
})),
|
|
21
|
-
return (a,
|
|
22
|
-
"data-invalid":
|
|
23
|
-
"aria-disabled":
|
|
24
|
-
"aria-readonly":
|
|
20
|
+
})), O = a(() => t(E, "label", D.value.merged.value.label) || t(E, "corner", D.value.merged.value.corner));
|
|
21
|
+
return (a, f) => (g(), s("div", m(D.value.rootBind.value, {
|
|
22
|
+
"data-invalid": D.value.invalidated.value || void 0,
|
|
23
|
+
"aria-disabled": D.value.isDisabled.value || void 0,
|
|
24
|
+
"aria-readonly": D.value.isReadonly.value || void 0
|
|
25
25
|
}), [
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
O.value ? (g(), s("div", h(m({ key: 0 }, D.value.headerBind.value)), [d(r, { api: D.value }, l({ _: 2 }, [y(e)(y(E), "label") ? {
|
|
27
|
+
name: "label",
|
|
28
|
+
fn: x(() => [_(a.$slots, "label")]),
|
|
29
|
+
key: "0"
|
|
30
|
+
} : void 0]), 1032, ["api"]), y(t)(y(E), "corner", D.value.merged.value.corner) ? (g(), s("span", h(m({ key: 0 }, D.value.cornerBind.value)), [y(e)(y(E), "corner") ? _(a.$slots, "corner", {}, void 0, void 0, 0) : y(n)(D.value.merged.value.corner) ? (g(), s(i, { key: 1 }, [u(v(D.value.merged.value.corner), 1)], 64)) : o("", !0)], 16)) : o("", !0)], 16)) : o("", !0),
|
|
31
|
+
c("div", h(p(D.value.groupBind.value)), [
|
|
32
|
+
y(e)(y(E), "start") ? (g(), s("div", h(m({ key: 0 }, D.value.startSlotBind.value)), [_(a.$slots, "start")], 16)) : o("", !0),
|
|
33
|
+
_(a.$slots, "default"),
|
|
34
|
+
y(e)(y(E), "end") ? (g(), s("div", h(m({ key: 1 }, D.value.endSlotBind.value)), [_(a.$slots, "end")], 16)) : o("", !0)
|
|
31
35
|
], 16),
|
|
32
|
-
!
|
|
33
|
-
|
|
34
|
-
id: `${
|
|
35
|
-
"aria-hidden": !
|
|
36
|
-
}), [
|
|
37
|
-
], 16,
|
|
36
|
+
!D.value.invalidated.value && y(t)(y(E), "description", D.value.merged.value.description) ? (g(), s("p", m({ key: 1 }, D.value.descriptionBind.value, { id: `${D.value.controlId.value}-description` }), [y(e)(y(E), "description") ? _(a.$slots, "description", {}, void 0, void 0, 0) : y(n)(D.value.merged.value.description) ? (g(), s(i, { key: 1 }, [u(v(D.value.merged.value.description), 1)], 64)) : o("", !0)], 16, C)) : o("", !0),
|
|
37
|
+
D.value.merged.value.hideErrorMessage ? o("", !0) : (g(), s("p", m({ key: 2 }, D.value.errorBind.value, {
|
|
38
|
+
id: `${D.value.controlId.value}-error`,
|
|
39
|
+
"aria-hidden": !D.value.showErrorMessageContent.value || void 0
|
|
40
|
+
}), [D.value.showErrorMessageContent.value ? (g(), s(i, { key: 0 }, [y(e)(y(E), "errorMessage") ? _(a.$slots, "errorMessage", {}, void 0, void 0, 0) : y(n)(D.value.merged.value.errorMessage) ? (g(), s(i, { key: 1 }, [u(v(D.value.merged.value.errorMessage), 1)], 64)) : o("", !0)], 64)) : o("", !0)], 16, w))
|
|
41
|
+
], 16, S));
|
|
38
42
|
}
|
|
39
43
|
});
|
|
40
44
|
//#endregion
|
|
41
|
-
export {
|
|
45
|
+
export { T as default };
|
|
@@ -2,6 +2,16 @@ import { UseBaseFieldReturn } from './composables/useBaseField';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
api: UseBaseFieldReturn;
|
|
4
4
|
};
|
|
5
|
-
declare
|
|
5
|
+
declare var __VLS_8: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
label?: (props: typeof __VLS_8) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
6
11
|
declare const _default: typeof __VLS_export;
|
|
7
12
|
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|