sprintify-ui 0.10.14 → 0.10.16
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/README.md +4 -2
- package/dist/BaseCkeditor-C9d4NSCx.js +113 -0
- package/dist/sprintify-ui.es.js +14283 -81751
- package/dist/style.css +3 -3
- package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
- package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +24 -11
- package/dist/types/components/BaseApp.vue.d.ts +14 -12
- package/dist/types/components/BaseAssign.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +642 -452
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +117 -22
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1029 -410
- package/dist/types/components/BaseAvatar.vue.d.ts +1 -1
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +23 -11
- package/dist/types/components/BaseBelongsTo.vue.d.ts +985 -409
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +750 -369
- package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
- package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/BaseButton.vue.d.ts +57 -13
- package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
- package/dist/types/components/BaseCard.vue.d.ts +26 -12
- package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCkeditor.vue.d.ts +32 -0
- package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
- package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
- package/dist/types/components/BaseContainer.vue.d.ts +16 -11
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +55 -30
- package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
- package/dist/types/components/BaseDataTable.vue.d.ts +2045 -735
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +563 -100
- package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
- package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
- package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
- package/dist/types/components/BaseDialog.vue.d.ts +114 -407
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
- package/dist/types/components/BaseDraggable.vue.d.ts +21 -17
- package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +134 -19
- package/dist/types/components/BaseField.vue.d.ts +103 -12
- package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
- package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
- package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
- package/dist/types/components/BaseForm.vue.d.ts +161 -20
- package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
- package/dist/types/components/BaseHasMany.vue.d.ts +586 -345
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +598 -249
- package/dist/types/components/BaseHeader.vue.d.ts +1 -1
- package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
- package/dist/types/components/BaseInputError.vue.d.ts +23 -11
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +127 -16
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
- package/dist/types/components/BaseLazy.vue.d.ts +20 -15
- package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
- package/dist/types/components/BaseMediaList.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPictures.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +233 -30
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
- package/dist/types/components/BaseModalSide.vue.d.ts +72 -12
- package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
- package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
- package/dist/types/components/BasePagination.vue.d.ts +1 -1
- package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
- package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +149 -12
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
- package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
- package/dist/types/components/BaseStepper.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +118 -10
- package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
- package/dist/types/components/BaseTabItem.vue.d.ts +25 -16
- package/dist/types/components/BaseTable.vue.d.ts +29 -14
- package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
- package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
- package/dist/types/components/BaseTableColumn.vue.d.ts +2 -2
- package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
- package/dist/types/components/BaseTableHeader.vue.d.ts +25 -14
- package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
- package/dist/types/components/BaseTabs.vue.d.ts +16 -15
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +578 -199
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +803 -346
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
- package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/components/BaseToast.vue.d.ts +1 -1
- package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
- package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
- 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/BaseSpinnerSmall.vue.d.ts +1 -1
- package/package.json +5 -4
- package/src/components/BaseCkeditor.vue +137 -0
- package/src/components/BaseDraggable.vue +1 -1
- package/src/components/BaseRichText.vue +10 -100
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
modelValue?: boolean | string | number | null | undefined;
|
|
3
3
|
};
|
|
4
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
5
|
export default _default;
|
|
@@ -20,5 +20,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
};
|
|
21
21
|
}>> & Readonly<{}>, {
|
|
22
22
|
size: "sm" | "md";
|
|
23
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
24
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ClassNameValue } from 'tailwind-merge';
|
|
2
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
import { BaseIcon } from '.';
|
|
3
4
|
import { Size } from '@/utils/sizes';
|
|
4
5
|
import { SizeBehavior } from '@/utils/sizeBehaviors';
|
|
5
6
|
declare const colors: {
|
|
@@ -37,18 +38,61 @@ type __VLS_Props = {
|
|
|
37
38
|
color?: keyof typeof colors | string;
|
|
38
39
|
to?: RouteLocationRaw;
|
|
39
40
|
};
|
|
41
|
+
declare const classes: import("vue").ComputedRef<string>;
|
|
42
|
+
declare const styles: import("vue").ComputedRef<{
|
|
43
|
+
backgroundColor: string;
|
|
44
|
+
color: string;
|
|
45
|
+
borderColor: string;
|
|
46
|
+
borderWidth: string;
|
|
47
|
+
borderStyle: string;
|
|
48
|
+
} | {
|
|
49
|
+
backgroundColor?: undefined;
|
|
50
|
+
color?: undefined;
|
|
51
|
+
borderColor?: undefined;
|
|
52
|
+
borderWidth?: undefined;
|
|
53
|
+
borderStyle?: undefined;
|
|
54
|
+
}>;
|
|
55
|
+
declare const containerClass: import("vue").ComputedRef<string[]>;
|
|
56
|
+
declare const iconClass: import("vue").ComputedRef<string[]>;
|
|
57
|
+
declare const buttonRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
40
58
|
declare function focus(): void;
|
|
41
|
-
declare
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
59
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
60
|
+
declare var __VLS_18: {};
|
|
61
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
62
|
+
default?: (props: typeof __VLS_18) => any;
|
|
63
|
+
}>;
|
|
64
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
65
|
+
BaseIcon: typeof BaseIcon;
|
|
66
|
+
classes: typeof classes;
|
|
67
|
+
styles: typeof styles;
|
|
68
|
+
containerClass: typeof containerClass;
|
|
69
|
+
iconClass: typeof iconClass;
|
|
70
|
+
buttonRef: typeof buttonRef;
|
|
71
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
+
click: (...args: any[]) => void;
|
|
73
|
+
mouseenter: (...args: any[]) => void;
|
|
74
|
+
mouseleave: (...args: any[]) => void;
|
|
75
|
+
mouseover: (...args: any[]) => void;
|
|
76
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
77
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
80
|
+
onMouseover?: ((...args: any[]) => any) | undefined;
|
|
81
|
+
}>, {
|
|
82
|
+
class: string | false | 0 | 0n | ClassNameValue[] | null;
|
|
83
|
+
to: RouteLocationRaw;
|
|
84
|
+
type: "button" | "submit" | "reset";
|
|
85
|
+
href: string;
|
|
86
|
+
size: Size;
|
|
87
|
+
icon: string;
|
|
88
|
+
color: keyof typeof colors | string;
|
|
89
|
+
disabled: boolean;
|
|
90
|
+
as: string;
|
|
91
|
+
loading: boolean;
|
|
92
|
+
iconPosition: "start" | "end";
|
|
93
|
+
sizeBehavior: SizeBehavior;
|
|
94
|
+
align: "center" | "between";
|
|
95
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
96
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
53
97
|
focus: typeof focus;
|
|
54
98
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -76,9 +120,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
76
120
|
sizeBehavior: SizeBehavior;
|
|
77
121
|
align: "center" | "between";
|
|
78
122
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
|
-
declare const _default:
|
|
123
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
80
124
|
export default _default;
|
|
81
|
-
type
|
|
125
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
82
126
|
new (): {
|
|
83
127
|
$slots: S;
|
|
84
128
|
};
|
|
@@ -1,19 +1,170 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, computed } from 'vue';
|
|
2
2
|
import { NormalizedOption, RawOption } from '@/types';
|
|
3
|
+
import BaseButton from '@/components/BaseButton.vue';
|
|
3
4
|
import { Size } from '@/utils/sizes';
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
rootEl: any;
|
|
5
|
+
declare const sizeInternal: import("vue").ComputedRef<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
6
|
+
declare const normalizedOptions: import("vue").ComputedRef<NormalizedOption[]>, isSelected: (option: NormalizedOption) => boolean;
|
|
7
|
+
declare function onSelect(option: NormalizedOption): void;
|
|
8
|
+
declare const wrapperClasses: import("vue").ComputedRef<string>;
|
|
9
|
+
declare const buttonClasses: import("vue").ComputedRef<string>;
|
|
10
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
11
|
+
declare var __VLS_8: {
|
|
12
|
+
selected: import("vue").ComputedRef<boolean>;
|
|
13
|
+
option: NormalizedOption;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
};
|
|
16
|
-
type
|
|
16
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
17
|
+
option?: (props: typeof __VLS_8) => any;
|
|
18
|
+
}>;
|
|
19
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
|
+
modelValue: {
|
|
21
|
+
default: undefined;
|
|
22
|
+
type: PropType<RawOption[] | RawOption | null | undefined>;
|
|
23
|
+
};
|
|
24
|
+
class: {
|
|
25
|
+
default: string;
|
|
26
|
+
type: PropType<string | string[]>;
|
|
27
|
+
};
|
|
28
|
+
required: {
|
|
29
|
+
default: undefined;
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
};
|
|
32
|
+
disabled: {
|
|
33
|
+
default: boolean;
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
};
|
|
36
|
+
size: {
|
|
37
|
+
default: undefined;
|
|
38
|
+
type: PropType<Size>;
|
|
39
|
+
};
|
|
40
|
+
buttonType: {
|
|
41
|
+
default: string;
|
|
42
|
+
type: PropType<"button" | "submit">;
|
|
43
|
+
};
|
|
44
|
+
buttonColor: {
|
|
45
|
+
default(option: RawOption, selected: boolean): "primary" | "";
|
|
46
|
+
type: PropType<(option: RawOption, selected: boolean) => string>;
|
|
47
|
+
};
|
|
48
|
+
twButton: {
|
|
49
|
+
default: string;
|
|
50
|
+
type: PropType<string | string[]>;
|
|
51
|
+
};
|
|
52
|
+
spacing: {
|
|
53
|
+
default: string;
|
|
54
|
+
type: PropType<"none" | "default">;
|
|
55
|
+
};
|
|
56
|
+
options: {
|
|
57
|
+
required: true;
|
|
58
|
+
type: PropType<RawOption[]>;
|
|
59
|
+
};
|
|
60
|
+
labelKey: {
|
|
61
|
+
required: true;
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
};
|
|
64
|
+
valueKey: {
|
|
65
|
+
required: true;
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
};
|
|
68
|
+
multiple: {
|
|
69
|
+
default: boolean;
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
};
|
|
72
|
+
name: {
|
|
73
|
+
default: undefined;
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
};
|
|
76
|
+
hasError: {
|
|
77
|
+
default: boolean;
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
};
|
|
80
|
+
}>, {
|
|
81
|
+
computed: typeof computed;
|
|
82
|
+
BaseButton: typeof BaseButton;
|
|
83
|
+
sizeInternal: typeof sizeInternal;
|
|
84
|
+
normalizedOptions: typeof normalizedOptions;
|
|
85
|
+
isSelected: typeof isSelected;
|
|
86
|
+
onSelect: typeof onSelect;
|
|
87
|
+
wrapperClasses: typeof wrapperClasses;
|
|
88
|
+
buttonClasses: typeof buttonClasses;
|
|
89
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
+
"update:modelValue": (...args: any[]) => void;
|
|
91
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
modelValue: {
|
|
93
|
+
default: undefined;
|
|
94
|
+
type: PropType<RawOption[] | RawOption | null | undefined>;
|
|
95
|
+
};
|
|
96
|
+
class: {
|
|
97
|
+
default: string;
|
|
98
|
+
type: PropType<string | string[]>;
|
|
99
|
+
};
|
|
100
|
+
required: {
|
|
101
|
+
default: undefined;
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
};
|
|
104
|
+
disabled: {
|
|
105
|
+
default: boolean;
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
};
|
|
108
|
+
size: {
|
|
109
|
+
default: undefined;
|
|
110
|
+
type: PropType<Size>;
|
|
111
|
+
};
|
|
112
|
+
buttonType: {
|
|
113
|
+
default: string;
|
|
114
|
+
type: PropType<"button" | "submit">;
|
|
115
|
+
};
|
|
116
|
+
buttonColor: {
|
|
117
|
+
default(option: RawOption, selected: boolean): "primary" | "";
|
|
118
|
+
type: PropType<(option: RawOption, selected: boolean) => string>;
|
|
119
|
+
};
|
|
120
|
+
twButton: {
|
|
121
|
+
default: string;
|
|
122
|
+
type: PropType<string | string[]>;
|
|
123
|
+
};
|
|
124
|
+
spacing: {
|
|
125
|
+
default: string;
|
|
126
|
+
type: PropType<"none" | "default">;
|
|
127
|
+
};
|
|
128
|
+
options: {
|
|
129
|
+
required: true;
|
|
130
|
+
type: PropType<RawOption[]>;
|
|
131
|
+
};
|
|
132
|
+
labelKey: {
|
|
133
|
+
required: true;
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
};
|
|
136
|
+
valueKey: {
|
|
137
|
+
required: true;
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
};
|
|
140
|
+
multiple: {
|
|
141
|
+
default: boolean;
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
};
|
|
144
|
+
name: {
|
|
145
|
+
default: undefined;
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
};
|
|
148
|
+
hasError: {
|
|
149
|
+
default: boolean;
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
};
|
|
152
|
+
}>> & Readonly<{
|
|
153
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
}>, {
|
|
155
|
+
class: string | string[];
|
|
156
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
157
|
+
required: boolean;
|
|
158
|
+
disabled: boolean;
|
|
159
|
+
twButton: string | string[];
|
|
160
|
+
name: string;
|
|
161
|
+
modelValue: RawOption | RawOption[] | null | undefined;
|
|
162
|
+
hasError: boolean;
|
|
163
|
+
spacing: "default" | "none";
|
|
164
|
+
buttonType: "submit" | "button";
|
|
165
|
+
buttonColor: (option: RawOption, selected: boolean) => string;
|
|
166
|
+
multiple: boolean;
|
|
167
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
168
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
169
|
modelValue: {
|
|
19
170
|
default: undefined;
|
|
@@ -154,9 +305,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
154
305
|
buttonColor: (option: RawOption, selected: boolean) => string;
|
|
155
306
|
multiple: boolean;
|
|
156
307
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
157
|
-
declare const _default:
|
|
308
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
158
309
|
export default _default;
|
|
159
|
-
type
|
|
310
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
160
311
|
new (): {
|
|
161
312
|
$slots: S;
|
|
162
313
|
};
|
|
@@ -1,14 +1,28 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const windowWidth: import("vue").Ref<number, number>;
|
|
2
|
+
declare const width: import("vue").Ref<number, number>;
|
|
3
|
+
declare const card: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
4
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
}>;
|
|
9
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
clipped: {
|
|
11
|
+
default: boolean;
|
|
12
|
+
type: BooleanConstructor;
|
|
5
13
|
};
|
|
6
|
-
|
|
7
|
-
|
|
14
|
+
}>, {
|
|
15
|
+
windowWidth: typeof windowWidth;
|
|
16
|
+
width: typeof width;
|
|
17
|
+
card: typeof card;
|
|
18
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
clipped: {
|
|
20
|
+
default: boolean;
|
|
21
|
+
type: BooleanConstructor;
|
|
8
22
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
|
+
clipped: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
26
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
27
|
clipped: {
|
|
14
28
|
default: boolean;
|
|
@@ -21,10 +35,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
21
35
|
};
|
|
22
36
|
}>> & Readonly<{}>, {
|
|
23
37
|
clipped: boolean;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
25
|
-
declare const _default:
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
26
40
|
export default _default;
|
|
27
|
-
type
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
42
|
new (): {
|
|
29
43
|
$slots: S;
|
|
30
44
|
};
|
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
import { ClassNameValue } from 'tailwind-merge';
|
|
2
|
+
declare const onClick: (event: MouseEvent) => void;
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
size?: 'xs' | 'sm' | 'base' | 'lg';
|
|
4
5
|
class?: ClassNameValue;
|
|
5
6
|
};
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
declare const classes: import("vue").ComputedRef<string>;
|
|
8
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
9
|
+
declare var __VLS_1: {};
|
|
10
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
11
|
+
default?: (props: typeof __VLS_1) => any;
|
|
12
|
+
}>;
|
|
13
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
14
|
+
onClick: typeof onClick;
|
|
15
|
+
classes: typeof classes;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
click: (...args: any[]) => void;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
class: string | false | 0 | 0n | ClassNameValue[] | null;
|
|
22
|
+
size: "xs" | "sm" | "base" | "lg";
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
24
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
25
|
click: (...args: any[]) => void;
|
|
17
26
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -20,9 +29,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
20
29
|
class: string | false | 0 | 0n | ClassNameValue[] | null;
|
|
21
30
|
size: "xs" | "sm" | "base" | "lg";
|
|
22
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
-
declare const _default:
|
|
32
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
33
|
export default _default;
|
|
25
|
-
type
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
35
|
new (): {
|
|
27
36
|
$slots: S;
|
|
28
37
|
};
|
|
@@ -45,5 +45,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
45
45
|
min: number;
|
|
46
46
|
max: number;
|
|
47
47
|
removeDoubleSpaces: boolean;
|
|
48
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Size } from '@/utils/sizes';
|
|
2
|
+
import { ToolbarOption } from '@/types/ToolbarOption';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
modelValue: string | null | undefined;
|
|
5
|
+
editor?: 'classic' | 'inline' | 'balloon';
|
|
6
|
+
size?: Size;
|
|
7
|
+
toolbar?: ToolbarOption[];
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
name?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
blur: (...args: any[]) => void;
|
|
15
|
+
focus: (...args: any[]) => void;
|
|
16
|
+
input: (...args: any[]) => void;
|
|
17
|
+
"update:modelValue": (...args: any[]) => void;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
size: Size;
|
|
25
|
+
required: boolean;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
name: string;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
toolbar: ToolbarOption[];
|
|
30
|
+
editor: "classic" | "inline" | "balloon";
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
export default _default;
|
|
@@ -1,15 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { t } from '@/i18n';
|
|
2
|
+
declare const showCopied: import("vue").Ref<boolean, boolean>;
|
|
3
|
+
declare const buttonRef: import("vue").Ref<any, any>;
|
|
4
|
+
declare const floatingRef: import("vue").Ref<any, any>;
|
|
5
|
+
declare const showTooltip: import("vue").Ref<boolean, boolean>, floatingStyles: Readonly<import("vue").Ref<{
|
|
6
|
+
position: import("@floating-ui/utils").Strategy;
|
|
7
|
+
top: string;
|
|
8
|
+
left: string;
|
|
9
|
+
transform?: string;
|
|
10
|
+
willChange?: string;
|
|
11
|
+
}, {
|
|
12
|
+
position: import("@floating-ui/utils").Strategy;
|
|
13
|
+
top: string;
|
|
14
|
+
left: string;
|
|
15
|
+
transform?: string;
|
|
16
|
+
willChange?: string;
|
|
17
|
+
}>>;
|
|
18
|
+
declare function copyText(): void;
|
|
19
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
20
|
+
declare var __VLS_1: {};
|
|
21
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
22
|
+
default?: (props: typeof __VLS_1) => any;
|
|
23
|
+
}>;
|
|
24
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
25
|
+
value: {
|
|
26
|
+
default: null;
|
|
27
|
+
type: StringConstructor;
|
|
5
28
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
29
|
+
}>, {
|
|
30
|
+
t: typeof t;
|
|
31
|
+
showCopied: typeof showCopied;
|
|
32
|
+
buttonRef: typeof buttonRef;
|
|
33
|
+
floatingRef: typeof floatingRef;
|
|
34
|
+
showTooltip: typeof showTooltip;
|
|
35
|
+
floatingStyles: typeof floatingStyles;
|
|
36
|
+
copyText: typeof copyText;
|
|
37
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
value: {
|
|
39
|
+
default: null;
|
|
40
|
+
type: StringConstructor;
|
|
9
41
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
|
+
value: string;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
45
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
46
|
value: {
|
|
15
47
|
default: null;
|
|
@@ -22,10 +54,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
22
54
|
};
|
|
23
55
|
}>> & Readonly<{}>, {
|
|
24
56
|
value: string;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
26
|
-
declare const _default:
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
59
|
export default _default;
|
|
28
|
-
type
|
|
60
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
61
|
new (): {
|
|
30
62
|
$slots: S;
|
|
31
63
|
};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
declare const internalIconClass: import("vue").ComputedRef<string>;
|
|
2
|
+
declare const headerClass: import("vue").ComputedRef<string>;
|
|
3
|
+
declare const internalContentClass: import("vue").ComputedRef<string>;
|
|
4
|
+
declare const internalTitleClass: import("vue").ComputedRef<string>;
|
|
1
5
|
declare function toggle(): void;
|
|
2
6
|
type __VLS_Props = {
|
|
3
7
|
defaultOpen?: boolean;
|
|
@@ -10,24 +14,41 @@ type __VLS_Props = {
|
|
|
10
14
|
twTitle?: string | string[] | null;
|
|
11
15
|
twContent?: string | string[] | null;
|
|
12
16
|
};
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}): any;
|
|
23
|
-
content?(_: {
|
|
24
|
-
open: boolean;
|
|
25
|
-
}): any;
|
|
26
|
-
};
|
|
27
|
-
refs: {};
|
|
28
|
-
rootEl: HTMLDivElement;
|
|
17
|
+
declare const isOpen: import("vue").Ref<boolean, boolean>;
|
|
18
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
19
|
+
declare var __VLS_1: {
|
|
20
|
+
open: boolean;
|
|
21
|
+
toggle: typeof toggle;
|
|
22
|
+
}, __VLS_7: {
|
|
23
|
+
open: boolean;
|
|
24
|
+
}, __VLS_13: {
|
|
25
|
+
open: boolean;
|
|
29
26
|
};
|
|
30
|
-
type
|
|
27
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
28
|
+
header?: (props: typeof __VLS_1) => any;
|
|
29
|
+
} & {
|
|
30
|
+
title?: (props: typeof __VLS_7) => any;
|
|
31
|
+
} & {
|
|
32
|
+
content?: (props: typeof __VLS_13) => any;
|
|
33
|
+
}>;
|
|
34
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
35
|
+
internalIconClass: typeof internalIconClass;
|
|
36
|
+
headerClass: typeof headerClass;
|
|
37
|
+
internalContentClass: typeof internalContentClass;
|
|
38
|
+
internalTitleClass: typeof internalTitleClass;
|
|
39
|
+
toggle: typeof toggle;
|
|
40
|
+
isOpen: typeof isOpen;
|
|
41
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
42
|
+
icon: string;
|
|
43
|
+
iconPosition: "left" | "right";
|
|
44
|
+
defaultOpen: boolean;
|
|
45
|
+
isOpenIconClass: string;
|
|
46
|
+
isCloseIconClass: string;
|
|
47
|
+
twIcon: string | string[] | null;
|
|
48
|
+
twHeader: string | string[] | null;
|
|
49
|
+
twTitle: string | string[] | null;
|
|
50
|
+
twContent: string | string[] | null;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
52
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
32
53
|
icon: string;
|
|
33
54
|
iconPosition: "left" | "right";
|
|
@@ -38,10 +59,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
38
59
|
twHeader: string | string[] | null;
|
|
39
60
|
twTitle: string | string[] | null;
|
|
40
61
|
twContent: string | string[] | null;
|
|
41
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
42
|
-
declare const _default:
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
64
|
export default _default;
|
|
44
|
-
type
|
|
65
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
66
|
new (): {
|
|
46
67
|
$slots: S;
|
|
47
68
|
};
|
|
@@ -8,24 +8,29 @@ type __VLS_Props = {
|
|
|
8
8
|
paddinglessMobile?: boolean;
|
|
9
9
|
fluid?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
11
|
+
declare const classInternal: import("vue").ComputedRef<string>;
|
|
12
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
13
|
+
declare var __VLS_1: {};
|
|
14
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
15
|
+
default?: (props: typeof __VLS_1) => any;
|
|
16
|
+
}>;
|
|
17
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
18
|
+
classInternal: typeof classInternal;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
class: string | string[];
|
|
21
|
+
size: Size;
|
|
22
|
+
paddinglessMobile: boolean;
|
|
23
|
+
fluid: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
25
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
26
|
class: string | string[];
|
|
22
27
|
size: Size;
|
|
23
28
|
paddinglessMobile: boolean;
|
|
24
29
|
fluid: boolean;
|
|
25
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const _default:
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
32
|
export default _default;
|
|
28
|
-
type
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
34
|
new (): {
|
|
30
35
|
$slots: S;
|
|
31
36
|
};
|
|
@@ -38,5 +38,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
size: "xs" | "sm" | "md";
|
|
39
39
|
color: ActionColors;
|
|
40
40
|
maxDigit: number;
|
|
41
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default _default;
|