@wpic/ui 0.3.5
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/CollapseToggle.vue.d.ts +10 -0
- package/dist/components/ConfirmModal.vue.d.ts +16 -0
- package/dist/components/Modal.vue.d.ts +27 -0
- package/dist/components/SearchSelect.vue.d.ts +19 -0
- package/dist/components/ToastContainer.vue.d.ts +2 -0
- package/dist/components/TreeSelect.vue.d.ts +32 -0
- package/dist/components/WActionMenu.vue.d.ts +12 -0
- package/dist/components/WActionMenuItem.vue.d.ts +20 -0
- package/dist/components/WActionPanel.vue.d.ts +22 -0
- package/dist/components/WAlert.vue.d.ts +24 -0
- package/dist/components/WAvatar.vue.d.ts +7 -0
- package/dist/components/WBadge.vue.d.ts +21 -0
- package/dist/components/WBanner.vue.d.ts +17 -0
- package/dist/components/WBatchActionBar.vue.d.ts +22 -0
- package/dist/components/WButton.vue.d.ts +25 -0
- package/dist/components/WButtonGroup.vue.d.ts +12 -0
- package/dist/components/WCard.vue.d.ts +44 -0
- package/dist/components/WChatPanel.vue.d.ts +278 -0
- package/dist/components/WCheckbox.vue.d.ts +22 -0
- package/dist/components/WDatePicker.vue.d.ts +31 -0
- package/dist/components/WDateRangePicker.vue.d.ts +26 -0
- package/dist/components/WEmptyState.vue.d.ts +27 -0
- package/dist/components/WEmptyValue.vue.d.ts +17 -0
- package/dist/components/WFileList.vue.d.ts +36 -0
- package/dist/components/WFilter.vue.d.ts +21 -0
- package/dist/components/WFilterBar.vue.d.ts +69 -0
- package/dist/components/WFormActions.vue.d.ts +14 -0
- package/dist/components/WFormLabel.vue.d.ts +15 -0
- package/dist/components/WImageTile.vue.d.ts +11 -0
- package/dist/components/WInput.vue.d.ts +35 -0
- package/dist/components/WLoader.vue.d.ts +12 -0
- package/dist/components/WModal.vue.d.ts +28 -0
- package/dist/components/WMonthPicker.vue.d.ts +23 -0
- package/dist/components/WOptionPopover.vue.d.ts +19 -0
- package/dist/components/WPagination.vue.d.ts +16 -0
- package/dist/components/WPillGroup.vue.d.ts +35 -0
- package/dist/components/WPopover.vue.d.ts +44 -0
- package/dist/components/WProgress.vue.d.ts +10 -0
- package/dist/components/WSearchSelect.vue.d.ts +25 -0
- package/dist/components/WSegmentedControl.vue.d.ts +22 -0
- package/dist/components/WSelect.vue.d.ts +67 -0
- package/dist/components/WSelectOption.vue.d.ts +22 -0
- package/dist/components/WSidePanel.vue.d.ts +29 -0
- package/dist/components/WSkeleton.vue.d.ts +7 -0
- package/dist/components/WSlidePanel.vue.d.ts +25 -0
- package/dist/components/WSlider.vue.d.ts +22 -0
- package/dist/components/WSpinner.vue.d.ts +15 -0
- package/dist/components/WSpreadsheet.vue.d.ts +99 -0
- package/dist/components/WStatCard.vue.d.ts +21 -0
- package/dist/components/WTable.vue.d.ts +87 -0
- package/dist/components/WTabs.vue.d.ts +28 -0
- package/dist/components/WTag.vue.d.ts +27 -0
- package/dist/components/WTagInput.vue.d.ts +71 -0
- package/dist/components/WTailwindColorPicker.vue.d.ts +21 -0
- package/dist/components/WTextarea.vue.d.ts +15 -0
- package/dist/components/WToggle.vue.d.ts +22 -0
- package/dist/components/WTooltip.vue.d.ts +19 -0
- package/dist/components/WTwoColumnFormSection.vue.d.ts +19 -0
- package/dist/components/WWorkflowNav.vue.d.ts +20 -0
- package/dist/components/form/FormDate.vue.d.ts +23 -0
- package/dist/components/form/FormInput.vue.d.ts +15 -0
- package/dist/components/form/FormLabel.vue.d.ts +12 -0
- package/dist/components/form/FormSelect.vue.d.ts +18 -0
- package/dist/components/form/FormTextarea.vue.d.ts +14 -0
- package/dist/components/icons/MarketplaceIcon.vue.d.ts +9 -0
- package/dist/components/icons/ProviderLogo.vue.d.ts +11 -0
- package/dist/components/table/Table.vue.d.ts +12 -0
- package/dist/components/table/TableBody.vue.d.ts +12 -0
- package/dist/components/table/TableCell.vue.d.ts +17 -0
- package/dist/components/table/TableHead.vue.d.ts +12 -0
- package/dist/components/table/TableRow.vue.d.ts +15 -0
- package/dist/composables/useRecentItems.d.ts +9 -0
- package/dist/index.d.ts +82 -0
- package/dist/stores/toast.d.ts +148 -0
- package/dist/wpic-ui.cjs +9318 -0
- package/dist/wpic-ui.css +284 -0
- package/dist/wpic-ui.js +17570 -0
- package/package.json +51 -0
- package/src/components/chat/DB_SCHEMA.md +440 -0
- package/src/components/chat/LLM_STREAMING.md +390 -0
- package/src/components/chat/UI_INTEGRATION.md +273 -0
- package/src/style.css +282 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string | null;
|
|
3
|
+
min?: string;
|
|
4
|
+
max?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
displayLabel?: string;
|
|
7
|
+
locale?: string;
|
|
8
|
+
weekStartsOn?: 0 | 1;
|
|
9
|
+
size?: 'sm' | 'md';
|
|
10
|
+
variant?: 'default' | 'subtle';
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
clearable?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string) => any;
|
|
17
|
+
change: (value: string) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
variant: "default" | "subtle";
|
|
23
|
+
size: "sm" | "md";
|
|
24
|
+
modelValue: string | null;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
clearable: boolean;
|
|
27
|
+
locale: string;
|
|
28
|
+
weekStartsOn: 0 | 1;
|
|
29
|
+
ariaLabel: string;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface DateRange {
|
|
2
|
+
since: string;
|
|
3
|
+
until: string;
|
|
4
|
+
preset?: string;
|
|
5
|
+
}
|
|
6
|
+
export type DateRangePreset = 'today' | 'yesterday' | '7d' | '30d' | '90d' | 'mtd' | 'ytd' | 'custom';
|
|
7
|
+
interface Preset {
|
|
8
|
+
value: DateRangePreset;
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
modelValue?: DateRange | null;
|
|
13
|
+
presets?: Preset[];
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: DateRange | null) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: DateRange | null) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
placeholder: string;
|
|
23
|
+
clearable: boolean;
|
|
24
|
+
presets: Preset[];
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
type EmptyStateSize = 'section' | 'page';
|
|
3
|
+
type EmptyStateAlign = 'center' | 'left';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
icon?: Component;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
size?: EmptyStateSize;
|
|
9
|
+
align?: EmptyStateAlign;
|
|
10
|
+
showIcon?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_5: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_5) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
size: EmptyStateSize;
|
|
18
|
+
align: EmptyStateAlign;
|
|
19
|
+
showIcon: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
label: string;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
files: any[];
|
|
3
|
+
nameKey?: string;
|
|
4
|
+
idKey?: string;
|
|
5
|
+
statusKey?: string;
|
|
6
|
+
selectedId?: number | string | null;
|
|
7
|
+
removable?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {
|
|
10
|
+
item: any;
|
|
11
|
+
}, __VLS_7: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
right?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
empty?: (props: typeof __VLS_7) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
select: (item: any) => any;
|
|
19
|
+
remove: (item: any) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onSelect?: ((item: any) => any) | undefined;
|
|
22
|
+
onRemove?: ((item: any) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
removable: boolean;
|
|
25
|
+
nameKey: string;
|
|
26
|
+
idKey: string;
|
|
27
|
+
statusKey: string;
|
|
28
|
+
selectedId: number | string | null;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: <T>(__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<{
|
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
4
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
|
5
|
+
options: {
|
|
6
|
+
label: string;
|
|
7
|
+
value: T;
|
|
8
|
+
}[];
|
|
9
|
+
modelValue: T;
|
|
10
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
11
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {};
|
|
14
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
15
|
+
}>) => import('vue').VNode & {
|
|
16
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_PrettifyLocal<T> = {
|
|
20
|
+
[K in keyof T]: T[K];
|
|
21
|
+
} & {};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
type SearchFilter = {
|
|
2
|
+
type: 'search';
|
|
3
|
+
modelKey: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
clearable?: boolean;
|
|
6
|
+
width?: string;
|
|
7
|
+
};
|
|
8
|
+
type SelectFilter = {
|
|
9
|
+
type: 'select';
|
|
10
|
+
modelKey: string;
|
|
11
|
+
options: {
|
|
12
|
+
value: string;
|
|
13
|
+
label: string;
|
|
14
|
+
icon?: any;
|
|
15
|
+
}[];
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
width?: string;
|
|
18
|
+
searchable?: boolean;
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type DateFilter = {
|
|
22
|
+
type: 'date';
|
|
23
|
+
modelKey: string;
|
|
24
|
+
width?: string;
|
|
25
|
+
placeholder?: string;
|
|
26
|
+
locale?: string;
|
|
27
|
+
min?: string;
|
|
28
|
+
max?: string;
|
|
29
|
+
clearable?: boolean;
|
|
30
|
+
};
|
|
31
|
+
type PillsFilter = {
|
|
32
|
+
type: 'pills';
|
|
33
|
+
modelKey: string;
|
|
34
|
+
options: {
|
|
35
|
+
value: string;
|
|
36
|
+
label: string;
|
|
37
|
+
icon?: any;
|
|
38
|
+
dot?: string;
|
|
39
|
+
}[];
|
|
40
|
+
size?: 'sm' | 'md';
|
|
41
|
+
multiple?: boolean;
|
|
42
|
+
grouped?: boolean;
|
|
43
|
+
responsive?: 'select';
|
|
44
|
+
};
|
|
45
|
+
type DividerItem = {
|
|
46
|
+
type: 'divider';
|
|
47
|
+
};
|
|
48
|
+
type SpacerItem = {
|
|
49
|
+
type: 'spacer';
|
|
50
|
+
};
|
|
51
|
+
type RefreshItem = {
|
|
52
|
+
type: 'refresh';
|
|
53
|
+
};
|
|
54
|
+
export type FilterItem = SearchFilter | SelectFilter | DateFilter | PillsFilter | DividerItem | SpacerItem | RefreshItem;
|
|
55
|
+
type __VLS_Props = {
|
|
56
|
+
filters: FilterItem[] | FilterItem[][];
|
|
57
|
+
modelValue: Record<string, any>;
|
|
58
|
+
loading?: boolean;
|
|
59
|
+
};
|
|
60
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
+
"update:modelValue": (val: Record<string, any>) => any;
|
|
62
|
+
change: () => any;
|
|
63
|
+
refresh: () => any;
|
|
64
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
65
|
+
"onUpdate:modelValue"?: ((val: Record<string, any>) => any) | undefined;
|
|
66
|
+
onChange?: (() => any) | undefined;
|
|
67
|
+
onRefresh?: (() => any) | undefined;
|
|
68
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
leading?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_3) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
required?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
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, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
src: string;
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
alt?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
click: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClick?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon?: object | Function;
|
|
3
|
+
label?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
type?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
+
clearable?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
variant?: 'default' | 'subtle';
|
|
12
|
+
prepend?: string | number;
|
|
13
|
+
append?: string | number;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
16
|
+
modelValue?: string;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_12: {}, __VLS_14: {};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
prepend?: (props: typeof __VLS_12) => any;
|
|
21
|
+
} & {
|
|
22
|
+
append?: (props: typeof __VLS_14) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WLoader — centered loading state with spinner and label.
|
|
3
|
+
*/
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
text?: string;
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
size: "sm" | "md" | "lg";
|
|
10
|
+
text: string;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
subtitle?: string;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
5
|
+
zIndex?: string;
|
|
6
|
+
hideClose?: boolean;
|
|
7
|
+
noPadding?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_5: {}, __VLS_11: {}, __VLS_13: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
header?: (props: typeof __VLS_5) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_11) => any;
|
|
14
|
+
} & {
|
|
15
|
+
footer?: (props: typeof __VLS_13) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
close: () => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onClose?: (() => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string | null;
|
|
3
|
+
min?: string;
|
|
4
|
+
max?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
locale?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
change: (value: string) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
onChange?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
modelValue: string | null;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
locale: string;
|
|
21
|
+
ariaLabel: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface PopoverOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
icon?: any;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
modelValue: string | null;
|
|
9
|
+
options: PopoverOption[];
|
|
10
|
+
anchor: HTMLElement | null;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
|
+
close: () => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: number;
|
|
3
|
+
total: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
syncUrl?: boolean;
|
|
6
|
+
queryParam?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (p: number) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((p: number) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
syncUrl: boolean;
|
|
14
|
+
queryParam: string;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface Option {
|
|
2
|
+
value: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: any;
|
|
5
|
+
iconClass?: string;
|
|
6
|
+
dot?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
options: Option[];
|
|
11
|
+
multiple?: boolean;
|
|
12
|
+
size?: 'sm' | 'md';
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
grouped?: boolean;
|
|
15
|
+
selectionIndicator?: boolean;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
18
|
+
modelValue?: string | number | (string | number)[];
|
|
19
|
+
};
|
|
20
|
+
declare var __VLS_9: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
append?: (props: typeof __VLS_9) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (value: string | number | (string | number)[] | undefined) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string | number | (string | number)[] | undefined) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
/** Accepts an HTMLElement, a Vue ref (Ref<HTMLElement | null>), or null */
|
|
5
|
+
anchor: HTMLElement | Ref<HTMLElement | null> | null;
|
|
6
|
+
placement?: 'top' | 'bottom' | 'left' | 'right' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
7
|
+
width?: string;
|
|
8
|
+
minWidth?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
minHeight?: string;
|
|
11
|
+
maxHeight?: string;
|
|
12
|
+
/** Allow the floating panel itself to scroll. Disable when slot sections own their scrolling. */
|
|
13
|
+
panelScroll?: boolean;
|
|
14
|
+
offset?: number;
|
|
15
|
+
/** Make the panel at least as wide as the anchor element */
|
|
16
|
+
matchAnchorWidth?: boolean;
|
|
17
|
+
/** Keep the first computed placement while the panel remains open */
|
|
18
|
+
freezePositionOnOpen?: boolean;
|
|
19
|
+
flip?: boolean;
|
|
20
|
+
zIndex?: string | number;
|
|
21
|
+
/** Extra DOM elements (e.g. Teleport'd submenus) that should not trigger close */
|
|
22
|
+
extraPanels?: (HTMLElement | null)[];
|
|
23
|
+
};
|
|
24
|
+
declare var __VLS_5: {};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
default?: (props: typeof __VLS_5) => any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
close: () => any;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onClose?: (() => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
zIndex: string | number;
|
|
34
|
+
panelScroll: boolean;
|
|
35
|
+
freezePositionOnOpen: boolean;
|
|
36
|
+
flip: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: number;
|
|
3
|
+
max?: number;
|
|
4
|
+
color?: string;
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
label?: string;
|
|
7
|
+
animated?: boolean;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type Option = {
|
|
2
|
+
id: string | number;
|
|
3
|
+
name: string;
|
|
4
|
+
separatorBefore?: boolean;
|
|
5
|
+
groupLabel?: string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
modelValue?: string | number | (string | number)[];
|
|
9
|
+
options?: Option[];
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
size?: 'sm' | 'md' | 'lg';
|
|
12
|
+
variant?: 'default' | 'subtle';
|
|
13
|
+
multiple?: boolean;
|
|
14
|
+
maxLabels?: number;
|
|
15
|
+
pinnedOptions?: Option[];
|
|
16
|
+
popoverZIndex?: string | number;
|
|
17
|
+
};
|
|
18
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (v: any) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
size: "sm" | "md" | "lg";
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface WSegmentedControlOption {
|
|
2
|
+
value: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
modelValue: string | number | null | undefined;
|
|
8
|
+
options: WSegmentedControlOption[];
|
|
9
|
+
size?: 'md' | 'sm' | 'xs';
|
|
10
|
+
variant?: 'default' | 'subtle';
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string | number) => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
variant: "default" | "subtle";
|
|
19
|
+
size: "md" | "sm" | "xs";
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
type OptionRaw = string | number | {
|
|
2
|
+
value: string | number;
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: any;
|
|
5
|
+
iconKey?: string;
|
|
6
|
+
meta?: string;
|
|
7
|
+
metaVariant?: string;
|
|
8
|
+
separatorBefore?: boolean;
|
|
9
|
+
groupLabel?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
description?: string;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
modelValue?: string | number | (string | number)[] | null;
|
|
15
|
+
options?: OptionRaw[];
|
|
16
|
+
multiple?: boolean;
|
|
17
|
+
searchable?: boolean;
|
|
18
|
+
creatable?: boolean;
|
|
19
|
+
label?: string;
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
allLabel?: string;
|
|
22
|
+
maxLabels?: number;
|
|
23
|
+
error?: boolean;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
loading?: boolean;
|
|
26
|
+
clearable?: boolean;
|
|
27
|
+
size?: 'sm' | 'md' | 'lg';
|
|
28
|
+
variant?: 'default' | 'subtle' | 'plain';
|
|
29
|
+
popoverZIndex?: string | number;
|
|
30
|
+
popoverWidth?: string;
|
|
31
|
+
popoverFlip?: boolean;
|
|
32
|
+
popoverMaxHeight?: string;
|
|
33
|
+
};
|
|
34
|
+
declare var __VLS_39: {
|
|
35
|
+
option: {
|
|
36
|
+
value: string | number;
|
|
37
|
+
label: string;
|
|
38
|
+
icon?: any;
|
|
39
|
+
iconKey?: string;
|
|
40
|
+
meta?: string;
|
|
41
|
+
metaVariant?: string;
|
|
42
|
+
separatorBefore?: boolean;
|
|
43
|
+
groupLabel?: string;
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
description?: string;
|
|
46
|
+
};
|
|
47
|
+
isSelected: boolean;
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Slots = {} & {
|
|
50
|
+
option?: (props: typeof __VLS_39) => any;
|
|
51
|
+
};
|
|
52
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
+
"update:modelValue": (v: any) => any;
|
|
54
|
+
"open-change": (v: boolean) => any;
|
|
55
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
56
|
+
"onUpdate:modelValue"?: ((v: any) => any) | undefined;
|
|
57
|
+
"onOpen-change"?: ((v: boolean) => any) | undefined;
|
|
58
|
+
}>, {
|
|
59
|
+
popoverFlip: boolean;
|
|
60
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
61
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
selected?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
separatorBefore?: boolean;
|
|
5
|
+
align?: 'center' | 'start';
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
click: (event: MouseEvent) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|