Browse Source

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

# Conflicts:
#	typescript/index.ts
master
iapyang 4 years ago
parent
commit
5f2da69b9e
  1. 4
      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. 2731
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 4
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 4
      dist/2.0/fineui_without_normalize.css
  10. 4
      dist/2.0/fineui_without_normalize.min.css
  11. 4
      dist/core.css
  12. 2687
      dist/core.js
  13. 2
      dist/core.js.map
  14. 4
      dist/demo.css
  15. 3069
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 4
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 2747
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 4
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 1357
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 10
      dist/lib/base/combination/group.virtual.d.ts
  29. 12
      dist/lib/base/single/editor/editor.textarea.d.ts
  30. 7
      dist/lib/case/button/item.singleselect.d.ts
  31. 13
      dist/lib/component/allvaluechooser/abstract.allvaluechooser.d.ts
  32. 6
      dist/lib/component/allvaluechooser/combo.allvaluechooser.d.ts
  33. 4
      dist/lib/core/wrapper/layout/layout.grid.d.ts
  34. 4
      dist/lib/core/wrapper/layout/middle/middle.center.d.ts
  35. 20
      dist/lib/index.d.ts
  36. 18
      dist/lib/widget/dynamicdatetime/dynamicdatetime.combo.d.ts
  37. 13
      dist/lib/widget/multitree/multi.tree.combo.d.ts
  38. 2
      dist/resource.css
  39. 108
      dist/utils.js
  40. 2
      dist/utils.js.map
  41. 4
      dist/utils.min.js
  42. 2
      dist/utils.min.js.map
  43. 2
      package.json
  44. 4
      src/less/base/combo/combo.bubble.less
  45. 4
      src/less/base/single/tip/tip.less
  46. 4
      src/less/base/view/popupview.less
  47. 16
      typescript/base/combination/group.virtual.ts
  48. 18
      typescript/base/single/editor/editor.textarea.ts
  49. 10
      typescript/case/button/item.singleselect.ts
  50. 17
      typescript/component/allvaluechooser/abstract.allvaluechooser.ts
  51. 9
      typescript/component/allvaluechooser/combo.allvaluechooser.ts
  52. 5
      typescript/core/wrapper/layout/layout.grid.ts
  53. 5
      typescript/core/wrapper/layout/middle/middle.center.ts
  54. 27
      typescript/index.ts
  55. 24
      typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts
  56. 15
      typescript/widget/multitree/multi.tree.combo.ts

4
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

2731
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

4
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

4
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/core.css vendored

File diff suppressed because one or more lines are too long

2687
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

4
dist/demo.css vendored

File diff suppressed because one or more lines are too long

3069
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

4
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

2747
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

4
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

1357
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

10
dist/lib/base/combination/group.virtual.d.ts vendored

@ -0,0 +1,10 @@
import { Widget } from '../../core/widget';
export declare class VirtualGroup extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
addItems<T>(items: T[]): void;
prependItems<T>(items: T[]): void;
getNotSelectedValue<T>(): T[];
getValue<T>(): T[];
populate(items?: any, ...args: any[]): void;
}

12
dist/lib/base/single/editor/editor.textarea.d.ts vendored

@ -0,0 +1,12 @@
import { Single } from "../single";
export declare class TextAreaEditor extends Single {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
focus(): void;
blur(): void;
setStyle(style: any): void;
getStyle(): any;
setWatermark(v: string): void;
}

7
dist/lib/case/button/item.singleselect.d.ts vendored

@ -0,0 +1,7 @@
import { BasicButton } from "../../base/single/button/button.basic";
export declare class SingleSelectItem extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
doRedMark(): void;
unRedMark(): void;
}

13
dist/lib/component/allvaluechooser/abstract.allvaluechooser.d.ts vendored

@ -0,0 +1,13 @@
import { Widget } from "../../core/widget";
export declare class AbstractAllValueChooser extends Widget {
static xtype: string;
_valueFormatter(v: string | number): string;
_itemsCreator(options: any, callback: Function): void;
_assertValue(v: {
type: string;
value: any[];
}): {
type: string;
value: any[];
};
}

6
dist/lib/component/allvaluechooser/combo.allvaluechooser.d.ts vendored

@ -0,0 +1,6 @@
import { AbstractAllValueChooser } from "./abstract.allvaluechooser";
export declare class AllValueChooserCombo extends AbstractAllValueChooser {
static xtype: string;
getAllValue(): any;
populate(...args: any[]): void;
}

4
dist/lib/core/wrapper/layout/layout.grid.d.ts vendored

@ -0,0 +1,4 @@
import { Layout } from '../layout';
export declare class GridLayout extends Layout {
static xtype: string;
}

4
dist/lib/core/wrapper/layout/middle/middle.center.d.ts vendored

@ -0,0 +1,4 @@
import { Layout } from '../../layout';
export declare class CenterLayout extends Layout {
static xtype: string;
}

20
dist/lib/index.d.ts vendored

