Browse Source

refactor: 修改args参数写法

es6
Kira 5 years ago
parent
commit
58e9f67fea
  1. 2
      dist/2.0/fineui.ie.min.js
  2. 2
      dist/2.0/fineui.min.js
  3. 2
      dist/bundle.ie.min.js
  4. 2
      dist/bundle.min.js
  5. 2
      dist/fineui.ie.min.js
  6. 2
      dist/fineui.min.js
  7. 8
      dist/lib/base/single/button/buttons/button.d.ts
  8. 8
      dist/lib/base/single/button/buttons/button.text.d.ts
  9. 8
      dist/lib/base/single/button/listitem/icontextitem.d.ts
  10. 8
      dist/lib/base/single/label/abstract.label.d.ts
  11. 4
      dist/lib/base/single/label/label.d.ts
  12. 6
      dist/lib/case/button/item.multiselect.d.ts
  13. 8
      dist/lib/case/editor/editor.sign.d.ts
  14. 4
      dist/lib/core/base.d.ts
  15. 2
      dist/utils.min.js

2
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/lib/base/single/button/buttons/button.d.ts vendored

@ -1,9 +1,9 @@
import { _BasicButton } from "../button.basic"; import { _BasicButton } from "../button.basic";
export interface _Button extends _BasicButton { export interface _Button extends _BasicButton {
doRedMark(...args: any): void; doRedMark(...args: any[]): void;
unRedMark(...args: any): void; unRedMark(...args: any[]): void;
doHighLight(...args: any): void; doHighLight(...args: any[]): void;
unHighLight(...args: any): void; unHighLight(...args: any[]): void;
} }
export interface _ButtonStatic { export interface _ButtonStatic {
EVENT_CHANGE: string; EVENT_CHANGE: string;

8
dist/lib/base/single/button/buttons/button.text.d.ts vendored

@ -1,10 +1,10 @@
import { _BasicButton } from "../button.basic"; import { _BasicButton } from "../button.basic";
export interface _TextButton extends _BasicButton { export interface _TextButton extends _BasicButton {
setStyle(style: any): void; setStyle(style: any): void;
doRedMark(...args: any): void; doRedMark(...args: any[]): void;
unRedMark(...args: any): void; unRedMark(...args: any[]): void;
doHighLight(...args: any): void; doHighLight(...args: any[]): void;
unHighLight(...args: any): void; unHighLight(...args: any[]): void;
} }
export interface _TextButtonStatic { export interface _TextButtonStatic {
EVENT_CHANGE: string; EVENT_CHANGE: string;

8
dist/lib/base/single/button/listitem/icontextitem.d.ts vendored

@ -1,9 +1,9 @@
import { _BasicButton } from "../button.basic"; import { _BasicButton } from "../button.basic";
export interface _IconTextItem extends _BasicButton { export interface _IconTextItem extends _BasicButton {
doRedMark(...args: any): void; doRedMark(...args: any[]): void;
unRedMark(...args: any): void; unRedMark(...args: any[]): void;
doHighLight(...args: any): void; doHighLight(...args: any[]): void;
unHighLight(...args: any): void; unHighLight(...args: any[]): void;
} }
export interface _IconTextItemStatic { export interface _IconTextItemStatic {
EVENT_CHANGE: string; EVENT_CHANGE: string;

8
dist/lib/base/single/label/abstract.label.d.ts vendored

@ -1,9 +1,9 @@
import { _Single } from "../single"; import { _Single } from "../single";
export interface _AbstractLabel extends _Single { export interface _AbstractLabel extends _Single {
doRedMark(...args: any): void; doRedMark(...args: any[]): void;
unRedMark(...args: any): void; unRedMark(...args: any[]): void;
doHighLight(...args: any): void; doHighLight(...args: any[]): void;
unHighLight(...args: any): void; unHighLight(...args: any[]): void;
setText(v: string): void; setText(v: string): void;
getText(): string; getText(): string;
setStyle(css: any): void; setStyle(css: any): void;

4
dist/lib/base/single/label/label.d.ts vendored

@ -1,5 +1,5 @@
import { _AbstractLabel } from "./abstract.label"; import { _AbstractLabel } from "./abstract.label";
export interface _Label extends _AbstractLabel { export interface _Label extends _AbstractLabel {
doRedMark(...args: any): void; doRedMark(...args: any[]): void;
unRedMark(...args: any): void; unRedMark(...args: any[]): void;
} }

6
dist/lib/case/button/item.multiselect.d.ts vendored

@ -1,8 +1,8 @@
import { _BasicButton } from "../../base/single/button/button.basic"; import { _BasicButton } from "../../base/single/button/button.basic";
export interface _MultiSelectItem extends _BasicButton { export interface _MultiSelectItem extends _BasicButton {
doClick(...args: any): void; doClick(...args: any[]): void;
doRedMark(...args: any): void; doRedMark(...args: any[]): void;
unRedMark(...args: any): void; unRedMark(...args: any[]): void;
setSelected(v: boolean): void; setSelected(v: boolean): void;
} }
export interface _MultiSelectItemStatic { export interface _MultiSelectItemStatic {

8
dist/lib/case/editor/editor.sign.d.ts vendored

@ -5,10 +5,10 @@ export interface _SignEditor extends _Widget {
setWaterMark(v: string): void; setWaterMark(v: string): void;
focus(): void; focus(): void;
blur(): void; blur(): void;
doRedMark(...args: any): void; doRedMark(...args: any[]): void;
unRedMark(...args: any): void; unRedMark(...args: any[]): void;
doHighLight(...args: any): void; doHighLight(...args: any[]): void;
unHighLight(...args: any): void; unHighLight(...args: any[]): void;
isValid(): boolean; isValid(): boolean;
setErrorText(v: string): void; setErrorText(v: string): void;
getErrorText(): string; getErrorText(): string;

4
dist/lib/core/base.d.ts vendored

@ -152,8 +152,8 @@ export interface _base {
partial: (func: Function, ...partials: any) => Function; partial: (func: Function, ...partials: any) => Function;
debounce: (func: Function, wait?: number, options?: any) => Function; debounce: (func: Function, wait?: number, options?: any) => Function;
throttle: (func: Function, wait?: number, options?: any) => Function; throttle: (func: Function, wait?: number, options?: any) => Function;
delay: (func: Function, wait: number, ...args: any) => number; delay: (func: Function, wait: number, ...args: any[]) => number;
defer: (func: Function, ...args: any) => number; defer: (func: Function, ...args: any[]) => number;
wrap: (value: any, wrapper: Function) => Function; wrap: (value: any, wrapper: Function) => Function;
nextTick: (func: Function) => Promise<any>; nextTick: (func: Function) => Promise<any>;
random: (min?: number, max?: number, floating?: boolean) => number; random: (min?: number, max?: number, floating?: boolean) => number;

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save