sprintify-ui 0.10.13 → 0.10.15

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.
Files changed (118) hide show
  1. package/README.md +4 -2
  2. package/dist/BaseCkeditor-C9d4NSCx.js +113 -0
  3. package/dist/sprintify-ui.es.js +14283 -81751
  4. package/dist/style.css +3 -3
  5. package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
  6. package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
  7. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  8. package/dist/types/components/BaseAlert.vue.d.ts +24 -11
  9. package/dist/types/components/BaseApp.vue.d.ts +14 -12
  10. package/dist/types/components/BaseAssign.vue.d.ts +1 -1
  11. package/dist/types/components/BaseAutocomplete.vue.d.ts +642 -452
  12. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +117 -22
  13. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1029 -410
  14. package/dist/types/components/BaseAvatar.vue.d.ts +1 -1
  15. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  16. package/dist/types/components/BaseBadge.vue.d.ts +23 -11
  17. package/dist/types/components/BaseBelongsTo.vue.d.ts +985 -409
  18. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +750 -369
  19. package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
  20. package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
  21. package/dist/types/components/BaseButton.vue.d.ts +57 -13
  22. package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
  23. package/dist/types/components/BaseCard.vue.d.ts +26 -12
  24. package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
  25. package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
  26. package/dist/types/components/BaseCkeditor.vue.d.ts +32 -0
  27. package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
  28. package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
  29. package/dist/types/components/BaseContainer.vue.d.ts +16 -11
  30. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  31. package/dist/types/components/BaseCropper.vue.d.ts +55 -30
  32. package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
  33. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
  34. package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
  35. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
  36. package/dist/types/components/BaseDataTable.vue.d.ts +2045 -735
  37. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +563 -100
  38. package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
  39. package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
  40. package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
  41. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
  42. package/dist/types/components/BaseDialog.vue.d.ts +114 -407
  43. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
  44. package/dist/types/components/BaseDraggable.vue.d.ts +21 -17
  45. package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
  46. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +134 -19
  47. package/dist/types/components/BaseField.vue.d.ts +103 -12
  48. package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
  49. package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
  50. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
  51. package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
  52. package/dist/types/components/BaseForm.vue.d.ts +161 -20
  53. package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
  54. package/dist/types/components/BaseHasMany.vue.d.ts +586 -345
  55. package/dist/types/components/BaseHasManyFetch.vue.d.ts +598 -249
  56. package/dist/types/components/BaseHeader.vue.d.ts +1 -1
  57. package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
  58. package/dist/types/components/BaseInputError.vue.d.ts +23 -11
  59. package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
  60. package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
  61. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +127 -16
  62. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
  63. package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
  64. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
  65. package/dist/types/components/BaseLazy.vue.d.ts +20 -15
  66. package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
  67. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  68. package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
  69. package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
  70. package/dist/types/components/BaseMediaList.vue.d.ts +1 -1
  71. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  72. package/dist/types/components/BaseMediaPictures.vue.d.ts +1 -1
  73. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  74. package/dist/types/components/BaseMenu.vue.d.ts +233 -30
  75. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  76. package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
  77. package/dist/types/components/BaseModalSide.vue.d.ts +72 -12
  78. package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
  79. package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
  80. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
  81. package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
  82. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
  83. package/dist/types/components/BasePagination.vue.d.ts +1 -1
  84. package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
  85. package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
  86. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  87. package/dist/types/components/BaseSelect.vue.d.ts +149 -12
  88. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  89. package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
  90. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
  91. package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
  92. package/dist/types/components/BaseStepper.vue.d.ts +1 -1
  93. package/dist/types/components/BaseSwitch.vue.d.ts +118 -10
  94. package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
  95. package/dist/types/components/BaseTabItem.vue.d.ts +25 -16
  96. package/dist/types/components/BaseTable.vue.d.ts +29 -14
  97. package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
  98. package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
  99. package/dist/types/components/BaseTableColumn.vue.d.ts +2 -2
  100. package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
  101. package/dist/types/components/BaseTableHeader.vue.d.ts +25 -14
  102. package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
  103. package/dist/types/components/BaseTabs.vue.d.ts +16 -15
  104. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +578 -199
  105. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +803 -346
  106. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  107. package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
  108. package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
  109. package/dist/types/components/BaseToast.vue.d.ts +1 -1
  110. package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
  111. package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
  112. package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
  113. package/dist/types/stories/PageShow.vue.d.ts +1 -1
  114. package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
  115. package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
  116. package/package.json +3 -4
  117. package/src/components/BaseCkeditor.vue +137 -0
  118. package/src/components/BaseRichText.vue +10 -100