@ -76,6 +76,15 @@ import { MultiSelectCombo } from "./widget/multiselect/multiselect.combo";
import { SearchEditor } from "./widget/editor/editor.search";
import { MultiLayerSingleLevelTree } from "./widget/multilayersingletree/multilayersingletree.leveltree";
import { SimpleColorChooser } from "./case/colorchooser/colorchooser.simple";
import { AbstractAllValueChooser } from "./component/allvaluechooser/abstract.allvaluechooser";
import { AllValueChooserCombo } from "./component/allvaluechooser/combo.allvaluechooser";
import { TextAreaEditor } from "./base/single/editor/editor.textarea";
import { SingleSelectItem } from "./case/button/item.singleselect";
import { DynamicDateTimeCombo } from "./widget/dynamicdatetime/dynamicdatetime.combo";
import { MultiTreeCombo } from "./widget/multitree/multi.tree.combo";
import { CenterLayout } from "./core/wrapper/layout/middle/middle.center";
import { VirtualGroup } from "./base/combination/group.virtual";
import { GridLayout } from "./core/wrapper/layout/layout.grid";
declare type ClassConstructor<T extends {}> = T & {
new (config: any): T;
(config: any): T;
@ -162,9 +171,18 @@ export interface BI extends _func, _i18n, _base, _inject {
SearchEditor: typeof SearchEditor;
MultiLayerSingleLevelTree: typeof MultiLayerSingleLevelTree;
SimpleColorChooser: typeof SimpleColorChooser;
AbstractAllValueChooser: typeof AbstractAllValueChooser;
AllValueChooserCombo: typeof AllValueChooserCombo;
TextAreaEditor: typeof TextAreaEditor;
SingleSelectItem: typeof SingleSelectItem;
DynamicDateTimeCombo: typeof DynamicDateTimeCombo;
MultiTreeCombo: typeof MultiTreeCombo;
CenterLayout: typeof CenterLayout;
VirtualGroup: typeof VirtualGroup;
GridLayout: typeof GridLayout;
}
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, SmallTextEditor, MultifileEditor, SignEditor, MultiSelectInsertCombo, MultiSelectCombo, SearchEditor, Text, Pane, MultiLayerSingleLevelTree, SimpleColorChooser, };
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, SmallTextEditor, MultifileEditor, SignEditor, MultiSelectInsertCombo, MultiSelectCombo, SearchEditor, Text, Pane, MultiLayerSingleLevelTree, SimpleColorChooser, AbstractAllValueChooser, AllValueChooserCombo, TextAreaEditor, SingleSelectItem, DynamicDateTimeCombo, MultiTreeCombo, CenterLayout, VirtualGroup, GridLayout, };

18
dist/lib/widget/dynamicdatetime/dynamicdatetime.combo.d.ts vendored

@ -0,0 +1,18 @@
import { Single } from "../../base/single/single";
export declare class DynamicDateTimeCombo extends Single {
static xtype: string;
static EVENT_KEY_DOWN: string;
static EVENT_CONFIRM: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_CHANGE: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_BEFORE_POPUPVIEW: string;
static Static: 1;
static Dynamic: 2;
setMinDate(minDate: string): void;
setMaxDate(minDate: string): void;
getKey(): string;
hidePopupView(): void;
}

13
dist/lib/widget/multitree/multi.tree.combo.d.ts vendored

@ -0,0 +1,13 @@
import { Single } from "../../base/single/single";
export declare class MultiTreeCombo extends Single {
static xytpe: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_STOP: string;
static EVENT_SEARCHING: string;
static EVENT_CLICK_ITEM: string;
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
showView(): void;
hideView(): void;
}

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

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

4
src/less/base/combo/combo.bubble.less

