Browse Source

Merge branch 'master' of ssh://cloud.finedevelop.com:7999/~dailer/fineui

es6
zsmj1994 4 years ago
parent
commit
0369f110bc
  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. 2611
      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. 2571
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 2945
      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. 2619
      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. 1305
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 11
      dist/lib/base/pane.d.ts
  29. 10
      dist/lib/base/single/text.d.ts
  30. 8
      dist/lib/case/colorchooser/colorchooser.simple.d.ts
  31. 12
      dist/lib/index.d.ts
  32. 31
      dist/lib/widget/editor/editor.search.d.ts
  33. 9
      dist/lib/widget/multilayersingletree/multilayersingletree.leveltree.d.ts
  34. 2
      dist/resource.css
  35. 314
      dist/utils.js
  36. 2
      dist/utils.js.map
  37. 4
      dist/utils.min.js
  38. 2
      dist/utils.min.js.map
  39. 2
      package.json
  40. 13
      typescript/base/pane.ts
  41. 16
      typescript/base/single/text.ts
  42. 12
      typescript/case/colorchooser/colorchooser.simple.ts
  43. 15
      typescript/index.ts
  44. 41
      typescript/widget/editor/editor.search.ts
  45. 2
      typescript/widget/editor/editor.text.ts
  46. 15
      typescript/widget/multilayersingletree/multilayersingletree.leveltree.ts

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

2611
dist/2.0/fineui.js vendored

File diff suppressed because one or more lines are too long

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

2571
dist/core.js vendored

File diff suppressed because one or more lines are too long

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

2945
dist/demo.js vendored

File diff suppressed because one or more lines are too long

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

2619
dist/fineui.js vendored

File diff suppressed because one or more lines are too long

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

1305
dist/fineui_without_jquery_polyfill.js vendored

File diff suppressed because one or more lines are too long

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

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

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

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

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

8
dist/lib/case/colorchooser/colorchooser.simple.d.ts vendored

@ -0,0 +1,8 @@
import { Widget } from '../../core/widget';
export declare class SimpleColorChooser extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
isViewVisible(): boolean;
hideView(): void;
showView(): void;
}

12
dist/lib/index.d.ts vendored

