Browse Source

Merge remote-tracking branch 'origin/master' into bugfix

es6
iapyang 4 years ago
parent
commit
40cc329453
  1. 2
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 689
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 663
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 1019
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 689
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 53
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 24
      dist/lib/base/combination/combo.d.ts
  29. 30
      dist/lib/base/combination/group.button.d.ts
  30. 13
      dist/lib/base/combination/tab.d.ts
  31. 6
      dist/lib/base/foundation/message.d.ts
  32. 12
      dist/lib/base/pane.d.ts
  33. 24
      dist/lib/base/single/button/button.basic.d.ts
  34. 8
      dist/lib/base/single/button/button.node.d.ts
  35. 11
      dist/lib/base/single/button/buttons/button.d.ts
  36. 12
      dist/lib/base/single/button/buttons/button.text.d.ts
  37. 11
      dist/lib/base/single/button/listitem/icontextitem.d.ts
  38. 40
      dist/lib/base/single/editor/editor.d.ts
  39. 8
      dist/lib/base/single/iframe/iframe.d.ts
  40. 8
      dist/lib/base/single/input/checkbox.d.ts
  41. 35
      dist/lib/base/single/input/input.d.ts
  42. 11
      dist/lib/base/single/label/abstract.label.d.ts
  43. 6
      dist/lib/base/single/label/label.d.ts
  44. 17
      dist/lib/base/single/single.d.ts
  45. 10
      dist/lib/base/single/text.d.ts
  46. 6
      dist/lib/base/single/trigger/trigger.d.ts
  47. 10
      dist/lib/case/button/icon/icon.change.d.ts
  48. 11
      dist/lib/case/button/item.multiselect.d.ts
  49. 18
      dist/lib/case/combo/bubblecombo/combo.bubble.d.ts
  50. 8
      dist/lib/case/combo/combo.textvalue.d.ts
  51. 11
      dist/lib/case/combo/searchtextvaluecombo/combo.searchtextvalue.d.ts
  52. 39
      dist/lib/case/editor/editor.sign.d.ts
  53. 5
      dist/lib/case/loading/loading_pane.d.ts
  54. 21
      dist/lib/component/treevaluechooser/abstract.treevaluechooser.d.ts
  55. 4
      dist/lib/component/treevaluechooser/abstract.treevaluechooser.list.d.ts
  56. 9
      dist/lib/core/action/action.d.ts
  57. 4
      dist/lib/core/action/action.show.d.ts
  58. 8
      dist/lib/core/behavior/behavior.d.ts
  59. 4
      dist/lib/core/behavior/behavior.highlight.d.ts
  60. 4
      dist/lib/core/behavior/behavior.redmark.d.ts
  61. 5
      dist/lib/core/platform/web/detectElementResize.d.ts
  62. 121
      dist/lib/core/platform/web/dom.d.ts
  63. 5
      dist/lib/core/platform/web/eventListener.d.ts
  64. 12
      dist/lib/core/platform/web/function.d.ts
  65. 10
      dist/lib/core/platform/web/index.d.ts
  66. 3
      dist/lib/core/platform/web/load.d.ts
  67. 19
      dist/lib/core/wrapper/layout.d.ts
  68. 6
      dist/lib/core/wrapper/layout/adapt/adapt.leftvertical.d.ts
  69. 7
      dist/lib/core/wrapper/layout/layout.absolute.d.ts
  70. 6
      dist/lib/core/wrapper/layout/layout.default.d.ts
  71. 14
      dist/lib/core/wrapper/layout/layout.tape.d.ts
  72. 6
      dist/lib/core/wrapper/layout/layout.vertical.d.ts
  73. 189
      dist/lib/index.d.ts
  74. 12
      dist/lib/widget/downlist/combo.downlist.d.ts
  75. 10
      dist/lib/widget/yearmonth/popup.yearmonth.d.ts
  76. 2
      dist/resource.css
  77. 14
      dist/utils.js
  78. 2
      dist/utils.js.map
  79. 4
      dist/utils.min.js
  80. 2
      dist/utils.min.js.map
  81. 2
      package.json
  82. 34
      typescript/base/combination/combo.ts
  83. 48
      typescript/base/combination/group.button.ts
  84. 20
      typescript/base/combination/tab.ts
  85. 6
      typescript/base/foundation/message.ts
  86. 14
      typescript/base/pane.ts
  87. 42
      typescript/base/single/button/button.basic.ts
  88. 12
      typescript/base/single/button/button.node.ts
  89. 18
      typescript/base/single/button/buttons/button.text.ts
  90. 16
      typescript/base/single/button/buttons/button.ts
  91. 16
      typescript/base/single/button/listitem/icontextitem.ts
  92. 57
      typescript/base/single/editor/editor.ts
  93. 12
      typescript/base/single/iframe/iframe.ts
  94. 10
      typescript/base/single/input/checkbox.ts
  95. 46
      typescript/base/single/input/input.ts
  96. 18
      typescript/base/single/label/abstract.label.ts
  97. 8
      typescript/base/single/label/label.ts
  98. 30
      typescript/base/single/single.ts
  99. 16
      typescript/base/single/text.ts
  100. 8
      typescript/base/single/trigger/trigger.ts
  101. Some files were not shown because too many files have changed in this diff Show More

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

689
dist/2.0/fineui.js vendored

File diff suppressed because it is too large Load Diff

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

663
dist/core.js vendored

File diff suppressed because it is too large Load Diff

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

1019
dist/demo.js vendored

File diff suppressed because it is too large Load Diff

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

689
dist/fineui.js vendored

File diff suppressed because it is too large Load Diff

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

