sprintify-ui 0.10.87 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
- package/dist/sprintify-ui.es.js +12480 -12553
- package/dist/style.css +2 -2
- package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +3 -21
- package/dist/types/components/BaseApp.vue.d.ts +2 -9
- package/dist/types/components/BaseAutocomplete.vue.d.ts +19 -643
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +21 -104
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +26 -1045
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +3 -20
- package/dist/types/components/BaseBelongsTo.vue.d.ts +19 -1022
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +10 -745
- package/dist/types/components/BaseButton.vue.d.ts +6 -77
- package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
- package/dist/types/components/BaseCard.vue.d.ts +2 -23
- package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
- package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
- package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
- package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
- package/dist/types/components/BaseContainer.vue.d.ts +2 -12
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +3 -35
- package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
- package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
- package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
- package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
- package/dist/types/components/BaseDialog.vue.d.ts +3 -110
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
- package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
- package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
- package/dist/types/components/BaseField.vue.d.ts +3 -99
- package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
- package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
- package/dist/types/components/BaseForm.vue.d.ts +3 -150
- package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
- package/dist/types/components/BaseHasMany.vue.d.ts +18 -577
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
- package/dist/types/components/BaseInput.vue.d.ts +3 -3
- package/dist/types/components/BaseInputError.vue.d.ts +2 -19
- package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
- package/dist/types/components/BaseLazy.vue.d.ts +2 -13
- package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
- package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
- package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +2 -209
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
- package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
- package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
- package/dist/types/components/BasePassword.vue.d.ts +1 -1
- package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
- package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +4 -148
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
- package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
- package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
- package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
- package/dist/types/components/BaseTable.vue.d.ts +3 -24
- package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
- package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
- package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
- package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
- package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
- package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
- package/dist/types/components/BaseTabs.vue.d.ts +2 -16
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +25 -571
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -796
- package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
- package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
- package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
- package/dist/types/services/gantt/types.d.ts +18 -8
- package/package.json +6 -9
- package/src/changelog.mdx +1 -1
- package/src/components/BaseAssign.mdx +1 -1
- package/src/components/BaseAutocomplete.stories.js +10 -0
- package/src/components/BaseAutocomplete.vue +11 -1
- package/src/components/BaseAutocompleteDrawer.vue +52 -1
- package/src/components/BaseAutocompleteFetch.stories.js +6 -0
- package/src/components/BaseAutocompleteFetch.vue +15 -0
- package/src/components/BaseBelongsTo.stories.js +5 -0
- package/src/components/BaseBelongsTo.vue +10 -0
- package/src/components/BaseBelongsToFetch.stories.js +6 -0
- package/src/components/BaseBelongsToFetch.vue +9 -0
- package/src/components/BaseForm.mdx +1 -1
- package/src/components/BaseGantt.mdx +79 -0
- package/src/components/BaseGantt.stories.js +25 -10
- package/src/components/BaseGantt.vue +192 -58
- package/src/components/BaseHasMany.stories.js +5 -0
- package/src/components/BaseHasMany.vue +10 -0
- package/src/components/BaseHasManyFetch.stories.js +12 -0
- package/src/components/BaseTagAutocomplete.stories.js +5 -0
- package/src/components/BaseTagAutocomplete.vue +34 -1
- package/src/components/BaseTagAutocompleteFetch.stories.js +6 -0
- package/src/services/gantt/format.ts +30 -7
- package/src/services/gantt/types.ts +18 -8
|
@@ -1,56 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { Dialog, DialogPanel, TransitionChild, TransitionRoot } from '@headlessui/vue';
|
|
3
|
-
import { Icon as BaseIcon } from '@iconify/vue';
|
|
4
|
-
import BaseSystemAlert from './BaseSystemAlert.vue';
|
|
5
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
6
|
-
/**
|
|
7
|
-
* System Alert And Navigation size
|
|
8
|
-
*/
|
|
9
|
-
declare const systemAlertStore: import("pinia").Store<"systemAlerts", {
|
|
10
|
-
count: number;
|
|
11
|
-
systemAlerts: import("@/index").SystemAlert[];
|
|
12
|
-
}, {}, {
|
|
13
|
-
push(systemAlert: import("@/index").SystemAlertOptions): string | number;
|
|
14
|
-
remove(alertId: number | string): void;
|
|
15
|
-
clear(): void;
|
|
16
|
-
}>;
|
|
17
|
-
declare const systemAlerts: import("vue").ComputedRef<{
|
|
18
|
-
id: number;
|
|
19
|
-
color: "info" | "success" | "danger" | "warning";
|
|
20
|
-
message: string;
|
|
21
|
-
to?: string | {
|
|
22
|
-
name?: import("vue-router").RouteRecordNameGeneric;
|
|
23
|
-
params?: import("vue-router").RouteParamsRawGeneric | undefined;
|
|
24
|
-
path?: undefined | undefined;
|
|
25
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
26
|
-
hash?: string | undefined;
|
|
27
|
-
replace?: boolean | undefined;
|
|
28
|
-
force?: boolean | undefined;
|
|
29
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
30
|
-
} | {
|
|
31
|
-
path: string;
|
|
32
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
33
|
-
hash?: string | undefined;
|
|
34
|
-
replace?: boolean | undefined;
|
|
35
|
-
force?: boolean | undefined;
|
|
36
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
action?: (() => void) | undefined;
|
|
39
|
-
closable: boolean;
|
|
40
|
-
}[]>;
|
|
41
|
-
/**
|
|
42
|
-
* Show/Hide sidebar
|
|
43
|
-
*/
|
|
44
|
-
declare const showMobileMenu: import("vue").Ref<boolean, boolean>;
|
|
45
|
-
declare function closeMenu(): void;
|
|
46
|
-
declare const collapsed: import("vue").Ref<boolean, boolean>;
|
|
47
|
-
declare function toggleCollapse(): void;
|
|
48
|
-
declare const navbarHeight: import("vue").ComputedRef<number>;
|
|
49
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
50
3
|
declare var __VLS_41: {}, __VLS_54: {}, __VLS_56: {}, __VLS_70: {
|
|
51
4
|
collapsed: boolean;
|
|
52
5
|
};
|
|
53
|
-
type __VLS_Slots =
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
54
7
|
menu?: (props: typeof __VLS_41) => any;
|
|
55
8
|
} & {
|
|
56
9
|
navbar?: (props: typeof __VLS_54) => any;
|
|
@@ -58,70 +11,7 @@ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$
|
|
|
58
11
|
default?: (props: typeof __VLS_56) => any;
|
|
59
12
|
} & {
|
|
60
13
|
menu?: (props: typeof __VLS_70) => any;
|
|
61
|
-
}
|
|
62
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
63
|
-
appName: {
|
|
64
|
-
default: string;
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
};
|
|
67
|
-
logoUrl: {
|
|
68
|
-
default: string;
|
|
69
|
-
type: StringConstructor;
|
|
70
|
-
};
|
|
71
|
-
logoTo: {
|
|
72
|
-
default: string;
|
|
73
|
-
type: PropType<RouteLocationRaw>;
|
|
74
|
-
};
|
|
75
|
-
dark: {
|
|
76
|
-
default: boolean;
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
};
|
|
79
|
-
size: {
|
|
80
|
-
default: string;
|
|
81
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
82
|
-
};
|
|
83
|
-
}>, {
|
|
84
|
-
Dialog: typeof Dialog;
|
|
85
|
-
DialogPanel: typeof DialogPanel;
|
|
86
|
-
TransitionChild: typeof TransitionChild;
|
|
87
|
-
TransitionRoot: typeof TransitionRoot;
|
|
88
|
-
BaseIcon: typeof BaseIcon;
|
|
89
|
-
BaseSystemAlert: typeof BaseSystemAlert;
|
|
90
|
-
systemAlertStore: typeof systemAlertStore;
|
|
91
|
-
systemAlerts: typeof systemAlerts;
|
|
92
|
-
showMobileMenu: typeof showMobileMenu;
|
|
93
|
-
closeMenu: typeof closeMenu;
|
|
94
|
-
collapsed: typeof collapsed;
|
|
95
|
-
toggleCollapse: typeof toggleCollapse;
|
|
96
|
-
navbarHeight: typeof navbarHeight;
|
|
97
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
-
appName: {
|
|
99
|
-
default: string;
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
};
|
|
102
|
-
logoUrl: {
|
|
103
|
-
default: string;
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
};
|
|
106
|
-
logoTo: {
|
|
107
|
-
default: string;
|
|
108
|
-
type: PropType<RouteLocationRaw>;
|
|
109
|
-
};
|
|
110
|
-
dark: {
|
|
111
|
-
default: boolean;
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
};
|
|
114
|
-
size: {
|
|
115
|
-
default: string;
|
|
116
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
117
|
-
};
|
|
118
|
-
}>> & Readonly<{}>, {
|
|
119
|
-
dark: boolean;
|
|
120
|
-
size: "xs" | "sm" | "md";
|
|
121
|
-
appName: string;
|
|
122
|
-
logoUrl: string;
|
|
123
|
-
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
124
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
};
|
|
125
15
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
126
16
|
appName: {
|
|
127
17
|
default: string;
|
|
@@ -2,124 +2,13 @@ import { User } from '@/types/User';
|
|
|
2
2
|
import { ActionItem } from '@/types';
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
4
|
import { NotificationsConfig } from '../types';
|
|
5
|
-
import BaseAvatar from './BaseAvatar.vue';
|
|
6
|
-
import BaseLayoutNotificationDropdown from './BaseLayoutNotificationDropdown.vue';
|
|
7
|
-
import BaseLayoutSidebar from './BaseLayoutSidebar.vue';
|
|
8
|
-
import BaseMenu from './BaseMenu.vue';
|
|
9
|
-
import BaseNavbarSideItem from './BaseNavbarSideItem.vue';
|
|
10
5
|
import { RouteLocationRaw } from 'vue-router';
|
|
11
|
-
declare const sectionLabelClasses: import("vue").ComputedRef<string[]>;
|
|
12
|
-
declare function onNotificationClick(notification: Notification): void;
|
|
13
|
-
declare function onNotificationOpen(): void;
|
|
14
|
-
declare const windowSize: {
|
|
15
|
-
width: import("vue").Ref<number>;
|
|
16
|
-
height: import("vue").Ref<number>;
|
|
17
|
-
};
|
|
18
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
19
6
|
declare var __VLS_11: {}, __VLS_27: {};
|
|
20
|
-
type __VLS_Slots =
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
21
8
|
navbar?: (props: typeof __VLS_11) => any;
|
|
22
9
|
} & {
|
|
23
10
|
default?: (props: typeof __VLS_27) => any;
|
|
24
|
-
}
|
|
25
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
26
|
-
appName: {
|
|
27
|
-
default: string;
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
};
|
|
30
|
-
logoUrl: {
|
|
31
|
-
default: string;
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
};
|
|
34
|
-
logoTo: {
|
|
35
|
-
default: string;
|
|
36
|
-
type: PropType<RouteLocationRaw>;
|
|
37
|
-
};
|
|
38
|
-
menu: {
|
|
39
|
-
required: true;
|
|
40
|
-
type: PropType<ActionItem[]>;
|
|
41
|
-
};
|
|
42
|
-
userMenu: {
|
|
43
|
-
required: true;
|
|
44
|
-
type: PropType<ActionItem[]>;
|
|
45
|
-
};
|
|
46
|
-
user: {
|
|
47
|
-
required: true;
|
|
48
|
-
type: PropType<User>;
|
|
49
|
-
};
|
|
50
|
-
notifications: {
|
|
51
|
-
default: undefined;
|
|
52
|
-
type: PropType<NotificationsConfig>;
|
|
53
|
-
};
|
|
54
|
-
dark: {
|
|
55
|
-
default: boolean;
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
};
|
|
58
|
-
size: {
|
|
59
|
-
default: string;
|
|
60
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
61
|
-
};
|
|
62
|
-
}>, {
|
|
63
|
-
BaseAvatar: typeof BaseAvatar;
|
|
64
|
-
BaseLayoutNotificationDropdown: typeof BaseLayoutNotificationDropdown;
|
|
65
|
-
BaseLayoutSidebar: typeof BaseLayoutSidebar;
|
|
66
|
-
BaseMenu: typeof BaseMenu;
|
|
67
|
-
BaseNavbarSideItem: typeof BaseNavbarSideItem;
|
|
68
|
-
sectionLabelClasses: typeof sectionLabelClasses;
|
|
69
|
-
onNotificationClick: typeof onNotificationClick;
|
|
70
|
-
onNotificationOpen: typeof onNotificationOpen;
|
|
71
|
-
windowSize: typeof windowSize;
|
|
72
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
|
-
"notification:click": (...args: any[]) => void;
|
|
74
|
-
"notification:open": (...args: any[]) => void;
|
|
75
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
-
appName: {
|
|
77
|
-
default: string;
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
};
|
|
80
|
-
logoUrl: {
|
|
81
|
-
default: string;
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
};
|
|
84
|
-
logoTo: {
|
|
85
|
-
default: string;
|
|
86
|
-
type: PropType<RouteLocationRaw>;
|
|
87
|
-
};
|
|
88
|
-
menu: {
|
|
89
|
-
required: true;
|
|
90
|
-
type: PropType<ActionItem[]>;
|
|
91
|
-
};
|
|
92
|
-
userMenu: {
|
|
93
|
-
required: true;
|
|
94
|
-
type: PropType<ActionItem[]>;
|
|
95
|
-
};
|
|
96
|
-
user: {
|
|
97
|
-
required: true;
|
|
98
|
-
type: PropType<User>;
|
|
99
|
-
};
|
|
100
|
-
notifications: {
|
|
101
|
-
default: undefined;
|
|
102
|
-
type: PropType<NotificationsConfig>;
|
|
103
|
-
};
|
|
104
|
-
dark: {
|
|
105
|
-
default: boolean;
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
};
|
|
108
|
-
size: {
|
|
109
|
-
default: string;
|
|
110
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
111
|
-
};
|
|
112
|
-
}>> & Readonly<{
|
|
113
|
-
"onNotification:click"?: ((...args: any[]) => any) | undefined;
|
|
114
|
-
"onNotification:open"?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
}>, {
|
|
116
|
-
dark: boolean;
|
|
117
|
-
size: "xs" | "sm" | "md";
|
|
118
|
-
notifications: NotificationsConfig;
|
|
119
|
-
appName: string;
|
|
120
|
-
logoUrl: string;
|
|
121
|
-
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
122
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
};
|
|
123
12
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
124
13
|
appName: {
|
|
125
14
|
default: string;
|
|
@@ -1,48 +1,9 @@
|
|
|
1
|
-
import BaseNavbar from './BaseNavbar.vue';
|
|
2
|
-
import BaseSystemAlert from './BaseSystemAlert.vue';
|
|
3
1
|
type __VLS_Props = {
|
|
4
2
|
class?: string | string[];
|
|
5
3
|
dark?: boolean;
|
|
6
4
|
navbar?: Record<string, unknown>;
|
|
7
5
|
size?: 'xs' | 'sm' | 'md';
|
|
8
6
|
};
|
|
9
|
-
declare const classInternal: import("vue").ComputedRef<string>;
|
|
10
|
-
/**
|
|
11
|
-
* System Alerts
|
|
12
|
-
*/
|
|
13
|
-
declare const systemAlertStore: import("pinia").Store<"systemAlerts", {
|
|
14
|
-
count: number;
|
|
15
|
-
systemAlerts: import("..").SystemAlert[];
|
|
16
|
-
}, {}, {
|
|
17
|
-
push(systemAlert: import("..").SystemAlertOptions): string | number;
|
|
18
|
-
remove(alertId: number | string): void;
|
|
19
|
-
clear(): void;
|
|
20
|
-
}>;
|
|
21
|
-
declare const systemAlerts: import("vue").ComputedRef<{
|
|
22
|
-
id: number;
|
|
23
|
-
color: "info" | "success" | "danger" | "warning";
|
|
24
|
-
message: string;
|
|
25
|
-
to?: string | {
|
|
26
|
-
name?: import("vue-router").RouteRecordNameGeneric;
|
|
27
|
-
params?: import("vue-router").RouteParamsRawGeneric | undefined;
|
|
28
|
-
path?: undefined | undefined;
|
|
29
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
30
|
-
hash?: string | undefined;
|
|
31
|
-
replace?: boolean | undefined;
|
|
32
|
-
force?: boolean | undefined;
|
|
33
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
34
|
-
} | {
|
|
35
|
-
path: string;
|
|
36
|
-
query?: import("vue-router").LocationQueryRaw | undefined;
|
|
37
|
-
hash?: string | undefined;
|
|
38
|
-
replace?: boolean | undefined;
|
|
39
|
-
force?: boolean | undefined;
|
|
40
|
-
state?: import("vue-router").HistoryState | undefined;
|
|
41
|
-
} | undefined;
|
|
42
|
-
action?: (() => void) | undefined;
|
|
43
|
-
closable: boolean;
|
|
44
|
-
}[]>;
|
|
45
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
46
7
|
declare var __VLS_11: {
|
|
47
8
|
mobile: boolean;
|
|
48
9
|
dark: boolean;
|
|
@@ -53,24 +14,13 @@ declare var __VLS_11: {
|
|
|
53
14
|
closeMenu: () => void;
|
|
54
15
|
openMenu: () => void;
|
|
55
16
|
}, __VLS_15: {};
|
|
56
|
-
type __VLS_Slots =
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
57
18
|
navbar?: (props: typeof __VLS_11) => any;
|
|
58
19
|
} & {
|
|
59
20
|
mobile?: (props: typeof __VLS_13) => any;
|
|
60
21
|
} & {
|
|
61
22
|
default?: (props: typeof __VLS_15) => any;
|
|
62
|
-
}
|
|
63
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
64
|
-
BaseNavbar: typeof BaseNavbar;
|
|
65
|
-
BaseSystemAlert: typeof BaseSystemAlert;
|
|
66
|
-
classInternal: typeof classInternal;
|
|
67
|
-
systemAlertStore: typeof systemAlertStore;
|
|
68
|
-
systemAlerts: typeof systemAlerts;
|
|
69
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
70
|
-
class: string | string[];
|
|
71
|
-
size: "xs" | "sm" | "md";
|
|
72
|
-
navbar: Record<string, unknown>;
|
|
73
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
};
|
|
74
24
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
75
25
|
class: string | string[];
|
|
76
26
|
size: "xs" | "sm" | "md";
|
|
@@ -1,126 +1,11 @@
|
|
|
1
1
|
import { User } from '@/types/User';
|
|
2
2
|
import { ActionItem, NotificationsConfig } from '@/types';
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
|
-
import BaseAvatar from './BaseAvatar.vue';
|
|
5
|
-
import BaseLayoutStacked from './BaseLayoutStacked.vue';
|
|
6
|
-
import BaseMenu from './BaseMenu.vue';
|
|
7
|
-
import BaseNavbarItem from './BaseNavbarItem.vue';
|
|
8
|
-
import BaseNavbarSideItem from './BaseNavbarSideItem.vue';
|
|
9
|
-
import BaseLayoutNotificationDropdown from './BaseLayoutNotificationDropdown.vue';
|
|
10
4
|
import { RouteLocationRaw } from 'vue-router';
|
|
11
|
-
declare function onNotificationClick(notification: Notification): void;
|
|
12
|
-
declare function onNotificationOpen(): void;
|
|
13
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
14
5
|
declare var __VLS_35: {};
|
|
15
|
-
type __VLS_Slots =
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
16
7
|
default?: (props: typeof __VLS_35) => any;
|
|
17
|
-
}
|
|
18
|
-
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
19
|
-
appName: {
|
|
20
|
-
default: string;
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
};
|
|
23
|
-
logoUrl: {
|
|
24
|
-
default: string;
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
};
|
|
27
|
-
logoTo: {
|
|
28
|
-
default: string;
|
|
29
|
-
type: PropType<RouteLocationRaw>;
|
|
30
|
-
};
|
|
31
|
-
menu: {
|
|
32
|
-
required: true;
|
|
33
|
-
type: PropType<ActionItem[]>;
|
|
34
|
-
};
|
|
35
|
-
userMenu: {
|
|
36
|
-
required: true;
|
|
37
|
-
type: PropType<ActionItem[]>;
|
|
38
|
-
};
|
|
39
|
-
user: {
|
|
40
|
-
required: true;
|
|
41
|
-
type: PropType<User>;
|
|
42
|
-
};
|
|
43
|
-
notifications: {
|
|
44
|
-
default: undefined;
|
|
45
|
-
type: PropType<NotificationsConfig>;
|
|
46
|
-
};
|
|
47
|
-
navbar: {
|
|
48
|
-
default: undefined;
|
|
49
|
-
type: PropType<Record<string, unknown>>;
|
|
50
|
-
};
|
|
51
|
-
dark: {
|
|
52
|
-
default: boolean;
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
};
|
|
55
|
-
size: {
|
|
56
|
-
default: string;
|
|
57
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
58
|
-
};
|
|
59
|
-
}>, {
|
|
60
|
-
BaseAvatar: typeof BaseAvatar;
|
|
61
|
-
BaseLayoutStacked: typeof BaseLayoutStacked;
|
|
62
|
-
BaseMenu: typeof BaseMenu;
|
|
63
|
-
BaseNavbarItem: typeof BaseNavbarItem;
|
|
64
|
-
BaseNavbarSideItem: typeof BaseNavbarSideItem;
|
|
65
|
-
BaseLayoutNotificationDropdown: typeof BaseLayoutNotificationDropdown;
|
|
66
|
-
onNotificationClick: typeof onNotificationClick;
|
|
67
|
-
onNotificationOpen: typeof onNotificationOpen;
|
|
68
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
|
-
"notification:click": (...args: any[]) => void;
|
|
70
|
-
"notification:open": (...args: any[]) => void;
|
|
71
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
-
appName: {
|
|
73
|
-
default: string;
|
|
74
|
-
type: StringConstructor;
|
|
75
|
-
};
|
|
76
|
-
logoUrl: {
|
|
77
|
-
default: string;
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
};
|
|
80
|
-
logoTo: {
|
|
81
|
-
default: string;
|
|
82
|
-
type: PropType<RouteLocationRaw>;
|
|
83
|
-
};
|
|
84
|
-
menu: {
|
|
85
|
-
required: true;
|
|
86
|
-
type: PropType<ActionItem[]>;
|
|
87
|
-
};
|
|
88
|
-
userMenu: {
|
|
89
|
-
required: true;
|
|
90
|
-
type: PropType<ActionItem[]>;
|
|
91
|
-
};
|
|
92
|
-
user: {
|
|
93
|
-
required: true;
|
|
94
|
-
type: PropType<User>;
|
|
95
|
-
};
|
|
96
|
-
notifications: {
|
|
97
|
-
default: undefined;
|
|
98
|
-
type: PropType<NotificationsConfig>;
|
|
99
|
-
};
|
|
100
|
-
navbar: {
|
|
101
|
-
default: undefined;
|
|
102
|
-
type: PropType<Record<string, unknown>>;
|
|
103
|
-
};
|
|
104
|
-
dark: {
|
|
105
|
-
default: boolean;
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
};
|
|
108
|
-
size: {
|
|
109
|
-
default: string;
|
|
110
|
-
type: PropType<"xs" | "sm" | "md">;
|
|
111
|
-
};
|
|
112
|
-
}>> & Readonly<{
|
|
113
|
-
"onNotification:click"?: ((...args: any[]) => any) | undefined;
|
|
114
|
-
"onNotification:open"?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
}>, {
|
|
116
|
-
dark: boolean;
|
|
117
|
-
size: "xs" | "sm" | "md";
|
|
118
|
-
notifications: NotificationsConfig;
|
|
119
|
-
navbar: Record<string, unknown>;
|
|
120
|
-
appName: string;
|
|
121
|
-
logoUrl: string;
|
|
122
|
-
logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
123
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
};
|
|
124
9
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
125
10
|
appName: {
|
|
126
11
|
default: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UseIntersectionObserverOptions } from '@vueuse/core';
|
|
2
|
-
declare const nodeRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
3
2
|
declare const TRIGGER_MOUNT = "mount";
|
|
4
3
|
declare const TRIGGER_INTERSECTION = "intersection";
|
|
5
4
|
type __VLS_Props = {
|
|
@@ -7,22 +6,12 @@ type __VLS_Props = {
|
|
|
7
6
|
trigger?: typeof TRIGGER_MOUNT | typeof TRIGGER_INTERSECTION;
|
|
8
7
|
intersectionConfig?: UseIntersectionObserverOptions;
|
|
9
8
|
};
|
|
10
|
-
declare const shouldRender: import("vue").ComputedRef<boolean>;
|
|
11
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
12
9
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
13
|
-
type __VLS_Slots =
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
14
11
|
default?: (props: typeof __VLS_1) => any;
|
|
15
12
|
} & {
|
|
16
13
|
preview?: (props: typeof __VLS_3) => any;
|
|
17
|
-
}
|
|
18
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
19
|
-
nodeRef: typeof nodeRef;
|
|
20
|
-
shouldRender: typeof shouldRender;
|
|
21
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
|
-
delay: number;
|
|
23
|
-
trigger: typeof TRIGGER_MOUNT | typeof TRIGGER_INTERSECTION;
|
|
24
|
-
intersectionConfig: UseIntersectionObserverOptions;
|
|
25
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
};
|
|
26
15
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
27
16
|
delay: number;
|
|
28
17
|
trigger: typeof TRIGGER_MOUNT | typeof TRIGGER_INTERSECTION;
|
|
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
type: NumberConstructor;
|
|
28
28
|
};
|
|
29
29
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
"update:modelValue": (...args: any[]) => void;
|
|
31
30
|
remove: (...args: any[]) => void;
|
|
31
|
+
"update:modelValue": (...args: any[]) => void;
|
|
32
32
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
modelValue: {
|
|
34
34
|
required: true;
|
|
@@ -55,12 +55,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
55
55
|
type: NumberConstructor;
|
|
56
56
|
};
|
|
57
57
|
}>> & Readonly<{
|
|
58
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
59
58
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
+
draggable: boolean;
|
|
61
62
|
size: number;
|
|
62
63
|
disabled: boolean;
|
|
63
|
-
draggable: boolean;
|
|
64
64
|
showRemove: boolean;
|
|
65
65
|
itemMaxWidth: number;
|
|
66
66
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -40,8 +40,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
40
|
}>> & Readonly<{
|
|
41
41
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
|
-
disabled: boolean;
|
|
44
43
|
draggable: boolean;
|
|
44
|
+
disabled: boolean;
|
|
45
45
|
showRemove: boolean;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
export default _default;
|