@octans/ui 1.0.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/LICENSE +21 -0
- package/README.md +226 -0
- package/bin/octans-icons.mjs +208 -0
- package/dist/components/ActionList/ActionList.vue.d.ts +77 -0
- package/dist/components/ActionList/ActionListButton.vue.d.ts +85 -0
- package/dist/components/ActionList/ActionListMenu.vue.d.ts +18 -0
- package/dist/components/ActionList/index.d.ts +1 -0
- package/dist/components/AppFrame/AppFrame.vue.d.ts +26 -0
- package/dist/components/AppFrame/context.d.ts +40 -0
- package/dist/components/AppFrame/index.d.ts +3 -0
- package/dist/components/AppFrame/types.d.ts +52 -0
- package/dist/components/Badge/Badge.vue.d.ts +125 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Banner/Banner.vue.d.ts +239 -0
- package/dist/components/Banner/index.d.ts +1 -0
- package/dist/components/Button/Button.vue.d.ts +284 -0
- package/dist/components/Button/ButtonGroup.vue.d.ts +44 -0
- package/dist/components/Button/ButtonGroupItem.vue.d.ts +5 -0
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +15 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/Calendar/types.d.ts +39 -0
- package/dist/components/CalendarHeatmap/CalendarHeatmap.vue.d.ts +21 -0
- package/dist/components/CalendarHeatmap/index.d.ts +2 -0
- package/dist/components/CalendarHeatmap/types.d.ts +168 -0
- package/dist/components/Caption/Caption.vue.d.ts +5 -0
- package/dist/components/Caption/index.d.ts +1 -0
- package/dist/components/Card/Card.vue.d.ts +82 -0
- package/dist/components/Card/CardSection.vue.d.ts +89 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/utils.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +171 -0
- package/dist/components/Checkbox/CheckboxControl.vue.d.ts +59 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Choice/Choice.vue.d.ts +102 -0
- package/dist/components/Choice/index.d.ts +1 -0
- package/dist/components/ChoiceList/ChoiceList.vue.d.ts +199 -0
- package/dist/components/ChoiceList/index.d.ts +2 -0
- package/dist/components/ChoiceList/types.d.ts +31 -0
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts +18 -0
- package/dist/components/ColorPicker/index.d.ts +2 -0
- package/dist/components/ColorPicker/types.d.ts +62 -0
- package/dist/components/ColorSelector/ColorSelector.vue.d.ts +34 -0
- package/dist/components/ColorSelector/index.d.ts +2 -0
- package/dist/components/ColorSelector/types.d.ts +143 -0
- package/dist/components/DataTable/BulkActions.vue.d.ts +282 -0
- package/dist/components/DataTable/DataTable.vue.d.ts +40 -0
- package/dist/components/DataTable/DataTableFooter.vue.d.ts +22 -0
- package/dist/components/DataTable/index.d.ts +2 -0
- package/dist/components/DataTable/types.d.ts +249 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +17 -0
- package/dist/components/DatePicker/index.d.ts +4 -0
- package/dist/components/DatePicker/types.d.ts +57 -0
- package/dist/components/Divider/Divider.vue.d.ts +20 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/types.d.ts +76 -0
- package/dist/components/EventDelegator/EventDelegator.vue.d.ts +18 -0
- package/dist/components/EventDelegator/index.d.ts +1 -0
- package/dist/components/EventDelegator/utils.d.ts +25 -0
- package/dist/components/FileInput/DropZone.vue.d.ts +67 -0
- package/dist/components/FileInput/FileInput.vue.d.ts +422 -0
- package/dist/components/FileInput/ItemList.vue.d.ts +109 -0
- package/dist/components/FileInput/index.d.ts +1 -0
- package/dist/components/FileInput/utils.d.ts +15 -0
- package/dist/components/Filters/FilterActions.vue.d.ts +236 -0
- package/dist/components/Filters/FilterItem.vue.d.ts +813 -0
- package/dist/components/Filters/Filters.vue.d.ts +1627 -0
- package/dist/components/Filters/index.d.ts +1 -0
- package/dist/components/Filters/utils.d.ts +1 -0
- package/dist/components/FooterHelp/FooterHelp.vue.d.ts +16 -0
- package/dist/components/FooterHelp/index.d.ts +1 -0
- package/dist/components/FormLayout/FormLayout.vue.d.ts +5 -0
- package/dist/components/FormLayout/FormLayoutGroup.vue.d.ts +17 -0
- package/dist/components/FormLayout/index.d.ts +2 -0
- package/dist/components/Formatter/Formatter.vue.d.ts +42 -0
- package/dist/components/Formatter/index.d.ts +1 -0
- package/dist/components/GlobalNav/GlobalNav.vue.d.ts +33 -0
- package/dist/components/GlobalNav/index.d.ts +2 -0
- package/dist/components/GlobalNav/types.d.ts +64 -0
- package/dist/components/GradientPicker/GradientPicker.vue.d.ts +20 -0
- package/dist/components/GradientPicker/index.d.ts +2 -0
- package/dist/components/GradientPicker/types.d.ts +74 -0
- package/dist/components/Heading/Heading.vue.d.ts +18 -0
- package/dist/components/Heading/index.d.ts +1 -0
- package/dist/components/Icon/Icon.vue.d.ts +112 -0
- package/dist/components/Icon/iconBundle.d.ts +1 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/InlineError/InlineError.vue.d.ts +6 -0
- package/dist/components/InlineError/index.d.ts +1 -0
- package/dist/components/Labelled/Labelled.vue.d.ts +110 -0
- package/dist/components/Labelled/index.d.ts +1 -0
- package/dist/components/Layout/Layout.vue.d.ts +13 -0
- package/dist/components/Layout/LayoutSection.vue.d.ts +16 -0
- package/dist/components/Layout/LayoutSectionAnnotated.vue.d.ts +34 -0
- package/dist/components/Layout/index.d.ts +3 -0
- package/dist/components/LineClamper/LineClamper.vue.d.ts +16 -0
- package/dist/components/LineClamper/index.d.ts +2 -0
- package/dist/components/LineClamper/types.d.ts +7 -0
- package/dist/components/Link/Link.vue.d.ts +19 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/List/List.vue.d.ts +15 -0
- package/dist/components/List/ListItem.vue.d.ts +16 -0
- package/dist/components/List/index.d.ts +3 -0
- package/dist/components/List/types.d.ts +51 -0
- package/dist/components/LoaderOverlay/LoaderOverlay.vue.d.ts +18 -0
- package/dist/components/LoaderOverlay/host.d.ts +6 -0
- package/dist/components/LoaderOverlay/index.d.ts +26 -0
- package/dist/components/LoaderOverlay/store.d.ts +7 -0
- package/dist/components/LoaderOverlay/types.d.ts +24 -0
- package/dist/components/LoadingBar/LoadingBar.vue.d.ts +7 -0
- package/dist/components/LoadingBar/host.d.ts +6 -0
- package/dist/components/LoadingBar/index.d.ts +28 -0
- package/dist/components/LoadingBar/store.d.ts +6 -0
- package/dist/components/LoadingBar/types.d.ts +16 -0
- package/dist/components/MaybeMountingPortal/MaybeMountingPortal.vue.d.ts +53 -0
- package/dist/components/MaybeMountingPortal/index.d.ts +1 -0
- package/dist/components/MaybeRouterLink/MaybeRouterLink.vue.d.ts +34 -0
- package/dist/components/MaybeRouterLink/index.d.ts +2 -0
- package/dist/components/MaybeRouterLink/types.d.ts +49 -0
- package/dist/components/Modal/Modal.vue.d.ts +28 -0
- package/dist/components/Modal/ModalBackdrop.vue.d.ts +12 -0
- package/dist/components/Modal/ModalHost.vue.d.ts +3 -0
- package/dist/components/Modal/ModalStackItem.vue.d.ts +14 -0
- package/dist/components/Modal/api/AlertModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/Base.d.ts +12 -0
- package/dist/components/Modal/api/ConfirmModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/GenericModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/PromptModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/types.d.ts +110 -0
- package/dist/components/Modal/host.d.ts +2 -0
- package/dist/components/Modal/index.d.ts +10 -0
- package/dist/components/Modal/manager.d.ts +80 -0
- package/dist/components/Modal/types.d.ts +49 -0
- package/dist/components/NavField/NavField.vue.d.ts +223 -0
- package/dist/components/NavField/index.d.ts +1 -0
- package/dist/components/Navigation/Navigation.vue.d.ts +47 -0
- package/dist/components/Navigation/components/Item.vue.d.ts +10 -0
- package/dist/components/Navigation/components/Section.vue.d.ts +13 -0
- package/dist/components/Navigation/index.d.ts +2 -0
- package/dist/components/Navigation/types.d.ts +117 -0
- package/dist/components/OtpInput/OtpInput.vue.d.ts +21 -0
- package/dist/components/OtpInput/index.d.ts +2 -0
- package/dist/components/OtpInput/types.d.ts +87 -0
- package/dist/components/Page/Page.vue.d.ts +34 -0
- package/dist/components/Page/index.d.ts +2 -0
- package/dist/components/Page/types.d.ts +75 -0
- package/dist/components/PageActions/PageActions.vue.d.ts +6 -0
- package/dist/components/PageActions/index.d.ts +2 -0
- package/dist/components/PageActions/types.d.ts +17 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +22 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Popper/Popper.vue.d.ts +45 -0
- package/dist/components/Popper/index.d.ts +2 -0
- package/dist/components/Popper/types.d.ts +29 -0
- package/dist/components/PreventAutoComplete/PreventAutoComplete.vue.d.ts +24 -0
- package/dist/components/PreventAutoComplete/index.d.ts +1 -0
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +48 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/RadioButton/RadioButton.vue.d.ts +143 -0
- package/dist/components/RadioButton/RadioButtonControl.vue.d.ts +50 -0
- package/dist/components/RadioButton/index.d.ts +2 -0
- package/dist/components/RangeSlider/RangeSlider.vue.d.ts +303 -0
- package/dist/components/RangeSlider/index.d.ts +1 -0
- package/dist/components/Rating/Rating.vue.d.ts +20 -0
- package/dist/components/Rating/index.d.ts +2 -0
- package/dist/components/Rating/types.d.ts +78 -0
- package/dist/components/ResourceList/ResourceItem.vue.d.ts +17 -0
- package/dist/components/ResourceList/ResourceList.vue.d.ts +19 -0
- package/dist/components/ResourceList/index.d.ts +3 -0
- package/dist/components/ResourceList/types.d.ts +19 -0
- package/dist/components/SaveBar/SaveBar.vue.d.ts +15 -0
- package/dist/components/SaveBar/index.d.ts +4 -0
- package/dist/components/SaveBar/store.d.ts +56 -0
- package/dist/components/SaveBar/types.d.ts +42 -0
- package/dist/components/SaveBarController/SaveBarController.vue.d.ts +40 -0
- package/dist/components/SaveBarController/index.d.ts +1 -0
- package/dist/components/ScrollPane/ScrollPane.vue.d.ts +24 -0
- package/dist/components/ScrollPane/index.d.ts +2 -0
- package/dist/components/ScrollPane/types.d.ts +64 -0
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +39 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/SegmentedControl/types.d.ts +119 -0
- package/dist/components/Select/Select.vue.d.ts +901 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Sheet/Sheet.vue.d.ts +41 -0
- package/dist/components/Sheet/index.d.ts +2 -0
- package/dist/components/Sheet/manager.d.ts +34 -0
- package/dist/components/Sheet/types.d.ts +92 -0
- package/dist/components/SkeletonBodyText/SkeletonBodyText.vue.d.ts +17 -0
- package/dist/components/SkeletonBodyText/index.d.ts +1 -0
- package/dist/components/SkeletonCard/SkeletonCard.vue.d.ts +34 -0
- package/dist/components/SkeletonCard/index.d.ts +1 -0
- package/dist/components/SkeletonDisplayText/SkeletonDisplayText.vue.d.ts +17 -0
- package/dist/components/SkeletonDisplayText/index.d.ts +1 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +52 -0
- package/dist/components/Spinner/index.d.ts +1 -0
- package/dist/components/Splitter/Splitter.vue.d.ts +60 -0
- package/dist/components/Splitter/index.d.ts +2 -0
- package/dist/components/Splitter/types.d.ts +177 -0
- package/dist/components/Stack/Stack.vue.d.ts +130 -0
- package/dist/components/Stack/StackItem.vue.d.ts +23 -0
- package/dist/components/Stack/index.d.ts +2 -0
- package/dist/components/StatGroup/Stat.vue.d.ts +16 -0
- package/dist/components/StatGroup/StatGroup.vue.d.ts +17 -0
- package/dist/components/StatGroup/index.d.ts +3 -0
- package/dist/components/StatGroup/types.d.ts +42 -0
- package/dist/components/Sticky/Sticky.vue.d.ts +27 -0
- package/dist/components/Sticky/index.d.ts +2 -0
- package/dist/components/Sticky/types.d.ts +24 -0
- package/dist/components/SyntaxHighlighter/SyntaxHighlighter.vue.d.ts +12 -0
- package/dist/components/SyntaxHighlighter/index.d.ts +2 -0
- package/dist/components/SyntaxHighlighter/types.d.ts +10 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +23 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/types.d.ts +19 -0
- package/dist/components/Tag/Tag.vue.d.ts +29 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/TextContainer/TextContainer.vue.d.ts +13 -0
- package/dist/components/TextContainer/index.d.ts +1 -0
- package/dist/components/TextField/TextField.vue.d.ts +38 -0
- package/dist/components/TextField/index.d.ts +2 -0
- package/dist/components/TextField/types.d.ts +130 -0
- package/dist/components/TextStyle/TextStyle.vue.d.ts +15 -0
- package/dist/components/TextStyle/index.d.ts +1 -0
- package/dist/components/Thumbnail/Thumbnail.vue.d.ts +17 -0
- package/dist/components/Thumbnail/index.d.ts +2 -0
- package/dist/components/Thumbnail/types.d.ts +32 -0
- package/dist/components/TimePicker/TimePicker.vue.d.ts +25 -0
- package/dist/components/TimePicker/index.d.ts +2 -0
- package/dist/components/TimePicker/types.d.ts +90 -0
- package/dist/components/TimezonePicker/TimezonePicker.vue.d.ts +15 -0
- package/dist/components/TimezonePicker/index.d.ts +2 -0
- package/dist/components/TimezonePicker/types.d.ts +50 -0
- package/dist/components/TimezonePicker/zoneCountries.d.ts +2 -0
- package/dist/components/ToastManager/ProgressBar.vue.d.ts +8 -0
- package/dist/components/ToastManager/Toast.vue.d.ts +14 -0
- package/dist/components/ToastManager/ToastManager.vue.d.ts +19 -0
- package/dist/components/ToastManager/host.d.ts +14 -0
- package/dist/components/ToastManager/index.d.ts +24 -0
- package/dist/components/ToastManager/manager.d.ts +45 -0
- package/dist/components/ToastManager/types.d.ts +44 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.vue.d.ts +35 -0
- package/dist/components/ToggleSwitch/index.d.ts +2 -0
- package/dist/components/ToggleSwitch/types.d.ts +84 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +20 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/UiProvider/UiProvider.vue.d.ts +16 -0
- package/dist/components/UiProvider/index.d.ts +2 -0
- package/dist/components/UiProvider/types.d.ts +2 -0
- package/dist/components/UiProvider/utils.d.ts +5 -0
- package/dist/components/UnstyledLink/UnstyledLink.vue.d.ts +5 -0
- package/dist/components/UnstyledLink/index.d.ts +1 -0
- package/dist/components/all.d.ts +92 -0
- package/dist/components/types.d.ts +74 -0
- package/dist/globalExtensions.d.ts +7 -0
- package/dist/i18n/en.json.d.ts +60 -0
- package/dist/lib.d.ts +67 -0
- package/dist/lib.umd.d.ts +1 -0
- package/dist/style.css +2 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/ui.js +20051 -0
- package/dist/ui.umd.js +10 -0
- package/dist/utils/autoHost.d.ts +27 -0
- package/dist/utils/color.d.ts +112 -0
- package/dist/utils/colorRamp.d.ts +51 -0
- package/dist/utils/createTheme.d.ts +52 -0
- package/dist/utils/customTheme.d.ts +73 -0
- package/dist/utils/date.d.ts +4 -0
- package/dist/utils/debounce.d.ts +3 -0
- package/dist/utils/deferredPromise.d.ts +6 -0
- package/dist/utils/format.d.ts +9 -0
- package/dist/utils/fuzzy.d.ts +33 -0
- package/dist/utils/gradient.d.ts +83 -0
- package/dist/utils/index.d.ts +31 -0
- package/dist/utils/loader.d.ts +1 -0
- package/dist/utils/positionPanel.d.ts +32 -0
- package/dist/utils/radix.d.ts +6 -0
- package/dist/utils/theme.d.ts +42 -0
- package/dist/utils/timezone.d.ts +66 -0
- package/dist/utils/tokens.d.ts +62 -0
- package/dist/utils/translate.d.ts +27 -0
- package/dist/zoneCountries-CWZGMHyp.js +353 -0
- package/package.json +120 -0
|
@@ -0,0 +1,901 @@
|
|
|
1
|
+
import { PanelPosition } from '../../utils/positionPanel';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export interface SelectOptionType {
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
archived?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
description?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface SelectOptionGroupType {
|
|
11
|
+
title: string;
|
|
12
|
+
options: SelectOptionType[];
|
|
13
|
+
}
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
|
+
/**
|
|
18
|
+
* Label for the control.
|
|
19
|
+
*/
|
|
20
|
+
label: {
|
|
21
|
+
type: PropType<string | false | null>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Error text to show below the control.
|
|
25
|
+
*/
|
|
26
|
+
error: {
|
|
27
|
+
type: PropType<string | false | null>;
|
|
28
|
+
required: false;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Help text to show below the control.
|
|
32
|
+
*/
|
|
33
|
+
helpText: {
|
|
34
|
+
type: PropType<string | false | null>;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Renders help text as raw HTML. Use with caution.
|
|
38
|
+
*/
|
|
39
|
+
helpTextHtml: {
|
|
40
|
+
type: PropType<string | false | null>;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Renders a help icon next to the label which links to an external page.
|
|
44
|
+
*/
|
|
45
|
+
helpLink: {
|
|
46
|
+
type: PropType<string | false | null>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* A array of values when using the `multiple` mode, otherwise a single
|
|
50
|
+
* value of any type.
|
|
51
|
+
*/
|
|
52
|
+
modelValue: {
|
|
53
|
+
type: any;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* The value to consider as "empty". When `value` is equal to this the
|
|
57
|
+
* placeholder option will be shown. If an array is provided then any of its
|
|
58
|
+
* values will be considered as empty.
|
|
59
|
+
*/
|
|
60
|
+
emptyValue: {
|
|
61
|
+
type: null;
|
|
62
|
+
default: () => (null | undefined)[];
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* An array with Option or OptionGroup object.
|
|
66
|
+
*
|
|
67
|
+
* ```ts
|
|
68
|
+
* interface Option {
|
|
69
|
+
* label: string
|
|
70
|
+
* value: any
|
|
71
|
+
* // Archived options are hidden from the user unless the current control
|
|
72
|
+
* // value is equal to the option value, OR if the user has selected the
|
|
73
|
+
* // archived value previously since the component was created.
|
|
74
|
+
* archived?: boolean
|
|
75
|
+
* disabled?: boolean
|
|
76
|
+
* description?: string
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
options: {
|
|
81
|
+
type: () => SelectOptionType[];
|
|
82
|
+
default: () => never[];
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Use as an alternative to `options`.
|
|
86
|
+
*
|
|
87
|
+
* ```ts
|
|
88
|
+
* interface OptionGroup {
|
|
89
|
+
* label: string
|
|
90
|
+
* options: Option[]
|
|
91
|
+
* }
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
optionGroups: {
|
|
95
|
+
type: () => SelectOptionGroupType[];
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Placeholder text to display when the input has no value.
|
|
99
|
+
*/
|
|
100
|
+
placeholder: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Whether to allow multiple values.
|
|
106
|
+
*/
|
|
107
|
+
multiple: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Text to display when no options are provided.
|
|
113
|
+
*/
|
|
114
|
+
noOptions: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Text to display when the user's search query matches no options.
|
|
119
|
+
*/
|
|
120
|
+
noResults: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Text to show the number of additional options selected when there are
|
|
125
|
+
* more than 3 options are chosen. The `{count}` variable will be
|
|
126
|
+
* substituted with the remaining number of options.
|
|
127
|
+
*/
|
|
128
|
+
additionalOptions: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Whether to show tags represented selected options at the bottom
|
|
133
|
+
* of the control.
|
|
134
|
+
*/
|
|
135
|
+
tags: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Shows the selected option description. Only applies to single-value
|
|
141
|
+
* controls.
|
|
142
|
+
*/
|
|
143
|
+
showDescription: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* Function to customize how options are filtered for Selects using the
|
|
149
|
+
* `searchable` prop. Overrides `fuzzy`.
|
|
150
|
+
*
|
|
151
|
+
* The function has the following signature:
|
|
152
|
+
*
|
|
153
|
+
* `(searchText: string, options: Option[]) => Option[]`
|
|
154
|
+
*
|
|
155
|
+
* Defaults to a case-insensitive substring match on each option's label or
|
|
156
|
+
* description.
|
|
157
|
+
*/
|
|
158
|
+
filterFn: {
|
|
159
|
+
type: FunctionConstructor;
|
|
160
|
+
default: null;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Matches loosely: every character of the query must appear in the label
|
|
164
|
+
* or description in order, but not necessarily together — so `gwp` finds
|
|
165
|
+
* "Girl with a Pearl Earring". Results are re-ordered best-match first,
|
|
166
|
+
* which a substring filter has no need to do.
|
|
167
|
+
*
|
|
168
|
+
* Worth turning on for long lists of things people half-remember, and
|
|
169
|
+
* worth leaving off for short lists where it only adds noise.
|
|
170
|
+
*
|
|
171
|
+
* Ignored when `filterFn` is set.
|
|
172
|
+
*/
|
|
173
|
+
fuzzy: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Whether to show the filter input in the dropdown.
|
|
179
|
+
*
|
|
180
|
+
* - `auto`: Automatically show the search filter when there are more than
|
|
181
|
+
* 10 items.
|
|
182
|
+
* - `true`: Always show.
|
|
183
|
+
* - `false`: Never show.
|
|
184
|
+
*
|
|
185
|
+
* Adding the `searchable` prop without a value is the same as setting it
|
|
186
|
+
* to `true`.
|
|
187
|
+
*/
|
|
188
|
+
searchable: {
|
|
189
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
190
|
+
default: string;
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Whether to show the loading spinner.
|
|
194
|
+
*/
|
|
195
|
+
loading: {
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
/**
|
|
200
|
+
* Disables the control and prevents all interaction.
|
|
201
|
+
*/
|
|
202
|
+
disabled: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: boolean;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Prevents the user from editing the control value.
|
|
208
|
+
*/
|
|
209
|
+
readonly: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* Allows clearing the selected value(s).
|
|
215
|
+
*
|
|
216
|
+
* - `multiple`: Only allow clearing multi-select inputs (default).
|
|
217
|
+
* - `true`: Always allow clearing.
|
|
218
|
+
* - `false`: Always disable clearing.
|
|
219
|
+
*/
|
|
220
|
+
clearable: {
|
|
221
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* When used with `multiple` it adds a "Toggle All" option at the top of the
|
|
226
|
+
* option list. This special option toggles all/none of the currently
|
|
227
|
+
* filtered options.
|
|
228
|
+
*/
|
|
229
|
+
toggleAll: {
|
|
230
|
+
type: BooleanConstructor;
|
|
231
|
+
default: boolean;
|
|
232
|
+
};
|
|
233
|
+
dropdownMinWidth: {
|
|
234
|
+
type: StringConstructor;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Whether to use a portal to render the dropdown list.
|
|
239
|
+
*/
|
|
240
|
+
teleport: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Open the menu on press and let a held pointer drag straight onto an
|
|
246
|
+
* option, committing it on release — the way a native `<select>` behaves.
|
|
247
|
+
*
|
|
248
|
+
* Purely additive: a plain click still opens the menu and leaves it open,
|
|
249
|
+
* because a release that has not travelled at least a few pixels from where
|
|
250
|
+
* it started is treated as a click, not a drag. Without that rule the menu
|
|
251
|
+
* would open under your pointer and the release that opened it would pick
|
|
252
|
+
* whatever happened to appear there.
|
|
253
|
+
*
|
|
254
|
+
* Set `:drag-select="false"` to require a separate click for each step.
|
|
255
|
+
*/
|
|
256
|
+
dragSelect: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
260
|
+
}>, {
|
|
261
|
+
style: Record<string, string>;
|
|
262
|
+
}, {
|
|
263
|
+
didJustFocusSearch: boolean;
|
|
264
|
+
isSearchFocused: boolean;
|
|
265
|
+
findText: string;
|
|
266
|
+
findTextTimeout: any | null;
|
|
267
|
+
onDocClick: any;
|
|
268
|
+
popper: PanelPosition | null;
|
|
269
|
+
isOpen: boolean;
|
|
270
|
+
teleportId: string;
|
|
271
|
+
searchText: string;
|
|
272
|
+
selected: any | any[] | null;
|
|
273
|
+
popperPlacement: string;
|
|
274
|
+
activeIndex: number;
|
|
275
|
+
prevSelected: Set<unknown>;
|
|
276
|
+
controlWidth: null | number;
|
|
277
|
+
resizeObserver: null | ResizeObserver;
|
|
278
|
+
/** Where the pointer went down, or null when no button is held. */
|
|
279
|
+
dragOrigin: {
|
|
280
|
+
x: number;
|
|
281
|
+
y: number;
|
|
282
|
+
} | null;
|
|
283
|
+
/** True once the pointer has moved far enough to count as a drag. */
|
|
284
|
+
isDragArmed: boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Set when this press opened the menu, so the trailing click can be
|
|
287
|
+
* stopped from reaching the document handler that would close it again.
|
|
288
|
+
*/
|
|
289
|
+
openedByPress: boolean;
|
|
290
|
+
/** Makes the document handler ignore exactly one click. */
|
|
291
|
+
ignoreNextDocClick: boolean;
|
|
292
|
+
}, {
|
|
293
|
+
popperPlacementSide(): string;
|
|
294
|
+
dropdownStyle(): string;
|
|
295
|
+
hasInvalidValue(): false;
|
|
296
|
+
displayText(): any;
|
|
297
|
+
selectedMap(): any;
|
|
298
|
+
isEmpty(): boolean;
|
|
299
|
+
resolvedOptions(): any;
|
|
300
|
+
resolvedOptionGroups(): SelectOptionGroupType[];
|
|
301
|
+
selectedOptions(): any;
|
|
302
|
+
/**
|
|
303
|
+
* An explicit `filterFn` wins; otherwise `fuzzy` picks between the two
|
|
304
|
+
* built-ins. Resolved here rather than as the prop's default so that
|
|
305
|
+
* default can depend on another prop.
|
|
306
|
+
*/
|
|
307
|
+
activeFilterFn(): (searchText: string, options: any[], group?: any) => any[];
|
|
308
|
+
filteredGroups(): any;
|
|
309
|
+
/**
|
|
310
|
+
* All options from `filteredGroups` merged together excluding the special
|
|
311
|
+
* "Select All" option.
|
|
312
|
+
*/
|
|
313
|
+
filteredOptions(): any;
|
|
314
|
+
numCurrentOptions(): any;
|
|
315
|
+
showSearch(): boolean;
|
|
316
|
+
canClear(): boolean;
|
|
317
|
+
toggleAllState(): {
|
|
318
|
+
checked: boolean;
|
|
319
|
+
indeterminate: boolean;
|
|
320
|
+
};
|
|
321
|
+
}, {
|
|
322
|
+
onControlMousedown(event: MouseEvent): void;
|
|
323
|
+
onControlClick(event: MouseEvent): void;
|
|
324
|
+
onDragMove(event: MouseEvent): void;
|
|
325
|
+
onDragEnd(event: MouseEvent): void;
|
|
326
|
+
endDragTracking(): void;
|
|
327
|
+
/** The option under the pointer, if the release landed on one. */
|
|
328
|
+
optionAtPoint(x: number, y: number): any;
|
|
329
|
+
onBlur(): void;
|
|
330
|
+
focus(): void;
|
|
331
|
+
searchFocus(): void;
|
|
332
|
+
searchBlur(): void;
|
|
333
|
+
onKeydown(event: KeyboardEvent): void;
|
|
334
|
+
findOption(predicate: any): any;
|
|
335
|
+
findOptionWithLabelStart(label: any): any;
|
|
336
|
+
scrollActiveOptionIntoView(): void;
|
|
337
|
+
open(): void;
|
|
338
|
+
close(): void;
|
|
339
|
+
destroyPopper(): void;
|
|
340
|
+
updatePopper(): void;
|
|
341
|
+
clearSelected(): void;
|
|
342
|
+
setDocClickHandler(doAdd: any): void;
|
|
343
|
+
getOptionState(option: any): boolean;
|
|
344
|
+
toggleOption(option: any): void;
|
|
345
|
+
toggleAllOptions(): void;
|
|
346
|
+
emitChange(selected: any | any[]): void;
|
|
347
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
348
|
+
/**
|
|
349
|
+
* Label for the control.
|
|
350
|
+
*/
|
|
351
|
+
label: {
|
|
352
|
+
type: PropType<string | false | null>;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Error text to show below the control.
|
|
356
|
+
*/
|
|
357
|
+
error: {
|
|
358
|
+
type: PropType<string | false | null>;
|
|
359
|
+
required: false;
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Help text to show below the control.
|
|
363
|
+
*/
|
|
364
|
+
helpText: {
|
|
365
|
+
type: PropType<string | false | null>;
|
|
366
|
+
};
|
|
367
|
+
/**
|
|
368
|
+
* Renders help text as raw HTML. Use with caution.
|
|
369
|
+
*/
|
|
370
|
+
helpTextHtml: {
|
|
371
|
+
type: PropType<string | false | null>;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Renders a help icon next to the label which links to an external page.
|
|
375
|
+
*/
|
|
376
|
+
helpLink: {
|
|
377
|
+
type: PropType<string | false | null>;
|
|
378
|
+
};
|
|
379
|
+
/**
|
|
380
|
+
* A array of values when using the `multiple` mode, otherwise a single
|
|
381
|
+
* value of any type.
|
|
382
|
+
*/
|
|
383
|
+
modelValue: {
|
|
384
|
+
type: any;
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* The value to consider as "empty". When `value` is equal to this the
|
|
388
|
+
* placeholder option will be shown. If an array is provided then any of its
|
|
389
|
+
* values will be considered as empty.
|
|
390
|
+
*/
|
|
391
|
+
emptyValue: {
|
|
392
|
+
type: null;
|
|
393
|
+
default: () => (null | undefined)[];
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* An array with Option or OptionGroup object.
|
|
397
|
+
*
|
|
398
|
+
* ```ts
|
|
399
|
+
* interface Option {
|
|
400
|
+
* label: string
|
|
401
|
+
* value: any
|
|
402
|
+
* // Archived options are hidden from the user unless the current control
|
|
403
|
+
* // value is equal to the option value, OR if the user has selected the
|
|
404
|
+
* // archived value previously since the component was created.
|
|
405
|
+
* archived?: boolean
|
|
406
|
+
* disabled?: boolean
|
|
407
|
+
* description?: string
|
|
408
|
+
* }
|
|
409
|
+
* ```
|
|
410
|
+
*/
|
|
411
|
+
options: {
|
|
412
|
+
type: () => SelectOptionType[];
|
|
413
|
+
default: () => never[];
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* Use as an alternative to `options`.
|
|
417
|
+
*
|
|
418
|
+
* ```ts
|
|
419
|
+
* interface OptionGroup {
|
|
420
|
+
* label: string
|
|
421
|
+
* options: Option[]
|
|
422
|
+
* }
|
|
423
|
+
* ```
|
|
424
|
+
*/
|
|
425
|
+
optionGroups: {
|
|
426
|
+
type: () => SelectOptionGroupType[];
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Placeholder text to display when the input has no value.
|
|
430
|
+
*/
|
|
431
|
+
placeholder: {
|
|
432
|
+
type: StringConstructor;
|
|
433
|
+
default: string;
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* Whether to allow multiple values.
|
|
437
|
+
*/
|
|
438
|
+
multiple: {
|
|
439
|
+
type: BooleanConstructor;
|
|
440
|
+
default: boolean;
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Text to display when no options are provided.
|
|
444
|
+
*/
|
|
445
|
+
noOptions: {
|
|
446
|
+
type: StringConstructor;
|
|
447
|
+
};
|
|
448
|
+
/**
|
|
449
|
+
* Text to display when the user's search query matches no options.
|
|
450
|
+
*/
|
|
451
|
+
noResults: {
|
|
452
|
+
type: StringConstructor;
|
|
453
|
+
};
|
|
454
|
+
/**
|
|
455
|
+
* Text to show the number of additional options selected when there are
|
|
456
|
+
* more than 3 options are chosen. The `{count}` variable will be
|
|
457
|
+
* substituted with the remaining number of options.
|
|
458
|
+
*/
|
|
459
|
+
additionalOptions: {
|
|
460
|
+
type: StringConstructor;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Whether to show tags represented selected options at the bottom
|
|
464
|
+
* of the control.
|
|
465
|
+
*/
|
|
466
|
+
tags: {
|
|
467
|
+
type: BooleanConstructor;
|
|
468
|
+
default: boolean;
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* Shows the selected option description. Only applies to single-value
|
|
472
|
+
* controls.
|
|
473
|
+
*/
|
|
474
|
+
showDescription: {
|
|
475
|
+
type: BooleanConstructor;
|
|
476
|
+
default: boolean;
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* Function to customize how options are filtered for Selects using the
|
|
480
|
+
* `searchable` prop. Overrides `fuzzy`.
|
|
481
|
+
*
|
|
482
|
+
* The function has the following signature:
|
|
483
|
+
*
|
|
484
|
+
* `(searchText: string, options: Option[]) => Option[]`
|
|
485
|
+
*
|
|
486
|
+
* Defaults to a case-insensitive substring match on each option's label or
|
|
487
|
+
* description.
|
|
488
|
+
*/
|
|
489
|
+
filterFn: {
|
|
490
|
+
type: FunctionConstructor;
|
|
491
|
+
default: null;
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* Matches loosely: every character of the query must appear in the label
|
|
495
|
+
* or description in order, but not necessarily together — so `gwp` finds
|
|
496
|
+
* "Girl with a Pearl Earring". Results are re-ordered best-match first,
|
|
497
|
+
* which a substring filter has no need to do.
|
|
498
|
+
*
|
|
499
|
+
* Worth turning on for long lists of things people half-remember, and
|
|
500
|
+
* worth leaving off for short lists where it only adds noise.
|
|
501
|
+
*
|
|
502
|
+
* Ignored when `filterFn` is set.
|
|
503
|
+
*/
|
|
504
|
+
fuzzy: {
|
|
505
|
+
type: BooleanConstructor;
|
|
506
|
+
default: boolean;
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Whether to show the filter input in the dropdown.
|
|
510
|
+
*
|
|
511
|
+
* - `auto`: Automatically show the search filter when there are more than
|
|
512
|
+
* 10 items.
|
|
513
|
+
* - `true`: Always show.
|
|
514
|
+
* - `false`: Never show.
|
|
515
|
+
*
|
|
516
|
+
* Adding the `searchable` prop without a value is the same as setting it
|
|
517
|
+
* to `true`.
|
|
518
|
+
*/
|
|
519
|
+
searchable: {
|
|
520
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
521
|
+
default: string;
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* Whether to show the loading spinner.
|
|
525
|
+
*/
|
|
526
|
+
loading: {
|
|
527
|
+
type: BooleanConstructor;
|
|
528
|
+
default: boolean;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* Disables the control and prevents all interaction.
|
|
532
|
+
*/
|
|
533
|
+
disabled: {
|
|
534
|
+
type: BooleanConstructor;
|
|
535
|
+
default: boolean;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Prevents the user from editing the control value.
|
|
539
|
+
*/
|
|
540
|
+
readonly: {
|
|
541
|
+
type: BooleanConstructor;
|
|
542
|
+
default: boolean;
|
|
543
|
+
};
|
|
544
|
+
/**
|
|
545
|
+
* Allows clearing the selected value(s).
|
|
546
|
+
*
|
|
547
|
+
* - `multiple`: Only allow clearing multi-select inputs (default).
|
|
548
|
+
* - `true`: Always allow clearing.
|
|
549
|
+
* - `false`: Always disable clearing.
|
|
550
|
+
*/
|
|
551
|
+
clearable: {
|
|
552
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
553
|
+
default: string;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* When used with `multiple` it adds a "Toggle All" option at the top of the
|
|
557
|
+
* option list. This special option toggles all/none of the currently
|
|
558
|
+
* filtered options.
|
|
559
|
+
*/
|
|
560
|
+
toggleAll: {
|
|
561
|
+
type: BooleanConstructor;
|
|
562
|
+
default: boolean;
|
|
563
|
+
};
|
|
564
|
+
dropdownMinWidth: {
|
|
565
|
+
type: StringConstructor;
|
|
566
|
+
default: string;
|
|
567
|
+
};
|
|
568
|
+
/**
|
|
569
|
+
* Whether to use a portal to render the dropdown list.
|
|
570
|
+
*/
|
|
571
|
+
teleport: {
|
|
572
|
+
type: BooleanConstructor;
|
|
573
|
+
default: boolean;
|
|
574
|
+
};
|
|
575
|
+
/**
|
|
576
|
+
* Open the menu on press and let a held pointer drag straight onto an
|
|
577
|
+
* option, committing it on release — the way a native `<select>` behaves.
|
|
578
|
+
*
|
|
579
|
+
* Purely additive: a plain click still opens the menu and leaves it open,
|
|
580
|
+
* because a release that has not travelled at least a few pixels from where
|
|
581
|
+
* it started is treated as a click, not a drag. Without that rule the menu
|
|
582
|
+
* would open under your pointer and the release that opened it would pick
|
|
583
|
+
* whatever happened to appear there.
|
|
584
|
+
*
|
|
585
|
+
* Set `:drag-select="false"` to require a separate click for each step.
|
|
586
|
+
*/
|
|
587
|
+
dragSelect: {
|
|
588
|
+
type: BooleanConstructor;
|
|
589
|
+
default: boolean;
|
|
590
|
+
};
|
|
591
|
+
}>> & Readonly<{
|
|
592
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
593
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
594
|
+
}>, {
|
|
595
|
+
disabled: boolean;
|
|
596
|
+
loading: boolean;
|
|
597
|
+
modelValue: any;
|
|
598
|
+
placeholder: string;
|
|
599
|
+
readonly: boolean;
|
|
600
|
+
emptyValue: any;
|
|
601
|
+
multiple: boolean;
|
|
602
|
+
options: SelectOptionType[];
|
|
603
|
+
clearable: string | boolean;
|
|
604
|
+
teleport: boolean;
|
|
605
|
+
tags: boolean;
|
|
606
|
+
showDescription: boolean;
|
|
607
|
+
filterFn: Function;
|
|
608
|
+
fuzzy: boolean;
|
|
609
|
+
searchable: string | boolean;
|
|
610
|
+
toggleAll: boolean;
|
|
611
|
+
dropdownMinWidth: string;
|
|
612
|
+
dragSelect: boolean;
|
|
613
|
+
}, {}, {
|
|
614
|
+
Icon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
615
|
+
icon: {
|
|
616
|
+
type: StringConstructor;
|
|
617
|
+
};
|
|
618
|
+
size: {
|
|
619
|
+
type: StringConstructor;
|
|
620
|
+
};
|
|
621
|
+
contained: {
|
|
622
|
+
type: BooleanConstructor;
|
|
623
|
+
};
|
|
624
|
+
badge: {
|
|
625
|
+
type: PropType<import('../types').IconBadgeStatusType>;
|
|
626
|
+
};
|
|
627
|
+
badgeIcon: {
|
|
628
|
+
type: StringConstructor;
|
|
629
|
+
};
|
|
630
|
+
badgeColor: {
|
|
631
|
+
type: StringConstructor;
|
|
632
|
+
};
|
|
633
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
634
|
+
[key: string]: any;
|
|
635
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
636
|
+
icon: {
|
|
637
|
+
type: StringConstructor;
|
|
638
|
+
};
|
|
639
|
+
size: {
|
|
640
|
+
type: StringConstructor;
|
|
641
|
+
};
|
|
642
|
+
contained: {
|
|
643
|
+
type: BooleanConstructor;
|
|
644
|
+
};
|
|
645
|
+
badge: {
|
|
646
|
+
type: PropType<import('../types').IconBadgeStatusType>;
|
|
647
|
+
};
|
|
648
|
+
badgeIcon: {
|
|
649
|
+
type: StringConstructor;
|
|
650
|
+
};
|
|
651
|
+
badgeColor: {
|
|
652
|
+
type: StringConstructor;
|
|
653
|
+
};
|
|
654
|
+
}>> & Readonly<{}>, {
|
|
655
|
+
contained: boolean;
|
|
656
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
657
|
+
ScrollPane: {
|
|
658
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../ScrollPane').ScrollPaneProps> & Readonly<{}>, {
|
|
659
|
+
scrollTo: (x: number, y: number) => void;
|
|
660
|
+
update: () => void;
|
|
661
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
662
|
+
disabled: boolean;
|
|
663
|
+
contain: boolean;
|
|
664
|
+
direction: import('../ScrollPane').ScrollPaneDirectionType;
|
|
665
|
+
indicators: boolean;
|
|
666
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
667
|
+
P: {};
|
|
668
|
+
B: {};
|
|
669
|
+
D: {};
|
|
670
|
+
C: {};
|
|
671
|
+
M: {};
|
|
672
|
+
Defaults: {};
|
|
673
|
+
}, Readonly<import('../ScrollPane').ScrollPaneProps> & Readonly<{}>, {
|
|
674
|
+
scrollTo: (x: number, y: number) => void;
|
|
675
|
+
update: () => void;
|
|
676
|
+
}, {}, {}, {}, {
|
|
677
|
+
disabled: boolean;
|
|
678
|
+
contain: boolean;
|
|
679
|
+
direction: import('../ScrollPane').ScrollPaneDirectionType;
|
|
680
|
+
indicators: boolean;
|
|
681
|
+
}>;
|
|
682
|
+
__isFragment?: never;
|
|
683
|
+
__isTeleport?: never;
|
|
684
|
+
__isSuspense?: never;
|
|
685
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../ScrollPane').ScrollPaneProps> & Readonly<{}>, {
|
|
686
|
+
scrollTo: (x: number, y: number) => void;
|
|
687
|
+
update: () => void;
|
|
688
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
689
|
+
disabled: boolean;
|
|
690
|
+
contain: boolean;
|
|
691
|
+
direction: import('../ScrollPane').ScrollPaneDirectionType;
|
|
692
|
+
indicators: boolean;
|
|
693
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
694
|
+
$slots: {
|
|
695
|
+
default?: (props: {}) => any;
|
|
696
|
+
};
|
|
697
|
+
});
|
|
698
|
+
Labelled: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
699
|
+
label: {
|
|
700
|
+
type: PropType<string | false | null>;
|
|
701
|
+
required: false;
|
|
702
|
+
};
|
|
703
|
+
error: {
|
|
704
|
+
type: PropType<string | false | null>;
|
|
705
|
+
required: false;
|
|
706
|
+
};
|
|
707
|
+
helpText: {
|
|
708
|
+
type: PropType<string | false | null>;
|
|
709
|
+
required: false;
|
|
710
|
+
};
|
|
711
|
+
helpTextHtml: {
|
|
712
|
+
type: PropType<string | false | null>;
|
|
713
|
+
required: false;
|
|
714
|
+
};
|
|
715
|
+
helpLink: {
|
|
716
|
+
type: PropType<string | false | null>;
|
|
717
|
+
required: false;
|
|
718
|
+
};
|
|
719
|
+
required: {
|
|
720
|
+
type: BooleanConstructor;
|
|
721
|
+
required: false;
|
|
722
|
+
};
|
|
723
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
724
|
+
[key: string]: any;
|
|
725
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
726
|
+
label: {
|
|
727
|
+
type: PropType<string | false | null>;
|
|
728
|
+
required: false;
|
|
729
|
+
};
|
|
730
|
+
error: {
|
|
731
|
+
type: PropType<string | false | null>;
|
|
732
|
+
required: false;
|
|
733
|
+
};
|
|
734
|
+
helpText: {
|
|
735
|
+
type: PropType<string | false | null>;
|
|
736
|
+
required: false;
|
|
737
|
+
};
|
|
738
|
+
helpTextHtml: {
|
|
739
|
+
type: PropType<string | false | null>;
|
|
740
|
+
required: false;
|
|
741
|
+
};
|
|
742
|
+
helpLink: {
|
|
743
|
+
type: PropType<string | false | null>;
|
|
744
|
+
required: false;
|
|
745
|
+
};
|
|
746
|
+
required: {
|
|
747
|
+
type: BooleanConstructor;
|
|
748
|
+
required: false;
|
|
749
|
+
};
|
|
750
|
+
}>> & Readonly<{}>, {
|
|
751
|
+
required: boolean;
|
|
752
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
753
|
+
Tag: {
|
|
754
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../Tag/Tag.vue').TagProps> & Readonly<{
|
|
755
|
+
onRemove?: (() => any) | undefined;
|
|
756
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
757
|
+
remove: () => any;
|
|
758
|
+
}, import('vue').PublicProps, {
|
|
759
|
+
tooltipPosition: import('../Popper').PopperPlacementType;
|
|
760
|
+
required: boolean;
|
|
761
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
762
|
+
P: {};
|
|
763
|
+
B: {};
|
|
764
|
+
D: {};
|
|
765
|
+
C: {};
|
|
766
|
+
M: {};
|
|
767
|
+
Defaults: {};
|
|
768
|
+
}, Readonly<import('../Tag/Tag.vue').TagProps> & Readonly<{
|
|
769
|
+
onRemove?: (() => any) | undefined;
|
|
770
|
+
}>, {}, {}, {}, {}, {
|
|
771
|
+
tooltipPosition: import('../Popper').PopperPlacementType;
|
|
772
|
+
required: boolean;
|
|
773
|
+
}>;
|
|
774
|
+
__isFragment?: never;
|
|
775
|
+
__isTeleport?: never;
|
|
776
|
+
__isSuspense?: never;
|
|
777
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../Tag/Tag.vue').TagProps> & Readonly<{
|
|
778
|
+
onRemove?: (() => any) | undefined;
|
|
779
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
780
|
+
remove: () => any;
|
|
781
|
+
}, string, {
|
|
782
|
+
tooltipPosition: import('../Popper').PopperPlacementType;
|
|
783
|
+
required: boolean;
|
|
784
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
785
|
+
$slots: {
|
|
786
|
+
default?: (props: {}) => any;
|
|
787
|
+
};
|
|
788
|
+
});
|
|
789
|
+
CheckboxControl: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
790
|
+
name: {
|
|
791
|
+
type: StringConstructor;
|
|
792
|
+
};
|
|
793
|
+
checked: {
|
|
794
|
+
type: BooleanConstructor;
|
|
795
|
+
default: boolean;
|
|
796
|
+
};
|
|
797
|
+
disabled: {
|
|
798
|
+
type: BooleanConstructor;
|
|
799
|
+
default: boolean;
|
|
800
|
+
};
|
|
801
|
+
readonly: {
|
|
802
|
+
type: BooleanConstructor;
|
|
803
|
+
default: boolean;
|
|
804
|
+
};
|
|
805
|
+
error: {
|
|
806
|
+
type: BooleanConstructor;
|
|
807
|
+
default: boolean;
|
|
808
|
+
};
|
|
809
|
+
indeterminate: {
|
|
810
|
+
type: BooleanConstructor;
|
|
811
|
+
default: boolean;
|
|
812
|
+
};
|
|
813
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
814
|
+
[key: string]: any;
|
|
815
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
816
|
+
name: {
|
|
817
|
+
type: StringConstructor;
|
|
818
|
+
};
|
|
819
|
+
checked: {
|
|
820
|
+
type: BooleanConstructor;
|
|
821
|
+
default: boolean;
|
|
822
|
+
};
|
|
823
|
+
disabled: {
|
|
824
|
+
type: BooleanConstructor;
|
|
825
|
+
default: boolean;
|
|
826
|
+
};
|
|
827
|
+
readonly: {
|
|
828
|
+
type: BooleanConstructor;
|
|
829
|
+
default: boolean;
|
|
830
|
+
};
|
|
831
|
+
error: {
|
|
832
|
+
type: BooleanConstructor;
|
|
833
|
+
default: boolean;
|
|
834
|
+
};
|
|
835
|
+
indeterminate: {
|
|
836
|
+
type: BooleanConstructor;
|
|
837
|
+
default: boolean;
|
|
838
|
+
};
|
|
839
|
+
}>> & Readonly<{}>, {
|
|
840
|
+
disabled: boolean;
|
|
841
|
+
error: boolean;
|
|
842
|
+
readonly: boolean;
|
|
843
|
+
checked: boolean;
|
|
844
|
+
indeterminate: boolean;
|
|
845
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
846
|
+
Spinner: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
847
|
+
color: {
|
|
848
|
+
type: StringConstructor;
|
|
849
|
+
default: string;
|
|
850
|
+
};
|
|
851
|
+
size: {
|
|
852
|
+
type: StringConstructor;
|
|
853
|
+
default: string;
|
|
854
|
+
};
|
|
855
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
856
|
+
color: {
|
|
857
|
+
type: StringConstructor;
|
|
858
|
+
default: string;
|
|
859
|
+
};
|
|
860
|
+
size: {
|
|
861
|
+
type: StringConstructor;
|
|
862
|
+
default: string;
|
|
863
|
+
};
|
|
864
|
+
}>> & Readonly<{}>, {
|
|
865
|
+
size: string;
|
|
866
|
+
color: string;
|
|
867
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
868
|
+
MaybeMountingPortal: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
869
|
+
teleport: {
|
|
870
|
+
type: BooleanConstructor;
|
|
871
|
+
default: boolean;
|
|
872
|
+
};
|
|
873
|
+
mountTo: {
|
|
874
|
+
type: StringConstructor;
|
|
875
|
+
default: string;
|
|
876
|
+
};
|
|
877
|
+
defer: {
|
|
878
|
+
type: BooleanConstructor;
|
|
879
|
+
default: boolean;
|
|
880
|
+
};
|
|
881
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
882
|
+
[key: string]: any;
|
|
883
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
884
|
+
teleport: {
|
|
885
|
+
type: BooleanConstructor;
|
|
886
|
+
default: boolean;
|
|
887
|
+
};
|
|
888
|
+
mountTo: {
|
|
889
|
+
type: StringConstructor;
|
|
890
|
+
default: string;
|
|
891
|
+
};
|
|
892
|
+
defer: {
|
|
893
|
+
type: BooleanConstructor;
|
|
894
|
+
default: boolean;
|
|
895
|
+
};
|
|
896
|
+
}>> & Readonly<{}>, {
|
|
897
|
+
defer: boolean;
|
|
898
|
+
teleport: boolean;
|
|
899
|
+
mountTo: string;
|
|
900
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
901
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|