@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,41 @@
1
+ export interface FacetOption {
2
+ label: string;
3
+ value: string | number;
4
+ count?: number;
5
+ }
6
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ label: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ options: {
12
+ type: () => FacetOption[];
13
+ default: () => never[];
14
+ };
15
+ modelValue: {
16
+ type: () => Array<string | number>;
17
+ default: () => never[];
18
+ };
19
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:modelValue": (value: (string | number)[]) => any;
21
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
+ label: {
23
+ type: StringConstructor;
24
+ required: true;
25
+ };
26
+ options: {
27
+ type: () => FacetOption[];
28
+ default: () => never[];
29
+ };
30
+ modelValue: {
31
+ type: () => Array<string | number>;
32
+ default: () => never[];
33
+ };
34
+ }>> & Readonly<{
35
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
36
+ }>, {
37
+ modelValue: (string | number)[];
38
+ options: FacetOption[];
39
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
40
+ declare const _default: typeof __VLS_export;
41
+ export default _default;
@@ -0,0 +1,40 @@
1
+ import { PropType } from 'vue';
2
+ export interface FilterIndicator {
3
+ /** Filter key, handed back on remove. */
4
+ key: string;
5
+ label: string;
6
+ /** The active value, already in words. */
7
+ value: string;
8
+ }
9
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
10
+ indicators: {
11
+ type: PropType<FilterIndicator[]>;
12
+ default: () => never[];
13
+ };
14
+ /** Longest value shown before it is cut; the full text stays in the title. */
15
+ limit: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ clear: () => any;
21
+ remove: (key: string) => any;
22
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
+ indicators: {
24
+ type: PropType<FilterIndicator[]>;
25
+ default: () => never[];
26
+ };
27
+ /** Longest value shown before it is cut; the full text stays in the title. */
28
+ limit: {
29
+ type: NumberConstructor;
30
+ default: number;
31
+ };
32
+ }>> & Readonly<{
33
+ onClear?: (() => any) | undefined;
34
+ onRemove?: ((key: string) => any) | undefined;
35
+ }>, {
36
+ indicators: FilterIndicator[];
37
+ limit: number;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
@@ -0,0 +1,38 @@
1
+ declare var __VLS_13: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_13) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
+ activeFilterCount: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ width: {
11
+ type: NumberConstructor;
12
+ default: number;
13
+ };
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ reset: (...args: any[]) => void;
16
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ activeFilterCount: {
18
+ type: NumberConstructor;
19
+ default: number;
20
+ };
21
+ width: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
25
+ }>> & Readonly<{
26
+ onReset?: ((...args: any[]) => any) | undefined;
27
+ }>, {
28
+ width: number;
29
+ activeFilterCount: number;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,51 @@
1
+ import { PropType } from 'vue';
2
+ interface FilterOption {
3
+ value: any;
4
+ label: string;
5
+ count?: number;
6
+ }
7
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: {
9
+ type: ArrayConstructor;
10
+ default: () => never[];
11
+ };
12
+ label: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ options: {
17
+ type: PropType<(FilterOption | string)[]>;
18
+ required: true;
19
+ };
20
+ searchable: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "update:modelValue": (...args: any[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ modelValue: {
28
+ type: ArrayConstructor;
29
+ default: () => never[];
30
+ };
31
+ label: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ options: {
36
+ type: PropType<(FilterOption | string)[]>;
37
+ required: true;
38
+ };
39
+ searchable: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ }>> & Readonly<{
44
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
+ }>, {
46
+ modelValue: unknown[];
47
+ label: string;
48
+ searchable: boolean;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
+ declare const _default: typeof __VLS_export;
51
+ export default _default;
@@ -0,0 +1,61 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ operator: string;
6
+ value: null;
7
+ };
8
+ };
9
+ label: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ min: {
14
+ type: NumberConstructor;
15
+ default: undefined;
16
+ };
17
+ max: {
18
+ type: NumberConstructor;
19
+ default: undefined;
20
+ };
21
+ step: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
25
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "update:modelValue": (...args: any[]) => void;
27
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ modelValue: {
29
+ type: ObjectConstructor;
30
+ default: () => {
31
+ operator: string;
32
+ value: null;
33
+ };
34
+ };
35
+ label: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ min: {
40
+ type: NumberConstructor;
41
+ default: undefined;
42
+ };
43
+ max: {
44
+ type: NumberConstructor;
45
+ default: undefined;
46
+ };
47
+ step: {
48
+ type: NumberConstructor;
49
+ default: number;
50
+ };
51
+ }>> & Readonly<{
52
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
53
+ }>, {
54
+ min: number;
55
+ max: number;
56
+ modelValue: Record<string, any>;
57
+ label: string;
58
+ step: number;
59
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
60
+ declare const _default: typeof __VLS_export;
61
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { PropType } from 'vue';
2
+ import { SchemaConstraint, QueryCondition } from '../Table/tableSchema';
3
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ /** Fields the schema allows conditions against. */
5
+ constraints: {
6
+ type: PropType<SchemaConstraint[]>;
7
+ default: () => never[];
8
+ };
9
+ modelValue: {
10
+ type: PropType<QueryCondition[]>;
11
+ default: () => never[];
12
+ };
13
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (args_0: QueryCondition[]) => any;
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ /** Fields the schema allows conditions against. */
17
+ constraints: {
18
+ type: PropType<SchemaConstraint[]>;
19
+ default: () => never[];
20
+ };
21
+ modelValue: {
22
+ type: PropType<QueryCondition[]>;
23
+ default: () => never[];
24
+ };
25
+ }>> & Readonly<{
26
+ "onUpdate:modelValue"?: ((args_0: QueryCondition[]) => any) | undefined;
27
+ }>, {
28
+ modelValue: QueryCondition[];
29
+ constraints: SchemaConstraint[];
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
@@ -0,0 +1,61 @@
1
+ import { PropType } from 'vue';
2
+ interface FilterOption {
3
+ value: any;
4
+ label: string;
5
+ }
6
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
7
+ label: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ placeholder: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ modelValue: {
16
+ type: (StringConstructor | NumberConstructor)[];
17
+ default: string;
18
+ };
19
+ options: {
20
+ type: PropType<FilterOption[]>;
21
+ required: true;
22
+ };
23
+ /** Server capped the list; the remainder is not reachable from this dropdown. */
24
+ optionsTruncated: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ "update:modelValue": (...args: any[]) => void;
30
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
+ label: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ placeholder: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ modelValue: {
40
+ type: (StringConstructor | NumberConstructor)[];
41
+ default: string;
42
+ };
43
+ options: {
44
+ type: PropType<FilterOption[]>;
45
+ required: true;
46
+ };
47
+ /** Server capped the list; the remainder is not reachable from this dropdown. */
48
+ optionsTruncated: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ }>> & Readonly<{
53
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
54
+ }>, {
55
+ modelValue: string | number;
56
+ label: string;
57
+ placeholder: string;
58
+ optionsTruncated: boolean;
59
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
60
+ declare const _default: typeof __VLS_export;
61
+ export default _default;
@@ -0,0 +1,73 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ label: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ placeholder: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ modelValue: {
11
+ type: (StringConstructor | NumberConstructor | BooleanConstructor | null)[];
12
+ default: string;
13
+ };
14
+ trueLabel: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ trueValue: {
19
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
20
+ default: boolean;
21
+ };
22
+ falseLabel: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ falseValue: {
27
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
28
+ default: boolean;
29
+ };
30
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ "update:modelValue": (...args: any[]) => void;
32
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
+ label: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ placeholder: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ modelValue: {
42
+ type: (StringConstructor | NumberConstructor | BooleanConstructor | null)[];
43
+ default: string;
44
+ };
45
+ trueLabel: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ trueValue: {
50
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
51
+ default: boolean;
52
+ };
53
+ falseLabel: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ falseValue: {
58
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
59
+ default: boolean;
60
+ };
61
+ }>> & Readonly<{
62
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
63
+ }>, {
64
+ modelValue: string | number | boolean | null;
65
+ label: string;
66
+ placeholder: string;
67
+ trueLabel: string;
68
+ falseLabel: string;
69
+ trueValue: string | number | boolean;
70
+ falseValue: string | number | boolean;
71
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
72
+ declare const _default: typeof __VLS_export;
73
+ export default _default;
@@ -0,0 +1,137 @@
1
+ import { MenuItem } from '../../types/menu';
2
+ declare var __VLS_34: {}, __VLS_37: {}, __VLS_39: {}, __VLS_41: {}, __VLS_43: {};
3
+ type __VLS_Slots = {} & {
4
+ breadcrumbs?: (props: typeof __VLS_34) => any;
5
+ } & {
6
+ actions?: (props: typeof __VLS_37) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_39) => any;
9
+ } & {
10
+ footer?: (props: typeof __VLS_41) => any;
11
+ } & {
12
+ debug?: (props: typeof __VLS_43) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
+ navigationItems: {
16
+ type: ArrayConstructor;
17
+ default: () => never[];
18
+ };
19
+ userName: {
20
+ type: StringConstructor;
21
+ required: true;
22
+ };
23
+ userFirstName: {
24
+ type: StringConstructor;
25
+ required: true;
26
+ };
27
+ userLastName: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ userEmail: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ userAvatar: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ userMenuItems: {
40
+ type: () => MenuItem[];
41
+ default: () => MenuItem[];
42
+ };
43
+ showSearch: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ showNotifications: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ notificationCount: {
52
+ type: NumberConstructor;
53
+ default: number;
54
+ };
55
+ initialSidebarCollapsed: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ impersonation: {
60
+ type: ObjectConstructor;
61
+ default: null;
62
+ };
63
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
+ "open-search": (...args: any[]) => void;
65
+ "open-notifications": (...args: any[]) => void;
66
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
67
+ navigationItems: {
68
+ type: ArrayConstructor;
69
+ default: () => never[];
70
+ };
71
+ userName: {
72
+ type: StringConstructor;
73
+ required: true;
74
+ };
75
+ userFirstName: {
76
+ type: StringConstructor;
77
+ required: true;
78
+ };
79
+ userLastName: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ userEmail: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ userAvatar: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ userMenuItems: {
92
+ type: () => MenuItem[];
93
+ default: () => MenuItem[];
94
+ };
95
+ showSearch: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ showNotifications: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ notificationCount: {
104
+ type: NumberConstructor;
105
+ default: number;
106
+ };
107
+ initialSidebarCollapsed: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ impersonation: {
112
+ type: ObjectConstructor;
113
+ default: null;
114
+ };
115
+ }>> & Readonly<{
116
+ "onOpen-search"?: ((...args: any[]) => any) | undefined;
117
+ "onOpen-notifications"?: ((...args: any[]) => any) | undefined;
118
+ }>, {
119
+ userLastName: string;
120
+ userEmail: string;
121
+ userAvatar: string;
122
+ showSearch: boolean;
123
+ showNotifications: boolean;
124
+ notificationCount: number;
125
+ impersonation: Record<string, any>;
126
+ navigationItems: unknown[];
127
+ userMenuItems: MenuItem[];
128
+ initialSidebarCollapsed: boolean;
129
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
130
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
131
+ declare const _default: typeof __VLS_export;
132
+ export default _default;
133
+ type __VLS_WithSlots<T, S> = T & {
134
+ new (): {
135
+ $slots: S;
136
+ };
137
+ };
@@ -0,0 +1,44 @@
1
+ import { PropType } from 'vue';
2
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ items: {
4
+ type: PropType<any[]>;
5
+ required: true;
6
+ validator: (items: unknown) => boolean;
7
+ };
8
+ showHomeIcon: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ activeClass: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ inactiveClass: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
21
+ items: {
22
+ type: PropType<any[]>;
23
+ required: true;
24
+ validator: (items: unknown) => boolean;
25
+ };
26
+ showHomeIcon: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ activeClass: {
31
+ type: StringConstructor;
32
+ default: string;
33
+ };
34
+ inactiveClass: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ showHomeIcon: boolean;
40
+ activeClass: string;
41
+ inactiveClass: string;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
43
+ declare const _default: typeof __VLS_export;
44
+ export default _default;
@@ -0,0 +1,88 @@
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
+ /**
7
+ * Spacing between clustered items
8
+ * @values none, xs, sm, md, lg, xl
9
+ */
10
+ space: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ validator: (value: unknown) => boolean;
14
+ };
15
+ /**
16
+ * Horizontal alignment of items
17
+ * @values start, center, end, between, around, evenly
18
+ */
19
+ justify: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ validator: (value: unknown) => boolean;
23
+ };
24
+ /**
25
+ * Vertical alignment of items
26
+ * @values start, center, end, baseline, stretch
27
+ */
28
+ align: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ validator: (value: unknown) => boolean;
32
+ };
33
+ /**
34
+ * Allow items to wrap to next line
35
+ */
36
+ wrap: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
41
+ /**
42
+ * Spacing between clustered items
43
+ * @values none, xs, sm, md, lg, xl
44
+ */
45
+ space: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ validator: (value: unknown) => boolean;
49
+ };
50
+ /**
51
+ * Horizontal alignment of items
52
+ * @values start, center, end, between, around, evenly
53
+ */
54
+ justify: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ validator: (value: unknown) => boolean;
58
+ };
59
+ /**
60
+ * Vertical alignment of items
61
+ * @values start, center, end, baseline, stretch
62
+ */
63
+ align: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ validator: (value: unknown) => boolean;
67
+ };
68
+ /**
69
+ * Allow items to wrap to next line
70
+ */
71
+ wrap: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ }>> & Readonly<{}>, {
76
+ space: string;
77
+ wrap: boolean;
78
+ justify: string;
79
+ align: string;
80
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
81
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
82
+ declare const _default: typeof __VLS_export;
83
+ export default _default;
84
+ type __VLS_WithSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };