@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 @@
|
|
|
1
|
+
export { default as Filters } from './Filters.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isEmptyFilterValue(value: any): boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface FooterHelpProps {
|
|
2
|
+
title?: string;
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_6: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_6) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<FooterHelpProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FooterHelpProps> & Readonly<{}>, {}, {}, {}, {}, 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 @@
|
|
|
1
|
+
export { default as FooterHelp } from './FooterHelp.vue';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
condensed: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
condensed: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
|
+
condensed: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: null;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
locale: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
currency: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
type: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
value: {
|
|
28
|
+
type: null;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
locale: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
currency: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
locale: string;
|
|
41
|
+
currency: string;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Formatter } from './Formatter.vue';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { GlobalNavProps, GlobalNavThemeType } from './types';
|
|
2
|
+
declare var __VLS_19: {}, __VLS_26: {}, __VLS_28: {}, __VLS_30: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
logo?: (props: typeof __VLS_19) => any;
|
|
5
|
+
} & {
|
|
6
|
+
center?: (props: typeof __VLS_26) => any;
|
|
7
|
+
} & {
|
|
8
|
+
actions?: (props: typeof __VLS_28) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_30) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<GlobalNavProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
save: () => any;
|
|
14
|
+
discard: () => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<GlobalNavProps> & Readonly<{
|
|
16
|
+
onSave?: (() => any) | undefined;
|
|
17
|
+
onDiscard?: (() => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
layoutMode: import('./types').GlobalNavLayoutModeType;
|
|
20
|
+
prefixTitleSeparator: boolean;
|
|
21
|
+
logo: boolean;
|
|
22
|
+
theme: GlobalNavThemeType;
|
|
23
|
+
saveBarState: import('../SaveBar').SaveBarStateType;
|
|
24
|
+
saveBarConfirmDiscard: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { SaveBarProps, SaveBarStateType, SaveBarTranslationsType } from '../SaveBar';
|
|
2
|
+
/**
|
|
3
|
+
* Whether the sidebar sits beside the nav or below it. Consumed by `AppFrame`
|
|
4
|
+
* to decide the grid layout.
|
|
5
|
+
*/
|
|
6
|
+
export type GlobalNavLayoutModeType = 'default' | 'alternate';
|
|
7
|
+
export type GlobalNavThemeType = 'light' | 'dark';
|
|
8
|
+
export interface GlobalNavPrefixTitleActionType {
|
|
9
|
+
/** Text to render. Optional if `icon` is given. */
|
|
10
|
+
label?: string;
|
|
11
|
+
/** An Iconify name, e.g. `mdi:cog`. */
|
|
12
|
+
icon?: string;
|
|
13
|
+
/** Called when the action is clicked. */
|
|
14
|
+
onAction?: () => void;
|
|
15
|
+
}
|
|
16
|
+
/** @deprecated The save bar is its own component now — use
|
|
17
|
+
* `SaveBarTranslationsType` from `@octans/ui`. */
|
|
18
|
+
export type GlobalNavSaveBarTranslationsType = SaveBarTranslationsType;
|
|
19
|
+
/** @deprecated The save bar is its own component now — use `SaveBarProps`
|
|
20
|
+
* from `@octans/ui`. */
|
|
21
|
+
export type GlobalNavSaveBarProps = SaveBarProps;
|
|
22
|
+
export interface GlobalNavProps {
|
|
23
|
+
/** Title text shown at the left of the bar, after any prefix actions. */
|
|
24
|
+
title?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Actions rendered before the title — typically breadcrumb-style navigation
|
|
27
|
+
* back up to a parent page.
|
|
28
|
+
*/
|
|
29
|
+
prefixTitleActions?: GlobalNavPrefixTitleActionType[];
|
|
30
|
+
/** Draws a divider between each prefix action and the title. */
|
|
31
|
+
prefixTitleSeparator?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Called when the title is clicked. Supplying it also gives the title
|
|
34
|
+
* button styling. `@click-title` compiles to this same prop.
|
|
35
|
+
*/
|
|
36
|
+
onClickTitle?: () => void;
|
|
37
|
+
/** Reserves space for the `logo` slot. */
|
|
38
|
+
logo?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Colour scheme for the bar. `dark` (the default) draws the bar in its own
|
|
41
|
+
* chrome colours — `--octans-surface-nav` / `--octans-text-on-nav`, which a
|
|
42
|
+
* theme can override; `light` follows the app surface instead.
|
|
43
|
+
*/
|
|
44
|
+
theme?: GlobalNavThemeType;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the bar spans the full width (`default`) or starts to the right
|
|
47
|
+
* of a full-height sidebar (`alternate`). Inside an `AppFrame` this is read
|
|
48
|
+
* from the frame's `layout` automatically — set it only for standalone use.
|
|
49
|
+
*/
|
|
50
|
+
layoutMode?: GlobalNavLayoutModeType;
|
|
51
|
+
/**
|
|
52
|
+
* Save bar state. Usually left alone and driven through `$ui.saveBar` /
|
|
53
|
+
* `useSaveBar()` instead.
|
|
54
|
+
*/
|
|
55
|
+
saveBarState?: SaveBarStateType;
|
|
56
|
+
/** Overrides for the save bar's built-in strings. */
|
|
57
|
+
saveBarTranslations?: SaveBarTranslationsType;
|
|
58
|
+
/**
|
|
59
|
+
* Ask for confirmation before a discard. Passed through to the `SaveBar`.
|
|
60
|
+
*
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
saveBarConfirmDiscard?: boolean;
|
|
64
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Gradient } from '../../utils/gradient';
|
|
2
|
+
import { GradientPickerProps } from './types';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<GradientPickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:modelValue": (value: Gradient) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<GradientPickerProps> & Readonly<{
|
|
6
|
+
"onUpdate:modelValue"?: ((value: Gradient) => any) | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
alpha: boolean;
|
|
10
|
+
swatchShape: import('../ColorPicker').ColorSwatchShape;
|
|
11
|
+
hideShape: boolean;
|
|
12
|
+
hideSpace: boolean;
|
|
13
|
+
minStops: number;
|
|
14
|
+
maxStops: number;
|
|
15
|
+
pinStart: boolean;
|
|
16
|
+
pinEnd: boolean;
|
|
17
|
+
inlineColor: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ColorSwatchShape } from '../ColorPicker';
|
|
2
|
+
import { Gradient, GradientType } from '../../utils/gradient';
|
|
3
|
+
export interface GradientPickerProps {
|
|
4
|
+
/**
|
|
5
|
+
* The gradient being edited. Treated as immutable — every change emits a new
|
|
6
|
+
* object rather than mutating this one.
|
|
7
|
+
*/
|
|
8
|
+
modelValue?: Gradient | null;
|
|
9
|
+
/**
|
|
10
|
+
* Allow stop colours to carry transparency.
|
|
11
|
+
*/
|
|
12
|
+
alpha?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Which gradient shapes to offer. With one entry the control is hidden and
|
|
15
|
+
* that shape is used.
|
|
16
|
+
*/
|
|
17
|
+
types?: GradientType[];
|
|
18
|
+
/**
|
|
19
|
+
* Hide the shape and angle controls.
|
|
20
|
+
*
|
|
21
|
+
* For when only the colours along the gradient matter and how it would be
|
|
22
|
+
* painted does not — generating a colour ramp, for instance, samples
|
|
23
|
+
* positions and never draws the gradient itself.
|
|
24
|
+
*/
|
|
25
|
+
hideShape?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Hide the interpolation space control.
|
|
28
|
+
*/
|
|
29
|
+
hideSpace?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Fewest stops the user may leave. Never below 2 — one stop is not a
|
|
32
|
+
* gradient.
|
|
33
|
+
*/
|
|
34
|
+
minStops?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Most stops the user may add.
|
|
37
|
+
*/
|
|
38
|
+
maxStops?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Hold the leftmost stop at 0%, and the rightmost at 100%.
|
|
41
|
+
*
|
|
42
|
+
* For a gradient that has to span its whole range — a colour ramp, a
|
|
43
|
+
* progress track, anything sampled end to end — where a stop dragged inward
|
|
44
|
+
* would leave a flat run of colour at the edge.
|
|
45
|
+
*
|
|
46
|
+
* The constraint is on the ENDS, not on a particular stop: whichever stop is
|
|
47
|
+
* currently outermost is the one held. So removing a pinned stop pulls the
|
|
48
|
+
* next one out to the edge rather than leaving a gap.
|
|
49
|
+
*/
|
|
50
|
+
pinStart?: boolean;
|
|
51
|
+
/** See `pinStart`. */
|
|
52
|
+
pinEnd?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Preset colours offered when editing a stop's colour.
|
|
55
|
+
*/
|
|
56
|
+
swatches?: string[];
|
|
57
|
+
/**
|
|
58
|
+
* Shape of those swatches, and of the stop's own colour trigger.
|
|
59
|
+
*
|
|
60
|
+
* @default 'square'
|
|
61
|
+
*/
|
|
62
|
+
swatchShape?: ColorSwatchShape;
|
|
63
|
+
/**
|
|
64
|
+
* Edit the selected stop's colour with an always-visible picker instead of a
|
|
65
|
+
* swatch that opens one.
|
|
66
|
+
*
|
|
67
|
+
* Worth setting when the gradient picker is itself inside a popover. Nesting
|
|
68
|
+
* works — the panels stack, and ESC closes them one at a time — but a third
|
|
69
|
+
* floating layer is a small target to reach across and easy to lose track of.
|
|
70
|
+
* Editing the colour in place avoids it.
|
|
71
|
+
*/
|
|
72
|
+
inlineColor?: boolean;
|
|
73
|
+
disabled?: boolean;
|
|
74
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface HeadingProps {
|
|
2
|
+
element?: string;
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_8: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_8) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<HeadingProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HeadingProps> & Readonly<{}>, {
|
|
9
|
+
element: string;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Heading } from './Heading.vue';
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IconBadgeStatusType } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Icon names are Iconify `prefix:name` pairs: `mdi:alert`, `la:home`,
|
|
5
|
+
* `lucide:camera`. Any of Iconify's collections work — names this library
|
|
6
|
+
* renders are bundled at build time (see `./iconBundle`), and anything else
|
|
7
|
+
* resolves through the Iconify API on first use. Consumers can bundle their
|
|
8
|
+
* own with `npx octans-icons`.
|
|
9
|
+
*
|
|
10
|
+
* Prefix a name with `not:` to draw a slash through it: `not:mdi:bell`.
|
|
11
|
+
*/
|
|
12
|
+
export declare const iconBadgeConfig: Record<IconBadgeStatusType, {
|
|
13
|
+
icon: string;
|
|
14
|
+
color: string;
|
|
15
|
+
}>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
19
|
+
/**
|
|
20
|
+
* An Iconify name (`mdi:alert`). Prefix with `not:` to draw a slash
|
|
21
|
+
* through it.
|
|
22
|
+
*/
|
|
23
|
+
icon: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Icon size — e.g. `120%`, `24px`, `1.5em`. Percentages are resolved
|
|
28
|
+
* against the surrounding font size.
|
|
29
|
+
*/
|
|
30
|
+
size: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Holds the container at its base size so an oversized icon overflows
|
|
35
|
+
* instead of pushing the layout around.
|
|
36
|
+
*/
|
|
37
|
+
contained: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Overlays a small status glyph on the corner of the icon:
|
|
42
|
+
*
|
|
43
|
+
* - `info`
|
|
44
|
+
* - `success`
|
|
45
|
+
* - `warning`
|
|
46
|
+
* - `error`
|
|
47
|
+
*/
|
|
48
|
+
badge: {
|
|
49
|
+
type: PropType<IconBadgeStatusType>;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* An Iconify name to use for the badge glyph instead of the status default.
|
|
53
|
+
*/
|
|
54
|
+
badgeIcon: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* A colour to use for the badge glyph instead of the status default.
|
|
59
|
+
*/
|
|
60
|
+
badgeColor: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
66
|
+
/**
|
|
67
|
+
* An Iconify name (`mdi:alert`). Prefix with `not:` to draw a slash
|
|
68
|
+
* through it.
|
|
69
|
+
*/
|
|
70
|
+
icon: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Icon size — e.g. `120%`, `24px`, `1.5em`. Percentages are resolved
|
|
75
|
+
* against the surrounding font size.
|
|
76
|
+
*/
|
|
77
|
+
size: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Holds the container at its base size so an oversized icon overflows
|
|
82
|
+
* instead of pushing the layout around.
|
|
83
|
+
*/
|
|
84
|
+
contained: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Overlays a small status glyph on the corner of the icon:
|
|
89
|
+
*
|
|
90
|
+
* - `info`
|
|
91
|
+
* - `success`
|
|
92
|
+
* - `warning`
|
|
93
|
+
* - `error`
|
|
94
|
+
*/
|
|
95
|
+
badge: {
|
|
96
|
+
type: PropType<IconBadgeStatusType>;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* An Iconify name to use for the badge glyph instead of the status default.
|
|
100
|
+
*/
|
|
101
|
+
badgeIcon: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* A colour to use for the badge glyph instead of the status default.
|
|
106
|
+
*/
|
|
107
|
+
badgeColor: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
};
|
|
110
|
+
}>> & Readonly<{}>, {
|
|
111
|
+
contained: boolean;
|
|
112
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Icon, iconBadgeConfig } from './Icon.vue';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
message?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InlineError } from './InlineError.vue';
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
/**
|
|
6
|
+
* The title of the field. Also accepts `false` so it can be fed
|
|
7
|
+
* directly from a condition, e.g. `:label="showLabel && 'Some label'"`.
|
|
8
|
+
*/
|
|
9
|
+
label: {
|
|
10
|
+
type: PropType<string | false | null>;
|
|
11
|
+
required: false;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Displays the value as an error message below the slot content. Also
|
|
15
|
+
* accepts `false` so it can be fed directly from a condition, e.g.
|
|
16
|
+
* `:error="hasError && 'Some message'"`.
|
|
17
|
+
*/
|
|
18
|
+
error: {
|
|
19
|
+
type: PropType<string | false | null>;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Displays the value as help text below the slot content. Also accepts
|
|
24
|
+
* `false` so it can be fed directly from a condition, e.g.
|
|
25
|
+
* `:help-text="condition && 'Some text'"`.
|
|
26
|
+
*/
|
|
27
|
+
helpText: {
|
|
28
|
+
type: PropType<string | false | null>;
|
|
29
|
+
required: false;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Renders help text as raw HTML. Use with caution. Also accepts `false`
|
|
33
|
+
* so it can be fed directly from a condition.
|
|
34
|
+
*/
|
|
35
|
+
helpTextHtml: {
|
|
36
|
+
type: PropType<string | false | null>;
|
|
37
|
+
required: false;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Renders a help icon next to the label which links to an external
|
|
41
|
+
* page. Also accepts `false` so it can be fed directly from a
|
|
42
|
+
* condition, e.g. `:help-link="condition && 'https://example.com'"`.
|
|
43
|
+
*/
|
|
44
|
+
helpLink: {
|
|
45
|
+
type: PropType<string | false | null>;
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated Makes the label title bold.
|
|
50
|
+
*/
|
|
51
|
+
required: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
58
|
+
/**
|
|
59
|
+
* The title of the field. Also accepts `false` so it can be fed
|
|
60
|
+
* directly from a condition, e.g. `:label="showLabel && 'Some label'"`.
|
|
61
|
+
*/
|
|
62
|
+
label: {
|
|
63
|
+
type: PropType<string | false | null>;
|
|
64
|
+
required: false;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Displays the value as an error message below the slot content. Also
|
|
68
|
+
* accepts `false` so it can be fed directly from a condition, e.g.
|
|
69
|
+
* `:error="hasError && 'Some message'"`.
|
|
70
|
+
*/
|
|
71
|
+
error: {
|
|
72
|
+
type: PropType<string | false | null>;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Displays the value as help text below the slot content. Also accepts
|
|
77
|
+
* `false` so it can be fed directly from a condition, e.g.
|
|
78
|
+
* `:help-text="condition && 'Some text'"`.
|
|
79
|
+
*/
|
|
80
|
+
helpText: {
|
|
81
|
+
type: PropType<string | false | null>;
|
|
82
|
+
required: false;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Renders help text as raw HTML. Use with caution. Also accepts `false`
|
|
86
|
+
* so it can be fed directly from a condition.
|
|
87
|
+
*/
|
|
88
|
+
helpTextHtml: {
|
|
89
|
+
type: PropType<string | false | null>;
|
|
90
|
+
required: false;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Renders a help icon next to the label which links to an external
|
|
94
|
+
* page. Also accepts `false` so it can be fed directly from a
|
|
95
|
+
* condition, e.g. `:help-link="condition && 'https://example.com'"`.
|
|
96
|
+
*/
|
|
97
|
+
helpLink: {
|
|
98
|
+
type: PropType<string | false | null>;
|
|
99
|
+
required: false;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Makes the label title bold.
|
|
103
|
+
*/
|
|
104
|
+
required: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
};
|
|
108
|
+
}>> & Readonly<{}>, {
|
|
109
|
+
required: boolean;
|
|
110
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Labelled } from './Labelled.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,16 @@
|
|
|
1
|
+
export interface LayoutSectionProps {
|
|
2
|
+
size?: 'full' | 'half' | 'third' | 'primary' | 'secondary';
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<LayoutSectionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LayoutSectionProps> & Readonly<{}>, {}, {}, {}, {}, 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,34 @@
|
|
|
1
|
+
export interface LayoutSectionAnnotatedProps {
|
|
2
|
+
/**
|
|
3
|
+
* The title to show next to the section content.
|
|
4
|
+
*/
|
|
5
|
+
title?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The description text to display below the title.
|
|
8
|
+
*/
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Forces the layout to use the full width for the title and description,
|
|
12
|
+
* rather than placing these to the left on larger screens.
|
|
13
|
+
*/
|
|
14
|
+
fullWidth?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
description?: (props: typeof __VLS_7) => any;
|
|
19
|
+
} & {
|
|
20
|
+
actions?: (props: typeof __VLS_9) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: typeof __VLS_11) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_base: import('vue').DefineComponent<LayoutSectionAnnotatedProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LayoutSectionAnnotatedProps> & Readonly<{}>, {
|
|
25
|
+
fullWidth: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LineClamperProps } 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<LineClamperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LineClamperProps> & Readonly<{}>, {
|
|
7
|
+
lines: number;
|
|
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
|
+
};
|