@soybeanjs/headless 0.17.0 → 0.18.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/README.md +10 -5
- package/README.zh-CN.md +10 -5
- package/dist/components/_icon/types.d.ts +2 -2
- package/dist/components/accordion/types.d.ts +19 -19
- package/dist/components/affix/types.d.ts +12 -12
- package/dist/components/alert/types.d.ts +15 -15
- package/dist/components/anchor/anchor-root.vue.d.ts +1 -1
- package/dist/components/anchor/types.d.ts +19 -19
- package/dist/components/arrow/types.d.ts +1 -1
- package/dist/components/aspect-ratio/types.d.ts +1 -1
- package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
- package/dist/components/autocomplete/autocomplete-root.vue.d.ts +4 -4
- package/dist/components/autocomplete/types.d.ts +23 -23
- package/dist/components/avatar/avatar-compact.js +1 -0
- package/dist/components/avatar/avatar-compact.vue.d.ts +20 -0
- package/dist/components/avatar/avatar-fallback.js +1 -1
- package/dist/components/avatar/avatar-image.js +1 -1
- package/dist/components/avatar/avatar-root.js +1 -1
- package/dist/components/avatar/index.d.ts +6 -5
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/avatar/types.d.ts +38 -7
- package/dist/components/backtop/backtop.vue.d.ts +3 -3
- package/dist/components/backtop/types.d.ts +5 -5
- package/dist/components/badge/badge-compact.js +1 -0
- package/dist/components/badge/badge-compact.vue.d.ts +21 -0
- package/dist/components/badge/badge-content.js +1 -1
- package/dist/components/badge/badge-root.js +1 -1
- package/dist/components/badge/index.d.ts +5 -4
- package/dist/components/badge/index.js +1 -1
- package/dist/components/badge/types.d.ts +26 -6
- package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
- package/dist/components/bottom-sheet/types.d.ts +13 -13
- package/dist/components/breadcrumb/types.d.ts +21 -21
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/button.vue.d.ts +2 -2
- package/dist/components/button/types.d.ts +4 -4
- package/dist/components/calendar/types.d.ts +32 -32
- package/dist/components/card/card-root.vue.d.ts +1 -1
- package/dist/components/card/types.d.ts +20 -20
- package/dist/components/carousel/carousel-compact.js +1 -0
- package/dist/components/carousel/carousel-compact.vue.d.ts +23 -0
- package/dist/components/carousel/carousel-container.js +1 -0
- package/dist/components/carousel/carousel-container.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-content.js +1 -1
- package/dist/components/carousel/carousel-control.js +1 -0
- package/dist/components/carousel/carousel-control.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-item.js +1 -1
- package/dist/components/carousel/carousel-navigation.js +1 -0
- package/dist/components/carousel/carousel-navigation.vue.d.ts +18 -0
- package/dist/components/carousel/carousel-next.js +1 -1
- package/dist/components/carousel/carousel-next.vue.d.ts +2 -12
- package/dist/components/carousel/carousel-previous.js +1 -1
- package/dist/components/carousel/carousel-previous.vue.d.ts +2 -12
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/carousel/carousel-root.vue.d.ts +6 -28
- package/dist/components/carousel/context.d.ts +0 -1
- package/dist/components/carousel/context.js +1 -1
- package/dist/components/carousel/hooks.js +1 -0
- package/dist/components/carousel/index.d.ts +11 -9
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/carousel/types.d.ts +121 -29
- package/dist/components/checkbox/types.d.ts +27 -27
- package/dist/components/clipboard/clipboard.vue.d.ts +2 -2
- package/dist/components/clipboard/types.d.ts +5 -5
- package/dist/components/collapsible/collapsible-root.vue.d.ts +1 -1
- package/dist/components/collapsible/types.d.ts +6 -6
- package/dist/components/color-area/color-area-root.vue.d.ts +1 -1
- package/dist/components/color-area/types.d.ts +7 -7
- package/dist/components/color-field/color-field-root.vue.d.ts +1 -1
- package/dist/components/color-field/types.d.ts +5 -5
- package/dist/components/color-picker/types.d.ts +3 -3
- package/dist/components/color-slider/color-slider-root.vue.d.ts +2 -2
- package/dist/components/color-slider/types.d.ts +6 -6
- package/dist/components/color-swatch/types.d.ts +1 -1
- package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +2 -2
- package/dist/components/color-swatch-picker/types.d.ts +8 -8
- package/dist/components/combobox/combobox-compact.vue.d.ts +2 -2
- package/dist/components/combobox/combobox-content.vue.d.ts +1 -1
- package/dist/components/combobox/combobox-root.vue.d.ts +2 -2
- package/dist/components/combobox/types.d.ts +42 -42
- package/dist/components/command/command-compact.vue.d.ts +2 -2
- package/dist/components/command/types.d.ts +25 -25
- package/dist/components/config-provider/config-provider.js +12 -0
- package/dist/components/config-provider/config-provider.vue.d.ts +1 -1
- package/dist/components/config-provider/types.d.ts +1 -1
- package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-content.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/context-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/context-menu/types.d.ts +21 -21
- package/dist/components/date-field/date-field-root.vue.d.ts +2 -2
- package/dist/components/date-field/types.d.ts +10 -10
- package/dist/components/date-picker/date-picker-compact.vue.d.ts +2 -2
- package/dist/components/date-picker/date-picker-root.vue.d.ts +7 -7
- package/dist/components/date-picker/types.d.ts +18 -18
- package/dist/components/date-range-field/date-range-field-root.vue.d.ts +2 -2
- package/dist/components/date-range-field/types.d.ts +11 -11
- package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker-root.vue.d.ts +7 -7
- package/dist/components/date-range-picker/types.d.ts +12 -12
- package/dist/components/dialog/dialog-compact.vue.d.ts +5 -5
- package/dist/components/dialog/types.d.ts +40 -40
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/dropdown-menu-wrapper-compact.vue.d.ts +2 -2
- package/dist/components/dropdown-menu/types.d.ts +21 -21
- package/dist/components/editable/types.d.ts +25 -25
- package/dist/components/empty/empty-compact.js +1 -0
- package/dist/components/empty/empty-compact.vue.d.ts +15 -0
- package/dist/components/empty/empty-content.js +1 -1
- package/dist/components/empty/empty-description.js +1 -1
- package/dist/components/empty/empty-header.js +1 -1
- package/dist/components/empty/empty-media.js +1 -1
- package/dist/components/empty/empty-root.js +1 -1
- package/dist/components/empty/empty-title.js +1 -1
- package/dist/components/empty/index.d.ts +9 -8
- package/dist/components/empty/index.js +1 -1
- package/dist/components/empty/types.d.ts +72 -9
- package/dist/components/form/context.d.ts +3 -2
- package/dist/components/form/context.js +1 -1
- package/dist/components/form/core/types.d.ts +24 -24
- package/dist/components/form/core/use-form.js +1 -1
- package/dist/components/form/form-compact.js +1 -0
- package/dist/components/form/form-compact.vue.d.ts +21 -0
- package/dist/components/form/form-control.js +1 -1
- package/dist/components/form/form-description.js +1 -1
- package/dist/components/form/form-error.js +1 -1
- package/dist/components/form/form-field-array-compact.js +1 -0
- package/dist/components/form/form-field-array-compact.vue.d.ts +16 -0
- package/dist/components/form/form-field-base-compact.js +1 -0
- package/dist/components/form/form-field-base-compact.vue.d.ts +26 -0
- package/dist/components/form/form-field-compact.js +1 -0
- package/dist/components/form/form-field-compact.vue.d.ts +16 -0
- package/dist/components/form/form-field.js +1 -1
- package/dist/components/form/form-label.js +1 -1
- package/dist/components/form/index.d.ts +14 -10
- package/dist/components/form/index.js +1 -1
- package/dist/components/form/shared.js +1 -0
- package/dist/components/form/types.d.ts +129 -10
- package/dist/components/form/use-form.d.ts +8 -0
- package/dist/components/form/use-form.js +1 -0
- package/dist/components/hover-card/hover-card-compact.vue.d.ts +1 -1
- package/dist/components/hover-card/hover-card-root.vue.d.ts +1 -1
- package/dist/components/hover-card/types.d.ts +15 -15
- package/dist/components/input/index.d.ts +6 -4
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/input-clear.js +1 -0
- package/dist/components/input/input-clear.vue.d.ts +22 -0
- package/dist/components/input/input-compact.js +1 -0
- package/dist/components/input/input-compact.vue.d.ts +21 -0
- package/dist/components/input/input-control.js +1 -1
- package/dist/components/input/input-root.js +1 -1
- package/dist/components/input/types.d.ts +79 -8
- package/dist/components/input-number/input-number-root.vue.d.ts +1 -1
- package/dist/components/input-number/types.d.ts +7 -7
- package/dist/components/input-otp/input-otp-compact.vue.d.ts +4 -4
- package/dist/components/input-otp/input-otp-root.vue.d.ts +4 -4
- package/dist/components/input-otp/types.d.ts +14 -14
- package/dist/components/kbd/types.d.ts +2 -2
- package/dist/components/label/types.d.ts +1 -1
- package/dist/components/layout/layout-classic-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-compact.vue.d.ts +1 -1
- package/dist/components/layout/layout-root.vue.d.ts +1 -1
- package/dist/components/layout/types.d.ts +28 -28
- package/dist/components/link/types.d.ts +4 -4
- package/dist/components/list/types.d.ts +7 -7
- package/dist/components/listbox/listbox-root.vue.d.ts +2 -2
- package/dist/components/listbox/types.d.ts +16 -16
- package/dist/components/menu/menu-content.vue.d.ts +2 -2
- package/dist/components/menu/menu-option-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-options-compact.vue.d.ts +2 -2
- package/dist/components/menu/menu-sub-content.vue.d.ts +2 -2
- package/dist/components/menu/types.d.ts +68 -68
- package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-content.vue.d.ts +2 -2
- package/dist/components/menubar/menubar-sub-content.vue.d.ts +2 -2
- package/dist/components/menubar/types.d.ts +19 -19
- package/dist/components/month-picker/month-picker-root.vue.d.ts +5 -5
- package/dist/components/month-picker/types.d.ts +7 -7
- package/dist/components/month-range-picker/month-range-picker-root.vue.d.ts +5 -5
- package/dist/components/month-range-picker/types.d.ts +7 -7
- package/dist/components/navigation-menu/types.d.ts +31 -31
- package/dist/components/page-tabs/types.d.ts +8 -8
- package/dist/components/pagination/types.d.ts +21 -21
- package/dist/components/popover/popover-compact.vue.d.ts +1 -1
- package/dist/components/popover/types.d.ts +20 -20
- package/dist/components/popper/popper-positioner.vue.d.ts +1 -1
- package/dist/components/popper/types.d.ts +7 -7
- package/dist/components/portal/types.d.ts +1 -1
- package/dist/components/primitive/types.d.ts +2 -2
- package/dist/components/progress/types.d.ts +11 -11
- package/dist/components/radio-group/types.d.ts +16 -16
- package/dist/components/range-calendar/range-calendar-root.vue.d.ts +2 -2
- package/dist/components/range-calendar/types.d.ts +30 -30
- package/dist/components/roving-focus/roving-focus-group.vue.d.ts +1 -1
- package/dist/components/roving-focus/types.d.ts +3 -3
- package/dist/components/scroll-area/types.d.ts +10 -10
- package/dist/components/segment/types.d.ts +8 -8
- package/dist/components/select/select-content.vue.d.ts +2 -2
- package/dist/components/select/types.d.ts +51 -51
- package/dist/components/separator/types.d.ts +4 -4
- package/dist/components/skeleton/types.d.ts +1 -1
- package/dist/components/slider/slider-root.vue.d.ts +1 -1
- package/dist/components/slider/types.d.ts +10 -10
- package/dist/components/splitter/splitter-group.vue.d.ts +1 -1
- package/dist/components/splitter/splitter-panel.vue.d.ts +2 -2
- package/dist/components/splitter/types.d.ts +11 -11
- package/dist/components/stepper/types.d.ts +21 -21
- package/dist/components/switch/types.d.ts +7 -7
- package/dist/components/table/types.d.ts +67 -67
- package/dist/components/tabs/types.d.ts +17 -17
- package/dist/components/tag/types.d.ts +2 -2
- package/dist/components/tags-input/tags-input-root.vue.d.ts +2 -2
- package/dist/components/tags-input/types.d.ts +10 -10
- package/dist/components/textarea/types.d.ts +8 -8
- package/dist/components/time-field/time-field-root.vue.d.ts +1 -1
- package/dist/components/time-field/types.d.ts +7 -7
- package/dist/components/time-picker/time-picker-root.vue.d.ts +6 -6
- package/dist/components/time-picker/types.d.ts +7 -7
- package/dist/components/time-range-field/time-range-field-root.vue.d.ts +1 -1
- package/dist/components/time-range-field/types.d.ts +11 -11
- package/dist/components/time-range-picker/time-range-picker-compact.vue.d.ts +2 -2
- package/dist/components/time-range-picker/time-range-picker-root.vue.d.ts +6 -6
- package/dist/components/time-range-picker/types.d.ts +12 -12
- package/dist/components/toast/types.d.ts +25 -25
- package/dist/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/components/toggle/types.d.ts +3 -3
- package/dist/components/toggle-group/types.d.ts +5 -5
- package/dist/components/toolbar/toolbar-button.vue.d.ts +2 -2
- package/dist/components/toolbar/types.d.ts +12 -12
- package/dist/components/tooltip/tooltip-root.vue.d.ts +1 -1
- package/dist/components/tooltip/types.d.ts +9 -9
- package/dist/components/tree/types.d.ts +13 -13
- package/dist/components/tree-menu/tree-menu-root.vue.d.ts +1 -1
- package/dist/components/tree-menu/types.d.ts +14 -14
- package/dist/components/virtualizer/types.d.ts +6 -6
- package/dist/components/visually-hidden/types.d.ts +3 -3
- package/dist/components/year-picker/types.d.ts +7 -7
- package/dist/components/year-picker/year-picker-root.vue.d.ts +5 -5
- package/dist/components/year-range-picker/types.d.ts +7 -7
- package/dist/components/year-range-picker/year-range-picker-root.vue.d.ts +5 -5
- package/dist/constants/components.js +1 -1
- package/dist/date/parts.d.ts +1 -1
- package/dist/index.d.ts +416 -405
- package/dist/index.js +1 -1
- package/dist/namespaced/index.d.ts +877 -851
- package/dist/namespaced/index.js +1 -1
- package/dist/types/common.d.ts +1 -1
- package/package.json +4 -2
- package/dist/components/form/core/use-form.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Alignment.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Animations.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Axis.d.ts +0 -16
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Counter.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragHandler.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/DragTracker.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EmblaCarousel.d.ts +0 -31
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Engine.d.ts +0 -67
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventHandler.d.ts +0 -29
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/EventStore.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Limit.d.ts +0 -13
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/NodeRects.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Options.d.ts +0 -43
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/OptionsHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/PercentOfView.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Plugins.d.ts +0 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ResizeHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBody.d.ts +0 -14
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollBounds.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollContain.d.ts +0 -4
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollLooper.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollProgress.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts +0 -12
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/ScrollTo.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideFocus.d.ts +0 -10
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideLooper.d.ts +0 -19
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlideRegistry.d.ts +0 -6
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesHandler.d.ts +0 -11
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesInView.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/SlidesToScroll.d.ts +0 -7
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Translate.d.ts +0 -8
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/Vector1d.d.ts +0 -9
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/components/utils.d.ts +0 -4
|
@@ -6,11 +6,11 @@ import { HTMLAttributes, ShallowRef } from "vue";
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/tabs/types.d.ts
|
|
8
8
|
/**
|
|
9
|
-
* Type information for
|
|
9
|
+
* Type information for TabsActivationMode.
|
|
10
10
|
*/
|
|
11
11
|
type TabsActivationMode = 'automatic' | 'manual';
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Properties for the TabsRoot component.
|
|
14
14
|
*/
|
|
15
15
|
interface TabsRootProps<T extends AcceptableValue = AcceptableValue> extends Omit<RovingFocusGroupProps, 'as' | 'asChild' | 'currentTabStopId' | 'defaultCurrentTabStopId' | 'preventScrollOnEntryFocus'> {
|
|
16
16
|
/** The controlled value of the tab to activate. Can be bind as `v-model`. */
|
|
@@ -34,24 +34,24 @@ interface TabsRootProps<T extends AcceptableValue = AcceptableValue> extends Omi
|
|
|
34
34
|
unmountOnHide?: boolean;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Events for the TabsRoot component.
|
|
38
38
|
*/
|
|
39
39
|
type TabsRootEmits<T = AcceptableValue> = {
|
|
40
40
|
/** Event handler called when the value changes */'update:modelValue': [payload: NonNullable<T>];
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Properties for the TabsList component.
|
|
44
44
|
*/
|
|
45
45
|
interface TabsListProps extends /** @vue-ignore */HTMLAttributes {}
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Properties for the TabsContent component.
|
|
48
48
|
*/
|
|
49
49
|
interface TabsContentProps extends ForceMountProps, /** @vue-ignore */HTMLAttributes {
|
|
50
50
|
/** A unique value that associates the content with a trigger. */
|
|
51
51
|
value: DefinedValue;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Properties for the TabsTrigger component.
|
|
55
55
|
*/
|
|
56
56
|
interface TabsTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
57
57
|
/** A unique value that associates the trigger with a content. */
|
|
@@ -60,11 +60,11 @@ interface TabsTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttribu
|
|
|
60
60
|
disabled?: boolean;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Properties for the TabsIndicator component.
|
|
64
64
|
*/
|
|
65
65
|
interface TabsIndicatorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
66
66
|
/**
|
|
67
|
-
* Option data for the
|
|
67
|
+
* Option data for the Tabs component.
|
|
68
68
|
*/
|
|
69
69
|
interface TabsOptionData<T extends DefinedValue = DefinedValue> {
|
|
70
70
|
/**
|
|
@@ -81,7 +81,7 @@ interface TabsOptionData<T extends DefinedValue = DefinedValue> {
|
|
|
81
81
|
disabled?: boolean;
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Properties for the TabsCompact component.
|
|
85
85
|
*/
|
|
86
86
|
interface TabsCompactProps<T extends TabsOptionData = TabsOptionData> extends TabsRootProps<T['value'] | null> {
|
|
87
87
|
/**
|
|
@@ -93,28 +93,28 @@ interface TabsCompactProps<T extends TabsOptionData = TabsOptionData> extends Ta
|
|
|
93
93
|
*/
|
|
94
94
|
enableIndicator?: boolean;
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Properties forwarded to the list element.
|
|
97
97
|
*/
|
|
98
98
|
listProps?: TabsListProps;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Properties forwarded to the trigger element.
|
|
101
101
|
*/
|
|
102
102
|
triggerProps?: TabsTriggerProps;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Properties forwarded to the content element.
|
|
105
105
|
*/
|
|
106
106
|
contentProps?: TabsContentProps;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Properties forwarded to the indicator element.
|
|
109
109
|
*/
|
|
110
110
|
indicatorProps?: TabsIndicatorProps;
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
*
|
|
113
|
+
* Events for the TabsCompact component.
|
|
114
114
|
*/
|
|
115
115
|
type TabsCompactEmits<T extends AcceptableValue = AcceptableValue> = TabsRootEmits<T>;
|
|
116
116
|
/**
|
|
117
|
-
* Slots for the
|
|
117
|
+
* Slots for the TabsCompact component.
|
|
118
118
|
*/
|
|
119
119
|
type TabsCompactSlots<T extends TabsOptionData = TabsOptionData> = {
|
|
120
120
|
/**
|
|
@@ -135,11 +135,11 @@ type TabsCompactSlots<T extends TabsOptionData = TabsOptionData> = {
|
|
|
135
135
|
indicator?: () => any;
|
|
136
136
|
};
|
|
137
137
|
/**
|
|
138
|
-
* Available UI slots for the
|
|
138
|
+
* Available UI slots for the Tabs component.
|
|
139
139
|
*/
|
|
140
140
|
type TabsUiSlot = 'root' | 'list' | 'trigger' | 'content' | 'indicator' | 'indicatorContent';
|
|
141
141
|
/**
|
|
142
|
-
* UI class overrides for the
|
|
142
|
+
* UI class overrides for the Tabs component.
|
|
143
143
|
*/
|
|
144
144
|
type TabsUi = UiClass<TabsUiSlot>;
|
|
145
145
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { HTMLAttributes } from "vue";
|
|
|
2
2
|
|
|
3
3
|
//#region src/components/tag/types.d.ts
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Properties for the Tag component.
|
|
6
6
|
*/
|
|
7
7
|
interface TagProps extends /** @vue-ignore */HTMLAttributes {
|
|
8
8
|
/**
|
|
@@ -11,7 +11,7 @@ interface TagProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
11
11
|
open?: boolean;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Events for the Tag component.
|
|
15
15
|
*/
|
|
16
16
|
type TagEmits = {
|
|
17
17
|
/**
|
|
@@ -4,8 +4,8 @@ import * as _$vue from "vue";
|
|
|
4
4
|
//#region src/components/tags-input/tags-input-root.vue.d.ts
|
|
5
5
|
declare const __VLS_export: <T extends TagsInputAcceptableValue = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
6
|
props: _$vue.PublicProps & __VLS_PrettifyLocal<TagsInputRootProps<T> & {
|
|
7
|
-
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
8
7
|
onInvalid?: ((value: T) => any) | undefined;
|
|
8
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
9
9
|
onAddTag?: ((value: T) => any) | undefined;
|
|
10
10
|
onRemoveTag?: ((value: T) => any) | undefined;
|
|
11
11
|
}> & (typeof globalThis extends {
|
|
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends TagsInputAcceptableValue = string>(__VLS_
|
|
|
18
18
|
modelValue: TagsInputAcceptableValue[] | undefined;
|
|
19
19
|
}) => any;
|
|
20
20
|
};
|
|
21
|
-
emit: ((evt: "
|
|
21
|
+
emit: ((evt: "invalid", value: T) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "addTag", value: T) => void) & ((evt: "removeTag", value: T) => void);
|
|
22
22
|
}>) => _$vue.VNode & {
|
|
23
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
24
|
};
|
|
@@ -5,11 +5,11 @@ import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/types.d.ts
|
|
7
7
|
/**
|
|
8
|
-
* Type information for
|
|
8
|
+
* Type information for TagsInputAcceptableValue.
|
|
9
9
|
*/
|
|
10
10
|
type TagsInputAcceptableValue = string | number | bigint | Record<string, unknown>;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Properties for the TagsInputRoot component.
|
|
13
13
|
*/
|
|
14
14
|
interface TagsInputRootProps<T = TagsInputAcceptableValue> extends FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
|
|
15
15
|
/** Id of the input element. */
|
|
@@ -40,7 +40,7 @@ interface TagsInputRootProps<T = TagsInputAcceptableValue> extends FormFieldComm
|
|
|
40
40
|
displayValue?: (value: T) => string;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Events for the TagsInputRoot component.
|
|
44
44
|
*/
|
|
45
45
|
type TagsInputRootEmits<T = TagsInputAcceptableValue> = {
|
|
46
46
|
/**
|
|
@@ -61,7 +61,7 @@ type TagsInputRootEmits<T = TagsInputAcceptableValue> = {
|
|
|
61
61
|
removeTag: [value: T];
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Properties for the TagsInputInput component.
|
|
65
65
|
*/
|
|
66
66
|
interface TagsInputInputProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
67
67
|
/**
|
|
@@ -94,7 +94,7 @@ interface TagsInputInputProps extends PrimitiveProps, /** @vue-ignore */HTMLAttr
|
|
|
94
94
|
'aria-controls'?: string;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Properties for the TagsInputItem component.
|
|
98
98
|
*/
|
|
99
99
|
interface TagsInputItemProps<T = TagsInputAcceptableValue> extends PrimitiveProps, /** @vue-ignore */Omit<HTMLAttributes, 'value'> {
|
|
100
100
|
/** Value associated with the tag. */
|
|
@@ -103,23 +103,23 @@ interface TagsInputItemProps<T = TagsInputAcceptableValue> extends PrimitiveProp
|
|
|
103
103
|
disabled?: boolean;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Properties for the TagsInputItemText component.
|
|
107
107
|
*/
|
|
108
108
|
interface TagsInputItemTextProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* Properties for the TagsInputItemDelete component.
|
|
111
111
|
*/
|
|
112
112
|
interface TagsInputItemDeleteProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Properties for the TagsInputClear component.
|
|
115
115
|
*/
|
|
116
116
|
interface TagsInputClearProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
117
117
|
/**
|
|
118
|
-
* Available UI slots for the
|
|
118
|
+
* Available UI slots for the TagsInput component.
|
|
119
119
|
*/
|
|
120
120
|
type TagsInputUiSlot = 'root' | 'item' | 'itemText' | 'itemDelete' | 'input' | 'clear';
|
|
121
121
|
/**
|
|
122
|
-
* UI class overrides for the
|
|
122
|
+
* UI class overrides for the TagsInput component.
|
|
123
123
|
*/
|
|
124
124
|
type TagsInputUi = UiClass<TagsInputUiSlot>;
|
|
125
125
|
//#endregion
|
|
@@ -4,7 +4,7 @@ import { ComputedRef, HTMLAttributes, ShallowRef, TextareaHTMLAttributes } from
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/textarea/types.d.ts
|
|
6
6
|
/**
|
|
7
|
-
* Type information for
|
|
7
|
+
* Type information for TextareaAutosizeOptions.
|
|
8
8
|
*/
|
|
9
9
|
interface TextareaAutosizeOptions {
|
|
10
10
|
/** The minimum number of rows to display */
|
|
@@ -13,7 +13,7 @@ interface TextareaAutosizeOptions {
|
|
|
13
13
|
maxRows?: number;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Properties for the TextareaBase component.
|
|
17
17
|
*/
|
|
18
18
|
interface TextareaBaseProps {
|
|
19
19
|
/** Id of the textarea element */
|
|
@@ -32,7 +32,7 @@ interface TextareaBaseProps {
|
|
|
32
32
|
readonly?: boolean;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Properties for the TextareaRoot component.
|
|
36
36
|
*/
|
|
37
37
|
interface TextareaRootProps extends TextareaBaseProps, FormFieldCommonProps, /** @vue-ignore */HTMLAttributes {
|
|
38
38
|
/** The default value of the textarea */
|
|
@@ -43,7 +43,7 @@ interface TextareaRootProps extends TextareaBaseProps, FormFieldCommonProps, /**
|
|
|
43
43
|
autosize?: boolean | TextareaAutosizeOptions;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Events for the TextareaRoot component.
|
|
47
47
|
*/
|
|
48
48
|
type TextareaRootEmits = {
|
|
49
49
|
/**
|
|
@@ -52,19 +52,19 @@ type TextareaRootEmits = {
|
|
|
52
52
|
'update:modelValue': [value: string];
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Properties for the TextareaControl component.
|
|
56
56
|
*/
|
|
57
57
|
interface TextareaControlProps extends /** @vue-ignore */TextareaHTMLAttributes {}
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Properties for the TextareaCounter component.
|
|
60
60
|
*/
|
|
61
61
|
interface TextareaCounterProps extends /** @vue-ignore */HTMLAttributes {}
|
|
62
62
|
/**
|
|
63
|
-
* Available UI slots for the
|
|
63
|
+
* Available UI slots for the Textarea component.
|
|
64
64
|
*/
|
|
65
65
|
type TextareaUiSlot = 'root' | 'control' | 'counter';
|
|
66
66
|
/**
|
|
67
|
-
* UI class overrides for the
|
|
67
|
+
* UI class overrides for the Textarea component.
|
|
68
68
|
*/
|
|
69
69
|
type TextareaUi = UiClass<TextareaUiSlot>;
|
|
70
70
|
//#endregion
|
|
@@ -25,11 +25,11 @@ declare const __VLS_base: _$vue.DefineComponent<TimeFieldRootProps, {}, {}, {},
|
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
step: DateStep;
|
|
27
27
|
defaultValue: TimeValue;
|
|
28
|
-
readonly: boolean;
|
|
29
28
|
defaultPlaceholder: TimeValue;
|
|
30
29
|
hourCycle: 12 | 24;
|
|
31
30
|
granularity: TimeGranularity;
|
|
32
31
|
hideTimeZone: boolean;
|
|
32
|
+
readonly: boolean;
|
|
33
33
|
isTimeUnavailable: TimeMatcher;
|
|
34
34
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -9,7 +9,7 @@ import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
9
9
|
|
|
10
10
|
//#region src/components/time-field/types.d.ts
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Properties for the TimeFieldRoot component.
|
|
13
13
|
*/
|
|
14
14
|
interface TimeFieldRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'placeholder'> {
|
|
15
15
|
/**
|
|
@@ -78,7 +78,7 @@ interface TimeFieldRootProps extends PrimitiveProps, FormFieldCommonProps, /** @
|
|
|
78
78
|
dir?: Direction;
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Events for the TimeFieldRoot component.
|
|
82
82
|
*/
|
|
83
83
|
type TimeFieldRootEmits = {
|
|
84
84
|
/**
|
|
@@ -91,7 +91,7 @@ type TimeFieldRootEmits = {
|
|
|
91
91
|
'update:placeholder': [time: TimeValue];
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Properties for the TimeFieldInput component.
|
|
95
95
|
*/
|
|
96
96
|
interface TimeFieldInputProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
97
97
|
/**
|
|
@@ -100,7 +100,7 @@ interface TimeFieldInputProps extends PrimitiveProps, /** @vue-ignore */HTMLAttr
|
|
|
100
100
|
part: SegmentPart;
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
-
* Type information for
|
|
103
|
+
* Type information for TimeFieldSegment.
|
|
104
104
|
*/
|
|
105
105
|
interface TimeFieldSegment {
|
|
106
106
|
/**
|
|
@@ -113,7 +113,7 @@ interface TimeFieldSegment {
|
|
|
113
113
|
value: string;
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
|
-
* Context for the
|
|
116
|
+
* Context for the TimeFieldRoot component.
|
|
117
117
|
*/
|
|
118
118
|
interface TimeFieldRootContext extends PropsToContext<TimeFieldRootProps, 'disabled' | 'readonly'> {
|
|
119
119
|
/**
|
|
@@ -190,11 +190,11 @@ interface TimeFieldRootContext extends PropsToContext<TimeFieldRootProps, 'disab
|
|
|
190
190
|
setFocusedElement: (el: HTMLElement) => void;
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
193
|
-
* Available UI slots for the
|
|
193
|
+
* Available UI slots for the TimeField component.
|
|
194
194
|
*/
|
|
195
195
|
type TimeFieldUiSlot = 'root' | 'input';
|
|
196
196
|
/**
|
|
197
|
-
* UI class overrides for the
|
|
197
|
+
* UI class overrides for the TimeField component.
|
|
198
198
|
*/
|
|
199
199
|
type TimeFieldUi = UiClass<TimeFieldUiSlot>;
|
|
200
200
|
//#endregion
|
|
@@ -13,25 +13,25 @@ type __VLS_Slots = {
|
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: _$vue.DefineComponent<TimePickerRootProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (time: TimeValue | undefined) => any;
|
|
16
|
-
"update:open": (open: boolean) => any;
|
|
17
16
|
"update:placeholder": (time: TimeValue) => any;
|
|
17
|
+
"update:open": (open: boolean) => any;
|
|
18
18
|
}, string, _$vue.PublicProps, Readonly<TimePickerRootProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
20
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
21
20
|
"onUpdate:placeholder"?: ((time: TimeValue) => any) | undefined;
|
|
21
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
placeholder: TimeValue;
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
step: DateStep;
|
|
26
26
|
defaultValue: TimeValue;
|
|
27
|
-
open: boolean;
|
|
28
|
-
defaultOpen: boolean;
|
|
29
|
-
readonly: boolean;
|
|
30
27
|
defaultPlaceholder: TimeValue;
|
|
31
|
-
modal: boolean;
|
|
32
28
|
hourCycle: 12 | 24;
|
|
33
29
|
granularity: TimeGranularity;
|
|
34
30
|
hideTimeZone: boolean;
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
defaultOpen: boolean;
|
|
33
|
+
open: boolean;
|
|
34
|
+
modal: boolean;
|
|
35
35
|
isTimeUnavailable: TimeMatcher;
|
|
36
36
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,7 +10,7 @@ import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
10
10
|
|
|
11
11
|
//#region src/components/time-picker/types.d.ts
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Properties for the TimePickerRoot component.
|
|
14
14
|
*/
|
|
15
15
|
interface TimePickerRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'placeholder'> {
|
|
16
16
|
/**
|
|
@@ -91,7 +91,7 @@ interface TimePickerRootProps extends PrimitiveProps, FormFieldCommonProps, /**
|
|
|
91
91
|
modal?: boolean;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Events for the TimePickerRoot component.
|
|
95
95
|
*/
|
|
96
96
|
type TimePickerRootEmits = {
|
|
97
97
|
/**
|
|
@@ -108,15 +108,15 @@ type TimePickerRootEmits = {
|
|
|
108
108
|
'update:open': [open: boolean];
|
|
109
109
|
};
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Properties for the TimePickerTrigger component.
|
|
112
112
|
*/
|
|
113
113
|
interface TimePickerTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Properties for the TimePickerPopup component.
|
|
116
116
|
*/
|
|
117
117
|
interface TimePickerPopupProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
118
118
|
/**
|
|
119
|
-
* Context for the
|
|
119
|
+
* Context for the TimePickerRoot component.
|
|
120
120
|
*/
|
|
121
121
|
interface TimePickerRootContext extends PropsToContext<TimePickerRootProps, 'disabled' | 'readonly'> {
|
|
122
122
|
/**
|
|
@@ -213,11 +213,11 @@ interface TimePickerRootContext extends PropsToContext<TimePickerRootProps, 'dis
|
|
|
213
213
|
setFocusedTime: (time: TimeValue) => void;
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
|
-
* Available UI slots for the
|
|
216
|
+
* Available UI slots for the TimePicker component.
|
|
217
217
|
*/
|
|
218
218
|
type TimePickerUiSlot = 'root' | 'trigger' | 'popup' | 'list' | 'cellTrigger';
|
|
219
219
|
/**
|
|
220
|
-
* UI class overrides for the
|
|
220
|
+
* UI class overrides for the TimePicker component.
|
|
221
221
|
*/
|
|
222
222
|
type TimePickerUi = UiClass<TimePickerUiSlot>;
|
|
223
223
|
//#endregion
|
|
@@ -33,11 +33,11 @@ declare const __VLS_base: _$vue.DefineComponent<TimeRangeFieldRootProps, {}, {},
|
|
|
33
33
|
disabled: boolean;
|
|
34
34
|
step: DateStep;
|
|
35
35
|
defaultValue: TimeRange;
|
|
36
|
-
readonly: boolean;
|
|
37
36
|
defaultPlaceholder: TimeValue;
|
|
38
37
|
hourCycle: 12 | 24;
|
|
39
38
|
granularity: TimeGranularity;
|
|
40
39
|
hideTimeZone: boolean;
|
|
40
|
+
readonly: boolean;
|
|
41
41
|
startName: string;
|
|
42
42
|
endName: string;
|
|
43
43
|
isTimeUnavailable: TimeMatcher;
|
|
@@ -9,7 +9,7 @@ import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
9
9
|
|
|
10
10
|
//#region src/components/time-range-field/types.d.ts
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Properties for the TimeRangeFieldRoot component.
|
|
13
13
|
*/
|
|
14
14
|
interface TimeRangeFieldRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'placeholder'> {
|
|
15
15
|
/**
|
|
@@ -86,7 +86,7 @@ interface TimeRangeFieldRootProps extends PrimitiveProps, FormFieldCommonProps,
|
|
|
86
86
|
endName?: string;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Events for the TimeRangeFieldRoot component.
|
|
90
90
|
*/
|
|
91
91
|
type TimeRangeFieldRootEmits = {
|
|
92
92
|
/**
|
|
@@ -107,7 +107,7 @@ type TimeRangeFieldRootEmits = {
|
|
|
107
107
|
'update:endValue': [time: TimeValue | undefined];
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* Properties for the TimeRangeFieldInput component.
|
|
111
111
|
*/
|
|
112
112
|
interface TimeRangeFieldInputProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
113
113
|
/**
|
|
@@ -120,7 +120,7 @@ interface TimeRangeFieldInputProps extends PrimitiveProps, /** @vue-ignore */HTM
|
|
|
120
120
|
type?: 'start' | 'end';
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* Type information for
|
|
123
|
+
* Type information for TimeRangeFieldSegment.
|
|
124
124
|
*/
|
|
125
125
|
interface TimeRangeFieldSegment {
|
|
126
126
|
/**
|
|
@@ -133,7 +133,7 @@ interface TimeRangeFieldSegment {
|
|
|
133
133
|
value: string;
|
|
134
134
|
}
|
|
135
135
|
/**
|
|
136
|
-
* Context for the
|
|
136
|
+
* Context for the TimeRangeFieldRoot component.
|
|
137
137
|
*/
|
|
138
138
|
interface TimeRangeFieldRootContext extends PropsToContext<TimeRangeFieldRootProps, 'disabled' | 'readonly'> {
|
|
139
139
|
/**
|
|
@@ -234,19 +234,19 @@ interface TimeRangeFieldRootContext extends PropsToContext<TimeRangeFieldRootPro
|
|
|
234
234
|
setFocusedElement: (el: HTMLElement, type: 'start' | 'end') => void;
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
|
-
* Available UI slots for the
|
|
237
|
+
* Available UI slots for the TimeRangeField component.
|
|
238
238
|
*/
|
|
239
239
|
type TimeRangeFieldUiSlot = 'root' | 'input' | 'separator';
|
|
240
240
|
/**
|
|
241
|
-
* UI class overrides for the
|
|
241
|
+
* UI class overrides for the TimeRangeField component.
|
|
242
242
|
*/
|
|
243
243
|
type TimeRangeFieldUi = UiClass<TimeRangeFieldUiSlot>;
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* Properties for the TimeRangeFieldCompact component.
|
|
246
246
|
*/
|
|
247
247
|
interface TimeRangeFieldCompactProps extends TimeRangeFieldRootProps {
|
|
248
248
|
/**
|
|
249
|
-
*
|
|
249
|
+
* Properties forwarded to the input element.
|
|
250
250
|
*/
|
|
251
251
|
inputProps?: Omit<TimeRangeFieldInputProps, 'part' | 'type'>;
|
|
252
252
|
/**
|
|
@@ -255,11 +255,11 @@ interface TimeRangeFieldCompactProps extends TimeRangeFieldRootProps {
|
|
|
255
255
|
separator?: string;
|
|
256
256
|
}
|
|
257
257
|
/**
|
|
258
|
-
*
|
|
258
|
+
* Events for the TimeRangeFieldCompact component.
|
|
259
259
|
*/
|
|
260
260
|
type TimeRangeFieldCompactEmits = TimeRangeFieldRootEmits;
|
|
261
261
|
/**
|
|
262
|
-
* Slots for the
|
|
262
|
+
* Slots for the TimeRangeFieldCompact component.
|
|
263
263
|
*/
|
|
264
264
|
type TimeRangeFieldCompactSlots = {
|
|
265
265
|
/**
|
|
@@ -7,16 +7,16 @@ import * as _$vue from "vue";
|
|
|
7
7
|
type __VLS_Slots = TimeRangePickerCompactSlots;
|
|
8
8
|
declare const __VLS_base: _$vue.DefineComponent<TimeRangePickerCompactProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
9
9
|
"update:modelValue": (range: TimeRange) => any;
|
|
10
|
-
"update:open": (open: boolean) => any;
|
|
11
10
|
"update:placeholder": (time: TimeValue) => any;
|
|
12
11
|
"update:startValue": (time: TimeValue | undefined) => any;
|
|
13
12
|
"update:endValue": (time: TimeValue | undefined) => any;
|
|
13
|
+
"update:open": (open: boolean) => any;
|
|
14
14
|
}, string, _$vue.PublicProps, Readonly<TimeRangePickerCompactProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((range: TimeRange) => any) | undefined;
|
|
16
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
17
16
|
"onUpdate:placeholder"?: ((time: TimeValue) => any) | undefined;
|
|
18
17
|
"onUpdate:startValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
19
18
|
"onUpdate:endValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
19
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
open: boolean;
|
|
22
22
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -14,29 +14,29 @@ type __VLS_Slots = {
|
|
|
14
14
|
};
|
|
15
15
|
declare const __VLS_base: _$vue.DefineComponent<TimeRangePickerRootProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (range: TimeRange) => any;
|
|
17
|
-
"update:open": (open: boolean) => any;
|
|
18
17
|
"update:placeholder": (time: TimeValue) => any;
|
|
19
18
|
"update:startValue": (time: TimeValue | undefined) => any;
|
|
20
19
|
"update:endValue": (time: TimeValue | undefined) => any;
|
|
20
|
+
"update:open": (open: boolean) => any;
|
|
21
21
|
}, string, _$vue.PublicProps, Readonly<TimeRangePickerRootProps> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: ((range: TimeRange) => any) | undefined;
|
|
23
|
-
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
24
23
|
"onUpdate:placeholder"?: ((time: TimeValue) => any) | undefined;
|
|
25
24
|
"onUpdate:startValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
26
25
|
"onUpdate:endValue"?: ((time: TimeValue | undefined) => any) | undefined;
|
|
26
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
placeholder: TimeValue;
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
step: DateStep;
|
|
31
31
|
defaultValue: TimeRange;
|
|
32
|
-
open: boolean;
|
|
33
|
-
defaultOpen: boolean;
|
|
34
|
-
readonly: boolean;
|
|
35
32
|
defaultPlaceholder: TimeValue;
|
|
36
|
-
modal: boolean;
|
|
37
33
|
hourCycle: 12 | 24;
|
|
38
34
|
granularity: TimeGranularity;
|
|
39
35
|
hideTimeZone: boolean;
|
|
36
|
+
readonly: boolean;
|
|
37
|
+
defaultOpen: boolean;
|
|
38
|
+
open: boolean;
|
|
39
|
+
modal: boolean;
|
|
40
40
|
isTimeUnavailable: TimeMatcher;
|
|
41
41
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,7 +10,7 @@ import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
10
10
|
|
|
11
11
|
//#region src/components/time-range-picker/types.d.ts
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Properties for the TimeRangePickerRoot component.
|
|
14
14
|
*/
|
|
15
15
|
interface TimeRangePickerRootProps extends PrimitiveProps, FormFieldCommonProps, /** @vue-ignore */Omit<HTMLAttributes, 'placeholder'> {
|
|
16
16
|
/**
|
|
@@ -91,7 +91,7 @@ interface TimeRangePickerRootProps extends PrimitiveProps, FormFieldCommonProps,
|
|
|
91
91
|
modal?: boolean;
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Events for the TimeRangePickerRoot component.
|
|
95
95
|
*/
|
|
96
96
|
type TimeRangePickerRootEmits = {
|
|
97
97
|
/**
|
|
@@ -116,15 +116,15 @@ type TimeRangePickerRootEmits = {
|
|
|
116
116
|
'update:open': [open: boolean];
|
|
117
117
|
};
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Properties for the TimeRangePickerTrigger component.
|
|
120
120
|
*/
|
|
121
121
|
interface TimeRangePickerTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Properties for the TimeRangePickerPopup component.
|
|
124
124
|
*/
|
|
125
125
|
interface TimeRangePickerPopupProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
126
126
|
/**
|
|
127
|
-
* Context for the
|
|
127
|
+
* Context for the TimeRangePickerRoot component.
|
|
128
128
|
*/
|
|
129
129
|
interface TimeRangePickerRootContext extends PropsToContext<TimeRangePickerRootProps, 'disabled' | 'readonly'> {
|
|
130
130
|
/**
|
|
@@ -241,32 +241,32 @@ interface TimeRangePickerRootContext extends PropsToContext<TimeRangePickerRootP
|
|
|
241
241
|
setHoveredTime: (time: TimeValue | undefined) => void;
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
|
-
* Available UI slots for the
|
|
244
|
+
* Available UI slots for the TimeRangePicker component.
|
|
245
245
|
*/
|
|
246
246
|
type TimeRangePickerUiSlot = 'root' | 'trigger' | 'popup' | 'list' | 'cellTrigger';
|
|
247
247
|
/**
|
|
248
|
-
* UI class overrides for the
|
|
248
|
+
* UI class overrides for the TimeRangePicker component.
|
|
249
249
|
*/
|
|
250
250
|
type TimeRangePickerUi = UiClass<TimeRangePickerUiSlot>;
|
|
251
251
|
/**
|
|
252
|
-
*
|
|
252
|
+
* Properties for the TimeRangePickerCompact component.
|
|
253
253
|
*/
|
|
254
254
|
interface TimeRangePickerCompactProps extends TimeRangePickerRootProps {
|
|
255
255
|
/**
|
|
256
|
-
*
|
|
256
|
+
* Properties forwarded to the trigger element.
|
|
257
257
|
*/
|
|
258
258
|
triggerProps?: TimeRangePickerTriggerProps;
|
|
259
259
|
/**
|
|
260
|
-
*
|
|
260
|
+
* Properties forwarded to the popup element.
|
|
261
261
|
*/
|
|
262
262
|
popupProps?: TimeRangePickerPopupProps;
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
|
-
*
|
|
265
|
+
* Events for the TimeRangePickerCompact component.
|
|
266
266
|
*/
|
|
267
267
|
type TimeRangePickerCompactEmits = TimeRangePickerRootEmits;
|
|
268
268
|
/**
|
|
269
|
-
* Slots for the
|
|
269
|
+
* Slots for the TimeRangePickerCompact component.
|
|
270
270
|
*/
|
|
271
271
|
type TimeRangePickerCompactSlots = {
|
|
272
272
|
/**
|