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,16 +1,116 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { NormalizedOption, RawOption, OptionValue } from '@/types';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: HTMLDivElement;
|
|
3
|
+
declare const nameInternal: import("vue").ComputedRef<string>, requiredInternal: import("vue").ComputedRef<boolean>, emitUpdate: (value: any) => void;
|
|
4
|
+
declare function isChecked(option: NormalizedOption): boolean;
|
|
5
|
+
declare const normalizedOptions: import("vue").ComputedRef<NormalizedOption[]>;
|
|
6
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
7
|
+
declare var __VLS_1: {
|
|
8
|
+
option: NormalizedOption;
|
|
12
9
|
};
|
|
13
|
-
type
|
|
10
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
11
|
+
option?: (props: typeof __VLS_1) => any;
|
|
12
|
+
}>;
|
|
13
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
default: undefined;
|
|
16
|
+
type: PropType<OptionValue | undefined>;
|
|
17
|
+
};
|
|
18
|
+
name: {
|
|
19
|
+
default: undefined;
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
};
|
|
22
|
+
required: {
|
|
23
|
+
default: undefined;
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
default: boolean;
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
};
|
|
30
|
+
options: {
|
|
31
|
+
required: true;
|
|
32
|
+
type: PropType<RawOption[]>;
|
|
33
|
+
};
|
|
34
|
+
labelKey: {
|
|
35
|
+
required: true;
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
38
|
+
valueKey: {
|
|
39
|
+
required: true;
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
};
|
|
42
|
+
labelClass: {
|
|
43
|
+
default: string;
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
};
|
|
46
|
+
twInput: {
|
|
47
|
+
default: string;
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
};
|
|
50
|
+
hasError: {
|
|
51
|
+
default: boolean;
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
};
|
|
54
|
+
}>, {
|
|
55
|
+
nameInternal: typeof nameInternal;
|
|
56
|
+
requiredInternal: typeof requiredInternal;
|
|
57
|
+
emitUpdate: typeof emitUpdate;
|
|
58
|
+
isChecked: typeof isChecked;
|
|
59
|
+
normalizedOptions: typeof normalizedOptions;
|
|
60
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
61
|
+
"update:modelValue": (...args: any[]) => void;
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
modelValue: {
|
|
64
|
+
default: undefined;
|
|
65
|
+
type: PropType<OptionValue | undefined>;
|
|
66
|
+
};
|
|
67
|
+
name: {
|
|
68
|
+
default: undefined;
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
71
|
+
required: {
|
|
72
|
+
default: undefined;
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
};
|
|
75
|
+
disabled: {
|
|
76
|
+
default: boolean;
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
};
|
|
79
|
+
options: {
|
|
80
|
+
required: true;
|
|
81
|
+
type: PropType<RawOption[]>;
|
|
82
|
+
};
|
|
83
|
+
labelKey: {
|
|
84
|
+
required: true;
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
};
|
|
87
|
+
valueKey: {
|
|
88
|
+
required: true;
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
};
|
|
91
|
+
labelClass: {
|
|
92
|
+
default: string;
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
};
|
|
95
|
+
twInput: {
|
|
96
|
+
default: string;
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
};
|
|
99
|
+
hasError: {
|
|
100
|
+
default: boolean;
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{
|
|
104
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
required: boolean;
|
|
107
|
+
disabled: boolean;
|
|
108
|
+
name: string;
|
|
109
|
+
labelClass: string;
|
|
110
|
+
modelValue: OptionValue | undefined;
|
|
111
|
+
hasError: boolean;
|
|
112
|
+
twInput: string;
|
|
113
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
114
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
115
|
modelValue: {
|
|
16
116
|
default: undefined;
|
|
@@ -105,10 +205,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
105
205
|
modelValue: OptionValue | undefined;
|
|
106
206
|
hasError: boolean;
|
|
107
207
|
twInput: string;
|
|
108
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
109
|
-
declare const _default:
|
|
208
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
209
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
110
210
|
export default _default;
|
|
111
|
-
type
|
|
211
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
112
212
|
new (): {
|
|
113
213
|
$slots: S;
|
|
114
214
|
};
|
|
@@ -1,14 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
import { t } from '@/i18n';
|
|
3
|
+
declare const content: import("vue").Ref<HTMLParagraphElement | null, HTMLParagraphElement | null>;
|
|
4
|
+
declare const showMore: import("vue").Ref<boolean, boolean>;
|
|
5
|
+
declare const isClamped: import("vue").Ref<boolean, boolean>;
|
|
6
|
+
declare const lineClampStyle: import("vue").ComputedRef<StyleValue>;
|
|
7
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
}>;
|
|
12
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
maxLines: {
|
|
14
|
+
default: number;
|
|
15
|
+
type: NumberConstructor;
|
|
5
16
|
};
|
|
6
|
-
|
|
7
|
-
|
|
17
|
+
}>, {
|
|
18
|
+
t: typeof t;
|
|
19
|
+
content: typeof content;
|
|
20
|
+
showMore: typeof showMore;
|
|
21
|
+
isClamped: typeof isClamped;
|
|
22
|
+
lineClampStyle: typeof lineClampStyle;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
maxLines: {
|
|
25
|
+
default: number;
|
|
26
|
+
type: NumberConstructor;
|
|
8
27
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
28
|
+
}>> & Readonly<{}>, {
|
|
29
|
+
maxLines: number;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
31
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
32
|
maxLines: {
|
|
14
33
|
default: number;
|
|
@@ -21,10 +40,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
21
40
|
};
|
|
22
41
|
}>> & Readonly<{}>, {
|
|
23
42
|
maxLines: number;
|
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
25
|
-
declare const _default:
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
26
45
|
export default _default;
|
|
27
|
-
type
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
47
|
new (): {
|
|
29
48
|
$slots: S;
|
|
30
49
|
};
|
|
@@ -30,5 +30,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
30
30
|
hasError: boolean;
|
|
31
31
|
toolbar: ToolbarOption[];
|
|
32
32
|
editor: "classic" | "inline" | "balloon";
|
|
33
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
export default _default;
|
|
@@ -1,18 +1,155 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { RawOption } from '@/types';
|
|
2
|
+
import { NormalizedOption, RawOption } from '@/types';
|
|
3
|
+
import { t } from '@/i18n';
|
|
3
4
|
import { Size } from '@/utils/sizes';
|
|
4
5
|
type SelectOption = string | number | null;
|
|
5
|
-
declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
declare const EMPTY_VALUE_INTERNAL = "";
|
|
7
|
+
declare const select: import("vue").Ref<HTMLSelectElement | null, HTMLSelectElement | null>;
|
|
8
|
+
declare const nameInternal: import("vue").ComputedRef<string>, requiredInternal: import("vue").ComputedRef<boolean>;
|
|
9
|
+
/**
|
|
10
|
+
* Transform to external empty NULL
|
|
11
|
+
* to internal empty ''.
|
|
12
|
+
*/
|
|
13
|
+
declare const modelValueInternal: import("vue").ComputedRef<SelectOption | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* Emit change while mutating internal empty value ''
|
|
17
|
+
* to external empty value NULL.
|
|
18
|
+
*/
|
|
19
|
+
declare function onChange(event: Event): void;
|
|
20
|
+
declare const normalizedOptions: import("vue").ComputedRef<NormalizedOption[] | undefined>;
|
|
21
|
+
declare const classes: import("vue").ComputedRef<string>;
|
|
22
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
23
|
+
declare var __VLS_1: {};
|
|
24
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
25
|
+
default?: (props: typeof __VLS_1) => any;
|
|
26
|
+
}>;
|
|
27
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
28
|
+
modelValue: {
|
|
29
|
+
default: undefined;
|
|
30
|
+
type: PropType<SelectOption | undefined>;
|
|
9
31
|
};
|
|
10
|
-
|
|
11
|
-
|
|
32
|
+
name: {
|
|
33
|
+
default: undefined;
|
|
34
|
+
type: StringConstructor;
|
|
12
35
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type
|
|
36
|
+
class: {
|
|
37
|
+
default: string;
|
|
38
|
+
type: PropType<string | string[]>;
|
|
39
|
+
};
|
|
40
|
+
size: {
|
|
41
|
+
default: undefined;
|
|
42
|
+
type: PropType<Size>;
|
|
43
|
+
};
|
|
44
|
+
placeholder: {
|
|
45
|
+
default: string;
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
default: boolean;
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
};
|
|
52
|
+
required: {
|
|
53
|
+
default: undefined;
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
};
|
|
56
|
+
hasError: {
|
|
57
|
+
default: boolean;
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
};
|
|
60
|
+
options: {
|
|
61
|
+
default: undefined;
|
|
62
|
+
type: PropType<RawOption[]>;
|
|
63
|
+
};
|
|
64
|
+
labelKey: {
|
|
65
|
+
default: undefined;
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
};
|
|
68
|
+
valueKey: {
|
|
69
|
+
default: undefined;
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
72
|
+
visibleFocus: {
|
|
73
|
+
default: boolean;
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
};
|
|
76
|
+
}>, {
|
|
77
|
+
t: typeof t;
|
|
78
|
+
EMPTY_VALUE_INTERNAL: typeof EMPTY_VALUE_INTERNAL;
|
|
79
|
+
select: typeof select;
|
|
80
|
+
nameInternal: typeof nameInternal;
|
|
81
|
+
requiredInternal: typeof requiredInternal;
|
|
82
|
+
modelValueInternal: typeof modelValueInternal;
|
|
83
|
+
onChange: typeof onChange;
|
|
84
|
+
normalizedOptions: typeof normalizedOptions;
|
|
85
|
+
classes: typeof classes;
|
|
86
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
87
|
+
"update:modelValue": (...args: any[]) => void;
|
|
88
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
modelValue: {
|
|
90
|
+
default: undefined;
|
|
91
|
+
type: PropType<SelectOption | undefined>;
|
|
92
|
+
};
|
|
93
|
+
name: {
|
|
94
|
+
default: undefined;
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
};
|
|
97
|
+
class: {
|
|
98
|
+
default: string;
|
|
99
|
+
type: PropType<string | string[]>;
|
|
100
|
+
};
|
|
101
|
+
size: {
|
|
102
|
+
default: undefined;
|
|
103
|
+
type: PropType<Size>;
|
|
104
|
+
};
|
|
105
|
+
placeholder: {
|
|
106
|
+
default: string;
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
};
|
|
109
|
+
disabled: {
|
|
110
|
+
default: boolean;
|
|
111
|
+
type: BooleanConstructor;
|
|
112
|
+
};
|
|
113
|
+
required: {
|
|
114
|
+
default: undefined;
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
};
|
|
117
|
+
hasError: {
|
|
118
|
+
default: boolean;
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
};
|
|
121
|
+
options: {
|
|
122
|
+
default: undefined;
|
|
123
|
+
type: PropType<RawOption[]>;
|
|
124
|
+
};
|
|
125
|
+
labelKey: {
|
|
126
|
+
default: undefined;
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
};
|
|
129
|
+
valueKey: {
|
|
130
|
+
default: undefined;
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
};
|
|
133
|
+
visibleFocus: {
|
|
134
|
+
default: boolean;
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
}>, {
|
|
140
|
+
class: string | string[];
|
|
141
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
142
|
+
required: boolean;
|
|
143
|
+
disabled: boolean;
|
|
144
|
+
name: string;
|
|
145
|
+
options: RawOption[];
|
|
146
|
+
modelValue: SelectOption | undefined;
|
|
147
|
+
placeholder: string;
|
|
148
|
+
hasError: boolean;
|
|
149
|
+
visibleFocus: boolean;
|
|
150
|
+
labelKey: string;
|
|
151
|
+
valueKey: string;
|
|
152
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
153
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
154
|
modelValue: {
|
|
18
155
|
default: undefined;
|
|
@@ -129,9 +266,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
129
266
|
labelKey: string;
|
|
130
267
|
valueKey: string;
|
|
131
268
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
132
|
-
declare const _default:
|
|
269
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
133
270
|
export default _default;
|
|
134
|
-
type
|
|
271
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
135
272
|
new (): {
|
|
136
273
|
$slots: S;
|
|
137
274
|
};
|
|
@@ -82,5 +82,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
contrast: "high" | "low";
|
|
83
83
|
action: () => Promise<void> | undefined;
|
|
84
84
|
linkText: string;
|
|
85
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
85
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
86
86
|
export default _default;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
12
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
13
|
size: "xs" | "sm" | "md" | "lg";
|
|
15
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
16
|
-
declare const _default:
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
16
|
export default _default;
|
|
18
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
18
|
new (): {
|
|
20
19
|
$slots: S;
|
|
21
20
|
};
|
|
@@ -1,27 +1,36 @@
|
|
|
1
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
1
|
+
import { NavigationFailure, RouteLocationRaw } from 'vue-router';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
to: RouteLocationRaw;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
activeStrategy?: 'default' | 'exact';
|
|
6
6
|
};
|
|
7
|
-
declare function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: any;
|
|
7
|
+
declare function onClick(navigate: () => Promise<void | NavigationFailure>): Promise<void | NavigationFailure> | undefined;
|
|
8
|
+
declare function isActiveInternal(isActive: boolean, isExactActive: boolean): boolean;
|
|
9
|
+
declare const sizeClassOuter: import("vue").ComputedRef<"" | "py-0.5" | "py-1" | "py-2">;
|
|
10
|
+
declare const sizeClassInner: import("vue").ComputedRef<"" | "text-xs px-3 py-0.5 font-normal" | "text-sm px-4 py-0.5 font-normal" | "text-base px-5 py-0.5 font-normal">;
|
|
11
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
12
|
+
declare var __VLS_6: {
|
|
13
|
+
active: boolean;
|
|
16
14
|
};
|
|
17
|
-
type
|
|
15
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
16
|
+
default?: (props: typeof __VLS_6) => any;
|
|
17
|
+
}>;
|
|
18
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
19
|
+
onClick: typeof onClick;
|
|
20
|
+
isActiveInternal: typeof isActiveInternal;
|
|
21
|
+
sizeClassOuter: typeof sizeClassOuter;
|
|
22
|
+
sizeClassInner: typeof sizeClassInner;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
activeStrategy: "default" | "exact";
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
27
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
28
|
disabled: boolean;
|
|
20
29
|
activeStrategy: "default" | "exact";
|
|
21
30
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
-
declare const _default:
|
|
31
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
32
|
export default _default;
|
|
24
|
-
type
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
34
|
new (): {
|
|
26
35
|
$slots: S;
|
|
27
36
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
delay: {
|
|
4
4
|
default: string;
|
|
5
5
|
type: StringConstructor;
|
|
@@ -21,10 +21,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
21
21
|
class: string | string[];
|
|
22
22
|
delay: string;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
24
|
-
default
|
|
24
|
+
default?: ((props: {}) => any) | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export default _default;
|
|
27
|
-
type
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
28
|
new (): {
|
|
29
29
|
$slots: S;
|
|
30
30
|
};
|
|
@@ -14,5 +14,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{
|
|
16
16
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
18
|
export default _default;
|
|
@@ -1,13 +1,121 @@
|
|
|
1
|
+
import { Switch, SwitchGroup, SwitchLabel } from '@headlessui/vue';
|
|
1
2
|
import { PropType } from 'vue';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
declare const normalizedModelValue: import("vue").ComputedRef<boolean>;
|
|
4
|
+
declare const bg: import("vue").ComputedRef<"bg-primary-500" | "bg-blue-500" | "bg-red-500" | "bg-yellow-500" | "bg-green-500" | "bg-slate-500" | "bg-slate-900">;
|
|
5
|
+
declare const focus: import("vue").ComputedRef<"focus:ring-primary-500" | "focus:ring-blue-500" | "focus:ring-red-500" | "focus:ring-yellow-500" | "focus:ring-green-500" | "focus:ring-slate-500" | "focus:ring-slate-900">;
|
|
6
|
+
declare const sizePx: import("vue").ComputedRef<12 | 16 | 20 | 32 | 24>;
|
|
7
|
+
declare const height: import("vue").ComputedRef<number>;
|
|
8
|
+
declare const width: import("vue").ComputedRef<number>;
|
|
9
|
+
declare const translateX: import("vue").ComputedRef<number>;
|
|
10
|
+
declare const icon: import("vue").ComputedRef<string | null>;
|
|
11
|
+
declare function update(payload: any): void;
|
|
12
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
13
|
+
declare var __VLS_22: {};
|
|
14
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
15
|
+
default?: (props: typeof __VLS_22) => any;
|
|
16
|
+
}>;
|
|
17
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
|
+
modelValue: {
|
|
19
|
+
default: boolean;
|
|
20
|
+
type: PropType<boolean | string | number | null | undefined>;
|
|
6
21
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
22
|
+
name: {
|
|
23
|
+
default: undefined;
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
};
|
|
26
|
+
color: {
|
|
27
|
+
default: string;
|
|
28
|
+
type: PropType<"primary" | "info" | "danger" | "warning" | "success" | "dark" | "light">;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
default: string;
|
|
32
|
+
type: PropType<"xs" | "sm" | "base" | "lg" | "xl">;
|
|
33
|
+
};
|
|
34
|
+
hasError: {
|
|
35
|
+
default: boolean;
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
};
|
|
38
|
+
required: {
|
|
39
|
+
default: undefined;
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
default: boolean;
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
};
|
|
46
|
+
checkedIcon: {
|
|
47
|
+
default: string;
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
};
|
|
50
|
+
unCheckedIcon: {
|
|
51
|
+
default: string;
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
};
|
|
54
|
+
}>, {
|
|
55
|
+
Switch: typeof Switch;
|
|
56
|
+
SwitchGroup: typeof SwitchGroup;
|
|
57
|
+
SwitchLabel: typeof SwitchLabel;
|
|
58
|
+
normalizedModelValue: typeof normalizedModelValue;
|
|
59
|
+
bg: typeof bg;
|
|
60
|
+
focus: typeof focus;
|
|
61
|
+
sizePx: typeof sizePx;
|
|
62
|
+
height: typeof height;
|
|
63
|
+
width: typeof width;
|
|
64
|
+
translateX: typeof translateX;
|
|
65
|
+
icon: typeof icon;
|
|
66
|
+
update: typeof update;
|
|
67
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
|
+
"update:modelValue": (...args: any[]) => void;
|
|
69
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
modelValue: {
|
|
71
|
+
default: boolean;
|
|
72
|
+
type: PropType<boolean | string | number | null | undefined>;
|
|
73
|
+
};
|
|
74
|
+
name: {
|
|
75
|
+
default: undefined;
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
};
|
|
78
|
+
color: {
|
|
79
|
+
default: string;
|
|
80
|
+
type: PropType<"primary" | "info" | "danger" | "warning" | "success" | "dark" | "light">;
|
|
81
|
+
};
|
|
82
|
+
size: {
|
|
83
|
+
default: string;
|
|
84
|
+
type: PropType<"xs" | "sm" | "base" | "lg" | "xl">;
|
|
85
|
+
};
|
|
86
|
+
hasError: {
|
|
87
|
+
default: boolean;
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
};
|
|
90
|
+
required: {
|
|
91
|
+
default: undefined;
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
};
|
|
94
|
+
disabled: {
|
|
95
|
+
default: boolean;
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
};
|
|
98
|
+
checkedIcon: {
|
|
99
|
+
default: string;
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
};
|
|
102
|
+
unCheckedIcon: {
|
|
103
|
+
default: string;
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
};
|
|
106
|
+
}>> & Readonly<{
|
|
107
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
size: "xs" | "sm" | "lg" | "xl" | "base";
|
|
110
|
+
required: boolean;
|
|
111
|
+
color: "dark" | "light" | "danger" | "success" | "warning" | "primary" | "info";
|
|
112
|
+
disabled: boolean;
|
|
113
|
+
name: string;
|
|
114
|
+
modelValue: string | number | boolean | null | undefined;
|
|
115
|
+
hasError: boolean;
|
|
116
|
+
checkedIcon: string;
|
|
117
|
+
unCheckedIcon: string;
|
|
118
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
119
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
120
|
modelValue: {
|
|
13
121
|
default: boolean;
|
|
@@ -97,9 +205,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
97
205
|
checkedIcon: string;
|
|
98
206
|
unCheckedIcon: string;
|
|
99
207
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
100
|
-
declare const _default:
|
|
208
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
101
209
|
export default _default;
|
|
102
|
-
type
|
|
210
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
103
211
|
new (): {
|
|
104
212
|
$slots: S;
|
|
105
213
|
};
|