@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
@@ -1,162 +0,0 @@
1
- export declare enum KeyCodes {
2
- alt = 18,
3
- arrowDown = 40,
4
- arrowLeft = 37,
5
- arrowRight = 39,
6
- arrowUp = 38,
7
- back = 8,
8
- backSlash = 220,
9
- break = 19,
10
- capsLock = 20,
11
- closeBracket = 221,
12
- colon = 186,
13
- colon2 = 59,
14
- comma = 188,
15
- ctrl = 17,
16
- delete = 46,
17
- end = 35,
18
- enter = 13,
19
- equals = 187,
20
- equals2 = 61,
21
- equals3 = 107,
22
- escape = 27,
23
- forwardSlash = 191,
24
- function1 = 112,
25
- function10 = 121,
26
- function11 = 122,
27
- function12 = 123,
28
- function2 = 113,
29
- function3 = 114,
30
- function4 = 115,
31
- function5 = 116,
32
- function6 = 117,
33
- function7 = 118,
34
- function8 = 119,
35
- function9 = 120,
36
- home = 36,
37
- insert = 45,
38
- menu = 93,
39
- minus = 189,
40
- minus2 = 109,
41
- numLock = 144,
42
- numPad0 = 96,
43
- numPad1 = 97,
44
- numPad2 = 98,
45
- numPad3 = 99,
46
- numPad4 = 100,
47
- numPad5 = 101,
48
- numPad6 = 102,
49
- numPad7 = 103,
50
- numPad8 = 104,
51
- numPad9 = 105,
52
- numPadDivide = 111,
53
- numPadDot = 110,
54
- numPadMinus = 109,
55
- numPadMultiply = 106,
56
- numPadPlus = 107,
57
- openBracket = 219,
58
- pageDown = 34,
59
- pageUp = 33,
60
- period = 190,
61
- print = 44,
62
- quote = 222,
63
- scrollLock = 145,
64
- shift = 16,
65
- space = 32,
66
- tab = 9,
67
- tilde = 192,
68
- windowsLeft = 91,
69
- windowsOpera = 219,
70
- windowsRight = 92
71
- }
72
- export declare const keyCodeAlt: number;
73
- export declare const keyCodeArrowDown: number;
74
- export declare const keyCodeArrowLeft: number;
75
- export declare const keyCodeArrowRight: number;
76
- export declare const keyCodeArrowUp: number;
77
- export declare const keyCodeBack: number;
78
- export declare const keyCodeBackSlash: number;
79
- export declare const keyCodeBreak: number;
80
- export declare const keyCodeCapsLock: number;
81
- export declare const keyCodeCloseBracket: number;
82
- export declare const keyCodeColon: number;
83
- export declare const keyCodeColon2: number;
84
- export declare const keyCodeComma: number;
85
- export declare const keyCodeCtrl: number;
86
- export declare const keyCodeDelete: number;
87
- export declare const keyCodeEnd: number;
88
- export declare const keyCodeEnter: number;
89
- export declare const keyCodeEquals: number;
90
- export declare const keyCodeEquals2: number;
91
- export declare const keyCodeEquals3: number;
92
- export declare const keyCodeEscape: number;
93
- export declare const keyCodeForwardSlash: number;
94
- export declare const keyCodeFunction1: number;
95
- export declare const keyCodeFunction10: number;
96
- export declare const keyCodeFunction11: number;
97
- export declare const keyCodeFunction12: number;
98
- export declare const keyCodeFunction2: number;
99
- export declare const keyCodeFunction3: number;
100
- export declare const keyCodeFunction4: number;
101
- export declare const keyCodeFunction5: number;
102
- export declare const keyCodeFunction6: number;
103
- export declare const keyCodeFunction7: number;
104
- export declare const keyCodeFunction8: number;
105
- export declare const keyCodeFunction9: number;
106
- export declare const keyCodeHome: number;
107
- export declare const keyCodeInsert: number;
108
- export declare const keyCodeMenu: number;
109
- export declare const keyCodeMinus: number;
110
- export declare const keyCodeMinus2: number;
111
- export declare const keyCodeNumLock: number;
112
- export declare const keyCodeNumPad0: number;
113
- export declare const keyCodeNumPad1: number;
114
- export declare const keyCodeNumPad2: number;
115
- export declare const keyCodeNumPad3: number;
116
- export declare const keyCodeNumPad4: number;
117
- export declare const keyCodeNumPad5: number;
118
- export declare const keyCodeNumPad6: number;
119
- export declare const keyCodeNumPad7: number;
120
- export declare const keyCodeNumPad8: number;
121
- export declare const keyCodeNumPad9: number;
122
- export declare const keyCodeNumPadDivide: number;
123
- export declare const keyCodeNumPadDot: number;
124
- export declare const keyCodeNumPadMinus: number;
125
- export declare const keyCodeNumPadMultiply: number;
126
- export declare const keyCodeNumPadPlus: number;
127
- export declare const keyCodeOpenBracket: number;
128
- export declare const keyCodePageDown: number;
129
- export declare const keyCodePageUp: number;
130
- export declare const keyCodePeriod: number;
131
- export declare const keyCodePrint: number;
132
- export declare const keyCodeQuote: number;
133
- export declare const keyCodeScrollLock: number;
134
- export declare const keyCodeShift: number;
135
- export declare const keyCodeSpace: number;
136
- export declare const keyCodeTab: number;
137
- export declare const keyCodeTilde: number;
138
- export declare const keyCodeWindowsLeft: number;
139
- export declare const keyCodeWindowsOpera: number;
140
- export declare const keyCodeWindowsRight: number;
141
- export declare const keyArrowDown: "ArrowDown";
142
- export declare const keyArrowLeft: "ArrowLeft";
143
- export declare const keyArrowRight: "ArrowRight";
144
- export declare const keyArrowUp: "ArrowUp";
145
- export declare const keyEnter: "Enter";
146
- export declare const keyEscape: "Escape";
147
- export declare const keyHome: "Home";
148
- export declare const keyEnd: "End";
149
- export declare const keyFunction2: "F2";
150
- export declare const keyPageDown: "PageDown";
151
- export declare const keyPageUp: "PageUp";
152
- export declare const keySpace: " ";
153
- export declare const keyTab: "Tab";
154
- export declare const keyBackspace: "Backspace";
155
- export declare const keyDelete: "Delete";
156
- export declare const ArrowKeys: {
157
- readonly ArrowDown: "ArrowDown";
158
- readonly ArrowLeft: "ArrowLeft";
159
- readonly ArrowRight: "ArrowRight";
160
- readonly ArrowUp: "ArrowUp";
161
- };
162
- export declare type ArrowKeys = typeof ArrowKeys[keyof typeof ArrowKeys];
@@ -1,11 +0,0 @@
1
- export declare class Calc {
2
- private static _instance;
3
- static get instance(): Calc;
4
- add(num1: number, num2: number): number;
5
- sub(num1: number, num2: number): number;
6
- div(num1: number, num2: number): number;
7
- mul(num1: number, num2: number): number;
8
- private countDecimals;
9
- private convertToInt;
10
- private getCorrectResult;
11
- }
@@ -1,7 +0,0 @@
1
- interface Options {
2
- old: object;
3
- new: object;
4
- key: Array<[string, string, string]>;
5
- }
6
- export declare function Assign(option: Array<Options>): void;
7
- export {};
@@ -1,2 +0,0 @@
1
- export declare const Exist: (froms: any, selectors?: any) => any;
2
- export declare function ExistFn(froms: any, selectors?: any): Promise<any>;
@@ -1 +0,0 @@
1
- export declare function Freeze(obj: any): void;
@@ -1,14 +0,0 @@
1
- export declare class LinkedList {
2
- constructor();
3
- head: any;
4
- tail: any;
5
- length: number;
6
- append(value: any, type?: 'head' | 'tail'): void;
7
- insert(position: number, value: any): true | void;
8
- indexOf(value: any): number;
9
- removeAt(position: any): any;
10
- remove(value: any): any;
11
- isEmpty(): boolean;
12
- size(): number;
13
- toString(): string;
14
- }
@@ -1,15 +0,0 @@
1
- import type { DIR_TYPE } from "../shared/interface/type";
2
- declare type Param = {
3
- dir: DIR_TYPE;
4
- };
5
- export declare class Seat {
6
- private modal;
7
- private target;
8
- private param;
9
- private Request;
10
- enable(modal: any, target: HTMLElement, param: Param): void;
11
- private dirFn;
12
- disable(): void;
13
- }
14
- export declare function Place(modal: any, target: any, param: Param): void;
15
- export {};
@@ -1 +0,0 @@
1
- export declare function getSuffix(filename: any): RegExpExecArray;
@@ -1 +0,0 @@
1
- export declare function MARKER(): any;
@@ -1 +0,0 @@
1
- export declare function Trim(Obj: any): any;
@@ -1,2 +0,0 @@
1
- export declare const camelCaseToHyphen: (str: any) => any;
2
- export declare const transformCamelStr: (str: any) => any;
@@ -1,7 +0,0 @@
1
- export declare function isColor(color: any): boolean;
2
- export declare function isImage(str: any): boolean;
3
- export declare function Background(value: string, isString?: any): string | {
4
- 'background-color': string;
5
- } | {
6
- 'background-image': string;
7
- };
@@ -1,3 +0,0 @@
1
- declare type StyleName = 'Cursor' | 'PoiNo' | 'PoiAll' | 'PosR' | 'PosA' | 'PosF' | 'OH' | 'OA' | 'VisHi' | 'VisVi' | 'DisBlock' | 'DisInBlock' | 'DisIn' | 'DisFlex' | 'DisGrid' | 'DisNo' | 'WS' | 'WW' | 'WB' | 'TEll' | 'BCover' | 'TL' | 'TR' | 'TC' | 'Opa0' | 'Opa1' | 'Inset' | 'Content';
2
- export declare function BasicsStyle(SName?: Array<StyleName>): string;
3
- export {};
@@ -1,10 +0,0 @@
1
- export declare class Classic {
2
- private static _instance;
3
- static get instance(): Classic;
4
- constructor();
5
- has: (elem: any, c: any) => boolean;
6
- add: (elem: any, c: any) => void;
7
- remove: (elem: any, c: any) => void;
8
- classReg(className: any): RegExp;
9
- toggle(elem: any, c: any): void;
10
- }
@@ -1 +0,0 @@
1
- export declare const disabledCursor = "not-allowed";
@@ -1,3 +0,0 @@
1
- export declare type CSSDisplayPropertyValue = "block" | "contents" | "flex" | "grid" | "inherit" | "initial" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "inline-table" | "list-item" | "none" | "run-in" | "table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row" | "table-row-group";
2
- export declare const hidden = ":host([hidden]),:host([hide]){display:none}";
3
- export declare function display(displayValue: CSSDisplayPropertyValue): string;
@@ -1,6 +0,0 @@
1
- export * from "./disabled";
2
- export * from "./display";
3
- export * from "./style";
4
- export * from "./classic";
5
- export * from "./units";
6
- export * from "./background";
@@ -1 +0,0 @@
1
- export declare function resize(img: any, maxWidth: any, maxHeight: any): void;
@@ -1,12 +0,0 @@
1
- export declare class Screens {
2
- private static _case;
3
- static get case(): Screens;
4
- constructor();
5
- isMobile: boolean;
6
- pageSize: any;
7
- size: number;
8
- toVw(value: number): string;
9
- toPerce(value: number): string;
10
- toPx(value: number): string;
11
- toEm(value: number): string;
12
- }
@@ -1,14 +0,0 @@
1
- export declare function Style(selector: any): (props: any, value?: any) => void;
2
- export declare function SetProperty(selector: any): (props: Array<Array<string>>) => void;
3
- export declare function RemoveStyle(selector: any): (props: Array<string>) => void;
4
- export declare function Css(selector: any): (props: any, value?: any) => any;
5
- export declare function StyleInsertRule(selector: any): (value: (string | CSSStyleSheet)[]) => any;
6
- export declare function TransitionEnd(selector: any): (callback: any) => void;
7
- export declare function AnimationEnd(selector: any): (callback: any) => void;
8
- export declare function OuterWidth(selector: any): (includeMargins?: boolean) => any;
9
- export declare function OuterHeight(selector: any): (includeMargins?: boolean) => any;
10
- export declare function Offset(selector: any): {
11
- top: number;
12
- left: number;
13
- };
14
- export declare function radiusStr(paramsList: []): string;
@@ -1,19 +0,0 @@
1
- import type { COLOR_TYPE } from "../../shared/interface/type";
2
- export declare const StyleCalc: {
3
- color(Color: COLOR_TYPE): string;
4
- shadow(Shadow: {
5
- color: COLOR_TYPE;
6
- X: number;
7
- Y: number;
8
- blur: number;
9
- spread: number;
10
- }): string;
11
- radius(Radius: {
12
- lt: number;
13
- rt: number;
14
- lb: number;
15
- rb: number;
16
- isRadiusAssociated?: boolean;
17
- }): string;
18
- gutter(Gutter: any[]): string;
19
- };
@@ -1,6 +0,0 @@
1
- export declare class StyleDeclare {
2
- constructor();
3
- styleArray: Array<any>;
4
- bodyStyle: CSSStyleDeclaration;
5
- init(): void;
6
- }
@@ -1 +0,0 @@
1
- export declare function Units(value: any, unit?: string): any;
@@ -1 +0,0 @@
1
- export declare function visibility(): string;
@@ -1 +0,0 @@
1
- export declare function WrapStyle(): string;
@@ -1,12 +0,0 @@
1
- export declare class Throttle {
2
- _THROTTlE: any;
3
- _Time: number;
4
- init(callback: () => void, time?: number): void;
5
- }
6
- export declare class Specific {
7
- timeOut: number;
8
- init(options: {
9
- front: string | (() => boolean);
10
- callback: () => void;
11
- }): void;
12
- }
@@ -1,17 +0,0 @@
1
- declare const toString: (value: any) => any;
2
- export declare const isNull: (value: any) => boolean;
3
- export declare const isUndefined: (value: undefined) => boolean;
4
- export declare const isBoolean: (value: any) => boolean;
5
- export declare const isNumber: (value: any) => boolean;
6
- export declare const isString: (value: any) => boolean;
7
- export declare const isSymbol: (value: any) => boolean;
8
- export declare const isObject: (value: any) => boolean;
9
- export declare const isRegExp: (value: any) => boolean;
10
- export declare const isEmptyObj: (obj: any) => boolean;
11
- export declare const isArray: (value: any) => boolean;
12
- export declare const isFunction: (value: any) => boolean;
13
- export declare const isEmpty: (value: {
14
- length?: any;
15
- toString?: any;
16
- } | null | undefined) => boolean;
17
- export {};
@@ -1,29 +0,0 @@
1
- import { HIElement } from 'hi-element';
2
- export declare class HiCollectConflate extends HIElement {
3
- constructor();
4
- Overlay: HTMLElement;
5
- isLowend: boolean;
6
- video: HTMLVideoElement;
7
- contentWrap: HTMLDivElement;
8
- isCoupon: boolean;
9
- prizeName: string;
10
- prizeQuota: string;
11
- prizeImg: string;
12
- aniImg: HTMLImageElement;
13
- ImgList: Array<any>;
14
- isClick: boolean;
15
- timer: any;
16
- index: number;
17
- row: number;
18
- col: number;
19
- show: boolean;
20
- showChanged(oldValue: any, newValue: any): void;
21
- connectedCallback(): void;
22
- isIphone(): boolean;
23
- init(): void;
24
- resize(): void;
25
- accept(): void;
26
- play(): void;
27
- close(): void;
28
- update(result: any): void;
29
- }
@@ -1 +0,0 @@
1
- export declare const ConflateStyles: import("hi-element").ElementStyles;
@@ -1 +0,0 @@
1
- export * from './conflate';
@@ -1,4 +0,0 @@
1
- export * from './conflate';
2
- export * from './list';
3
- export * from './prize';
4
- export * from './swipe';
@@ -1 +0,0 @@
1
- export * from './list';
@@ -1,10 +0,0 @@
1
- import { HIElement } from 'hi-element';
2
- export declare class HiCollectList extends HIElement {
3
- constructor();
4
- isVideo: boolean;
5
- cardItem: Array<any>;
6
- connectedCallback(): void;
7
- SynthesisFn(): void;
8
- revert(): void;
9
- update(result: any): void;
10
- }
@@ -1 +0,0 @@
1
- export declare const ListStyles: import("hi-element").ElementStyles;
@@ -1,11 +0,0 @@
1
- export declare const param: {
2
- path: string;
3
- pathys: string;
4
- coupon: string;
5
- card1: string;
6
- card2: string;
7
- card3: string;
8
- card4: string;
9
- card5: string;
10
- card6: string;
11
- };
@@ -1 +0,0 @@
1
- export * from './prize';
@@ -1,22 +0,0 @@
1
- import { HIElement } from 'hi-element';
2
- export declare class HiCollectPrize extends HIElement {
3
- constructor();
4
- Overlay: HTMLElement;
5
- video: HTMLVideoElement;
6
- contentWrap: HTMLDivElement;
7
- prizeName: string;
8
- prizeQuota: string;
9
- isClick: boolean;
10
- imgSrc: string;
11
- type: 1 | 2;
12
- index: number;
13
- indexChanged(oldValue: any, newValue: any): void;
14
- number: number;
15
- show: boolean;
16
- showChanged(oldValue: any, newValue: any): void;
17
- connectedCallback(): void;
18
- accept(): void;
19
- init(): void;
20
- close(): void;
21
- update(result: any): void;
22
- }
@@ -1 +0,0 @@
1
- export declare const PrizeStyles: import("hi-element").ElementStyles;
@@ -1 +0,0 @@
1
- export * from 'hi-element';
@@ -1,10 +0,0 @@
1
- import type { CONFIG_TYPE } from '../interface/type';
2
- export declare class HI_CONFIG {
3
- private static _case;
4
- static get case(): HI_CONFIG;
5
- constructor();
6
- readonly config: CONFIG_TYPE;
7
- install(options: Array<any>): void;
8
- init(options: CONFIG_TYPE, config?: CONFIG_TYPE): void;
9
- }
10
- export declare function hiConfigStyle(): string;
@@ -1 +0,0 @@
1
- export declare function hello(): void;
@@ -1,9 +0,0 @@
1
- export declare const ENVIRO: {
2
- paths: {
3
- ERSOURCE: string;
4
- ZJ_SERVER_URL: string;
5
- SYN_SERVER_URL: string;
6
- SERVER_URL_MPS_GW: string;
7
- HW_URL: string;
8
- };
9
- };
@@ -1 +0,0 @@
1
- export * from "./config/config";
@@ -1,50 +0,0 @@
1
- export declare type SITE = 'top' | 'right' | 'bottom' | 'left';
2
- export declare type PLACE = SITE | 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
3
- export declare type DIR_TYPE = PLACE | 'righttop' | 'rightbottom' | 'lefttop' | 'leftbottom' | 'auto';
4
- export declare type SIZE_TYPE = 'large' | 'small' | 'default' | string;
5
- export declare type LAYOUT_TYPE = 'horizontal' | 'vertical';
6
- export declare type ALIGN = 'left' | 'center' | 'right' | 'sides';
7
- export declare type MESSAGE_TYPE = 'info' | 'success' | 'error' | 'warning' | 'loading' | 'show';
8
- export interface COLOR_TYPE {
9
- value: string;
10
- isGradient: boolean;
11
- gradient?: {
12
- type: string;
13
- value: string;
14
- stop: Array<any>;
15
- angle: number;
16
- direction: string;
17
- };
18
- }
19
- interface RADIUS {
20
- radius?: number;
21
- }
22
- interface DURATION {
23
- duration?: number;
24
- }
25
- interface MARGIN {
26
- margin?: number;
27
- }
28
- export interface CONFIG_TYPE {
29
- theme?: object;
30
- button?: RADIUS & {
31
- size?: SIZE_TYPE;
32
- };
33
- message?: RADIUS & DURATION & {
34
- top?: number;
35
- };
36
- modal?: RADIUS;
37
- notify?: RADIUS & DURATION;
38
- toast?: RADIUS & DURATION;
39
- popup?: RADIUS & {
40
- width?: number;
41
- height?: number;
42
- };
43
- space?: {
44
- gutter?: number;
45
- };
46
- captcha?: RADIUS & MARGIN;
47
- float?: MARGIN;
48
- actions?: RADIUS & MARGIN;
49
- }
50
- export {};
@@ -1 +0,0 @@
1
- export declare function applyMixins(derivedCtor: any, ...baseCtors: any[]): void;
@@ -1,15 +0,0 @@
1
- import { HIElement } from 'hi-element';
2
- import type { SIZE_TYPE } from '../interface/type';
3
- export declare class HIElementBase extends HIElement {
4
- isReady: boolean;
5
- color: string;
6
- colorChanged(oldValue: any, newValue: any): void;
7
- size: SIZE_TYPE;
8
- sizeChanged(oldValue: any, newValue: any): void;
9
- disabled: boolean;
10
- connectedCallback(): void;
11
- injection(callback?: (r: any) => void): void;
12
- setValueFn(name: any, val: any): void;
13
- update(property: object, callback?: (result: any) => void): void;
14
- childrenFn(callback?: any): void;
15
- }
@@ -1,17 +0,0 @@
1
- import { HIElementBase } from './hiElementBase';
2
- export declare class HIElementForm extends HIElementBase {
3
- readonly: boolean;
4
- label: string;
5
- placeholder: string;
6
- maxlength: number;
7
- minlength: number;
8
- defaultvalue: string;
9
- validity: boolean;
10
- required: boolean;
11
- invalid: boolean;
12
- indeterminate: boolean;
13
- checked: boolean;
14
- value: string;
15
- errormsg: string;
16
- type: string;
17
- }
@@ -1,26 +0,0 @@
1
- import { HIElementBase } from './hiElementBase';
2
- export declare class HIElementStyle extends HIElementBase {
3
- _Observable: import("hi-element").ExpressionNotifier<any, void, any>;
4
- WrapStyle: HTMLElement;
5
- background: string;
6
- backgroundChanged(oldValue: any, newValue: any): void;
7
- setValue(v: any): void;
8
- margin: string;
9
- marginChanged(oldValue: any, newValue: any): void;
10
- padding: string;
11
- paddingChanged(oldValue: any, newValue: any): void;
12
- border: string;
13
- borderChanged(oldValue: any, newValue: any): void;
14
- radius: string;
15
- radiusChanged(oldValue: any, newValue: any): void;
16
- color: string;
17
- colorChanged(oldValue: any, newValue: any): void;
18
- width: string;
19
- widthChanged(oldValue: any, newValue: any): void;
20
- height: string;
21
- heightChanged(oldValue: any, newValue: any): void;
22
- gutter: number | string;
23
- gutterChanged(oldValue: any, newValue: any): void;
24
- shadow: number | string;
25
- shadowChanged(oldValue: any, newValue: any): void;
26
- }