@modufolio/panel 0.1.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/LICENSE +21 -0
- package/README.md +165 -0
- package/dist/Builder/ImageNodeView.d.ts +33 -0
- package/dist/Builder/document.d.ts +17 -0
- package/dist/Builder/dragHandle.d.ts +13 -0
- package/dist/Builder/editing.d.ts +53 -0
- package/dist/Builder/plugins.d.ts +27 -0
- package/dist/Builder/schema.d.ts +20 -0
- package/dist/Components/Actions/Action.vue.d.ts +116 -0
- package/dist/Components/Actions/ActionGroup.vue.d.ts +25 -0
- package/dist/Components/Actions/ActionGroupItem.vue.d.ts +48 -0
- package/dist/Components/Auth/ForgotPassword.vue.d.ts +17 -0
- package/dist/Components/Auth/Login.vue.d.ts +33 -0
- package/dist/Components/Auth/ResetPassword.vue.d.ts +27 -0
- package/dist/Components/Auth/TwoFactor.vue.d.ts +32 -0
- package/dist/Components/Auth/TwoFactorVerify.vue.d.ts +31 -0
- package/dist/Components/Columns/BadgeColumn.vue.d.ts +34 -0
- package/dist/Components/Columns/BooleanColumn.vue.d.ts +78 -0
- package/dist/Components/Columns/CellActions.vue.d.ts +34 -0
- package/dist/Components/Columns/ColorColumn.vue.d.ts +84 -0
- package/dist/Components/Columns/CopyButton.vue.d.ts +15 -0
- package/dist/Components/Columns/DateColumn.vue.d.ts +60 -0
- package/dist/Components/Columns/IconColumn.vue.d.ts +56 -0
- package/dist/Components/Columns/ImageColumn.vue.d.ts +46 -0
- package/dist/Components/Columns/SelectColumn.vue.d.ts +71 -0
- package/dist/Components/Columns/TextColumn.vue.d.ts +69 -0
- package/dist/Components/Columns/TextInputColumn.vue.d.ts +75 -0
- package/dist/Components/Columns/ToggleColumn.vue.d.ts +91 -0
- package/dist/Components/Columns/TreeColumn.vue.d.ts +60 -0
- package/dist/Components/Columns/columnRegistry.d.ts +6 -0
- package/dist/Components/Composables/useInlineEdit.d.ts +27 -0
- package/dist/Components/Composables/useRelationship.d.ts +38 -0
- package/dist/Components/Core/Badge.vue.d.ts +47 -0
- package/dist/Components/Core/Button.vue.d.ts +131 -0
- package/dist/Components/Core/Dropdown.vue.d.ts +24 -0
- package/dist/Components/Core/Empty.vue.d.ts +54 -0
- package/dist/Components/Core/ErrorBoundary.vue.d.ts +24 -0
- package/dist/Components/Core/FlashMessages.vue.d.ts +7 -0
- package/dist/Components/Core/Icon.vue.d.ts +23 -0
- package/dist/Components/Core/Icons/DocumentLinesIcon.vue.d.ts +3 -0
- package/dist/Components/Core/Icons/SitemapIcon.vue.d.ts +3 -0
- package/dist/Components/Core/Label.vue.d.ts +52 -0
- package/dist/Components/Core/LoadingButton.vue.d.ts +18 -0
- package/dist/Components/Core/Modal.vue.d.ts +26 -0
- package/dist/Components/Core/Pagination.vue.d.ts +10 -0
- package/dist/Components/Core/SelectInput.vue.d.ts +26 -0
- package/dist/Components/Core/Tag.vue.d.ts +65 -0
- package/dist/Components/Core/TextInput.vue.d.ts +25 -0
- package/dist/Components/Core/iconRegistry.d.ts +3 -0
- package/dist/Components/Dialogs/ConfirmDialog.vue.d.ts +16 -0
- package/dist/Components/Dialogs/DeleteConfirmDialog.vue.d.ts +30 -0
- package/dist/Components/Dialogs/Dialog.vue.d.ts +81 -0
- package/dist/Components/Drawer/Drawer.vue.d.ts +130 -0
- package/dist/Components/Drawer/DrawerFieldGrid.vue.d.ts +39 -0
- package/dist/Components/Drawer/DrawerLink.vue.d.ts +96 -0
- package/dist/Components/Drawer/DrawerRelationList.vue.d.ts +81 -0
- package/dist/Components/Drawer/DrawerStack.vue.d.ts +93 -0
- package/dist/Components/Drawer/DrawerTabs.vue.d.ts +42 -0
- package/dist/Components/Drawer/NestedDrawerForm.vue.d.ts +55 -0
- package/dist/Components/Drawer/drawerFieldGrid.d.ts +25 -0
- package/dist/Components/Drawer/drawerTabs.d.ts +16 -0
- package/dist/Components/Drawer/useDrawerPage.d.ts +34 -0
- package/dist/Components/Drawer/useDrawerStack.d.ts +93 -0
- package/dist/Components/Drawer/useFocusedStackRow.d.ts +22 -0
- package/dist/Components/Drawer/useIsDrawer.d.ts +66 -0
- package/dist/Components/Drawer/visitDrawer.d.ts +48 -0
- package/dist/Components/Fields/BelongsToSelect.vue.d.ts +247 -0
- package/dist/Components/Fields/BlueprintForm.vue.d.ts +96 -0
- package/dist/Components/Fields/Calendar/CalendarPanel.vue.d.ts +63 -0
- package/dist/Components/Fields/Calendar/MonthGrid.vue.d.ts +82 -0
- package/dist/Components/Fields/CheckboxField.vue.d.ts +92 -0
- package/dist/Components/Fields/ColorPickerField.vue.d.ts +105 -0
- package/dist/Components/Fields/DatePickerField.vue.d.ts +102 -0
- package/dist/Components/Fields/DateRangePickerField.vue.d.ts +138 -0
- package/dist/Components/Fields/DateTimePickerField.vue.d.ts +134 -0
- package/dist/Components/Fields/FieldGrid.vue.d.ts +13 -0
- package/dist/Components/Fields/FileUploadField.vue.d.ts +117 -0
- package/dist/Components/Fields/MultiSelectField.vue.d.ts +129 -0
- package/dist/Components/Fields/ProseMirrorBuilderField.vue.d.ts +71 -0
- package/dist/Components/Fields/RangeField.vue.d.ts +122 -0
- package/dist/Components/Fields/RepeaterField.vue.d.ts +174 -0
- package/dist/Components/Fields/RichTextEditorField.vue.d.ts +118 -0
- package/dist/Components/Fields/SelectField.vue.d.ts +102 -0
- package/dist/Components/Fields/TagsField.vue.d.ts +102 -0
- package/dist/Components/Fields/TextField.vue.d.ts +138 -0
- package/dist/Components/Fields/TextareaField.vue.d.ts +111 -0
- package/dist/Components/Fields/TimePickerField.vue.d.ts +115 -0
- package/dist/Components/Fields/ToggleButtonsField.vue.d.ts +93 -0
- package/dist/Components/Fields/ToggleField.vue.d.ts +95 -0
- package/dist/Components/Fields/fieldRegistry.d.ts +25 -0
- package/dist/Components/Fields/fieldsFromSpec.d.ts +10 -0
- package/dist/Components/Fields/useBlueprint.d.ts +94 -0
- package/dist/Components/Fields/useFieldWidth.d.ts +10 -0
- package/dist/Components/Fields/validation.d.ts +43 -0
- package/dist/Components/Filters/DateRangeFilter.vue.d.ts +92 -0
- package/dist/Components/Filters/FacetedFilter.vue.d.ts +41 -0
- package/dist/Components/Filters/FilterIndicators.vue.d.ts +40 -0
- package/dist/Components/Filters/FilterPopover.vue.d.ts +38 -0
- package/dist/Components/Filters/MultiSelectFilter.vue.d.ts +51 -0
- package/dist/Components/Filters/NumberFilter.vue.d.ts +61 -0
- package/dist/Components/Filters/QueryBuilder.vue.d.ts +32 -0
- package/dist/Components/Filters/SelectFilter.vue.d.ts +61 -0
- package/dist/Components/Filters/TernaryFilter.vue.d.ts +73 -0
- package/dist/Components/Layout/AppLayout.vue.d.ts +137 -0
- package/dist/Components/Layout/Breadcrumbs.vue.d.ts +44 -0
- package/dist/Components/Layout/Cluster.vue.d.ts +88 -0
- package/dist/Components/Layout/Container.vue.d.ts +69 -0
- package/dist/Components/Layout/Grid.vue.d.ts +110 -0
- package/dist/Components/Layout/PageHeader.vue.d.ts +62 -0
- package/dist/Components/Layout/Sidebar.vue.d.ts +59 -0
- package/dist/Components/Layout/Stack.vue.d.ts +69 -0
- package/dist/Components/Layout/TopNavigation.vue.d.ts +124 -0
- package/dist/Components/Media/MediaPickerDialog.vue.d.ts +20 -0
- package/dist/Components/Media/mediaEndpoints.d.ts +18 -0
- package/dist/Components/Notifications/Toast.vue.d.ts +17 -0
- package/dist/Components/Notifications/useToast.d.ts +43 -0
- package/dist/Components/Relations/RelationManager.vue.d.ts +232 -0
- package/dist/Components/Sections/FieldsSection.vue.d.ts +56 -0
- package/dist/Components/Sections/FilesSection.vue.d.ts +120 -0
- package/dist/Components/Sections/FormSection.vue.d.ts +111 -0
- package/dist/Components/Sections/InfoSection.vue.d.ts +77 -0
- package/dist/Components/Sections/Section.vue.d.ts +67 -0
- package/dist/Components/Table/ColumnToggle.vue.d.ts +42 -0
- package/dist/Components/Table/ExportButton.vue.d.ts +93 -0
- package/dist/Components/Table/SchemaCell.d.ts +50 -0
- package/dist/Components/Table/SchemaFilterPanel.vue.d.ts +64 -0
- package/dist/Components/Table/SchemaTable.vue.d.ts +255 -0
- package/dist/Components/Table/Table.vue.d.ts +232 -0
- package/dist/Components/Table/TableEmptyState.vue.d.ts +24 -0
- package/dist/Components/Table/TablePagination.vue.d.ts +71 -0
- package/dist/Components/Table/TableSkeletonRows.vue.d.ts +52 -0
- package/dist/Components/Table/TableSortButton.vue.d.ts +38 -0
- package/dist/Components/Table/TableToolbar.vue.d.ts +62 -0
- package/dist/Components/Table/schemaLinks.d.ts +16 -0
- package/dist/Components/Table/tableSchema.d.ts +243 -0
- package/dist/Components/Table/tableTypes.d.ts +13 -0
- package/dist/Components/Table/useSchemaActions.d.ts +82 -0
- package/dist/Components/Table/useSchemaFilters.d.ts +28 -0
- package/dist/Components/Table/useTableExport.d.ts +16 -0
- package/dist/Components/Table/useTableGrouping.d.ts +9 -0
- package/dist/Components/Table/useTableRowFocus.d.ts +27 -0
- package/dist/Components/Table/useTableSelection.d.ts +15 -0
- package/dist/Components/Table/useTableTree.d.ts +23 -0
- package/dist/Components/Widgets/StatCard.vue.d.ts +81 -0
- package/dist/Components/Widgets/StatsWidget.vue.d.ts +27 -0
- package/dist/Components/Wizard/Wizard.vue.d.ts +99 -0
- package/dist/Composables/useAsyncData.d.ts +48 -0
- package/dist/Composables/useDeleteConfirmation.d.ts +86 -0
- package/dist/Composables/useDragReorder.d.ts +12 -0
- package/dist/Composables/useFieldSaver.d.ts +15 -0
- package/dist/Composables/useFocusTrap.d.ts +5 -0
- package/dist/Composables/useLocalStoragePersistence.d.ts +18 -0
- package/dist/Composables/useNestedDrawerForm.d.ts +58 -0
- package/dist/Composables/usePagination.d.ts +23 -0
- package/dist/Composables/usePendingKeys.d.ts +30 -0
- package/dist/Composables/useQuery.d.ts +61 -0
- package/dist/Composables/useReconciled.d.ts +22 -0
- package/dist/Composables/useUnsavedChangesWarning.d.ts +16 -0
- package/dist/Primitives/hideOthers.d.ts +12 -0
- package/dist/Primitives/teleportTarget.d.ts +2 -0
- package/dist/Primitives/useAnchoredPosition.d.ts +32 -0
- package/dist/Primitives/useArrowNavigation.d.ts +30 -0
- package/dist/Primitives/useBodyScrollLock.d.ts +9 -0
- package/dist/Primitives/useDismissableLayer.d.ts +46 -0
- package/dist/Primitives/useId.d.ts +13 -0
- package/dist/Primitives/useTypeahead.d.ts +11 -0
- package/dist/Utils/apiFetch.d.ts +28 -0
- package/dist/Utils/csrf.d.ts +2 -0
- package/dist/Utils/dates.d.ts +50 -0
- package/dist/Utils/moduleSingleton.d.ts +21 -0
- package/dist/Utils/optimistic.d.ts +33 -0
- package/dist/Utils/reconcile.d.ts +17 -0
- package/dist/Utils/tagsChanged.d.ts +16 -0
- package/dist/Utils/url.d.ts +40 -0
- package/dist/Utils/writeGate.d.ts +82 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +157 -0
- package/dist/index.js +27193 -0
- package/dist/index.js.map +1 -0
- package/dist/injectionKeys.d.ts +10 -0
- package/dist/plugin.d.ts +36 -0
- package/dist/types/menu.d.ts +11 -0
- package/docs/async-writes.md +159 -0
- package/docs/custom-fields.md +71 -0
- package/docs/drawer-protocol.md +130 -0
- package/docs/overlays.md +106 -0
- package/docs/relation-fields.md +112 -0
- package/docs/roadmap.md +38 -0
- package/docs/table-schema.md +371 -0
- package/package.json +150 -0
- package/styles/buttons.css +31 -0
- package/styles/form.css +74 -0
- package/styles/index.css +15 -0
- package/styles/tokens.css +79 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TableColumn } from './useTableExport';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
data: {
|
|
5
|
+
type: PropType<Record<string, unknown>[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
columns: {
|
|
9
|
+
type: PropType<TableColumn[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
label: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
filename: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
showPrint: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
availableFormats: {
|
|
29
|
+
type: ArrayConstructor;
|
|
30
|
+
default: () => string[];
|
|
31
|
+
};
|
|
32
|
+
exportUrl: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
selectedRecords: {
|
|
37
|
+
type: ArrayConstructor;
|
|
38
|
+
default: () => never[];
|
|
39
|
+
};
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
export: (...args: any[]) => void;
|
|
42
|
+
print: (...args: any[]) => void;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
data: {
|
|
45
|
+
type: PropType<Record<string, unknown>[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
columns: {
|
|
49
|
+
type: PropType<TableColumn[]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
label: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
filename: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
showPrint: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
availableFormats: {
|
|
69
|
+
type: ArrayConstructor;
|
|
70
|
+
default: () => string[];
|
|
71
|
+
};
|
|
72
|
+
exportUrl: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
selectedRecords: {
|
|
77
|
+
type: ArrayConstructor;
|
|
78
|
+
default: () => never[];
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{
|
|
81
|
+
onExport?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onPrint?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
}>, {
|
|
84
|
+
label: string;
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
selectedRecords: unknown[];
|
|
87
|
+
filename: string;
|
|
88
|
+
showPrint: boolean;
|
|
89
|
+
availableFormats: unknown[];
|
|
90
|
+
exportUrl: string;
|
|
91
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
declare const _default: typeof __VLS_export;
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SchemaColumn } from './tableSchema';
|
|
3
|
+
type CellHandler = ((record: any, column: string, value: any) => unknown) | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* Renders one cell from its column definition.
|
|
6
|
+
*
|
|
7
|
+
* A render function rather than markup: the prop set differs per column type,
|
|
8
|
+
* and a chain of v-ifs in the template obscured which props each type takes.
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
column: {
|
|
12
|
+
type: PropType<SchemaColumn>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
record: {
|
|
16
|
+
type: PropType<Record<string, any>>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
value: {
|
|
20
|
+
type: null;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
handler: {
|
|
24
|
+
type: PropType<CellHandler>;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
|
+
column: {
|
|
31
|
+
type: PropType<SchemaColumn>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
record: {
|
|
35
|
+
type: PropType<Record<string, any>>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
value: {
|
|
39
|
+
type: null;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: {
|
|
43
|
+
type: PropType<CellHandler>;
|
|
44
|
+
default: undefined;
|
|
45
|
+
};
|
|
46
|
+
}>> & Readonly<{}>, {
|
|
47
|
+
value: any;
|
|
48
|
+
handler: CellHandler;
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { SchemaFilter, TableSchema } from './tableSchema';
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
filters: {
|
|
5
|
+
type: PropType<SchemaFilter[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
groups: {
|
|
9
|
+
type: PropType<NonNullable<TableSchema["groups"]>>;
|
|
10
|
+
default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
constraints: {
|
|
13
|
+
type: PropType<NonNullable<TableSchema["constraints"]>>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
};
|
|
16
|
+
/** Current filter form values, keyed by filter key. */
|
|
17
|
+
values: {
|
|
18
|
+
type: PropType<Record<string, unknown>>;
|
|
19
|
+
default: () => {};
|
|
20
|
+
};
|
|
21
|
+
activeFilterCount: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
reset: (...args: any[]) => void;
|
|
27
|
+
"update:filter": (...args: any[]) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
filters: {
|
|
30
|
+
type: PropType<SchemaFilter[]>;
|
|
31
|
+
default: () => never[];
|
|
32
|
+
};
|
|
33
|
+
groups: {
|
|
34
|
+
type: PropType<NonNullable<TableSchema["groups"]>>;
|
|
35
|
+
default: () => never[];
|
|
36
|
+
};
|
|
37
|
+
constraints: {
|
|
38
|
+
type: PropType<NonNullable<TableSchema["constraints"]>>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
/** Current filter form values, keyed by filter key. */
|
|
42
|
+
values: {
|
|
43
|
+
type: PropType<Record<string, unknown>>;
|
|
44
|
+
default: () => {};
|
|
45
|
+
};
|
|
46
|
+
activeFilterCount: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
"onUpdate:filter"?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
values: Record<string, unknown>;
|
|
55
|
+
filters: SchemaFilter[];
|
|
56
|
+
constraints: import('./tableSchema').SchemaConstraint[];
|
|
57
|
+
activeFilterCount: number;
|
|
58
|
+
groups: {
|
|
59
|
+
value: string;
|
|
60
|
+
label: string;
|
|
61
|
+
}[];
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
declare const _default: typeof __VLS_export;
|
|
64
|
+
export default _default;
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { StackItem } from '../Drawer/useDrawerStack';
|
|
3
|
+
import { SchemaColumnAction, SchemaRowAction, SchemaBulkAction, TableSchema } from './tableSchema';
|
|
4
|
+
declare var __VLS_13: string, __VLS_14: any;
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
[K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
|
+
/** Server-authored schema — see App\Table\TableSchema. */
|
|
10
|
+
schema: {
|
|
11
|
+
type: PropType<TableSchema>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
records: {
|
|
15
|
+
type: PropType<Record<string, any>[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
search: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
sortColumn: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
sortDirection: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
loading: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
/** Appended to record links so a drawer preserves the current list state. */
|
|
35
|
+
queryParams: {
|
|
36
|
+
type: PropType<Record<string, any>>;
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
39
|
+
/** Null means "use the schema's toggleable defaults". */
|
|
40
|
+
visibleColumns: {
|
|
41
|
+
type: PropType<string[] | null>;
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
/** Handlers for row actions the schema declares but the table cannot service. */
|
|
45
|
+
rowActionHandlers: {
|
|
46
|
+
type: PropType<Record<string, (record: any, action: SchemaRowAction) => unknown>>;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
49
|
+
/** The same, for bulk actions. */
|
|
50
|
+
bulkActionHandlers: {
|
|
51
|
+
type: PropType<Record<string, (records: any[], action: SchemaBulkAction) => unknown>>;
|
|
52
|
+
default: () => {};
|
|
53
|
+
};
|
|
54
|
+
externalFocusedRowIndex: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The page's drawer stack. When given, the highlighted row follows the
|
|
60
|
+
* record the top drawer is showing (arrow-key record pagination changes
|
|
61
|
+
* the stack without a click). `externalFocusedRowIndex` overrides this.
|
|
62
|
+
*/
|
|
63
|
+
stack: {
|
|
64
|
+
type: PropType<StackItem[]>;
|
|
65
|
+
default: () => never[];
|
|
66
|
+
};
|
|
67
|
+
/** Restrict stack-driven highlighting to items of this drawer type. */
|
|
68
|
+
drawerType: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Save handlers for `editable` columns, keyed by column key.
|
|
74
|
+
*
|
|
75
|
+
* The schema can declare that a column is editable and what its choices
|
|
76
|
+
* are, but not how to persist a change — a callback cannot be serialised
|
|
77
|
+
* into an Inertia prop. The page injects that behaviour here.
|
|
78
|
+
*/
|
|
79
|
+
cellHandlers: {
|
|
80
|
+
type: PropType<Record<string, (record: any, column: string, value: any) => unknown>>;
|
|
81
|
+
default: () => {};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Handlers for a column's cell `actions`, keyed by action name.
|
|
85
|
+
*
|
|
86
|
+
* Same reason as `cellHandlers`: the schema declares that an action exists
|
|
87
|
+
* and how it looks, but what it *does* cannot cross the prop boundary.
|
|
88
|
+
* Actions that navigate declare a `urlTemplate` instead and need no entry.
|
|
89
|
+
*/
|
|
90
|
+
cellActionHandlers: {
|
|
91
|
+
type: PropType<Record<string, (record: any, action: SchemaColumnAction) => unknown>>;
|
|
92
|
+
default: () => {};
|
|
93
|
+
};
|
|
94
|
+
/** Current filter form values, keyed by filter key. */
|
|
95
|
+
filterValues: {
|
|
96
|
+
type: PropType<Record<string, unknown>>;
|
|
97
|
+
default: () => {};
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Server-computed aggregates keyed by column key, from the collection's
|
|
101
|
+
* `meta.summaries`. Not part of the schema — they change with the filters.
|
|
102
|
+
*/
|
|
103
|
+
summaries: {
|
|
104
|
+
type: PropType<Record<string, Array<{
|
|
105
|
+
type: string;
|
|
106
|
+
label: string;
|
|
107
|
+
value: number | null;
|
|
108
|
+
}>>>;
|
|
109
|
+
default: () => {};
|
|
110
|
+
};
|
|
111
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
112
|
+
sort: (...args: any[]) => void;
|
|
113
|
+
"update:search": (...args: any[]) => void;
|
|
114
|
+
rowClick: (...args: any[]) => void;
|
|
115
|
+
"update:filter": (...args: any[]) => void;
|
|
116
|
+
resetFilters: (...args: any[]) => void;
|
|
117
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
118
|
+
/** Server-authored schema — see App\Table\TableSchema. */
|
|
119
|
+
schema: {
|
|
120
|
+
type: PropType<TableSchema>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
records: {
|
|
124
|
+
type: PropType<Record<string, any>[]>;
|
|
125
|
+
default: () => never[];
|
|
126
|
+
};
|
|
127
|
+
search: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
sortColumn: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: null;
|
|
134
|
+
};
|
|
135
|
+
sortDirection: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
loading: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
/** Appended to record links so a drawer preserves the current list state. */
|
|
144
|
+
queryParams: {
|
|
145
|
+
type: PropType<Record<string, any>>;
|
|
146
|
+
default: () => {};
|
|
147
|
+
};
|
|
148
|
+
/** Null means "use the schema's toggleable defaults". */
|
|
149
|
+
visibleColumns: {
|
|
150
|
+
type: PropType<string[] | null>;
|
|
151
|
+
default: null;
|
|
152
|
+
};
|
|
153
|
+
/** Handlers for row actions the schema declares but the table cannot service. */
|
|
154
|
+
rowActionHandlers: {
|
|
155
|
+
type: PropType<Record<string, (record: any, action: SchemaRowAction) => unknown>>;
|
|
156
|
+
default: () => {};
|
|
157
|
+
};
|
|
158
|
+
/** The same, for bulk actions. */
|
|
159
|
+
bulkActionHandlers: {
|
|
160
|
+
type: PropType<Record<string, (records: any[], action: SchemaBulkAction) => unknown>>;
|
|
161
|
+
default: () => {};
|
|
162
|
+
};
|
|
163
|
+
externalFocusedRowIndex: {
|
|
164
|
+
type: NumberConstructor;
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* The page's drawer stack. When given, the highlighted row follows the
|
|
169
|
+
* record the top drawer is showing (arrow-key record pagination changes
|
|
170
|
+
* the stack without a click). `externalFocusedRowIndex` overrides this.
|
|
171
|
+
*/
|
|
172
|
+
stack: {
|
|
173
|
+
type: PropType<StackItem[]>;
|
|
174
|
+
default: () => never[];
|
|
175
|
+
};
|
|
176
|
+
/** Restrict stack-driven highlighting to items of this drawer type. */
|
|
177
|
+
drawerType: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: undefined;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Save handlers for `editable` columns, keyed by column key.
|
|
183
|
+
*
|
|
184
|
+
* The schema can declare that a column is editable and what its choices
|
|
185
|
+
* are, but not how to persist a change — a callback cannot be serialised
|
|
186
|
+
* into an Inertia prop. The page injects that behaviour here.
|
|
187
|
+
*/
|
|
188
|
+
cellHandlers: {
|
|
189
|
+
type: PropType<Record<string, (record: any, column: string, value: any) => unknown>>;
|
|
190
|
+
default: () => {};
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Handlers for a column's cell `actions`, keyed by action name.
|
|
194
|
+
*
|
|
195
|
+
* Same reason as `cellHandlers`: the schema declares that an action exists
|
|
196
|
+
* and how it looks, but what it *does* cannot cross the prop boundary.
|
|
197
|
+
* Actions that navigate declare a `urlTemplate` instead and need no entry.
|
|
198
|
+
*/
|
|
199
|
+
cellActionHandlers: {
|
|
200
|
+
type: PropType<Record<string, (record: any, action: SchemaColumnAction) => unknown>>;
|
|
201
|
+
default: () => {};
|
|
202
|
+
};
|
|
203
|
+
/** Current filter form values, keyed by filter key. */
|
|
204
|
+
filterValues: {
|
|
205
|
+
type: PropType<Record<string, unknown>>;
|
|
206
|
+
default: () => {};
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Server-computed aggregates keyed by column key, from the collection's
|
|
210
|
+
* `meta.summaries`. Not part of the schema — they change with the filters.
|
|
211
|
+
*/
|
|
212
|
+
summaries: {
|
|
213
|
+
type: PropType<Record<string, Array<{
|
|
214
|
+
type: string;
|
|
215
|
+
label: string;
|
|
216
|
+
value: number | null;
|
|
217
|
+
}>>>;
|
|
218
|
+
default: () => {};
|
|
219
|
+
};
|
|
220
|
+
}>> & Readonly<{
|
|
221
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
222
|
+
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
223
|
+
onRowClick?: ((...args: any[]) => any) | undefined;
|
|
224
|
+
"onUpdate:filter"?: ((...args: any[]) => any) | undefined;
|
|
225
|
+
onResetFilters?: ((...args: any[]) => any) | undefined;
|
|
226
|
+
}>, {
|
|
227
|
+
search: string;
|
|
228
|
+
loading: boolean;
|
|
229
|
+
sortColumn: string;
|
|
230
|
+
sortDirection: string;
|
|
231
|
+
records: Record<string, any>[];
|
|
232
|
+
visibleColumns: string[] | null;
|
|
233
|
+
externalFocusedRowIndex: number;
|
|
234
|
+
stack: StackItem[];
|
|
235
|
+
queryParams: Record<string, any>;
|
|
236
|
+
rowActionHandlers: Record<string, (record: any, action: SchemaRowAction) => unknown>;
|
|
237
|
+
bulkActionHandlers: Record<string, (records: any[], action: SchemaBulkAction) => unknown>;
|
|
238
|
+
drawerType: string;
|
|
239
|
+
cellHandlers: Record<string, (record: any, column: string, value: any) => unknown>;
|
|
240
|
+
cellActionHandlers: Record<string, (record: any, action: SchemaColumnAction) => unknown>;
|
|
241
|
+
filterValues: Record<string, unknown>;
|
|
242
|
+
summaries: Record<string, {
|
|
243
|
+
type: string;
|
|
244
|
+
label: string;
|
|
245
|
+
value: number | null;
|
|
246
|
+
}[]>;
|
|
247
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
248
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
249
|
+
declare const _default: typeof __VLS_export;
|
|
250
|
+
export default _default;
|
|
251
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
252
|
+
new (): {
|
|
253
|
+
$slots: S;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TableColumn, TableRecord } from './tableTypes';
|
|
3
|
+
declare var __VLS_11: {}, __VLS_14: {}, __VLS_17: {
|
|
4
|
+
selectedRecords: TableRecord[];
|
|
5
|
+
}, __VLS_19: {}, __VLS_21: {
|
|
6
|
+
selected: TableRecord[];
|
|
7
|
+
}, __VLS_36: `cell-${string}`, __VLS_37: {
|
|
8
|
+
record: TableRecord;
|
|
9
|
+
value: unknown;
|
|
10
|
+
treeHasChildren: boolean;
|
|
11
|
+
treeCollapsed: boolean;
|
|
12
|
+
treeToggle: () => void;
|
|
13
|
+
}, __VLS_39: {
|
|
14
|
+
record: TableRecord;
|
|
15
|
+
}, __VLS_41: {
|
|
16
|
+
record: TableRecord;
|
|
17
|
+
}, __VLS_43: {}, __VLS_50: {
|
|
18
|
+
column: TableColumn;
|
|
19
|
+
}, __VLS_52: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
[K in NonNullable<typeof __VLS_36>]?: (props: typeof __VLS_37) => any;
|
|
22
|
+
} & {
|
|
23
|
+
header?: (props: typeof __VLS_11) => any;
|
|
24
|
+
} & {
|
|
25
|
+
filters?: (props: typeof __VLS_14) => any;
|
|
26
|
+
} & {
|
|
27
|
+
headerActions?: (props: typeof __VLS_17) => any;
|
|
28
|
+
} & {
|
|
29
|
+
filterIndicators?: (props: typeof __VLS_19) => any;
|
|
30
|
+
} & {
|
|
31
|
+
bulkActions?: (props: typeof __VLS_21) => any;
|
|
32
|
+
} & {
|
|
33
|
+
actions?: (props: typeof __VLS_39) => any;
|
|
34
|
+
} & {
|
|
35
|
+
expandedRow?: (props: typeof __VLS_41) => any;
|
|
36
|
+
} & {
|
|
37
|
+
emptyState?: (props: typeof __VLS_43) => any;
|
|
38
|
+
} & {
|
|
39
|
+
summary?: (props: typeof __VLS_50) => any;
|
|
40
|
+
} & {
|
|
41
|
+
pagination?: (props: typeof __VLS_52) => any;
|
|
42
|
+
};
|
|
43
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
44
|
+
columns: {
|
|
45
|
+
type: PropType<TableColumn[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
records: {
|
|
49
|
+
type: PropType<TableRecord[]>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
searchable: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
search: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
bulkActionsEnabled: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
sortColumn: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: null;
|
|
67
|
+
};
|
|
68
|
+
sortDirection: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
visibleColumns: {
|
|
73
|
+
type: PropType<string[]>;
|
|
74
|
+
default: null;
|
|
75
|
+
};
|
|
76
|
+
emptyStateTitle: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
emptyStateDescription: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
loading: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
skeletonRows: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
stickyHeader: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
expandable: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
externalFocusedRowIndex: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
treeCollapsible: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
treeDepthKey: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Field (dot path allowed) whose value clusters rows under a heading.
|
|
114
|
+
* The server is responsible for ordering by it; this only draws the break.
|
|
115
|
+
*/
|
|
116
|
+
groupBy: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
121
|
+
sort: (...args: any[]) => void;
|
|
122
|
+
"update:search": (...args: any[]) => void;
|
|
123
|
+
bulkAction: (...args: any[]) => void;
|
|
124
|
+
rowClick: (...args: any[]) => void;
|
|
125
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
126
|
+
columns: {
|
|
127
|
+
type: PropType<TableColumn[]>;
|
|
128
|
+
required: true;
|
|
129
|
+
};
|
|
130
|
+
records: {
|
|
131
|
+
type: PropType<TableRecord[]>;
|
|
132
|
+
required: true;
|
|
133
|
+
};
|
|
134
|
+
searchable: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: boolean;
|
|
137
|
+
};
|
|
138
|
+
search: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
bulkActionsEnabled: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
sortColumn: {
|
|
147
|
+
type: StringConstructor;
|
|
148
|
+
default: null;
|
|
149
|
+
};
|
|
150
|
+
sortDirection: {
|
|
151
|
+
type: StringConstructor;
|
|
152
|
+
default: string;
|
|
153
|
+
};
|
|
154
|
+
visibleColumns: {
|
|
155
|
+
type: PropType<string[]>;
|
|
156
|
+
default: null;
|
|
157
|
+
};
|
|
158
|
+
emptyStateTitle: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
default: string;
|
|
161
|
+
};
|
|
162
|
+
emptyStateDescription: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
loading: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
skeletonRows: {
|
|
171
|
+
type: NumberConstructor;
|
|
172
|
+
default: number;
|
|
173
|
+
};
|
|
174
|
+
stickyHeader: {
|
|
175
|
+
type: BooleanConstructor;
|
|
176
|
+
default: boolean;
|
|
177
|
+
};
|
|
178
|
+
expandable: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
182
|
+
externalFocusedRowIndex: {
|
|
183
|
+
type: NumberConstructor;
|
|
184
|
+
default: number;
|
|
185
|
+
};
|
|
186
|
+
treeCollapsible: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: boolean;
|
|
189
|
+
};
|
|
190
|
+
treeDepthKey: {
|
|
191
|
+
type: StringConstructor;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Field (dot path allowed) whose value clusters rows under a heading.
|
|
196
|
+
* The server is responsible for ordering by it; this only draws the break.
|
|
197
|
+
*/
|
|
198
|
+
groupBy: {
|
|
199
|
+
type: StringConstructor;
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
}>> & Readonly<{
|
|
203
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
204
|
+
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
205
|
+
onBulkAction?: ((...args: any[]) => any) | undefined;
|
|
206
|
+
onRowClick?: ((...args: any[]) => any) | undefined;
|
|
207
|
+
}>, {
|
|
208
|
+
search: string;
|
|
209
|
+
searchable: boolean;
|
|
210
|
+
loading: boolean;
|
|
211
|
+
sortColumn: string;
|
|
212
|
+
sortDirection: string;
|
|
213
|
+
expandable: boolean;
|
|
214
|
+
bulkActionsEnabled: boolean;
|
|
215
|
+
visibleColumns: string[];
|
|
216
|
+
emptyStateTitle: string;
|
|
217
|
+
emptyStateDescription: string;
|
|
218
|
+
skeletonRows: number;
|
|
219
|
+
stickyHeader: boolean;
|
|
220
|
+
externalFocusedRowIndex: number;
|
|
221
|
+
treeCollapsible: boolean;
|
|
222
|
+
treeDepthKey: string;
|
|
223
|
+
groupBy: string;
|
|
224
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
225
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
226
|
+
declare const _default: typeof __VLS_export;
|
|
227
|
+
export default _default;
|
|
228
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
229
|
+
new (): {
|
|
230
|
+
$slots: S;
|
|
231
|
+
};
|
|
232
|
+
};
|