sprintify-ui 0.6.81 → 0.6.83
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 +15301 -15194
- package/dist/style.css +1 -1
- package/dist/types/components/BaseActionItem.vue.d.ts +31 -0
- package/dist/types/components/BaseActionItemButton.vue.d.ts +32 -0
- package/dist/types/components/BaseAddressForm.vue.d.ts +92 -0
- package/dist/types/components/BaseAlert.vue.d.ts +61 -0
- package/dist/types/{src/components → components}/BaseApp.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseAppDialogs.vue.d.ts +2 -2
- package/dist/types/components/BaseAppNotifications.vue.d.ts +2 -0
- package/dist/types/{src/components → components}/BaseAutocomplete.vue.d.ts +18 -18
- package/dist/types/{src/components → components}/BaseAutocompleteDrawer.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseAutocompleteFetch.vue.d.ts +13 -13
- package/dist/types/{src/components → components}/BaseAvatar.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseAvatarGroup.vue.d.ts +2 -2
- package/dist/types/components/BaseBadge.vue.d.ts +60 -0
- package/dist/types/{src/components → components}/BaseBelongsTo.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseBelongsToFetch.vue.d.ts +8 -8
- package/dist/types/components/BaseBoolean.vue.d.ts +15 -0
- package/dist/types/{src/components → components}/BaseBreadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/BaseButton.vue.d.ts +95 -0
- package/dist/types/{src/components → components}/BaseButtonGroup.vue.d.ts +7 -7
- package/dist/types/{src/components → components}/BaseCalendar.vue.d.ts +19 -19
- package/dist/types/{src/components → components}/BaseCard.vue.d.ts +1 -1
- package/dist/types/components/BaseCardRow.vue.d.ts +42 -0
- package/dist/types/{src/components → components}/BaseCharacterCounter.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseClipboard.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseColor.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseContainer.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseCounter.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseCropper.vue.d.ts +25 -42
- package/dist/types/components/BaseCropperModal.vue.d.ts +27 -0
- package/dist/types/{src/components → components}/BaseDataIterator.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +23 -0
- package/dist/types/components/BaseDataIteratorSectionButton.vue.d.ts +23 -0
- package/dist/types/{src/components → components}/BaseDataIteratorSectionColumns.vue.d.ts +245 -191
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +29 -0
- package/dist/types/{src/components → components}/BaseDataTable.vue.d.ts +7 -7
- package/dist/types/components/BaseDataTableRowAction.vue.d.ts +35 -0
- package/dist/types/{src/components → components}/BaseDataTableTemplate.vue.d.ts +19 -25
- package/dist/types/components/BaseDatePicker.vue.d.ts +99 -0
- package/dist/types/{src/components → components}/BaseDateSelect.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseDescriptionList.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseDescriptionListItem.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseDialog.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseDisplayRelativeTime.vue.d.ts +2 -2
- package/dist/types/components/BaseDraggable.vue.d.ts +36 -0
- package/dist/types/{src/components → components}/BaseDropdown.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseDropdownAutocomplete.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseField.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseFieldI18n.vue.d.ts +5 -5
- package/dist/types/components/BaseFilePicker.vue.d.ts +69 -0
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +62 -0
- package/dist/types/components/BaseFileUploader.vue.d.ts +122 -0
- package/dist/types/{src/components → components}/BaseForm.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseGantt.vue.d.ts +141 -120
- package/dist/types/{src/components → components}/BaseHasMany.vue.d.ts +2 -2
- package/dist/types/components/BaseHeader.vue.d.ts +78 -0
- package/dist/types/components/BaseIconPicker.vue.d.ts +43 -0
- package/dist/types/{src/components → components}/BaseInput.vue.d.ts +15 -15
- package/dist/types/{src/components → components}/BaseInputError.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseInputLabel.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseInputPercent.vue.d.ts +8 -8
- package/dist/types/components/BaseJsonReader.vue.d.ts +40 -0
- package/dist/types/{src/components → components}/BaseLayoutNotificationDropdown.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseLayoutNotificationItem.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +18 -0
- package/dist/types/{src/components → components}/BaseLayoutSidebar.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseLayoutSidebarConfigurable.vue.d.ts +3 -3
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +59 -0
- package/dist/types/{src/components → components}/BaseLayoutStackedConfigurable.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseLoadingCover.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaGallery.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaGalleryItem.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMediaItem.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMediaLibrary.vue.d.ts +10 -10
- package/dist/types/{src/components → components}/BaseMediaList.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaListItem.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaPictures.vue.d.ts +4 -4
- package/dist/types/{src/components → components}/BaseMediaPicturesItem.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMediaPreview.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseMenu.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseMenuItem.vue.d.ts +6 -6
- package/dist/types/{src/components → components}/BaseModalCenter.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseModalSide.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseNavbar.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseNavbarItem.vue.d.ts +11 -2
- package/dist/types/{src/components → components}/BaseNavbarItemContent.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseNavbarSideItem.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseNavbarSideItemContent.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BasePagination.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BasePanel.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BasePassword.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseProgressCircle.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseRadioGroup.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseReadMore.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseRichText.vue.d.ts +7 -7
- package/dist/types/{src/components → components}/BaseScrollColumn.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseSelect.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseShortcut.vue.d.ts +5 -5
- package/dist/types/components/BaseSideNavigation.vue.d.ts +36 -0
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +46 -0
- package/dist/types/{src/components → components}/BaseSkeleton.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseStatistic.vue.d.ts +2 -2
- package/dist/types/{src/components → components}/BaseStepper.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseStepperItem.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseSwitch.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseSystemAlert.vue.d.ts +4 -4
- package/dist/types/components/BaseTabItem.vue.d.ts +46 -0
- package/dist/types/components/BaseTable.vue.d.ts +58 -0
- package/dist/types/{src/components → components}/BaseTableBody.vue.d.ts +1 -1
- package/dist/types/components/BaseTableCell.vue.d.ts +68 -0
- package/dist/types/{src/components → components}/BaseTableColumn.vue.d.ts +9 -9
- package/dist/types/components/BaseTableHead.vue.d.ts +36 -0
- package/dist/types/components/BaseTableHeader.vue.d.ts +47 -0
- package/dist/types/components/BaseTableRow.vue.d.ts +66 -0
- package/dist/types/components/BaseTabs.vue.d.ts +36 -0
- package/dist/types/{src/components → components}/BaseTagAutocomplete.vue.d.ts +13 -13
- package/dist/types/{src/components → components}/BaseTagAutocompleteFetch.vue.d.ts +5 -5
- package/dist/types/{src/components → components}/BaseTextarea.vue.d.ts +7 -7
- package/dist/types/{src/components → components}/BaseTextareaAutoresize.vue.d.ts +8 -8
- package/dist/types/{src/components → components}/BaseTimePicker.vue.d.ts +3 -3
- package/dist/types/{src/components → components}/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/components/BaseToast.vue.d.ts +17 -0
- package/dist/types/components/BaseTooltip.vue.d.ts +47 -0
- package/dist/types/{src/components → components}/BaseUniqueCode.vue.d.ts +1 -1
- package/dist/types/{src/components → components}/SlotComponent.d.ts +1 -1
- package/dist/types/{src/services → services}/gantt/format.d.ts +4 -4
- package/dist/types/{src/services → services}/gantt/timescale.d.ts +2 -2
- package/dist/types/stories/PageInputSizes.vue.d.ts +2 -0
- package/dist/types/stories/PageShow.vue.d.ts +2 -0
- package/dist/types/svg/BaseEmptyState.vue.d.ts +2 -0
- package/dist/types/svg/BaseSpinnerLarge.vue.d.ts +2 -0
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +2 -0
- package/dist/types/{src/types → types}/index.d.ts +1 -0
- package/package.json +58 -58
- package/src/assets/base-json-reader.css +32 -0
- package/src/assets/main.css +1 -0
- package/src/components/BaseActionItem.vue +2 -1
- package/src/components/BaseDataTableTemplate.vue +36 -44
- package/src/components/BaseJsonReader.stories.js +128 -0
- package/src/components/BaseJsonReader.vue +199 -0
- package/src/components/BaseLayoutNotificationItem.vue +1 -1
- package/src/components/BaseNavbarItem.vue +25 -2
- package/src/components/BaseScrollColumn.vue +0 -2
- package/src/components/BaseTimePicker.vue +0 -3
- package/src/types/index.ts +1 -0
- package/dist/types/src/components/BaseActionItem.vue.d.ts +0 -32
- package/dist/types/src/components/BaseActionItemButton.vue.d.ts +0 -25
- package/dist/types/src/components/BaseAddressForm.vue.d.ts +0 -121
- package/dist/types/src/components/BaseAlert.vue.d.ts +0 -68
- package/dist/types/src/components/BaseAppNotifications.vue.d.ts +0 -2
- package/dist/types/src/components/BaseBadge.vue.d.ts +0 -69
- package/dist/types/src/components/BaseBoolean.vue.d.ts +0 -10
- package/dist/types/src/components/BaseButton.vue.d.ts +0 -120
- package/dist/types/src/components/BaseCardRow.vue.d.ts +0 -33
- package/dist/types/src/components/BaseCropperModal.vue.d.ts +0 -28
- package/dist/types/src/components/BaseDataIteratorSectionBox.vue.d.ts +0 -20
- package/dist/types/src/components/BaseDataIteratorSectionButton.vue.d.ts +0 -25
- package/dist/types/src/components/BaseDataIteratorSectionModal.vue.d.ts +0 -32
- package/dist/types/src/components/BaseDataTableRowAction.vue.d.ts +0 -32
- package/dist/types/src/components/BaseDatePicker.vue.d.ts +0 -136
- package/dist/types/src/components/BaseDraggable.vue.d.ts +0 -51
- package/dist/types/src/components/BaseFilePicker.vue.d.ts +0 -74
- package/dist/types/src/components/BaseFilePickerCrop.vue.d.ts +0 -65
- package/dist/types/src/components/BaseFileUploader.vue.d.ts +0 -147
- package/dist/types/src/components/BaseHeader.vue.d.ts +0 -93
- package/dist/types/src/components/BaseIconPicker.vue.d.ts +0 -36
- package/dist/types/src/components/BaseLayoutNotificationItemContent.vue.d.ts +0 -21
- package/dist/types/src/components/BaseLayoutStacked.vue.d.ts +0 -56
- package/dist/types/src/components/BaseSideNavigation.vue.d.ts +0 -21
- package/dist/types/src/components/BaseSideNavigationItem.vue.d.ts +0 -41
- package/dist/types/src/components/BaseTabItem.vue.d.ts +0 -41
- package/dist/types/src/components/BaseTable.vue.d.ts +0 -59
- package/dist/types/src/components/BaseTableCell.vue.d.ts +0 -77
- package/dist/types/src/components/BaseTableHead.vue.d.ts +0 -21
- package/dist/types/src/components/BaseTableHeader.vue.d.ts +0 -40
- package/dist/types/src/components/BaseTableRow.vue.d.ts +0 -67
- package/dist/types/src/components/BaseTabs.vue.d.ts +0 -21
- package/dist/types/src/components/BaseToast.vue.d.ts +0 -20
- package/dist/types/src/components/BaseTooltip.vue.d.ts +0 -40
- package/dist/types/src/stories/PageInputSizes.vue.d.ts +0 -2
- package/dist/types/src/stories/PageShow.vue.d.ts +0 -2
- package/dist/types/src/svg/BaseEmptyState.vue.d.ts +0 -2
- package/dist/types/src/svg/BaseSpinnerLarge.vue.d.ts +0 -2
- package/dist/types/src/svg/BaseSpinnerSmall.vue.d.ts +0 -2
- /package/dist/types/{src/components → components}/index.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/breakpoints.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/clickOutside.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/field.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/hasOptions.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/inputSize.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/mediaQuery.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/modal.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/paginatedData.d.ts +0 -0
- /package/dist/types/{src/composables → composables}/tooltip.d.ts +0 -0
- /package/dist/types/{src/constants → constants}/MyConstants.d.ts +0 -0
- /package/dist/types/{src/constants → constants}/index.d.ts +0 -0
- /package/dist/types/{src/i18n → i18n}/index.d.ts +0 -0
- /package/dist/types/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/types/{src/services → services}/gantt/types.d.ts +0 -0
- /package/dist/types/{src/services → services}/table/classes.d.ts +0 -0
- /package/dist/types/{src/services → services}/table/types.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/dialogs.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/i18n.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/notifications.d.ts +0 -0
- /package/dist/types/{src/stores → stores}/systemAlerts.d.ts +0 -0
- /package/dist/types/{src/types → types}/CalendarEvent.d.ts +0 -0
- /package/dist/types/{src/types → types}/Color.d.ts +0 -0
- /package/dist/types/{src/types → types}/Country.d.ts +0 -0
- /package/dist/types/{src/types → types}/ImagePickerResult.d.ts +0 -0
- /package/dist/types/{src/types → types}/Media.d.ts +0 -0
- /package/dist/types/{src/types → types}/Notification.d.ts +0 -0
- /package/dist/types/{src/types → types}/Region.d.ts +0 -0
- /package/dist/types/{src/types → types}/Status.d.ts +0 -0
- /package/dist/types/{src/types → types}/StepperItem.d.ts +0 -0
- /package/dist/types/{src/types → types}/TimelineItem.d.ts +0 -0
- /package/dist/types/{src/types → types}/UploadedFile.d.ts +0 -0
- /package/dist/types/{src/types → types}/User.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/blob.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/colors.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/avatar.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/cover.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/presetInterface.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/cropper/presets.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/fileSizeFormat.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/fileValidations.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/getApiData.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/index.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/resizeImageFromURI.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/scrollPreventer.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/sizes.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/slots.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/toHumanList.d.ts +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DataIteratorSection } from '@/types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
modelValue: boolean;
|
|
4
|
+
section: DataIteratorSection;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: boolean) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
|
+
modelValue: boolean;
|
|
9
|
+
section: DataIteratorSection;
|
|
10
|
+
}>>> & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
|
+
}, {}, {}>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToOption<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -195,7 +195,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
195
195
|
"update:checked-rows": (...args: any[]) => void;
|
|
196
196
|
fetch: (...args: any[]) => void;
|
|
197
197
|
"cell-click": (...args: any[]) => void;
|
|
198
|
-
}, string, import("vue").
|
|
198
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
199
199
|
/**
|
|
200
200
|
* Base URL from which to make requests
|
|
201
201
|
*/
|
|
@@ -392,12 +392,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
392
392
|
layout: "default" | "compact";
|
|
393
393
|
sections: DataIteratorSection[];
|
|
394
394
|
scrollTopOnFetch: boolean;
|
|
395
|
-
detailed: boolean;
|
|
396
|
-
checkable: boolean;
|
|
397
|
-
isRowCheckable: Function;
|
|
398
|
-
checkedRows: Record<string, any>[];
|
|
399
|
-
hasDetailedVisible: (row: any) => boolean;
|
|
400
|
-
maxHeight: number;
|
|
401
395
|
showUrl: ((row: CollectionItem) => RouteLocationRaw) | undefined;
|
|
402
396
|
editButton: boolean;
|
|
403
397
|
editUrl: ((row: CollectionItem) => RouteLocationRaw) | undefined;
|
|
@@ -405,8 +399,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
405
399
|
deleteUrl: ((row: CollectionItem) => string) | undefined;
|
|
406
400
|
deleteLabel: string;
|
|
407
401
|
deleteMessage: string;
|
|
402
|
+
detailed: boolean;
|
|
403
|
+
hasDetailedVisible: (row: any) => boolean;
|
|
404
|
+
checkable: boolean;
|
|
408
405
|
checkableActions: ActionItem[];
|
|
406
|
+
checkedRows: Record<string, any>[];
|
|
407
|
+
isRowCheckable: Function;
|
|
409
408
|
toggleable: boolean;
|
|
409
|
+
maxHeight: number;
|
|
410
410
|
rowActions: RowAction[];
|
|
411
411
|
numberOfVisibleRowActions: number;
|
|
412
412
|
}, {}>, Partial<Record<string, (_: {}) => any>> & {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CollectionItem, RowAction } from '@/types';
|
|
2
|
+
import { Size } from '@/utils/sizes';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
row: CollectionItem;
|
|
5
|
+
rowAction: RowAction;
|
|
6
|
+
size?: "xs" | "sm" | "md" | undefined;
|
|
7
|
+
}>, {
|
|
8
|
+
size: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
+
row: CollectionItem;
|
|
11
|
+
rowAction: RowAction;
|
|
12
|
+
size?: "xs" | "sm" | "md" | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
size: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
size: Size;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BaseTableColumn, Row } from '@/types';
|
|
3
|
+
/**
|
|
4
|
+
* Remove all rows in current page.
|
|
5
|
+
*/
|
|
6
|
+
declare function uncheckAll(): void;
|
|
7
|
+
declare function scrollTop(): void;
|
|
3
8
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
9
|
/** Table data */
|
|
5
10
|
data: {
|
|
@@ -30,7 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
35
|
* @values left, right
|
|
31
36
|
*/
|
|
32
37
|
checkboxPosition: {
|
|
33
|
-
type: PropType<"
|
|
38
|
+
type: PropType<"right" | "left">;
|
|
34
39
|
default: string;
|
|
35
40
|
};
|
|
36
41
|
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
@@ -61,11 +66,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
61
66
|
type: FunctionConstructor;
|
|
62
67
|
default: () => boolean;
|
|
63
68
|
};
|
|
64
|
-
/** Use a unique key of your data Object when use detailed or opened detailed. (id recommended) */
|
|
65
|
-
rowKey: {
|
|
66
|
-
type: StringConstructor;
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
69
|
detailTransition: {
|
|
70
70
|
type: StringConstructor;
|
|
71
71
|
default: string;
|
|
@@ -86,7 +86,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
86
86
|
meta: Record<string, any> | undefined;
|
|
87
87
|
newKey: number;
|
|
88
88
|
numeric: boolean;
|
|
89
|
-
position: "
|
|
89
|
+
position: "right" | "left";
|
|
90
90
|
searchable: boolean;
|
|
91
91
|
sortable: boolean;
|
|
92
92
|
clickable: boolean;
|
|
@@ -99,18 +99,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
99
99
|
thAttrs: (column: BaseTableColumn) => Record<string, any>;
|
|
100
100
|
tdAttrs: (row: Row, column: BaseTableColumn) => Record<string, any>;
|
|
101
101
|
}[]>;
|
|
102
|
-
uncheckAll:
|
|
103
|
-
scrollTop:
|
|
102
|
+
uncheckAll: typeof uncheckAll;
|
|
103
|
+
scrollTop: typeof scrollTop;
|
|
104
104
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
105
105
|
sort: (...args: any[]) => void;
|
|
106
106
|
check: (...args: any[]) => void;
|
|
107
|
+
"cell-click": (...args: any[]) => void;
|
|
107
108
|
"check-all": (...args: any[]) => void;
|
|
108
109
|
"update:checkedRows": (...args: any[]) => void;
|
|
109
110
|
"details-open": (...args: any[]) => void;
|
|
110
111
|
"details-close": (...args: any[]) => void;
|
|
111
112
|
"update:openedDetailed": (...args: any[]) => void;
|
|
112
|
-
|
|
113
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
114
114
|
/** Table data */
|
|
115
115
|
data: {
|
|
116
116
|
type: PropType<Row[]>;
|
|
@@ -140,7 +140,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
140
140
|
* @values left, right
|
|
141
141
|
*/
|
|
142
142
|
checkboxPosition: {
|
|
143
|
-
type: PropType<"
|
|
143
|
+
type: PropType<"right" | "left">;
|
|
144
144
|
default: string;
|
|
145
145
|
};
|
|
146
146
|
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
@@ -171,11 +171,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
171
171
|
type: FunctionConstructor;
|
|
172
172
|
default: () => boolean;
|
|
173
173
|
};
|
|
174
|
-
/** Use a unique key of your data Object when use detailed or opened detailed. (id recommended) */
|
|
175
|
-
rowKey: {
|
|
176
|
-
type: StringConstructor;
|
|
177
|
-
default: string;
|
|
178
|
-
};
|
|
179
174
|
detailTransition: {
|
|
180
175
|
type: StringConstructor;
|
|
181
176
|
default: string;
|
|
@@ -190,29 +185,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
190
185
|
};
|
|
191
186
|
}>> & {
|
|
192
187
|
onCheck?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
193
189
|
onSort?: ((...args: any[]) => any) | undefined;
|
|
194
190
|
"onCheck-all"?: ((...args: any[]) => any) | undefined;
|
|
195
191
|
"onUpdate:checkedRows"?: ((...args: any[]) => any) | undefined;
|
|
196
192
|
"onDetails-open"?: ((...args: any[]) => any) | undefined;
|
|
197
193
|
"onDetails-close"?: ((...args: any[]) => any) | undefined;
|
|
198
194
|
"onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
|
|
199
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
200
195
|
}, {
|
|
201
|
-
data: Row[];
|
|
202
196
|
size: "xs" | "sm" | "md";
|
|
203
197
|
loading: boolean;
|
|
204
198
|
sortField: string;
|
|
205
199
|
sortDirection: string;
|
|
206
|
-
visibleColumns: number[];
|
|
207
200
|
detailed: boolean;
|
|
201
|
+
hasDetailedVisible: Function;
|
|
208
202
|
checkable: boolean;
|
|
209
|
-
checkboxPosition: "left" | "right";
|
|
210
|
-
isRowCheckable: Function;
|
|
211
203
|
checkedRows: Row[];
|
|
212
|
-
|
|
213
|
-
rowKey: string;
|
|
214
|
-
detailTransition: string;
|
|
204
|
+
isRowCheckable: Function;
|
|
215
205
|
maxHeight: number;
|
|
206
|
+
data: Row[];
|
|
207
|
+
visibleColumns: number[];
|
|
208
|
+
checkboxPosition: "right" | "left";
|
|
209
|
+
detailTransition: string;
|
|
216
210
|
}, {}>, {
|
|
217
211
|
default?(_: {}): any;
|
|
218
212
|
detail?(_: {
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Size } from '@/utils/sizes';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
modelValue?: string | string[] | null | undefined;
|
|
4
|
+
required?: boolean | undefined;
|
|
5
|
+
size?: "xs" | "sm" | "md" | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
minDate?: string | Date | null | undefined;
|
|
8
|
+
maxDate?: string | Date | null | undefined;
|
|
9
|
+
hasError?: boolean | undefined;
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
inline?: boolean | undefined;
|
|
12
|
+
showInput?: boolean | undefined;
|
|
13
|
+
enableTime?: boolean | undefined;
|
|
14
|
+
mode?: "multiple" | "single" | "range" | "time" | undefined;
|
|
15
|
+
noCalendar?: boolean | undefined;
|
|
16
|
+
disableDates?: (string | Date | ((date: Date) => boolean))[] | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
modelValue: null;
|
|
19
|
+
required: undefined;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
size: undefined;
|
|
22
|
+
minDate: null;
|
|
23
|
+
maxDate: null;
|
|
24
|
+
hasError: boolean;
|
|
25
|
+
name: undefined;
|
|
26
|
+
inline: boolean;
|
|
27
|
+
showInput: boolean;
|
|
28
|
+
enableTime: boolean;
|
|
29
|
+
mode: string;
|
|
30
|
+
noCalendar: boolean;
|
|
31
|
+
disableDates(): never[];
|
|
32
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (...args: any[]) => void;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
35
|
+
modelValue?: string | string[] | null | undefined;
|
|
36
|
+
required?: boolean | undefined;
|
|
37
|
+
size?: "xs" | "sm" | "md" | undefined;
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
minDate?: string | Date | null | undefined;
|
|
40
|
+
maxDate?: string | Date | null | undefined;
|
|
41
|
+
hasError?: boolean | undefined;
|
|
42
|
+
name?: string | undefined;
|
|
43
|
+
inline?: boolean | undefined;
|
|
44
|
+
showInput?: boolean | undefined;
|
|
45
|
+
enableTime?: boolean | undefined;
|
|
46
|
+
mode?: "multiple" | "single" | "range" | "time" | undefined;
|
|
47
|
+
noCalendar?: boolean | undefined;
|
|
48
|
+
disableDates?: (string | Date | ((date: Date) => boolean))[] | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
modelValue: null;
|
|
51
|
+
required: undefined;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
size: undefined;
|
|
54
|
+
minDate: null;
|
|
55
|
+
maxDate: null;
|
|
56
|
+
hasError: boolean;
|
|
57
|
+
name: undefined;
|
|
58
|
+
inline: boolean;
|
|
59
|
+
showInput: boolean;
|
|
60
|
+
enableTime: boolean;
|
|
61
|
+
mode: string;
|
|
62
|
+
noCalendar: boolean;
|
|
63
|
+
disableDates(): never[];
|
|
64
|
+
}>>> & {
|
|
65
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
required: boolean;
|
|
68
|
+
modelValue: string | null | string[];
|
|
69
|
+
size: Size;
|
|
70
|
+
name: string;
|
|
71
|
+
disabled: boolean;
|
|
72
|
+
hasError: boolean;
|
|
73
|
+
inline: boolean;
|
|
74
|
+
mode: 'single' | 'multiple' | 'range' | 'time';
|
|
75
|
+
minDate: string | Date | null;
|
|
76
|
+
maxDate: string | Date | null;
|
|
77
|
+
showInput: boolean;
|
|
78
|
+
enableTime: boolean;
|
|
79
|
+
noCalendar: boolean;
|
|
80
|
+
disableDates: (string | Date | ((date: Date) => boolean))[];
|
|
81
|
+
}, {}>;
|
|
82
|
+
export default _default;
|
|
83
|
+
type __VLS_WithDefaults<P, D> = {
|
|
84
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
85
|
+
default: D[K];
|
|
86
|
+
}> : P[K];
|
|
87
|
+
};
|
|
88
|
+
type __VLS_Prettify<T> = {
|
|
89
|
+
[K in keyof T]: T[K];
|
|
90
|
+
} & {};
|
|
91
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
92
|
+
type __VLS_TypePropsToOption<T> = {
|
|
93
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
94
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
95
|
+
} : {
|
|
96
|
+
type: import('vue').PropType<T[K]>;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
};
|
|
39
39
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
40
|
"update:modelValue": (...args: any[]) => void;
|
|
41
|
-
}, string, import("vue").
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
42
|
modelValue: {
|
|
43
43
|
required: true;
|
|
44
44
|
type: PropType<string | null>;
|
|
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
required: boolean;
|
|
82
|
-
name: string;
|
|
83
82
|
size: "xs" | "sm" | "md";
|
|
83
|
+
name: string;
|
|
84
84
|
disabled: boolean;
|
|
85
85
|
hasError: boolean;
|
|
86
86
|
minYear: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
2
|
default?(_: {}): any;
|
|
3
3
|
}>;
|
|
4
4
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
2
|
left?(_: {}): any;
|
|
3
3
|
right?(_: {}): any;
|
|
4
4
|
}>;
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
color: {
|
|
4
4
|
required: true;
|
|
5
|
-
type: PropType<"
|
|
5
|
+
type: PropType<"info" | "success" | "danger" | "warning">;
|
|
6
6
|
};
|
|
7
7
|
title: {
|
|
8
8
|
default: string;
|
|
@@ -23,10 +23,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
23
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
cancel: (...args: any[]) => void;
|
|
25
25
|
confirm: (...args: any[]) => void;
|
|
26
|
-
}, string, import("vue").
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
color: {
|
|
28
28
|
required: true;
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"info" | "success" | "danger" | "warning">;
|
|
30
30
|
};
|
|
31
31
|
title: {
|
|
32
32
|
default: string;
|
|
@@ -45,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
45
|
type: StringConstructor;
|
|
46
46
|
};
|
|
47
47
|
}>> & {
|
|
48
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
49
48
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
title: string;
|
|
52
52
|
message: string;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
default: string;
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
};
|
|
18
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
value: {
|
|
20
20
|
required: true;
|
|
21
21
|
type: StringConstructor;
|
|
@@ -33,8 +33,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
};
|
|
35
35
|
}>>, {
|
|
36
|
-
as: string;
|
|
37
36
|
tooltip: boolean;
|
|
37
|
+
as: string;
|
|
38
38
|
timeZone: string;
|
|
39
39
|
}, {}>, {
|
|
40
40
|
default?(_: {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
modelValue: any[];
|
|
3
|
+
itemKey: string;
|
|
4
|
+
handle: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
9
|
+
modelValue: any[];
|
|
10
|
+
itemKey: string;
|
|
11
|
+
handle: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}, {}, {}>, {
|
|
16
|
+
item?(_: {
|
|
17
|
+
key: any;
|
|
18
|
+
element: any;
|
|
19
|
+
index: number;
|
|
20
|
+
}): any;
|
|
21
|
+
}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
13
|
default: string;
|
|
14
14
|
type: PropType<Placement>;
|
|
15
15
|
};
|
|
16
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
animated: {
|
|
18
18
|
default: boolean;
|
|
19
19
|
type: BooleanConstructor;
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
type: StringConstructor;
|
|
28
28
|
};
|
|
29
29
|
size: {
|
|
30
|
-
type: PropType<"
|
|
30
|
+
type: PropType<"xs" | "sm" | "base">;
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
required: {
|
|
@@ -48,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
48
|
};
|
|
49
49
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
50
|
"update:model-value": (...args: any[]) => void;
|
|
51
|
-
}, string, import("vue").
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
52
|
modelValue: {
|
|
53
53
|
type: PropType<Option | Option[] | null | undefined>;
|
|
54
54
|
default: undefined;
|
|
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
74
74
|
type: StringConstructor;
|
|
75
75
|
};
|
|
76
76
|
size: {
|
|
77
|
-
type: PropType<"
|
|
77
|
+
type: PropType<"xs" | "sm" | "base">;
|
|
78
78
|
default: string;
|
|
79
79
|
};
|
|
80
80
|
required: {
|
|
@@ -97,16 +97,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
97
97
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
}, {
|
|
99
99
|
required: boolean;
|
|
100
|
+
modelValue: Option | Option[] | null | undefined;
|
|
101
|
+
size: "xs" | "sm" | "base";
|
|
100
102
|
select: SelectConfiguration | undefined;
|
|
101
|
-
size: "base" | "xs" | "sm";
|
|
102
103
|
options: Option[] | undefined;
|
|
103
|
-
placement: Placement;
|
|
104
|
-
modelValue: Option | Option[] | null | undefined;
|
|
105
104
|
labelKey: string;
|
|
106
105
|
valueKey: string;
|
|
107
|
-
multiple: boolean;
|
|
108
106
|
emptyOptionLabel: string;
|
|
109
107
|
url: string;
|
|
108
|
+
multiple: boolean;
|
|
109
|
+
placement: Placement;
|
|
110
110
|
}, {}>, {
|
|
111
111
|
button?(_: {
|
|
112
112
|
newValue: any;
|
|
@@ -114,7 +114,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
114
114
|
option?(_: {
|
|
115
115
|
option: any;
|
|
116
116
|
active: any;
|
|
117
|
-
size: "
|
|
117
|
+
size: "xs" | "sm" | "base";
|
|
118
118
|
}): any;
|
|
119
119
|
}>;
|
|
120
120
|
export default _default;
|
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
default: string;
|
|
34
34
|
type: PropType<ClassNameValue>;
|
|
35
35
|
};
|
|
36
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
36
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
name: {
|
|
38
38
|
default: string;
|
|
39
39
|
type: StringConstructor;
|
|
@@ -67,10 +67,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
67
67
|
type: PropType<ClassNameValue>;
|
|
68
68
|
};
|
|
69
69
|
}>>, {
|
|
70
|
-
label: string;
|
|
71
70
|
required: boolean;
|
|
72
|
-
name: string;
|
|
73
71
|
size: "xs" | "sm" | "md";
|
|
72
|
+
name: string;
|
|
73
|
+
label: string;
|
|
74
74
|
help: string;
|
|
75
75
|
description: string;
|
|
76
76
|
errorType: "default" | "alert";
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
};
|
|
43
43
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
44
|
"update:modelValue": (...args: any[]) => void;
|
|
45
|
-
}, string, import("vue").
|
|
45
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
46
|
modelValue: {
|
|
47
47
|
default: null;
|
|
48
48
|
type: PropType<Value | null>;
|
|
@@ -82,14 +82,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
}>> & {
|
|
83
83
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
label: string;
|
|
86
85
|
required: boolean;
|
|
87
|
-
component: "BaseInput" | "BaseTextarea";
|
|
88
|
-
name: string;
|
|
89
86
|
modelValue: Value | null;
|
|
87
|
+
name: string;
|
|
90
88
|
hasError: boolean;
|
|
91
|
-
|
|
89
|
+
label: string;
|
|
92
90
|
locales: Locales;
|
|
91
|
+
component: "BaseInput" | "BaseTextarea";
|
|
93
92
|
componentProps: Record<string, any>;
|
|
93
|
+
defaultValue: string | number | boolean;
|
|
94
94
|
}, {}>;
|
|
95
95
|
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
disabled?: boolean | undefined;
|
|
3
|
+
twButton?: string | undefined;
|
|
4
|
+
maxSize?: number | undefined;
|
|
5
|
+
accept?: string | undefined;
|
|
6
|
+
acceptedExtensions?: string[] | undefined;
|
|
7
|
+
multiple?: boolean | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
twButton: string;
|
|
11
|
+
maxSize: number;
|
|
12
|
+
accept: undefined;
|
|
13
|
+
acceptedExtensions: undefined;
|
|
14
|
+
multiple: boolean;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
select: (...args: any[]) => void;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
twButton?: string | undefined;
|
|
20
|
+
maxSize?: number | undefined;
|
|
21
|
+
accept?: string | undefined;
|
|
22
|
+
acceptedExtensions?: string[] | undefined;
|
|
23
|
+
multiple?: boolean | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
twButton: string;
|
|
27
|
+
maxSize: number;
|
|
28
|
+
accept: undefined;
|
|
29
|
+
acceptedExtensions: undefined;
|
|
30
|
+
multiple: boolean;
|
|
31
|
+
}>>> & {
|
|
32
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
twButton: string;
|
|
36
|
+
multiple: boolean;
|
|
37
|
+
maxSize: number;
|
|
38
|
+
accept: string;
|
|
39
|
+
acceptedExtensions: string[];
|
|
40
|
+
}, {}>, {
|
|
41
|
+
default?(_: {
|
|
42
|
+
selecting: boolean;
|
|
43
|
+
dragging: boolean;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
}): any;
|
|
46
|
+
}>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToOption<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('vue').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|