@revenexx/studio-shared 0.3.2 → 0.4.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/dist/module.d.mts +6 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +12 -1
- package/dist/runtime/components/Dashboard/DashboardConfirmDialog.d.vue.ts +16 -0
- package/dist/runtime/components/Dashboard/DashboardConfirmDialog.vue +39 -0
- package/dist/runtime/components/Dashboard/DashboardConfirmDialog.vue.d.ts +16 -0
- package/dist/runtime/components/Dashboard/DashboardControls.d.vue.ts +58 -0
- package/dist/runtime/components/Dashboard/DashboardControls.vue +209 -0
- package/dist/runtime/components/Dashboard/DashboardControls.vue.d.ts +58 -0
- package/dist/runtime/components/Dashboard/DashboardGrid.d.vue.ts +17 -0
- package/dist/runtime/components/Dashboard/DashboardGrid.vue +87 -0
- package/dist/runtime/components/Dashboard/DashboardGrid.vue.d.ts +17 -0
- package/dist/runtime/components/Dashboard/DashboardNameDialog.d.vue.ts +19 -0
- package/dist/runtime/components/Dashboard/DashboardNameDialog.vue +61 -0
- package/dist/runtime/components/Dashboard/DashboardNameDialog.vue.d.ts +19 -0
- package/dist/runtime/components/Dashboard/DashboardPickerDialog.d.vue.ts +15 -0
- package/dist/runtime/components/Dashboard/DashboardPickerDialog.vue +100 -0
- package/dist/runtime/components/Dashboard/DashboardPickerDialog.vue.d.ts +15 -0
- package/dist/runtime/components/Dashboard/DashboardShareDialog.d.vue.ts +28 -0
- package/dist/runtime/components/Dashboard/DashboardShareDialog.vue +155 -0
- package/dist/runtime/components/Dashboard/DashboardShareDialog.vue.d.ts +28 -0
- package/dist/runtime/components/Dashboard/DashboardTopBar.d.vue.ts +64 -0
- package/dist/runtime/components/Dashboard/DashboardTopBar.vue +79 -0
- package/dist/runtime/components/Dashboard/DashboardTopBar.vue.d.ts +64 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.d.vue.ts +44 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.vue +153 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.vue.d.ts +44 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetFrame.d.vue.ts +28 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetFrame.vue +80 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetFrame.vue.d.ts +28 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetHost.d.vue.ts +7 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetHost.vue +30 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetHost.vue.d.ts +7 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetIcon.d.vue.ts +9 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetIcon.vue +13 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetIcon.vue.d.ts +9 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetLibrary.d.vue.ts +24 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetLibrary.vue +140 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetLibrary.vue.d.ts +24 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetPreview.d.vue.ts +23 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetPreview.vue +124 -0
- package/dist/runtime/components/Dashboard/DashboardWidgetPreview.vue.d.ts +23 -0
- package/dist/runtime/components/DataTable/ColumnsMenu.d.vue.ts +2 -1
- package/dist/runtime/components/DataTable/ColumnsMenu.vue.d.ts +2 -1
- package/dist/runtime/components/DataTable/DataTable.d.vue.ts +105 -28
- package/dist/runtime/components/DataTable/DataTable.vue +403 -38
- package/dist/runtime/components/DataTable/DataTable.vue.d.ts +105 -28
- package/dist/runtime/components/DataTable/FacetChips.d.vue.ts +17 -0
- package/dist/runtime/components/DataTable/FacetChips.vue +72 -0
- package/dist/runtime/components/DataTable/FacetChips.vue.d.ts +17 -0
- package/dist/runtime/components/DataTable/FacetPanel.d.vue.ts +21 -0
- package/dist/runtime/components/DataTable/FacetPanel.vue +359 -0
- package/dist/runtime/components/DataTable/FacetPanel.vue.d.ts +21 -0
- package/dist/runtime/components/DataTable/FilterMenu.d.vue.ts +6 -5
- package/dist/runtime/components/DataTable/FilterMenu.vue.d.ts +6 -5
- package/dist/runtime/components/DataTable/SavedViewsMenu.d.vue.ts +6 -1
- package/dist/runtime/components/DataTable/SavedViewsMenu.vue +83 -63
- package/dist/runtime/components/DataTable/SavedViewsMenu.vue.d.ts +6 -1
- package/dist/runtime/components/DataTable/SortMenu.d.vue.ts +9 -3
- package/dist/runtime/components/DataTable/SortMenu.vue +40 -12
- package/dist/runtime/components/DataTable/SortMenu.vue.d.ts +9 -3
- package/dist/runtime/components/DataTable/ViewModeSwitch.d.vue.ts +4 -2
- package/dist/runtime/components/DataTable/ViewModeSwitch.vue.d.ts +4 -2
- package/dist/runtime/components/Form/FieldCell.d.vue.ts +32 -0
- package/dist/runtime/components/Form/FieldCell.vue +46 -0
- package/dist/runtime/components/Form/FieldCell.vue.d.ts +32 -0
- package/dist/runtime/components/Form/FieldGrid.d.vue.ts +13 -0
- package/dist/runtime/components/Form/FieldGrid.vue +11 -0
- package/dist/runtime/components/Form/FieldGrid.vue.d.ts +13 -0
- package/dist/runtime/components/Form/FormContextCard.d.vue.ts +33 -0
- package/dist/runtime/components/Form/FormContextCard.vue +56 -0
- package/dist/runtime/components/Form/FormContextCard.vue.d.ts +33 -0
- package/dist/runtime/components/Form/FormLayout.d.vue.ts +47 -0
- package/dist/runtime/components/Form/FormLayout.vue +169 -0
- package/dist/runtime/components/Form/FormLayout.vue.d.ts +47 -0
- package/dist/runtime/components/Form/FormSection.d.vue.ts +25 -0
- package/dist/runtime/components/Form/FormSection.vue +48 -0
- package/dist/runtime/components/Form/FormSection.vue.d.ts +25 -0
- package/dist/runtime/components/Form/SaveBar.d.vue.ts +44 -0
- package/dist/runtime/components/Form/SaveBar.vue +71 -0
- package/dist/runtime/components/Form/SaveBar.vue.d.ts +44 -0
- package/dist/runtime/components/Media/MediaFolderTree.d.vue.ts +2 -1
- package/dist/runtime/components/Media/MediaFolderTree.vue.d.ts +2 -1
- package/dist/runtime/components/Media/MediaPickerDialog.d.vue.ts +4 -3
- package/dist/runtime/components/Media/MediaPickerDialog.vue.d.ts +4 -3
- package/dist/runtime/components/Media/MediaUploader.d.vue.ts +4 -3
- package/dist/runtime/components/Media/MediaUploader.vue.d.ts +4 -3
- package/dist/runtime/components/Shared/AppIcon.d.vue.ts +21 -0
- package/dist/runtime/components/Shared/AppIcon.vue +47 -0
- package/dist/runtime/components/Shared/AppIcon.vue.d.ts +21 -0
- package/dist/runtime/components/Shared/BuildLogsFlyout.d.vue.ts +2 -1
- package/dist/runtime/components/Shared/BuildLogsFlyout.vue.d.ts +2 -1
- package/dist/runtime/components/Shared/DetailSheet.d.vue.ts +60 -0
- package/dist/runtime/components/Shared/DetailSheet.vue +207 -0
- package/dist/runtime/components/Shared/DetailSheet.vue.d.ts +60 -0
- package/dist/runtime/components/Shared/FloatingPanel.d.vue.ts +7 -6
- package/dist/runtime/components/Shared/FloatingPanel.vue.d.ts +7 -6
- package/dist/runtime/components/Shared/GitDeploymentSettings.d.vue.ts +2 -1
- package/dist/runtime/components/Shared/GitDeploymentSettings.vue.d.ts +2 -1
- package/dist/runtime/components/Shared/KpiTile.d.vue.ts +2 -1
- package/dist/runtime/components/Shared/KpiTile.vue.d.ts +2 -1
- package/dist/runtime/components/Shared/ListSurface.d.vue.ts +3 -2
- package/dist/runtime/components/Shared/ListSurface.vue.d.ts +3 -2
- package/dist/runtime/components/Shared/PageHeader.d.vue.ts +7 -6
- package/dist/runtime/components/Shared/PageHeader.vue.d.ts +7 -6
- package/dist/runtime/components/Shared/RecordLayout.d.vue.ts +8 -7
- package/dist/runtime/components/Shared/RecordLayout.vue.d.ts +8 -7
- package/dist/runtime/components/Shared/RecordRailCard.d.vue.ts +3 -2
- package/dist/runtime/components/Shared/RecordRailCard.vue.d.ts +3 -2
- package/dist/runtime/components/Shared/SidebarNav.d.vue.ts +3 -2
- package/dist/runtime/components/Shared/SidebarNav.vue.d.ts +3 -2
- package/dist/runtime/components/Shared/SidebarNavLink.d.vue.ts +2 -1
- package/dist/runtime/components/Shared/SidebarNavLink.vue.d.ts +2 -1
- package/dist/runtime/components/Shared/SortHeader.d.vue.ts +3 -2
- package/dist/runtime/components/Shared/SortHeader.vue +6 -2
- package/dist/runtime/components/Shared/SortHeader.vue.d.ts +3 -2
- package/dist/runtime/components/Shared/StateCard.d.vue.ts +6 -5
- package/dist/runtime/components/Shared/StateCard.vue.d.ts +6 -5
- package/dist/runtime/components/Shared/StudioCard.d.vue.ts +5 -4
- package/dist/runtime/components/Shared/StudioCard.vue.d.ts +5 -4
- package/dist/runtime/components/Shared/TabBar.d.vue.ts +9 -10
- package/dist/runtime/components/Shared/TabBar.vue +26 -7
- package/dist/runtime/components/Shared/TabBar.vue.d.ts +9 -10
- package/dist/runtime/components/Shared/ViewTab.d.vue.ts +2 -1
- package/dist/runtime/components/Shared/ViewTab.vue.d.ts +2 -1
- package/dist/runtime/components/Shared/Wizard.d.vue.ts +10 -7
- package/dist/runtime/components/Shared/Wizard.vue.d.ts +10 -7
- package/dist/runtime/composables/useDashboards.d.ts +27 -0
- package/dist/runtime/composables/useDashboards.js +143 -0
- package/dist/runtime/composables/useDetailSheet.d.ts +20 -0
- package/dist/runtime/composables/useDetailSheet.js +50 -0
- package/dist/runtime/composables/usePlatformTenant.d.ts +6 -0
- package/dist/runtime/composables/useSavedViews.d.ts +44 -0
- package/dist/runtime/composables/useSavedViews.js +44 -0
- package/dist/runtime/composables/useStickyListView.d.ts +60 -0
- package/dist/runtime/composables/useStickyListView.js +32 -0
- package/dist/runtime/lib/activeTenant.d.ts +58 -0
- package/dist/runtime/lib/activeTenant.js +45 -0
- package/dist/runtime/lib/appIcon.d.ts +48 -0
- package/dist/runtime/lib/appIcon.js +27 -0
- package/dist/runtime/lib/canonicalJson.d.ts +43 -0
- package/dist/runtime/lib/canonicalJson.js +38 -0
- package/dist/runtime/lib/dashboardIcons.d.ts +4 -0
- package/dist/runtime/lib/dashboardIcons.js +50 -0
- package/dist/runtime/lib/detailSheet.d.ts +43 -0
- package/dist/runtime/lib/detailSheet.js +34 -0
- package/dist/runtime/lib/facets.d.ts +200 -0
- package/dist/runtime/lib/facets.js +171 -0
- package/dist/runtime/lib/formLayout.d.ts +94 -0
- package/dist/runtime/lib/formLayout.js +70 -0
- package/dist/runtime/lib/formLayoutContext.d.ts +26 -0
- package/dist/runtime/lib/formLayoutContext.js +1 -0
- package/dist/runtime/lib/gridTracks.d.ts +55 -0
- package/dist/runtime/lib/gridTracks.js +29 -0
- package/dist/runtime/lib/rowMove.d.ts +38 -0
- package/dist/runtime/lib/rowMove.js +20 -0
- package/dist/runtime/lib/solarIconMap.d.ts +15 -0
- package/dist/runtime/lib/solarIconMap.js +280 -0
- package/dist/runtime/lib/solarIcons.d.ts +37 -0
- package/dist/runtime/lib/solarIcons.js +25 -0
- package/dist/runtime/lib/widgetRegistry.d.ts +124 -0
- package/dist/runtime/lib/widgetRegistry.js +66 -0
- package/dist/runtime/types/dashboard.d.ts +95 -0
- package/dist/runtime/types/dashboard.js +2 -0
- package/dist/types.d.mts +12 -0
- package/package.json +3 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
icon?: string | null;
|
|
4
|
+
navIcon?: string | null;
|
|
5
|
+
alt?: string;
|
|
6
|
+
/** Glyph size in px; also the box size when not `fill`. */
|
|
7
|
+
size?: number;
|
|
8
|
+
/** Fill the parent tile instead of drawing a `size`-px square. */
|
|
9
|
+
fill?: boolean;
|
|
10
|
+
fallback?: Component;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
size: number;
|
|
14
|
+
icon: string | null;
|
|
15
|
+
fill: boolean;
|
|
16
|
+
navIcon: string | null;
|
|
17
|
+
alt: string;
|
|
18
|
+
fallback: Component;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -20,11 +20,12 @@ type __VLS_Props = {
|
|
|
20
20
|
userPinned?: boolean;
|
|
21
21
|
error?: string | null;
|
|
22
22
|
};
|
|
23
|
-
declare const
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
"update:open": (args_0: boolean) => any;
|
|
25
25
|
refresh: () => any;
|
|
26
26
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
27
|
"onUpdate:open"?: ((args_0: boolean) => any) | undefined;
|
|
28
28
|
onRefresh?: (() => any) | undefined;
|
|
29
29
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
30
31
|
export default _default;
|
|
@@ -20,11 +20,12 @@ type __VLS_Props = {
|
|
|
20
20
|
userPinned?: boolean;
|
|
21
21
|
error?: string | null;
|
|
22
22
|
};
|
|
23
|
-
declare const
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
"update:open": (args_0: boolean) => any;
|
|
25
25
|
refresh: () => any;
|
|
26
26
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
27
|
"onUpdate:open"?: ((args_0: boolean) => any) | undefined;
|
|
28
28
|
onRefresh?: (() => any) | undefined;
|
|
29
29
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
30
31
|
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
open: boolean;
|
|
3
|
+
/** Accessible name of the panel — normally the record's title. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** The body is still fetching: `aria-busy` plus a spoken "loading". */
|
|
6
|
+
busy?: boolean;
|
|
7
|
+
/** Panel width in the wide layout. */
|
|
8
|
+
width?: string;
|
|
9
|
+
/** Distance from the viewport top in the wide layout — clears the top bar. */
|
|
10
|
+
top?: string;
|
|
11
|
+
/** Where focus goes on close. Defaults to the element focused at open. */
|
|
12
|
+
returnFocus?: () => HTMLElement | null | undefined;
|
|
13
|
+
/** Which neighbours exist — draws the previous/next buttons. Omit for none. */
|
|
14
|
+
canStep?: {
|
|
15
|
+
prev: boolean;
|
|
16
|
+
next: boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
declare var __VLS_13: {}, __VLS_30: {
|
|
20
|
+
layout: string;
|
|
21
|
+
}, __VLS_32: {}, __VLS_61: {}, __VLS_73: {}, __VLS_75: {
|
|
22
|
+
layout: string;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Slots = {} & {
|
|
25
|
+
header?: (props: typeof __VLS_13) => any;
|
|
26
|
+
} & {
|
|
27
|
+
actions?: (props: typeof __VLS_30) => any;
|
|
28
|
+
} & {
|
|
29
|
+
default?: (props: typeof __VLS_32) => any;
|
|
30
|
+
} & {
|
|
31
|
+
header?: (props: typeof __VLS_61) => any;
|
|
32
|
+
} & {
|
|
33
|
+
default?: (props: typeof __VLS_73) => any;
|
|
34
|
+
} & {
|
|
35
|
+
actions?: (props: typeof __VLS_75) => any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
"update:open": (open: boolean) => any;
|
|
39
|
+
step: (dir: 1 | -1) => any;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
42
|
+
onStep?: ((dir: 1 | -1) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
width: string;
|
|
45
|
+
top: string;
|
|
46
|
+
busy: boolean;
|
|
47
|
+
returnFocus: () => HTMLElement | null | undefined;
|
|
48
|
+
canStep: {
|
|
49
|
+
prev: boolean;
|
|
50
|
+
next: boolean;
|
|
51
|
+
};
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
54
|
+
declare const _default: typeof __VLS_export;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { AltArrowDown, AltArrowLeft, AltArrowUp, CloseCircle } from "#solar-icons";
|
|
3
|
+
import { Sheet, SheetContent, SheetTitle } from "@revenexx/studio";
|
|
4
|
+
import { nextTick, onBeforeUnmount, onMounted, ref, watch } from "vue";
|
|
5
|
+
import { isCloseKey, isRecordStepKey } from "../../lib/detailSheet";
|
|
6
|
+
import { useT } from "../../composables/useT";
|
|
7
|
+
const props = defineProps({
|
|
8
|
+
open: { type: Boolean, required: true },
|
|
9
|
+
label: { type: String, required: true },
|
|
10
|
+
busy: { type: Boolean, required: false, default: false },
|
|
11
|
+
width: { type: String, required: false, default: "440px" },
|
|
12
|
+
top: { type: String, required: false, default: "4rem" },
|
|
13
|
+
returnFocus: { type: Function, required: false, default: void 0 },
|
|
14
|
+
canStep: { type: Object, required: false, default: void 0 }
|
|
15
|
+
});
|
|
16
|
+
const emit = defineEmits(["update:open", "step"]);
|
|
17
|
+
const t = useT();
|
|
18
|
+
const WIDE = "(min-width: 1024px)";
|
|
19
|
+
const wide = ref(false);
|
|
20
|
+
let mql = null;
|
|
21
|
+
const onMedia = (e) => {
|
|
22
|
+
wide.value = e.matches;
|
|
23
|
+
};
|
|
24
|
+
const panel = ref(null);
|
|
25
|
+
let opener = null;
|
|
26
|
+
function close() {
|
|
27
|
+
emit("update:open", false);
|
|
28
|
+
}
|
|
29
|
+
function stepBy(dir) {
|
|
30
|
+
if (props.canStep?.[dir < 0 ? "prev" : "next"]) emit("step", dir);
|
|
31
|
+
}
|
|
32
|
+
function restoreFocus() {
|
|
33
|
+
const target = props.returnFocus?.() ?? opener;
|
|
34
|
+
opener = null;
|
|
35
|
+
if (target?.isConnected) target.focus({ preventScroll: false });
|
|
36
|
+
}
|
|
37
|
+
watch(() => props.open, async (open, was) => {
|
|
38
|
+
if (open && !was) {
|
|
39
|
+
opener = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
40
|
+
if (wide.value) {
|
|
41
|
+
await nextTick();
|
|
42
|
+
panel.value?.focus({ preventScroll: true });
|
|
43
|
+
}
|
|
44
|
+
} else if (!open && was && wide.value) {
|
|
45
|
+
await nextTick();
|
|
46
|
+
restoreFocus();
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
function onCloseAutoFocus(ev) {
|
|
50
|
+
ev.preventDefault();
|
|
51
|
+
restoreFocus();
|
|
52
|
+
}
|
|
53
|
+
function onKeydown(ev) {
|
|
54
|
+
if (!props.open) return;
|
|
55
|
+
if (wide.value && document.querySelector('[role="dialog"][data-state="open"], [role="alertdialog"][data-state="open"]')) return;
|
|
56
|
+
if (wide.value && isCloseKey(ev)) {
|
|
57
|
+
ev.preventDefault();
|
|
58
|
+
close();
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
const dir = isRecordStepKey(ev);
|
|
62
|
+
if (dir !== null) {
|
|
63
|
+
ev.preventDefault();
|
|
64
|
+
emit("step", dir);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
onMounted(() => {
|
|
68
|
+
mql = window.matchMedia(WIDE);
|
|
69
|
+
wide.value = mql.matches;
|
|
70
|
+
mql.addEventListener("change", onMedia);
|
|
71
|
+
document.addEventListener("keydown", onKeydown);
|
|
72
|
+
});
|
|
73
|
+
onBeforeUnmount(() => {
|
|
74
|
+
mql?.removeEventListener("change", onMedia);
|
|
75
|
+
document.removeEventListener("keydown", onKeydown);
|
|
76
|
+
});
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<template>
|
|
80
|
+
<!-- Slide-in from the right (≥ 1024 px), not modal ------------------- -->
|
|
81
|
+
<Teleport to="body">
|
|
82
|
+
<Transition
|
|
83
|
+
enter-active-class="motion-safe:transition-transform motion-safe:duration-200 motion-safe:ease-out"
|
|
84
|
+
enter-from-class="motion-safe:translate-x-[calc(100%+1rem)]"
|
|
85
|
+
leave-active-class="motion-safe:transition-transform motion-safe:duration-150 motion-safe:ease-in"
|
|
86
|
+
leave-to-class="motion-safe:translate-x-[calc(100%+1rem)]"
|
|
87
|
+
>
|
|
88
|
+
<aside
|
|
89
|
+
v-if="open && wide"
|
|
90
|
+
ref="panel"
|
|
91
|
+
role="region"
|
|
92
|
+
:aria-label="label"
|
|
93
|
+
tabindex="-1"
|
|
94
|
+
class="fixed bottom-3 right-3 z-40 flex flex-col overflow-hidden rounded-lg border border-black/[0.06] bg-white shadow-[0_8px_24px_rgba(11,5,34,0.12)] outline-none"
|
|
95
|
+
:style="{ width, top, maxWidth: 'calc(100vw - 1.5rem)' }"
|
|
96
|
+
>
|
|
97
|
+
<div class="shrink-0 border-b border-black/[0.06] p-4">
|
|
98
|
+
<div class="flex items-start gap-2">
|
|
99
|
+
<div class="min-w-0 flex-1">
|
|
100
|
+
<slot name="header" />
|
|
101
|
+
</div>
|
|
102
|
+
<template v-if="canStep">
|
|
103
|
+
<button
|
|
104
|
+
type="button"
|
|
105
|
+
class="flex size-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground aria-disabled:cursor-default aria-disabled:opacity-40 aria-disabled:hover:bg-transparent aria-disabled:hover:text-muted-foreground"
|
|
106
|
+
:aria-label="t('shared.detailsheet.action.previous')"
|
|
107
|
+
:title="t('shared.detailsheet.action.previous')"
|
|
108
|
+
aria-keyshortcuts="ArrowUp"
|
|
109
|
+
:aria-disabled="canStep.prev ? void 0 : 'true'"
|
|
110
|
+
@click="stepBy(-1)"
|
|
111
|
+
>
|
|
112
|
+
<AltArrowUp :size="18" />
|
|
113
|
+
</button>
|
|
114
|
+
<button
|
|
115
|
+
type="button"
|
|
116
|
+
class="flex size-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground aria-disabled:cursor-default aria-disabled:opacity-40 aria-disabled:hover:bg-transparent aria-disabled:hover:text-muted-foreground"
|
|
117
|
+
:aria-label="t('shared.detailsheet.action.next')"
|
|
118
|
+
:title="t('shared.detailsheet.action.next')"
|
|
119
|
+
aria-keyshortcuts="ArrowDown"
|
|
120
|
+
:aria-disabled="canStep.next ? void 0 : 'true'"
|
|
121
|
+
@click="stepBy(1)"
|
|
122
|
+
>
|
|
123
|
+
<AltArrowDown :size="18" />
|
|
124
|
+
</button>
|
|
125
|
+
</template>
|
|
126
|
+
<button
|
|
127
|
+
type="button"
|
|
128
|
+
class="flex size-8 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
|
|
129
|
+
:aria-label="t('shared.detailsheet.action.close')"
|
|
130
|
+
@click="close"
|
|
131
|
+
>
|
|
132
|
+
<CloseCircle :size="18" />
|
|
133
|
+
</button>
|
|
134
|
+
</div>
|
|
135
|
+
<div v-if="$slots.actions" class="mt-3 flex flex-wrap items-center gap-2">
|
|
136
|
+
<slot name="actions" layout="inline" />
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="min-h-0 flex-1 overflow-y-auto p-4" :aria-busy="busy ? 'true' : void 0">
|
|
140
|
+
<slot />
|
|
141
|
+
</div>
|
|
142
|
+
<span role="status" class="sr-only">{{ busy ? t("shared.detailsheet.state.loading") : "" }}</span>
|
|
143
|
+
</aside>
|
|
144
|
+
</Transition>
|
|
145
|
+
</Teleport>
|
|
146
|
+
|
|
147
|
+
<!-- Overlay (< 1024 px) ------------------------------------------------ -->
|
|
148
|
+
<Sheet v-if="!wide" :open="open" @update:open="(v) => {
|
|
149
|
+
if (!v) close();
|
|
150
|
+
}">
|
|
151
|
+
<!-- The studio SheetContent draws its own close button, labelled in
|
|
152
|
+
English; ours sits in the header and speaks the host's language, so
|
|
153
|
+
that one is hidden. -->
|
|
154
|
+
<SheetContent
|
|
155
|
+
side="right"
|
|
156
|
+
:aria-describedby="undefined"
|
|
157
|
+
class="w-full gap-0 p-0 sm:max-w-md [&>button.absolute]:hidden motion-reduce:animate-none motion-reduce:transition-none"
|
|
158
|
+
@close-auto-focus="onCloseAutoFocus"
|
|
159
|
+
>
|
|
160
|
+
<SheetTitle class="sr-only">{{ label }}</SheetTitle>
|
|
161
|
+
<div class="flex shrink-0 items-start gap-2 border-b border-black/[0.06] p-3">
|
|
162
|
+
<button
|
|
163
|
+
type="button"
|
|
164
|
+
class="flex size-10 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
|
|
165
|
+
:aria-label="t('shared.detailsheet.action.back')"
|
|
166
|
+
@click="close"
|
|
167
|
+
>
|
|
168
|
+
<AltArrowLeft :size="20" />
|
|
169
|
+
</button>
|
|
170
|
+
<div class="min-w-0 flex-1 self-center">
|
|
171
|
+
<slot name="header" />
|
|
172
|
+
</div>
|
|
173
|
+
<template v-if="canStep">
|
|
174
|
+
<button
|
|
175
|
+
type="button"
|
|
176
|
+
class="flex size-10 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground aria-disabled:cursor-default aria-disabled:opacity-40 aria-disabled:hover:bg-transparent aria-disabled:hover:text-muted-foreground"
|
|
177
|
+
:aria-label="t('shared.detailsheet.action.previous')"
|
|
178
|
+
:title="t('shared.detailsheet.action.previous')"
|
|
179
|
+
aria-keyshortcuts="ArrowUp"
|
|
180
|
+
:aria-disabled="canStep.prev ? void 0 : 'true'"
|
|
181
|
+
@click="stepBy(-1)"
|
|
182
|
+
>
|
|
183
|
+
<AltArrowUp :size="20" />
|
|
184
|
+
</button>
|
|
185
|
+
<button
|
|
186
|
+
type="button"
|
|
187
|
+
class="flex size-10 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground aria-disabled:cursor-default aria-disabled:opacity-40 aria-disabled:hover:bg-transparent aria-disabled:hover:text-muted-foreground"
|
|
188
|
+
:aria-label="t('shared.detailsheet.action.next')"
|
|
189
|
+
:title="t('shared.detailsheet.action.next')"
|
|
190
|
+
aria-keyshortcuts="ArrowDown"
|
|
191
|
+
:aria-disabled="canStep.next ? void 0 : 'true'"
|
|
192
|
+
@click="stepBy(1)"
|
|
193
|
+
>
|
|
194
|
+
<AltArrowDown :size="20" />
|
|
195
|
+
</button>
|
|
196
|
+
</template>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="min-h-0 flex-1 overflow-y-auto p-4" :aria-busy="busy ? 'true' : void 0">
|
|
199
|
+
<slot />
|
|
200
|
+
</div>
|
|
201
|
+
<span role="status" class="sr-only">{{ busy ? t("shared.detailsheet.state.loading") : "" }}</span>
|
|
202
|
+
<div v-if="$slots.actions" class="flex shrink-0 items-center gap-2 border-t border-black/[0.06] bg-white p-3 pb-[max(0.75rem,env(safe-area-inset-bottom))]">
|
|
203
|
+
<slot name="actions" layout="bar" />
|
|
204
|
+
</div>
|
|
205
|
+
</SheetContent>
|
|
206
|
+
</Sheet>
|
|
207
|
+
</template>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
open: boolean;
|
|
3
|
+
/** Accessible name of the panel — normally the record's title. */
|
|
4
|
+
label: string;
|
|
5
|
+
/** The body is still fetching: `aria-busy` plus a spoken "loading". */
|
|
6
|
+
busy?: boolean;
|
|
7
|
+
/** Panel width in the wide layout. */
|
|
8
|
+
width?: string;
|
|
9
|
+
/** Distance from the viewport top in the wide layout — clears the top bar. */
|
|
10
|
+
top?: string;
|
|
11
|
+
/** Where focus goes on close. Defaults to the element focused at open. */
|
|
12
|
+
returnFocus?: () => HTMLElement | null | undefined;
|
|
13
|
+
/** Which neighbours exist — draws the previous/next buttons. Omit for none. */
|
|
14
|
+
canStep?: {
|
|
15
|
+
prev: boolean;
|
|
16
|
+
next: boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
declare var __VLS_13: {}, __VLS_30: {
|
|
20
|
+
layout: string;
|
|
21
|
+
}, __VLS_32: {}, __VLS_61: {}, __VLS_73: {}, __VLS_75: {
|
|
22
|
+
layout: string;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Slots = {} & {
|
|
25
|
+
header?: (props: typeof __VLS_13) => any;
|
|
26
|
+
} & {
|
|
27
|
+
actions?: (props: typeof __VLS_30) => any;
|
|
28
|
+
} & {
|
|
29
|
+
default?: (props: typeof __VLS_32) => any;
|
|
30
|
+
} & {
|
|
31
|
+
header?: (props: typeof __VLS_61) => any;
|
|
32
|
+
} & {
|
|
33
|
+
default?: (props: typeof __VLS_73) => any;
|
|
34
|
+
} & {
|
|
35
|
+
actions?: (props: typeof __VLS_75) => any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
"update:open": (open: boolean) => any;
|
|
39
|
+
step: (dir: 1 | -1) => any;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
42
|
+
onStep?: ((dir: 1 | -1) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
width: string;
|
|
45
|
+
top: string;
|
|
46
|
+
busy: boolean;
|
|
47
|
+
returnFocus: () => HTMLElement | null | undefined;
|
|
48
|
+
canStep: {
|
|
49
|
+
prev: boolean;
|
|
50
|
+
next: boolean;
|
|
51
|
+
};
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
53
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
54
|
+
declare const _default: typeof __VLS_export;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -34,19 +34,20 @@ type __VLS_Props = {
|
|
|
34
34
|
placement: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
declare var
|
|
37
|
+
declare var __VLS_7: {}, __VLS_79: {}, __VLS_81: {};
|
|
38
38
|
type __VLS_Slots = {} & {
|
|
39
|
-
'pill-icon'?: (props: typeof
|
|
39
|
+
'pill-icon'?: (props: typeof __VLS_7) => any;
|
|
40
40
|
} & {
|
|
41
|
-
default?: (props: typeof
|
|
41
|
+
default?: (props: typeof __VLS_79) => any;
|
|
42
42
|
} & {
|
|
43
|
-
footer?: (props: typeof
|
|
43
|
+
footer?: (props: typeof __VLS_81) => any;
|
|
44
44
|
};
|
|
45
|
-
declare const
|
|
45
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
46
46
|
bottomClass: string;
|
|
47
47
|
widthClass: string;
|
|
48
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
-
declare const
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
50
51
|
export default _default;
|
|
51
52
|
type __VLS_WithSlots<T, S> = T & {
|
|
52
53
|
new (): {
|
|
@@ -34,19 +34,20 @@ type __VLS_Props = {
|
|
|
34
34
|
placement: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
declare var
|
|
37
|
+
declare var __VLS_7: {}, __VLS_79: {}, __VLS_81: {};
|
|
38
38
|
type __VLS_Slots = {} & {
|
|
39
|
-
'pill-icon'?: (props: typeof
|
|
39
|
+
'pill-icon'?: (props: typeof __VLS_7) => any;
|
|
40
40
|
} & {
|
|
41
|
-
default?: (props: typeof
|
|
41
|
+
default?: (props: typeof __VLS_79) => any;
|
|
42
42
|
} & {
|
|
43
|
-
footer?: (props: typeof
|
|
43
|
+
footer?: (props: typeof __VLS_81) => any;
|
|
44
44
|
};
|
|
45
|
-
declare const
|
|
45
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
46
46
|
bottomClass: string;
|
|
47
47
|
widthClass: string;
|
|
48
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
-
declare const
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
50
51
|
export default _default;
|
|
51
52
|
type __VLS_WithSlots<T, S> = T & {
|
|
52
53
|
new (): {
|
|
@@ -4,7 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
showPreviews?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:triggerMode": (value: string) => any;
|
|
9
9
|
"update:previewsEnabled": (value: boolean) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -14,4 +14,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
14
|
disabled: boolean;
|
|
15
15
|
showPreviews: boolean;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -4,7 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
showPreviews?: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:triggerMode": (value: string) => any;
|
|
9
9
|
"update:previewsEnabled": (value: boolean) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -14,4 +14,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
14
14
|
disabled: boolean;
|
|
15
15
|
showPreviews: boolean;
|
|
16
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
@@ -9,5 +9,6 @@ type __VLS_Props = {
|
|
|
9
9
|
sub?: string;
|
|
10
10
|
to?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|
|
@@ -9,5 +9,6 @@ type __VLS_Props = {
|
|
|
9
9
|
sub?: string;
|
|
10
10
|
to?: string;
|
|
11
11
|
};
|
|
12
|
-
declare const
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
13
14
|
export default _default;
|
|
@@ -24,12 +24,13 @@ type __VLS_Slots = {} & {
|
|
|
24
24
|
} & {
|
|
25
25
|
aside?: (props: typeof __VLS_5) => any;
|
|
26
26
|
};
|
|
27
|
-
declare const
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
28
|
railOpen: boolean;
|
|
29
29
|
railWidth: string;
|
|
30
30
|
asideWidth: string;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
-
declare const
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
33
34
|
export default _default;
|
|
34
35
|
type __VLS_WithSlots<T, S> = T & {
|
|
35
36
|
new (): {
|
|
@@ -24,12 +24,13 @@ type __VLS_Slots = {} & {
|
|
|
24
24
|
} & {
|
|
25
25
|
aside?: (props: typeof __VLS_5) => any;
|
|
26
26
|
};
|
|
27
|
-
declare const
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
28
|
railOpen: boolean;
|
|
29
29
|
railWidth: string;
|
|
30
30
|
asideWidth: string;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
-
declare const
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
33
34
|
export default _default;
|
|
34
35
|
type __VLS_WithSlots<T, S> = T & {
|
|
35
36
|
new (): {
|
|
@@ -5,16 +5,17 @@ type __VLS_Props = {
|
|
|
5
5
|
title: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
title?: (props: typeof
|
|
10
|
+
title?: (props: typeof __VLS_6) => any;
|
|
11
11
|
} & {
|
|
12
|
-
actions?: (props: typeof
|
|
12
|
+
actions?: (props: typeof __VLS_8) => any;
|
|
13
13
|
} & {
|
|
14
|
-
tabs?: (props: typeof
|
|
14
|
+
tabs?: (props: typeof __VLS_10) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const
|
|
17
|
-
declare const
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
18
19
|
export default _default;
|
|
19
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
20
21
|
new (): {
|
|
@@ -5,16 +5,17 @@ type __VLS_Props = {
|
|
|
5
5
|
title: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
};
|
|
8
|
-
declare var
|
|
8
|
+
declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
|
-
title?: (props: typeof
|
|
10
|
+
title?: (props: typeof __VLS_6) => any;
|
|
11
11
|
} & {
|
|
12
|
-
actions?: (props: typeof
|
|
12
|
+
actions?: (props: typeof __VLS_8) => any;
|
|
13
13
|
} & {
|
|
14
|
-
tabs?: (props: typeof
|
|
14
|
+
tabs?: (props: typeof __VLS_10) => any;
|
|
15
15
|
};
|
|
16
|
-
declare const
|
|
17
|
-
declare const
|
|
16
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
18
19
|
export default _default;
|
|
19
20
|
type __VLS_WithSlots<T, S> = T & {
|
|
20
21
|
new (): {
|
|
@@ -22,28 +22,29 @@ type __VLS_Props = {
|
|
|
22
22
|
/** Start the narrow-width disclosure expanded (initial value only). */
|
|
23
23
|
railOpenOnNarrow?: boolean;
|
|
24
24
|
};
|
|
25
|
-
declare var __VLS_1: {},
|
|
25
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_19: {};
|
|
26
26
|
type __VLS_Slots = {} & {
|
|
27
27
|
'rail-head'?: (props: typeof __VLS_1) => any;
|
|
28
28
|
} & {
|
|
29
|
-
rail?: (props: typeof
|
|
29
|
+
rail?: (props: typeof __VLS_8) => any;
|
|
30
30
|
} & {
|
|
31
|
-
tabs?: (props: typeof
|
|
31
|
+
tabs?: (props: typeof __VLS_10) => any;
|
|
32
32
|
} & {
|
|
33
|
-
default?: (props: typeof
|
|
33
|
+
default?: (props: typeof __VLS_19) => any;
|
|
34
34
|
};
|
|
35
|
-
declare const
|
|
35
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
36
|
"update:modelValue": (key: string) => any;
|
|
37
37
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
38
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
modelValue: string;
|
|
41
|
+
stickyOffset: number;
|
|
41
42
|
railWidth: string;
|
|
42
43
|
tabs: RecordTab[];
|
|
43
|
-
stickyOffset: number;
|
|
44
44
|
railOpenOnNarrow: boolean;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
-
declare const
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
47
48
|
export default _default;
|
|
48
49
|
type __VLS_WithSlots<T, S> = T & {
|
|
49
50
|
new (): {
|
|
@@ -22,28 +22,29 @@ type __VLS_Props = {
|
|
|
22
22
|
/** Start the narrow-width disclosure expanded (initial value only). */
|
|
23
23
|
railOpenOnNarrow?: boolean;
|
|
24
24
|
};
|
|
25
|
-
declare var __VLS_1: {},
|
|
25
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_19: {};
|
|
26
26
|
type __VLS_Slots = {} & {
|
|
27
27
|
'rail-head'?: (props: typeof __VLS_1) => any;
|
|
28
28
|
} & {
|
|
29
|
-
rail?: (props: typeof
|
|
29
|
+
rail?: (props: typeof __VLS_8) => any;
|
|
30
30
|
} & {
|
|
31
|
-
tabs?: (props: typeof
|
|
31
|
+
tabs?: (props: typeof __VLS_10) => any;
|
|
32
32
|
} & {
|
|
33
|
-
default?: (props: typeof
|
|
33
|
+
default?: (props: typeof __VLS_19) => any;
|
|
34
34
|
};
|
|
35
|
-
declare const
|
|
35
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
36
|
"update:modelValue": (key: string) => any;
|
|
37
37
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
38
|
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
modelValue: string;
|
|
41
|
+
stickyOffset: number;
|
|
41
42
|
railWidth: string;
|
|
42
43
|
tabs: RecordTab[];
|
|
43
|
-
stickyOffset: number;
|
|
44
44
|
railOpenOnNarrow: boolean;
|
|
45
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
-
declare const
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
47
48
|
export default _default;
|
|
48
49
|
type __VLS_WithSlots<T, S> = T & {
|
|
49
50
|
new (): {
|