@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,174 @@
1
+ import { PropType } from 'vue';
2
+ import { FieldDef } from './useBlueprint';
3
+ declare var __VLS_9: `item-${any}`, __VLS_10: {
4
+ item: any;
5
+ index: number;
6
+ update: (value: any) => void;
7
+ }, __VLS_19: {
8
+ item: any;
9
+ index: number;
10
+ };
11
+ type __VLS_Slots = {} & {
12
+ [K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_19) => any;
15
+ };
16
+ declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
17
+ modelValue: {
18
+ type: PropType<any[]>;
19
+ default: () => never[];
20
+ };
21
+ label: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ help: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ error: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ disabled: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ columns: {
38
+ type: PropType<any[]>;
39
+ default: () => never[];
40
+ };
41
+ layout: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ validator: (value: unknown) => boolean;
45
+ };
46
+ defaultItem: {
47
+ type: (ObjectConstructor | FunctionConstructor)[];
48
+ default: () => {};
49
+ };
50
+ addButtonLabel: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ emptyMessage: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ maxItems: {
59
+ type: NumberConstructor;
60
+ default: null;
61
+ };
62
+ required: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ /** Blueprint mode: serialized sub-field declarations from the server. */
67
+ fields: {
68
+ type: PropType<FieldDef[]>;
69
+ default: () => never[];
70
+ };
71
+ /** Row-scoped errors, keyed `{index}.{subKey}` (prefix already stripped). */
72
+ nestedErrors: {
73
+ type: PropType<Record<string, string>>;
74
+ default: () => {};
75
+ };
76
+ width: {
77
+ readonly type: StringConstructor;
78
+ readonly default: "full";
79
+ readonly validator: (v: string) => boolean;
80
+ };
81
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
82
+ "update:modelValue": (...args: any[]) => void;
83
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
84
+ modelValue: {
85
+ type: PropType<any[]>;
86
+ default: () => never[];
87
+ };
88
+ label: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ help: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ error: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ disabled: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ columns: {
105
+ type: PropType<any[]>;
106
+ default: () => never[];
107
+ };
108
+ layout: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ validator: (value: unknown) => boolean;
112
+ };
113
+ defaultItem: {
114
+ type: (ObjectConstructor | FunctionConstructor)[];
115
+ default: () => {};
116
+ };
117
+ addButtonLabel: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ emptyMessage: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ maxItems: {
126
+ type: NumberConstructor;
127
+ default: null;
128
+ };
129
+ required: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ };
133
+ /** Blueprint mode: serialized sub-field declarations from the server. */
134
+ fields: {
135
+ type: PropType<FieldDef[]>;
136
+ default: () => never[];
137
+ };
138
+ /** Row-scoped errors, keyed `{index}.{subKey}` (prefix already stripped). */
139
+ nestedErrors: {
140
+ type: PropType<Record<string, string>>;
141
+ default: () => {};
142
+ };
143
+ width: {
144
+ readonly type: StringConstructor;
145
+ readonly default: "full";
146
+ readonly validator: (v: string) => boolean;
147
+ };
148
+ }>> & Readonly<{
149
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
150
+ }>, {
151
+ required: boolean;
152
+ modelValue: any[];
153
+ label: string;
154
+ help: string;
155
+ error: string;
156
+ disabled: boolean;
157
+ width: string;
158
+ layout: string;
159
+ columns: any[];
160
+ defaultItem: Function | Record<string, any>;
161
+ addButtonLabel: string;
162
+ emptyMessage: string;
163
+ maxItems: number;
164
+ fields: FieldDef[];
165
+ nestedErrors: Record<string, string>;
166
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
167
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
168
+ declare const _default: typeof __VLS_export;
169
+ export default _default;
170
+ type __VLS_WithSlots<T, S> = T & {
171
+ new (): {
172
+ $slots: S;
173
+ };
174
+ };
@@ -0,0 +1,118 @@
1
+ export declare const ToolbarButton: {
2
+ props: {
3
+ title: StringConstructor;
4
+ disabled: BooleanConstructor;
5
+ };
6
+ template: string;
7
+ };
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ modelValue: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ label: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ placeholder: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ help: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ error: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ required: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ disabled: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ rows: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ maxLength: {
44
+ type: NumberConstructor;
45
+ default: null;
46
+ };
47
+ showCharCount: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ width: {
52
+ readonly type: StringConstructor;
53
+ readonly default: "full";
54
+ readonly validator: (v: string) => boolean;
55
+ };
56
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
+ "update:modelValue": (...args: any[]) => void;
58
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
59
+ modelValue: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ label: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ placeholder: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ help: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ error: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ required: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ disabled: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ rows: {
88
+ type: NumberConstructor;
89
+ default: number;
90
+ };
91
+ maxLength: {
92
+ type: NumberConstructor;
93
+ default: null;
94
+ };
95
+ showCharCount: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ width: {
100
+ readonly type: StringConstructor;
101
+ readonly default: "full";
102
+ readonly validator: (v: string) => boolean;
103
+ };
104
+ }>> & Readonly<{
105
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
106
+ }>, {
107
+ required: boolean;
108
+ modelValue: string;
109
+ label: string;
110
+ placeholder: string;
111
+ help: string;
112
+ error: string;
113
+ disabled: boolean;
114
+ width: string;
115
+ rows: number;
116
+ maxLength: number;
117
+ showCharCount: boolean;
118
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,102 @@
1
+ import { PropType } from 'vue';
2
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ modelValue: {
4
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
5
+ default: string;
6
+ };
7
+ id: {
8
+ type: StringConstructor;
9
+ default: () => string;
10
+ };
11
+ label: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ placeholder: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ options: {
20
+ type: PropType<any[]>;
21
+ required: true;
22
+ };
23
+ help: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ error: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ disabled: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ required: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ width: {
40
+ readonly type: StringConstructor;
41
+ readonly default: "full";
42
+ readonly validator: (v: string) => boolean;
43
+ };
44
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
+ "update:modelValue": (...args: any[]) => void;
46
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
+ modelValue: {
48
+ type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
49
+ default: string;
50
+ };
51
+ id: {
52
+ type: StringConstructor;
53
+ default: () => string;
54
+ };
55
+ label: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ placeholder: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ options: {
64
+ type: PropType<any[]>;
65
+ required: true;
66
+ };
67
+ help: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ error: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ disabled: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ required: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ width: {
84
+ readonly type: StringConstructor;
85
+ readonly default: "full";
86
+ readonly validator: (v: string) => boolean;
87
+ };
88
+ }>> & Readonly<{
89
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
+ }>, {
91
+ required: boolean;
92
+ modelValue: string | number | boolean;
93
+ id: string;
94
+ label: string;
95
+ placeholder: string;
96
+ help: string;
97
+ error: string;
98
+ disabled: boolean;
99
+ width: string;
100
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
101
+ declare const _default: typeof __VLS_export;
102
+ export default _default;
@@ -0,0 +1,102 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ id: {
7
+ type: StringConstructor;
8
+ default: () => string;
9
+ };
10
+ label: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ help: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ error: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ placeholder: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ required: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ disabled: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ separator: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ width: {
39
+ readonly type: StringConstructor;
40
+ readonly default: "full";
41
+ readonly validator: (v: string) => boolean;
42
+ };
43
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
+ "update:modelValue": (value: string) => any;
45
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
46
+ modelValue: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ id: {
51
+ type: StringConstructor;
52
+ default: () => string;
53
+ };
54
+ label: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ help: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ error: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ placeholder: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ required: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ disabled: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ separator: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ width: {
83
+ readonly type: StringConstructor;
84
+ readonly default: "full";
85
+ readonly validator: (v: string) => boolean;
86
+ };
87
+ }>> & Readonly<{
88
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
89
+ }>, {
90
+ required: boolean;
91
+ modelValue: string;
92
+ id: string;
93
+ label: string;
94
+ placeholder: string;
95
+ help: string;
96
+ error: string;
97
+ disabled: boolean;
98
+ width: string;
99
+ separator: string;
100
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
101
+ declare const _default: typeof __VLS_export;
102
+ export default _default;
@@ -0,0 +1,138 @@
1
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ id: {
7
+ type: StringConstructor;
8
+ default: () => string;
9
+ };
10
+ label: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ type: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ placeholder: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ help: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ error: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ prefix: {
31
+ type: (StringConstructor | ObjectConstructor)[];
32
+ default: null;
33
+ };
34
+ suffix: {
35
+ type: (StringConstructor | ObjectConstructor)[];
36
+ default: null;
37
+ };
38
+ disabled: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ readonly: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ required: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ autocomplete: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ width: {
55
+ readonly type: StringConstructor;
56
+ readonly default: "full";
57
+ readonly validator: (v: string) => boolean;
58
+ };
59
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
60
+ "update:modelValue": (...args: any[]) => void;
61
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
+ modelValue: {
63
+ type: (StringConstructor | NumberConstructor)[];
64
+ default: string;
65
+ };
66
+ id: {
67
+ type: StringConstructor;
68
+ default: () => string;
69
+ };
70
+ label: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ type: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ placeholder: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ };
82
+ help: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ error: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ prefix: {
91
+ type: (StringConstructor | ObjectConstructor)[];
92
+ default: null;
93
+ };
94
+ suffix: {
95
+ type: (StringConstructor | ObjectConstructor)[];
96
+ default: null;
97
+ };
98
+ disabled: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ readonly: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ required: {
107
+ type: BooleanConstructor;
108
+ default: boolean;
109
+ };
110
+ autocomplete: {
111
+ type: StringConstructor;
112
+ default: string;
113
+ };
114
+ width: {
115
+ readonly type: StringConstructor;
116
+ readonly default: "full";
117
+ readonly validator: (v: string) => boolean;
118
+ };
119
+ }>> & Readonly<{
120
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
121
+ }>, {
122
+ required: boolean;
123
+ modelValue: string | number;
124
+ id: string;
125
+ label: string;
126
+ type: string;
127
+ placeholder: string;
128
+ help: string;
129
+ error: string;
130
+ prefix: string | Record<string, any>;
131
+ suffix: string | Record<string, any>;
132
+ disabled: boolean;
133
+ readonly: boolean;
134
+ autocomplete: string;
135
+ width: string;
136
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
137
+ declare const _default: typeof __VLS_export;
138
+ export default _default;