@bridge-ui/vue 0.6.0 → 0.8.0
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-forms/SKILL.md +1 -1
- package/dist/Adapters/I18n/useI18nAdapter.d.ts +1 -1
- package/dist/Adapters/I18n/useI18nAdapter.js +4 -1
- package/dist/Components/Accordion/Accordion.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Accordion/accordion.types.d.ts +2 -2
- package/dist/Components/Alert/Alert.vue_vue_type_script_setup_true_lang.js +13 -13
- package/dist/Components/Alert/alert.types.d.ts +7 -4
- package/dist/Components/Alert/composables/useAlert.d.ts +1 -0
- package/dist/Components/Alert/composables/useAlert.js +60 -57
- package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +1 -1
- package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +5 -3
- package/dist/Components/BaseField/BaseField.vue_vue_type_script_setup_true_lang.js +33 -28
- package/dist/Components/BaseField/BaseFieldCorner.js +5 -0
- package/dist/Components/BaseField/BaseFieldCorner.vue.d.ts +17 -0
- package/dist/Components/BaseField/BaseFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/Components/BaseField/baseField.types.d.ts +19 -6
- package/dist/Components/BaseField/composables/useBaseField.d.ts +7 -3
- package/dist/Components/BaseField/composables/useBaseField.js +71 -68
- package/dist/Components/Button/Button.vue_vue_type_script_setup_true_lang.js +24 -25
- package/dist/Components/Button/composables/useButton.d.ts +3 -1
- package/dist/Components/Button/composables/useButton.js +46 -40
- package/dist/Components/Calendar/composables/useCalendar.d.ts +1 -1
- package/dist/Components/CalendarDate/composables/useCalendarDate.d.ts +1 -1
- package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +1 -1
- package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +1 -1
- package/dist/Components/CalendarYear/composables/useCalendarYear.d.ts +1 -1
- package/dist/Components/ColorField/ColorField.vue.d.ts +1 -1
- package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/ColorField/composables/useColorField.d.ts +6 -4
- package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +1 -1
- package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +154 -131
- package/dist/Components/DataTable/DataTablePagination.js +5 -0
- package/dist/Components/DataTable/DataTablePagination.vue.d.ts +24 -0
- package/dist/Components/DataTable/DataTablePagination.vue_vue_type_script_setup_true_lang.js +40 -0
- package/dist/Components/DataTable/composables/useDataTable.d.ts +9 -4
- package/dist/Components/DataTable/composables/useDataTable.js +299 -280
- package/dist/Components/DataTable/composables/useDataTablePagination.d.ts +69 -0
- package/dist/Components/DataTable/composables/useDataTablePagination.js +130 -0
- package/dist/Components/DataTable/dataTable.types.d.ts +27 -12
- package/dist/Components/DataTable/dataTablePagination.types.d.ts +169 -0
- package/dist/Components/DataTable/index.d.ts +2 -1
- package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/DateField/composables/useDateField.d.ts +6 -4
- package/dist/Components/DatePicker/composables/useDatePicker.d.ts +1 -1
- package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +6 -4
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.d.ts +1 -1
- package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +6 -4
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.d.ts +1 -1
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +6 -4
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.d.ts +1 -1
- package/dist/Components/FormControl/composables/useFormControl.d.ts +3 -1
- package/dist/Components/FormControl/composables/useFormControl.js +39 -38
- package/dist/Components/FormField/FilledFormField.vue.d.ts +7 -7
- package/dist/Components/FormField/FilledFormField.vue_vue_type_script_setup_true_lang.js +32 -27
- package/dist/Components/FormField/FormFieldCorner.js +5 -0
- package/dist/Components/FormField/FormFieldCorner.vue.d.ts +17 -0
- package/dist/Components/FormField/FormFieldCorner.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/Components/FormField/NotchedFormField.vue.d.ts +7 -7
- package/dist/Components/FormField/NotchedFormField.vue_vue_type_script_setup_true_lang.js +14 -9
- package/dist/Components/FormField/OutlinedFormField.vue.d.ts +7 -7
- package/dist/Components/FormField/OutlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
- package/dist/Components/FormField/StackedFormField.vue.d.ts +6 -6
- package/dist/Components/FormField/StackedFormField.vue_vue_type_script_setup_true_lang.js +14 -9
- package/dist/Components/FormField/UnderlinedFormField.vue.d.ts +7 -7
- package/dist/Components/FormField/UnderlinedFormField.vue_vue_type_script_setup_true_lang.js +32 -27
- package/dist/Components/FormField/composables/useFormField.d.ts +8 -4
- package/dist/Components/FormField/composables/useFormField.js +153 -143
- package/dist/Components/FormField/formField.types.d.ts +18 -6
- package/dist/Components/Listbox/Listbox.vue.d.ts +1 -1
- package/dist/Components/NumberField/NumberField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/NumberField/composables/useNumberField.d.ts +5 -3
- package/dist/Components/OtpField/OtpField.vue.d.ts +1 -8
- package/dist/Components/OtpField/OtpField.vue_vue_type_script_setup_true_lang.js +7 -6
- package/dist/Components/OtpField/composables/useOtpField.d.ts +4 -2
- package/dist/Components/Pagination/Pagination.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/Components/Pagination/composables/usePagination.d.ts +4 -2
- package/dist/Components/Pagination/composables/usePagination.js +125 -127
- package/dist/Components/Pagination/pagination.types.d.ts +5 -5
- package/dist/Components/PasswordField/PasswordField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/PasswordField/composables/usePasswordField.d.ts +5 -3
- package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/Select/composables/useSelect.d.ts +5 -3
- package/dist/Components/Sidebar/composables/useSidebarList.js +1 -1
- package/dist/Components/Sidebar/composables/useSidebarShell.js +1 -1
- package/dist/Components/Slider/Slider.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/Slider/composables/useSlider.d.ts +5 -3
- package/dist/Components/Tabs/Tabs.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/Tabs/composables/useTabs.js +16 -10
- package/dist/Components/Tabs/tabs.types.d.ts +3 -3
- package/dist/Components/TextField/TextField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/TextField/composables/useTextField.d.ts +5 -3
- package/dist/Components/Textarea/Textarea.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/Textarea/composables/useTextarea.d.ts +5 -3
- package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/TimeField/composables/useTimeField.d.ts +6 -4
- package/dist/Components/TimePanel/composables/useTimePanel.d.ts +1 -1
- package/dist/Components/TimePicker/composables/useTimePicker.d.ts +1 -1
- package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +6 -4
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.d.ts +1 -1
- package/dist/Components/Tooltip/composables/useTooltip.d.ts +1 -1
- package/dist/Utils/index.d.ts +11 -2
- package/dist/Utils/index.js +31 -27
- package/dist/augments.d.ts +8 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/docs/components/Accordion.md +1 -1
- package/docs/components/Alert.md +4 -2
- package/docs/components/BaseField.md +19 -18
- package/docs/components/BridgeUIProvider.md +14 -7
- package/docs/components/DataTable.md +5 -11
- package/docs/components/FormControl.md +1 -1
- package/docs/components/FormField.md +28 -27
- package/docs/components/I18n.md +65 -24
- package/docs/components/Pagination.md +5 -3
- package/docs/components/Table.md +2 -2
- package/docs/components/Tabs.md +24 -6
- package/docs/examples/i18n-dictionary.ts +28 -10
- package/docs/examples/i18n-vue-i18n.ts +7 -6
- package/docs/examples/icon-fontawesome.ts +4 -0
- package/docs/examples/icon-heroicons.ts +5 -1
- package/docs/examples/icon-lucide.ts +4 -0
- package/docs/examples/icon-phosphor.ts +4 -0
- package/docs/examples/icon-tabler.ts +4 -0
- package/package.json +2 -2
|
@@ -18,7 +18,8 @@ var g = [
|
|
|
18
18
|
"customProps",
|
|
19
19
|
"description",
|
|
20
20
|
"errorMessage",
|
|
21
|
-
"hideErrorMessage"
|
|
21
|
+
"hideErrorMessage",
|
|
22
|
+
"showDescriptionOnError"
|
|
22
23
|
];
|
|
23
24
|
function _(_, v = {
|
|
24
25
|
size: "md",
|
|
@@ -31,99 +32,101 @@ function _(_, v = {
|
|
|
31
32
|
...b,
|
|
32
33
|
...o(_)
|
|
33
34
|
}
|
|
34
|
-
})), { merged:
|
|
35
|
+
})), w = y.componentName ?? "BaseField", { merged: T, entry: E, chromeEntry: D } = r({
|
|
35
36
|
libDefaults: v,
|
|
36
|
-
componentName:
|
|
37
|
+
componentName: w,
|
|
37
38
|
props: () => C.value.componentProps
|
|
38
|
-
}),
|
|
39
|
-
entry:
|
|
39
|
+
}), O = i({
|
|
40
|
+
entry: E,
|
|
41
|
+
chromeEntry: D,
|
|
40
42
|
props: () => C.value.componentProps
|
|
41
|
-
}),
|
|
42
|
-
let e = m(f, u(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}), N = a(() => !w.value.hideErrorMessage), P = a(() => O.value && e(x, "errorMessage", w.value.errorMessage)), F = a(() => {
|
|
49
|
-
let t = [];
|
|
50
|
-
return !O.value && e(x, "description", w.value.description) && t.push(`${j.value}-description`), O.value && !w.value.hideErrorMessage && e(x, "errorMessage", w.value.errorMessage) && t.push(`${j.value}-error`), t.length > 0 ? t.join(" ") : void 0;
|
|
51
|
-
}), I = a(() => n(D.value?.root, {
|
|
43
|
+
}), k = a(() => T.value.customProps), A = a(() => T.value.error === !0), j = a(() => !!T.value.disabled), M = a(() => !!T.value.readonly), N = a(() => T.value.controlId ?? C.value.inheritedAttrs.id ?? S), P = a(() => {
|
|
44
|
+
let e = w !== "BaseField", t = m(f, u(D.value, ["tokens", "size"]), e ? void 0 : u(E.value, ["tokens", "size"]));
|
|
45
|
+
return u(t, T.value.size ?? "md");
|
|
46
|
+
}), F = a(() => !T.value.hideErrorMessage && !e(x, "description", T.value.description)), I = a(() => A.value && !T.value.hideErrorMessage && e(x, "errorMessage", T.value.errorMessage)), L = a(() => e(x, "description", T.value.description) ? !I.value || T.value.showDescriptionOnError === !0 : !1), R = a(() => I.value || F.value), z = a(() => {
|
|
47
|
+
let e = [];
|
|
48
|
+
return L.value && e.push(`${N.value}-description`), I.value && e.push(`${N.value}-error`), e.length > 0 ? e.join(" ") : void 0;
|
|
49
|
+
}), B = a(() => n(k.value?.root, {
|
|
52
50
|
class: p(C.value.inheritedAttrs.class),
|
|
53
51
|
...d(C.value.inheritedAttrs, ["class", "id"])
|
|
54
52
|
}, p({
|
|
55
53
|
"group w-full relative": !0,
|
|
56
54
|
"aria-disabled:pointer-events-none aria-disabled:select-none aria-disabled:opacity-60": !0,
|
|
57
55
|
"aria-readonly:pointer-events-none aria-readonly:select-none": !0,
|
|
58
|
-
[
|
|
59
|
-
}))),
|
|
56
|
+
[O.value.root ?? ""]: !0
|
|
57
|
+
}))), V = a(() => n(k.value?.header, {}, p({
|
|
60
58
|
"flex w-full gap-x-2 mb-1.5": !0,
|
|
61
|
-
"justify-between items-end": e(x, "label",
|
|
62
|
-
"justify-end": !e(x, "label",
|
|
63
|
-
[
|
|
64
|
-
}))),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
"justify-between items-end": e(x, "label", T.value.label),
|
|
60
|
+
"justify-end": !e(x, "label", T.value.label),
|
|
61
|
+
[O.value.header ?? ""]: !0
|
|
62
|
+
}))), H = a(() => {
|
|
63
|
+
let e = y.labelHtmlFor ?? ((e) => e);
|
|
64
|
+
return t(k.value?.corner, {
|
|
65
|
+
size: T.value.size,
|
|
66
|
+
for: e(N.value),
|
|
67
|
+
classes: { root: p({ [O.value.corner ?? ""]: !0 }) }
|
|
68
|
+
});
|
|
69
|
+
}), U = a(() => n(k.value?.group, {
|
|
69
70
|
role: "group",
|
|
70
|
-
id:
|
|
71
|
-
"aria-describedby":
|
|
72
|
-
"aria-disabled":
|
|
73
|
-
"aria-invalid":
|
|
71
|
+
id: N.value,
|
|
72
|
+
"aria-describedby": z.value,
|
|
73
|
+
"aria-disabled": j.value || void 0,
|
|
74
|
+
"aria-invalid": A.value || void 0
|
|
74
75
|
}, p({
|
|
75
76
|
"flex flex-wrap items-center": !0,
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
}))),
|
|
77
|
+
[P.value?.group ?? ""]: !0,
|
|
78
|
+
[O.value.group ?? ""]: !0
|
|
79
|
+
}))), W = a(() => n(k.value?.start, {}, p({
|
|
79
80
|
"group/start wrapper-start-slot shrink-0 flex items-center [&>*]:min-h-0": !0,
|
|
80
|
-
[
|
|
81
|
-
}))),
|
|
81
|
+
[O.value.start ?? ""]: !0
|
|
82
|
+
}))), G = a(() => n(k.value?.end, {}, p({
|
|
82
83
|
"group/end wrapper-end-slot shrink-0 flex items-center [&>*]:min-h-0": !0,
|
|
83
|
-
[
|
|
84
|
-
}))),
|
|
85
|
-
"mt-
|
|
86
|
-
[
|
|
87
|
-
[
|
|
84
|
+
[O.value.end ?? ""]: !0
|
|
85
|
+
}))), K = a(() => n(k.value?.description, {}, p({
|
|
86
|
+
"mt-1 px-1 text-dark-500 dark:text-dark-400": !0,
|
|
87
|
+
[P.value?.text ?? ""]: !0,
|
|
88
|
+
[O.value.description ?? ""]: !0
|
|
88
89
|
})));
|
|
89
90
|
return {
|
|
90
91
|
slots: x,
|
|
91
|
-
merged:
|
|
92
|
-
rootBind:
|
|
93
|
-
errorBind: a(() => n(
|
|
94
|
-
"mt-
|
|
95
|
-
"min-h-[1lh]":
|
|
92
|
+
merged: T,
|
|
93
|
+
rootBind: B,
|
|
94
|
+
errorBind: a(() => n(k.value?.errorMessage, {}, p({
|
|
95
|
+
"mt-1 px-1": !0,
|
|
96
|
+
"min-h-[1lh]": F.value,
|
|
96
97
|
"text-error-600 dark:text-error-400": !0,
|
|
97
|
-
[
|
|
98
|
-
[
|
|
98
|
+
[P.value?.text ?? ""]: !0,
|
|
99
|
+
[O.value.errorMessage ?? ""]: !0
|
|
99
100
|
}))),
|
|
100
|
-
groupBind:
|
|
101
|
-
controlId:
|
|
102
|
-
headerBind:
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
ariaDescribedBy: F,
|
|
101
|
+
groupBind: U,
|
|
102
|
+
controlId: N,
|
|
103
|
+
headerBind: V,
|
|
104
|
+
isDisabled: j,
|
|
105
|
+
isReadonly: M,
|
|
106
|
+
sizeClasses: P,
|
|
107
|
+
endSlotBind: G,
|
|
108
|
+
invalidated: A,
|
|
109
|
+
startSlotBind: W,
|
|
110
|
+
mergedClasses: O,
|
|
111
|
+
ariaDescribedBy: z,
|
|
112
112
|
fieldLabelProps: a(() => {
|
|
113
113
|
let e = y.labelHtmlFor ?? ((e) => e);
|
|
114
|
-
return t(
|
|
115
|
-
size:
|
|
116
|
-
error:
|
|
117
|
-
required:
|
|
118
|
-
for: e(
|
|
114
|
+
return t(k.value?.label, {
|
|
115
|
+
size: T.value.size,
|
|
116
|
+
error: A.value,
|
|
117
|
+
required: T.value.required,
|
|
118
|
+
for: e(N.value),
|
|
119
119
|
classes: {
|
|
120
|
-
required:
|
|
121
|
-
root: p({ [
|
|
120
|
+
required: O.value.required,
|
|
121
|
+
root: p({ [O.value.label ?? ""]: !0 })
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
124
|
}),
|
|
125
|
-
descriptionBind:
|
|
126
|
-
|
|
125
|
+
descriptionBind: K,
|
|
126
|
+
fieldCornerProps: H,
|
|
127
|
+
showErrorMessageRow: R,
|
|
128
|
+
showDescriptionContent: L,
|
|
129
|
+
showErrorMessageContent: I
|
|
127
130
|
};
|
|
128
131
|
}
|
|
129
132
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { hasNamedSlot as e, isPropPresent as t } from "../../Utils/slotOrProp.js";
|
|
2
2
|
import n from "../Icon/Icon.js";
|
|
3
3
|
import { useButton as r } from "./composables/useButton.js";
|
|
4
|
-
import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s,
|
|
4
|
+
import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeProps as m, openBlock as h, renderSlot as g, resolveDynamicComponent as _, toDisplayString as v, unref as y, useSlots as b, withCtx as x } from "vue";
|
|
5
5
|
//#region src/Components/Button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
6
|
+
var S = /*@__PURE__*/ d({
|
|
7
7
|
inheritAttrs: !1,
|
|
8
8
|
__name: "Button",
|
|
9
9
|
props: {
|
|
@@ -25,8 +25,8 @@ var y = /*@__PURE__*/ l({
|
|
|
25
25
|
text: {},
|
|
26
26
|
variant: {}
|
|
27
27
|
},
|
|
28
|
-
setup(
|
|
29
|
-
let
|
|
28
|
+
setup(d) {
|
|
29
|
+
let S = d, C = b(), { tag: w, merged: T, isMini: E, iconBind: D, rootBind: O, rootHref: k, rootType: A, endIconBind: j, contentBind: M, endSlotBind: N, rootAriaBusy: P, rootDisabled: F, startIconBind: I, startSlotBind: L, loadingIconBind: R, loadingWrapBind: z, rootAriaDisabled: B } = r(S, {
|
|
30
30
|
size: "md",
|
|
31
31
|
as: "button",
|
|
32
32
|
rounded: "md",
|
|
@@ -34,30 +34,29 @@ var y = /*@__PURE__*/ l({
|
|
|
34
34
|
variant: "solid",
|
|
35
35
|
density: "default"
|
|
36
36
|
});
|
|
37
|
-
return (r,
|
|
38
|
-
type:
|
|
39
|
-
disabled:
|
|
40
|
-
"aria-busy":
|
|
41
|
-
"aria-disabled":
|
|
37
|
+
return (r, d) => (h(), a(_(y(w)), p({ href: y(k) }, y(O), {
|
|
38
|
+
type: y(A),
|
|
39
|
+
disabled: y(F),
|
|
40
|
+
"aria-busy": y(P),
|
|
41
|
+
"aria-disabled": y(B)
|
|
42
42
|
}), {
|
|
43
|
-
default:
|
|
44
|
-
key: 0,
|
|
43
|
+
default: x(() => [y(T).loading ? (h(), s("span", m(p({ key: 0 }, y(z))), [u(y(n), p({
|
|
45
44
|
icon: "loader",
|
|
46
|
-
size:
|
|
47
|
-
},
|
|
48
|
-
icon:
|
|
49
|
-
size:
|
|
50
|
-
}), null, 16, ["icon", "size"])) : o("", !0)], 64)) : (
|
|
51
|
-
|
|
45
|
+
size: y(T).size
|
|
46
|
+
}, y(R)), null, 16, ["size"])], 16)) : o("", !0), c("span", m(f(y(M))), [y(E) ? (h(), s(i, { key: 0 }, [y(e)(y(C), "default") ? g(r.$slots, "default", {}, void 0, void 0, 0) : y(T).icon ? (h(), a(y(n), p({ key: 1 }, y(D), {
|
|
47
|
+
icon: y(T).icon,
|
|
48
|
+
size: y(T).size
|
|
49
|
+
}), null, 16, ["icon", "size"])) : o("", !0)], 64)) : (h(), s(i, { key: 1 }, [
|
|
50
|
+
y(T).startIcon ? (h(), a(y(n), p({
|
|
52
51
|
key: 0,
|
|
53
|
-
size:
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
size: y(T).size
|
|
53
|
+
}, y(I), { icon: y(T).startIcon }), null, 16, ["size", "icon"])) : y(e)(y(C), "start") ? (h(), s("div", m(p({ key: 1 }, y(L))), [g(r.$slots, "start")], 16)) : o("", !0),
|
|
54
|
+
y(t)(y(T).text) ? (h(), s(i, { key: 2 }, [l(v(y(T).text), 1)], 64)) : y(e)(y(C), "default") ? g(r.$slots, "default", {}, void 0, void 0, 3) : o("", !0),
|
|
55
|
+
y(T).endIcon ? (h(), a(y(n), p({
|
|
57
56
|
key: 4,
|
|
58
|
-
size:
|
|
59
|
-
},
|
|
60
|
-
], 64))]),
|
|
57
|
+
size: y(T).size
|
|
58
|
+
}, y(j), { icon: y(T).endIcon }), null, 16, ["size", "icon"])) : y(e)(y(C), "end") ? (h(), s("div", m(p({ key: 5 }, y(N))), [g(r.$slots, "end")], 16)) : o("", !0)
|
|
59
|
+
], 64))], 16)]),
|
|
61
60
|
_: 3
|
|
62
61
|
}, 16, [
|
|
63
62
|
"href",
|
|
@@ -69,4 +68,4 @@ var y = /*@__PURE__*/ l({
|
|
|
69
68
|
}
|
|
70
69
|
});
|
|
71
70
|
//#endregion
|
|
72
|
-
export {
|
|
71
|
+
export { S as default };
|
|
@@ -10,16 +10,18 @@ export declare function useButton(props: ButtonOwnProps, libDefaults: ButtonLibD
|
|
|
10
10
|
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
|
|
11
11
|
"aria-pressed": boolean | undefined;
|
|
12
12
|
class: string;
|
|
13
|
-
}, "class", import('vue').HTMLAttributes | undefined, Omit<ButtonProps, "color" | "href" | "icon" | "size" | "classes" | "customProps" | "full" | "rounded" | "variant" | "text" | "disabled" | "endIcon" | "startIcon" | "
|
|
13
|
+
}, "class", import('vue').HTMLAttributes | undefined, Omit<ButtonProps, "color" | "href" | "icon" | "size" | "classes" | "customProps" | "full" | "rounded" | "variant" | "text" | "disabled" | "endIcon" | "startIcon" | "loading" | "as" | "density" | "selected">>>;
|
|
14
14
|
rootHref: import('vue').ComputedRef<string | undefined>;
|
|
15
15
|
rootType: import('vue').ComputedRef<"button" | undefined>;
|
|
16
16
|
endIconBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", Partial<Omit<import('../../Icon').IconProps, "icon">> | undefined, {}>>;
|
|
17
|
+
contentBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
|
|
17
18
|
endSlotBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
18
19
|
rootAriaBusy: import('vue').ComputedRef<true | undefined>;
|
|
19
20
|
rootDisabled: import('vue').ComputedRef<boolean | undefined>;
|
|
20
21
|
startIconBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", Partial<Omit<import('../../Icon').IconProps, "icon">> | undefined, {}>>;
|
|
21
22
|
startSlotBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
22
23
|
loadingIconBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", Partial<Omit<import('../../Icon').IconProps, "icon">> | undefined, {}>>;
|
|
24
|
+
loadingWrapBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
|
|
23
25
|
rootAriaDisabled: import('vue').ComputedRef<true | undefined>;
|
|
24
26
|
};
|
|
25
27
|
export {};
|
|
@@ -67,59 +67,65 @@ function _(_, v) {
|
|
|
67
67
|
}), B = i(() => {
|
|
68
68
|
let e = m(d, w.value?.tokens?.rounded);
|
|
69
69
|
return s(e, C.value.rounded);
|
|
70
|
-
})
|
|
70
|
+
}), V = i(() => e(T.value?.icon, {}, p({
|
|
71
|
+
"shrink-0": !0,
|
|
72
|
+
[E.value.icon ?? ""]: !0
|
|
73
|
+
}))), H = i(() => e(T.value?.root, x.value.inheritedAttrs, {
|
|
74
|
+
"aria-pressed": l(C.value.selected) ? void 0 : C.value.selected,
|
|
75
|
+
class: p({
|
|
76
|
+
"inline-flex items-center justify-center": !0,
|
|
77
|
+
"cursor-pointer outline-none outline-hidden": !0,
|
|
78
|
+
"shrink-0": A.value,
|
|
79
|
+
[L.value ?? ""]: !0,
|
|
80
|
+
[B.value ?? ""]: !0,
|
|
81
|
+
"h-auto": A.value && !l(b) && b.value?.density !== "mini",
|
|
82
|
+
"border border-transparent": !l(b) && R.value !== "outline",
|
|
83
|
+
"w-full": !A.value && C.value.full,
|
|
84
|
+
"w-fit": !A.value && !C.value.full,
|
|
85
|
+
"group hover:shadow-xs": !A.value,
|
|
86
|
+
[s(z.value, "base") ?? ""]: !0,
|
|
87
|
+
[s(z.value, "hover") ?? ""]: !0,
|
|
88
|
+
[s(z.value, "focus") ?? ""]: !0,
|
|
89
|
+
[s(z.value, "selected") ?? ""]: C.value.selected === !0,
|
|
90
|
+
relative: !0,
|
|
91
|
+
"z-10": C.value.selected === !0,
|
|
92
|
+
"transition-all ease-in-out duration-200": !0,
|
|
93
|
+
"focus:ring-2": !0,
|
|
94
|
+
"focus:ring-offset-background-white dark:focus:ring-offset-background-dark": !0,
|
|
95
|
+
"disabled:opacity-80 disabled:cursor-not-allowed": !0,
|
|
96
|
+
"aria-disabled:opacity-80 aria-disabled:cursor-not-allowed aria-disabled:pointer-events-none": !0,
|
|
97
|
+
[E.value.root ?? ""]: !0
|
|
98
|
+
})
|
|
99
|
+
})), U = i(() => e(T.value?.endIcon, {}, p({
|
|
100
|
+
"shrink-0": !0,
|
|
101
|
+
[E.value.endIcon ?? ""]: !0
|
|
102
|
+
}))), W = i(() => e(T.value?.end, {}, "inline-flex shrink-0 items-center")), G = i(() => e(T.value?.startIcon, {}, p({
|
|
103
|
+
"shrink-0": !0,
|
|
104
|
+
[E.value.startIcon ?? ""]: !0
|
|
105
|
+
}))), K = i(() => e(T.value?.start, {}, "inline-flex shrink-0 items-center")), q = i(() => e({}, {}, "pointer-events-none absolute inset-0 flex items-center justify-center"));
|
|
71
106
|
return {
|
|
72
107
|
tag: D,
|
|
73
108
|
merged: C,
|
|
74
109
|
isMini: A,
|
|
75
|
-
iconBind:
|
|
76
|
-
|
|
77
|
-
[E.value.icon ?? ""]: !0
|
|
78
|
-
}))),
|
|
79
|
-
rootBind: i(() => e(T.value?.root, x.value.inheritedAttrs, {
|
|
80
|
-
"aria-pressed": l(C.value.selected) ? void 0 : C.value.selected,
|
|
81
|
-
class: p({
|
|
82
|
-
"inline-flex items-center justify-center": !0,
|
|
83
|
-
"cursor-pointer outline-none outline-hidden": !0,
|
|
84
|
-
"shrink-0": A.value,
|
|
85
|
-
[L.value ?? ""]: !0,
|
|
86
|
-
[B.value ?? ""]: !0,
|
|
87
|
-
"h-auto": A.value && !l(b) && b.value?.density !== "mini",
|
|
88
|
-
"border border-transparent": !l(b) && R.value !== "outline",
|
|
89
|
-
"w-full": !A.value && C.value.full,
|
|
90
|
-
"w-fit": !A.value && !C.value.full,
|
|
91
|
-
"group hover:shadow-xs": !A.value,
|
|
92
|
-
[s(z.value, "base") ?? ""]: !0,
|
|
93
|
-
[s(z.value, "hover") ?? ""]: !0,
|
|
94
|
-
[s(z.value, "focus") ?? ""]: !0,
|
|
95
|
-
[s(z.value, "selected") ?? ""]: C.value.selected === !0,
|
|
96
|
-
"relative z-10": C.value.selected === !0,
|
|
97
|
-
"transition-all ease-in-out duration-200": !0,
|
|
98
|
-
"focus:ring-2": !0,
|
|
99
|
-
"focus:ring-offset-background-white dark:focus:ring-offset-background-dark": !0,
|
|
100
|
-
"disabled:opacity-80 disabled:cursor-not-allowed": !0,
|
|
101
|
-
"aria-disabled:opacity-80 aria-disabled:cursor-not-allowed aria-disabled:pointer-events-none": !0,
|
|
102
|
-
[E.value.root ?? ""]: !0
|
|
103
|
-
})
|
|
104
|
-
})),
|
|
110
|
+
iconBind: V,
|
|
111
|
+
rootBind: H,
|
|
105
112
|
rootHref: F,
|
|
106
113
|
rootType: I,
|
|
107
|
-
endIconBind:
|
|
108
|
-
|
|
109
|
-
|
|
114
|
+
endIconBind: U,
|
|
115
|
+
contentBind: i(() => e({}, {}, p({
|
|
116
|
+
contents: !0,
|
|
117
|
+
invisible: C.value.loading
|
|
110
118
|
}))),
|
|
111
|
-
endSlotBind:
|
|
119
|
+
endSlotBind: W,
|
|
112
120
|
rootAriaBusy: N,
|
|
113
121
|
rootDisabled: M,
|
|
114
|
-
startIconBind:
|
|
115
|
-
|
|
116
|
-
[E.value.startIcon ?? ""]: !0
|
|
117
|
-
}))),
|
|
118
|
-
startSlotBind: i(() => e(T.value?.start, {}, "inline-flex shrink-0 items-center")),
|
|
122
|
+
startIconBind: G,
|
|
123
|
+
startSlotBind: K,
|
|
119
124
|
loadingIconBind: i(() => e(T.value?.loading, {}, p({
|
|
120
125
|
"shrink-0 animate-spin": !0,
|
|
121
126
|
[E.value.loading ?? ""]: !0
|
|
122
127
|
}))),
|
|
128
|
+
loadingWrapBind: q,
|
|
123
129
|
rootAriaDisabled: P
|
|
124
130
|
};
|
|
125
131
|
}
|
|
@@ -26,7 +26,7 @@ export declare function useCalendar(props: MaybeRefOrGetter<CalendarOwnProps>, l
|
|
|
26
26
|
}>;
|
|
27
27
|
context: import('vue').ComputedRef<DateAdapterContext>;
|
|
28
28
|
showNav: import('vue').ComputedRef<boolean>;
|
|
29
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarOwnProps, "error" | "color" | "fill" | "value" | "classes" | "customProps" | "rounded" | "view" | "disabled" | "
|
|
29
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarOwnProps, "error" | "color" | "fill" | "value" | "classes" | "customProps" | "rounded" | "view" | "disabled" | "hideMonths" | "hideOutsideDays" | "hideWeekdays" | "hideYears" | "multiple" | "range" | "startOfWeek" | "timeZone" | "defaultValue" | "readOnly" | "disableDates" | "disableMonths" | "disableYears" | "maxDate" | "minDate" | "previewDate" | "viewDate" | "defaultView">>>>;
|
|
30
30
|
viewDate: import('vue').ComputedRef<Date>;
|
|
31
31
|
viewYear: import('vue').ComputedRef<number>;
|
|
32
32
|
bodyBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
@@ -15,7 +15,7 @@ export declare function useCalendarDate(props: MaybeRefOrGetter<CalendarDateOwnP
|
|
|
15
15
|
value: import('vue').ComputedRef<DatePickerModel>;
|
|
16
16
|
merged: import('vue').ComputedRef<CalendarDateMerged>;
|
|
17
17
|
context: import('vue').ComputedRef<DateAdapterContext>;
|
|
18
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarDateOwnProps, "error" | "color" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "
|
|
18
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarDateOwnProps, "error" | "color" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "hideOutsideDays" | "hideWeekdays" | "multiple" | "range" | "startOfWeek" | "timeZone" | "defaultValue" | "readOnly" | "disableDates" | "disableMonths" | "disableYears" | "maxDate" | "minDate" | "previewDate" | "viewDate">>>>;
|
|
19
19
|
gridBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
|
|
20
20
|
role: string;
|
|
21
21
|
onMouseleave: () => void;
|
|
@@ -15,7 +15,7 @@ export declare function useCalendarMonth(props: MaybeRefOrGetter<CalendarMonthOw
|
|
|
15
15
|
year: import('vue').ComputedRef<number>;
|
|
16
16
|
merged: import('vue').ComputedRef<CalendarMonthMerged>;
|
|
17
17
|
months: import('vue').ComputedRef<CalendarMonthCell[]>;
|
|
18
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarMonthOwnProps, "error" | "color" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "
|
|
18
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarMonthOwnProps, "error" | "color" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "timeZone" | "readOnly" | "disableMonths" | "maxDate" | "minDate" | "year">>>>;
|
|
19
19
|
gridBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
|
|
20
20
|
role: string;
|
|
21
21
|
}>>;
|
|
@@ -24,7 +24,7 @@ export declare function useCalendarRange(props: MaybeRefOrGetter<CalendarRangeOw
|
|
|
24
24
|
merged: import('vue').ComputedRef<CalendarRangeMerged>;
|
|
25
25
|
showNav: import('vue').ComputedRef<boolean>;
|
|
26
26
|
endBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
27
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarRangeOwnProps, "error" | "color" | "fill" | "orientation" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "
|
|
27
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarRangeOwnProps, "error" | "color" | "fill" | "orientation" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "hideMonths" | "hideOutsideDays" | "hideWeekdays" | "hideYears" | "startOfWeek" | "timeZone" | "defaultValue" | "readOnly" | "disableDates" | "disableMonths" | "disableYears" | "maxDate" | "minDate" | "previewDate" | "viewDate">>>>;
|
|
28
28
|
bodyBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
29
29
|
viewDate: import('vue').ComputedRef<Date>;
|
|
30
30
|
viewYear: import('vue').ComputedRef<number>;
|
|
@@ -14,7 +14,7 @@ export type CalendarYearCell = {
|
|
|
14
14
|
export declare function useCalendarYear(props: MaybeRefOrGetter<CalendarYearOwnProps>, libDefaults: CalendarYearLibDefaults, emit: (event: "change", year: number) => void): {
|
|
15
15
|
years: import('vue').ComputedRef<CalendarYearCell[]>;
|
|
16
16
|
merged: import('vue').ComputedRef<CalendarYearMerged>;
|
|
17
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarYearOwnProps, "error" | "color" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "
|
|
17
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<CalendarYearOwnProps, "error" | "color" | "value" | "classes" | "customProps" | "rounded" | "disabled" | "timeZone" | "readOnly" | "disableYears" | "maxDate" | "minDate" | "pageSize" | "startYear">>>>;
|
|
18
18
|
gridBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
|
|
19
19
|
role: string;
|
|
20
20
|
}>>;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
25
25
|
fill: boolean;
|
|
26
26
|
showFooter: boolean;
|
|
27
27
|
showErrorIcon: boolean;
|
|
28
|
-
clearable: boolean;
|
|
29
28
|
showSwatch: boolean;
|
|
29
|
+
clearable: boolean;
|
|
30
30
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,7 +10,7 @@ export declare function useColorField(props: ColorFieldOwnProps, model: Ref<null
|
|
|
10
10
|
format: import('vue').ComputedRef<"hex" | "hsl" | "rgb" | "hexa" | "hsla" | "rgba">;
|
|
11
11
|
overlay: import('vue').ComputedRef<import('@bridge-ui/core/Domain').FieldOverlayMode | undefined>;
|
|
12
12
|
hasValue: import('vue').ComputedRef<boolean>;
|
|
13
|
-
colorOnly: import('vue').ComputedRef<Pick<ColorFieldOwnProps & Record<string, unknown>, "fill" | "format" | "classes" | "overlay" | "showFooter" | "customProps" | "
|
|
13
|
+
colorOnly: import('vue').ComputedRef<Pick<ColorFieldOwnProps & Record<string, unknown>, "fill" | "format" | "classes" | "overlay" | "showFooter" | "customProps" | "alpha" | "editable" | "showSwatch" | "defaultValue" | "clearable" | "swatches">>;
|
|
14
14
|
formField: {
|
|
15
15
|
slots: Readonly<{
|
|
16
16
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
@@ -438,11 +438,10 @@ export declare function useColorField(props: ColorFieldOwnProps, model: Ref<null
|
|
|
438
438
|
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
439
439
|
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
440
440
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
441
|
-
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showErrorIcon" | "startIcon">>>>;
|
|
441
|
+
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon" | "startIcon">>>>;
|
|
442
442
|
isNotched: import('vue').ComputedRef<boolean>;
|
|
443
443
|
isStacked: import('vue').ComputedRef<boolean>;
|
|
444
444
|
startBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
445
|
-
cornerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
446
445
|
headerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
447
446
|
isDisabled: import('vue').ComputedRef<boolean>;
|
|
448
447
|
isReadonly: import('vue').ComputedRef<boolean>;
|
|
@@ -460,9 +459,12 @@ export declare function useColorField(props: ColorFieldOwnProps, model: Ref<null
|
|
|
460
459
|
ariaDescribedBy: import('vue').ComputedRef<string | undefined>;
|
|
461
460
|
descriptionBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
462
461
|
stackedBodyBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
|
|
462
|
+
fieldCornerProps: import('vue').ComputedRef<import('../../Label').LabelProps>;
|
|
463
463
|
hasInsetLabelRow: import('vue').ComputedRef<boolean>;
|
|
464
464
|
insetLabelRowBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
465
465
|
stackedInputRowBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, {}>>;
|
|
466
|
+
showErrorMessageRow: import('vue').ComputedRef<boolean>;
|
|
467
|
+
showDescriptionContent: import('vue').ComputedRef<boolean>;
|
|
466
468
|
showErrorMessageContent: import('vue').ComputedRef<boolean>;
|
|
467
469
|
reservesErrorMessageSpace: import('vue').ComputedRef<boolean>;
|
|
468
470
|
};
|
|
@@ -687,7 +689,7 @@ export declare function useColorField(props: ColorFieldOwnProps, model: Ref<null
|
|
|
687
689
|
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
688
690
|
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
689
691
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
690
|
-
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showErrorIcon" | "startIcon">>>, "class", {
|
|
692
|
+
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "rounded" | "variant" | "label" | "disabled" | "required" | "corner" | "description" | "errorMessage" | "start" | "endIcon" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon" | "startIcon">>>, "class", {
|
|
691
693
|
value: string;
|
|
692
694
|
readonly: boolean;
|
|
693
695
|
onFocus: (event: FocusEvent) => void;
|
|
@@ -22,7 +22,7 @@ export declare function useColorPicker(props: MaybeRefOrGetter<ColorPickerOwnPro
|
|
|
22
22
|
onPointerdown: (event: PointerEvent) => void;
|
|
23
23
|
onPointermove: (event: PointerEvent) => void;
|
|
24
24
|
}>>;
|
|
25
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<ColorPickerOwnProps, "fill" | "format" | "value" | "classes" | "showFooter" | "customProps" | "rounded" | "disabled" | "
|
|
25
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<ColorPickerOwnProps, "fill" | "format" | "value" | "classes" | "showFooter" | "customProps" | "rounded" | "disabled" | "alpha" | "defaultValue" | "readOnly" | "swatches">>>>;
|
|
26
26
|
areaBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
|
|
27
27
|
role: string;
|
|
28
28
|
onKeydown: (event: KeyboardEvent) => void;
|