@revenexx/studio-shared 0.3.3 → 0.4.1
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 +7 -3
- package/dist/module.json +2 -2
- package/dist/module.mjs +10 -4
- package/dist/runtime/components/Dashboard/DashboardConfirmDialog.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardConfirmDialog.vue +1 -1
- package/dist/runtime/components/Dashboard/DashboardConfirmDialog.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardControls.d.vue.ts +8 -7
- package/dist/runtime/components/Dashboard/DashboardControls.vue.d.ts +8 -7
- package/dist/runtime/components/Dashboard/DashboardGrid.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardGrid.vue +45 -1
- package/dist/runtime/components/Dashboard/DashboardGrid.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardNameDialog.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardNameDialog.vue +1 -1
- package/dist/runtime/components/Dashboard/DashboardNameDialog.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardPickerDialog.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardPickerDialog.vue +1 -1
- package/dist/runtime/components/Dashboard/DashboardPickerDialog.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardShareDialog.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardShareDialog.vue +1 -1
- package/dist/runtime/components/Dashboard/DashboardShareDialog.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardTopBar.d.vue.ts +9 -4
- package/dist/runtime/components/Dashboard/DashboardTopBar.vue.d.ts +9 -4
- package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.d.vue.ts +8 -6
- package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.vue +1 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetConfigDialog.vue.d.ts +8 -6
- package/dist/runtime/components/Dashboard/DashboardWidgetFrame.d.vue.ts +5 -4
- package/dist/runtime/components/Dashboard/DashboardWidgetFrame.vue +14 -3
- package/dist/runtime/components/Dashboard/DashboardWidgetFrame.vue.d.ts +5 -4
- package/dist/runtime/components/Dashboard/DashboardWidgetHost.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetHost.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetIcon.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetIcon.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetLibrary.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetLibrary.vue.d.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetPreview.d.vue.ts +2 -1
- package/dist/runtime/components/Dashboard/DashboardWidgetPreview.vue.d.ts +2 -1
- 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 +120 -37
- package/dist/runtime/components/DataTable/DataTable.vue +493 -53
- package/dist/runtime/components/DataTable/DataTable.vue.d.ts +120 -37
- package/dist/runtime/components/DataTable/FacetChips.d.vue.ts +2 -1
- package/dist/runtime/components/DataTable/FacetChips.vue.d.ts +2 -1
- package/dist/runtime/components/DataTable/FacetPanel.d.vue.ts +6 -5
- package/dist/runtime/components/DataTable/FacetPanel.vue +57 -8
- package/dist/runtime/components/DataTable/FacetPanel.vue.d.ts +6 -5
- package/dist/runtime/components/DataTable/FilterMenu.d.vue.ts +6 -5
- package/dist/runtime/components/DataTable/FilterMenu.vue +5 -5
- package/dist/runtime/components/DataTable/FilterMenu.vue.d.ts +6 -5
- package/dist/runtime/components/DataTable/SavedViewsMenu.d.vue.ts +2 -1
- package/dist/runtime/components/DataTable/SavedViewsMenu.vue +61 -12
- package/dist/runtime/components/DataTable/SavedViewsMenu.vue.d.ts +2 -1
- package/dist/runtime/components/DataTable/SortMenu.d.vue.ts +4 -2
- package/dist/runtime/components/DataTable/SortMenu.vue +4 -1
- package/dist/runtime/components/DataTable/SortMenu.vue.d.ts +4 -2
- package/dist/runtime/components/DataTable/ToolbarLabelTrigger.d.vue.ts +23 -0
- package/dist/runtime/components/DataTable/ToolbarLabelTrigger.vue +29 -0
- package/dist/runtime/components/DataTable/ToolbarLabelTrigger.vue.d.ts +23 -0
- 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/DataTable/types.d.ts +17 -0
- 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 +6 -5
- package/dist/runtime/components/Media/MediaFolderTree.vue +1 -2
- package/dist/runtime/components/Media/MediaFolderTree.vue.d.ts +6 -5
- package/dist/runtime/components/Media/MediaPickerDialog.d.vue.ts +13 -1
- package/dist/runtime/components/Media/MediaPickerDialog.vue +206 -54
- package/dist/runtime/components/Media/MediaPickerDialog.vue.d.ts +13 -1
- package/dist/runtime/components/Media/MediaUploader.d.vue.ts +2 -1
- package/dist/runtime/components/Media/MediaUploader.vue +1 -1
- package/dist/runtime/components/Media/MediaUploader.vue.d.ts +2 -1
- 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/CardSizeToggle.d.vue.ts +11 -0
- package/dist/runtime/components/Shared/CardSizeToggle.vue +19 -0
- package/dist/runtime/components/Shared/CardSizeToggle.vue.d.ts +11 -0
- package/dist/runtime/components/Shared/DetailSheet.d.vue.ts +60 -0
- package/dist/runtime/components/Shared/DetailSheet.vue +211 -0
- package/dist/runtime/components/Shared/DetailSheet.vue.d.ts +60 -0
- package/dist/runtime/components/Shared/EmptyNote.d.vue.ts +19 -0
- package/dist/runtime/components/Shared/EmptyNote.vue +25 -0
- package/dist/runtime/components/Shared/EmptyNote.vue.d.ts +19 -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 +8 -1
- package/dist/runtime/components/Shared/KpiTile.vue +10 -9
- package/dist/runtime/components/Shared/KpiTile.vue.d.ts +8 -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 +15 -4
- 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 +1 -2
- 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 +3 -3
- package/dist/runtime/components/Shared/RecordRailCard.vue.d.ts +3 -2
- package/dist/runtime/components/Shared/SelectionBar.d.vue.ts +22 -0
- package/dist/runtime/components/Shared/SelectionBar.vue +40 -0
- package/dist/runtime/components/Shared/SelectionBar.vue.d.ts +22 -0
- package/dist/runtime/components/Shared/SidebarNav.d.vue.ts +39 -4
- package/dist/runtime/components/Shared/SidebarNav.vue +71 -25
- package/dist/runtime/components/Shared/SidebarNav.vue.d.ts +39 -4
- package/dist/runtime/components/Shared/SidebarNavAreas.d.vue.ts +7 -0
- package/dist/runtime/components/Shared/SidebarNavAreas.vue +291 -0
- package/dist/runtime/components/Shared/SidebarNavAreas.vue.d.ts +7 -0
- package/dist/runtime/components/Shared/SidebarNavLink.d.vue.ts +3 -10
- package/dist/runtime/components/Shared/SidebarNavLink.vue +31 -5
- package/dist/runtime/components/Shared/SidebarNavLink.vue.d.ts +3 -10
- 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 +1 -1
- 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 +4 -21
- package/dist/runtime/components/Shared/TabBar.vue +30 -13
- package/dist/runtime/components/Shared/TabBar.vue.d.ts +4 -21
- 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 +20 -7
- package/dist/runtime/components/Shared/Wizard.vue +9 -5
- package/dist/runtime/components/Shared/Wizard.vue.d.ts +20 -7
- package/dist/runtime/composables/useDetailSheet.d.ts +20 -0
- package/dist/runtime/composables/useDetailSheet.js +50 -0
- package/dist/runtime/composables/useMediaLibrary.d.ts +12 -0
- package/dist/runtime/composables/usePlatformTenant.d.ts +6 -0
- package/dist/runtime/composables/useSavedViews.d.ts +11 -1
- package/dist/runtime/composables/useSavedViews.js +4 -4
- package/dist/runtime/composables/useWidgetFigures.d.ts +12 -0
- package/dist/runtime/composables/useWidgetFigures.js +24 -0
- package/dist/runtime/composables/useWidgetHeader.d.ts +15 -0
- package/dist/runtime/composables/useWidgetHeader.js +15 -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/auditEnvelope.d.ts +43 -0
- package/dist/runtime/lib/auditEnvelope.js +55 -0
- package/dist/runtime/lib/cardSize.d.ts +13 -0
- package/dist/runtime/lib/cardSize.js +20 -0
- package/dist/runtime/lib/dashboardIcons.js +2 -0
- package/dist/runtime/lib/dataTableFilters.d.ts +22 -0
- package/dist/runtime/lib/dataTableFilters.js +5 -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 +13 -0
- package/dist/runtime/lib/formLayout.d.ts +164 -0
- package/dist/runtime/lib/formLayout.js +117 -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 +14 -1
- package/dist/runtime/lib/gridTracks.js +13 -2
- package/dist/runtime/lib/isoLists.d.ts +37 -2
- package/dist/runtime/lib/isoLists.js +54 -1
- package/dist/runtime/lib/notice.d.ts +14 -0
- package/dist/runtime/lib/notice.js +19 -0
- package/dist/runtime/lib/pageSize.d.ts +15 -0
- package/dist/runtime/lib/pageSize.js +26 -0
- package/dist/runtime/lib/rowMove.d.ts +38 -0
- package/dist/runtime/lib/rowMove.js +20 -0
- package/dist/runtime/lib/sidebarAreas.d.ts +46 -0
- package/dist/runtime/lib/sidebarAreas.js +25 -0
- package/dist/runtime/lib/sidebarNav.d.ts +21 -2
- package/dist/runtime/lib/sidebarNav.js +23 -4
- package/dist/runtime/lib/solarIconMap.d.ts +16 -0
- package/dist/runtime/lib/solarIconMap.js +326 -0
- package/dist/runtime/lib/solarIcons.d.ts +37 -0
- package/dist/runtime/lib/solarIcons.js +25 -0
- package/dist/runtime/lib/swipeToClose.d.ts +25 -0
- package/dist/runtime/lib/swipeToClose.js +118 -0
- package/dist/runtime/lib/tableExport.d.ts +31 -0
- package/dist/runtime/lib/tableExport.js +143 -0
- package/dist/runtime/lib/talkback.d.ts +5 -0
- package/dist/runtime/lib/talkback.js +8 -0
- package/dist/runtime/lib/talkbackTokenBatch.d.ts +35 -0
- package/dist/runtime/lib/talkbackTokenBatch.js +101 -0
- package/dist/runtime/types/nav.d.ts +9 -0
- package/dist/types.d.mts +8 -0
- package/package.json +4 -3
|
@@ -4,7 +4,8 @@ type __VLS_Props = {
|
|
|
4
4
|
/** Matches the row it sits in; `sm` is the 32px square its neighbours are. */
|
|
5
5
|
size?: 'sm' | 'default';
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
8
|
size: "sm" | "default";
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
10
11
|
export default _default;
|
|
@@ -4,14 +4,16 @@ type __VLS_Props = {
|
|
|
4
4
|
/** Matches the row it sits in; `sm` is the 32px square its neighbours are. */
|
|
5
5
|
size?: 'sm' | 'default';
|
|
6
6
|
};
|
|
7
|
-
type
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
8
|
modelValue: SortState;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
12
|
"update:modelValue": (value: SortState) => any;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
14
|
"onUpdate:modelValue"?: ((value: SortState) => any) | undefined;
|
|
14
15
|
}>, {
|
|
15
16
|
size: "sm" | "default";
|
|
16
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
17
19
|
export default _default;
|
|
@@ -37,7 +37,8 @@ function pick(key, direction) {
|
|
|
37
37
|
<DropdownMenuTrigger as-child>
|
|
38
38
|
<Button
|
|
39
39
|
:variant="sorted ? 'default' : 'outline'"
|
|
40
|
-
:size="size
|
|
40
|
+
:size="size"
|
|
41
|
+
class="size-8 gap-1.5 px-0"
|
|
41
42
|
:data-active="sorted"
|
|
42
43
|
:aria-label="t('shared.datatable.sortmenu.aria', { sort: label })"
|
|
43
44
|
:title="t('shared.datatable.sortmenu.aria', { sort: label })"
|
|
@@ -48,6 +49,8 @@ function pick(key, direction) {
|
|
|
48
49
|
<span class="flex shrink-0 items-center" :class="sorted ? '' : 'text-primary'">
|
|
49
50
|
<component :is="icon" weight="Linear" :class="size === 'sm' ? 'size-3.5' : 'size-4'" />
|
|
50
51
|
</span>
|
|
52
|
+
<!-- Icon only, the word for screen readers (Michael 12.10.). -->
|
|
53
|
+
<span class="sr-only">{{ t("shared.datatable.sortmenu.trigger") }}</span>
|
|
51
54
|
</Button>
|
|
52
55
|
</DropdownMenuTrigger>
|
|
53
56
|
<DropdownMenuContent align="start" class="w-56">
|
|
@@ -4,14 +4,16 @@ type __VLS_Props = {
|
|
|
4
4
|
/** Matches the row it sits in; `sm` is the 32px square its neighbours are. */
|
|
5
5
|
size?: 'sm' | 'default';
|
|
6
6
|
};
|
|
7
|
-
type
|
|
7
|
+
type __VLS_ModelProps = {
|
|
8
8
|
modelValue: SortState;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
12
|
"update:modelValue": (value: SortState) => any;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
14
|
"onUpdate:modelValue"?: ((value: SortState) => any) | undefined;
|
|
14
15
|
}>, {
|
|
15
16
|
size: "sm" | "default";
|
|
16
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
17
19
|
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
count?: number;
|
|
5
|
+
size?: 'sm' | 'default';
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
icon?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
size: "sm" | "default";
|
|
13
|
+
count: number;
|
|
14
|
+
active: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { Button } from "@revenexx/studio";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
label: { type: String, required: true },
|
|
5
|
+
active: { type: Boolean, required: false, default: false },
|
|
6
|
+
count: { type: Number, required: false, default: 0 },
|
|
7
|
+
size: { type: String, required: false, default: "sm" }
|
|
8
|
+
});
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<Button
|
|
13
|
+
:variant="props.active ? 'default' : 'outline'"
|
|
14
|
+
:size="props.size"
|
|
15
|
+
class="relative size-8 gap-1.5 px-0"
|
|
16
|
+
:data-active="props.active"
|
|
17
|
+
:aria-label="props.label"
|
|
18
|
+
:title="props.label"
|
|
19
|
+
>
|
|
20
|
+
<span class="flex shrink-0 items-center" :class="props.active ? '' : 'text-primary'">
|
|
21
|
+
<slot name="icon" />
|
|
22
|
+
</span>
|
|
23
|
+
<span class="sr-only">{{ props.label }}</span>
|
|
24
|
+
<span
|
|
25
|
+
v-if="props.active && props.count > 0"
|
|
26
|
+
class="flex h-4 min-w-4 items-center justify-center rounded-full bg-primary-foreground px-1 text-[0.625rem]/none font-semibold tabular-nums text-primary absolute -top-1.5 -right-1.5 bg-primary text-primary-foreground ring-2 ring-card"
|
|
27
|
+
>{{ props.count }}</span>
|
|
28
|
+
</Button>
|
|
29
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
count?: number;
|
|
5
|
+
size?: 'sm' | 'default';
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
icon?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
size: "sm" | "default";
|
|
13
|
+
count: number;
|
|
14
|
+
active: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -9,12 +9,14 @@ import type { DataTableViewMode } from './types.js';
|
|
|
9
9
|
type __VLS_Props = {
|
|
10
10
|
modes: DataTableViewMode[];
|
|
11
11
|
};
|
|
12
|
-
type
|
|
12
|
+
type __VLS_ModelProps = {
|
|
13
13
|
modelValue: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
17
|
"update:modelValue": (value: string) => any;
|
|
17
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
19
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
20
22
|
export default _default;
|
|
@@ -9,12 +9,14 @@ import type { DataTableViewMode } from './types.js';
|
|
|
9
9
|
type __VLS_Props = {
|
|
10
10
|
modes: DataTableViewMode[];
|
|
11
11
|
};
|
|
12
|
-
type
|
|
12
|
+
type __VLS_ModelProps = {
|
|
13
13
|
modelValue: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
17
|
"update:modelValue": (value: string) => any;
|
|
17
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
19
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
20
22
|
export default _default;
|
|
@@ -25,6 +25,13 @@ export interface DataTableColumn<T = unknown> {
|
|
|
25
25
|
alignRight?: boolean;
|
|
26
26
|
/** Optional icon component for the header. */
|
|
27
27
|
icon?: Component;
|
|
28
|
+
/** The narrowest this column may get when it takes a share (`fr`) of the
|
|
29
|
+
* width — for a name or company column that must stay readable while ID
|
|
30
|
+
* columns size to their content. The `primary` column has its own floor. */
|
|
31
|
+
floor?: string;
|
|
32
|
+
/** Keeps a trailing column (the row's „…“ menu) in view while the table
|
|
33
|
+
* scrolls sideways, like the identifying column on the left. */
|
|
34
|
+
pinRight?: boolean;
|
|
28
35
|
/** Marks the identifying column. When set (and no `#cell-<key>` slot is
|
|
29
36
|
* given) the DataTable renders the value as the bold record anchor —
|
|
30
37
|
* `font-semibold text-[#0B0522]`, truncated — optionally led by a tinted
|
|
@@ -36,7 +43,17 @@ export interface DataTableColumn<T = unknown> {
|
|
|
36
43
|
* `cellIcon` must NOT be a getter: Solar icons are functional components, so
|
|
37
44
|
* the table can't tell a getter from an icon and would crash invoking it.) */
|
|
38
45
|
cellIcon?: Component;
|
|
46
|
+
/**
|
|
47
|
+
* The column's part in the phone layout, where each row is drawn as a card
|
|
48
|
+
* (R4, Charge 2). `title` heads the card (defaults to the `primary` column),
|
|
49
|
+
* `status` sits beside it as the badge, `meta` columns fill the two lines of
|
|
50
|
+
* key facts in declared order, `hidden` leaves the column out. Unset: the
|
|
51
|
+
* table decides from `primary` and the column key.
|
|
52
|
+
*/
|
|
53
|
+
card?: 'title' | 'status' | 'meta' | 'hidden';
|
|
39
54
|
}
|
|
55
|
+
/** Row height (D4, Charge 2): `standard` 44px, `compact` 36px. */
|
|
56
|
+
export type DataTableDensity = 'standard' | 'compact';
|
|
40
57
|
/** A built-in filter dimension rendered under the generic "Filter" dropdown as
|
|
41
58
|
* a labelled sub-menu (datatable-ux). Static mode only: the DataTable filters
|
|
42
59
|
* `data` in-memory and shows a count per option. Pass one, or an array of
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { FieldSpan } from '../../lib/formLayout.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
span?: FieldSpan | 'auto';
|
|
4
|
+
/** Field type, for the default span when `span` is absent or `auto`. */
|
|
5
|
+
type?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Id of the control the label is for. */
|
|
8
|
+
for?: string;
|
|
9
|
+
hint?: string;
|
|
10
|
+
error?: string | null;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_1: {}, __VLS_9: {}, __VLS_11: {
|
|
14
|
+
id: string;
|
|
15
|
+
describedBy: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
label?: (props: typeof __VLS_1) => any;
|
|
19
|
+
} & {
|
|
20
|
+
'label-extra'?: (props: typeof __VLS_9) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: typeof __VLS_11) => any;
|
|
23
|
+
};
|
|
24
|
+
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>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { Label } from "@revenexx/studio";
|
|
3
|
+
import { computed, useId } from "vue";
|
|
4
|
+
import { useT } from "../../composables/useT";
|
|
5
|
+
import { resolveSpan, spanClass } from "../../lib/formLayout";
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
span: { type: String, required: false },
|
|
8
|
+
type: { type: String, required: false },
|
|
9
|
+
label: { type: String, required: false },
|
|
10
|
+
for: { type: String, required: false },
|
|
11
|
+
hint: { type: String, required: false },
|
|
12
|
+
error: { type: [String, null], required: false },
|
|
13
|
+
required: { type: Boolean, required: false }
|
|
14
|
+
});
|
|
15
|
+
const t = useT();
|
|
16
|
+
const uid = useId();
|
|
17
|
+
const cellClass = computed(() => spanClass(resolveSpan({ type: props.type, span: props.span })));
|
|
18
|
+
const controlId = computed(() => props.for ?? `${uid}-control`);
|
|
19
|
+
const hintId = computed(() => props.hint ? `${controlId.value}-hint` : void 0);
|
|
20
|
+
const errorId = computed(() => props.error ? `${controlId.value}-error` : void 0);
|
|
21
|
+
const describedBy = computed(() => [errorId.value, hintId.value].filter(Boolean).join(" ") || void 0);
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<div class="min-w-0" :class="cellClass">
|
|
26
|
+
<div v-if="label || $slots.label" class="mb-1.5 flex items-center gap-1.5">
|
|
27
|
+
<slot name="label">
|
|
28
|
+
<Label :for="controlId" class="text-[12.5px] font-medium">
|
|
29
|
+
{{ label }}
|
|
30
|
+
<template v-if="required">
|
|
31
|
+
<span aria-hidden="true" class="text-rose-600">*</span>
|
|
32
|
+
<span class="sr-only">({{ t("shared.form.field.required") }})</span>
|
|
33
|
+
</template>
|
|
34
|
+
</Label>
|
|
35
|
+
</slot>
|
|
36
|
+
<slot name="label-extra" />
|
|
37
|
+
</div>
|
|
38
|
+
<slot :id="controlId" :described-by="describedBy" />
|
|
39
|
+
<p v-if="error" :id="errorId" class="mt-1 text-xs text-rose-700">
|
|
40
|
+
{{ error }}
|
|
41
|
+
</p>
|
|
42
|
+
<p v-if="hint" :id="hintId" class="mt-1 text-xs leading-snug text-muted-foreground">
|
|
43
|
+
{{ hint }}
|
|
44
|
+
</p>
|
|
45
|
+
</div>
|
|
46
|
+
</template>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { FieldSpan } from '../../lib/formLayout.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
span?: FieldSpan | 'auto';
|
|
4
|
+
/** Field type, for the default span when `span` is absent or `auto`. */
|
|
5
|
+
type?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Id of the control the label is for. */
|
|
8
|
+
for?: string;
|
|
9
|
+
hint?: string;
|
|
10
|
+
error?: string | null;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_1: {}, __VLS_9: {}, __VLS_11: {
|
|
14
|
+
id: string;
|
|
15
|
+
describedBy: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
label?: (props: typeof __VLS_1) => any;
|
|
19
|
+
} & {
|
|
20
|
+
'label-extra'?: (props: typeof __VLS_9) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: typeof __VLS_11) => any;
|
|
23
|
+
};
|
|
24
|
+
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>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { FormContextRow } from '../../lib/formLayout.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
/** Defaults to the title's initials. Empty string = no avatar. */
|
|
6
|
+
initials?: string;
|
|
7
|
+
rows?: FormContextRow[];
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {
|
|
10
|
+
row: FormContextRow;
|
|
11
|
+
}, __VLS_7: {}, __VLS_9: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
avatar?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
badges?: (props: typeof __VLS_3) => any;
|
|
16
|
+
} & {
|
|
17
|
+
value?: (props: typeof __VLS_5) => any;
|
|
18
|
+
} & {
|
|
19
|
+
default?: (props: typeof __VLS_7) => any;
|
|
20
|
+
} & {
|
|
21
|
+
footer?: (props: typeof __VLS_9) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
rows: FormContextRow[];
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { initialsOf } from "../../lib/formLayout";
|
|
4
|
+
const props = defineProps({
|
|
5
|
+
title: { type: String, required: true },
|
|
6
|
+
subtitle: { type: String, required: false },
|
|
7
|
+
initials: { type: String, required: false },
|
|
8
|
+
rows: { type: Array, required: false, default: () => [] }
|
|
9
|
+
});
|
|
10
|
+
const initialsText = computed(() => props.initials ?? initialsOf(props.title));
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<div class="rounded-lg border border-black/[0.06] bg-white/70 p-4 backdrop-blur-sm">
|
|
15
|
+
<div class="flex items-center gap-3">
|
|
16
|
+
<slot name="avatar">
|
|
17
|
+
<span
|
|
18
|
+
v-if="initialsText"
|
|
19
|
+
aria-hidden="true"
|
|
20
|
+
class="flex size-11 shrink-0 items-center justify-center rounded-full bg-accent text-[15px] font-medium text-primary"
|
|
21
|
+
>{{ initialsText }}</span>
|
|
22
|
+
</slot>
|
|
23
|
+
<div class="min-w-0">
|
|
24
|
+
<p class="truncate text-[15px] font-medium text-[#0B0522]" :title="title">
|
|
25
|
+
{{ title }}
|
|
26
|
+
</p>
|
|
27
|
+
<p v-if="subtitle" class="truncate text-[12.5px] text-muted-foreground" :title="subtitle">
|
|
28
|
+
{{ subtitle }}
|
|
29
|
+
</p>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div v-if="$slots.badges" class="mt-3 flex flex-wrap gap-1.5">
|
|
34
|
+
<slot name="badges" />
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<dl v-if="rows.length" class="mt-4 space-y-2.5 text-[13px]">
|
|
38
|
+
<div v-for="row in rows" :key="row.key" class="flex items-baseline justify-between gap-3">
|
|
39
|
+
<dt class="shrink-0 text-muted-foreground">
|
|
40
|
+
{{ row.label }}
|
|
41
|
+
</dt>
|
|
42
|
+
<dd class="min-w-0 truncate text-right text-[#0B0522]">
|
|
43
|
+
<slot name="value" :row="row">
|
|
44
|
+
{{ row.value || row.value === 0 ? row.value : "\u2014" }}
|
|
45
|
+
</slot>
|
|
46
|
+
</dd>
|
|
47
|
+
</div>
|
|
48
|
+
</dl>
|
|
49
|
+
|
|
50
|
+
<slot />
|
|
51
|
+
|
|
52
|
+
<div v-if="$slots.footer" class="mt-2.5 border-t border-black/[0.06] pt-2.5 text-[13px]">
|
|
53
|
+
<slot name="footer" />
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</template>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { FormContextRow } from '../../lib/formLayout.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
/** Defaults to the title's initials. Empty string = no avatar. */
|
|
6
|
+
initials?: string;
|
|
7
|
+
rows?: FormContextRow[];
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {
|
|
10
|
+
row: FormContextRow;
|
|
11
|
+
}, __VLS_7: {}, __VLS_9: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
avatar?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
badges?: (props: typeof __VLS_3) => any;
|
|
16
|
+
} & {
|
|
17
|
+
value?: (props: typeof __VLS_5) => any;
|
|
18
|
+
} & {
|
|
19
|
+
default?: (props: typeof __VLS_7) => any;
|
|
20
|
+
} & {
|
|
21
|
+
footer?: (props: typeof __VLS_9) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
rows: FormContextRow[];
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { FormSectionEntry } from '../../lib/formLayoutContext.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** `auto` = from three sections on. `false` hides it, `true` forces it from one. */
|
|
4
|
+
nav?: boolean | 'auto';
|
|
5
|
+
/** Draw the context column. Defaults to "when a `#context` slot is given". */
|
|
6
|
+
context?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Height of the sticky page header in px. The nav and context column park
|
|
9
|
+
* under it, sections scroll to just below it. 57 = PageHeader without tabs.
|
|
10
|
+
*/
|
|
11
|
+
stickyOffset?: number;
|
|
12
|
+
/** Accessible name of the navigation. Defaults to "Sections". */
|
|
13
|
+
navLabel?: string;
|
|
14
|
+
/** Accessible name of the context column. Defaults to "Summary". */
|
|
15
|
+
contextLabel?: string;
|
|
16
|
+
};
|
|
17
|
+
declare function goTo(id: string, event?: Event): void;
|
|
18
|
+
declare var __VLS_1: {
|
|
19
|
+
sections: FormSectionEntry[];
|
|
20
|
+
activeId: string | null;
|
|
21
|
+
goTo: typeof goTo;
|
|
22
|
+
}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
|
|
23
|
+
type __VLS_Slots = {} & {
|
|
24
|
+
nav?: (props: typeof __VLS_1) => any;
|
|
25
|
+
} & {
|
|
26
|
+
default?: (props: typeof __VLS_3) => any;
|
|
27
|
+
} & {
|
|
28
|
+
context?: (props: typeof __VLS_5) => any;
|
|
29
|
+
} & {
|
|
30
|
+
savebar?: (props: typeof __VLS_7) => any;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
33
|
+
activeId: import("vue").Ref<string | null, string | null>;
|
|
34
|
+
goTo: typeof goTo;
|
|
35
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
36
|
+
nav: boolean | "auto";
|
|
37
|
+
context: boolean;
|
|
38
|
+
stickyOffset: number;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|