sprintify-ui 0.8.41 → 0.8.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sprintify-ui.es.js +4910 -4972
- package/dist/types/components/BaseActionItem.vue.d.ts +5 -15
- package/dist/types/components/BaseActionItemButton.vue.d.ts +4 -25
- package/dist/types/components/BaseAddressForm.vue.d.ts +6 -45
- package/dist/types/components/BaseAlert.vue.d.ts +11 -37
- package/dist/types/components/BaseApp.vue.d.ts +8 -3
- package/dist/types/components/BaseAppDialogs.vue.d.ts +1 -1
- package/dist/types/components/BaseAppSnackbars.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +585 -37
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +24 -16
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +526 -36
- package/dist/types/components/BaseAvatar.vue.d.ts +4 -4
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +4 -4
- package/dist/types/components/BaseBadge.vue.d.ts +11 -35
- package/dist/types/components/BaseBelongsTo.vue.d.ts +524 -34
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +484 -35
- package/dist/types/components/BaseBoolean.vue.d.ts +3 -12
- package/dist/types/components/BaseBreadcrumbs.vue.d.ts +4 -4
- package/dist/types/components/BaseButton.vue.d.ts +17 -53
- package/dist/types/components/BaseButtonGroup.vue.d.ts +19 -14
- package/dist/types/components/BaseCalendar.vue.d.ts +46 -13
- package/dist/types/components/BaseCard.vue.d.ts +13 -6
- package/dist/types/components/BaseCardRow.vue.d.ts +13 -31
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +4 -4
- package/dist/types/components/BaseClipboard.vue.d.ts +14 -6
- package/dist/types/components/BaseCollapse.vue.d.ts +20 -52
- package/dist/types/components/BaseColor.vue.d.ts +8 -8
- package/dist/types/components/BaseContainer.vue.d.ts +11 -33
- package/dist/types/components/BaseCounter.vue.d.ts +4 -4
- package/dist/types/components/BaseCropper.vue.d.ts +29 -30
- package/dist/types/components/BaseCropperModal.vue.d.ts +8 -17
- package/dist/types/components/BaseDataIterator.vue.d.ts +6 -6
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +10 -14
- package/dist/types/components/BaseDataIteratorSectionButton.vue.d.ts +6 -15
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +4 -4
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +13 -17
- package/dist/types/components/BaseDataTable.vue.d.ts +842 -26
- package/dist/types/components/BaseDataTableRowAction.vue.d.ts +4 -25
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +129 -14
- package/dist/types/components/BaseDatePicker.vue.d.ts +7 -56
- package/dist/types/components/BaseDateSelect.vue.d.ts +5 -5
- package/dist/types/components/BaseDescriptionList.vue.d.ts +8 -3
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +11 -4
- package/dist/types/components/BaseDialog.vue.d.ts +516 -8
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +15 -8
- package/dist/types/components/BaseDraggable.vue.d.ts +18 -20
- package/dist/types/components/BaseDropdown.vue.d.ts +18 -10
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +23 -16
- package/dist/types/components/BaseField.vue.d.ts +12 -7
- package/dist/types/components/BaseFieldI18n.vue.d.ts +7 -7
- package/dist/types/components/BaseFilePicker.vue.d.ts +20 -44
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +51 -39
- package/dist/types/components/BaseFileUploader.vue.d.ts +40 -76
- package/dist/types/components/BaseForm.vue.d.ts +22 -15
- package/dist/types/components/BaseGantt.vue.d.ts +21 -40
- package/dist/types/components/BaseHasMany.vue.d.ts +325 -39
- package/dist/types/components/BaseHeader.vue.d.ts +4 -37
- package/dist/types/components/BaseIconPicker.vue.d.ts +6 -31
- package/dist/types/components/BaseInput.vue.d.ts +12 -12
- package/dist/types/components/BaseInputError.vue.d.ts +11 -6
- package/dist/types/components/BaseInputLabel.vue.d.ts +4 -4
- package/dist/types/components/BaseInputPercent.vue.d.ts +9 -9
- package/dist/types/components/BaseJsonReader.vue.d.ts +4 -29
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +3 -12
- package/dist/types/components/BaseLayoutNotificationDropdown.vue.d.ts +5 -5
- package/dist/types/components/BaseLayoutNotificationItem.vue.d.ts +4 -4
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +3 -12
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +16 -11
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +13 -8
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +22 -42
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +12 -7
- package/dist/types/components/BaseLazy.vue.d.ts +24 -15
- package/dist/types/components/BaseLoadingCover.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaGallery.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaItem.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +38 -33
- package/dist/types/components/BaseMediaList.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaListItem.vue.d.ts +6 -6
- package/dist/types/components/BaseMediaPictures.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +5 -5
- package/dist/types/components/BaseMediaPreview.vue.d.ts +5 -5
- package/dist/types/components/BaseMenu.vue.d.ts +31 -23
- package/dist/types/components/BaseMenuItem.vue.d.ts +5 -5
- package/dist/types/components/BaseModalCenter.vue.d.ts +14 -9
- package/dist/types/components/BaseModalSide.vue.d.ts +14 -9
- package/dist/types/components/BaseNavbar.vue.d.ts +23 -16
- package/dist/types/components/BaseNavbarItem.vue.d.ts +5 -5
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +4 -4
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +5 -5
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +4 -4
- package/dist/types/components/BasePagination.vue.d.ts +5 -5
- package/dist/types/components/BasePanel.vue.d.ts +5 -5
- package/dist/types/components/BasePassword.vue.d.ts +8 -8
- package/dist/types/components/BaseProgressCircle.vue.d.ts +4 -4
- package/dist/types/components/BaseRadioGroup.vue.d.ts +15 -10
- package/dist/types/components/BaseReadMore.vue.d.ts +13 -6
- package/dist/types/components/BaseRichText.vue.d.ts +6 -6
- package/dist/types/components/BaseScrollColumn.vue.d.ts +5 -5
- package/dist/types/components/BaseSelect.vue.d.ts +15 -8
- package/dist/types/components/BaseShortcut.vue.d.ts +5 -5
- package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -27
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +13 -31
- package/dist/types/components/BaseSkeleton.vue.d.ts +4 -4
- package/dist/types/components/BaseStatistic.vue.d.ts +6 -4
- package/dist/types/components/BaseStepper.vue.d.ts +4 -4
- package/dist/types/components/BaseStepperItem.vue.d.ts +5 -5
- package/dist/types/components/BaseSwitch.vue.d.ts +14 -9
- package/dist/types/components/BaseSystemAlert.vue.d.ts +12 -7
- package/dist/types/components/BaseTabItem.vue.d.ts +15 -31
- package/dist/types/components/BaseTable.vue.d.ts +15 -45
- package/dist/types/components/BaseTableBody.vue.d.ts +8 -3
- package/dist/types/components/BaseTableCell.vue.d.ts +13 -47
- package/dist/types/components/BaseTableColumn.vue.d.ts +8 -8
- package/dist/types/components/BaseTableHead.vue.d.ts +11 -27
- package/dist/types/components/BaseTableHeader.vue.d.ts +15 -35
- package/dist/types/components/BaseTableRow.vue.d.ts +15 -41
- package/dist/types/components/BaseTabs.vue.d.ts +14 -27
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +235 -39
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +457 -39
- package/dist/types/components/BaseTextarea.vue.d.ts +8 -8
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +8 -8
- package/dist/types/components/BaseTimePicker.vue.d.ts +6 -6
- package/dist/types/components/BaseTimeline.vue.d.ts +3 -3
- package/dist/types/components/BaseTimelineItem.vue.d.ts +3 -3
- package/dist/types/components/BaseToast.vue.d.ts +3 -12
- package/dist/types/components/BaseTooltip.vue.d.ts +15 -36
- package/dist/types/components/BaseUniqueCode.vue.d.ts +5 -5
- package/dist/types/components/SlotComponent.d.ts +4 -4
- package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
- package/dist/types/stories/PageShow.vue.d.ts +1 -1
- package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
- package/dist/types/svg/BaseSpinnerLarge.vue.d.ts +1 -1
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
- package/package.json +1 -6
- package/src/components/BaseLazy.stories.js +28 -7
- package/src/components/BaseLazy.vue +64 -10
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/vue';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
button?(_: {}): any;
|
|
6
|
+
dropdown?(_: {
|
|
7
|
+
close: any;
|
|
8
|
+
opened: any;
|
|
9
|
+
}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {
|
|
12
|
+
buttonRef: HTMLDivElement;
|
|
13
|
+
dropdownRef: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
attrs: Partial<{}>;
|
|
9
16
|
};
|
|
10
|
-
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
19
|
animated: {
|
|
12
20
|
default: boolean;
|
|
13
21
|
type: BooleanConstructor;
|
|
@@ -20,7 +28,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
20
28
|
default: string;
|
|
21
29
|
type: PropType<Placement>;
|
|
22
30
|
};
|
|
23
|
-
}
|
|
31
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
32
|
animated: {
|
|
25
33
|
default: boolean;
|
|
26
34
|
type: BooleanConstructor;
|
|
@@ -33,12 +41,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
33
41
|
default: string;
|
|
34
42
|
type: PropType<Placement>;
|
|
35
43
|
};
|
|
36
|
-
}
|
|
44
|
+
}>> & Readonly<{}>, {
|
|
37
45
|
placement: Placement;
|
|
38
46
|
animated: boolean;
|
|
39
47
|
keepAlive: boolean;
|
|
40
|
-
}, {}>;
|
|
41
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
50
|
export default _default;
|
|
43
51
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
52
|
new (): {
|
|
@@ -2,16 +2,23 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { RawOption, SelectConfiguration } from '@/types';
|
|
3
3
|
import { Placement } from '@floating-ui/vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
option:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
slots: {
|
|
6
|
+
button?(_: {
|
|
7
|
+
newValue: any;
|
|
8
|
+
}): any;
|
|
9
|
+
option?(_: {
|
|
10
|
+
option: any;
|
|
11
|
+
active: any;
|
|
12
|
+
size: "xs" | "sm" | "base";
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {
|
|
16
|
+
autocomplete: unknown;
|
|
17
|
+
};
|
|
18
|
+
attrs: Partial<{}>;
|
|
13
19
|
};
|
|
14
|
-
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
22
|
modelValue: {
|
|
16
23
|
type: PropType<RawOption[] | RawOption | null | undefined>;
|
|
17
24
|
default: undefined;
|
|
@@ -56,7 +63,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
56
63
|
default: undefined;
|
|
57
64
|
type: PropType<SelectConfiguration | undefined>;
|
|
58
65
|
};
|
|
59
|
-
}
|
|
66
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
67
|
"update:model-value": (...args: any[]) => void;
|
|
61
68
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
69
|
modelValue: {
|
|
@@ -103,11 +110,11 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
103
110
|
default: undefined;
|
|
104
111
|
type: PropType<SelectConfiguration | undefined>;
|
|
105
112
|
};
|
|
106
|
-
}>> & {
|
|
113
|
+
}>> & Readonly<{
|
|
107
114
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
108
|
-
}
|
|
109
|
-
required: boolean;
|
|
115
|
+
}>, {
|
|
110
116
|
select: SelectConfiguration | undefined;
|
|
117
|
+
required: boolean;
|
|
111
118
|
size: "xs" | "sm" | "base";
|
|
112
119
|
options: RawOption[] | undefined;
|
|
113
120
|
placement: Placement;
|
|
@@ -115,10 +122,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
115
122
|
url: string;
|
|
116
123
|
labelKey: string;
|
|
117
124
|
valueKey: string;
|
|
118
|
-
multiple: boolean;
|
|
119
125
|
emptyOptionLabel: string;
|
|
120
|
-
|
|
121
|
-
|
|
126
|
+
multiple: boolean;
|
|
127
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
128
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
122
129
|
export default _default;
|
|
123
130
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
124
131
|
new (): {
|
|
@@ -2,9 +2,14 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { Size } from '@/utils/sizes';
|
|
3
3
|
import { ClassNameValue } from 'tailwind-merge';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
6
10
|
};
|
|
7
|
-
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
13
|
name: {
|
|
9
14
|
default: string;
|
|
10
15
|
type: StringConstructor;
|
|
@@ -37,7 +42,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
37
42
|
default: string;
|
|
38
43
|
type: PropType<ClassNameValue>;
|
|
39
44
|
};
|
|
40
|
-
}
|
|
45
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
46
|
name: {
|
|
42
47
|
default: string;
|
|
43
48
|
type: StringConstructor;
|
|
@@ -70,17 +75,17 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
70
75
|
default: string;
|
|
71
76
|
type: PropType<ClassNameValue>;
|
|
72
77
|
};
|
|
73
|
-
}
|
|
78
|
+
}>> & Readonly<{}>, {
|
|
74
79
|
label: string;
|
|
75
80
|
required: boolean;
|
|
76
|
-
description: string;
|
|
77
81
|
size: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
78
82
|
name: string;
|
|
79
83
|
help: string;
|
|
84
|
+
description: string;
|
|
80
85
|
errorType: "default" | "alert";
|
|
81
86
|
labelClass: ClassNameValue;
|
|
82
|
-
}, {}>;
|
|
83
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
87
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
84
89
|
export default _default;
|
|
85
90
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
86
91
|
new (): {
|
|
@@ -3,7 +3,7 @@ import { PropType } from 'vue';
|
|
|
3
3
|
type Value = {
|
|
4
4
|
[locale: string]: string | number | boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
modelValue: {
|
|
8
8
|
default: null;
|
|
9
9
|
type: PropType<Value | null>;
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
default: undefined;
|
|
41
41
|
type: StringConstructor;
|
|
42
42
|
};
|
|
43
|
-
}
|
|
43
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
44
|
"update:modelValue": (...args: any[]) => void;
|
|
45
45
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
46
|
modelValue: {
|
|
@@ -79,17 +79,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
default: undefined;
|
|
80
80
|
type: StringConstructor;
|
|
81
81
|
};
|
|
82
|
-
}>> & {
|
|
82
|
+
}>> & Readonly<{
|
|
83
83
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
}
|
|
84
|
+
}>, {
|
|
85
85
|
label: string;
|
|
86
|
-
required: boolean;
|
|
87
86
|
component: "BaseInput" | "BaseTextarea";
|
|
87
|
+
required: boolean;
|
|
88
88
|
name: string;
|
|
89
89
|
modelValue: Value | null;
|
|
90
90
|
hasError: boolean;
|
|
91
|
-
defaultValue: string | number | boolean;
|
|
92
91
|
locales: Locales;
|
|
93
92
|
componentProps: Record<string, any>;
|
|
94
|
-
|
|
93
|
+
defaultValue: string | number | boolean;
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
export default _default;
|
|
@@ -1,71 +1,47 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
slots: {
|
|
3
|
+
default?(_: {
|
|
4
|
+
selecting: boolean;
|
|
5
|
+
dragging: boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
input: HTMLInputElement;
|
|
11
|
+
};
|
|
12
|
+
attrs: Partial<{}>;
|
|
7
13
|
};
|
|
8
|
-
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
9
16
|
disabled?: boolean;
|
|
10
17
|
twButton?: string;
|
|
11
18
|
maxSize?: number;
|
|
12
19
|
accept?: string;
|
|
13
20
|
acceptedExtensions?: string[];
|
|
14
21
|
multiple?: boolean;
|
|
15
|
-
}
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
twButton: string;
|
|
18
|
-
maxSize: number;
|
|
19
|
-
accept: undefined;
|
|
20
|
-
acceptedExtensions: undefined;
|
|
21
|
-
multiple: boolean;
|
|
22
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
23
|
select: (...args: any[]) => void;
|
|
24
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
25
25
|
disabled?: boolean;
|
|
26
26
|
twButton?: string;
|
|
27
27
|
maxSize?: number;
|
|
28
28
|
accept?: string;
|
|
29
29
|
acceptedExtensions?: string[];
|
|
30
30
|
multiple?: boolean;
|
|
31
|
+
}> & Readonly<{
|
|
32
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
31
33
|
}>, {
|
|
32
34
|
disabled: boolean;
|
|
33
35
|
twButton: string;
|
|
34
|
-
maxSize: number;
|
|
35
|
-
accept: undefined;
|
|
36
|
-
acceptedExtensions: undefined;
|
|
37
36
|
multiple: boolean;
|
|
38
|
-
}>>> & {
|
|
39
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
disabled: boolean;
|
|
42
|
-
accept: string;
|
|
43
|
-
multiple: boolean;
|
|
44
|
-
twButton: string;
|
|
45
37
|
maxSize: number;
|
|
38
|
+
accept: string;
|
|
46
39
|
acceptedExtensions: string[];
|
|
47
|
-
}, {}>;
|
|
48
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
42
|
export default _default;
|
|
50
|
-
type __VLS_WithDefaults<P, D> = {
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_Prettify<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|
|
58
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
44
|
new (): {
|
|
60
45
|
$slots: S;
|
|
61
46
|
};
|
|
62
47
|
};
|
|
63
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
-
type __VLS_TypePropsToOption<T> = {
|
|
65
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
-
} : {
|
|
68
|
-
type: import('vue').PropType<T[K]>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
@@ -1,64 +1,76 @@
|
|
|
1
1
|
import { BaseCropperConfig } from '@/types';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {
|
|
5
|
+
selecting: boolean;
|
|
6
|
+
dragging: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
baseCropperModalRef: 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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
23
|
+
modelValue?: boolean;
|
|
24
|
+
cropper: BaseCropperConfig;
|
|
25
|
+
}> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
onCropped?: ((value: string | Blob | HTMLCanvasElement) => any) | undefined;
|
|
28
|
+
}>, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly<{
|
|
36
|
+
modelValue?: boolean;
|
|
37
|
+
cropper: BaseCropperConfig;
|
|
38
|
+
}> & Readonly<{
|
|
39
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
40
|
+
onCropped?: ((value: string | Blob | HTMLCanvasElement) => any) | undefined;
|
|
41
|
+
}>, {
|
|
42
|
+
save: () => Promise<unknown>;
|
|
43
|
+
}, {}, {}, {}, {}> | null;
|
|
44
|
+
};
|
|
45
|
+
attrs: Partial<{}>;
|
|
8
46
|
};
|
|
9
|
-
|
|
47
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
48
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
10
49
|
disabled?: boolean;
|
|
11
50
|
twButton?: string;
|
|
12
51
|
maxSize?: number;
|
|
13
52
|
acceptedExtensions?: string[];
|
|
14
53
|
cropper: BaseCropperConfig | null;
|
|
15
|
-
}
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
twButton: string;
|
|
18
|
-
maxSize: number;
|
|
19
|
-
acceptedExtensions: undefined;
|
|
20
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
55
|
select: (...args: any[]) => void;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
56
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
23
57
|
disabled?: boolean;
|
|
24
58
|
twButton?: string;
|
|
25
59
|
maxSize?: number;
|
|
26
60
|
acceptedExtensions?: string[];
|
|
27
61
|
cropper: BaseCropperConfig | null;
|
|
28
|
-
}
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
twButton: string;
|
|
31
|
-
maxSize: number;
|
|
32
|
-
acceptedExtensions: undefined;
|
|
33
|
-
}>>> & {
|
|
62
|
+
}> & Readonly<{
|
|
34
63
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}
|
|
64
|
+
}>, {
|
|
36
65
|
disabled: boolean;
|
|
37
66
|
twButton: string;
|
|
38
67
|
maxSize: number;
|
|
39
68
|
acceptedExtensions: string[];
|
|
40
|
-
}, {}>;
|
|
41
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
70
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
71
|
export default _default;
|
|
43
|
-
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
type __VLS_Prettify<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
51
72
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
73
|
new (): {
|
|
53
74
|
$slots: S;
|
|
54
75
|
};
|
|
55
76
|
};
|
|
56
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
-
type __VLS_TypePropsToOption<T> = {
|
|
58
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
-
} : {
|
|
61
|
-
type: import('vue').PropType<T[K]>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
@@ -1,33 +1,38 @@
|
|
|
1
1
|
import { BaseCropperConfig } from '@/types';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {
|
|
5
|
+
selecting: boolean;
|
|
6
|
+
dragging: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
uploading: boolean;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
} | {
|
|
11
|
+
selecting: boolean;
|
|
12
|
+
dragging: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
uploading: boolean;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
}): any;
|
|
17
|
+
loading?(_: {
|
|
18
|
+
selecting: boolean;
|
|
19
|
+
dragging: boolean;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
uploading: boolean;
|
|
22
|
+
loading: boolean;
|
|
23
|
+
} | {
|
|
24
|
+
selecting: boolean;
|
|
25
|
+
dragging: boolean;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
uploading: boolean;
|
|
28
|
+
loading: boolean;
|
|
29
|
+
}): any;
|
|
30
|
+
};
|
|
31
|
+
refs: {};
|
|
32
|
+
attrs: Partial<{}>;
|
|
29
33
|
};
|
|
30
|
-
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
31
36
|
component?: "BaseFilePicker" | "BaseFilePickerCrop";
|
|
32
37
|
url?: string;
|
|
33
38
|
disabled?: boolean;
|
|
@@ -39,24 +44,12 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
39
44
|
acceptedExtensions?: string[];
|
|
40
45
|
cropper?: BaseCropperConfig | Record<string, any> | boolean | null;
|
|
41
46
|
multiple?: boolean;
|
|
42
|
-
}
|
|
43
|
-
component: string;
|
|
44
|
-
url: undefined;
|
|
45
|
-
disabled: boolean;
|
|
46
|
-
loading: boolean;
|
|
47
|
-
beforeUpload: () => boolean;
|
|
48
|
-
twButton: string;
|
|
49
|
-
maxSize: undefined;
|
|
50
|
-
accept: undefined;
|
|
51
|
-
acceptedExtensions: undefined;
|
|
52
|
-
cropper: boolean;
|
|
53
|
-
multiple: boolean;
|
|
54
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
48
|
success: (...args: any[]) => void;
|
|
56
49
|
start: (...args: any[]) => void;
|
|
57
50
|
end: (...args: any[]) => void;
|
|
58
51
|
fail: (...args: any[]) => void;
|
|
59
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
60
53
|
component?: "BaseFilePicker" | "BaseFilePickerCrop";
|
|
61
54
|
url?: string;
|
|
62
55
|
disabled?: boolean;
|
|
@@ -68,57 +61,28 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
68
61
|
acceptedExtensions?: string[];
|
|
69
62
|
cropper?: BaseCropperConfig | Record<string, any> | boolean | null;
|
|
70
63
|
multiple?: boolean;
|
|
71
|
-
}
|
|
72
|
-
component: string;
|
|
73
|
-
url: undefined;
|
|
74
|
-
disabled: boolean;
|
|
75
|
-
loading: boolean;
|
|
76
|
-
beforeUpload: () => boolean;
|
|
77
|
-
twButton: string;
|
|
78
|
-
maxSize: undefined;
|
|
79
|
-
accept: undefined;
|
|
80
|
-
acceptedExtensions: undefined;
|
|
81
|
-
cropper: boolean;
|
|
82
|
-
multiple: boolean;
|
|
83
|
-
}>>> & {
|
|
64
|
+
}> & Readonly<{
|
|
84
65
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
85
66
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
86
67
|
onEnd?: ((...args: any[]) => any) | undefined;
|
|
87
68
|
onFail?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
}
|
|
69
|
+
}>, {
|
|
89
70
|
component: "BaseFilePicker" | "BaseFilePickerCrop";
|
|
90
71
|
disabled: boolean;
|
|
91
72
|
url: string;
|
|
92
73
|
cropper: BaseCropperConfig | Record<string, any> | boolean | null;
|
|
93
74
|
loading: boolean;
|
|
94
|
-
accept: string;
|
|
95
|
-
multiple: boolean;
|
|
96
75
|
twButton: string;
|
|
76
|
+
multiple: boolean;
|
|
97
77
|
maxSize: number;
|
|
78
|
+
accept: string;
|
|
98
79
|
acceptedExtensions: string[];
|
|
99
80
|
beforeUpload: () => boolean;
|
|
100
|
-
}, {}>;
|
|
101
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
102
83
|
export default _default;
|
|
103
|
-
type __VLS_WithDefaults<P, D> = {
|
|
104
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
105
|
-
default: D[K];
|
|
106
|
-
}> : P[K];
|
|
107
|
-
};
|
|
108
|
-
type __VLS_Prettify<T> = {
|
|
109
|
-
[K in keyof T]: T[K];
|
|
110
|
-
} & {};
|
|
111
84
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
112
85
|
new (): {
|
|
113
86
|
$slots: S;
|
|
114
87
|
};
|
|
115
88
|
};
|
|
116
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
117
|
-
type __VLS_TypePropsToOption<T> = {
|
|
118
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
119
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
120
|
-
} : {
|
|
121
|
-
type: import('vue').PropType<T[K]>;
|
|
122
|
-
required: true;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
@@ -5,15 +5,22 @@ type NextFunction = () => void;
|
|
|
5
5
|
declare function submit(): void;
|
|
6
6
|
declare function clearErrors(name?: null): void;
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
errors: Record<string, string[]>;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
submit: typeof submit;
|
|
14
|
+
}): any;
|
|
15
|
+
loading?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {
|
|
18
|
+
form: HTMLFormElement;
|
|
19
|
+
};
|
|
20
|
+
attrs: Partial<{}>;
|
|
15
21
|
};
|
|
16
|
-
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
24
|
url: {
|
|
18
25
|
required: true;
|
|
19
26
|
type: StringConstructor;
|
|
@@ -64,14 +71,14 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
64
71
|
default: boolean;
|
|
65
72
|
type: BooleanConstructor;
|
|
66
73
|
};
|
|
67
|
-
}
|
|
74
|
+
}>, {
|
|
68
75
|
submit: typeof submit;
|
|
69
76
|
errors: import("vue").Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
70
77
|
hasErrors: import("vue").ComputedRef<boolean>;
|
|
71
78
|
clearErrors: typeof clearErrors;
|
|
72
79
|
disabled: import("vue").ComputedRef<boolean>;
|
|
73
80
|
loading: import("vue").Ref<boolean, boolean>;
|
|
74
|
-
},
|
|
81
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
75
82
|
success: (...args: any[]) => void;
|
|
76
83
|
error: (...args: any[]) => void;
|
|
77
84
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -125,10 +132,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
125
132
|
default: boolean;
|
|
126
133
|
type: BooleanConstructor;
|
|
127
134
|
};
|
|
128
|
-
}>> & {
|
|
129
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
135
|
+
}>> & Readonly<{
|
|
130
136
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
131
|
-
|
|
137
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
138
|
+
}>, {
|
|
132
139
|
format: DataFormat;
|
|
133
140
|
errorHandler: (error: AxiosError) => void;
|
|
134
141
|
axiosInstance: AxiosInstance | null;
|
|
@@ -138,8 +145,8 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
138
145
|
showLoadingMask: boolean;
|
|
139
146
|
showNotificationOnError: boolean;
|
|
140
147
|
showNotificationOnSuccess: boolean;
|
|
141
|
-
}, {}>;
|
|
142
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
148
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
149
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
143
150
|
export default _default;
|
|
144
151
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
145
152
|
new (): {
|