@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,23 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/**
|
|
5
|
+
* Fill available horizontal space in the stack with this item.
|
|
6
|
+
*/
|
|
7
|
+
fill: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
/**
|
|
15
|
+
* Fill available horizontal space in the stack with this item.
|
|
16
|
+
*/
|
|
17
|
+
fill: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
|
+
fill: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StatProps } from './types';
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<StatProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatProps> & Readonly<{}>, {
|
|
7
|
+
multiline: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StatGroupProps } from './types';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<StatGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatGroupProps> & Readonly<{}>, {
|
|
7
|
+
minWidth: string;
|
|
8
|
+
maxWidth: string;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export interface StatProps {
|
|
2
|
+
/**
|
|
3
|
+
* The text to display in the label.
|
|
4
|
+
*/
|
|
5
|
+
label?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Value format.
|
|
8
|
+
* > see `Formatter` type
|
|
9
|
+
*/
|
|
10
|
+
type?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The value to pass to formatter as a property. Alternatively the value can
|
|
13
|
+
* be passed as the default slot content.
|
|
14
|
+
* > see `Formatter` value
|
|
15
|
+
*/
|
|
16
|
+
value?: any;
|
|
17
|
+
/**
|
|
18
|
+
* Formatter locale (e.g. to be used with Intl.NumberFormat)
|
|
19
|
+
* > see `Formatter`locale
|
|
20
|
+
*/
|
|
21
|
+
locale?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Formatter currency (e.g. to be used with Intl.NumberFormat)
|
|
24
|
+
* > see `Formatter` currency
|
|
25
|
+
*/
|
|
26
|
+
currency?: string;
|
|
27
|
+
/**
|
|
28
|
+
* By default the value is rendered on a single line and truncated if too
|
|
29
|
+
* long. Enabling this property allows the value to span multiple lines.
|
|
30
|
+
*/
|
|
31
|
+
multiline?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface StatGroupProps {
|
|
34
|
+
/**
|
|
35
|
+
* The minimum width of columns in the group. (default 200px)
|
|
36
|
+
*/
|
|
37
|
+
minWidth?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The maximum width of columns in the group. (default 1fr)
|
|
40
|
+
*/
|
|
41
|
+
maxWidth?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StickyProps } from './types';
|
|
2
|
+
declare function measure(): void;
|
|
3
|
+
declare var __VLS_1: {
|
|
4
|
+
stuck: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import('vue').DefineComponent<StickyProps, {
|
|
10
|
+
measure: typeof measure;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:stuck": (stuck: boolean) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<StickyProps> & Readonly<{
|
|
14
|
+
"onUpdate:stuck"?: ((stuck: boolean) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
position: "top" | "bottom";
|
|
18
|
+
offset: number | string;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface StickyProps {
|
|
2
|
+
/**
|
|
3
|
+
* Distance to hold from the pinned edge. A number is pixels; a string is
|
|
4
|
+
* passed to CSS untouched, so `'2rem'`, `'var(--octans-space-4)'` and
|
|
5
|
+
* `'calc(100% - 8px)'` all work.
|
|
6
|
+
*
|
|
7
|
+
* @default 0
|
|
8
|
+
*/
|
|
9
|
+
offset?: number | string;
|
|
10
|
+
/**
|
|
11
|
+
* Which edge to pin against. `'bottom'` is for footer action bars.
|
|
12
|
+
*
|
|
13
|
+
* @default 'top'
|
|
14
|
+
*/
|
|
15
|
+
position?: 'top' | 'bottom';
|
|
16
|
+
/**
|
|
17
|
+
* Renders the content in normal flow instead of pinning it, so stickiness can
|
|
18
|
+
* be dropped at a breakpoint without unmounting anything. `stuck` stays
|
|
19
|
+
* `false` while disabled.
|
|
20
|
+
*
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SyntaxHighlighterProps } from './types';
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
Prism?: {
|
|
5
|
+
languages: Record<string, any>;
|
|
6
|
+
highlight: (code: string, grammar: any, language: string) => string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<SyntaxHighlighterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SyntaxHighlighterProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TabType, TabsProps } from './types';
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
tab: TabType;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
tab?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<TabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
|
+
"update:selected": (value: string, tab: TabType) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<TabsProps> & Readonly<{
|
|
11
|
+
"onUpdate:selected"?: ((value: string, tab: TabType) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
theme: "blue" | "purple";
|
|
14
|
+
tabs: TabType[];
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BadgeProgressType, BadgeStatusType } from '../types';
|
|
2
|
+
export interface TabType {
|
|
3
|
+
/**
|
|
4
|
+
* Identifies the tab. Matched against the `selected` prop, and emitted with
|
|
5
|
+
* `update:selected`.
|
|
6
|
+
*/
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
badge?: string;
|
|
11
|
+
badgeStatus?: BadgeStatusType;
|
|
12
|
+
badgeProgress?: BadgeProgressType;
|
|
13
|
+
}
|
|
14
|
+
export interface TabsProps {
|
|
15
|
+
/** The `value` of the currently selected tab. */
|
|
16
|
+
selected?: string;
|
|
17
|
+
tabs?: TabType[];
|
|
18
|
+
theme?: 'blue' | 'purple';
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PopperPlacementType } from '../Popper';
|
|
2
|
+
export interface TagProps {
|
|
3
|
+
/**
|
|
4
|
+
* Disables the remove button.
|
|
5
|
+
*/
|
|
6
|
+
required?: boolean;
|
|
7
|
+
tooltip?: string | null;
|
|
8
|
+
tooltipPosition?: PopperPlacementType;
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_1: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import('vue').DefineComponent<TagProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
remove: () => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<TagProps> & Readonly<{
|
|
17
|
+
onRemove?: (() => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
tooltipPosition: PopperPlacementType;
|
|
20
|
+
required: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tag } from './Tag.vue';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TextContainer } from './TextContainer.vue';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TextFieldProps } from './types';
|
|
2
|
+
declare function focus(): void;
|
|
3
|
+
declare var __VLS_14: {}, __VLS_16: {}, __VLS_31: {}, __VLS_33: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
left?: (props: typeof __VLS_14) => any;
|
|
6
|
+
} & {
|
|
7
|
+
prefix?: (props: typeof __VLS_16) => any;
|
|
8
|
+
} & {
|
|
9
|
+
suffix?: (props: typeof __VLS_31) => any;
|
|
10
|
+
} & {
|
|
11
|
+
right?: (props: typeof __VLS_33) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_base: import('vue').DefineComponent<TextFieldProps, {
|
|
14
|
+
focus: typeof focus;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
16
|
+
click: (event: MouseEvent) => any;
|
|
17
|
+
blur: (event: FocusEvent) => any;
|
|
18
|
+
focus: (event: FocusEvent) => any;
|
|
19
|
+
keydown: (event: KeyboardEvent) => any;
|
|
20
|
+
"update:modelValue": (value: string | number | null, event?: Event | undefined) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<TextFieldProps> & Readonly<{
|
|
22
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
23
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
24
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
25
|
+
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string | number | null, event?: Event | undefined) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
type: "email" | "number" | "password" | "text" | "tel";
|
|
29
|
+
emptyValue: string | number | null;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { MaskTokens } from 'maska';
|
|
3
|
+
export interface TextFieldProps {
|
|
4
|
+
/**
|
|
5
|
+
* Label to display above the input.
|
|
6
|
+
*/
|
|
7
|
+
label?: string | false;
|
|
8
|
+
/**
|
|
9
|
+
* Error text to show below the control.
|
|
10
|
+
*/
|
|
11
|
+
error?: string | false | null;
|
|
12
|
+
/**
|
|
13
|
+
* Help text to show below the control.
|
|
14
|
+
*/
|
|
15
|
+
helpText?: string | false;
|
|
16
|
+
/**
|
|
17
|
+
* Renders help text as raw HTML. Use with caution.
|
|
18
|
+
*/
|
|
19
|
+
helpTextHtml?: string | false;
|
|
20
|
+
/**
|
|
21
|
+
* Renders a help icon next to the label which links to an external page.
|
|
22
|
+
*/
|
|
23
|
+
helpLink?: string | false;
|
|
24
|
+
/**
|
|
25
|
+
* The control value.
|
|
26
|
+
*/
|
|
27
|
+
modelValue?: string | number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Hint to display in the input.
|
|
30
|
+
*/
|
|
31
|
+
placeholder?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Allow multiple lines of input.
|
|
34
|
+
*/
|
|
35
|
+
multiline?: boolean | string | number;
|
|
36
|
+
/**
|
|
37
|
+
* Maximum character length for the input.
|
|
38
|
+
*/
|
|
39
|
+
maxLength?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Text to display before the input value.
|
|
42
|
+
*/
|
|
43
|
+
prefix?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Text to display after the input value.
|
|
46
|
+
*/
|
|
47
|
+
suffix?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Determines the alignment of the text in the input: `"left" | "center" | "right"`.
|
|
50
|
+
*/
|
|
51
|
+
align?: 'left' | 'center' | 'right';
|
|
52
|
+
/**
|
|
53
|
+
* By default the text field will display any text. Can use:
|
|
54
|
+
*
|
|
55
|
+
* - email
|
|
56
|
+
* - number
|
|
57
|
+
* - password
|
|
58
|
+
* - text
|
|
59
|
+
* - tel
|
|
60
|
+
*/
|
|
61
|
+
type?: 'email' | 'number' | 'password' | 'text' | 'tel';
|
|
62
|
+
/**
|
|
63
|
+
* For number inputs this is the minimum value allowed.
|
|
64
|
+
*/
|
|
65
|
+
min?: number;
|
|
66
|
+
/**
|
|
67
|
+
* For number inputs this is the maximum value allowed.
|
|
68
|
+
*/
|
|
69
|
+
max?: number;
|
|
70
|
+
/**
|
|
71
|
+
* For number inputs this amount incremented using the stepper.
|
|
72
|
+
*/
|
|
73
|
+
step?: number;
|
|
74
|
+
/**
|
|
75
|
+
* Disable the input.
|
|
76
|
+
*/
|
|
77
|
+
disabled?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Set input `autocomplete` value
|
|
80
|
+
*/
|
|
81
|
+
autocomplete?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Disable editing of the input.
|
|
84
|
+
*/
|
|
85
|
+
readonly?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Makes font monospace
|
|
88
|
+
*/
|
|
89
|
+
monospace?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Additional styles for the input element.
|
|
92
|
+
*/
|
|
93
|
+
inputStyle?: CSSProperties;
|
|
94
|
+
/**
|
|
95
|
+
* The model value to emit when the text input is cleared by the user.
|
|
96
|
+
*/
|
|
97
|
+
emptyValue?: string | number | null;
|
|
98
|
+
/**
|
|
99
|
+
* Apply an input mask. Single-line only — ignored when `multiline` is set.
|
|
100
|
+
*
|
|
101
|
+
* Uses [maska](https://beholdr.github.io/maska/) tokens:
|
|
102
|
+
*
|
|
103
|
+
* - `#` — a digit (`0-9`)
|
|
104
|
+
* - `@` — a letter (`a-z`, `A-Z`)
|
|
105
|
+
* - `*` — alphanumeric
|
|
106
|
+
*
|
|
107
|
+
* e.g. `"(###) ###-####"`, `"##/##/####"`, `"@@-####"`.
|
|
108
|
+
*/
|
|
109
|
+
mask?: string;
|
|
110
|
+
/**
|
|
111
|
+
* When a `mask` is set, emit the unmasked (raw) value via
|
|
112
|
+
* `update:modelValue` instead of the masked value. The displayed input
|
|
113
|
+
* stays masked regardless.
|
|
114
|
+
*/
|
|
115
|
+
unmask?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Override or extend the mask tokens. See the `mask` prop for the defaults.
|
|
118
|
+
*/
|
|
119
|
+
maskTokens?: MaskTokens;
|
|
120
|
+
/**
|
|
121
|
+
* Eager masking — inserts fixed mask characters as soon as you reach them
|
|
122
|
+
* while typing, rather than waiting for the next input character.
|
|
123
|
+
*/
|
|
124
|
+
maskEager?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Reverse the mask direction. Useful for numeric masks where digits should
|
|
127
|
+
* fill from the right (e.g. thousands separators).
|
|
128
|
+
*/
|
|
129
|
+
maskReversed?: boolean;
|
|
130
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
type TextStyleType = 'positive' | 'negative' | 'strong' | 'subdued' | 'code' | 'link';
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
type: {
|
|
7
|
+
type: PropType<TextStyleType>;
|
|
8
|
+
};
|
|
9
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
type: {
|
|
13
|
+
type: PropType<TextStyleType>;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TextStyle } from './TextStyle.vue';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ThumbnailProps } from './types';
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<ThumbnailProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ThumbnailProps> & Readonly<{}>, {
|
|
7
|
+
size: "extraSmall" | "small" | "medium" | "large" | "extraLarge";
|
|
8
|
+
noBorder: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface ThumbnailProps {
|
|
2
|
+
/**
|
|
3
|
+
* Title of the thumbnail, having the highest visual priority.
|
|
4
|
+
*/
|
|
5
|
+
title?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Subtitle of the thumbnail, having a secondary visual priority.
|
|
8
|
+
*/
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Thumbnail image URL.
|
|
12
|
+
*/
|
|
13
|
+
url?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The `alt` attribute to provide to the underlying `img` element.
|
|
16
|
+
*/
|
|
17
|
+
alt?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The size of the thumbnail:
|
|
20
|
+
*
|
|
21
|
+
* - extraSmall
|
|
22
|
+
* - small
|
|
23
|
+
* - medium
|
|
24
|
+
* - large
|
|
25
|
+
* - extraLarge
|
|
26
|
+
*/
|
|
27
|
+
size?: 'extraSmall' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
28
|
+
/**
|
|
29
|
+
* Removes the border around the thumbnail image.
|
|
30
|
+
*/
|
|
31
|
+
noBorder?: boolean;
|
|
32
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TimePickerProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<TimePickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: string | null) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<TimePickerProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
label: string | false;
|
|
9
|
+
error: string | false;
|
|
10
|
+
width: "auto" | "full";
|
|
11
|
+
autoOpen: boolean;
|
|
12
|
+
modelValue: string | null;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
readonly: boolean;
|
|
15
|
+
modelFormat: string;
|
|
16
|
+
minTime: string;
|
|
17
|
+
maxTime: string;
|
|
18
|
+
clearable: boolean;
|
|
19
|
+
prefixIcon: boolean;
|
|
20
|
+
is24Hour: boolean;
|
|
21
|
+
minuteStep: number;
|
|
22
|
+
minuteStepStrict: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export interface TimePickerProps {
|
|
2
|
+
/**
|
|
3
|
+
* Label to display above the input.
|
|
4
|
+
*/
|
|
5
|
+
label?: string | false;
|
|
6
|
+
/**
|
|
7
|
+
* Error text to show below the control. Validation errors (e.g. min/max
|
|
8
|
+
* time) take precedence over this value. Accepts `false` so it can be fed
|
|
9
|
+
* directly from a condition, e.g. `:error="hasError && 'Some message'"`.
|
|
10
|
+
*/
|
|
11
|
+
error?: string | false;
|
|
12
|
+
/**
|
|
13
|
+
* Help text to show below the control.
|
|
14
|
+
*/
|
|
15
|
+
helpText?: string | false;
|
|
16
|
+
/**
|
|
17
|
+
* Renders help text as raw HTML. Use with caution.
|
|
18
|
+
*/
|
|
19
|
+
helpTextHtml?: string | false;
|
|
20
|
+
/**
|
|
21
|
+
* Renders a help icon next to the label which links to an external page.
|
|
22
|
+
*/
|
|
23
|
+
helpLink?: string | false;
|
|
24
|
+
/**
|
|
25
|
+
* Hint to display in the input when it is empty. Defaults to a format mask,
|
|
26
|
+
* e.g. `"--:-- --"` (12 hour) or `"--:--"` (24 hour).
|
|
27
|
+
*/
|
|
28
|
+
placeholder?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Shows a clock icon before the input. Defaults to `true`.
|
|
31
|
+
*/
|
|
32
|
+
prefixIcon?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Disable the input.
|
|
35
|
+
*/
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Disable editing of the input.
|
|
39
|
+
*/
|
|
40
|
+
readonly?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The model time value formatted according to `modelFormat`.
|
|
43
|
+
*/
|
|
44
|
+
modelValue?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* Format of the underlying value.
|
|
47
|
+
*
|
|
48
|
+
* @see https://day.js.org/docs/en/display/format
|
|
49
|
+
*/
|
|
50
|
+
modelFormat?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Restricts the minimum time that can be selected (`HH:mm`).
|
|
53
|
+
*/
|
|
54
|
+
minTime?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Restricts the maximum time that can be selected (`HH:mm`).
|
|
57
|
+
*/
|
|
58
|
+
maxTime?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Shows a button at the end of the input which allows the value to be
|
|
61
|
+
* cleared.
|
|
62
|
+
*/
|
|
63
|
+
clearable?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Controls the width of the input.
|
|
66
|
+
*
|
|
67
|
+
* - `full` (default): fills the width of its container, like other form
|
|
68
|
+
* fields.
|
|
69
|
+
* - `auto`: sizes to its content.
|
|
70
|
+
*/
|
|
71
|
+
width?: 'auto' | 'full';
|
|
72
|
+
/**
|
|
73
|
+
* Renders the input in 24 hour mode (hides the AM/PM toggle).
|
|
74
|
+
*/
|
|
75
|
+
is24Hour?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* The number of minutes to step by when using the up/down arrow keys.
|
|
78
|
+
*/
|
|
79
|
+
minuteStep?: number;
|
|
80
|
+
/**
|
|
81
|
+
* When `true`, the minute value snaps to the nearest `minuteStep` multiple
|
|
82
|
+
* when the field loses focus.
|
|
83
|
+
*/
|
|
84
|
+
minuteStepStrict?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated No longer used. The picker is now an inline input and does not
|
|
87
|
+
* open a popper. Kept for backwards compatibility.
|
|
88
|
+
*/
|
|
89
|
+
autoOpen?: boolean;
|
|
90
|
+
}
|