sprintify-ui 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sprintify-ui.es.js +235 -236
- package/dist/types/index.d.ts +1 -2
- package/dist/types/stores/snackbars.d.ts +0 -9
- package/dist/types/types/index.d.ts +3 -2
- package/package.json +1 -1
- package/src/index.ts +1 -2
- package/src/stores/snackbars.ts +0 -2
- package/src/types/index.ts +4 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
2
|
import { App } from 'vue';
|
|
3
3
|
import { useDialogsStore } from './stores/dialogs';
|
|
4
|
-
import { useSnackbarsStore
|
|
4
|
+
import { useSnackbarsStore } from './stores/snackbars';
|
|
5
5
|
import { useSystemAlertStore } from './stores/systemAlerts';
|
|
6
6
|
import { useClickOutside } from './composables/clickOutside';
|
|
7
7
|
import { useField } from './composables/field';
|
|
@@ -246,7 +246,6 @@ export { messages };
|
|
|
246
246
|
export { config };
|
|
247
247
|
export { useDialogsStore };
|
|
248
248
|
export { useSnackbarsStore };
|
|
249
|
-
export { useNotificationsStore };
|
|
250
249
|
export { useSystemAlertStore };
|
|
251
250
|
export { useClickOutside };
|
|
252
251
|
export { useField };
|
|
@@ -8,12 +8,3 @@ export declare const useSnackbarsStore: import("pinia").StoreDefinition<"notific
|
|
|
8
8
|
remove(snackbar: Snackbar): void;
|
|
9
9
|
clear(): void;
|
|
10
10
|
}>;
|
|
11
|
-
export declare const useNotificationsStore: import("pinia").StoreDefinition<"notifications", {
|
|
12
|
-
count: number;
|
|
13
|
-
snackbars: Snackbar[];
|
|
14
|
-
timeouts: Record<number, number>;
|
|
15
|
-
}, {}, {
|
|
16
|
-
push(options: SnackbarOptions): void;
|
|
17
|
-
remove(snackbar: Snackbar): void;
|
|
18
|
-
clear(): void;
|
|
19
|
-
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RouteLocationRaw } from 'vue-router';
|
|
2
2
|
import { UploadedFile } from './UploadedFile';
|
|
3
|
-
import { Notification
|
|
3
|
+
import { Notification } from './Notification';
|
|
4
4
|
import { CropType, ResultOptions } from 'croppie';
|
|
5
5
|
import { Media } from './Media';
|
|
6
6
|
export type Locales = {
|
|
@@ -154,10 +154,11 @@ export interface Snackbar {
|
|
|
154
154
|
*/
|
|
155
155
|
export interface NotificationsConfig {
|
|
156
156
|
count: number;
|
|
157
|
-
items:
|
|
157
|
+
items: Notification[];
|
|
158
158
|
footerLabel?: string;
|
|
159
159
|
footerTo?: RouteLocationRaw;
|
|
160
160
|
}
|
|
161
|
+
export type { Notification };
|
|
161
162
|
export interface SelectConfigurationOption {
|
|
162
163
|
value: OptionValue;
|
|
163
164
|
label: string;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -5,7 +5,7 @@ import QueryString from 'qs';
|
|
|
5
5
|
import en from '@/lang/en.json';
|
|
6
6
|
import fr from '@/lang/fr.json';
|
|
7
7
|
import { useDialogsStore } from './stores/dialogs';
|
|
8
|
-
import { useSnackbarsStore
|
|
8
|
+
import { useSnackbarsStore } from './stores/snackbars';
|
|
9
9
|
import { useSystemAlertStore } from './stores/systemAlerts';
|
|
10
10
|
import { useClickOutside } from './composables/clickOutside';
|
|
11
11
|
import { useField } from './composables/field';
|
|
@@ -125,7 +125,6 @@ export { config };
|
|
|
125
125
|
|
|
126
126
|
export { useDialogsStore };
|
|
127
127
|
export { useSnackbarsStore };
|
|
128
|
-
export { useNotificationsStore };
|
|
129
128
|
export { useSystemAlertStore };
|
|
130
129
|
export { useClickOutside };
|
|
131
130
|
export { useField };
|
package/src/stores/snackbars.ts
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { RouteLocationRaw } from 'vue-router';
|
|
4
4
|
import { UploadedFile } from './UploadedFile';
|
|
5
|
-
import { Notification
|
|
5
|
+
import { Notification } from './Notification';
|
|
6
6
|
import { CropType, ResultOptions } from 'croppie';
|
|
7
7
|
import { Media } from './Media';
|
|
8
8
|
|
|
@@ -194,11 +194,13 @@ export interface Snackbar {
|
|
|
194
194
|
|
|
195
195
|
export interface NotificationsConfig {
|
|
196
196
|
count: number;
|
|
197
|
-
items:
|
|
197
|
+
items: Notification[];
|
|
198
198
|
footerLabel?: string;
|
|
199
199
|
footerTo?: RouteLocationRaw;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
export type { Notification };
|
|
203
|
+
|
|
202
204
|
export interface SelectConfigurationOption {
|
|
203
205
|
value: OptionValue;
|
|
204
206
|
label: string;
|