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