@gkits/collect 0.0.33 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/index.js +378 -3
  2. package/package.json +1 -1
  3. package/dist/dts/res/_utils/animate/animate.d.ts +0 -13
  4. package/dist/dts/res/_utils/animate/index.d.ts +0 -15
  5. package/dist/dts/res/_utils/attribute.d.ts +0 -4
  6. package/dist/dts/res/_utils/browser/UrlHandler.d.ts +0 -13
  7. package/dist/dts/res/_utils/browser/body.scroll.d.ts +0 -19
  8. package/dist/dts/res/_utils/browser/copy.d.ts +0 -1
  9. package/dist/dts/res/_utils/browser/device.d.ts +0 -4
  10. package/dist/dts/res/_utils/browser/fetcher.d.ts +0 -58
  11. package/dist/dts/res/_utils/browser/findDom.d.ts +0 -1
  12. package/dist/dts/res/_utils/browser/getBase64.d.ts +0 -1
  13. package/dist/dts/res/_utils/browser/getMousePoint.d.ts +0 -4
  14. package/dist/dts/res/_utils/browser/getPageScroll.d.ts +0 -4
  15. package/dist/dts/res/_utils/browser/getPageSize.d.ts +0 -6
  16. package/dist/dts/res/_utils/browser/guide.d.ts +0 -7
  17. package/dist/dts/res/_utils/browser/hiddenProperty.d.ts +0 -1
  18. package/dist/dts/res/_utils/browser/httpAjax.d.ts +0 -12
  19. package/dist/dts/res/_utils/browser/lazyLoad.d.ts +0 -27
  20. package/dist/dts/res/_utils/browser/loadJC.d.ts +0 -2
  21. package/dist/dts/res/_utils/browser/networkState.d.ts +0 -6
  22. package/dist/dts/res/_utils/browser/pinyin.d.ts +0 -1
  23. package/dist/dts/res/_utils/browser/ratioZoom.d.ts +0 -3
  24. package/dist/dts/res/_utils/browser/requestAnimationFrame.d.ts +0 -2
  25. package/dist/dts/res/_utils/browser/resize.d.ts +0 -1
  26. package/dist/dts/res/_utils/browser/scroll.d.ts +0 -5
  27. package/dist/dts/res/_utils/browser/touch.d.ts +0 -44
  28. package/dist/dts/res/_utils/browser/touchEvents.d.ts +0 -5
  29. package/dist/dts/res/_utils/color/getOpacityColor.d.ts +0 -1
  30. package/dist/dts/res/_utils/decorator/around.d.ts +0 -2
  31. package/dist/dts/res/_utils/decorator/debounce.d.ts +0 -1
  32. package/dist/dts/res/_utils/decorator/scrollLocks.d.ts +0 -1
  33. package/dist/dts/res/_utils/decorator/throttle.d.ts +0 -1
  34. package/dist/dts/res/_utils/decorator/timeout.d.ts +0 -1
  35. package/dist/dts/res/_utils/decorator/wait.d.ts +0 -1
  36. package/dist/dts/res/_utils/evalEventHandle.d.ts +0 -9
  37. package/dist/dts/res/_utils/event.d.ts +0 -15
  38. package/dist/dts/res/_utils/extend/arrayIndex.d.ts +0 -17
  39. package/dist/dts/res/_utils/extend/proxy.d.ts +0 -4
  40. package/dist/dts/res/_utils/function.d.ts +0 -4
  41. package/dist/dts/res/_utils/getcolor.d.ts +0 -129
  42. package/dist/dts/res/_utils/hsvacolor.d.ts +0 -12
  43. package/dist/dts/res/_utils/intersections.d.ts +0 -31
  44. package/dist/dts/res/_utils/key-codes.d.ts +0 -162
  45. package/dist/dts/res/_utils/number/calc.d.ts +0 -11
  46. package/dist/dts/res/_utils/object/assign.d.ts +0 -7
  47. package/dist/dts/res/_utils/object/exist.d.ts +0 -2
  48. package/dist/dts/res/_utils/object/freeze.d.ts +0 -1
  49. package/dist/dts/res/_utils/object/linkedList.d.ts +0 -14
  50. package/dist/dts/res/_utils/place.d.ts +0 -15
  51. package/dist/dts/res/_utils/string/getFileType.d.ts +0 -1
  52. package/dist/dts/res/_utils/string/marker.d.ts +0 -1
  53. package/dist/dts/res/_utils/string/trim.d.ts +0 -1
  54. package/dist/dts/res/_utils/string/utilTools.d.ts +0 -2
  55. package/dist/dts/res/_utils/style/background.d.ts +0 -7
  56. package/dist/dts/res/_utils/style/basics.d.ts +0 -3
  57. package/dist/dts/res/_utils/style/classic.d.ts +0 -10
  58. package/dist/dts/res/_utils/style/disabled.d.ts +0 -1
  59. package/dist/dts/res/_utils/style/display.d.ts +0 -3
  60. package/dist/dts/res/_utils/style/index.d.ts +0 -6
  61. package/dist/dts/res/_utils/style/resize.d.ts +0 -1
  62. package/dist/dts/res/_utils/style/screen.d.ts +0 -12
  63. package/dist/dts/res/_utils/style/style.d.ts +0 -14
  64. package/dist/dts/res/_utils/style/styleCalc.d.ts +0 -19
  65. package/dist/dts/res/_utils/style/styleDeclare.d.ts +0 -6
  66. package/dist/dts/res/_utils/style/units.d.ts +0 -1
  67. package/dist/dts/res/_utils/style/visibility.d.ts +0 -1
  68. package/dist/dts/res/_utils/style/wrap.d.ts +0 -1
  69. package/dist/dts/res/_utils/throttle.d.ts +0 -12
  70. package/dist/dts/res/_utils/types.d.ts +0 -17
  71. package/dist/dts/res/conflate/conflate.d.ts +0 -29
  72. package/dist/dts/res/conflate/conflate.style.d.ts +0 -1
  73. package/dist/dts/res/conflate/index.d.ts +0 -1
  74. package/dist/dts/res/index.d.ts +0 -4
  75. package/dist/dts/res/list/index.d.ts +0 -1
  76. package/dist/dts/res/list/list.d.ts +0 -10
  77. package/dist/dts/res/list/list.style.d.ts +0 -1
  78. package/dist/dts/res/param.d.ts +0 -11
  79. package/dist/dts/res/prize/index.d.ts +0 -1
  80. package/dist/dts/res/prize/prize.d.ts +0 -22
  81. package/dist/dts/res/prize/prize.style.d.ts +0 -1
  82. package/dist/dts/res/shared/con.d.ts +0 -1
  83. package/dist/dts/res/shared/config/config.d.ts +0 -10
  84. package/dist/dts/res/shared/config/hello.d.ts +0 -1
  85. package/dist/dts/res/shared/environments/environment.d.ts +0 -9
  86. package/dist/dts/res/shared/index.d.ts +0 -1
  87. package/dist/dts/res/shared/interface/type.d.ts +0 -50
  88. package/dist/dts/res/shared/mixins/applyMixins.d.ts +0 -1
  89. package/dist/dts/res/shared/mixins/hiElementBase.d.ts +0 -15
  90. package/dist/dts/res/shared/mixins/hiElementForm.d.ts +0 -17
  91. package/dist/dts/res/shared/mixins/hiElementStyle.d.ts +0 -26
  92. package/dist/dts/res/shared/mixins/hiElementTouch.d.ts +0 -28
  93. package/dist/dts/res/shared/services/date.services.d.ts +0 -1
  94. package/dist/dts/res/shared/services/md5.d.ts +0 -29
  95. package/dist/dts/res/shared/theme/default.d.ts +0 -29
  96. package/dist/dts/res/swipe/index.d.ts +0 -1
  97. package/dist/dts/res/swipe/swipe.d.ts +0 -16
  98. package/dist/dts/res/swipe/swipe.style.d.ts +0 -1
  99. package/dist/dts/res/vessel/src/_lib/getUrlParams.d.ts +0 -14
  100. package/dist/dts/res/vessel/src/_lib/httpProxy.d.ts +0 -74
  101. package/dist/dts/res/vessel/src/_lib/loadJC.d.ts +0 -1
  102. package/dist/dts/res/vessel/src/_lib/networkState.d.ts +0 -6
  103. package/dist/dts/res/vessel/src/_lib/pathHandle.d.ts +0 -12
  104. package/dist/dts/res/vessel/src/_lib/throttle.d.ts +0 -12
  105. package/dist/dts/res/vessel/src/index.d.ts +0 -3
  106. package/dist/dts/res/vessel/src/indexdb.d.ts +0 -14
  107. package/dist/dts/res/vessel/src/upapi.d.ts +0 -146
  108. package/dist/dts/res/vessel/src/user.model.d.ts +0 -12
  109. package/dist/dts/res/vessel/src/vessel.d.ts +0 -52
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gkits/collect",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "> TODO: description",
5
5
  "author": "liulina0228",