@ -1,7 +1,7 @@
import { _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 } from "./base/pane";
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";
@ -14,7 +14,7 @@ import { _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 } from "./base/single/text";
import { _Text, Text } from "./base/single/text";
import { _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";
@ -69,6 +69,9 @@ import { HorizontalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.horizon
import { FloatLeftLayout } from "./core/wrapper/layout/layout.flow";
import { CenterAdaptLayout } from "./core/wrapper/layout/adapt/adapt.center";
import { VerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.vertical";
import { SearchEditor } from "./widget/editor/editor.search";
import { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree";
import { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple";
declare type ClassConstructor<T extends {}> = T & {
new (config: any): T;
(config: any): T;
@ -148,9 +151,12 @@ export interface BI extends _func, _i18n, _base, _inject {
MidTreeLeafItem: typeof MidTreeLeafItem;
FirstTreeLeafItem: typeof FirstTreeLeafItem;
LastTreeLeafItem: typeof LastTreeLeafItem;
SearchEditor: typeof SearchEditor;
MultiLayerSingleLevelTree: typeof MultiLayerSingleLevelTree;
SimpleColorChooser: typeof SimpleColorChooser;
}
declare const _default: {
Decorators: typeof decorator;
};
export default _default;
export { Widget, Single, BasicButton, Icon, LeftRightVerticalAdaptLayout, IconTextIconItem, Layout, HorizontalAutoLayout, InlineVerticalAdaptLayout, RightVerticalAdaptLayout, TableAdaptLayout, AbsoluteCenterLayout, HorizontalAdaptLayout, FloatLeftLayout, VerticalLayout, AbsoluteLayout, DefaultLayout, HTapeLayout, CenterAdaptLayout, VTapeLayout, VerticalAdaptLayout, IconButton, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, TextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, IconCombo, DynamicDateCombo, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, };
export { Widget, Single, BasicButton, Icon, LeftRightVerticalAdaptLayout, IconTextIconItem, Layout, HorizontalAutoLayout, InlineVerticalAdaptLayout, RightVerticalAdaptLayout, TableAdaptLayout, AbsoluteCenterLayout, HorizontalAdaptLayout, FloatLeftLayout, VerticalLayout, AbsoluteLayout, DefaultLayout, HTapeLayout, CenterAdaptLayout, VTapeLayout, VerticalAdaptLayout, IconButton, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, TextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, IconCombo, DynamicDateCombo, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SearchEditor, Text, Pane, MultiLayerSingleLevelTree, SimpleColorChooser, };

31
dist/lib/widget/editor/editor.search.d.ts vendored

@ -0,0 +1,31 @@
import { Widget } from '../../core/widget';
export declare class SearchEditor extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_CLICK: string;
static EVENT_KEY_DOWN: string;
static EVENT_SPACE: string;
static EVENT_BACKSPACE: string;
static EVENT_CLEAR: string;
static EVENT_START: string;
static EVENT_PAUSE: string;
static EVENT_STOP: string;
static EVENT_CONFIRM: string;
static EVENT_CHANGE_CONFIRM: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_ENTER: string;
static EVENT_RESTRICT: string;
static EVENT_REMOVE: string;
static EVENT_EMPTY: string;
setWaterMark(v: string): void;
focus(): void;
blur(): void;
getKeywords(): string[];
getLastValidValue(): string;
getLastChangedValue(): string;
isEditing(): boolean;
isValid(): boolean;
}

9
dist/lib/widget/multilayersingletree/multilayersingletree.leveltree.d.ts vendored

@ -0,0 +1,9 @@
import { Pane } from '../../base/pane';
export declare class MultiLayerSingleLevelTree extends Pane {
static xtype: string;
initTree(nodes: any, ...args: any[]): void;
populate(nodes: any, ...args: any[]): void;
getAllLeaves<T>(): T[];
getNodeById(id: any): any;
getNodeByValue(value: any): any;
}

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

314
dist/utils.js vendored

File diff suppressed because one or more lines are too long

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.20201214202141",
"version": "2.0.20201215094155",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

13
typescript/base/pane.ts

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

16
typescript/base/single/text.ts

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

12
typescript/case/colorchooser/colorchooser.simple.ts

@ -0,0 +1,12 @@
import { Widget } from '../../core/widget';
export declare class SimpleColorChooser extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
isViewVisible(): boolean;
hideView(): void;
showView(): void;
}

15
typescript/index.ts

@ -1,7 +1,7 @@
import { _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 } from "./base/pane";
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";
@ -14,7 +14,7 @@ import { _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 } from "./base/single/text";
import { _Text, Text } from "./base/single/text";
import { _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";
@ -69,6 +69,9 @@ import { HorizontalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.horizon
import { FloatLeftLayout } from "./core/wrapper/layout/layout.flow";
import { CenterAdaptLayout } from "./core/wrapper/layout/adapt/adapt.center";
import { VerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.vertical";
import { SearchEditor } from "./widget/editor/editor.search";
import { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree";
import { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple"
type ClassConstructor<T extends {}> = T & {
@ -151,6 +154,9 @@ export interface BI extends _func, _i18n, _base, _inject {
MidTreeLeafItem: typeof MidTreeLeafItem;
FirstTreeLeafItem: typeof FirstTreeLeafItem;
LastTreeLeafItem: typeof LastTreeLeafItem;
SearchEditor: typeof SearchEditor;
MultiLayerSingleLevelTree: typeof MultiLayerSingleLevelTree;
SimpleColorChooser: typeof SimpleColorChooser;
}
export default {
@ -203,4 +209,9 @@ export {
MidTreeLeafItem,
FirstTreeLeafItem,
LastTreeLeafItem,
SearchEditor,
Text,
Pane,
MultiLayerSingleLevelTree,
SimpleColorChooser,
};

41
typescript/widget/editor/editor.search.ts

@ -0,0 +1,41 @@
import { Widget } from '../../core/widget';
export declare class SearchEditor extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_CLICK: string;
static EVENT_KEY_DOWN: string;
static EVENT_SPACE: string;
static EVENT_BACKSPACE: string;
static EVENT_CLEAR: string;
static EVENT_START: string;
static EVENT_PAUSE: string;
static EVENT_STOP: string;
static EVENT_CONFIRM: string;
static EVENT_CHANGE_CONFIRM: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_ENTER: string;
static EVENT_RESTRICT: string;
static EVENT_REMOVE: string;
static EVENT_EMPTY: string;
setWaterMark(v: string): void;
focus(): void;
blur(): void;
getKeywords(): string[];
getLastValidValue(): string;
getLastChangedValue(): string;
isEditing(): boolean;
isValid(): boolean;
}

2
typescript/widget/editor/editor.text.ts

@ -32,5 +32,5 @@ export declare class TextEditor extends Widget {
getErrorText(): string;
isValid(): boolean
isValid(): boolean;
}

15
typescript/widget/multilayersingletree/multilayersingletree.leveltree.ts

@ -0,0 +1,15 @@
import { Pane } from '../../base/pane'
export declare class MultiLayerSingleLevelTree extends Pane {
static xtype: string;
initTree(nodes: any, ...args: any[]): void;
populate(nodes: any, ...args: any[]): void;
getAllLeaves<T>(): T[];
getNodeById(id: any): any;
getNodeByValue(value: any): any;
}
Loading…
Cancel
Save