gavia-ui 0.9.1 → 0.11.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/CHANGELOG.md +93 -0
- package/README.md +60 -10
- package/dist/components/WlAccordion.vue.d.ts +22 -32
- package/dist/components/WlAlert.vue.d.ts +30 -5
- package/dist/components/WlAutocomplete.vue.d.ts +38 -42
- package/dist/components/WlAvatar.vue.d.ts +25 -3
- package/dist/components/WlBadge.vue.d.ts +27 -3
- package/dist/components/WlBreadcrumbs.vue.d.ts +27 -5
- package/dist/components/WlButton.vue.d.ts +43 -9
- package/dist/components/WlButtonGroup.vue.d.ts +18 -1
- package/dist/components/WlCalendar.vue.d.ts +34 -10
- package/dist/components/WlCard.vue.d.ts +25 -3
- package/dist/components/WlCheckbox.vue.d.ts +35 -6
- package/dist/components/WlChip.vue.d.ts +29 -6
- package/dist/components/WlColorPicker.vue.d.ts +41 -8
- package/dist/components/WlCommandPalette.vue.d.ts +84 -85
- package/dist/components/WlConfirmDialog.vue.d.ts +38 -3
- package/dist/components/WlDatePicker.vue.d.ts +9 -3
- package/dist/components/WlDialog.vue.d.ts +55 -18
- package/dist/components/WlDivider.vue.d.ts +12 -2
- package/dist/components/WlDrawer.vue.d.ts +52 -15
- package/dist/components/WlEmpty.vue.d.ts +18 -1
- package/dist/components/WlField.vue.d.ts +28 -11
- package/dist/components/WlFilePicker.vue.d.ts +41 -13
- package/dist/components/WlFileUpload.vue.d.ts +39 -9
- package/dist/components/WlFilterBar.vue.d.ts +58 -34
- package/dist/components/WlIcon.vue.d.ts +23 -2
- package/dist/components/WlIconButton.vue.d.ts +38 -8
- package/dist/components/WlInput.vue.d.ts +41 -8
- package/dist/components/WlMenu.vue.d.ts +30 -25
- package/dist/components/WlMultiSelect.vue.d.ts +36 -35
- package/dist/components/WlNavItem.vue.d.ts +30 -5
- package/dist/components/WlNumberInput.vue.d.ts +46 -6
- package/dist/components/WlPageHeader.vue.d.ts +34 -3
- package/dist/components/WlPagination.vue.d.ts +35 -7
- package/dist/components/WlPasswordInput.vue.d.ts +39 -7
- package/dist/components/WlPill.vue.d.ts +23 -2
- package/dist/components/WlPopover.vue.d.ts +39 -13
- package/dist/components/WlProgress.vue.d.ts +45 -4
- package/dist/components/WlRadio.vue.d.ts +26 -29
- package/dist/components/WlSegmented.vue.d.ts +25 -15
- package/dist/components/WlSelect.vue.d.ts +33 -29
- package/dist/components/WlSidebar.vue.d.ts +84 -76
- package/dist/components/WlSkeleton.vue.d.ts +29 -3
- package/dist/components/WlSlider.vue.d.ts +35 -5
- package/dist/components/WlSpinner.vue.d.ts +28 -3
- package/dist/components/WlStatCard.vue.d.ts +30 -6
- package/dist/components/WlSteps.vue.d.ts +27 -4
- package/dist/components/WlSwitch.vue.d.ts +36 -7
- package/dist/components/WlTable.vue.d.ts +27 -32
- package/dist/components/WlTabs.vue.d.ts +31 -29
- package/dist/components/WlTag.vue.d.ts +32 -6
- package/dist/components/WlTextarea.vue.d.ts +38 -9
- package/dist/components/WlTimePicker.vue.d.ts +38 -9
- package/dist/components/WlToast.vue.d.ts +38 -3
- package/dist/components/generic-contracts.d.ts +107 -0
- package/dist/components/index.d.ts +53 -53
- package/dist/components/native-contracts.d.ts +106 -0
- package/dist/composables/useNativeFilePicker.d.ts +1 -1
- package/dist/composables/useWlConfirm.d.ts +8 -3
- package/dist/composables/useWlToast.d.ts +10 -3
- package/dist/config.d.ts +4 -4
- package/dist/design-system/tokens.generated.d.ts +551 -8
- package/dist/design-tokens.json +704 -114
- package/dist/directives/tooltip.d.ts +4 -4
- package/dist/field-types.d.ts +9 -0
- package/dist/index.d.ts +12 -3
- package/dist/index.js +5061 -4329
- package/dist/input-expose-types.d.ts +5 -0
- package/dist/locale-types.d.ts +56 -0
- package/dist/locale.d.ts +5 -12
- package/dist/manifest.json +16 -16
- package/dist/model-types.d.ts +12 -0
- package/dist/native-types.d.ts +28 -0
- package/dist/navigation-types.d.ts +85 -0
- package/dist/overlay-types.d.ts +21 -0
- package/dist/pt-types.d.ts +318 -0
- package/dist/selection-types.d.ts +19 -0
- package/dist/services/confirmation.d.ts +3 -0
- package/dist/services/toast.d.ts +2 -0
- package/dist/table-types.d.ts +33 -0
- package/dist/theme.d.ts +3 -18
- package/dist/types.d.ts +8 -77
- package/dist/utils/options.d.ts +4 -3
- package/dist/utils/templateTeleport.vue.d.ts +1 -0
- package/dist/utils/templateTransition.vue.d.ts +1 -0
- package/dist/utils/useWlId.d.ts +2 -0
- package/package.json +4 -3
- package/styles/base.css +29 -24
- package/themes/gavia-dark.css +463 -0
- package/themes/gavia.css +3 -0
- package/themes/graphite.css +4 -1
- package/themes/newspaper.css +3 -0
- package/themes/white.css +4 -1
|
@@ -10,11 +10,28 @@ declare function __VLS_template(): {
|
|
|
10
10
|
rootEl: HTMLDivElement;
|
|
11
11
|
};
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {}>>>, {}, {}>;
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
15
|
export default _default;
|
|
16
|
+
type __VLS_WithDefaults<P, D> = {
|
|
17
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
18
|
+
default: D[K];
|
|
19
|
+
}> : P[K];
|
|
20
|
+
};
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToOption<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
16
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
31
|
new (): {
|
|
18
32
|
$slots: S;
|
|
19
33
|
};
|
|
20
34
|
};
|
|
35
|
+
type __VLS_PrettifyLocal<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
@@ -1,20 +1,44 @@
|
|
|
1
1
|
import { WlCalendarEvent } from '../types';
|
|
2
|
+
import { WlNoModelModifiers } from '../model-types';
|
|
2
3
|
type __VLS_Props = {
|
|
3
|
-
events?: WlCalendarEvent[];
|
|
4
|
+
events?: readonly WlCalendarEvent[];
|
|
5
|
+
modelModifiers?: WlNoModelModifiers;
|
|
6
|
+
monthModifiers?: WlNoModelModifiers;
|
|
4
7
|
};
|
|
5
8
|
type __VLS_PublicProps = {
|
|
6
9
|
modelValue?: string;
|
|
10
|
+
'modelModifiers'?: Partial<Record<never, true>>;
|
|
7
11
|
"month"?: string;
|
|
12
|
+
'monthModifiers'?: Partial<Record<never, true>>;
|
|
8
13
|
} & __VLS_Props;
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_PublicProps
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
15
|
+
events: () => never[];
|
|
16
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string) => void;
|
|
18
|
+
"update:month": (value: string) => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
20
|
+
events: () => never[];
|
|
21
|
+
}>>> & {
|
|
13
22
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
23
|
"onUpdate:month"?: ((value: string) => any) | undefined;
|
|
15
|
-
}
|
|
16
|
-
events: WlCalendarEvent[];
|
|
17
|
-
}, {}
|
|
18
|
-
gridRef: HTMLDivElement;
|
|
19
|
-
}, HTMLDivElement>;
|
|
24
|
+
}, {
|
|
25
|
+
events: readonly WlCalendarEvent[];
|
|
26
|
+
}, {}>;
|
|
20
27
|
export default _default;
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToOption<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_PrettifyLocal<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { WlPt } from '../pt-types';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
hoverable?: boolean;
|
|
3
|
-
pt?:
|
|
4
|
+
pt?: WlPt<"card">;
|
|
4
5
|
};
|
|
5
6
|
declare function __VLS_template(): {
|
|
6
7
|
attrs: Partial<{}>;
|
|
@@ -15,13 +16,34 @@ declare function __VLS_template(): {
|
|
|
15
16
|
rootEl: HTMLElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
19
20
|
hoverable: boolean;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').
|
|
21
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
22
|
+
hoverable: boolean;
|
|
23
|
+
}>>>, {
|
|
24
|
+
hoverable: boolean;
|
|
25
|
+
}, {}>;
|
|
21
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
27
|
export default _default;
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToOption<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
23
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
43
|
new (): {
|
|
25
44
|
$slots: S;
|
|
26
45
|
};
|
|
27
46
|
};
|
|
47
|
+
type __VLS_PrettifyLocal<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { WlPt } from '../pt-types';
|
|
2
|
+
import { WlNoModelModifiers } from '../model-types';
|
|
1
3
|
type __VLS_Props = {
|
|
4
|
+
modelModifiers?: WlNoModelModifiers;
|
|
2
5
|
disabled?: boolean;
|
|
3
6
|
indeterminate?: boolean;
|
|
4
7
|
invalid?: boolean;
|
|
5
|
-
pt?:
|
|
8
|
+
pt?: WlPt<"checkbox">;
|
|
6
9
|
};
|
|
7
10
|
type __VLS_PublicProps = {
|
|
8
11
|
modelValue?: boolean;
|
|
12
|
+
'modelModifiers'?: Partial<Record<never, true>>;
|
|
9
13
|
} & __VLS_Props;
|
|
10
14
|
declare function __VLS_template(): {
|
|
11
15
|
attrs: Partial<{}>;
|
|
@@ -16,19 +20,44 @@ declare function __VLS_template(): {
|
|
|
16
20
|
rootEl: any;
|
|
17
21
|
};
|
|
18
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
indeterminate: boolean;
|
|
26
|
+
invalid: boolean;
|
|
27
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: boolean) => void;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
indeterminate: boolean;
|
|
32
|
+
invalid: boolean;
|
|
33
|
+
}>>> & {
|
|
22
34
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
23
|
-
}
|
|
35
|
+
}, {
|
|
24
36
|
indeterminate: boolean;
|
|
25
37
|
disabled: boolean;
|
|
26
38
|
invalid: boolean;
|
|
27
|
-
}, {}
|
|
39
|
+
}, {}>;
|
|
28
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
41
|
export default _default;
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToOption<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: import('vue').PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
30
56
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
57
|
new (): {
|
|
32
58
|
$slots: S;
|
|
33
59
|
};
|
|
34
60
|
};
|
|
61
|
+
type __VLS_PrettifyLocal<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
@@ -12,20 +12,43 @@ declare function __VLS_template(): {
|
|
|
12
12
|
rootEl: HTMLButtonElement;
|
|
13
13
|
};
|
|
14
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
},
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
16
|
+
active: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
click: (event: MouseEvent) => void;
|
|
20
|
+
"update:active": (value: boolean) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
22
|
+
active: boolean;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
}>>> & {
|
|
19
25
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
20
26
|
"onUpdate:active"?: ((value: boolean) => any) | undefined;
|
|
21
|
-
}
|
|
27
|
+
}, {
|
|
22
28
|
disabled: boolean;
|
|
23
29
|
active: boolean;
|
|
24
|
-
}, {}
|
|
30
|
+
}, {}>;
|
|
25
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
32
|
export default _default;
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
27
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
48
|
new (): {
|
|
29
49
|
$slots: S;
|
|
30
50
|
};
|
|
31
51
|
};
|
|
52
|
+
type __VLS_PrettifyLocal<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
@@ -4,24 +4,57 @@ import { WlColorPickerSize } from '../types';
|
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
/** v-model — hex color, always emitted normalized as lowercase #rrggbb. */
|
|
6
6
|
modelValue?: string;
|
|
7
|
-
swatches?: string[];
|
|
7
|
+
swatches?: readonly string[];
|
|
8
8
|
size?: WlColorPickerSize;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
invalid?: boolean;
|
|
11
11
|
paletteLabel?: string;
|
|
12
12
|
inputLabel?: string;
|
|
13
13
|
};
|
|
14
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
15
|
+
modelValue: string;
|
|
16
|
+
swatches: () => string[];
|
|
17
|
+
size: string;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
invalid: boolean;
|
|
20
|
+
paletteLabel: string;
|
|
21
|
+
inputLabel: string;
|
|
22
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: string) => void;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
25
|
+
modelValue: string;
|
|
26
|
+
swatches: () => string[];
|
|
27
|
+
size: string;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
invalid: boolean;
|
|
30
|
+
paletteLabel: string;
|
|
31
|
+
inputLabel: string;
|
|
32
|
+
}>>> & {
|
|
17
33
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
}
|
|
19
|
-
size: WlColorPickerSize;
|
|
34
|
+
}, {
|
|
20
35
|
disabled: boolean;
|
|
36
|
+
size: WlColorPickerSize;
|
|
21
37
|
invalid: boolean;
|
|
22
38
|
modelValue: string;
|
|
23
|
-
swatches: string[];
|
|
39
|
+
swatches: readonly string[];
|
|
24
40
|
paletteLabel: string;
|
|
25
41
|
inputLabel: string;
|
|
26
|
-
}, {}
|
|
42
|
+
}, {}>;
|
|
27
43
|
export default _default;
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
+
type __VLS_TypePropsToOption<T> = {
|
|
51
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
+
} : {
|
|
54
|
+
type: import('vue').PropType<T[K]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_PrettifyLocal<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
@@ -1,90 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"query"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { WlDensity, WlSizeSm } from '../types';
|
|
2
|
+
import { WlCommandPaletteGroup, WlCommandPaletteItem } from '../navigation-types';
|
|
3
|
+
import { WlNoModelModifiers, WlTextModelModifiers } from '../model-types';
|
|
4
|
+
declare const _default: <Item extends WlCommandPaletteItem = WlCommandPaletteItem, Group extends WlCommandPaletteGroup<Item> = WlCommandPaletteGroup<Item>>(__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<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
onSelect?: ((item: Item, group: Group) => any) | undefined;
|
|
7
|
+
onClose?: (() => any) | undefined;
|
|
8
|
+
onOpen?: (() => any) | undefined;
|
|
9
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
10
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
11
|
+
"onUpdate:query"?: ((value: string) => any) | undefined;
|
|
12
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
13
|
+
onSelect?: ((item: Item, group: Group) => any) | undefined;
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
onOpen?: (() => any) | undefined;
|
|
16
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
17
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
18
|
+
"onUpdate:query"?: ((value: string) => any) | undefined;
|
|
19
|
+
}, never>, "onSelect" | "onClose" | "onOpen" | "onSearch" | "onUpdate:visible" | "onUpdate:query"> & ({
|
|
20
|
+
visible?: boolean;
|
|
21
|
+
visibleModifiers?: Partial<Record<never, true>>;
|
|
22
|
+
query?: string;
|
|
23
|
+
queryModifiers?: Partial<Record<"trim", true>>;
|
|
24
|
+
} & {
|
|
25
|
+
groups?: readonly (WlCommandPaletteGroup<Item> & Group)[];
|
|
26
|
+
visibleModifiers?: WlNoModelModifiers;
|
|
27
|
+
queryModifiers?: WlTextModelModifiers;
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
emptyText?: string;
|
|
30
|
+
loadingText?: string;
|
|
31
|
+
ariaLabel?: string;
|
|
32
|
+
filter?: boolean;
|
|
33
|
+
shortcut?: boolean;
|
|
34
|
+
closeOnSelect?: boolean;
|
|
35
|
+
loading?: boolean;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
size?: WlSizeSm;
|
|
38
|
+
density?: WlDensity;
|
|
39
|
+
motion?: boolean;
|
|
40
|
+
}) & Partial<{}>> & import('vue').PublicProps;
|
|
41
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{
|
|
42
|
+
focus: () => void | undefined;
|
|
43
|
+
open: () => void;
|
|
44
|
+
close: () => void;
|
|
45
|
+
}>): void;
|
|
46
|
+
attrs: any;
|
|
47
|
+
slots: Readonly<{
|
|
48
|
+
group?(props: {
|
|
49
|
+
group: Group;
|
|
50
|
+
}): unknown;
|
|
51
|
+
item?(props: {
|
|
52
|
+
item: Item;
|
|
53
|
+
group: Group;
|
|
30
54
|
active: boolean;
|
|
31
|
-
}):
|
|
32
|
-
|
|
33
|
-
item:
|
|
34
|
-
group:
|
|
35
|
-
}):
|
|
36
|
-
empty?(
|
|
55
|
+
}): unknown;
|
|
56
|
+
"item-icon"?(props: {
|
|
57
|
+
item: Item;
|
|
58
|
+
group: Group;
|
|
59
|
+
}): unknown;
|
|
60
|
+
empty?(props: {
|
|
37
61
|
query: string;
|
|
38
|
-
}):
|
|
39
|
-
footer?(
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
62
|
+
}): unknown;
|
|
63
|
+
footer?(props: {}): unknown;
|
|
64
|
+
}> & {
|
|
65
|
+
group?(props: {
|
|
66
|
+
group: Group;
|
|
67
|
+
}): unknown;
|
|
68
|
+
item?(props: {
|
|
69
|
+
item: Item;
|
|
70
|
+
group: Group;
|
|
71
|
+
active: boolean;
|
|
72
|
+
}): unknown;
|
|
73
|
+
"item-icon"?(props: {
|
|
74
|
+
item: Item;
|
|
75
|
+
group: Group;
|
|
76
|
+
}): unknown;
|
|
77
|
+
empty?(props: {
|
|
78
|
+
query: string;
|
|
79
|
+
}): unknown;
|
|
80
|
+
footer?(props: {}): unknown;
|
|
44
81
|
};
|
|
45
|
-
|
|
82
|
+
emit: (((evt: "select", item: Item, group: Group) => void) & ((evt: "search", query: string) => void) & ((evt: "close") => void) & ((evt: "open") => void)) & (((evt: "update:visible", value: boolean) => void) & ((evt: "update:query", value: string) => void));
|
|
83
|
+
}>) => import('vue').VNode & {
|
|
84
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
85
|
};
|
|
47
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
48
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
49
|
-
focus: () => void | undefined;
|
|
50
|
-
open: () => void;
|
|
51
|
-
close: () => void;
|
|
52
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
-
search: (query: string) => any;
|
|
54
|
-
select: (item: WlCommandPaletteItem, group: WlCommandPaletteGroup) => any;
|
|
55
|
-
open: () => any;
|
|
56
|
-
close: () => any;
|
|
57
|
-
"update:visible": (value: boolean) => any;
|
|
58
|
-
"update:query": (value: string) => any;
|
|
59
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
60
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
61
|
-
onSelect?: ((item: WlCommandPaletteItem, group: WlCommandPaletteGroup) => any) | undefined;
|
|
62
|
-
onOpen?: (() => any) | undefined;
|
|
63
|
-
onClose?: (() => any) | undefined;
|
|
64
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
65
|
-
"onUpdate:query"?: ((value: string) => any) | undefined;
|
|
66
|
-
}>, {
|
|
67
|
-
filter: boolean;
|
|
68
|
-
size: WlSizeSm;
|
|
69
|
-
disabled: boolean;
|
|
70
|
-
placeholder: string;
|
|
71
|
-
density: WlDensity;
|
|
72
|
-
motion: boolean;
|
|
73
|
-
loading: boolean;
|
|
74
|
-
ariaLabel: string;
|
|
75
|
-
groups: WlCommandPaletteGroup[];
|
|
76
|
-
emptyText: string;
|
|
77
|
-
loadingText: string;
|
|
78
|
-
shortcut: boolean;
|
|
79
|
-
closeOnSelect: boolean;
|
|
80
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
81
|
-
panelRef: HTMLDivElement;
|
|
82
|
-
inputRef: HTMLInputElement;
|
|
83
|
-
}, any>;
|
|
84
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
85
86
|
export default _default;
|
|
86
|
-
type
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
};
|
|
90
|
-
};
|
|
87
|
+
type __VLS_PrettifyLocal<T> = {
|
|
88
|
+
[K in keyof T]: T[K];
|
|
89
|
+
} & {};
|
|
@@ -1,9 +1,44 @@
|
|
|
1
|
+
import { WlPt } from '../pt-types';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
group?: string;
|
|
3
4
|
motion?: boolean;
|
|
4
|
-
pt?:
|
|
5
|
+
pt?: WlPt<"confirmdialog">;
|
|
5
6
|
};
|
|
6
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: Readonly<{}>;
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
15
|
+
motion: undefined;
|
|
16
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
17
|
+
motion: undefined;
|
|
18
|
+
}>>>, {
|
|
7
19
|
motion: boolean;
|
|
8
|
-
}, {}
|
|
20
|
+
}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
9
22
|
export default _default;
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_PrettifyLocal<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import { WlPt } from '../pt-types';
|
|
2
|
+
import { WlNoModelModifiers } from '../model-types';
|
|
1
3
|
import { WlDatePickerModel, WlDatePickerSelectionMode, WlSizeSm } from '../types';
|
|
2
4
|
declare const _default: <Mode extends WlDatePickerSelectionMode = "single">(__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<{
|
|
3
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
-
|
|
5
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps
|
|
6
|
+
"onUpdate:modelValue"?: ((value: WlDatePickerModel<NoInfer<Mode>>) => any) | undefined;
|
|
7
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
8
|
+
"onUpdate:modelValue"?: ((value: WlDatePickerModel<NoInfer<Mode>>) => any) | undefined;
|
|
9
|
+
}, never>, "onUpdate:modelValue"> & ({
|
|
6
10
|
modelValue?: WlDatePickerModel<NoInfer<Mode>>;
|
|
11
|
+
modelModifiers?: Partial<Record<never, true>>;
|
|
7
12
|
} & {
|
|
13
|
+
modelModifiers?: WlNoModelModifiers;
|
|
8
14
|
placeholder?: string;
|
|
9
15
|
size?: WlSizeSm;
|
|
10
16
|
disabled?: boolean;
|
|
@@ -17,7 +23,7 @@ declare const _default: <Mode extends WlDatePickerSelectionMode = "single">(__VL
|
|
|
17
23
|
startLabel?: string;
|
|
18
24
|
endLabel?: string;
|
|
19
25
|
motion?: boolean;
|
|
20
|
-
pt?:
|
|
26
|
+
pt?: WlPt<"datepicker">;
|
|
21
27
|
}) & Partial<{}>> & import('vue').PublicProps;
|
|
22
28
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
23
29
|
attrs: any;
|