@rio-m3e/vue 0.6.3 → 0.7.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/README.md +99 -4
- package/dist/app-bar/AppBar.vue.d.ts +42 -0
- package/dist/app-bar/AppBar.vue.js +91 -0
- package/dist/badge/Badge.vue.d.ts +15 -0
- package/dist/badge/Badge.vue.js +28 -0
- package/dist/bottom-sheet/BottomSheet.vue.d.ts +34 -0
- package/dist/bottom-sheet/BottomSheet.vue.js +82 -0
- package/dist/browser/rio-vue.css +9130 -0
- package/dist/browser/rio-vue.global.js +600 -0
- package/dist/browser/rio-vue.js +600 -0
- package/dist/button/Button.vue.d.ts +1 -0
- package/dist/button/Button.vue.js +23 -2
- package/dist/button-group/ButtonGroup.vue.d.ts +6 -1
- package/dist/button-group/ButtonGroup.vue.js +27 -4
- package/dist/button-group/context.js +4 -2
- package/dist/card/Card.vue.d.ts +24 -0
- package/dist/card/Card.vue.js +44 -0
- package/dist/card/CardActions.vue.d.ts +14 -0
- package/dist/card/CardActions.vue.js +14 -0
- package/dist/card/CardContent.vue.d.ts +14 -0
- package/dist/card/CardContent.vue.js +14 -0
- package/dist/card/CardHeader.vue.d.ts +27 -0
- package/dist/card/CardHeader.vue.js +34 -0
- package/dist/card/CardMedia.vue.d.ts +14 -0
- package/dist/card/CardMedia.vue.js +14 -0
- package/dist/checkbox/Checkbox.vue.d.ts +1 -0
- package/dist/checkbox/Checkbox.vue.js +3 -0
- package/dist/chip/AssistChip.vue.d.ts +1 -0
- package/dist/chip/AssistChip.vue.js +3 -0
- package/dist/chip/ChipSet.vue.d.ts +1 -0
- package/dist/chip/ChipSet.vue.js +4 -1
- package/dist/chip/FilterChip.vue.d.ts +3 -2
- package/dist/chip/FilterChip.vue.js +3 -0
- package/dist/chip/InputChip.vue.d.ts +1 -0
- package/dist/chip/InputChip.vue.js +3 -0
- package/dist/chip/SuggestionChip.vue.d.ts +1 -0
- package/dist/chip/SuggestionChip.vue.js +3 -0
- package/dist/date-picker/DatePicker.vue.d.ts +16 -3
- package/dist/date-picker/DatePicker.vue.js +13 -4
- package/dist/date-picker/DatePickerCalendar.vue.js +1 -4
- package/dist/date-picker/DatePickerDialog.vue.d.ts +17 -3
- package/dist/date-picker/DatePickerDialog.vue.js +66 -22
- package/dist/date-picker/DateRangeCalendar.vue.js +17 -8
- package/dist/date-picker/DateRangePickerDialog.vue.d.ts +17 -3
- package/dist/date-picker/DateRangePickerDialog.vue.js +29 -16
- package/dist/dialog/Dialog.vue.d.ts +11 -2
- package/dist/dialog/Dialog.vue.js +35 -5
- package/dist/divider/Divider.vue.d.ts +5 -0
- package/dist/divider/Divider.vue.js +21 -0
- package/dist/fab/Fab.vue.d.ts +27 -0
- package/dist/fab/Fab.vue.js +70 -0
- package/dist/fab-menu/FabMenu.vue.d.ts +34 -0
- package/dist/fab-menu/FabMenu.vue.js +76 -0
- package/dist/fab-menu/FabMenuItem.vue.d.ts +22 -0
- package/dist/fab-menu/FabMenuItem.vue.js +29 -0
- package/dist/fab-menu/context.js +4 -0
- package/dist/icon-button/IconButton.vue.d.ts +1 -0
- package/dist/icon-button/IconButton.vue.js +23 -2
- package/dist/ime/composing.js +24 -0
- package/dist/index.d.ts +68 -40
- package/dist/index.js +68 -40
- package/dist/list/List.vue.d.ts +1 -0
- package/dist/list/List.vue.js +4 -1
- package/dist/list/ListItem.vue.d.ts +7 -1
- package/dist/list/ListItem.vue.js +4 -1
- package/dist/loading-indicator/LoadingIndicator.vue.d.ts +1 -0
- package/dist/loading-indicator/LoadingIndicator.vue.js +4 -1
- package/dist/menu/Menu.vue.d.ts +2 -2
- package/dist/menu/Menu.vue.js +11 -2
- package/dist/navigation-bar/NavigationBar.vue.d.ts +31 -0
- package/dist/navigation-bar/NavigationBar.vue.js +63 -0
- package/dist/navigation-bar/NavigationBarItem.vue.d.ts +40 -0
- package/dist/navigation-bar/NavigationBarItem.vue.js +84 -0
- package/dist/navigation-bar/context.js +3 -0
- package/dist/navigation-rail/NavigationRail.vue.d.ts +46 -0
- package/dist/navigation-rail/NavigationRail.vue.js +112 -0
- package/dist/navigation-rail/NavigationRailItem.vue.d.ts +41 -0
- package/dist/navigation-rail/NavigationRailItem.vue.js +85 -0
- package/dist/navigation-rail/NavigationRailSection.vue.d.ts +17 -0
- package/dist/navigation-rail/NavigationRailSection.vue.js +20 -0
- package/dist/navigation-rail/context.js +3 -0
- package/dist/overflow/OverflowItem.vue.d.ts +16 -0
- package/dist/overflow/OverflowItem.vue.js +24 -0
- package/dist/overflow/OverflowMenu.vue.js +94 -0
- package/dist/overflow/overflow.js +79 -0
- package/dist/progress/CircularProgress.vue.d.ts +1 -0
- package/dist/progress/CircularProgress.vue.js +5 -2
- package/dist/progress/LinearProgress.vue.d.ts +1 -0
- package/dist/progress/LinearProgress.vue.js +5 -2
- package/dist/radio/Radio.vue.d.ts +1 -0
- package/dist/radio/Radio.vue.js +4 -1
- package/dist/radio/RadioGroup.vue.d.ts +1 -0
- package/dist/radio/RadioGroup.vue.js +10 -2
- package/dist/scroll-field/ScrollField.vue.d.ts +1 -0
- package/dist/scroll-field/ScrollField.vue.js +3 -0
- package/dist/search/Search.vue.d.ts +58 -0
- package/dist/search/Search.vue.js +161 -0
- package/dist/select/AfterOptions.vue.js +11 -0
- package/dist/select/Select.vue.d.ts +5 -4
- package/dist/select/Select.vue.js +41 -31
- package/dist/select/SelectOption.vue.d.ts +4 -1
- package/dist/select/SelectOption.vue.js +8 -5
- package/dist/side-sheet/SideSheet.vue.d.ts +43 -0
- package/dist/side-sheet/SideSheet.vue.js +103 -0
- package/dist/slider/RangeSlider.vue.d.ts +1 -0
- package/dist/slider/RangeSlider.vue.js +3 -0
- package/dist/slider/Slider.vue.d.ts +1 -0
- package/dist/slider/Slider.vue.js +3 -0
- package/dist/snackbar/Snackbar.vue.d.ts +31 -0
- package/dist/snackbar/Snackbar.vue.js +48 -0
- package/dist/snackbar/SnackbarHost.vue.d.ts +40 -0
- package/dist/snackbar/SnackbarHost.vue.js +110 -0
- package/dist/snackbar/snackbar.d.ts +16 -0
- package/dist/snackbar/snackbar.js +11 -0
- package/dist/split-button/SplitButton.vue.d.ts +3 -2
- package/dist/split-button/SplitButton.vue.js +3 -0
- package/dist/switch/Switch.vue.d.ts +1 -0
- package/dist/switch/Switch.vue.js +3 -0
- package/dist/tabs/Tab.vue.d.ts +19 -0
- package/dist/tabs/Tab.vue.js +66 -0
- package/dist/tabs/TabGroup.vue.d.ts +22 -0
- package/dist/tabs/TabGroup.vue.js +25 -0
- package/dist/tabs/TabPanel.vue.d.ts +15 -0
- package/dist/tabs/TabPanel.vue.js +20 -0
- package/dist/tabs/Tabs.vue.d.ts +32 -0
- package/dist/tabs/Tabs.vue.js +95 -0
- package/dist/tabs/context.js +5 -0
- package/dist/text-field/TextField.vue.d.ts +8 -2
- package/dist/text-field/TextField.vue.js +91 -47
- package/dist/time-picker/TimeInput.vue.d.ts +7 -1
- package/dist/time-picker/TimeInput.vue.js +5 -2
- package/dist/time-picker/TimePickerDialog.vue.d.ts +9 -3
- package/dist/time-picker/TimePickerDialog.vue.js +5 -2
- package/dist/time-picker/TimeScroll.vue.d.ts +7 -1
- package/dist/time-picker/TimeScroll.vue.js +5 -2
- package/dist/toolbar/FabPlace.vue.js +14 -0
- package/dist/toolbar/Toolbar.vue.d.ts +34 -0
- package/dist/toolbar/Toolbar.vue.js +115 -0
- package/dist/toolbar/context.js +3 -0
- package/package.json +6 -4
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import _sfc_main$1 from "../button/Button.vue.js";
|
|
2
|
+
import _sfc_main$2 from "../icon-button/IconButton.vue.js";
|
|
3
|
+
import _sfc_main$3 from "../icon/Icon.vue.js";
|
|
4
|
+
import { useLocale, useMessages } from "../locale/locale.js";
|
|
1
5
|
import { keepPresses } from "../overlay/presses.js";
|
|
2
|
-
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeProps, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, toHandlers, unref, useId, useModel, useSlots, useTemplateRef, watch } from "vue";
|
|
6
|
+
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeProps, onBeforeUnmount, onMounted, onUpdated, openBlock, ref, renderSlot, toDisplayString, toHandlers, unref, useId, useModel, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
3
7
|
import { attachDialog, createDialog } from "@rio-m3e/core";
|
|
4
8
|
import "@rio-m3e/styles/base/focus-ring.css";
|
|
5
9
|
import "@rio-m3e/styles/base/reduced-motion.css";
|
|
@@ -9,6 +13,9 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
9
13
|
__name: "Dialog",
|
|
10
14
|
props: /*@__PURE__*/ mergeModels({
|
|
11
15
|
headline: {},
|
|
16
|
+
locale: {},
|
|
17
|
+
messages: {},
|
|
18
|
+
variant: {},
|
|
12
19
|
role: {}
|
|
13
20
|
}, {
|
|
14
21
|
"open": {
|
|
@@ -23,15 +30,18 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
23
30
|
const open = useModel(__props, "open");
|
|
24
31
|
const emit = __emit;
|
|
25
32
|
const slots = useSlots();
|
|
33
|
+
const text = useMessages("dialog", useLocale(() => __props.locale), () => __props.messages);
|
|
26
34
|
const id = useId();
|
|
27
35
|
const overflow = ref({
|
|
28
36
|
top: false,
|
|
29
37
|
bottom: false,
|
|
30
38
|
focusable: false
|
|
31
39
|
});
|
|
40
|
+
const compact = ref(false);
|
|
32
41
|
const dialog = createDialog({
|
|
33
42
|
props: () => ({
|
|
34
43
|
open: open.value,
|
|
44
|
+
variant: __props.variant,
|
|
35
45
|
role: __props.role
|
|
36
46
|
}),
|
|
37
47
|
content: () => ({
|
|
@@ -43,7 +53,8 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
43
53
|
ids: {
|
|
44
54
|
headline: `${id}-headline`,
|
|
45
55
|
content: `${id}-content`
|
|
46
|
-
}
|
|
56
|
+
},
|
|
57
|
+
compact: () => compact.value
|
|
47
58
|
});
|
|
48
59
|
const rendered = ref(open.value);
|
|
49
60
|
watch(open, (next) => {
|
|
@@ -56,6 +67,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
56
67
|
onCancel: (event) => emit("cancel", event),
|
|
57
68
|
onOpenChange: (next) => open.value = next,
|
|
58
69
|
onOverflowChange: (next) => overflow.value = next,
|
|
70
|
+
onCompactChange: (next) => compact.value = next,
|
|
59
71
|
onClosed: () => {
|
|
60
72
|
if (!open.value) rendered.value = false;
|
|
61
73
|
}
|
|
@@ -70,10 +82,28 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
70
82
|
ref_key: "root",
|
|
71
83
|
ref: root
|
|
72
84
|
}, unref(dialog).parts.root(), toHandlers(unref(keepPresses), true)), [rendered.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
73
|
-
unref(dialog).
|
|
74
|
-
|
|
85
|
+
unref(dialog).fullScreen() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 0 }, unref(dialog).parts.header())), [
|
|
86
|
+
createElementVNode("div", normalizeProps(guardReactiveProps(unref(dialog).parts.dismiss())), [createVNode(_sfc_main$2, {
|
|
87
|
+
label: unref(text).close,
|
|
88
|
+
variant: "standard",
|
|
89
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(handle)?.dismiss())
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "close-icon", {}, () => [createVNode(_sfc_main$3, { alias: "close" })])]),
|
|
92
|
+
_: 3
|
|
93
|
+
}, 8, ["label"])], 16),
|
|
94
|
+
unref(dialog).showsHeadline() ? (openBlock(), createElementBlock("h2", normalizeProps(mergeProps({ key: 0 }, unref(dialog).parts.headline())), toDisplayString(__props.headline), 17)) : createCommentVNode("v-if", true),
|
|
95
|
+
unref(dialog).showsActions() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(dialog).parts.actions())), [renderSlot(_ctx.$slots, "actions")], 16)) : createCommentVNode("v-if", true)
|
|
96
|
+
], 16)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [unref(dialog).showsIcon() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 0 }, unref(dialog).parts.icon())), [renderSlot(_ctx.$slots, "icon")], 16)) : createCommentVNode("v-if", true), unref(dialog).showsHeadline() ? (openBlock(), createElementBlock("h2", normalizeProps(mergeProps({ key: 1 }, unref(dialog).parts.headline())), toDisplayString(__props.headline), 17)) : createCommentVNode("v-if", true)], 64)),
|
|
97
|
+
createCommentVNode(" In one place either way, so it stays mounted, with its focus, as an adaptive dialog switches "),
|
|
75
98
|
createElementVNode("div", normalizeProps(guardReactiveProps(unref(dialog).parts.content())), [renderSlot(_ctx.$slots, "default")], 16),
|
|
76
|
-
unref(dialog).showsActions() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 2 }, unref(dialog).parts.actions())), [
|
|
99
|
+
!unref(dialog).fullScreen() && unref(dialog).showsActions() ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 2 }, unref(dialog).parts.actions())), [unref(dialog).showsDismiss() ? (openBlock(), createBlock(_sfc_main$1, {
|
|
100
|
+
key: 0,
|
|
101
|
+
variant: "text",
|
|
102
|
+
onClick: _cache[1] || (_cache[1] = ($event) => unref(handle)?.dismiss())
|
|
103
|
+
}, {
|
|
104
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(text).cancel), 1)]),
|
|
105
|
+
_: 1
|
|
106
|
+
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "actions")], 16)) : createCommentVNode("v-if", true)
|
|
77
107
|
], 64)) : createCommentVNode("v-if", true)], 16);
|
|
78
108
|
};
|
|
79
109
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DividerProps } from "@rio-m3e/core";
|
|
2
|
+
import "@rio-m3e/styles/divider.css";
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export { _default as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, unref } from "vue";
|
|
2
|
+
import { createDivider } from "@rio-m3e/core";
|
|
3
|
+
import "@rio-m3e/styles/divider.css";
|
|
4
|
+
// src/divider/Divider.vue
|
|
5
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
6
|
+
__name: "Divider",
|
|
7
|
+
props: {
|
|
8
|
+
orientation: {},
|
|
9
|
+
inset: {}
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const divider = createDivider({ props: () => ({
|
|
13
|
+
orientation: __props.orientation,
|
|
14
|
+
inset: __props.inset
|
|
15
|
+
}) });
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createElementBlock("div", normalizeProps(guardReactiveProps(unref(divider).parts.root())), null, 16);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FabProps } from "@rio-m3e/core";
|
|
2
|
+
import "@rio-m3e/styles/base/accent.css";
|
|
3
|
+
import "@rio-m3e/styles/base/focus-ring.css";
|
|
4
|
+
import "@rio-m3e/styles/base/reduced-motion.css";
|
|
5
|
+
import "@rio-m3e/styles/base/state-layer.css";
|
|
6
|
+
import "@rio-m3e/styles/fab.css";
|
|
7
|
+
interface Props extends FabProps {
|
|
8
|
+
/** The element whose scrolling shrinks the FAB, with `shrinkOnScroll`. Defaults to the window. */
|
|
9
|
+
scrollTarget?: HTMLElement | null;
|
|
10
|
+
}
|
|
11
|
+
type __VLS_Slots = {
|
|
12
|
+
/** The icon. Hidden from assistive technology; `label` names the FAB. */
|
|
13
|
+
default?: () => unknown;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
click: (event: MouseEvent) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
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
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export { _default as default };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { vRipple } from "../ripple/ripple.js";
|
|
2
|
+
import { toolbarFabKey } from "../toolbar/context.js";
|
|
3
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, inject, mergeProps, normalizeProps, onBeforeUnmount, onUpdated, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, useSlots, useTemplateRef, watch, withCtx, withDirectives } from "vue";
|
|
4
|
+
import { attachFab, createFab } from "@rio-m3e/core";
|
|
5
|
+
import "@rio-m3e/styles/base/accent.css";
|
|
6
|
+
import "@rio-m3e/styles/base/focus-ring.css";
|
|
7
|
+
import "@rio-m3e/styles/base/reduced-motion.css";
|
|
8
|
+
import "@rio-m3e/styles/base/state-layer.css";
|
|
9
|
+
import "@rio-m3e/styles/fab.css";
|
|
10
|
+
// src/fab/Fab.vue
|
|
11
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
12
|
+
__name: "Fab",
|
|
13
|
+
props: {
|
|
14
|
+
scrollTarget: {},
|
|
15
|
+
label: {},
|
|
16
|
+
size: {},
|
|
17
|
+
variant: {},
|
|
18
|
+
color: {},
|
|
19
|
+
extended: { type: Boolean },
|
|
20
|
+
shrinkOnScroll: { type: Boolean },
|
|
21
|
+
type: {},
|
|
22
|
+
href: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["click"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
const slots = useSlots();
|
|
28
|
+
/** Whether the content has scrolled down, as `attachFab` reports it */
|
|
29
|
+
const shrunk = ref(false);
|
|
30
|
+
const paired = inject(toolbarFabKey, null);
|
|
31
|
+
const fab = createFab({
|
|
32
|
+
props: () => ({
|
|
33
|
+
label: __props.label,
|
|
34
|
+
size: __props.size,
|
|
35
|
+
variant: __props.variant,
|
|
36
|
+
color: __props.color,
|
|
37
|
+
extended: __props.extended,
|
|
38
|
+
shrinkOnScroll: __props.shrinkOnScroll,
|
|
39
|
+
type: __props.type,
|
|
40
|
+
href: __props.href
|
|
41
|
+
}),
|
|
42
|
+
content: () => ({ icon: !!slots.default }),
|
|
43
|
+
onClick: (event) => emit("click", event),
|
|
44
|
+
shrunk: () => shrunk.value,
|
|
45
|
+
inherited: () => paired?.fab()
|
|
46
|
+
});
|
|
47
|
+
const root = useTemplateRef("root");
|
|
48
|
+
let handle;
|
|
49
|
+
watch(root, (element) => {
|
|
50
|
+
handle?.detach();
|
|
51
|
+
handle = element ? attachFab(element, {
|
|
52
|
+
shrinksOnScroll: fab.shrinksOnScroll,
|
|
53
|
+
target: () => __props.scrollTarget ?? void 0,
|
|
54
|
+
onShrunkChange: (next) => shrunk.value = next
|
|
55
|
+
}) : void 0;
|
|
56
|
+
}, { flush: "post" });
|
|
57
|
+
onUpdated(() => handle?.update());
|
|
58
|
+
onBeforeUnmount(() => handle?.detach());
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
return withDirectives((openBlock(), createBlock(resolveDynamicComponent(unref(fab).isLink() ? "a" : "button"), mergeProps({
|
|
61
|
+
ref_key: "root",
|
|
62
|
+
ref: root
|
|
63
|
+
}, unref(fab).parts.root(), { onClick: unref(fab).handleClick }), {
|
|
64
|
+
default: withCtx(() => [unref(fab).showsIcon() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 0 }, unref(fab).parts.icon())), [renderSlot(_ctx.$slots, "default")], 16)) : createCommentVNode("v-if", true), createElementVNode("span", normalizeProps(guardReactiveProps(unref(fab).parts.label())), [createElementVNode("span", normalizeProps(guardReactiveProps(unref(fab).parts.text())), toDisplayString(__props.label), 17)], 16)]),
|
|
65
|
+
_: 3
|
|
66
|
+
}, 16, ["onClick"])), [[unref(vRipple)]]);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FabMenuProps } from "@rio-m3e/core";
|
|
2
|
+
import "@rio-m3e/styles/base/accent.css";
|
|
3
|
+
import "@rio-m3e/styles/base/focus-ring.css";
|
|
4
|
+
import "@rio-m3e/styles/base/reduced-motion.css";
|
|
5
|
+
import "@rio-m3e/styles/base/state-layer.css";
|
|
6
|
+
import "@rio-m3e/styles/fab-menu.css";
|
|
7
|
+
type Props = Omit<FabMenuProps, 'open'>;
|
|
8
|
+
type __VLS_Props = Props;
|
|
9
|
+
type __VLS_Slots = {
|
|
10
|
+
/** `RioFabMenuItem`s, two to six */
|
|
11
|
+
default?: () => unknown;
|
|
12
|
+
/** The FAB's icon. Hidden from assistive technology; `label` names the menu. */
|
|
13
|
+
icon?: () => unknown;
|
|
14
|
+
/** The close button's icon, in place of the one the app registered (`close`) */
|
|
15
|
+
'close-icon'?: () => unknown;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_ModelProps = {
|
|
18
|
+
/** Whether the items show, with `v-model:open` */
|
|
19
|
+
'open'?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:open": (value: boolean) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
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
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export { _default as default };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import _sfc_main$1 from "../icon/Icon.vue.js";
|
|
2
|
+
import { vRipple } from "../ripple/ripple.js";
|
|
3
|
+
import { fabMenuKey } from "./context.js";
|
|
4
|
+
import { createElementBlock, createElementVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, mergeProps, normalizeProps, onBeforeUnmount, onMounted, openBlock, provide, renderSlot, shallowRef, unref, useId, useModel, useTemplateRef, watch, withDirectives } from "vue";
|
|
5
|
+
import { attachFabMenu, createFabMenu } from "@rio-m3e/core";
|
|
6
|
+
import "@rio-m3e/styles/base/accent.css";
|
|
7
|
+
import "@rio-m3e/styles/base/focus-ring.css";
|
|
8
|
+
import "@rio-m3e/styles/base/reduced-motion.css";
|
|
9
|
+
import "@rio-m3e/styles/base/state-layer.css";
|
|
10
|
+
import "@rio-m3e/styles/fab-menu.css";
|
|
11
|
+
// src/fab-menu/FabMenu.vue
|
|
12
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
13
|
+
__name: "FabMenu",
|
|
14
|
+
props: /*@__PURE__*/ mergeModels({
|
|
15
|
+
label: {},
|
|
16
|
+
size: {},
|
|
17
|
+
variant: {},
|
|
18
|
+
color: {}
|
|
19
|
+
}, {
|
|
20
|
+
"open": {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
23
|
+
},
|
|
24
|
+
"openModifiers": {}
|
|
25
|
+
}),
|
|
26
|
+
emits: ["update:open"],
|
|
27
|
+
setup(__props) {
|
|
28
|
+
/** Whether the items show, with `v-model:open` */
|
|
29
|
+
const open = useModel(__props, "open");
|
|
30
|
+
/** The items' room, as `attachFabMenu` reports it */
|
|
31
|
+
const room = shallowRef();
|
|
32
|
+
const menu = createFabMenu({
|
|
33
|
+
props: () => ({
|
|
34
|
+
label: __props.label,
|
|
35
|
+
open: open.value,
|
|
36
|
+
size: __props.size,
|
|
37
|
+
variant: __props.variant,
|
|
38
|
+
color: __props.color
|
|
39
|
+
}),
|
|
40
|
+
onOpenChange: (next) => open.value = next,
|
|
41
|
+
id: `${useId()}-items`,
|
|
42
|
+
room: () => room.value
|
|
43
|
+
});
|
|
44
|
+
provide(fabMenuKey, { close: menu.close });
|
|
45
|
+
const root = useTemplateRef("root");
|
|
46
|
+
const button = useTemplateRef("button");
|
|
47
|
+
const list = useTemplateRef("list");
|
|
48
|
+
let handle;
|
|
49
|
+
onMounted(() => {
|
|
50
|
+
handle = attachFabMenu({
|
|
51
|
+
root: root.value,
|
|
52
|
+
button: button.value,
|
|
53
|
+
list: list.value
|
|
54
|
+
}, {
|
|
55
|
+
onClose: () => open.value = false,
|
|
56
|
+
onRoomChange: (next) => room.value = next
|
|
57
|
+
});
|
|
58
|
+
handle.sync(open.value);
|
|
59
|
+
});
|
|
60
|
+
watch(open, (next) => handle?.sync(next), { flush: "post" });
|
|
61
|
+
onBeforeUnmount(() => handle?.detach());
|
|
62
|
+
return (_ctx, _cache) => {
|
|
63
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
64
|
+
ref_key: "root",
|
|
65
|
+
ref: root
|
|
66
|
+
}, unref(menu).parts.root()), [withDirectives((openBlock(), createElementBlock("button", mergeProps({
|
|
67
|
+
ref_key: "button",
|
|
68
|
+
ref: button
|
|
69
|
+
}, unref(menu).parts.button(), { onClick: _cache[0] || (_cache[0] = (...args) => unref(menu).handleButtonClick && unref(menu).handleButtonClick(...args)) }), [createElementVNode("span", normalizeProps(guardReactiveProps(unref(menu).parts.icon())), [renderSlot(_ctx.$slots, "icon")], 16), createElementVNode("span", normalizeProps(guardReactiveProps(unref(menu).parts.closeIcon())), [renderSlot(_ctx.$slots, "close-icon", {}, () => [createVNode(_sfc_main$1, { alias: "close" })])], 16)], 16)), [[unref(vRipple)]]), createElementVNode("div", mergeProps({
|
|
70
|
+
ref_key: "list",
|
|
71
|
+
ref: list
|
|
72
|
+
}, unref(menu).parts.list()), [renderSlot(_ctx.$slots, "default")], 16)], 16);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FabMenuItemProps } from "@rio-m3e/core";
|
|
2
|
+
import "@rio-m3e/styles/base/accent.css";
|
|
3
|
+
import "@rio-m3e/styles/base/focus-ring.css";
|
|
4
|
+
import "@rio-m3e/styles/base/state-layer.css";
|
|
5
|
+
import "@rio-m3e/styles/fab-menu.css";
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
/** The icon, before the label. Hidden from assistive technology; `label` names the item. */
|
|
8
|
+
icon?: () => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<FabMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
click: (event: MouseEvent) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<FabMenuItemProps> & Readonly<{
|
|
13
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export { _default as default };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { vRipple } from "../ripple/ripple.js";
|
|
2
|
+
import { fabMenuKey } from "./context.js";
|
|
3
|
+
import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, guardReactiveProps, inject, mergeProps, normalizeProps, openBlock, renderSlot, toDisplayString, unref, useSlots, withDirectives } from "vue";
|
|
4
|
+
import { createFabMenuItem } from "@rio-m3e/core";
|
|
5
|
+
import "@rio-m3e/styles/base/accent.css";
|
|
6
|
+
import "@rio-m3e/styles/base/focus-ring.css";
|
|
7
|
+
import "@rio-m3e/styles/base/state-layer.css";
|
|
8
|
+
import "@rio-m3e/styles/fab-menu.css";
|
|
9
|
+
// src/fab-menu/FabMenuItem.vue
|
|
10
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
11
|
+
__name: "FabMenuItem",
|
|
12
|
+
props: { label: {} },
|
|
13
|
+
emits: ["click"],
|
|
14
|
+
setup(__props, { emit: __emit }) {
|
|
15
|
+
const emit = __emit;
|
|
16
|
+
const slots = useSlots();
|
|
17
|
+
const menu = inject(fabMenuKey, void 0);
|
|
18
|
+
const item = createFabMenuItem({
|
|
19
|
+
props: () => ({ label: __props.label }),
|
|
20
|
+
content: () => ({ icon: !!slots.icon }),
|
|
21
|
+
menu: () => menu,
|
|
22
|
+
onClick: (event) => emit("click", event)
|
|
23
|
+
});
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return withDirectives((openBlock(), createElementBlock("button", mergeProps(unref(item).parts.root(), { onClick: _cache[0] || (_cache[0] = (...args) => unref(item).handleClick && unref(item).handleClick(...args)) }), [createElementVNode("span", normalizeProps(guardReactiveProps(unref(item).parts.content())), [unref(item).showsIcon() ? (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 0 }, unref(item).parts.icon())), [renderSlot(_ctx.$slots, "icon")], 16)) : createCommentVNode("v-if", true), createElementVNode("span", normalizeProps(guardReactiveProps(unref(item).parts.label())), toDisplayString(__props.label), 17)], 16)], 16)), [[unref(vRipple)]]);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export { _sfc_main as default };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { useButtonGroupItem } from "../button-group/context.js";
|
|
2
|
+
import { useOverflowItem } from "../overflow/overflow.js";
|
|
2
3
|
import { vRipple } from "../ripple/ripple.js";
|
|
3
4
|
import { vCornerMorph } from "../corner-morph/corner-morph.js";
|
|
4
|
-
import { createBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useSlots, withCtx, withDirectives } from "vue";
|
|
5
|
+
import { createBlock, createElementVNode, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, resolveDynamicComponent, unref, useSlots, useTemplateRef, withCtx, withDirectives } from "vue";
|
|
5
6
|
import { createIconButton } from "@rio-m3e/core";
|
|
7
|
+
import "@rio-m3e/styles/base/accent.css";
|
|
6
8
|
import "@rio-m3e/styles/base/focus-ring.css";
|
|
7
9
|
import "@rio-m3e/styles/base/reduced-motion.css";
|
|
8
10
|
import "@rio-m3e/styles/base/state-layer.css";
|
|
@@ -18,6 +20,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
18
20
|
size: {},
|
|
19
21
|
width: {},
|
|
20
22
|
shape: {},
|
|
23
|
+
color: {},
|
|
21
24
|
toggle: { type: Boolean },
|
|
22
25
|
selected: { type: Boolean },
|
|
23
26
|
disabled: { type: Boolean },
|
|
@@ -36,6 +39,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
36
39
|
size: __props.size,
|
|
37
40
|
width: __props.width,
|
|
38
41
|
shape: __props.shape,
|
|
42
|
+
color: __props.color,
|
|
39
43
|
toggle: __props.toggle,
|
|
40
44
|
selected: __props.selected,
|
|
41
45
|
disabled: __props.disabled,
|
|
@@ -50,8 +54,25 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
50
54
|
onClick: (event) => emit("click", event),
|
|
51
55
|
onChange: item.onChange
|
|
52
56
|
});
|
|
57
|
+
const root = useTemplateRef("root");
|
|
58
|
+
useOverflowItem({
|
|
59
|
+
element: () => root.value,
|
|
60
|
+
label: () => __props.label,
|
|
61
|
+
icon: () => button.showsSelectedIcon() ? slots["selected-icon"]?.() : slots.default?.(),
|
|
62
|
+
disabled: () => {
|
|
63
|
+
const p = item.props();
|
|
64
|
+
return !!(p.disabled || p.softDisabled);
|
|
65
|
+
},
|
|
66
|
+
selected: () => {
|
|
67
|
+
const p = item.props();
|
|
68
|
+
return p.toggle ? !!p.selected : void 0;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
53
71
|
return (_ctx, _cache) => {
|
|
54
|
-
return withDirectives((openBlock(), createBlock(resolveDynamicComponent(unref(button).isLink() ? "a" : "button"), mergeProps(
|
|
72
|
+
return withDirectives((openBlock(), createBlock(resolveDynamicComponent(unref(button).isLink() ? "a" : "button"), mergeProps({
|
|
73
|
+
ref_key: "root",
|
|
74
|
+
ref: root
|
|
75
|
+
}, unref(button).parts.root(), { onClick: unref(button).handleClick }), {
|
|
55
76
|
default: withCtx(() => [createElementVNode("span", normalizeProps(guardReactiveProps(unref(button).parts.touch())), null, 16), createElementVNode("span", normalizeProps(guardReactiveProps(unref(button).parts.icon())), [unref(button).showsSelectedIcon() ? renderSlot(_ctx.$slots, "selected-icon", {}, void 0, void 0, 0) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1)], 16)]),
|
|
56
77
|
_: 3
|
|
57
78
|
}, 16, ["onClick"])), [[unref(vRipple)], [unref(vCornerMorph)]]);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// src/ime/composing.ts
|
|
2
|
+
/**
|
|
3
|
+
* Listeners for an input with `v-model`, which hand the text being composed to `update`: a number
|
|
4
|
+
* for `type="number"`, as `v-model` gives it, and otherwise the text.
|
|
5
|
+
*/
|
|
6
|
+
function useComposingInput(update) {
|
|
7
|
+
let composing = false;
|
|
8
|
+
return {
|
|
9
|
+
/** For `compositionstart` and `compositionend` */
|
|
10
|
+
onComposition(event) {
|
|
11
|
+
composing = event.type === "compositionstart";
|
|
12
|
+
},
|
|
13
|
+
/** For `input` */
|
|
14
|
+
onInput(event) {
|
|
15
|
+
if (!composing) return;
|
|
16
|
+
const target = event.target;
|
|
17
|
+
const most = target.maxLength;
|
|
18
|
+
if (most >= 0 && target.value.length > most) return;
|
|
19
|
+
const number = target.type === "number" ? parseFloat(target.value) : NaN;
|
|
20
|
+
update(Number.isNaN(number) ? target.value : number);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export { useComposingInput };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,44 +1,72 @@
|
|
|
1
|
-
import _default
|
|
2
|
-
import _default$2 from "./
|
|
3
|
-
import _default$3 from "./
|
|
4
|
-
import _default from "./
|
|
5
|
-
import _default$
|
|
6
|
-
import _default$
|
|
7
|
-
import _default$
|
|
8
|
-
import _default$
|
|
9
|
-
import _default$
|
|
10
|
-
import _default$
|
|
11
|
-
import _default$
|
|
12
|
-
import _default$
|
|
13
|
-
import _default$
|
|
1
|
+
import _default from "./app-bar/AppBar.vue.js";
|
|
2
|
+
import _default$2 from "./badge/Badge.vue.js";
|
|
3
|
+
import _default$3 from "./bottom-sheet/BottomSheet.vue.js";
|
|
4
|
+
import _default$4 from "./button/Button.vue.js";
|
|
5
|
+
import _default$5 from "./button-group/ButtonGroup.vue.js";
|
|
6
|
+
import _default$6 from "./card/Card.vue.js";
|
|
7
|
+
import _default$7 from "./card/CardActions.vue.js";
|
|
8
|
+
import _default$8 from "./card/CardContent.vue.js";
|
|
9
|
+
import _default$9 from "./card/CardHeader.vue.js";
|
|
10
|
+
import _default$10 from "./card/CardMedia.vue.js";
|
|
11
|
+
import _default$11 from "./checkbox/Checkbox.vue.js";
|
|
12
|
+
import _default$1 from "./chip/AssistChip.vue.js";
|
|
13
|
+
import _default$12 from "./chip/ChipSet.vue.js";
|
|
14
|
+
import _default$22 from "./chip/FilterChip.vue.js";
|
|
15
|
+
import _default$25 from "./chip/InputChip.vue.js";
|
|
16
|
+
import _default$54 from "./chip/SuggestionChip.vue.js";
|
|
17
|
+
import _default$14 from "./date-picker/DatePicker.vue.js";
|
|
18
|
+
import _default$15 from "./date-picker/DatePickerDialog.vue.js";
|
|
19
|
+
import _default$16 from "./date-picker/DateRangePickerDialog.vue.js";
|
|
20
|
+
import _default$17 from "./dialog/Dialog.vue.js";
|
|
21
|
+
import _default$18 from "./divider/Divider.vue.js";
|
|
22
|
+
import _default$19 from "./fab/Fab.vue.js";
|
|
23
|
+
import _default$20 from "./fab-menu/FabMenu.vue.js";
|
|
24
|
+
import _default$21 from "./fab-menu/FabMenuItem.vue.js";
|
|
25
|
+
import _default$23 from "./icon/Icon.vue.js";
|
|
14
26
|
import { RioIconValue, RioIcons, iconsKey, useIconOfAlias } from "./icon/icons.js";
|
|
15
|
-
import _default$
|
|
27
|
+
import _default$24 from "./icon-button/IconButton.vue.js";
|
|
16
28
|
import { localeKey, messagesKey, useLocale, useMessages } from "./locale/locale.js";
|
|
29
|
+
import _default$40 from "./overflow/OverflowItem.vue.js";
|
|
17
30
|
import { RioOptions, RioPlugin, RioThemeOptions, createRio } from "./rio/rio.js";
|
|
18
|
-
import _default$
|
|
19
|
-
import _default$
|
|
20
|
-
import _default$
|
|
21
|
-
import _default$
|
|
22
|
-
import _default$
|
|
23
|
-
import _default$
|
|
24
|
-
import _default$
|
|
25
|
-
import _default$
|
|
26
|
-
import _default$
|
|
27
|
-
import _default$
|
|
28
|
-
import _default$
|
|
29
|
-
import _default$
|
|
30
|
-
import _default$
|
|
31
|
+
import _default$27 from "./list/List.vue.js";
|
|
32
|
+
import _default$28 from "./list/ListItem.vue.js";
|
|
33
|
+
import _default$30 from "./locale/LocaleProvider.vue.js";
|
|
34
|
+
import _default$29 from "./loading-indicator/LoadingIndicator.vue.js";
|
|
35
|
+
import _default$31 from "./menu/Menu.vue.js";
|
|
36
|
+
import _default$32 from "./menu/MenuDivider.vue.js";
|
|
37
|
+
import _default$33 from "./menu/MenuGroup.vue.js";
|
|
38
|
+
import _default$34 from "./menu/MenuItem.vue.js";
|
|
39
|
+
import _default$53 from "./menu/SubMenu.vue.js";
|
|
40
|
+
import _default$35 from "./navigation-bar/NavigationBar.vue.js";
|
|
41
|
+
import _default$36 from "./navigation-bar/NavigationBarItem.vue.js";
|
|
42
|
+
import _default$37 from "./navigation-rail/NavigationRail.vue.js";
|
|
43
|
+
import _default$38 from "./navigation-rail/NavigationRailItem.vue.js";
|
|
44
|
+
import _default$39 from "./navigation-rail/NavigationRailSection.vue.js";
|
|
45
|
+
import _default$13 from "./progress/CircularProgress.vue.js";
|
|
46
|
+
import _default$26 from "./progress/LinearProgress.vue.js";
|
|
47
|
+
import _default$41 from "./radio/Radio.vue.js";
|
|
48
|
+
import _default$42 from "./radio/RadioGroup.vue.js";
|
|
31
49
|
import { vRipple } from "./ripple/ripple.js";
|
|
32
|
-
import _default$
|
|
33
|
-
import _default$
|
|
34
|
-
import _default$
|
|
35
|
-
import _default$
|
|
36
|
-
import _default$
|
|
37
|
-
import _default$
|
|
38
|
-
import _default$
|
|
39
|
-
import _default$
|
|
40
|
-
import _default$
|
|
41
|
-
import
|
|
42
|
-
import _default$
|
|
43
|
-
import _default$
|
|
44
|
-
|
|
50
|
+
import _default$44 from "./scroll-field/ScrollField.vue.js";
|
|
51
|
+
import _default$45 from "./search/Search.vue.js";
|
|
52
|
+
import _default$46 from "./select/Select.vue.js";
|
|
53
|
+
import _default$47 from "./select/SelectOption.vue.js";
|
|
54
|
+
import _default$48 from "./side-sheet/SideSheet.vue.js";
|
|
55
|
+
import _default$43 from "./slider/RangeSlider.vue.js";
|
|
56
|
+
import _default$49 from "./slider/Slider.vue.js";
|
|
57
|
+
import _default$50 from "./snackbar/Snackbar.vue.js";
|
|
58
|
+
import _default$51 from "./snackbar/SnackbarHost.vue.js";
|
|
59
|
+
import { SnackbarController, snackbarKey, useSnackbar } from "./snackbar/snackbar.js";
|
|
60
|
+
import _default$52 from "./split-button/SplitButton.vue.js";
|
|
61
|
+
import _default$55 from "./switch/Switch.vue.js";
|
|
62
|
+
import _default$56 from "./tabs/Tab.vue.js";
|
|
63
|
+
import _default$57 from "./tabs/TabGroup.vue.js";
|
|
64
|
+
import _default$58 from "./tabs/TabPanel.vue.js";
|
|
65
|
+
import _default$59 from "./tabs/Tabs.vue.js";
|
|
66
|
+
import _default$60 from "./text-field/TextField.vue.js";
|
|
67
|
+
import _default$61 from "./time-picker/TimeInput.vue.js";
|
|
68
|
+
import _default$62 from "./time-picker/TimePickerDialog.vue.js";
|
|
69
|
+
import _default$63 from "./time-picker/TimeScroll.vue.js";
|
|
70
|
+
import _default$64 from "./toolbar/Toolbar.vue.js";
|
|
71
|
+
import _default$65 from "./tooltip/Tooltip.vue.js";
|
|
72
|
+
export { _default as RioAppBar, _default$1 as RioAssistChip, _default$2 as RioBadge, _default$3 as RioBottomSheet, _default$4 as RioButton, _default$5 as RioButtonGroup, _default$6 as RioCard, _default$7 as RioCardActions, _default$8 as RioCardContent, _default$9 as RioCardHeader, _default$10 as RioCardMedia, _default$11 as RioCheckbox, _default$12 as RioChipSet, _default$13 as RioCircularProgress, _default$14 as RioDatePicker, _default$15 as RioDatePickerDialog, _default$16 as RioDateRangePickerDialog, _default$17 as RioDialog, _default$18 as RioDivider, _default$19 as RioFab, _default$20 as RioFabMenu, _default$21 as RioFabMenuItem, _default$22 as RioFilterChip, _default$23 as RioIcon, _default$24 as RioIconButton, type RioIconValue, type RioIcons, _default$25 as RioInputChip, _default$26 as RioLinearProgress, _default$27 as RioList, _default$28 as RioListItem, _default$29 as RioLoadingIndicator, _default$30 as RioLocaleProvider, _default$31 as RioMenu, _default$32 as RioMenuDivider, _default$33 as RioMenuGroup, _default$34 as RioMenuItem, _default$35 as RioNavigationBar, _default$36 as RioNavigationBarItem, _default$37 as RioNavigationRail, _default$38 as RioNavigationRailItem, _default$39 as RioNavigationRailSection, type RioOptions, _default$40 as RioOverflowItem, type RioPlugin, _default$41 as RioRadio, _default$42 as RioRadioGroup, _default$43 as RioRangeSlider, _default$44 as RioScrollField, _default$45 as RioSearch, _default$46 as RioSelect, _default$47 as RioSelectOption, _default$48 as RioSideSheet, _default$49 as RioSlider, _default$50 as RioSnackbar, _default$51 as RioSnackbarHost, _default$52 as RioSplitButton, _default$53 as RioSubMenu, _default$54 as RioSuggestionChip, _default$55 as RioSwitch, _default$56 as RioTab, _default$57 as RioTabGroup, _default$58 as RioTabPanel, _default$59 as RioTabs, _default$60 as RioTextField, type RioThemeOptions, _default$61 as RioTimeInput, _default$62 as RioTimePickerDialog, _default$63 as RioTimeScroll, _default$64 as RioToolbar, _default$65 as RioTooltip, type SnackbarController, createRio, iconsKey, localeKey, messagesKey, snackbarKey, useIconOfAlias, useLocale, useMessages, useSnackbar, vRipple };
|