@@ -32,5 +32,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
32
32
  }[];
33
33
  subtitle: string;
34
34
  badge: BaseBadgeProps;
35
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
36
  export default _default;
@@ -11,5 +11,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
11
11
  modelValue: string | null;
12
12
  maxWidth: string;
13
13
  collection: string;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  export default _default;
@@ -1,14 +1,26 @@
1
1
  import { Size } from '@/utils/sizes';
2
2
  import { PropType } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
3
+ declare const classes: import("vue").ComputedRef<string[]>;
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
+ size: {
11
+ default: undefined;
12
+ type: PropType<Size>;
7
13
  };
8
- refs: {};
9
- rootEl: HTMLParagraphElement;
10
- };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ }>, {
15
+ classes: typeof classes;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ size: {
18
+ default: undefined;
19
+ type: PropType<Size>;
20
+ };
21
+ }>> & Readonly<{}>, {
22
+ size: "xs" | "sm" | "md" | "lg" | "xl";
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
24
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
25
  size: {
14
26
  default: undefined;
@@ -21,10 +33,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
21
33
  };
22
34
  }>> & Readonly<{}>, {
23
35
  size: "xs" | "sm" | "md" | "lg" | "xl";
24
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLParagraphElement>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
26
38
  export default _default;
27
- type __VLS_WithTemplateSlots<T, S> = T & {
39
+ type __VLS_WithSlots<T, S> = T & {
28
40
  new (): {
29
41
  $slots: S;
30
42
  };
@@ -7,5 +7,5 @@ type __VLS_Props = {
7
7
  class?: string | string[];
8
8
  variant: 'list' | 'collapse';
9
9
  };
10
- 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, {}, HTMLLIElement>;
10
+ 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>;
11
11
  export default _default;
@@ -3,5 +3,5 @@ type __VLS_Props = {
3
3
  active: boolean;
4
4
  notification: Notification;
5
5
  };
6
- 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, {}, HTMLDivElement>;
6
+ 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>;
7
7
  export default _default;
@@ -1,19 +1,130 @@
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';
2
5
  import { RouteLocationRaw } from 'vue-router';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- menu?(_: {}): any;
7
- menu?(_: {
8
- collapsed: boolean;
9
- }): any;
10
- navbar?(_: {}): any;
11
- default?(_: {}): any;
12
- };
13
- refs: {};
14
- rootEl: HTMLDivElement;
6
+ /**
7
+ * System Alert And Navigation size
8
+ */
9
+ declare const systemAlertStore: import("pinia").Store<"systemAlerts", {
10
+ count: number;
11
+ systemAlerts: import("..").SystemAlert[];
12
+ }, {}, {
13
+ push(systemAlert: import("..").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
+ /**
47
+ * Collapse
48
+ */
49
+ declare const collapsed: import("vue").Ref<boolean, boolean>;
50
+ declare function toggleCollapse(): void;
51
+ declare const navbarHeight: import("vue").ComputedRef<number>;
52
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
53
+ declare var __VLS_41: {}, __VLS_54: {}, __VLS_56: {}, __VLS_70: {
54
+ collapsed: boolean;
15
55
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
56
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
57
+ menu?: (props: typeof __VLS_41) => any;
58
+ } & {
59
+ navbar?: (props: typeof __VLS_54) => any;
60
+ } & {
61
+ default?: (props: typeof __VLS_56) => any;
62
+ } & {
63
+ menu?: (props: typeof __VLS_70) => any;
64
+ }>;
65
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
66
+ appName: {
67
+ default: string;
68
+ type: StringConstructor;
69
+ };
70
+ logoUrl: {
71
+ default: string;
72
+ type: StringConstructor;
73
+ };
74
+ logoTo: {
75
+ default: string;
76
+ type: PropType<RouteLocationRaw>;
77
+ };
78
+ dark: {
79
+ default: boolean;
80
+ type: BooleanConstructor;
81
+ };
82
+ size: {
83
+ default: string;
84
+ type: PropType<"xs" | "sm" | "md">;
85
+ };
86
+ }>, {
87
+ Dialog: typeof Dialog;
88
+ DialogPanel: typeof DialogPanel;
89
+ TransitionChild: typeof TransitionChild;
90
+ TransitionRoot: typeof TransitionRoot;
91
+ BaseIcon: typeof BaseIcon;
92
+ BaseSystemAlert: typeof BaseSystemAlert;
93
+ systemAlertStore: typeof systemAlertStore;
94
+ systemAlerts: typeof systemAlerts;
95
+ showMobileMenu: typeof showMobileMenu;
96
+ closeMenu: typeof closeMenu;
97
+ collapsed: typeof collapsed;
98
+ toggleCollapse: typeof toggleCollapse;
99
+ navbarHeight: typeof navbarHeight;
100
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
101
+ appName: {
102
+ default: string;
103
+ type: StringConstructor;
104
+ };
105
+ logoUrl: {
106
+ default: string;
107
+ type: StringConstructor;
108
+ };
109
+ logoTo: {
110
+ default: string;
111
+ type: PropType<RouteLocationRaw>;
112
+ };
113
+ dark: {
114
+ default: boolean;
115
+ type: BooleanConstructor;
116
+ };
117
+ size: {
118
+ default: string;
119
+ type: PropType<"xs" | "sm" | "md">;
120
+ };
121
+ }>> & Readonly<{}>, {
122
+ dark: boolean;
123
+ size: "xs" | "sm" | "md";
124
+ appName: string;
125
+ logoUrl: string;
126
+ logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
127
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
128
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
129
  appName: {
19
130
  default: string;
@@ -62,10 +173,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
62
173
  appName: string;
63
174
  logoUrl: string;
64
175
  logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
65
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
66
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
176
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
177
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
67
178
  export default _default;
68
- type __VLS_WithTemplateSlots<T, S> = T & {
179
+ type __VLS_WithSlots<T, S> = T & {
69
180
  new (): {
70
181
  $slots: S;
71
182
  };
@@ -2,17 +2,119 @@ 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';
5
10
  import { RouteLocationRaw } from 'vue-router';
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- navbar?(_: {}): any;
10
- default?(_: {}): any;
11
- };
12
- refs: {};
13
- rootEl: HTMLDivElement;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const sectionLabelClasses: import("vue").ComputedRef<string[]>;
12
+ declare function onNotificationClick(notification: Notification): void;
13
+ declare function onNotificationOpen(): void;
14
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
+ declare var __VLS_11: {}, __VLS_27: {};
16
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
17
+ navbar?: (props: typeof __VLS_11) => any;
18
+ } & {
19
+ default?: (props: typeof __VLS_27) => any;
20
+ }>;
21
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
22
+ appName: {
23
+ default: string;
24
+ type: StringConstructor;
25
+ };
26
+ logoUrl: {
27
+ default: string;
28
+ type: StringConstructor;
29
+ };
30
+ logoTo: {
31
+ default: string;
32
+ type: PropType<RouteLocationRaw>;
33
+ };
34
+ menu: {
35
+ required: true;
36
+ type: PropType<ActionItem[]>;
37
+ };
38
+ userMenu: {
39
+ required: true;
40
+ type: PropType<ActionItem[]>;
41
+ };
42
+ user: {
43
+ required: true;
44
+ type: PropType<User>;
45
+ };
46
+ notifications: {
47
+ default: undefined;
48
+ type: PropType<NotificationsConfig>;
49
+ };
50
+ dark: {
51
+ default: boolean;
52
+ type: BooleanConstructor;
53
+ };
54
+ size: {
55
+ default: string;
56
+ type: PropType<"xs" | "sm" | "md">;
57
+ };
58
+ }>, {
59
+ BaseAvatar: typeof BaseAvatar;
60
+ BaseLayoutNotificationDropdown: typeof BaseLayoutNotificationDropdown;
61
+ BaseLayoutSidebar: typeof BaseLayoutSidebar;
62
+ BaseMenu: typeof BaseMenu;
63
+ BaseNavbarSideItem: typeof BaseNavbarSideItem;
64
+ sectionLabelClasses: typeof sectionLabelClasses;
65
+ onNotificationClick: typeof onNotificationClick;
66
+ onNotificationOpen: typeof onNotificationOpen;
67
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
+ "notification:click": (...args: any[]) => void;
69
+ "notification:open": (...args: any[]) => void;
70
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
71
+ appName: {
72
+ default: string;
73
+ type: StringConstructor;
74
+ };
75
+ logoUrl: {
76
+ default: string;
77
+ type: StringConstructor;
78
+ };
79
+ logoTo: {
80
+ default: string;
81
+ type: PropType<RouteLocationRaw>;
82
+ };
83
+ menu: {
84
+ required: true;
85
+ type: PropType<ActionItem[]>;
86
+ };
87
+ userMenu: {
88
+ required: true;
89
+ type: PropType<ActionItem[]>;
90
+ };
91
+ user: {
92
+ required: true;
93
+ type: PropType<User>;
94
+ };
95
+ notifications: {
96
+ default: undefined;
97
+ type: PropType<NotificationsConfig>;
98
+ };
99
+ dark: {
100
+ default: boolean;
101
+ type: BooleanConstructor;
102
+ };
103
+ size: {
104
+ default: string;
105
+ type: PropType<"xs" | "sm" | "md">;
106
+ };
107
+ }>> & Readonly<{
108
+ "onNotification:click"?: ((...args: any[]) => any) | undefined;
109
+ "onNotification:open"?: ((...args: any[]) => any) | undefined;
110
+ }>, {
111
+ dark: boolean;
112
+ size: "xs" | "sm" | "md";
113
+ notifications: NotificationsConfig;
114
+ appName: string;
115
+ logoUrl: string;
116
+ logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
117
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
118
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
119
  appName: {
18
120
  default: string;
@@ -100,10 +202,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
100
202
  appName: string;
101
203
  logoUrl: string;
102
204
  logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
103
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
104
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
205
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
206
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
105
207
  export default _default;
106
- type __VLS_WithTemplateSlots<T, S> = T & {
208
+ type __VLS_WithSlots<T, S> = T & {
107
209
  new (): {
108
210
  $slots: S;
109
211
  };
@@ -1,37 +1,84 @@
1
+ import BaseNavbar from './BaseNavbar.vue';
2
+ import BaseSystemAlert from './BaseSystemAlert.vue';
1
3
  type __VLS_Props = {
2
4
  class?: string | string[];
3
5
  dark?: boolean;
4
6
  navbar?: Record<string, unknown>;
5
7
  size?: 'xs' | 'sm' | 'md';
6
8
  };
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- navbar?(_: {
11
- mobile: boolean;
12
- dark: boolean;
13
- height: number;
14
- }): any;
15
- mobile?(_: {
16
- dark: boolean;
17
- toggleMenu: () => void;
18
- closeMenu: () => void;
19
- openMenu: () => void;
20
- }): any;
21
- default?(_: {}): any;
22
- };
23
- refs: {};
24
- rootEl: any;
25
- };
26
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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
+ declare var __VLS_11: {
47
+ mobile: boolean;
48
+ dark: boolean;
49
+ height: number;
50
+ }, __VLS_13: {
51
+ dark: boolean;
52
+ toggleMenu: () => void;
53
+ closeMenu: () => void;
54
+ openMenu: () => void;
55
+ }, __VLS_15: {};
56
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
57
+ navbar?: (props: typeof __VLS_11) => any;
58
+ } & {
59
+ mobile?: (props: typeof __VLS_13) => any;
60
+ } & {
61
+ 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>;
27
74
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
28
75
  class: string | string[];
29
76
  size: "xs" | "sm" | "md";
30
77
  navbar: Record<string, unknown>;
31
78
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
79
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
33
80
  export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
81
+ type __VLS_WithSlots<T, S> = T & {
35
82
  new (): {
36
83
  $slots: S;
37
84
  };
@@ -1,16 +1,126 @@
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';
4
10
  import { RouteLocationRaw } from 'vue-router';
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
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
+ declare var __VLS_35: {};
15
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
16
+ 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;
9
22
  };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
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>;
14
124
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
125
  appName: {
16
126
  default: string;
@@ -108,9 +218,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
108
218
  logoUrl: string;
109
219
  logoTo: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
110
220
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
111
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
221
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
112
222
  export default _default;
113
- type __VLS_WithTemplateSlots<T, S> = T & {
223
+ type __VLS_WithSlots<T, S> = T & {
114
224
  new (): {
115
225
  $slots: S;
116
226
  };