6
6
  "homepage": "",
@@ -1,13 +0,0 @@
1
- declare type seekers = 'bounce' | 'flash' | 'headShake' | 'heartBeat' | 'jello' | 'pulse' | 'rubberBand' | 'shake' | 'shake' | 'shakeX' | 'shakeY' | 'swing' | 'tada' | 'wobble';
2
- declare type back = 'backInDown' | 'backInLeft' | 'backInRight' | 'backInUp' | 'backOutDown' | 'backOutLeft' | 'backOutRight' | 'backOutUp';
3
- declare type bouncing = 'bounceIn' | 'bounceInDown' | 'bounceInLeft' | 'bounceInRight' | 'bounceInUp' | 'bounceOut' | 'bounceOutDown' | 'bounceOutLeft' | 'bounceOutRight' | 'bounceOutUp';
4
- declare type fading = 'fadeIn' | 'fadeInBottomLeft' | 'fadeInBottomRight' | 'fadeInDown' | 'fadeInDownBig' | 'fadeInLeft' | 'fadeInLeftBig' | 'fadeInRight' | 'fadeInRightBig' | 'fadeInTopLeft' | 'fadeInTopRight' | 'fadeInUp' | 'fadeInUpBig' | 'fadeOut' | 'fadeOutBottomLeft' | 'fadeOutBottomRight' | 'fadeOutDown' | 'fadeOutDownBig' | 'fadeOutLeft' | 'fadeOutLeftBig' | 'fadeOutRight' | 'fadeOutRightBig' | 'fadeOutTopLeft' | 'fadeOutTopRight' | 'fadeOutUp' | 'fadeOutUpBig';
5
- declare type flippers = 'flip' | 'flipInX' | 'flipInY' | 'flipOutX' | 'flipOutY';
6
- declare type lightspeed = 'lightSpeedInLeft' | 'lightSpeedInRight' | 'lightSpeedOutLeft' | 'lightSpeedOutRight';
7
- declare type rotating = 'rotateIn' | 'rotateInDownLeft' | 'rotateInDownRight' | 'rotateInUpLeft' | 'rotateInUpRight' | 'rotateOut' | 'rotateOutDownLeft' | 'rotateOutDownRight' | 'rotateOutUpLeft' | 'rotateOutUpRight';
8
- declare type sliding = 'slideInDown' | 'slideInLeft' | 'slideInRight' | 'slideInUp' | 'slideOutDown' | 'slideOutLeft' | 'slideOutRight' | 'slideOutUp';
9
- declare type specials = 'hinge' | 'jackInTheBox' | 'rollIn' | 'rollOut';
10
- declare type zoom = 'zoomIn' | 'zoomInDown' | 'zoomInLeft' | 'zoomInRight' | 'zoomInUp' | 'zoomOut' | 'zoomOutDown' | 'zoomOutLeft' | 'zoomOutRight' | 'zoomOutUp';
11
- export declare type ANIMATE_NAME = seekers | back | bouncing | fading | flippers | lightspeed | rotating | sliding | specials | zoom;
12
- export declare function Animate(selector: any): (name: ANIMATE_NAME, duration: number, callback?: () => void) => void;
13
- export {};
@@ -1,15 +0,0 @@
1
- export { CSS } from "./animateModule/attention_seekers";
2
- export * from "./animateModule/back_exits";
3
- export * from "./animateModule/bouncing_entrances";
4
- export * from "./animateModule/bouncing_exits";
5
- export * from "./animateModule/fading_entrances";
6
- export * from "./animateModule/fading_exits";
7
- export * from "./animateModule/flippers";
8
- export * from "./animateModule/lightspeed";
9
- export * from "./animateModule/rotating_entrances";
10
- export * from "./animateModule/rotating_exits";
11
- export * from "./animateModule/sliding_entrances";
12
- export * from "./animateModule/sliding_exits";
13
- export * from "./animateModule/specials";
14
- export * from "./animateModule/zooming_entrances";
15
- export * from "./animateModule/zooming_exits";
@@ -1,4 +0,0 @@
1
- export declare function SetAttr(selector: any): (attrs: any, value?: string) => void;
2
- export declare function RemoveAttr(selector: any): (attrs: any) => void;
3
- export declare function GetAttr(selector: any): (attrs: any) => any;
4
- export declare function ToggleAttr(selector: any): (attrs: any) => void;
@@ -1,13 +0,0 @@
1
- interface IOptionsValue {
2
- url?: string;
3
- type?: Array<string>;
4
- replace?: boolean;
5
- }
6
- export declare class UrlHandler {
7
- get(optionss?: IOptionsValue): {};
8
- del(url: string): any;
9
- replaceQSParams(search: string, key: string, val: any): string;
10
- replaceUrlParams(urlStr: string, obj: Object): string;
11
- compareUrlPath(url1: string, url2?: string): boolean;
12
- }
13
- export {};
@@ -1,19 +0,0 @@
1
- export declare class BodyScrollLocks {
2
- constructor();
3
- private hasPassiveEvents;
4
- private isIosDevice;
5
- private locks;
6
- private documentListenerAdded;
7
- private initialClientY;
8
- private previousBodyOverflowSetting;
9
- private previousBodyPaddingRight;
10
- private isTargetElementTotallyScrolled;
11
- private allowTouchMove;
12
- private preventDefault;
13
- private setOverflowHidden;
14
- private restoreOverflowSetting;
15
- private handleScroll;
16
- disable(targetElement: any, options?: any): void;
17
- clearAll(): void;
18
- enable(targetElement: any): void;
19
- }
@@ -1 +0,0 @@
1
- export declare function Copy(text: any, callback?: any): void;
@@ -1,4 +0,0 @@
1
- export declare const Device: {
2
- init(callback: any): void;
3
- isUplus(): boolean;
4
- };
@@ -1,58 +0,0 @@
1
- interface Interceptor<T, E = any> {
2
- fulfilled?: (value: T) => T | Promise<T>;
3
- rejected?: (params: {
4
- error: E;
5
- options: T;
6
- }) => any;
7
- }
8
- declare type Config = {
9
- timeout?: number;
10
- retries?: number;
11
- retryInterval?: number;
12
- retryOnFail?: boolean;
13
- apiUrl?: string;
14
- withHeader?: boolean;
15
- };
16
- export interface RequestOptions extends RequestInit {
17
- body?: object & BodyInit | null;
18
- _timeout?: number;
19
- _retries?: number;
20
- _retryInterval?: number;
21
- _retryOnFail?: boolean;
22
- _apiUrl?: string;
23
- _withHeader?: boolean;
24
- _isReturnNativeResponse?: boolean;
25
- }
26
- interface RequestContext {
27
- url: string;
28
- options: RequestOptions;
29
- }
30
- interface ResponseContext {
31
- response: Response;
32
- options: RequestOptions;
33
- }
34
- declare class InterceptorManager<T, E = any> {
35
- private handlers;
36
- use(fulfilled?: Interceptor<T, E>['fulfilled'], rejected?: Interceptor<T, E>['rejected']): void;
37
- runHandlers(value: T): Promise<T>;
38
- }
39
- export declare class HttpFetch {
40
- constructor(config: Config);
41
- private timeout;
42
- private retries;
43
- private apiUrl;
44
- private retryInterval;
45
- private retryOnFail;
46
- interceptors: {
47
- request: InterceptorManager<RequestContext, any>;
48
- response: InterceptorManager<ResponseContext, any>;
49
- };
50
- private fetchWithTimeout;
51
- private retryFetch;
52
- request(resource: string, options?: RequestOptions): Promise<unknown>;
53
- get<T = Response>(resource: string, options?: Omit<RequestOptions, 'method'>): Promise<unknown>;
54
- post<T = Response>(resource: string, options?: Omit<RequestOptions, 'method'>): Promise<unknown>;
55
- put<T = Response>(resource: string, options?: Omit<RequestOptions, 'method'>): Promise<unknown>;
56
- delete<T = Response>(resource: string, options?: Omit<RequestOptions, 'method'>): Promise<unknown>;
57
- }
58
- export {};
@@ -1 +0,0 @@
1
- export declare function findParent(element: any, parentTagName: any): any;
@@ -1 +0,0 @@
1
- export declare function getBase64(imgUrl: any): Promise<void>;
@@ -1,4 +0,0 @@
1
- export declare function GetMousePoint(ev: any): {
2
- x: number;
3
- y: number;
4
- };
@@ -1,4 +0,0 @@
1
- export declare function GetPageScroll(): {
2
- X: any;
3
- Y: any;
4
- };
@@ -1,6 +0,0 @@
1
- export declare function GetPageSize(): {
2
- PageW: number;
3
- PageH: number;
4
- WinW: number;
5
- WinH: number;
6
- };
@@ -1,7 +0,0 @@
1
- export declare class Guide {
2
- private maskEl;
3
- private clickEle;
4
- private style;
5
- init(element: HTMLElement | Element, callback: () => void): void;
6
- remove(): void;
7
- }
@@ -1 +0,0 @@
1
- export declare function hiddenProperty(callback?: () => void, error?: () => void): void;
@@ -1,12 +0,0 @@
1
- export interface AjaxOptions {
2
- async?: boolean;
3
- beforeSend?: (xhr: XMLHttpRequest) => void | boolean;
4
- data?: any;
5
- headers?: {
6
- [key: string]: string;
7
- };
8
- method?: 'GET' | 'POST' | 'PUT' | 'DELETE';
9
- responseType?: XMLHttpRequestResponseType;
10
- timeout?: number;
11
- }
12
- export default function HttpAjax(url: string, options?: AjaxOptions): Promise<XMLHttpRequest>;
@@ -1,27 +0,0 @@
1
- export declare class LazyLoad {
2
- OPTIONS: {
3
- rootMargin: string;
4
- threshold: number;
5
- };
6
- PRELOAD: number;
7
- defaultRoot: Window & typeof globalThis;
8
- DEFAULT_EVENTS: string[];
9
- private mode;
10
- private observer?;
11
- private listeners;
12
- listenEvents: string[];
13
- constructor();
14
- private supportIntersection;
15
- private initIntersection;
16
- private initEventTarget;
17
- private addListenerTarget;
18
- private setMode;
19
- private observerCallback;
20
- private eventCallback;
21
- checkVisible(el: HTMLElement): boolean;
22
- private isElement;
23
- private getScrollParent;
24
- add(el: HTMLImageElement, src: string, parent?: ParentNode | null): void;
25
- remove(el: HTMLElement): void;
26
- uninstall(): void;
27
- }
@@ -1,2 +0,0 @@
1
- export declare function LoadJC(path: string, name?: string): Promise<boolean>;
2
- export declare function LoadJS(files: Array<string>, done: any): void;
@@ -1,6 +0,0 @@
1
- export declare class NetworkState {
2
- private static _instance;
3
- static get instance(): NetworkState;
4
- type: string;
5
- init(callback: any): void;
6
- }
@@ -1 +0,0 @@
1
- export declare function Pinyin(value: string): any;
@@ -1,3 +0,0 @@
1
- export declare class RatioZoom {
2
- init(element: HTMLElement, parent?: any): void;
3
- }
@@ -1,2 +0,0 @@
1
- export declare function RequestAnimationFrame(callback: any): any;
2
- export declare function CancelAnimationFrame(requestId: any): any;
@@ -1 +0,0 @@
1
- export declare function Resize(selector: any): (callback: () => void) => void;
@@ -1,5 +0,0 @@
1
- export declare class ScrollEvent {
2
- scrollNode: Array<any>;
3
- bind(ref: any, onScrollEvent: any): void;
4
- unbind(ref: any, onScrollEvent: any): void;
5
- }
@@ -1,44 +0,0 @@
1
- declare class Pointer {
2
- pageX: number;
3
- pageY: number;
4
- clientX: number;
5
- clientY: number;
6
- offsetX: number;
7
- offsetY: number;
8
- id: number;
9
- nativePointer: Touch | PointerEvent | MouseEvent;
10
- constructor(nativePointer: Touch | PointerEvent | MouseEvent);
11
- getCoalesced(): Pointer[];
12
- }
13
- declare type PointerType = Pointer;
14
- export { PointerType as Pointer };
15
- export declare type InputEvent = TouchEvent | PointerEvent | MouseEvent;
16
- declare type StartCallback = (pointer: Pointer, event: InputEvent) => boolean;
17
- declare type MoveCallback = (previousPointers: Pointer[], changedPointers: Pointer[], event: InputEvent) => void;
18
- declare type EndCallback = (pointer: Pointer, event: InputEvent, cancelled: boolean) => void;
19
- interface PointerTrackerOptions {
20
- start?: StartCallback;
21
- move?: MoveCallback;
22
- end?: EndCallback;
23
- avoidPointerEvents?: boolean;
24
- rawUpdates?: boolean;
25
- }
26
- export default class PointerTracker {
27
- private _element;
28
- readonly startPointers: Pointer[];
29
- readonly currentPointers: Pointer[];
30
- private _startCallback;
31
- private _moveCallback;
32
- private _endCallback;
33
- private _rawUpdates;
34
- private _excludeFromButtonsCheck;
35
- constructor(_element: HTMLElement, { start, move, end, rawUpdates, avoidPointerEvents, }?: PointerTrackerOptions);
36
- stop(): void;
37
- private _triggerPointerStart;
38
- private _pointerStart;
39
- private _touchStart;
40
- private _move;
41
- private _triggerPointerEnd;
42
- private _pointerEnd;
43
- private _touchEnd;
44
- }
@@ -1,5 +0,0 @@
1
- export declare const TouchEvents: {
2
- start: string;
3
- move: string;
4
- end: string;
5
- };
@@ -1 +0,0 @@
1
- export declare function getOpacityColor(color: string, opacity: number): string;
@@ -1,2 +0,0 @@
1
- export declare function before(beforeFn: any, beforeFnArgs?: any): (target: any, name: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
2
- export declare function after(afterFn: any, afterFnArgs?: any): (target: any, name: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -1 +0,0 @@
1
- export declare function debounce(delay: any): (target: any, name: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -1 +0,0 @@
1
- export declare function ScrollLocks(target: any, name: string, descriptor: PropertyDescriptor): PropertyDescriptor;
@@ -1 +0,0 @@
1
- export declare function throttle(delay: any): (target: any, name: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -1 +0,0 @@
1
- export declare function timeout(delay: any): (target: any, name: string, descriptor: PropertyDescriptor) => PropertyDescriptor;
@@ -1 +0,0 @@
1
- export declare function wait(target: any, name: string, descriptor: PropertyDescriptor): PropertyDescriptor;
@@ -1,9 +0,0 @@
1
- export declare const evalEventHandleUtil: {
2
- fnExpRE: RegExp;
3
- fnInvokeRE: RegExp;
4
- simplePathRE: RegExp;
5
- eval2: typeof eval;
6
- genHandler(handlerValue: any, otherparam: any): string;
7
- evalFnStr(handleStr: any, $event: any): void;
8
- hEval(val: any): any;
9
- };
@@ -1,15 +0,0 @@
1
- export declare const EventUtil: {
2
- addHandler(element: any, type: string, handler: (ev: any) => void, options?: {
3
- capture?: boolean;
4
- once?: boolean;
5
- passive?: boolean;
6
- }): void;
7
- removeHandler(element: any, type: string, handler: (ev: any) => void, options?: {
8
- capture?: boolean;
9
- passive?: boolean;
10
- }): void;
11
- onceHandler(element: any, type: string, handler: (ev: any) => void): void;
12
- trigger(element: any, type: string, detail: any): void;
13
- emitEvent(vm: any, eventName: any, ...args: any[]): void;
14
- capitalize: (str: any) => any;
15
- };
@@ -1,17 +0,0 @@
1
- interface Options {
2
- array: any[];
3
- indexs?: Ind;
4
- logic?(previousValue: any, currentValue: any, index: any, array: any): void;
5
- }
6
- interface Ind {
7
- [x: string]: any;
8
- [index: number]: {
9
- key: string;
10
- value?: string | string[] | null;
11
- };
12
- }
13
- declare type Result = {
14
- INDEX: any;
15
- } & [];
16
- export declare function ArrayIndex<T extends Result>(options: Options): T;
17
- export {};
@@ -1,4 +0,0 @@
1
- export declare class HiProxy {
2
- init(obj: any): any;
3
- hijack(obj: any): void;
4
- }
@@ -1,4 +0,0 @@
1
- export declare const debounceStart: (fn: any, delay?: number) => () => void;
2
- export declare const debounceEnd: (fn: any, delay?: number) => () => void;
3
- export declare const debounce: (fn: any, delay: any, immediate?: boolean) => () => void;
4
- export declare const throttle: (fn: any, delay: any) => (...args: any) => void;
@@ -1,129 +0,0 @@
1
- export declare class Gradient {
2
- linear(value: string): void;
3
- parse(value: string): void;
4
- }
5
- export declare class Gradients {
6
- constructor(code: string);
7
- input: any;
8
- result: any;
9
- tokens: {
10
- linearGradient: RegExp;
11
- repeatingLinearGradient: RegExp;
12
- radialGradient: RegExp;
13
- repeatingRadialGradient: RegExp;
14
- sideOrCorner: RegExp;
15
- extentKeywords: RegExp;
16
- positionKeywords: RegExp;
17
- pixelValue: RegExp;
18
- percentageValue: RegExp;
19
- emValue: RegExp;
20
- angleValue: RegExp;
21
- startCall: RegExp;
22
- endCall: RegExp;
23
- comma: RegExp;
24
- hexColor: RegExp;
25
- literalColor: RegExp;
26
- rgbColor: RegExp;
27
- rgbaColor: RegExp;
28
- number: RegExp;
29
- };
30
- error(msg: any): void;
31
- matchListDefinitions(): any;
32
- matchListing(matcher: any): any;
33
- matchDefinition(): any;
34
- matchGradient(gradientType: any, pattern: any, orientationMatcher: any): any;
35
- matchColorStop(): any;
36
- matchColor(): any;
37
- matchHexColor(): {
38
- type: any;
39
- value: any;
40
- };
41
- matchRGBAColor(): any;
42
- matchLiteralColor(): {
43
- type: any;
44
- value: any;
45
- };
46
- matchNumber(): any;
47
- matchRGBColor(): any;
48
- matchLinearOrientation(): {
49
- type: any;
50
- value: any;
51
- };
52
- matchListRadialOrientations(): any;
53
- matchSideOrCorner(): {
54
- type: any;
55
- value: any;
56
- };
57
- matchAngle(): {
58
- type: any;
59
- value: any;
60
- };
61
- matchCall(pattern: any, callback: any): any;
62
- matchRadialOrientation(): any;
63
- matchAtPosition(): {
64
- type: string;
65
- value: {
66
- x: {
67
- type: any;
68
- value: any;
69
- };
70
- y: {
71
- type: any;
72
- value: any;
73
- };
74
- };
75
- };
76
- matchPositioning(): {
77
- type: string;
78
- value: {
79
- x: {
80
- type: any;
81
- value: any;
82
- };
83
- y: {
84
- type: any;
85
- value: any;
86
- };
87
- };
88
- };
89
- matchCoordinates(): {
90
- x: {
91
- type: any;
92
- value: any;
93
- };
94
- y: {
95
- type: any;
96
- value: any;
97
- };
98
- };
99
- matchDistance(): {
100
- type: any;
101
- value: any;
102
- };
103
- matchLength(): {
104
- type: any;
105
- value: any;
106
- };
107
- matchPositionKeyword(): {
108
- type: any;
109
- value: any;
110
- };
111
- matchExtentKeyword(): {
112
- type: any;
113
- value: any;
114
- };
115
- scan(regexp: any): any;
116
- consume(size: any): void;
117
- match(type: any, pattern: any, captureIndex: any): {
118
- type: any;
119
- value: any;
120
- };
121
- matchCircle(): {
122
- type: any;
123
- value: any;
124
- };
125
- matchEllipse(): {
126
- type: any;
127
- value: any;
128
- };
129
- }
@@ -1,12 +0,0 @@
1
- export declare function HSVaColor(h?: number, s?: number, v?: number, a?: number): {
2
- h: number;
3
- s: number;
4
- v: number;
5
- a: number;
6
- toHSVA(): number[];
7
- toHSLA(): any[];
8
- toRGBA(): any[];
9
- toCMYK(): any;
10
- toHEXA(): any;
11
- clone: () => any;
12
- };
@@ -1,31 +0,0 @@
1
- interface OPTIONS {
2
- root?: HTMLElement | null;
3
- rootMargin?: string;
4
- threshold?: number | Array<number>;
5
- }
6
- interface ENTRY {
7
- boundingClientRect: any;
8
- intersectionRatio: any;
9
- intersectionRect: any;
10
- isIntersecting: any;
11
- rootBounds: any;
12
- target: any;
13
- time: any;
14
- }
15
- interface ADDOPTIONS {
16
- el: ParentNode;
17
- src?: string;
18
- callback?: (entry?: ENTRY) => void;
19
- out?: (entry?: ENTRY) => void;
20
- }
21
- export declare class IObserver {
22
- constructor(options?: OPTIONS, needDelay?: boolean);
23
- private options;
24
- private callback;
25
- private IO;
26
- private needDelay;
27
- remove(el: ParentNode): void;
28
- add(options: ADDOPTIONS): void;
29
- uninstall(): void;
30
- }
31
- export {};