sit-onyx 1.0.0-beta.62 → 1.0.0-beta.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/OnyxAppLayout/OnyxAppLayout.vue.d.ts +3 -2
- package/dist/components/OnyxAvatar/OnyxAvatar.vue.d.ts +3 -2
- package/dist/components/OnyxAvatarStack/OnyxAvatarStack.vue.d.ts +3 -2
- package/dist/components/OnyxBadge/OnyxBadge.vue.d.ts +4 -3
- package/dist/components/OnyxCheckbox/OnyxCheckbox.vue.d.ts +1 -1
- package/dist/components/OnyxCheckboxGroup/OnyxCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/OnyxDataGrid/OnyxDataGrid.vue.d.ts +3 -2
- package/dist/components/OnyxDataGrid/OnyxDataGridRenderer/OnyxDataGridRenderer.vue.d.ts +1 -1
- package/dist/components/OnyxDataGrid/features/HeaderCell.vue.d.ts +9 -12
- package/dist/components/OnyxDataGrid/features/all.d.ts +2 -0
- package/dist/components/OnyxDataGrid/features/index.d.ts +3 -5
- package/dist/components/OnyxDataGrid/features/sorting/SortAction.vue.d.ts +4 -12
- package/dist/components/OnyxDataGrid/features/sorting/sorting.d.ts +4 -4
- package/dist/components/OnyxDataGrid/features/sorting/types.d.ts +55 -0
- package/dist/components/OnyxDataGrid/types.d.ts +6 -1
- package/dist/components/OnyxDialog/OnyxDialog.vue.d.ts +2 -1
- package/dist/components/OnyxEmpty/OnyxEmpty.vue.d.ts +3 -2
- package/dist/components/OnyxErrorTooltip/OnyxErrorTooltip.vue.d.ts +14 -21
- package/dist/components/OnyxForm/OnyxForm.vue.d.ts +3 -2
- package/dist/components/OnyxFormElement/OnyxFormElement.vue.d.ts +3 -2
- package/dist/components/OnyxFormElement/types.d.ts +2 -2
- package/dist/components/OnyxHeadline/OnyxHeadline.vue.d.ts +2 -1
- package/dist/components/OnyxIconButton/OnyxIconButton.vue.d.ts +4 -3
- package/dist/components/OnyxInfoTooltip/OnyxInfoTooltip.vue.d.ts +3 -3
- package/dist/components/OnyxLink/OnyxLink.vue.d.ts +3 -2
- package/dist/components/OnyxListItem/OnyxListItem.vue.d.ts +3 -2
- package/dist/components/OnyxLoadingIndicator/CircleSpinner.vue.d.ts +1 -1
- package/dist/components/OnyxLoadingIndicator/LoadingDots.vue.d.ts +1 -1
- package/dist/components/OnyxMobileNavButton/OnyxMobileNavButton.vue.d.ts +3 -2
- package/dist/components/OnyxMoreList/OnyxMoreList.vue.d.ts +40 -0
- package/dist/components/OnyxMoreList/types.d.ts +27 -0
- package/dist/components/OnyxNavAppArea/OnyxNavAppArea.vue.d.ts +3 -2
- package/dist/components/OnyxNavBar/OnyxNavBar.vue.d.ts +5 -4
- package/dist/components/OnyxNavBar/modules/OnyxColorSchemeMenuItem/OnyxColorSchemeMenuItem.vue.d.ts +1 -1
- package/dist/components/OnyxNavBar/modules/OnyxFlyoutMenu/OnyxFlyoutMenu.vue.d.ts +1 -1
- package/dist/components/OnyxNavBar/modules/OnyxMenuItem/OnyxMenuItem.vue.d.ts +4 -3
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/NavButtonLayout.vue.d.ts +12 -22
- package/dist/components/OnyxNavBar/modules/OnyxNavButton/OnyxNavButton.vue.d.ts +78 -3
- package/dist/components/OnyxNavBar/modules/OnyxNavItem/OnyxNavItem.vue.d.ts +5 -4
- package/dist/components/OnyxNavBar/modules/OnyxNavSeparator/OnyxNavSeparator.vue.d.ts +1 -1
- package/dist/components/OnyxNavBar/modules/OnyxTimer/OnyxTimer.vue.d.ts +1 -1
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/OnyxUserMenu.vue.d.ts +2 -1
- package/dist/components/OnyxNavBar/modules/OnyxUserMenu/UserMenuLayout.vue.d.ts +1 -1
- package/dist/components/OnyxNavBar/types.d.ts +3 -1
- package/dist/components/OnyxPageLayout/OnyxPageLayout.vue.d.ts +3 -2
- package/dist/components/OnyxPagination/SelectPagination.vue.d.ts +1 -1
- package/dist/components/OnyxRadioButton/OnyxRadioButton.vue.d.ts +1 -1
- package/dist/components/OnyxRadioGroup/OnyxRadioGroup.vue.d.ts +1 -1
- package/dist/components/OnyxRipple/OnyxRipple.vue.d.ts +1 -1
- package/dist/components/OnyxSelect/OnyxSelect.vue.d.ts +1 -1
- package/dist/components/OnyxSelectInput/OnyxSelectInput.vue.d.ts +1 -1
- package/dist/components/OnyxSelectOption/OnyxSelectOption.vue.d.ts +4 -3
- package/dist/components/OnyxSkeleton/OnyxSkeleton.vue.d.ts +1 -1
- package/dist/components/OnyxStepper/OnyxStepper.vue.d.ts +4 -4
- package/dist/components/OnyxSwitch/OnyxSwitch.vue.d.ts +1 -1
- package/dist/components/OnyxTable/OnyxTable.vue.d.ts +3 -2
- package/dist/components/OnyxTag/OnyxTag.vue.d.ts +2 -2
- package/dist/components/OnyxTextarea/OnyxTextarea.vue.d.ts +1 -1
- package/dist/components/OnyxToast/StorybookExample.vue.d.ts +1 -1
- package/dist/components/OnyxToastMessage/OnyxToastMessage.vue.d.ts +1 -1
- package/dist/components/OnyxTooltip/OnyxTooltip.vue.d.ts +4 -3
- package/dist/components/OnyxVisuallyHidden/OnyxVisuallyHidden.vue.d.ts +2 -1
- package/dist/components/examples/ComponentShowcase/ComponentShowcase.vue.d.ts +3 -3
- package/dist/components/examples/DataGrid/SortingDataGrid.vue.d.ts +9 -0
- package/dist/components/examples/FormExample/FormExample.vue.d.ts +1 -1
- package/dist/components/examples/GridPlayground/EditGridElementDialog/EditGridElementDialog.vue.d.ts +5 -14
- package/dist/components/examples/GridPlayground/GridBadge/GridBadge.vue.d.ts +3 -15
- package/dist/components/examples/GridPlayground/GridElement/GridElement.vue.d.ts +13 -20
- package/dist/components/examples/GridPlayground/GridOverlay/GridOverlay.vue.d.ts +4 -8
- package/dist/components/examples/GridPlayground/GridPlayground.vue.d.ts +1 -1
- package/dist/composables/useCustomValidity.d.ts +20 -13
- package/dist/composables/useMoreList.d.ts +118 -0
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2087 -1799
- package/dist/playwright/ScreenshotMatrix.vue.d.ts +14 -29
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +0 -1
- package/package.json +11 -8
- package/src/styles/grid.ct.tsx +1 -1
- package/dist/types/breakpoints.d.ts +0 -13
- package/src/styles/variables/themes/onyx.json +0 -120
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxAppLayoutProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/** Navigation area of the application */
|
|
5
6
|
navBar?(): unknown;
|
|
@@ -20,12 +21,12 @@ declare function __VLS_template(): {
|
|
|
20
21
|
appOverlay?(): unknown;
|
|
21
22
|
};
|
|
22
23
|
refs: {};
|
|
23
|
-
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
24
25
|
};
|
|
25
26
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
27
|
declare const __VLS_component: import("vue").DefineComponent<OnyxAppLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxAppLayoutProps> & Readonly<{}>, {
|
|
27
28
|
navBarAlignment: "top" | "left";
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
31
|
export default _default;
|
|
31
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxAvatarProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Optional slot to override the default initials. Will only be used if `type` is `initials`.
|
|
@@ -12,12 +13,12 @@ declare function __VLS_template(): {
|
|
|
12
13
|
default?(): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxAvatarProps> & Readonly<{}>, {
|
|
19
20
|
size: "16px" | "24px" | "32px" | "48px" | "64px" | "96px";
|
|
20
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
|
|
21
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
23
|
export default _default;
|
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: Readonly<{
|
|
3
4
|
/**
|
|
4
5
|
* Default slot to place the avatars.
|
|
@@ -11,10 +12,10 @@ declare function __VLS_template(): {
|
|
|
11
12
|
default(): unknown;
|
|
12
13
|
};
|
|
13
14
|
refs: {};
|
|
14
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
18
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
20
|
export default _default;
|
|
20
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxBadgeProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Badge content.
|
|
@@ -12,13 +13,13 @@ declare function __VLS_template(): {
|
|
|
12
13
|
default?(): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxBadgeProps> & Readonly<{}>, {
|
|
19
|
-
color: import("
|
|
20
|
+
color: import("../../index.ts").OnyxColor;
|
|
20
21
|
dot: boolean;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
24
|
export default _default;
|
|
24
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -4,7 +4,7 @@ declare const _default: <TValue extends SelectOptionValue = SelectOptionValue>(_
|
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onValidityChange?: ((validity: ValidityState) => any) | undefined;
|
|
6
6
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
7
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onValidityChange" | "onUpdate:modelValue"> & OnyxCheckboxProps<TValue>> & import("vue").PublicProps;
|
|
7
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onValidityChange" | "onUpdate:modelValue"> & Partial<{}> & OnyxCheckboxProps<TValue>> & import("vue").PublicProps;
|
|
8
8
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: {};
|
|
@@ -3,7 +3,7 @@ import type { OnyxCheckboxGroupProps } from "./types";
|
|
|
3
3
|
declare const _default: <TValue extends SelectOptionValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly "onUpdate:modelValue"?: ((value: TValue[]) => any) | undefined;
|
|
6
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & OnyxCheckboxGroupProps<TValue>> & import("vue").PublicProps;
|
|
6
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & Partial<{}> & OnyxCheckboxGroupProps<TValue>> & import("vue").PublicProps;
|
|
7
7
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
8
8
|
attrs: any;
|
|
9
9
|
slots: {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type DataGridEntry, type OnyxDataGridProps } from "../..";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { type DataGridFeature } from "./features";
|
|
3
|
+
declare const _default: <TEntry extends DataGridEntry, TFeatures extends DataGridFeature<TEntry, symbol>[] | []>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & Partial<{}> & OnyxDataGridProps<TEntry, TFeatures>> & import("vue").PublicProps;
|
|
4
5
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
5
6
|
attrs: any;
|
|
6
7
|
slots: {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DataGridEntry, DataGridMetadata } from "../types";
|
|
2
2
|
import type { OnyxDataGridRendererProps } from "./types";
|
|
3
3
|
declare const _default: <TEntry extends DataGridEntry, TMetadata extends DataGridMetadata>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & OnyxDataGridRendererProps<TEntry, TMetadata>> & import("vue").PublicProps;
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & Partial<{}> & OnyxDataGridRendererProps<TEntry, TMetadata>> & import("vue").PublicProps;
|
|
5
5
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
6
6
|
attrs: any;
|
|
7
7
|
slots: {};
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* label of the column
|
|
4
|
+
*/
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
1
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
2
9
|
slots: Readonly<{
|
|
3
10
|
actions?(): unknown;
|
|
4
11
|
}> & {
|
|
5
12
|
actions?(): unknown;
|
|
6
13
|
};
|
|
7
14
|
refs: {};
|
|
8
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
9
16
|
};
|
|
10
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
12
|
-
/**
|
|
13
|
-
* label of the column
|
|
14
|
-
*/
|
|
15
|
-
label: string;
|
|
16
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
17
|
-
/**
|
|
18
|
-
* label of the column
|
|
19
|
-
*/
|
|
20
|
-
label: string;
|
|
21
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
20
|
export default _default;
|
|
24
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Component, type WatchSource } from "vue";
|
|
2
|
-
import type { DataGridRendererColumn, DataGridRendererRow } from "
|
|
2
|
+
import type { DataGridRendererColumn, DataGridRendererRow } from "../OnyxDataGridRenderer/types";
|
|
3
3
|
import type { DataGridEntry, DataGridMetadata } from "../types";
|
|
4
4
|
export type DataGridFeature<TEntry extends DataGridEntry, TFeatureName extends symbol> = {
|
|
5
5
|
/**
|
|
@@ -51,8 +51,7 @@ export type DataGridFeature<TEntry extends DataGridEntry, TFeatureName extends s
|
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
54
|
-
export declare
|
|
55
|
-
type ExtractTEntry<T> = T extends DataGridFeature<infer I, symbol>[] ? I : never;
|
|
54
|
+
export declare function createFeature<TFeatureName extends symbol, TArgs extends unknown[]>(featureDefinition: <TEntry extends DataGridEntry>(...args: TArgs) => DataGridFeature<TEntry, TFeatureName>): <TEntry extends DataGridEntry>(...args: TArgs) => DataGridFeature<TEntry, TFeatureName>;
|
|
56
55
|
/**
|
|
57
56
|
* Uses the defined datagrid features to provide factory functions.
|
|
58
57
|
* These factories are to be used to map data and configuration to `OnyxDataGridRenderer` properties.
|
|
@@ -87,11 +86,10 @@ type ExtractTEntry<T> = T extends DataGridFeature<infer I, symbol>[] ? I : never
|
|
|
87
86
|
* </template>
|
|
88
87
|
* ```
|
|
89
88
|
*/
|
|
90
|
-
export declare const useDataGridFeatures: <T extends DataGridFeature<TEntry, symbol>[] | []
|
|
89
|
+
export declare const useDataGridFeatures: <TEntry extends DataGridEntry, T extends DataGridFeature<TEntry, symbol>[] | []>(features: T) => {
|
|
91
90
|
/** Takes the column definition and maps all, calls mutation func and maps at the end to RendererCell */
|
|
92
91
|
createRendererRows: (entries: TEntry[], columns: (keyof TEntry)[]) => DataGridRendererRow<TEntry, DataGridMetadata>[];
|
|
93
92
|
/** Takes the column definition and creates a RenderHeader for each, adds actions from features */
|
|
94
93
|
createRendererColumns: (columns: (keyof TEntry)[]) => DataGridRendererColumn<TEntry, object>[];
|
|
95
94
|
watchSources: WatchSource[];
|
|
96
95
|
};
|
|
97
|
-
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SortDirection } from "./
|
|
2
|
-
|
|
1
|
+
import type { SortDirection } from "./types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
/**
|
|
4
4
|
* Label of this Column.
|
|
5
5
|
*/
|
|
@@ -8,14 +8,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
* The current sorting direction, that should be indicated.
|
|
9
9
|
*/
|
|
10
10
|
sortDirection?: SortDirection;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
* Label of this Column.
|
|
14
|
-
*/
|
|
15
|
-
columnLabel: string;
|
|
16
|
-
/**
|
|
17
|
-
* The current sorting direction, that should be indicated.
|
|
18
|
-
*/
|
|
19
|
-
sortDirection?: SortDirection;
|
|
20
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
13
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DataGridEntry } from "../../types";
|
|
2
|
-
|
|
2
|
+
import type { SortDirection, SortOptions, SortState } from "./types";
|
|
3
3
|
export declare const nextSortDirection: (current?: SortDirection) => SortDirection;
|
|
4
|
-
declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export
|
|
4
|
+
export declare const nextSortState: <TEntry extends DataGridEntry>(column: keyof TEntry, current?: SortState<TEntry>) => SortState<TEntry>;
|
|
5
|
+
export declare const SORTING_FEATURE: unique symbol;
|
|
6
|
+
export declare const useDataGridSorting: <TEntry extends DataGridEntry>(options?: SortOptions<DataGridEntry> | undefined) => import("..").DataGridFeature<TEntry, typeof SORTING_FEATURE>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type MaybeRef, type MaybeRefOrGetter } from "vue";
|
|
2
|
+
import type { DataGridEntry } from "../../types";
|
|
3
|
+
export type SortDirection = "asc" | "desc" | "none";
|
|
4
|
+
/**
|
|
5
|
+
* A function to compare two values of type T.
|
|
6
|
+
* The returned number value indicates the relative order of two values:
|
|
7
|
+
* -1: less than, 0: equal to, 1: greater than
|
|
8
|
+
*/
|
|
9
|
+
export type Compare<T> = (a: T, b: T) => number;
|
|
10
|
+
/**
|
|
11
|
+
* The values by which the data is currently sorted.
|
|
12
|
+
* A `undefined` column or a direction of "none" means no sorting is applied.
|
|
13
|
+
*/
|
|
14
|
+
export type SortState<TEntry extends DataGridEntry> = {
|
|
15
|
+
/**
|
|
16
|
+
* The column which is used to sort by.
|
|
17
|
+
* `undefined` means no sorting is applied.
|
|
18
|
+
*/
|
|
19
|
+
column: keyof TEntry | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* The sorting direction by which the `column` is sorted.
|
|
22
|
+
* `none` means no sorting is applied.
|
|
23
|
+
*/
|
|
24
|
+
direction: SortDirection;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Per column sorting configuration.
|
|
28
|
+
* If at least one column has configuration, sorting must be explicitly enabled for all columns.
|
|
29
|
+
*/
|
|
30
|
+
export type SortColumnOptions<TEntry extends DataGridEntry> = {
|
|
31
|
+
[TKey in keyof TEntry]?: {
|
|
32
|
+
/**
|
|
33
|
+
* If sorting is enabled for this column.
|
|
34
|
+
*/
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* A custom sorting function for this column.
|
|
38
|
+
* By default the `Intl.Collator` with the current locale is used.
|
|
39
|
+
*/
|
|
40
|
+
sortFunc?: Compare<TEntry[TKey]>;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* The options of the sorting feature for the OnyxDataGrid component.
|
|
45
|
+
*/
|
|
46
|
+
export type SortOptions<TEntry extends DataGridEntry> = {
|
|
47
|
+
/**
|
|
48
|
+
* The currently applied sorting. Will be updated by the data grid, can be used for reading, updating and watching the applied sorting.
|
|
49
|
+
*/
|
|
50
|
+
sortState?: MaybeRef<SortState<TEntry>>;
|
|
51
|
+
/**
|
|
52
|
+
* The options for each column, including whether sorting is enabled and a custom sorting function. If undefined, sorting is enabled for all columns (default).
|
|
53
|
+
*/
|
|
54
|
+
columns?: MaybeRefOrGetter<SortColumnOptions<TEntry>>;
|
|
55
|
+
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type { DataGridFeature } from "./features";
|
|
1
2
|
export type DataGridMetadata = Record<string, unknown>;
|
|
2
3
|
/**
|
|
3
4
|
* @experimental The DataGrid is still working in progress and the props will change in the future.
|
|
4
5
|
*/
|
|
5
|
-
export type OnyxDataGridProps<TEntry extends DataGridEntry> = {
|
|
6
|
+
export type OnyxDataGridProps<TEntry extends DataGridEntry = DataGridEntry, TFeatures extends DataGridFeature<TEntry, symbol>[] = DataGridFeature<TEntry, symbol>[]> = {
|
|
7
|
+
/**
|
|
8
|
+
* Features that should be applied.
|
|
9
|
+
*/
|
|
10
|
+
features?: TFeatures;
|
|
6
11
|
/**
|
|
7
12
|
* The order of and which columns should be rendered.
|
|
8
13
|
*/
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxDialogProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Dialog content. For accessibility purposes it is strongly recommended
|
|
@@ -18,7 +19,7 @@ declare function __VLS_template(): {
|
|
|
18
19
|
refs: {
|
|
19
20
|
dialogRef: HTMLDialogElement;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
rootEl: any;
|
|
22
23
|
};
|
|
23
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
25
|
declare const __VLS_component: import("vue").DefineComponent<OnyxDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type DensityProp } from "../../composables/density";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Label / text to display.
|
|
@@ -20,10 +21,10 @@ declare function __VLS_template(): {
|
|
|
20
21
|
icon?(): unknown;
|
|
21
22
|
};
|
|
22
23
|
refs: {};
|
|
23
|
-
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
24
25
|
};
|
|
25
26
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
-
declare const __VLS_component: import("vue").DefineComponent<DensityProp, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DensityProp> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<DensityProp, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DensityProp> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
29
|
export default _default;
|
|
29
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FormMessages } from "../../composables/useCustomValidity";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* The given component will be shown inside a tooltip when
|
|
5
|
+
* errorMessages are provided. Without errorMessages, the
|
|
6
|
+
* component will not be rendered inside a slot.
|
|
7
|
+
*/
|
|
8
|
+
errorMessages?: FormMessages;
|
|
9
|
+
/** We don't show an error if the content is not interactive */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
2
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
3
14
|
slots: Readonly<{
|
|
4
15
|
/**
|
|
5
16
|
* Any component. Will be wrapped in an OnyxTooltip showing
|
|
@@ -16,28 +27,10 @@ declare function __VLS_template(): {
|
|
|
16
27
|
refs: {
|
|
17
28
|
targetRef: HTMLDivElement;
|
|
18
29
|
};
|
|
19
|
-
|
|
30
|
+
rootEl: HTMLDivElement;
|
|
20
31
|
};
|
|
21
32
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
23
|
-
/**
|
|
24
|
-
* The given component will be shown inside a tooltip when
|
|
25
|
-
* errorMessages are provided. Without errorMessages, the
|
|
26
|
-
* component will not be rendered inside a slot.
|
|
27
|
-
*/
|
|
28
|
-
errorMessages?: FormErrorMessages;
|
|
29
|
-
/** We don't show an error if the content is not interactive */
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
32
|
-
/**
|
|
33
|
-
* The given component will be shown inside a tooltip when
|
|
34
|
-
* errorMessages are provided. Without errorMessages, the
|
|
35
|
-
* component will not be rendered inside a slot.
|
|
36
|
-
*/
|
|
37
|
-
errorMessages?: FormErrorMessages;
|
|
38
|
-
/** We don't show an error if the content is not interactive */
|
|
39
|
-
disabled?: boolean;
|
|
40
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
35
|
export default _default;
|
|
43
36
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxFormProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Any form content
|
|
@@ -12,13 +13,13 @@ declare function __VLS_template(): {
|
|
|
12
13
|
default?(): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLFormElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxFormProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxFormProps> & Readonly<{}>, {
|
|
19
20
|
disabled: boolean;
|
|
20
21
|
showError: import("../../composables/useErrorClass").ShowErrorMode;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
24
|
export default _default;
|
|
24
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxFormElementProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/** The place for the actual form element */
|
|
5
6
|
default(props: {
|
|
@@ -12,13 +13,13 @@ declare function __VLS_template(): {
|
|
|
12
13
|
}): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxFormElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxFormElementProps> & Readonly<{}>, {
|
|
19
20
|
required: boolean;
|
|
20
21
|
id: string;
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
24
|
export default _default;
|
|
24
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RequiredMarkerProp } from "../../composables/required";
|
|
2
|
-
import type {
|
|
2
|
+
import type { FormMessages } from "../../composables/useCustomValidity";
|
|
3
3
|
export type OnyxFormElementProps = RequiredMarkerProp & {
|
|
4
4
|
/**
|
|
5
5
|
* The id of a labelable form-related element.
|
|
@@ -39,7 +39,7 @@ export type OnyxFormElementProps = RequiredMarkerProp & {
|
|
|
39
39
|
/**
|
|
40
40
|
* Error messages that inform about causes for invalidity of form components
|
|
41
41
|
*/
|
|
42
|
-
errorMessages?:
|
|
42
|
+
errorMessages?: FormMessages;
|
|
43
43
|
/**
|
|
44
44
|
* Maximum number of characters that are allowed to be entered.
|
|
45
45
|
* Warning: when the value is (pre)set programmatically,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxHeadlineProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Headline content.
|
|
@@ -12,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
12
13
|
default(): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxHeadlineProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxHeadlineProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxIconButtonProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/** Slot for an custom icon. Will have no effect if property `icon` is passed. */
|
|
5
6
|
default(): unknown;
|
|
@@ -8,12 +9,12 @@ declare function __VLS_template(): {
|
|
|
8
9
|
default(): unknown;
|
|
9
10
|
};
|
|
10
11
|
refs: {};
|
|
11
|
-
|
|
12
|
+
rootEl: any;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
15
|
declare const __VLS_component: import("vue").DefineComponent<OnyxIconButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxIconButtonProps> & Readonly<{}>, {
|
|
15
|
-
type: import("
|
|
16
|
-
color: import("
|
|
16
|
+
type: import("../OnyxButton/types.ts").ButtonType;
|
|
17
|
+
color: import("../OnyxButton/types.ts").ButtonColor;
|
|
17
18
|
skeleton: import("../../composables/useSkeletonState").SkeletonInjected;
|
|
18
19
|
disabled: import("../OnyxForm/OnyxForm.core").FormInjected<boolean>;
|
|
19
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OnyxInfoTooltipProps } from "./types";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<OnyxInfoTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxInfoTooltipProps> & Readonly<{}>, {
|
|
3
|
-
color: Extract<import("../../index.
|
|
4
|
-
open: import("../OnyxTooltip/types.
|
|
5
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
3
|
+
color: Extract<import("../../index.ts").OnyxColor, "neutral" | "danger">;
|
|
4
|
+
open: import("../OnyxTooltip/types.ts").TooltipOpen;
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
6
6
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxLinkProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Link label.
|
|
@@ -12,13 +13,13 @@ declare function __VLS_template(): {
|
|
|
12
13
|
default(): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLAnchorElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxLinkProps> & Readonly<{}>, {
|
|
19
20
|
target: import("./types").LinkTarget;
|
|
20
21
|
withExternalIcon: boolean | "auto";
|
|
21
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
24
|
export default _default;
|
|
24
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxListItemProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Option content.
|
|
@@ -12,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
12
13
|
default(): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLLIElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxListItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<OnyxListItemProps> & Readonly<{}>, {
|
|
@@ -20,7 +21,7 @@ declare const __VLS_component: import("vue").DefineComponent<OnyxListItemProps,
|
|
|
20
21
|
checked: boolean;
|
|
21
22
|
selected: boolean;
|
|
22
23
|
active: boolean;
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
24
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
26
|
export default _default;
|
|
26
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OnyxMobileNavButtonProps } from "./types";
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
3
4
|
slots: Readonly<{
|
|
4
5
|
/**
|
|
5
6
|
* Slot for the menu content when it's open.
|
|
@@ -12,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
12
13
|
default(): unknown;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<OnyxMobileNavButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -21,7 +22,7 @@ declare const __VLS_component: import("vue").DefineComponent<OnyxMobileNavButton
|
|
|
21
22
|
"onUpdate:open"?: ((isOpen: boolean) => any) | undefined;
|
|
22
23
|
}>, {
|
|
23
24
|
open: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
27
|
export default _default;
|
|
27
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|