Changes:
* added a more consistent Typescript generate tsconfig.json * in regards to Typescript, all internals/externals well defined
This commit is contained in:
parent
d96d08a36b
commit
e5456b86e9
|
@ -29,10 +29,10 @@
|
||||||
// link property update function to KUTE.js execution context
|
// link property update function to KUTE.js execution context
|
||||||
var onStart = {};
|
var onStart = {};
|
||||||
|
|
||||||
var now;
|
|
||||||
|
|
||||||
// Include a performance.now polyfill.
|
// Include a performance.now polyfill.
|
||||||
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
||||||
|
var now;
|
||||||
|
|
||||||
// In node.js, use process.hrtime.
|
// In node.js, use process.hrtime.
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
@ -102,10 +102,10 @@
|
||||||
// link property update function to KUTE.js execution context
|
// link property update function to KUTE.js execution context
|
||||||
var onStart = {};
|
var onStart = {};
|
||||||
|
|
||||||
var now;
|
|
||||||
|
|
||||||
// Include a performance.now polyfill.
|
// Include a performance.now polyfill.
|
||||||
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
||||||
|
var now;
|
||||||
|
|
||||||
// In node.js, use process.hrtime.
|
// In node.js, use process.hrtime.
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -2695,7 +2695,7 @@
|
||||||
this.segmentStart = 0;
|
this.segmentStart = 0;
|
||||||
this.data = [];
|
this.data = [];
|
||||||
this.err = '';
|
this.err = '';
|
||||||
return this;
|
// return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
function isPathArray(pathArray) {
|
function isPathArray(pathArray) {
|
||||||
|
|
2
demo/src/kute-extra.min.js
vendored
2
demo/src/kute-extra.min.js
vendored
File diff suppressed because one or more lines are too long
2
demo/src/kute.min.js
vendored
2
demo/src/kute.min.js
vendored
File diff suppressed because one or more lines are too long
6
dist/kute.esm.js
vendored
6
dist/kute.esm.js
vendored
|
@ -96,10 +96,10 @@ var Interpolate = {};
|
||||||
// link property update function to KUTE.js execution context
|
// link property update function to KUTE.js execution context
|
||||||
var onStart = {};
|
var onStart = {};
|
||||||
|
|
||||||
let now;
|
|
||||||
|
|
||||||
// Include a performance.now polyfill.
|
// Include a performance.now polyfill.
|
||||||
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
||||||
|
let now;
|
||||||
|
|
||||||
// In node.js, use process.hrtime.
|
// In node.js, use process.hrtime.
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -2445,7 +2445,7 @@ function SVGPathArray(pathString) {
|
||||||
this.segmentStart = 0;
|
this.segmentStart = 0;
|
||||||
this.data = [];
|
this.data = [];
|
||||||
this.err = '';
|
this.err = '';
|
||||||
return this;
|
// return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns array of segments:
|
// Returns array of segments:
|
||||||
|
|
2
dist/kute.esm.min.js
vendored
2
dist/kute.esm.min.js
vendored
File diff suppressed because one or more lines are too long
6
dist/kute.js
vendored
6
dist/kute.js
vendored
|
@ -102,10 +102,10 @@
|
||||||
// link property update function to KUTE.js execution context
|
// link property update function to KUTE.js execution context
|
||||||
var onStart = {};
|
var onStart = {};
|
||||||
|
|
||||||
var now;
|
|
||||||
|
|
||||||
// Include a performance.now polyfill.
|
// Include a performance.now polyfill.
|
||||||
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
// source https://github.com/tweenjs/tween.js/blob/master/src/Now.ts
|
||||||
|
var now;
|
||||||
|
|
||||||
// In node.js, use process.hrtime.
|
// In node.js, use process.hrtime.
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -2482,7 +2482,7 @@
|
||||||
this.segmentStart = 0;
|
this.segmentStart = 0;
|
||||||
this.data = [];
|
this.data = [];
|
||||||
this.err = '';
|
this.err = '';
|
||||||
return this;
|
// return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns array of segments:
|
// Returns array of segments:
|
||||||
|
|
2
dist/kute.min.js
vendored
2
dist/kute.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -9,6 +9,7 @@
|
||||||
"files": [
|
"files": [
|
||||||
"dist/*.{js,map}",
|
"dist/*.{js,map}",
|
||||||
"types/*.{ts,map}",
|
"types/*.{ts,map}",
|
||||||
|
"types/**/*.{ts,map}",
|
||||||
"src/**/*.{js,map}",
|
"src/**/*.{js,map}",
|
||||||
"src/*.{js,map}"
|
"src/*.{js,map}"
|
||||||
],
|
],
|
||||||
|
@ -60,10 +61,10 @@
|
||||||
},
|
},
|
||||||
"homepage": "http://thednp.github.io/kute.js",
|
"homepage": "http://thednp.github.io/kute.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cubic-bezier-easing": "^1.0.4",
|
"cubic-bezier-easing": "^1.0.8",
|
||||||
"minifill": "^0.0.16",
|
"minifill": "^0.0.16",
|
||||||
"shorter-js": "^0.2.1",
|
"shorter-js": "^0.2.1",
|
||||||
"svg-path-commander": "0.1.5"
|
"svg-path-commander": "0.1.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-buble": "^0.21.3",
|
"@rollup/plugin-buble": "^0.21.3",
|
||||||
|
|
|
@ -16,7 +16,7 @@ import Tween from './tween/tweenBase.js';
|
||||||
// Interface only fromTo
|
// Interface only fromTo
|
||||||
import fromTo from './interface/fromTo.js';
|
import fromTo from './interface/fromTo.js';
|
||||||
|
|
||||||
import { version as Version } from '../package.json';
|
import Version from './util/version.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
Animation,
|
Animation,
|
||||||
|
|
|
@ -24,7 +24,7 @@ import Animation from './animation/animationDevelopment.js';
|
||||||
// Components Extra
|
// Components Extra
|
||||||
import Components from './objects/componentsExtra.js';
|
import Components from './objects/componentsExtra.js';
|
||||||
|
|
||||||
import { version as Version } from '../package.json';
|
import Version from './util/version.js';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
Animation,
|
Animation,
|
||||||
|
|
|
@ -27,7 +27,7 @@ import TransformLegacy from './components/transformLegacy.js';
|
||||||
import SVGDraw from './components/svgDraw.js';
|
import SVGDraw from './components/svgDraw.js';
|
||||||
import SVGMorph from './components/svgMorph.js';
|
import SVGMorph from './components/svgMorph.js';
|
||||||
|
|
||||||
import { version as Version } from '../package.json';
|
import Version from './util/version.js';
|
||||||
|
|
||||||
const Components = {
|
const Components = {
|
||||||
BoxModel,
|
BoxModel,
|
||||||
|
|
|
@ -23,7 +23,7 @@ import Animation from './animation/animation.js';
|
||||||
// Default Components
|
// Default Components
|
||||||
import Components from './objects/componentsDefault.js';
|
import Components from './objects/componentsDefault.js';
|
||||||
|
|
||||||
import { version as Version } from '../package.json';
|
import Version from './util/version.js';
|
||||||
|
|
||||||
const KUTE = {
|
const KUTE = {
|
||||||
Animation,
|
Animation,
|
||||||
|
|
3
src/util/version.js
Normal file
3
src/util/version.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
import { version as Version } from '../../package.json';
|
||||||
|
|
||||||
|
export default Version;
|
|
@ -1,10 +1,15 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"resolveJsonModule": true,
|
"declaration": true,
|
||||||
|
// "resolveJsonModule": true,
|
||||||
"emitDeclarationOnly": true,
|
"emitDeclarationOnly": true,
|
||||||
|
"maxNodeModuleJsDepth": 2,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"outFile": "types/index.d.ts"
|
"rootDir": "src/",
|
||||||
|
"outDir": "types"
|
||||||
},
|
},
|
||||||
"files": ["src/index.js"],
|
"include": ["src/**/*"],
|
||||||
|
// "exclude": ["node_modules", "dist", "types", "demo"]
|
||||||
|
"exclude": ["dist", "types", "demo"]
|
||||||
}
|
}
|
||||||
|
|
4
types/animation/animation.d.ts
vendored
Normal file
4
types/animation/animation.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
export default class Animation {
|
||||||
|
constructor(Component: any);
|
||||||
|
setComponent(Component: any): Animation;
|
||||||
|
}
|
7
types/animation/animationBase.d.ts
vendored
Normal file
7
types/animation/animationBase.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
export default class AnimationBase {
|
||||||
|
constructor(Component: any);
|
||||||
|
setComponent(Component: any): {
|
||||||
|
name: any;
|
||||||
|
};
|
||||||
|
_: number | undefined;
|
||||||
|
}
|
4
types/animation/animationDevelopment.d.ts
vendored
Normal file
4
types/animation/animationDevelopment.d.ts
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
export default class AnimationDevelopment extends Animation {
|
||||||
|
constructor(...args: any[]);
|
||||||
|
}
|
||||||
|
import Animation from "./animation.js";
|
23
types/components/backgroundPosition.d.ts
vendored
Normal file
23
types/components/backgroundPosition.d.ts
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
export default BackgroundPosition;
|
||||||
|
declare namespace BackgroundPosition {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export const defaultValue: number[];
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { bgPositionFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { trueDimension };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace bgPositionFunctions {
|
||||||
|
export { getBgPos as prepareStart };
|
||||||
|
export { prepareBgPos as prepareProperty };
|
||||||
|
export { onStartBgPos as onStart };
|
||||||
|
}
|
||||||
|
import trueDimension from "../util/trueDimension.js";
|
||||||
|
declare function getBgPos(prop: any): any;
|
||||||
|
declare function prepareBgPos(prop: any, value: any): number[];
|
||||||
|
import { onStartBgPos } from "./backgroundPositionBase.js";
|
13
types/components/backgroundPositionBase.d.ts
vendored
Normal file
13
types/components/backgroundPositionBase.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
export function onStartBgPos(prop: any): void;
|
||||||
|
export default baseBgPosOps;
|
||||||
|
declare namespace baseBgPosOps {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartBgPos as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
29
types/components/borderRadius.d.ts
vendored
Normal file
29
types/components/borderRadius.d.ts
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
export function getRadius(tweenProp: any): any;
|
||||||
|
export function prepareRadius(tweenProp: any, value: any): {
|
||||||
|
v: number;
|
||||||
|
u: string;
|
||||||
|
};
|
||||||
|
export namespace radiusFunctions {
|
||||||
|
export { getRadius as prepareStart };
|
||||||
|
export { prepareRadius as prepareProperty };
|
||||||
|
export { radiusOnStart as onStart };
|
||||||
|
}
|
||||||
|
export default BorderRadius;
|
||||||
|
declare const radiusOnStart: {};
|
||||||
|
declare namespace BorderRadius {
|
||||||
|
export const component: string;
|
||||||
|
export const category: string;
|
||||||
|
export { radiusProps as properties };
|
||||||
|
export { radiusValues as defaultValues };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { units };
|
||||||
|
}
|
||||||
|
export { radiusFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { trueDimension };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const radiusProps: string[];
|
||||||
|
declare const radiusValues: {};
|
||||||
|
import units from "../interpolation/units.js";
|
||||||
|
import trueDimension from "../util/trueDimension.js";
|
14
types/components/borderRadiusBase.d.ts
vendored
Normal file
14
types/components/borderRadiusBase.d.ts
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
export function radiusOnStartFn(tweenProp: any): void;
|
||||||
|
export default baseBorderRadius;
|
||||||
|
declare namespace baseBorderRadius {
|
||||||
|
const component: string;
|
||||||
|
const category: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { units };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { radiusOnStart as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import units from "../interpolation/units.js";
|
||||||
|
declare const radiusOnStart: {};
|
22
types/components/boxModel.d.ts
vendored
Normal file
22
types/components/boxModel.d.ts
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
export default boxModel;
|
||||||
|
declare namespace boxModel {
|
||||||
|
export const component: string;
|
||||||
|
export const category: string;
|
||||||
|
export { boxModelProperties as properties };
|
||||||
|
export { boxModelValues as defaultValues };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { boxModelFunctions as functions };
|
||||||
|
}
|
||||||
|
declare const boxModelProperties: string[];
|
||||||
|
declare const boxModelValues: {};
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace boxModelFunctions {
|
||||||
|
export { getBoxModel as prepareStart };
|
||||||
|
export { prepareBoxModel as prepareProperty };
|
||||||
|
export { boxPropsOnStart as onStart };
|
||||||
|
}
|
||||||
|
declare function getBoxModel(tweenProp: any): any;
|
||||||
|
declare function prepareBoxModel(tweenProp: any, value: any): number;
|
||||||
|
declare const boxPropsOnStart: {};
|
16
types/components/boxModelBase.d.ts
vendored
Normal file
16
types/components/boxModelBase.d.ts
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
export function boxModelOnStart(tweenProp: any): void;
|
||||||
|
export default baseBoxModel;
|
||||||
|
declare namespace baseBoxModel {
|
||||||
|
export const component: string;
|
||||||
|
export const category: string;
|
||||||
|
export { baseBoxProps as properties };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export namespace functions {
|
||||||
|
export { baseBoxOnStart as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const baseBoxProps: string[];
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare const baseBoxOnStart: {};
|
31
types/components/boxModelEssential.d.ts
vendored
Normal file
31
types/components/boxModelEssential.d.ts
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
export default essentialBoxModel;
|
||||||
|
declare namespace essentialBoxModel {
|
||||||
|
export const component: string;
|
||||||
|
export const category: string;
|
||||||
|
export { essentialBoxProps as properties };
|
||||||
|
export { essentialBoxPropsValues as defaultValues };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { essentialBoxModelFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { trueDimension };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const essentialBoxProps: string[];
|
||||||
|
declare namespace essentialBoxPropsValues {
|
||||||
|
const top: number;
|
||||||
|
const left: number;
|
||||||
|
const width: number;
|
||||||
|
const height: number;
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace essentialBoxModelFunctions {
|
||||||
|
export { getBoxModel as prepareStart };
|
||||||
|
export { prepareBoxModel as prepareProperty };
|
||||||
|
export { essentialBoxOnStart as onStart };
|
||||||
|
}
|
||||||
|
import trueDimension from "../util/trueDimension.js";
|
||||||
|
declare function getBoxModel(tweenProp: any): any;
|
||||||
|
declare function prepareBoxModel(tweenProp: any, value: any): number;
|
||||||
|
declare const essentialBoxOnStart: {};
|
23
types/components/clipProperty.d.ts
vendored
Normal file
23
types/components/clipProperty.d.ts
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
export default clipProperty;
|
||||||
|
declare namespace clipProperty {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export const defaultValue: number[];
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { clipFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { trueDimension };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace clipFunctions {
|
||||||
|
export { getClip as prepareStart };
|
||||||
|
export { prepareClip as prepareProperty };
|
||||||
|
export { onStartClip as onStart };
|
||||||
|
}
|
||||||
|
import trueDimension from "../util/trueDimension.js";
|
||||||
|
declare function getClip(tweenProp: any): any;
|
||||||
|
declare function prepareClip(tweenProp: any, value: any): any;
|
||||||
|
import { onStartClip } from "./clipPropertyBase.js";
|
13
types/components/clipPropertyBase.d.ts
vendored
Normal file
13
types/components/clipPropertyBase.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
export function onStartClip(tweenProp: any): void;
|
||||||
|
export default baseClip;
|
||||||
|
declare namespace baseClip {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartClip as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
38
types/components/colorProperties.d.ts
vendored
Normal file
38
types/components/colorProperties.d.ts
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
export default colorProperties;
|
||||||
|
declare namespace colorProperties {
|
||||||
|
export const component: string;
|
||||||
|
export const category: string;
|
||||||
|
export { supportedColors as properties };
|
||||||
|
export { defaultColors as defaultValues };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
}
|
||||||
|
export { colorFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { trueColor };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const supportedColors: string[];
|
||||||
|
declare const defaultColors: {};
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
||||||
|
declare namespace colorFunctions {
|
||||||
|
export { getColor as prepareStart };
|
||||||
|
export { prepareColor as prepareProperty };
|
||||||
|
export { colorsOnStart as onStart };
|
||||||
|
}
|
||||||
|
import trueColor from "../util/trueColor.js";
|
||||||
|
declare function getColor(prop: any): any;
|
||||||
|
declare function prepareColor(prop: any, value: any): {
|
||||||
|
r: number;
|
||||||
|
g: number;
|
||||||
|
b: number;
|
||||||
|
a?: undefined;
|
||||||
|
} | {
|
||||||
|
r: number;
|
||||||
|
g: number;
|
||||||
|
b: number;
|
||||||
|
a: number;
|
||||||
|
} | undefined;
|
||||||
|
declare const colorsOnStart: {};
|
16
types/components/colorPropertiesBase.d.ts
vendored
Normal file
16
types/components/colorPropertiesBase.d.ts
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
export function onStartColors(tweenProp: any): void;
|
||||||
|
export namespace baseColors {
|
||||||
|
const component: string;
|
||||||
|
const category: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { colorsOnStart as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default baseColors;
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
||||||
|
declare const colorsOnStart: {};
|
36
types/components/crossBrowserMove.d.ts
vendored
Normal file
36
types/components/crossBrowserMove.d.ts
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
export function onStartComponent(tweenProp: any): void;
|
||||||
|
export namespace baseCrossBrowserMove {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartComponent as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default crossBrowserMove;
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace crossBrowserMove {
|
||||||
|
const component_1: string;
|
||||||
|
export { component_1 as component };
|
||||||
|
const property_1: string;
|
||||||
|
export { property_1 as property };
|
||||||
|
export const defaultValue: number[];
|
||||||
|
export namespace Interpolate_1 {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { Interpolate_1 as Interpolate };
|
||||||
|
export { componentFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { trueProperty };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare namespace componentFunctions {
|
||||||
|
export { getComponentCurrentValue as prepareStart };
|
||||||
|
export { prepareComponentValue as prepareProperty };
|
||||||
|
export { onStartComponent as onStart };
|
||||||
|
}
|
||||||
|
import trueProperty from "../util/trueProperty.js";
|
||||||
|
declare function getComponentCurrentValue(): number[];
|
||||||
|
declare function prepareComponentValue(tweenProp: any, value: any): number[];
|
63
types/components/filterEffects.d.ts
vendored
Normal file
63
types/components/filterEffects.d.ts
vendored
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
export default filterEffects;
|
||||||
|
declare namespace filterEffects {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export namespace defaultValue {
|
||||||
|
const opacity: number;
|
||||||
|
const blur: number;
|
||||||
|
const saturate: number;
|
||||||
|
const grayscale: number;
|
||||||
|
const brightness: number;
|
||||||
|
const contrast: number;
|
||||||
|
const sepia: number;
|
||||||
|
const invert: number;
|
||||||
|
const hueRotate: number;
|
||||||
|
const dropShadow: (number | {
|
||||||
|
r: number;
|
||||||
|
g: number;
|
||||||
|
b: number;
|
||||||
|
})[];
|
||||||
|
const url: string;
|
||||||
|
}
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers as opacity };
|
||||||
|
export { numbers as blur };
|
||||||
|
export { numbers as saturate };
|
||||||
|
export { numbers as grayscale };
|
||||||
|
export { numbers as brightness };
|
||||||
|
export { numbers as contrast };
|
||||||
|
export { numbers as sepia };
|
||||||
|
export { numbers as invert };
|
||||||
|
export { numbers as hueRotate };
|
||||||
|
export namespace dropShadow_1 {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
export { dropShadow };
|
||||||
|
}
|
||||||
|
export { dropShadow_1 as dropShadow };
|
||||||
|
}
|
||||||
|
export { filterFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { parseDropShadow };
|
||||||
|
export { parseFilterString };
|
||||||
|
export { replaceDashNamespace };
|
||||||
|
export { trueColor };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
||||||
|
import { dropShadow as dropShadow_2 } from "./filterEffectsBase.js";
|
||||||
|
declare namespace filterFunctions {
|
||||||
|
export { getFilter as prepareStart };
|
||||||
|
export { prepareFilter as prepareProperty };
|
||||||
|
export { onStartFilter as onStart };
|
||||||
|
export { crossCheckFilter as crossCheck };
|
||||||
|
}
|
||||||
|
declare function parseDropShadow(shadow: any): any[] | undefined;
|
||||||
|
declare function parseFilterString(currentStyle: any): {};
|
||||||
|
declare function replaceDashNamespace(str: any): any;
|
||||||
|
import trueColor from "../util/trueColor.js";
|
||||||
|
declare function getFilter(tweenProp: any, value: any): {};
|
||||||
|
declare function prepareFilter(tweenProp: any, value: any): {};
|
||||||
|
import { onStartFilter } from "./filterEffectsBase.js";
|
||||||
|
declare function crossCheckFilter(tweenProp: any): void;
|
28
types/components/filterEffectsBase.d.ts
vendored
Normal file
28
types/components/filterEffectsBase.d.ts
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
export function dropShadow(a: any, b: any, v: any): string;
|
||||||
|
export function onStartFilter(tweenProp: any): void;
|
||||||
|
export default baseFilter;
|
||||||
|
declare namespace baseFilter {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers as opacity };
|
||||||
|
export { numbers as blur };
|
||||||
|
export { numbers as saturate };
|
||||||
|
export { numbers as grayscale };
|
||||||
|
export { numbers as brightness };
|
||||||
|
export { numbers as contrast };
|
||||||
|
export { numbers as sepia };
|
||||||
|
export { numbers as invert };
|
||||||
|
export { numbers as hueRotate };
|
||||||
|
export namespace dropShadow {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
export { dropShadow };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartFilter as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
38
types/components/htmlAttributes.d.ts
vendored
Normal file
38
types/components/htmlAttributes.d.ts
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
export function getAttr(tweenProp: any, value: any): {};
|
||||||
|
export function prepareAttr(tweenProp: any, attrObj: any): {};
|
||||||
|
export default htmlAttributes;
|
||||||
|
declare namespace htmlAttributes {
|
||||||
|
export { ComponentName as component };
|
||||||
|
export const property: string;
|
||||||
|
export const subProperties: string[];
|
||||||
|
export const defaultValue: {
|
||||||
|
fill: string;
|
||||||
|
stroke: string;
|
||||||
|
'stop-color': string;
|
||||||
|
opacity: number;
|
||||||
|
'stroke-opacity': number;
|
||||||
|
'fill-opacity': number;
|
||||||
|
};
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
}
|
||||||
|
export { attrFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { replaceUppercase };
|
||||||
|
export { trueColor };
|
||||||
|
export { trueDimension };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const ComponentName: "htmlAttributes";
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
||||||
|
declare namespace attrFunctions {
|
||||||
|
export { getAttr as prepareStart };
|
||||||
|
export { prepareAttr as prepareProperty };
|
||||||
|
export { onStartAttr as onStart };
|
||||||
|
}
|
||||||
|
declare function replaceUppercase(a: any): any;
|
||||||
|
import trueColor from "../util/trueColor.js";
|
||||||
|
import trueDimension from "../util/trueDimension.js";
|
||||||
|
import { onStartAttr } from "./htmlAttributesBase.js";
|
22
types/components/htmlAttributesBase.d.ts
vendored
Normal file
22
types/components/htmlAttributesBase.d.ts
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
export namespace onStartAttr {
|
||||||
|
function attr(tweenProp: any): void;
|
||||||
|
function attr(tweenProp: any): void;
|
||||||
|
function attributes(tweenProp: any): void;
|
||||||
|
function attributes(tweenProp: any): void;
|
||||||
|
}
|
||||||
|
export default baseAttributes;
|
||||||
|
export const attributes: {};
|
||||||
|
declare namespace baseAttributes {
|
||||||
|
export { ComponentName as component };
|
||||||
|
export const property: string;
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
}
|
||||||
|
export namespace functions {
|
||||||
|
export { onStartAttr as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const ComponentName: "baseHTMLAttributes";
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
19
types/components/opacityProperty.d.ts
vendored
Normal file
19
types/components/opacityProperty.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
export default opacityProperty;
|
||||||
|
declare namespace opacityProperty {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export const defaultValue: number;
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { opacityFunctions as functions };
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace opacityFunctions {
|
||||||
|
export { getOpacity as prepareStart };
|
||||||
|
export { prepareOpacity as prepareProperty };
|
||||||
|
export { onStartOpacity as onStart };
|
||||||
|
}
|
||||||
|
declare function getOpacity(tweenProp: any): any;
|
||||||
|
declare function prepareOpacity(tweenProp: any, value: any): number;
|
||||||
|
import { onStartOpacity } from "./opacityPropertyBase.js";
|
13
types/components/opacityPropertyBase.d.ts
vendored
Normal file
13
types/components/opacityPropertyBase.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
export function onStartOpacity(tweenProp: any): void;
|
||||||
|
export default baseOpacity;
|
||||||
|
declare namespace baseOpacity {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartOpacity as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
38
types/components/scrollProperty.d.ts
vendored
Normal file
38
types/components/scrollProperty.d.ts
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
export default scrollProperty;
|
||||||
|
declare namespace scrollProperty {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export const defaultValue: number;
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { scrollFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { preventScroll };
|
||||||
|
export { scrollIn };
|
||||||
|
export { scrollOut };
|
||||||
|
export { getScrollTargets };
|
||||||
|
export { toggleScrollEvents };
|
||||||
|
export { supportPassive };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace scrollFunctions {
|
||||||
|
export { getScroll as prepareStart };
|
||||||
|
export { prepareScroll as prepareProperty };
|
||||||
|
export { onStartScroll as onStart };
|
||||||
|
export { onCompleteScroll as onComplete };
|
||||||
|
}
|
||||||
|
import { preventScroll } from "./scrollPropertyBase.js";
|
||||||
|
import { scrollIn } from "./scrollPropertyBase.js";
|
||||||
|
import { scrollOut } from "./scrollPropertyBase.js";
|
||||||
|
import { getScrollTargets } from "./scrollPropertyBase.js";
|
||||||
|
import { toggleScrollEvents } from "./scrollPropertyBase.js";
|
||||||
|
import supportPassive from "shorter-js/src/boolean/supportPassive.js";
|
||||||
|
declare function getScroll(): number;
|
||||||
|
declare class getScroll {
|
||||||
|
element: HTMLElement | undefined;
|
||||||
|
}
|
||||||
|
declare function prepareScroll(prop: any, value: any): number;
|
||||||
|
import { onStartScroll } from "./scrollPropertyBase.js";
|
||||||
|
import { onCompleteScroll } from "./scrollPropertyBase.js";
|
36
types/components/scrollPropertyBase.d.ts
vendored
Normal file
36
types/components/scrollPropertyBase.d.ts
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
export function preventScroll(e: any): void;
|
||||||
|
export function getScrollTargets(): {
|
||||||
|
el: any;
|
||||||
|
st: any;
|
||||||
|
};
|
||||||
|
export function toggleScrollEvents(action: any, element: any): void;
|
||||||
|
export function scrollIn(): void;
|
||||||
|
export function scrollOut(): void;
|
||||||
|
export function onStartScroll(tweenProp: any): void;
|
||||||
|
export class onStartScroll {
|
||||||
|
constructor(tweenProp: any);
|
||||||
|
element: HTMLElement | undefined;
|
||||||
|
}
|
||||||
|
export function onCompleteScroll(): void;
|
||||||
|
export const scrollContainer: HTMLElement;
|
||||||
|
export default baseScroll;
|
||||||
|
declare namespace baseScroll {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartScroll as onStart };
|
||||||
|
export { onCompleteScroll as onComplete };
|
||||||
|
}
|
||||||
|
namespace Util {
|
||||||
|
export { preventScroll };
|
||||||
|
export { scrollIn };
|
||||||
|
export { scrollOut };
|
||||||
|
export { getScrollTargets };
|
||||||
|
export { supportPassive };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import supportPassive from "shorter-js/src/boolean/supportPassive.js";
|
31
types/components/shadowProperties.d.ts
vendored
Normal file
31
types/components/shadowProperties.d.ts
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
export function getShadow(tweenProp: any): any;
|
||||||
|
export function prepareShadow(tweenProp: any, propValue: any): any;
|
||||||
|
export default shadowProperties;
|
||||||
|
declare namespace shadowProperties {
|
||||||
|
export const component: string;
|
||||||
|
export { shadowProps as properties };
|
||||||
|
export namespace defaultValues {
|
||||||
|
const boxShadow: string;
|
||||||
|
const textShadow: string;
|
||||||
|
}
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
}
|
||||||
|
export { shadowFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { processShadowArray };
|
||||||
|
export { trueColor };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const shadowProps: string[];
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
||||||
|
declare namespace shadowFunctions {
|
||||||
|
export { getShadow as prepareStart };
|
||||||
|
export { prepareShadow as prepareProperty };
|
||||||
|
export { shadowPropOnStart as onStart };
|
||||||
|
}
|
||||||
|
declare function processShadowArray(shadow: any, tweenProp: any): any;
|
||||||
|
import trueColor from "../util/trueColor.js";
|
||||||
|
declare const shadowPropOnStart: {};
|
15
types/components/shadowPropertiesBase.d.ts
vendored
Normal file
15
types/components/shadowPropertiesBase.d.ts
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
export function onStartShadow(tweenProp: any): void;
|
||||||
|
export default baseShadow;
|
||||||
|
declare namespace baseShadow {
|
||||||
|
const component: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { colors };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { shadowPropOnStart as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import colors from "../interpolation/colors.js";
|
||||||
|
declare const shadowPropOnStart: {};
|
48
types/components/svgCubicMorph.d.ts
vendored
Normal file
48
types/components/svgCubicMorph.d.ts
vendored
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
export default svgCubicMorph;
|
||||||
|
declare namespace svgCubicMorph {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export const defaultValue: never[];
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { pathToString };
|
||||||
|
}
|
||||||
|
export { svgCubicMorphFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { pathToCurve };
|
||||||
|
export { pathToAbsolute };
|
||||||
|
export { pathToString };
|
||||||
|
export { parsePathString };
|
||||||
|
export { getRotatedCurve };
|
||||||
|
export { getRotations };
|
||||||
|
export { equalizeSegments };
|
||||||
|
export { reverseCurve };
|
||||||
|
export { clonePath };
|
||||||
|
export { getDrawDirection };
|
||||||
|
export { splitCubic };
|
||||||
|
export { getCurveArray };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import pathToString from "svg-path-commander/src/convert/pathToString.js";
|
||||||
|
declare namespace svgCubicMorphFunctions {
|
||||||
|
export { getCubicMorph as prepareStart };
|
||||||
|
export { prepareCubicMorph as prepareProperty };
|
||||||
|
export { onStartCubicMorph as onStart };
|
||||||
|
export { crossCheckCubicMorph as crossCheck };
|
||||||
|
}
|
||||||
|
import pathToCurve from "svg-path-commander/src/convert/pathToCurve.js";
|
||||||
|
import pathToAbsolute from "svg-path-commander/src/convert/pathToAbsolute.js";
|
||||||
|
import parsePathString from "svg-path-commander/src/process/parsePathString.js";
|
||||||
|
declare function getRotatedCurve(a: any, b: any): any;
|
||||||
|
declare function getRotations(a: any): any;
|
||||||
|
declare function equalizeSegments(path1: any, path2: any, TL: any): any;
|
||||||
|
import reverseCurve from "svg-path-commander/src/process/reverseCurve.js";
|
||||||
|
import clonePath from "svg-path-commander/src/process/clonePath.js";
|
||||||
|
import getDrawDirection from "svg-path-commander/src/util/getDrawDirection.js";
|
||||||
|
import splitCubic from "svg-path-commander/src/process/splitCubic.js";
|
||||||
|
declare function getCurveArray(pathString: any): any;
|
||||||
|
declare function getCubicMorph(): any;
|
||||||
|
declare function prepareCubicMorph(tweenProp: any, value: any): any;
|
||||||
|
import { onStartCubicMorph } from "./svgCubicMorphBase.js";
|
||||||
|
declare function crossCheckCubicMorph(tweenProp: any): void;
|
15
types/components/svgCubicMorphBase.d.ts
vendored
Normal file
15
types/components/svgCubicMorphBase.d.ts
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
export function onStartCubicMorph(tweenProp: any): void;
|
||||||
|
export default baseSvgCubicMorph;
|
||||||
|
declare namespace baseSvgCubicMorph {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
export { pathToString };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartCubicMorph as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import pathToString from "svg-path-commander/src/convert/pathToString.js";
|
39
types/components/svgDraw.d.ts
vendored
Normal file
39
types/components/svgDraw.d.ts
vendored
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
export default svgDraw;
|
||||||
|
declare namespace svgDraw {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export const defaultValue: string;
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { svgDrawFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { getRectLength };
|
||||||
|
export { getPolyLength };
|
||||||
|
export { getLineLength };
|
||||||
|
export { getCircleLength };
|
||||||
|
export { getEllipseLength };
|
||||||
|
export { getTotalLength };
|
||||||
|
export { resetDraw };
|
||||||
|
export { getDraw };
|
||||||
|
export { percent };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare namespace svgDrawFunctions {
|
||||||
|
export { getDrawValue as prepareStart };
|
||||||
|
export { prepareDraw as prepareProperty };
|
||||||
|
export { onStartDraw as onStart };
|
||||||
|
}
|
||||||
|
declare function getRectLength(el: any): number;
|
||||||
|
declare function getPolyLength(el: any): number;
|
||||||
|
declare function getLineLength(el: any): number;
|
||||||
|
declare function getCircleLength(el: any): number;
|
||||||
|
declare function getEllipseLength(el: any): number;
|
||||||
|
declare function getTotalLength(el: any): number;
|
||||||
|
declare function resetDraw(elem: any): void;
|
||||||
|
declare function getDraw(element: any, value: any): any;
|
||||||
|
declare function percent(v: any, l: any): number;
|
||||||
|
declare function getDrawValue(): any;
|
||||||
|
declare function prepareDraw(a: any, o: any): any;
|
||||||
|
import { onStartDraw } from "./svgDrawBase.js";
|
13
types/components/svgDrawBase.d.ts
vendored
Normal file
13
types/components/svgDrawBase.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
export function onStartDraw(tweenProp: any): void;
|
||||||
|
export default baseSVGDraw;
|
||||||
|
declare namespace baseSVGDraw {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartDraw as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
64
types/components/svgMorph.d.ts
vendored
Normal file
64
types/components/svgMorph.d.ts
vendored
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
export default svgMorph;
|
||||||
|
declare namespace svgMorph {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export const defaultValue: never[];
|
||||||
|
export { coords as Interpolate };
|
||||||
|
export namespace defaultOptions {
|
||||||
|
const morphPrecision: number;
|
||||||
|
const morphIndex: number;
|
||||||
|
}
|
||||||
|
export { svgMorphFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { addPoints };
|
||||||
|
export { bisect };
|
||||||
|
export { normalizeRing };
|
||||||
|
export { validRing };
|
||||||
|
export { getInterpolationPoints };
|
||||||
|
export { pathStringToRing };
|
||||||
|
export { distanceSquareRoot };
|
||||||
|
export { midPoint };
|
||||||
|
export { approximateRing };
|
||||||
|
export { rotateRing };
|
||||||
|
export { pathToString };
|
||||||
|
export { pathToCurve };
|
||||||
|
export { getPathLength };
|
||||||
|
export { getPointAtLength };
|
||||||
|
export { getDrawDirection };
|
||||||
|
export { roundPath };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import coords from "../interpolation/coords.js";
|
||||||
|
declare namespace svgMorphFunctions {
|
||||||
|
export { getSVGMorph as prepareStart };
|
||||||
|
export { prepareSVGMorph as prepareProperty };
|
||||||
|
export { onStartSVGMorph as onStart };
|
||||||
|
export { crossCheckSVGMorph as crossCheck };
|
||||||
|
}
|
||||||
|
declare function addPoints(ring: any, numPoints: any): void;
|
||||||
|
declare function bisect(ring: any, maxSegmentLength?: number): void;
|
||||||
|
declare function normalizeRing(input: any, maxSegmentLength: any): any;
|
||||||
|
declare function validRing(ring: any): boolean;
|
||||||
|
declare function getInterpolationPoints(pathArray1: any, pathArray2: any, precision: any): any[];
|
||||||
|
declare function pathStringToRing(str: any, maxSegmentLength: any): {
|
||||||
|
ring: any[][];
|
||||||
|
pathLength: number;
|
||||||
|
};
|
||||||
|
import distanceSquareRoot from "svg-path-commander/src/math/distanceSquareRoot.js";
|
||||||
|
import midPoint from "svg-path-commander/src/math/midPoint.js";
|
||||||
|
declare function approximateRing(parsed: any, maxSegmentLength: any): {
|
||||||
|
pathLength: number;
|
||||||
|
ring: any[][];
|
||||||
|
skipBisect: boolean;
|
||||||
|
};
|
||||||
|
declare function rotateRing(ring: any, vs: any): void;
|
||||||
|
import pathToString from "svg-path-commander/src/convert/pathToString.js";
|
||||||
|
import pathToCurve from "svg-path-commander/src/convert/pathToCurve.js";
|
||||||
|
import getPathLength from "svg-path-commander/src/util/getPathLength.js";
|
||||||
|
import getPointAtLength from "svg-path-commander/src/util/getPointAtLength.js";
|
||||||
|
import getDrawDirection from "svg-path-commander/src/util/getDrawDirection.js";
|
||||||
|
import roundPath from "svg-path-commander/src/process/roundPath.js";
|
||||||
|
declare function getSVGMorph(): any;
|
||||||
|
declare function prepareSVGMorph(tweenProp: any, value: any): any;
|
||||||
|
import { onStartSVGMorph } from "./svgMorphBase.js";
|
||||||
|
declare function crossCheckSVGMorph(prop: any): void;
|
11
types/components/svgMorphBase.d.ts
vendored
Normal file
11
types/components/svgMorphBase.d.ts
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
export function onStartSVGMorph(tweenProp: any): void;
|
||||||
|
export default baseSVGMorph;
|
||||||
|
declare namespace baseSVGMorph {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export { coords as Interpolate };
|
||||||
|
export namespace functions {
|
||||||
|
export { onStartSVGMorph as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import coords from "../interpolation/coords.js";
|
45
types/components/svgTransform.d.ts
vendored
Normal file
45
types/components/svgTransform.d.ts
vendored
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
export namespace svgTransformFunctions {
|
||||||
|
export { getStartSvgTransform as prepareStart };
|
||||||
|
export { prepareSvgTransform as prepareProperty };
|
||||||
|
export { svgTransformOnStart as onStart };
|
||||||
|
export { svgTransformCrossCheck as crossCheck };
|
||||||
|
}
|
||||||
|
export namespace svgTransform {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export namespace defaultOptions {
|
||||||
|
const transformOrigin: string;
|
||||||
|
}
|
||||||
|
export namespace defaultValue {
|
||||||
|
const translate: number;
|
||||||
|
const rotate: number;
|
||||||
|
const skewX: number;
|
||||||
|
const skewY: number;
|
||||||
|
const scale: number;
|
||||||
|
}
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { svgTransformFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { parseStringOrigin };
|
||||||
|
export { parseTransformString };
|
||||||
|
export { parseTransformSVG };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default svgTransform;
|
||||||
|
declare function getStartSvgTransform(tweenProp: any, value: any): {};
|
||||||
|
declare function prepareSvgTransform(p: any, v: any): {
|
||||||
|
origin: any;
|
||||||
|
};
|
||||||
|
import { svgTransformOnStart } from "./svgTransformBase.js";
|
||||||
|
declare function svgTransformCrossCheck(prop: any): void;
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare function parseStringOrigin(origin: any, { x, width }: {
|
||||||
|
x: any;
|
||||||
|
width: any;
|
||||||
|
}): any;
|
||||||
|
declare function parseTransformString(a: any): {};
|
||||||
|
declare function parseTransformSVG(p: any, v: any): {
|
||||||
|
origin: any;
|
||||||
|
};
|
16
types/components/svgTransformBase.d.ts
vendored
Normal file
16
types/components/svgTransformBase.d.ts
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
export function svgTransformOnStart(tweenProp: any): void;
|
||||||
|
export default baseSVGTransform;
|
||||||
|
declare namespace baseSVGTransform {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace defaultOptions {
|
||||||
|
const transformOrigin: string;
|
||||||
|
}
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { svgTransformOnStart as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
33
types/components/textProperties.d.ts
vendored
Normal file
33
types/components/textProperties.d.ts
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
export function getTextProp(prop: any): any;
|
||||||
|
export function prepareTextProp(prop: any, value: any): {
|
||||||
|
v: number;
|
||||||
|
u: string;
|
||||||
|
};
|
||||||
|
export default textProperties;
|
||||||
|
declare namespace textProperties {
|
||||||
|
export const component: string;
|
||||||
|
export const category: string;
|
||||||
|
export { textProps as properties };
|
||||||
|
export namespace defaultValues {
|
||||||
|
const fontSize: number;
|
||||||
|
const lineHeight: number;
|
||||||
|
const letterSpacing: number;
|
||||||
|
const wordSpacing: number;
|
||||||
|
}
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { units };
|
||||||
|
}
|
||||||
|
export { textPropFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { trueDimension };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const textProps: string[];
|
||||||
|
import units from "../interpolation/units.js";
|
||||||
|
declare namespace textPropFunctions {
|
||||||
|
export { getTextProp as prepareStart };
|
||||||
|
export { prepareTextProp as prepareProperty };
|
||||||
|
export { textOnStart as onStart };
|
||||||
|
}
|
||||||
|
import trueDimension from "../util/trueDimension.js";
|
||||||
|
declare const textOnStart: {};
|
14
types/components/textPropertiesBase.d.ts
vendored
Normal file
14
types/components/textPropertiesBase.d.ts
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
export function textPropOnStart(tweenProp: any): void;
|
||||||
|
export default baseTextProperties;
|
||||||
|
declare namespace baseTextProperties {
|
||||||
|
const component: string;
|
||||||
|
const category: string;
|
||||||
|
namespace Interpolate {
|
||||||
|
export { units };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { textOnStart as onStart };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import units from "../interpolation/units.js";
|
||||||
|
declare const textOnStart: {};
|
32
types/components/textWrite.d.ts
vendored
Normal file
32
types/components/textWrite.d.ts
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
export function createTextTweens(target: any, newText: any, ops: any): false | any[];
|
||||||
|
export namespace textWriteFunctions {
|
||||||
|
export { getWrite as prepareStart };
|
||||||
|
export { prepareText as prepareProperty };
|
||||||
|
export { onStartWrite as onStart };
|
||||||
|
}
|
||||||
|
export namespace textWrite {
|
||||||
|
export const component: string;
|
||||||
|
export const category: string;
|
||||||
|
export const properties: string[];
|
||||||
|
export namespace defaultValues {
|
||||||
|
const text: string;
|
||||||
|
const number: string;
|
||||||
|
}
|
||||||
|
export namespace defaultOptions {
|
||||||
|
const textChars: string;
|
||||||
|
}
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
export { textWriteFunctions as functions };
|
||||||
|
export namespace Util {
|
||||||
|
export { charSet };
|
||||||
|
export { createTextTweens };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default textWrite;
|
||||||
|
declare function getWrite(): any;
|
||||||
|
declare function prepareText(tweenProp: any, value: any): any;
|
||||||
|
import { onStartWrite } from "./textWriteBase.js";
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import { charSet } from "./textWriteBase.js";
|
38
types/components/textWriteBase.d.ts
vendored
Normal file
38
types/components/textWriteBase.d.ts
vendored
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
export namespace onStartWrite {
|
||||||
|
function text(tweenProp: any): void;
|
||||||
|
function text(tweenProp: any): void;
|
||||||
|
function number(tweenProp: any): void;
|
||||||
|
function number(tweenProp: any): void;
|
||||||
|
}
|
||||||
|
export namespace baseTextWrite {
|
||||||
|
const component: string;
|
||||||
|
const category: string;
|
||||||
|
namespace defaultOptions {
|
||||||
|
const textChars: string;
|
||||||
|
}
|
||||||
|
namespace Interpolate {
|
||||||
|
export { numbers };
|
||||||
|
}
|
||||||
|
namespace functions {
|
||||||
|
export { onStartWrite as onStart };
|
||||||
|
}
|
||||||
|
namespace Util {
|
||||||
|
export { charSet };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default baseTextWrite;
|
||||||
|
export namespace charSet {
|
||||||
|
export { lowerCaseAlpha as alpha };
|
||||||
|
export { upperCaseAlpha as upper };
|
||||||
|
export { nonAlpha as symbols };
|
||||||
|
export { numeric };
|
||||||
|
export { alphaNumeric as alphanumeric };
|
||||||
|
export { allTypes as all };
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
declare const lowerCaseAlpha: string[];
|
||||||
|
declare const upperCaseAlpha: string[];
|
||||||
|
declare const nonAlpha: string[];
|
||||||
|
declare const numeric: string[];
|
||||||
|
declare const alphaNumeric: string[];
|
||||||
|
declare const allTypes: string[];
|
59
types/components/transformFunctions.d.ts
vendored
Normal file
59
types/components/transformFunctions.d.ts
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
export default transformFunctionsComponent;
|
||||||
|
declare namespace transformFunctionsComponent {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export { supportedTransformProperties as subProperties };
|
||||||
|
export { defaultTransformValues as defaultValues };
|
||||||
|
export { transformFunctions as functions };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { perspective };
|
||||||
|
export { translate3d };
|
||||||
|
export { rotate3d };
|
||||||
|
export { translate };
|
||||||
|
export { rotate };
|
||||||
|
export { scale };
|
||||||
|
export { skew };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const supportedTransformProperties: string[];
|
||||||
|
declare namespace defaultTransformValues {
|
||||||
|
const perspective_1: number;
|
||||||
|
export { perspective_1 as perspective };
|
||||||
|
const translate3d_1: number[];
|
||||||
|
export { translate3d_1 as translate3d };
|
||||||
|
export const translateX: number;
|
||||||
|
export const translateY: number;
|
||||||
|
export const translateZ: number;
|
||||||
|
const translate_1: number[];
|
||||||
|
export { translate_1 as translate };
|
||||||
|
const rotate3d_1: number[];
|
||||||
|
export { rotate3d_1 as rotate3d };
|
||||||
|
export const rotateX: number;
|
||||||
|
export const rotateY: number;
|
||||||
|
export const rotateZ: number;
|
||||||
|
const rotate_1: number;
|
||||||
|
export { rotate_1 as rotate };
|
||||||
|
export const skewX: number;
|
||||||
|
export const skewY: number;
|
||||||
|
const skew_1: number[];
|
||||||
|
export { skew_1 as skew };
|
||||||
|
const scale_1: number;
|
||||||
|
export { scale_1 as scale };
|
||||||
|
}
|
||||||
|
declare namespace transformFunctions {
|
||||||
|
export { getTransform as prepareStart };
|
||||||
|
export { prepareTransform as prepareProperty };
|
||||||
|
export { onStartTransform as onStart };
|
||||||
|
export { crossCheckTransform as crossCheck };
|
||||||
|
}
|
||||||
|
import perspective from "../interpolation/perspective.js";
|
||||||
|
import translate3d from "../interpolation/translate3d.js";
|
||||||
|
import rotate3d from "../interpolation/rotate3d.js";
|
||||||
|
import translate from "../interpolation/translate.js";
|
||||||
|
import rotate from "../interpolation/rotate.js";
|
||||||
|
import scale from "../interpolation/scale.js";
|
||||||
|
import skew from "../interpolation/skew.js";
|
||||||
|
declare function getTransform(tweenProperty: any): any;
|
||||||
|
declare function prepareTransform(prop: any, obj: any): {};
|
||||||
|
import { onStartTransform } from "./transformFunctionsBase.js";
|
||||||
|
declare function crossCheckTransform(tweenProp: any): void;
|
25
types/components/transformFunctionsBase.d.ts
vendored
Normal file
25
types/components/transformFunctionsBase.d.ts
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
export function onStartTransform(tweenProp: any): void;
|
||||||
|
export default BaseTransform;
|
||||||
|
declare namespace BaseTransform {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace functions {
|
||||||
|
export { onStartTransform as onStart };
|
||||||
|
}
|
||||||
|
namespace Interpolate {
|
||||||
|
export { perspective };
|
||||||
|
export { translate3d };
|
||||||
|
export { rotate3d };
|
||||||
|
export { translate };
|
||||||
|
export { rotate };
|
||||||
|
export { scale };
|
||||||
|
export { skew };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import perspective from "../interpolation/perspective.js";
|
||||||
|
import translate3d from "../interpolation/translate3d.js";
|
||||||
|
import rotate3d from "../interpolation/rotate3d.js";
|
||||||
|
import translate from "../interpolation/translate.js";
|
||||||
|
import rotate from "../interpolation/rotate.js";
|
||||||
|
import scale from "../interpolation/scale.js";
|
||||||
|
import skew from "../interpolation/skew.js";
|
60
types/components/transformLegacy.d.ts
vendored
Normal file
60
types/components/transformLegacy.d.ts
vendored
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
export default transformLegacyComponent;
|
||||||
|
declare namespace transformLegacyComponent {
|
||||||
|
export const component: string;
|
||||||
|
export const property: string;
|
||||||
|
export { legacyTransformProperties as subProperties };
|
||||||
|
export { legacyTransformValues as defaultValues };
|
||||||
|
export { transformLegacyFunctions as functions };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { perspective };
|
||||||
|
export { translate3d };
|
||||||
|
export { rotate3d };
|
||||||
|
export { translate };
|
||||||
|
export { rotate };
|
||||||
|
export { scale };
|
||||||
|
export { skew };
|
||||||
|
}
|
||||||
|
export const Util: any[];
|
||||||
|
}
|
||||||
|
declare const legacyTransformProperties: string[];
|
||||||
|
declare namespace legacyTransformValues {
|
||||||
|
const perspective_1: number;
|
||||||
|
export { perspective_1 as perspective };
|
||||||
|
const translate3d_1: number[];
|
||||||
|
export { translate3d_1 as translate3d };
|
||||||
|
export const translateX: number;
|
||||||
|
export const translateY: number;
|
||||||
|
export const translateZ: number;
|
||||||
|
const translate_1: number[];
|
||||||
|
export { translate_1 as translate };
|
||||||
|
const rotate3d_1: number[];
|
||||||
|
export { rotate3d_1 as rotate3d };
|
||||||
|
export const rotateX: number;
|
||||||
|
export const rotateY: number;
|
||||||
|
export const rotateZ: number;
|
||||||
|
const rotate_1: number;
|
||||||
|
export { rotate_1 as rotate };
|
||||||
|
export const skewX: number;
|
||||||
|
export const skewY: number;
|
||||||
|
const skew_1: number[];
|
||||||
|
export { skew_1 as skew };
|
||||||
|
const scale_1: number;
|
||||||
|
export { scale_1 as scale };
|
||||||
|
}
|
||||||
|
declare namespace transformLegacyFunctions {
|
||||||
|
export { getLegacyTransform as prepareStart };
|
||||||
|
export { prepareLegacyTransform as prepareProperty };
|
||||||
|
export { onStartLegacyTransform as onStart };
|
||||||
|
export { crossCheckLegacyTransform as crossCheck };
|
||||||
|
}
|
||||||
|
import perspective from "../interpolation/perspective.js";
|
||||||
|
import translate3d from "../interpolation/translate3d.js";
|
||||||
|
import rotate3d from "../interpolation/rotate3d.js";
|
||||||
|
import translate from "../interpolation/translate.js";
|
||||||
|
import rotate from "../interpolation/rotate.js";
|
||||||
|
import scale from "../interpolation/scale.js";
|
||||||
|
import skew from "../interpolation/skew.js";
|
||||||
|
declare function getLegacyTransform(tweenProperty: any): any;
|
||||||
|
declare function prepareLegacyTransform(prop: any, obj: any): {};
|
||||||
|
import { onStartLegacyTransform } from "./transformLegacyBase.js";
|
||||||
|
declare function crossCheckLegacyTransform(tweenProp: any): void;
|
29
types/components/transformLegacyBase.d.ts
vendored
Normal file
29
types/components/transformLegacyBase.d.ts
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
export function onStartLegacyTransform(tweenProp: any): void;
|
||||||
|
export default BaseLegacyTransform;
|
||||||
|
declare namespace BaseLegacyTransform {
|
||||||
|
const component: string;
|
||||||
|
const property: string;
|
||||||
|
namespace functions {
|
||||||
|
export { onStartLegacyTransform as onStart };
|
||||||
|
}
|
||||||
|
namespace Interpolate {
|
||||||
|
export { perspective };
|
||||||
|
export { translate3d };
|
||||||
|
export { rotate3d };
|
||||||
|
export { translate };
|
||||||
|
export { rotate };
|
||||||
|
export { scale };
|
||||||
|
export { skew };
|
||||||
|
}
|
||||||
|
namespace Util {
|
||||||
|
export { transformProperty };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
import perspective from "../interpolation/perspective.js";
|
||||||
|
import translate3d from "../interpolation/translate3d.js";
|
||||||
|
import rotate3d from "../interpolation/rotate3d.js";
|
||||||
|
import translate from "../interpolation/translate.js";
|
||||||
|
import rotate from "../interpolation/rotate.js";
|
||||||
|
import scale from "../interpolation/scale.js";
|
||||||
|
import skew from "../interpolation/skew.js";
|
||||||
|
import transformProperty from "../util/transformProperty.js";
|
46
types/components/transformMatrix.d.ts
vendored
Normal file
46
types/components/transformMatrix.d.ts
vendored
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
export default matrixTransform;
|
||||||
|
declare namespace matrixTransform {
|
||||||
|
export { matrixComponent as component };
|
||||||
|
export const property: string;
|
||||||
|
export namespace defaultValue {
|
||||||
|
const perspective: number;
|
||||||
|
const translate3d: number[];
|
||||||
|
const translateX: number;
|
||||||
|
const translateY: number;
|
||||||
|
const translateZ: number;
|
||||||
|
const rotate3d: number[];
|
||||||
|
const rotateX: number;
|
||||||
|
const rotateY: number;
|
||||||
|
const rotateZ: number;
|
||||||
|
const skew: number[];
|
||||||
|
const skewX: number;
|
||||||
|
const skewY: number;
|
||||||
|
const scale3d: number[];
|
||||||
|
const scaleX: number;
|
||||||
|
const scaleY: number;
|
||||||
|
const scaleZ: number;
|
||||||
|
}
|
||||||
|
export { matrixFunctions as functions };
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers as perspective };
|
||||||
|
export { arrays as translate3d };
|
||||||
|
export { arrays as rotate3d };
|
||||||
|
export { arrays as skew };
|
||||||
|
export { arrays as scale3d };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
declare const matrixComponent: "transformMatrix";
|
||||||
|
declare namespace matrixFunctions {
|
||||||
|
export { getTransform as prepareStart };
|
||||||
|
export { prepareTransform as prepareProperty };
|
||||||
|
export { onStartTransform as onStart };
|
||||||
|
export { onCompleteTransform as onComplete };
|
||||||
|
export { crossCheckTransform as crossCheck };
|
||||||
|
}
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import arrays from "../interpolation/arrays.js";
|
||||||
|
declare function getTransform(tweenProp: any, value: any): {};
|
||||||
|
declare function prepareTransform(tweenProp: any, value: any): {};
|
||||||
|
import { onStartTransform } from "./transformMatrixBase.js";
|
||||||
|
declare function onCompleteTransform(tweenProp: any): void;
|
||||||
|
declare function crossCheckTransform(tweenProp: any): void;
|
24
types/components/transformMatrixBase.d.ts
vendored
Normal file
24
types/components/transformMatrixBase.d.ts
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
export namespace onStartTransform {
|
||||||
|
function transform(tweenProp: any): void;
|
||||||
|
function transform(tweenProp: any): void;
|
||||||
|
function CSS3Matrix(prop: any): void;
|
||||||
|
function CSS3Matrix(prop: any): void;
|
||||||
|
}
|
||||||
|
export namespace baseMatrixTransform {
|
||||||
|
export { matrixComponent as component };
|
||||||
|
export const property: string;
|
||||||
|
export namespace functions {
|
||||||
|
export { onStartTransform as onStart };
|
||||||
|
}
|
||||||
|
export namespace Interpolate {
|
||||||
|
export { numbers as perspective };
|
||||||
|
export { arrays as translate3d };
|
||||||
|
export { arrays as rotate3d };
|
||||||
|
export { arrays as skew };
|
||||||
|
export { arrays as scale3d };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default baseMatrixTransform;
|
||||||
|
declare const matrixComponent: "transformMatrixBase";
|
||||||
|
import numbers from "../interpolation/numbers.js";
|
||||||
|
import arrays from "../interpolation/arrays.js";
|
2
types/core/add.d.ts
vendored
Normal file
2
types/core/add.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare function _default(tw: any): number;
|
||||||
|
export default _default;
|
2
types/core/getAll.d.ts
vendored
Normal file
2
types/core/getAll.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare function _default(): never[];
|
||||||
|
export default _default;
|
15
types/core/internals.d.ts
vendored
Normal file
15
types/core/internals.d.ts
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
declare namespace _default {
|
||||||
|
export { add };
|
||||||
|
export { remove };
|
||||||
|
export { getAll };
|
||||||
|
export { removeAll };
|
||||||
|
export { stop };
|
||||||
|
export { linkInterpolation };
|
||||||
|
}
|
||||||
|
export default _default;
|
||||||
|
import add from "./add.js";
|
||||||
|
import remove from "./remove.js";
|
||||||
|
import getAll from "./getAll.js";
|
||||||
|
import removeAll from "./removeAll.js";
|
||||||
|
import { stop } from "./render.js";
|
||||||
|
import linkInterpolation from "./linkInterpolation.js";
|
1
types/core/linkInterpolation.d.ts
vendored
Normal file
1
types/core/linkInterpolation.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function linkInterpolation(): void;
|
1
types/core/queueStart.d.ts
vendored
Normal file
1
types/core/queueStart.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function queueStart(): void;
|
2
types/core/remove.d.ts
vendored
Normal file
2
types/core/remove.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare function _default(tw: any): void;
|
||||||
|
export default _default;
|
2
types/core/removeAll.d.ts
vendored
Normal file
2
types/core/removeAll.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare function _default(): void;
|
||||||
|
export default _default;
|
15
types/core/render.d.ts
vendored
Normal file
15
types/core/render.d.ts
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
export function stop(): void;
|
||||||
|
export default Render;
|
||||||
|
export let Tick: number;
|
||||||
|
export function Ticker(time: any): void;
|
||||||
|
declare namespace Render {
|
||||||
|
export { Tick };
|
||||||
|
export { Ticker };
|
||||||
|
export { Tweens };
|
||||||
|
export { Time };
|
||||||
|
}
|
||||||
|
import Tweens from "../objects/tweens.js";
|
||||||
|
declare namespace Time {
|
||||||
|
export { now };
|
||||||
|
}
|
||||||
|
import now from "../util/now.js";
|
16
types/easing/easing-base.d.ts
vendored
Normal file
16
types/easing/easing-base.d.ts
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
export default Easing;
|
||||||
|
declare namespace Easing {
|
||||||
|
function linear(t: any): any;
|
||||||
|
function easingQuadraticIn(t: any): number;
|
||||||
|
function easingQuadraticOut(t: any): number;
|
||||||
|
function easingQuadraticInOut(t: any): number;
|
||||||
|
function easingCubicIn(t: any): number;
|
||||||
|
function easingCubicOut(t0: any): number;
|
||||||
|
function easingCubicInOut(t: any): number;
|
||||||
|
function easingCircularIn(t: any): number;
|
||||||
|
function easingCircularOut(t0: any): number;
|
||||||
|
function easingCircularInOut(t0: any): number;
|
||||||
|
function easingBackIn(t: any): number;
|
||||||
|
function easingBackOut(t0: any): number;
|
||||||
|
function easingBackInOut(t0: any): number;
|
||||||
|
}
|
29
types/easing/easing-bezier.d.ts
vendored
Normal file
29
types/easing/easing-bezier.d.ts
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
export default Easing;
|
||||||
|
declare namespace Easing {
|
||||||
|
const linear: CubicBezier;
|
||||||
|
const easingSinusoidalIn: CubicBezier;
|
||||||
|
const easingSinusoidalOut: CubicBezier;
|
||||||
|
const easingSinusoidalInOut: CubicBezier;
|
||||||
|
const easingQuadraticIn: CubicBezier;
|
||||||
|
const easingQuadraticOut: CubicBezier;
|
||||||
|
const easingQuadraticInOut: CubicBezier;
|
||||||
|
const easingCubicIn: CubicBezier;
|
||||||
|
const easingCubicOut: CubicBezier;
|
||||||
|
const easingCubicInOut: CubicBezier;
|
||||||
|
const easingQuarticIn: CubicBezier;
|
||||||
|
const easingQuarticOut: CubicBezier;
|
||||||
|
const easingQuarticInOut: CubicBezier;
|
||||||
|
const easingQuinticIn: CubicBezier;
|
||||||
|
const easingQuinticOut: CubicBezier;
|
||||||
|
const easingQuinticInOut: CubicBezier;
|
||||||
|
const easingExponentialIn: CubicBezier;
|
||||||
|
const easingExponentialOut: CubicBezier;
|
||||||
|
const easingExponentialInOut: CubicBezier;
|
||||||
|
const easingCircularIn: CubicBezier;
|
||||||
|
const easingCircularOut: CubicBezier;
|
||||||
|
const easingCircularInOut: CubicBezier;
|
||||||
|
const easingBackIn: CubicBezier;
|
||||||
|
const easingBackOut: CubicBezier;
|
||||||
|
const easingBackInOut: CubicBezier;
|
||||||
|
}
|
||||||
|
import CubicBezier from "cubic-bezier-easing";
|
34
types/easing/easing.d.ts
vendored
Normal file
34
types/easing/easing.d.ts
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
export default Easing;
|
||||||
|
declare namespace Easing {
|
||||||
|
function linear(t: any): any;
|
||||||
|
function easingSinusoidalIn(t: any): number;
|
||||||
|
function easingSinusoidalOut(t: any): number;
|
||||||
|
function easingSinusoidalInOut(t: any): number;
|
||||||
|
function easingQuadraticIn(t: any): number;
|
||||||
|
function easingQuadraticOut(t: any): number;
|
||||||
|
function easingQuadraticInOut(t: any): number;
|
||||||
|
function easingCubicIn(t: any): number;
|
||||||
|
function easingCubicOut(t0: any): number;
|
||||||
|
function easingCubicInOut(t: any): number;
|
||||||
|
function easingQuarticIn(t: any): number;
|
||||||
|
function easingQuarticOut(t0: any): number;
|
||||||
|
function easingQuarticInOut(t0: any): number;
|
||||||
|
function easingQuinticIn(t: any): number;
|
||||||
|
function easingQuinticOut(t0: any): number;
|
||||||
|
function easingQuinticInOut(t0: any): number;
|
||||||
|
function easingCircularIn(t: any): number;
|
||||||
|
function easingCircularOut(t0: any): number;
|
||||||
|
function easingCircularInOut(t0: any): number;
|
||||||
|
function easingExponentialIn(t: any): number;
|
||||||
|
function easingExponentialOut(t: any): number;
|
||||||
|
function easingExponentialInOut(t0: any): number;
|
||||||
|
function easingBackIn(t: any): number;
|
||||||
|
function easingBackOut(t0: any): number;
|
||||||
|
function easingBackInOut(t0: any): number;
|
||||||
|
function easingElasticIn(t0: any): number;
|
||||||
|
function easingElasticOut(t: any): number;
|
||||||
|
function easingElasticInOut(t0: any): number;
|
||||||
|
function easingBounceIn(t: any): number;
|
||||||
|
function easingBounceOut(t0: any): number;
|
||||||
|
function easingBounceInOut(t: any): number;
|
||||||
|
}
|
27
types/index-base.d.ts
vendored
Normal file
27
types/index-base.d.ts
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
declare namespace _default {
|
||||||
|
export { Animation };
|
||||||
|
export { Components };
|
||||||
|
export { Tween };
|
||||||
|
export { fromTo };
|
||||||
|
export { Objects };
|
||||||
|
export { Easing };
|
||||||
|
export { Util };
|
||||||
|
export { Render };
|
||||||
|
export { Interpolate };
|
||||||
|
export { Internals };
|
||||||
|
export { Selector };
|
||||||
|
export { Version };
|
||||||
|
}
|
||||||
|
export default _default;
|
||||||
|
import Animation from "./animation/animationBase.js";
|
||||||
|
import Components from "./objects/componentsBase.js";
|
||||||
|
import Tween from "./tween/tweenBase.js";
|
||||||
|
import fromTo from "./interface/fromTo.js";
|
||||||
|
import Objects from "./objects/objectsBase.js";
|
||||||
|
import Easing from "./easing/easing-base.js";
|
||||||
|
import Util from "./objects/util.js";
|
||||||
|
import Render from "./core/render.js";
|
||||||
|
import Interpolate from "./objects/interpolate.js";
|
||||||
|
import Internals from "./core/internals.js";
|
||||||
|
import Selector from "./util/selector.js";
|
||||||
|
import Version from "./util/version.js";
|
41
types/index-extra.d.ts
vendored
Normal file
41
types/index-extra.d.ts
vendored
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
declare namespace _default {
|
||||||
|
export { Animation };
|
||||||
|
export { Components };
|
||||||
|
export { Tween };
|
||||||
|
export { fromTo };
|
||||||
|
export { to };
|
||||||
|
export { TweenCollection };
|
||||||
|
export { ProgressBar };
|
||||||
|
export { allFromTo };
|
||||||
|
export { allTo };
|
||||||
|
export { Objects };
|
||||||
|
export { Util };
|
||||||
|
export { Easing };
|
||||||
|
export { CubicBezier };
|
||||||
|
export { Render };
|
||||||
|
export { Interpolate };
|
||||||
|
export { Process };
|
||||||
|
export { Internals };
|
||||||
|
export { Selector };
|
||||||
|
export { Version };
|
||||||
|
}
|
||||||
|
export default _default;
|
||||||
|
import Animation from "./animation/animationDevelopment.js";
|
||||||
|
import Components from "./objects/componentsExtra.js";
|
||||||
|
import Tween from "./tween/tweenExtra.js";
|
||||||
|
import fromTo from "./interface/fromTo.js";
|
||||||
|
import to from "./interface/to.js";
|
||||||
|
import TweenCollection from "./tween/tweenCollection.js";
|
||||||
|
import ProgressBar from "./util/progressBar.js";
|
||||||
|
import allFromTo from "./interface/allFromTo.js";
|
||||||
|
import allTo from "./interface/allTo.js";
|
||||||
|
import Objects from "./objects/objects.js";
|
||||||
|
import Util from "./objects/util.js";
|
||||||
|
import Easing from "./easing/easing-bezier.js";
|
||||||
|
import CubicBezier from "cubic-bezier-easing";
|
||||||
|
import Render from "./core/render.js";
|
||||||
|
import Interpolate from "./objects/interpolate.js";
|
||||||
|
import Process from "./process/process.js";
|
||||||
|
import Internals from "./core/internals.js";
|
||||||
|
import Selector from "./util/selector.js";
|
||||||
|
import Version from "./util/version.js";
|
54
types/index-legacy.d.ts
vendored
Normal file
54
types/index-legacy.d.ts
vendored
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
declare namespace _default {
|
||||||
|
export { Animation };
|
||||||
|
export { Components };
|
||||||
|
export { Tween };
|
||||||
|
export { fromTo };
|
||||||
|
export { to };
|
||||||
|
export { TweenCollection };
|
||||||
|
export { allFromTo };
|
||||||
|
export { allTo };
|
||||||
|
export { Objects };
|
||||||
|
export { Util };
|
||||||
|
export { Easing };
|
||||||
|
export { Render };
|
||||||
|
export { Interpolate };
|
||||||
|
export { Process };
|
||||||
|
export { Internals };
|
||||||
|
export { Selector };
|
||||||
|
export { Version };
|
||||||
|
}
|
||||||
|
export default _default;
|
||||||
|
import Animation from "./animation/animation.js";
|
||||||
|
declare namespace Components {
|
||||||
|
export { BoxModel };
|
||||||
|
export { ColorProperties };
|
||||||
|
export { HTMLAttributes };
|
||||||
|
export { OpacityProperty };
|
||||||
|
export { TextWrite };
|
||||||
|
export { TransformLegacy };
|
||||||
|
export { SVGDraw };
|
||||||
|
export { SVGMorph };
|
||||||
|
}
|
||||||
|
import Tween from "./tween/tween.js";
|
||||||
|
import fromTo from "./interface/fromTo.js";
|
||||||
|
import to from "./interface/to.js";
|
||||||
|
import TweenCollection from "./tween/tweenCollection.js";
|
||||||
|
import allFromTo from "./interface/allFromTo.js";
|
||||||
|
import allTo from "./interface/allTo.js";
|
||||||
|
import Objects from "./objects/objects.js";
|
||||||
|
import Util from "./objects/util.js";
|
||||||
|
import Easing from "./easing/easing.js";
|
||||||
|
import Render from "./core/render.js";
|
||||||
|
import Interpolate from "./objects/interpolate.js";
|
||||||
|
import Process from "./process/process.js";
|
||||||
|
import Internals from "./core/internals.js";
|
||||||
|
import Selector from "./util/selector.js";
|
||||||
|
import Version from "./util/version.js";
|
||||||
|
import BoxModel from "./components/boxModelEssential.js";
|
||||||
|
import ColorProperties from "./components/colorProperties.js";
|
||||||
|
import HTMLAttributes from "./components/htmlAttributes.js";
|
||||||
|
import OpacityProperty from "./components/opacityProperty.js";
|
||||||
|
import TextWrite from "./components/textWrite.js";
|
||||||
|
import TransformLegacy from "./components/transformLegacy.js";
|
||||||
|
import SVGDraw from "./components/svgDraw.js";
|
||||||
|
import SVGMorph from "./components/svgMorph.js";
|
941
types/index.d.ts
vendored
941
types/index.d.ts
vendored
|
@ -1,902 +1,39 @@
|
||||||
declare module "src/objects/kute" {
|
export default KUTE;
|
||||||
var _default: {};
|
declare namespace KUTE {
|
||||||
export default _default;
|
export { Animation };
|
||||||
}
|
export { Components };
|
||||||
declare module "src/objects/tweens" {
|
export { Tween };
|
||||||
var _default: never[];
|
export { fromTo };
|
||||||
export default _default;
|
export { to };
|
||||||
}
|
export { TweenCollection };
|
||||||
declare module "src/objects/globalObject" {
|
export { allFromTo };
|
||||||
export default globalObject;
|
export { allTo };
|
||||||
let globalObject: any;
|
export { Objects };
|
||||||
}
|
export { Util };
|
||||||
declare module "src/objects/interpolate" {
|
export { Easing };
|
||||||
var _default: {};
|
export { CubicBezier };
|
||||||
export default _default;
|
export { Render };
|
||||||
}
|
export { Interpolate };
|
||||||
declare module "src/objects/onStart" {
|
export { Process };
|
||||||
var _default: {};
|
export { Internals };
|
||||||
export default _default;
|
export { Selector };
|
||||||
}
|
export { Version };
|
||||||
declare module "src/util/now" {
|
}
|
||||||
export default now;
|
import Animation from "./animation/animation.js";
|
||||||
let now: any;
|
import Components from "./objects/componentsDefault.js";
|
||||||
}
|
import Tween from "./tween/tween.js";
|
||||||
declare module "src/core/render" {
|
import fromTo from "./interface/fromTo.js";
|
||||||
export function stop(): void;
|
import to from "./interface/to.js";
|
||||||
export default Render;
|
import TweenCollection from "./tween/tweenCollection.js";
|
||||||
export let Tick: number;
|
import allFromTo from "./interface/allFromTo.js";
|
||||||
export function Ticker(time: any): void;
|
import allTo from "./interface/allTo.js";
|
||||||
namespace Render {
|
import Objects from "./objects/objects.js";
|
||||||
export { Tick };
|
import Util from "./objects/util.js";
|
||||||
export { Ticker };
|
import Easing from "./easing/easing-bezier.js";
|
||||||
export { Tweens };
|
import CubicBezier from "cubic-bezier-easing";
|
||||||
export { Time };
|
import Render from "./core/render.js";
|
||||||
}
|
import Interpolate from "./objects/interpolate.js";
|
||||||
import Tweens from "src/objects/tweens";
|
import Process from "./process/process.js";
|
||||||
namespace Time {
|
import Internals from "./core/internals.js";
|
||||||
export { now };
|
import Selector from "./util/selector.js";
|
||||||
}
|
import Version from "./util/version.js";
|
||||||
import now from "src/util/now";
|
|
||||||
}
|
|
||||||
declare module "src/objects/supportedProperties" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/objects/defaultValues" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/objects/defaultOptions" {
|
|
||||||
export default defaultOptions;
|
|
||||||
namespace defaultOptions {
|
|
||||||
const duration: number;
|
|
||||||
const delay: number;
|
|
||||||
const easing: string;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module "src/objects/prepareProperty" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/objects/prepareStart" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/objects/crossCheck" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/objects/onComplete" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/objects/linkProperty" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/objects/objects" {
|
|
||||||
namespace _default {
|
|
||||||
export { supportedProperties };
|
|
||||||
export { defaultValues };
|
|
||||||
export { defaultOptions };
|
|
||||||
export { prepareProperty };
|
|
||||||
export { prepareStart };
|
|
||||||
export { crossCheck };
|
|
||||||
export { onStart };
|
|
||||||
export { onComplete };
|
|
||||||
export { linkProperty };
|
|
||||||
}
|
|
||||||
export default _default;
|
|
||||||
import supportedProperties from "src/objects/supportedProperties";
|
|
||||||
import defaultValues from "src/objects/defaultValues";
|
|
||||||
import defaultOptions from "src/objects/defaultOptions";
|
|
||||||
import prepareProperty from "src/objects/prepareProperty";
|
|
||||||
import prepareStart from "src/objects/prepareStart";
|
|
||||||
import crossCheck from "src/objects/crossCheck";
|
|
||||||
import onStart from "src/objects/onStart";
|
|
||||||
import onComplete from "src/objects/onComplete";
|
|
||||||
import linkProperty from "src/objects/linkProperty";
|
|
||||||
}
|
|
||||||
declare module "src/objects/util" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/core/add" {
|
|
||||||
function _default(tw: any): number;
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/core/remove" {
|
|
||||||
function _default(tw: any): void;
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/core/getAll" {
|
|
||||||
function _default(): never[];
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/core/removeAll" {
|
|
||||||
function _default(): void;
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/core/linkInterpolation" {
|
|
||||||
export default function linkInterpolation(): void;
|
|
||||||
}
|
|
||||||
declare module "src/core/internals" {
|
|
||||||
namespace _default {
|
|
||||||
export { add };
|
|
||||||
export { remove };
|
|
||||||
export { getAll };
|
|
||||||
export { removeAll };
|
|
||||||
export { stop };
|
|
||||||
export { linkInterpolation };
|
|
||||||
}
|
|
||||||
export default _default;
|
|
||||||
import add from "src/core/add";
|
|
||||||
import remove from "src/core/remove";
|
|
||||||
import getAll from "src/core/getAll";
|
|
||||||
import removeAll from "src/core/removeAll";
|
|
||||||
import { stop } from "src/core/render";
|
|
||||||
import linkInterpolation from "src/core/linkInterpolation";
|
|
||||||
}
|
|
||||||
declare module "src/process/getInlineStyle" {
|
|
||||||
export default function getInlineStyle(el: any): {};
|
|
||||||
}
|
|
||||||
declare module "src/process/getStyleForProperty" {
|
|
||||||
export default function getStyleForProperty(elem: any, propertyName: any): any;
|
|
||||||
}
|
|
||||||
declare module "src/process/prepareObject" {
|
|
||||||
export default function prepareObject(obj: any, fn: any): void;
|
|
||||||
}
|
|
||||||
declare module "src/process/getStartValues" {
|
|
||||||
export default function getStartValues(): void;
|
|
||||||
export default class getStartValues {
|
|
||||||
valuesStart: {};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module "src/process/process" {
|
|
||||||
namespace _default {
|
|
||||||
export { getInlineStyle };
|
|
||||||
export { getStyleForProperty };
|
|
||||||
export { getStartValues };
|
|
||||||
export { prepareObject };
|
|
||||||
}
|
|
||||||
export default _default;
|
|
||||||
import getInlineStyle from "src/process/getInlineStyle";
|
|
||||||
import getStyleForProperty from "src/process/getStyleForProperty";
|
|
||||||
import getStartValues from "src/process/getStartValues";
|
|
||||||
import prepareObject from "src/process/prepareObject";
|
|
||||||
}
|
|
||||||
declare module "src/objects/connect" {
|
|
||||||
var _default: {};
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/easing/easing-bezier" {
|
|
||||||
export default Easing;
|
|
||||||
namespace Easing {
|
|
||||||
const linear: any;
|
|
||||||
const easingSinusoidalIn: any;
|
|
||||||
const easingSinusoidalOut: any;
|
|
||||||
const easingSinusoidalInOut: any;
|
|
||||||
const easingQuadraticIn: any;
|
|
||||||
const easingQuadraticOut: any;
|
|
||||||
const easingQuadraticInOut: any;
|
|
||||||
const easingCubicIn: any;
|
|
||||||
const easingCubicOut: any;
|
|
||||||
const easingCubicInOut: any;
|
|
||||||
const easingQuarticIn: any;
|
|
||||||
const easingQuarticOut: any;
|
|
||||||
const easingQuarticInOut: any;
|
|
||||||
const easingQuinticIn: any;
|
|
||||||
const easingQuinticOut: any;
|
|
||||||
const easingQuinticInOut: any;
|
|
||||||
const easingExponentialIn: any;
|
|
||||||
const easingExponentialOut: any;
|
|
||||||
const easingExponentialInOut: any;
|
|
||||||
const easingCircularIn: any;
|
|
||||||
const easingCircularOut: any;
|
|
||||||
const easingCircularInOut: any;
|
|
||||||
const easingBackIn: any;
|
|
||||||
const easingBackOut: any;
|
|
||||||
const easingBackInOut: any;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module "src/util/selector" {
|
|
||||||
export default function selector(el: any, multi: any): any;
|
|
||||||
}
|
|
||||||
declare module "src/core/queueStart" {
|
|
||||||
export default function queueStart(): void;
|
|
||||||
}
|
|
||||||
declare module "src/tween/tweenBase" {
|
|
||||||
export default class TweenBase {
|
|
||||||
constructor(targetElement: any, startObject: any, endObject: any, opsObject: any);
|
|
||||||
element: any;
|
|
||||||
playing: boolean;
|
|
||||||
_startTime: any;
|
|
||||||
_startFired: boolean;
|
|
||||||
valuesEnd: any;
|
|
||||||
valuesStart: any;
|
|
||||||
_resetStart: any;
|
|
||||||
_easing: any;
|
|
||||||
_duration: any;
|
|
||||||
_delay: any;
|
|
||||||
start(time: any): TweenBase;
|
|
||||||
stop(): TweenBase;
|
|
||||||
close(): void;
|
|
||||||
chain(args: any): TweenBase;
|
|
||||||
_chain: any;
|
|
||||||
stopChainedTweens(): void;
|
|
||||||
update(time: any): boolean;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module "src/tween/tween" {
|
|
||||||
export default class Tween extends TweenBase {
|
|
||||||
constructor(...args: any[]);
|
|
||||||
paused: boolean;
|
|
||||||
_pauseTime: any;
|
|
||||||
_repeat: any;
|
|
||||||
_repeatDelay: any;
|
|
||||||
_repeatOption: any;
|
|
||||||
valuesRepeat: {};
|
|
||||||
_yoyo: any;
|
|
||||||
_reversed: boolean;
|
|
||||||
resume(): Tween;
|
|
||||||
pause(): Tween;
|
|
||||||
reverse(): void;
|
|
||||||
}
|
|
||||||
import TweenBase from "src/tween/tweenBase";
|
|
||||||
}
|
|
||||||
declare module "src/tween/tweenCollection" {
|
|
||||||
export default class TweenCollection {
|
|
||||||
constructor(els: any, vS: any, vE: any, Options: any);
|
|
||||||
tweens: any[];
|
|
||||||
length: number;
|
|
||||||
start(time: any): TweenCollection;
|
|
||||||
stop(): TweenCollection;
|
|
||||||
pause(time: any): TweenCollection;
|
|
||||||
resume(time: any): TweenCollection;
|
|
||||||
chain(args: any): TweenCollection;
|
|
||||||
playing(): boolean;
|
|
||||||
removeTweens(): void;
|
|
||||||
getMaxDuration(): number;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module "src/interface/to" {
|
|
||||||
export default function to(element: any, endObject: any, optionsObj: any): any;
|
|
||||||
}
|
|
||||||
declare module "src/interface/fromTo" {
|
|
||||||
export default function fromTo(element: any, startObject: any, endObject: any, optionsObj: any): any;
|
|
||||||
}
|
|
||||||
declare module "src/interface/allTo" {
|
|
||||||
export default function allTo(elements: any, endObject: any, optionsObj: any): TweenCollection;
|
|
||||||
import TweenCollection from "src/tween/tweenCollection";
|
|
||||||
}
|
|
||||||
declare module "src/interface/allFromTo" {
|
|
||||||
export default function allFromTo(elements: any, startObject: any, endObject: any, optionsObj: any): TweenCollection;
|
|
||||||
import TweenCollection from "src/tween/tweenCollection";
|
|
||||||
}
|
|
||||||
declare module "src/animation/animation" {
|
|
||||||
export default class Animation {
|
|
||||||
constructor(Component: any);
|
|
||||||
setComponent(Component: any): Animation;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module "src/util/trueDimension" {
|
|
||||||
export default function trueDimension(dimValue: any, isAngle: any): {
|
|
||||||
v: number;
|
|
||||||
u: string;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/numbers" {
|
|
||||||
export default function numbers(a: any, b: any, v: any): number;
|
|
||||||
}
|
|
||||||
declare module "src/components/boxModelBase" {
|
|
||||||
export function boxModelOnStart(tweenProp: any): void;
|
|
||||||
export default baseBoxModel;
|
|
||||||
namespace baseBoxModel {
|
|
||||||
export const component: string;
|
|
||||||
export const category: string;
|
|
||||||
export { baseBoxProps as properties };
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
export namespace functions {
|
|
||||||
export { baseBoxOnStart as onStart };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const baseBoxProps: string[];
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
const baseBoxOnStart: {};
|
|
||||||
}
|
|
||||||
declare module "src/components/boxModelEssential" {
|
|
||||||
export default essentialBoxModel;
|
|
||||||
namespace essentialBoxModel {
|
|
||||||
export const component: string;
|
|
||||||
export const category: string;
|
|
||||||
export { essentialBoxProps as properties };
|
|
||||||
export { essentialBoxPropsValues as defaultValues };
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
export { essentialBoxModelFunctions as functions };
|
|
||||||
export namespace Util {
|
|
||||||
export { trueDimension };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const essentialBoxProps: string[];
|
|
||||||
namespace essentialBoxPropsValues {
|
|
||||||
const top: number;
|
|
||||||
const left: number;
|
|
||||||
const width: number;
|
|
||||||
const height: number;
|
|
||||||
}
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
namespace essentialBoxModelFunctions {
|
|
||||||
export { getBoxModel as prepareStart };
|
|
||||||
export { prepareBoxModel as prepareProperty };
|
|
||||||
export { essentialBoxOnStart as onStart };
|
|
||||||
}
|
|
||||||
import trueDimension from "src/util/trueDimension";
|
|
||||||
function getBoxModel(tweenProp: any): any;
|
|
||||||
function prepareBoxModel(tweenProp: any, value: any): number;
|
|
||||||
const essentialBoxOnStart: {};
|
|
||||||
}
|
|
||||||
declare module "src/util/hexToRGB" {
|
|
||||||
function _default(hex: any): {
|
|
||||||
r: number;
|
|
||||||
g: number;
|
|
||||||
b: number;
|
|
||||||
} | null;
|
|
||||||
export default _default;
|
|
||||||
}
|
|
||||||
declare module "src/util/trueColor" {
|
|
||||||
export default function trueColor(colorString: any): {
|
|
||||||
r: number;
|
|
||||||
g: number;
|
|
||||||
b: number;
|
|
||||||
a?: undefined;
|
|
||||||
} | {
|
|
||||||
r: number;
|
|
||||||
g: number;
|
|
||||||
b: number;
|
|
||||||
a: number;
|
|
||||||
} | undefined;
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/colors" {
|
|
||||||
export default function colors(a: any, b: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/components/colorPropertiesBase" {
|
|
||||||
export function onStartColors(tweenProp: any): void;
|
|
||||||
export namespace baseColors {
|
|
||||||
const component: string;
|
|
||||||
const category: string;
|
|
||||||
namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
export { colors };
|
|
||||||
}
|
|
||||||
namespace functions {
|
|
||||||
export { colorsOnStart as onStart };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export default baseColors;
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
import colors from "src/interpolation/colors";
|
|
||||||
const colorsOnStart: {};
|
|
||||||
}
|
|
||||||
declare module "src/components/colorProperties" {
|
|
||||||
export default colorProperties;
|
|
||||||
namespace colorProperties {
|
|
||||||
export const component: string;
|
|
||||||
export const category: string;
|
|
||||||
export { supportedColors as properties };
|
|
||||||
export { defaultColors as defaultValues };
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
export { colors };
|
|
||||||
}
|
|
||||||
export { colorFunctions as functions };
|
|
||||||
export namespace Util {
|
|
||||||
export { trueColor };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const supportedColors: string[];
|
|
||||||
const defaultColors: {};
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
import colors from "src/interpolation/colors";
|
|
||||||
namespace colorFunctions {
|
|
||||||
export { getColor as prepareStart };
|
|
||||||
export { prepareColor as prepareProperty };
|
|
||||||
export { colorsOnStart as onStart };
|
|
||||||
}
|
|
||||||
import trueColor from "src/util/trueColor";
|
|
||||||
function getColor(prop: any): any;
|
|
||||||
function prepareColor(prop: any, value: any): {
|
|
||||||
r: number;
|
|
||||||
g: number;
|
|
||||||
b: number;
|
|
||||||
a?: undefined;
|
|
||||||
} | {
|
|
||||||
r: number;
|
|
||||||
g: number;
|
|
||||||
b: number;
|
|
||||||
a: number;
|
|
||||||
} | undefined;
|
|
||||||
const colorsOnStart: {};
|
|
||||||
}
|
|
||||||
declare module "src/components/htmlAttributesBase" {
|
|
||||||
export namespace onStartAttr {
|
|
||||||
function attr(tweenProp: any): void;
|
|
||||||
function attr(tweenProp: any): void;
|
|
||||||
function attributes(tweenProp: any): void;
|
|
||||||
function attributes(tweenProp: any): void;
|
|
||||||
}
|
|
||||||
export default baseAttributes;
|
|
||||||
export const attributes: {};
|
|
||||||
namespace baseAttributes {
|
|
||||||
export { ComponentName as component };
|
|
||||||
export const property: string;
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
export { colors };
|
|
||||||
}
|
|
||||||
export namespace functions {
|
|
||||||
export { onStartAttr as onStart };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const ComponentName: "baseHTMLAttributes";
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
import colors from "src/interpolation/colors";
|
|
||||||
}
|
|
||||||
declare module "src/components/htmlAttributes" {
|
|
||||||
export function getAttr(tweenProp: any, value: any): {};
|
|
||||||
export function prepareAttr(tweenProp: any, attrObj: any): {};
|
|
||||||
export default htmlAttributes;
|
|
||||||
namespace htmlAttributes {
|
|
||||||
export { ComponentName as component };
|
|
||||||
export const property: string;
|
|
||||||
export const subProperties: string[];
|
|
||||||
export const defaultValue: {
|
|
||||||
fill: string;
|
|
||||||
stroke: string;
|
|
||||||
'stop-color': string;
|
|
||||||
opacity: number;
|
|
||||||
'stroke-opacity': number;
|
|
||||||
'fill-opacity': number;
|
|
||||||
};
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
export { colors };
|
|
||||||
}
|
|
||||||
export { attrFunctions as functions };
|
|
||||||
export namespace Util {
|
|
||||||
export { replaceUppercase };
|
|
||||||
export { trueColor };
|
|
||||||
export { trueDimension };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const ComponentName: "htmlAttributes";
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
import colors from "src/interpolation/colors";
|
|
||||||
namespace attrFunctions {
|
|
||||||
export { getAttr as prepareStart };
|
|
||||||
export { prepareAttr as prepareProperty };
|
|
||||||
export { onStartAttr as onStart };
|
|
||||||
}
|
|
||||||
function replaceUppercase(a: any): any;
|
|
||||||
import trueColor from "src/util/trueColor";
|
|
||||||
import trueDimension from "src/util/trueDimension";
|
|
||||||
import { onStartAttr } from "src/components/htmlAttributesBase";
|
|
||||||
}
|
|
||||||
declare module "src/components/opacityPropertyBase" {
|
|
||||||
export function onStartOpacity(tweenProp: any): void;
|
|
||||||
export default baseOpacity;
|
|
||||||
namespace baseOpacity {
|
|
||||||
const component: string;
|
|
||||||
const property: string;
|
|
||||||
namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
namespace functions {
|
|
||||||
export { onStartOpacity as onStart };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
}
|
|
||||||
declare module "src/components/opacityProperty" {
|
|
||||||
export default opacityProperty;
|
|
||||||
namespace opacityProperty {
|
|
||||||
export const component: string;
|
|
||||||
export const property: string;
|
|
||||||
export const defaultValue: number;
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
export { opacityFunctions as functions };
|
|
||||||
}
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
namespace opacityFunctions {
|
|
||||||
export { getOpacity as prepareStart };
|
|
||||||
export { prepareOpacity as prepareProperty };
|
|
||||||
export { onStartOpacity as onStart };
|
|
||||||
}
|
|
||||||
function getOpacity(tweenProp: any): any;
|
|
||||||
function prepareOpacity(tweenProp: any, value: any): number;
|
|
||||||
import { onStartOpacity } from "src/components/opacityPropertyBase";
|
|
||||||
}
|
|
||||||
declare module "src/components/textWriteBase" {
|
|
||||||
export namespace onStartWrite {
|
|
||||||
function text(tweenProp: any): void;
|
|
||||||
function text(tweenProp: any): void;
|
|
||||||
function number(tweenProp: any): void;
|
|
||||||
function number(tweenProp: any): void;
|
|
||||||
}
|
|
||||||
export namespace baseTextWrite {
|
|
||||||
const component: string;
|
|
||||||
const category: string;
|
|
||||||
namespace defaultOptions {
|
|
||||||
const textChars: string;
|
|
||||||
}
|
|
||||||
namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
namespace functions {
|
|
||||||
export { onStartWrite as onStart };
|
|
||||||
}
|
|
||||||
namespace Util {
|
|
||||||
export { charSet };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export default baseTextWrite;
|
|
||||||
export namespace charSet {
|
|
||||||
export { lowerCaseAlpha as alpha };
|
|
||||||
export { upperCaseAlpha as upper };
|
|
||||||
export { nonAlpha as symbols };
|
|
||||||
export { numeric };
|
|
||||||
export { alphaNumeric as alphanumeric };
|
|
||||||
export { allTypes as all };
|
|
||||||
}
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
const lowerCaseAlpha: string[];
|
|
||||||
const upperCaseAlpha: string[];
|
|
||||||
const nonAlpha: string[];
|
|
||||||
const numeric: string[];
|
|
||||||
const alphaNumeric: string[];
|
|
||||||
const allTypes: string[];
|
|
||||||
}
|
|
||||||
declare module "src/components/textWrite" {
|
|
||||||
export function createTextTweens(target: any, newText: any, ops: any): false | any[];
|
|
||||||
export namespace textWriteFunctions {
|
|
||||||
export { getWrite as prepareStart };
|
|
||||||
export { prepareText as prepareProperty };
|
|
||||||
export { onStartWrite as onStart };
|
|
||||||
}
|
|
||||||
export namespace textWrite {
|
|
||||||
export const component: string;
|
|
||||||
export const category: string;
|
|
||||||
export const properties: string[];
|
|
||||||
export namespace defaultValues {
|
|
||||||
const text: string;
|
|
||||||
const number: string;
|
|
||||||
}
|
|
||||||
export namespace defaultOptions {
|
|
||||||
const textChars: string;
|
|
||||||
}
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
export { textWriteFunctions as functions };
|
|
||||||
export namespace Util {
|
|
||||||
export { charSet };
|
|
||||||
export { createTextTweens };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export default textWrite;
|
|
||||||
function getWrite(): any;
|
|
||||||
function prepareText(tweenProp: any, value: any): any;
|
|
||||||
import { onStartWrite } from "src/components/textWriteBase";
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
import { charSet } from "src/components/textWriteBase";
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/perspective" {
|
|
||||||
export default function perspective(a: any, b: any, u: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/translate3d" {
|
|
||||||
export default function translate3d(a: any, b: any, u: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/rotate3d" {
|
|
||||||
export default function rotate3d(a: any, b: any, u: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/translate" {
|
|
||||||
export default function translate(a: any, b: any, u: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/rotate" {
|
|
||||||
export default function rotate(a: any, b: any, u: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/scale" {
|
|
||||||
export default function scale(a: any, b: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/skew" {
|
|
||||||
export default function skew(a: any, b: any, u: any, v: any): string;
|
|
||||||
}
|
|
||||||
declare module "src/components/transformFunctionsBase" {
|
|
||||||
export function onStartTransform(tweenProp: any): void;
|
|
||||||
export default BaseTransform;
|
|
||||||
namespace BaseTransform {
|
|
||||||
const component: string;
|
|
||||||
const property: string;
|
|
||||||
namespace functions {
|
|
||||||
export { onStartTransform as onStart };
|
|
||||||
}
|
|
||||||
namespace Interpolate {
|
|
||||||
export { perspective };
|
|
||||||
export { translate3d };
|
|
||||||
export { rotate3d };
|
|
||||||
export { translate };
|
|
||||||
export { rotate };
|
|
||||||
export { scale };
|
|
||||||
export { skew };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
import perspective from "src/interpolation/perspective";
|
|
||||||
import translate3d from "src/interpolation/translate3d";
|
|
||||||
import rotate3d from "src/interpolation/rotate3d";
|
|
||||||
import translate from "src/interpolation/translate";
|
|
||||||
import rotate from "src/interpolation/rotate";
|
|
||||||
import scale from "src/interpolation/scale";
|
|
||||||
import skew from "src/interpolation/skew";
|
|
||||||
}
|
|
||||||
declare module "src/components/transformFunctions" {
|
|
||||||
export default transformFunctionsComponent;
|
|
||||||
namespace transformFunctionsComponent {
|
|
||||||
export const component: string;
|
|
||||||
export const property: string;
|
|
||||||
export { supportedTransformProperties as subProperties };
|
|
||||||
export { defaultTransformValues as defaultValues };
|
|
||||||
export { transformFunctions as functions };
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { perspective };
|
|
||||||
export { translate3d };
|
|
||||||
export { rotate3d };
|
|
||||||
export { translate };
|
|
||||||
export { rotate };
|
|
||||||
export { scale };
|
|
||||||
export { skew };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const supportedTransformProperties: string[];
|
|
||||||
namespace defaultTransformValues {
|
|
||||||
const perspective_1: number;
|
|
||||||
export { perspective_1 as perspective };
|
|
||||||
const translate3d_1: number[];
|
|
||||||
export { translate3d_1 as translate3d };
|
|
||||||
export const translateX: number;
|
|
||||||
export const translateY: number;
|
|
||||||
export const translateZ: number;
|
|
||||||
const translate_1: number[];
|
|
||||||
export { translate_1 as translate };
|
|
||||||
const rotate3d_1: number[];
|
|
||||||
export { rotate3d_1 as rotate3d };
|
|
||||||
export const rotateX: number;
|
|
||||||
export const rotateY: number;
|
|
||||||
export const rotateZ: number;
|
|
||||||
const rotate_1: number;
|
|
||||||
export { rotate_1 as rotate };
|
|
||||||
export const skewX: number;
|
|
||||||
export const skewY: number;
|
|
||||||
const skew_1: number[];
|
|
||||||
export { skew_1 as skew };
|
|
||||||
const scale_1: number;
|
|
||||||
export { scale_1 as scale };
|
|
||||||
}
|
|
||||||
namespace transformFunctions {
|
|
||||||
export { getTransform as prepareStart };
|
|
||||||
export { prepareTransform as prepareProperty };
|
|
||||||
export { onStartTransform as onStart };
|
|
||||||
export { crossCheckTransform as crossCheck };
|
|
||||||
}
|
|
||||||
import perspective from "src/interpolation/perspective";
|
|
||||||
import translate3d from "src/interpolation/translate3d";
|
|
||||||
import rotate3d from "src/interpolation/rotate3d";
|
|
||||||
import translate from "src/interpolation/translate";
|
|
||||||
import rotate from "src/interpolation/rotate";
|
|
||||||
import scale from "src/interpolation/scale";
|
|
||||||
import skew from "src/interpolation/skew";
|
|
||||||
function getTransform(tweenProperty: any): any;
|
|
||||||
function prepareTransform(prop: any, obj: any): {};
|
|
||||||
import { onStartTransform } from "src/components/transformFunctionsBase";
|
|
||||||
function crossCheckTransform(tweenProp: any): void;
|
|
||||||
}
|
|
||||||
declare module "src/components/svgDrawBase" {
|
|
||||||
export function onStartDraw(tweenProp: any): void;
|
|
||||||
export default baseSVGDraw;
|
|
||||||
namespace baseSVGDraw {
|
|
||||||
const component: string;
|
|
||||||
const property: string;
|
|
||||||
namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
namespace functions {
|
|
||||||
export { onStartDraw as onStart };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
}
|
|
||||||
declare module "src/components/svgDraw" {
|
|
||||||
export default svgDraw;
|
|
||||||
namespace svgDraw {
|
|
||||||
export const component: string;
|
|
||||||
export const property: string;
|
|
||||||
export const defaultValue: string;
|
|
||||||
export namespace Interpolate {
|
|
||||||
export { numbers };
|
|
||||||
}
|
|
||||||
export { svgDrawFunctions as functions };
|
|
||||||
export namespace Util {
|
|
||||||
export { getRectLength };
|
|
||||||
export { getPolyLength };
|
|
||||||
export { getLineLength };
|
|
||||||
export { getCircleLength };
|
|
||||||
export { getEllipseLength };
|
|
||||||
export { getTotalLength };
|
|
||||||
export { resetDraw };
|
|
||||||
export { getDraw };
|
|
||||||
export { percent };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
import numbers from "src/interpolation/numbers";
|
|
||||||
namespace svgDrawFunctions {
|
|
||||||
export { getDrawValue as prepareStart };
|
|
||||||
export { prepareDraw as prepareProperty };
|
|
||||||
export { onStartDraw as onStart };
|
|
||||||
}
|
|
||||||
function getRectLength(el: any): number;
|
|
||||||
function getPolyLength(el: any): number;
|
|
||||||
function getLineLength(el: any): number;
|
|
||||||
function getCircleLength(el: any): number;
|
|
||||||
function getEllipseLength(el: any): number;
|
|
||||||
function getTotalLength(el: any): number;
|
|
||||||
function resetDraw(elem: any): void;
|
|
||||||
function getDraw(element: any, value: any): any;
|
|
||||||
function percent(v: any, l: any): number;
|
|
||||||
function getDrawValue(): any;
|
|
||||||
function prepareDraw(a: any, o: any): any;
|
|
||||||
import { onStartDraw } from "src/components/svgDrawBase";
|
|
||||||
}
|
|
||||||
declare module "src/interpolation/coords" {
|
|
||||||
export default function coords(a: any, b: any, l: any, v: any): never[][];
|
|
||||||
}
|
|
||||||
declare module "src/components/svgMorphBase" {
|
|
||||||
export function onStartSVGMorph(tweenProp: any): void;
|
|
||||||
export default baseSVGMorph;
|
|
||||||
namespace baseSVGMorph {
|
|
||||||
export const component: string;
|
|
||||||
export const property: string;
|
|
||||||
export { coords as Interpolate };
|
|
||||||
export namespace functions {
|
|
||||||
export { onStartSVGMorph as onStart };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
import coords from "src/interpolation/coords";
|
|
||||||
}
|
|
||||||
declare module "src/components/svgMorph" {
|
|
||||||
export default svgMorph;
|
|
||||||
namespace svgMorph {
|
|
||||||
export const component: string;
|
|
||||||
export const property: string;
|
|
||||||
export const defaultValue: never[];
|
|
||||||
export { coords as Interpolate };
|
|
||||||
export namespace defaultOptions {
|
|
||||||
const morphPrecision: number;
|
|
||||||
const morphIndex: number;
|
|
||||||
}
|
|
||||||
export { svgMorphFunctions as functions };
|
|
||||||
export namespace Util {
|
|
||||||
export { addPoints };
|
|
||||||
export { bisect };
|
|
||||||
export { normalizeRing };
|
|
||||||
export { validRing };
|
|
||||||
export { getInterpolationPoints };
|
|
||||||
export { pathStringToRing };
|
|
||||||
export { distanceSquareRoot };
|
|
||||||
export { midPoint };
|
|
||||||
export { approximateRing };
|
|
||||||
export { rotateRing };
|
|
||||||
export { pathToString };
|
|
||||||
export { pathToCurve };
|
|
||||||
export { getPathLength };
|
|
||||||
export { getPointAtLength };
|
|
||||||
export { getDrawDirection };
|
|
||||||
export { roundPath };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
import coords from "src/interpolation/coords";
|
|
||||||
namespace svgMorphFunctions {
|
|
||||||
export { getSVGMorph as prepareStart };
|
|
||||||
export { prepareSVGMorph as prepareProperty };
|
|
||||||
export { onStartSVGMorph as onStart };
|
|
||||||
export { crossCheckSVGMorph as crossCheck };
|
|
||||||
}
|
|
||||||
function addPoints(ring: any, numPoints: any): void;
|
|
||||||
function bisect(ring: any, maxSegmentLength?: number): void;
|
|
||||||
function normalizeRing(input: any, maxSegmentLength: any): any;
|
|
||||||
function validRing(ring: any): boolean;
|
|
||||||
function getInterpolationPoints(pathArray1: any, pathArray2: any, precision: any): any[];
|
|
||||||
function pathStringToRing(str: any, maxSegmentLength: any): {
|
|
||||||
ring: any[][];
|
|
||||||
pathLength: number;
|
|
||||||
} | {
|
|
||||||
pathLength: any;
|
|
||||||
ring: any[][];
|
|
||||||
skipBisect: boolean;
|
|
||||||
};
|
|
||||||
function approximateRing(parsed: any, maxSegmentLength: any): {
|
|
||||||
pathLength: any;
|
|
||||||
ring: any[][];
|
|
||||||
skipBisect: boolean;
|
|
||||||
};
|
|
||||||
function rotateRing(ring: any, vs: any): void;
|
|
||||||
function getSVGMorph(): any;
|
|
||||||
function prepareSVGMorph(tweenProp: any, value: any): any;
|
|
||||||
import { onStartSVGMorph } from "src/components/svgMorphBase";
|
|
||||||
function crossCheckSVGMorph(prop: any): void;
|
|
||||||
}
|
|
||||||
declare module "src/objects/componentsDefault" {
|
|
||||||
export default Components;
|
|
||||||
namespace Components {
|
|
||||||
export { EssentialBoxModel };
|
|
||||||
export { ColorsProperties };
|
|
||||||
export { HTMLAttributes };
|
|
||||||
export { OpacityProperty };
|
|
||||||
export { TextWrite };
|
|
||||||
export { TransformFunctions };
|
|
||||||
export { SVGDraw };
|
|
||||||
export { SVGMorph };
|
|
||||||
}
|
|
||||||
import EssentialBoxModel from "src/components/boxModelEssential";
|
|
||||||
import ColorsProperties from "src/components/colorProperties";
|
|
||||||
import HTMLAttributes from "src/components/htmlAttributes";
|
|
||||||
import OpacityProperty from "src/components/opacityProperty";
|
|
||||||
import TextWrite from "src/components/textWrite";
|
|
||||||
import TransformFunctions from "src/components/transformFunctions";
|
|
||||||
import SVGDraw from "src/components/svgDraw";
|
|
||||||
import SVGMorph from "src/components/svgMorph";
|
|
||||||
}
|
|
||||||
declare module "src/index" {
|
|
||||||
export default KUTE;
|
|
||||||
namespace KUTE {
|
|
||||||
export { Animation };
|
|
||||||
export { Components };
|
|
||||||
export { Tween };
|
|
||||||
export { fromTo };
|
|
||||||
export { to };
|
|
||||||
export { TweenCollection };
|
|
||||||
export { allFromTo };
|
|
||||||
export { allTo };
|
|
||||||
export { Objects };
|
|
||||||
export { Util };
|
|
||||||
export { Easing };
|
|
||||||
export { CubicBezier };
|
|
||||||
export { Render };
|
|
||||||
export { Interpolate };
|
|
||||||
export { Process };
|
|
||||||
export { Internals };
|
|
||||||
export { Selector };
|
|
||||||
export { Version };
|
|
||||||
}
|
|
||||||
import Animation from "src/animation/animation";
|
|
||||||
import Components from "src/objects/componentsDefault";
|
|
||||||
import Tween from "src/tween/tween";
|
|
||||||
import fromTo from "src/interface/fromTo";
|
|
||||||
import to from "src/interface/to";
|
|
||||||
import TweenCollection from "src/tween/tweenCollection";
|
|
||||||
import allFromTo from "src/interface/allFromTo";
|
|
||||||
import allTo from "src/interface/allTo";
|
|
||||||
import Objects from "src/objects/objects";
|
|
||||||
import Util from "src/objects/util";
|
|
||||||
import Easing from "src/easing/easing-bezier";
|
|
||||||
import Render from "src/core/render";
|
|
||||||
import Interpolate from "src/objects/interpolate";
|
|
||||||
import Process from "src/process/process";
|
|
||||||
import Internals from "src/core/internals";
|
|
||||||
import Selector from "src/util/selector";
|
|
||||||
import { version as Version } from "package.json";
|
|
||||||
}
|
|
||||||
|
|
2
types/interface/allFromTo.d.ts
vendored
Normal file
2
types/interface/allFromTo.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export default function allFromTo(elements: any, startObject: any, endObject: any, optionsObj: any): TweenCollection;
|
||||||
|
import TweenCollection from "../tween/tweenCollection.js";
|
2
types/interface/allTo.d.ts
vendored
Normal file
2
types/interface/allTo.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export default function allTo(elements: any, endObject: any, optionsObj: any): TweenCollection;
|
||||||
|
import TweenCollection from "../tween/tweenCollection.js";
|
1
types/interface/fromTo.d.ts
vendored
Normal file
1
types/interface/fromTo.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function fromTo(element: any, startObject: any, endObject: any, optionsObj: any): any;
|
1
types/interface/to.d.ts
vendored
Normal file
1
types/interface/to.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function to(element: any, endObject: any, optionsObj: any): any;
|
1
types/interpolation/arrays.d.ts
vendored
Normal file
1
types/interpolation/arrays.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function arrays(a: any, b: any, v: any): number[];
|
1
types/interpolation/colors.d.ts
vendored
Normal file
1
types/interpolation/colors.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function colors(a: any, b: any, v: any): string;
|
1
types/interpolation/coords.d.ts
vendored
Normal file
1
types/interpolation/coords.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function coords(a: any, b: any, l: any, v: any): never[][];
|
1
types/interpolation/numbers.d.ts
vendored
Normal file
1
types/interpolation/numbers.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function numbers(a: any, b: any, v: any): number;
|
1
types/interpolation/perspective.d.ts
vendored
Normal file
1
types/interpolation/perspective.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function perspective(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/rotate.d.ts
vendored
Normal file
1
types/interpolation/rotate.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function rotate(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/rotate3d.d.ts
vendored
Normal file
1
types/interpolation/rotate3d.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function rotate3d(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/scale.d.ts
vendored
Normal file
1
types/interpolation/scale.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function scale(a: any, b: any, v: any): string;
|
1
types/interpolation/skew.d.ts
vendored
Normal file
1
types/interpolation/skew.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function skew(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/skewX.d.ts
vendored
Normal file
1
types/interpolation/skewX.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function skewX(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/skewY.d.ts
vendored
Normal file
1
types/interpolation/skewY.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function skewY(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/translate.d.ts
vendored
Normal file
1
types/interpolation/translate.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function translate(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/translate3d.d.ts
vendored
Normal file
1
types/interpolation/translate3d.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function translate3d(a: any, b: any, u: any, v: any): string;
|
1
types/interpolation/units.d.ts
vendored
Normal file
1
types/interpolation/units.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export default function units(a: any, b: any, u: any, v: any): any;
|
7
types/objects/componentsBase.d.ts
vendored
Normal file
7
types/objects/componentsBase.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
export default Components;
|
||||||
|
declare namespace Components {
|
||||||
|
const Transform: Animation;
|
||||||
|
const BoxModel: Animation;
|
||||||
|
const Opacity: Animation;
|
||||||
|
}
|
||||||
|
import Animation from "../animation/animationBase.js";
|
19
types/objects/componentsDefault.d.ts
vendored
Normal file
19
types/objects/componentsDefault.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
export default Components;
|
||||||
|
declare namespace Components {
|
||||||
|
export { EssentialBoxModel };
|
||||||
|
export { ColorsProperties };
|
||||||
|
export { HTMLAttributes };
|
||||||
|
export { OpacityProperty };
|
||||||
|
export { TextWrite };
|
||||||
|
export { TransformFunctions };
|
||||||
|
export { SVGDraw };
|
||||||
|
export { SVGMorph };
|
||||||
|
}
|
||||||
|
import EssentialBoxModel from "../components/boxModelEssential.js";
|
||||||
|
import ColorsProperties from "../components/colorProperties.js";
|
||||||
|
import HTMLAttributes from "../components/htmlAttributes.js";
|
||||||
|
import OpacityProperty from "../components/opacityProperty.js";
|
||||||
|
import TextWrite from "../components/textWrite.js";
|
||||||
|
import TransformFunctions from "../components/transformFunctions.js";
|
||||||
|
import SVGDraw from "../components/svgDraw.js";
|
||||||
|
import SVGMorph from "../components/svgMorph.js";
|
35
types/objects/componentsExtra.d.ts
vendored
Normal file
35
types/objects/componentsExtra.d.ts
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
export default Components;
|
||||||
|
declare namespace Components {
|
||||||
|
export { BackgroundPosition };
|
||||||
|
export { BorderRadius };
|
||||||
|
export { BoxModel };
|
||||||
|
export { ClipProperty };
|
||||||
|
export { ColorProperties };
|
||||||
|
export { FilterEffects };
|
||||||
|
export { HTMLAttributes };
|
||||||
|
export { OpacityProperty };
|
||||||
|
export { SVGDraw };
|
||||||
|
export { SVGCubicMorph };
|
||||||
|
export { SVGTransform };
|
||||||
|
export { ScrollProperty };
|
||||||
|
export { ShadowProperties };
|
||||||
|
export { TextProperties };
|
||||||
|
export { TextWriteProperties };
|
||||||
|
export { MatrixTransform };
|
||||||
|
}
|
||||||
|
import BackgroundPosition from "../components/backgroundPosition.js";
|
||||||
|
import BorderRadius from "../components/borderRadius.js";
|
||||||
|
import BoxModel from "../components/boxModel.js";
|
||||||
|
import ClipProperty from "../components/clipProperty.js";
|
||||||
|
import ColorProperties from "../components/colorProperties.js";
|
||||||
|
import FilterEffects from "../components/filterEffects";
|
||||||
|
import HTMLAttributes from "../components/htmlAttributes.js";
|
||||||
|
import OpacityProperty from "../components/opacityProperty.js";
|
||||||
|
import SVGDraw from "../components/svgDraw.js";
|
||||||
|
import SVGCubicMorph from "../components/svgCubicMorph.js";
|
||||||
|
import SVGTransform from "../components/svgTransform.js";
|
||||||
|
import ScrollProperty from "../components/scrollProperty.js";
|
||||||
|
import ShadowProperties from "../components/shadowProperties.js";
|
||||||
|
import TextProperties from "../components/textProperties.js";
|
||||||
|
import TextWriteProperties from "../components/textWrite.js";
|
||||||
|
import MatrixTransform from "../components/transformMatrix.js";
|
2
types/objects/connect.d.ts
vendored
Normal file
2
types/objects/connect.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare var _default: {};
|
||||||
|
export default _default;
|
2
types/objects/crossCheck.d.ts
vendored
Normal file
2
types/objects/crossCheck.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare var _default: {};
|
||||||
|
export default _default;
|
6
types/objects/defaultOptions.d.ts
vendored
Normal file
6
types/objects/defaultOptions.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
export default defaultOptions;
|
||||||
|
declare namespace defaultOptions {
|
||||||
|
const duration: number;
|
||||||
|
const delay: number;
|
||||||
|
const easing: string;
|
||||||
|
}
|
2
types/objects/defaultValues.d.ts
vendored
Normal file
2
types/objects/defaultValues.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare var _default: {};
|
||||||
|
export default _default;
|
2
types/objects/globalObject.d.ts
vendored
Normal file
2
types/objects/globalObject.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export default globalObject;
|
||||||
|
declare let globalObject: any;
|
2
types/objects/interpolate.d.ts
vendored
Normal file
2
types/objects/interpolate.d.ts
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
declare var _default: {};
|
||||||
|
export default _default;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue