@vizejs/ui 0.746.0 → 0.748.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-DO4BxG4d.d.mts → announcer-TACygkB-.d.mts} +21 -21
- package/dist/announcer.d.mts +1 -1
- package/dist/autocomplete.d.mts +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-aITc0VLc.d.mts → breadcrumb-SsZSEerN.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/{cascader-pYxau3Uc.mjs → cascader-6UXjekJG.mjs} +2 -2
- package/dist/{cascader-CpuiN9gN.d.mts → cascader-DZL8k16m.d.mts} +2 -2
- package/dist/cascader.d.mts +1 -1
- package/dist/cascader.mjs +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-DzHfqG_l.mjs → date-range-picker-vn39FCzk.mjs} +1 -1
- package/dist/date-range-picker.d.mts +1 -1
- package/dist/date-range-picker.mjs +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/{emoji-picker-BeKnm1if.mjs → emoji-picker-BTM2KldC.mjs} +1 -1
- package/dist/emoji-picker.mjs +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/{form-wizard-mErOrBg3.d.mts → form-wizard-D_B-Cydo.d.mts} +2 -2
- package/dist/form-wizard.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-cropper-D7u1_m61.mjs → image-cropper-BbFHa5yO.mjs} +2 -2
- package/dist/image-cropper.mjs +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +8 -8
- 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-BFgDx8Os.mjs → notification-center-B9yXYS4R.mjs} +1 -1
- package/dist/notification-center.d.mts +1 -1
- package/dist/notification-center.mjs +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/{range-calendar-root-Dp9Ir89e.mjs → range-calendar-root-DR2pziYj.mjs} +1 -1
- package/dist/range-calendar.mjs +1 -1
- package/dist/scroll-area.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/{signature-pad-CS782moE.mjs → signature-pad-D5kRQRtF.mjs} +1 -1
- package/dist/signature-pad.mjs +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/{time-picker-DRSTQevi.mjs → time-picker-52djfsZX.mjs} +7 -7
- package/dist/time-picker.mjs +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/date-time/range-calendar/range-calendar-root.vue +1 -1
- package/registry/files/families/date-time/time-picker/time-picker.vue +7 -7
- package/registry/files/families/feedback/notification-center/notification-center-root.vue +3 -1
- package/registry/files/families/feedback/status-light/status-light.vue +0 -4
- package/registry/files/families/form/tags-input/tags-input-input.vue +1 -0
- package/registry/files/families/i18n/locale/locale-provider.vue +12 -5
- package/registry/files/families/media/audio-visualizer/audio-visualizer.vue +1 -0
- package/registry/files/families/media/image-cropper/image-cropper-root.vue +2 -2
- package/registry/files/families/media/signature-pad/signature-pad-root.vue +1 -1
- package/registry/files/families/overlays/tour/tour-root.vue +1 -1
- package/registry/files/families/selection/cascader/cascader-root.vue +3 -3
- package/registry/files/families/selection/emoji-picker/emoji-picker-root.vue +1 -2
- package/registry/files/families/selection/native-select/native-select.vue +0 -1
- package/registry/registry.json +40 -40
package/dist/select.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as SelectState, $i as _default$2, Ba as SelectDismissEvent, Bi as SelectVirtualAdapter, Fa as _default$1, Ga as SelectPlacement, Gi as _default$11, Ha as SelectItemExpose, Hi as _default$9, Ia as SelectAriaInvalid, Ja as SelectPositionerStrategy, Ji as _default$6, Ka as SelectPointerDownOutsideEvent, Ki as _default$10, La as SelectContentExpose, Pa as _default$3, Qa as SelectSlotState, Qi as _default$4, Ra as SelectContentSlotState, Ua as SelectItemSlotState, Ui as _default$8, Va as SelectEscapeKeyDownEvent, Vi as itemAlignedReferenceRect, Wa as SelectItemState, Wi as _default, Xa as SelectRootProps, Xi as canSelectViewportScroll, Ya as SelectRootExpose, Yi as SelectScrollDirection, Za as SelectSelectionMode, Zi as _default$5, ao as SelectValueComparator, co as createSelectValueEquality, do as toSelectList, eo as SelectTriggerExpose, io as SelectModelValue, lo as fromSelectList, no as SelectVirtualItemSlotState, oo as SelectValueKey, qa as SelectPosition, qi as _default$7, ro as SelectBy, so as areSelectListsEqual, to as SelectValueSlotState, uo as serializeSelectValue, za as SelectDirection, zi as SelectOpenFocus } from "./announcer-
|
|
1
|
+
import { $a as SelectState, $i as _default$2, Ba as SelectDismissEvent, Bi as SelectVirtualAdapter, Fa as _default$1, Ga as SelectPlacement, Gi as _default$11, Ha as SelectItemExpose, Hi as _default$9, Ia as SelectAriaInvalid, Ja as SelectPositionerStrategy, Ji as _default$6, Ka as SelectPointerDownOutsideEvent, Ki as _default$10, La as SelectContentExpose, Pa as _default$3, Qa as SelectSlotState, Qi as _default$4, Ra as SelectContentSlotState, Ua as SelectItemSlotState, Ui as _default$8, Va as SelectEscapeKeyDownEvent, Vi as itemAlignedReferenceRect, Wa as SelectItemState, Wi as _default, Xa as SelectRootProps, Xi as canSelectViewportScroll, Ya as SelectRootExpose, Yi as SelectScrollDirection, Za as SelectSelectionMode, Zi as _default$5, ao as SelectValueComparator, co as createSelectValueEquality, do as toSelectList, eo as SelectTriggerExpose, io as SelectModelValue, lo as fromSelectList, no as SelectVirtualItemSlotState, oo as SelectValueKey, qa as SelectPosition, qi as _default$7, ro as SelectBy, so as areSelectListsEqual, to as SelectValueSlotState, uo as serializeSelectValue, za as SelectDirection, zi as SelectOpenFocus } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Select, _default as SelectRoot, type SelectAriaInvalid, type SelectBy, _default$1 as SelectContent, type SelectContentExpose, type SelectContentSlotState, type SelectDirection, type SelectDismissEvent, type SelectEscapeKeyDownEvent, _default$2 as SelectGroup, _default$3 as SelectItem, type SelectItemExpose, _default$4 as SelectItemIndicator, type SelectItemSlotState, type SelectItemState, _default$5 as SelectLabel, type SelectModelValue, type SelectOpenFocus, type SelectPlacement, type SelectPointerDownOutsideEvent, type SelectPosition, type SelectPositionerStrategy, type SelectRootExpose, type SelectRootProps, _default$6 as SelectScrollButton, type SelectScrollDirection, type SelectSelectionMode, _default$7 as SelectSeparator, type SelectSlotState, type SelectState, _default$8 as SelectTrigger, type SelectTriggerExpose, _default$9 as SelectValue, type SelectValueComparator, type SelectValueKey, type SelectValueSlotState, _default$10 as SelectViewport, type SelectVirtualAdapter, type SelectVirtualItemSlotState, _default$11 as SelectVirtualizer, areSelectListsEqual, canSelectViewportScroll, createSelectValueEquality, fromSelectList, itemAlignedReferenceRect, serializeSelectValue, toSelectList };
|
package/dist/share-button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _m as ShareButtonSlots, am as _default, cm as ShareButtonDataAttribute, dm as ShareButtonEmits, fm as ShareButtonExpose, gm as ShareButtonSlotState, hm as ShareButtonProps, lm as ShareButtonDataName, mm as ShareButtonPayload, om as ShareButtonAction, pm as ShareButtonPart, sm as ShareButtonCssCustomProperty, um as ShareButtonElement, vm as ShareButtonState, ym as ShareButtonType } from "./announcer-
|
|
1
|
+
import { _m as ShareButtonSlots, am as _default, cm as ShareButtonDataAttribute, dm as ShareButtonEmits, fm as ShareButtonExpose, gm as ShareButtonSlotState, hm as ShareButtonProps, lm as ShareButtonDataName, mm as ShareButtonPayload, om as ShareButtonAction, pm as ShareButtonPart, sm as ShareButtonCssCustomProperty, um as ShareButtonElement, vm as ShareButtonState, ym as ShareButtonType } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as ShareButton, type ShareButtonAction, type ShareButtonCssCustomProperty, type ShareButtonDataAttribute, type ShareButtonDataName, type ShareButtonElement, type ShareButtonEmits, type ShareButtonExpose, type ShareButtonPart, type ShareButtonPayload, type ShareButtonProps, type ShareButtonSlotState, type ShareButtonSlots, type ShareButtonState, type ShareButtonType };
|
package/dist/sidebar.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $s as _default$8, Qs as _default$9, Xs as SidebarContextValue, Zs as sidebarContext, _c as SidebarToggleExpose, ac as _default$1, cc as SidebarCollapsible, dc as SidebarRootExpose, ec as _default$6, fc as SidebarSectionExpose, gc as SidebarStorage, hc as SidebarState, ic as _default$2, lc as SidebarGroupExpose, mc as SidebarSlotState, nc as _default$4, oc as _default, pc as SidebarSide, rc as _default$3, sc as _default$7, tc as _default$5, uc as SidebarProviderExpose, vc as SidebarVariant } from "./announcer-
|
|
1
|
+
import { $s as _default$8, Qs as _default$9, Xs as SidebarContextValue, Zs as sidebarContext, _c as SidebarToggleExpose, ac as _default$1, cc as SidebarCollapsible, dc as SidebarRootExpose, ec as _default$6, fc as SidebarSectionExpose, gc as SidebarStorage, hc as SidebarState, ic as _default$2, lc as SidebarGroupExpose, mc as SidebarSlotState, nc as _default$4, oc as _default, pc as SidebarSide, rc as _default$3, sc as _default$7, tc as _default$5, uc as SidebarProviderExpose, vc as SidebarVariant } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Sidebar, _default as SidebarRoot, type SidebarCollapsible, _default$1 as SidebarContent, type SidebarContextValue, _default$2 as SidebarFooter, _default$3 as SidebarGroup, type SidebarGroupExpose, _default$4 as SidebarGroupLabel, _default$5 as SidebarHeader, _default$6 as SidebarInset, _default$7 as SidebarProvider, type SidebarProviderExpose, _default$8 as SidebarRail, type SidebarRootExpose, type SidebarSectionExpose, type SidebarSide, type SidebarSlotState, type SidebarState, type SidebarStorage, type SidebarToggleExpose, _default$9 as SidebarTrigger, type SidebarVariant, sidebarContext };
|
|
@@ -638,7 +638,7 @@ var signature_pad_root_default = /*#__PURE__*/ _plugin_vue_export_helper_default
|
|
|
638
638
|
return signatureToSvg(value.value, exportOptions(options));
|
|
639
639
|
}
|
|
640
640
|
async function toDataUrl(options = {}) {
|
|
641
|
-
return
|
|
641
|
+
return signatureToDataUrl(value.value, exportOptions(options));
|
|
642
642
|
}
|
|
643
643
|
function currentValue() {
|
|
644
644
|
return value.value;
|
package/dist/signature-pad.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as signature_pad_clear_default, c as SignaturePadError, d as serializeSignature, f as signatureToDataUrl, h as strokeOutlinePath, i as signature_pad_guide_default, l as isSignatureEmpty, m as simulatePressure, n as signature_pad_root_default, o as signature_pad_canvas_default, p as signatureToSvg, r as signature_pad_redo_default, s as SIGNATURE_STROKE_DEFAULTS, t as signature_pad_undo_default, u as parseSignature } from "./signature-pad-
|
|
1
|
+
import { a as signature_pad_clear_default, c as SignaturePadError, d as serializeSignature, f as signatureToDataUrl, h as strokeOutlinePath, i as signature_pad_guide_default, l as isSignatureEmpty, m as simulatePressure, n as signature_pad_root_default, o as signature_pad_canvas_default, p as signatureToSvg, r as signature_pad_redo_default, s as SIGNATURE_STROKE_DEFAULTS, t as signature_pad_undo_default, u as parseSignature } from "./signature-pad-D5kRQRtF.mjs";
|
|
2
2
|
export { SIGNATURE_STROKE_DEFAULTS, signature_pad_root_default as SignaturePad, signature_pad_root_default as SignaturePadRoot, signature_pad_canvas_default as SignaturePadCanvas, signature_pad_clear_default as SignaturePadClear, SignaturePadError, signature_pad_guide_default as SignaturePadGuide, signature_pad_redo_default as SignaturePadRedo, signature_pad_undo_default as SignaturePadUndo, isSignatureEmpty, parseSignature, serializeSignature, signatureToDataUrl, signatureToSvg, simulatePressure, strokeOutlinePath };
|
package/dist/split-button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ch as _default$4, Fh as SplitButtonAnchor, Gh as MenuCheckedState, Ih as SplitButtonRootExpose, Jh as MenuDirection, Kh as MenuContentExpose, Lh as SplitButtonSlotState, Mh as _default$1, Nh as _default, Ph as SplitButtonActionExpose, Rh as SplitButtonTriggerExpose, Sh as _default$5, Th as _default$2, _g as MenuState, _h as _default$10, bh as _default$7, gh as _default$11, hh as _default$12, jh as _default$15, mg as MenuSelectEvent, mh as _default$13, ng as MenuItemExpose, ph as _default$14, qh as MenuContentSlotState, vh as _default$9, wh as _default$3, xh as _default$6, yh as _default$8 } from "./announcer-
|
|
1
|
+
import { Ch as _default$4, Fh as SplitButtonAnchor, Gh as MenuCheckedState, Ih as SplitButtonRootExpose, Jh as MenuDirection, Kh as MenuContentExpose, Lh as SplitButtonSlotState, Mh as _default$1, Nh as _default, Ph as SplitButtonActionExpose, Rh as SplitButtonTriggerExpose, Sh as _default$5, Th as _default$2, _g as MenuState, _h as _default$10, bh as _default$7, gh as _default$11, hh as _default$12, jh as _default$15, mg as MenuSelectEvent, mh as _default$13, ng as MenuItemExpose, ph as _default$14, qh as MenuContentSlotState, vh as _default$9, wh as _default$3, xh as _default$6, yh as _default$8 } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as SplitButton, _default as SplitButtonRoot, _default$1 as SplitButtonAction, type SplitButtonActionExpose, type SplitButtonAnchor, _default$2 as SplitButtonArrow, _default$3 as SplitButtonCheckboxItem, type MenuCheckedState as SplitButtonCheckedState, _default$4 as SplitButtonContent, type MenuContentExpose as SplitButtonContentExpose, type MenuContentSlotState as SplitButtonContentSlotState, type MenuDirection as SplitButtonDirection, _default$5 as SplitButtonGroup, _default$6 as SplitButtonItem, type MenuItemExpose as SplitButtonItemExpose, _default$7 as SplitButtonItemIndicator, _default$8 as SplitButtonLabel, _default$9 as SplitButtonRadioGroup, _default$10 as SplitButtonRadioItem, type SplitButtonRootExpose, type MenuSelectEvent as SplitButtonSelectEvent, _default$11 as SplitButtonSeparator, type SplitButtonSlotState, type MenuState as SplitButtonState, _default$12 as SplitButtonSub, _default$13 as SplitButtonSubContent, _default$14 as SplitButtonSubTrigger, _default$15 as SplitButtonTrigger, type SplitButtonTriggerExpose };
|
package/dist/splitter.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ac as SplitterGroupExpose, Bc as SplitterPanelSlotState, Cc as resizeSplitterLayout, Dc as _default$1, Ec as _default$2, Fc as SplitterHandleState, Gc as SplitterStorage, Hc as SplitterPersistedLayout, Ic as SplitterLayout, Lc as SplitterOrientation, Mc as SplitterGroupState, Nc as SplitterHandleExpose, Oc as _default, Pc as SplitterHandleSlotState, Rc as SplitterPanelConstraints, Sc as isValidSplitterLayout, Tc as splitterLayoutsEqual, Uc as SplitterPersistenceOptions, Vc as SplitterPanelState, Wc as SplitterResizeReason, bc as useSplitterPersistence, jc as SplitterGroupSlotState, kc as SplitterDirection, wc as resolveDefaultSplitterLayout, xc as clampSplitterLayout, yc as parseSplitterLayout, zc as SplitterPanelExpose } from "./announcer-
|
|
1
|
+
import { Ac as SplitterGroupExpose, Bc as SplitterPanelSlotState, Cc as resizeSplitterLayout, Dc as _default$1, Ec as _default$2, Fc as SplitterHandleState, Gc as SplitterStorage, Hc as SplitterPersistedLayout, Ic as SplitterLayout, Lc as SplitterOrientation, Mc as SplitterGroupState, Nc as SplitterHandleExpose, Oc as _default, Pc as SplitterHandleSlotState, Rc as SplitterPanelConstraints, Sc as isValidSplitterLayout, Tc as splitterLayoutsEqual, Uc as SplitterPersistenceOptions, Vc as SplitterPanelState, Wc as SplitterResizeReason, bc as useSplitterPersistence, jc as SplitterGroupSlotState, kc as SplitterDirection, wc as resolveDefaultSplitterLayout, xc as clampSplitterLayout, yc as parseSplitterLayout, zc as SplitterPanelExpose } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { type SplitterDirection, _default as SplitterGroup, type SplitterGroupExpose, type SplitterGroupSlotState, type SplitterGroupState, _default$1 as SplitterHandle, type SplitterHandleExpose, type SplitterHandleSlotState, type SplitterHandleState, type SplitterLayout, type SplitterOrientation, _default$2 as SplitterPanel, type SplitterPanelConstraints, type SplitterPanelExpose, type SplitterPanelSlotState, type SplitterPanelState, type SplitterPersistedLayout, type SplitterPersistenceOptions, type SplitterResizeReason, type SplitterStorage, clampSplitterLayout, isValidSplitterLayout, parseSplitterLayout, resizeSplitterLayout, resolveDefaultSplitterLayout, splitterLayoutsEqual, useSplitterPersistence };
|
package/dist/status-light.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ar as StatusLightRole, cr as StatusLightState, er as _default, ir as StatusLightProps, lr as StatusLightTone, nr as StatusLightElement, or as StatusLightSize, rr as StatusLightExpose, sr as StatusLightSlotState, tr as StatusLightAriaState } from "./announcer-
|
|
1
|
+
import { ar as StatusLightRole, cr as StatusLightState, er as _default, ir as StatusLightProps, lr as StatusLightTone, nr as StatusLightElement, or as StatusLightSize, rr as StatusLightExpose, sr as StatusLightSlotState, tr as StatusLightAriaState } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as StatusLight, type StatusLightAriaState, type StatusLightElement, type StatusLightExpose, type StatusLightProps, type StatusLightRole, type StatusLightSize, type StatusLightSlotState, type StatusLightState, type StatusLightTone };
|
package/dist/stepper.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $y as StepperItemExpose, Gy as _default$2, Hy as stepperValueEquals, Jy as StepperContentExpose, Ky as _default$1, Qy as StepperDirection, Uy as _default$4, Vy as getStepperValueIdSegment, Wy as _default$3, Xy as StepperContentSlotState, Yy as StepperContentRole, Zy as StepperContentState, ab as StepperOrientation, cb as StepperRootState, db as StepperTriggerSlotState, eb as StepperItemSlotState, fb as StepperValue, ib as StepperNavigationMode, lb as StepperSlotState, nb as StepperListExpose, ob as StepperRootExpose, qy as _default, rb as StepperListSlotState, sb as StepperRootProps, tb as StepperItemState, ub as StepperTriggerExpose } from "./announcer-
|
|
1
|
+
import { $y as StepperItemExpose, Gy as _default$2, Hy as stepperValueEquals, Jy as StepperContentExpose, Ky as _default$1, Qy as StepperDirection, Uy as _default$4, Vy as getStepperValueIdSegment, Wy as _default$3, Xy as StepperContentSlotState, Yy as StepperContentRole, Zy as StepperContentState, ab as StepperOrientation, cb as StepperRootState, db as StepperTriggerSlotState, eb as StepperItemSlotState, fb as StepperValue, ib as StepperNavigationMode, lb as StepperSlotState, nb as StepperListExpose, ob as StepperRootExpose, qy as _default, rb as StepperListSlotState, sb as StepperRootProps, tb as StepperItemState, ub as StepperTriggerExpose } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Stepper, _default as StepperRoot, _default$1 as StepperContent, type StepperContentExpose, type StepperContentRole, type StepperContentSlotState, type StepperContentState, type StepperDirection, _default$2 as StepperItem, type StepperItemExpose, type StepperItemSlotState, type StepperItemState, _default$3 as StepperList, type StepperListExpose, type StepperListSlotState, type StepperNavigationMode, type StepperOrientation, type StepperRootExpose, type StepperRootProps, type StepperRootState, type StepperSlotState, _default$4 as StepperTrigger, type StepperTriggerExpose, type StepperTriggerSlotState, type StepperValue, getStepperValueIdSegment, stepperValueEquals };
|
package/dist/surface.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cs as SurfaceElement, Ds as SurfaceSemanticHost, Es as SurfaceProps, Os as SurfaceSlotState, Ss as SurfaceAs, Ts as SurfaceExpose, bs as _default, ks as SurfaceTone, ws as SurfaceElevation, xs as SurfaceAriaState } from "./announcer-
|
|
1
|
+
import { Cs as SurfaceElement, Ds as SurfaceSemanticHost, Es as SurfaceProps, Os as SurfaceSlotState, Ss as SurfaceAs, Ts as SurfaceExpose, bs as _default, ks as SurfaceTone, ws as SurfaceElevation, xs as SurfaceAriaState } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Surface, type SurfaceAriaState, type SurfaceAs, type SurfaceElement, type SurfaceElevation, type SurfaceExpose, type SurfaceProps, type SurfaceSemanticHost, type SurfaceSlotState, type SurfaceTone };
|
package/dist/switch.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cr as _default, Dr as SwitchState, Er as SwitchSlotState, Tr as SwitchExpose, wr as SwitchAriaInvalid } from "./announcer-
|
|
1
|
+
import { Cr as _default, Dr as SwitchState, Er as SwitchSlotState, Tr as SwitchExpose, wr as SwitchAriaInvalid } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Switch, type SwitchAriaInvalid, type SwitchExpose, type SwitchSlotState, type SwitchState };
|
package/dist/tabs.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ab as TabsTriggerState, Cb as TabsListSlotState, Db as TabsState, Eb as TabsSlotState, Ob as TabsTriggerExpose, Sb as TabsListExpose, Tb as TabsRootExpose, _b as TabsActivationMode, bb as TabsContentState, gb as _default, hb as _default$1, jb as TabsValue, kb as TabsTriggerSlotState, mb as _default$2, pb as _default$3, vb as TabsContentExpose, wb as TabsOrientation, xb as TabsDirection, yb as TabsContentSlotState } from "./announcer-
|
|
1
|
+
import { Ab as TabsTriggerState, Cb as TabsListSlotState, Db as TabsState, Eb as TabsSlotState, Ob as TabsTriggerExpose, Sb as TabsListExpose, Tb as TabsRootExpose, _b as TabsActivationMode, bb as TabsContentState, gb as _default, hb as _default$1, jb as TabsValue, kb as TabsTriggerSlotState, mb as _default$2, pb as _default$3, vb as TabsContentExpose, wb as TabsOrientation, xb as TabsDirection, yb as TabsContentSlotState } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Tabs, _default as TabsRoot, type TabsActivationMode, _default$1 as TabsContent, type TabsContentExpose, type TabsContentSlotState, type TabsContentState, type TabsDirection, _default$2 as TabsList, type TabsListExpose, type TabsListSlotState, type TabsOrientation, type TabsRootExpose, type TabsSlotState, type TabsState, _default$3 as TabsTrigger, type TabsTriggerExpose, type TabsTriggerSlotState, type TabsTriggerState, type TabsValue };
|
package/dist/tags-input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as resolveTagEquality, Br as TagsInputBy, Fr as _default$2, Gr as TagsInputItemExpose, Hr as TagsInputInputExpose, Ir as _default$1, Jr as TagsInputRemoveSource, Kr as TagsInputItemSlotState, Lr as _default, Mr as splitTrailingTagText, Nr as _default$4, Or as containsTagDelimiter, Pr as _default$3, Qr as TagsInputValidator, Rr as TagsInputAddSource, Ur as TagsInputInvalidEvent, Vr as TagsInputDirection, Wr as TagsInputInvalidReason, Xr as TagsInputSlotState, Yr as TagsInputRootExpose, Zr as TagsInputState, jr as splitTagText, kr as evaluateTag, qr as TagsInputItemState, zr as TagsInputAriaInvalid } from "./announcer-
|
|
1
|
+
import { Ar as resolveTagEquality, Br as TagsInputBy, Fr as _default$2, Gr as TagsInputItemExpose, Hr as TagsInputInputExpose, Ir as _default$1, Jr as TagsInputRemoveSource, Kr as TagsInputItemSlotState, Lr as _default, Mr as splitTrailingTagText, Nr as _default$4, Or as containsTagDelimiter, Pr as _default$3, Qr as TagsInputValidator, Rr as TagsInputAddSource, Ur as TagsInputInvalidEvent, Vr as TagsInputDirection, Wr as TagsInputInvalidReason, Xr as TagsInputSlotState, Yr as TagsInputRootExpose, Zr as TagsInputState, jr as splitTagText, kr as evaluateTag, qr as TagsInputItemState, zr as TagsInputAriaInvalid } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as TagsInput, _default as TagsInputRoot, type TagsInputAddSource, type TagsInputAriaInvalid, type TagsInputBy, type TagsInputDirection, _default$1 as TagsInputInput, type TagsInputInputExpose, type TagsInputInvalidEvent, type TagsInputInvalidReason, _default$2 as TagsInputItem, _default$3 as TagsInputItemDelete, type TagsInputItemExpose, type TagsInputItemSlotState, type TagsInputItemState, _default$4 as TagsInputItemText, type TagsInputRemoveSource, type TagsInputRootExpose, type TagsInputSlotState, type TagsInputState, type TagsInputValidator, containsTagDelimiter, evaluateTag, resolveTagEquality, splitTagText, splitTrailingTagText };
|
package/dist/text.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as _default, ai as TextWeight, ei as TextElement, ii as TextTone, ni as TextSize, ri as TextSlotState, ti as TextExpose } from "./announcer-
|
|
1
|
+
import { $r as _default, ai as TextWeight, ei as TextElement, ii as TextTone, ni as TextSize, ri as TextSlotState, ti as TextExpose } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Text, type TextElement, type TextExpose, type TextSize, type TextSlotState, type TextTone, type TextWeight };
|
|
@@ -202,15 +202,15 @@ var time_picker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
202
202
|
hourCycle: () => props.hourCycle,
|
|
203
203
|
locale: () => locale.value,
|
|
204
204
|
isTimeUnavailable: () => props.isTimeUnavailable,
|
|
205
|
-
readOnly: () => props.readOnly
|
|
205
|
+
readOnly: () => props.readOnly,
|
|
206
206
|
onUpdate: (value) => emit("update:modelValue", value),
|
|
207
207
|
onChange: (value, previous, event) => emit("change", value, previous, event)
|
|
208
208
|
});
|
|
209
209
|
const listboxProps = computed(() => ({
|
|
210
210
|
modelValue: picker.listboxValue.value,
|
|
211
211
|
selectionMode: "single",
|
|
212
|
-
disabled: props.disabled
|
|
213
|
-
required: props.required
|
|
212
|
+
disabled: props.disabled,
|
|
213
|
+
required: props.required,
|
|
214
214
|
id: deriveDeterministicId(baseId.value, "listbox"),
|
|
215
215
|
...props.ariaLabel === void 0 ? {} : { ariaLabel: props.ariaLabel },
|
|
216
216
|
...props.ariaLabelledby === void 0 ? {} : { ariaLabelledby: props.ariaLabelledby },
|
|
@@ -220,8 +220,8 @@ var time_picker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
220
220
|
value: picker.value.value,
|
|
221
221
|
slots: picker.slots.value,
|
|
222
222
|
hourCycle: picker.hourCycle.value,
|
|
223
|
-
disabled: props.disabled
|
|
224
|
-
readOnly: props.readOnly
|
|
223
|
+
disabled: props.disabled,
|
|
224
|
+
readOnly: props.readOnly
|
|
225
225
|
}));
|
|
226
226
|
function onChange(value, _previous, event) {
|
|
227
227
|
picker.onListboxChange(value, event);
|
|
@@ -230,8 +230,8 @@ var time_picker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
230
230
|
value: picker.value,
|
|
231
231
|
slots: picker.slots,
|
|
232
232
|
hourCycle: picker.hourCycle,
|
|
233
|
-
disabled: computed(() => props.disabled
|
|
234
|
-
readOnly: computed(() => props.readOnly
|
|
233
|
+
disabled: computed(() => props.disabled),
|
|
234
|
+
readOnly: computed(() => props.readOnly),
|
|
235
235
|
focus: (options) => listbox.value?.focus(options),
|
|
236
236
|
setValue: (value) => picker.setValue(value)
|
|
237
237
|
});
|
package/dist/time-picker.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { M as parseIsoDate, h as formatIsoDate } from "./plain-date-DHX8BIlm.mjs";
|
|
2
2
|
import { r as formatIsoTime, s as parseIsoTime } from "./plain-time-Dd8AhiH4.mjs";
|
|
3
|
-
import { n as createTimeSlots, t as time_picker_default } from "./time-picker-
|
|
3
|
+
import { n as createTimeSlots, t as time_picker_default } from "./time-picker-52djfsZX.mjs";
|
|
4
4
|
export { time_picker_default as TimePicker, createTimeSlots, formatIsoDate, formatIsoTime, parseIsoDate, parseIsoTime };
|
package/dist/toggle.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ap as _default, Mp as ToggleSlotState, jp as ToggleExpose } from "./announcer-
|
|
1
|
+
import { Ap as _default, Mp as ToggleSlotState, jp as ToggleExpose } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Toggle, type ToggleExpose, type ToggleSlotState };
|
package/dist/tooltip.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Bf as TooltipContentExpose, Gf as TooltipPositionerStrategy, Hf as TooltipDismissEvent, Jf as TooltipState, Kf as TooltipRootExpose, Lf as _default$2, Rf as _default$1, Uf as TooltipEscapeKeyDownEvent, Vf as TooltipContentSlotState, Wf as TooltipPlacement, Xf as TooltipViewport, Yf as TooltipTriggerExpose, qf as TooltipSlotState, zf as _default } from "./announcer-
|
|
1
|
+
import { Bf as TooltipContentExpose, Gf as TooltipPositionerStrategy, Hf as TooltipDismissEvent, Jf as TooltipState, Kf as TooltipRootExpose, Lf as _default$2, Rf as _default$1, Uf as TooltipEscapeKeyDownEvent, Vf as TooltipContentSlotState, Wf as TooltipPlacement, Xf as TooltipViewport, Yf as TooltipTriggerExpose, qf as TooltipSlotState, zf as _default } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Tooltip, _default as TooltipRoot, _default$1 as TooltipContent, type TooltipContentExpose, type TooltipContentSlotState, type TooltipDismissEvent, type TooltipEscapeKeyDownEvent, type TooltipPlacement, type TooltipPositionerStrategy, type TooltipRootExpose, type TooltipSlotState, type TooltipState, _default$2 as TooltipTrigger, type TooltipTriggerExpose, type TooltipViewport };
|
package/dist/tour.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $c as _default$5, Al as TourStepValue, Cl as TourSlotState, Dl as TourState, El as TourSpotlightSlotState, Jc as _default$10, Kc as padTourRect, Ml as TourTargetState, Ol as TourStepDefinition, Qc as _default$6, Sl as TourRootExpose, Tl as TourSpotlightRect, Xc as _default$8, Yc as _default$9, Zc as _default$7, _l as TourHookResult, al as TourAfterLeave, bl as TourNavigationDirection, cl as TourBeforeEnter, dl as TourContentExpose, el as _default$4, fl as TourContentPlacement, gl as TourDismissReason, hl as TourDirection, il as _default, jl as TourTarget, kl as TourStepSlotState, ll as TourBeforeEnterContext, ml as TourControlSlotState, nl as _default$2, ol as TourAfterLeaveContext, pl as TourContentSlotState, qc as resolveTourTarget, rl as _default$1, sl as TourArrowSlotState, tl as _default$3, ul as TourCloseReason, vl as TourMessages, wl as TourSpotlightExpose, xl as TourProgressSlotState, yl as TourMissingTargetBehavior } from "./announcer-
|
|
1
|
+
import { $c as _default$5, Al as TourStepValue, Cl as TourSlotState, Dl as TourState, El as TourSpotlightSlotState, Jc as _default$10, Kc as padTourRect, Ml as TourTargetState, Ol as TourStepDefinition, Qc as _default$6, Sl as TourRootExpose, Tl as TourSpotlightRect, Xc as _default$8, Yc as _default$9, Zc as _default$7, _l as TourHookResult, al as TourAfterLeave, bl as TourNavigationDirection, cl as TourBeforeEnter, dl as TourContentExpose, el as _default$4, fl as TourContentPlacement, gl as TourDismissReason, hl as TourDirection, il as _default, jl as TourTarget, kl as TourStepSlotState, ll as TourBeforeEnterContext, ml as TourControlSlotState, nl as _default$2, ol as TourAfterLeaveContext, pl as TourContentSlotState, qc as resolveTourTarget, rl as _default$1, sl as TourArrowSlotState, tl as _default$3, ul as TourCloseReason, vl as TourMessages, wl as TourSpotlightExpose, xl as TourProgressSlotState, yl as TourMissingTargetBehavior } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Tour, _default as TourRoot, type TourAfterLeave, type TourAfterLeaveContext, _default$1 as TourArrow, type TourArrowSlotState, type TourBeforeEnter, type TourBeforeEnterContext, _default$2 as TourClose, type TourCloseReason, _default$3 as TourContent, type TourContentExpose, type TourContentPlacement, type TourContentSlotState, type TourControlSlotState, _default$4 as TourDescription, type TourDirection, type TourDismissReason, type TourHookResult, type TourMessages, type TourMissingTargetBehavior, type TourNavigationDirection, _default$5 as TourNext, _default$6 as TourPrev, _default$7 as TourProgress, type TourProgressSlotState, type TourRootExpose, type TourSlotState, _default$8 as TourSpotlight, type TourSpotlightExpose, type TourSpotlightRect, type TourSpotlightSlotState, type TourState, _default$9 as TourStep, type TourStepDefinition, type TourStepSlotState, type TourStepValue, type TourTarget, type TourTargetState, _default$10 as TourTitle, padTourRect, resolveTourTarget };
|
package/dist/tree.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { At as TreeItemState, Bt as TreeSlotState, Ct as TreeCheckPropagation, Dt as TreeFlatNode, Et as TreeDropPosition, Ft as TreeReorderController, Ht as TreeVirtualizer, It as TreeReorderItemRegistration, Lt as TreeReorderOptions, Mt as TreeLoadContext, Nt as TreeLoadState, Ot as TreeItemExpose, Pt as TreeMoveEvent, Rt as TreeRootExpose, St as _default, Tt as TreeDirection, Ut as TreeVirtualizerOptions, Vt as TreeState, Wt as TreeVirtualizerSource, _t as useTreeVirtualizer, bt as _default$2, dt as TreeIndexEntry, ft as deriveTreeCheckedStates, gt as toggleTreeChecked, ht as normalizeTreeChecked, jt as TreeKey, kt as TreeItemSlotState, lt as TreeIndex, mt as indexTree, pt as flattenVisibleTree, ut as TreeIndexAccessors, vt as useTreeReorder, wt as TreeCheckedState, xt as _default$1, yt as _default$3, zt as TreeSelectionMode } from "./announcer-
|
|
1
|
+
import { At as TreeItemState, Bt as TreeSlotState, Ct as TreeCheckPropagation, Dt as TreeFlatNode, Et as TreeDropPosition, Ft as TreeReorderController, Ht as TreeVirtualizer, It as TreeReorderItemRegistration, Lt as TreeReorderOptions, Mt as TreeLoadContext, Nt as TreeLoadState, Ot as TreeItemExpose, Pt as TreeMoveEvent, Rt as TreeRootExpose, St as _default, Tt as TreeDirection, Ut as TreeVirtualizerOptions, Vt as TreeState, Wt as TreeVirtualizerSource, _t as useTreeVirtualizer, bt as _default$2, dt as TreeIndexEntry, ft as deriveTreeCheckedStates, gt as toggleTreeChecked, ht as normalizeTreeChecked, jt as TreeKey, kt as TreeItemSlotState, lt as TreeIndex, mt as indexTree, pt as flattenVisibleTree, ut as TreeIndexAccessors, vt as useTreeReorder, wt as TreeCheckedState, xt as _default$1, yt as _default$3, zt as TreeSelectionMode } from "./announcer-TACygkB-.mjs";
|
|
2
2
|
export { _default as Tree, _default as TreeRoot, type TreeCheckPropagation, type TreeCheckedState, type TreeDirection, type TreeDropPosition, type TreeFlatNode, type TreeIndex, type TreeIndexAccessors, type TreeIndexEntry, _default$1 as TreeItem, _default$2 as TreeItemCheckbox, type TreeItemExpose, type TreeItemSlotState, type TreeItemState, _default$3 as TreeItemToggle, type TreeKey, type TreeLoadContext, type TreeLoadState, type TreeMoveEvent, type TreeReorderController, type TreeReorderItemRegistration, type TreeReorderOptions, type TreeRootExpose, type TreeSelectionMode, type TreeSlotState, type TreeState, type TreeVirtualizer, type TreeVirtualizerOptions, type TreeVirtualizerSource, deriveTreeCheckedStates, flattenVisibleTree, indexTree, normalizeTreeChecked, toggleTreeChecked, useTreeReorder, useTreeVirtualizer };
|
package/dist/week-picker.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { S as formatIsoDate, i as IsoWeek, r as DateRange, s as PlainDate, z as parseIsoDate } from "./plain-date-By3bTWQG.mjs";
|
|
2
|
-
import { Bb as weekOf, Rb as WeekPickerRootExpose, Vb as _default, zb as WeekSelection } from "./announcer-
|
|
2
|
+
import { Bb as weekOf, Rb as WeekPickerRootExpose, Vb as _default, zb as WeekSelection } from "./announcer-TACygkB-.mjs";
|
|
3
3
|
import { a as _default$2, i as _default$3, n as _default$5, o as _default$1, r as _default$4, t as _default$6 } from "./calendar-year-select.vue-BQcKQTQK.mjs";
|
|
4
4
|
export { type DateRange, type IsoWeek, type PlainDate, _default as WeekPicker, _default as WeekPickerRoot, _default$1 as WeekPickerGrid, _default$2 as WeekPickerHeading, _default$3 as WeekPickerMonthSelect, _default$4 as WeekPickerNext, _default$5 as WeekPickerPrev, type WeekPickerRootExpose, _default$6 as WeekPickerYearSelect, type WeekSelection, formatIsoDate, parseIsoDate, weekOf };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizejs/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.748.0",
|
|
4
4
|
"description": "Accessible, headless, Native CSS-first UI primitives",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -1171,7 +1171,7 @@
|
|
|
1171
1171
|
"@tsdown/css": "0.22.14",
|
|
1172
1172
|
"@types/node": "25.9.2",
|
|
1173
1173
|
"@vitejs/plugin-vue": "6.0.10",
|
|
1174
|
-
"@vizejs/native": "0.
|
|
1174
|
+
"@vizejs/native": "0.748.0",
|
|
1175
1175
|
"@vue/compiler-sfc": "3.5.35",
|
|
1176
1176
|
"@vue/test-utils": "2.4.10",
|
|
1177
1177
|
"happy-dom": "21.0.4",
|
|
@@ -94,7 +94,7 @@ const root = useTemplateRef<HTMLDivElement>("root");
|
|
|
94
94
|
const selection = useRangeCalendarSelection({
|
|
95
95
|
value: () => props.modelValue,
|
|
96
96
|
defaultValue: () => props.defaultValue,
|
|
97
|
-
allowNonContiguousRanges: () => props.allowNonContiguousRanges
|
|
97
|
+
allowNonContiguousRanges: () => props.allowNonContiguousRanges,
|
|
98
98
|
isDateUnavailable: () => props.isDateUnavailable,
|
|
99
99
|
onUpdate: (value) => emit("update:modelValue", value),
|
|
100
100
|
onChange: (value, previous, event) => emit("change", value, previous, event),
|
|
@@ -73,15 +73,15 @@ const picker = useTimePicker({
|
|
|
73
73
|
hourCycle: () => props.hourCycle,
|
|
74
74
|
locale: () => locale.value,
|
|
75
75
|
isTimeUnavailable: () => props.isTimeUnavailable,
|
|
76
|
-
readOnly: () => props.readOnly
|
|
76
|
+
readOnly: () => props.readOnly,
|
|
77
77
|
onUpdate: (value) => emit("update:modelValue", value),
|
|
78
78
|
onChange: (value, previous, event) => emit("change", value, previous, event),
|
|
79
79
|
});
|
|
80
80
|
const listboxProps = computed<ListboxProps>(() => ({
|
|
81
81
|
modelValue: picker.listboxValue.value,
|
|
82
82
|
selectionMode: "single",
|
|
83
|
-
disabled: props.disabled
|
|
84
|
-
required: props.required
|
|
83
|
+
disabled: props.disabled,
|
|
84
|
+
required: props.required,
|
|
85
85
|
id: deriveDeterministicId(baseId.value, "listbox"),
|
|
86
86
|
...(props.ariaLabel === undefined ? {} : { ariaLabel: props.ariaLabel }),
|
|
87
87
|
...(props.ariaLabelledby === undefined ? {} : { ariaLabelledby: props.ariaLabelledby }),
|
|
@@ -91,8 +91,8 @@ const slotState = computed<TimePickerSlotState>(() => ({
|
|
|
91
91
|
value: picker.value.value,
|
|
92
92
|
slots: picker.slots.value,
|
|
93
93
|
hourCycle: picker.hourCycle.value,
|
|
94
|
-
disabled: props.disabled
|
|
95
|
-
readOnly: props.readOnly
|
|
94
|
+
disabled: props.disabled,
|
|
95
|
+
readOnly: props.readOnly,
|
|
96
96
|
}));
|
|
97
97
|
|
|
98
98
|
function onChange(
|
|
@@ -107,8 +107,8 @@ defineExpose({
|
|
|
107
107
|
value: picker.value,
|
|
108
108
|
slots: picker.slots,
|
|
109
109
|
hourCycle: picker.hourCycle,
|
|
110
|
-
disabled: computed(() => props.disabled
|
|
111
|
-
readOnly: computed(() => props.readOnly
|
|
110
|
+
disabled: computed(() => props.disabled),
|
|
111
|
+
readOnly: computed(() => props.readOnly),
|
|
112
112
|
focus: (options?: FocusOptions) => listbox.value?.focus(options),
|
|
113
113
|
setValue: (value: PlainTime | null) => picker.setValue(value),
|
|
114
114
|
} satisfies { readonly [Key in keyof TimePickerExpose]: unknown });
|
|
@@ -167,7 +167,9 @@ notificationCenterContext.provide({
|
|
|
167
167
|
function itemSegment(value: string): string {
|
|
168
168
|
return /^[A-Za-z0-9][A-Za-z0-9_-]*$/.test(value)
|
|
169
169
|
? value
|
|
170
|
-
: `x${
|
|
170
|
+
: `x${Array.from(value)
|
|
171
|
+
.map((char) => char.charCodeAt(0).toString(36))
|
|
172
|
+
.join("")}`;
|
|
171
173
|
}
|
|
172
174
|
|
|
173
175
|
type NotificationCenterRootSetupExpose = Omit<
|
|
@@ -32,6 +32,7 @@ function caretAtStart(input: HTMLInputElement): boolean {
|
|
|
32
32
|
|
|
33
33
|
function onKeydown(event: KeyboardEvent): void {
|
|
34
34
|
// IME composition owns Enter and delimiters until the candidate is committed.
|
|
35
|
+
// eslint-disable-next-line type/no-deprecated -- Safari reports the keydown that commits an IME candidate only through keyCode 229
|
|
35
36
|
if (event.isComposing || event.keyCode === 229 || event.defaultPrevented) return;
|
|
36
37
|
const input = event.currentTarget as HTMLInputElement;
|
|
37
38
|
const count = context.tags.value.length;
|
|
@@ -79,13 +79,20 @@ defineSlots<{
|
|
|
79
79
|
}): unknown;
|
|
80
80
|
}>();
|
|
81
81
|
|
|
82
|
-
const value = reactive
|
|
82
|
+
const value = reactive<{
|
|
83
|
+
locale: string;
|
|
84
|
+
direction: TextDirection;
|
|
85
|
+
numberingSystem: string | undefined;
|
|
86
|
+
calendar: string | undefined;
|
|
87
|
+
timeZone: string;
|
|
88
|
+
timeZoneDisambiguation: LocaleTimeZoneDisambiguation;
|
|
89
|
+
}>({
|
|
83
90
|
locale: "en-US",
|
|
84
|
-
direction: "ltr"
|
|
85
|
-
numberingSystem: undefined
|
|
86
|
-
calendar: undefined
|
|
91
|
+
direction: "ltr",
|
|
92
|
+
numberingSystem: undefined,
|
|
93
|
+
calendar: undefined,
|
|
87
94
|
timeZone: "UTC",
|
|
88
|
-
timeZoneDisambiguation: "compatible"
|
|
95
|
+
timeZoneDisambiguation: "compatible",
|
|
89
96
|
});
|
|
90
97
|
|
|
91
98
|
watchEffect(() => {
|
|
@@ -136,6 +136,7 @@ const levelStyle = computed(() => ({
|
|
|
136
136
|
|
|
137
137
|
function bands(count: number, options?: AudioBarsOptions): readonly number[] {
|
|
138
138
|
// Read the frame ref so render effects re-run on every analysed frame.
|
|
139
|
+
// eslint-disable-next-line type/no-meaningless-void-operator -- the read itself is the point: it subscribes the caller's render effect
|
|
139
140
|
void analyser.frequency.value;
|
|
140
141
|
return analyser.bands(count, options);
|
|
141
142
|
}
|
|
@@ -423,7 +423,7 @@ async function toBlob(options: Omit<CropImageOptions, "rotation"> = {}): Promise
|
|
|
423
423
|
if (image === null || crop.value === null) {
|
|
424
424
|
throw new ImageCropperError("VIZE_UI_IMAGE_CROPPER_IMAGE_LOAD", "no loaded image to crop");
|
|
425
425
|
}
|
|
426
|
-
return
|
|
426
|
+
return cropImage(image, crop.value, { ...options, rotation: rotationValue.value });
|
|
427
427
|
}
|
|
428
428
|
|
|
429
429
|
async function toDataUrl(options: Omit<CropImageOptions, "rotation"> = {}): Promise<string> {
|
|
@@ -431,7 +431,7 @@ async function toDataUrl(options: Omit<CropImageOptions, "rotation"> = {}): Prom
|
|
|
431
431
|
if (image === null || crop.value === null) {
|
|
432
432
|
throw new ImageCropperError("VIZE_UI_IMAGE_CROPPER_IMAGE_LOAD", "no loaded image to crop");
|
|
433
433
|
}
|
|
434
|
-
return
|
|
434
|
+
return cropImage(image, crop.value, {
|
|
435
435
|
...options,
|
|
436
436
|
output: "data-url",
|
|
437
437
|
rotation: rotationValue.value,
|
|
@@ -208,7 +208,7 @@ function toSvg(options: Partial<SignatureSvgOptions> = {}): string {
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
async function toDataUrl(options: Partial<SignatureDataUrlOptions> = {}): Promise<string> {
|
|
211
|
-
return
|
|
211
|
+
return signatureToDataUrl(value.value, exportOptions(options));
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
function currentValue(): SignatureValue {
|
|
@@ -586,7 +586,7 @@ type TourRootSetupExpose = Omit<
|
|
|
586
586
|
readonly target: Readonly<ShallowRef<Element | null>>;
|
|
587
587
|
readonly targetState: ComputedRef<TourTargetState>;
|
|
588
588
|
readonly total: ComputedRef<number>;
|
|
589
|
-
readonly value: ComputedRef<StepValue | null>;
|
|
589
|
+
readonly value: ComputedRef<StepValue | null>; // eslint-disable-line type/no-redundant-type-constituents -- vize types the generic `TStep["value"]` alias as `any` here
|
|
590
590
|
};
|
|
591
591
|
|
|
592
592
|
const exposed = {
|
|
@@ -266,8 +266,7 @@ function currentOpen(): boolean {
|
|
|
266
266
|
return isOpen.value;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
function setOpen(value: boolean,
|
|
270
|
-
void nativeEvent;
|
|
269
|
+
function setOpen(value: boolean, _nativeEvent: Event | null = null): boolean {
|
|
271
270
|
const previous = currentOpen();
|
|
272
271
|
const next = value && !disabledState.value;
|
|
273
272
|
const changed = openState.set(next);
|
|
@@ -442,7 +441,8 @@ function typeahead(key: string): boolean {
|
|
|
442
441
|
const level = position?.level ?? 0;
|
|
443
442
|
const list = optionsAt(level);
|
|
444
443
|
if (list.length === 0) return false;
|
|
445
|
-
const repeated =
|
|
444
|
+
const repeated =
|
|
445
|
+
typeaheadBuffer.length > 0 && Array.from(typeaheadBuffer).every((char) => char === key);
|
|
446
446
|
typeaheadBuffer = repeated ? key : `${typeaheadBuffer}${key}`;
|
|
447
447
|
if (typeaheadTimer !== null) clearTimeout(typeaheadTimer);
|
|
448
448
|
typeaheadTimer = setTimeout(() => {
|
|
@@ -132,8 +132,7 @@ function move(direction: Parameters<typeof moveInGrid>[0]): boolean {
|
|
|
132
132
|
return true;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
function select(item: T,
|
|
136
|
-
void event;
|
|
135
|
+
function select(item: T, _event: Event | null): void {
|
|
137
136
|
emit("select", item, glyphOf(item));
|
|
138
137
|
}
|
|
139
138
|
|
|
@@ -5,7 +5,6 @@ import type { ComputedRef } from "vue";
|
|
|
5
5
|
import { useControllableState } from "../../foundations/controllable-state/controllable-state.ts";
|
|
6
6
|
import { useDeterministicId } from "../../foundations/id/deterministic-id.ts";
|
|
7
7
|
import type {
|
|
8
|
-
NativeSelectAriaInvalid,
|
|
9
8
|
NativeSelectDirection,
|
|
10
9
|
NativeSelectEmits,
|
|
11
10
|
NativeSelectExpose,
|