@contentstudio/ui 0.2.25 → 0.2.26-rc.26
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/index.d.ts +7520 -47
- package/package.json +1 -1
- package/dist/App.vue.d.ts +0 -2
- package/dist/components/Accordion/Accordion.vue.d.ts +0 -58
- package/dist/components/Accordion/AccordionItem.vue.d.ts +0 -63
- package/dist/components/Accordion/index.d.ts +0 -3
- package/dist/components/Accordion/types.d.ts +0 -15
- package/dist/components/ActionIcon/ActionIcon.vue.d.ts +0 -105
- package/dist/components/ActionIcon/index.d.ts +0 -2
- package/dist/components/ActionIcon/types.d.ts +0 -53
- package/dist/components/Alert/Alert.vue.d.ts +0 -94
- package/dist/components/Alert/index.d.ts +0 -4
- package/dist/components/Alert/types.d.ts +0 -30
- package/dist/components/Avatar/Avatar.vue.d.ts +0 -106
- package/dist/components/Avatar/AvatarGroup.vue.d.ts +0 -76
- package/dist/components/Avatar/index.d.ts +0 -5
- package/dist/components/Avatar/types.d.ts +0 -58
- package/dist/components/Avatar/utils.d.ts +0 -9
- package/dist/components/Badge/Badge.vue.d.ts +0 -109
- package/dist/components/Badge/index.d.ts +0 -2
- package/dist/components/Badge/types.d.ts +0 -35
- package/dist/components/Breadcrumbs/Breadcrumbs.vue.d.ts +0 -80
- package/dist/components/Breadcrumbs/index.d.ts +0 -3
- package/dist/components/Breadcrumbs/types.d.ts +0 -23
- package/dist/components/Button/Button.vue.d.ts +0 -85
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/types.d.ts +0 -40
- package/dist/components/Card/Card.vue.d.ts +0 -202
- package/dist/components/Card/CardSection.vue.d.ts +0 -57
- package/dist/components/Card/index.d.ts +0 -4
- package/dist/components/Card/types.d.ts +0 -31
- package/dist/components/Checkbox/Checkbox.vue.d.ts +0 -94
- package/dist/components/Checkbox/index.d.ts +0 -4
- package/dist/components/Checkbox/types.d.ts +0 -20
- package/dist/components/Chip/Chip.vue.d.ts +0 -108
- package/dist/components/Chip/index.d.ts +0 -4
- package/dist/components/Chip/types.d.ts +0 -48
- package/dist/components/ClientExtensionDemo/index.d.ts +0 -1
- package/dist/components/ClientExtensionDemo.vue.d.ts +0 -2
- package/dist/components/Collapsible/Collapsible.vue.d.ts +0 -77
- package/dist/components/Collapsible/index.d.ts +0 -4
- package/dist/components/Collapsible/types.d.ts +0 -9
- package/dist/components/Dialog/Dialog.vue.d.ts +0 -151
- package/dist/components/Dialog/index.d.ts +0 -4
- package/dist/components/Dialog/types.d.ts +0 -28
- package/dist/components/Drawer/Drawer.vue.d.ts +0 -134
- package/dist/components/Drawer/index.d.ts +0 -4
- package/dist/components/Drawer/types.d.ts +0 -61
- package/dist/components/Dropdown/Dropdown.vue.d.ts +0 -131
- package/dist/components/Dropdown/DropdownItem.vue.d.ts +0 -64
- package/dist/components/Dropdown/index.d.ts +0 -7
- package/dist/components/Dropdown/types.d.ts +0 -41
- package/dist/components/DropdownMenu/DropdownMenu.vue.d.ts +0 -109
- package/dist/components/DropdownMenu/index.d.ts +0 -3
- package/dist/components/HoverCard/HoverCard.vue.d.ts +0 -104
- package/dist/components/HoverCard/HoverCardTarget.vue.d.ts +0 -49
- package/dist/components/HoverCard/index.d.ts +0 -384
- package/dist/components/HoverCard/types.d.ts +0 -40
- package/dist/components/HoverCard/useHoverCard.d.ts +0 -20
- package/dist/components/Icon/Icon.vue.d.ts +0 -15
- package/dist/components/Icon/index.d.ts +0 -4
- package/dist/components/Icon/types.d.ts +0 -12
- package/dist/components/Indicator/Indicator.vue.d.ts +0 -129
- package/dist/components/Indicator/index.d.ts +0 -2
- package/dist/components/Indicator/types.d.ts +0 -29
- package/dist/components/ListItem/ListItem.vue.d.ts +0 -64
- package/dist/components/ListItem/index.d.ts +0 -6
- package/dist/components/ListItem/types.d.ts +0 -7
- package/dist/components/Loader/Loader.vue.d.ts +0 -65
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Loader/types.d.ts +0 -16
- package/dist/components/Loader/variants/BarsLoader.vue.d.ts +0 -35
- package/dist/components/Loader/variants/DotsLoader.vue.d.ts +0 -35
- package/dist/components/Loader/variants/OvalLoader.vue.d.ts +0 -39
- package/dist/components/Modal/MessageBoxConfirm.vue.d.ts +0 -275
- package/dist/components/Modal/MessageBoxOk.vue.d.ts +0 -207
- package/dist/components/Modal/Modal.vue.d.ts +0 -494
- package/dist/components/Modal/directive.d.ts +0 -14
- package/dist/components/Modal/index.d.ts +0 -7
- package/dist/components/Modal/plugin.d.ts +0 -59
- package/dist/components/Modal/types.d.ts +0 -79
- package/dist/components/Pagination/Pagination.vue.d.ts +0 -84
- package/dist/components/Pagination/index.d.ts +0 -3
- package/dist/components/Pagination/types.d.ts +0 -32
- package/dist/components/Pill/Pill.vue.d.ts +0 -84
- package/dist/components/Pill/index.d.ts +0 -2
- package/dist/components/Pill/types.d.ts +0 -21
- package/dist/components/Popover/Popover.vue.d.ts +0 -197
- package/dist/components/Popover/index.d.ts +0 -4
- package/dist/components/Popover/types.d.ts +0 -67
- package/dist/components/Progress/Progress.vue.d.ts +0 -138
- package/dist/components/Progress/index.d.ts +0 -4
- package/dist/components/Progress/types.d.ts +0 -44
- package/dist/components/Radio/Radio.vue.d.ts +0 -99
- package/dist/components/Radio/index.d.ts +0 -2
- package/dist/components/Radio/types.d.ts +0 -53
- package/dist/components/RangeSlider/RangeSlider.vue.d.ts +0 -175
- package/dist/components/RangeSlider/index.d.ts +0 -2
- package/dist/components/RangeSlider/types.d.ts +0 -115
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/SearchInput/types.d.ts +0 -52
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +0 -97
- package/dist/components/SegmentedControl/index.d.ts +0 -4
- package/dist/components/SegmentedControl/types.d.ts +0 -55
- package/dist/components/Select/Select.vue.d.ts +0 -123
- package/dist/components/Select/index.d.ts +0 -2
- package/dist/components/Select/types.d.ts +0 -22
- package/dist/components/Slider/Slider.vue.d.ts +0 -164
- package/dist/components/Slider/index.d.ts +0 -3
- package/dist/components/Slider/types.d.ts +0 -145
- package/dist/components/SplitButton/SplitButton.vue.d.ts +0 -105
- package/dist/components/SplitButton/index.d.ts +0 -2
- package/dist/components/SplitButton/types.d.ts +0 -22
- package/dist/components/Stepper/Stepper.vue.d.ts +0 -65
- package/dist/components/Stepper/StepperItem.vue.d.ts +0 -79
- package/dist/components/Stepper/index.d.ts +0 -3
- package/dist/components/Stepper/types.d.ts +0 -14
- package/dist/components/Switch/Switch.vue.d.ts +0 -117
- package/dist/components/Switch/index.d.ts +0 -4
- package/dist/components/Switch/types.d.ts +0 -55
- package/dist/components/Table/Table.vue.d.ts +0 -78
- package/dist/components/Table/index.d.ts +0 -2
- package/dist/components/Table/types.d.ts +0 -25
- package/dist/components/Tabs/Tabs.vue.d.ts +0 -78
- package/dist/components/Tabs/TabsList.vue.d.ts +0 -52
- package/dist/components/Tabs/TabsPanel.vue.d.ts +0 -38
- package/dist/components/Tabs/TabsTab.vue.d.ts +0 -108
- package/dist/components/Tabs/index.d.ts +0 -5
- package/dist/components/Tabs/types.d.ts +0 -69
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/types.d.ts +0 -47
- package/dist/components/Textarea/index.d.ts +0 -2
- package/dist/components/Textarea/types.d.ts +0 -54
- package/dist/components/ThemeProvider/ThemeProvider.vue.d.ts +0 -88
- package/dist/components/ThemeProvider/index.d.ts +0 -1
- package/dist/components/ThemeToggle/ThemeToggle.vue.d.ts +0 -46
- package/dist/components/ThemeToggle/index.d.ts +0 -1
- package/dist/components/Toast/CustomToast.vue.d.ts +0 -50
- package/dist/components/Toast/Toast.vue.d.ts +0 -154
- package/dist/components/Toast/index.d.ts +0 -7
- package/dist/components/Toast/plugin.d.ts +0 -70
- package/dist/components/Toast/types.d.ts +0 -93
- package/dist/components/index.d.ts +0 -35
- package/dist/composables/index.d.ts +0 -1
- package/dist/composables/useDropdown.d.ts +0 -23
- package/dist/composables/useTheme.d.ts +0 -189
- package/dist/composables/useThemeContext.d.ts +0 -193
- package/dist/composables/useThemeMode.d.ts +0 -21
- package/dist/directives/click-away/index.d.ts +0 -2
- package/dist/main.d.ts +0 -0
- package/dist/theme/darkMode.d.ts +0 -17
- package/dist/theme/extensions.d.ts +0 -50
- package/dist/theme/generator.d.ts +0 -31
- package/dist/theme/tailwind.d.ts +0 -10
- package/dist/theme/types.d.ts +0 -47
- package/dist/types/common.d.ts +0 -14
- package/dist/types/index.d.ts +0 -70
- package/dist/utils/colors.d.ts +0 -89
- package/dist/utils/forms.d.ts +0 -35
- package/dist/utils/position.d.ts +0 -11
- package/dist/utils/radius.d.ts +0 -2
- package/dist/utils/shadows.d.ts +0 -9
- package/dist/utils/sizes.d.ts +0 -7
- package/dist/utils/states.d.ts +0 -28
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
/** Whether to add a border */
|
|
3
|
-
withBorder?: boolean;
|
|
4
|
-
/** Whether to inherit padding from Card */
|
|
5
|
-
inheritPadding?: boolean;
|
|
6
|
-
/** Component to render as */
|
|
7
|
-
component?: string;
|
|
8
|
-
/** Custom class names */
|
|
9
|
-
class?: string;
|
|
10
|
-
/** Custom border color (only applied when withBorder is true) */
|
|
11
|
-
borderColor?: string;
|
|
12
|
-
}
|
|
13
|
-
declare function __VLS_template(): {
|
|
14
|
-
slots: {
|
|
15
|
-
default?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
refs: {};
|
|
18
|
-
attrs: Partial<{}>;
|
|
19
|
-
};
|
|
20
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
22
|
-
withBorder: boolean;
|
|
23
|
-
inheritPadding: boolean;
|
|
24
|
-
component: string;
|
|
25
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
26
|
-
withBorder: boolean;
|
|
27
|
-
inheritPadding: boolean;
|
|
28
|
-
component: string;
|
|
29
|
-
}>>>, {
|
|
30
|
-
component: string;
|
|
31
|
-
withBorder: boolean;
|
|
32
|
-
inheritPadding: boolean;
|
|
33
|
-
}>;
|
|
34
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
|
-
export default _default;
|
|
36
|
-
type __VLS_WithDefaults<P, D> = {
|
|
37
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
38
|
-
default: D[K];
|
|
39
|
-
}> : P[K];
|
|
40
|
-
};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
-
new (): {
|
|
52
|
-
$slots: S;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
type __VLS_PrettifyLocal<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ComponentRadius } from '../../types/common';
|
|
2
|
-
export interface CardProps {
|
|
3
|
-
/** Border radius */
|
|
4
|
-
radius?: ComponentRadius;
|
|
5
|
-
/** Whether to add a border */
|
|
6
|
-
withBorder?: boolean;
|
|
7
|
-
/** Whether to add a shadow */
|
|
8
|
-
shadow?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'soft';
|
|
9
|
-
/** Custom padding */
|
|
10
|
-
padding?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'none';
|
|
11
|
-
/** Component to render as */
|
|
12
|
-
component?: string;
|
|
13
|
-
/** Custom class names */
|
|
14
|
-
class?: string;
|
|
15
|
-
/** Custom border color (only applied when withBorder is true) */
|
|
16
|
-
borderColor?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface CardSectionProps {
|
|
19
|
-
/** Whether to add a border */
|
|
20
|
-
withBorder?: boolean;
|
|
21
|
-
/** Whether to inherit padding from Card */
|
|
22
|
-
inheritPadding?: boolean;
|
|
23
|
-
/** Component to render as */
|
|
24
|
-
component?: string;
|
|
25
|
-
/** Custom class names */
|
|
26
|
-
class?: string;
|
|
27
|
-
/** Custom border color (only applied when withBorder is true) */
|
|
28
|
-
borderColor?: string;
|
|
29
|
-
}
|
|
30
|
-
export type CardRadius = NonNullable<CardProps['radius']>;
|
|
31
|
-
export type CardShadow = NonNullable<CardProps['shadow']>;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ColorVariant } from '../../utils/colors';
|
|
2
|
-
import { CheckboxVariant } from './types';
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
-
modelValue?: boolean | any[];
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
value?: string | number;
|
|
7
|
-
id?: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
color?: ColorVariant;
|
|
10
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
11
|
-
labelPosition?: "left" | "right";
|
|
12
|
-
labelSize?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
13
|
-
description?: string;
|
|
14
|
-
error?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
indeterminate?: boolean;
|
|
17
|
-
variant?: CheckboxVariant;
|
|
18
|
-
labelClass?: string;
|
|
19
|
-
}>, {
|
|
20
|
-
modelValue: boolean;
|
|
21
|
-
checked: boolean;
|
|
22
|
-
size: string;
|
|
23
|
-
labelPosition: string;
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
indeterminate: boolean;
|
|
26
|
-
autoContrast: boolean;
|
|
27
|
-
variant: string;
|
|
28
|
-
color: string;
|
|
29
|
-
labelSize: string;
|
|
30
|
-
labelClass: string;
|
|
31
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
-
"update:modelValue": (value: boolean) => void;
|
|
33
|
-
change: (value: boolean) => void;
|
|
34
|
-
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
35
|
-
modelValue?: boolean | any[];
|
|
36
|
-
checked?: boolean;
|
|
37
|
-
value?: string | number;
|
|
38
|
-
id?: string;
|
|
39
|
-
label?: string;
|
|
40
|
-
color?: ColorVariant;
|
|
41
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
42
|
-
labelPosition?: "left" | "right";
|
|
43
|
-
labelSize?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
44
|
-
description?: string;
|
|
45
|
-
error?: string;
|
|
46
|
-
disabled?: boolean;
|
|
47
|
-
indeterminate?: boolean;
|
|
48
|
-
variant?: CheckboxVariant;
|
|
49
|
-
labelClass?: string;
|
|
50
|
-
}>, {
|
|
51
|
-
modelValue: boolean;
|
|
52
|
-
checked: boolean;
|
|
53
|
-
size: string;
|
|
54
|
-
labelPosition: string;
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
indeterminate: boolean;
|
|
57
|
-
autoContrast: boolean;
|
|
58
|
-
variant: string;
|
|
59
|
-
color: string;
|
|
60
|
-
labelSize: string;
|
|
61
|
-
labelClass: string;
|
|
62
|
-
}>>> & {
|
|
63
|
-
onChange?: ((value: boolean) => any) | undefined;
|
|
64
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
65
|
-
}, {
|
|
66
|
-
disabled: boolean;
|
|
67
|
-
variant: CheckboxVariant;
|
|
68
|
-
color: ColorVariant;
|
|
69
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
70
|
-
modelValue: boolean | any[];
|
|
71
|
-
checked: boolean;
|
|
72
|
-
labelPosition: "left" | "right";
|
|
73
|
-
labelSize: "xs" | "sm" | "md" | "lg" | "xl";
|
|
74
|
-
indeterminate: boolean;
|
|
75
|
-
labelClass: string;
|
|
76
|
-
}>;
|
|
77
|
-
export default _default;
|
|
78
|
-
type __VLS_WithDefaults<P, D> = {
|
|
79
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
80
|
-
default: D[K];
|
|
81
|
-
}> : P[K];
|
|
82
|
-
};
|
|
83
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
84
|
-
type __VLS_TypePropsToOption<T> = {
|
|
85
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
86
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
87
|
-
} : {
|
|
88
|
-
type: import('vue').PropType<T[K]>;
|
|
89
|
-
required: true;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
type __VLS_PrettifyLocal<T> = {
|
|
93
|
-
[K in keyof T]: T[K];
|
|
94
|
-
} & {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ColorVariant } from '../../utils/colors';
|
|
2
|
-
import { Size } from '../../utils/sizes';
|
|
3
|
-
export type CheckboxVariant = 'filled' | 'outlined';
|
|
4
|
-
export interface CheckboxProps {
|
|
5
|
-
modelValue?: boolean | any[];
|
|
6
|
-
value?: string | number;
|
|
7
|
-
id?: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
color?: ColorVariant;
|
|
10
|
-
size?: Size;
|
|
11
|
-
radius?: 'sm' | 'md' | 'lg' | 'full';
|
|
12
|
-
labelPosition?: 'left' | 'right';
|
|
13
|
-
description?: string;
|
|
14
|
-
error?: string;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
indeterminate?: boolean;
|
|
17
|
-
iconColor?: ColorVariant;
|
|
18
|
-
autoContrast?: boolean;
|
|
19
|
-
variant?: CheckboxVariant;
|
|
20
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
slots: {
|
|
3
|
-
checkIcon?(_: {}): any;
|
|
4
|
-
label?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
11
|
-
modelValue?: boolean;
|
|
12
|
-
label?: string;
|
|
13
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
14
|
-
variant?: "filled" | "outline" | "light";
|
|
15
|
-
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
|
|
16
|
-
radius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
|
|
17
|
-
checked?: boolean;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
withRemoveButton?: boolean;
|
|
20
|
-
withCheckIcon?: boolean;
|
|
21
|
-
checkIconPosition?: "left" | "right";
|
|
22
|
-
allowDeselect?: boolean;
|
|
23
|
-
loading?: boolean;
|
|
24
|
-
}>, {
|
|
25
|
-
modelValue: boolean;
|
|
26
|
-
label: string;
|
|
27
|
-
size: string;
|
|
28
|
-
variant: string;
|
|
29
|
-
color: string;
|
|
30
|
-
radius: string;
|
|
31
|
-
checked: boolean;
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
withRemoveButton: boolean;
|
|
34
|
-
withCheckIcon: boolean;
|
|
35
|
-
checkIconPosition: string;
|
|
36
|
-
allowDeselect: boolean;
|
|
37
|
-
loading: boolean;
|
|
38
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
"update:modelValue": (value: boolean) => void;
|
|
40
|
-
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
41
|
-
modelValue?: boolean;
|
|
42
|
-
label?: string;
|
|
43
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
44
|
-
variant?: "filled" | "outline" | "light";
|
|
45
|
-
color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
|
|
46
|
-
radius?: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
|
|
47
|
-
checked?: boolean;
|
|
48
|
-
disabled?: boolean;
|
|
49
|
-
withRemoveButton?: boolean;
|
|
50
|
-
withCheckIcon?: boolean;
|
|
51
|
-
checkIconPosition?: "left" | "right";
|
|
52
|
-
allowDeselect?: boolean;
|
|
53
|
-
loading?: boolean;
|
|
54
|
-
}>, {
|
|
55
|
-
modelValue: boolean;
|
|
56
|
-
label: string;
|
|
57
|
-
size: string;
|
|
58
|
-
variant: string;
|
|
59
|
-
color: string;
|
|
60
|
-
radius: string;
|
|
61
|
-
checked: boolean;
|
|
62
|
-
disabled: boolean;
|
|
63
|
-
withRemoveButton: boolean;
|
|
64
|
-
withCheckIcon: boolean;
|
|
65
|
-
checkIconPosition: string;
|
|
66
|
-
allowDeselect: boolean;
|
|
67
|
-
loading: boolean;
|
|
68
|
-
}>>> & {
|
|
69
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
70
|
-
}, {
|
|
71
|
-
disabled: boolean;
|
|
72
|
-
variant: "filled" | "outline" | "light";
|
|
73
|
-
color: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "dark" | "light";
|
|
74
|
-
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
75
|
-
radius: "xs" | "sm" | "md" | "lg" | "xl" | "none" | "full";
|
|
76
|
-
loading: boolean;
|
|
77
|
-
label: string;
|
|
78
|
-
modelValue: boolean;
|
|
79
|
-
checked: boolean;
|
|
80
|
-
withCheckIcon: boolean;
|
|
81
|
-
checkIconPosition: "left" | "right";
|
|
82
|
-
withRemoveButton: boolean;
|
|
83
|
-
allowDeselect: boolean;
|
|
84
|
-
}>;
|
|
85
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
86
|
-
export default _default;
|
|
87
|
-
type __VLS_WithDefaults<P, D> = {
|
|
88
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
89
|
-
default: D[K];
|
|
90
|
-
}> : P[K];
|
|
91
|
-
};
|
|
92
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
|
-
type __VLS_TypePropsToOption<T> = {
|
|
94
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
95
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
96
|
-
} : {
|
|
97
|
-
type: import('vue').PropType<T[K]>;
|
|
98
|
-
required: true;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
102
|
-
new (): {
|
|
103
|
-
$slots: S;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
type __VLS_PrettifyLocal<T> = {
|
|
107
|
-
[K in keyof T]: T[K];
|
|
108
|
-
} & {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export type ChipSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
-
export type ChipVariant = 'filled' | 'outline' | 'light';
|
|
3
|
-
export type ChipColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'dark' | 'light';
|
|
4
|
-
export interface ChipProps {
|
|
5
|
-
/**
|
|
6
|
-
* Model value for v-model binding
|
|
7
|
-
*/
|
|
8
|
-
modelValue?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* The label text to display inside the chip
|
|
11
|
-
*/
|
|
12
|
-
label?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The size of the chip
|
|
15
|
-
* @default 'md'
|
|
16
|
-
*/
|
|
17
|
-
size?: ChipSize;
|
|
18
|
-
/**
|
|
19
|
-
* The variant style of the chip
|
|
20
|
-
* @default 'filled'
|
|
21
|
-
*/
|
|
22
|
-
variant?: ChipVariant;
|
|
23
|
-
/**
|
|
24
|
-
* The color theme of the chip
|
|
25
|
-
* @default 'primary'
|
|
26
|
-
*/
|
|
27
|
-
color?: ChipColor;
|
|
28
|
-
/**
|
|
29
|
-
* Whether the chip is disabled
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Whether to show the check icon
|
|
35
|
-
* @default true
|
|
36
|
-
*/
|
|
37
|
-
withCheckIcon?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether the chip appears in a loading state
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
|
-
loading?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Whether the chip can be unchecked after being checked
|
|
45
|
-
* @default true
|
|
46
|
-
*/
|
|
47
|
-
allowDeselect?: boolean;
|
|
48
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ClientExtensionDemo } from '../ClientExtensionDemo.vue';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
interface CollapsibleProps {
|
|
2
|
-
modelValue?: boolean;
|
|
3
|
-
defaultOpen?: boolean;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
class?: string;
|
|
6
|
-
hideArrow?: boolean;
|
|
7
|
-
hideTrigger?: boolean;
|
|
8
|
-
buttonClass?: string;
|
|
9
|
-
selectedClass?: string;
|
|
10
|
-
}
|
|
11
|
-
declare function __VLS_template(): {
|
|
12
|
-
slots: {
|
|
13
|
-
trigger?(_: {
|
|
14
|
-
open: boolean;
|
|
15
|
-
}): any;
|
|
16
|
-
default?(_: {}): any;
|
|
17
|
-
};
|
|
18
|
-
refs: {};
|
|
19
|
-
attrs: Partial<{}>;
|
|
20
|
-
};
|
|
21
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CollapsibleProps>, {
|
|
23
|
-
modelValue: undefined;
|
|
24
|
-
defaultOpen: boolean;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
class: string;
|
|
27
|
-
hideArrow: boolean;
|
|
28
|
-
hideTrigger: boolean;
|
|
29
|
-
buttonClass: string;
|
|
30
|
-
selectedClass: string;
|
|
31
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
|
-
"update:modelValue": (value: boolean) => void;
|
|
33
|
-
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CollapsibleProps>, {
|
|
34
|
-
modelValue: undefined;
|
|
35
|
-
defaultOpen: boolean;
|
|
36
|
-
disabled: boolean;
|
|
37
|
-
class: string;
|
|
38
|
-
hideArrow: boolean;
|
|
39
|
-
hideTrigger: boolean;
|
|
40
|
-
buttonClass: string;
|
|
41
|
-
selectedClass: string;
|
|
42
|
-
}>>> & {
|
|
43
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
44
|
-
}, {
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
class: string;
|
|
47
|
-
modelValue: boolean;
|
|
48
|
-
defaultOpen: boolean;
|
|
49
|
-
buttonClass: string;
|
|
50
|
-
selectedClass: string;
|
|
51
|
-
hideArrow: boolean;
|
|
52
|
-
hideTrigger: boolean;
|
|
53
|
-
}>;
|
|
54
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
|
-
export default _default;
|
|
56
|
-
type __VLS_WithDefaults<P, D> = {
|
|
57
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
58
|
-
default: D[K];
|
|
59
|
-
}> : P[K];
|
|
60
|
-
};
|
|
61
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
-
type __VLS_TypePropsToOption<T> = {
|
|
63
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
-
} : {
|
|
66
|
-
type: import('vue').PropType<T[K]>;
|
|
67
|
-
required: true;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
|
-
new (): {
|
|
72
|
-
$slots: S;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
type __VLS_PrettifyLocal<T> = {
|
|
76
|
-
[K in keyof T]: T[K];
|
|
77
|
-
} & {};
|
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import { ComponentSize } from '../../types/common';
|
|
2
|
-
interface Props {
|
|
3
|
-
/** Dialog title */
|
|
4
|
-
title?: string;
|
|
5
|
-
/** Dialog content */
|
|
6
|
-
content?: string;
|
|
7
|
-
/** Whether the dialog is opened */
|
|
8
|
-
opened: boolean;
|
|
9
|
-
/** Dialog size */
|
|
10
|
-
size?: ComponentSize;
|
|
11
|
-
/** Whether to show close button */
|
|
12
|
-
withCloseButton?: boolean;
|
|
13
|
-
/** Called when close button is clicked */
|
|
14
|
-
onClose?: () => void;
|
|
15
|
-
/** Position of the dialog */
|
|
16
|
-
position?: {
|
|
17
|
-
top?: number | string;
|
|
18
|
-
right?: number | string;
|
|
19
|
-
bottom?: number | string;
|
|
20
|
-
left?: number | string;
|
|
21
|
-
};
|
|
22
|
-
/** Whether to keep the component mounted when hidden */
|
|
23
|
-
keepMounted?: boolean;
|
|
24
|
-
/** z-index value */
|
|
25
|
-
zIndex?: number;
|
|
26
|
-
/** Icon position: left, top, or none */
|
|
27
|
-
iconPosition?: 'left' | 'top' | 'none';
|
|
28
|
-
/** Whether to center all content */
|
|
29
|
-
centered?: boolean;
|
|
30
|
-
/** Whether to make action buttons full width */
|
|
31
|
-
filledCTA?: boolean;
|
|
32
|
-
/** Whether to show default action buttons */
|
|
33
|
-
withDefaultActions?: boolean;
|
|
34
|
-
/** Text for the cancel button */
|
|
35
|
-
cancelText?: string;
|
|
36
|
-
/** Text for the confirm button */
|
|
37
|
-
confirmText?: string;
|
|
38
|
-
/** Color for the confirm button */
|
|
39
|
-
confirmButtonColor?: 'primary' | 'success' | 'danger' | 'warning' | 'info';
|
|
40
|
-
/** Called when cancel button is clicked */
|
|
41
|
-
onCancel?: () => void;
|
|
42
|
-
/** Called when confirm button is clicked */
|
|
43
|
-
onConfirm?: () => void;
|
|
44
|
-
}
|
|
45
|
-
declare function __VLS_template(): {
|
|
46
|
-
slots: {
|
|
47
|
-
icon?(_: {}): any;
|
|
48
|
-
icon?(_: {}): any;
|
|
49
|
-
header?(_: {}): any;
|
|
50
|
-
header?(_: {}): any;
|
|
51
|
-
header?(_: {}): any;
|
|
52
|
-
body?(_: {}): any;
|
|
53
|
-
body?(_: {}): any;
|
|
54
|
-
body?(_: {}): any;
|
|
55
|
-
default?(_: {}): any;
|
|
56
|
-
default?(_: {}): any;
|
|
57
|
-
default?(_: {}): any;
|
|
58
|
-
footer?(_: {}): any;
|
|
59
|
-
footer?(_: {}): any;
|
|
60
|
-
footer?(_: {}): any;
|
|
61
|
-
actions?(_: {}): any;
|
|
62
|
-
actions?(_: {}): any;
|
|
63
|
-
actions?(_: {}): any;
|
|
64
|
-
};
|
|
65
|
-
refs: {};
|
|
66
|
-
attrs: Partial<{}>;
|
|
67
|
-
};
|
|
68
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
69
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
70
|
-
size: string;
|
|
71
|
-
withCloseButton: boolean;
|
|
72
|
-
keepMounted: boolean;
|
|
73
|
-
position: () => {
|
|
74
|
-
bottom: string;
|
|
75
|
-
right: string;
|
|
76
|
-
};
|
|
77
|
-
zIndex: number;
|
|
78
|
-
iconPosition: string;
|
|
79
|
-
centered: boolean;
|
|
80
|
-
filledCTA: boolean;
|
|
81
|
-
withDefaultActions: boolean;
|
|
82
|
-
cancelText: string;
|
|
83
|
-
confirmText: string;
|
|
84
|
-
confirmButtonColor: string;
|
|
85
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
86
|
-
close: () => void;
|
|
87
|
-
cancel: () => void;
|
|
88
|
-
confirm: () => void;
|
|
89
|
-
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
90
|
-
size: string;
|
|
91
|
-
withCloseButton: boolean;
|
|
92
|
-
keepMounted: boolean;
|
|
93
|
-
position: () => {
|
|
94
|
-
bottom: string;
|
|
95
|
-
right: string;
|
|
96
|
-
};
|
|
97
|
-
zIndex: number;
|
|
98
|
-
iconPosition: string;
|
|
99
|
-
centered: boolean;
|
|
100
|
-
filledCTA: boolean;
|
|
101
|
-
withDefaultActions: boolean;
|
|
102
|
-
cancelText: string;
|
|
103
|
-
confirmText: string;
|
|
104
|
-
confirmButtonColor: string;
|
|
105
|
-
}>>> & {
|
|
106
|
-
onClose?: (() => any) | undefined;
|
|
107
|
-
onCancel?: (() => any) | undefined;
|
|
108
|
-
onConfirm?: (() => any) | undefined;
|
|
109
|
-
}, {
|
|
110
|
-
size: ComponentSize;
|
|
111
|
-
position: {
|
|
112
|
-
top?: number | string;
|
|
113
|
-
right?: number | string;
|
|
114
|
-
bottom?: number | string;
|
|
115
|
-
left?: number | string;
|
|
116
|
-
};
|
|
117
|
-
zIndex: number;
|
|
118
|
-
withCloseButton: boolean;
|
|
119
|
-
keepMounted: boolean;
|
|
120
|
-
iconPosition: "left" | "top" | "none";
|
|
121
|
-
centered: boolean;
|
|
122
|
-
filledCTA: boolean;
|
|
123
|
-
withDefaultActions: boolean;
|
|
124
|
-
cancelText: string;
|
|
125
|
-
confirmText: string;
|
|
126
|
-
confirmButtonColor: "primary" | "success" | "danger" | "warning" | "info";
|
|
127
|
-
}>;
|
|
128
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
129
|
-
export default _default;
|
|
130
|
-
type __VLS_WithDefaults<P, D> = {
|
|
131
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
132
|
-
default: D[K];
|
|
133
|
-
}> : P[K];
|
|
134
|
-
};
|
|
135
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
136
|
-
type __VLS_TypePropsToOption<T> = {
|
|
137
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
138
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
139
|
-
} : {
|
|
140
|
-
type: import('vue').PropType<T[K]>;
|
|
141
|
-
required: true;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
145
|
-
new (): {
|
|
146
|
-
$slots: S;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
type __VLS_PrettifyLocal<T> = {
|
|
150
|
-
[K in keyof T]: T[K];
|
|
151
|
-
} & {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ComponentSize, ThemeColor } from '../../types/common';
|
|
2
|
-
export interface DialogProps {
|
|
3
|
-
/** Dialog title */
|
|
4
|
-
title?: string;
|
|
5
|
-
/** Dialog content */
|
|
6
|
-
content?: string;
|
|
7
|
-
/** Whether the dialog is opened */
|
|
8
|
-
opened: boolean;
|
|
9
|
-
/** Dialog size */
|
|
10
|
-
size?: ComponentSize;
|
|
11
|
-
/** Whether to show close button */
|
|
12
|
-
withCloseButton?: boolean;
|
|
13
|
-
/** Called when close button is clicked */
|
|
14
|
-
onClose?: () => void;
|
|
15
|
-
/** Position of the dialog */
|
|
16
|
-
position?: {
|
|
17
|
-
top?: number | string;
|
|
18
|
-
right?: number | string;
|
|
19
|
-
bottom?: number | string;
|
|
20
|
-
left?: number | string;
|
|
21
|
-
};
|
|
22
|
-
/** Whether to keep the component mounted when hidden */
|
|
23
|
-
keepMounted?: boolean;
|
|
24
|
-
/** Color variant */
|
|
25
|
-
color?: ThemeColor;
|
|
26
|
-
/** z-index value */
|
|
27
|
-
zIndex?: number;
|
|
28
|
-
}
|