@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
|
@@ -5,11 +5,11 @@ import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/stepper/types.d.ts
|
|
7
7
|
/**
|
|
8
|
-
* State values for
|
|
8
|
+
* State values for StepperState.
|
|
9
9
|
*/
|
|
10
10
|
type StepperState = 'completed' | 'active' | 'inactive';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Properties for the StepperRoot component.
|
|
13
13
|
*/
|
|
14
14
|
interface StepperRootProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
15
15
|
/**
|
|
@@ -40,7 +40,7 @@ interface StepperRootProps extends PrimitiveProps, /** @vue-ignore */HTMLAttribu
|
|
|
40
40
|
linear?: boolean;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Events for the StepperRoot component.
|
|
44
44
|
*/
|
|
45
45
|
type StepperRootEmits = {
|
|
46
46
|
/**
|
|
@@ -49,7 +49,7 @@ type StepperRootEmits = {
|
|
|
49
49
|
'update:modelValue': [payload: number];
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Properties for the StepperItem component.
|
|
53
53
|
*/
|
|
54
54
|
interface StepperItemProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
|
|
55
55
|
/** The step index, starting from `1`. */
|
|
@@ -60,35 +60,35 @@ interface StepperItemProps extends PrimitiveProps, /** @vue-ignore */HTMLAttribu
|
|
|
60
60
|
completed?: boolean;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Properties for the StepperTrigger component.
|
|
64
64
|
*/
|
|
65
65
|
interface StepperTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Properties for the StepperIndicator component.
|
|
68
68
|
*/
|
|
69
69
|
interface StepperIndicatorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Properties for the StepperTitle component.
|
|
72
72
|
*/
|
|
73
73
|
interface StepperTitleProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Properties for the StepperDescription component.
|
|
76
76
|
*/
|
|
77
77
|
interface StepperDescriptionProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
78
78
|
/**
|
|
79
|
-
* Available UI slots for the
|
|
79
|
+
* Available UI slots for the Stepper component.
|
|
80
80
|
*/
|
|
81
81
|
type StepperUiSlot = 'root' | 'item' | 'trigger' | 'indicator' | 'indicatorIcon' | 'itemContent' | 'separator' | 'title' | 'description';
|
|
82
82
|
/**
|
|
83
|
-
* UI class overrides for the
|
|
83
|
+
* UI class overrides for the Stepper component.
|
|
84
84
|
*/
|
|
85
85
|
type StepperUi = UiClass<StepperUiSlot>;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Properties for the StepperSeparator component.
|
|
88
88
|
*/
|
|
89
89
|
type StepperSeparatorProps = SeparatorRootProps;
|
|
90
90
|
/**
|
|
91
|
-
* Type information for
|
|
91
|
+
* Type information for StepperItemData.
|
|
92
92
|
*/
|
|
93
93
|
interface StepperItemData {
|
|
94
94
|
/**
|
|
@@ -109,7 +109,7 @@ interface StepperItemData {
|
|
|
109
109
|
completed?: boolean;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Properties for the StepperCompact component.
|
|
113
113
|
*/
|
|
114
114
|
interface StepperCompactProps extends StepperRootProps {
|
|
115
115
|
/**
|
|
@@ -117,36 +117,36 @@ interface StepperCompactProps extends StepperRootProps {
|
|
|
117
117
|
*/
|
|
118
118
|
items: StepperItemData[];
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Properties forwarded to the item element.
|
|
121
121
|
*/
|
|
122
122
|
itemProps?: StepperItemProps;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* Properties forwarded to the trigger element.
|
|
125
125
|
*/
|
|
126
126
|
triggerProps?: StepperTriggerProps;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* Properties forwarded to the indicator element.
|
|
129
129
|
*/
|
|
130
130
|
indicatorProps?: StepperIndicatorProps;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* Properties forwarded to the separator element.
|
|
133
133
|
*/
|
|
134
134
|
separatorProps?: StepperSeparatorProps;
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
136
|
+
* Properties forwarded to the title element.
|
|
137
137
|
*/
|
|
138
138
|
titleProps?: StepperTitleProps;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* Properties forwarded to the description element.
|
|
141
141
|
*/
|
|
142
142
|
descriptionProps?: StepperDescriptionProps;
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* Events for the StepperCompact component.
|
|
146
146
|
*/
|
|
147
147
|
type StepperCompactEmits = StepperRootEmits;
|
|
148
148
|
/**
|
|
149
|
-
* Slots for the
|
|
149
|
+
* Slots for the StepperCompact component.
|
|
150
150
|
*/
|
|
151
151
|
interface StepperCompactSlots {
|
|
152
152
|
/**
|
|
@@ -5,7 +5,7 @@ import { ButtonHTMLAttributes, HTMLAttributes, HtmlHTMLAttributes, ShallowRef }
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/types.d.ts
|
|
7
7
|
/**
|
|
8
|
-
* Type information for
|
|
8
|
+
* Type information for SwitchValueConfig.
|
|
9
9
|
*/
|
|
10
10
|
interface SwitchValueConfig<T extends AcceptableBooleanValue = boolean> {
|
|
11
11
|
/**
|
|
@@ -22,7 +22,7 @@ interface SwitchValueConfig<T extends AcceptableBooleanValue = boolean> {
|
|
|
22
22
|
falseValue?: NonNullable<T>;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Properties for the SwitchRoot component.
|
|
26
26
|
*/
|
|
27
27
|
interface SwitchRootProps<T extends AcceptableBooleanValue> extends FormFieldCommonProps, SwitchValueConfig<T>, /** @vue-ignore */HtmlHTMLAttributes {
|
|
28
28
|
/** The state of the switch when it is initially rendered. Use when you do not need to control its state. */
|
|
@@ -35,28 +35,28 @@ interface SwitchRootProps<T extends AcceptableBooleanValue> extends FormFieldCom
|
|
|
35
35
|
value?: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Events for the SwitchRoot component.
|
|
39
39
|
*/
|
|
40
40
|
type SwitchRootEmits<T extends AcceptableBooleanValue = boolean> = {
|
|
41
41
|
/** Event handler called when the value of the switch changes. */'update:modelValue': [payload: NonNullable<T>];
|
|
42
42
|
};
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Properties for the SwitchControl component.
|
|
45
45
|
*/
|
|
46
46
|
interface SwitchControlProps extends /** @vue-ignore */ButtonHTMLAttributes {
|
|
47
47
|
/** Id of the element */
|
|
48
48
|
id?: string;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Properties for the SwitchThumb component.
|
|
52
52
|
*/
|
|
53
53
|
interface SwitchThumbProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
|
|
54
54
|
/**
|
|
55
|
-
* Available UI slots for the
|
|
55
|
+
* Available UI slots for the Switch component.
|
|
56
56
|
*/
|
|
57
57
|
type SwitchUiSlot = 'root' | 'control' | 'thumb';
|
|
58
58
|
/**
|
|
59
|
-
* UI class overrides for the
|
|
59
|
+
* UI class overrides for the Switch component.
|
|
60
60
|
*/
|
|
61
61
|
type SwitchUi = UiClass<SwitchUiSlot>;
|
|
62
62
|
//#endregion
|
|
@@ -6,7 +6,7 @@ import { ComputedRef, HTMLAttributes, ShallowRef, TableHTMLAttributes, TdHTMLAtt
|
|
|
6
6
|
|
|
7
7
|
//#region src/components/table/types.d.ts
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Properties for the TableRoot component.
|
|
10
10
|
*/
|
|
11
11
|
interface TableRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
12
12
|
/**
|
|
@@ -15,55 +15,55 @@ interface TableRootProps extends /** @vue-ignore */HTMLAttributes {
|
|
|
15
15
|
dir?: Direction;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Properties for the TableScroll component.
|
|
19
19
|
*/
|
|
20
20
|
interface TableScrollProps extends /** @vue-ignore */HTMLAttributes {}
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Properties for the TableContent component.
|
|
23
23
|
*/
|
|
24
24
|
interface TableContentProps extends /** @vue-ignore */TableHTMLAttributes {}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Properties for the TableHeader component.
|
|
27
27
|
*/
|
|
28
28
|
interface TableHeaderProps extends /** @vue-ignore */HTMLAttributes {}
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Properties for the TableBody component.
|
|
31
31
|
*/
|
|
32
32
|
interface TableBodyProps extends /** @vue-ignore */HTMLAttributes {}
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Properties for the TableFooter component.
|
|
35
35
|
*/
|
|
36
36
|
interface TableFooterProps extends /** @vue-ignore */HTMLAttributes {}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Properties for the TableRow component.
|
|
39
39
|
*/
|
|
40
40
|
interface TableRowProps extends /** @vue-ignore */HTMLAttributes {}
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Properties for the TableHead component.
|
|
43
43
|
*/
|
|
44
44
|
interface TableHeadProps extends /** @vue-ignore */ThHTMLAttributes {}
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Properties for the TableCell component.
|
|
47
47
|
*/
|
|
48
48
|
interface TableCellProps extends /** @vue-ignore */TdHTMLAttributes {}
|
|
49
49
|
/**
|
|
50
|
-
* Available UI slots for the
|
|
50
|
+
* Available UI slots for the Table component.
|
|
51
51
|
*/
|
|
52
52
|
type TableUiSlot = 'root' | 'scroll' | 'content' | 'header' | 'body' | 'footer' | 'row' | 'head' | 'cell' | 'fixed' | 'sortTrigger' | 'filterInput' | 'resizeHandle' | 'treeCell' | 'treeToggle' | 'treeTogglePlaceholder';
|
|
53
53
|
/**
|
|
54
|
-
* UI class overrides for the
|
|
54
|
+
* UI class overrides for the Table component.
|
|
55
55
|
*/
|
|
56
56
|
type TableUi = UiClass<TableUiSlot>;
|
|
57
57
|
/**
|
|
58
|
-
* Type information for
|
|
58
|
+
* Type information for TableBaseData.
|
|
59
59
|
*/
|
|
60
60
|
type TableBaseData = Record<string, any>;
|
|
61
61
|
/**
|
|
62
|
-
* Type information for
|
|
62
|
+
* Type information for TableRowValue.
|
|
63
63
|
*/
|
|
64
64
|
type TableRowValue<T extends TableBaseData = TableBaseData> = Omit<T, 'children'>;
|
|
65
65
|
/**
|
|
66
|
-
* Type information for
|
|
66
|
+
* Type information for TableAlign.
|
|
67
67
|
*/
|
|
68
68
|
type TableAlign = 'start' | 'center' | 'end';
|
|
69
69
|
/**
|
|
@@ -71,15 +71,15 @@ type TableAlign = 'start' | 'center' | 'end';
|
|
|
71
71
|
*/
|
|
72
72
|
type TableColumnType = 'index' | 'selection' | 'expand';
|
|
73
73
|
/**
|
|
74
|
-
* Type information for
|
|
74
|
+
* Type information for TableSortOrder.
|
|
75
75
|
*/
|
|
76
76
|
type TableSortOrder = 'asc' | 'desc';
|
|
77
77
|
/**
|
|
78
|
-
* Type information for
|
|
78
|
+
* Type information for TableUnifiedKey.
|
|
79
79
|
*/
|
|
80
80
|
type TableUnifiedKey = string | number;
|
|
81
81
|
/**
|
|
82
|
-
* State values for
|
|
82
|
+
* State values for TableSortState.
|
|
83
83
|
*/
|
|
84
84
|
interface TableSortState {
|
|
85
85
|
/**
|
|
@@ -92,7 +92,7 @@ interface TableSortState {
|
|
|
92
92
|
order: TableSortOrder;
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
|
-
* Type information for
|
|
95
|
+
* Type information for TableColumnFilterValue.
|
|
96
96
|
*/
|
|
97
97
|
interface TableColumnFilterValue {
|
|
98
98
|
/**
|
|
@@ -105,23 +105,23 @@ interface TableColumnFilterValue {
|
|
|
105
105
|
values?: string[];
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
* Type information for
|
|
108
|
+
* Type information for TableFilterValue.
|
|
109
109
|
*/
|
|
110
110
|
type TableFilterValue = string | TableColumnFilterValue;
|
|
111
111
|
/**
|
|
112
|
-
* State values for
|
|
112
|
+
* State values for TableFilterState.
|
|
113
113
|
*/
|
|
114
114
|
type TableFilterState = Record<string, TableFilterValue>;
|
|
115
115
|
/**
|
|
116
|
-
* State values for
|
|
116
|
+
* State values for TableColumnWidthState.
|
|
117
117
|
*/
|
|
118
118
|
type TableColumnWidthState = Record<string, string>;
|
|
119
119
|
/**
|
|
120
|
-
* Type information for
|
|
120
|
+
* Type information for TableRowChildrenResolver.
|
|
121
121
|
*/
|
|
122
122
|
type TableRowChildrenResolver<T extends TableBaseData = TableBaseData> = (row: T) => T[] | undefined;
|
|
123
123
|
/**
|
|
124
|
-
* Type information for
|
|
124
|
+
* Type information for TableVirtualMeasurement.
|
|
125
125
|
*/
|
|
126
126
|
interface TableVirtualMeasurement {
|
|
127
127
|
/**
|
|
@@ -138,7 +138,7 @@ interface TableVirtualMeasurement {
|
|
|
138
138
|
end: number;
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* Type information for
|
|
141
|
+
* Type information for TableVirtualRange.
|
|
142
142
|
*/
|
|
143
143
|
interface TableVirtualRange {
|
|
144
144
|
/**
|
|
@@ -151,7 +151,7 @@ interface TableVirtualRange {
|
|
|
151
151
|
endIndex: number;
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
154
|
-
* Type information for
|
|
154
|
+
* Type information for TableTreeNode.
|
|
155
155
|
*/
|
|
156
156
|
interface TableTreeNode<T extends TableBaseData = TableBaseData, R extends TableUnifiedKey = TableUnifiedKey> {
|
|
157
157
|
/**
|
|
@@ -180,7 +180,7 @@ interface TableTreeNode<T extends TableBaseData = TableBaseData, R extends Table
|
|
|
180
180
|
hasChildren: boolean;
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
|
-
* Type information for
|
|
183
|
+
* Type information for TableTreeRow.
|
|
184
184
|
*/
|
|
185
185
|
interface TableTreeRow<T extends TableBaseData = TableBaseData, R extends TableUnifiedKey = TableUnifiedKey> {
|
|
186
186
|
/**
|
|
@@ -205,7 +205,7 @@ interface TableTreeRow<T extends TableBaseData = TableBaseData, R extends TableU
|
|
|
205
205
|
hasChildren: boolean;
|
|
206
206
|
}
|
|
207
207
|
/**
|
|
208
|
-
* Type information for
|
|
208
|
+
* Type information for TableVisibleRow.
|
|
209
209
|
*/
|
|
210
210
|
interface TableVisibleRow<T extends TableBaseData = TableBaseData, R extends TableUnifiedKey = TableUnifiedKey> {
|
|
211
211
|
/**
|
|
@@ -218,7 +218,7 @@ interface TableVisibleRow<T extends TableBaseData = TableBaseData, R extends Tab
|
|
|
218
218
|
item: TableTreeRow<T, R>;
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
|
-
* Type information for
|
|
221
|
+
* Type information for TableColumnFilter.
|
|
222
222
|
*/
|
|
223
223
|
interface TableColumnFilter<T extends TableBaseData = TableBaseData> {
|
|
224
224
|
/**
|
|
@@ -245,7 +245,7 @@ interface TableColumnFilter<T extends TableBaseData = TableBaseData> {
|
|
|
245
245
|
}) => boolean;
|
|
246
246
|
}
|
|
247
247
|
/**
|
|
248
|
-
* Type information for
|
|
248
|
+
* Type information for TableColumnFilterOption.
|
|
249
249
|
*/
|
|
250
250
|
interface TableColumnFilterOption {
|
|
251
251
|
/**
|
|
@@ -262,7 +262,7 @@ interface TableColumnFilterOption {
|
|
|
262
262
|
disabled?: boolean;
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
|
-
* Type information for
|
|
265
|
+
* Type information for TableColumnBase.
|
|
266
266
|
*/
|
|
267
267
|
interface TableColumnBase {
|
|
268
268
|
/**
|
|
@@ -303,7 +303,7 @@ interface TableColumnBase {
|
|
|
303
303
|
resizable?: boolean;
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
|
-
* Type information for
|
|
306
|
+
* Type information for TableTypeColumn.
|
|
307
307
|
*/
|
|
308
308
|
interface TableTypeColumn extends TableColumnBase {
|
|
309
309
|
/**
|
|
@@ -328,7 +328,7 @@ interface TableTypeColumn extends TableColumnBase {
|
|
|
328
328
|
filter?: never;
|
|
329
329
|
}
|
|
330
330
|
/**
|
|
331
|
-
* Type information for
|
|
331
|
+
* Type information for TableDataColumn.
|
|
332
332
|
*/
|
|
333
333
|
interface TableDataColumn<T extends TableBaseData = TableBaseData> extends TableColumnBase {
|
|
334
334
|
/**
|
|
@@ -353,7 +353,7 @@ interface TableDataColumn<T extends TableBaseData = TableBaseData> extends Table
|
|
|
353
353
|
filter?: boolean | TableColumnFilter<T>;
|
|
354
354
|
}
|
|
355
355
|
/**
|
|
356
|
-
* Type information for
|
|
356
|
+
* Type information for TableGroupColumn.
|
|
357
357
|
*/
|
|
358
358
|
interface TableGroupColumn<T extends TableBaseData = TableBaseData> extends TableColumnBase {
|
|
359
359
|
/**
|
|
@@ -378,11 +378,11 @@ interface TableGroupColumn<T extends TableBaseData = TableBaseData> extends Tabl
|
|
|
378
378
|
filter?: never;
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
|
-
* Type information for
|
|
381
|
+
* Type information for TableColumn.
|
|
382
382
|
*/
|
|
383
383
|
type TableColumn<T extends TableBaseData = TableBaseData> = TableTypeColumn | TableDataColumn<T> | TableGroupColumn<T>;
|
|
384
384
|
/**
|
|
385
|
-
* Type information for
|
|
385
|
+
* Type information for TableHeaderCell.
|
|
386
386
|
*/
|
|
387
387
|
interface TableHeaderCell<T extends TableBaseData = TableBaseData> {
|
|
388
388
|
/**
|
|
@@ -403,7 +403,7 @@ interface TableHeaderCell<T extends TableBaseData = TableBaseData> {
|
|
|
403
403
|
rowSpan: number;
|
|
404
404
|
}
|
|
405
405
|
/**
|
|
406
|
-
* State values for
|
|
406
|
+
* State values for TableFixedState.
|
|
407
407
|
*/
|
|
408
408
|
interface TableFixedState {
|
|
409
409
|
/**
|
|
@@ -424,7 +424,7 @@ interface TableFixedState {
|
|
|
424
424
|
isFirstEnd: boolean;
|
|
425
425
|
}
|
|
426
426
|
/**
|
|
427
|
-
* Type information for
|
|
427
|
+
* Type information for TableFixedColumnOffsets.
|
|
428
428
|
*/
|
|
429
429
|
interface TableFixedColumnOffsets {
|
|
430
430
|
/**
|
|
@@ -445,7 +445,7 @@ interface TableFixedColumnOffsets {
|
|
|
445
445
|
firstEndKey?: string;
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
|
-
*
|
|
448
|
+
* Properties for the TableSelection component.
|
|
449
449
|
*/
|
|
450
450
|
interface TableSelectionProps<R extends TableUnifiedKey = TableUnifiedKey, M extends boolean = false> {
|
|
451
451
|
/**
|
|
@@ -462,7 +462,7 @@ interface TableSelectionProps<R extends TableUnifiedKey = TableUnifiedKey, M ext
|
|
|
462
462
|
multiple?: M;
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
465
|
-
*
|
|
465
|
+
* Properties for the TableCompactCell component.
|
|
466
466
|
*/
|
|
467
467
|
interface TableCompactCellProps {
|
|
468
468
|
/**
|
|
@@ -479,7 +479,7 @@ interface TableCompactCellProps {
|
|
|
479
479
|
index: number;
|
|
480
480
|
}
|
|
481
481
|
/**
|
|
482
|
-
*
|
|
482
|
+
* Properties for the TableCompactExpandedRow component.
|
|
483
483
|
*/
|
|
484
484
|
interface TableCompactExpandedRowProps {
|
|
485
485
|
/**
|
|
@@ -496,11 +496,11 @@ interface TableCompactExpandedRowProps {
|
|
|
496
496
|
colspan: number;
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
499
|
+
* Properties for the TableCompactHead component.
|
|
500
500
|
*/
|
|
501
501
|
interface TableCompactHeadProps extends Omit<TableHeaderCell, 'key'> {}
|
|
502
502
|
/**
|
|
503
|
-
*
|
|
503
|
+
* Properties for the TableCompactRow component.
|
|
504
504
|
*/
|
|
505
505
|
interface TableCompactRowProps {
|
|
506
506
|
/**
|
|
@@ -517,7 +517,7 @@ interface TableCompactRowProps {
|
|
|
517
517
|
leafColumns: TableColumn[];
|
|
518
518
|
}
|
|
519
519
|
/**
|
|
520
|
-
* Slots for the
|
|
520
|
+
* Slots for the TableCompactCell component.
|
|
521
521
|
*/
|
|
522
522
|
type TableCompactCellSlots<T extends TableBaseData> = { [K in Path<TableRowValue<T>>]?: (props: TableDataCellSlotProps<T, K>) => any } & {
|
|
523
523
|
/**
|
|
@@ -538,7 +538,7 @@ type TableCompactCellSlots<T extends TableBaseData> = { [K in Path<TableRowValue
|
|
|
538
538
|
'tree-toggle'?: (props: TableTreeToggleSlotProps<T>) => any;
|
|
539
539
|
};
|
|
540
540
|
/**
|
|
541
|
-
* Slot
|
|
541
|
+
* Slot properties for the TableHeader component.
|
|
542
542
|
*/
|
|
543
543
|
interface TableHeaderSlotProps<T extends TableBaseData = TableBaseData> {
|
|
544
544
|
/**
|
|
@@ -635,7 +635,7 @@ interface TableHeaderSlotProps<T extends TableBaseData = TableBaseData> {
|
|
|
635
635
|
clearFilter: () => void;
|
|
636
636
|
}
|
|
637
637
|
/**
|
|
638
|
-
* Slot
|
|
638
|
+
* Slot properties for the TableHeaderSelection component.
|
|
639
639
|
*/
|
|
640
640
|
interface TableHeaderSelectionSlotProps<T extends TableBaseData = TableBaseData> {
|
|
641
641
|
/**
|
|
@@ -660,11 +660,11 @@ interface TableHeaderSelectionSlotProps<T extends TableBaseData = TableBaseData>
|
|
|
660
660
|
updateChecked: (value: CheckedState | null) => void;
|
|
661
661
|
}
|
|
662
662
|
/**
|
|
663
|
-
* Slot
|
|
663
|
+
* Slot properties for the TableHeaderFilter component.
|
|
664
664
|
*/
|
|
665
665
|
interface TableHeaderFilterSlotProps<T extends TableBaseData = TableBaseData> extends Pick<TableHeaderSlotProps<T>, 'column' | 'filterValue' | 'filterValues' | 'filterState' | 'filtered' | 'filterOptions' | 'setFilterValue' | 'setFilterValues' | 'setFilterState' | 'toggleFilterOption' | 'isFilterOptionSelected' | 'clearFilter'> {}
|
|
666
666
|
/**
|
|
667
|
-
* Slot
|
|
667
|
+
* Slot properties for the TableHeaderSort component.
|
|
668
668
|
*/
|
|
669
669
|
interface TableHeaderSortSlotProps<T extends TableBaseData = TableBaseData> {
|
|
670
670
|
/**
|
|
@@ -685,7 +685,7 @@ interface TableHeaderSortSlotProps<T extends TableBaseData = TableBaseData> {
|
|
|
685
685
|
toggleSort: () => void;
|
|
686
686
|
}
|
|
687
687
|
/**
|
|
688
|
-
* Slot
|
|
688
|
+
* Slot properties for the TableHeaderResize component.
|
|
689
689
|
*/
|
|
690
690
|
interface TableHeaderResizeSlotProps<T extends TableBaseData = TableBaseData> {
|
|
691
691
|
/**
|
|
@@ -710,7 +710,7 @@ interface TableHeaderResizeSlotProps<T extends TableBaseData = TableBaseData> {
|
|
|
710
710
|
onKeydown: (event: KeyboardEvent) => void;
|
|
711
711
|
}
|
|
712
712
|
/**
|
|
713
|
-
* Slot
|
|
713
|
+
* Slot properties for the TableIndex component.
|
|
714
714
|
*/
|
|
715
715
|
interface TableIndexSlotProps<T extends TableBaseData = TableBaseData> {
|
|
716
716
|
/**
|
|
@@ -735,7 +735,7 @@ interface TableIndexSlotProps<T extends TableBaseData = TableBaseData> {
|
|
|
735
735
|
hasChildren: boolean;
|
|
736
736
|
}
|
|
737
737
|
/**
|
|
738
|
-
* Slot
|
|
738
|
+
* Slot properties for the TableCell component.
|
|
739
739
|
*/
|
|
740
740
|
interface TableCellSlotProps<T extends TableBaseData = TableBaseData> {
|
|
741
741
|
/**
|
|
@@ -768,7 +768,7 @@ interface TableCellSlotProps<T extends TableBaseData = TableBaseData> {
|
|
|
768
768
|
toggleExpand: () => void;
|
|
769
769
|
}
|
|
770
770
|
/**
|
|
771
|
-
* Slot
|
|
771
|
+
* Slot properties for the TableSelection component.
|
|
772
772
|
*/
|
|
773
773
|
interface TableSelectionSlotProps<T extends TableBaseData = TableBaseData> extends TableCellSlotProps<T> {
|
|
774
774
|
/**
|
|
@@ -789,7 +789,7 @@ interface TableSelectionSlotProps<T extends TableBaseData = TableBaseData> exten
|
|
|
789
789
|
toggleSelect: () => void;
|
|
790
790
|
}
|
|
791
791
|
/**
|
|
792
|
-
* Slot
|
|
792
|
+
* Slot properties for the TableExpand component.
|
|
793
793
|
*/
|
|
794
794
|
interface TableExpandSlotProps<T extends TableBaseData = TableBaseData> extends TableCellSlotProps<T> {
|
|
795
795
|
/**
|
|
@@ -798,11 +798,11 @@ interface TableExpandSlotProps<T extends TableBaseData = TableBaseData> extends
|
|
|
798
798
|
ariaLabel: string;
|
|
799
799
|
}
|
|
800
800
|
/**
|
|
801
|
-
* Slot
|
|
801
|
+
* Slot properties for the TableTreeToggle component.
|
|
802
802
|
*/
|
|
803
803
|
type TableTreeToggleSlotProps<T extends TableBaseData = TableBaseData> = TableExpandSlotProps<T>;
|
|
804
804
|
/**
|
|
805
|
-
* Slot
|
|
805
|
+
* Slot properties for the TableExpandedRow component.
|
|
806
806
|
*/
|
|
807
807
|
interface TableExpandedRowSlotProps<T extends TableBaseData = TableBaseData> {
|
|
808
808
|
/**
|
|
@@ -823,7 +823,7 @@ interface TableExpandedRowSlotProps<T extends TableBaseData = TableBaseData> {
|
|
|
823
823
|
hasChildren: boolean;
|
|
824
824
|
}
|
|
825
825
|
/**
|
|
826
|
-
* Slot
|
|
826
|
+
* Slot properties for the TableEmpty component.
|
|
827
827
|
*/
|
|
828
828
|
interface TableEmptySlotProps {
|
|
829
829
|
/**
|
|
@@ -832,7 +832,7 @@ interface TableEmptySlotProps {
|
|
|
832
832
|
columnSize: number;
|
|
833
833
|
}
|
|
834
834
|
/**
|
|
835
|
-
* Slot
|
|
835
|
+
* Slot properties for the TableDataCell component.
|
|
836
836
|
*/
|
|
837
837
|
interface TableDataCellSlotProps<T extends TableBaseData = TableBaseData, K extends Path<TableRowValue<T>> = Path<TableRowValue<T>>> extends TableCellSlotProps<T> {
|
|
838
838
|
/**
|
|
@@ -841,7 +841,7 @@ interface TableDataCellSlotProps<T extends TableBaseData = TableBaseData, K exte
|
|
|
841
841
|
value: PathValue<TableRowValue<T>, K>;
|
|
842
842
|
}
|
|
843
843
|
/**
|
|
844
|
-
*
|
|
844
|
+
* Properties for the TableCompact component.
|
|
845
845
|
*/
|
|
846
846
|
interface TableCompactProps<T extends TableBaseData = TableBaseData, R extends TableUnifiedKey = TableUnifiedKey, M extends boolean = false> extends TableRootProps, TableSelectionProps<R, M> {
|
|
847
847
|
/**
|
|
@@ -917,36 +917,36 @@ interface TableCompactProps<T extends TableBaseData = TableBaseData, R extends T
|
|
|
917
917
|
*/
|
|
918
918
|
defaultExpandAll?: boolean;
|
|
919
919
|
/**
|
|
920
|
-
*
|
|
920
|
+
* Properties forwarded to the content element.
|
|
921
921
|
*/
|
|
922
922
|
contentProps?: TableContentProps;
|
|
923
923
|
/**
|
|
924
|
-
*
|
|
924
|
+
* Properties forwarded to the header element.
|
|
925
925
|
*/
|
|
926
926
|
headerProps?: TableHeaderProps;
|
|
927
927
|
/**
|
|
928
|
-
*
|
|
928
|
+
* Properties forwarded to the body element.
|
|
929
929
|
*/
|
|
930
930
|
bodyProps?: TableBodyProps;
|
|
931
931
|
/**
|
|
932
|
-
*
|
|
932
|
+
* Properties forwarded to the footer element.
|
|
933
933
|
*/
|
|
934
934
|
footerProps?: TableFooterProps;
|
|
935
935
|
/**
|
|
936
|
-
*
|
|
936
|
+
* Properties forwarded to the head element.
|
|
937
937
|
*/
|
|
938
938
|
headProps?: TableHeadProps;
|
|
939
939
|
/**
|
|
940
|
-
*
|
|
940
|
+
* Properties forwarded to the row element.
|
|
941
941
|
*/
|
|
942
942
|
rowProps?: TableRowProps;
|
|
943
943
|
/**
|
|
944
|
-
*
|
|
944
|
+
* Properties forwarded to the cell element.
|
|
945
945
|
*/
|
|
946
946
|
cellProps?: TableCellProps;
|
|
947
947
|
}
|
|
948
948
|
/**
|
|
949
|
-
*
|
|
949
|
+
* Events for the TableCompact component.
|
|
950
950
|
*/
|
|
951
951
|
type TableCompactEmits<R extends TableUnifiedKey = TableUnifiedKey, M extends boolean = false> = {
|
|
952
952
|
/**
|
|
@@ -971,7 +971,7 @@ type TableCompactEmits<R extends TableUnifiedKey = TableUnifiedKey, M extends bo
|
|
|
971
971
|
'update:selected': [selected: M extends true ? R[] : R | undefined];
|
|
972
972
|
};
|
|
973
973
|
/**
|
|
974
|
-
* Slots for the
|
|
974
|
+
* Slots for the TableCompact component.
|
|
975
975
|
*/
|
|
976
976
|
type TableCompactSlots<T extends TableBaseData> = { [K in `header-${Path<TableRowValue<T>>}`]?: (props: TableHeaderSlotProps<T>) => any } & { [K in Path<TableRowValue<T>>]?: (props: TableDataCellSlotProps<T, K>) => any } & {
|
|
977
977
|
/**
|
|
@@ -1042,7 +1042,7 @@ type TableCompactSlots<T extends TableBaseData> = { [K in `header-${Path<TableRo
|
|
|
1042
1042
|
}) => any;
|
|
1043
1043
|
};
|
|
1044
1044
|
/**
|
|
1045
|
-
* Context for the
|
|
1045
|
+
* Context for the TableCompact component.
|
|
1046
1046
|
*/
|
|
1047
1047
|
interface TableCompactContext extends PropsToContext<TableCompactProps, 'indent' | 'headProps' | 'rowProps' | 'cellProps'> {
|
|
1048
1048
|
/**
|