sprintify-ui 0.10.88 → 0.11.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 (103) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12566 -12743
  3. package/dist/style.css +2 -2
  4. package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
  5. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  6. package/dist/types/components/BaseAlert.vue.d.ts +3 -21
  7. package/dist/types/components/BaseApp.vue.d.ts +2 -9
  8. package/dist/types/components/BaseAutocomplete.vue.d.ts +4 -712
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +2 -125
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +12 -1115
  11. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  12. package/dist/types/components/BaseBadge.vue.d.ts +3 -20
  13. package/dist/types/components/BaseBelongsTo.vue.d.ts +4 -1091
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +6 -795
  15. package/dist/types/components/BaseButton.vue.d.ts +6 -77
  16. package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
  17. package/dist/types/components/BaseCard.vue.d.ts +2 -23
  18. package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
  19. package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
  20. package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
  21. package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
  22. package/dist/types/components/BaseContainer.vue.d.ts +2 -12
  23. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  24. package/dist/types/components/BaseCropper.vue.d.ts +3 -35
  25. package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
  26. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
  27. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
  28. package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
  29. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
  30. package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
  31. package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
  32. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
  33. package/dist/types/components/BaseDialog.vue.d.ts +3 -110
  34. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
  35. package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
  36. package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
  37. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
  38. package/dist/types/components/BaseField.vue.d.ts +3 -99
  39. package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
  40. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
  41. package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
  42. package/dist/types/components/BaseForm.vue.d.ts +3 -150
  43. package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
  44. package/dist/types/components/BaseHasMany.vue.d.ts +3 -598
  45. package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
  46. package/dist/types/components/BaseInput.vue.d.ts +3 -3
  47. package/dist/types/components/BaseInputError.vue.d.ts +2 -19
  48. package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
  49. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
  50. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
  51. package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
  52. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
  53. package/dist/types/components/BaseLazy.vue.d.ts +2 -13
  54. package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
  55. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  56. package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
  57. package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
  58. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  59. package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
  60. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  61. package/dist/types/components/BaseMenu.vue.d.ts +2 -209
  62. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  63. package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
  64. package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
  65. package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
  66. package/dist/types/components/BasePassword.vue.d.ts +1 -1
  67. package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
  68. package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
  69. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  70. package/dist/types/components/BaseSelect.vue.d.ts +4 -148
  71. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  72. package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
  73. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
  74. package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
  75. package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
  76. package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
  77. package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
  78. package/dist/types/components/BaseTable.vue.d.ts +3 -24
  79. package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
  80. package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
  81. package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
  82. package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
  83. package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
  84. package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
  85. package/dist/types/components/BaseTabs.vue.d.ts +2 -16
  86. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +4 -636
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -844
  88. package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
  89. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  90. package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
  91. package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
  92. package/dist/types/services/gantt/types.d.ts +18 -8
  93. package/package.json +6 -9
  94. package/src/changelog.mdx +1 -1
  95. package/src/components/BaseAssign.mdx +1 -1
  96. package/src/components/BaseAutocompleteFetch.vue +5 -0
  97. package/src/components/BaseBelongsToFetch.vue +3 -0
  98. package/src/components/BaseForm.mdx +1 -1
  99. package/src/components/BaseGantt.mdx +79 -0
  100. package/src/components/BaseGantt.stories.js +25 -10
  101. package/src/components/BaseGantt.vue +192 -58
  102. package/src/services/gantt/format.ts +30 -7
  103. package/src/services/gantt/types.ts +18 -8
@@ -1,5 +1,3 @@
1
- import BaseFilePicker from '@/components/BaseFilePicker.vue';
2
- import BaseCropperModal from '@/components/BaseCropperModal.vue';
3
1
  import { BaseCropperConfig } from '@/types';
