@vizejs/ui 0.699.0 → 0.700.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/dist/accordion.d.mts +1 -1
- package/dist/action-sheet.d.mts +1 -1
- package/dist/alert-dialog.d.mts +1 -1
- package/dist/{announcer-C_PLQ_Hs.d.mts → announcer-BwIvGMhl.d.mts} +32 -32
- package/dist/announcer.d.mts +1 -1
- package/dist/{autocomplete-DmvwwLoZ.mjs → autocomplete-DpNg5TLG.mjs} +0 -1
- package/dist/autocomplete.d.mts +1 -1
- package/dist/autocomplete.mjs +1 -1
- package/dist/avatar.d.mts +1 -1
- package/dist/badge.d.mts +1 -1
- package/dist/banner.d.mts +1 -1
- package/dist/block-ui.d.mts +1 -1
- package/dist/blockquote.d.mts +1 -1
- package/dist/{breadcrumb-SsZSEerN.d.mts → breadcrumb-aITc0VLc.d.mts} +1 -1
- package/dist/breadcrumb.d.mts +1 -1
- package/dist/calendar.d.mts +1 -1
- package/dist/callout.d.mts +1 -1
- package/dist/card.d.mts +1 -1
- package/dist/chart.d.mts +1 -1
- package/dist/checkbox.d.mts +1 -1
- package/dist/code.d.mts +1 -1
- package/dist/collapsible.d.mts +1 -1
- package/dist/color-picker.d.mts +1 -1
- package/dist/combobox.d.mts +1 -1
- package/dist/command-palette.d.mts +1 -1
- package/dist/confirm.d.mts +1 -1
- package/dist/context-menu.d.mts +1 -1
- package/dist/copy-button.d.mts +1 -1
- package/dist/date-range-picker.d.mts +1 -1
- package/dist/dialog.d.mts +1 -1
- package/dist/direction.d.mts +1 -1
- package/dist/drawer.d.mts +1 -1
- package/dist/dropdown-menu.d.mts +1 -1
- package/dist/duration-field.d.mts +1 -1
- package/dist/empty-state.d.mts +1 -1
- package/dist/fieldset.d.mts +1 -1
- package/dist/file-upload.d.mts +1 -1
- package/dist/floating-action-button.d.mts +1 -1
- package/dist/focus-visible.d.mts +1 -1
- package/dist/fullscreen-button.d.mts +1 -1
- package/dist/heading.d.mts +1 -1
- package/dist/hover-card.d.mts +1 -1
- package/dist/icon-button.d.mts +1 -1
- package/dist/icon.d.mts +1 -1
- package/dist/{image-DCQeTHqi.d.mts → image-D9CEf8uD.d.mts} +2 -2
- package/dist/{image-cropper-BPAHa995.d.mts → image-cropper-BJsgLDjH.d.mts} +2 -2
- package/dist/image-cropper.d.mts +1 -1
- package/dist/image.d.mts +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +1 -1
- package/dist/{input-D4Zvmf67.d.mts → input-C0fgeRnS.d.mts} +2 -2
- package/dist/input.d.mts +1 -1
- package/dist/kbd.d.mts +1 -1
- package/dist/landmark.d.mts +1 -1
- package/dist/list.d.mts +1 -1
- package/dist/listbox.d.mts +1 -1
- package/dist/locale.d.mts +1 -1
- package/dist/media-preferences.d.mts +1 -1
- package/dist/menu.d.mts +1 -1
- package/dist/menubar.d.mts +1 -1
- package/dist/month-picker.d.mts +1 -1
- package/dist/native-select.d.mts +1 -1
- package/dist/navigation-rail.d.mts +1 -1
- package/dist/notification-center.d.mts +1 -1
- package/dist/pager.d.mts +1 -1
- package/dist/pagination.d.mts +1 -1
- package/dist/popconfirm.d.mts +1 -1
- package/dist/popover.d.mts +1 -1
- package/dist/print-button.d.mts +1 -1
- package/dist/progress-bar.d.mts +1 -1
- package/dist/radio-group.d.mts +1 -1
- package/dist/scroll-area.d.mts +1 -1
- package/dist/{search-field-DzW31UHM.d.mts → search-field-Biw9vApG.d.mts} +2 -2
- package/dist/search-field.d.mts +1 -1
- package/dist/select.d.mts +1 -1
- package/dist/share-button.d.mts +1 -1
- package/dist/sidebar.d.mts +1 -1
- package/dist/split-button.d.mts +1 -1
- package/dist/splitter.d.mts +1 -1
- package/dist/status-light.d.mts +1 -1
- package/dist/stepper.d.mts +1 -1
- package/dist/surface.d.mts +1 -1
- package/dist/switch.d.mts +1 -1
- package/dist/tabs.d.mts +1 -1
- package/dist/tags-input.d.mts +1 -1
- package/dist/text.d.mts +1 -1
- package/dist/{textarea-D7V5lLPX.d.mts → textarea-4eIDNcvv.d.mts} +2 -2
- package/dist/textarea.d.mts +1 -1
- package/dist/toggle.d.mts +1 -1
- package/dist/tooltip.d.mts +1 -1
- package/dist/tour.d.mts +1 -1
- package/dist/tree.d.mts +1 -1
- package/dist/week-picker.d.mts +1 -1
- package/package.json +2 -2
- package/registry/files/families/actions/floating-action-button/speed-dial-root.vue +2 -2
- package/registry/files/families/actions/split-button/split-button-root.vue +1 -1
- package/registry/files/families/charts/chart/chart-root.vue +1 -1
- package/registry/files/families/data/data-grid/data-grid.vue +1 -1
- package/registry/files/families/data/grid-list/grid-list.vue +2 -2
- package/registry/files/families/data/kanban/kanban.vue +1 -1
- package/registry/files/families/data/tree/tree-root.vue +3 -3
- package/registry/files/families/date-time/calendar/calendar-multiple-root.vue +6 -2
- package/registry/files/families/date-time/calendar/calendar-root.vue +2 -2
- package/registry/files/families/date-time/date-field/date-field.vue +1 -1
- package/registry/files/families/date-time/date-picker/date-picker-root.vue +2 -2
- package/registry/files/families/date-time/date-range-picker/date-range-picker-root.vue +2 -2
- package/registry/files/families/date-time/datetime-field/datetime-field.vue +5 -1
- package/registry/files/families/date-time/duration-field/duration-field.vue +5 -1
- package/registry/files/families/date-time/month-picker/month-picker.vue +1 -1
- package/registry/files/families/date-time/range-calendar/range-calendar-root.vue +3 -3
- package/registry/files/families/date-time/scheduler/scheduler-root.vue +5 -5
- package/registry/files/families/date-time/time-field/time-field.vue +1 -1
- package/registry/files/families/date-time/time-picker/time-picker.vue +1 -1
- package/registry/files/families/date-time/week-picker/week-picker-root.vue +2 -2
- package/registry/files/families/date-time/year-picker/year-picker.vue +1 -1
- package/registry/files/families/disclosure/accordion/accordion-root.vue +1 -1
- package/registry/files/families/disclosure/collapsible/collapsible-root.vue +1 -1
- package/registry/files/families/editor/rich-text/rich-text-content.vue +1 -6
- package/registry/files/families/editor/rich-text/rich-text-root.vue +1 -1
- package/registry/files/families/feedback/banner/banner.vue +1 -1
- package/registry/files/families/feedback/block-ui/block-ui.vue +7 -7
- package/registry/files/families/feedback/notification-center/notification-center-root.vue +1 -1
- package/registry/files/families/form/angle-picker/angle-picker.vue +1 -1
- package/registry/files/families/form/color-picker/color-picker-root.vue +2 -2
- package/registry/files/families/form/editable/editable.vue +3 -3
- package/registry/files/families/form/form-wizard/form-wizard.vue +3 -3
- package/registry/files/families/form/input/text-input.vue +4 -4
- package/registry/files/families/form/knob/knob.vue +1 -1
- package/registry/files/families/form/mention/mention-root.vue +3 -3
- package/registry/files/families/form/password-field/password-field.vue +1 -1
- package/registry/files/families/form/phone-field/phone-field.vue +1 -1
- package/registry/files/families/form/pin-input/pin-input.vue +1 -1
- package/registry/files/families/form/rating/rating.vue +2 -2
- package/registry/files/families/form/search-field/search-field.vue +6 -6
- package/registry/files/families/form/tags-input/tags-input-root.vue +4 -4
- package/registry/files/families/form/textarea/textarea-control.vue +4 -4
- package/registry/files/families/interaction/swipe-actions/swipe-actions.vue +1 -1
- package/registry/files/families/layout/master-detail/master-detail.vue +1 -1
- package/registry/files/families/layout/resizable/resizable-root.vue +3 -3
- package/registry/files/families/layout/sidebar/sidebar-provider.vue +1 -1
- package/registry/files/families/layout/splitter/splitter-group.vue +3 -3
- package/registry/files/families/media/carousel/carousel-root.vue +1 -1
- package/registry/files/families/media/hotspot/hotspot-root.vue +1 -1
- package/registry/files/families/media/image-compare/image-compare-root.vue +2 -2
- package/registry/files/families/media/image-cropper/image-cropper-root.vue +2 -2
- package/registry/files/families/media/lightbox/lightbox-root.vue +1 -1
- package/registry/files/families/media/marquee/marquee-root.vue +1 -1
- package/registry/files/families/media/media-player/media-player-root.vue +5 -5
- package/registry/files/families/media/pan-zoom/pan-zoom-root.vue +3 -3
- package/registry/files/families/media/scrubber-preview/scrubber-preview-root.vue +1 -1
- package/registry/files/families/media/signature-pad/signature-pad-root.vue +3 -3
- package/registry/files/families/media/webcam-capture/webcam-capture-root.vue +5 -5
- package/registry/files/families/menus/context-menu/context-menu-root.vue +1 -1
- package/registry/files/families/menus/dropdown-menu/dropdown-menu-root.vue +1 -1
- package/registry/files/families/menus/menu/menu-checkbox-item.vue +1 -1
- package/registry/files/families/menus/menu/menu-radio-group.vue +1 -1
- package/registry/files/families/menus/menu/menu-root.vue +1 -1
- package/registry/files/families/menus/menu/menu-sub.vue +1 -1
- package/registry/files/families/menus/menubar/menubar-root.vue +1 -1
- package/registry/files/families/navigation/bottom-navigation/bottom-navigation.vue +1 -1
- package/registry/files/families/navigation/navigation-menu/navigation-menu-root.vue +1 -1
- package/registry/files/families/navigation/navigation-rail/navigation-rail.vue +1 -1
- package/registry/files/families/navigation/pager/pager.vue +1 -1
- package/registry/files/families/navigation/pagination/pagination.vue +1 -1
- package/registry/files/families/navigation/stepper/stepper-root.vue +2 -2
- package/registry/files/families/navigation/tabs/tabs-root.vue +1 -1
- package/registry/files/families/navigation/toc/toc-root.vue +1 -1
- package/registry/files/families/overlays/command-palette/command-palette-root.vue +1 -1
- package/registry/files/families/overlays/dialog/dialog-root.vue +2 -2
- package/registry/files/families/overlays/drawer/drawer-root.vue +4 -4
- package/registry/files/families/overlays/hover-card/hover-card-root.vue +1 -1
- package/registry/files/families/overlays/popconfirm/popconfirm-root.vue +4 -4
- package/registry/files/families/overlays/popover/popover-root.vue +2 -2
- package/registry/files/families/overlays/tooltip/tooltip-root.vue +2 -2
- package/registry/files/families/overlays/tour/tour-root.vue +6 -6
- package/registry/files/families/selection/autocomplete/autocomplete-root.vue +1 -2
- package/registry/files/families/selection/cascader/cascader-root.vue +2 -2
- package/registry/files/families/selection/checkbox/checkbox-control.vue +1 -1
- package/registry/files/families/selection/checkbox-group/checkbox-group.vue +1 -1
- package/registry/files/families/selection/combobox/combobox-root.vue +3 -3
- package/registry/files/families/selection/emoji-picker/emoji-picker-root.vue +1 -1
- package/registry/files/families/selection/listbox/listbox.vue +1 -1
- package/registry/files/families/selection/listbox-grid/listbox-grid.vue +1 -1
- package/registry/files/families/selection/radio-group/radio-group.vue +1 -1
- package/registry/files/families/selection/select/select-root.vue +2 -2
- package/registry/files/families/selection/switch/switch-control.vue +1 -1
- package/registry/files/families/selection/toggle/toggle-button.vue +1 -1
- package/registry/files/families/selection/toggle-group/toggle-group.vue +2 -2
- package/registry/files/families/selection/transfer-list/transfer-list-root.vue +1 -1
- package/registry/registry.json +281 -281
|
@@ -135,23 +135,23 @@ const emit = defineEmits<{
|
|
|
135
135
|
"update:open": [value: boolean];
|
|
136
136
|
|
|
137
137
|
/** Fired after any distinct open-state request. */
|
|
138
|
-
openChange: [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
138
|
+
"openChange": [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
139
139
|
|
|
140
140
|
/** Fired when the Drawer requests a controlled snap point. */
|
|
141
141
|
"update:activeSnapPoint": [value: DrawerSnapPoint | null];
|
|
142
142
|
|
|
143
143
|
/** Fired after any distinct snap point request. */
|
|
144
|
-
snapPointChange: [
|
|
144
|
+
"snapPointChange": [
|
|
145
145
|
value: DrawerSnapPoint | null,
|
|
146
146
|
previous: DrawerSnapPoint | null,
|
|
147
147
|
nativeEvent: Event | null,
|
|
148
148
|
];
|
|
149
149
|
|
|
150
150
|
/** Fired once a pointer has moved past the drag slop. */
|
|
151
|
-
dragStart: [nativeEvent: PointerEvent];
|
|
151
|
+
"dragStart": [nativeEvent: PointerEvent];
|
|
152
152
|
|
|
153
153
|
/** Fired when a started drag gesture ends. */
|
|
154
|
-
dragEnd: [event: DrawerDragEndEvent];
|
|
154
|
+
"dragEnd": [event: DrawerDragEndEvent];
|
|
155
155
|
}>();
|
|
156
156
|
|
|
157
157
|
const dragSlop = 4;
|
|
@@ -90,7 +90,7 @@ const emit = defineEmits<{
|
|
|
90
90
|
"update:open": [value: boolean];
|
|
91
91
|
|
|
92
92
|
/** Fired after any distinct open-state request. */
|
|
93
|
-
openChange: [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
93
|
+
"openChange": [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
94
94
|
}>();
|
|
95
95
|
|
|
96
96
|
defineSlots<{
|
|
@@ -66,16 +66,16 @@ const emit = defineEmits<{
|
|
|
66
66
|
"update:open": [value: boolean];
|
|
67
67
|
|
|
68
68
|
/** Fired after any distinct open-state request. */
|
|
69
|
-
openChange: [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
69
|
+
"openChange": [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
70
70
|
|
|
71
71
|
/** Fired after the confirmation handler succeeded and the popover closed. */
|
|
72
|
-
confirmed: [nativeEvent: Event | null];
|
|
72
|
+
"confirmed": [nativeEvent: Event | null];
|
|
73
73
|
|
|
74
74
|
/** Fired when the confirmation closed without confirming. */
|
|
75
|
-
cancel: [reason: PopconfirmCancelReason, nativeEvent: Event | null];
|
|
75
|
+
"cancel": [reason: PopconfirmCancelReason, nativeEvent: Event | null];
|
|
76
76
|
|
|
77
77
|
/** Fired when the confirmation handler threw or rejected; the popover stays open. */
|
|
78
|
-
error: [reason: unknown];
|
|
78
|
+
"error": [reason: unknown];
|
|
79
79
|
}>();
|
|
80
80
|
|
|
81
81
|
defineSlots<{
|
|
@@ -57,7 +57,7 @@ const emit = defineEmits<{
|
|
|
57
57
|
/** Fired when the Popover requests a controlled open value. */
|
|
58
58
|
"update:open": [value: boolean];
|
|
59
59
|
/** Fired after any distinct open-state request. */
|
|
60
|
-
openChange: [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
60
|
+
"openChange": [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
61
61
|
}>();
|
|
62
62
|
|
|
63
63
|
defineSlots<{
|
|
@@ -123,7 +123,7 @@ watch(disabledState, (next, previousDisabled) => {
|
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
popoverContext.provide({
|
|
127
127
|
id: baseId,
|
|
128
128
|
triggerId,
|
|
129
129
|
contentId,
|
|
@@ -65,7 +65,7 @@ const emit = defineEmits<{
|
|
|
65
65
|
/** Fired when the Tooltip requests a controlled open value. */
|
|
66
66
|
"update:open": [value: boolean];
|
|
67
67
|
/** Fired after any distinct open-state request. */
|
|
68
|
-
openChange: [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
68
|
+
"openChange": [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
69
69
|
}>();
|
|
70
70
|
|
|
71
71
|
defineSlots<{
|
|
@@ -166,7 +166,7 @@ watch(disabledState, (next, previousDisabled) => {
|
|
|
166
166
|
|
|
167
167
|
onUnmounted(cancelOpen);
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
tooltipContext.provide({
|
|
170
170
|
id: baseId,
|
|
171
171
|
triggerId,
|
|
172
172
|
contentId,
|
|
@@ -176,25 +176,25 @@ const emit = defineEmits<{
|
|
|
176
176
|
"update:open": [value: boolean];
|
|
177
177
|
|
|
178
178
|
/** Fired after any distinct open-state request. */
|
|
179
|
-
openChange: [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
179
|
+
"openChange": [value: boolean, previous: boolean, nativeEvent: Event | null];
|
|
180
180
|
|
|
181
181
|
/** Fired when the tour requests a controlled step value. */
|
|
182
182
|
"update:step": [value: StepValue];
|
|
183
183
|
|
|
184
184
|
/** Fired after any distinct step request. */
|
|
185
|
-
stepChange: [value: StepValue, previous: StepValue | null, nativeEvent: Event | null];
|
|
185
|
+
"stepChange": [value: StepValue, previous: StepValue | null, nativeEvent: Event | null];
|
|
186
186
|
|
|
187
187
|
/** Fired when TourNext is activated on the last step or `complete()` is called. */
|
|
188
|
-
complete: [nativeEvent: Event | null];
|
|
188
|
+
"complete": [nativeEvent: Event | null];
|
|
189
189
|
|
|
190
190
|
/** Fired when an open tour closes without completing. */
|
|
191
|
-
dismiss: [reason: TourDismissReason, nativeEvent: Event | null];
|
|
191
|
+
"dismiss": [reason: TourDismissReason, nativeEvent: Event | null];
|
|
192
192
|
|
|
193
193
|
/** Fired when a `beforeEnter` hook resolves `false`; the current step is kept. */
|
|
194
|
-
navigationCancel: [value: StepValue, from: StepValue | null];
|
|
194
|
+
"navigationCancel": [value: StepValue, from: StepValue | null];
|
|
195
195
|
|
|
196
196
|
/** Fired when a `beforeEnter` hook throws or rejects; the current step is kept. */
|
|
197
|
-
navigationError: [error: unknown, value: StepValue, from: StepValue | null];
|
|
197
|
+
"navigationError": [error: unknown, value: StepValue, from: StepValue | null];
|
|
198
198
|
}>();
|
|
199
199
|
|
|
200
200
|
const TARGET_ATTRIBUTE = "data-vize-tour-target";
|
|
@@ -45,7 +45,7 @@ const emit = defineEmits<{
|
|
|
45
45
|
"update:history": [history: readonly T[]];
|
|
46
46
|
|
|
47
47
|
/** Fired when the user submits: the typed text and the chosen suggestion, if any. */
|
|
48
|
-
submit: [text: string, value: T | null];
|
|
48
|
+
"submit": [text: string, value: T | null];
|
|
49
49
|
}>();
|
|
50
50
|
|
|
51
51
|
defineSlots<{
|
|
@@ -67,7 +67,6 @@ const historyState = useControllableState<readonly T[]>({
|
|
|
67
67
|
});
|
|
68
68
|
const recent = computed(() => historyState.value.value);
|
|
69
69
|
const historyCount = computed(() => recent.value.length);
|
|
70
|
-
const hasHistory = computed(() => historyCount.value > 0);
|
|
71
70
|
|
|
72
71
|
function currentHistory(): readonly T[] {
|
|
73
72
|
return historyState.value.value;
|
|
@@ -64,7 +64,7 @@ const emit = defineEmits<{
|
|
|
64
64
|
"update:modelValue": [value: CascaderModelValue<T, Multiple>];
|
|
65
65
|
|
|
66
66
|
/** Fired after a user interaction changes the selection: next value, previous value, native event. */
|
|
67
|
-
change: [
|
|
67
|
+
"change": [
|
|
68
68
|
value: CascaderModelValue<T, Multiple>,
|
|
69
69
|
previous: CascaderModelValue<T, Multiple>,
|
|
70
70
|
nativeEvent: Event | null,
|
|
@@ -77,7 +77,7 @@ const emit = defineEmits<{
|
|
|
77
77
|
"update:search": [query: string];
|
|
78
78
|
|
|
79
79
|
/** Fired when `loadChildren` rejects for a branch, with the error. */
|
|
80
|
-
loadError: [node: T, error: unknown];
|
|
80
|
+
"loadError": [node: T, error: unknown];
|
|
81
81
|
}>();
|
|
82
82
|
|
|
83
83
|
defineSlots<{
|
|
@@ -53,7 +53,7 @@ const emit = defineEmits<{
|
|
|
53
53
|
/** Fired when user interaction emits the next mixed-state boolean. */
|
|
54
54
|
"update:indeterminate": [value: boolean];
|
|
55
55
|
/** Fired after the native checkbox change event is processed with the next checked boolean and native `Event`. */
|
|
56
|
-
change: [value: boolean, nativeEvent: Event];
|
|
56
|
+
"change": [value: boolean, nativeEvent: Event];
|
|
57
57
|
}>();
|
|
58
58
|
|
|
59
59
|
const element = useTemplateRef<HTMLInputElement>("element");
|
|
@@ -152,7 +152,7 @@ const emit = defineEmits<{
|
|
|
152
152
|
"update:modelValue": [value: readonly Value[]];
|
|
153
153
|
|
|
154
154
|
/** Fired after a user or API change with the next values, the toggled value (or `null` for select-all), and its new state. */
|
|
155
|
-
change: [value: readonly Value[], toggled: Value | null, selected: boolean];
|
|
155
|
+
"change": [value: readonly Value[], toggled: Value | null, selected: boolean];
|
|
156
156
|
}>();
|
|
157
157
|
|
|
158
158
|
defineSlots<{
|
|
@@ -80,7 +80,7 @@ const emit = defineEmits<{
|
|
|
80
80
|
"update:modelValue": [value: SelectModelValue<T, Multiple>];
|
|
81
81
|
|
|
82
82
|
/** Fired after a user interaction changes the selection: next value, previous value, and the native event. */
|
|
83
|
-
change: [
|
|
83
|
+
"change": [
|
|
84
84
|
value: SelectModelValue<T, Multiple>,
|
|
85
85
|
previous: SelectModelValue<T, Multiple>,
|
|
86
86
|
nativeEvent: Event,
|
|
@@ -93,10 +93,10 @@ const emit = defineEmits<{
|
|
|
93
93
|
"update:open": [open: boolean];
|
|
94
94
|
|
|
95
95
|
/** Fired after any distinct open-state request with the next state, previous state, and triggering event. */
|
|
96
|
-
openChange: [open: boolean, previous: boolean, nativeEvent: Event | null];
|
|
96
|
+
"openChange": [open: boolean, previous: boolean, nativeEvent: Event | null];
|
|
97
97
|
|
|
98
98
|
/** Fired when `createOption` builds a new value from the typed text, before it is selected. */
|
|
99
|
-
create: [value: T, text: string];
|
|
99
|
+
"create": [value: T, text: string];
|
|
100
100
|
}>();
|
|
101
101
|
|
|
102
102
|
defineSlots<{
|
|
@@ -47,7 +47,7 @@ const {
|
|
|
47
47
|
|
|
48
48
|
const emit = defineEmits<{
|
|
49
49
|
/** Fired when an emoji is chosen, with the item and its glyph with the skin tone applied. */
|
|
50
|
-
select: [item: T, glyph: string];
|
|
50
|
+
"select": [item: T, glyph: string];
|
|
51
51
|
|
|
52
52
|
/** Fired when the skin tone requests a new controlled value. */
|
|
53
53
|
"update:skinTone": [tone: EmojiSkinTone];
|
|
@@ -52,7 +52,7 @@ const emit = defineEmits<{
|
|
|
52
52
|
"update:modelValue": [value: ListboxValue];
|
|
53
53
|
|
|
54
54
|
/** Fired after user selection requests a distinct Listbox value. */
|
|
55
|
-
change: [value: ListboxValue, previous: ListboxValue, nativeEvent: Event];
|
|
55
|
+
"change": [value: ListboxValue, previous: ListboxValue, nativeEvent: Event];
|
|
56
56
|
}>();
|
|
57
57
|
|
|
58
58
|
defineSlots<{
|
|
@@ -50,7 +50,7 @@ const emit = defineEmits<{
|
|
|
50
50
|
"update:modelValue": [value: ListboxGridModelValue<T, Multiple>];
|
|
51
51
|
|
|
52
52
|
/** Fired after a user interaction changes the selection: next value, previous value, native event. */
|
|
53
|
-
change: [
|
|
53
|
+
"change": [
|
|
54
54
|
value: ListboxGridModelValue<T, Multiple>,
|
|
55
55
|
previous: ListboxGridModelValue<T, Multiple>,
|
|
56
56
|
nativeEvent: Event,
|
|
@@ -118,7 +118,7 @@ const emit = defineEmits<{
|
|
|
118
118
|
"update:modelValue": [value: RadioGroupValue];
|
|
119
119
|
|
|
120
120
|
/** Fired after user selection requests a distinct radio value. */
|
|
121
|
-
change: [value: string, previous: RadioGroupValue, nativeEvent: Event];
|
|
121
|
+
"change": [value: string, previous: RadioGroupValue, nativeEvent: Event];
|
|
122
122
|
}>();
|
|
123
123
|
|
|
124
124
|
defineSlots<{
|
|
@@ -65,7 +65,7 @@ const emit = defineEmits<{
|
|
|
65
65
|
"update:modelValue": [value: SelectModelValue<T, Multiple>];
|
|
66
66
|
|
|
67
67
|
/** Fired after a user interaction changes the selection: next value, previous value, and the native event. */
|
|
68
|
-
change: [
|
|
68
|
+
"change": [
|
|
69
69
|
value: SelectModelValue<T, Multiple>,
|
|
70
70
|
previous: SelectModelValue<T, Multiple>,
|
|
71
71
|
nativeEvent: Event,
|
|
@@ -75,7 +75,7 @@ const emit = defineEmits<{
|
|
|
75
75
|
"update:open": [open: boolean];
|
|
76
76
|
|
|
77
77
|
/** Fired after any distinct open-state request with the next state, previous state, and triggering event. */
|
|
78
|
-
openChange: [open: boolean, previous: boolean, nativeEvent: Event | null];
|
|
78
|
+
"openChange": [open: boolean, previous: boolean, nativeEvent: Event | null];
|
|
79
79
|
}>();
|
|
80
80
|
|
|
81
81
|
defineSlots<{
|
|
@@ -122,7 +122,7 @@ const emit = defineEmits<{
|
|
|
122
122
|
"update:modelValue": [value: boolean];
|
|
123
123
|
|
|
124
124
|
/** Fired after user activation requests the next checked value. */
|
|
125
|
-
change: [value: boolean, nativeEvent: MouseEvent];
|
|
125
|
+
"change": [value: boolean, nativeEvent: MouseEvent];
|
|
126
126
|
}>();
|
|
127
127
|
|
|
128
128
|
defineSlots<{
|
|
@@ -71,7 +71,7 @@ const emit = defineEmits<{
|
|
|
71
71
|
/** Fired when the pressed state requests a new controlled boolean value. */
|
|
72
72
|
"update:modelValue": [value: boolean];
|
|
73
73
|
/** Fired after user interaction requests the next pressed value. */
|
|
74
|
-
change: [value: boolean, nativeEvent: MouseEvent];
|
|
74
|
+
"change": [value: boolean, nativeEvent: MouseEvent];
|
|
75
75
|
}>();
|
|
76
76
|
|
|
77
77
|
function getToggleKeyboardAction(key: string, phase: ToggleKeyboardPhase): ToggleKeyboardAction {
|
|
@@ -68,7 +68,7 @@ const emit = defineEmits<{
|
|
|
68
68
|
/** Fired when the selected value requests a new controlled value. */
|
|
69
69
|
"update:modelValue": [value: ToggleGroupValue];
|
|
70
70
|
/** Fired after user activation requests a distinct group value. */
|
|
71
|
-
change: [value: ToggleGroupValue, previous: ToggleGroupValue, nativeEvent: MouseEvent];
|
|
71
|
+
"change": [value: ToggleGroupValue, previous: ToggleGroupValue, nativeEvent: MouseEvent];
|
|
72
72
|
}>();
|
|
73
73
|
|
|
74
74
|
defineSlots<{
|
|
@@ -278,7 +278,7 @@ function setActiveValue(itemValue: string): void {
|
|
|
278
278
|
if (!disabledState.value) activeValue.value = itemValue;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
|
|
281
|
+
toggleGroupContext.provide({
|
|
282
282
|
activeValue,
|
|
283
283
|
disabled: disabledState,
|
|
284
284
|
getItemState,
|
|
@@ -51,7 +51,7 @@ const emit = defineEmits<{
|
|
|
51
51
|
"update:modelValue": [value: readonly T[]];
|
|
52
52
|
|
|
53
53
|
/** Fired after a move: next target, previous target, moved items, direction, and the triggering event. */
|
|
54
|
-
change: [
|
|
54
|
+
"change": [
|
|
55
55
|
value: readonly T[],
|
|
56
56
|
previous: readonly T[],
|
|
57
57
|
moved: readonly T[],
|