@ -3,10 +3,6 @@
.bi-bubble-combo {
& .button-combo-triangle-wrapper {
position: fixed !important;
// -ms-device-fixed >= IE11
// 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响
// 最重要的是-ms-device-fixed解决了IE11下的残影问题
position: -ms-device-fixed !important;
// 消除祖先节点设置的line-height:normal对空白节点的行高影响
line-height: 0;
.z-index-layer(@zIndex-popup);

4
src/less/base/single/tip/tip.less

@ -3,8 +3,4 @@
.bi-tip{
position: fixed !important;
// -ms-device-fixed >= IE11
// 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响
// 最重要的是-ms-device-fixed解决了IE11下的残影问题
position: -ms-device-fixed !important;
}

4
src/less/base/view/popupview.less

@ -3,10 +3,6 @@
/**********BI.BIListView*************/
.bi-popup-view {
position: fixed !important;
// -ms-device-fixed >= IE11
// 与fixed表现形式一致,区别在于浏览器缩放的时候,-ms-device-fixed的元素不受其影响,而fixed的元素受其影响
// 最重要的是-ms-device-fixed解决了IE11下的残影问题
position: -ms-device-fixed !important;
overflow-y: visible !important;
overflow-x: visible !important;
overflow: visible !important;

16
typescript/base/combination/group.virtual.ts

@ -0,0 +1,16 @@
import { Widget } from '../../core/widget';
export declare class VirtualGroup extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
addItems<T>(items: T[]): void;
prependItems<T>(items: T[]): void;
getNotSelectedValue<T>(): T[];
getValue<T>(): T[];
populate(items?: any, ...args: any[]): void
}

18
typescript/base/single/editor/editor.textarea.ts

@ -0,0 +1,18 @@
import { Single } from "../single";
export declare class TextAreaEditor extends Single {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
focus(): void;
blur(): void;
setStyle(style: any): void;
getStyle(): any;
setWatermark(v: string): void;
}

10
typescript/case/button/item.singleselect.ts

@ -0,0 +1,10 @@
import { BasicButton } from "../../base/single/button/button.basic";
export declare class SingleSelectItem extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
doRedMark(): void;
unRedMark(): void;
}

17
typescript/component/allvaluechooser/abstract.allvaluechooser.ts

@ -0,0 +1,17 @@
import { Widget } from "../../core/widget";
export declare class AbstractAllValueChooser extends Widget {
static xtype: string;
_valueFormatter(v: string | number): string;
_itemsCreator(options: any, callback: Function): void;
_assertValue(v: {
type: string;
value: any[];
}): {
type: string;
value: any[];
}
}

9
typescript/component/allvaluechooser/combo.allvaluechooser.ts

@ -0,0 +1,9 @@
import { AbstractAllValueChooser } from "./abstract.allvaluechooser";
export declare class AllValueChooserCombo extends AbstractAllValueChooser {
static xtype: string;
getAllValue(): any;
populate(...args: any[]): void;
}

5
typescript/core/wrapper/layout/layout.grid.ts

@ -0,0 +1,5 @@
import { Layout } from '../layout';
export declare class GridLayout extends Layout {
static xtype: string;
}

5
typescript/core/wrapper/layout/middle/middle.center.ts

@ -0,0 +1,5 @@
import { Layout } from '../../layout';
export declare class CenterLayout extends Layout {
static xtype: string;
}

27
typescript/index.ts

@ -83,6 +83,15 @@ import { Loader } from "./base/combination/loader";
import { ListPane } from "./case/layer/pane.list";
import { MultiSelectBar } from "./case/toolbar/toolbar.multiselect";
import { SelectList } from "./case/list/list.select";
import { AbstractAllValueChooser } from "./component/allvaluechooser/abstract.allvaluechooser";
import { AllValueChooserCombo } from "./component/allvaluechooser/combo.allvaluechooser";
import { TextAreaEditor } from "./base/single/editor/editor.textarea";
import { SingleSelectItem } from "./case/button/item.singleselect";
import { DynamicDateTimeCombo } from "./widget/dynamicdatetime/dynamicdatetime.combo";
import { MultiTreeCombo } from "./widget/multitree/multi.tree.combo";
import { CenterLayout } from "./core/wrapper/layout/middle/middle.center";
import { VirtualGroup } from "./base/combination/group.virtual";
import { GridLayout } from "./core/wrapper/layout/layout.grid";
type ClassConstructor<T extends {}> = T & {
@ -179,6 +188,15 @@ export interface BI extends _func, _i18n, _base, _inject {
SearchEditor: typeof SearchEditor;
MultiLayerSingleLevelTree: typeof MultiLayerSingleLevelTree;
SimpleColorChooser: typeof SimpleColorChooser;
AbstractAllValueChooser: typeof AbstractAllValueChooser;
AllValueChooserCombo: typeof AllValueChooserCombo;
TextAreaEditor: typeof TextAreaEditor;
SingleSelectItem: typeof SingleSelectItem;
DynamicDateTimeCombo: typeof DynamicDateTimeCombo;
MultiTreeCombo: typeof MultiTreeCombo;
CenterLayout: typeof CenterLayout;
VirtualGroup: typeof VirtualGroup;
GridLayout: typeof GridLayout;
}
export default {
@ -249,4 +267,13 @@ export {
Pane,
MultiLayerSingleLevelTree,
SimpleColorChooser,
AbstractAllValueChooser,
AllValueChooserCombo,
TextAreaEditor,
SingleSelectItem,
DynamicDateTimeCombo,
MultiTreeCombo,
CenterLayout,
VirtualGroup,
GridLayout,
};

24
typescript/widget/dynamicdatetime/dynamicdatetime.combo.ts

@ -0,0 +1,24 @@
import { Single } from "../../base/single/single";
export declare class DynamicDateTimeCombo extends Single {
static xtype: string;
static EVENT_KEY_DOWN: string;
static EVENT_CONFIRM: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_CHANGE: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_BEFORE_POPUPVIEW: string;
static Static: 1;
static Dynamic: 2;
setMinDate(minDate: string): void;
setMaxDate(minDate: string): void;
getKey(): string;
hidePopupView(): void;
}

15
typescript/widget/multitree/multi.tree.combo.ts

@ -0,0 +1,15 @@
import { Single } from "../../base/single/single";
export declare class MultiTreeCombo extends Single {
static xytpe: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_STOP: string;
static EVENT_SEARCHING: string;
static EVENT_CLICK_ITEM: string;
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
showView(): void;
hideView(): void;
}
Loading…
Cancel
Save