@spash/frontlib 0.0.24-beta.4 → 0.0.24
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/main.d.ts +6 -5
- package/dist/main.js +3578 -3576
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
import { AxiosInstance } from 'axios';
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
3
4
|
import { Config } from 'tailwindcss/types/config';
|
|
4
5
|
import { DateTime } from 'luxon';
|
|
5
6
|
import { DateTimeUnit } from 'luxon';
|
|
6
7
|
import { MonthNumbers } from 'luxon';
|
|
7
8
|
import { PluginCreator } from 'tailwindcss/types/config';
|
|
8
9
|
import { Ref } from 'vue';
|
|
10
|
+
import { default as useCookies } from './composables/useCookies.ts';
|
|
9
11
|
import { useI18n } from 'vue-i18n';
|
|
10
|
-
import { VueCookies } from 'vue3-cookies/dist/interfaces';
|
|
11
12
|
|
|
12
13
|
declare interface AppOptions {
|
|
13
14
|
autoImport?: {
|
|
@@ -129,8 +130,6 @@ export declare interface DoohContent {
|
|
|
129
130
|
competitionDetails: CompetitionDetail;
|
|
130
131
|
highlight: SessionEvent;
|
|
131
132
|
multiplexEvents: SessionEvent[];
|
|
132
|
-
orientation: 'landscape' | 'portrait';
|
|
133
|
-
type: 'lite' | 'full';
|
|
134
133
|
}
|
|
135
134
|
|
|
136
135
|
declare type DoohContentContentType = 'article' | 'highlights' | 'image' | 'video' | 'competition' | 'multiplex' | 'ads' | 'bookings' | 'error';
|
|
@@ -602,7 +601,7 @@ export declare const useCompetition: ({ t }?: {
|
|
|
602
601
|
*/
|
|
603
602
|
export declare const useComponent: (app: App, components: any, moduleComponents: any) => void;
|
|
604
603
|
|
|
605
|
-
export
|
|
604
|
+
export { useCookies }
|
|
606
605
|
|
|
607
606
|
export declare const useDisplayImage: () => {
|
|
608
607
|
logoInline: Ref<any, any>;
|
|
@@ -613,9 +612,10 @@ export declare const useDisplayImage: () => {
|
|
|
613
612
|
reloadImages: (theme: string) => void;
|
|
614
613
|
};
|
|
615
614
|
|
|
616
|
-
export declare const useHelper: ({ t, router }?: {
|
|
615
|
+
export declare const useHelper: ({ t, router, apiUrlTemp }?: {
|
|
617
616
|
t?: any;
|
|
618
617
|
router?: any;
|
|
618
|
+
apiUrlTemp?: string;
|
|
619
619
|
}) => {
|
|
620
620
|
timeout: Ref<any, any>;
|
|
621
621
|
getAndParseObjectFromLocalStorage: (key: string) => any;
|
|
@@ -633,6 +633,7 @@ export declare const useHelper: ({ t, router }?: {
|
|
|
633
633
|
arrayUniqueValue: (array: any[], key: string) => any[];
|
|
634
634
|
sleep: (ms: number) => Promise<unknown>;
|
|
635
635
|
checkIfComponentExists: (componentName: string) => boolean;
|
|
636
|
+
apiUrl: ComputedRef<string>;
|
|
636
637
|
};
|
|
637
638
|
|
|
638
639
|
export { useI18n }
|