@toolmain/components 1.2.5 → 1.2.7
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/index.d.ts +1 -14
- package/dist/index.js +291 -328
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { CSS2DObject } from 'three/addons';
|
|
|
5
5
|
import type * as CSS_2 from 'csstype';
|
|
6
6
|
import { DefineComponent } from 'vue';
|
|
7
7
|
import { Dexie } from 'dexie';
|
|
8
|
-
import { DialogProps } from 'element-plus';
|
|
9
8
|
import { EntityTable } from 'dexie';
|
|
10
9
|
import { EventBus as EventBus_2 } from '@toolmain/shared';
|
|
11
10
|
import { GLTF } from 'three/addons';
|
|
@@ -467,12 +466,6 @@ export declare function getModel(url: string, onProgress?: (progress: LoadProgre
|
|
|
467
466
|
|
|
468
467
|
export declare function gradientColor(startColorHex: string, endColorHex: string, step: number): Array<string>;
|
|
469
468
|
|
|
470
|
-
export declare enum HandleEv {
|
|
471
|
-
AFTER_SHOW = "after_show",
|
|
472
|
-
AFTER_HIDE = "after_hide",
|
|
473
|
-
AFTER_STICK = "after_stick"
|
|
474
|
-
}
|
|
475
|
-
|
|
476
469
|
/**
|
|
477
470
|
* translate hex color to rgb color array
|
|
478
471
|
*/
|
|
@@ -837,7 +830,7 @@ export declare const Spinner: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, Com
|
|
|
837
830
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
838
831
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
839
832
|
|
|
840
|
-
|
|
833
|
+
declare enum Status {
|
|
841
834
|
NORMAL = "NORMAL",
|
|
842
835
|
HIDDEN = "HIDDEN"
|
|
843
836
|
}
|
|
@@ -991,8 +984,6 @@ panels: Reactive<DebugPanel[]>;
|
|
|
991
984
|
addPanel: (conf: DebugPanel) => void;
|
|
992
985
|
}, "addPanel">>;
|
|
993
986
|
|
|
994
|
-
export declare function (preset?: Partial<Writable<DialogProps>>): any;
|
|
995
|
-
|
|
996
987
|
export declare const useElement: <T extends Record<string, unknown> & VNodeProps>(node?: VNode) => {
|
|
997
988
|
el: ShallowRef<HTMLElement, HTMLElement>;
|
|
998
989
|
update: (node: VNode, prop?: T) => void;
|
|
@@ -1025,8 +1016,4 @@ export declare interface World {
|
|
|
1025
1016
|
lights: Lights | null;
|
|
1026
1017
|
}
|
|
1027
1018
|
|
|
1028
|
-
declare type Writable<T> = {
|
|
1029
|
-
-readonly [K in keyof T]: T[K];
|
|
1030
|
-
};
|
|
1031
|
-
|
|
1032
1019
|
export { }
|