4
2
  type __VLS_Props = {
5
3
  disabled?: boolean;
@@ -8,90 +6,14 @@ type __VLS_Props = {
8
6
  acceptedExtensions?: string[];
9
7
  cropper: BaseCropperConfig | null;
10
8
  };
11
- declare const baseCropperModalRef: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
12
- modelValue?: boolean;
13
- cropper: BaseCropperConfig;
14
- }> & Readonly<{
15
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
16
- onCropped?: ((value: string | Blob | HTMLCanvasElement) => any) | undefined;
17
- }>, {
18
- save: () => Promise<unknown>;
19
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
- "update:modelValue": (value: boolean) => any;
21
- cropped: (value: string | Blob | HTMLCanvasElement) => any;
22
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly<{
30
- modelValue?: boolean;
31
- cropper: BaseCropperConfig;
32
- }> & Readonly<{
33
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
34
- onCropped?: ((value: string | Blob | HTMLCanvasElement) => any) | undefined;
35
- }>, {
36
- save: () => Promise<unknown>;
37
- }, {}, {}, {}, {}> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
38
- modelValue?: boolean;
39
- cropper: BaseCropperConfig;
40
- }> & Readonly<{
41
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
42
- onCropped?: ((value: string | Blob | HTMLCanvasElement) => any) | undefined;
43
- }>, {
44
- save: () => Promise<unknown>;
45
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
46
- "update:modelValue": (value: boolean) => any;
47
- cropped: (value: string | Blob | HTMLCanvasElement) => any;
48
- }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
49
- P: {};
50
- B: {};
51
- D: {};
52
- C: {};
53
- M: {};
54
- Defaults: {};
55
- }, Readonly<{
56
- modelValue?: boolean;
57
- cropper: BaseCropperConfig;
58
- }> & Readonly<{
59
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
60
- onCropped?: ((value: string | Blob | HTMLCanvasElement) => any) | undefined;
61
- }>, {
62
- save: () => Promise<unknown>;
63
- }, {}, {}, {}, {}> | null>;
64
- declare const showCropperModal: import("vue").Ref<boolean, boolean>;
65
- declare const cropperInternal: import("vue").ComputedRef<BaseCropperConfig | null>;
66
- declare function launchCropper(file: File): Promise<void>;
67
- declare function onCropped(cropped: HTMLCanvasElement | string | Blob): Promise<void>;
68
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
69
9
  declare var __VLS_9: {
70
10
  selecting: boolean;
71
11
  dragging: boolean;
72
12
  disabled: boolean;
73
13
  };
74
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
14
+ type __VLS_Slots = {} & {
75
15
  default?: (props: typeof __VLS_9) => any;
76
- }>;
77
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
78
- BaseFilePicker: typeof BaseFilePicker;
79
- BaseCropperModal: typeof BaseCropperModal;
80
- baseCropperModalRef: typeof baseCropperModalRef;
81
- showCropperModal: typeof showCropperModal;
82
- cropperInternal: typeof cropperInternal;
83
- launchCropper: typeof launchCropper;
84
- onCropped: typeof onCropped;
85
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
86
- select: (...args: any[]) => void;
87
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
88
- onSelect?: ((...args: any[]) => any) | undefined;
89
- }>, {
90
- disabled: boolean;
91
- twButton: string;
92
- maxSize: number;
93
- acceptedExtensions: string[];
94
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ };
95
17
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
96
18
  select: (...args: any[]) => void;
97
19
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -1,4 +1,3 @@
1
- import BaseLoadingCover from '@/components/BaseLoadingCover.vue';
2
1
  import { BaseCropperConfig } from '@/types';
