@synopackageland/ui 0.4.0 → 0.5.3
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/README.md +27 -0
- package/dist/components/advanced-panel/AdvancePanelColumns.vue.d.ts +19 -0
- package/dist/components/advanced-panel/AdvancePanelForm.vue.d.ts +21 -0
- package/dist/components/advanced-panel/AdvancePanelGrid.vue.d.ts +44 -0
- package/dist/components/advanced-panel/types.d.ts +50 -0
- package/dist/components/app/app-action-bar/AppActionBar.vue.d.ts +13 -3
- package/dist/components/app/app-layout/AppLayout.vue.d.ts +1 -1
- package/dist/components/app/app-sidebar/AppSidebar.vue.d.ts +12 -13
- package/dist/components/app/app-sidebar/AppSidebarItems.vue.d.ts +17 -0
- package/dist/components/app/app-sidebar/types.d.ts +16 -0
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +11 -1
- package/dist/components/composite/about-dialog/AboutDialog.vue.d.ts +78 -0
- package/dist/components/composite/about-dialog/types.d.ts +6 -0
- package/dist/components/composite/callout/Callout.vue.d.ts +12 -2
- package/dist/components/composite/config-provider/ConfigProvider.vue.d.ts +19 -0
- package/dist/components/composite/copy-cut-field/CopyCutField.vue.d.ts +44 -0
- package/dist/components/composite/data-grid/DataGrid.vue.d.ts +150 -25
- package/dist/components/composite/data-grid/labels.d.ts +15 -1
- package/dist/components/composite/data-view/DataView.vue.d.ts +54 -0
- package/dist/components/composite/footbar/Footbar.vue.d.ts +13 -0
- package/dist/components/composite/footbar/FootbarButtons.vue.d.ts +13 -0
- package/dist/components/composite/footbar/types.d.ts +32 -0
- package/dist/components/composite/form/Form.vue.d.ts +49 -0
- package/dist/components/composite/form/FormItem.vue.d.ts +132 -0
- package/dist/components/composite/form/context.d.ts +61 -0
- package/dist/components/composite/form/rules.d.ts +17 -0
- package/dist/components/composite/form/types.d.ts +50 -0
- package/dist/components/composite/message-box/MessageBox.vue.d.ts +34 -0
- package/dist/components/composite/message-box/MessageBoxProvider.vue.d.ts +13 -0
- package/dist/components/composite/message-box/controller.d.ts +20 -0
- package/dist/components/composite/message-box/types.d.ts +97 -0
- package/dist/components/composite/overflow-list/OverflowList.vue.d.ts +40 -0
- package/dist/components/composite/overflow-list/OverflowListItem.vue.d.ts +18 -0
- package/dist/components/composite/overflow-toolbar/OverflowToolbar.vue.d.ts +46 -0
- package/dist/components/composite/overflow-toolbar/overflow.d.ts +25 -0
- package/dist/components/composite/overflow-toolbar/types.d.ts +27 -0
- package/dist/components/composite/settings-section/SettingsSection.vue.d.ts +18 -3
- package/dist/components/composite/tree-view/TreeView.vue.d.ts +64 -12
- package/dist/components/composite/tree-view/treeUtils.d.ts +15 -0
- package/dist/components/composite/tree-view/types.d.ts +38 -0
- package/dist/components/composite/virtual-list/VirtualList.vue.d.ts +44 -0
- package/dist/components/composite/wizard/Wizard.vue.d.ts +68 -0
- package/dist/components/composite/wizard/WizardStep.vue.d.ts +20 -0
- package/dist/components/composite/wizard/types.d.ts +32 -0
- package/dist/components/composite/wizard/wizardContext.d.ts +17 -0
- package/dist/components/containers/card/Card.vue.d.ts +42 -0
- package/dist/components/containers/expandable-item/ExpandableItem.vue.d.ts +79 -0
- package/dist/components/containers/fieldset/Fieldset.vue.d.ts +58 -0
- package/dist/components/containers/highlight-box/HighlightBox.vue.d.ts +23 -0
- package/dist/components/containers/panel/Panel.vue.d.ts +59 -0
- package/dist/components/feedback/info-mask/InfoMask.vue.d.ts +22 -0
- package/dist/components/feedback/info-tip/InfoTip.vue.d.ts +53 -0
- package/dist/components/feedback/notification/Notification.vue.d.ts +50 -0
- package/dist/components/feedback/notification/NotificationProvider.vue.d.ts +36 -0
- package/dist/components/feedback/notification/notification.d.ts +45 -0
- package/dist/components/feedback/validation-popup/ValidationPopup.vue.d.ts +41 -0
- package/dist/components/primitives/affix/Affix.vue.d.ts +40 -0
- package/dist/components/primitives/affix/affixPosition.d.ts +35 -0
- package/dist/components/primitives/breadcrumb/Breadcrumb.vue.d.ts +38 -0
- package/dist/components/primitives/breadcrumb/BreadcrumbCrumb.vue.d.ts +13 -0
- package/dist/components/primitives/breadcrumb/collapse.d.ts +25 -0
- package/dist/components/primitives/breadcrumb/types.d.ts +14 -0
- package/dist/components/primitives/color-picker/ColorPicker.vue.d.ts +70 -0
- package/dist/components/primitives/color-picker/palette.d.ts +2 -0
- package/dist/components/primitives/combobox/Combobox.vue.d.ts +33 -0
- package/dist/components/primitives/date-picker/DatePicker.vue.d.ts +39 -1
- package/dist/components/primitives/date-picker/dateTime.d.ts +44 -0
- package/dist/components/primitives/dialog/Dialog.vue.d.ts +6 -3
- package/dist/components/primitives/dropdown-menu/DropdownMenu.vue.d.ts +18 -13
- package/dist/components/primitives/dropdown-menu/DropdownMenuItems.vue.d.ts +20 -0
- package/dist/components/primitives/dropdown-menu/types.d.ts +38 -0
- package/dist/components/primitives/ghost/Ghost.vue.d.ts +30 -0
- package/dist/components/primitives/icon/Icon.vue.d.ts +40 -0
- package/dist/components/primitives/icon/icon.d.ts +19 -0
- package/dist/components/primitives/icon/iconRegistry.d.ts +9 -0
- package/dist/components/primitives/icon/useIconButton.d.ts +30 -0
- package/dist/components/primitives/input/Input.vue.d.ts +6 -0
- package/dist/components/primitives/input/Textarea.vue.d.ts +6 -0
- package/dist/components/primitives/input-steppers/InputSteppers.vue.d.ts +60 -0
- package/dist/components/primitives/layout/Col.vue.d.ts +24 -0
- package/dist/components/primitives/layout/Grid.vue.d.ts +35 -0
- package/dist/components/primitives/layout/Row.vue.d.ts +23 -0
- package/dist/components/primitives/layout/breakpoints.d.ts +24 -0
- package/dist/components/primitives/layout/context.d.ts +22 -0
- package/dist/components/primitives/layout/gap.d.ts +12 -0
- package/dist/components/primitives/multiple-select/MultipleSelect.vue.d.ts +32 -0
- package/dist/components/primitives/pagination/Pagination.vue.d.ts +111 -0
- package/dist/components/primitives/pagination/labels.d.ts +18 -0
- package/dist/components/primitives/pagination/model.d.ts +13 -0
- package/dist/components/primitives/progress/Progress.vue.d.ts +2 -0
- package/dist/components/primitives/rich-text/RichText.vue.d.ts +57 -0
- package/dist/components/primitives/rich-text/parseRichText.d.ts +31 -0
- package/dist/components/primitives/schedule-table/ScheduleTable.vue.d.ts +65 -0
- package/dist/components/primitives/schedule-table/schedule.d.ts +55 -0
- package/dist/components/primitives/scrollbar/Scrollbar.vue.d.ts +110 -0
- package/dist/components/primitives/scrollbar/types.d.ts +10 -0
- package/dist/components/primitives/segment-control/SegmentControl.vue.d.ts +32 -0
- package/dist/components/primitives/segment-control/SegmentItem.vue.d.ts +32 -0
- package/dist/components/primitives/segment-control/context.d.ts +19 -0
- package/dist/components/primitives/select/Select.vue.d.ts +15 -1
- package/dist/components/primitives/select/internal/ComboboxField.vue.d.ts +46 -0
- package/dist/components/primitives/select/internal/SelectTag.vue.d.ts +15 -0
- package/dist/components/primitives/select/internal/options.d.ts +17 -0
- package/dist/components/primitives/select/internal/types.d.ts +43 -0
- package/dist/components/primitives/select/internal/useSelectSearch.d.ts +20 -0
- package/dist/components/primitives/sheet/Sheet.vue.d.ts +3 -3
- package/dist/components/primitives/skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/primitives/slider/Slider.vue.d.ts +56 -0
- package/dist/components/primitives/space/Space.vue.d.ts +27 -0
- package/dist/components/primitives/space/space.d.ts +10 -0
- package/dist/components/primitives/superbox-select/SuperboxSelect.vue.d.ts +33 -0
- package/dist/components/primitives/tag/Tag.vue.d.ts +59 -0
- package/dist/components/primitives/toggle-button/ToggleButton.vue.d.ts +43 -0
- package/dist/components/primitives/toggle-button/ToggleButtonGroup.vue.d.ts +38 -0
- package/dist/components/primitives/toggle-button/toggleButton.d.ts +9 -0
- package/dist/components/primitives/tooltip/Tooltip.vue.d.ts +3 -0
- package/dist/components/primitives/typography/TypoA.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoBlockquote.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoCode.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoDivider.vue.d.ts +3 -0
- package/dist/components/primitives/typography/TypoHeader.vue.d.ts +32 -0
- package/dist/components/primitives/typography/TypoHr.vue.d.ts +3 -0
- package/dist/components/primitives/typography/TypoLi.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoList.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoP.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoTable.vue.d.ts +13 -0
- package/dist/components/primitives/typography/TypoText.vue.d.ts +26 -0
- package/dist/components/primitives/typography/TypoTip.vue.d.ts +21 -0
- package/dist/components/primitives/typography/typography.d.ts +12 -0
- package/dist/composables/configCascade.d.ts +42 -0
- package/dist/composables/tabIndicator.d.ts +18 -0
- package/dist/index.d.ts +122 -2
- package/dist/index.js +23143 -11311
- package/dist/lib/controllable.d.ts +19 -0
- package/dist/lib/numberField.d.ts +24 -0
- package/dist/lib/overflow.d.ts +13 -0
- package/dist/reka-runtime.json +5 -3
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/app-local-modal.md +9 -1
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Value helpers for `ScheduleTable`.
|
|
3
|
+
*
|
|
4
|
+
* The table is a 7 day x 24 hour grid. Every cell stores one character: the index of an entry in
|
|
5
|
+
* the `options` array. The stored `modelValue` is therefore a digit string whose length depends on
|
|
6
|
+
* the time slice:
|
|
7
|
+
*
|
|
8
|
+
* | splitMinute | cells per hour | value length |
|
|
9
|
+
* | ----------- | -------------- | ------------ |
|
|
10
|
+
* | 60 | 1 | 168 |
|
|
11
|
+
* | 30 | 2 | 336 |
|
|
12
|
+
* | 15 | 4 | 672 |
|
|
13
|
+
*
|
|
14
|
+
* The string is the only supported serialization format; values are never converted to arrays or
|
|
15
|
+
* `Date` objects by the component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const SCHEDULE_DAYS: readonly ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
|
18
|
+
export declare const SCHEDULE_SPLIT_MINUTES: readonly [60, 30, 15];
|
|
19
|
+
export declare const SCHEDULE_MAX_OPTIONS = 10;
|
|
20
|
+
export type ScheduleDay = (typeof SCHEDULE_DAYS)[number];
|
|
21
|
+
export type ScheduleSplitMinute = (typeof SCHEDULE_SPLIT_MINUTES)[number];
|
|
22
|
+
export interface ScheduleOptionEditableConfig {
|
|
23
|
+
trigger: 'hover' | 'always';
|
|
24
|
+
tooltip?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ScheduleOption {
|
|
27
|
+
label: string;
|
|
28
|
+
/** `blue` and `yellow` use the built-in swatches; any other string is used as a CSS color. */
|
|
29
|
+
color?: string;
|
|
30
|
+
/** Renders the option as the "empty" state with a clear glyph. */
|
|
31
|
+
clear?: boolean;
|
|
32
|
+
/** Display-only sort key (stable, defaults to 0). It never changes the stored digit. */
|
|
33
|
+
order?: number;
|
|
34
|
+
/** Shows an edit affordance and lets the table emit `edit-option`. */
|
|
35
|
+
editable?: boolean | ScheduleOptionEditableConfig;
|
|
36
|
+
/** Slot name used to render this option's control label. */
|
|
37
|
+
labelSlot?: string;
|
|
38
|
+
/** Slot name used to render every cell of this option. */
|
|
39
|
+
customCellSlot?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface ScheduleOptionEntry {
|
|
42
|
+
option: ScheduleOption;
|
|
43
|
+
/** Position in the original `options` array; this is the digit persisted in `modelValue`. */
|
|
44
|
+
index: number;
|
|
45
|
+
}
|
|
46
|
+
export declare function scheduleSplitsPerHour(splitMinute: ScheduleSplitMinute): number;
|
|
47
|
+
export declare function scheduleCellsPerDay(splitMinute: ScheduleSplitMinute): number;
|
|
48
|
+
export declare function scheduleValueLength(splitMinute: ScheduleSplitMinute): number;
|
|
49
|
+
/** True when `value` is a digit string of exactly the length required by `splitMinute`. */
|
|
50
|
+
export declare function isValidScheduleValue(value: string, splitMinute: ScheduleSplitMinute): boolean;
|
|
51
|
+
/** Builds a value filled with `fill` (a single digit) for the requested slice. */
|
|
52
|
+
export declare function createScheduleValue(splitMinute: ScheduleSplitMinute, fill?: string): string;
|
|
53
|
+
export declare function scheduleCellIndex(day: number, hour: number, hourSplitIndex: number, splitMinute: ScheduleSplitMinute): number;
|
|
54
|
+
/** Stable sort by `order`; ties keep their original array position so the result is predictable. */
|
|
55
|
+
export declare function orderScheduleOptions(options: ScheduleOption[]): ScheduleOptionEntry[];
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
import { EnsureVisibleOptions, ScrollToPositionOptions } from './types';
|
|
3
|
+
export type ScrollbarReach = {
|
|
4
|
+
top: boolean;
|
|
5
|
+
bottom: boolean;
|
|
6
|
+
left: boolean;
|
|
7
|
+
right: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type ScrollbarViewRect = {
|
|
10
|
+
offsetHeight: number;
|
|
11
|
+
offsetWidth: number;
|
|
12
|
+
scrollHeight: number;
|
|
13
|
+
scrollWidth: number;
|
|
14
|
+
};
|
|
15
|
+
export type ScrollbarEnsureVisibleOptions = EnsureVisibleOptions;
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
viewTag?: string;
|
|
19
|
+
hasPadding?: boolean;
|
|
20
|
+
inverse?: boolean;
|
|
21
|
+
viewStyle?: StyleValue;
|
|
22
|
+
viewClass?: string;
|
|
23
|
+
innerStyle?: StyleValue;
|
|
24
|
+
innerClass?: string;
|
|
25
|
+
minYRailHeight?: number;
|
|
26
|
+
minYBarHeight?: number;
|
|
27
|
+
minXRailWidth?: number;
|
|
28
|
+
minXBarWidth?: number;
|
|
29
|
+
showXRail?: boolean;
|
|
30
|
+
showYRail?: boolean;
|
|
31
|
+
activeAdaptiveScrollbar?: boolean;
|
|
32
|
+
overscroll?: boolean;
|
|
33
|
+
};
|
|
34
|
+
declare function getScrollEl(): HTMLElement | null;
|
|
35
|
+
declare function getAdaptiveContainer(): HTMLElement | null;
|
|
36
|
+
declare function getScrollTop(): number;
|
|
37
|
+
declare function getScrollLeft(): number;
|
|
38
|
+
declare function refresh(): void;
|
|
39
|
+
declare function setScroll(left?: number, top?: number): void;
|
|
40
|
+
declare function scrollTo(options: ScrollToPositionOptions): void;
|
|
41
|
+
declare function resetScrollTop(): void;
|
|
42
|
+
declare function resetScrollLeft(): void;
|
|
43
|
+
declare function updateScroll(): void;
|
|
44
|
+
declare function ensureVisible(dom: HTMLElement, options?: EnsureVisibleOptions): void;
|
|
45
|
+
declare var __VLS_12: {};
|
|
46
|
+
type __VLS_Slots = {} & {
|
|
47
|
+
default?: (props: typeof __VLS_12) => any;
|
|
48
|
+
};
|
|
49
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
50
|
+
view: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
51
|
+
viewRect: import('vue').ComputedRef<ScrollbarViewRect>;
|
|
52
|
+
getScrollTop: typeof getScrollTop;
|
|
53
|
+
getScrollLeft: typeof getScrollLeft;
|
|
54
|
+
getAdaptiveContainer: typeof getAdaptiveContainer;
|
|
55
|
+
setScroll: typeof setScroll;
|
|
56
|
+
getScrollEl: typeof getScrollEl;
|
|
57
|
+
resetScrollTop: typeof resetScrollTop;
|
|
58
|
+
resetScrollLeft: typeof resetScrollLeft;
|
|
59
|
+
ensureVisible: typeof ensureVisible;
|
|
60
|
+
updateScroll: typeof updateScroll;
|
|
61
|
+
scrollTo: typeof scrollTo;
|
|
62
|
+
refresh: typeof refresh;
|
|
63
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
|
+
scroll: (event: Event, el: HTMLElement) => any;
|
|
65
|
+
reach: (reach: ScrollbarReach) => any;
|
|
66
|
+
"reach-top": () => any;
|
|
67
|
+
"reach-bottom": () => any;
|
|
68
|
+
"reach-left": () => any;
|
|
69
|
+
"reach-right": () => any;
|
|
70
|
+
"not-reach-top": () => any;
|
|
71
|
+
"not-reach-bottom": () => any;
|
|
72
|
+
"not-reach-left": () => any;
|
|
73
|
+
"not-reach-right": () => any;
|
|
74
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
75
|
+
onScroll?: ((event: Event, el: HTMLElement) => any) | undefined;
|
|
76
|
+
onReach?: ((reach: ScrollbarReach) => any) | undefined;
|
|
77
|
+
"onReach-top"?: (() => any) | undefined;
|
|
78
|
+
"onReach-bottom"?: (() => any) | undefined;
|
|
79
|
+
"onReach-left"?: (() => any) | undefined;
|
|
80
|
+
"onReach-right"?: (() => any) | undefined;
|
|
81
|
+
"onNot-reach-top"?: (() => any) | undefined;
|
|
82
|
+
"onNot-reach-bottom"?: (() => any) | undefined;
|
|
83
|
+
"onNot-reach-left"?: (() => any) | undefined;
|
|
84
|
+
"onNot-reach-right"?: (() => any) | undefined;
|
|
85
|
+
}>, {
|
|
86
|
+
disabled: boolean;
|
|
87
|
+
viewTag: string;
|
|
88
|
+
hasPadding: boolean;
|
|
89
|
+
inverse: boolean;
|
|
90
|
+
viewStyle: string | false | import('vue').CSSProperties | StyleValue[] | null;
|
|
91
|
+
viewClass: string;
|
|
92
|
+
innerStyle: string | false | import('vue').CSSProperties | StyleValue[] | null;
|
|
93
|
+
innerClass: string;
|
|
94
|
+
minYRailHeight: number;
|
|
95
|
+
minYBarHeight: number;
|
|
96
|
+
minXRailWidth: number;
|
|
97
|
+
minXBarWidth: number;
|
|
98
|
+
showXRail: boolean;
|
|
99
|
+
showYRail: boolean;
|
|
100
|
+
activeAdaptiveScrollbar: boolean;
|
|
101
|
+
overscroll: boolean;
|
|
102
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
103
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
104
|
+
declare const _default: typeof __VLS_export;
|
|
105
|
+
export default _default;
|
|
106
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
107
|
+
new (): {
|
|
108
|
+
$slots: S;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ScrollBehaviorOption = 'auto' | 'smooth';
|
|
2
|
+
export type ScrollToPositionOptions = {
|
|
3
|
+
left?: number;
|
|
4
|
+
top?: number;
|
|
5
|
+
behavior?: ScrollBehaviorOption;
|
|
6
|
+
};
|
|
7
|
+
export type EnsureVisibleOptions = {
|
|
8
|
+
behavior?: ScrollBehaviorOption;
|
|
9
|
+
block?: 'start' | 'end' | 'nearest';
|
|
10
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Selected item value. */
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
/** Accessible name of the tablist; required unless `ariaLabelledby` names it. */
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
/** Id reference naming the tablist; takes precedence over `ariaLabel`. */
|
|
7
|
+
ariaLabelledby?: string;
|
|
8
|
+
/** Disables every item of the group. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare var __VLS_1: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
default?: (props: typeof __VLS_1) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string) => any;
|
|
17
|
+
change: (value: string) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
onChange?: ((value: string) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
modelValue: string;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Value reported to the parent `SegmentControl`. */
|
|
3
|
+
value: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
/** `true` shows a decorative dot; a string is announced as the dot's label. */
|
|
6
|
+
dot?: string | boolean;
|
|
7
|
+
/** Tooltip text; `true` reuses the visible label, or `{ content }` for an object form. */
|
|
8
|
+
tooltip?: string | boolean | Record<string, unknown>;
|
|
9
|
+
/** Accessible name; required for icon-only items. */
|
|
10
|
+
ariaLabel?: string;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
icon?: (props: typeof __VLS_8) => any;
|
|
15
|
+
} & {
|
|
16
|
+
default?: (props: typeof __VLS_10) => any;
|
|
17
|
+
} & {
|
|
18
|
+
suffix?: (props: typeof __VLS_12) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
tooltip: string | boolean | Record<string, unknown>;
|
|
23
|
+
dot: string | boolean;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
/** What a `SegmentItem` registers with its `SegmentControl`. */
|
|
3
|
+
export type SegmentItemHandle = {
|
|
4
|
+
value: string;
|
|
5
|
+
disabled: () => boolean;
|
|
6
|
+
element: () => HTMLElement | undefined;
|
|
7
|
+
};
|
|
8
|
+
export type SegmentMove = 'previous' | 'next' | 'first' | 'last';
|
|
9
|
+
export type SegmentControlContext = {
|
|
10
|
+
selected: Ref<string>;
|
|
11
|
+
groupDisabled: Ref<boolean>;
|
|
12
|
+
select: (value: string) => void;
|
|
13
|
+
register: (handle: SegmentItemHandle) => void;
|
|
14
|
+
unregister: (handle: SegmentItemHandle) => void;
|
|
15
|
+
/** Moves DOM focus only; the selection changes on Enter/Space. */
|
|
16
|
+
moveFocus: (from: string, direction: SegmentMove) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const SEGMENT_CONTROL_KEY: InjectionKey<SegmentControlContext>;
|
|
19
|
+
export declare function injectSegmentControl(): SegmentControlContext | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectOptions, SelectSearch } from './internal/types';
|
|
1
2
|
export type SelectOption = {
|
|
2
3
|
label: string;
|
|
3
4
|
value: string;
|
|
@@ -5,17 +6,30 @@ export type SelectOption = {
|
|
|
5
6
|
};
|
|
6
7
|
type __VLS_Props = {
|
|
7
8
|
modelValue?: string;
|
|
8
|
-
options
|
|
9
|
+
options?: SelectOptions;
|
|
9
10
|
placeholder?: string;
|
|
10
11
|
disabled?: boolean;
|
|
12
|
+
search?: SelectSearch;
|
|
13
|
+
minSearchChar?: number;
|
|
14
|
+
caseSensitive?: boolean;
|
|
15
|
+
searchPlaceholder?: string;
|
|
16
|
+
notFoundText?: string;
|
|
17
|
+
loadingText?: string;
|
|
11
18
|
};
|
|
12
19
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
20
|
"update:modelValue": (value: string) => any;
|
|
14
21
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
22
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
23
|
}>, {
|
|
24
|
+
search: SelectSearch;
|
|
17
25
|
disabled: boolean;
|
|
18
26
|
placeholder: string;
|
|
27
|
+
options: SelectOptions;
|
|
28
|
+
minSearchChar: number;
|
|
29
|
+
caseSensitive: boolean;
|
|
30
|
+
searchPlaceholder: string;
|
|
31
|
+
notFoundText: string;
|
|
32
|
+
loadingText: string;
|
|
19
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
34
|
declare const _default: typeof __VLS_export;
|
|
21
35
|
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { SelectFieldProps, SelectOption } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<SelectFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
select: (option: SelectOption) => any;
|
|
4
|
+
invalid: (text: string) => any;
|
|
5
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
6
|
+
focus: (event: FocusEvent) => any;
|
|
7
|
+
blur: (event: FocusEvent) => any;
|
|
8
|
+
"update:loading": (loading: boolean) => any;
|
|
9
|
+
create: (value: string) => any;
|
|
10
|
+
"open-dropdown": () => any;
|
|
11
|
+
"close-dropdown": () => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<SelectFieldProps> & Readonly<{
|
|
13
|
+
onSelect?: ((option: SelectOption) => any) | undefined;
|
|
14
|
+
onInvalid?: ((text: string) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
16
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
17
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
18
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
19
|
+
onCreate?: ((value: string) => any) | undefined;
|
|
20
|
+
"onOpen-dropdown"?: (() => any) | undefined;
|
|
21
|
+
"onClose-dropdown"?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
search: import('./types').SelectSearch;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
modelValue: string | string[];
|
|
27
|
+
placeholder: string;
|
|
28
|
+
ariaLabel: string;
|
|
29
|
+
ariaLabelledby: string;
|
|
30
|
+
defaultValue: string | string[];
|
|
31
|
+
options: import('./types').SelectOptions;
|
|
32
|
+
minSearchChar: number;
|
|
33
|
+
caseSensitive: boolean;
|
|
34
|
+
notFoundText: string;
|
|
35
|
+
loadingText: string;
|
|
36
|
+
multiple: boolean;
|
|
37
|
+
allowCreate: import('./types').SelectAllowCreate;
|
|
38
|
+
editable: boolean;
|
|
39
|
+
clearable: boolean;
|
|
40
|
+
createHintText: string;
|
|
41
|
+
displayLimit: number | false;
|
|
42
|
+
clearLabel: string;
|
|
43
|
+
removeTagLabel: (label: string) => string;
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
removeLabel?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
remove: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onRemove?: (() => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
removeLabel: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SelectOption, SelectOptionGroup, SelectOptions } from './types';
|
|
2
|
+
export type SelectGroup = SelectOptionGroup & {
|
|
3
|
+
key: string;
|
|
4
|
+
indent: boolean;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Accepts the three documented option shapes and always returns labelled groups:
|
|
8
|
+
* a plain option array becomes a single unlabelled group, an array of group
|
|
9
|
+
* entries keeps its labels, and the record form keeps the record keys.
|
|
10
|
+
*/
|
|
11
|
+
export declare function normalizeOptions(options: SelectOptions | undefined): SelectGroup[];
|
|
12
|
+
export declare function flattenGroups(groups: SelectGroup[]): SelectOption[];
|
|
13
|
+
export declare function countOptions(groups: SelectGroup[]): number;
|
|
14
|
+
export declare function filterGroups(groups: SelectGroup[], query: string, caseSensitive: boolean): SelectGroup[];
|
|
15
|
+
export declare function findOptionByValue(groups: SelectGroup[], value: string): SelectOption | undefined;
|
|
16
|
+
/** Matches the typed text against an option value first, then against a label. */
|
|
17
|
+
export declare function findOptionByText(groups: SelectGroup[], text: string, caseSensitive: boolean): SelectOption | undefined;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type SelectOption = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export type SelectOptionGroup = {
|
|
7
|
+
label?: string;
|
|
8
|
+
options: SelectOption[];
|
|
9
|
+
indent?: boolean;
|
|
10
|
+
};
|
|
11
|
+
/** Group options keyed by group id, as documented for the v11 options prop. */
|
|
12
|
+
export type SelectOptionsRecord = Record<string, SelectOptionGroup>;
|
|
13
|
+
export type SelectOptions = SelectOption[] | SelectOptionGroup[] | SelectOptionsRecord;
|
|
14
|
+
export type SelectSearch = boolean | ((input: string) => Promise<SelectOptions> | SelectOptions);
|
|
15
|
+
export type SelectCreateOptions = {
|
|
16
|
+
validate?: (text: string) => boolean;
|
|
17
|
+
addKey?: string[];
|
|
18
|
+
};
|
|
19
|
+
export type SelectAllowCreate = boolean | SelectCreateOptions;
|
|
20
|
+
/** Shared prop surface of the select family's editable combobox engine. */
|
|
21
|
+
export type SelectFieldProps = {
|
|
22
|
+
modelValue?: string | string[];
|
|
23
|
+
defaultValue?: string | string[];
|
|
24
|
+
multiple?: boolean;
|
|
25
|
+
options?: SelectOptions;
|
|
26
|
+
search?: SelectSearch;
|
|
27
|
+
minSearchChar?: number;
|
|
28
|
+
caseSensitive?: boolean;
|
|
29
|
+
allowCreate?: SelectAllowCreate;
|
|
30
|
+
editable?: boolean;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
clearable?: boolean;
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
loading?: boolean;
|
|
35
|
+
loadingText?: string;
|
|
36
|
+
notFoundText?: string;
|
|
37
|
+
createHintText?: string;
|
|
38
|
+
displayLimit?: number | false;
|
|
39
|
+
ariaLabel?: string;
|
|
40
|
+
ariaLabelledby?: string;
|
|
41
|
+
clearLabel?: string;
|
|
42
|
+
removeTagLabel?: (label: string) => string;
|
|
43
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { SelectGroup } from './options';
|
|
3
|
+
import { SelectOptions, SelectSearch } from './types';
|
|
4
|
+
export type SelectSearchSource = {
|
|
5
|
+
options: () => SelectOptions | undefined;
|
|
6
|
+
search: () => SelectSearch | undefined;
|
|
7
|
+
query: Ref<string>;
|
|
8
|
+
minSearchChar: () => number;
|
|
9
|
+
caseSensitive: () => boolean;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Resolves the option list the dropdown should render:
|
|
13
|
+
* `false` keeps the given options, `true` filters them locally by label and a
|
|
14
|
+
* function delegates to the caller (async results replace the given options).
|
|
15
|
+
*/
|
|
16
|
+
export declare function useSelectSearch(source: SelectSearchSource): {
|
|
17
|
+
baseGroups: import('vue').ComputedRef<SelectGroup[]>;
|
|
18
|
+
groups: import('vue').ComputedRef<SelectGroup[]>;
|
|
19
|
+
searching: Ref<boolean, boolean>;
|
|
20
|
+
};
|
|
@@ -17,24 +17,24 @@ type __VLS_Slots = {} & {
|
|
|
17
17
|
footer?: (props: typeof __VLS_64) => any;
|
|
18
18
|
};
|
|
19
19
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
-
"update:open": (value: boolean) => any;
|
|
21
20
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
22
21
|
pointerDownOutside: (event: Event) => any;
|
|
23
22
|
interactOutside: (event: Event) => any;
|
|
24
23
|
openAutoFocus: (event: Event) => any;
|
|
25
24
|
closeAutoFocus: (event: Event) => any;
|
|
25
|
+
"update:open": (value: boolean) => any;
|
|
26
26
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
28
27
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
29
28
|
onPointerDownOutside?: ((event: Event) => any) | undefined;
|
|
30
29
|
onInteractOutside?: ((event: Event) => any) | undefined;
|
|
31
30
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
32
31
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
32
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
size: string;
|
|
35
35
|
side: SheetSide;
|
|
36
|
-
open: boolean;
|
|
37
36
|
defaultOpen: boolean;
|
|
37
|
+
open: boolean;
|
|
38
38
|
closeLabel: string;
|
|
39
39
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
40
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -4,8 +4,8 @@ type __VLS_Props = {
|
|
|
4
4
|
radius?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
-
height: string;
|
|
8
7
|
width: string;
|
|
8
|
+
height: string;
|
|
9
9
|
radius: string;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export type SliderInputOptions = {
|
|
2
|
+
placeholder?: string;
|
|
3
|
+
ariaLabel?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
modelValue: number;
|
|
9
|
+
min: number | string;
|
|
10
|
+
max: number | string;
|
|
11
|
+
step?: number | string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Accessible name of the handle; it also names the inline input. */
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
/** Value bubble over the handle. Defaults to true, or false with `withInput`. */
|
|
16
|
+
tip?: boolean;
|
|
17
|
+
/** Adds an inline number input that shares `min` / `max` / `step`. */
|
|
18
|
+
withInput?: boolean | SliderInputOptions;
|
|
19
|
+
/** Custom correction applied to committed values. */
|
|
20
|
+
patchNum?: (value: number) => number;
|
|
21
|
+
};
|
|
22
|
+
declare var __VLS_1: {
|
|
23
|
+
value: number;
|
|
24
|
+
}, __VLS_30: {}, __VLS_32: {
|
|
25
|
+
value: number;
|
|
26
|
+
}, __VLS_34: {};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
prefix?: (props: typeof __VLS_1) => any;
|
|
29
|
+
} & {
|
|
30
|
+
marked?: (props: typeof __VLS_30) => any;
|
|
31
|
+
} & {
|
|
32
|
+
suffix?: (props: typeof __VLS_32) => any;
|
|
33
|
+
} & {
|
|
34
|
+
'input-suffix'?: (props: typeof __VLS_34) => any;
|
|
35
|
+
};
|
|
36
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
input: (value: number) => any;
|
|
38
|
+
"update:modelValue": (value: number) => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
|
+
onInput?: ((value: number) => any) | undefined;
|
|
41
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
ariaLabel: string;
|
|
45
|
+
step: number | string;
|
|
46
|
+
tip: boolean;
|
|
47
|
+
withInput: boolean | SliderInputOptions;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SpaceAlign, SpaceDirection, SpaceJustify } from './space';
|
|
2
|
+
/** Lays children out in one line with a shared gap and alignment. */
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
alignItems?: SpaceAlign;
|
|
5
|
+
/** @deprecated Use `alignItems`; kept so existing templates keep working. */
|
|
6
|
+
alignItem?: SpaceAlign;
|
|
7
|
+
justifyContent?: SpaceJustify;
|
|
8
|
+
direction?: SpaceDirection;
|
|
9
|
+
/** A spacing name (`regular`) or a pixel number. */
|
|
10
|
+
spacing?: 'none' | 'dense' | 'compact' | 'regular' | 'relaxed' | number;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_1) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
direction: SpaceDirection;
|
|
18
|
+
spacing: "none" | "dense" | "compact" | "regular" | "relaxed" | number;
|
|
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,10 @@
|
|
|
1
|
+
export type SpaceDirection = 'row' | 'column';
|
|
2
|
+
export type SpaceSpacing = 'none' | 'dense' | 'compact' | 'regular' | 'relaxed';
|
|
3
|
+
export type SpaceAlign = 'start' | 'end' | 'baseline' | 'center' | 'stretch';
|
|
4
|
+
export type SpaceJustify = SpaceAlign | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type AlignItemsCss = 'flex-start' | 'flex-end' | 'baseline' | 'center' | 'stretch';
|
|
6
|
+
export type JustifyContentCss = AlignItemsCss | 'space-between' | 'space-around' | 'space-evenly';
|
|
7
|
+
export declare function spaceGap(spacing: SpaceSpacing | number): string;
|
|
8
|
+
/** A row centres its items; a column stretches them, as SVC v11 does. */
|
|
9
|
+
export declare function spaceAlignItems(direction: SpaceDirection, alignItems: SpaceAlign | undefined): AlignItemsCss;
|
|
10
|
+
export declare function spaceJustifyContent(justifyContent: SpaceJustify | undefined): JustifyContentCss;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SelectFieldProps, SelectOption } from '../select/internal/types';
|
|
2
|
+
type __VLS_Props = Omit<SelectFieldProps, 'multiple' | 'modelValue' | 'defaultValue'> & {
|
|
3
|
+
modelValue?: string[];
|
|
4
|
+
defaultValue?: string[];
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
select: (option: SelectOption) => any;
|
|
8
|
+
invalid: (text: string) => any;
|
|
9
|
+
"update:modelValue": (value: string[]) => any;
|
|
10
|
+
focus: (event: FocusEvent) => any;
|
|
11
|
+
blur: (event: FocusEvent) => any;
|
|
12
|
+
"update:loading": (loading: boolean) => any;
|
|
13
|
+
create: (value: string) => any;
|
|
14
|
+
"open-dropdown": () => any;
|
|
15
|
+
"close-dropdown": () => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onSelect?: ((option: SelectOption) => any) | undefined;
|
|
18
|
+
onInvalid?: ((text: string) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
20
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
21
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
22
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
23
|
+
onCreate?: ((value: string) => any) | undefined;
|
|
24
|
+
"onOpen-dropdown"?: (() => any) | undefined;
|
|
25
|
+
"onClose-dropdown"?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
modelValue: string[];
|
|
28
|
+
defaultValue: string[];
|
|
29
|
+
allowCreate: import('../../..').SelectAllowCreate;
|
|
30
|
+
editable: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|