@codemonster-ru/vueforge 0.92.0 → 0.94.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 +66 -0
- package/dist/index.ts.mjs +16733 -8783
- package/dist/index.ts.umd.js +19 -13
- package/dist/package/components/__tests__/activity-feed.test.d.ts +1 -0
- package/dist/package/components/__tests__/advanced-filter-panel.test.d.ts +1 -0
- package/dist/package/components/__tests__/audit-log-viewer.test.d.ts +1 -0
- package/dist/package/components/__tests__/block-ui.test.d.ts +1 -0
- package/dist/package/components/__tests__/bottom-sheet.test.d.ts +1 -0
- package/dist/package/components/__tests__/bulk-action-bar.test.d.ts +1 -0
- package/dist/package/components/__tests__/cascade-select.test.d.ts +1 -0
- package/dist/package/components/__tests__/code-editor.test.d.ts +1 -0
- package/dist/package/components/__tests__/comment-thread.test.d.ts +1 -0
- package/dist/package/components/__tests__/confirm-popup.test.d.ts +1 -0
- package/dist/package/components/__tests__/data-table-toolbar.test.d.ts +1 -0
- package/dist/package/components/__tests__/diff-viewer.test.d.ts +1 -0
- package/dist/package/components/__tests__/dock.test.d.ts +1 -0
- package/dist/package/components/__tests__/dynamic-dialog.test.d.ts +1 -0
- package/dist/package/components/__tests__/fieldset.test.d.ts +1 -0
- package/dist/package/components/__tests__/file-manager.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__/infinite-scroll.test.d.ts +1 -0
- package/dist/package/components/__tests__/inline-message.test.d.ts +1 -0
- package/dist/package/components/__tests__/inplace.test.d.ts +1 -0
- package/dist/package/components/__tests__/json-viewer.test.d.ts +1 -0
- package/dist/package/components/__tests__/knob.test.d.ts +1 -0
- package/dist/package/components/__tests__/kpi-stat-card.test.d.ts +1 -0
- package/dist/package/components/__tests__/member-picker.test.d.ts +1 -0
- package/dist/package/components/__tests__/message.test.d.ts +1 -0
- package/dist/package/components/__tests__/meter-group.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-badge.directive.test.d.ts +1 -0
- package/dist/package/components/__tests__/overlay-badge.test.d.ts +1 -0
- package/dist/package/components/__tests__/panel.test.d.ts +1 -0
- package/dist/package/components/__tests__/permission-matrix.test.d.ts +1 -0
- package/dist/package/components/__tests__/pick-list.test.d.ts +1 -0
- package/dist/package/components/__tests__/query-builder.test.d.ts +1 -0
- package/dist/package/components/__tests__/saved-views-manager.test.d.ts +1 -0
- package/dist/package/components/__tests__/scheduler.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__/tab-menu.test.d.ts +1 -0
- package/dist/package/components/__tests__/terminal.test.d.ts +1 -0
- package/dist/package/components/__tests__/tiered-menu.test.d.ts +1 -0
- package/dist/package/components/__tests__/toolbar.test.d.ts +1 -0
- package/dist/package/components/accordion.vue.d.ts +2 -2
- package/dist/package/components/activity-feed.vue.d.ts +77 -0
- package/dist/package/components/advanced-filter-panel-types.d.ts +30 -0
- package/dist/package/components/advanced-filter-panel.vue.d.ts +45 -0
- package/dist/package/components/audit-log-viewer.vue.d.ts +70 -0
- package/dist/package/components/autocomplete.vue.d.ts +37 -7
- 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/bottom-sheet.vue.d.ts +57 -0
- package/dist/package/components/breadcrumbs.vue.d.ts +1 -1
- package/dist/package/components/bulk-action-bar-types.d.ts +11 -0
- package/dist/package/components/bulk-action-bar.vue.d.ts +36 -0
- 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 +2 -2
- package/dist/package/components/cascade-select-types.d.ts +8 -0
- package/dist/package/components/cascade-select.vue.d.ts +96 -0
- package/dist/package/components/chart.vue.d.ts +9 -1
- package/dist/package/components/checkbox.vue.d.ts +3 -3
- package/dist/package/components/chip.vue.d.ts +2 -2
- package/dist/package/components/code-editor-adapter.d.ts +56 -0
- package/dist/package/components/code-editor.vue.d.ts +85 -0
- package/dist/package/components/color-picker.vue.d.ts +2 -2
- package/dist/package/components/combobox.vue.d.ts +2 -2
- package/dist/package/components/command-palette.vue.d.ts +2 -2
- package/dist/package/components/comment-thread.vue.d.ts +72 -0
- package/dist/package/components/confirm-dialog.vue.d.ts +8 -8
- package/dist/package/components/confirm-popup.vue.d.ts +383 -0
- package/dist/package/components/context-menu.vue.d.ts +2 -2
- package/dist/package/components/data-table-toolbar-types.d.ts +6 -0
- package/dist/package/components/data-table-toolbar.vue.d.ts +62 -0
- package/dist/package/components/data-table.vue.d.ts +53 -8
- package/dist/package/components/data-view.vue.d.ts +3 -3
- package/dist/package/components/date-range-picker.vue.d.ts +4 -4
- package/dist/package/components/datepicker.vue.d.ts +3 -3
- package/dist/package/components/datetimepicker.vue.d.ts +3 -3
- package/dist/package/components/diff-viewer.vue.d.ts +45 -0
- 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 +2 -2
- package/dist/package/components/dropdown.vue.d.ts +2 -2
- package/dist/package/components/dynamic-dialog.vue.d.ts +35 -0
- 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-manager.vue.d.ts +89 -0
- package/dist/package/components/file-upload.vue.d.ts +42 -2
- package/dist/package/components/filter-chips.vue.d.ts +2 -2
- 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 +49 -2
- package/dist/package/components/infinite-scroll.vue.d.ts +72 -0
- package/dist/package/components/inline-edit.vue.d.ts +3 -3
- package/dist/package/components/inline-message.vue.d.ts +40 -0
- 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 +1 -1
- package/dist/package/components/input.vue.d.ts +3 -3
- package/dist/package/components/json-viewer.vue.d.ts +57 -0
- 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/kpi-stat-card.vue.d.ts +46 -0
- package/dist/package/components/link.vue.d.ts +1 -1
- package/dist/package/components/listbox.vue.d.ts +2 -2
- package/dist/package/components/masked-input.vue.d.ts +3 -3
- package/dist/package/components/mega-menu.vue.d.ts +17 -3
- package/dist/package/components/member-picker.vue.d.ts +89 -0
- package/dist/package/components/mention-input.vue.d.ts +3 -3
- package/dist/package/components/menu-bar.vue.d.ts +1 -1
- package/dist/package/components/message.vue.d.ts +42 -0
- package/dist/package/components/meter-group.vue.d.ts +46 -0
- package/dist/package/components/modal.vue.d.ts +1 -1
- package/dist/package/components/multi-select.vue.d.ts +2 -2
- package/dist/package/components/notification-center.vue.d.ts +2 -2
- package/dist/package/components/number-input.vue.d.ts +4 -4
- 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 +3 -3
- package/dist/package/components/overlay-badge-utils.d.ts +23 -0
- package/dist/package/components/overlay-badge.vue.d.ts +39 -0
- package/dist/package/components/overlay-panel.vue.d.ts +6 -6
- 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.vue.d.ts +10 -1
- package/dist/package/components/panel.vue.d.ts +53 -0
- package/dist/package/components/password-input.vue.d.ts +3 -3
- package/dist/package/components/permission-matrix.vue.d.ts +48 -0
- package/dist/package/components/pick-list.vue.d.ts +57 -0
- package/dist/package/components/popover.vue.d.ts +1 -1
- package/dist/package/components/progress.vue.d.ts +1 -1
- package/dist/package/components/query-builder-group.vue.d.ts +37 -0
- package/dist/package/components/query-builder-types.d.ts +28 -0
- package/dist/package/components/query-builder.vue.d.ts +40 -0
- package/dist/package/components/radio-group.vue.d.ts +1 -1
- package/dist/package/components/rating.vue.d.ts +1 -1
- package/dist/package/components/rich-text-editor.vue.d.ts +10 -3
- package/dist/package/components/saved-views-manager-types.d.ts +8 -0
- package/dist/package/components/saved-views-manager.vue.d.ts +58 -0
- package/dist/package/components/scheduler.vue.d.ts +59 -0
- 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 +3 -3
- package/dist/package/components/segmented-control.vue.d.ts +2 -2
- package/dist/package/components/select.vue.d.ts +20 -2
- package/dist/package/components/sidebar.vue.d.ts +76 -0
- package/dist/package/components/slider.vue.d.ts +3 -3
- package/dist/package/components/speed-dial.vue.d.ts +3 -3
- package/dist/package/components/spinner.vue.d.ts +1 -1
- package/dist/package/components/split-button.vue.d.ts +14 -14
- 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 +2 -2
- package/dist/package/components/tab-menu.vue.d.ts +33 -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 +3 -3
- package/dist/package/components/tiered-menu.vue.d.ts +34 -0
- 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.vue.d.ts +1 -1
- package/dist/package/components/toolbar.vue.d.ts +40 -0
- package/dist/package/components/tooltip.vue.d.ts +1 -1
- package/dist/package/components/tour.vue.d.ts +3 -3
- package/dist/package/components/tree-select.vue.d.ts +3 -3
- package/dist/package/components/tree-table.vue.d.ts +35 -7
- package/dist/package/components/tree.vue.d.ts +5 -4
- package/dist/package/components/virtual-scroller.vue.d.ts +2 -2
- package/dist/package/components/wizard.vue.d.ts +1 -1
- package/dist/package/config/theme-core.d.ts +974 -4
- package/dist/package/directives/overlay-badge.d.ts +3 -0
- package/dist/package/services/__tests__/dynamic-dialog-service.test.d.ts +1 -0
- package/dist/package/services/dynamic-dialog-service.d.ts +41 -0
- package/dist/package/themes/default/components/activity-feed.d.ts +35 -0
- package/dist/package/themes/default/components/advanced-filter-panel.d.ts +19 -0
- package/dist/package/themes/default/components/audit-log-viewer.d.ts +20 -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/bottom-sheet.d.ts +32 -0
- package/dist/package/themes/default/components/bulk-action-bar.d.ts +19 -0
- package/dist/package/themes/default/components/code-editor.d.ts +27 -0
- package/dist/package/themes/default/components/comment-thread.d.ts +24 -0
- package/dist/package/themes/default/components/confirm-popup.d.ts +11 -0
- package/dist/package/themes/default/components/data-table-toolbar.d.ts +21 -0
- package/dist/package/themes/default/components/diff-viewer.d.ts +34 -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/file-manager.d.ts +55 -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 +10 -0
- package/dist/package/themes/default/components/infinite-scroll.d.ts +23 -0
- package/dist/package/themes/default/components/inline-message.d.ts +47 -0
- package/dist/package/themes/default/components/inplace.d.ts +18 -0
- package/dist/package/themes/default/components/json-viewer.d.ts +33 -0
- package/dist/package/themes/default/components/knob.d.ts +12 -0
- package/dist/package/themes/default/components/kpi-stat-card.d.ts +24 -0
- package/dist/package/themes/default/components/member-picker.d.ts +34 -0
- package/dist/package/themes/default/components/meter-group.d.ts +22 -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/overlay-badge.d.ts +33 -0
- package/dist/package/themes/default/components/panel.d.ts +32 -0
- package/dist/package/themes/default/components/permission-matrix.d.ts +29 -0
- package/dist/package/themes/default/components/picklist.d.ts +21 -0
- package/dist/package/themes/default/components/query-builder.d.ts +26 -0
- package/dist/package/themes/default/components/saved-views-manager.d.ts +21 -0
- package/dist/package/themes/default/components/scheduler.d.ts +48 -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/tab-menu.d.ts +14 -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/index.d.ts +1110 -28
- package/package.json +7 -1
|
@@ -3,7 +3,12 @@ export interface PanelMenuItem {
|
|
|
3
3
|
label: string;
|
|
4
4
|
to?: string;
|
|
5
5
|
href?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
exact?: boolean;
|
|
6
9
|
disabled?: boolean;
|
|
10
|
+
lazy?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
7
12
|
items?: Array<PanelMenuItem>;
|
|
8
13
|
}
|
|
9
14
|
interface Props {
|
|
@@ -12,19 +17,23 @@ interface Props {
|
|
|
12
17
|
multiple?: boolean;
|
|
13
18
|
disabled?: boolean;
|
|
14
19
|
ariaLabel?: string;
|
|
20
|
+
syncActiveFromRoute?: boolean;
|
|
15
21
|
}
|
|
16
22
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
23
|
toggle: (...args: any[]) => void;
|
|
24
|
+
lazyLoad: (...args: any[]) => void;
|
|
18
25
|
itemClick: (...args: any[]) => void;
|
|
19
26
|
"update:expandedKeys": (...args: any[]) => void;
|
|
20
27
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
21
28
|
onToggle?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
onLazyLoad?: ((...args: any[]) => any) | undefined;
|
|
22
30
|
onItemClick?: ((...args: any[]) => any) | undefined;
|
|
23
31
|
"onUpdate:expandedKeys"?: ((...args: any[]) => any) | undefined;
|
|
24
32
|
}>, {
|
|
25
33
|
disabled: boolean;
|
|
26
|
-
items: Array<PanelMenuItem>;
|
|
27
34
|
ariaLabel: string;
|
|
35
|
+
items: Array<PanelMenuItem>;
|
|
36
|
+
syncActiveFromRoute: boolean;
|
|
28
37
|
expandedKeys: Array<string>;
|
|
29
38
|
multiple: boolean;
|
|
30
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
type Size = 'small' | 'normal' | 'large';
|
|
2
|
+
type Variant = 'filled' | 'outlined';
|
|
3
|
+
interface Props {
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
title?: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
size?: Size;
|
|
8
|
+
variant?: Variant;
|
|
9
|
+
collapsible?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
actionsAriaLabel?: string;
|
|
12
|
+
expandLabel?: string;
|
|
13
|
+
collapseLabel?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
header?(_: {}): any;
|
|
19
|
+
title?(_: {}): any;
|
|
20
|
+
subtitle?(_: {}): any;
|
|
21
|
+
actions?(_: {}): any;
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
footer?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
rootEl: HTMLElement;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
toggle: (...args: any[]) => void;
|
|
31
|
+
"update:modelValue": (...args: any[]) => void;
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
33
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
title: string;
|
|
38
|
+
modelValue: boolean;
|
|
39
|
+
subtitle: string;
|
|
40
|
+
size: Size;
|
|
41
|
+
variant: Variant;
|
|
42
|
+
collapsible: boolean;
|
|
43
|
+
actionsAriaLabel: string;
|
|
44
|
+
expandLabel: string;
|
|
45
|
+
collapseLabel: string;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
47
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -55,12 +55,12 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
55
55
|
}>, {
|
|
56
56
|
disabled: boolean;
|
|
57
57
|
name: string;
|
|
58
|
+
modelValue: string;
|
|
58
59
|
size: Size;
|
|
59
|
-
|
|
60
|
+
variant: Variant;
|
|
60
61
|
id: string;
|
|
61
62
|
ariaLabel: string;
|
|
62
|
-
|
|
63
|
-
variant: Variant;
|
|
63
|
+
required: boolean;
|
|
64
64
|
placeholder: string;
|
|
65
65
|
readonly: boolean;
|
|
66
66
|
autocomplete: string;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
type PermissionId = string | number;
|
|
2
|
+
export type PermissionMatrixState = 'inherit' | 'allow' | 'deny';
|
|
3
|
+
export interface PermissionMatrixRole {
|
|
4
|
+
id: PermissionId;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface PermissionMatrixCapability {
|
|
9
|
+
id: PermissionId;
|
|
10
|
+
label: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
}
|
|
13
|
+
export type PermissionMatrixValue = Record<string, Record<string, PermissionMatrixState>>;
|
|
14
|
+
interface Props {
|
|
15
|
+
modelValue?: PermissionMatrixValue;
|
|
16
|
+
roles?: Array<PermissionMatrixRole>;
|
|
17
|
+
capabilities?: Array<PermissionMatrixCapability>;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
stateLabels?: Record<PermissionMatrixState, string>;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
+
change: (value: PermissionMatrixValue) => any;
|
|
24
|
+
"update:modelValue": (value: PermissionMatrixValue) => any;
|
|
25
|
+
cellChange: (payload: {
|
|
26
|
+
role: PermissionMatrixRole;
|
|
27
|
+
capability: PermissionMatrixCapability;
|
|
28
|
+
state: PermissionMatrixState;
|
|
29
|
+
previousState: PermissionMatrixState;
|
|
30
|
+
}) => any;
|
|
31
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
32
|
+
onChange?: ((value: PermissionMatrixValue) => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((value: PermissionMatrixValue) => any) | undefined;
|
|
34
|
+
onCellChange?: ((payload: {
|
|
35
|
+
role: PermissionMatrixRole;
|
|
36
|
+
capability: PermissionMatrixCapability;
|
|
37
|
+
state: PermissionMatrixState;
|
|
38
|
+
previousState: PermissionMatrixState;
|
|
39
|
+
}) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
modelValue: PermissionMatrixValue;
|
|
43
|
+
ariaLabel: string;
|
|
44
|
+
roles: Array<PermissionMatrixRole>;
|
|
45
|
+
capabilities: Array<PermissionMatrixCapability>;
|
|
46
|
+
stateLabels: Record<PermissionMatrixState, string>;
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
source?: Array<Record<string, unknown>>;
|
|
3
|
+
target?: Array<Record<string, unknown>>;
|
|
4
|
+
itemKey?: string;
|
|
5
|
+
itemLabel?: string;
|
|
6
|
+
sourceHeader?: string;
|
|
7
|
+
targetHeader?: string;
|
|
8
|
+
sourceAriaLabel?: string;
|
|
9
|
+
targetAriaLabel?: string;
|
|
10
|
+
multiple?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
'source-item'?(_: {
|
|
17
|
+
item: Record<string, unknown>;
|
|
18
|
+
index: number;
|
|
19
|
+
}): any;
|
|
20
|
+
'target-item'?(_: {
|
|
21
|
+
item: Record<string, unknown>;
|
|
22
|
+
index: number;
|
|
23
|
+
}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
rootEl: HTMLDivElement;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
"update:source": (...args: any[]) => void;
|
|
31
|
+
"update:target": (...args: any[]) => void;
|
|
32
|
+
transfer: (...args: any[]) => void;
|
|
33
|
+
reorder: (...args: any[]) => void;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
35
|
+
"onUpdate:source"?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
"onUpdate:target"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onTransfer?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onReorder?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
source: Array<Record<string, unknown>>;
|
|
42
|
+
target: Array<Record<string, unknown>>;
|
|
43
|
+
multiple: boolean;
|
|
44
|
+
itemKey: string;
|
|
45
|
+
itemLabel: string;
|
|
46
|
+
sourceHeader: string;
|
|
47
|
+
targetHeader: string;
|
|
48
|
+
sourceAriaLabel: string;
|
|
49
|
+
targetAriaLabel: string;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
51
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -92,9 +92,9 @@ declare const __VLS_component: import('vue').DefineComponent<PopoverProps, {
|
|
|
92
92
|
}>, {
|
|
93
93
|
disabled: boolean;
|
|
94
94
|
modelValue: boolean;
|
|
95
|
+
closeOnEsc: boolean;
|
|
95
96
|
placement: Placement;
|
|
96
97
|
offset: number;
|
|
97
|
-
closeOnEsc: boolean;
|
|
98
98
|
closeOnOutside: boolean;
|
|
99
99
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
100
100
|
root: HTMLDivElement;
|
|
@@ -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
|
label: string;
|
|
24
24
|
size: ProgressSize;
|
|
25
|
-
ariaLabel: string;
|
|
26
25
|
variant: ProgressVariant;
|
|
26
|
+
ariaLabel: string;
|
|
27
27
|
severity: ProgressSeverity;
|
|
28
28
|
value: number | null;
|
|
29
29
|
showValue: boolean;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { QueryBuilderField, QueryBuilderGroupNode } from './query-builder-types';
|
|
2
|
+
interface Props {
|
|
3
|
+
group: QueryBuilderGroupNode;
|
|
4
|
+
fields: Array<QueryBuilderField>;
|
|
5
|
+
depth: number;
|
|
6
|
+
path: Array<number>;
|
|
7
|
+
maxDepth: number;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
andLabel: string;
|
|
10
|
+
orLabel: string;
|
|
11
|
+
addRuleLabel: string;
|
|
12
|
+
addGroupLabel: string;
|
|
13
|
+
removeRuleLabel: string;
|
|
14
|
+
removeGroupLabel: string;
|
|
15
|
+
combinatorLabel: string;
|
|
16
|
+
removable: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"change-combinator": (...args: any[]) => void;
|
|
20
|
+
"add-rule": (...args: any[]) => void;
|
|
21
|
+
"add-group": (...args: any[]) => void;
|
|
22
|
+
"remove-group": (...args: any[]) => void;
|
|
23
|
+
"remove-node": (...args: any[]) => void;
|
|
24
|
+
"rule-field": (...args: any[]) => void;
|
|
25
|
+
"rule-operator": (...args: any[]) => void;
|
|
26
|
+
"rule-value": (...args: any[]) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
28
|
+
"onChange-combinator"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
"onAdd-rule"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
"onAdd-group"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
"onRemove-group"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
"onRemove-node"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
"onRule-field"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
"onRule-operator"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
"onRule-value"?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type QueryBuilderCombinator = 'and' | 'or';
|
|
2
|
+
export type QueryBuilderFieldType = 'text' | 'number' | 'date' | 'boolean' | 'select';
|
|
3
|
+
export type QueryBuilderOperator = 'equals' | 'notEquals' | 'contains' | 'startsWith' | 'endsWith' | 'gt' | 'gte' | 'lt' | 'lte' | 'isEmpty' | 'isNotEmpty' | (string & {});
|
|
4
|
+
export interface QueryBuilderFieldOption {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string | number | boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface QueryBuilderField {
|
|
9
|
+
key: string;
|
|
10
|
+
label: string;
|
|
11
|
+
type?: QueryBuilderFieldType;
|
|
12
|
+
operators?: Array<QueryBuilderOperator>;
|
|
13
|
+
options?: Array<QueryBuilderFieldOption>;
|
|
14
|
+
}
|
|
15
|
+
export interface QueryBuilderRuleNode {
|
|
16
|
+
id: string;
|
|
17
|
+
kind: 'rule';
|
|
18
|
+
field: string;
|
|
19
|
+
operator: QueryBuilderOperator;
|
|
20
|
+
value: unknown;
|
|
21
|
+
}
|
|
22
|
+
export interface QueryBuilderGroupNode {
|
|
23
|
+
id: string;
|
|
24
|
+
kind: 'group';
|
|
25
|
+
combinator: QueryBuilderCombinator;
|
|
26
|
+
children: Array<QueryBuilderNode>;
|
|
27
|
+
}
|
|
28
|
+
export type QueryBuilderNode = QueryBuilderRuleNode | QueryBuilderGroupNode;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { QueryBuilderField, QueryBuilderGroupNode } from './query-builder-types';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: QueryBuilderGroupNode | null;
|
|
4
|
+
fields?: Array<QueryBuilderField>;
|
|
5
|
+
maxDepth?: number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
andLabel?: string;
|
|
9
|
+
orLabel?: string;
|
|
10
|
+
addRuleLabel?: string;
|
|
11
|
+
addGroupLabel?: string;
|
|
12
|
+
removeRuleLabel?: string;
|
|
13
|
+
removeGroupLabel?: string;
|
|
14
|
+
combinatorLabel?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
17
|
+
serialize: () => string;
|
|
18
|
+
deserialize: (payload: string) => boolean;
|
|
19
|
+
getModel: () => QueryBuilderGroupNode;
|
|
20
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
change: (...args: any[]) => void;
|
|
22
|
+
"update:modelValue": (...args: any[]) => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
24
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
modelValue: QueryBuilderGroupNode | null;
|
|
29
|
+
ariaLabel: string;
|
|
30
|
+
fields: Array<QueryBuilderField>;
|
|
31
|
+
maxDepth: number;
|
|
32
|
+
andLabel: string;
|
|
33
|
+
orLabel: string;
|
|
34
|
+
addRuleLabel: string;
|
|
35
|
+
addGroupLabel: string;
|
|
36
|
+
removeRuleLabel: string;
|
|
37
|
+
removeGroupLabel: string;
|
|
38
|
+
combinatorLabel: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
export default _default;
|
|
@@ -27,9 +27,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
27
27
|
}>, {
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
name: string;
|
|
30
|
-
ariaLabel: string;
|
|
31
30
|
modelValue: string | number | boolean | null;
|
|
32
31
|
variant: RadioVariant;
|
|
32
|
+
ariaLabel: string;
|
|
33
33
|
ariaLabelledby: string;
|
|
34
34
|
direction: Direction;
|
|
35
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -33,9 +33,9 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
33
33
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
35
|
disabled: boolean;
|
|
36
|
+
modelValue: number;
|
|
36
37
|
size: RatingSize;
|
|
37
38
|
ariaLabel: string;
|
|
38
|
-
modelValue: number;
|
|
39
39
|
readonly: boolean;
|
|
40
40
|
max: number;
|
|
41
41
|
allowHalf: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
type Size = 'small' | 'normal' | 'large';
|
|
2
2
|
type Variant = 'filled' | 'outlined';
|
|
3
3
|
type Format = 'markdown' | 'html';
|
|
4
|
+
type SanitizationProfile = 'none' | 'basic' | 'strict';
|
|
4
5
|
export type RichTextEditorAction = 'bold' | 'italic' | 'underline' | 'link' | 'bulletList' | 'orderedList' | 'code';
|
|
5
6
|
interface Props {
|
|
6
7
|
modelValue?: string;
|
|
@@ -16,6 +17,8 @@ interface Props {
|
|
|
16
17
|
toolbar?: Array<RichTextEditorAction>;
|
|
17
18
|
toolbarLabel?: string;
|
|
18
19
|
ariaLabel?: string;
|
|
20
|
+
sanitizeOnPaste?: boolean;
|
|
21
|
+
sanitizationProfile?: SanitizationProfile;
|
|
19
22
|
}
|
|
20
23
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
24
|
blur: (...args: any[]) => void;
|
|
@@ -24,6 +27,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
24
27
|
input: (...args: any[]) => void;
|
|
25
28
|
"update:modelValue": (...args: any[]) => void;
|
|
26
29
|
action: (...args: any[]) => void;
|
|
30
|
+
pasteSanitized: (...args: any[]) => void;
|
|
27
31
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
28
32
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
29
33
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -31,20 +35,23 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
31
35
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
32
36
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
37
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onPasteSanitized?: ((...args: any[]) => any) | undefined;
|
|
34
39
|
}>, {
|
|
35
40
|
disabled: boolean;
|
|
36
|
-
size: Size;
|
|
37
|
-
ariaLabel: string;
|
|
38
41
|
modelValue: string;
|
|
42
|
+
size: Size;
|
|
39
43
|
variant: Variant;
|
|
44
|
+
ariaLabel: string;
|
|
45
|
+
toolbar: Array<RichTextEditorAction>;
|
|
40
46
|
placeholder: string;
|
|
41
47
|
readonly: boolean;
|
|
42
48
|
format: Format;
|
|
43
49
|
rows: number;
|
|
44
50
|
maxLength: number;
|
|
45
51
|
showToolbar: boolean;
|
|
46
|
-
toolbar: Array<RichTextEditorAction>;
|
|
47
52
|
toolbarLabel: string;
|
|
53
|
+
sanitizeOnPaste: boolean;
|
|
54
|
+
sanitizationProfile: SanitizationProfile;
|
|
48
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
49
56
|
control: HTMLTextAreaElement;
|
|
50
57
|
}, HTMLDivElement>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { SavedViewItem } from './saved-views-manager-types';
|
|
2
|
+
interface Props {
|
|
3
|
+
modelValue?: string | null;
|
|
4
|
+
items?: Array<SavedViewItem>;
|
|
5
|
+
currentState?: unknown;
|
|
6
|
+
allowShare?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
viewsLabel?: string;
|
|
10
|
+
noViewLabel?: string;
|
|
11
|
+
defaultBadgeLabel?: string;
|
|
12
|
+
namePlaceholder?: string;
|
|
13
|
+
saveLabel?: string;
|
|
14
|
+
renameLabel?: string;
|
|
15
|
+
setDefaultLabel?: string;
|
|
16
|
+
shareLabel?: string;
|
|
17
|
+
unshareLabel?: string;
|
|
18
|
+
deleteLabel?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
change: (...args: any[]) => void;
|
|
22
|
+
select: (...args: any[]) => void;
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
save: (...args: any[]) => void;
|
|
25
|
+
delete: (...args: any[]) => void;
|
|
26
|
+
"update:items": (...args: any[]) => void;
|
|
27
|
+
rename: (...args: any[]) => void;
|
|
28
|
+
setDefault: (...args: any[]) => void;
|
|
29
|
+
share: (...args: any[]) => void;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
31
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onSave?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
"onUpdate:items"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onRename?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onSetDefault?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onShare?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
modelValue: string | null;
|
|
43
|
+
ariaLabel: string;
|
|
44
|
+
items: Array<SavedViewItem>;
|
|
45
|
+
saveLabel: string;
|
|
46
|
+
currentState: undefined;
|
|
47
|
+
allowShare: boolean;
|
|
48
|
+
viewsLabel: string;
|
|
49
|
+
noViewLabel: string;
|
|
50
|
+
defaultBadgeLabel: string;
|
|
51
|
+
namePlaceholder: string;
|
|
52
|
+
renameLabel: string;
|
|
53
|
+
setDefaultLabel: string;
|
|
54
|
+
shareLabel: string;
|
|
55
|
+
unshareLabel: string;
|
|
56
|
+
deleteLabel: string;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
type SchedulerId = string | number;
|
|
2
|
+
type SchedulerTimeValue = string | number;
|
|
3
|
+
export interface SchedulerResource {
|
|
4
|
+
id: SchedulerId;
|
|
5
|
+
label: string;
|
|
6
|
+
meta?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SchedulerEvent {
|
|
9
|
+
id: SchedulerId;
|
|
10
|
+
resourceId: SchedulerId;
|
|
11
|
+
title: string;
|
|
12
|
+
start: SchedulerTimeValue;
|
|
13
|
+
end: SchedulerTimeValue;
|
|
14
|
+
color?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface Props {
|
|
18
|
+
resources?: Array<SchedulerResource>;
|
|
19
|
+
events?: Array<SchedulerEvent>;
|
|
20
|
+
modelValue?: SchedulerId | null;
|
|
21
|
+
title?: string;
|
|
22
|
+
startHour?: number;
|
|
23
|
+
endHour?: number;
|
|
24
|
+
slotMinutes?: number;
|
|
25
|
+
locale?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
readonly?: boolean;
|
|
28
|
+
ariaLabel?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
31
|
+
"update:modelValue": (value: SchedulerId | null) => any;
|
|
32
|
+
eventClick: (payload: SchedulerEvent) => any;
|
|
33
|
+
slotClick: (payload: {
|
|
34
|
+
resourceId: SchedulerId;
|
|
35
|
+
start: string;
|
|
36
|
+
end: string;
|
|
37
|
+
}) => any;
|
|
38
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
39
|
+
"onUpdate:modelValue"?: ((value: SchedulerId | null) => any) | undefined;
|
|
40
|
+
onEventClick?: ((payload: SchedulerEvent) => any) | undefined;
|
|
41
|
+
onSlotClick?: ((payload: {
|
|
42
|
+
resourceId: SchedulerId;
|
|
43
|
+
start: string;
|
|
44
|
+
end: string;
|
|
45
|
+
}) => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
title: string;
|
|
49
|
+
modelValue: SchedulerId | null;
|
|
50
|
+
ariaLabel: string;
|
|
51
|
+
readonly: boolean;
|
|
52
|
+
resources: Array<SchedulerResource>;
|
|
53
|
+
events: Array<SchedulerEvent>;
|
|
54
|
+
startHour: number;
|
|
55
|
+
endHour: number;
|
|
56
|
+
slotMinutes: number;
|
|
57
|
+
locale: string;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
type ScrollToBehavior = 'auto' | 'smooth';
|
|
2
|
+
interface Props {
|
|
3
|
+
height?: string;
|
|
4
|
+
minHeight?: string;
|
|
5
|
+
maxHeight?: string;
|
|
6
|
+
alwaysShow?: boolean;
|
|
7
|
+
role?: string;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
tabIndex?: number;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {
|
|
17
|
+
viewport: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
23
|
+
getViewport: () => HTMLElement | null;
|
|
24
|
+
scrollTo: (top: number, behavior?: ScrollToBehavior) => void;
|
|
25
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
26
|
+
role: string;
|
|
27
|
+
ariaLabel: string;
|
|
28
|
+
height: string;
|
|
29
|
+
tabIndex: number;
|
|
30
|
+
minHeight: string;
|
|
31
|
+
maxHeight: string;
|
|
32
|
+
alwaysShow: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
viewport: HTMLDivElement;
|
|
35
|
+
}, HTMLDivElement>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
type ScrollTopVariant = 'filled' | 'outlined';
|
|
2
|
+
type ScrollToBehavior = 'auto' | 'smooth';
|
|
3
|
+
interface Props {
|
|
4
|
+
threshold?: number;
|
|
5
|
+
behavior?: ScrollToBehavior;
|
|
6
|
+
target?: Window | HTMLElement | null;
|
|
7
|
+
right?: string;
|
|
8
|
+
bottom?: string;
|
|
9
|
+
zIndex?: number | string;
|
|
10
|
+
showLabel?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
icon?: string;
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
alwaysVisible?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
variant?: ScrollTopVariant;
|
|
17
|
+
}
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
slots: {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLButtonElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
click: (...args: any[]) => void;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
label: string;
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
variant: ScrollTopVariant;
|
|
35
|
+
ariaLabel: string;
|
|
36
|
+
icon: string;
|
|
37
|
+
target: Window | HTMLElement | null;
|
|
38
|
+
right: string;
|
|
39
|
+
bottom: string;
|
|
40
|
+
threshold: number;
|
|
41
|
+
zIndex: number | string;
|
|
42
|
+
behavior: ScrollToBehavior;
|
|
43
|
+
showLabel: boolean;
|
|
44
|
+
alwaysVisible: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -40,13 +40,13 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
40
40
|
}>, {
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
name: string;
|
|
43
|
+
modelValue: string;
|
|
43
44
|
size: Size;
|
|
44
|
-
|
|
45
|
+
variant: Variant;
|
|
45
46
|
id: string;
|
|
46
47
|
ariaLabel: string;
|
|
47
|
-
|
|
48
|
+
required: boolean;
|
|
48
49
|
loading: boolean;
|
|
49
|
-
variant: Variant;
|
|
50
50
|
placeholder: string;
|
|
51
51
|
readonly: boolean;
|
|
52
52
|
autocomplete: string;
|