@synopackageland/ui 0.20.3 → 0.20.5
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/CHANGELOG.md +35 -0
- package/LICENSES/THIRD_PARTY.md +2 -32
- package/LICENSES/ux-foundation.md +83 -0
- package/LICENSES/ux-grid-baserow.md +35 -0
- package/LICENSES/ux-grid-teable.md +48 -0
- package/README.md +3 -0
- package/dist/components/app/app-layout/AppLayout.vue.d.ts +52 -5
- package/dist/components/app/app-layout/pageTitle.d.ts +24 -0
- package/dist/components/app/app-root/AppRoot.vue.d.ts +9 -0
- package/dist/components/app/app-tab-bar/AppTabBar.vue.d.ts +1 -1
- package/dist/components/app/aside-panel/AsidePanel.vue.d.ts +69 -0
- package/dist/components/app/aside-panel/asidePreference.d.ts +28 -0
- package/dist/components/app/section-tabs/SectionTabs.vue.d.ts +22 -4
- package/dist/components/composite/about-dialog/AboutDialog.vue.d.ts +1 -1
- package/dist/components/composite/adaptive-panel/AdaptivePanel.vue.d.ts +61 -0
- package/dist/components/composite/connection-topology/ConnectionTopology.vue.d.ts +1 -1
- package/dist/components/composite/data-grid/DataGrid.vue.d.ts +19 -1
- package/dist/components/composite/data-grid/labels.d.ts +15 -0
- package/dist/components/composite/data-grid/listLayout.d.ts +26 -0
- package/dist/components/composite/data-table/DataTable.vue.d.ts +33 -7
- package/dist/components/composite/file-picker/FilePicker.vue.d.ts +2 -2
- package/dist/components/composite/form/FormGroup.vue.d.ts +1 -1
- package/dist/components/composite/form/context.d.ts +13 -0
- package/dist/components/composite/form-actions/FormActions.vue.d.ts +6 -2
- package/dist/components/composite/mention-list/MentionList.vue.d.ts +2 -2
- package/dist/components/composite/overflow-toolbar/OverflowToolbar.vue.d.ts +2 -2
- package/dist/components/composite/record-panel/RecordPanel.vue.d.ts +91 -0
- package/dist/components/composite/record-panel/recordPanelWidth.d.ts +54 -0
- package/dist/components/composite/settings-section/SettingsSection.vue.d.ts +1 -1
- package/dist/components/composite/summary-card/SummaryCard.vue.d.ts +1 -1
- package/dist/components/composite/tag-editor/TagEditor.vue.d.ts +4 -4
- package/dist/components/composite/tree-view/TreeView.vue.d.ts +4 -4
- package/dist/components/composite/wizard/Wizard.vue.d.ts +2 -2
- package/dist/components/composite/wizard/WizardDialog.vue.d.ts +4 -4
- package/dist/components/containers/card/Card.vue.d.ts +1 -1
- package/dist/components/containers/card/CardField.vue.d.ts +26 -0
- package/dist/components/containers/card-grid/CardCover.vue.d.ts +16 -0
- package/dist/components/containers/card-grid/CardGrid.vue.d.ts +1 -1
- package/dist/components/containers/card-grid/VirtualCardGrid.vue.d.ts +71 -0
- package/dist/components/containers/expandable-item/ExpandableItem.vue.d.ts +1 -1
- package/dist/components/containers/fieldset/Fieldset.vue.d.ts +1 -1
- package/dist/components/containers/list-detail/ListDetail.vue.d.ts +6 -4
- package/dist/components/containers/split-pane/SplitPane.vue.d.ts +1 -1
- package/dist/components/feedback/notification/Notification.vue.d.ts +1 -1
- package/dist/components/feedback/notification/NotificationProvider.vue.d.ts +1 -1
- package/dist/components/feedback/validation-popup/ValidationPopup.vue.d.ts +1 -1
- package/dist/components/primitives/breadcrumb/Breadcrumb.vue.d.ts +2 -2
- package/dist/components/primitives/color-picker/ColorPicker.vue.d.ts +4 -4
- package/dist/components/primitives/combobox/Combobox.vue.d.ts +4 -4
- package/dist/components/primitives/context-menu/ContextMenu.vue.d.ts +5 -2
- package/dist/components/primitives/context-menu/ContextMenuItems.vue.d.ts +4 -5
- package/dist/components/primitives/dialog/Dialog.vue.d.ts +16 -8
- package/dist/components/primitives/dropdown-menu/DropdownMenu.vue.d.ts +7 -3
- package/dist/components/primitives/dropdown-menu/DropdownMenuItems.vue.d.ts +6 -3
- package/dist/components/primitives/dropdown-menu/DropdownMenuSheet.vue.d.ts +28 -0
- package/dist/components/primitives/input/Input.vue.d.ts +8 -1
- package/dist/components/primitives/input/Textarea.vue.d.ts +1 -1
- package/dist/components/primitives/input-steppers/InputSteppers.vue.d.ts +1 -1
- package/dist/components/primitives/motion/PushTransition.vue.d.ts +38 -0
- package/dist/components/primitives/multiple-select/MultipleSelect.vue.d.ts +4 -4
- package/dist/components/primitives/pagination/Pagination.vue.d.ts +22 -9
- package/dist/components/primitives/pagination/PaginationSheet.vue.d.ts +27 -0
- package/dist/components/primitives/pagination/labels.d.ts +6 -0
- package/dist/components/primitives/popover/Popover.vue.d.ts +11 -3
- package/dist/components/primitives/popover/floating.d.ts +27 -0
- package/dist/components/primitives/popover/overlay.d.ts +36 -0
- package/dist/components/primitives/segment-control/SegmentControl.vue.d.ts +4 -1
- package/dist/components/primitives/segment-control/context.d.ts +3 -0
- package/dist/components/primitives/select/Select.vue.d.ts +4 -0
- package/dist/components/primitives/select/internal/ComboboxField.vue.d.ts +6 -5
- package/dist/components/primitives/select/internal/SelectSheet.vue.d.ts +42 -0
- package/dist/components/primitives/select/internal/types.d.ts +2 -0
- package/dist/components/primitives/sheet/BottomSheet.vue.d.ts +69 -0
- package/dist/components/primitives/sheet/Sheet.vue.d.ts +13 -5
- package/dist/components/primitives/sheet/phone.d.ts +7 -0
- package/dist/components/primitives/skeleton/SectionSkeleton.vue.d.ts +25 -4
- package/dist/components/primitives/skeleton/Skeleton.vue.d.ts +3 -0
- package/dist/components/primitives/superbox-select/SuperboxSelect.vue.d.ts +4 -4
- package/dist/components/primitives/tag/Tag.vue.d.ts +2 -2
- package/dist/components/primitives/toast/ToastProvider.vue.d.ts +0 -2
- package/dist/components/primitives/toast/toast.d.ts +21 -1
- package/dist/components/primitives/tooltip/Tooltip.vue.d.ts +8 -3
- package/dist/components/primitives/tooltip/tooltipStyle.d.ts +11 -1
- package/dist/components/rich-text-editor/RichTextEditor.vue.d.ts +1 -1
- package/dist/composables/backDismiss.d.ts +19 -0
- package/dist/composables/formControl.d.ts +18 -0
- package/dist/composables/phone.d.ts +8 -0
- package/dist/composables/phoneSurface.d.ts +35 -0
- package/dist/composables/softKeyboard.d.ts +26 -4
- package/dist/composables/visualViewport.d.ts +31 -0
- package/dist/dnd/autoScroll.d.ts +57 -0
- package/dist/dnd/dragKit.d.ts +111 -0
- package/dist/dnd/index.d.ts +4 -0
- package/dist/dnd/layout.d.ts +57 -0
- package/dist/dnd/vue.d.ts +16 -0
- package/dist/feedback/StatusSlot.vue.d.ts +24 -0
- package/dist/feedback/showAfter.d.ts +15 -0
- package/dist/feedback/stackMotion.d.ts +13 -0
- package/dist/feedback/timing.d.ts +23 -0
- package/dist/grid/cells/draw.d.ts +57 -0
- package/dist/grid/cells/images.d.ts +5 -0
- package/dist/grid/cells/index.d.ts +7 -0
- package/dist/grid/cells/number.d.ts +5 -0
- package/dist/grid/cells/registry.d.ts +56 -0
- package/dist/grid/cells/renderers.d.ts +8 -0
- package/dist/grid/cells/status.d.ts +6 -0
- package/dist/grid/cells/types.d.ts +200 -0
- package/dist/grid/cells/use.d.ts +7 -0
- package/dist/grid/clipboard/copy.d.ts +17 -0
- package/dist/grid/clipboard/index.d.ts +4 -0
- package/dist/grid/clipboard/proposal.d.ts +35 -0
- package/dist/grid/clipboard/tsv.d.ts +14 -0
- package/dist/grid/clipboard/write.d.ts +21 -0
- package/dist/grid/contracts.d.ts +200 -0
- package/dist/grid/edit/cell-status.d.ts +33 -0
- package/dist/grid/edit/edit-session.d.ts +97 -0
- package/dist/grid/edit/use-grid-edit.d.ts +48 -0
- package/dist/grid/focus/editor-style.d.ts +67 -0
- package/dist/grid/host/GridHost.vue.d.ts +137 -0
- package/dist/grid/host/controller.d.ts +219 -0
- package/dist/grid/host/dom.d.ts +10 -0
- package/dist/grid/index.d.ts +8 -0
- package/dist/grid/range/block.d.ts +30 -0
- package/dist/grid/range/fill.d.ts +27 -0
- package/dist/grid/range/index.d.ts +2 -0
- package/dist/grid/theme.d.ts +61 -0
- package/dist/grid-core/auto-scroll.d.ts +67 -0
- package/dist/grid-core/column-resize.d.ts +43 -0
- package/dist/grid-core/config.d.ts +39 -0
- package/dist/grid-core/coordinate.d.ts +64 -0
- package/dist/grid-core/drag.d.ts +46 -0
- package/dist/grid-core/freeze.d.ts +11 -0
- package/dist/grid-core/index.d.ts +17 -0
- package/dist/grid-core/keyboard.d.ts +34 -0
- package/dist/grid-core/keys.d.ts +38 -0
- package/dist/grid-core/lru.d.ts +10 -0
- package/dist/grid-core/range.d.ts +28 -0
- package/dist/grid-core/region.d.ts +73 -0
- package/dist/grid-core/renderer/base.d.ts +92 -0
- package/dist/grid-core/renderer/layout.d.ts +129 -0
- package/dist/grid-core/selection-controller.d.ts +62 -0
- package/dist/grid-core/selection.d.ts +35 -0
- package/dist/grid-core/theme.d.ts +81 -0
- package/dist/grid-core/types.d.ts +178 -0
- package/dist/grid.js +6272 -0
- package/dist/i18n/text.d.ts +17 -0
- package/dist/index.d.ts +39 -4
- package/dist/index.js +23037 -14390
- package/dist/interaction/editSession.d.ts +49 -0
- package/dist/interaction/focus.d.ts +28 -0
- package/dist/interaction/gesture.d.ts +49 -0
- package/dist/interaction/ime.d.ts +55 -0
- package/dist/interaction/index.d.ts +6 -0
- package/dist/interaction/outside.d.ts +40 -0
- package/dist/interaction/vue.d.ts +21 -0
- package/dist/json-ai-prompt.md +1 -1
- package/dist/json-preview/preview.js +16780 -11595
- package/dist/json.js +10 -10
- package/dist/lib/adaptiveLayout.d.ts +32 -2
- package/dist/lib/deviceViewport.d.ts +2 -1
- package/dist/lib/motion.d.ts +12 -0
- package/dist/reka-runtime.json +15 -12
- package/dist/rich-text.js +1 -1
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-reset.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/dist/virtual/cardHeight.d.ts +39 -0
- package/dist/virtual/galleryColumns.d.ts +11 -0
- package/dist/virtual/layoutMotion.d.ts +30 -0
- package/docs/adaptive-layout.md +148 -25
- package/docs/app-local-modal.md +1 -1
- package/docs/callout.md +22 -1
- package/docs/layout-rules.md +14 -0
- package/docs/list-detail.md +60 -0
- package/docs/mobile-native.md +502 -0
- package/docs/release-checks.md +28 -0
- package/docs/theme-hooks.md +28 -7
- package/docs/ux-foundation.md +133 -0
- package/docs/ux-grid.md +217 -0
- package/package.json +100 -2
|
@@ -31,8 +31,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
31
31
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
32
|
"onUpdate:expanded"?: ((value: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
hasHeader: boolean;
|
|
35
34
|
expanded: boolean;
|
|
35
|
+
hasHeader: boolean;
|
|
36
36
|
expandable: boolean;
|
|
37
37
|
layoutType: "regular" | "compact";
|
|
38
38
|
footerAlign: "start" | "end" | "between";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** The field name, translated by the caller. */
|
|
3
|
+
label: string;
|
|
4
|
+
/** Value-row height in px; the same number goes into `cardHeight()`. */
|
|
5
|
+
height?: number;
|
|
6
|
+
/** Shows a muted "-" in the value row, which keeps its height. */
|
|
7
|
+
empty?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
icon?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
default?: (props: typeof __VLS_3) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
height: number;
|
|
17
|
+
empty: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
src?: string;
|
|
3
|
+
/** Translated by the caller; empty for a decorative cover. */
|
|
4
|
+
alt?: string;
|
|
5
|
+
/** The image's own size, so the browser knows its ratio before it loads. */
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
height: number;
|
|
11
|
+
width: number;
|
|
12
|
+
src: string;
|
|
13
|
+
alt: string;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -14,8 +14,8 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
default?: (props: typeof __VLS_1) => any;
|
|
15
15
|
};
|
|
16
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
|
-
gap: string;
|
|
18
17
|
minItemWidth: string;
|
|
18
|
+
gap: string;
|
|
19
19
|
fit: "stretch" | "fill";
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ContextMenuEntry } from '../../primitives/context-menu/types';
|
|
2
|
+
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import('vue').PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
/** All cards in the view, loaded or not; usually from a count read. */
|
|
5
|
+
count: number;
|
|
6
|
+
/** The card at `index`, or undefined while its window is not loaded yet. */
|
|
7
|
+
getItem: (index: number) => T | undefined;
|
|
8
|
+
itemKey: (item: T, index: number) => string | number;
|
|
9
|
+
/** Every card's height in px, from `cardHeight()`; cards are never measured. */
|
|
10
|
+
cardHeight: number;
|
|
11
|
+
/** Cover box height in px, reserved on every card and placeholder; 0 for none. */
|
|
12
|
+
cover?: number;
|
|
13
|
+
/** Accessible name of the list, translated by the caller. */
|
|
14
|
+
label?: string;
|
|
15
|
+
/** The card whose record is open; it keeps an accent ring. */
|
|
16
|
+
activeKey?: string | number;
|
|
17
|
+
selectedKeys?: ReadonlySet<string | number>;
|
|
18
|
+
/**
|
|
19
|
+
* Cards re-render only when their item, state or this value changes. Change
|
|
20
|
+
* it when what the slots draw changes for every card (fields, cover field).
|
|
21
|
+
*/
|
|
22
|
+
memoKey?: unknown;
|
|
23
|
+
/** Entries for the one shared context menu, built when it opens; none shows the browser's menu. */
|
|
24
|
+
menuItems?: (item: T, index: number) => ContextMenuEntry[];
|
|
25
|
+
/** Rows rendered above and below the visible ones. */
|
|
26
|
+
overscan?: number;
|
|
27
|
+
} & {
|
|
28
|
+
onRange?: ((start: number, end: number) => any) | undefined;
|
|
29
|
+
onOpen?: ((item: T, index: number) => any) | undefined;
|
|
30
|
+
onPick?: ((item: T, index: number, mode: "range" | "toggle") => any) | undefined;
|
|
31
|
+
"onMenu-select"?: ((key: string, item: T, index: number) => any) | undefined;
|
|
32
|
+
}> & (typeof globalThis extends {
|
|
33
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
34
|
+
} ? P : {});
|
|
35
|
+
expose: (exposed: import('vue').ShallowUnwrapRef<{
|
|
36
|
+
scrollToIndex: (index: number) => void;
|
|
37
|
+
focusCard: (index: number) => void;
|
|
38
|
+
columns: import('vue').Ref<number, number>;
|
|
39
|
+
}>) => void;
|
|
40
|
+
attrs: any;
|
|
41
|
+
slots: {
|
|
42
|
+
/** The card body under the cover, inset 8 by 12 px: a 20 px title line and CardFields, stacked 8 px apart. */
|
|
43
|
+
default?: (props: {
|
|
44
|
+
item: T;
|
|
45
|
+
index: number;
|
|
46
|
+
}) => unknown;
|
|
47
|
+
cover?: (props: {
|
|
48
|
+
item: T;
|
|
49
|
+
index: number;
|
|
50
|
+
}) => unknown;
|
|
51
|
+
/** Actions over the card's top end, shown on hover and focus without taking space; always shown without hover (touch). */
|
|
52
|
+
actions?: (props: {
|
|
53
|
+
item: T;
|
|
54
|
+
index: number;
|
|
55
|
+
}) => unknown;
|
|
56
|
+
/** Inside the frame of a card that is not loaded yet. */
|
|
57
|
+
placeholder?: (props: {
|
|
58
|
+
index: number;
|
|
59
|
+
}) => unknown;
|
|
60
|
+
};
|
|
61
|
+
emit: ((evt: "range", start: number, end: number) => void) & ((evt: "open", item: T, index: number) => void) & ((evt: "pick", item: T, index: number, mode: "range" | "toggle") => void) & ((evt: "menu-select", key: string, item: T, index: number) => void);
|
|
62
|
+
}>) => import('vue').VNode & {
|
|
63
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
64
|
+
};
|
|
65
|
+
declare const _default: typeof __VLS_export;
|
|
66
|
+
export default _default;
|
|
67
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
68
|
+
[K in keyof T]: T[K];
|
|
69
|
+
} : {
|
|
70
|
+
[K in keyof T as K]: T[K];
|
|
71
|
+
}) & {};
|
|
@@ -64,8 +64,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
64
64
|
"onDrag-over"?: ((event: DragEvent) => any) | undefined;
|
|
65
65
|
"onDrag-end"?: ((event: DragEvent) => any) | undefined;
|
|
66
66
|
}>, {
|
|
67
|
-
draggable: boolean;
|
|
68
67
|
expanded: boolean;
|
|
68
|
+
draggable: boolean;
|
|
69
69
|
selectable: boolean;
|
|
70
70
|
expandable: boolean;
|
|
71
71
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
48
48
|
"onHeader-click"?: (() => any) | undefined;
|
|
49
49
|
"onHeader-dblclick"?: (() => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
|
-
collapsible: boolean;
|
|
52
51
|
collapsed: boolean;
|
|
52
|
+
collapsible: boolean;
|
|
53
53
|
collapseTriggerEvent: FieldsetCollapseTrigger;
|
|
54
54
|
collapseIcon: "left" | "none";
|
|
55
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -18,13 +18,15 @@ type __VLS_Props = {
|
|
|
18
18
|
};
|
|
19
19
|
/** Goes back to the default width and forgets the remembered one. */
|
|
20
20
|
declare function reset(): void;
|
|
21
|
-
declare var __VLS_1: {},
|
|
21
|
+
declare var __VLS_1: {}, __VLS_12: {}, __VLS_14: {}, __VLS_24: {};
|
|
22
22
|
type __VLS_Slots = {} & {
|
|
23
23
|
default?: (props: typeof __VLS_1) => any;
|
|
24
24
|
} & {
|
|
25
|
-
header?: (props: typeof
|
|
25
|
+
header?: (props: typeof __VLS_12) => any;
|
|
26
26
|
} & {
|
|
27
|
-
|
|
27
|
+
header?: (props: typeof __VLS_14) => any;
|
|
28
|
+
} & {
|
|
29
|
+
detail?: (props: typeof __VLS_24) => any;
|
|
28
30
|
};
|
|
29
31
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
30
32
|
reset: typeof reset;
|
|
@@ -37,9 +39,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
37
39
|
title: string;
|
|
38
40
|
open: boolean;
|
|
39
41
|
minWidth: number;
|
|
40
|
-
closable: boolean;
|
|
41
42
|
storageKey: string;
|
|
42
43
|
defaultWidth: number;
|
|
44
|
+
closable: boolean;
|
|
43
45
|
listMinWidth: number;
|
|
44
46
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
47
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -34,10 +34,10 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
34
34
|
modelValue: number;
|
|
35
35
|
orientation: "horizontal" | "vertical";
|
|
36
36
|
gap: number;
|
|
37
|
+
storageKey: string;
|
|
37
38
|
defaultSize: number;
|
|
38
39
|
minStart: number;
|
|
39
40
|
minEnd: number;
|
|
40
|
-
storageKey: string;
|
|
41
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
31
31
|
onConfirm?: (() => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
33
|
title: string | false;
|
|
34
|
-
open: boolean;
|
|
35
34
|
cancel: NotificationAction;
|
|
35
|
+
open: boolean;
|
|
36
36
|
content: string | false;
|
|
37
37
|
tone: NotificationTone;
|
|
38
38
|
duration: number | false;
|
|
@@ -19,9 +19,9 @@ type __VLS_Slots = {} & {
|
|
|
19
19
|
};
|
|
20
20
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, NotificationController, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
21
|
duration: number;
|
|
22
|
+
gap: number;
|
|
22
23
|
alignment: NotificationAlignment;
|
|
23
24
|
stackSize: number | false;
|
|
24
|
-
gap: number;
|
|
25
25
|
stackGap: number;
|
|
26
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -24,11 +24,11 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
24
24
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
25
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
+
open: boolean;
|
|
27
28
|
offset: number;
|
|
28
29
|
side: "top" | "right" | "bottom" | "left";
|
|
29
30
|
align: "start" | "center" | "end";
|
|
30
31
|
defaultOpen: boolean;
|
|
31
|
-
open: boolean;
|
|
32
32
|
disable: boolean;
|
|
33
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -12,12 +12,12 @@ type __VLS_Props = {
|
|
|
12
12
|
collapsedLabel?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function selectItem(item: BreadcrumbItem): void;
|
|
15
|
-
declare var
|
|
15
|
+
declare var __VLS_88: {
|
|
16
16
|
items: BreadcrumbActionItem[];
|
|
17
17
|
select: typeof selectItem;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
20
|
-
'action-menu-dropdown'?: (props: typeof
|
|
20
|
+
'action-menu-dropdown'?: (props: typeof __VLS_88) => any;
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
23
|
clickItem: (item: BreadcrumbItem) => any;
|
|
@@ -34,13 +34,13 @@ type __VLS_Props = {
|
|
|
34
34
|
declare function reset(): void;
|
|
35
35
|
declare function showCustom(): void;
|
|
36
36
|
declare function closeDropdown(): void;
|
|
37
|
-
declare var
|
|
37
|
+
declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
|
|
38
38
|
type __VLS_Slots = {} & {
|
|
39
|
-
'top-custom'?: (props: typeof
|
|
39
|
+
'top-custom'?: (props: typeof __VLS_7) => any;
|
|
40
40
|
} & {
|
|
41
|
-
'bottom-custom'?: (props: typeof
|
|
41
|
+
'bottom-custom'?: (props: typeof __VLS_9) => any;
|
|
42
42
|
} & {
|
|
43
|
-
bottom?: (props: typeof
|
|
43
|
+
bottom?: (props: typeof __VLS_11) => any;
|
|
44
44
|
};
|
|
45
45
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
46
46
|
reset: typeof reset;
|
|
@@ -6,21 +6,21 @@ type __VLS_Props = Omit<SelectFieldProps, 'multiple' | 'modelValue' | 'defaultVa
|
|
|
6
6
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
select: (option: SelectOption) => any;
|
|
8
8
|
blur: (event: FocusEvent) => any;
|
|
9
|
+
focus: (event: FocusEvent) => any;
|
|
9
10
|
invalid: (text: string) => any;
|
|
10
11
|
"update:modelValue": (value: string) => any;
|
|
11
|
-
focus: (event: FocusEvent) => any;
|
|
12
|
-
"update:loading": (loading: boolean) => any;
|
|
13
12
|
create: (value: string) => any;
|
|
13
|
+
"update:loading": (loading: boolean) => any;
|
|
14
14
|
"open-dropdown": () => any;
|
|
15
15
|
"close-dropdown": () => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
17
|
onSelect?: ((option: SelectOption) => any) | undefined;
|
|
18
18
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
19
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
19
20
|
onInvalid?: ((text: string) => any) | undefined;
|
|
20
21
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
21
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
22
|
-
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
23
22
|
onCreate?: ((value: string) => any) | undefined;
|
|
23
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
24
24
|
"onOpen-dropdown"?: (() => any) | undefined;
|
|
25
25
|
"onClose-dropdown"?: (() => any) | undefined;
|
|
26
26
|
}>, {
|
|
@@ -2,10 +2,12 @@ import { ContextMenuEntry } from './types';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
items: ContextMenuEntry[];
|
|
4
4
|
disabled?: boolean;
|
|
5
|
+
/** How long a touch press is held before the menu opens, in ms; Reka's 700 when unset. */
|
|
6
|
+
pressOpenDelay?: number;
|
|
5
7
|
};
|
|
6
|
-
declare var
|
|
8
|
+
declare var __VLS_17: {};
|
|
7
9
|
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof
|
|
10
|
+
default?: (props: typeof __VLS_17) => any;
|
|
9
11
|
};
|
|
10
12
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
13
|
select: (key: string) => any;
|
|
@@ -15,6 +17,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
15
17
|
onToggle?: ((key: string, checked: boolean) => any) | undefined;
|
|
16
18
|
}>, {
|
|
17
19
|
disabled: boolean;
|
|
20
|
+
pressOpenDelay: number;
|
|
18
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { useFloating } from '../popover/floating';
|
|
1
2
|
import { ContextMenuEntry } from './types';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
items: ContextMenuEntry[];
|
|
4
|
-
/**
|
|
5
|
-
|
|
5
|
+
/** The parent menu's shared placement preset, including keyboard and safe-area padding. */
|
|
6
|
+
floating: ReturnType<typeof useFloating>['value'];
|
|
6
7
|
};
|
|
7
8
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
9
|
select: (key: string) => any;
|
|
@@ -10,8 +11,6 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
10
11
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
12
|
onSelect?: ((key: string) => any) | undefined;
|
|
12
13
|
onToggle?: ((key: string, checked: boolean) => any) | undefined;
|
|
13
|
-
}>, {
|
|
14
|
-
collisionBoundary: HTMLElement | HTMLElement[];
|
|
15
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
15
|
declare const _default: typeof __VLS_export;
|
|
17
16
|
export default _default;
|
|
@@ -16,7 +16,7 @@ type __VLS_Props = {
|
|
|
16
16
|
minHeight?: string;
|
|
17
17
|
/** The tallest the panel grows before its body scrolls (default 85vh), capped to the available height. */
|
|
18
18
|
maxHeight?: string;
|
|
19
|
-
/** Fills the viewport: `true` always, `'mobile'` only on a phone
|
|
19
|
+
/** Fills the viewport: `true` always, `'mobile'` only on a phone (an app 640px or narrower), for a dialog that is a page there. On a phone every dialog is a bottom sheet: `true`, `'mobile'` and a form of more than 3 fields fill the screen, the rest fit their content. */
|
|
20
20
|
fullscreen?: boolean | 'mobile';
|
|
21
21
|
closeLabel?: string;
|
|
22
22
|
/** Hides the header close affordance for fixed-flow dialogs that own their dismiss path. */
|
|
@@ -30,15 +30,23 @@ type __VLS_Props = {
|
|
|
30
30
|
/** The mask over the app behind: `dim` (default), `light` (a faint tint, as DSM leaves the window behind a wizard) or `none`. It blocks presses in each case. */
|
|
31
31
|
scrim?: 'dim' | 'light' | 'none';
|
|
32
32
|
};
|
|
33
|
-
declare var
|
|
33
|
+
declare var __VLS_15: {}, __VLS_18: {}, __VLS_20: {}, __VLS_23: {}, __VLS_38: {}, __VLS_86: {}, __VLS_99: {}, __VLS_107: {};
|
|
34
34
|
type __VLS_Slots = {} & {
|
|
35
|
-
trigger?: (props: typeof
|
|
35
|
+
trigger?: (props: typeof __VLS_15) => any;
|
|
36
36
|
} & {
|
|
37
|
-
header?: (props: typeof
|
|
37
|
+
header?: (props: typeof __VLS_18) => any;
|
|
38
38
|
} & {
|
|
39
|
-
default?: (props: typeof
|
|
39
|
+
default?: (props: typeof __VLS_20) => any;
|
|
40
40
|
} & {
|
|
41
|
-
footer?: (props: typeof
|
|
41
|
+
footer?: (props: typeof __VLS_23) => any;
|
|
42
|
+
} & {
|
|
43
|
+
trigger?: (props: typeof __VLS_38) => any;
|
|
44
|
+
} & {
|
|
45
|
+
header?: (props: typeof __VLS_86) => any;
|
|
46
|
+
} & {
|
|
47
|
+
default?: (props: typeof __VLS_99) => any;
|
|
48
|
+
} & {
|
|
49
|
+
footer?: (props: typeof __VLS_107) => any;
|
|
42
50
|
};
|
|
43
51
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
52
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
@@ -55,13 +63,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
55
63
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
56
64
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
57
65
|
}>, {
|
|
58
|
-
defaultOpen: boolean;
|
|
59
66
|
open: boolean;
|
|
60
67
|
flush: boolean;
|
|
68
|
+
defaultOpen: boolean;
|
|
61
69
|
showClose: boolean;
|
|
62
|
-
headerDivider: boolean;
|
|
63
70
|
closeOnOutside: boolean;
|
|
64
71
|
scrim: "dim" | "light" | "none";
|
|
72
|
+
headerDivider: boolean;
|
|
65
73
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
66
74
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
67
75
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OverlayMotion } from '../popover/overlay';
|
|
1
2
|
import { DropdownMenuEntry } from './types';
|
|
2
3
|
export type { DropdownMenuEntry } from './types';
|
|
3
4
|
type __VLS_Props = {
|
|
@@ -13,10 +14,12 @@ type __VLS_Props = {
|
|
|
13
14
|
radioValues?: Record<string, string>;
|
|
14
15
|
/** Mark of the selected radio entry: a filled dot (default) or a check. */
|
|
15
16
|
radioIndicator?: 'dot' | 'check';
|
|
17
|
+
/** `none` drops the open and close motion (a grid editor's menu); inherits `provideOverlayMotion`. */
|
|
18
|
+
motion?: OverlayMotion;
|
|
16
19
|
};
|
|
17
|
-
declare var
|
|
20
|
+
declare var __VLS_17: {};
|
|
18
21
|
type __VLS_Slots = {} & {
|
|
19
|
-
trigger?: (props: typeof
|
|
22
|
+
trigger?: (props: typeof __VLS_17) => any;
|
|
20
23
|
};
|
|
21
24
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
25
|
select: (key: string) => any;
|
|
@@ -35,8 +38,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
35
38
|
"onUpdate:radioValues"?: ((value: Record<string, string>) => any) | undefined;
|
|
36
39
|
onRadioSelect?: ((value: string, key: string, group: string) => any) | undefined;
|
|
37
40
|
}>, {
|
|
38
|
-
align: "start" | "center" | "end";
|
|
39
41
|
open: boolean;
|
|
42
|
+
align: "start" | "center" | "end";
|
|
43
|
+
motion: OverlayMotion;
|
|
40
44
|
radioIndicator: "dot" | "check";
|
|
41
45
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { useFloating } from '../popover/floating';
|
|
1
2
|
import { DropdownMenuEntry } from './types';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
items: DropdownMenuEntry[];
|
|
4
5
|
checkedKeys?: string[];
|
|
5
6
|
radioValues?: Record<string, string>;
|
|
6
|
-
/**
|
|
7
|
-
|
|
7
|
+
/** The parent menu's shared placement preset, including keyboard and safe-area padding. */
|
|
8
|
+
floating: ReturnType<typeof useFloating>['value'];
|
|
8
9
|
/** Mark of the selected radio entry: a filled dot (default) or a check. */
|
|
9
10
|
radioIndicator?: 'dot' | 'check';
|
|
11
|
+
/** The open menu's motion, so a submenu moves (or not) like it. */
|
|
12
|
+
motion?: 'auto' | 'none';
|
|
10
13
|
};
|
|
11
14
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
15
|
select: (key: string) => any;
|
|
@@ -17,7 +20,7 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
17
20
|
onRadio?: ((value: string, key: string, group: string) => any) | undefined;
|
|
18
21
|
onToggle?: ((key: string, checked: boolean) => any) | undefined;
|
|
19
22
|
}>, {
|
|
20
|
-
|
|
23
|
+
motion: "auto" | "none";
|
|
21
24
|
checkedKeys: string[];
|
|
22
25
|
radioValues: Record<string, string>;
|
|
23
26
|
radioIndicator: "dot" | "check";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DropdownMenuEntry } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
items: DropdownMenuEntry[];
|
|
5
|
+
/** The sheet's title on the first level, e.g. the name of the button that opened it. */
|
|
6
|
+
title?: string;
|
|
7
|
+
checkedKeys?: string[];
|
|
8
|
+
radioValues?: Record<string, string>;
|
|
9
|
+
radioIndicator?: 'dot' | 'check';
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
select: (key: string) => any;
|
|
13
|
+
radio: (value: string, key: string, group: string) => any;
|
|
14
|
+
toggle: (key: string, checked: boolean) => any;
|
|
15
|
+
"update:open": (value: boolean) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
18
|
+
onRadio?: ((value: string, key: string, group: string) => any) | undefined;
|
|
19
|
+
onToggle?: ((key: string, checked: boolean) => any) | undefined;
|
|
20
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
title: string;
|
|
23
|
+
checkedKeys: string[];
|
|
24
|
+
radioValues: Record<string, string>;
|
|
25
|
+
radioIndicator: "dot" | "check";
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
modelValue?: string | number;
|
|
3
|
+
/**
|
|
4
|
+
* The native input type, plus `integer` and `decimal`: text fields that open
|
|
5
|
+
* a number keyboard (`inputmode` numeric or decimal) without the native
|
|
6
|
+
* number field's spinner and value parsing. The type also sets the phone
|
|
7
|
+
* keyboard's hints (`inputmode`, `autocapitalize`, `spellcheck`,
|
|
8
|
+
* `enterkeyhint`); an attribute of the same name overrides each.
|
|
9
|
+
*/
|
|
3
10
|
type?: string;
|
|
4
11
|
placeholder?: string;
|
|
5
12
|
disabled?: boolean;
|
|
@@ -25,9 +32,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
25
32
|
size: "sm" | "md" | "lg";
|
|
26
33
|
type: string;
|
|
27
34
|
disabled: boolean;
|
|
35
|
+
invalid: boolean;
|
|
28
36
|
modelValue: string | number;
|
|
29
37
|
readonly: boolean;
|
|
30
|
-
invalid: boolean;
|
|
31
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
39
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
40
|
declare const _default: typeof __VLS_export;
|
|
@@ -16,9 +16,9 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
disabled: boolean;
|
|
19
|
+
invalid: boolean;
|
|
19
20
|
modelValue: string;
|
|
20
21
|
readonly: boolean;
|
|
21
|
-
invalid: boolean;
|
|
22
22
|
rows: number;
|
|
23
23
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
@@ -42,8 +42,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
42
42
|
}>, {
|
|
43
43
|
menu: InputSteppersMenuItem[];
|
|
44
44
|
disabled: boolean;
|
|
45
|
-
modelValue: number;
|
|
46
45
|
width: number;
|
|
46
|
+
modelValue: number;
|
|
47
47
|
controlsType: "right-left" | "up-down";
|
|
48
48
|
hasDivider: boolean;
|
|
49
49
|
selectOnFocus: boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Whether the page is pushed. */
|
|
3
|
+
show: boolean;
|
|
4
|
+
/** Push motion, the edge swipe, the back header and the Back key. Off: the page shows and hides at once. */
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
/** The page underneath: it slides 30% left, dims and turns inert while covered. */
|
|
7
|
+
under?: HTMLElement | null;
|
|
8
|
+
/** The back header's title; without it (and without the `title` slot) the page has no back header. */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** Keeps the page mounted, hidden, while it is popped (its local drafts stay). */
|
|
11
|
+
keepMounted?: boolean;
|
|
12
|
+
/** The page's element. */
|
|
13
|
+
as?: string;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_Slots = {
|
|
16
|
+
default?: () => unknown;
|
|
17
|
+
title?: () => unknown;
|
|
18
|
+
'header-actions'?: () => unknown;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
pop: () => any;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onPop?: (() => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
title: string;
|
|
26
|
+
as: string;
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
under: HTMLElement | null;
|
|
29
|
+
keepMounted: boolean;
|
|
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
|
+
};
|
|
@@ -6,21 +6,21 @@ type __VLS_Props = Omit<SelectFieldProps, 'multiple' | 'modelValue' | 'defaultVa
|
|
|
6
6
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
7
|
select: (option: SelectOption) => any;
|
|
8
8
|
blur: (event: FocusEvent) => any;
|
|
9
|
+
focus: (event: FocusEvent) => any;
|
|
9
10
|
invalid: (text: string) => any;
|
|
10
11
|
"update:modelValue": (value: string[]) => any;
|
|
11
|
-
focus: (event: FocusEvent) => any;
|
|
12
|
-
"update:loading": (loading: boolean) => any;
|
|
13
12
|
create: (value: string) => any;
|
|
13
|
+
"update:loading": (loading: boolean) => any;
|
|
14
14
|
"open-dropdown": () => any;
|
|
15
15
|
"close-dropdown": () => any;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
17
|
onSelect?: ((option: SelectOption) => any) | undefined;
|
|
18
18
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
19
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
19
20
|
onInvalid?: ((text: string) => any) | undefined;
|
|
20
21
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
21
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
22
|
-
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
23
22
|
onCreate?: ((value: string) => any) | undefined;
|
|
23
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
24
24
|
"onOpen-dropdown"?: (() => any) | undefined;
|
|
25
25
|
"onClose-dropdown"?: (() => any) | undefined;
|
|
26
26
|
}>, {
|