53
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 10:01:02 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1400);
/******/ return __webpack_require__(__webpack_require__.s = 1401);
/******/ })
/************************************************************************/
/******/ ([
@ -67913,6 +67913,12 @@ Object.defineProperty(exports, "FloatCenterLayout", {
return _middleFloat.FloatCenterLayout;
}
});
Object.defineProperty(exports, "DynamicYearMonthPopup", {
enumerable: true,
get: function get() {
return _popup2.DynamicYearMonthPopup;
}
});
exports["default"] = void 0;
var _combo = __webpack_require__(712);
@ -68189,6 +68195,8 @@ var _listview = __webpack_require__(826);
var _middleFloat = __webpack_require__(827);
var _popup2 = __webpack_require__(828);
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@ -69447,7 +69455,15 @@ var _widget = __webpack_require__(1);
var _layout = __webpack_require__(3);
/***/ }),
/* 828 */,
/* 828 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var _widget = __webpack_require__(1);
/***/ }),
/* 829 */,
/* 830 */,
/* 831 */,
@ -69497,7 +69513,8 @@ var _layout = __webpack_require__(3);
/* 875 */,
/* 876 */,
/* 877 */,
/* 878 */
/* 878 */,
/* 879 */
/***/ (function(module, exports) {
;(function () {
@ -69660,17 +69677,17 @@ var _layout = __webpack_require__(3);
/***/ }),
/* 879 */,
/* 880 */,
/* 881 */,
/* 882 */
/* 882 */,
/* 883 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(883);
/* WEBPACK VAR INJECTION */(function(global) {module.exports = global["Fix"] = __webpack_require__(884);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(17)))
/***/ }),
/* 883 */
/* 884 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(setImmediate) {function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@ -71147,8 +71164,8 @@ var _layout = __webpack_require__(3);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(62).setImmediate))
/***/ }),
/* 884 */,
/* 885 */
/* 885 */,
/* 886 */
/***/ (function(module, exports) {
;(function () {
@ -71444,7 +71461,6 @@ var _layout = __webpack_require__(3);
/***/ }),
/* 886 */,
/* 887 */,
/* 888 */,
/* 889 */,
@ -71661,13 +71677,13 @@ var _layout = __webpack_require__(3);
/* 1100 */,
/* 1101 */,
/* 1102 */,
/* 1103 */
/* 1103 */,
/* 1104 */
/***/ (function(module, exports) {
/***/ }),
/* 1104 */,
/* 1105 */,
/* 1106 */,
/* 1107 */,
@ -71963,7 +71979,8 @@ var _layout = __webpack_require__(3);
/* 1397 */,
/* 1398 */,
/* 1399 */,
/* 1400 */
/* 1400 */,
/* 1401 */
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(122);
@ -72067,7 +72084,7 @@ __webpack_require__(392);
__webpack_require__(152);
__webpack_require__(153);
__webpack_require__(154);
__webpack_require__(882);
__webpack_require__(883);
__webpack_require__(393);
__webpack_require__(394);
__webpack_require__(395);
@ -72443,9 +72460,9 @@ __webpack_require__(706);
__webpack_require__(707);
__webpack_require__(708);
__webpack_require__(709);
__webpack_require__(885);
__webpack_require__(878);
__webpack_require__(1103);
__webpack_require__(886);
__webpack_require__(879);
__webpack_require__(1104);
module.exports = __webpack_require__(710);

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

24
dist/lib/base/combination/combo.d.ts vendored

@ -1,26 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _Combo extends _Widget {
populate(...args: any[]): void;
_setEnable(v: boolean): void;
isViewVisible(): boolean;
showView(e?: Event): void;
hideView(): void;
getView(): any;
getPopupPosition(): any;
adjustHeight(e?: MouseEvent): void;
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;
}
import { Widget } from "../../core/widget";
export declare class Combo extends Widget {
static xtype: string;
static EVENT_TRIGGER_CHANGE: string;

30
dist/lib/base/combination/group.button.d.ts vendored

@ -1,32 +1,4 @@
import { _Widget, Widget } from "../../core/widget";
export interface _ButtonGroup extends _Widget {
prependItems<T>(items: T[]): void;
addItems<T>(items: T[]): void;
removeItemAt(indexes: any): void;
removeItems(values: any): void;
populate(items?: any, ...args: any[]): void;
setNotSelectedValue(v: any): void;
getNotSelectedValue<T>(): T[];
setEnabledValue(v: any): void;
getAllButtons<T>(): T[];
getAllLeaves<T>(): T[];
getSelectedButtons<T>(): T[];
getNotSelectedButtons<T>(): T[];
getIndexByValue(value: any): number;
getNodeById(id: any): any;
getNodeByValue(value: any): any;
getValue<T>(): T[];
}
export interface _ButtonGroupChooseType {
CHOOSE_TYPE_SINGLE: number;
CHOOSE_TYPE_MULTI: number;
CHOOSE_TYPE_ALL: number;
CHOOSE_TYPE_NONE: number;
CHOOSE_TYPE_DEFAULT: number;
}
export interface _ButtonGroupStatic {
EVENT_CHANGE: string;
}
import { Widget } from "../../core/widget";
export declare class ButtonGroup extends Widget {
static xtype: string;
static CHOOSE_TYPE_SINGLE: number;

13
dist/lib/base/combination/tab.d.ts vendored

@ -1,15 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _Tab extends _Widget {
setSelect(v: string | number): void;
removeTab(v: string | number): void;
getSelect(): string | number;
getSelectedTab(): any;
getTab(v: string | number): any;
populate(): void;
}
export interface _TabStatic {
EVENT_CHANGE: string;
}
import { Widget } from "../../core/widget";
export declare class Tab extends Widget {
static xtype: string;
static EVENT_CHANGE: string;

6
dist/lib/base/foundation/message.d.ts vendored

@ -0,0 +1,6 @@
export declare type _msg = {
alert: (title: string, message?: string, callback?: (result?: boolean) => void) => void;
confirm: (title: string, message?: string, callback?: (result: boolean) => void) => void;
prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void;
toast: (message: string, options?: object, context?: HTMLElement) => void;
};

12
dist/lib/base/pane.d.ts vendored

@ -1,14 +1,4 @@
import { _Widget, Widget } from "../core/widget";
export interface _Pane extends _Widget {
_assertTip(..._args: any[]): void;
loading(..._args: any[]): void;
loaded(..._args: any[]): void;
check(..._args: any[]): void;
populate(...args: any[]): void;
}
export interface _PaneStatic {
EVENT_LOADED: string;
}
import { Widget } from "../core/widget";
export declare class Pane extends Widget {
static EVENT_LOADED: string;
_assertTip(..._args: any[]): void;

24
dist/lib/base/single/button/button.basic.d.ts vendored

@ -1,26 +1,4 @@
import { Single, _Single } from "../single";
export interface _BasicButton extends _Single {
_createShadow(): void;
bindEvent(): void;
_trigger(e: Event): void;
_doClick(e: Event): void;
beforeClick(): void;
doClick(): void;
handle(): _BasicButton;
hover(): void;
dishover(): void;
setSelected(b: boolean): void;
isSelected(): boolean;
isOnce(): boolean;
isForceSelected(): boolean;
isForceNotSelected(): boolean;
isDisableSelected(): boolean;
setText(v: string): void;
getText(): string;
}
export interface _BasicButtonStatic {
EVENT_CHANGE: string;
}
import { Single } from "../single";
export declare class BasicButton extends Single {
static EVENT_CHANGE: string;
_createShadow(): void;

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

@ -1,10 +1,4 @@
import { _BasicButton, BasicButton } from "./button.basic";
export interface _NodeButton extends _BasicButton {
isOpened(): boolean;
setOpened(b: boolean): void;
triggerCollapse(): void;
triggerExpand(): void;
}
import { BasicButton } from "./button.basic";
export declare class NodeButton extends BasicButton {
isOpened(): boolean;
setOpened(b: boolean): void;

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

@ -1,14 +1,5 @@
import { IconLabel, Label } from "../../../..";
import { BasicButton, _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;
}
import { BasicButton } from "../button.basic";
export declare class Button extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;

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

@ -1,14 +1,4 @@
import { BasicButton, _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;
}
import { BasicButton } from "../button.basic";
export declare class TextButton extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;

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

@ -1,13 +1,4 @@
import { BasicButton, _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;
}
import { BasicButton } from "../button.basic";
export declare class IconTextItem extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;

40
dist/lib/base/single/editor/editor.d.ts vendored

@ -1,42 +1,4 @@
import { _Single, 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;
}
import { Single } from "../single";
export declare class Editor extends Single {
static xtype: string;
static EVENT_CHANGE: string;

8
dist/lib/base/single/iframe/iframe.d.ts vendored

@ -1,10 +1,4 @@
import { Single, _Single } from "../single";
export interface _Iframe extends _Single {
setSrc(v: string): void;
getSrc(): string;
setName(v: string): void;
getName(): string;
}
import { Single } from "../single";
export declare class Iframe extends Single {
static xtype: string;
setSrc(v: string): void;

8
dist/lib/base/single/input/checkbox.d.ts vendored

@ -1,10 +1,4 @@
import { BasicButton, _BasicButton } from "../button/button.basic";
export interface _Checkbox extends _BasicButton {
_setEnable(enable: boolean): void;
}
export interface _CheckboxStatic {
EVENT_CHANGE: string;
}
import { BasicButton } from "../button/button.basic";
export declare class Checkbox extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;

35
dist/lib/base/single/input/input.d.ts vendored

@ -1,37 +1,4 @@
import { _Single, Single } from "../single";
export interface _Input extends _Single {
onClick(): void;
onKeyDown(keyCode: number): void;
focus(): void;
blur(): void;
selectAll(): void;
setValue(v: string): void;
getValue(): string;
isEditing(): boolean;
getLastValidValue(): string;
getLastChangedValue(): string;
}
export interface _InputStatic {
EVENT_CHANGE: string;
EVENT_FOCUS: string;
EVENT_CLICK: string;
EVENT_BLUR: string;
EVENT_KEY_DOWN: string;
EVENT_QUICK_DOWN: string;
EVENT_SPACE: string;
EVENT_BACKSPACE: string;
EVENT_START: string;
EVENT_PAUSE: string;
EVENT_STOP: string;
EVENT_CHANGE_CONFIRM: string;
EVENT_CONFIRM: string;
EVENT_REMOVE: string;
EVENT_EMPTY: string;
EVENT_VALID: string;
EVENT_ERROR: string;
EVENT_ENTER: string;
EVENT_RESTRICT: string;
}
import { Single } from "../single";
export declare class Input extends Single {
static xtype: string;
static EVENT_CHANGE: string;

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

@ -1,13 +1,4 @@
import { _Single, 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;
}
import { Single } from "../single";
export declare class AbstractLabel extends Single {
static xtype: string;
doRedMark(...args: any[]): void;

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

@ -1,8 +1,4 @@
import { _AbstractLabel, AbstractLabel } from "./abstract.label";
export interface _Label extends _AbstractLabel {
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void;
}
import { AbstractLabel } from "./abstract.label";
export declare class Label extends AbstractLabel {
static xtype: string;
}

17
dist/lib/base/single/single.d.ts vendored

@ -1,19 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _Single extends _Widget {
_showToolTip(e: Event, opt?: SingleOpt): void;
_hideTooltip(): void;
_clearTimeOut(): void;
enableHover(opt?: SingleOpt): void;
disabledHover(): void;
setTitle(title: string | Function, opt?: SingleOpt): void;
setWarningTitle(title: string, opt?: SingleOpt): void;
setTipType(v: string): void;
getTipType(): string;
isReadOnly(): boolean;
getTitle(): string;
getWarningTitle(): string;
populate(..._args: any[]): void;
}
import { Widget } from "../../core/widget";
interface SingleOpt {
container?: any;
belowMouse?: boolean;

10
dist/lib/base/single/text.d.ts vendored

@ -1,12 +1,4 @@
import { _Single, Single } from "./single";
export interface _Text extends _Single {
doRedMark(keyword: string): void;
unRedMark(): void;
doHighLight(): void;
unHighLight(): void;
setStyle(css: any): void;
setText(v: string): void;
}
import { Single } from "./single";
export declare class Text extends Single {
static xtype: string;
doRedMark(keyword: string): void;

6
dist/lib/base/single/trigger/trigger.d.ts vendored

@ -1,8 +1,4 @@
import { Single, _Single } from "../single";
export interface _Trigger extends _Single {
setKey(..._args: any[]): void;
getKey(): string;
}
import { Single } from "../single";
export declare class Trigger extends Single {
setKey(..._args: any[]): void;
getKey(): string;

10
dist/lib/case/button/icon/icon.change.d.ts vendored

@ -1,12 +1,4 @@
import { Single, _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;
}
import { Single } from "../../../base/single/single";
export declare class IconChangeButton extends Single {
static xtype: string;
static EVENT_CHANGE: string;

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

@ -1,13 +1,4 @@
import { _BasicButton, 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;
}
import { BasicButton } from "../../base/single/button/button.basic";
export declare class MultiSelectItem extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;

18
dist/lib/case/combo/bubblecombo/combo.bubble.d.ts vendored

@ -1,20 +1,4 @@
import { Widget, _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;
}
import { Widget } from "../../../core/widget";
export declare class BubbleCombo extends Widget {
static xtype: string;
static EVENT_TRIGGER_CHANGE: string;

8
dist/lib/case/combo/combo.textvalue.d.ts vendored

@ -1,10 +1,4 @@
import { _Widget, Widget } from "../../core/widget";
export interface _TextValueCombo extends _Widget {
populate(items: any): void;
}
export interface _TextValueComboStatic {
EVENT_CHANGE: string;
}
import { Widget } from "../../core/widget";
export declare class TextValueCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;

11
dist/lib/case/combo/searchtextvaluecombo/combo.searchtextvalue.d.ts vendored

@ -1,13 +1,4 @@
import { Widget, _Widget } from "../../../core/widget";
export interface _SearchTextValueCombo extends _Widget {
populate(items: any[]): void;
setValue(v: any): void;
getValue<T>(): T[];
}
export interface _SearchTextValueComboStatic {
EVENT_CHANGE: string;
EVENT_BEFORE_POPUPVIEW: string;
}
import { Widget } from "../../../core/widget";
export declare class SearchTextValueCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;

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

@ -1,41 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _SignEditor extends _Widget {
setTitle(v: string | Function): void;
setWarningTitle(v: string | Function): void;
setWaterMark(v: string): void;
focus(): void;
blur(): void;
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void;
doHighLight(...args: any[]): void;
unHighLight(...args: any[]): void;
isValid(): boolean;
setErrorText(v: string): void;
getErrorText(): string;
isEditing(): boolean;
getLastChangedValue(): string;
getState(): any;
setState(...args: any[]): void;
}
export interface _SignEditorStatic {
EVENT_CHANGE: string;
EVENT_FOCUS: string;
EVENT_BLUR: string;
EVENT_CLICK: string;
EVENT_KEY_DOWN: string;
EVENT_CLICK_LABEL: 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_SPACE: string;
EVENT_EMPTY: string;
}
import { Widget } from "../../core/widget";
export declare class SignEditor extends Widget {
static xtype: string;
static EVENT_FOCUS: string;

5
dist/lib/case/loading/loading_pane.d.ts vendored

@ -1,7 +1,4 @@
import { _Pane, Pane } from "../../base/pane";
export interface _LoadingPane extends _Pane {
__loaded: (...args: any[]) => void;
}
import { Pane } from "../../base/pane";
export declare class LoadingPane extends Pane {
__loaded: (...args: any[]) => void;
}

21
dist/lib/component/treevaluechooser/abstract.treevaluechooser.d.ts vendored

@ -1,23 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _AbstractTreeValueChooser extends _Widget {
_valueFormatter: (v: string) => string;
_initData: (items: any[]) => void;
_itemsCreator: (options: any, callback: Function) => void;
_reqDisplayTreeNode: (options: any, callback: Function) => void;
_reqSelectedTreeNode: (options: any, callback: Function) => void;
_reqAdjustTreeNode: (options: any, callback: Function) => void;
_reqInitTreeNode: (options: any, callback: Function) => void;
_reqTreeNode: (options: any, callback: Function) => void;
_getAddedValueNode: (parentValues: any[], selectedValues: any) => any[];
_getNode: (selectedValues: any, parentValues: any[]) => any;
_deleteNode: (selectedValues: any, values: any[]) => void;
_buildTree: (jo: any, values: any) => void;
_isMatch: (parentValues: any, value: any, keyword: any) => boolean;
_getTreeNode: (parentValues: any, v: any) => any;
_getChildren: (parentValues: any) => any;
_getAllChildren: (parentValues: any) => any;
_getChildCount: (parentValues: any) => number;
}
import { Widget } from "../../core/widget";
export declare class AbstractTreeValueChooser extends Widget {
_valueFormatter: (v: string) => string;
_initData: (items: any[]) => void;

4
dist/lib/component/treevaluechooser/abstract.treevaluechooser.list.d.ts vendored

@ -1,5 +1,3 @@
import { AbstractTreeValueChooser, _AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export interface _AbstractListTreeValueChooser extends _AbstractTreeValueChooser {
}
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class AbstractListTreeValueChooser extends AbstractTreeValueChooser {
}

9
dist/lib/core/action/action.d.ts vendored

@ -1,11 +1,4 @@
import { _OB, OB } from "../ob";
export interface _Action extends _OB {
actionPerformed(src: any, tar: any, callback: Function): void;
actionBack(tar: any, src: any, callback: Function): void;
}
export interface _ActionFactory {
createAction(key: string, options: any): _Action;
}
import { OB } from "../ob";
export declare class Action extends OB {
actionPerformed(src: any, tar: any, callback: Function): void;
actionBack(tar: any, src: any, callback: Function): void;

4
dist/lib/core/action/action.show.d.ts vendored

@ -1,5 +1,3 @@
import { _Action, Action } from "./action";
export interface _ShowAction extends _Action {
}
import { Action } from "./action";
export declare class ShowAction extends Action {
}

8
dist/lib/core/behavior/behavior.d.ts vendored

@ -1,10 +1,4 @@
import { _OB, OB } from "../ob";
export interface _Behavior extends _OB {
doBehavior(items: any[]): void;
}
export interface _BehaviorFactory {
createBehavior(key: string, options: any): _Behavior;
}
import { OB } from "../ob";
export declare class Behavior extends OB {
doBehavior(items: any[]): void;
}

4
dist/lib/core/behavior/behavior.highlight.d.ts vendored

@ -1,5 +1,3 @@
import { _Behavior, Behavior } from "./behavior";
export interface _HighlightBehavior extends _Behavior {
}
import { Behavior } from "./behavior";
export declare class HighlightBehavior extends Behavior {
}

4
dist/lib/core/behavior/behavior.redmark.d.ts vendored

@ -1,5 +1,3 @@
import { _Behavior, Behavior } from "./behavior";
export interface _RedMarkBehavior extends _Behavior {
}
import { Behavior } from "./behavior";
export declare class RedMarkBehavior extends Behavior {
}

5
dist/lib/core/platform/web/detectElementResize.d.ts vendored

@ -0,0 +1,5 @@
import { Widget } from "../../../core/widget";
export declare type _DetectElementResize = {
addResizeListener: (widget: Widget, fn: Function) => Function;
removeResizeListener: (widget: Widget, fn: Function) => void;
};

121
dist/lib/core/platform/web/dom.d.ts vendored

@ -0,0 +1,121 @@
import { Widget } from "../../../core/widget";
export declare type _DOM = {
ready: (fn: Function) => void;
patchProps: (fromElement: any, toElement: any) => void;
hang: (doms: Widget[]) => DocumentFragment;
isExist: (obj: Widget) => boolean;
preloadImages: (srcArray: string[], onload: Function) => void;
getTextSizeWidth: (text: string, fontSize?: number) => number;
getTextSizeHeight: (text: string, fontSize?: number) => number;
getScrollWidth: () => number;
getImage: (param: string, fillStyle?: string, backgroundColor?: string) => {
width: number;
height: number;
src: string;
style: string;
param: string;
};
isColor: (color: string) => boolean;
isRGBColor: (color: string) => boolean;
isHexColor: (color: string) => boolean;
isDarkColor: (hex: string) => boolean;
getContrastColor: (color: string) => string;
rgb2hex: (rgbColour: string) => string;
rgb2json: (rgbColour: string) => {
r: number;
g: number;
b: number;
};
rgba2json: (rgbColour: string) => {
r: number;
g: number;
b: number;
a: number;
};
json2rgb: (rgb: {
r: number;
g: number;
b: number;
}) => string;
json2rgba: (rgba: {
r: number;
g: number;
b: number;
a: number;
}) => string;
int2hex: (strNum: number) => string;
hex2rgb: (color: string) => string;
rgba2rgb: (rgbColor: string, bgColor?: string) => string;
getLeftPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getInnerLeftPosition: (combo: Widget, popup?: Widget, extraWidth?: number) => {
left: number;
};
getRightPosition: (combo: Widget, popup?: Widget, extraWidth?: number) => {
left: number;
};
getInnerRightPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getTopPosition: (combo: Widget, popup: Widget, extraHeight?: number) => {
top: number;
};
getBottomPosition: (combo: Widget, popup?: Widget, extraHeight?: number) => {
top: number;
};
isLeftSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isInnerLeftSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isRightSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isInnerRightSpaceEnough: (combo: Widget, popup: Widget, extraWidth?: number) => boolean;
isTopSpaceEnough: (combo: Widget, popup?: Widget, extraHeight?: number) => boolean;
isBottomSpaceEnough: (combo: Widget, popup?: Widget, extraHeight?: number) => boolean;
isRightSpaceLarger: (combo: Widget) => boolean;
isBottomSpaceLarger: (combo: Widget) => boolean;
getLeftAlignPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getLeftAdaptPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getRightAlignPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getRightAdaptPosition: (combo: Widget, popup: Widget, extraWidth?: number) => {
left: number;
};
getTopAlignPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getTopAdaptPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getBottomAlignPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getBottomAdaptPosition: (combo: Widget, popup: Widget, extraHeight?: number, needAdaptHeight?: boolean) => {
top: number;
adaptHeight?: number;
};
getCenterAdaptPosition: (combo: Widget, popup: Widget) => {
left: number;
};
getMiddleAdaptPosition: (combo: Widget, popup: Widget) => {
top: number;
};
getComboPositionByDirections: (combo: Widget, popup: Widget, extraWidth?: number, extraHeight?: number, needAdaptHeight?: number, directions?: number) => {
dir: string;
left?: number;
top?: number;
change?: string;
};
getComboPosition: (combo: Widget, popup: Widget, extraWidth?: number, extraHeight?: number, needAdaptHeight?: number, directions?: number) => {
dir: string;
left?: number;
top?: number;
change?: string;
};
};

5
dist/lib/core/platform/web/eventListener.d.ts vendored

@ -0,0 +1,5 @@
export declare type _EventListener = {
listen: (target: EventTarget, eventType: string, callback: Function) => void;
capture: (target: EventTarget, eventType: string, callback: Function) => void;
registerDefault: () => void;
};

12
dist/lib/core/platform/web/function.d.ts vendored

@ -0,0 +1,12 @@
export declare type _function = {
isIE: () => boolean;
getIEVersion: () => number;
isEdge: () => boolean;
isChrome: () => boolean;
isFireFox: () => boolean;
isOpera: () => boolean;
isSafari: () => boolean;
isMac: () => boolean;
isWindows: () => boolean;
isSupportCss3: (style: any) => boolean;
};

10
dist/lib/core/platform/web/index.d.ts vendored

@ -0,0 +1,10 @@
import { _function } from "./function";
import { _EventListener } from './eventListener';
import { _DetectElementResize } from './detectElementResize';
import { _load } from './load';
import { _DOM } from './dom';
export interface _web extends _function, _load {
EventListener: _EventListener;
ResizeDetector: _DetectElementResize;
DOM: _DOM;
}

3
dist/lib/core/platform/web/load.d.ts vendored

@ -0,0 +1,3 @@
export declare type _load = {
$import: (src: string, ext?: string, must?: boolean) => void;
};

19
dist/lib/core/wrapper/layout.d.ts vendored

@ -1,21 +1,4 @@
import { _Widget, 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<T>(items: T[], context?: any): void;
prependItems<T>(items: T[], context?: any): void;
getValue<T>(): T[];
setText(v: string): void;
update(opt: any): any;
stroke<T>(items: T[]): void;
removeWidget(nameOrWidget: any): void;
populate<T>(items?: T[]): void;
resize(): void;
}
import { Widget } from "../widget";
export declare class Layout extends Widget {
static xtype: string;
addItem(item: any): any;

6
dist/lib/core/wrapper/layout/adapt/adapt.leftvertical.d.ts vendored

@ -1,8 +1,4 @@
import { Layout, _Layout } from "../../layout";
export interface _LeftVerticalAdapt extends _Layout {
resize(): void;
populate<T>(items?: T[]): void;
}
import { Layout } from "../../layout";
export declare class LeftVerticalAdaptLayout extends Layout {
static xtype: string;
resize(): void;

7
dist/lib/core/wrapper/layout/layout.absolute.d.ts vendored

@ -1,9 +1,4 @@
import { Layout, _Layout } from "../layout";
export interface _AbsoluteLayout extends _Layout {
resize(): void;
stroke<T>(items: T[]): void;
populate<T>(items?: T[]): void;
}
import { Layout } from "../layout";
export declare class AbsoluteLayout extends Layout {
static xtype: string;
}

6
dist/lib/core/wrapper/layout/layout.default.d.ts vendored

@ -1,8 +1,4 @@
import { Layout, _Layout } from "../layout";
export interface _DefaultLayout extends _Layout {
resize(): void;
populate<T>(items?: T[]): void;
}
import { Layout } from "../layout";
export declare class DefaultLayout extends Layout {
static xtype: string;
}

14
dist/lib/core/wrapper/layout/layout.tape.d.ts vendored

@ -1,16 +1,4 @@
import { _Layout, Layout } from "../layout";
export interface _HTapeLayout extends _Layout {
resize(): void;
stroke<T>(items: T[]): void;
update(): any;
populate<T>(items?: T[]): void;
}
export interface _VTapeLayout extends _Layout {
resize(): void;
stroke<T>(items: T[]): void;
update(): void;
populate<T>(items?: T[]): void;
}
import { Layout } from "../layout";
export declare class HTapeLayout extends Layout {
static xtype: string;
}

6
dist/lib/core/wrapper/layout/layout.vertical.d.ts vendored

@ -1,8 +1,4 @@
import { Layout, _Layout } from "../layout";
export interface _VerticalLayout extends _Layout {
resize(): void;
populate<T>(items?: T[]): void;
}
import { Layout } from "../layout";
export declare class VerticalLayout extends Layout {
static xtype: string;
}

189
dist/lib/index.d.ts vendored

@ -1,53 +1,53 @@
import { Combo, _Combo, _ComboStatic } from "./base/combination/combo";
import { _ButtonGroup, _ButtonGroupChooseType, _ButtonGroupStatic, ButtonGroup } from "./base/combination/group.button";
import { _Tab, _TabStatic, Tab } from "./base/combination/tab";
import { _Pane, _PaneStatic, Pane } from "./base/pane";
import { _BasicButton, _BasicButtonStatic, BasicButton } from "./base/single/button/button.basic";
import { _NodeButton, NodeButton } from "./base/single/button/button.node";
import { _Button, _ButtonStatic, Button } from "./base/single/button/buttons/button";
import { TextButton, _TextButton, _TextButtonStatic } from "./base/single/button/buttons/button.text";
import { IconTextItem, _IconTextItem, _IconTextItemStatic } from "./base/single/button/listitem/icontextitem";
import { _Editor, _EditorStatic, Editor } from "./base/single/editor/editor";
import { Iframe, _Iframe } from "./base/single/iframe/iframe";
import { Checkbox, _Checkbox, _CheckboxStatic } from "./base/single/input/checkbox";
import { Input, _Input, _InputStatic } from "./base/single/input/input";
import { _AbstractLabel, AbstractLabel } from "./base/single/label/abstract.label";
import { _Label, Label } from "./base/single/label/label";
import { _Single, Single } from "./base/single/single";
import { _Text, Text } from "./base/single/text";
import { Trigger, _Trigger } from "./base/single/trigger/trigger";
import { IconChangeButton, _IconChangeButton, _IconChangeButtonStatic } from "./case/button/icon/icon.change";
import { _MultiSelectItem, _MultiSelectItemStatic, MultiSelectItem } from "./case/button/item.multiselect";
import { BubbleCombo, _BubbleCombo, _BubbleComboStatic } from "./case/combo/bubblecombo/combo.bubble";
import { _TextValueCombo, _TextValueComboStatic, TextValueCombo } from "./case/combo/combo.textvalue";
import { SearchTextValueCombo, _SearchTextValueCombo, _SearchTextValueComboStatic } from "./case/combo/searchtextvaluecombo/combo.searchtextvalue";
import { _SignEditor, _SignEditorStatic, SignEditor } from "./case/editor/editor.sign";
import { LoadingPane, _LoadingPane } from "./case/loading/loading_pane";
import { AllValueMultiTextValueCombo, _AllValueMultiTextValueCombo, _AllValueMultiTextValueComboStatic } from "./component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo";
import { _AbstractTreeValueChooser, AbstractTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser";
import { _AbstractListTreeValueChooser, AbstractListTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser.list";
import { Action, ActionFactory, _Action, _ActionFactory } from "./core/action/action";
import { ShowAction, _ShowAction } from "./core/action/action.show";
import { Combo } from "./base/combination/combo";
import { ButtonGroup } from "./base/combination/group.button";
import { Tab } from "./base/combination/tab";
import { Pane } from "./base/pane";
import { BasicButton } from "./base/single/button/button.basic";
import { NodeButton } from "./base/single/button/button.node";
import { Button } from "./base/single/button/buttons/button";
import { TextButton } from "./base/single/button/buttons/button.text";
import { IconTextItem } from "./base/single/button/listitem/icontextitem";
import { Editor } from "./base/single/editor/editor";
import { Iframe } from "./base/single/iframe/iframe";
import { Checkbox } from "./base/single/input/checkbox";
import { Input } from "./base/single/input/input";
import { AbstractLabel } from "./base/single/label/abstract.label";
import { Label } from "./base/single/label/label";
import { Single } from "./base/single/single";
import { Text } from "./base/single/text";
import { Trigger } from "./base/single/trigger/trigger";
import { IconChangeButton } from "./case/button/icon/icon.change";
import { MultiSelectItem } from "./case/button/item.multiselect";
import { BubbleCombo } from "./case/combo/bubblecombo/combo.bubble";
import { TextValueCombo } from "./case/combo/combo.textvalue";
import { SearchTextValueCombo } from "./case/combo/searchtextvaluecombo/combo.searchtextvalue";
import { SignEditor } from "./case/editor/editor.sign";
import { LoadingPane } from "./case/loading/loading_pane";
import { AllValueMultiTextValueCombo } from "./component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo";
import { AbstractTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser";
import { AbstractListTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser.list";
import { Action, ActionFactory } from "./core/action/action";
import { ShowAction } from "./core/action/action.show";
import { _base } from "./core/base";
import { Behavior, BehaviorFactory, _Behavior, _BehaviorFactory } from "./core/behavior/behavior";
import { HighlightBehavior, _HighlightBehavior } from "./core/behavior/behavior.highlight";
import { RedMarkBehavior, _RedMarkBehavior } from "./core/behavior/behavior.redmark";
import { Behavior, BehaviorFactory } from "./core/behavior/behavior";
import { HighlightBehavior } from "./core/behavior/behavior.highlight";
import { RedMarkBehavior } from "./core/behavior/behavior.redmark";
import * as decorator from "./core/decorator/decorator";
import { _func } from "./core/func";
import { _i18n } from "./core/i18n";
import { _Plugin } from "./core/plugin";
import { _var } from "./core/var";
import { OB, _OB } from "./core/ob";
import { _Widget, _WidgetStatic, Widget } from "./core/widget";
import { OB } from "./core/ob";
import { Widget } from "./core/widget";
import { _inject } from "./core/inject";
import { Layout, _Layout } from "./core/wrapper/layout";
import { AbsoluteLayout, _AbsoluteLayout } from "./core/wrapper/layout/layout.absolute";
import { HTapeLayout, VTapeLayout, _HTapeLayout, _VTapeLayout } from "./core/wrapper/layout/layout.tape";
import { VerticalLayout, _VerticalLayout } from "./core/wrapper/layout/layout.vertical";
import { DefaultLayout, _DefaultLayout } from "./core/wrapper/layout/layout.default";
import { DownListCombo, _DownListCombo, _DownListComboStatic } from "./widget/downlist/combo.downlist";
import { Layout } from "./core/wrapper/layout";
import { AbsoluteLayout } from "./core/wrapper/layout/layout.absolute";
import { HTapeLayout, VTapeLayout } from "./core/wrapper/layout/layout.tape";
import { VerticalLayout } from "./core/wrapper/layout/layout.vertical";
import { DefaultLayout } from "./core/wrapper/layout/layout.default";
import { DownListCombo } from "./widget/downlist/combo.downlist";
import { Icon } from "./base/single/icon/icon";
import { LeftVerticalAdaptLayout, _LeftVerticalAdapt } from "./core/wrapper/layout/adapt/adapt.leftvertical";
import { LeftVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftvertical";
import { LeftRightVerticalAdaptLayout, RightVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftrightvertical";
import { IconTextIconItem } from "./base/single/button/listitem/icontexticonitem";
import { HorizontalAutoLayout } from "./core/wrapper/layout/adapt/auto.horizontal";
@ -141,51 +141,48 @@ import { EditorIconCheckCombo } from "./case/combo/editoriconcheckcombo/combo.ed
import { IconTextValueCombo } from './case/combo/icontextvaluecombo/combo.icontextvalue';
import { ListView } from './base/list/listview';
import { FloatCenterLayout } from './core/wrapper/layout/middle/middle.float.center';
declare type ClassConstructor<T extends {}> = T & {
new (config: any): T;
(config: any): T;
readonly prototype: T;
readonly xtype: string;
};
export interface BI extends _func, _i18n, _base, _inject, _var {
OB: ClassConstructor<_OB>;
import { _msg } from './base/foundation/message';
import { _web } from './core/platform/web';
import { DynamicYearMonthPopup } from './widget/yearmonth/popup.yearmonth';
export interface BI extends _func, _i18n, _base, _inject, _var, _web {
OB: typeof OB;
Plugin: _Plugin;
Widget: ClassConstructor<_Widget> & _WidgetStatic;
Single: ClassConstructor<_Single>;
BasicButton: ClassConstructor<_BasicButton> & _BasicButtonStatic;
NodeButton: ClassConstructor<_NodeButton>;
Checkbox: ClassConstructor<_Checkbox> & _CheckboxStatic;
Button: ClassConstructor<_Button> & _ButtonStatic;
TextButton: ClassConstructor<_TextButton> & _TextButtonStatic;
IconChangeButton: ClassConstructor<_IconChangeButton> & _IconChangeButtonStatic;
Trigger: ClassConstructor<_Trigger>;
Action: ClassConstructor<_Action>;
ActionFactory: ClassConstructor<_ActionFactory>;
ShowAction: ClassConstructor<_ShowAction>;
Behavior: ClassConstructor<_Behavior>;
BehaviorFactory: ClassConstructor<_BehaviorFactory>;
HighlightBehavior: ClassConstructor<_HighlightBehavior>;
RedMarkBehavior: ClassConstructor<_RedMarkBehavior>;
Pane: ClassConstructor<_Pane> & _PaneStatic;
LoadingPane: ClassConstructor<_LoadingPane>;
Tab: ClassConstructor<_Tab> & _TabStatic;
ButtonGroup: ClassConstructor<_ButtonGroup> & _ButtonGroupChooseType & _ButtonGroupStatic;
Combo: ClassConstructor<_Combo> & _ComboStatic;
TextValueCombo: ClassConstructor<_TextValueCombo> & _TextValueComboStatic;
BubbleCombo: ClassConstructor<_BubbleCombo> & _BubbleComboStatic;
AllValueMultiTextValueCombo: ClassConstructor<_AllValueMultiTextValueCombo> & _AllValueMultiTextValueComboStatic;
IconTextItem: ClassConstructor<_IconTextItem> & _IconTextItemStatic;
MultiSelectItem: ClassConstructor<_MultiSelectItem> & _MultiSelectItemStatic;
AbstractLabel: ClassConstructor<_AbstractLabel>;
Label: ClassConstructor<_Label>;
Text: ClassConstructor<_Text>;
Editor: ClassConstructor<_Editor> & _EditorStatic;
SignEditor: ClassConstructor<_SignEditor> & _SignEditorStatic;
Layout: ClassConstructor<_Layout>;
HTapeLayout: ClassConstructor<_HTapeLayout>;
VTapeLayout: ClassConstructor<_VTapeLayout>;
AbstractTreeValueChooser: ClassConstructor<_AbstractTreeValueChooser>;
AbstractListTreeValueChooser: ClassConstructor<_AbstractListTreeValueChooser>;
Widget: typeof Widget;
Single: typeof Single;
BasicButton: typeof BasicButton;
NodeButton: typeof NodeButton;
Checkbox: typeof Checkbox;
Button: typeof Button;
TextButton: typeof TextButton;
IconChangeButton: typeof IconChangeButton;
Trigger: typeof Trigger;
Action: typeof Action;
ActionFactory: typeof ActionFactory;
ShowAction: typeof ShowAction;
Behavior: typeof Behavior;
BehaviorFactory: typeof BehaviorFactory;
HighlightBehavior: typeof HighlightBehavior;
RedMarkBehavior: typeof RedMarkBehavior;
Pane: typeof Pane;
LoadingPane: typeof LoadingPane;
Tab: typeof Tab;
ButtonGroup: typeof ButtonGroup;
Combo: typeof Combo;
TextValueCombo: typeof TextValueCombo;
BubbleCombo: typeof BubbleCombo;
AllValueMultiTextValueCombo: typeof AllValueMultiTextValueCombo;
IconTextItem: typeof IconTextItem;
MultiSelectItem: typeof MultiSelectItem;
AbstractLabel: typeof AbstractLabel;
Label: typeof Label;
Text: typeof Text;
Editor: typeof Editor;
SignEditor: typeof SignEditor;
Layout: typeof Layout;
HTapeLayout: typeof HTapeLayout;
VTapeLayout: typeof VTapeLayout;
AbstractTreeValueChooser: typeof AbstractTreeValueChooser;
AbstractListTreeValueChooser: typeof AbstractListTreeValueChooser;
ListTreeValueChooserInsertCombo: typeof ListTreeValueChooserInsertCombo;
TreeValueChooserCombo: typeof TreeValueChooserCombo;
TreeValueChooserInsertCombo: typeof TreeValueChooserInsertCombo;
@ -200,15 +197,15 @@ export interface BI extends _func, _i18n, _base, _inject, _var {
MultiTreeListCombo: typeof MultiTreeListCombo;
MultiTreeInsertCombo: typeof MultiTreeInsertCombo;
Decorators: typeof decorator;
DownListCombo: ClassConstructor<_DownListCombo> & _DownListComboStatic;
Iframe: ClassConstructor<_Iframe>;
AbsoluteLayout: ClassConstructor<_AbsoluteLayout>;
VerticalLayout: ClassConstructor<_VerticalLayout>;
DefaultLayout: ClassConstructor<_DefaultLayout>;
Input: ClassConstructor<_Input> & _InputStatic;
SearchTextValueCombo: ClassConstructor<_SearchTextValueCombo> & _SearchTextValueComboStatic;
DownListCombo: typeof DownListCombo;
Iframe: typeof Iframe;
AbsoluteLayout: typeof AbsoluteLayout;
VerticalLayout: typeof VerticalLayout;
DefaultLayout: typeof DefaultLayout;
Input: typeof Input;
SearchTextValueCombo: typeof SearchTextValueCombo;
Icon: typeof Icon;
LeftVerticalAdaptLayout: ClassConstructor<_LeftVerticalAdapt>;
LeftVerticalAdaptLayout: typeof LeftVerticalAdaptLayout;
LeftRightVerticalAdaptLayout: typeof LeftRightVerticalAdaptLayout;
IconTextIconItem: typeof IconTextIconItem;
HorizontalAutoLayout: typeof HorizontalAutoLayout;
@ -294,9 +291,11 @@ export interface BI extends _func, _i18n, _base, _inject, _var {
IconTextValueCombo: typeof IconTextValueCombo;
ListView: typeof ListView;
FloatCenterLayout: typeof FloatCenterLayout;
Msg: _msg;
DynamicYearMonthPopup: typeof DynamicYearMonthPopup;
}
declare const _default: {
Decorators: typeof decorator;
};
export default _default;
export { OB, Widget, Single, BasicButton, Checkbox, Icon, LeftVerticalAdaptLayout, LeftRightVerticalAdaptLayout, SearchTextValueCombo, Input, IconTextItem, AllValueMultiTextValueCombo, IconTextIconItem, Layout, HorizontalAutoLayout, InlineVerticalAdaptLayout, RightVerticalAdaptLayout, TableAdaptLayout, AbsoluteCenterLayout, HorizontalAdaptLayout, FloatLeftLayout, FloatRightLayout, VerticalLayout, AbsoluteLayout, DefaultLayout, HTapeLayout, CenterAdaptLayout, VTapeLayout, VerticalAdaptLayout, IconButton, Trigger, TriggerIconButton, Action, ActionFactory, ShowAction, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, BubbleCombo, Loader, ListPane, MultiSelectBar, SelectList, TextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, AbstractTreeValueChooser, AbstractListTreeValueChooser, ListTreeValueChooserInsertCombo, TreeValueChooserCombo, TreeValueChooserInsertCombo, MultiLayerSelectTreePopup, MultiLayerSingleTreePopup, TreeView, ListTreeView, ListAsyncTree, AsyncTree, MultiLayerSingleTreeCombo, MultiLayerSelectTreeCombo, MultiTreeListCombo, MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, Radio, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SmallTextEditor, MultifileEditor, SignEditor, MultiSelectInsertCombo, MultiSelectCombo, SearchEditor, Text, Pane, MultiLayerSingleLevelTree, SimpleColorChooser, AbstractAllValueChooser, AllValueChooserCombo, TextAreaEditor, SingleSelectItem, DynamicDateTimeCombo, MultiTreeCombo, CenterLayout, VirtualGroup, GridLayout, MultiTreePopup, SingleSelectRadioItem, SingleSelectInsertCombo, SingleSelectCombo, CardLayout, DynamicYearMonthCombo, TimeCombo, Iframe, TextValueDownListCombo, Switch, HorizontalLayout, ShelterEditor, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, PopupView, BubblePopupView, BubblePopupBarView, TextBubblePopupBarView, ArrowTreeGroupNodeCheckbox, NumberInterval, DynamicYearQuarterCombo, DynamicYearCombo, IntervalSlider, MultiSelectInsertList, YearMonthInterval, TextValueCheckCombo, NumberEditor, LinearSegment, Img, EditorIconCheckCombo, IconTextValueCombo, ListView, FloatCenterLayout, };
export { OB, Widget, Single, BasicButton, Checkbox, Icon, LeftVerticalAdaptLayout, LeftRightVerticalAdaptLayout, SearchTextValueCombo, Input, IconTextItem, AllValueMultiTextValueCombo, IconTextIconItem, Layout, HorizontalAutoLayout, InlineVerticalAdaptLayout, RightVerticalAdaptLayout, TableAdaptLayout, AbsoluteCenterLayout, HorizontalAdaptLayout, FloatLeftLayout, FloatRightLayout, VerticalLayout, AbsoluteLayout, DefaultLayout, HTapeLayout, CenterAdaptLayout, VTapeLayout, VerticalAdaptLayout, IconButton, Trigger, TriggerIconButton, Action, ActionFactory, ShowAction, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, BubbleCombo, Loader, ListPane, MultiSelectBar, SelectList, TextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, AbstractTreeValueChooser, AbstractListTreeValueChooser, ListTreeValueChooserInsertCombo, TreeValueChooserCombo, TreeValueChooserInsertCombo, MultiLayerSelectTreePopup, MultiLayerSingleTreePopup, TreeView, ListTreeView, ListAsyncTree, AsyncTree, MultiLayerSingleTreeCombo, MultiLayerSelectTreeCombo, MultiTreeListCombo, MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, Radio, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SmallTextEditor, MultifileEditor, SignEditor, MultiSelectInsertCombo, MultiSelectCombo, SearchEditor, Text, Pane, MultiLayerSingleLevelTree, SimpleColorChooser, AbstractAllValueChooser, AllValueChooserCombo, TextAreaEditor, SingleSelectItem, DynamicDateTimeCombo, MultiTreeCombo, CenterLayout, VirtualGroup, GridLayout, MultiTreePopup, SingleSelectRadioItem, SingleSelectInsertCombo, SingleSelectCombo, CardLayout, DynamicYearMonthCombo, TimeCombo, Iframe, TextValueDownListCombo, Switch, HorizontalLayout, ShelterEditor, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, PopupView, BubblePopupView, BubblePopupBarView, TextBubblePopupBarView, ArrowTreeGroupNodeCheckbox, NumberInterval, DynamicYearQuarterCombo, DynamicYearCombo, IntervalSlider, MultiSelectInsertList, YearMonthInterval, TextValueCheckCombo, NumberEditor, LinearSegment, Img, EditorIconCheckCombo, IconTextValueCombo, ListView, FloatCenterLayout, DynamicYearMonthPopup, };

12
dist/lib/widget/downlist/combo.downlist.d.ts vendored

@ -1,14 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _DownListCombo extends _Widget {
hideView: () => void;
showView: (e?: any) => void;
populate: (items?: any) => void;
}
export interface _DownListComboStatic {
EVENT_CHANGE: string;
EVENT_SON_VALUE_CHANGE: string;
EVENT_BEFORE_POPUPVIEW: string;
}
import { Widget } from "../../core/widget";
export declare class DownListCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;

10
dist/lib/widget/yearmonth/popup.yearmonth.d.ts vendored

@ -0,0 +1,10 @@
import { Widget } from '../../core/widget';
export declare class DynamicYearMonthPopup extends Widget {
static xtype: string;
static BUTTON_CLEAR_EVENT_CHANGE: string;
static BUTTON_lABEL_EVENT_CHANGE: string;
static BUTTON_OK_EVENT_CHANGE: string;
static EVENT_CHANGE: string;
setMinDate(minDate?: string): void;
setMaxDate(maxDate?: string): void;
}

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

14
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2020-12-24 10:01:02 */
/*! time: 2020-12-25 10:53:08 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,12 +82,12 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1225);
/******/ return __webpack_require__(__webpack_require__.s = 1226);
/******/ })
/************************************************************************/
/******/ ({
/***/ 1086:
/***/ 1087:
/***/ (function(module, exports) {
BI.i18n = {
@ -315,7 +315,7 @@ if(_global.BI.prepares == null) {
/***/ }),
/***/ 1225:
/***/ 1226:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(122);
@ -345,8 +345,8 @@ __webpack_require__(139);
__webpack_require__(140);
__webpack_require__(141);
__webpack_require__(142);
__webpack_require__(1086);
__webpack_require__(1226);
__webpack_require__(1087);
__webpack_require__(1227);
__webpack_require__(152);
__webpack_require__(153);
module.exports = __webpack_require__(154);
@ -354,7 +354,7 @@ module.exports = __webpack_require__(154);
/***/ }),
/***/ 1226:
/***/ 1227:
/***/ (function(module, exports) {
/**

2
dist/utils.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js.map vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20201224100258",
"version": "2.0.20201225105411",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

34
typescript/base/combination/combo.ts

@ -1,36 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _Combo extends _Widget {
populate(...args: any[]): void;
_setEnable(v: boolean): void;
isViewVisible(): boolean;
showView(e?: Event): void;
hideView(): void;
getView(): any;
getPopupPosition(): any;
adjustHeight(e?: MouseEvent): void;
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;
}
import { Widget } from "../../core/widget";
export declare class Combo extends Widget {
static xtype: string;

48
typescript/base/combination/group.button.ts

@ -1,50 +1,4 @@
import { _Widget, Widget } from "../../core/widget";
export interface _ButtonGroup extends _Widget {
prependItems<T>(items: T[]): void;
addItems<T>(items: T[]): void;
removeItemAt(indexes: any): void;
removeItems(values: any): void;
populate(items?: any, ...args: any[]): void;
setNotSelectedValue(v: any): void;
getNotSelectedValue<T>(): T[];
setEnabledValue(v: any): void;
getAllButtons<T>(): T[];
getAllLeaves<T>(): T[];
getSelectedButtons<T>(): T[];
getNotSelectedButtons<T>(): T[];
getIndexByValue(value: any): number;
getNodeById(id: any): any;
getNodeByValue(value: any): any;
getValue<T>(): T[];
}
export interface _ButtonGroupChooseType {
CHOOSE_TYPE_SINGLE: number;
CHOOSE_TYPE_MULTI: number;
CHOOSE_TYPE_ALL: number;
CHOOSE_TYPE_NONE: number;
CHOOSE_TYPE_DEFAULT: number;
}
export interface _ButtonGroupStatic {
EVENT_CHANGE: string;
}
import { Widget } from "../../core/widget";
export declare class ButtonGroup extends Widget {
static xtype: string;

20
typescript/base/combination/tab.ts

@ -1,22 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _Tab extends _Widget {
setSelect(v: string | number): void;
removeTab(v: string | number): void;
getSelect(): string | number;
getSelectedTab(): any;
getTab(v: string | number): any;
populate(): void;
}
export interface _TabStatic {
EVENT_CHANGE: string;
}
import { Widget } from "../../core/widget";
export declare class Tab extends Widget {
static xtype: string;

6
typescript/base/foundation/message.ts

@ -0,0 +1,6 @@
export type _msg = {
alert: (title: string, message?: string, callback?: (result?: boolean)=>void) => void
confirm: (title: string, message?: string, callback?: (result: boolean)=>void) => void
prompt: (title: string, message?: string, value?: any, callback?: (result: string) => void, minWidth?: number) => void
toast: (message: string, options?: object, context?: HTMLElement ) => void
}

14
typescript/base/pane.ts

@ -1,16 +1,4 @@
import { _Widget, Widget } from "../core/widget";
export interface _Pane extends _Widget {
_assertTip(..._args: any[]): void;
loading(..._args: any[]): void;
loaded(..._args: any[]): void;
check(..._args: any[]): void;
populate(...args: any[]): void;
}
export interface _PaneStatic {
EVENT_LOADED: string;
}
import { Widget } from "../core/widget";
export declare class Pane extends Widget {
static EVENT_LOADED: string;

42
typescript/base/single/button/button.basic.ts

@ -1,44 +1,4 @@
import { Single, _Single } from "../single";
export interface _BasicButton extends _Single {
_createShadow(): void;
bindEvent(): void;
_trigger(e: Event): void;
_doClick(e: Event): void;
beforeClick(): void;
doClick(): void;
handle(): _BasicButton;
hover(): void;
dishover(): void;
setSelected(b: boolean): void;
isSelected(): boolean;
isOnce(): boolean;
isForceSelected(): boolean;
isForceNotSelected(): boolean;
isDisableSelected(): boolean;
setText(v: string): void;
getText(): string;
}
export interface _BasicButtonStatic {
EVENT_CHANGE: string;
}
import { Single } from "../single";
export declare class BasicButton extends Single {
static EVENT_CHANGE: string;

12
typescript/base/single/button/button.node.ts

@ -1,14 +1,4 @@
import { _BasicButton, BasicButton } from "./button.basic";
export interface _NodeButton extends _BasicButton {
isOpened(): boolean;
setOpened(b: boolean): void;
triggerCollapse(): void;
triggerExpand(): void;
}
import { BasicButton } from "./button.basic";
export declare class NodeButton extends BasicButton {
isOpened(): boolean;

18
typescript/base/single/button/buttons/button.text.ts

@ -1,20 +1,4 @@
import { BasicButton, _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;
}
import { BasicButton } from "../button.basic";
export declare class TextButton extends BasicButton {
static xtype: string;

16
typescript/base/single/button/buttons/button.ts

@ -1,19 +1,5 @@
import { IconLabel, Label } from "../../../..";
import { BasicButton, _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;
}
import { BasicButton } from "../button.basic";
export declare class Button extends BasicButton {
static xtype: string;

16
typescript/base/single/button/listitem/icontextitem.ts

@ -1,18 +1,4 @@
import { BasicButton, _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;
}
import { BasicButton } from "../button.basic";
export declare class IconTextItem extends BasicButton {
static xtype: string;

57
typescript/base/single/editor/editor.ts

@ -1,59 +1,4 @@
import { _Single, 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;
}
import { Single } from "../single";
export declare class Editor extends Single {
static xtype: string;

12
typescript/base/single/iframe/iframe.ts

@ -1,14 +1,4 @@
import { Single, _Single } from "../single";
export interface _Iframe extends _Single {
setSrc(v: string): void;
getSrc(): string;
setName(v: string): void;
getName(): string;
}
import { Single } from "../single";
export declare class Iframe extends Single {
static xtype: string;

10
typescript/base/single/input/checkbox.ts

@ -1,12 +1,4 @@
import { BasicButton, _BasicButton } from "../button/button.basic";
export interface _Checkbox extends _BasicButton {
_setEnable(enable: boolean): void;
}
export interface _CheckboxStatic {
EVENT_CHANGE: string;
}
import { BasicButton } from "../button/button.basic";
export declare class Checkbox extends BasicButton {
static xtype: string;

46
typescript/base/single/input/input.ts

@ -1,48 +1,4 @@
import { _Single, Single } from "../single";
export interface _Input extends _Single {
onClick(): void;
onKeyDown(keyCode: number): void;
focus(): void;
blur(): void;
selectAll(): void;
setValue(v: string): void;
getValue(): string;
isEditing(): boolean;
getLastValidValue(): string;
getLastChangedValue(): string;
}
export interface _InputStatic {
EVENT_CHANGE: string;
EVENT_FOCUS: string;
EVENT_CLICK: string;
EVENT_BLUR: string;
EVENT_KEY_DOWN: string;
EVENT_QUICK_DOWN: string;
EVENT_SPACE: string;
EVENT_BACKSPACE: string;
EVENT_START: string;
EVENT_PAUSE: string;
EVENT_STOP: string;
EVENT_CHANGE_CONFIRM: string;
EVENT_CONFIRM: string;
EVENT_REMOVE: string;
EVENT_EMPTY: string;
EVENT_VALID: string;
EVENT_ERROR: string;
EVENT_ENTER: string;
EVENT_RESTRICT: string;
}
import { Single } from "../single";
export declare class Input extends Single {
static xtype: string;

18
typescript/base/single/label/abstract.label.ts

@ -1,20 +1,4 @@
import { _Single, 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;
}
import { Single } from "../single";
export declare class AbstractLabel extends Single {
static xtype: string;

8
typescript/base/single/label/label.ts

@ -1,10 +1,4 @@
import { _AbstractLabel, AbstractLabel } from "./abstract.label";
export interface _Label extends _AbstractLabel {
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void
}
import { AbstractLabel } from "./abstract.label";
export declare class Label extends AbstractLabel {
static xtype: string;

30
typescript/base/single/single.ts

@ -1,32 +1,4 @@
import { Widget, _Widget } from "../../core/widget";
export interface _Single extends _Widget {
_showToolTip(e: Event, opt?: SingleOpt): void;
_hideTooltip(): void;
_clearTimeOut(): void;
enableHover(opt?: SingleOpt): void;
disabledHover(): void;
setTitle(title: string | Function, opt?: SingleOpt): void;
setWarningTitle(title: string, opt?: SingleOpt): void;
setTipType(v: string): void;
getTipType(): string;
isReadOnly(): boolean;
getTitle(): string;
getWarningTitle(): string;
populate(..._args: any[]): void;
}
import { Widget } from "../../core/widget";
interface SingleOpt {
container?: any, belowMouse?: boolean

16
typescript/base/single/text.ts

@ -1,18 +1,4 @@
import { _Single, Single } from "./single";
export interface _Text extends _Single {
doRedMark(keyword: string): void;
unRedMark(): void;
doHighLight(): void;
unHighLight(): void;
setStyle(css: any): void;
setText(v: string): void;
}
import { Single } from "./single";
export declare class Text extends Single {
static xtype: string;

8
typescript/base/single/trigger/trigger.ts

@ -1,10 +1,4 @@
import { Single, _Single } from "../single";
export interface _Trigger extends _Single {
setKey(..._args: any[]): void;
getKey(): string;
}
import { Single } from "../single";
export declare class Trigger extends Single {
setKey(..._args: any[]): void;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save