@youcan/celeste 0.6.102 → 0.7.1
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/celeste.css +1549 -1547
- package/dist/cjs/chunks/BubbleSelect.cjs +332 -0
- package/dist/cjs/chunks/CollapsibleRoot.cjs +90 -0
- package/dist/cjs/chunks/Collection.cjs +79 -0
- package/dist/cjs/chunks/ComboboxContent.cjs +442 -0
- package/dist/cjs/chunks/ComboboxGroup.cjs +90 -0
- package/dist/cjs/chunks/ComboboxInput.cjs +266 -0
- package/dist/cjs/chunks/ComboboxItem.cjs +195 -0
- package/dist/cjs/chunks/ComboboxLabel.cjs +47 -0
- package/dist/cjs/chunks/ComboboxRoot.cjs +695 -0
- package/dist/cjs/chunks/ComboboxSeparator.cjs +35 -0
- package/dist/cjs/chunks/ConfigProvider.cjs +11 -0
- package/dist/cjs/chunks/DialogClose.cjs +41 -0
- package/dist/cjs/chunks/DialogDescription.cjs +38 -0
- package/dist/cjs/chunks/DialogPortal.cjs +521 -0
- package/dist/cjs/chunks/DialogRoot.cjs +81 -0
- package/dist/cjs/chunks/DialogTitle.cjs +38 -0
- package/dist/cjs/chunks/DialogTrigger.cjs +57 -0
- package/dist/cjs/chunks/DismissableLayer.cjs +292 -0
- package/dist/cjs/chunks/DropdownMenuPortal.cjs +73 -0
- package/dist/cjs/chunks/DropdownMenuRoot.cjs +87 -0
- package/dist/cjs/chunks/FocusScope.cjs +368 -0
- package/dist/cjs/chunks/Label.cjs +42 -0
- package/dist/cjs/chunks/MenuAnchor.cjs +37 -0
- package/dist/cjs/chunks/MenuContentImpl.cjs +371 -0
- package/dist/cjs/chunks/MenuGroup.cjs +44 -0
- package/dist/cjs/chunks/MenuItemImpl.cjs +100 -0
- package/dist/cjs/chunks/MenuRoot.cjs +108 -0
- package/dist/cjs/chunks/MenuSub.cjs +68 -0
- package/dist/cjs/chunks/PaginationRoot.cjs +101 -0
- package/dist/cjs/chunks/PinInputRoot.cjs +153 -0
- package/dist/cjs/chunks/PopoverRoot.cjs +73 -0
- package/dist/cjs/chunks/PopperAnchor.cjs +48 -0
- package/dist/cjs/chunks/PopperArrow.cjs +152 -0
- package/dist/cjs/chunks/PopperContent.cjs +2134 -0
- package/dist/cjs/chunks/PopperRoot.cjs +32 -0
- package/dist/cjs/chunks/Presence.cjs +194 -0
- package/dist/cjs/chunks/Primitive.cjs +80 -0
- package/dist/cjs/chunks/ProgressIndicator.cjs +161 -0
- package/dist/cjs/chunks/RadioGroupRoot.cjs +143 -0
- package/dist/cjs/chunks/RovingFocusGroup.cjs +146 -0
- package/dist/cjs/chunks/RovingFocusItem.cjs +114 -0
- package/dist/cjs/chunks/SelectGroup.cjs +44 -0
- package/dist/cjs/chunks/SelectItemAlignedPosition.cjs +593 -0
- package/dist/cjs/chunks/TabsRoot.cjs +114 -0
- package/dist/cjs/chunks/Teleport.cjs +51 -0
- package/dist/cjs/chunks/ToggleGroupRoot.cjs +188 -0
- package/dist/cjs/chunks/TooltipProvider.cjs +87 -0
- package/dist/cjs/chunks/TooltipRoot.cjs +145 -0
- package/dist/cjs/chunks/VisuallyHidden.cjs +65 -0
- package/dist/cjs/chunks/VisuallyHiddenInput.cjs +146 -0
- package/dist/cjs/chunks/alert.cjs +2 -2
- package/dist/cjs/chunks/alpha-slider.cjs +1 -1
- package/dist/cjs/chunks/badge.cjs +2 -2
- package/dist/cjs/chunks/button.cjs +4 -3
- package/dist/cjs/chunks/checkbox-card.cjs +10 -8
- package/dist/cjs/chunks/checkbox-label.cjs +11 -9
- package/dist/cjs/chunks/checkbox.cjs +234 -9
- package/dist/cjs/chunks/chunk.cjs +50 -0
- package/dist/cjs/chunks/clamp.cjs +75 -0
- package/dist/cjs/chunks/collapsible-content.cjs +105 -2
- package/dist/cjs/chunks/collapsible-trigger.cjs +51 -2
- package/dist/cjs/chunks/collapsible.cjs +6 -3
- package/dist/cjs/chunks/color-area.cjs +4 -4
- package/dist/cjs/chunks/color-picker.cjs +14 -13
- package/dist/cjs/chunks/color-swatch.cjs +3 -3
- package/dist/cjs/chunks/combobox-anchor.cjs +45 -3
- package/dist/cjs/chunks/combobox-empty.cjs +31 -3
- package/dist/cjs/chunks/combobox-group.cjs +6 -4
- package/dist/cjs/chunks/combobox-input.cjs +7 -5
- package/dist/cjs/chunks/combobox-item.cjs +8 -6
- package/dist/cjs/chunks/combobox-list.cjs +105 -7
- package/dist/cjs/chunks/combobox-root.cjs +22 -18
- package/dist/cjs/chunks/combobox-separator.cjs +4 -3
- package/dist/cjs/chunks/combobox-trigger.cjs +64 -4
- package/dist/cjs/chunks/combobox.cjs +38 -30
- package/dist/cjs/chunks/compact-button.cjs +4 -3
- package/dist/cjs/chunks/components.cjs +47 -47
- package/dist/cjs/chunks/content-divider.cjs +87 -2
- package/dist/cjs/chunks/core.cjs +3 -3
- package/dist/cjs/chunks/counter-input.cjs +884 -8
- package/dist/cjs/chunks/createContext.cjs +38 -0
- package/dist/cjs/chunks/digit-input-group.cjs +6 -4
- package/dist/cjs/chunks/digit-input-slot.cjs +243 -4
- package/dist/cjs/chunks/digit-input.cjs +8 -6
- package/dist/cjs/chunks/dist.cjs +524 -12084
- package/dist/cjs/chunks/dropdown-menu-content.cjs +542 -5
- package/dist/cjs/chunks/dropdown-menu-group.cjs +30 -3
- package/dist/cjs/chunks/dropdown-menu-item.cjs +125 -4
- package/dist/cjs/chunks/dropdown-menu-label.cjs +59 -4
- package/dist/cjs/chunks/dropdown-menu-separator.cjs +57 -3
- package/dist/cjs/chunks/dropdown-menu-sub-content.cjs +295 -5
- package/dist/cjs/chunks/dropdown-menu-sub-trigger.cjs +192 -4
- package/dist/cjs/chunks/dropdown-menu-sub.cjs +39 -2
- package/dist/cjs/chunks/dropdown-menu-trigger.cjs +91 -4
- package/dist/cjs/chunks/dropdown-menu.cjs +6 -4
- package/dist/cjs/chunks/extra-settings.cjs +5 -5
- package/dist/cjs/chunks/fancy-button.cjs +4 -3
- package/dist/cjs/chunks/file-upload-area.cjs +2 -2
- package/dist/cjs/chunks/getActiveElement.cjs +14 -0
- package/dist/cjs/chunks/handleAndDispatchCustomEvent.cjs +18 -0
- package/dist/cjs/chunks/hint-text.cjs +2 -2
- package/dist/cjs/chunks/hue-slider.cjs +1 -1
- package/dist/cjs/chunks/isValueEqualOrExist.cjs +24 -0
- package/dist/cjs/chunks/{label.cjs → label2.cjs} +6 -4
- package/dist/cjs/chunks/link-bubble.cjs +7 -7
- package/dist/cjs/chunks/link-button.cjs +4 -3
- package/dist/cjs/chunks/menus.cjs +53 -52
- package/dist/cjs/chunks/modal-body.cjs +1 -1
- package/dist/cjs/chunks/modal-close.cjs +3 -2
- package/dist/cjs/chunks/modal-content.cjs +8 -7
- package/dist/cjs/chunks/modal-footer.cjs +1 -1
- package/dist/cjs/chunks/modal-header.cjs +8 -5
- package/dist/cjs/chunks/modal-trigger.cjs +3 -2
- package/dist/cjs/chunks/modal.cjs +7 -4
- package/dist/cjs/chunks/nullish.cjs +11 -0
- package/dist/cjs/chunks/ohash.D__AXeF1.cjs +114 -0
- package/dist/cjs/chunks/pagination-content.cjs +86 -3
- package/dist/cjs/chunks/pagination-ellipsis.cjs +30 -3
- package/dist/cjs/chunks/pagination-first.cjs +39 -3
- package/dist/cjs/chunks/pagination-item.cjs +51 -2
- package/dist/cjs/chunks/pagination-last.cjs +39 -3
- package/dist/cjs/chunks/pagination-next.cjs +39 -3
- package/dist/cjs/chunks/pagination-previous.cjs +39 -3
- package/dist/cjs/chunks/pagination.cjs +6 -4
- package/dist/cjs/chunks/popover-content.cjs +704 -7
- package/dist/cjs/chunks/popover-trigger.cjs +62 -3
- package/dist/cjs/chunks/popover.cjs +5 -3
- package/dist/cjs/chunks/progress-bar.cjs +7 -5
- package/dist/cjs/chunks/progress-circle.cjs +7 -5
- package/dist/cjs/chunks/radio-group-card.cjs +10 -8
- package/dist/cjs/chunks/radio-group-item.cjs +304 -6
- package/dist/cjs/chunks/radio-group-label.cjs +11 -9
- package/dist/cjs/chunks/radio-group.cjs +7 -5
- package/dist/cjs/chunks/rich-editor.cjs +162 -162
- package/dist/cjs/chunks/scroll-area.cjs +142 -6
- package/dist/cjs/chunks/scroll-bar.cjs +895 -4
- package/dist/cjs/chunks/segmented-control-item.cjs +163 -3
- package/dist/cjs/chunks/segmented-control.cjs +8 -4
- package/dist/cjs/chunks/select-content.cjs +320 -6
- package/dist/cjs/chunks/select-group.cjs +3 -2
- package/dist/cjs/chunks/select-icon.cjs +1 -1
- package/dist/cjs/chunks/select-item.cjs +227 -5
- package/dist/cjs/chunks/select-label.cjs +35 -3
- package/dist/cjs/chunks/select-separator.cjs +28 -3
- package/dist/cjs/chunks/select-trigger.cjs +165 -4
- package/dist/cjs/chunks/select-value.cjs +65 -3
- package/dist/cjs/chunks/select.cjs +9 -4
- package/dist/cjs/chunks/sheet-close.cjs +4 -3
- package/dist/cjs/chunks/sheet-content.cjs +9 -7
- package/dist/cjs/chunks/sheet-description.cjs +4 -3
- package/dist/cjs/chunks/sheet-footer.cjs +2 -2
- package/dist/cjs/chunks/sheet-header.cjs +2 -2
- package/dist/cjs/chunks/sheet-title.cjs +4 -3
- package/dist/cjs/chunks/sheet-trigger.cjs +3 -2
- package/dist/cjs/chunks/sheet.cjs +7 -4
- package/dist/cjs/chunks/sidebar-content.cjs +1 -1
- package/dist/cjs/chunks/sidebar-element.cjs +3 -2
- package/dist/cjs/chunks/sidebar-footer.cjs +1 -1
- package/dist/cjs/chunks/sidebar-group-content.cjs +1 -1
- package/dist/cjs/chunks/sidebar-group-label.cjs +3 -2
- package/dist/cjs/chunks/sidebar-group.cjs +1 -1
- package/dist/cjs/chunks/sidebar-header.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-action.cjs +3 -2
- package/dist/cjs/chunks/sidebar-menu-badge.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-button.cjs +3 -2
- package/dist/cjs/chunks/sidebar-menu-item.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-sub-button.cjs +3 -2
- package/dist/cjs/chunks/sidebar-menu-sub-item.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu-sub.cjs +1 -1
- package/dist/cjs/chunks/sidebar-menu.cjs +1 -1
- package/dist/cjs/chunks/sidebar-provider.cjs +1 -1
- package/dist/cjs/chunks/sidebar-trigger.cjs +2 -2
- package/dist/cjs/chunks/sidebar.cjs +1 -1
- package/dist/cjs/chunks/slider.cjs +751 -7
- package/dist/cjs/chunks/social-button.cjs +4 -3
- package/dist/cjs/chunks/sonner-alert.cjs +2 -2
- package/dist/cjs/chunks/sonner.cjs +1 -1
- package/dist/cjs/chunks/status-badge.cjs +2 -2
- package/dist/cjs/chunks/switch.cjs +192 -9
- package/dist/cjs/chunks/tab-menu-content.cjs +82 -3
- package/dist/cjs/chunks/tab-menu-item.cjs +89 -4
- package/dist/cjs/chunks/tab-menu-list.cjs +61 -3
- package/dist/cjs/chunks/tab-menu.cjs +7 -4
- package/dist/cjs/chunks/table-body.cjs +2 -2
- package/dist/cjs/chunks/table-caption.cjs +2 -2
- package/dist/cjs/chunks/table-cell.cjs +2 -2
- package/dist/cjs/chunks/table-footer.cjs +2 -2
- package/dist/cjs/chunks/table-head.cjs +2 -2
- package/dist/cjs/chunks/table-header.cjs +1 -1
- package/dist/cjs/chunks/table-row.cjs +2 -2
- package/dist/cjs/chunks/table.cjs +2 -2
- package/dist/cjs/chunks/table2.cjs +2 -2
- package/dist/cjs/chunks/tag.cjs +4 -3
- package/dist/cjs/chunks/text-input-affix.cjs +1 -1
- package/dist/cjs/chunks/text-input-button.cjs +12 -6
- package/dist/cjs/chunks/text-input.cjs +9 -8
- package/dist/cjs/chunks/textarea.cjs +2 -2
- package/dist/cjs/chunks/tooltip-content.cjs +589 -7
- package/dist/cjs/chunks/tooltip-provider.cjs +5 -3
- package/dist/cjs/chunks/tooltip-root.cjs +5 -3
- package/dist/cjs/chunks/tooltip-trigger.cjs +109 -3
- package/dist/cjs/chunks/tooltip.cjs +8 -5
- package/dist/cjs/chunks/use-color-model.cjs +1 -1
- package/dist/cjs/chunks/useArrowNavigation.cjs +65 -0
- package/dist/cjs/chunks/useComposing.cjs +27 -0
- package/dist/cjs/chunks/useDirection.cjs +20 -0
- package/dist/cjs/chunks/useEmitAsProps.cjs +34 -0
- package/dist/cjs/chunks/useFocusGuards.cjs +40 -0
- package/dist/cjs/chunks/useFormControl.cjs +14 -0
- package/dist/cjs/chunks/useForwardExpose.cjs +64 -0
- package/dist/cjs/chunks/useForwardProps.cjs +40 -0
- package/dist/cjs/chunks/useForwardPropsEmits.cjs +20 -0
- package/dist/cjs/chunks/useForwardScopeId.cjs +31 -0
- package/dist/cjs/chunks/useHideOthers.cjs +138 -0
- package/dist/cjs/chunks/useId.cjs +30 -0
- package/dist/cjs/chunks/useKbd.cjs +46 -0
- package/dist/cjs/chunks/useNonce.cjs +15 -0
- package/dist/cjs/chunks/usePrimitiveElement.cjs +18 -0
- package/dist/cjs/chunks/useSize.cjs +55 -0
- package/dist/cjs/chunks/useTypeahead.cjs +69 -0
- package/dist/cjs/chunks/utils.cjs +117 -0
- package/dist/cjs/chunks/utils2.cjs +73 -0
- package/dist/cjs/chunks/utils3.cjs +20 -0
- package/dist/cjs/command-group.cjs +6 -4
- package/dist/cjs/command-input.cjs +9 -6
- package/dist/cjs/command-item.cjs +6 -3
- package/dist/cjs/command-list.cjs +14 -7
- package/dist/cjs/command-root.cjs +20 -16
- package/dist/cjs/command-separator.cjs +4 -3
- package/dist/cjs/config.cjs +2 -2
- package/dist/cjs/index.cjs +47 -47
- package/dist/cjs/label.cjs +1 -1
- package/dist/cjs/use-delegated-props.cjs +1 -1
- package/dist/cjs/use-sidebar.cjs +2 -2
- package/dist/cjs/use-user-select.cjs +1 -1
- package/dist/es/chunks/BubbleSelect.js +290 -0
- package/dist/es/chunks/CollapsibleRoot.js +78 -0
- package/dist/es/chunks/Collection.js +73 -0
- package/dist/es/chunks/ComboboxContent.js +436 -0
- package/dist/es/chunks/ComboboxGroup.js +78 -0
- package/dist/es/chunks/ComboboxInput.js +260 -0
- package/dist/es/chunks/ComboboxItem.js +189 -0
- package/dist/es/chunks/ComboboxLabel.js +41 -0
- package/dist/es/chunks/ComboboxRoot.js +671 -0
- package/dist/es/chunks/ComboboxSeparator.js +29 -0
- package/dist/es/chunks/ConfigProvider.js +6 -0
- package/dist/es/chunks/DialogClose.js +35 -0
- package/dist/es/chunks/DialogDescription.js +32 -0
- package/dist/es/chunks/DialogPortal.js +503 -0
- package/dist/es/chunks/DialogRoot.js +69 -0
- package/dist/es/chunks/DialogTitle.js +32 -0
- package/dist/es/chunks/DialogTrigger.js +51 -0
- package/dist/es/chunks/DismissableLayer.js +280 -0
- package/dist/es/chunks/DropdownMenuPortal.js +67 -0
- package/dist/es/chunks/DropdownMenuRoot.js +75 -0
- package/dist/es/chunks/FocusScope.js +356 -0
- package/dist/es/chunks/Label.js +36 -0
- package/dist/es/chunks/MenuAnchor.js +31 -0
- package/dist/es/chunks/MenuContentImpl.js +359 -0
- package/dist/es/chunks/MenuGroup.js +32 -0
- package/dist/es/chunks/MenuItemImpl.js +94 -0
- package/dist/es/chunks/MenuRoot.js +84 -0
- package/dist/es/chunks/MenuSub.js +56 -0
- package/dist/es/chunks/PaginationRoot.js +89 -0
- package/dist/es/chunks/PinInputRoot.js +141 -0
- package/dist/es/chunks/PopoverRoot.js +61 -0
- package/dist/es/chunks/PopperAnchor.js +42 -0
- package/dist/es/chunks/PopperArrow.js +146 -0
- package/dist/es/chunks/PopperContent.js +2089 -0
- package/dist/es/chunks/PopperRoot.js +20 -0
- package/dist/es/chunks/Presence.js +182 -0
- package/dist/es/chunks/Primitive.js +62 -0
- package/dist/es/chunks/ProgressIndicator.js +149 -0
- package/dist/es/chunks/RadioGroupRoot.js +131 -0
- package/dist/es/chunks/RovingFocusGroup.js +134 -0
- package/dist/es/chunks/RovingFocusItem.js +108 -0
- package/dist/es/chunks/SelectGroup.js +32 -0
- package/dist/es/chunks/SelectItemAlignedPosition.js +563 -0
- package/dist/es/chunks/TabsRoot.js +102 -0
- package/dist/es/chunks/Teleport.js +45 -0
- package/dist/es/chunks/ToggleGroupRoot.js +176 -0
- package/dist/es/chunks/TooltipProvider.js +75 -0
- package/dist/es/chunks/TooltipRoot.js +127 -0
- package/dist/es/chunks/VisuallyHidden.js +59 -0
- package/dist/es/chunks/VisuallyHiddenInput.js +140 -0
- package/dist/es/chunks/alert.js +1 -1
- package/dist/es/chunks/badge.js +1 -1
- package/dist/es/chunks/button.js +3 -3
- package/dist/es/chunks/checkbox-card.js +9 -8
- package/dist/es/chunks/checkbox-label.js +10 -9
- package/dist/es/chunks/checkbox.js +234 -10
- package/dist/es/chunks/clamp.js +64 -0
- package/dist/es/chunks/collapsible-content.js +105 -3
- package/dist/es/chunks/collapsible-trigger.js +50 -2
- package/dist/es/chunks/collapsible.js +5 -3
- package/dist/es/chunks/color-area.js +3 -3
- package/dist/es/chunks/color-picker.js +13 -13
- package/dist/es/chunks/color-swatch.js +2 -2
- package/dist/es/chunks/combobox-anchor.js +45 -4
- package/dist/es/chunks/combobox-empty.js +30 -4
- package/dist/es/chunks/combobox-group.js +5 -4
- package/dist/es/chunks/combobox-input.js +6 -5
- package/dist/es/chunks/combobox-item.js +7 -6
- package/dist/es/chunks/combobox-list.js +104 -8
- package/dist/es/chunks/combobox-root.js +21 -18
- package/dist/es/chunks/combobox-separator.js +3 -3
- package/dist/es/chunks/combobox-trigger.js +63 -5
- package/dist/es/chunks/combobox.js +38 -31
- package/dist/es/chunks/compact-button.js +3 -3
- package/dist/es/chunks/components.js +46 -46
- package/dist/es/chunks/content-divider.js +87 -3
- package/dist/es/chunks/core.js +2 -2
- package/dist/es/chunks/counter-input.js +884 -9
- package/dist/es/chunks/createContext.js +32 -0
- package/dist/es/chunks/digit-input-group.js +5 -4
- package/dist/es/chunks/digit-input-slot.js +242 -5
- package/dist/es/chunks/digit-input.js +7 -6
- package/dist/es/chunks/dist.js +486 -11478
- package/dist/es/chunks/dropdown-menu-content.js +541 -6
- package/dist/es/chunks/dropdown-menu-group.js +29 -4
- package/dist/es/chunks/dropdown-menu-item.js +125 -5
- package/dist/es/chunks/dropdown-menu-label.js +58 -5
- package/dist/es/chunks/dropdown-menu-separator.js +56 -4
- package/dist/es/chunks/dropdown-menu-sub-content.js +294 -6
- package/dist/es/chunks/dropdown-menu-sub-trigger.js +192 -5
- package/dist/es/chunks/dropdown-menu-sub.js +40 -4
- package/dist/es/chunks/dropdown-menu-trigger.js +90 -5
- package/dist/es/chunks/dropdown-menu.js +5 -4
- package/dist/es/chunks/extra-settings.js +4 -4
- package/dist/es/chunks/fancy-button.js +3 -3
- package/dist/es/chunks/file-upload-area.js +1 -1
- package/dist/es/chunks/getActiveElement.js +9 -0
- package/dist/es/chunks/handleAndDispatchCustomEvent.js +13 -0
- package/dist/es/chunks/hint-text.js +1 -1
- package/dist/es/chunks/isValueEqualOrExist.js +19 -0
- package/dist/es/chunks/{label.js → label2.js} +5 -4
- package/dist/es/chunks/link-bubble.js +6 -6
- package/dist/es/chunks/link-button.js +3 -3
- package/dist/es/chunks/menus.js +2 -2
- package/dist/es/chunks/modal-close.js +2 -2
- package/dist/es/chunks/modal-content.js +7 -7
- package/dist/es/chunks/modal-header.js +7 -5
- package/dist/es/chunks/modal-trigger.js +2 -2
- package/dist/es/chunks/modal.js +6 -4
- package/dist/es/chunks/nullish.js +6 -0
- package/dist/es/chunks/ohash.D__AXeF1.js +109 -0
- package/dist/es/chunks/pagination-content.js +85 -4
- package/dist/es/chunks/pagination-ellipsis.js +29 -4
- package/dist/es/chunks/pagination-first.js +39 -4
- package/dist/es/chunks/pagination-item.js +51 -3
- package/dist/es/chunks/pagination-last.js +39 -4
- package/dist/es/chunks/pagination-next.js +39 -4
- package/dist/es/chunks/pagination-previous.js +39 -4
- package/dist/es/chunks/pagination.js +5 -4
- package/dist/es/chunks/popover-content.js +704 -8
- package/dist/es/chunks/popover-trigger.js +61 -4
- package/dist/es/chunks/popover.js +4 -3
- package/dist/es/chunks/progress-bar.js +6 -5
- package/dist/es/chunks/progress-circle.js +6 -5
- package/dist/es/chunks/radio-group-card.js +9 -8
- package/dist/es/chunks/radio-group-item.js +304 -7
- package/dist/es/chunks/radio-group-label.js +10 -9
- package/dist/es/chunks/radio-group.js +6 -5
- package/dist/es/chunks/rich-editor.js +5 -5
- package/dist/es/chunks/scroll-area.js +141 -7
- package/dist/es/chunks/scroll-bar.js +883 -6
- package/dist/es/chunks/segmented-control-item.js +162 -4
- package/dist/es/chunks/segmented-control.js +7 -4
- package/dist/es/chunks/select-content.js +319 -7
- package/dist/es/chunks/select-group.js +2 -2
- package/dist/es/chunks/select-item.js +226 -6
- package/dist/es/chunks/select-label.js +33 -3
- package/dist/es/chunks/select-separator.js +27 -4
- package/dist/es/chunks/select-trigger.js +164 -5
- package/dist/es/chunks/select-value.js +64 -4
- package/dist/es/chunks/select.js +8 -4
- package/dist/es/chunks/sheet-close.js +3 -3
- package/dist/es/chunks/sheet-content.js +8 -7
- package/dist/es/chunks/sheet-description.js +3 -3
- package/dist/es/chunks/sheet-footer.js +1 -1
- package/dist/es/chunks/sheet-header.js +1 -1
- package/dist/es/chunks/sheet-title.js +3 -3
- package/dist/es/chunks/sheet-trigger.js +2 -2
- package/dist/es/chunks/sheet.js +6 -4
- package/dist/es/chunks/sidebar-element.js +2 -2
- package/dist/es/chunks/sidebar-group-label.js +2 -2
- package/dist/es/chunks/sidebar-menu-action.js +2 -2
- package/dist/es/chunks/sidebar-menu-button.js +2 -2
- package/dist/es/chunks/sidebar-menu-sub-button.js +2 -2
- package/dist/es/chunks/sidebar-trigger.js +1 -1
- package/dist/es/chunks/slider.js +751 -8
- package/dist/es/chunks/social-button.js +3 -3
- package/dist/es/chunks/sonner-alert.js +1 -1
- package/dist/es/chunks/status-badge.js +1 -1
- package/dist/es/chunks/switch.js +192 -10
- package/dist/es/chunks/tab-menu-content.js +81 -4
- package/dist/es/chunks/tab-menu-item.js +89 -5
- package/dist/es/chunks/tab-menu-list.js +60 -4
- package/dist/es/chunks/tab-menu.js +6 -4
- package/dist/es/chunks/table-body.js +1 -1
- package/dist/es/chunks/table-caption.js +1 -1
- package/dist/es/chunks/table-cell.js +1 -1
- package/dist/es/chunks/table-footer.js +1 -1
- package/dist/es/chunks/table-head.js +1 -1
- package/dist/es/chunks/table-row.js +1 -1
- package/dist/es/chunks/table.js +1 -1
- package/dist/es/chunks/table2.js +1 -1
- package/dist/es/chunks/tag.js +3 -3
- package/dist/es/chunks/text-input-button.js +11 -5
- package/dist/es/chunks/text-input.js +8 -8
- package/dist/es/chunks/textarea.js +1 -1
- package/dist/es/chunks/tooltip-content.js +589 -8
- package/dist/es/chunks/tooltip-provider.js +4 -3
- package/dist/es/chunks/tooltip-root.js +4 -3
- package/dist/es/chunks/tooltip-trigger.js +109 -4
- package/dist/es/chunks/tooltip.js +7 -5
- package/dist/es/chunks/useArrowNavigation.js +60 -0
- package/dist/es/chunks/useComposing.js +21 -0
- package/dist/es/chunks/useDirection.js +14 -0
- package/dist/es/chunks/useEmitAsProps.js +28 -0
- package/dist/es/chunks/useFocusGuards.js +34 -0
- package/dist/es/chunks/useFormControl.js +8 -0
- package/dist/es/chunks/useForwardExpose.js +58 -0
- package/dist/es/chunks/useForwardProps.js +34 -0
- package/dist/es/chunks/useForwardPropsEmits.js +14 -0
- package/dist/es/chunks/useForwardScopeId.js +25 -0
- package/dist/es/chunks/useHideOthers.js +132 -0
- package/dist/es/chunks/useId.js +23 -0
- package/dist/es/chunks/useKbd.js +41 -0
- package/dist/es/chunks/useNonce.js +9 -0
- package/dist/es/chunks/usePrimitiveElement.js +12 -0
- package/dist/es/chunks/useSize.js +49 -0
- package/dist/es/chunks/useTypeahead.js +64 -0
- package/dist/es/chunks/utils.js +58 -0
- package/dist/es/chunks/utils2.js +44 -0
- package/dist/es/chunks/utils3.js +9 -0
- package/dist/es/command-group.js +5 -4
- package/dist/es/command-input.js +8 -6
- package/dist/es/command-item.js +5 -3
- package/dist/es/command-list.js +13 -7
- package/dist/es/command-root.js +19 -16
- package/dist/es/command-separator.js +3 -3
- package/dist/es/config.js +1 -1
- package/dist/es/index.js +46 -46
- package/dist/es/label.js +1 -1
- package/dist/es/use-sidebar.js +2 -2
- package/dist/{components → src/components}/alert/alert.d.ts +17 -14
- package/dist/{components → src/components}/button/button.d.ts +11 -8
- package/dist/{components → src/components}/button/compact-button.d.ts +4 -4
- package/dist/src/components/button/fancy-button.d.ts +24 -0
- package/dist/{components → src/components}/button/link-button.d.ts +11 -8
- package/dist/{components → src/components}/checkbox/checkbox-card.d.ts +1 -1
- package/dist/{components → src/components}/checkbox/checkbox-label.d.ts +1 -1
- package/dist/{components → src/components}/checkbox/checkbox.d.ts +3 -3
- package/dist/src/components/collapsible/collapsible-content.d.ts +18 -0
- package/dist/src/components/collapsible/collapsible-trigger.d.ts +16 -0
- package/dist/{components → src/components}/collapsible/collapsible.d.ts +12 -9
- package/dist/{components → src/components}/color-picker/color-picker.d.ts +11 -8
- package/dist/{components → src/components}/combobox/combobox-anchor.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-empty.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-group.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-input.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-item.d.ts +13 -10
- package/dist/src/components/combobox/combobox-list.d.ts +32 -0
- package/dist/{components → src/components}/combobox/combobox-root.d.ts +11 -7
- package/dist/{components → src/components}/combobox/combobox-separator.d.ts +1 -1
- package/dist/{components → src/components}/combobox/combobox-trigger.d.ts +9 -6
- package/dist/src/components/combobox/combobox.d.ts +52 -0
- package/dist/{components → src/components}/content-divider/content-divider.d.ts +3 -3
- package/dist/{components → src/components}/counter-input/counter-input.d.ts +2 -2
- package/dist/{components → src/components}/digit-input/digit-input-group.d.ts +1 -1
- package/dist/{components → src/components}/digit-input/digit-input-slot.d.ts +1 -1
- package/dist/src/components/digit-input/digit-input.d.ts +29 -0
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-content.d.ts +7 -7
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-group.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-item.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-label.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-separator.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub-content.d.ts +7 -7
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub-trigger.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-sub.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu-trigger.d.ts +1 -1
- package/dist/{components → src/components}/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/{components → src/components}/file-upload/file-upload-area.d.ts +8 -7
- package/dist/{components → src/components}/label/label.d.ts +1 -1
- package/dist/{components → src/components}/modal/modal-close.d.ts +1 -1
- package/dist/{components → src/components}/modal/modal-content.d.ts +7 -7
- package/dist/{components → src/components}/modal/modal-trigger.d.ts +1 -1
- package/dist/{components → src/components}/modal/modal.d.ts +1 -1
- package/dist/src/components/pagination/pagination-content.d.ts +25 -0
- package/dist/src/components/pagination/pagination-ellipsis.d.ts +18 -0
- package/dist/src/components/pagination/pagination-first.d.ts +18 -0
- package/dist/src/components/pagination/pagination-item.d.ts +20 -0
- package/dist/src/components/pagination/pagination-last.d.ts +18 -0
- package/dist/src/components/pagination/pagination-next.d.ts +18 -0
- package/dist/src/components/pagination/pagination-previous.d.ts +18 -0
- package/dist/src/components/pagination/pagination.d.ts +38 -0
- package/dist/src/components/popover/popover-content.d.ts +49 -0
- package/dist/{components → src/components}/popover/popover-trigger.d.ts +1 -1
- package/dist/{components → src/components}/popover/popover.d.ts +1 -1
- package/dist/{components → src/components}/progress/progress-bar.d.ts +1 -1
- package/dist/{components → src/components}/progress/progress-circle.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group-card.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group-item.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group-label.d.ts +1 -1
- package/dist/{components → src/components}/radio-group/radio-group.d.ts +3 -3
- package/dist/{components → src/components}/scroll-area/scroll-area.d.ts +1 -1
- package/dist/{components → src/components}/scroll-area/scroll-bar.d.ts +1 -1
- package/dist/{components → src/components}/segmented-control/segmented-control-item.d.ts +1 -1
- package/dist/{components → src/components}/segmented-control/segmented-control.d.ts +3 -3
- package/dist/{components → src/components}/select/select-content.d.ts +3 -3
- package/dist/{components → src/components}/select/select-group.d.ts +1 -1
- package/dist/{components → src/components}/select/select-item.d.ts +1 -1
- package/dist/{components → src/components}/select/select-label.d.ts +1 -1
- package/dist/{components → src/components}/select/select-separator.d.ts +1 -1
- package/dist/{components → src/components}/select/select-trigger.d.ts +1 -1
- package/dist/{components → src/components}/select/select-value.d.ts +1 -1
- package/dist/{components → src/components}/select/select.d.ts +3 -3
- package/dist/src/components/sheet/sheet-close.d.ts +18 -0
- package/dist/src/components/sheet/sheet-content.d.ts +35 -0
- package/dist/src/components/sheet/sheet-description.d.ts +18 -0
- package/dist/src/components/sheet/sheet-footer.d.ts +17 -0
- package/dist/src/components/sheet/sheet-header.d.ts +17 -0
- package/dist/src/components/sheet/sheet-title.d.ts +18 -0
- package/dist/src/components/sheet/sheet-trigger.d.ts +16 -0
- package/dist/{components → src/components}/sheet/sheet.d.ts +1 -1
- package/dist/src/components/sidebar/sidebar-element.d.ts +20 -0
- package/dist/src/components/sidebar/sidebar-footer.d.ts +17 -0
- package/dist/{components → src/components}/sidebar/sidebar-group-label.d.ts +1 -1
- package/dist/src/components/sidebar/sidebar-header.d.ts +17 -0
- package/dist/src/components/sidebar/sidebar-menu-action.d.ts +21 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-button.d.ts +2 -2
- package/dist/src/components/sidebar/sidebar-menu-sub-button.d.ts +24 -0
- package/dist/{components → src/components}/sidebar/sidebar.d.ts +11 -8
- package/dist/{components → src/components}/slider/slider.d.ts +1 -1
- package/dist/{components → src/components}/switch/switch.d.ts +3 -3
- package/dist/{components → src/components}/tab-menu/tab-menu-content.d.ts +1 -1
- package/dist/{components → src/components}/tab-menu/tab-menu-item.d.ts +1 -1
- package/dist/{components → src/components}/tab-menu/tab-menu-list.d.ts +1 -1
- package/dist/{components → src/components}/tab-menu/tab-menu.d.ts +3 -3
- package/dist/src/components/table/table-body.d.ts +17 -0
- package/dist/src/components/table/table-caption.d.ts +17 -0
- package/dist/src/components/table/table-cell.d.ts +20 -0
- package/dist/src/components/table/table-empty.d.ts +20 -0
- package/dist/src/components/table/table-footer.d.ts +17 -0
- package/dist/src/components/table/table-head.d.ts +20 -0
- package/dist/src/components/table/table-header.d.ts +17 -0
- package/dist/src/components/table/table-row.d.ts +20 -0
- package/dist/src/components/table/table.d.ts +17 -0
- package/dist/{components → src/components}/tag/tag.d.ts +11 -8
- package/dist/{components → src/components}/text-input/text-input-button.d.ts +1 -1
- package/dist/src/components/text-input/text-input.d.ts +42 -0
- package/dist/{components → src/components}/textarea/textarea.d.ts +9 -8
- package/dist/{components → src/components}/tooltip/tooltip-content.d.ts +10 -7
- package/dist/src/components/tooltip/tooltip-provider.d.ts +18 -0
- package/dist/{components → src/components}/tooltip/tooltip-root.d.ts +10 -7
- package/dist/src/components/tooltip/tooltip-trigger.d.ts +16 -0
- package/dist/{components → src/components}/tooltip/tooltip.d.ts +10 -7
- package/package.json +11 -11
- package/src/components/alert/alert.vue +8 -10
- package/src/components/badge/badge.vue +7 -9
- package/src/components/badge/status-badge.vue +10 -11
- package/src/components/button/button.vue +9 -10
- package/src/components/button/compact-button.vue +8 -9
- package/src/components/button/fancy-button.vue +10 -11
- package/src/components/button/link-button.vue +8 -9
- package/src/components/button/social-button.vue +5 -7
- package/src/components/checkbox/checkbox-card.vue +2 -2
- package/src/components/checkbox/checkbox-label.vue +2 -1
- package/src/components/checkbox/checkbox.vue +2 -2
- package/src/components/checkbox/stories/checkbox.stories.ts +4 -5
- package/src/components/collapsible/collapsible-content.vue +4 -6
- package/src/components/collapsible/collapsible-trigger.vue +4 -6
- package/src/components/collapsible/collapsible.vue +4 -6
- package/src/components/color-picker/alpha-slider.vue +8 -10
- package/src/components/color-picker/color-area.vue +8 -10
- package/src/components/color-picker/color-picker.vue +43 -43
- package/src/components/color-picker/color-swatch.vue +11 -13
- package/src/components/color-picker/composable/use-color-model.ts +2 -1
- package/src/components/color-picker/composable/use-user-select.ts +2 -1
- package/src/components/combobox/combobox-anchor.vue +4 -3
- package/src/components/combobox/combobox-empty.vue +4 -3
- package/src/components/combobox/combobox-group.vue +5 -4
- package/src/components/combobox/combobox-input.vue +6 -3
- package/src/components/combobox/combobox-item.vue +19 -20
- package/src/components/combobox/combobox-list.vue +7 -6
- package/src/components/combobox/combobox-root.vue +2 -1
- package/src/components/combobox/combobox-separator.vue +4 -3
- package/src/components/combobox/combobox-trigger.vue +25 -23
- package/src/components/combobox/combobox.vue +39 -33
- package/src/components/command/command-group.vue +4 -3
- package/src/components/command/command-input.vue +4 -2
- package/src/components/command/command-item.vue +4 -3
- package/src/components/command/command-list.vue +5 -6
- package/src/components/command/command-root.vue +4 -3
- package/src/components/command/command-separator.vue +4 -3
- package/src/components/content-divider/content-divider.vue +7 -9
- package/src/components/counter-input/counter-input.vue +2 -1
- package/src/components/digit-input/digit-input-group.vue +2 -1
- package/src/components/digit-input/digit-input-slot.vue +2 -1
- package/src/components/digit-input/digit-input.vue +8 -5
- package/src/components/digit-input/stories/digit-input.stories.ts +13 -3
- package/src/components/dropdown-menu/dropdown-menu-content.vue +4 -4
- package/src/components/dropdown-menu/dropdown-menu-group.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu-item.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu-label.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu-separator.vue +3 -2
- package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +4 -4
- package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +3 -2
- package/src/components/dropdown-menu/dropdown-menu-sub.vue +3 -3
- package/src/components/dropdown-menu/dropdown-menu-trigger.vue +2 -1
- package/src/components/dropdown-menu/dropdown-menu.vue +2 -2
- package/src/components/file-upload/file-upload-area.vue +26 -27
- package/src/components/file-upload/stories/file-upload-area.stories.ts +2 -1
- package/src/components/hint-text/hint-text.vue +4 -6
- package/src/components/label/label.vue +2 -1
- package/src/components/modal/modal-close.vue +2 -1
- package/src/components/modal/modal-content.vue +2 -2
- package/src/components/modal/modal-header.vue +1 -1
- package/src/components/modal/modal-trigger.vue +2 -2
- package/src/components/modal/modal.vue +2 -2
- package/src/components/pagination/pagination-content.vue +6 -7
- package/src/components/pagination/pagination-ellipsis.vue +7 -8
- package/src/components/pagination/pagination-first.vue +6 -7
- package/src/components/pagination/pagination-item.vue +6 -7
- package/src/components/pagination/pagination-last.vue +6 -7
- package/src/components/pagination/pagination-next.vue +6 -7
- package/src/components/pagination/pagination-previous.vue +7 -8
- package/src/components/pagination/pagination.vue +7 -8
- package/src/components/popover/popover-content.vue +19 -20
- package/src/components/popover/popover-trigger.vue +2 -1
- package/src/components/popover/popover.vue +2 -2
- package/src/components/popover/stories/popover.stories.ts +1 -1
- package/src/components/progress/progress-bar.vue +5 -3
- package/src/components/progress/progress-circle.vue +3 -2
- package/src/components/radio-group/radio-group-card.vue +2 -2
- package/src/components/radio-group/radio-group-item.vue +2 -1
- package/src/components/radio-group/radio-group-label.vue +2 -1
- package/src/components/radio-group/radio-group.vue +2 -1
- package/src/components/rich-editor/config.ts +1 -1
- package/src/components/rich-editor/extra-settings.vue +1 -1
- package/src/components/rich-editor/link-bubble.vue +1 -1
- package/src/components/rich-editor/rich-editor.vue +3 -2
- package/src/components/scroll-area/scroll-area.vue +3 -2
- package/src/components/scroll-area/scroll-bar.vue +2 -1
- package/src/components/segmented-control/segmented-control-item.vue +2 -1
- package/src/components/segmented-control/segmented-control.vue +2 -1
- package/src/components/select/select-content.vue +4 -3
- package/src/components/select/select-group.vue +2 -1
- package/src/components/select/select-item.vue +2 -1
- package/src/components/select/select-label.vue +2 -1
- package/src/components/select/select-separator.vue +2 -1
- package/src/components/select/select-trigger.vue +2 -1
- package/src/components/select/select-value.vue +2 -1
- package/src/components/select/select.vue +2 -1
- package/src/components/sheet/sheet-close.vue +4 -6
- package/src/components/sheet/sheet-content.vue +7 -9
- package/src/components/sheet/sheet-description.vue +6 -8
- package/src/components/sheet/sheet-footer.vue +2 -4
- package/src/components/sheet/sheet-header.vue +2 -4
- package/src/components/sheet/sheet-title.vue +6 -8
- package/src/components/sheet/sheet-trigger.vue +4 -6
- package/src/components/sheet/sheet.vue +2 -2
- package/src/components/sidebar/sidebar-element.vue +6 -8
- package/src/components/sidebar/sidebar-footer.vue +2 -4
- package/src/components/sidebar/sidebar-group-label.vue +2 -2
- package/src/components/sidebar/sidebar-header.vue +2 -4
- package/src/components/sidebar/sidebar-menu-action.vue +6 -8
- package/src/components/sidebar/sidebar-menu-badge.vue +6 -8
- package/src/components/sidebar/sidebar-menu-button.vue +2 -2
- package/src/components/sidebar/sidebar-menu-sub-button.vue +8 -10
- package/src/components/sidebar/sidebar-separator.vue +2 -4
- package/src/components/sidebar/sidebar-trigger.vue +1 -1
- package/src/components/sidebar/sidebar.vue +6 -8
- package/src/components/slider/slider.vue +2 -1
- package/src/components/sonner/sonner-alert.vue +2 -1
- package/src/components/sonner/sonner.vue +4 -5
- package/src/components/switch/stories/switch.stories.ts +3 -3
- package/src/components/switch/switch.vue +2 -1
- package/src/components/tab-menu/tab-menu-content.vue +2 -1
- package/src/components/tab-menu/tab-menu-item.vue +2 -1
- package/src/components/tab-menu/tab-menu-list.vue +2 -1
- package/src/components/tab-menu/tab-menu.vue +2 -2
- package/src/components/table/table-body.vue +2 -4
- package/src/components/table/table-caption.vue +2 -4
- package/src/components/table/table-cell.vue +5 -7
- package/src/components/table/table-empty.vue +5 -7
- package/src/components/table/table-footer.vue +2 -4
- package/src/components/table/table-head.vue +5 -7
- package/src/components/table/table-header.vue +2 -4
- package/src/components/table/table-row.vue +5 -7
- package/src/components/table/table.vue +2 -4
- package/src/components/tag/tag.vue +10 -11
- package/src/components/text-input/text-input-button.vue +3 -2
- package/src/components/text-input/text-input.vue +9 -10
- package/src/components/textarea/textarea.vue +8 -10
- package/src/components/tooltip/tooltip-content.vue +14 -15
- package/src/components/tooltip/tooltip-provider.vue +4 -5
- package/src/components/tooltip/tooltip-root.vue +4 -5
- package/src/components/tooltip/tooltip-trigger.vue +4 -5
- package/src/components/tooltip/tooltip.vue +12 -14
- package/src/composables/use-delegated-props.ts +2 -1
- package/src/composables/use-sidebar.ts +1 -1
- package/src/utils/sonner.ts +2 -1
- package/dist/components/button/fancy-button.d.ts +0 -21
- package/dist/components/collapsible/collapsible-content.d.ts +0 -15
- package/dist/components/collapsible/collapsible-trigger.d.ts +0 -13
- package/dist/components/combobox/combobox-list.d.ts +0 -32
- package/dist/components/combobox/combobox.d.ts +0 -45
- package/dist/components/digit-input/digit-input.d.ts +0 -28
- package/dist/components/pagination/pagination-content.d.ts +0 -22
- package/dist/components/pagination/pagination-ellipsis.d.ts +0 -15
- package/dist/components/pagination/pagination-first.d.ts +0 -15
- package/dist/components/pagination/pagination-item.d.ts +0 -17
- package/dist/components/pagination/pagination-last.d.ts +0 -15
- package/dist/components/pagination/pagination-next.d.ts +0 -15
- package/dist/components/pagination/pagination-previous.d.ts +0 -15
- package/dist/components/pagination/pagination.d.ts +0 -35
- package/dist/components/popover/popover-content.d.ts +0 -46
- package/dist/components/sheet/sheet-close.d.ts +0 -15
- package/dist/components/sheet/sheet-content.d.ts +0 -32
- package/dist/components/sheet/sheet-description.d.ts +0 -15
- package/dist/components/sheet/sheet-footer.d.ts +0 -14
- package/dist/components/sheet/sheet-header.d.ts +0 -14
- package/dist/components/sheet/sheet-title.d.ts +0 -15
- package/dist/components/sheet/sheet-trigger.d.ts +0 -13
- package/dist/components/sidebar/sidebar-element.d.ts +0 -17
- package/dist/components/sidebar/sidebar-footer.d.ts +0 -14
- package/dist/components/sidebar/sidebar-header.d.ts +0 -14
- package/dist/components/sidebar/sidebar-menu-action.d.ts +0 -18
- package/dist/components/sidebar/sidebar-menu-sub-button.d.ts +0 -21
- package/dist/components/table/table-body.d.ts +0 -14
- package/dist/components/table/table-caption.d.ts +0 -14
- package/dist/components/table/table-cell.d.ts +0 -17
- package/dist/components/table/table-empty.d.ts +0 -17
- package/dist/components/table/table-footer.d.ts +0 -14
- package/dist/components/table/table-head.d.ts +0 -17
- package/dist/components/table/table-header.d.ts +0 -14
- package/dist/components/table/table-row.d.ts +0 -17
- package/dist/components/table/table.d.ts +0 -14
- package/dist/components/text-input/text-input.d.ts +0 -38
- package/dist/components/tooltip/tooltip-provider.d.ts +0 -15
- package/dist/components/tooltip/tooltip-trigger.d.ts +0 -13
- package/dist/{components → src/components}/alert/index.d.ts +0 -0
- package/dist/{components → src/components}/badge/badge.d.ts +2 -2
- package/dist/{components → src/components}/badge/index.d.ts +0 -0
- package/dist/{components → src/components}/badge/status-badge.d.ts +2 -2
- package/dist/{components → src/components}/button/index.d.ts +0 -0
- package/dist/{components → src/components}/button/social-button.d.ts +2 -2
- package/dist/{components → src/components}/checkbox/index.d.ts +0 -0
- package/dist/{components → src/components}/collapsible/index.d.ts +0 -0
- package/dist/{components → src/components}/color-picker/alpha-slider.d.ts +2 -2
- package/dist/{components → src/components}/color-picker/color-area.d.ts +1 -1
- package/dist/{components → src/components}/color-picker/color-swatch.d.ts +2 -2
- package/dist/{components → src/components}/color-picker/composable/use-color-model.d.ts +1 -1
- package/dist/{components → src/components}/color-picker/composable/use-user-select.d.ts +0 -0
- package/dist/{components → src/components}/color-picker/hue-slider.d.ts +0 -0
- package/dist/{components → src/components}/color-picker/index.d.ts +0 -0
- package/dist/{components → src/components}/combobox/index.d.ts +0 -0
- package/dist/{components → src/components}/content-divider/index.d.ts +0 -0
- package/dist/{components → src/components}/counter-input/index.d.ts +0 -0
- package/dist/{components → src/components}/digit-input/index.d.ts +0 -0
- package/dist/{components → src/components}/dropdown-menu/index.d.ts +0 -0
- package/dist/{components → src/components}/file-upload/index.d.ts +0 -0
- package/dist/{components → src/components}/hint-text/hint-text.d.ts +2 -2
- package/dist/{components → src/components}/hint-text/index.d.ts +0 -0
- package/dist/{components → src/components}/index.d.ts +0 -0
- package/dist/{components → src/components}/label/index.d.ts +0 -0
- package/dist/{components → src/components}/modal/index.d.ts +0 -0
- package/dist/{components → src/components}/modal/modal-body.d.ts +0 -0
- package/dist/{components → src/components}/modal/modal-footer.d.ts +0 -0
- package/dist/{components → src/components}/modal/modal-header.d.ts +0 -0
- package/dist/{components → src/components}/pagination/index.d.ts +0 -0
- package/dist/{components → src/components}/popover/index.d.ts +0 -0
- package/dist/{components → src/components}/progress/index.d.ts +0 -0
- package/dist/{components → src/components}/radio-group/index.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/config.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/extra-settings.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/index.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/link-bubble.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/rich-editor.d.ts +0 -0
- package/dist/{components → src/components}/rich-editor/types.d.ts +0 -0
- package/dist/{components → src/components}/scroll-area/index.d.ts +0 -0
- package/dist/{components → src/components}/segmented-control/index.d.ts +0 -0
- package/dist/{components → src/components}/select/index.d.ts +0 -0
- package/dist/{components → src/components}/select/select-icon.d.ts +0 -0
- package/dist/{components → src/components}/sheet/index.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/index.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-content.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-group-content.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-group.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-badge.d.ts +2 -2
- package/dist/{components → src/components}/sidebar/sidebar-menu-item.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-sub-item.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu-sub.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-menu.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-provider.d.ts +0 -0
- package/dist/{components → src/components}/sidebar/sidebar-separator.d.ts +1 -1
- package/dist/{components → src/components}/sidebar/sidebar-trigger.d.ts +0 -0
- package/dist/{components → src/components}/slider/index.d.ts +0 -0
- package/dist/{components → src/components}/sonner/index.d.ts +0 -0
- package/dist/{components → src/components}/sonner/sonner-alert.d.ts +0 -0
- package/dist/{components → src/components}/sonner/sonner.d.ts +1 -1
- package/dist/{components → src/components}/switch/index.d.ts +0 -0
- package/dist/{components → src/components}/tab-menu/index.d.ts +0 -0
- package/dist/{components → src/components}/table/index.d.ts +0 -0
- package/dist/{components → src/components}/tag/index.d.ts +0 -0
- package/dist/{components → src/components}/text-input/index.d.ts +0 -0
- package/dist/{components → src/components}/text-input/text-input-affix.d.ts +0 -0
- package/dist/{components → src/components}/textarea/index.d.ts +0 -0
- package/dist/{components → src/components}/tooltip/index.d.ts +0 -0
- package/dist/{composables → src/composables}/index.d.ts +0 -0
- package/dist/{composables → src/composables}/use-delegated-props.d.ts +0 -0
- package/dist/{composables → src/composables}/use-sidebar.d.ts +0 -0
- package/dist/{index.d.ts → src/index.d.ts} +0 -0
- package/dist/{utils → src/utils}/color.d.ts +0 -0
- package/dist/{utils → src/utils}/crypto.d.ts +0 -0
- package/dist/{utils → src/utils}/index.d.ts +0 -0
- package/dist/{utils → src/utils}/sonner.d.ts +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunk.cjs");
|
|
2
2
|
const require_clsx = require("./clsx.cjs");
|
|
3
3
|
const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper.cjs");
|
|
4
|
+
const require_Primitive = require("./Primitive.cjs");
|
|
4
5
|
let vue = require("vue");
|
|
5
6
|
//#region src/components/button/link-button.vue?vue&type=script&setup=true&lang.ts
|
|
6
7
|
var link_button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -17,7 +18,7 @@ var link_button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0
|
|
|
17
18
|
setup(__props) {
|
|
18
19
|
const props = __props;
|
|
19
20
|
return (_ctx, _cache) => {
|
|
20
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
21
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_Primitive.Primitive), {
|
|
21
22
|
as: _ctx.as,
|
|
22
23
|
disabled: _ctx.disabled,
|
|
23
24
|
"as-child": _ctx.asChild,
|
|
@@ -38,7 +39,7 @@ var link_button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0
|
|
|
38
39
|
});
|
|
39
40
|
//#endregion
|
|
40
41
|
//#region src/components/button/link-button.vue
|
|
41
|
-
var link_button_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(link_button_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
42
|
+
var link_button_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(link_button_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-6436f331"]]);
|
|
42
43
|
//#endregion
|
|
43
44
|
Object.defineProperty(exports, "link_button_default", {
|
|
44
45
|
enumerable: true,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
require("./chunk.cjs");
|
|
2
|
+
const require_PopperContent = require("./PopperContent.cjs");
|
|
3
|
+
const require_dist = require("./dist2.cjs");
|
|
3
4
|
let vue = require("vue");
|
|
4
5
|
//#region ../../node_modules/.pnpm/prosemirror-tables@1.7.1/node_modules/prosemirror-tables/dist/index.js
|
|
5
6
|
var readFromCache;
|
|
@@ -229,7 +230,7 @@ function tableNodeTypes(schema) {
|
|
|
229
230
|
}
|
|
230
231
|
return result;
|
|
231
232
|
}
|
|
232
|
-
new require_dist
|
|
233
|
+
new require_dist.PluginKey("selectingCells");
|
|
233
234
|
function cellAround($pos) {
|
|
234
235
|
for (let d = $pos.depth - 1; d > 0; d--) if ($pos.node(d).type.spec.tableRole == "row") return $pos.node(0).resolve($pos.before(d + 1));
|
|
235
236
|
return null;
|
|
@@ -282,7 +283,7 @@ function removeColSpan(attrs, pos, n = 1) {
|
|
|
282
283
|
}
|
|
283
284
|
return result;
|
|
284
285
|
}
|
|
285
|
-
var CellSelection = class _CellSelection extends require_dist
|
|
286
|
+
var CellSelection = class _CellSelection extends require_dist.Selection {
|
|
286
287
|
constructor($anchorCell, $headCell = $anchorCell) {
|
|
287
288
|
const table = $anchorCell.node(-1);
|
|
288
289
|
const map = TableMap.get(table);
|
|
@@ -295,7 +296,7 @@ var CellSelection = class _CellSelection extends require_dist$1.Selection {
|
|
|
295
296
|
const cell = table.nodeAt(pos);
|
|
296
297
|
if (!cell) throw RangeError(`No cell with offset ${pos} found`);
|
|
297
298
|
const from = tableStart + pos + 1;
|
|
298
|
-
return new require_dist
|
|
299
|
+
return new require_dist.SelectionRange(doc.resolve(from), doc.resolve(from + cell.content.size));
|
|
299
300
|
});
|
|
300
301
|
super(ranges[0].$from, ranges[0].$to, ranges);
|
|
301
302
|
this.$anchorCell = $anchorCell;
|
|
@@ -310,7 +311,7 @@ var CellSelection = class _CellSelection extends require_dist$1.Selection {
|
|
|
310
311
|
else if (tableChanged && this.isColSelection()) return _CellSelection.colSelection($anchorCell, $headCell);
|
|
311
312
|
else return new _CellSelection($anchorCell, $headCell);
|
|
312
313
|
}
|
|
313
|
-
return require_dist
|
|
314
|
+
return require_dist.TextSelection.between($anchorCell, $headCell);
|
|
314
315
|
}
|
|
315
316
|
content() {
|
|
316
317
|
const table = this.$anchorCell.node(-1);
|
|
@@ -349,22 +350,22 @@ var CellSelection = class _CellSelection extends require_dist$1.Selection {
|
|
|
349
350
|
}
|
|
350
351
|
rowContent.push(cell);
|
|
351
352
|
}
|
|
352
|
-
rows.push(table.child(row).copy(require_dist
|
|
353
|
+
rows.push(table.child(row).copy(require_dist.Fragment.from(rowContent)));
|
|
353
354
|
}
|
|
354
355
|
const fragment = this.isColSelection() && this.isRowSelection() ? table : rows;
|
|
355
|
-
return new require_dist
|
|
356
|
+
return new require_dist.Slice(require_dist.Fragment.from(fragment), 1, 1);
|
|
356
357
|
}
|
|
357
|
-
replace(tr, content = require_dist
|
|
358
|
+
replace(tr, content = require_dist.Slice.empty) {
|
|
358
359
|
const mapFrom = tr.steps.length, ranges = this.ranges;
|
|
359
360
|
for (let i = 0; i < ranges.length; i++) {
|
|
360
361
|
const { $from, $to } = ranges[i], mapping = tr.mapping.slice(mapFrom);
|
|
361
|
-
tr.replace(mapping.map($from.pos), mapping.map($to.pos), i ? require_dist
|
|
362
|
+
tr.replace(mapping.map($from.pos), mapping.map($to.pos), i ? require_dist.Slice.empty : content);
|
|
362
363
|
}
|
|
363
|
-
const sel = require_dist
|
|
364
|
+
const sel = require_dist.Selection.findFrom(tr.doc.resolve(tr.mapping.slice(mapFrom).map(this.to)), -1);
|
|
364
365
|
if (sel) tr.setSelection(sel);
|
|
365
366
|
}
|
|
366
367
|
replaceWith(tr, node) {
|
|
367
|
-
this.replace(tr, new require_dist
|
|
368
|
+
this.replace(tr, new require_dist.Slice(require_dist.Fragment.from(node), 0, 0));
|
|
368
369
|
}
|
|
369
370
|
forEachCell(f) {
|
|
370
371
|
const table = this.$anchorCell.node(-1);
|
|
@@ -445,7 +446,7 @@ var CellSelection = class _CellSelection extends require_dist$1.Selection {
|
|
|
445
446
|
}
|
|
446
447
|
};
|
|
447
448
|
CellSelection.prototype.visible = false;
|
|
448
|
-
require_dist
|
|
449
|
+
require_dist.Selection.jsonID("cell", CellSelection);
|
|
449
450
|
var CellBookmark = class _CellBookmark {
|
|
450
451
|
constructor(anchor, head) {
|
|
451
452
|
this.anchor = anchor;
|
|
@@ -457,10 +458,10 @@ var CellBookmark = class _CellBookmark {
|
|
|
457
458
|
resolve(doc) {
|
|
458
459
|
const $anchorCell = doc.resolve(this.anchor), $headCell = doc.resolve(this.head);
|
|
459
460
|
if ($anchorCell.parent.type.spec.tableRole == "row" && $headCell.parent.type.spec.tableRole == "row" && $anchorCell.index() < $anchorCell.parent.childCount && $headCell.index() < $headCell.parent.childCount && inSameTable($anchorCell, $headCell)) return new CellSelection($anchorCell, $headCell);
|
|
460
|
-
else return require_dist
|
|
461
|
+
else return require_dist.Selection.near($headCell, 1);
|
|
461
462
|
}
|
|
462
463
|
};
|
|
463
|
-
new require_dist
|
|
464
|
+
new require_dist.PluginKey("fix-tables");
|
|
464
465
|
function selectedRect(state) {
|
|
465
466
|
const sel = state.selection;
|
|
466
467
|
const $pos = selectionCell(state);
|
|
@@ -555,13 +556,13 @@ function deleteCellSelection(state, dispatch) {
|
|
|
555
556
|
const tr = state.tr;
|
|
556
557
|
const baseContent = tableNodeTypes(state.schema).cell.createAndFill().content;
|
|
557
558
|
sel.forEachCell((cell, pos) => {
|
|
558
|
-
if (!cell.content.eq(baseContent)) tr.replace(tr.mapping.map(pos + 1), tr.mapping.map(pos + cell.nodeSize - 1), new require_dist
|
|
559
|
+
if (!cell.content.eq(baseContent)) tr.replace(tr.mapping.map(pos + 1), tr.mapping.map(pos + cell.nodeSize - 1), new require_dist.Slice(baseContent, 0, 0));
|
|
559
560
|
});
|
|
560
561
|
if (tr.docChanged) dispatch(tr);
|
|
561
562
|
}
|
|
562
563
|
return true;
|
|
563
564
|
}
|
|
564
|
-
require_dist
|
|
565
|
+
require_dist.keydownHandler({
|
|
565
566
|
ArrowLeft: arrow("horiz", -1),
|
|
566
567
|
ArrowRight: arrow("horiz", 1),
|
|
567
568
|
ArrowUp: arrow("vert", -1),
|
|
@@ -584,18 +585,18 @@ function arrow(axis, dir) {
|
|
|
584
585
|
return (state, dispatch, view) => {
|
|
585
586
|
if (!view) return false;
|
|
586
587
|
const sel = state.selection;
|
|
587
|
-
if (sel instanceof CellSelection) return maybeSetSelection(state, dispatch, require_dist
|
|
588
|
+
if (sel instanceof CellSelection) return maybeSetSelection(state, dispatch, require_dist.Selection.near(sel.$headCell, dir));
|
|
588
589
|
if (axis != "horiz" && !sel.empty) return false;
|
|
589
590
|
const end = atEndOfCell(view, axis, dir);
|
|
590
591
|
if (end == null) return false;
|
|
591
|
-
if (axis == "horiz") return maybeSetSelection(state, dispatch, require_dist
|
|
592
|
+
if (axis == "horiz") return maybeSetSelection(state, dispatch, require_dist.Selection.near(state.doc.resolve(sel.head + dir), dir));
|
|
592
593
|
else {
|
|
593
594
|
const $cell = state.doc.resolve(end);
|
|
594
595
|
const $next = nextCell($cell, axis, dir);
|
|
595
596
|
let newSel;
|
|
596
|
-
if ($next) newSel = require_dist
|
|
597
|
-
else if (dir < 0) newSel = require_dist
|
|
598
|
-
else newSel = require_dist
|
|
597
|
+
if ($next) newSel = require_dist.Selection.near($next, 1);
|
|
598
|
+
else if (dir < 0) newSel = require_dist.Selection.near(state.doc.resolve($cell.before(-1)), -1);
|
|
599
|
+
else newSel = require_dist.Selection.near(state.doc.resolve($cell.after(-1)), 1);
|
|
599
600
|
return maybeSetSelection(state, dispatch, newSel);
|
|
600
601
|
}
|
|
601
602
|
};
|
|
@@ -617,7 +618,7 @@ function shiftArrow(axis, dir) {
|
|
|
617
618
|
};
|
|
618
619
|
}
|
|
619
620
|
function atEndOfCell(view, axis, dir) {
|
|
620
|
-
if (!(view.state.selection instanceof require_dist
|
|
621
|
+
if (!(view.state.selection instanceof require_dist.TextSelection)) return null;
|
|
621
622
|
const { $head } = view.state.selection;
|
|
622
623
|
for (let d = $head.depth - 1; d >= 0; d--) {
|
|
623
624
|
const parent = $head.node(d);
|
|
@@ -630,9 +631,9 @@ function atEndOfCell(view, axis, dir) {
|
|
|
630
631
|
}
|
|
631
632
|
return null;
|
|
632
633
|
}
|
|
633
|
-
new require_dist
|
|
634
|
+
new require_dist.PluginKey("tableColumnResizing");
|
|
634
635
|
//#endregion
|
|
635
|
-
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.11.0_@floating-ui+dom@1.6.13_@tiptap+core@3.11.0_@tiptap+pm@3.11.0__@
|
|
636
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.11.0_@floating-ui+dom@1.6.13_@tiptap+core@3.11.0_@tiptap+pm@3.11.0__@ti_45b8c35b8241f1f45bcf18bc7e68b71b/node_modules/@tiptap/vue-3/dist/menus/index.js
|
|
636
637
|
function combineDOMRects(rect1, rect2) {
|
|
637
638
|
const top = Math.min(rect1.top, rect2.top);
|
|
638
639
|
const bottom = Math.max(rect1.bottom, rect2.bottom);
|
|
@@ -665,7 +666,7 @@ var BubbleMenuView = class {
|
|
|
665
666
|
this.shouldShow = ({ view, state, from, to }) => {
|
|
666
667
|
const { doc, selection } = state;
|
|
667
668
|
const { empty } = selection;
|
|
668
|
-
const isEmptyTextBlock = !doc.textBetween(from, to).length && require_dist
|
|
669
|
+
const isEmptyTextBlock = !doc.textBetween(from, to).length && require_dist.isTextSelection(state.selection);
|
|
669
670
|
const isChildOfMenu = this.element.contains(document.activeElement);
|
|
670
671
|
if (!(view.hasFocus() || isChildOfMenu) || empty || isEmptyTextBlock || !this.editor.isEditable) return false;
|
|
671
672
|
return true;
|
|
@@ -756,14 +757,14 @@ var BubbleMenuView = class {
|
|
|
756
757
|
}
|
|
757
758
|
get middlewares() {
|
|
758
759
|
const middlewares = [];
|
|
759
|
-
if (this.floatingUIOptions.flip) middlewares.push(
|
|
760
|
-
if (this.floatingUIOptions.shift) middlewares.push(
|
|
761
|
-
if (this.floatingUIOptions.offset) middlewares.push(
|
|
762
|
-
if (this.floatingUIOptions.arrow) middlewares.push(
|
|
763
|
-
if (this.floatingUIOptions.size) middlewares.push(
|
|
764
|
-
if (this.floatingUIOptions.autoPlacement) middlewares.push(
|
|
765
|
-
if (this.floatingUIOptions.hide) middlewares.push(
|
|
766
|
-
if (this.floatingUIOptions.inline) middlewares.push(
|
|
760
|
+
if (this.floatingUIOptions.flip) middlewares.push(require_PopperContent.flip(typeof this.floatingUIOptions.flip !== "boolean" ? this.floatingUIOptions.flip : void 0));
|
|
761
|
+
if (this.floatingUIOptions.shift) middlewares.push(require_PopperContent.shift(typeof this.floatingUIOptions.shift !== "boolean" ? this.floatingUIOptions.shift : void 0));
|
|
762
|
+
if (this.floatingUIOptions.offset) middlewares.push(require_PopperContent.offset(typeof this.floatingUIOptions.offset !== "boolean" ? this.floatingUIOptions.offset : void 0));
|
|
763
|
+
if (this.floatingUIOptions.arrow) middlewares.push(require_PopperContent.arrow(this.floatingUIOptions.arrow));
|
|
764
|
+
if (this.floatingUIOptions.size) middlewares.push(require_PopperContent.size(typeof this.floatingUIOptions.size !== "boolean" ? this.floatingUIOptions.size : void 0));
|
|
765
|
+
if (this.floatingUIOptions.autoPlacement) middlewares.push(require_PopperContent.autoPlacement(typeof this.floatingUIOptions.autoPlacement !== "boolean" ? this.floatingUIOptions.autoPlacement : void 0));
|
|
766
|
+
if (this.floatingUIOptions.hide) middlewares.push(require_PopperContent.hide(typeof this.floatingUIOptions.hide !== "boolean" ? this.floatingUIOptions.hide : void 0));
|
|
767
|
+
if (this.floatingUIOptions.inline) middlewares.push(require_PopperContent.inline(typeof this.floatingUIOptions.inline !== "boolean" ? this.floatingUIOptions.inline : void 0));
|
|
767
768
|
return middlewares;
|
|
768
769
|
}
|
|
769
770
|
get virtualElement() {
|
|
@@ -771,12 +772,12 @@ var BubbleMenuView = class {
|
|
|
771
772
|
const { selection } = this.editor.state;
|
|
772
773
|
const referencedVirtualElement = (_a = this.getReferencedVirtualElement) == null ? void 0 : _a.call(this);
|
|
773
774
|
if (referencedVirtualElement) return referencedVirtualElement;
|
|
774
|
-
const domRect = require_dist
|
|
775
|
+
const domRect = require_dist.posToDOMRect(this.view, selection.from, selection.to);
|
|
775
776
|
let virtualElement = {
|
|
776
777
|
getBoundingClientRect: () => domRect,
|
|
777
778
|
getClientRects: () => [domRect]
|
|
778
779
|
};
|
|
779
|
-
if (selection instanceof require_dist
|
|
780
|
+
if (selection instanceof require_dist.NodeSelection) {
|
|
780
781
|
let node = this.view.nodeDOM(selection.from);
|
|
781
782
|
const nodeViewWrapper = node.dataset.nodeViewWrapper ? node : node.querySelector("[data-node-view-wrapper]");
|
|
782
783
|
if (nodeViewWrapper) node = nodeViewWrapper;
|
|
@@ -803,7 +804,7 @@ var BubbleMenuView = class {
|
|
|
803
804
|
updatePosition() {
|
|
804
805
|
const virtualElement = this.virtualElement;
|
|
805
806
|
if (!virtualElement) return;
|
|
806
|
-
|
|
807
|
+
require_PopperContent.computePosition(virtualElement, this.element, {
|
|
807
808
|
placement: this.floatingUIOptions.placement,
|
|
808
809
|
strategy: this.floatingUIOptions.strategy,
|
|
809
810
|
middleware: this.middlewares
|
|
@@ -874,8 +875,8 @@ var BubbleMenuView = class {
|
|
|
874
875
|
}
|
|
875
876
|
};
|
|
876
877
|
var BubbleMenuPlugin = (options) => {
|
|
877
|
-
return new require_dist
|
|
878
|
-
key: typeof options.pluginKey === "string" ? new require_dist
|
|
878
|
+
return new require_dist.Plugin({
|
|
879
|
+
key: typeof options.pluginKey === "string" ? new require_dist.PluginKey(options.pluginKey) : options.pluginKey,
|
|
879
880
|
view: (view) => new BubbleMenuView({
|
|
880
881
|
view,
|
|
881
882
|
...options
|
|
@@ -1025,18 +1026,18 @@ var FloatingMenuView = class {
|
|
|
1025
1026
|
}
|
|
1026
1027
|
}
|
|
1027
1028
|
getTextContent(node) {
|
|
1028
|
-
return require_dist
|
|
1029
|
+
return require_dist.getText(node, { textSerializers: require_dist.getTextSerializersFromSchema(this.editor.schema) });
|
|
1029
1030
|
}
|
|
1030
1031
|
get middlewares() {
|
|
1031
1032
|
const middlewares = [];
|
|
1032
|
-
if (this.floatingUIOptions.flip) middlewares.push(
|
|
1033
|
-
if (this.floatingUIOptions.shift) middlewares.push(
|
|
1034
|
-
if (this.floatingUIOptions.offset) middlewares.push(
|
|
1035
|
-
if (this.floatingUIOptions.arrow) middlewares.push(
|
|
1036
|
-
if (this.floatingUIOptions.size) middlewares.push(
|
|
1037
|
-
if (this.floatingUIOptions.autoPlacement) middlewares.push(
|
|
1038
|
-
if (this.floatingUIOptions.hide) middlewares.push(
|
|
1039
|
-
if (this.floatingUIOptions.inline) middlewares.push(
|
|
1033
|
+
if (this.floatingUIOptions.flip) middlewares.push(require_PopperContent.flip(typeof this.floatingUIOptions.flip !== "boolean" ? this.floatingUIOptions.flip : void 0));
|
|
1034
|
+
if (this.floatingUIOptions.shift) middlewares.push(require_PopperContent.shift(typeof this.floatingUIOptions.shift !== "boolean" ? this.floatingUIOptions.shift : void 0));
|
|
1035
|
+
if (this.floatingUIOptions.offset) middlewares.push(require_PopperContent.offset(typeof this.floatingUIOptions.offset !== "boolean" ? this.floatingUIOptions.offset : void 0));
|
|
1036
|
+
if (this.floatingUIOptions.arrow) middlewares.push(require_PopperContent.arrow(this.floatingUIOptions.arrow));
|
|
1037
|
+
if (this.floatingUIOptions.size) middlewares.push(require_PopperContent.size(typeof this.floatingUIOptions.size !== "boolean" ? this.floatingUIOptions.size : void 0));
|
|
1038
|
+
if (this.floatingUIOptions.autoPlacement) middlewares.push(require_PopperContent.autoPlacement(typeof this.floatingUIOptions.autoPlacement !== "boolean" ? this.floatingUIOptions.autoPlacement : void 0));
|
|
1039
|
+
if (this.floatingUIOptions.hide) middlewares.push(require_PopperContent.hide(typeof this.floatingUIOptions.hide !== "boolean" ? this.floatingUIOptions.hide : void 0));
|
|
1040
|
+
if (this.floatingUIOptions.inline) middlewares.push(require_PopperContent.inline(typeof this.floatingUIOptions.inline !== "boolean" ? this.floatingUIOptions.inline : void 0));
|
|
1040
1041
|
return middlewares;
|
|
1041
1042
|
}
|
|
1042
1043
|
getShouldShow(oldState) {
|
|
@@ -1057,8 +1058,8 @@ var FloatingMenuView = class {
|
|
|
1057
1058
|
}
|
|
1058
1059
|
updatePosition() {
|
|
1059
1060
|
const { selection } = this.editor.state;
|
|
1060
|
-
const domRect = require_dist
|
|
1061
|
-
|
|
1061
|
+
const domRect = require_dist.posToDOMRect(this.view, selection.from, selection.to);
|
|
1062
|
+
require_PopperContent.computePosition({
|
|
1062
1063
|
getBoundingClientRect: () => domRect,
|
|
1063
1064
|
getClientRects: () => [domRect]
|
|
1064
1065
|
}, this.element, {
|
|
@@ -1105,8 +1106,8 @@ var FloatingMenuView = class {
|
|
|
1105
1106
|
}
|
|
1106
1107
|
};
|
|
1107
1108
|
var FloatingMenuPlugin = (options) => {
|
|
1108
|
-
return new require_dist
|
|
1109
|
-
key: typeof options.pluginKey === "string" ? new require_dist
|
|
1109
|
+
return new require_dist.Plugin({
|
|
1110
|
+
key: typeof options.pluginKey === "string" ? new require_dist.PluginKey(options.pluginKey) : options.pluginKey,
|
|
1110
1111
|
view: (view) => new FloatingMenuView({
|
|
1111
1112
|
view,
|
|
1112
1113
|
...options
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunk.cjs");
|
|
2
|
+
const require_DialogClose = require("./DialogClose.cjs");
|
|
2
3
|
let vue = require("vue");
|
|
3
4
|
//#endregion
|
|
4
5
|
//#region src/components/modal/modal-close.vue
|
|
@@ -11,7 +12,7 @@ var modal_close_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
11
12
|
setup(__props) {
|
|
12
13
|
const props = __props;
|
|
13
14
|
return (_ctx, _cache) => {
|
|
14
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
15
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_DialogClose.DialogClose_default), (0, vue.mergeProps)(props, { "as-child": "" }), {
|
|
15
16
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
16
17
|
_: 3
|
|
17
18
|
}, 16);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunk.cjs");
|
|
2
2
|
const require_clsx = require("./clsx.cjs");
|
|
3
3
|
const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper.cjs");
|
|
4
|
+
const require_useForwardPropsEmits = require("./useForwardPropsEmits.cjs");
|
|
5
|
+
const require_DialogPortal = require("./DialogPortal.cjs");
|
|
4
6
|
const require_use_delegated_props = require("../use-delegated-props.cjs");
|
|
5
7
|
let vue = require("vue");
|
|
6
8
|
//#region src/components/modal/modal-content.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -8,7 +10,6 @@ var modal_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
8
10
|
__name: "modal-content",
|
|
9
11
|
props: {
|
|
10
12
|
forceMount: { type: Boolean },
|
|
11
|
-
trapFocus: { type: Boolean },
|
|
12
13
|
disableOutsidePointerEvents: { type: Boolean },
|
|
13
14
|
asChild: { type: Boolean },
|
|
14
15
|
as: {},
|
|
@@ -26,11 +27,11 @@ var modal_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
26
27
|
setup(__props, { emit: __emit }) {
|
|
27
28
|
const props = __props;
|
|
28
29
|
const emits = __emit;
|
|
29
|
-
const forwarded =
|
|
30
|
+
const forwarded = require_useForwardPropsEmits.useForwardPropsEmits(require_use_delegated_props.useDelegatedProps(props, "class"), emits);
|
|
30
31
|
return (_ctx, _cache) => {
|
|
31
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
32
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(
|
|
33
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(
|
|
32
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_DialogPortal.DialogPortal_default), null, {
|
|
33
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_DialogPortal.DialogOverlay_default), { class: "celeste-modal-overlay" }), (0, vue.createVNode)(vue.Transition, { name: "fade" }, {
|
|
34
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_DialogPortal.DialogContent_default), (0, vue.mergeProps)((0, vue.unref)(forwarded), { class: (0, vue.unref)(require_clsx.clsx)("celeste-modal-content", props.class) }), {
|
|
34
35
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", {}, void 0, true)]),
|
|
35
36
|
_: 3
|
|
36
37
|
}, 16, ["class"])]),
|
|
@@ -43,7 +44,7 @@ var modal_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */
|
|
|
43
44
|
});
|
|
44
45
|
//#endregion
|
|
45
46
|
//#region src/components/modal/modal-content.vue
|
|
46
|
-
var modal_content_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(modal_content_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
47
|
+
var modal_content_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(modal_content_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-6c522ba3"]]);
|
|
47
48
|
//#endregion
|
|
48
49
|
Object.defineProperty(exports, "modal_content_default", {
|
|
49
50
|
enumerable: true,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunk.cjs");
|
|
2
2
|
const require_clsx = require("./clsx.cjs");
|
|
3
3
|
const require__plugin_vue_export_helper = require("./_plugin-vue_export-helper.cjs");
|
|
4
|
+
const require_DialogClose = require("./DialogClose.cjs");
|
|
5
|
+
const require_DialogDescription = require("./DialogDescription.cjs");
|
|
6
|
+
const require_DialogTitle = require("./DialogTitle.cjs");
|
|
4
7
|
const require_compact_button = require("./compact-button.cjs");
|
|
5
8
|
let vue = require("vue");
|
|
6
9
|
//#region src/components/modal/modal-header.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -43,20 +46,20 @@ var modal_header_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
|
|
|
43
46
|
"data-type": _ctx.type
|
|
44
47
|
}, [
|
|
45
48
|
_ctx.icon ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2, [(0, vue.createElementVNode)("i", { class: (0, vue.normalizeClass)(_ctx.icon) }, null, 2)])) : (0, vue.createCommentVNode)("", true),
|
|
46
|
-
_ctx.title || _ctx.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3, [_ctx.title ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
49
|
+
_ctx.title || _ctx.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3, [_ctx.title ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_DialogTitle.DialogTitle_default), {
|
|
47
50
|
key: 0,
|
|
48
51
|
"as-child": ""
|
|
49
52
|
}, {
|
|
50
53
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("h2", _hoisted_4, (0, vue.toDisplayString)(_ctx.title), 1)]),
|
|
51
54
|
_: 1
|
|
52
|
-
})) : (0, vue.createCommentVNode)("", true), _ctx.description ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
55
|
+
})) : (0, vue.createCommentVNode)("", true), _ctx.description ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_DialogDescription.DialogDescription_default), {
|
|
53
56
|
key: 1,
|
|
54
57
|
"as-child": ""
|
|
55
58
|
}, {
|
|
56
59
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("p", _hoisted_5, (0, vue.toDisplayString)(_ctx.description), 1)]),
|
|
57
60
|
_: 1
|
|
58
61
|
})) : (0, vue.createCommentVNode)("", true)])) : (0, vue.createCommentVNode)("", true),
|
|
59
|
-
_ctx.dismissible ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
62
|
+
_ctx.dismissible ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_DialogClose.DialogClose_default), {
|
|
60
63
|
key: 2,
|
|
61
64
|
"as-child": ""
|
|
62
65
|
}, {
|
|
@@ -73,7 +76,7 @@ var modal_header_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
|
|
|
73
76
|
});
|
|
74
77
|
//#endregion
|
|
75
78
|
//#region src/components/modal/modal-header.vue
|
|
76
|
-
var modal_header_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(modal_header_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
79
|
+
var modal_header_default = /* @__PURE__ */ require__plugin_vue_export_helper._plugin_vue_export_helper_default(modal_header_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-b6848d2f"]]);
|
|
77
80
|
//#endregion
|
|
78
81
|
Object.defineProperty(exports, "modal_header_default", {
|
|
79
82
|
enumerable: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunk.cjs");
|
|
2
|
+
const require_DialogTrigger = require("./DialogTrigger.cjs");
|
|
2
3
|
let vue = require("vue");
|
|
3
4
|
//#endregion
|
|
4
5
|
//#region src/components/modal/modal-trigger.vue
|
|
@@ -11,7 +12,7 @@ var modal_trigger_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
11
12
|
setup(__props) {
|
|
12
13
|
const props = __props;
|
|
13
14
|
return (_ctx, _cache) => {
|
|
14
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
15
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_DialogTrigger.DialogTrigger_default), (0, vue.mergeProps)(props, { "as-child": "" }), {
|
|
15
16
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
16
17
|
_: 3
|
|
17
18
|
}, 16);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
require("./chunk.cjs");
|
|
2
|
+
const require_useForwardPropsEmits = require("./useForwardPropsEmits.cjs");
|
|
3
|
+
const require_DialogRoot = require("./DialogRoot.cjs");
|
|
2
4
|
let vue = require("vue");
|
|
3
5
|
//#endregion
|
|
4
6
|
//#region src/components/modal/modal.vue
|
|
@@ -7,13 +9,14 @@ var modal_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
7
9
|
props: {
|
|
8
10
|
open: { type: Boolean },
|
|
9
11
|
defaultOpen: { type: Boolean },
|
|
10
|
-
modal: { type: Boolean }
|
|
12
|
+
modal: { type: Boolean },
|
|
13
|
+
unmountOnHide: { type: Boolean }
|
|
11
14
|
},
|
|
12
15
|
emits: ["update:open"],
|
|
13
16
|
setup(__props, { emit: __emit }) {
|
|
14
|
-
const forwarded =
|
|
17
|
+
const forwarded = require_useForwardPropsEmits.useForwardPropsEmits(__props, __emit);
|
|
15
18
|
return (_ctx, _cache) => {
|
|
16
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(
|
|
19
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_DialogRoot.DialogRoot_default), (0, vue.normalizeProps)((0, vue.guardReactiveProps)((0, vue.unref)(forwarded))), {
|
|
17
20
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
18
21
|
_: 3
|
|
19
22
|
}, 16);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/reka-ui@2.10.1_vue@3.5.13_typescript@6.0.3_/node_modules/reka-ui/dist/shared/nullish.js
|
|
2
|
+
function isNullish(value) {
|
|
3
|
+
return value === null || value === void 0;
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
Object.defineProperty(exports, "isNullish", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function() {
|
|
9
|
+
return isNullish;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/shared/ohash.D__AXeF1.mjs
|
|
2
|
+
function serialize(o) {
|
|
3
|
+
return typeof o == "string" ? `'${o}'` : new c().serialize(o);
|
|
4
|
+
}
|
|
5
|
+
var c = /* @__PURE__ */ function() {
|
|
6
|
+
class o {
|
|
7
|
+
#t = /* @__PURE__ */ new Map();
|
|
8
|
+
compare(t, r) {
|
|
9
|
+
const e = typeof t, n = typeof r;
|
|
10
|
+
return e === "string" && n === "string" ? t.localeCompare(r) : e === "number" && n === "number" ? t - r : String.prototype.localeCompare.call(this.serialize(t, true), this.serialize(r, true));
|
|
11
|
+
}
|
|
12
|
+
serialize(t, r) {
|
|
13
|
+
if (t === null) return "null";
|
|
14
|
+
switch (typeof t) {
|
|
15
|
+
case "string": return r ? t : `'${t}'`;
|
|
16
|
+
case "bigint": return `${t}n`;
|
|
17
|
+
case "object": return this.$object(t);
|
|
18
|
+
case "function": return this.$function(t);
|
|
19
|
+
}
|
|
20
|
+
return String(t);
|
|
21
|
+
}
|
|
22
|
+
serializeObject(t) {
|
|
23
|
+
const r = Object.prototype.toString.call(t);
|
|
24
|
+
if (r !== "[object Object]") return this.serializeBuiltInType(r.length < 10 ? `unknown:${r}` : r.slice(8, -1), t);
|
|
25
|
+
const e = t.constructor, n = e === Object || e === void 0 ? "" : e.name;
|
|
26
|
+
if (n !== "" && globalThis[n] === e) return this.serializeBuiltInType(n, t);
|
|
27
|
+
if (typeof t.toJSON == "function") {
|
|
28
|
+
const i = t.toJSON();
|
|
29
|
+
return n + (i !== null && typeof i == "object" ? this.$object(i) : `(${this.serialize(i)})`);
|
|
30
|
+
}
|
|
31
|
+
return this.serializeObjectEntries(n, Object.entries(t));
|
|
32
|
+
}
|
|
33
|
+
serializeBuiltInType(t, r) {
|
|
34
|
+
const e = this["$" + t];
|
|
35
|
+
if (e) return e.call(this, r);
|
|
36
|
+
if (typeof r?.entries == "function") return this.serializeObjectEntries(t, r.entries());
|
|
37
|
+
throw new Error(`Cannot serialize ${t}`);
|
|
38
|
+
}
|
|
39
|
+
serializeObjectEntries(t, r) {
|
|
40
|
+
const e = Array.from(r).sort((i, a) => this.compare(i[0], a[0]));
|
|
41
|
+
let n = `${t}{`;
|
|
42
|
+
for (let i = 0; i < e.length; i++) {
|
|
43
|
+
const [a, l] = e[i];
|
|
44
|
+
n += `${this.serialize(a, true)}:${this.serialize(l)}`, i < e.length - 1 && (n += ",");
|
|
45
|
+
}
|
|
46
|
+
return n + "}";
|
|
47
|
+
}
|
|
48
|
+
$object(t) {
|
|
49
|
+
let r = this.#t.get(t);
|
|
50
|
+
return r === void 0 && (this.#t.set(t, `#${this.#t.size}`), r = this.serializeObject(t), this.#t.set(t, r)), r;
|
|
51
|
+
}
|
|
52
|
+
$function(t) {
|
|
53
|
+
const r = Function.prototype.toString.call(t);
|
|
54
|
+
return r.slice(-15) === "[native code] }" ? `${t.name || ""}()[native]` : `${t.name}(${t.length})${r.replace(/\s*\n\s*/g, "")}`;
|
|
55
|
+
}
|
|
56
|
+
$Array(t) {
|
|
57
|
+
let r = "[";
|
|
58
|
+
for (let e = 0; e < t.length; e++) r += this.serialize(t[e]), e < t.length - 1 && (r += ",");
|
|
59
|
+
return r + "]";
|
|
60
|
+
}
|
|
61
|
+
$Date(t) {
|
|
62
|
+
try {
|
|
63
|
+
return `Date(${t.toISOString()})`;
|
|
64
|
+
} catch {
|
|
65
|
+
return "Date(null)";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
$ArrayBuffer(t) {
|
|
69
|
+
return `ArrayBuffer[${new Uint8Array(t).join(",")}]`;
|
|
70
|
+
}
|
|
71
|
+
$Set(t) {
|
|
72
|
+
return `Set${this.$Array(Array.from(t).sort((r, e) => this.compare(r, e)))}`;
|
|
73
|
+
}
|
|
74
|
+
$Map(t) {
|
|
75
|
+
return this.serializeObjectEntries("Map", t.entries());
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
for (const s of [
|
|
79
|
+
"Error",
|
|
80
|
+
"RegExp",
|
|
81
|
+
"URL"
|
|
82
|
+
]) o.prototype["$" + s] = function(t) {
|
|
83
|
+
return `${s}(${t})`;
|
|
84
|
+
};
|
|
85
|
+
for (const s of [
|
|
86
|
+
"Int8Array",
|
|
87
|
+
"Uint8Array",
|
|
88
|
+
"Uint8ClampedArray",
|
|
89
|
+
"Int16Array",
|
|
90
|
+
"Uint16Array",
|
|
91
|
+
"Int32Array",
|
|
92
|
+
"Uint32Array",
|
|
93
|
+
"Float32Array",
|
|
94
|
+
"Float64Array"
|
|
95
|
+
]) o.prototype["$" + s] = function(t) {
|
|
96
|
+
return `${s}[${t.join(",")}]`;
|
|
97
|
+
};
|
|
98
|
+
for (const s of ["BigInt64Array", "BigUint64Array"]) o.prototype["$" + s] = function(t) {
|
|
99
|
+
return `${s}[${t.join("n,")}${t.length > 0 ? "n" : ""}]`;
|
|
100
|
+
};
|
|
101
|
+
return o;
|
|
102
|
+
}();
|
|
103
|
+
function isEqual(object1, object2) {
|
|
104
|
+
if (object1 === object2) return true;
|
|
105
|
+
if (serialize(object1) === serialize(object2)) return true;
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
Object.defineProperty(exports, "isEqual", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function() {
|
|
112
|
+
return isEqual;
|
|
113
|
+
}
|
|
114
|
+
});
|