@bridge-ui/vue 0.8.0 → 0.9.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-components/SKILL.md +2 -1
- package/dist/Components/Accordion/composables/useAccordion.d.ts +1 -1
- package/dist/Components/ActionFooter/ActionFooter.js +5 -0
- package/dist/Components/ActionFooter/ActionFooter.vue.d.ts +10 -0
- package/dist/Components/ActionFooter/ActionFooter.vue_vue_type_script_setup_true_lang.js +35 -0
- package/dist/Components/ActionFooter/actionFooter.types.d.ts +107 -0
- package/dist/Components/ActionFooter/composables/useActionFooter.d.ts +35 -0
- package/dist/Components/ActionFooter/composables/useActionFooter.js +53 -0
- package/dist/Components/ActionFooter/index.d.ts +3 -0
- package/dist/Components/ActionFooter/index.js +3 -0
- package/dist/Components/Alert/composables/useAlert.d.ts +1 -1
- package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +2 -2
- package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Autocomplete/autocomplete.types.d.ts +1 -1
- package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +3 -3
- package/dist/Components/Autocomplete/composables/useAutocomplete.js +1 -1
- package/dist/Components/Badge/composables/useBadge.d.ts +1 -1
- package/dist/Components/BreadcrumbItem/composables/useBreadcrumbItem.d.ts +3 -3
- package/dist/Components/Button/composables/useButton.d.ts +2 -2
- package/dist/Components/ButtonGroup/composables/useButtonGroup.d.ts +1 -1
- 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/Card/composables/useCard.d.ts +1 -1
- package/dist/Components/Chip/Chip.vue.d.ts +1 -1
- package/dist/Components/Chip/composables/useChip.d.ts +1 -1
- package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/ColorField/colorField.types.d.ts +1 -1
- package/dist/Components/ColorField/composables/useColorField.d.ts +2 -2
- package/dist/Components/ColorField/composables/useColorField.js +1 -1
- package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +41 -40
- package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +1 -3
- package/dist/Components/ColorPicker/composables/useColorPicker.js +0 -2
- package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +8 -0
- package/dist/Components/DataTable/DataTableFilterMenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/DataTable/composables/useDataTable.d.ts +1 -1
- package/dist/Components/DataTable/composables/useDataTable.js +86 -86
- package/dist/Components/DataTable/composables/useDataTablePagination.d.ts +1 -1
- package/dist/Components/DataTable/dataTable.types.d.ts +22 -4
- package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/DateField/composables/useDateField.d.ts +2 -2
- package/dist/Components/DateField/composables/useDateField.js +1 -1
- package/dist/Components/DateField/dateField.types.d.ts +1 -1
- package/dist/Components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +18 -17
- package/dist/Components/DatePicker/composables/useDatePicker.d.ts +1 -3
- package/dist/Components/DatePicker/composables/useDatePicker.js +45 -48
- package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +2 -2
- package/dist/Components/DateRangeField/composables/useDateRangeField.js +1 -1
- package/dist/Components/DateRangeField/dateRangeField.types.d.ts +1 -1
- package/dist/Components/DateRangePicker/DateRangePicker.vue_vue_type_script_setup_true_lang.js +18 -17
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.d.ts +1 -3
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.js +45 -48
- package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +2 -2
- package/dist/Components/DateTimeField/composables/useDateTimeField.js +1 -1
- package/dist/Components/DateTimeField/dateTimeField.types.d.ts +1 -1
- package/dist/Components/DateTimePicker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +25 -24
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.d.ts +1 -3
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.js +75 -78
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +2 -2
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.js +1 -1
- package/dist/Components/DateTimeRangeField/dateTimeRangeField.types.d.ts +1 -1
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue_vue_type_script_setup_true_lang.js +29 -28
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.d.ts +1 -3
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js +84 -87
- package/dist/Components/Drawer/composables/useDrawer.js +75 -72
- package/dist/Components/FormField/composables/useFormField.d.ts +1 -1
- package/dist/Components/ListItem/ListItem.vue.d.ts +1 -1
- package/dist/Components/ListItem/composables/useListItem.d.ts +1 -1
- package/dist/Components/Listbox/Listbox.vue.d.ts +3 -3
- package/dist/Components/Listbox/Listbox.vue_vue_type_script_setup_true_lang.js +69 -71
- package/dist/Components/Listbox/composables/useListbox.d.ts +0 -2
- package/dist/Components/Listbox/composables/useListbox.js +63 -66
- package/dist/Components/Menu/composables/useMenu.js +125 -121
- package/dist/Components/Modal/composables/useModal.js +117 -114
- package/dist/Components/NumberField/composables/useNumberField.d.ts +2 -2
- package/dist/Components/Pagination/composables/usePagination.d.ts +1 -1
- package/dist/Components/PasswordField/composables/usePasswordField.d.ts +2 -2
- package/dist/Components/Select/Select.vue.d.ts +2 -2
- package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Select/composables/useSelect.d.ts +3 -3
- package/dist/Components/Select/composables/useSelect.js +1 -1
- package/dist/Components/Select/select.types.d.ts +1 -1
- package/dist/Components/Slider/composables/useSlider.d.ts +1 -1
- package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +31 -28
- package/dist/Components/Snackbar/composables/useSnackbar.d.ts +2 -1
- package/dist/Components/Snackbar/composables/useSnackbar.js +135 -128
- package/dist/Components/Step/composables/useStep.d.ts +1 -1
- package/dist/Components/TextField/composables/useTextField.d.ts +2 -2
- package/dist/Components/Textarea/composables/useTextarea.d.ts +2 -2
- package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/TimeField/composables/useTimeField.d.ts +2 -2
- package/dist/Components/TimeField/composables/useTimeField.js +1 -1
- package/dist/Components/TimeField/timeField.types.d.ts +1 -1
- package/dist/Components/TimePanel/composables/useTimePanel.d.ts +1 -1
- package/dist/Components/TimePicker/TimePicker.vue_vue_type_script_setup_true_lang.js +38 -37
- package/dist/Components/TimePicker/composables/useTimePicker.d.ts +1 -3
- package/dist/Components/TimePicker/composables/useTimePicker.js +54 -57
- package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +2 -2
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.js +1 -1
- package/dist/Components/TimeRangeField/timeRangeField.types.d.ts +1 -1
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +61 -60
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.d.ts +1 -3
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.js +41 -43
- package/dist/Components/ToggleGroup/composables/useToggleGroup.d.ts +1 -1
- package/dist/Components/Tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/Components/Tooltip/composables/useTooltip.d.ts +1 -1
- package/dist/Components/Tooltip/composables/useTooltip.js +6 -1
- package/dist/augments.d.ts +5 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +162 -160
- package/docs/README.md +1 -0
- package/docs/components/ActionFooter.md +85 -0
- package/docs/components/Autocomplete.md +2 -2
- package/docs/components/BridgeUIProvider.md +17 -1
- package/docs/components/ColorField.md +1 -1
- package/docs/components/ColorPicker.md +1 -1
- package/docs/components/DataTable.md +16 -4
- package/docs/components/DateField.md +1 -1
- package/docs/components/DatePicker.md +1 -1
- package/docs/components/DateRangeField.md +1 -1
- package/docs/components/DateRangePicker.md +1 -1
- package/docs/components/DateTimeField.md +1 -1
- package/docs/components/DateTimePicker.md +1 -1
- package/docs/components/DateTimeRangeField.md +1 -1
- package/docs/components/DateTimeRangePicker.md +1 -1
- package/docs/components/Select.md +2 -2
- package/docs/components/TimeField.md +1 -1
- package/docs/components/TimePicker.md +1 -1
- package/docs/components/TimeRangeField.md +1 -1
- package/docs/components/TimeRangePicker.md +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bridge-ui-components
|
|
3
3
|
description: >-
|
|
4
|
-
Use Bridge UI Vue components — Button, ButtonGroup, Avatar, Card, Alert, Accordion, Badge, Icon,
|
|
4
|
+
Use Bridge UI Vue components — Button, ButtonGroup, Avatar, Card, Alert, Accordion, ActionFooter, Badge, Icon,
|
|
5
5
|
Link, List, Table, DataTable, Tabs, Spinner, Skeleton, EmptyState, Sidebar, Progress, Stepper, Pagination, TextField, Select,
|
|
6
6
|
Autocomplete, DateField, DatePicker, DateRangeField, DateRangePicker,
|
|
7
7
|
TimeField, TimePicker, DateTimeField, DateTimePicker, ColorField, ColorPicker,
|
|
@@ -24,6 +24,7 @@ In templates, use kebab-case attrs (`start-icon`, `custom-props`, `error-message
|
|
|
24
24
|
| Badge | `.ai/docs/components/Badge.md` |
|
|
25
25
|
| Alert | `.ai/docs/components/Alert.md` |
|
|
26
26
|
| Accordion | `.ai/docs/components/Accordion.md` |
|
|
27
|
+
| Action footer | `.ai/docs/components/ActionFooter.md` |
|
|
27
28
|
| Stepper | `.ai/docs/components/Stepper.md` |
|
|
28
29
|
| Icon | `.ai/docs/components/Icon.md` |
|
|
29
30
|
| Lists | `.ai/docs/components/List.md` |
|
|
@@ -9,7 +9,7 @@ export declare function useAccordion(props: AccordionOwnProps, libDefaults: Acco
|
|
|
9
9
|
merged: import('vue').ComputedRef<AccordionMerged>;
|
|
10
10
|
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
|
|
11
11
|
class: string;
|
|
12
|
-
}, "class", import('vue').HTMLAttributes | undefined, Omit<AccordionProps, "color" | "size" | "classes" | "customProps" | "
|
|
12
|
+
}, "class", import('vue').HTMLAttributes | undefined, Omit<AccordionProps, "color" | "size" | "classes" | "customProps" | "disabled" | "variant" | "multiple">>>;
|
|
13
13
|
contextValue: import('vue').ComputedRef<AccordionContextValue>;
|
|
14
14
|
};
|
|
15
15
|
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ActionFooterOwnProps } from './actionFooter.types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<ActionFooterOwnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
apply: () => any;
|
|
4
|
+
cancel: () => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<ActionFooterOwnProps> & Readonly<{
|
|
6
|
+
onApply?: (() => any) | undefined;
|
|
7
|
+
onCancel?: (() => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { useActionFooter as e } from "./composables/useActionFooter.js";
|
|
2
|
+
import t from "../Button/Button.js";
|
|
3
|
+
import { createElementBlock as n, createTextVNode as r, createVNode as i, defineComponent as a, guardReactiveProps as o, normalizeProps as s, openBlock as c, toDisplayString as l, unref as u, withCtx as d } from "vue";
|
|
4
|
+
//#region src/Components/ActionFooter/ActionFooter.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var f = /*@__PURE__*/ a({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "ActionFooter",
|
|
8
|
+
props: {
|
|
9
|
+
applyColor: {},
|
|
10
|
+
applyLabel: {},
|
|
11
|
+
applyVariant: {},
|
|
12
|
+
cancelColor: {},
|
|
13
|
+
cancelLabel: {},
|
|
14
|
+
cancelVariant: {},
|
|
15
|
+
classes: {},
|
|
16
|
+
customProps: {}
|
|
17
|
+
},
|
|
18
|
+
emits: ["apply", "cancel"],
|
|
19
|
+
setup(a, { emit: f }) {
|
|
20
|
+
let { rootBind: p, applyLabel: m, cancelLabel: h, applyButtonBind: g, cancelButtonBind: _ } = e(a, {
|
|
21
|
+
applyColor: "primary",
|
|
22
|
+
cancelVariant: "flat",
|
|
23
|
+
cancelColor: "secondary"
|
|
24
|
+
}, f);
|
|
25
|
+
return (e, a) => (c(), n("div", s(o(u(p))), [i(u(t), s(o(u(_))), {
|
|
26
|
+
default: d(() => [r(l(u(h)), 1)]),
|
|
27
|
+
_: 1
|
|
28
|
+
}, 16), i(u(t), s(o(u(g))), {
|
|
29
|
+
default: d(() => [r(l(u(m)), 1)]),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 16)], 16));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { f as default };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ButtonColor, ButtonVariant } from '@bridge-ui/core/Tokens';
|
|
3
|
+
import { MergeHtmlProps, MergeProps } from '@bridge-ui/core/Utils';
|
|
4
|
+
import { ButtonColorOverrides, ButtonProps, ButtonVariantOverrides } from '../Button/button.types';
|
|
5
|
+
/**
|
|
6
|
+
* Props accepted by the footer buttons.
|
|
7
|
+
*/
|
|
8
|
+
type ActionFooterButtonProps = Partial<ButtonProps>;
|
|
9
|
+
export interface ActionFooterClasses {
|
|
10
|
+
/**
|
|
11
|
+
* Classes merged onto the Apply button.
|
|
12
|
+
*/
|
|
13
|
+
applyButton?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Classes merged onto the Cancel button.
|
|
16
|
+
*/
|
|
17
|
+
cancelButton?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Classes merged onto the root.
|
|
20
|
+
*/
|
|
21
|
+
root?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface ActionFooterCustomProps {
|
|
24
|
+
/**
|
|
25
|
+
* Props forwarded to the Apply button.
|
|
26
|
+
*
|
|
27
|
+
* @default undefined
|
|
28
|
+
*/
|
|
29
|
+
applyButton?: ActionFooterButtonProps;
|
|
30
|
+
/**
|
|
31
|
+
* Props forwarded to the Cancel button.
|
|
32
|
+
*
|
|
33
|
+
* @default undefined
|
|
34
|
+
*/
|
|
35
|
+
cancelButton?: ActionFooterButtonProps;
|
|
36
|
+
/**
|
|
37
|
+
* Props forwarded to the root element.
|
|
38
|
+
*
|
|
39
|
+
* @default undefined
|
|
40
|
+
*/
|
|
41
|
+
root?: HTMLAttributes;
|
|
42
|
+
}
|
|
43
|
+
export interface ActionFooterEmits {
|
|
44
|
+
/**
|
|
45
|
+
* Emitted when Apply is pressed.
|
|
46
|
+
*/
|
|
47
|
+
apply: [];
|
|
48
|
+
/**
|
|
49
|
+
* Emitted when Cancel is pressed.
|
|
50
|
+
*/
|
|
51
|
+
cancel: [];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Cancel / Apply pair used as the default footer in pickers and listboxes.
|
|
55
|
+
*/
|
|
56
|
+
export interface ActionFooterOwnProps {
|
|
57
|
+
/**
|
|
58
|
+
* Color of the Apply button.
|
|
59
|
+
*
|
|
60
|
+
* @default "primary"
|
|
61
|
+
*/
|
|
62
|
+
applyColor?: MergeProps<ButtonColor, ButtonColorOverrides>;
|
|
63
|
+
/**
|
|
64
|
+
* Label of the Apply button. Falls back to the i18n string `Apply`.
|
|
65
|
+
*
|
|
66
|
+
* @default undefined
|
|
67
|
+
*/
|
|
68
|
+
applyLabel?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Variant of the Apply button. Falls back to the `Button` default.
|
|
71
|
+
*
|
|
72
|
+
* @default undefined
|
|
73
|
+
*/
|
|
74
|
+
applyVariant?: MergeProps<ButtonVariant, ButtonVariantOverrides>;
|
|
75
|
+
/**
|
|
76
|
+
* Color of the Cancel button.
|
|
77
|
+
*
|
|
78
|
+
* @default "secondary"
|
|
79
|
+
*/
|
|
80
|
+
cancelColor?: MergeProps<ButtonColor, ButtonColorOverrides>;
|
|
81
|
+
/**
|
|
82
|
+
* Label of the Cancel button. Falls back to the i18n string `Cancel`.
|
|
83
|
+
*
|
|
84
|
+
* @default undefined
|
|
85
|
+
*/
|
|
86
|
+
cancelLabel?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Variant of the Cancel button.
|
|
89
|
+
*
|
|
90
|
+
* @default "flat"
|
|
91
|
+
*/
|
|
92
|
+
cancelVariant?: MergeProps<ButtonVariant, ButtonVariantOverrides>;
|
|
93
|
+
/**
|
|
94
|
+
* The classes to apply to the footer.
|
|
95
|
+
*
|
|
96
|
+
* @default undefined
|
|
97
|
+
*/
|
|
98
|
+
classes?: ActionFooterClasses;
|
|
99
|
+
/**
|
|
100
|
+
* Extra props for internal parts (`root`, `applyButton`, `cancelButton`).
|
|
101
|
+
*
|
|
102
|
+
* @default undefined
|
|
103
|
+
*/
|
|
104
|
+
customProps?: ActionFooterCustomProps;
|
|
105
|
+
}
|
|
106
|
+
export type ActionFooterProps = MergeHtmlProps<ActionFooterOwnProps, HTMLAttributes>;
|
|
107
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SetupContext } from 'vue';
|
|
2
|
+
import { LibDefaultsShape, MergeLibDefaults } from '@bridge-ui/core/Utils';
|
|
3
|
+
import { ActionFooterClasses, ActionFooterEmits, ActionFooterOwnProps, ActionFooterProps } from '../actionFooter.types';
|
|
4
|
+
type ActionFooterLibDefaults = LibDefaultsShape<ActionFooterOwnProps, "applyColor" | "cancelColor" | "cancelVariant">;
|
|
5
|
+
type ActionFooterMerged = MergeLibDefaults<ActionFooterOwnProps, ActionFooterLibDefaults>;
|
|
6
|
+
export declare function useActionFooter(props: ActionFooterOwnProps, libDefaults: ActionFooterLibDefaults, emit: SetupContext<ActionFooterEmits>["emit"]): {
|
|
7
|
+
merged: import('vue').ComputedRef<ActionFooterMerged>;
|
|
8
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Omit<ActionFooterProps, "classes" | "customProps" | "applyColor" | "applyLabel" | "applyVariant" | "cancelColor" | "cancelLabel" | "cancelVariant">>>;
|
|
9
|
+
applyLabel: import('vue').ComputedRef<string>;
|
|
10
|
+
cancelLabel: import('vue').ComputedRef<string>;
|
|
11
|
+
mergedClasses: import('vue').ComputedRef<Partial<ActionFooterClasses>>;
|
|
12
|
+
applyButtonBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", (Partial<import('@bridge-ui/core/Utils').MergeHtmlProps<import('../../Button').ButtonOwnProps & {
|
|
13
|
+
as: "span";
|
|
14
|
+
}, import('vue').HTMLAttributes>> | Partial<import('@bridge-ui/core/Utils').MergeHtmlProps<import('../../Button').ButtonOwnProps & {
|
|
15
|
+
as: "a";
|
|
16
|
+
}, import('vue').AnchorHTMLAttributes>> | Partial<import('@bridge-ui/core/Utils').MergeHtmlProps<import('../../Button').ButtonOwnProps & {
|
|
17
|
+
as?: "button";
|
|
18
|
+
}, import('vue').ButtonHTMLAttributes>>) | undefined, {
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
color: NonNullable<keyof import('@bridge-ui/core/Tokens').ButtonColor | undefined>;
|
|
21
|
+
variant: keyof import('@bridge-ui/core/Tokens').ButtonVariant | undefined;
|
|
22
|
+
}>>;
|
|
23
|
+
cancelButtonBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", (Partial<import('@bridge-ui/core/Utils').MergeHtmlProps<import('../../Button').ButtonOwnProps & {
|
|
24
|
+
as: "span";
|
|
25
|
+
}, import('vue').HTMLAttributes>> | Partial<import('@bridge-ui/core/Utils').MergeHtmlProps<import('../../Button').ButtonOwnProps & {
|
|
26
|
+
as: "a";
|
|
27
|
+
}, import('vue').AnchorHTMLAttributes>> | Partial<import('@bridge-ui/core/Utils').MergeHtmlProps<import('../../Button').ButtonOwnProps & {
|
|
28
|
+
as?: "button";
|
|
29
|
+
}, import('vue').ButtonHTMLAttributes>>) | undefined, {
|
|
30
|
+
onClick: () => void;
|
|
31
|
+
color: NonNullable<keyof import('@bridge-ui/core/Tokens').ButtonColor | undefined>;
|
|
32
|
+
variant: NonNullable<keyof import('@bridge-ui/core/Tokens').ButtonVariant | undefined>;
|
|
33
|
+
}>>;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { useResolveMessage as e } from "../../../Adapters/I18n/useI18nAdapter.js";
|
|
2
|
+
import { mergePartBind as t, useBridgeUIComponent as n, useBridgeUIMergedRegistryClasses as r } from "../../../Utils/index.js";
|
|
3
|
+
import { computed as i, useAttrs as a } from "vue";
|
|
4
|
+
import { cn as o, splitComponentProps as s } from "@bridge-ui/core/Utils";
|
|
5
|
+
//#region src/Components/ActionFooter/composables/useActionFooter.ts
|
|
6
|
+
var c = [
|
|
7
|
+
"classes",
|
|
8
|
+
"applyColor",
|
|
9
|
+
"applyLabel",
|
|
10
|
+
"cancelColor",
|
|
11
|
+
"cancelLabel",
|
|
12
|
+
"customProps",
|
|
13
|
+
"applyVariant",
|
|
14
|
+
"cancelVariant"
|
|
15
|
+
];
|
|
16
|
+
function l(l, u, d) {
|
|
17
|
+
let f = a(), p = e(), m = i(() => s({
|
|
18
|
+
props: {
|
|
19
|
+
...f,
|
|
20
|
+
...l
|
|
21
|
+
},
|
|
22
|
+
bridgeKeys: c
|
|
23
|
+
})), { merged: h, entry: g } = n({
|
|
24
|
+
libDefaults: u,
|
|
25
|
+
componentName: "ActionFooter",
|
|
26
|
+
props: () => m.value.componentProps
|
|
27
|
+
}), _ = r({
|
|
28
|
+
entry: g,
|
|
29
|
+
props: () => m.value.componentProps
|
|
30
|
+
}), v = i(() => h.value.customProps), y = i(() => h.value.applyLabel ?? p("Apply")), b = i(() => h.value.cancelLabel ?? p("Cancel"));
|
|
31
|
+
return {
|
|
32
|
+
merged: h,
|
|
33
|
+
rootBind: i(() => t(v.value?.root, m.value.inheritedAttrs, o({
|
|
34
|
+
contents: !0,
|
|
35
|
+
[_.value.root ?? ""]: !0
|
|
36
|
+
}))),
|
|
37
|
+
applyLabel: y,
|
|
38
|
+
cancelLabel: b,
|
|
39
|
+
mergedClasses: _,
|
|
40
|
+
applyButtonBind: i(() => t(v.value?.applyButton, {
|
|
41
|
+
onClick: () => d("apply"),
|
|
42
|
+
color: h.value.applyColor,
|
|
43
|
+
variant: h.value.applyVariant
|
|
44
|
+
}, o({ [_.value.applyButton ?? ""]: !0 }))),
|
|
45
|
+
cancelButtonBind: i(() => t(v.value?.cancelButton, {
|
|
46
|
+
onClick: () => d("cancel"),
|
|
47
|
+
color: h.value.cancelColor,
|
|
48
|
+
variant: h.value.cancelVariant
|
|
49
|
+
}, o({ [_.value.cancelButton ?? ""]: !0 })))
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
export { l as useActionFooter };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { ActionFooterClasses, ActionFooterCustomProps, ActionFooterEmits, ActionFooterOwnProps, ActionFooterProps, } from './actionFooter.types';
|
|
2
|
+
export { default as ActionFooter } from './ActionFooter.vue';
|
|
3
|
+
export { useActionFooter } from './composables/useActionFooter';
|
|
@@ -10,7 +10,7 @@ export declare function useAlert(props: AlertOwnProps, libDefaults: AlertLibDefa
|
|
|
10
10
|
merged: import('vue').ComputedRef<AlertMerged>;
|
|
11
11
|
bodyBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
12
12
|
iconBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", Partial<Omit<import('../../Icon').IconProps, "icon">> | undefined, {}>>;
|
|
13
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Omit<AlertProps, "color" | "icon" | "classes" | "customProps" | "title" | "
|
|
13
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Omit<AlertProps, "color" | "icon" | "classes" | "customProps" | "title" | "rounded" | "variant" | "padding" | "shadow">>>;
|
|
14
14
|
hasTitle: import('vue').ComputedRef<boolean>;
|
|
15
15
|
titleBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
16
16
|
resolvedIcon: import('vue').ComputedRef<IconSource | null>;
|
|
@@ -8,9 +8,9 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
8
8
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
9
|
clear: () => any;
|
|
10
10
|
search: (query: string) => any;
|
|
11
|
-
select: (option: import('@bridge-ui/core/Domain').ListboxOption) => any;
|
|
12
11
|
apply: () => any;
|
|
13
12
|
cancel: () => any;
|
|
13
|
+
select: (option: import('@bridge-ui/core/Domain').ListboxOption) => any;
|
|
14
14
|
change: (value: import('@bridge-ui/core/Domain').SelectModel) => any;
|
|
15
15
|
close: () => any;
|
|
16
16
|
deselect: (option: import('@bridge-ui/core/Domain').ListboxOption) => any;
|
|
@@ -19,9 +19,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
19
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
20
|
onClear?: (() => any) | undefined;
|
|
21
21
|
onSearch?: ((query: string) => any) | undefined;
|
|
22
|
-
onSelect?: ((option: import('@bridge-ui/core/Domain').ListboxOption) => any) | undefined;
|
|
23
22
|
onApply?: (() => any) | undefined;
|
|
24
23
|
onCancel?: (() => any) | undefined;
|
|
24
|
+
onSelect?: ((option: import('@bridge-ui/core/Domain').ListboxOption) => any) | undefined;
|
|
25
25
|
onChange?: ((value: import('@bridge-ui/core/Domain').SelectModel) => any) | undefined;
|
|
26
26
|
onClose?: (() => any) | undefined;
|
|
27
27
|
onDeselect?: ((option: import('@bridge-ui/core/Domain').ListboxOption) => any) | undefined;
|
|
@@ -436,7 +436,7 @@ export declare function useAutocomplete(props: AutocompleteOwnProps, model: Ref<
|
|
|
436
436
|
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
437
437
|
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
438
438
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
439
|
-
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "
|
|
439
|
+
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "disabled" | "endIcon" | "rounded" | "startIcon" | "variant" | "label" | "start" | "required" | "corner" | "description" | "errorMessage" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon">>>>;
|
|
440
440
|
isNotched: import('vue').ComputedRef<boolean>;
|
|
441
441
|
isStacked: import('vue').ComputedRef<boolean>;
|
|
442
442
|
startBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
@@ -722,7 +722,7 @@ export declare function useAutocomplete(props: AutocompleteOwnProps, model: Ref<
|
|
|
722
722
|
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
723
723
|
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
724
724
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
725
|
-
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "
|
|
725
|
+
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "disabled" | "endIcon" | "rounded" | "startIcon" | "variant" | "label" | "start" | "required" | "corner" | "description" | "errorMessage" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon">>>>>;
|
|
726
726
|
handleApply: () => void;
|
|
727
727
|
selectOption: (option: SelectOption) => void;
|
|
728
728
|
handleCancel: () => void;
|
|
@@ -749,7 +749,7 @@ export declare function useAutocomplete(props: AutocompleteOwnProps, model: Ref<
|
|
|
749
749
|
options: import('@bridge-ui/core/Domain').ListboxOption[];
|
|
750
750
|
overlay: import('@bridge-ui/core/Domain').FieldOverlayMode;
|
|
751
751
|
placement?: import('@floating-ui/utils').Placement;
|
|
752
|
-
rounded: "2xl" | "lg" | "md" | "sm" | "xl" | "xs" | "
|
|
752
|
+
rounded: "2xl" | "lg" | "md" | "sm" | "xl" | "xs" | "3xl" | "4xl" | "full" | "none";
|
|
753
753
|
showCheckmark?: boolean;
|
|
754
754
|
showFooter: boolean;
|
|
755
755
|
size: "2xl" | "2xs" | "lg" | "md" | "sm" | "xl" | "xs";
|
|
@@ -94,7 +94,7 @@ function m(m, h, g, _, Me) {
|
|
|
94
94
|
value: t,
|
|
95
95
|
label: String(t)
|
|
96
96
|
});
|
|
97
|
-
}), V = a(() => R.value.length > 0), Ke = a(() => k.value.clearable
|
|
97
|
+
}), V = a(() => R.value.length > 0), Ke = a(() => k.value.clearable === !0), H = a(() => !!k.value.asyncData), U = a(() => {
|
|
98
98
|
if (H.value || (k.value.searchable ?? !0)) return !0;
|
|
99
99
|
let e = k.value.minItemsForSearch ?? 11;
|
|
100
100
|
return ze.value.length >= e;
|
|
@@ -4,6 +4,6 @@ type BadgeLibDefaults = LibDefaultsShape<BadgeOwnProps, "size" | "color" | "dens
|
|
|
4
4
|
type BadgeMerged = MergeLibDefaults<BadgeOwnProps, BadgeLibDefaults>;
|
|
5
5
|
export declare function useBadge(props: BadgeOwnProps, libDefaults: BadgeLibDefaults): {
|
|
6
6
|
merged: import('vue').ComputedRef<BadgeMerged>;
|
|
7
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, Omit<BadgeProps, "color" | "size" | "classes" | "full" | "
|
|
7
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", {}, Omit<BadgeProps, "color" | "size" | "classes" | "full" | "density" | "rounded" | "variant">>>;
|
|
8
8
|
};
|
|
9
9
|
export {};
|
|
@@ -5,16 +5,16 @@ export declare function useBreadcrumbItem(props: BreadcrumbItemOwnProps): {
|
|
|
5
5
|
[name: string]: import('vue').Slot<any> | undefined;
|
|
6
6
|
}>;
|
|
7
7
|
merged: import('vue').ComputedRef<BreadcrumbItemOwnProps>;
|
|
8
|
-
crumbAs: import('vue').ComputedRef<"a" | "
|
|
8
|
+
crumbAs: import('vue').ComputedRef<"a" | "span" | "button">;
|
|
9
9
|
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
|
|
10
10
|
class: string;
|
|
11
|
-
}, "class", import('vue').HTMLAttributes | undefined, Omit<Omit<BreadcrumbItemProps, "href" | "classes" | "customProps" | "
|
|
11
|
+
}, "class", import('vue').HTMLAttributes | undefined, Omit<Omit<BreadcrumbItemProps, "href" | "classes" | "customProps" | "as" | "disabled" | "endIcon" | "startIcon" | "current">, "aria-label" | "aria-labelledby">>>;
|
|
12
12
|
linkBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
|
|
13
13
|
"aria-disabled": true | undefined;
|
|
14
14
|
"aria-current": "page" | undefined;
|
|
15
15
|
href: string | undefined;
|
|
16
16
|
class: string;
|
|
17
|
-
}, "class", import('vue').HTMLAttributes | undefined, Pick<Omit<BreadcrumbItemProps, "href" | "classes" | "customProps" | "
|
|
17
|
+
}, "class", import('vue').HTMLAttributes | undefined, Pick<Omit<BreadcrumbItemProps, "href" | "classes" | "customProps" | "as" | "disabled" | "endIcon" | "startIcon" | "current">, "aria-label" | "aria-labelledby">>>;
|
|
18
18
|
iconSize: import('vue').ComputedRef<keyof IconSize>;
|
|
19
19
|
endIconBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
|
|
20
20
|
size: keyof IconSize;
|
|
@@ -3,14 +3,14 @@ import { ButtonOwnProps, ButtonProps } from '../button.types';
|
|
|
3
3
|
type ButtonLibDefaults = LibDefaultsShape<ButtonOwnProps, "as" | "size" | "color" | "density" | "rounded" | "variant">;
|
|
4
4
|
type ButtonMerged = MergeLibDefaults<ButtonOwnProps, ButtonLibDefaults>;
|
|
5
5
|
export declare function useButton(props: ButtonOwnProps, libDefaults: ButtonLibDefaults): {
|
|
6
|
-
tag: import('vue').ComputedRef<NonNullable<"a" | "
|
|
6
|
+
tag: import('vue').ComputedRef<NonNullable<"a" | "span" | "button" | undefined>>;
|
|
7
7
|
merged: import('vue').ComputedRef<ButtonMerged>;
|
|
8
8
|
isMini: import('vue').ComputedRef<boolean>;
|
|
9
9
|
iconBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", Partial<Omit<import('../../Icon').IconProps, "icon">> | undefined, {}>>;
|
|
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" | "
|
|
13
|
+
}, "class", import('vue').HTMLAttributes | undefined, Omit<ButtonProps, "color" | "href" | "icon" | "size" | "classes" | "customProps" | "full" | "as" | "density" | "disabled" | "endIcon" | "loading" | "rounded" | "selected" | "startIcon" | "text" | "variant">>>;
|
|
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, {}>>;
|
|
@@ -11,6 +11,6 @@ export declare function useButtonGroup(props: ButtonGroupOwnProps, libDefaults:
|
|
|
11
11
|
role: string;
|
|
12
12
|
"data-slot": string;
|
|
13
13
|
class: string;
|
|
14
|
-
}, "class", import('vue').HTMLAttributes | undefined, Omit<ButtonGroupProps, "color" | "orientation" | "size" | "classes" | "customProps" | "full" | "
|
|
14
|
+
}, "class", import('vue').HTMLAttributes | undefined, Omit<ButtonGroupProps, "color" | "orientation" | "size" | "classes" | "customProps" | "full" | "density" | "rounded" | "variant" | "separator">>>;
|
|
15
15
|
};
|
|
16
16
|
export {};
|
|
@@ -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" | "
|
|
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" | "disabled" | "rounded" | "view" | "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" | "
|
|
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" | "disabled" | "rounded" | "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" | "
|
|
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" | "disabled" | "rounded" | "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" | "
|
|
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" | "disabled" | "rounded" | "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" | "
|
|
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" | "disabled" | "rounded" | "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
|
}>>;
|
|
@@ -8,7 +8,7 @@ export declare function useCard(props: CardOwnProps, libDefaults: CardLibDefault
|
|
|
8
8
|
}>;
|
|
9
9
|
merged: import('vue').ComputedRef<CardMerged>;
|
|
10
10
|
bodyBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
11
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Omit<CardProps, "classes" | "customProps" | "title" | "
|
|
11
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Omit<CardProps, "classes" | "customProps" | "title" | "rounded" | "variant" | "padding" | "shadow" | "borderless">>>;
|
|
12
12
|
titleBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
13
13
|
footerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
14
14
|
headerBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
@@ -6,8 +6,8 @@ declare const __VLS_base: import('vue').DefineComponent<ChipOwnProps, {}, {}, {}
|
|
|
6
6
|
onDismiss?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
size: import('@bridge-ui/core/Utils').MergeProps<import('@bridge-ui/core/Tokens').ChipSize, import('./chip.types').ChipSizeOverrides>;
|
|
9
|
-
clearLabel: string;
|
|
10
9
|
disabled: boolean;
|
|
10
|
+
clearLabel: string;
|
|
11
11
|
dismissible: boolean;
|
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -6,7 +6,7 @@ type ChipLibDefaults = LibDefaultsShape<ChipOwnProps, "size">;
|
|
|
6
6
|
type ChipMerged = MergeLibDefaults<ChipOwnProps, ChipLibDefaults>;
|
|
7
7
|
export declare function useChip(props: ChipOwnProps, libDefaults: ChipLibDefaults, emit: SetupContext<ChipEmits>["emit"]): {
|
|
8
8
|
merged: import('vue').ComputedRef<ChipMerged>;
|
|
9
|
-
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Omit<ChipProps, "size" | "classes" | "customProps" | "
|
|
9
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Omit<ChipProps, "size" | "classes" | "customProps" | "disabled" | "label" | "clearLabel" | "dismissible">>>;
|
|
10
10
|
labelBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {}>>;
|
|
11
11
|
clearBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
|
|
12
12
|
role: string;
|
|
@@ -438,7 +438,7 @@ 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" | "
|
|
441
|
+
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "disabled" | "endIcon" | "rounded" | "startIcon" | "variant" | "label" | "start" | "required" | "corner" | "description" | "errorMessage" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon">>>>;
|
|
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, {}>>;
|
|
@@ -689,7 +689,7 @@ export declare function useColorField(props: ColorFieldOwnProps, model: Ref<null
|
|
|
689
689
|
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
690
690
|
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
691
691
|
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
692
|
-
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "
|
|
692
|
+
}, Partial<Omit<Omit<FormFieldOwnProps, "field">, "error" | "color" | "end" | "size" | "classes" | "customProps" | "disabled" | "endIcon" | "rounded" | "startIcon" | "variant" | "label" | "start" | "required" | "corner" | "description" | "errorMessage" | "errorIcon" | "hideErrorMessage" | "readonly" | "showDescriptionOnError" | "showErrorIcon">>>, "class", {
|
|
693
693
|
value: string;
|
|
694
694
|
readonly: boolean;
|
|
695
695
|
onFocus: (event: FocusEvent) => void;
|
|
@@ -34,7 +34,7 @@ function w(p, w, T) {
|
|
|
34
34
|
...p
|
|
35
35
|
},
|
|
36
36
|
bridgeKeys: re
|
|
37
|
-
})), M = o(() => j.value.componentProps), N = o(() => w.value ?? null), P = o(() => M.value.format ?? f), F = o(() => M.value.clearable
|
|
37
|
+
})), M = o(() => j.value.componentProps), N = o(() => w.value ?? null), P = o(() => M.value.format ?? f), F = o(() => M.value.clearable === !0), I = o(() => M.value.showSwatch !== !1), L = o(() => !u(N.value) && N.value.length > 0), R = o(() => g(M.value.overlay, D.mobile)), z = a({
|
|
38
38
|
overlay: R,
|
|
39
39
|
componentName: "ColorField",
|
|
40
40
|
fill: () => M.value.fill
|