3
2
  type __VLS_Props = {
4
3
  component?: 'BaseFilePicker' | 'BaseFilePickerCrop';
@@ -13,146 +12,6 @@ type __VLS_Props = {
13
12
  cropper?: BaseCropperConfig | Record<string, any> | boolean | null;
14
13
  multiple?: boolean;
15
14
  };
16
- declare const componentInternal: import("vue").ComputedRef<({
17
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
18
- disabled?: boolean;
19
- twButton?: string;
20
- maxSize?: number;
21
- accept?: string;
22
- acceptedExtensions?: string[];
23
- multiple?: boolean;
24
- }> & Readonly<{
25
- onSelect?: ((...args: any[]) => any) | undefined;
26
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- select: (...args: any[]) => void;
28
- }, import("vue").PublicProps, {
29
- disabled: boolean;
30
- twButton: string;
31
- multiple: boolean;
32
- maxSize: number;
33
- accept: string;
34
- acceptedExtensions: string[];
35
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
36
- P: {};
37
- B: {};
38
- D: {};
39
- C: {};
40
- M: {};
41
- Defaults: {};
42
- }, Readonly<{
43
- disabled?: boolean;
44
- twButton?: string;
45
- maxSize?: number;
46
- accept?: string;
47
- acceptedExtensions?: string[];
48
- multiple?: boolean;
49
- }> & Readonly<{
50
- onSelect?: ((...args: any[]) => any) | undefined;
51
- }>, {}, {}, {}, {}, {
52
- disabled: boolean;
53
- twButton: string;
54
- multiple: boolean;
55
- maxSize: number;
56
- accept: string;
57
- acceptedExtensions: string[];
58
- }>;
59
- __isFragment?: never;
60
- __isTeleport?: never;
61
- __isSuspense?: never;
62
- } & import("vue").ComponentOptionsBase<Readonly<{
63
- disabled?: boolean;
64
- twButton?: string;
65
- maxSize?: number;
66
- accept?: string;
67
- acceptedExtensions?: string[];
68
- multiple?: boolean;
69
- }> & Readonly<{
70
- onSelect?: ((...args: any[]) => any) | undefined;
71
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
- select: (...args: any[]) => void;
73
- }, string, {
74
- disabled: boolean;
75
- twButton: string;
76
- multiple: boolean;
77
- maxSize: number;
78
- accept: string;
79
- acceptedExtensions: string[];
80
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
81
- $slots: {
82
- default?: ((props: {
83
- selecting: boolean;
84
- dragging: boolean;
85
- disabled: boolean;
86
- }) => any) | undefined;
87
- };
88
- })) | ({
89
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
90
- disabled?: boolean;
91
- twButton?: string;
92
- maxSize?: number;
93
- acceptedExtensions?: string[];
94
- cropper: BaseCropperConfig | null;
95
- }> & Readonly<{
96
- onSelect?: ((...args: any[]) => any) | undefined;
97
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
- select: (...args: any[]) => void;
99
- }, import("vue").PublicProps, {
100
- disabled: boolean;
101
- twButton: string;
102
- maxSize: number;
103
- acceptedExtensions: string[];
104
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
105
- P: {};
106
- B: {};
107
- D: {};
108
- C: {};
109
- M: {};
110
- Defaults: {};
111
- }, Readonly<{
112
- disabled?: boolean;
113
- twButton?: string;
114
- maxSize?: number;
115
- acceptedExtensions?: string[];
116
- cropper: BaseCropperConfig | null;
117
- }> & Readonly<{
118
- onSelect?: ((...args: any[]) => any) | undefined;
119
- }>, {}, {}, {}, {}, {
120
- disabled: boolean;
121
- twButton: string;
122
- maxSize: number;
123
- acceptedExtensions: string[];
124
- }>;
125
- __isFragment?: never;
126
- __isTeleport?: never;
127
- __isSuspense?: never;
128
- } & import("vue").ComponentOptionsBase<Readonly<{
129
- disabled?: boolean;
130
- twButton?: string;
131
- maxSize?: number;
132
- acceptedExtensions?: string[];
133
- cropper: BaseCropperConfig | null;
134
- }> & Readonly<{
135
- onSelect?: ((...args: any[]) => any) | undefined;
136
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
137
- select: (...args: any[]) => void;
138
- }, string, {
139
- disabled: boolean;
140
- twButton: string;
141
- maxSize: number;
142
- acceptedExtensions: string[];
143
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
144
- $slots: {
145
- default?: ((props: {
146
- selecting: boolean;
147
- dragging: boolean;
148
- disabled: boolean;
149
- }) => any) | undefined;
150
- };
151
- }))>;
152
- declare const pickerProps: import("vue").ComputedRef<Record<string, any>>;
153
- declare const uploading: import("vue").Ref<boolean, boolean>;
154
- declare function onFileSelect(files: File | File[]): Promise<void>;
155
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
156
15
  declare var __VLS_9: {
157
16
  selecting: boolean;
158
17
  dragging: boolean;
@@ -178,40 +37,11 @@ declare var __VLS_9: {
178
37
  uploading: boolean;
179
38
  loading: boolean;
180
39
  };
181
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
40
+ type __VLS_Slots = {} & {
182
41
  default?: (props: typeof __VLS_9) => any;
183
42
  } & {
184
43
  loading?: (props: typeof __VLS_11) => any;
185
- }>;
186
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
187
- BaseLoadingCover: typeof BaseLoadingCover;
188
- componentInternal: typeof componentInternal;
189
- pickerProps: typeof pickerProps;
190
- uploading: typeof uploading;
191
- onFileSelect: typeof onFileSelect;
192
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
193
- start: (...args: any[]) => void;
194
- end: (...args: any[]) => void;
195
- success: (...args: any[]) => void;
196
- fail: (...args: any[]) => void;
197
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
198
- onStart?: ((...args: any[]) => any) | undefined;
199
- onEnd?: ((...args: any[]) => any) | undefined;
200
- onSuccess?: ((...args: any[]) => any) | undefined;
201
- onFail?: ((...args: any[]) => any) | undefined;
202
- }>, {
203
- component: "BaseFilePicker" | "BaseFilePickerCrop";
204
- disabled: boolean;
205
- twButton: string;
206
- url: string;
207
- cropper: BaseCropperConfig | Record<string, any> | boolean | null;
208
- loading: boolean;
209
- multiple: boolean;
210
- maxSize: number;
211
- accept: string;
212
- acceptedExtensions: string[];
213
- beforeUpload: () => boolean;
214
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
+ };
215
45
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
216
46
  start: (...args: any[]) => void;
