Kira
5 years ago
59 changed files with 576 additions and 36 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,22 @@
|
||||
import { _Widget } from "../../core/widget"; |
||||
export interface _Combo extends _Widget { |
||||
populate(items: any): void; |
||||
_setEnable(v: boolean): void; |
||||
isViewVisible(): boolean; |
||||
showView(e?: any): void; |
||||
hideView(): void; |
||||
getView(): any; |
||||
getPopupPosition(): any; |
||||
toggle(): void; |
||||
} |
||||
export interface _ComboStatic { |
||||
EVENT_TRIGGER_CHANGE: string; |
||||
EVENT_CHANGE: string; |
||||
EVENT_EXPAND: string; |
||||
EVENT_COLLAPSE: string; |
||||
EVENT_AFTER_INIT: string; |
||||
EVENT_BEFORE_POPUPVIEW: string; |
||||
EVENT_AFTER_POPUPVIEW: string; |
||||
EVENT_BEFORE_HIDEVIEW: string; |
||||
EVENT_AFTER_HIDEVIEW: string; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { _BasicButton } from "../button.basic"; |
||||
export interface _Button extends _BasicButton { |
||||
doRedMark(...args: any): void; |
||||
unRedMark(...args: any): void; |
||||
doHighLight(...args: any): void; |
||||
unHighLight(...args: any): void; |
||||
} |
||||
export interface _ButtonStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,11 @@
|
||||
import { _BasicButton } from "../button.basic"; |
||||
export interface _TextButton extends _BasicButton { |
||||
setStyle(style: any): void; |
||||
doRedMark(...args: any): void; |
||||
unRedMark(...args: any): void; |
||||
doHighLight(...args: any): void; |
||||
unHighLight(...args: any): void; |
||||
} |
||||
export interface _TextButtonStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { _BasicButton } from "../button.basic"; |
||||
export interface _IconTextItem extends _BasicButton { |
||||
doRedMark(...args: any): void; |
||||
unRedMark(...args: any): void; |
||||
doHighLight(...args: any): void; |
||||
unHighLight(...args: any): void; |
||||
} |
||||
export interface _IconTextItemStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,39 @@
|
||||
import { _Single } from "../single"; |
||||
export interface _Editor extends _Single { |
||||
setErrorText(v: string): void; |
||||
getErrorText(): string; |
||||
setWaterMark(v: string): void; |
||||
disableError(): void; |
||||
enableError(): void; |
||||
disableWaterMark(): void; |
||||
enableWaterMark(): void; |
||||
focus(): void; |
||||
blur(): void; |
||||
selectAll(): void; |
||||
onKeyDown(keyCode: number): void; |
||||
getValue(): string; |
||||
getLastValidValue(): string; |
||||
getLastChangedValue(): string; |
||||
isEditing(): boolean; |
||||
isValid(): boolean; |
||||
} |
||||
export interface _EditorStatic { |
||||
EVENT_CHANGE: string; |
||||
EVENT_FOCUS: string; |
||||
EVENT_BLUR: string; |
||||
EVENT_CLICK: string; |
||||
EVENT_KEY_DOWN: string; |
||||
EVENT_SPACE: string; |
||||
EVENT_BACKSPACE: string; |
||||
EVENT_START: string; |
||||
EVENT_PAUSE: string; |
||||
EVENT_STOP: string; |
||||
EVENT_CONFIRM: string; |
||||
EVENT_CHANGE_CONFIRM: string; |
||||
EVENT_VALID: string; |
||||
EVENT_ERROR: string; |
||||
EVENT_ENTER: string; |
||||
EVENT_RESTRICT: string; |
||||
EVENT_REMOVE: string; |
||||
EVENT_EMPTY: string; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { _Single } from "../single"; |
||||
export interface _AbstractLabel extends _Single { |
||||
doRedMark(...args: any): void; |
||||
unRedMark(...args: any): void; |
||||
doHighLight(...args: any): void; |
||||
unHighLight(...args: any): void; |
||||
setText(v: string): void; |
||||
getText(): string; |
||||
setStyle(css: any): void; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { _AbstractLabel } from "./abstract.label"; |
||||
export interface _Label extends _AbstractLabel { |
||||
doRedMark(...args: any): void; |
||||
unRedMark(...args: any): void; |
||||
} |
@ -0,0 +1,9 @@
|
||||
import { _Single } from "../../../base/single/single"; |
||||
export interface _IconChangeButton extends _Single { |
||||
isSelected(): boolean; |
||||
setSelected(v: boolean): void; |
||||
setIcon(cls: string): void; |
||||
} |
||||
export interface _IconChangeButtonStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { _BasicButton } from "../../base/single/button/button.basic"; |
||||
export interface _MultiSelectItem extends _BasicButton { |
||||
doClick(...args: any): void; |
||||
doRedMark(...args: any): void; |
||||
unRedMark(...args: any): void; |
||||
setSelected(v: boolean): void; |
||||
} |
||||
export interface _MultiSelectItemStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,17 @@
|
||||
import { _Widget } from "../../../core/widget"; |
||||
export interface _BubbleCombo extends _Widget { |
||||
hideView(): void; |
||||
showView(): void; |
||||
isViewVisible(): boolean; |
||||
} |
||||
export interface _BubbleComboStatic { |
||||
EVENT_TRIGGER_CHANGE: string; |
||||
EVENT_CHANGE: string; |
||||
EVENT_EXPAND: string; |
||||
EVENT_COLLAPSE: string; |
||||
EVENT_AFTER_INIT: string; |
||||
EVENT_BEFORE_POPUPVIEW: string; |
||||
EVENT_AFTER_POPUPVIEW: string; |
||||
EVENT_BEFORE_HIDEVIEW: string; |
||||
EVENT_AFTER_HIDEVIEW: string; |
||||
} |
@ -0,0 +1,8 @@
|
||||
import { _Widget } from "../../core/widget"; |
||||
export interface _TextValueCombo extends _Widget { |
||||
getValue(): []; |
||||
populate(items: any): void; |
||||
} |
||||
export interface _TextValueComboStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,8 @@
|
||||
import { _Widget } from "../../core/widget"; |
||||
export interface _AllValueMultiTextValueCombo extends _Widget { |
||||
getValue(): []; |
||||
populate(items: any): void; |
||||
} |
||||
export interface _AllValueMultiTextValueComboStatic { |
||||
EVENT_CONFIRM: string; |
||||
} |
@ -0,0 +1,18 @@
|
||||
import { _Widget } from "../widget"; |
||||
export interface _Layout extends _Widget { |
||||
addItem(item: any): any; |
||||
prependItem(item: any): any; |
||||
addItemAt(index: string, item: any): any; |
||||
removeItemAt(indexes: any): void; |
||||
shouldUpdateItem(index: number, item: any): boolean; |
||||
updateItemAt(index: number, item: any): any; |
||||
addItems(items: [], context?: any): void; |
||||
prependItems(items: [], context?: any): void; |
||||
getValue(): []; |
||||
setText(v: string): void; |
||||
update(opt: any): any; |
||||
stroke(items: []): void; |
||||
removeWidget(nameOrWidget: any): void; |
||||
populate(items?: []): void; |
||||
resize(): void; |
||||
} |
@ -0,0 +1,13 @@
|
||||
import { _Layout } from "../layout"; |
||||
export interface _HTapeLayout extends _Layout { |
||||
resize(): void; |
||||
stroke(items: []): void; |
||||
update(): any; |
||||
populate(items?: []): void; |
||||
} |
||||
export interface _VTapeLayout extends _Layout { |
||||
resize(): void; |
||||
stroke(items: []): void; |
||||
update(): void; |
||||
populate(items?: []): void; |
||||
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,31 @@
|
||||
import { _Widget } from "../../core/widget"; |
||||
|
||||
export interface _Combo extends _Widget { |
||||
populate(items: any): void; |
||||
|
||||
_setEnable(v: boolean): void; |
||||
|
||||
isViewVisible(): boolean; |
||||
|
||||
showView(e?: any): void; |
||||
|
||||
hideView(): void; |
||||
|
||||
getView(): any; |
||||
|
||||
getPopupPosition(): any; |
||||
|
||||
toggle(): void; |
||||
} |
||||
|
||||
export interface _ComboStatic { |
||||
EVENT_TRIGGER_CHANGE: string; |
||||
EVENT_CHANGE: string; |
||||
EVENT_EXPAND: string; |
||||
EVENT_COLLAPSE: string; |
||||
EVENT_AFTER_INIT: string; |
||||
EVENT_BEFORE_POPUPVIEW: string; |
||||
EVENT_AFTER_POPUPVIEW: string; |
||||
EVENT_BEFORE_HIDEVIEW: string; |
||||
EVENT_AFTER_HIDEVIEW: string; |
||||
} |
@ -0,0 +1,17 @@
|
||||
import { _BasicButton } from "../button.basic"; |
||||
|
||||
export interface _TextButton extends _BasicButton { |
||||
setStyle(style: any): void; |
||||
|
||||
doRedMark(...args: any): void; |
||||
|
||||
unRedMark(...args: any): void; |
||||
|
||||
doHighLight(...args: any): void; |
||||
|
||||
unHighLight(...args: any): void; |
||||
} |
||||
|
||||
export interface _TextButtonStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,15 @@
|
||||
import { _BasicButton } from "../button.basic"; |
||||
|
||||
export interface _Button extends _BasicButton { |
||||
doRedMark(...args: any): void; |
||||
|
||||
unRedMark(...args: any): void; |
||||
|
||||
doHighLight(...args: any): void; |
||||
|
||||
unHighLight(...args: any): void; |
||||
} |
||||
|
||||
export interface _ButtonStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,15 @@
|
||||
import { _BasicButton } from "../button.basic"; |
||||
|
||||
export interface _IconTextItem extends _BasicButton { |
||||
doRedMark(...args: any): void; |
||||
|
||||
unRedMark(...args: any): void; |
||||
|
||||
doHighLight(...args: any): void; |
||||
|
||||
unHighLight(...args: any): void; |
||||
} |
||||
|
||||
export interface _IconTextItemStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,56 @@
|
||||
import { _Single } from "../single"; |
||||
|
||||
export interface _Editor extends _Single { |
||||
setErrorText(v: string): void; |
||||
|
||||
getErrorText(): string; |
||||
|
||||
setWaterMark(v: string): void; |
||||
|
||||
disableError(): void; |
||||
|
||||
enableError(): void; |
||||
|
||||
disableWaterMark(): void; |
||||
|
||||
enableWaterMark(): void; |
||||
|
||||
focus(): void; |
||||
|
||||
blur(): void; |
||||
|
||||
selectAll(): void; |
||||
|
||||
onKeyDown(keyCode: number): void; |
||||
|
||||
getValue(): string; |
||||
|
||||
getLastValidValue(): string; |
||||
|
||||
getLastChangedValue(): string; |
||||
|
||||
isEditing(): boolean; |
||||
|
||||
isValid(): boolean; |
||||
} |
||||
|
||||
export interface _EditorStatic { |
||||
EVENT_CHANGE: string; |
||||
EVENT_FOCUS: string; |
||||
EVENT_BLUR: string; |
||||
EVENT_CLICK: string; |
||||
EVENT_KEY_DOWN: string; |
||||
EVENT_SPACE: string; |
||||
EVENT_BACKSPACE: string; |
||||
EVENT_START: string; |
||||
EVENT_PAUSE: string; |
||||
EVENT_STOP: string; |
||||
EVENT_CONFIRM: string; |
||||
EVENT_CHANGE_CONFIRM: string; |
||||
EVENT_VALID: string; |
||||
EVENT_ERROR: string; |
||||
EVENT_ENTER: string; |
||||
EVENT_RESTRICT: string; |
||||
EVENT_REMOVE: string; |
||||
EVENT_EMPTY: string; |
||||
} |
@ -0,0 +1,17 @@
|
||||
import { _Single } from "../single"; |
||||
|
||||
export interface _AbstractLabel extends _Single { |
||||
doRedMark(...args: any): void; |
||||
|
||||
unRedMark(...args: any): void; |
||||
|
||||
doHighLight(...args: any): void; |
||||
|
||||
unHighLight(...args: any): void; |
||||
|
||||
setText(v: string): void; |
||||
|
||||
getText(): string; |
||||
|
||||
setStyle(css: any): void; |
||||
} |
@ -0,0 +1,7 @@
|
||||
import { _AbstractLabel } from "./abstract.label"; |
||||
|
||||
export interface _Label extends _AbstractLabel { |
||||
doRedMark(...args: any): void; |
||||
|
||||
unRedMark(...args: any): void |
||||
} |
@ -0,0 +1,13 @@
|
||||
import { _Single } from "../../../base/single/single"; |
||||
|
||||
export interface _IconChangeButton extends _Single { |
||||
isSelected(): boolean; |
||||
|
||||
setSelected(v: boolean): void; |
||||
|
||||
setIcon(cls: string): void; |
||||
} |
||||
|
||||
export interface _IconChangeButtonStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,15 @@
|
||||
import { _BasicButton } from "../../base/single/button/button.basic"; |
||||
|
||||
export interface _MultiSelectItem extends _BasicButton { |
||||
doClick(...args: any): void; |
||||
|
||||
doRedMark(...args: any): void; |
||||
|
||||
unRedMark(...args: any): void; |
||||
|
||||
setSelected(v: boolean): void; |
||||
} |
||||
|
||||
export interface _MultiSelectItemStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,21 @@
|
||||
import { _Widget } from "../../../core/widget"; |
||||
|
||||
export interface _BubbleCombo extends _Widget { |
||||
hideView(): void; |
||||
|
||||
showView(): void; |
||||
|
||||
isViewVisible(): boolean; |
||||
} |
||||
|
||||
export interface _BubbleComboStatic { |
||||
EVENT_TRIGGER_CHANGE: string; |
||||
EVENT_CHANGE: string; |
||||
EVENT_EXPAND: string; |
||||
EVENT_COLLAPSE: string; |
||||
EVENT_AFTER_INIT: string; |
||||
EVENT_BEFORE_POPUPVIEW: string; |
||||
EVENT_AFTER_POPUPVIEW: string; |
||||
EVENT_BEFORE_HIDEVIEW: string; |
||||
EVENT_AFTER_HIDEVIEW: string; |
||||
} |
@ -0,0 +1,11 @@
|
||||
import { _Widget } from "../../core/widget"; |
||||
|
||||
export interface _TextValueCombo extends _Widget { |
||||
getValue(): []; |
||||
|
||||
populate(items: any): void; |
||||
} |
||||
|
||||
export interface _TextValueComboStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,11 @@
|
||||
import { _Widget } from "../../core/widget"; |
||||
|
||||
export interface _AllValueMultiTextValueCombo extends _Widget { |
||||
getValue(): []; |
||||
|
||||
populate(items: any): void; |
||||
} |
||||
|
||||
export interface _AllValueMultiTextValueComboStatic { |
||||
EVENT_CONFIRM: string; |
||||
} |
@ -0,0 +1,33 @@
|
||||
import { _Widget } from "../widget"; |
||||
|
||||
export interface _Layout extends _Widget { |
||||
addItem(item: any): any; |
||||
|
||||
prependItem(item: any): any; |
||||
|
||||
addItemAt(index: string, item: any): any; |
||||
|
||||
removeItemAt(indexes: any): void; |
||||
|
||||
shouldUpdateItem(index: number, item: any): boolean; |
||||
|
||||
updateItemAt(index: number, item: any): any; |
||||
|
||||
addItems(items: [], context?: any): void; |
||||
|
||||
prependItems(items: [], context?: any): void; |
||||
|
||||
getValue(): []; |
||||
|
||||
setText(v: string): void; |
||||
|
||||
update(opt: any): any; |
||||
|
||||
stroke(items: []): void; |
||||
|
||||
removeWidget(nameOrWidget: any): void; |
||||
|
||||
populate(items?: []): void; |
||||
|
||||
resize(): void; |
||||
} |
@ -0,0 +1,21 @@
|
||||
import { _Layout } from "../layout"; |
||||
|
||||
export interface _HTapeLayout extends _Layout { |
||||
resize(): void; |
||||
|
||||
stroke(items: []): void; |
||||
|
||||
update(): any; |
||||
|
||||
populate(items?: []): void; |
||||
} |
||||
|
||||
export interface _VTapeLayout extends _Layout { |
||||
resize(): void; |
||||
|
||||
stroke(items: []): void; |
||||
|
||||
update(): void; |
||||
|
||||
populate(items?: []): void; |
||||
} |
Loading…
Reference in new issue