@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.
Files changed (194) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +165 -0
  3. package/dist/Builder/ImageNodeView.d.ts +33 -0
  4. package/dist/Builder/document.d.ts +17 -0
  5. package/dist/Builder/dragHandle.d.ts +13 -0
  6. package/dist/Builder/editing.d.ts +53 -0
  7. package/dist/Builder/plugins.d.ts +27 -0
  8. package/dist/Builder/schema.d.ts +20 -0
  9. package/dist/Components/Actions/Action.vue.d.ts +116 -0
  10. package/dist/Components/Actions/ActionGroup.vue.d.ts +25 -0
  11. package/dist/Components/Actions/ActionGroupItem.vue.d.ts +48 -0
  12. package/dist/Components/Auth/ForgotPassword.vue.d.ts +17 -0
  13. package/dist/Components/Auth/Login.vue.d.ts +33 -0
  14. package/dist/Components/Auth/ResetPassword.vue.d.ts +27 -0
  15. package/dist/Components/Auth/TwoFactor.vue.d.ts +32 -0
  16. package/dist/Components/Auth/TwoFactorVerify.vue.d.ts +31 -0
  17. package/dist/Components/Columns/BadgeColumn.vue.d.ts +34 -0
  18. package/dist/Components/Columns/BooleanColumn.vue.d.ts +78 -0
  19. package/dist/Components/Columns/CellActions.vue.d.ts +34 -0
  20. package/dist/Components/Columns/ColorColumn.vue.d.ts +84 -0
  21. package/dist/Components/Columns/CopyButton.vue.d.ts +15 -0
  22. package/dist/Components/Columns/DateColumn.vue.d.ts +60 -0
  23. package/dist/Components/Columns/IconColumn.vue.d.ts +56 -0
  24. package/dist/Components/Columns/ImageColumn.vue.d.ts +46 -0
  25. package/dist/Components/Columns/SelectColumn.vue.d.ts +71 -0
  26. package/dist/Components/Columns/TextColumn.vue.d.ts +69 -0
  27. package/dist/Components/Columns/TextInputColumn.vue.d.ts +75 -0
  28. package/dist/Components/Columns/ToggleColumn.vue.d.ts +91 -0
  29. package/dist/Components/Columns/TreeColumn.vue.d.ts +60 -0
  30. package/dist/Components/Columns/columnRegistry.d.ts +6 -0
  31. package/dist/Components/Composables/useInlineEdit.d.ts +27 -0
  32. package/dist/Components/Composables/useRelationship.d.ts +38 -0
  33. package/dist/Components/Core/Badge.vue.d.ts +47 -0
  34. package/dist/Components/Core/Button.vue.d.ts +131 -0
  35. package/dist/Components/Core/Dropdown.vue.d.ts +24 -0
  36. package/dist/Components/Core/Empty.vue.d.ts +54 -0
  37. package/dist/Components/Core/ErrorBoundary.vue.d.ts +24 -0
  38. package/dist/Components/Core/FlashMessages.vue.d.ts +7 -0
  39. package/dist/Components/Core/Icon.vue.d.ts +23 -0
  40. package/dist/Components/Core/Icons/DocumentLinesIcon.vue.d.ts +3 -0
  41. package/dist/Components/Core/Icons/SitemapIcon.vue.d.ts +3 -0
  42. package/dist/Components/Core/Label.vue.d.ts +52 -0
  43. package/dist/Components/Core/LoadingButton.vue.d.ts +18 -0
  44. package/dist/Components/Core/Modal.vue.d.ts +26 -0
  45. package/dist/Components/Core/Pagination.vue.d.ts +10 -0
  46. package/dist/Components/Core/SelectInput.vue.d.ts +26 -0
  47. package/dist/Components/Core/Tag.vue.d.ts +65 -0
  48. package/dist/Components/Core/TextInput.vue.d.ts +25 -0
  49. package/dist/Components/Core/iconRegistry.d.ts +3 -0
  50. package/dist/Components/Dialogs/ConfirmDialog.vue.d.ts +16 -0
  51. package/dist/Components/Dialogs/DeleteConfirmDialog.vue.d.ts +30 -0
  52. package/dist/Components/Dialogs/Dialog.vue.d.ts +81 -0
  53. package/dist/Components/Drawer/Drawer.vue.d.ts +130 -0
  54. package/dist/Components/Drawer/DrawerFieldGrid.vue.d.ts +39 -0
  55. package/dist/Components/Drawer/DrawerLink.vue.d.ts +96 -0
  56. package/dist/Components/Drawer/DrawerRelationList.vue.d.ts +81 -0
  57. package/dist/Components/Drawer/DrawerStack.vue.d.ts +93 -0
  58. package/dist/Components/Drawer/DrawerTabs.vue.d.ts +42 -0
  59. package/dist/Components/Drawer/NestedDrawerForm.vue.d.ts +55 -0
  60. package/dist/Components/Drawer/drawerFieldGrid.d.ts +25 -0
  61. package/dist/Components/Drawer/drawerTabs.d.ts +16 -0
  62. package/dist/Components/Drawer/useDrawerPage.d.ts +34 -0
  63. package/dist/Components/Drawer/useDrawerStack.d.ts +93 -0
  64. package/dist/Components/Drawer/useFocusedStackRow.d.ts +22 -0
  65. package/dist/Components/Drawer/useIsDrawer.d.ts +66 -0
  66. package/dist/Components/Drawer/visitDrawer.d.ts +48 -0
  67. package/dist/Components/Fields/BelongsToSelect.vue.d.ts +247 -0
  68. package/dist/Components/Fields/BlueprintForm.vue.d.ts +96 -0
  69. package/dist/Components/Fields/Calendar/CalendarPanel.vue.d.ts +63 -0
  70. package/dist/Components/Fields/Calendar/MonthGrid.vue.d.ts +82 -0
  71. package/dist/Components/Fields/CheckboxField.vue.d.ts +92 -0
  72. package/dist/Components/Fields/ColorPickerField.vue.d.ts +105 -0
  73. package/dist/Components/Fields/DatePickerField.vue.d.ts +102 -0
  74. package/dist/Components/Fields/DateRangePickerField.vue.d.ts +138 -0
  75. package/dist/Components/Fields/DateTimePickerField.vue.d.ts +134 -0
  76. package/dist/Components/Fields/FieldGrid.vue.d.ts +13 -0
  77. package/dist/Components/Fields/FileUploadField.vue.d.ts +117 -0
  78. package/dist/Components/Fields/MultiSelectField.vue.d.ts +129 -0
  79. package/dist/Components/Fields/ProseMirrorBuilderField.vue.d.ts +71 -0
  80. package/dist/Components/Fields/RangeField.vue.d.ts +122 -0
  81. package/dist/Components/Fields/RepeaterField.vue.d.ts +174 -0
  82. package/dist/Components/Fields/RichTextEditorField.vue.d.ts +118 -0
  83. package/dist/Components/Fields/SelectField.vue.d.ts +102 -0
  84. package/dist/Components/Fields/TagsField.vue.d.ts +102 -0
  85. package/dist/Components/Fields/TextField.vue.d.ts +138 -0
  86. package/dist/Components/Fields/TextareaField.vue.d.ts +111 -0
  87. package/dist/Components/Fields/TimePickerField.vue.d.ts +115 -0
  88. package/dist/Components/Fields/ToggleButtonsField.vue.d.ts +93 -0
  89. package/dist/Components/Fields/ToggleField.vue.d.ts +95 -0
  90. package/dist/Components/Fields/fieldRegistry.d.ts +25 -0
  91. package/dist/Components/Fields/fieldsFromSpec.d.ts +10 -0
  92. package/dist/Components/Fields/useBlueprint.d.ts +94 -0
  93. package/dist/Components/Fields/useFieldWidth.d.ts +10 -0
  94. package/dist/Components/Fields/validation.d.ts +43 -0
  95. package/dist/Components/Filters/DateRangeFilter.vue.d.ts +92 -0
  96. package/dist/Components/Filters/FacetedFilter.vue.d.ts +41 -0
  97. package/dist/Components/Filters/FilterIndicators.vue.d.ts +40 -0
  98. package/dist/Components/Filters/FilterPopover.vue.d.ts +38 -0
  99. package/dist/Components/Filters/MultiSelectFilter.vue.d.ts +51 -0
  100. package/dist/Components/Filters/NumberFilter.vue.d.ts +61 -0
  101. package/dist/Components/Filters/QueryBuilder.vue.d.ts +32 -0
  102. package/dist/Components/Filters/SelectFilter.vue.d.ts +61 -0
  103. package/dist/Components/Filters/TernaryFilter.vue.d.ts +73 -0
  104. package/dist/Components/Layout/AppLayout.vue.d.ts +137 -0
  105. package/dist/Components/Layout/Breadcrumbs.vue.d.ts +44 -0
  106. package/dist/Components/Layout/Cluster.vue.d.ts +88 -0
  107. package/dist/Components/Layout/Container.vue.d.ts +69 -0
  108. package/dist/Components/Layout/Grid.vue.d.ts +110 -0
  109. package/dist/Components/Layout/PageHeader.vue.d.ts +62 -0
  110. package/dist/Components/Layout/Sidebar.vue.d.ts +59 -0
  111. package/dist/Components/Layout/Stack.vue.d.ts +69 -0
  112. package/dist/Components/Layout/TopNavigation.vue.d.ts +124 -0
  113. package/dist/Components/Media/MediaPickerDialog.vue.d.ts +20 -0
  114. package/dist/Components/Media/mediaEndpoints.d.ts +18 -0
  115. package/dist/Components/Notifications/Toast.vue.d.ts +17 -0
  116. package/dist/Components/Notifications/useToast.d.ts +43 -0
  117. package/dist/Components/Relations/RelationManager.vue.d.ts +232 -0
  118. package/dist/Components/Sections/FieldsSection.vue.d.ts +56 -0
  119. package/dist/Components/Sections/FilesSection.vue.d.ts +120 -0
  120. package/dist/Components/Sections/FormSection.vue.d.ts +111 -0
  121. package/dist/Components/Sections/InfoSection.vue.d.ts +77 -0
  122. package/dist/Components/Sections/Section.vue.d.ts +67 -0
  123. package/dist/Components/Table/ColumnToggle.vue.d.ts +42 -0
  124. package/dist/Components/Table/ExportButton.vue.d.ts +93 -0
  125. package/dist/Components/Table/SchemaCell.d.ts +50 -0
  126. package/dist/Components/Table/SchemaFilterPanel.vue.d.ts +64 -0
  127. package/dist/Components/Table/SchemaTable.vue.d.ts +255 -0
  128. package/dist/Components/Table/Table.vue.d.ts +232 -0
  129. package/dist/Components/Table/TableEmptyState.vue.d.ts +24 -0
  130. package/dist/Components/Table/TablePagination.vue.d.ts +71 -0
  131. package/dist/Components/Table/TableSkeletonRows.vue.d.ts +52 -0
  132. package/dist/Components/Table/TableSortButton.vue.d.ts +38 -0
  133. package/dist/Components/Table/TableToolbar.vue.d.ts +62 -0
  134. package/dist/Components/Table/schemaLinks.d.ts +16 -0
  135. package/dist/Components/Table/tableSchema.d.ts +243 -0
  136. package/dist/Components/Table/tableTypes.d.ts +13 -0
  137. package/dist/Components/Table/useSchemaActions.d.ts +82 -0
  138. package/dist/Components/Table/useSchemaFilters.d.ts +28 -0
  139. package/dist/Components/Table/useTableExport.d.ts +16 -0
  140. package/dist/Components/Table/useTableGrouping.d.ts +9 -0
  141. package/dist/Components/Table/useTableRowFocus.d.ts +27 -0
  142. package/dist/Components/Table/useTableSelection.d.ts +15 -0
  143. package/dist/Components/Table/useTableTree.d.ts +23 -0
  144. package/dist/Components/Widgets/StatCard.vue.d.ts +81 -0
  145. package/dist/Components/Widgets/StatsWidget.vue.d.ts +27 -0
  146. package/dist/Components/Wizard/Wizard.vue.d.ts +99 -0
  147. package/dist/Composables/useAsyncData.d.ts +48 -0
  148. package/dist/Composables/useDeleteConfirmation.d.ts +86 -0
  149. package/dist/Composables/useDragReorder.d.ts +12 -0
  150. package/dist/Composables/useFieldSaver.d.ts +15 -0
  151. package/dist/Composables/useFocusTrap.d.ts +5 -0
  152. package/dist/Composables/useLocalStoragePersistence.d.ts +18 -0
  153. package/dist/Composables/useNestedDrawerForm.d.ts +58 -0
  154. package/dist/Composables/usePagination.d.ts +23 -0
  155. package/dist/Composables/usePendingKeys.d.ts +30 -0
  156. package/dist/Composables/useQuery.d.ts +61 -0
  157. package/dist/Composables/useReconciled.d.ts +22 -0
  158. package/dist/Composables/useUnsavedChangesWarning.d.ts +16 -0
  159. package/dist/Primitives/hideOthers.d.ts +12 -0
  160. package/dist/Primitives/teleportTarget.d.ts +2 -0
  161. package/dist/Primitives/useAnchoredPosition.d.ts +32 -0
  162. package/dist/Primitives/useArrowNavigation.d.ts +30 -0
  163. package/dist/Primitives/useBodyScrollLock.d.ts +9 -0
  164. package/dist/Primitives/useDismissableLayer.d.ts +46 -0
  165. package/dist/Primitives/useId.d.ts +13 -0
  166. package/dist/Primitives/useTypeahead.d.ts +11 -0
  167. package/dist/Utils/apiFetch.d.ts +28 -0
  168. package/dist/Utils/csrf.d.ts +2 -0
  169. package/dist/Utils/dates.d.ts +50 -0
  170. package/dist/Utils/moduleSingleton.d.ts +21 -0
  171. package/dist/Utils/optimistic.d.ts +33 -0
  172. package/dist/Utils/reconcile.d.ts +17 -0
  173. package/dist/Utils/tagsChanged.d.ts +16 -0
  174. package/dist/Utils/url.d.ts +40 -0
  175. package/dist/Utils/writeGate.d.ts +82 -0
  176. package/dist/index.css +1 -0
  177. package/dist/index.d.ts +157 -0
  178. package/dist/index.js +27193 -0
  179. package/dist/index.js.map +1 -0
  180. package/dist/injectionKeys.d.ts +10 -0
  181. package/dist/plugin.d.ts +36 -0
  182. package/dist/types/menu.d.ts +11 -0
  183. package/docs/async-writes.md +159 -0
  184. package/docs/custom-fields.md +71 -0
  185. package/docs/drawer-protocol.md +130 -0
  186. package/docs/overlays.md +106 -0
  187. package/docs/relation-fields.md +112 -0
  188. package/docs/roadmap.md +38 -0
  189. package/docs/table-schema.md +371 -0
  190. package/package.json +150 -0
  191. package/styles/buttons.css +31 -0
  192. package/styles/form.css +74 -0
  193. package/styles/index.css +15 -0
  194. package/styles/tokens.css +79 -0