217
47
  end: (...args: any[]) => void;
@@ -223,10 +53,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
223
53
  onSuccess?: ((...args: any[]) => any) | undefined;
224
54
  onFail?: ((...args: any[]) => any) | undefined;
225
55
  }>, {
56
+ url: string;
226
57
  component: "BaseFilePicker" | "BaseFilePickerCrop";
227
58
  disabled: boolean;
228
59
  twButton: string;
229
- url: string;
230
60
  cropper: BaseCropperConfig | Record<string, any> | boolean | null;
231
61
  loading: boolean;
232
62
  multiple: boolean;
@@ -1,167 +1,20 @@
1
1
  import { PropType } from 'vue';
2
2
  import { Method, DataFormat } from '@/types';
3
3
  import { AxiosError, AxiosInstance } from 'axios';
4
- import { twMerge } from 'tailwind-merge';
5
4
  type NextFunction = () => void;
6
- declare const form: import("vue").Ref<HTMLFormElement | null, HTMLFormElement | null>;
7
- declare const loading: import("vue").Ref<boolean, boolean>;
8
- declare const errors: import("vue").Ref<Record<string, string[]>, Record<string, string[]>>;
9
5
  declare function submit(): void;
10
6
  declare function clearErrors(name?: null): void;
11
- declare const disabled: import("vue").ComputedRef<boolean>;
12
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
7
  declare var __VLS_1: {
14
8
  errors: Record<string, string[]>;
15
9
  loading: boolean;
16
10
  disabled: boolean;
17
11
  submit: typeof submit;
18
12
  }, __VLS_7: {};
19
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ type __VLS_Slots = {} & {
20
14
  default?: (props: typeof __VLS_1) => any;
21
15
  } & {
22
16
  loading?: (props: typeof __VLS_7) => any;
23
- }>;
24
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
- url: {
26
- required: true;
27
- type: StringConstructor;
28
- };
29
- method: {
30
- required: true;
31
- type: PropType<Method>;
32
- validator: (value: string) => boolean;
33
- };
34
- data: {
35
- required: true;
36
- type: PropType<Record<string, any>>;
37
- };
38
- axiosInstance: {
39
- default: null;
40
- type: PropType<AxiosInstance | null>;
41
- };
42
- format: {
43
- type: PropType<DataFormat>;
44
- default: DataFormat;
45
- validator: (value: string) => boolean;
46
- };
47
- beforeSubmit: {
48
- default: (next: NextFunction) => void;
49
- type: PropType<(next: NextFunction) => void>;
50
- };
51
- successHandler: {
52
- default: undefined;
53
- type: PropType<(response: any) => void>;
54
- };
55
- errorHandler: {
56
- default: (error: AxiosError) => void;
57
- type: PropType<(error: AxiosError) => void>;
58
- };
59
- twLoadingMask: {
60
- default: string;
61
- type: StringConstructor;
62
- };
63
- showLoadingMask: {
64
- default: boolean;
65
- type: BooleanConstructor;
66
- };
67
- showNotificationOnError: {
68
- default: boolean;
69
- type: BooleanConstructor;
70
- };
71
- showNotificationOnSuccess: {
72
- default: boolean;
73
- type: BooleanConstructor;
74
- };
75
- /**
76
- * Autosave the form every time a input is changed
77
- */
78
- autosave: {
79
- default: boolean;
80
- type: BooleanConstructor;
81
- };
82
- }>, {
83
- twMerge: typeof twMerge;
84
- form: typeof form;
85
- loading: typeof loading;
86
- errors: typeof errors;
87
- submit: typeof submit;
88
- disabled: typeof disabled;
89
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
90
- success: (...args: any[]) => void;
91
- error: (...args: any[]) => void;
92
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
- url: {
94
- required: true;
95
- type: StringConstructor;
96
- };
97
- method: {
98
- required: true;
99
- type: PropType<Method>;
100
- validator: (value: string) => boolean;
101
- };
102
- data: {
103
- required: true;
104
- type: PropType<Record<string, any>>;
105
- };
106
- axiosInstance: {
107
- default: null;
108
- type: PropType<AxiosInstance | null>;
109
- };
110
- format: {
111
- type: PropType<DataFormat>;
112
- default: DataFormat;
113
- validator: (value: string) => boolean;
114
- };
115
- beforeSubmit: {
116
- default: (next: NextFunction) => void;
117
- type: PropType<(next: NextFunction) => void>;
118
- };
119
- successHandler: {
120
- default: undefined;
121
- type: PropType<(response: any) => void>;
122
- };
123
- errorHandler: {
124
- default: (error: AxiosError) => void;
125
- type: PropType<(error: AxiosError) => void>;
126
- };
127
- twLoadingMask: {
128
- default: string;
129
- type: StringConstructor;
130
- };
131
- showLoadingMask: {
132
- default: boolean;
133
- type: BooleanConstructor;
134
- };
135
- showNotificationOnError: {
136
- default: boolean;
137
- type: BooleanConstructor;
138
- };
139
- showNotificationOnSuccess: {
140
- default: boolean;
141
- type: BooleanConstructor;
142
- };
143
- /**
144
- * Autosave the form every time a input is changed
145
- */
146
- autosave: {
147
- default: boolean;
148
- type: BooleanConstructor;
149
- };
150
- }>> & Readonly<{
151
- onSuccess?: ((...args: any[]) => any) | undefined;
152
- onError?: ((...args: any[]) => any) | undefined;
153
- }>, {
154
- errorHandler: (error: AxiosError) => void;
155
- axiosInstance: AxiosInstance | null;
156
- format: DataFormat;
157
- beforeSubmit: (next: NextFunction) => void;
158
- successHandler: (response: any) => void;
159
- twLoadingMask: string;
160
- showLoadingMask: boolean;
161
- showNotificationOnError: boolean;
162
- showNotificationOnSuccess: boolean;
163
- autosave: boolean;
164
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ };
165
18
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
166
19
  url: {
167
20
  required: true;
@@ -292,6 +145,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
292
145
  onSuccess?: ((...args: any[]) => any) | undefined;
293
146
  onError?: ((...args: any[]) => any) | undefined;
294
147
  }>, {
148
+ autosave: boolean;
295
149
  errorHandler: (error: AxiosError) => void;
296
150
  axiosInstance: AxiosInstance | null;
297
151
  format: DataFormat;
@@ -301,7 +155,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
301
155
  showLoadingMask: boolean;
302
156
  showNotificationOnError: boolean;
303
157
  showNotificationOnSuccess: boolean;
304
- autosave: boolean;
305
158
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
306
159
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
307
160
  export default _default;