@ark-ui/vue 5.27.1 → 5.28.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/components/anatomy.cjs +4 -5
- package/dist/components/anatomy.d.cts +1 -0
- package/dist/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +2 -1
- package/dist/components/carousel/carousel-autoplay-indicator.vue.cjs +37 -0
- package/dist/components/carousel/carousel-autoplay-indicator.vue.d.cts +26 -0
- package/dist/components/carousel/carousel-autoplay-indicator.vue.d.ts +26 -0
- package/dist/components/carousel/carousel-autoplay-indicator.vue.js +33 -0
- package/dist/components/carousel/carousel-autoplay-indicator.vue2.cjs +9 -0
- package/dist/components/carousel/carousel-autoplay-indicator.vue2.js +5 -0
- package/dist/components/carousel/carousel-progress-text.vue.cjs +38 -0
- package/dist/components/carousel/carousel-progress-text.vue.d.cts +19 -0
- package/dist/components/carousel/carousel-progress-text.vue.d.ts +19 -0
- package/dist/components/carousel/carousel-progress-text.vue.js +34 -0
- package/dist/components/carousel/carousel-progress-text.vue2.cjs +9 -0
- package/dist/components/carousel/carousel-progress-text.vue2.js +5 -0
- package/dist/components/carousel/carousel.anatomy.cjs +9 -0
- package/dist/components/carousel/carousel.anatomy.d.cts +2 -1
- package/dist/components/carousel/carousel.anatomy.d.ts +2 -1
- package/dist/components/carousel/carousel.anatomy.js +5 -0
- package/dist/components/carousel/carousel.cjs +4 -0
- package/dist/components/carousel/carousel.d.cts +2 -0
- package/dist/components/carousel/carousel.d.ts +2 -0
- package/dist/components/carousel/carousel.js +2 -0
- package/dist/components/carousel/index.cjs +8 -7
- package/dist/components/carousel/index.d.cts +2 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/carousel/index.js +3 -1
- package/dist/components/checkbox/checkbox.anatomy.d.cts +1 -1
- package/dist/components/checkbox/checkbox.anatomy.d.ts +1 -1
- package/dist/components/collection/use-list-collection.d.cts +1 -1
- package/dist/components/collection/use-list-collection.d.ts +1 -1
- package/dist/components/color-picker/color-picker.anatomy.d.cts +1 -1
- package/dist/components/color-picker/color-picker.anatomy.d.ts +1 -1
- package/dist/components/color-picker/color-picker.d.cts +1 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -1
- package/dist/components/color-picker/index.d.cts +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/combobox/combobox.anatomy.d.cts +1 -1
- package/dist/components/combobox/combobox.anatomy.d.ts +1 -1
- package/dist/components/combobox/combobox.d.cts +1 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/index.d.cts +1 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.cts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.ts +1 -1
- package/dist/components/dialog/dialog.d.cts +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/index.d.cts +1 -1
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/editable/editable.d.cts +1 -1
- package/dist/components/editable/editable.d.ts +1 -1
- package/dist/components/editable/index.d.cts +1 -1
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/hover-card/hover-card.d.cts +1 -1
- package/dist/components/hover-card/hover-card.d.ts +1 -1
- package/dist/components/hover-card/index.d.cts +1 -1
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/image-cropper/image-cropper-context.vue.cjs +22 -0
- package/dist/components/image-cropper/image-cropper-context.vue.d.cts +14 -0
- package/dist/components/image-cropper/image-cropper-context.vue.d.ts +14 -0
- package/dist/components/image-cropper/image-cropper-context.vue.js +18 -0
- package/dist/components/image-cropper/image-cropper-context.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-context.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper-grid.vue.cjs +31 -0
- package/dist/components/image-cropper/image-cropper-grid.vue.d.cts +20 -0
- package/dist/components/image-cropper/image-cropper-grid.vue.d.ts +20 -0
- package/dist/components/image-cropper/image-cropper-grid.vue.js +27 -0
- package/dist/components/image-cropper/image-cropper-grid.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-grid.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper-handle.vue.cjs +31 -0
- package/dist/components/image-cropper/image-cropper-handle.vue.d.cts +20 -0
- package/dist/components/image-cropper/image-cropper-handle.vue.d.ts +20 -0
- package/dist/components/image-cropper/image-cropper-handle.vue.js +27 -0
- package/dist/components/image-cropper/image-cropper-handle.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-handle.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper-image.vue.cjs +24 -0
- package/dist/components/image-cropper/image-cropper-image.vue.d.cts +12 -0
- package/dist/components/image-cropper/image-cropper-image.vue.d.ts +12 -0
- package/dist/components/image-cropper/image-cropper-image.vue.js +20 -0
- package/dist/components/image-cropper/image-cropper-image.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-image.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper-root-provider.vue.cjs +32 -0
- package/dist/components/image-cropper/image-cropper-root-provider.vue.d.cts +23 -0
- package/dist/components/image-cropper/image-cropper-root-provider.vue.d.ts +23 -0
- package/dist/components/image-cropper/image-cropper-root-provider.vue.js +28 -0
- package/dist/components/image-cropper/image-cropper-root-provider.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-root-provider.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper-root.vue.cjs +56 -0
- package/dist/components/image-cropper/image-cropper-root.vue.d.cts +42 -0
- package/dist/components/image-cropper/image-cropper-root.vue.d.ts +42 -0
- package/dist/components/image-cropper/image-cropper-root.vue.js +52 -0
- package/dist/components/image-cropper/image-cropper-root.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-root.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper-selection.vue.cjs +29 -0
- package/dist/components/image-cropper/image-cropper-selection.vue.d.cts +19 -0
- package/dist/components/image-cropper/image-cropper-selection.vue.d.ts +19 -0
- package/dist/components/image-cropper/image-cropper-selection.vue.js +25 -0
- package/dist/components/image-cropper/image-cropper-selection.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-selection.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper-viewport.vue.cjs +29 -0
- package/dist/components/image-cropper/image-cropper-viewport.vue.d.cts +19 -0
- package/dist/components/image-cropper/image-cropper-viewport.vue.d.ts +19 -0
- package/dist/components/image-cropper/image-cropper-viewport.vue.js +25 -0
- package/dist/components/image-cropper/image-cropper-viewport.vue2.cjs +9 -0
- package/dist/components/image-cropper/image-cropper-viewport.vue2.js +5 -0
- package/dist/components/image-cropper/image-cropper.anatomy.cjs +9 -0
- package/dist/components/image-cropper/image-cropper.anatomy.d.cts +2 -0
- package/dist/components/image-cropper/image-cropper.anatomy.d.ts +2 -0
- package/dist/components/image-cropper/image-cropper.anatomy.js +5 -0
- package/dist/components/image-cropper/image-cropper.cjs +28 -0
- package/dist/components/image-cropper/image-cropper.d.cts +10 -0
- package/dist/components/image-cropper/image-cropper.d.ts +10 -0
- package/dist/components/image-cropper/image-cropper.js +9 -0
- package/dist/components/image-cropper/image-cropper.types.d.cts +149 -0
- package/dist/components/image-cropper/image-cropper.types.d.ts +149 -0
- package/dist/components/image-cropper/index.cjs +31 -0
- package/dist/components/image-cropper/index.d.cts +13 -0
- package/dist/components/image-cropper/index.d.ts +13 -0
- package/dist/components/image-cropper/index.js +13 -0
- package/dist/components/image-cropper/use-image-cropper-context.cjs +10 -0
- package/dist/components/image-cropper/use-image-cropper-context.d.cts +5 -0
- package/dist/components/image-cropper/use-image-cropper-context.d.ts +5 -0
- package/dist/components/image-cropper/use-image-cropper-context.js +5 -0
- package/dist/components/image-cropper/use-image-cropper.cjs +68 -0
- package/dist/components/image-cropper/use-image-cropper.d.cts +10 -0
- package/dist/components/image-cropper/use-image-cropper.d.ts +10 -0
- package/dist/components/image-cropper/use-image-cropper.js +45 -0
- package/dist/components/index.cjs +32 -7
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +16 -1
- package/dist/components/listbox/listbox.anatomy.d.cts +1 -1
- package/dist/components/listbox/listbox.anatomy.d.ts +1 -1
- package/dist/components/marquee/marquee-content.vue.cjs +9 -1
- package/dist/components/marquee/marquee-content.vue.js +10 -2
- package/dist/components/menu/index.d.cts +1 -1
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/menu.d.cts +1 -1
- package/dist/components/menu/menu.d.ts +1 -1
- package/dist/components/popover/index.d.cts +1 -1
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover.d.cts +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/segment-group/segment-group.anatomy.d.cts +2 -2
- package/dist/components/segment-group/segment-group.anatomy.d.ts +2 -2
- package/dist/components/select/index.d.cts +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/select.d.cts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/tags-input/index.d.cts +1 -1
- package/dist/components/tags-input/index.d.ts +1 -1
- package/dist/components/tags-input/tags-input.d.cts +1 -1
- package/dist/components/tags-input/tags-input.d.ts +1 -1
- package/dist/components/toast/index.d.cts +2 -2
- package/dist/components/toast/index.d.ts +2 -2
- package/dist/components/toast/toast.d.cts +2 -0
- package/dist/components/toast/toast.d.ts +2 -0
- package/dist/components/toast/toaster.vue.d.cts +2 -1
- package/dist/components/toast/toaster.vue.d.ts +2 -1
- package/dist/components/tour/index.d.cts +1 -1
- package/dist/components/tour/index.d.ts +1 -1
- package/dist/components/tour/tour.anatomy.d.cts +1 -1
- package/dist/components/tour/tour.anatomy.d.ts +1 -1
- package/dist/components/tour/tour.d.cts +1 -1
- package/dist/components/tour/tour.d.ts +1 -1
- package/dist/index.cjs +32 -7
- package/dist/index.js +16 -1
- package/dist/utils/use-scope-id.cjs +36 -0
- package/dist/utils/use-scope-id.d.cts +5 -0
- package/dist/utils/use-scope-id.d.ts +5 -0
- package/dist/utils/use-scope-id.js +32 -0
- package/package.json +72 -71
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { HighlightChangeDetails, InputValueChangeDetails, OpenChangeDetails,
|
|
1
|
+
export type { FocusOutsideEvent, HighlightChangeDetails, InputValueChangeDetails, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, SelectionDetails, ValueChangeDetails, } from '@zag-js/combobox';
|
|
2
2
|
export { default as ClearTrigger, type ComboboxClearTriggerProps as ClearTriggerProps, type ComboboxClearTriggerBaseProps as ClearTriggerBaseProps, } from './combobox-clear-trigger.vue';
|
|
3
3
|
export { default as Content, type ComboboxContentProps as ContentProps, type ComboboxContentBaseProps as ContentBaseProps, } from './combobox-content.vue';
|
|
4
4
|
export { default as Empty, type ComboboxEmptyProps as EmptyProps, type ComboboxEmptyBaseProps as EmptyBaseProps, } from './combobox-empty.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, OpenChangeDetails as ComboboxOpenChangeDetails,
|
|
1
|
+
export type { FocusOutsideEvent as ComboboxFocusOutsideEvent, HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, InteractOutsideEvent as ComboboxInteractOutsideEvent, OpenChangeDetails as ComboboxOpenChangeDetails, PointerDownOutsideEvent as ComboboxPointerDownOutsideEvent, SelectionDetails as ComboboxSelectionDetails, ValueChangeDetails as ComboboxValueChangeDetails, } from '@zag-js/combobox';
|
|
2
2
|
export { createListCollection, type CollectionItem, type ListCollection, useListCollection, type UseListCollectionProps, } from '../collection';
|
|
3
3
|
export { default as ComboboxClearTrigger, type ComboboxClearTriggerBaseProps, type ComboboxClearTriggerProps, } from './combobox-clear-trigger.vue';
|
|
4
4
|
export { default as ComboboxContent, type ComboboxContentBaseProps, type ComboboxContentProps, } from './combobox-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, OpenChangeDetails as ComboboxOpenChangeDetails,
|
|
1
|
+
export type { FocusOutsideEvent as ComboboxFocusOutsideEvent, HighlightChangeDetails as ComboboxHighlightChangeDetails, InputValueChangeDetails as ComboboxInputValueChangeDetails, InteractOutsideEvent as ComboboxInteractOutsideEvent, OpenChangeDetails as ComboboxOpenChangeDetails, PointerDownOutsideEvent as ComboboxPointerDownOutsideEvent, SelectionDetails as ComboboxSelectionDetails, ValueChangeDetails as ComboboxValueChangeDetails, } from '@zag-js/combobox';
|
|
2
2
|
export { createListCollection, type CollectionItem, type ListCollection, useListCollection, type UseListCollectionProps, } from '../collection';
|
|
3
3
|
export { default as ComboboxClearTrigger, type ComboboxClearTriggerBaseProps, type ComboboxClearTriggerProps, } from './combobox-clear-trigger.vue';
|
|
4
4
|
export { default as ComboboxContent, type ComboboxContentBaseProps, type ComboboxContentProps, } from './combobox-content.vue';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const datePickerAnatomy: AnatomyInstance<"root" | "
|
|
2
|
+
export declare const datePickerAnatomy: AnatomyInstance<"root" | "control" | "nextTrigger" | "prevTrigger" | "label" | "content" | "trigger" | "positioner" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnatomyInstance } from '@zag-js/anatomy';
|
|
2
|
-
export declare const datePickerAnatomy: AnatomyInstance<"root" | "
|
|
2
|
+
export declare const datePickerAnatomy: AnatomyInstance<"root" | "control" | "nextTrigger" | "prevTrigger" | "label" | "content" | "trigger" | "positioner" | "view" | "input" | "clearTrigger" | "table" | "monthSelect" | "presetTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails } from '@zag-js/dialog';
|
|
1
|
+
export type { FocusOutsideEvent, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, } from '@zag-js/dialog';
|
|
2
2
|
export { default as Backdrop, type DialogBackdropProps as BackdropProps, type DialogBackdropBaseProps as BackdropBaseProps, } from './dialog-backdrop.vue';
|
|
3
3
|
export { default as CloseTrigger, type DialogCloseTriggerProps as CloseTriggerProps, type DialogCloseTriggerBaseProps as CloseTriggerBaseProps, } from './dialog-close-trigger.vue';
|
|
4
4
|
export { default as Content, type DialogContentProps as ContentProps, type DialogContentBaseProps as ContentBaseProps, } from './dialog-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails } from '@zag-js/dialog';
|
|
1
|
+
export type { FocusOutsideEvent, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, } from '@zag-js/dialog';
|
|
2
2
|
export { default as Backdrop, type DialogBackdropProps as BackdropProps, type DialogBackdropBaseProps as BackdropBaseProps, } from './dialog-backdrop.vue';
|
|
3
3
|
export { default as CloseTrigger, type DialogCloseTriggerProps as CloseTriggerProps, type DialogCloseTriggerBaseProps as CloseTriggerBaseProps, } from './dialog-close-trigger.vue';
|
|
4
4
|
export { default as Content, type DialogContentProps as ContentProps, type DialogContentBaseProps as ContentBaseProps, } from './dialog-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails as DialogOpenChangeDetails } from '@zag-js/dialog';
|
|
1
|
+
export type { FocusOutsideEvent as DialogFocusOutsideEvent, InteractOutsideEvent as DialogInteractOutsideEvent, OpenChangeDetails as DialogOpenChangeDetails, PointerDownOutsideEvent as DialogPointerDownOutsideEvent, } from '@zag-js/dialog';
|
|
2
2
|
export { default as DialogBackdrop, type DialogBackdropBaseProps, type DialogBackdropProps, } from './dialog-backdrop.vue';
|
|
3
3
|
export { default as DialogCloseTrigger, type DialogCloseTriggerBaseProps, type DialogCloseTriggerProps, } from './dialog-close-trigger.vue';
|
|
4
4
|
export { default as DialogContent, type DialogContentBaseProps, type DialogContentProps } from './dialog-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails as DialogOpenChangeDetails } from '@zag-js/dialog';
|
|
1
|
+
export type { FocusOutsideEvent as DialogFocusOutsideEvent, InteractOutsideEvent as DialogInteractOutsideEvent, OpenChangeDetails as DialogOpenChangeDetails, PointerDownOutsideEvent as DialogPointerDownOutsideEvent, } from '@zag-js/dialog';
|
|
2
2
|
export { default as DialogBackdrop, type DialogBackdropBaseProps, type DialogBackdropProps, } from './dialog-backdrop.vue';
|
|
3
3
|
export { default as DialogCloseTrigger, type DialogCloseTriggerBaseProps, type DialogCloseTriggerProps, } from './dialog-close-trigger.vue';
|
|
4
4
|
export { default as DialogContent, type DialogContentBaseProps, type DialogContentProps } from './dialog-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ValueChangeDetails } from '@zag-js/editable';
|
|
1
|
+
export type { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent, ValueChangeDetails, } from '@zag-js/editable';
|
|
2
2
|
export { default as Area, type EditableAreaProps as AreaProps, type EditableAreaBaseProps as AreaBaseProps, } from './editable-area.vue';
|
|
3
3
|
export { default as CancelTrigger, type EditableCancelTriggerProps as CancelTriggerProps, type EditableCancelTriggerBaseProps as CancelTriggerBaseProps, } from './editable-cancel-trigger.vue';
|
|
4
4
|
export { default as Context, type EditableContextProps as ContextProps } from './editable-context.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ValueChangeDetails } from '@zag-js/editable';
|
|
1
|
+
export type { FocusOutsideEvent, InteractOutsideEvent, PointerDownOutsideEvent, ValueChangeDetails, } from '@zag-js/editable';
|
|
2
2
|
export { default as Area, type EditableAreaProps as AreaProps, type EditableAreaBaseProps as AreaBaseProps, } from './editable-area.vue';
|
|
3
3
|
export { default as CancelTrigger, type EditableCancelTriggerProps as CancelTriggerProps, type EditableCancelTriggerBaseProps as CancelTriggerBaseProps, } from './editable-cancel-trigger.vue';
|
|
4
4
|
export { default as Context, type EditableContextProps as ContextProps } from './editable-context.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { EditChangeDetails as EditableEditChangeDetails, ValueChangeDetails as EditableValueChangeDetails, } from '@zag-js/editable';
|
|
1
|
+
export type { EditChangeDetails as EditableEditChangeDetails, FocusOutsideEvent as EditableFocusOutsideEvent, InteractOutsideEvent as EditableInteractOutsideEvent, PointerDownOutsideEvent as EditablePointerDownOutsideEvent, ValueChangeDetails as EditableValueChangeDetails, } from '@zag-js/editable';
|
|
2
2
|
export { default as EditableArea, type EditableAreaBaseProps, type EditableAreaProps } from './editable-area.vue';
|
|
3
3
|
export { default as EditableCancelTrigger, type EditableCancelTriggerBaseProps, type EditableCancelTriggerProps, } from './editable-cancel-trigger.vue';
|
|
4
4
|
export { default as EditableContext, type EditableContextProps } from './editable-context.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { EditChangeDetails as EditableEditChangeDetails, ValueChangeDetails as EditableValueChangeDetails, } from '@zag-js/editable';
|
|
1
|
+
export type { EditChangeDetails as EditableEditChangeDetails, FocusOutsideEvent as EditableFocusOutsideEvent, InteractOutsideEvent as EditableInteractOutsideEvent, PointerDownOutsideEvent as EditablePointerDownOutsideEvent, ValueChangeDetails as EditableValueChangeDetails, } from '@zag-js/editable';
|
|
2
2
|
export { default as EditableArea, type EditableAreaBaseProps, type EditableAreaProps } from './editable-area.vue';
|
|
3
3
|
export { default as EditableCancelTrigger, type EditableCancelTriggerBaseProps, type EditableCancelTriggerProps, } from './editable-cancel-trigger.vue';
|
|
4
4
|
export { default as EditableContext, type EditableContextProps } from './editable-context.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails } from '@zag-js/hover-card';
|
|
1
|
+
export type { FocusOutsideEvent, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, } from '@zag-js/hover-card';
|
|
2
2
|
export { default as ArrowTip, type HoverCardArrowTipProps as ArrowTipProps, type HoverCardArrowTipBaseProps as ArrowTipBaseProps, } from './hover-card-arrow-tip.vue';
|
|
3
3
|
export { default as Arrow, type HoverCardArrowProps as ArrowProps, type HoverCardArrowBaseProps as ArrowBaseProps, } from './hover-card-arrow.vue';
|
|
4
4
|
export { default as Content, type HoverCardContentProps as ContentProps, type HoverCardContentBaseProps as ContentBaseProps, } from './hover-card-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails } from '@zag-js/hover-card';
|
|
1
|
+
export type { FocusOutsideEvent, InteractOutsideEvent, OpenChangeDetails, PointerDownOutsideEvent, } from '@zag-js/hover-card';
|
|
2
2
|
export { default as ArrowTip, type HoverCardArrowTipProps as ArrowTipProps, type HoverCardArrowTipBaseProps as ArrowTipBaseProps, } from './hover-card-arrow-tip.vue';
|
|
3
3
|
export { default as Arrow, type HoverCardArrowProps as ArrowProps, type HoverCardArrowBaseProps as ArrowBaseProps, } from './hover-card-arrow.vue';
|
|
4
4
|
export { default as Content, type HoverCardContentProps as ContentProps, type HoverCardContentBaseProps as ContentBaseProps, } from './hover-card-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails as HoverCardOpenChangeDetails } from '@zag-js/hover-card';
|
|
1
|
+
export type { FocusOutsideEvent as HoverCardFocusOutsideEvent, InteractOutsideEvent as HoverCardInteractOutsideEvent, OpenChangeDetails as HoverCardOpenChangeDetails, PointerDownOutsideEvent as HoverCardPointerDownOutsideEvent, } from '@zag-js/hover-card';
|
|
2
2
|
export { default as HoverCardArrowTip, type HoverCardArrowTipBaseProps, type HoverCardArrowTipProps, } from './hover-card-arrow-tip.vue';
|
|
3
3
|
export { default as HoverCardArrow, type HoverCardArrowBaseProps, type HoverCardArrowProps, } from './hover-card-arrow.vue';
|
|
4
4
|
export { default as HoverCardContent, type HoverCardContentBaseProps, type HoverCardContentProps, } from './hover-card-content.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { OpenChangeDetails as HoverCardOpenChangeDetails } from '@zag-js/hover-card';
|
|
1
|
+
export type { FocusOutsideEvent as HoverCardFocusOutsideEvent, InteractOutsideEvent as HoverCardInteractOutsideEvent, OpenChangeDetails as HoverCardOpenChangeDetails, PointerDownOutsideEvent as HoverCardPointerDownOutsideEvent, } from '@zag-js/hover-card';
|
|
2
2
|
export { default as HoverCardArrowTip, type HoverCardArrowTipBaseProps, type HoverCardArrowTipProps, } from './hover-card-arrow-tip.vue';
|
|
3
3
|
export { default as HoverCardArrow, type HoverCardArrowBaseProps, type HoverCardArrowProps, } from './hover-card-arrow.vue';
|
|
4
4
|
export { default as HoverCardContent, type HoverCardContentBaseProps, type HoverCardContentProps, } from './hover-card-content.vue';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const vue = require('vue');
|
|
6
|
+
const useImageCropperContext = require('./use-image-cropper-context.cjs');
|
|
7
|
+
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
+
__name: "image-cropper-context",
|
|
10
|
+
props: {
|
|
11
|
+
value: {}
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
useImageCropperContext.ImageCropperProvider(props.value);
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return vue.renderSlot(_ctx.$slots, "default");
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseImageCropperReturn } from './use-image-cropper';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface ImageCropperContextProps {
|
|
4
|
+
value: UseImageCropperReturn;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ImageCropperContextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperContextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseImageCropperReturn } from './use-image-cropper';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface ImageCropperContextProps {
|
|
4
|
+
value: UseImageCropperReturn;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ImageCropperContextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperContextProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent, renderSlot } from 'vue';
|
|
2
|
+
import { ImageCropperProvider } from './use-image-cropper-context.js';
|
|
3
|
+
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "image-cropper-context",
|
|
6
|
+
props: {
|
|
7
|
+
value: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const props = __props;
|
|
11
|
+
ImageCropperProvider(props.value);
|
|
12
|
+
return (_ctx, _cache) => {
|
|
13
|
+
return renderSlot(_ctx.$slots, "default");
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const imageCropperContext_vue_vue_type_script_setup_true_lang = require('./image-cropper-context.vue.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = imageCropperContext_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const vue = require('vue');
|
|
6
|
+
const factory = require('../factory.cjs');
|
|
7
|
+
const useImageCropperContext = require('./use-image-cropper-context.cjs');
|
|
8
|
+
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
+
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
+
__name: "image-cropper-grid",
|
|
12
|
+
props: {
|
|
13
|
+
asChild: { type: Boolean },
|
|
14
|
+
axis: {}
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const imageCropper = useImageCropperContext.useImageCropperContext();
|
|
19
|
+
useForwardExpose.useForwardExpose();
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return vue.openBlock(), vue.createBlock(vue.unref(factory.ark).div, vue.mergeProps(vue.unref(imageCropper).getGridProps({ axis: props.axis }), { "as-child": __props.asChild }), {
|
|
22
|
+
default: vue.withCtx(() => [
|
|
23
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
24
|
+
]),
|
|
25
|
+
_: 3
|
|
26
|
+
}, 16, ["as-child"]);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PolymorphicProps } from '../factory';
|
|
3
|
+
import { GridProps } from '@zag-js/image-cropper';
|
|
4
|
+
export interface ImageCropperGridBaseProps extends PolymorphicProps, GridProps {
|
|
5
|
+
}
|
|
6
|
+
export interface ImageCropperGridProps extends ImageCropperGridBaseProps,
|
|
7
|
+
/**
|
|
8
|
+
* @vue-ignore
|
|
9
|
+
*/
|
|
10
|
+
HTMLAttributes {
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ImageCropperGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperGridProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PolymorphicProps } from '../factory';
|
|
3
|
+
import { GridProps } from '@zag-js/image-cropper';
|
|
4
|
+
export interface ImageCropperGridBaseProps extends PolymorphicProps, GridProps {
|
|
5
|
+
}
|
|
6
|
+
export interface ImageCropperGridProps extends ImageCropperGridBaseProps,
|
|
7
|
+
/**
|
|
8
|
+
* @vue-ignore
|
|
9
|
+
*/
|
|
10
|
+
HTMLAttributes {
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ImageCropperGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperGridProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
+
import { ark } from '../factory.js';
|
|
3
|
+
import { useImageCropperContext } from './use-image-cropper-context.js';
|
|
4
|
+
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
+
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "image-cropper-grid",
|
|
8
|
+
props: {
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
axis: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const imageCropper = useImageCropperContext();
|
|
15
|
+
useForwardExpose();
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createBlock(unref(ark).div, mergeProps(unref(imageCropper).getGridProps({ axis: props.axis }), { "as-child": __props.asChild }), {
|
|
18
|
+
default: withCtx(() => [
|
|
19
|
+
renderSlot(_ctx.$slots, "default")
|
|
20
|
+
]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 16, ["as-child"]);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const imageCropperGrid_vue_vue_type_script_setup_true_lang = require('./image-cropper-grid.vue.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = imageCropperGrid_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const vue = require('vue');
|
|
6
|
+
const factory = require('../factory.cjs');
|
|
7
|
+
const useImageCropperContext = require('./use-image-cropper-context.cjs');
|
|
8
|
+
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
+
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
+
__name: "image-cropper-handle",
|
|
12
|
+
props: {
|
|
13
|
+
asChild: { type: Boolean },
|
|
14
|
+
position: {}
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const imageCropper = useImageCropperContext.useImageCropperContext();
|
|
19
|
+
useForwardExpose.useForwardExpose();
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return vue.openBlock(), vue.createBlock(vue.unref(factory.ark).div, vue.mergeProps(vue.unref(imageCropper).getHandleProps({ position: props.position }), { "as-child": __props.asChild }), {
|
|
22
|
+
default: vue.withCtx(() => [
|
|
23
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
24
|
+
]),
|
|
25
|
+
_: 3
|
|
26
|
+
}, 16, ["as-child"]);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PolymorphicProps } from '../factory';
|
|
3
|
+
import { HandleProps } from '@zag-js/image-cropper';
|
|
4
|
+
export interface ImageCropperHandleBaseProps extends PolymorphicProps, HandleProps {
|
|
5
|
+
}
|
|
6
|
+
export interface ImageCropperHandleProps extends ImageCropperHandleBaseProps,
|
|
7
|
+
/**
|
|
8
|
+
* @vue-ignore
|
|
9
|
+
*/
|
|
10
|
+
HTMLAttributes {
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ImageCropperHandleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperHandleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PolymorphicProps } from '../factory';
|
|
3
|
+
import { HandleProps } from '@zag-js/image-cropper';
|
|
4
|
+
export interface ImageCropperHandleBaseProps extends PolymorphicProps, HandleProps {
|
|
5
|
+
}
|
|
6
|
+
export interface ImageCropperHandleProps extends ImageCropperHandleBaseProps,
|
|
7
|
+
/**
|
|
8
|
+
* @vue-ignore
|
|
9
|
+
*/
|
|
10
|
+
HTMLAttributes {
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ImageCropperHandleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperHandleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
+
import { ark } from '../factory.js';
|
|
3
|
+
import { useImageCropperContext } from './use-image-cropper-context.js';
|
|
4
|
+
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
+
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "image-cropper-handle",
|
|
8
|
+
props: {
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
position: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const imageCropper = useImageCropperContext();
|
|
15
|
+
useForwardExpose();
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createBlock(unref(ark).div, mergeProps(unref(imageCropper).getHandleProps({ position: props.position }), { "as-child": __props.asChild }), {
|
|
18
|
+
default: withCtx(() => [
|
|
19
|
+
renderSlot(_ctx.$slots, "default")
|
|
20
|
+
]),
|
|
21
|
+
_: 3
|
|
22
|
+
}, 16, ["as-child"]);
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const imageCropperHandle_vue_vue_type_script_setup_true_lang = require('./image-cropper-handle.vue.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = imageCropperHandle_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const vue = require('vue');
|
|
6
|
+
const factory = require('../factory.cjs');
|
|
7
|
+
const useImageCropperContext = require('./use-image-cropper-context.cjs');
|
|
8
|
+
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
+
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
+
__name: "image-cropper-image",
|
|
12
|
+
props: {
|
|
13
|
+
asChild: { type: Boolean }
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const imageCropper = useImageCropperContext.useImageCropperContext();
|
|
17
|
+
useForwardExpose.useForwardExpose();
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return vue.openBlock(), vue.createBlock(vue.unref(factory.ark).img, vue.mergeProps(vue.unref(imageCropper).getImageProps(), { "as-child": __props.asChild }), null, 16, ["as-child"]);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ImgHTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PolymorphicProps } from '../factory';
|
|
3
|
+
export interface ImageCropperImageBaseProps extends PolymorphicProps {
|
|
4
|
+
}
|
|
5
|
+
export interface ImageCropperImageProps extends ImageCropperImageBaseProps,
|
|
6
|
+
/**
|
|
7
|
+
* @vue-ignore
|
|
8
|
+
*/
|
|
9
|
+
ImgHTMLAttributes {
|
|
10
|
+
}
|
|
11
|
+
declare const _default: DefineComponent<ImageCropperImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperImageProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ImgHTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PolymorphicProps } from '../factory';
|
|
3
|
+
export interface ImageCropperImageBaseProps extends PolymorphicProps {
|
|
4
|
+
}
|
|
5
|
+
export interface ImageCropperImageProps extends ImageCropperImageBaseProps,
|
|
6
|
+
/**
|
|
7
|
+
* @vue-ignore
|
|
8
|
+
*/
|
|
9
|
+
ImgHTMLAttributes {
|
|
10
|
+
}
|
|
11
|
+
declare const _default: DefineComponent<ImageCropperImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperImageProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent, createBlock, openBlock, unref, mergeProps } from 'vue';
|
|
2
|
+
import { ark } from '../factory.js';
|
|
3
|
+
import { useImageCropperContext } from './use-image-cropper-context.js';
|
|
4
|
+
import { useForwardExpose } from '../../utils/use-forward-expose.js';
|
|
5
|
+
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "image-cropper-image",
|
|
8
|
+
props: {
|
|
9
|
+
asChild: { type: Boolean }
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const imageCropper = useImageCropperContext();
|
|
13
|
+
useForwardExpose();
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
return openBlock(), createBlock(unref(ark).img, mergeProps(unref(imageCropper).getImageProps(), { "as-child": __props.asChild }), null, 16, ["as-child"]);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const imageCropperImage_vue_vue_type_script_setup_true_lang = require('./image-cropper-image.vue.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.default = imageCropperImage_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
|
+
|
|
5
|
+
const vue = require('vue');
|
|
6
|
+
const factory = require('../factory.cjs');
|
|
7
|
+
const useImageCropperContext = require('./use-image-cropper-context.cjs');
|
|
8
|
+
const useForwardExpose = require('../../utils/use-forward-expose.cjs');
|
|
9
|
+
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
11
|
+
__name: "image-cropper-root-provider",
|
|
12
|
+
props: {
|
|
13
|
+
value: {},
|
|
14
|
+
asChild: { type: Boolean }
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const imageCropper = vue.computed(() => props.value);
|
|
19
|
+
useImageCropperContext.ImageCropperProvider(imageCropper);
|
|
20
|
+
useForwardExpose.useForwardExpose();
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return vue.openBlock(), vue.createBlock(vue.unref(factory.ark).div, vue.mergeProps(imageCropper.value.getRootProps(), { "as-child": __props.asChild }), {
|
|
23
|
+
default: vue.withCtx(() => [
|
|
24
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["as-child"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes, UnwrapRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PolymorphicProps } from '../factory';
|
|
3
|
+
import { UseImageCropperReturn } from './use-image-cropper';
|
|
4
|
+
interface RootProviderProps {
|
|
5
|
+
value: UnwrapRef<UseImageCropperReturn>;
|
|
6
|
+
}
|
|
7
|
+
export interface ImageCropperRootProviderBaseProps extends RootProviderProps, PolymorphicProps {
|
|
8
|
+
}
|
|
9
|
+
export interface ImageCropperRootProviderProps extends ImageCropperRootProviderBaseProps,
|
|
10
|
+
/**
|
|
11
|
+
* @vue-ignore
|
|
12
|
+
*/
|
|
13
|
+
HTMLAttributes {
|
|
14
|
+
}
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ImageCropperRootProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageCropperRootProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|