@@ -0,0 +1,91 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ value: {
3
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
4
+ default: boolean;
5
+ };
6
+ record: {
7
+ type: ObjectConstructor;
8
+ required: true;
9
+ };
10
+ column: {
11
+ type: StringConstructor;
12
+ required: true;
13
+ };
14
+ color: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ validator: (value: unknown) => boolean;
18
+ };
19
+ disabled: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ showLabel: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ onLabel: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ offLabel: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ onUpdate: {
36
+ type: FunctionConstructor;
37
+ default: null;
38
+ };
39
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
+ update: (...args: any[]) => void;
41
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
42
+ value: {
43
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
44
+ default: boolean;
45
+ };
46
+ record: {
47
+ type: ObjectConstructor;
48
+ required: true;
49
+ };
50
+ column: {
51
+ type: StringConstructor;
52
+ required: true;
53
+ };
54
+ color: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ validator: (value: unknown) => boolean;
58
+ };
59
+ disabled: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ showLabel: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ onLabel: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ offLabel: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ onUpdate: {
76
+ type: FunctionConstructor;
77
+ default: null;
78
+ };
79
+ }>> & Readonly<{
80
+ onUpdate?: ((...args: any[]) => any) | undefined;
81
+ }>, {
82
+ value: string | number | boolean;
83
+ disabled: boolean;
84
+ color: string;
85
+ onUpdate: Function;
86
+ showLabel: boolean;
87
+ onLabel: string;
88
+ offLabel: string;
89
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
90
+ declare const _default: typeof __VLS_export;
91
+ export default _default;
@@ -0,0 +1,60 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ label: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ depth: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ labelClass: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ hasChildren: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ collapsed: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ onToggle: {
23
+ type: FunctionConstructor;
24
+ default: null;
25
+ };
26
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ label: {
28
+ type: (StringConstructor | NumberConstructor)[];
29
+ default: string;
30
+ };
31
+ depth: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ labelClass: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ hasChildren: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ collapsed: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ onToggle: {
48
+ type: FunctionConstructor;
49
+ default: null;
50
+ };
51
+ }>> & Readonly<{}>, {
52
+ label: string | number;
53
+ onToggle: Function;
54
+ labelClass: string;
55
+ depth: number;
56
+ hasChildren: boolean;
57
+ collapsed: boolean;
58
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
59
+ declare const _default: typeof __VLS_export;
60
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Component } from 'vue';
2
+ export declare function registerColumnType(type: string, component: Component): void;
3
+ /** The component for a type, or undefined when the built-in should handle it. */
4
+ export declare function resolveColumnComponent(type: string): Component | undefined;
5
+ /** Registered custom types, for diagnostics and tests. */
6
+ export declare function registeredColumnTypes(): string[];
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Composable for handling inline table editing with backend integration
3
+ */
4
+ export interface Page {
5
+ props: Record<string, unknown>;
6
+ }
7
+ export type FieldUpdateValue = string | number | boolean | null | undefined;
8
+ export type RecordData = Record<string, FieldUpdateValue>;
9
+ export interface InlineEditOptions {
10
+ endpoint?: string | null;
11
+ method?: 'get' | 'post' | 'patch' | 'delete';
12
+ onSuccess?: ((page: Page, record: TableRecord, field: string | RecordData, value?: FieldUpdateValue) => void) | null;
13
+ onError?: ((errors: Record<string, unknown>, record: TableRecord, field: string | RecordData, value?: FieldUpdateValue) => void) | null;
14
+ preserveScroll?: boolean;
15
+ preserveState?: boolean | 'errors';
16
+ only?: string[];
17
+ invalidateCacheTags?: string[];
18
+ }
19
+ export interface TableRecord {
20
+ id: number | string;
21
+ [key: string]: FieldUpdateValue | FieldUpdateValue[];
22
+ }
23
+ export declare function useInlineEdit(options?: InlineEditOptions): {
24
+ updateField: (record: TableRecord, field: string, value: FieldUpdateValue) => Promise<Page>;
25
+ updateRecord: (record: TableRecord, data: RecordData) => Promise<Page>;
26
+ createUpdateHandler: (customEndpoint?: string | null) => (record: TableRecord, column: string, value: FieldUpdateValue) => Promise<Page>;
27
+ };
@@ -0,0 +1,38 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+ export interface RelationshipConfig {
3
+ endpoint?: string | null;
4
+ relationship?: string | null;
5
+ include?: string[];
6
+ searchable?: boolean;
7
+ perPage?: number;
8
+ }
9
+ export interface QueryOptions {
10
+ page?: number;
11
+ perPage?: number;
12
+ filters?: Record<string, unknown>;
13
+ sort?: string | string[];
14
+ }
15
+ /**
16
+ * Composable for handling relationship data fetching and management
17
+ * Based on JsonApiQueryBuilder patterns
18
+ */
19
+ export declare function useRelationship(config?: RelationshipConfig): {
20
+ records: Ref<Record<string, unknown>[], Record<string, unknown>[]>;
21
+ loading: Ref<boolean, boolean>;
22
+ searchTerm: Ref<string, string>;
23
+ page: Ref<number, number>;
24
+ totalRecords: Ref<number, number>;
25
+ lastPage: Ref<number, number>;
26
+ hasRecords: ComputedRef<boolean>;
27
+ isEmpty: ComputedRef<boolean>;
28
+ fetchRecords: (options?: QueryOptions) => Promise<Record<string, unknown>>;
29
+ search: (term: string) => Promise<void>;
30
+ goToPage: (pageNumber: number) => Promise<void>;
31
+ attach: (resourceId: string | number, relatedId: string | number) => Promise<boolean>;
32
+ detach: (resourceId: string | number, relatedId: string | number) => Promise<boolean>;
33
+ associate: (resourceId: string | number, relatedId: string | number) => Promise<boolean>;
34
+ dissociate: (resourceId: string | number) => Promise<boolean>;
35
+ create: (resourceId: string | number, data: Record<string, unknown>) => Promise<Record<string, unknown>>;
36
+ deleteRecord: (relatedId: string | number) => Promise<boolean>;
37
+ buildQueryParams: (options?: QueryOptions) => Record<string, unknown>;
38
+ };
@@ -0,0 +1,47 @@
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').ExtractPropTypes<{
6
+ label: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: string;
9
+ };
10
+ color: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ validator: (v: string) => boolean;
14
+ };
15
+ size: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ validator: (v: string) => boolean;
19
+ };
20
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ label: {
22
+ type: (StringConstructor | NumberConstructor)[];
23
+ default: string;
24
+ };
25
+ color: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ validator: (v: string) => boolean;
29
+ };
30
+ size: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ validator: (v: string) => boolean;
34
+ };
35
+ }>> & Readonly<{}>, {
36
+ size: string;
37
+ label: string | number;
38
+ color: string;
39
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, 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
+ };
@@ -0,0 +1,131 @@
1
+ declare var __VLS_15: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_15) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ label: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ as: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ validator: (v: string) => boolean;
14
+ };
15
+ href: {
16
+ type: StringConstructor;
17
+ default: null;
18
+ };
19
+ type: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ validator: (v: string) => boolean;
23
+ };
24
+ icon: {
25
+ type: (ObjectConstructor | FunctionConstructor)[];
26
+ default: null;
27
+ };
28
+ iconPosition: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ validator: (v: string) => boolean;
32
+ };
33
+ color: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ validator: (v: string) => boolean;
37
+ };
38
+ variant: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ validator: (v: string) => boolean;
42
+ };
43
+ size: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ validator: (v: string) => boolean;
47
+ };
48
+ loading: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ disabled: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
+ click: (...args: any[]) => void;
58
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
59
+ label: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ as: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ validator: (v: string) => boolean;
67
+ };
68
+ href: {
69
+ type: StringConstructor;
70
+ default: null;
71
+ };
72
+ type: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ validator: (v: string) => boolean;
76
+ };
77
+ icon: {
78
+ type: (ObjectConstructor | FunctionConstructor)[];
79
+ default: null;
80
+ };
81
+ iconPosition: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ validator: (v: string) => boolean;
85
+ };
86
+ color: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ validator: (v: string) => boolean;
90
+ };
91
+ variant: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ validator: (v: string) => boolean;
95
+ };
96
+ size: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ validator: (v: string) => boolean;
100
+ };
101
+ loading: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ disabled: {
106
+ type: BooleanConstructor;
107
+ default: boolean;
108
+ };
109
+ }>> & Readonly<{
110
+ onClick?: ((...args: any[]) => any) | undefined;
111
+ }>, {
112
+ size: string;
113
+ label: string;
114
+ type: string;
115
+ disabled: boolean;
116
+ color: string;
117
+ loading: boolean;
118
+ as: string;
119
+ href: string;
120
+ icon: Function | Record<string, any>;
121
+ iconPosition: string;
122
+ variant: string;
123
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
124
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
125
+ declare const _default: typeof __VLS_export;
126
+ export default _default;
127
+ type __VLS_WithSlots<T, S> = T & {
128
+ new (): {
129
+ $slots: S;
130
+ };
131
+ };
@@ -0,0 +1,24 @@
1
+ import { Placement } from '@floating-ui/vue';
2
+ type __VLS_Props = {
3
+ placement?: Placement;
4
+ /** Close the menu when an item inside it is clicked. */
5
+ autoClose?: boolean;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_9: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ dropdown?: (props: typeof __VLS_9) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ placement: Placement;
15
+ autoClose: boolean;
16
+ }, {}, {}, {}, 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;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,54 @@
1
+ declare var __VLS_6: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_6) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ icon: {
7
+ type: (ObjectConstructor | FunctionConstructor)[];
8
+ default: null;
9
+ };
10
+ heading: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ text: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ size: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ validator: (v: string) => boolean;
22
+ };
23
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
+ icon: {
25
+ type: (ObjectConstructor | FunctionConstructor)[];
26
+ default: null;
27
+ };
28
+ heading: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ text: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ size: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ validator: (v: string) => boolean;
40
+ };
41
+ }>> & Readonly<{}>, {
42
+ size: string;
43
+ text: string;
44
+ icon: Function | Record<string, any>;
45
+ heading: string;
46
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
47
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
48
+ declare const _default: typeof __VLS_export;
49
+ export default _default;
50
+ type __VLS_WithSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ };
4
+ declare function reset(): void;
5
+ declare var __VLS_1: {}, __VLS_3: {
6
+ error: Error;
7
+ reset: typeof reset;
8
+ };
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ } & {
12
+ fallback?: (props: typeof __VLS_3) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ label: string;
16
+ }, {}, {}, {}, 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;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,7 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {
4
+ show: boolean;
5
+ }, {
6
+ flash(): any;
7
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,23 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ name: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ ariaHidden: {
7
+ type: (StringConstructor | BooleanConstructor)[];
8
+ default: boolean;
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ name: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ ariaHidden: {
16
+ type: (StringConstructor | BooleanConstructor)[];
17
+ default: boolean;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ ariaHidden: string | boolean;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
@@ -0,0 +1,52 @@
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').ExtractPropTypes<{
6
+ text: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ forId: {
11
+ type: StringConstructor;
12
+ default: undefined;
13
+ };
14
+ required: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ labelClass: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
+ text: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ forId: {
28
+ type: StringConstructor;
29
+ default: undefined;
30
+ };
31
+ required: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ labelClass: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ }>> & Readonly<{}>, {
40
+ required: boolean;
41
+ text: string;
42
+ forId: string;
43
+ labelClass: string;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
48
+ type __VLS_WithSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ loading?: boolean;
3
+ };
4
+ declare var __VLS_1: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ loading: boolean;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,26 @@
1
+ type __VLS_Props = {
2
+ show?: boolean;
3
+ maxWidth?: string;
4
+ };
5
+ declare var __VLS_13: {}, __VLS_15: {};
6
+ type __VLS_Slots = {} & {
7
+ header?: (props: typeof __VLS_13) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_15) => any;
10
+ };
11
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
12
+ close: () => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onClose?: (() => any) | undefined;
15
+ }>, {
16
+ show: boolean;
17
+ maxWidth: string;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ links: Array<{
3
+ url: string | null;
4
+ label: string;
5
+ active: boolean;
6
+ }>;
7
+ };
8
+ 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>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;