Comparing version
@@ -99,2 +99,10 @@ import { AllowedComponentProps } from 'vue'; | ||
declare type __VLS_Prettify_6<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
declare type __VLS_Prettify_7<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
declare type __VLS_TypePropsToRuntimeProps<T> = { | ||
@@ -427,2 +435,14 @@ [K in keyof T]-?: {} extends Pick<T, K> ? { | ||
declare type __VLS_WithDefaults_6<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_6<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
declare type __VLS_WithDefaults_7<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_7<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
declare type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -685,3 +705,9 @@ new (): { | ||
export declare const FluxControls: DefineComponent<__VLS_TypePropsToRuntimeProps_10<Props_2>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_10<Props_2>>>, {}, {}>; | ||
export declare const FluxControls: DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_10<Props_2>, { | ||
mouseOver: undefined; | ||
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_10<Props_2>, { | ||
mouseOver: undefined; | ||
}>>>, { | ||
mouseOver: boolean | Ref<boolean>; | ||
}, {}>; | ||
@@ -774,3 +800,9 @@ export declare const FluxCube: DefineComponent<__VLS_WithDefaults_5<__VLS_TypePropsToRuntimeProps_8<FluxCubeProps>, { | ||
export declare const FluxIndex: DefineComponent<__VLS_TypePropsToRuntimeProps_11<Props_3>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_11<Props_3>>>, {}, {}>; | ||
export declare const FluxIndex: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_11<Props_3>, { | ||
mouseOver: undefined; | ||
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_11<Props_3>, { | ||
mouseOver: undefined; | ||
}>>>, { | ||
mouseOver: boolean | Ref<boolean>; | ||
}, {}>; | ||
@@ -828,3 +860,2 @@ export declare const FluxPagination: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_TypePropsToRuntimeProps_12<Props_4>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_12<Props_4>>>, {}, {}>, { | ||
}>, { | ||
duration: Ref<number>; | ||
start: typeof start; | ||
@@ -930,3 +961,3 @@ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { | ||
declare class Player { | ||
export declare class Player { | ||
resource: PlayerResource; | ||
@@ -938,7 +969,7 @@ transition: PlayerTransition; | ||
emit: Function; | ||
transitions: Transitions | null; | ||
resources: Resources | null; | ||
resources: Resources; | ||
transitions: Transitions; | ||
$displayComponent: Ref<null | Component>; | ||
constructor(config: VueFluxConfig, timers: Timers, emit: Function); | ||
setup(resources: Resources, transitions: Transitions, $displayComponent: Ref<null | Component>): void; | ||
setup($displayComponent: Ref<null | Component>): void; | ||
play(resourceIndex?: number | Direction, delay?: number): void; | ||
@@ -996,3 +1027,3 @@ stop(cancelTransition?: boolean): Promise<void>; | ||
declare interface Props_2 { | ||
mouseOver?: Ref<boolean>; | ||
mouseOver?: boolean | Ref<boolean>; | ||
player: Player; | ||
@@ -1002,5 +1033,4 @@ } | ||
declare interface Props_3 { | ||
mouseOver: Ref<boolean>; | ||
mouseOver?: boolean | Ref<boolean>; | ||
displaySize: Size; | ||
resources: Resources; | ||
player: Player; | ||
@@ -1382,2 +1412,3 @@ } | ||
getPlayer: () => Controllers.Player; | ||
size: Size; | ||
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { | ||
@@ -1434,3 +1465,2 @@ created: () => void; | ||
displaySize: Size; | ||
resources: Repositories.Resources; | ||
player: Controllers.Player; | ||
@@ -1437,0 +1467,0 @@ }): any; |
{ | ||
"name": "vue-flux", | ||
"type": "module", | ||
"version": "7.0.0-beta.1", | ||
"version": "7.0.0-beta.2", | ||
"description": "Vue image and other resources slider", | ||
@@ -46,18 +46,18 @@ "author": "ragnar lotus", | ||
"devDependencies": { | ||
"@typescript-eslint/parser": "^6.13.2", | ||
"@typescript-eslint/parser": "^6.14.0", | ||
"@vitejs/plugin-vue": "^4.5.2", | ||
"@vue/compiler-sfc": "^3.3.11", | ||
"@vue/compiler-sfc": "^3.3.12", | ||
"@vue/test-utils": "^2.4.3", | ||
"autoprefixer": "^10.4.16", | ||
"eslint": "^8.55.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-vue": "^9.19.2", | ||
"postcss": "^8.4.32", | ||
"prettier": "^3.1.0", | ||
"prettier": "^3.1.1", | ||
"sass": "^1.69.5", | ||
"tailwindcss": "^3.3.6", | ||
"typescript": "^5.3.3", | ||
"vite": "^5.0.7", | ||
"vite": "^5.0.10", | ||
"vite-plugin-dts": "^3.6.4", | ||
"vitest": "^1.0.2", | ||
"vitest": "^1.0.4", | ||
"vue-cosk": "^1.0.0", | ||
@@ -64,0 +64,0 @@ "vue-tsc": "^1.8.25" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
208591
0.57%4659
0.65%