@codemonster-ru/vueforge 0.91.0 → 0.93.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/dist/index.css +1 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.ts.mjs +12529 -7047
- package/dist/index.ts.umd.js +16 -13
- package/dist/package/components/__tests__/avatar.test.d.ts +1 -0
- package/dist/package/components/__tests__/badge.test.d.ts +1 -0
- package/dist/package/components/__tests__/block-ui.test.d.ts +1 -0
- package/dist/package/components/__tests__/button.test.d.ts +1 -0
- package/dist/package/components/__tests__/card.test.d.ts +1 -0
- package/dist/package/components/__tests__/carousel.test.d.ts +1 -0
- package/dist/package/components/__tests__/chart.test.d.ts +1 -0
- package/dist/package/components/__tests__/checkbox.test.d.ts +1 -0
- package/dist/package/components/__tests__/data-view.test.d.ts +1 -0
- package/dist/package/components/__tests__/dock.test.d.ts +1 -0
- package/dist/package/components/__tests__/fieldset.test.d.ts +1 -0
- package/dist/package/components/__tests__/galleria.test.d.ts +1 -0
- package/dist/package/components/__tests__/headless-parity.test.d.ts +1 -0
- package/dist/package/components/__tests__/icon.test.d.ts +1 -0
- package/dist/package/components/__tests__/image.test.d.ts +1 -0
- package/dist/package/components/__tests__/inplace.test.d.ts +1 -0
- package/dist/package/components/__tests__/knob.test.d.ts +1 -0
- package/dist/package/components/__tests__/listbox.test.d.ts +1 -0
- package/dist/package/components/__tests__/mega-menu.test.d.ts +1 -0
- package/dist/package/components/__tests__/menu-bar.test.d.ts +1 -0
- package/dist/package/components/__tests__/message.test.d.ts +1 -0
- package/dist/package/components/__tests__/must-have-parity-a11y.test.d.ts +1 -0
- package/dist/package/components/__tests__/must-have-parity-responsive.test.d.ts +1 -0
- package/dist/package/components/__tests__/order-list.test.d.ts +1 -0
- package/dist/package/components/__tests__/org-chart.test.d.ts +1 -0
- package/dist/package/components/__tests__/overlay-panel.test.d.ts +1 -0
- package/dist/package/components/__tests__/panel-menu.test.d.ts +1 -0
- package/dist/package/components/__tests__/panel.test.d.ts +1 -0
- package/dist/package/components/__tests__/pick-list.test.d.ts +1 -0
- package/dist/package/components/__tests__/scroll-panel.test.d.ts +1 -0
- package/dist/package/components/__tests__/scroll-top.test.d.ts +1 -0
- package/dist/package/components/__tests__/sidebar.test.d.ts +1 -0
- package/dist/package/components/__tests__/speed-dial.test.d.ts +1 -0
- package/dist/package/components/__tests__/switch.test.d.ts +1 -0
- package/dist/package/components/__tests__/terminal.test.d.ts +1 -0
- package/dist/package/components/__tests__/toolbar.test.d.ts +1 -0
- package/dist/package/components/__tests__/tree-table.test.d.ts +1 -0
- package/dist/package/components/accordion.vue.d.ts +2 -2
- package/dist/package/components/autocomplete.vue.d.ts +38 -8
- package/dist/package/components/avatar.vue.d.ts +1 -1
- package/dist/package/components/badge.vue.d.ts +1 -1
- package/dist/package/components/block-ui.vue.d.ts +45 -0
- package/dist/package/components/breadcrumbs.vue.d.ts +1 -1
- package/dist/package/components/button-group.vue.d.ts +1 -1
- package/dist/package/components/button.vue.d.ts +1 -1
- package/dist/package/components/calendar.vue.d.ts +2 -2
- package/dist/package/components/carousel.vue.d.ts +83 -0
- package/dist/package/components/chart-adapter.d.ts +35 -0
- package/dist/package/components/chart.vue.d.ts +71 -0
- package/dist/package/components/checkbox.vue.d.ts +17 -1
- package/dist/package/components/chip.vue.d.ts +2 -2
- package/dist/package/components/color-picker.vue.d.ts +3 -2
- package/dist/package/components/combobox.vue.d.ts +3 -3
- package/dist/package/components/command-palette.vue.d.ts +3 -3
- package/dist/package/components/confirm-dialog.vue.d.ts +12 -12
- package/dist/package/components/context-menu.vue.d.ts +1 -1
- package/dist/package/components/data-table.vue.d.ts +47 -2
- package/dist/package/components/data-view.vue.d.ts +83 -0
- package/dist/package/components/date-range-picker.vue.d.ts +3 -3
- package/dist/package/components/datepicker.vue.d.ts +2 -2
- package/dist/package/components/datetimepicker.vue.d.ts +2 -2
- package/dist/package/components/divider.vue.d.ts +1 -1
- package/dist/package/components/dock.vue.d.ts +256 -0
- package/dist/package/components/drawer.vue.d.ts +3 -3
- package/dist/package/components/dropdown.vue.d.ts +1 -1
- package/dist/package/components/empty-state.vue.d.ts +1 -1
- package/dist/package/components/fieldset.vue.d.ts +45 -0
- package/dist/package/components/file-upload.vue.d.ts +42 -2
- package/dist/package/components/filter-chips.vue.d.ts +3 -3
- package/dist/package/components/form-field.vue.d.ts +1 -1
- package/dist/package/components/form.vue.d.ts +1 -1
- package/dist/package/components/galleria.vue.d.ts +60 -0
- package/dist/package/components/icon.vue.d.ts +22 -0
- package/dist/package/components/image.vue.d.ts +108 -0
- package/dist/package/components/inline-edit.vue.d.ts +3 -3
- package/dist/package/components/inline.vue.d.ts +1 -1
- package/dist/package/components/inplace.vue.d.ts +64 -0
- package/dist/package/components/input-group.vue.d.ts +4 -0
- package/dist/package/components/input.vue.d.ts +4 -4
- package/dist/package/components/kanban-board.vue.d.ts +1 -1
- package/dist/package/components/knob.vue.d.ts +39 -0
- package/dist/package/components/link.vue.d.ts +1 -1
- package/dist/package/components/listbox.vue.d.ts +81 -0
- package/dist/package/components/masked-input.vue.d.ts +4 -4
- package/dist/package/components/mega-menu.vue.d.ts +53 -0
- package/dist/package/components/mention-input.vue.d.ts +4 -4
- package/dist/package/components/menu-bar.vue.d.ts +27 -0
- package/dist/package/components/message.vue.d.ts +42 -0
- package/dist/package/components/modal.vue.d.ts +2 -2
- package/dist/package/components/multi-select.vue.d.ts +2 -2
- package/dist/package/components/notification-center.vue.d.ts +5 -5
- package/dist/package/components/number-input.vue.d.ts +5 -5
- package/dist/package/components/order-list.vue.d.ts +43 -0
- package/dist/package/components/org-chart-node.vue.d.ts +40 -0
- package/dist/package/components/org-chart.vue.d.ts +72 -0
- package/dist/package/components/otp-input.vue.d.ts +4 -4
- package/dist/package/components/overlay-panel.vue.d.ts +374 -0
- package/dist/package/components/page-header.vue.d.ts +2 -2
- package/dist/package/components/pagination.vue.d.ts +3 -3
- package/dist/package/components/panel-menu-node.vue.d.ts +17 -0
- package/dist/package/components/panel-menu.vue.d.ts +40 -0
- package/dist/package/components/panel.vue.d.ts +53 -0
- package/dist/package/components/password-input.vue.d.ts +4 -4
- package/dist/package/components/pick-list.vue.d.ts +57 -0
- package/dist/package/components/popover.vue.d.ts +3 -3
- package/dist/package/components/progress.vue.d.ts +1 -1
- package/dist/package/components/radio-button.vue.d.ts +1 -1
- package/dist/package/components/radio-group.vue.d.ts +1 -1
- package/dist/package/components/rating.vue.d.ts +2 -2
- package/dist/package/components/rich-text-editor.vue.d.ts +10 -3
- package/dist/package/components/scroll-panel.vue.d.ts +42 -0
- package/dist/package/components/scroll-top.vue.d.ts +52 -0
- package/dist/package/components/search-input.vue.d.ts +4 -4
- package/dist/package/components/segmented-control.vue.d.ts +1 -1
- package/dist/package/components/select.vue.d.ts +20 -2
- package/dist/package/components/sidebar.vue.d.ts +76 -0
- package/dist/package/components/skeleton.vue.d.ts +12 -1
- package/dist/package/components/slider.vue.d.ts +2 -2
- package/dist/package/components/speed-dial.vue.d.ts +91 -0
- package/dist/package/components/spinner.vue.d.ts +1 -1
- package/dist/package/components/split-button.vue.d.ts +10 -8
- package/dist/package/components/splitter.vue.d.ts +4 -0
- package/dist/package/components/stack.vue.d.ts +1 -1
- package/dist/package/components/stepper.vue.d.ts +1 -1
- package/dist/package/components/switch.vue.d.ts +16 -0
- package/dist/package/components/tabs.vue.d.ts +1 -1
- package/dist/package/components/tag-input.vue.d.ts +2 -2
- package/dist/package/components/terminal.vue.d.ts +88 -0
- package/dist/package/components/textarea.vue.d.ts +4 -4
- package/dist/package/components/timeline.vue.d.ts +1 -1
- package/dist/package/components/timepicker.vue.d.ts +3 -3
- package/dist/package/components/toast-container.vue.d.ts +2 -0
- package/dist/package/components/toast.vue.d.ts +1 -1
- package/dist/package/components/toolbar.vue.d.ts +40 -0
- package/dist/package/components/tour.vue.d.ts +2 -2
- package/dist/package/components/tree-select.vue.d.ts +4 -4
- package/dist/package/components/tree-table.vue.d.ts +127 -0
- package/dist/package/components/tree.vue.d.ts +4 -4
- package/dist/package/components/virtual-scroller.vue.d.ts +3 -3
- package/dist/package/config/index.d.ts +3 -0
- package/dist/package/config/pass-through.d.ts +6 -0
- package/dist/package/config/theme-core.d.ts +562 -0
- package/dist/package/services/__tests__/confirm-service.test.d.ts +1 -0
- package/dist/package/services/__tests__/dialog-service.test.d.ts +1 -0
- package/dist/package/services/confirm-service.d.ts +43 -0
- package/dist/package/services/dialog-service.d.ts +29 -0
- package/dist/package/themes/default/components/autocomplete.d.ts +10 -0
- package/dist/package/themes/default/components/block-ui.d.ts +11 -0
- package/dist/package/themes/default/components/carousel.d.ts +28 -0
- package/dist/package/themes/default/components/chart.d.ts +12 -0
- package/dist/package/themes/default/components/dataview.d.ts +27 -0
- package/dist/package/themes/default/components/dock.d.ts +18 -0
- package/dist/package/themes/default/components/fieldset.d.ts +22 -0
- package/dist/package/themes/default/components/galleria.d.ts +29 -0
- package/dist/package/themes/default/components/icon.d.ts +6 -0
- package/dist/package/themes/default/components/image.d.ts +31 -0
- package/dist/package/themes/default/components/inplace.d.ts +18 -0
- package/dist/package/themes/default/components/knob.d.ts +12 -0
- package/dist/package/themes/default/components/listbox.d.ts +32 -0
- package/dist/package/themes/default/components/megamenu.d.ts +27 -0
- package/dist/package/themes/default/components/menubar.d.ts +7 -0
- package/dist/package/themes/default/components/orderlist.d.ts +21 -0
- package/dist/package/themes/default/components/orgchart.d.ts +37 -0
- package/dist/package/themes/default/components/panel.d.ts +32 -0
- package/dist/package/themes/default/components/panelmenu.d.ts +13 -0
- package/dist/package/themes/default/components/picklist.d.ts +21 -0
- package/dist/package/themes/default/components/scrollpanel.d.ts +12 -0
- package/dist/package/themes/default/components/scrolltop.d.ts +15 -0
- package/dist/package/themes/default/components/skeleton.d.ts +9 -0
- package/dist/package/themes/default/components/speeddial.d.ts +31 -0
- package/dist/package/themes/default/components/terminal.d.ts +29 -0
- package/dist/package/themes/default/components/toolbar.d.ts +11 -0
- package/dist/package/themes/default/components/treetable.d.ts +38 -0
- package/dist/package/themes/default/index.d.ts +607 -0
- package/package.json +7 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -25,12 +25,12 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
25
25
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
disabled: boolean;
|
|
28
|
+
modelValue: AccordionValue | AccordionValue[];
|
|
28
29
|
size: AccordionSize;
|
|
29
30
|
variant: AccordionVariant;
|
|
30
|
-
modelValue: AccordionValue | AccordionValue[];
|
|
31
31
|
ariaLabel: string;
|
|
32
|
-
ariaLabelledby: string;
|
|
33
32
|
multiple: boolean;
|
|
33
|
+
ariaLabelledby: string;
|
|
34
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
36
|
export default _default;
|
|
@@ -2,15 +2,27 @@ type Size = 'small' | 'normal' | 'large';
|
|
|
2
2
|
type Variant = 'filled' | 'outlined';
|
|
3
3
|
type OptionValue = string | number;
|
|
4
4
|
interface OptionItem {
|
|
5
|
-
label
|
|
6
|
-
value
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: OptionValue;
|
|
7
7
|
disabled?: boolean;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
interface OptionGroupItem {
|
|
11
|
+
label?: string;
|
|
12
|
+
items?: Array<OptionItem>;
|
|
13
|
+
[key: string]: unknown;
|
|
8
14
|
}
|
|
9
15
|
interface Props {
|
|
10
|
-
modelValue?: OptionValue
|
|
11
|
-
options?: Array<OptionItem>;
|
|
16
|
+
modelValue?: OptionValue | Array<OptionValue>;
|
|
17
|
+
options?: Array<OptionItem | OptionGroupItem>;
|
|
12
18
|
optionLabel?: string;
|
|
13
19
|
optionValue?: string;
|
|
20
|
+
optionGroupLabel?: string;
|
|
21
|
+
optionGroupChildren?: string;
|
|
22
|
+
grouped?: boolean;
|
|
23
|
+
groupBy?: string | ((option: OptionItem) => string);
|
|
24
|
+
multiple?: boolean;
|
|
25
|
+
removeChipLabel?: string;
|
|
14
26
|
placeholder?: string;
|
|
15
27
|
disabled?: boolean;
|
|
16
28
|
readonly?: boolean;
|
|
@@ -21,6 +33,11 @@ interface Props {
|
|
|
21
33
|
ariaLabel?: string;
|
|
22
34
|
ariaLabelledby?: string;
|
|
23
35
|
ariaDescribedby?: string;
|
|
36
|
+
virtual?: boolean;
|
|
37
|
+
virtualItemHeight?: number;
|
|
38
|
+
virtualOverscan?: number;
|
|
39
|
+
virtualThreshold?: number;
|
|
40
|
+
loadMoreOffset?: number;
|
|
24
41
|
variant?: Variant;
|
|
25
42
|
size?: Size;
|
|
26
43
|
}
|
|
@@ -30,29 +47,42 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
30
47
|
change: (...args: any[]) => void;
|
|
31
48
|
focus: (...args: any[]) => void;
|
|
32
49
|
"update:modelValue": (...args: any[]) => void;
|
|
50
|
+
loadMore: (...args: any[]) => void;
|
|
33
51
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
34
52
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
35
53
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
36
54
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
37
55
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
38
56
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
onLoadMore?: ((...args: any[]) => any) | undefined;
|
|
39
58
|
}>, {
|
|
40
59
|
filter: boolean;
|
|
41
60
|
disabled: boolean;
|
|
61
|
+
modelValue: OptionValue | Array<OptionValue>;
|
|
42
62
|
size: Size;
|
|
43
|
-
loading: boolean;
|
|
44
63
|
variant: Variant;
|
|
45
|
-
|
|
64
|
+
ariaLabel: string;
|
|
65
|
+
multiple: boolean;
|
|
66
|
+
loading: boolean;
|
|
46
67
|
placeholder: string;
|
|
47
68
|
readonly: boolean;
|
|
48
|
-
ariaLabel: string;
|
|
49
69
|
ariaLabelledby: string;
|
|
50
70
|
ariaDescribedby: string;
|
|
51
71
|
loadingText: string;
|
|
52
72
|
emptyText: string;
|
|
53
|
-
options: Array<OptionItem>;
|
|
73
|
+
options: Array<OptionItem | OptionGroupItem>;
|
|
54
74
|
optionLabel: string;
|
|
55
75
|
optionValue: string;
|
|
76
|
+
virtual: boolean;
|
|
77
|
+
virtualItemHeight: number;
|
|
78
|
+
virtualOverscan: number;
|
|
79
|
+
virtualThreshold: number;
|
|
80
|
+
loadMoreOffset: number;
|
|
81
|
+
optionGroupLabel: string;
|
|
82
|
+
optionGroupChildren: string;
|
|
83
|
+
grouped: boolean;
|
|
84
|
+
groupBy: string | ((option: OptionItem) => string);
|
|
85
|
+
removeChipLabel: string;
|
|
56
86
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
57
87
|
root: HTMLDivElement;
|
|
58
88
|
control: HTMLInputElement;
|
|
@@ -21,9 +21,9 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
21
21
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
22
22
|
name: string;
|
|
23
23
|
size: AvatarSize;
|
|
24
|
-
status: AvatarStatus;
|
|
25
24
|
src: string;
|
|
26
25
|
alt: string;
|
|
26
|
+
status: AvatarStatus;
|
|
27
27
|
shape: AvatarShape;
|
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -21,8 +21,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
21
21
|
label: string;
|
|
22
22
|
size: BadgeSize;
|
|
23
23
|
variant: BadgeVariant;
|
|
24
|
-
severity: BadgeSeverity;
|
|
25
24
|
ariaLabel: string;
|
|
25
|
+
severity: BadgeSeverity;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
28
|
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
type OverlayVariant = 'soft' | 'dim';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
fullScreen?: boolean;
|
|
5
|
+
showSpinner?: boolean;
|
|
6
|
+
label?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
zIndex?: number | string | null;
|
|
9
|
+
variant?: OverlayVariant;
|
|
10
|
+
blur?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
overlay?(_: {}): any;
|
|
17
|
+
overlay?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: HTMLDivElement;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
block: (...args: any[]) => void;
|
|
25
|
+
unblock: (...args: any[]) => void;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
27
|
+
onBlock?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
onUnblock?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
label: string;
|
|
31
|
+
blur: boolean;
|
|
32
|
+
modelValue: boolean;
|
|
33
|
+
variant: OverlayVariant;
|
|
34
|
+
ariaLabel: string;
|
|
35
|
+
fullScreen: boolean;
|
|
36
|
+
showSpinner: boolean;
|
|
37
|
+
zIndex: number | string | null;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -30,9 +30,9 @@ declare function __VLS_template(): {
|
|
|
30
30
|
};
|
|
31
31
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
32
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
33
|
+
ariaLabel: string;
|
|
33
34
|
items: Array<BreadcrumbItem>;
|
|
34
35
|
separator: string;
|
|
35
|
-
ariaLabel: string;
|
|
36
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
37
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
38
|
export default _default;
|
|
@@ -22,8 +22,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
22
22
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
size: Size;
|
|
25
|
-
orientation: Orientation;
|
|
26
25
|
variant: Variant;
|
|
26
|
+
orientation: Orientation;
|
|
27
27
|
severity: Severity;
|
|
28
28
|
attached: boolean;
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -33,11 +33,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
33
33
|
label: string;
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
size: string;
|
|
36
|
+
variant: string;
|
|
36
37
|
icon: string;
|
|
37
38
|
loading: boolean;
|
|
38
39
|
rounded: boolean;
|
|
39
40
|
iconPos: "top" | "right" | "bottom" | "left";
|
|
40
|
-
variant: string;
|
|
41
41
|
severity: string;
|
|
42
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
43
43
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -20,11 +20,11 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
20
20
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
22
|
disabled: boolean;
|
|
23
|
+
modelValue: string;
|
|
23
24
|
size: Size;
|
|
24
25
|
variant: Variant;
|
|
25
|
-
modelValue: string;
|
|
26
|
-
readonly: boolean;
|
|
27
26
|
ariaLabel: string;
|
|
27
|
+
readonly: boolean;
|
|
28
28
|
min: string;
|
|
29
29
|
max: string;
|
|
30
30
|
locale: string;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { PassThroughOptions } from '../config/pass-through';
|
|
2
|
+
type ChangeSource = 'next' | 'prev' | 'indicator' | 'autoplay' | 'keyboard' | 'swipe';
|
|
3
|
+
interface CarouselChangePayload {
|
|
4
|
+
index: number;
|
|
5
|
+
previousIndex: number;
|
|
6
|
+
source: ChangeSource;
|
|
7
|
+
}
|
|
8
|
+
interface Props {
|
|
9
|
+
modelValue?: number;
|
|
10
|
+
items?: Array<unknown>;
|
|
11
|
+
autoplay?: boolean;
|
|
12
|
+
autoplayInterval?: number;
|
|
13
|
+
loop?: boolean;
|
|
14
|
+
keyboard?: boolean;
|
|
15
|
+
swipe?: boolean;
|
|
16
|
+
pauseOnHover?: boolean;
|
|
17
|
+
showArrows?: boolean;
|
|
18
|
+
showIndicators?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
ariaLabel?: string;
|
|
21
|
+
slideKey?: string | ((item: unknown, index: number) => string | number);
|
|
22
|
+
pt?: PassThroughOptions;
|
|
23
|
+
unstyled?: boolean;
|
|
24
|
+
}
|
|
25
|
+
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: Readonly<{
|
|
28
|
+
item?: (props: {
|
|
29
|
+
item: unknown;
|
|
30
|
+
index: number;
|
|
31
|
+
active: boolean;
|
|
32
|
+
}) => unknown;
|
|
33
|
+
prevIcon?: () => unknown;
|
|
34
|
+
nextIcon?: () => unknown;
|
|
35
|
+
}> & {
|
|
36
|
+
item?: (props: {
|
|
37
|
+
item: unknown;
|
|
38
|
+
index: number;
|
|
39
|
+
active: boolean;
|
|
40
|
+
}) => unknown;
|
|
41
|
+
prevIcon?: () => unknown;
|
|
42
|
+
nextIcon?: () => unknown;
|
|
43
|
+
};
|
|
44
|
+
refs: {};
|
|
45
|
+
rootEl: HTMLDivElement;
|
|
46
|
+
};
|
|
47
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
48
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
49
|
+
goTo: (index: number) => boolean;
|
|
50
|
+
next: () => boolean;
|
|
51
|
+
prev: () => boolean;
|
|
52
|
+
pause: () => void;
|
|
53
|
+
resume: () => void;
|
|
54
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
55
|
+
change: (payload: CarouselChangePayload) => any;
|
|
56
|
+
"update:modelValue": (index: number) => any;
|
|
57
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
58
|
+
onChange?: ((payload: CarouselChangePayload) => any) | undefined;
|
|
59
|
+
"onUpdate:modelValue"?: ((index: number) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
modelValue: number;
|
|
63
|
+
ariaLabel: string;
|
|
64
|
+
items: Array<unknown>;
|
|
65
|
+
pt: PassThroughOptions;
|
|
66
|
+
unstyled: boolean;
|
|
67
|
+
autoplay: boolean;
|
|
68
|
+
keyboard: boolean;
|
|
69
|
+
swipe: boolean;
|
|
70
|
+
autoplayInterval: number;
|
|
71
|
+
loop: boolean;
|
|
72
|
+
pauseOnHover: boolean;
|
|
73
|
+
showArrows: boolean;
|
|
74
|
+
showIndicators: boolean;
|
|
75
|
+
slideKey: string | ((item: unknown, index: number) => string | number);
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
77
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
78
|
+
export default _default;
|
|
79
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
+
new (): {
|
|
81
|
+
$slots: S;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar' | 'polarArea' | 'bubble' | 'scatter';
|
|
2
|
+
export interface ChartData {
|
|
3
|
+
labels?: Array<string | number>;
|
|
4
|
+
datasets?: Array<Record<string, unknown>>;
|
|
5
|
+
}
|
|
6
|
+
export interface ChartConfig {
|
|
7
|
+
type: ChartType;
|
|
8
|
+
data: ChartData;
|
|
9
|
+
options?: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
export interface ChartAdapterInstance {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface ChartAdapter {
|
|
15
|
+
mount: (container: HTMLCanvasElement, config: ChartConfig) => ChartAdapterInstance;
|
|
16
|
+
update?: (instance: ChartAdapterInstance, config: ChartConfig) => void;
|
|
17
|
+
resize?: (instance: ChartAdapterInstance) => void;
|
|
18
|
+
destroy?: (instance: ChartAdapterInstance) => void;
|
|
19
|
+
}
|
|
20
|
+
type ChartJsLikeConstructor = new (context: CanvasRenderingContext2D, config: {
|
|
21
|
+
type: ChartType;
|
|
22
|
+
data: ChartData;
|
|
23
|
+
options?: Record<string, unknown>;
|
|
24
|
+
}) => {
|
|
25
|
+
update: () => void;
|
|
26
|
+
resize: () => void;
|
|
27
|
+
destroy: () => void;
|
|
28
|
+
config: {
|
|
29
|
+
type: ChartType;
|
|
30
|
+
data: ChartData;
|
|
31
|
+
options?: Record<string, unknown>;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const createChartJsAdapter: (ChartCtor: ChartJsLikeConstructor) => ChartAdapter;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ChartAdapter, ChartAdapterInstance, ChartData, ChartType } from './chart-adapter';
|
|
2
|
+
import { PassThroughOptions } from '../config/pass-through';
|
|
3
|
+
interface Props {
|
|
4
|
+
type?: ChartType;
|
|
5
|
+
data?: ChartData;
|
|
6
|
+
options?: Record<string, unknown>;
|
|
7
|
+
adapter?: ChartAdapter;
|
|
8
|
+
width?: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
loadingText?: string;
|
|
12
|
+
emptyText?: string;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
lazy?: boolean;
|
|
15
|
+
lazyRootMargin?: string;
|
|
16
|
+
lazyThreshold?: number;
|
|
17
|
+
pt?: PassThroughOptions;
|
|
18
|
+
unstyled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: Readonly<{
|
|
23
|
+
loading?: () => unknown;
|
|
24
|
+
empty?: () => unknown;
|
|
25
|
+
}> & {
|
|
26
|
+
loading?: () => unknown;
|
|
27
|
+
empty?: () => unknown;
|
|
28
|
+
};
|
|
29
|
+
refs: {
|
|
30
|
+
rootRef: HTMLDivElement;
|
|
31
|
+
canvasRef: HTMLCanvasElement;
|
|
32
|
+
};
|
|
33
|
+
rootEl: HTMLDivElement;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
37
|
+
resize: () => void;
|
|
38
|
+
refresh: () => void;
|
|
39
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
40
|
+
error: (error: Error) => any;
|
|
41
|
+
ready: (instance: ChartAdapterInstance) => any;
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
43
|
+
onError?: ((error: Error) => any) | undefined;
|
|
44
|
+
onReady?: ((instance: ChartAdapterInstance) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
type: ChartType;
|
|
47
|
+
lazy: boolean;
|
|
48
|
+
data: ChartData;
|
|
49
|
+
ariaLabel: string;
|
|
50
|
+
loading: boolean;
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
pt: PassThroughOptions;
|
|
54
|
+
unstyled: boolean;
|
|
55
|
+
loadingText: string;
|
|
56
|
+
emptyText: string;
|
|
57
|
+
options: Record<string, unknown>;
|
|
58
|
+
adapter: ChartAdapter;
|
|
59
|
+
lazyRootMargin: string;
|
|
60
|
+
lazyThreshold: number;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
62
|
+
rootRef: HTMLDivElement;
|
|
63
|
+
canvasRef: HTMLCanvasElement;
|
|
64
|
+
}, HTMLDivElement>;
|
|
65
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
|
+
export default _default;
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -4,6 +4,14 @@ interface Props {
|
|
|
4
4
|
label?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
variant?: Variant;
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
ariaLabel?: string;
|
|
11
|
+
ariaLabelledby?: string;
|
|
12
|
+
ariaDescribedby?: string;
|
|
13
|
+
ariaInvalid?: boolean | 'true' | 'false';
|
|
14
|
+
ariaRequired?: boolean | 'true' | 'false';
|
|
7
15
|
}
|
|
8
16
|
declare function __VLS_template(): {
|
|
9
17
|
attrs: Partial<{}>;
|
|
@@ -23,8 +31,16 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
23
31
|
}>, {
|
|
24
32
|
label: string;
|
|
25
33
|
disabled: boolean;
|
|
26
|
-
|
|
34
|
+
name: string;
|
|
27
35
|
modelValue: boolean;
|
|
36
|
+
variant: Variant;
|
|
37
|
+
id: string;
|
|
38
|
+
ariaLabel: string;
|
|
39
|
+
required: boolean;
|
|
40
|
+
ariaLabelledby: string;
|
|
41
|
+
ariaDescribedby: string;
|
|
42
|
+
ariaInvalid: boolean | "true" | "false";
|
|
43
|
+
ariaRequired: boolean | "true" | "false";
|
|
28
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
29
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
46
|
export default _default;
|
|
@@ -31,10 +31,10 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
31
31
|
label: string;
|
|
32
32
|
disabled: boolean;
|
|
33
33
|
size: ChipSize;
|
|
34
|
-
icon: string;
|
|
35
34
|
variant: ChipVariant;
|
|
36
|
-
severity: ChipSeverity;
|
|
37
35
|
ariaLabel: string;
|
|
36
|
+
icon: string;
|
|
37
|
+
severity: ChipSeverity;
|
|
38
38
|
closeLabel: string;
|
|
39
39
|
closable: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
@@ -25,16 +25,17 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
25
25
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
disabled: boolean;
|
|
28
|
+
modelValue: string;
|
|
28
29
|
size: Size;
|
|
29
30
|
variant: Variant;
|
|
30
|
-
|
|
31
|
+
ariaLabel: string;
|
|
31
32
|
placeholder: string;
|
|
32
33
|
readonly: boolean;
|
|
33
|
-
ariaLabel: string;
|
|
34
34
|
format: Format;
|
|
35
35
|
alpha: boolean;
|
|
36
36
|
presets: Array<string>;
|
|
37
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
38
|
root: HTMLDivElement;
|
|
39
|
+
control: HTMLButtonElement;
|
|
39
40
|
}, HTMLDivElement>;
|
|
40
41
|
export default _default;
|
|
@@ -48,13 +48,13 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
48
48
|
filter: boolean;
|
|
49
49
|
disabled: boolean;
|
|
50
50
|
strict: boolean;
|
|
51
|
+
modelValue: OptionValue;
|
|
51
52
|
size: Size;
|
|
52
|
-
loading: boolean;
|
|
53
53
|
variant: Variant;
|
|
54
|
-
|
|
54
|
+
ariaLabel: string;
|
|
55
|
+
loading: boolean;
|
|
55
56
|
placeholder: string;
|
|
56
57
|
readonly: boolean;
|
|
57
|
-
ariaLabel: string;
|
|
58
58
|
ariaLabelledby: string;
|
|
59
59
|
ariaDescribedby: string;
|
|
60
60
|
clearable: boolean;
|
|
@@ -39,13 +39,13 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
39
39
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
filter: boolean;
|
|
42
|
-
items: Array<CommandPaletteItem>;
|
|
43
42
|
modelValue: boolean;
|
|
44
|
-
placeholder: string;
|
|
45
43
|
ariaLabel: string;
|
|
44
|
+
items: Array<CommandPaletteItem>;
|
|
45
|
+
placeholder: string;
|
|
46
|
+
closeOnOverlay: boolean;
|
|
46
47
|
emptyText: string;
|
|
47
48
|
closeOnEsc: boolean;
|
|
48
|
-
closeOnOverlay: boolean;
|
|
49
49
|
closeOnSelect: boolean;
|
|
50
50
|
enableShortcut: boolean;
|
|
51
51
|
shortcutKey: string;
|