@bridge-ui/vue 0.12.0 → 0.14.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/ai/skills/bridge-ui-forms/SKILL.md +3 -3
- package/dist/Adapters/Examples/date-moment.js +31 -31
- package/dist/Adapters/Examples/i18n-dictionary.js +14 -0
- package/dist/Adapters/Examples/icon-fontawesome.js +24 -22
- package/dist/Adapters/Examples/icon-heroicons.js +47 -45
- package/dist/Adapters/Examples/icon-lucide.js +13 -11
- package/dist/Adapters/Examples/icon-phosphor.js +49 -47
- package/dist/Adapters/Examples/icon-tabler.js +13 -11
- package/dist/Adapters/Examples/rich-text-tiptap.js +34 -41
- package/dist/Components/BaseField/composables/useBaseField.d.ts +3 -3
- package/dist/Components/BaseField/composables/useBaseField.js +7 -7
- package/dist/Components/Calendar/Calendar.vue.d.ts +14 -6
- package/dist/Components/Calendar/Calendar.vue_vue_type_script_setup_true_lang.js +78 -74
- package/dist/Components/Calendar/calendar.types.d.ts +12 -7
- package/dist/Components/Calendar/composables/useCalendar.d.ts +5 -9
- package/dist/Components/Calendar/composables/useCalendar.js +144 -143
- package/dist/Components/CalendarDate/CalendarDate.vue.d.ts +14 -6
- package/dist/Components/CalendarDate/CalendarDate.vue_vue_type_script_setup_true_lang.js +20 -16
- package/dist/Components/CalendarDate/calendarDate.types.d.ts +13 -8
- package/dist/Components/CalendarDate/composables/useCalendarDate.d.ts +4 -8
- package/dist/Components/CalendarDate/composables/useCalendarDate.js +105 -105
- package/dist/Components/CalendarMonth/CalendarMonth.vue.d.ts +9 -2
- package/dist/Components/CalendarMonth/CalendarMonth.vue_vue_type_script_setup_true_lang.js +19 -12
- package/dist/Components/CalendarMonth/calendarMonth.types.d.ts +14 -8
- package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +4 -7
- package/dist/Components/CalendarMonth/composables/useCalendarMonth.js +92 -89
- package/dist/Components/CalendarRange/CalendarRange.vue.d.ts +14 -6
- package/dist/Components/CalendarRange/CalendarRange.vue_vue_type_script_setup_true_lang.js +109 -105
- package/dist/Components/CalendarRange/calendarRange.types.d.ts +12 -7
- package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +5 -9
- package/dist/Components/CalendarRange/composables/useCalendarRange.js +181 -154
- package/dist/Components/CalendarYear/CalendarYear.vue.d.ts +9 -2
- package/dist/Components/CalendarYear/CalendarYear.vue_vue_type_script_setup_true_lang.js +20 -13
- package/dist/Components/CalendarYear/calendarYear.types.d.ts +12 -6
- package/dist/Components/CalendarYear/composables/useCalendarYear.d.ts +4 -7
- package/dist/Components/CalendarYear/composables/useCalendarYear.js +91 -88
- package/dist/Components/Carousel/Carousel.js +5 -0
- package/dist/Components/Carousel/Carousel.vue.d.ts +22 -0
- package/dist/Components/Carousel/Carousel.vue_vue_type_script_setup_true_lang.js +49 -0
- package/dist/Components/Carousel/carousel.types.d.ts +236 -0
- package/dist/Components/Carousel/carouselInjectionKey.d.ts +48 -0
- package/dist/Components/Carousel/carouselInjectionKey.js +4 -0
- package/dist/Components/Carousel/composables/useCarousel.d.ts +91 -0
- package/dist/Components/Carousel/composables/useCarousel.js +331 -0
- package/dist/Components/Carousel/index.d.ts +4 -0
- package/dist/Components/Carousel/index.js +4 -0
- package/dist/Components/CarouselSlide/CarouselSlide.js +5 -0
- package/dist/Components/CarouselSlide/CarouselSlide.vue.d.ts +11 -0
- package/dist/Components/CarouselSlide/CarouselSlide.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/Components/CarouselSlide/carouselSlide.types.d.ts +40 -0
- package/dist/Components/CarouselSlide/composables/useCarouselSlide.d.ts +205 -0
- package/dist/Components/CarouselSlide/composables/useCarouselSlide.js +79 -0
- package/dist/Components/CarouselSlide/index.d.ts +3 -0
- package/dist/Components/CarouselSlide/index.js +3 -0
- package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/ColorPicker/ColorPicker.vue.d.ts +9 -2
- package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +48 -44
- package/dist/Components/ColorPicker/colorPicker.types.d.ts +12 -7
- package/dist/Components/ColorPicker/composables/useColorPicker.d.ts +3 -3
- package/dist/Components/ColorPicker/composables/useColorPicker.js +150 -150
- package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DatePicker/DatePicker.vue.d.ts +12 -4
- package/dist/Components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +55 -51
- package/dist/Components/DatePicker/composables/useDatePicker.d.ts +3 -3
- package/dist/Components/DatePicker/composables/useDatePicker.js +52 -25
- package/dist/Components/DatePicker/datePicker.types.d.ts +12 -7
- package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DateRangePicker/DateRangePicker.vue.d.ts +12 -4
- package/dist/Components/DateRangePicker/DateRangePicker.vue_vue_type_script_setup_true_lang.js +54 -50
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.d.ts +3 -3
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.js +26 -26
- package/dist/Components/DateRangePicker/dateRangePicker.types.d.ts +12 -7
- package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DateTimePicker/DateTimePicker.vue.d.ts +9 -2
- package/dist/Components/DateTimePicker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +82 -78
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.d.ts +3 -3
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.js +64 -63
- package/dist/Components/DateTimePicker/dateTimePicker.types.d.ts +12 -7
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue.d.ts +12 -4
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue_vue_type_script_setup_true_lang.js +110 -106
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.d.ts +3 -3
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js +71 -70
- package/dist/Components/DateTimeRangePicker/dateTimeRangePicker.types.d.ts +12 -7
- package/dist/Components/FileUpload/FileUpload.vue.d.ts +22 -24
- package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +101 -92
- package/dist/Components/FileUpload/composables/useFileUpload.d.ts +66 -16
- package/dist/Components/FileUpload/composables/useFileUpload.js +182 -157
- package/dist/Components/FileUpload/fileUpload.types.d.ts +113 -23
- package/dist/Components/FileUpload/fileUploadInjectionKey.d.ts +61 -0
- package/dist/Components/FileUpload/fileUploadInjectionKey.js +4 -0
- package/dist/Components/FileUpload/index.d.ts +1 -1
- package/dist/Components/FileUploadItem/FileUploadItem.js +5 -0
- package/dist/Components/FileUploadItem/FileUploadItem.vue.d.ts +12 -0
- package/dist/Components/FileUploadItem/FileUploadItem.vue_vue_type_script_setup_true_lang.js +83 -0
- package/dist/Components/FileUploadItem/composables/useFileUploadItem.d.ts +1153 -0
- package/dist/Components/FileUploadItem/composables/useFileUploadItem.js +94 -0
- package/dist/Components/FileUploadItem/fileUploadItem.types.d.ts +20 -0
- package/dist/Components/FileUploadItem/index.d.ts +3 -0
- package/dist/Components/FileUploadItem/index.js +3 -0
- package/dist/Components/Pagination/composables/usePagination.d.ts +1 -1
- package/dist/Components/Rating/Rating.js +5 -0
- package/dist/Components/Rating/Rating.vue.d.ts +20 -0
- package/dist/Components/Rating/Rating.vue_vue_type_script_setup_true_lang.js +62 -0
- package/dist/Components/Rating/composables/useRating.d.ts +112 -0
- package/dist/Components/Rating/composables/useRating.js +190 -0
- package/dist/Components/Rating/index.d.ts +4 -0
- package/dist/Components/Rating/index.js +3 -0
- package/dist/Components/Rating/rating.types.d.ts +107 -0
- package/dist/Components/Sidebar/composables/useSidebar.js +1 -1
- package/dist/Components/Sidebar/composables/useSidebarTrigger.d.ts +1 -1
- package/dist/Components/Slider/composables/useSlider.d.ts +1 -1
- package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/TimePanel/TimePanel.vue.d.ts +10 -2
- package/dist/Components/TimePanel/TimePanel.vue_vue_type_script_setup_true_lang.js +37 -34
- package/dist/Components/TimePanel/composables/useTimePanel.d.ts +5 -5
- package/dist/Components/TimePanel/composables/useTimePanel.js +108 -109
- package/dist/Components/TimePanel/timePanel.types.d.ts +10 -4
- package/dist/Components/TimePicker/TimePicker.vue.d.ts +10 -2
- package/dist/Components/TimePicker/TimePicker.vue_vue_type_script_setup_true_lang.js +46 -42
- package/dist/Components/TimePicker/composables/useTimePicker.d.ts +3 -3
- package/dist/Components/TimePicker/composables/useTimePicker.js +36 -36
- package/dist/Components/TimePicker/timePicker.types.d.ts +12 -7
- package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue.d.ts +12 -4
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +72 -68
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.d.ts +4 -4
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.js +87 -87
- package/dist/Components/TimeRangePicker/timeRangePicker.types.d.ts +12 -7
- package/dist/augments.d.ts +10 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +117 -109
- package/docs/README.md +2 -0
- package/docs/components/BaseField.md +3 -3
- package/docs/components/Calendar.md +0 -1
- package/docs/components/CalendarDate.md +0 -1
- package/docs/components/CalendarMonth.md +0 -1
- package/docs/components/CalendarRange.md +0 -1
- package/docs/components/CalendarYear.md +0 -1
- package/docs/components/Carousel.md +113 -0
- package/docs/components/ColorPicker.md +13 -14
- package/docs/components/DatePicker.md +0 -1
- package/docs/components/DateRangePicker.md +0 -1
- package/docs/components/DateTimePicker.md +0 -1
- package/docs/components/DateTimeRangePicker.md +0 -1
- package/docs/components/FileUpload.md +83 -8
- package/docs/components/Rating.md +86 -0
- package/docs/components/RichTextEditor.md +3 -3
- package/docs/components/TimePanel.md +0 -1
- package/docs/components/TimePicker.md +0 -1
- package/docs/components/TimeRangePicker.md +0 -1
- package/package.json +2 -12
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { CarouselSlideOwnProps } from '../carouselSlide.types';
|
|
2
|
+
export declare function useCarouselSlide(props: CarouselSlideOwnProps): {
|
|
3
|
+
index: import('vue').ComputedRef<number>;
|
|
4
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
|
|
5
|
+
role: string;
|
|
6
|
+
id: string;
|
|
7
|
+
"data-part": string;
|
|
8
|
+
"aria-label": string;
|
|
9
|
+
"aria-roledescription": string;
|
|
10
|
+
inert: boolean | undefined;
|
|
11
|
+
"aria-hidden": boolean | undefined;
|
|
12
|
+
class: string;
|
|
13
|
+
}, "class", {
|
|
14
|
+
class: string;
|
|
15
|
+
style: {
|
|
16
|
+
[x: string]: string;
|
|
17
|
+
};
|
|
18
|
+
innerHTML?: string | undefined;
|
|
19
|
+
accesskey?: string | undefined;
|
|
20
|
+
contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
21
|
+
contextmenu?: string | undefined;
|
|
22
|
+
dir?: string | undefined;
|
|
23
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
24
|
+
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
25
|
+
enterKeyHint?: import('vue').HTMLAttributes["enterkeyhint"];
|
|
26
|
+
hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
inert?: (boolean | "true" | "false") | undefined;
|
|
29
|
+
lang?: string | undefined;
|
|
30
|
+
placeholder?: string | undefined;
|
|
31
|
+
spellcheck?: (boolean | "true" | "false") | undefined;
|
|
32
|
+
tabindex?: (string | number) | undefined;
|
|
33
|
+
title?: string | undefined;
|
|
34
|
+
translate?: "yes" | "no" | undefined;
|
|
35
|
+
radiogroup?: string | undefined;
|
|
36
|
+
role?: string | undefined;
|
|
37
|
+
about?: string | undefined;
|
|
38
|
+
datatype?: string | undefined;
|
|
39
|
+
inlist?: any;
|
|
40
|
+
prefix?: string | undefined;
|
|
41
|
+
property?: string | undefined;
|
|
42
|
+
resource?: string | undefined;
|
|
43
|
+
typeof?: string | undefined;
|
|
44
|
+
vocab?: string | undefined;
|
|
45
|
+
autocapitalize?: string | undefined;
|
|
46
|
+
autocorrect?: string | undefined;
|
|
47
|
+
autosave?: string | undefined;
|
|
48
|
+
color?: string | undefined;
|
|
49
|
+
itemprop?: string | undefined;
|
|
50
|
+
itemscope?: (boolean | "true" | "false") | undefined;
|
|
51
|
+
itemtype?: string | undefined;
|
|
52
|
+
itemid?: string | undefined;
|
|
53
|
+
itemref?: string | undefined;
|
|
54
|
+
results?: (string | number) | undefined;
|
|
55
|
+
security?: string | undefined;
|
|
56
|
+
unselectable?: "on" | "off" | undefined;
|
|
57
|
+
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
58
|
+
is?: string | undefined;
|
|
59
|
+
exportparts?: string;
|
|
60
|
+
part?: string;
|
|
61
|
+
'aria-activedescendant'?: string | undefined;
|
|
62
|
+
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
63
|
+
'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
|
|
64
|
+
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
65
|
+
'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
66
|
+
'aria-colcount'?: (string | number) | undefined;
|
|
67
|
+
'aria-colindex'?: (string | number) | undefined;
|
|
68
|
+
'aria-colspan'?: (string | number) | undefined;
|
|
69
|
+
'aria-controls'?: string | undefined;
|
|
70
|
+
'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
71
|
+
'aria-describedby'?: string | undefined;
|
|
72
|
+
'aria-details'?: string | undefined;
|
|
73
|
+
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
74
|
+
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
75
|
+
'aria-errormessage'?: string | undefined;
|
|
76
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
77
|
+
'aria-flowto'?: string | undefined;
|
|
78
|
+
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
79
|
+
'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
80
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
81
|
+
'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
|
|
82
|
+
'aria-keyshortcuts'?: string | undefined;
|
|
83
|
+
'aria-label'?: string | undefined;
|
|
84
|
+
'aria-labelledby'?: string | undefined;
|
|
85
|
+
'aria-level'?: (string | number) | undefined;
|
|
86
|
+
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
87
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
88
|
+
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
90
|
+
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
91
|
+
'aria-owns'?: string | undefined;
|
|
92
|
+
'aria-placeholder'?: string | undefined;
|
|
93
|
+
'aria-posinset'?: (string | number) | undefined;
|
|
94
|
+
'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
|
|
95
|
+
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
96
|
+
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
97
|
+
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
98
|
+
'aria-roledescription'?: string | undefined;
|
|
99
|
+
'aria-rowcount'?: (string | number) | undefined;
|
|
100
|
+
'aria-rowindex'?: (string | number) | undefined;
|
|
101
|
+
'aria-rowspan'?: (string | number) | undefined;
|
|
102
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
103
|
+
'aria-setsize'?: (string | number) | undefined;
|
|
104
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
105
|
+
'aria-valuemax'?: (string | number) | undefined;
|
|
106
|
+
'aria-valuemin'?: (string | number) | undefined;
|
|
107
|
+
'aria-valuenow'?: (string | number) | undefined;
|
|
108
|
+
'aria-valuetext'?: string | undefined;
|
|
109
|
+
onCopy?: ((payload: ClipboardEvent) => void) | undefined;
|
|
110
|
+
onCut?: ((payload: ClipboardEvent) => void) | undefined;
|
|
111
|
+
onPaste?: ((payload: ClipboardEvent) => void) | undefined;
|
|
112
|
+
onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
|
|
113
|
+
onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
|
|
114
|
+
onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
|
|
115
|
+
onDrag?: ((payload: DragEvent) => void) | undefined;
|
|
116
|
+
onDragend?: ((payload: DragEvent) => void) | undefined;
|
|
117
|
+
onDragenter?: ((payload: DragEvent) => void) | undefined;
|
|
118
|
+
onDragexit?: ((payload: DragEvent) => void) | undefined;
|
|
119
|
+
onDragleave?: ((payload: DragEvent) => void) | undefined;
|
|
120
|
+
onDragover?: ((payload: DragEvent) => void) | undefined;
|
|
121
|
+
onDragstart?: ((payload: DragEvent) => void) | undefined;
|
|
122
|
+
onDrop?: ((payload: DragEvent) => void) | undefined;
|
|
123
|
+
onFocus?: ((payload: FocusEvent) => void) | undefined;
|
|
124
|
+
onFocusin?: ((payload: FocusEvent) => void) | undefined;
|
|
125
|
+
onFocusout?: ((payload: FocusEvent) => void) | undefined;
|
|
126
|
+
onBlur?: ((payload: FocusEvent) => void) | undefined;
|
|
127
|
+
onChange?: ((payload: Event) => void) | undefined;
|
|
128
|
+
onBeforeinput?: ((payload: InputEvent) => void) | undefined;
|
|
129
|
+
onFormdata?: ((payload: FormDataEvent) => void) | undefined;
|
|
130
|
+
onInput?: ((payload: InputEvent) => void) | undefined;
|
|
131
|
+
onReset?: ((payload: Event) => void) | undefined;
|
|
132
|
+
onSubmit?: ((payload: SubmitEvent) => void) | undefined;
|
|
133
|
+
onInvalid?: ((payload: Event) => void) | undefined;
|
|
134
|
+
onFullscreenchange?: ((payload: Event) => void) | undefined;
|
|
135
|
+
onFullscreenerror?: ((payload: Event) => void) | undefined;
|
|
136
|
+
onLoad?: ((payload: Event) => void) | undefined;
|
|
137
|
+
onError?: ((payload: Event) => void) | undefined;
|
|
138
|
+
onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
|
|
139
|
+
onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
|
|
140
|
+
onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
|
|
141
|
+
onDblclick?: ((payload: MouseEvent) => void) | undefined;
|
|
142
|
+
onMousedown?: ((payload: MouseEvent) => void) | undefined;
|
|
143
|
+
onMouseenter?: ((payload: MouseEvent) => void) | undefined;
|
|
144
|
+
onMouseleave?: ((payload: MouseEvent) => void) | undefined;
|
|
145
|
+
onMousemove?: ((payload: MouseEvent) => void) | undefined;
|
|
146
|
+
onMouseout?: ((payload: MouseEvent) => void) | undefined;
|
|
147
|
+
onMouseover?: ((payload: MouseEvent) => void) | undefined;
|
|
148
|
+
onMouseup?: ((payload: MouseEvent) => void) | undefined;
|
|
149
|
+
onAbort?: ((payload: UIEvent) => void) | undefined;
|
|
150
|
+
onCanplay?: ((payload: Event) => void) | undefined;
|
|
151
|
+
onCanplaythrough?: ((payload: Event) => void) | undefined;
|
|
152
|
+
onDurationchange?: ((payload: Event) => void) | undefined;
|
|
153
|
+
onEmptied?: ((payload: Event) => void) | undefined;
|
|
154
|
+
onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
|
|
155
|
+
onEnded?: ((payload: Event) => void) | undefined;
|
|
156
|
+
onLoadeddata?: ((payload: Event) => void) | undefined;
|
|
157
|
+
onLoadedmetadata?: ((payload: Event) => void) | undefined;
|
|
158
|
+
onLoadstart?: ((payload: Event) => void) | undefined;
|
|
159
|
+
onPause?: ((payload: Event) => void) | undefined;
|
|
160
|
+
onPlay?: ((payload: Event) => void) | undefined;
|
|
161
|
+
onPlaying?: ((payload: Event) => void) | undefined;
|
|
162
|
+
onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
|
|
163
|
+
onRatechange?: ((payload: Event) => void) | undefined;
|
|
164
|
+
onSeeked?: ((payload: Event) => void) | undefined;
|
|
165
|
+
onSeeking?: ((payload: Event) => void) | undefined;
|
|
166
|
+
onStalled?: ((payload: Event) => void) | undefined;
|
|
167
|
+
onSuspend?: ((payload: Event) => void) | undefined;
|
|
168
|
+
onTimeupdate?: ((payload: Event) => void) | undefined;
|
|
169
|
+
onVolumechange?: ((payload: Event) => void) | undefined;
|
|
170
|
+
onWaiting?: ((payload: Event) => void) | undefined;
|
|
171
|
+
onSelect?: ((payload: Event) => void) | undefined;
|
|
172
|
+
onScroll?: ((payload: Event) => void) | undefined;
|
|
173
|
+
onScrollend?: ((payload: Event) => void) | undefined;
|
|
174
|
+
onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
|
|
175
|
+
onTouchend?: ((payload: TouchEvent) => void) | undefined;
|
|
176
|
+
onTouchmove?: ((payload: TouchEvent) => void) | undefined;
|
|
177
|
+
onTouchstart?: ((payload: TouchEvent) => void) | undefined;
|
|
178
|
+
onAuxclick?: ((payload: PointerEvent) => void) | undefined;
|
|
179
|
+
onClick?: ((payload: PointerEvent) => void) | undefined;
|
|
180
|
+
onContextmenu?: ((payload: PointerEvent) => void) | undefined;
|
|
181
|
+
onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
182
|
+
onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
|
|
183
|
+
onPointerdown?: ((payload: PointerEvent) => void) | undefined;
|
|
184
|
+
onPointermove?: ((payload: PointerEvent) => void) | undefined;
|
|
185
|
+
onPointerup?: ((payload: PointerEvent) => void) | undefined;
|
|
186
|
+
onPointercancel?: ((payload: PointerEvent) => void) | undefined;
|
|
187
|
+
onPointerenter?: ((payload: PointerEvent) => void) | undefined;
|
|
188
|
+
onPointerleave?: ((payload: PointerEvent) => void) | undefined;
|
|
189
|
+
onPointerover?: ((payload: PointerEvent) => void) | undefined;
|
|
190
|
+
onPointerout?: ((payload: PointerEvent) => void) | undefined;
|
|
191
|
+
onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
192
|
+
onToggle?: ((payload: ToggleEvent) => void) | undefined;
|
|
193
|
+
onWheel?: ((payload: WheelEvent) => void) | undefined;
|
|
194
|
+
onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
|
|
195
|
+
onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
|
|
196
|
+
onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
|
|
197
|
+
onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
|
|
198
|
+
onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
|
|
199
|
+
onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
|
|
200
|
+
onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
|
|
201
|
+
onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
|
|
202
|
+
onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
|
|
203
|
+
}, Omit<import('vue').HTMLAttributes, "class" | "style">>>;
|
|
204
|
+
selected: import('vue').ComputedRef<boolean>;
|
|
205
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { CAROUSEL_INJECTION_KEY as i } from "../../Carousel/carouselInjectionKey.js";
|
|
4
|
+
import { computed as a, inject as o, onBeforeUnmount as s, useAttrs as c, useId as l, watchEffect as u } from "vue";
|
|
5
|
+
import { get as d, omit as f } from "es-toolkit/compat";
|
|
6
|
+
import { getCarouselSlideId as p, isCarouselSlideInView as m } from "@bridge-ui/core/Domain";
|
|
7
|
+
import { cn as h, splitComponentProps as g } from "@bridge-ui/core/Utils";
|
|
8
|
+
//#region src/Components/CarouselSlide/composables/useCarouselSlide.ts
|
|
9
|
+
var _ = ["classes", "customProps"];
|
|
10
|
+
function v(e) {
|
|
11
|
+
return e && typeof e == "object" && !Array.isArray(e) ? e : {};
|
|
12
|
+
}
|
|
13
|
+
function y(y) {
|
|
14
|
+
let b = c(), x = l(), S = e(), C = o(i, null);
|
|
15
|
+
if (!C) throw Error("CarouselSlide must be used within a Carousel provider");
|
|
16
|
+
let w = C, T = null;
|
|
17
|
+
T = w.value.registerSlide(x), s(() => {
|
|
18
|
+
T?.(), T = null;
|
|
19
|
+
});
|
|
20
|
+
let E = a(() => w.value.getIndex(x)), D = a(() => E.value === w.value.activeIndex), O = a(() => m({
|
|
21
|
+
slideIndex: E.value,
|
|
22
|
+
activeIndex: w.value.activeIndex,
|
|
23
|
+
slidesPerView: w.value.slidesPerView
|
|
24
|
+
})), k = a(() => p(w.value.id, E.value)), A = a(() => g({
|
|
25
|
+
props: {
|
|
26
|
+
...b,
|
|
27
|
+
...y
|
|
28
|
+
},
|
|
29
|
+
bridgeKeys: _
|
|
30
|
+
})), { merged: j, entry: M } = n({
|
|
31
|
+
componentName: "CarouselSlide",
|
|
32
|
+
props: () => A.value.componentProps
|
|
33
|
+
}), N = r({
|
|
34
|
+
entry: M,
|
|
35
|
+
props: () => A.value.componentProps
|
|
36
|
+
}), P = a(() => {
|
|
37
|
+
let e = E.value + 1;
|
|
38
|
+
return w.value.slideCount > 0 ? S("Slide {{index}} of {{count}}", {
|
|
39
|
+
index: e,
|
|
40
|
+
count: w.value.slideCount
|
|
41
|
+
}) : S("Slide {{index}}", { index: e });
|
|
42
|
+
});
|
|
43
|
+
return u(() => {
|
|
44
|
+
let e = document.getElementById(k.value);
|
|
45
|
+
e && (O.value ? e.removeAttribute("inert") : e.setAttribute("inert", ""));
|
|
46
|
+
}), {
|
|
47
|
+
index: E,
|
|
48
|
+
rootBind: a(() => {
|
|
49
|
+
let e = j.value.customProps?.root;
|
|
50
|
+
return t({
|
|
51
|
+
...A.value.inheritedAttrs,
|
|
52
|
+
...e,
|
|
53
|
+
class: h(A.value.inheritedAttrs.class, e?.class),
|
|
54
|
+
style: {
|
|
55
|
+
...w.value.slideStyle,
|
|
56
|
+
...v(A.value.inheritedAttrs.style),
|
|
57
|
+
...v(w.value.slidePartProps?.style),
|
|
58
|
+
...v(e?.style)
|
|
59
|
+
}
|
|
60
|
+
}, f(w.value.slidePartProps, ["class", "style"]), {
|
|
61
|
+
role: "group",
|
|
62
|
+
id: k.value,
|
|
63
|
+
"data-part": "slide",
|
|
64
|
+
"aria-label": P.value,
|
|
65
|
+
"aria-roledescription": "slide",
|
|
66
|
+
inert: !O.value || void 0,
|
|
67
|
+
"aria-hidden": !O.value || void 0,
|
|
68
|
+
class: h(A.value.inheritedAttrs.class, w.value.slidePartProps?.class, {
|
|
69
|
+
[w.value.slideClassName]: !0,
|
|
70
|
+
[d(N.value, "root") ?? ""]: !0,
|
|
71
|
+
[d(w.value.sizeItem, "slide") ?? ""]: !0
|
|
72
|
+
})
|
|
73
|
+
});
|
|
74
|
+
}),
|
|
75
|
+
selected: D
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { y as useCarouselSlide };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { CarouselSlideClasses, CarouselSlideCustomProps, CarouselSlideOwnProps, CarouselSlideProps, CarouselSlideSlots, } from './carouselSlide.types';
|
|
2
|
+
export { default as CarouselSlide } from './CarouselSlide.vue';
|
|
3
|
+
export { useCarouselSlide } from './composables/useCarouselSlide';
|
|
@@ -102,9 +102,9 @@ var A = { class: "flex min-w-0 flex-1 items-center gap-2" }, j = ["aria-label"],
|
|
|
102
102
|
default: D(() => [m(T(c), {
|
|
103
103
|
fill: T(z),
|
|
104
104
|
format: T(B),
|
|
105
|
-
value: T(q),
|
|
106
105
|
class: y(T(X)),
|
|
107
106
|
alpha: T(V).alpha,
|
|
107
|
+
"model-value": T(q),
|
|
108
108
|
"show-footer": T(J),
|
|
109
109
|
"read-only": F.readonly,
|
|
110
110
|
swatches: T(V).swatches,
|
|
@@ -120,9 +120,9 @@ var A = { class: "flex min-w-0 flex-1 items-center gap-2" }, j = ["aria-label"],
|
|
|
120
120
|
} : void 0]), 1032, [
|
|
121
121
|
"fill",
|
|
122
122
|
"format",
|
|
123
|
-
"value",
|
|
124
123
|
"class",
|
|
125
124
|
"alpha",
|
|
125
|
+
"model-value",
|
|
126
126
|
"show-footer",
|
|
127
127
|
"read-only",
|
|
128
128
|
"swatches",
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { ColorPickerOwnProps, ColorPickerSlots } from './colorPicker.types';
|
|
2
2
|
type __VLS_Slots = ColorPickerSlots;
|
|
3
|
-
|
|
3
|
+
type __VLS_Props = ColorPickerOwnProps;
|
|
4
|
+
type __VLS_ModelProps = {
|
|
5
|
+
modelValue?: null | string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
9
|
apply: () => any;
|
|
5
10
|
cancel: () => any;
|
|
6
11
|
change: (value: string | null) => any;
|
|
7
|
-
|
|
12
|
+
"update:modelValue": (...args: unknown[]) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
14
|
onApply?: (() => any) | undefined;
|
|
9
15
|
onCancel?: (() => any) | undefined;
|
|
10
16
|
onChange?: ((value: string | null) => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
11
18
|
}>, {
|
|
12
19
|
showFooter: boolean;
|
|
13
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { useOptionalModel as e } from "../../Utils/useOptionalModel.js";
|
|
2
|
+
import t from "../ActionFooter/ActionFooter.js";
|
|
3
|
+
import { useColorPicker as n } from "./composables/useColorPicker.js";
|
|
4
|
+
import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, normalizeClass as f, normalizeProps as p, normalizeStyle as m, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, useModel as x } from "vue";
|
|
5
|
+
import { cn as S } from "@bridge-ui/core/Utils";
|
|
5
6
|
//#region src/Components/ColorPicker/ColorPicker.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
7
|
+
var C = { class: "min-w-0 truncate text-sm text-dark-700 dark:text-dark-100" }, w = [
|
|
7
8
|
"aria-label",
|
|
8
9
|
"onClick",
|
|
9
10
|
"aria-pressed",
|
|
10
11
|
"disabled"
|
|
11
|
-
],
|
|
12
|
+
], T = /*@__PURE__*/ c({
|
|
12
13
|
inheritAttrs: !1,
|
|
13
14
|
__name: "ColorPicker",
|
|
14
|
-
props: {
|
|
15
|
+
props: /*@__PURE__*/ u({
|
|
15
16
|
alpha: { type: Boolean },
|
|
16
17
|
classes: {},
|
|
17
18
|
customProps: {},
|
|
@@ -25,68 +26,71 @@ var y = { class: "min-w-0 truncate text-sm text-dark-700 dark:text-dark-100" },
|
|
|
25
26
|
type: Boolean,
|
|
26
27
|
default: void 0
|
|
27
28
|
},
|
|
28
|
-
swatches: {}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
swatches: {}
|
|
30
|
+
}, {
|
|
31
|
+
modelValue: {},
|
|
32
|
+
modelModifiers: {}
|
|
33
|
+
}),
|
|
34
|
+
emits: /*@__PURE__*/ u([
|
|
32
35
|
"apply",
|
|
33
36
|
"cancel",
|
|
34
|
-
"change"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
"change",
|
|
38
|
+
"update:modelValue"
|
|
39
|
+
], ["update:modelValue"]),
|
|
40
|
+
setup(c, { emit: u }) {
|
|
41
|
+
let T = x(c, "modelValue"), E = u, D = c, O = g(D.defaultValue ?? null), k = e(T, O), { merged: A, hueBind: j, rootBind: M, areaBind: N, alphaBind: P, showAlpha: F, swatchCss: I, footerBind: ee, showFooter: L, previewBind: R, contentBind: z, handleApply: B, swatchesBind: V, handleCancel: H, hueThumbBind: U, areaThumbBind: W, alphaFillBind: G, formattedValue: K, alphaThumbBind: q, presetSwatches: J, applyButtonProps: Y, isSwatchSelected: X, previewSwatchBind: Z, handleSwatchClick: Q, swatchButtonClass: $, cancelButtonProps: te, swatchSelectedClass: ne, previewSwatchFillBind: re } = n(D, {
|
|
38
42
|
rounded: "md",
|
|
39
43
|
format: "hex"
|
|
40
|
-
},
|
|
41
|
-
return (
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
}, k, E);
|
|
45
|
+
return (e, n) => (h(), a("div", p(l(b(M))), [o("div", { class: f(b(z)) }, [
|
|
46
|
+
o("div", p(l(b(N))), [
|
|
47
|
+
n[0] ||= o("span", {
|
|
44
48
|
"aria-hidden": "",
|
|
45
49
|
class: "pointer-events-none absolute inset-0",
|
|
46
50
|
style: { backgroundImage: "linear-gradient(to right, #fff, transparent)" }
|
|
47
51
|
}, null, -1),
|
|
48
|
-
|
|
52
|
+
n[1] ||= o("span", {
|
|
49
53
|
"aria-hidden": "",
|
|
50
54
|
class: "pointer-events-none absolute inset-0",
|
|
51
55
|
style: { backgroundImage: "linear-gradient(to top, #000, transparent)" }
|
|
52
56
|
}, null, -1),
|
|
53
|
-
|
|
57
|
+
o("span", p(l(b(W))), null, 16)
|
|
54
58
|
], 16),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
o("div", p(l(b(j))), [o("span", p(l(b(U))), null, 16)], 16),
|
|
60
|
+
b(F) ? (h(), a("div", p(d({ key: 0 }, b(P))), [o("span", p(l(b(G))), null, 16), o("span", p(l(b(q))), null, 16)], 16)) : i("", !0),
|
|
61
|
+
o("div", p(l(b(R))), [o("span", p(l(b(Z))), [o("span", p(l(b(re))), null, 16)], 16), o("span", C, y(b(K)), 1)], 16),
|
|
62
|
+
b(J).length > 0 ? (h(), a("div", p(d({ key: 1 }, b(V))), [(h(!0), a(r, null, _(b(J), (e) => (h(), a("button", {
|
|
59
63
|
type: "button",
|
|
60
64
|
key: e,
|
|
61
65
|
"aria-label": e,
|
|
62
|
-
onClick: (t) =>
|
|
63
|
-
"aria-pressed":
|
|
64
|
-
disabled:
|
|
65
|
-
class:
|
|
66
|
-
[
|
|
67
|
-
[
|
|
66
|
+
onClick: (t) => b(Q)(e),
|
|
67
|
+
"aria-pressed": b(X)(e),
|
|
68
|
+
disabled: b(A).disabled || b(A).readOnly,
|
|
69
|
+
class: f(b(S)({
|
|
70
|
+
[b($)]: !0,
|
|
71
|
+
[b(ne)]: b(X)(e)
|
|
68
72
|
}))
|
|
69
|
-
}, [
|
|
73
|
+
}, [o("span", {
|
|
70
74
|
"aria-hidden": "",
|
|
71
75
|
class: "absolute inset-0",
|
|
72
|
-
style:
|
|
73
|
-
}, null, 4)], 10,
|
|
74
|
-
], 2),
|
|
75
|
-
apply:
|
|
76
|
-
cancel:
|
|
77
|
-
}, () => [
|
|
78
|
-
onApply:
|
|
79
|
-
onCancel:
|
|
76
|
+
style: m({ backgroundColor: b(I)(e) })
|
|
77
|
+
}, null, 4)], 10, w))), 128))], 16)) : i("", !0)
|
|
78
|
+
], 2), b(L) ? (h(), a("div", p(d({ key: 0 }, b(ee))), [v(e.$slots, "footer", {
|
|
79
|
+
apply: b(B),
|
|
80
|
+
cancel: b(H)
|
|
81
|
+
}, () => [s(b(t), {
|
|
82
|
+
onApply: b(B),
|
|
83
|
+
onCancel: b(H),
|
|
80
84
|
"custom-props": {
|
|
81
|
-
applyButton:
|
|
82
|
-
cancelButton:
|
|
85
|
+
applyButton: b(Y),
|
|
86
|
+
cancelButton: b(te)
|
|
83
87
|
}
|
|
84
88
|
}, null, 8, [
|
|
85
89
|
"onApply",
|
|
86
90
|
"onCancel",
|
|
87
91
|
"custom-props"
|
|
88
|
-
])])], 16)) :
|
|
92
|
+
])])], 16)) : i("", !0)], 16));
|
|
89
93
|
}
|
|
90
94
|
});
|
|
91
95
|
//#endregion
|
|
92
|
-
export {
|
|
96
|
+
export { T as default };
|
|
@@ -103,6 +103,10 @@ export interface ColorPickerEmits {
|
|
|
103
103
|
* Emitted when Apply is pressed (`showFooter`) or when the value commits.
|
|
104
104
|
*/
|
|
105
105
|
change: [value: null | string];
|
|
106
|
+
/**
|
|
107
|
+
* Emitted when `v-model` should update.
|
|
108
|
+
*/
|
|
109
|
+
"update:modelValue": [value: null | string];
|
|
106
110
|
}
|
|
107
111
|
export interface ColorPickerOwnProps {
|
|
108
112
|
/**
|
|
@@ -181,12 +185,6 @@ export interface ColorPickerOwnProps {
|
|
|
181
185
|
* @default undefined
|
|
182
186
|
*/
|
|
183
187
|
swatches?: string[];
|
|
184
|
-
/**
|
|
185
|
-
* Controlled value.
|
|
186
|
-
*
|
|
187
|
-
* @default undefined
|
|
188
|
-
*/
|
|
189
|
-
value?: null | string;
|
|
190
188
|
}
|
|
191
189
|
export interface ColorPickerSlots {
|
|
192
190
|
/**
|
|
@@ -197,4 +195,11 @@ export interface ColorPickerSlots {
|
|
|
197
195
|
*/
|
|
198
196
|
footer?: Slot<FieldOverlayFooterSlotProps>;
|
|
199
197
|
}
|
|
200
|
-
export type ColorPickerProps = MergeHtmlProps<ColorPickerOwnProps, HTMLAttributes
|
|
198
|
+
export type ColorPickerProps = MergeHtmlProps<ColorPickerOwnProps, HTMLAttributes> & {
|
|
199
|
+
/**
|
|
200
|
+
* Bound with `v-model` on the component (`defineModel` internally).
|
|
201
|
+
*
|
|
202
|
+
* @default undefined
|
|
203
|
+
*/
|
|
204
|
+
modelValue?: null | string;
|
|
205
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaybeRefOrGetter, SetupContext } from 'vue';
|
|
1
|
+
import { MaybeRefOrGetter, Ref, SetupContext } from 'vue';
|
|
2
2
|
import { LibDefaultsShape, MergeLibDefaults } from '@bridge-ui/core/Utils';
|
|
3
3
|
import { ColorPickerEmits, ColorPickerOwnProps } from '../colorPicker.types';
|
|
4
4
|
type ColorPickerLibDefaults = LibDefaultsShape<ColorPickerOwnProps, "format" | "rounded">;
|
|
@@ -6,7 +6,7 @@ type ColorPickerMerged = MergeLibDefaults<ColorPickerOwnProps, ColorPickerLibDef
|
|
|
6
6
|
/**
|
|
7
7
|
* Owns controlled/uncontrolled value, optional footer draft, and panel binds.
|
|
8
8
|
*/
|
|
9
|
-
export declare function useColorPicker(props: MaybeRefOrGetter<ColorPickerOwnProps>, libDefaults: ColorPickerLibDefaults, emit: SetupContext<ColorPickerEmits>["emit"]): {
|
|
9
|
+
export declare function useColorPicker(props: MaybeRefOrGetter<ColorPickerOwnProps>, libDefaults: ColorPickerLibDefaults, model: Ref<null | string>, emit: SetupContext<ColorPickerEmits>["emit"]): {
|
|
10
10
|
merged: import('vue').ComputedRef<ColorPickerMerged>;
|
|
11
11
|
hueBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, {
|
|
12
12
|
role: string;
|
|
@@ -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" | "
|
|
25
|
+
rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<object, "class", import('vue').HTMLAttributes | undefined, Partial<Omit<ColorPickerOwnProps, "fill" | "format" | "classes" | "showFooter" | "customProps" | "disabled" | "rounded" | "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;
|