Skip to content

Commit

Permalink
build new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Tao committed Sep 12, 2023
1 parent 3875e59 commit b45ebb1
Show file tree
Hide file tree
Showing 7 changed files with 312 additions and 780 deletions.
2 changes: 1 addition & 1 deletion dist/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions dist/types/3dLoader/vue3dLoader.vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export interface coordinates {
y: number;
z: number;
}
export interface controlsValue {
min: number;
max: number;
}
declare type encode = "linear" | "sRGB";
declare const _default: import("vue").DefineComponent<{
filePath: {
Expand Down Expand Up @@ -165,6 +169,16 @@ declare const _default: import("vue").DefineComponent<{
type: NumberConstructor;
required: false;
};
verticalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
horizontalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
}, {
props: {
filePath: string | string[];
Expand Down Expand Up @@ -198,6 +212,8 @@ declare const _default: import("vue").DefineComponent<{
intersectRecursive: boolean;
enableDamping?: boolean | undefined;
dampingFactor?: number | undefined;
verticalCtrl: boolean | controlsValue;
horizontalCtrl: boolean | controlsValue;
};
object: any;
raycaster: Raycaster;
Expand Down Expand Up @@ -264,6 +280,7 @@ declare const _default: import("vue").DefineComponent<{
playAnimations: () => void;
playSingleModel: (item: Object3D) => void;
playMultipleModels: (obj: Object3D) => void;
setVerticalHorizontalControls: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mousedown" | "mousemove" | "mouseup" | "click" | "dblclick" | "load" | "process" | "error")[], "mousedown" | "mousemove" | "mouseup" | "click" | "dblclick" | "load" | "process" | "error", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
filePath: {
type: (StringConstructor | ArrayConstructor)[];
Expand Down Expand Up @@ -423,6 +440,16 @@ declare const _default: import("vue").DefineComponent<{
type: NumberConstructor;
required: false;
};
verticalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
horizontalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
}>> & {
onMousedown?: ((...args: any[]) => any) | undefined;
onMousemove?: ((...args: any[]) => any) | undefined;
Expand Down Expand Up @@ -450,5 +477,7 @@ declare const _default: import("vue").DefineComponent<{
enableDraco: boolean;
intersectRecursive: boolean;
enableDamping: boolean;
verticalCtrl: boolean | Record<string, any>;
horizontalCtrl: boolean | Record<string, any>;
}>;
export default _default;
25 changes: 25 additions & 0 deletions dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,16 @@ declare const _default: {
type: NumberConstructor;
required: false;
};
verticalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
horizontalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
}, {
props: {
filePath: string | string[];
Expand Down Expand Up @@ -196,6 +206,8 @@ declare const _default: {
intersectRecursive: boolean;
enableDamping?: boolean | undefined;
dampingFactor?: number | undefined;
verticalCtrl: boolean | import("./3dLoader/vue3dLoader.vue").controlsValue;
horizontalCtrl: boolean | import("./3dLoader/vue3dLoader.vue").controlsValue;
};
object: any;
raycaster: Three.Raycaster;
Expand Down Expand Up @@ -262,6 +274,7 @@ declare const _default: {
playAnimations: () => void;
playSingleModel: (item: Three.Object3D<Three.Event>) => void;
playMultipleModels: (obj: Three.Object3D<Three.Event>) => void;
setVerticalHorizontalControls: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("mousedown" | "mousemove" | "mouseup" | "click" | "dblclick" | "load" | "process" | "error")[], "mousedown" | "mousemove" | "mouseup" | "click" | "dblclick" | "load" | "process" | "error", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
filePath: {
type: (StringConstructor | ArrayConstructor)[];
Expand Down Expand Up @@ -421,6 +434,16 @@ declare const _default: {
type: NumberConstructor;
required: false;
};
verticalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
horizontalCtrl: {
type: (ObjectConstructor | BooleanConstructor)[];
required: false;
default: boolean;
};
}>> & {
onMousedown?: ((...args: any[]) => any) | undefined;
onMousemove?: ((...args: any[]) => any) | undefined;
Expand Down Expand Up @@ -448,6 +471,8 @@ declare const _default: {
enableDraco: boolean;
intersectRecursive: boolean;
enableDamping: boolean;
verticalCtrl: boolean | Record<string, any>;
horizontalCtrl: boolean | Record<string, any>;
}>;
};
export default _default;
Expand Down
32 changes: 16 additions & 16 deletions dist/vue-3d-loader.cjs.js

Large diffs are not rendered by default.

Loading

0 comments on commit b45ebb1

Please sign in to comment.