Browse Source

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

es6
iapyang 4 years ago
parent
commit
c366d4caba
  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. 2989
      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. 2945
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 3325
      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. 3003
      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. 1411
      dist/fineui_without_jquery_polyfill.js
  26. 2
      dist/fineui_without_jquery_polyfill.js.map
  27. 2
      dist/font.css
  28. 4
      dist/lib/base/a/a.d.ts
  29. 16
      dist/lib/base/combination/loader.d.ts
  30. 24
      dist/lib/base/combination/switcher.d.ts
  31. 2
      dist/lib/base/single/button/button.node.d.ts
  32. 11
      dist/lib/base/single/html/html.d.ts
  33. 17
      dist/lib/case/combo/bubblecombo/combo.bubble.d.ts
  34. 21
      dist/lib/case/layer/pane.list.d.ts
  35. 24
      dist/lib/case/list/list.select.d.ts
  36. 8
      dist/lib/case/toolbar/toolbar.multiselect.d.ts
  37. 18
      dist/lib/index.d.ts
  38. 2
      dist/resource.css
  39. 116
      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. 1
      src/widget/multiselect/multiselect.combo.js
  45. 1
      src/widget/multiselect/multiselect.combo.nobar.js
  46. 1
      src/widget/multiselect/multiselect.insert.combo.js
  47. 1
      src/widget/multiselect/multiselect.insert.combo.nobar.js
  48. 1
      src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js
  49. 2
      typescript/base/single/button/button.node.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

2989
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

2945
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

3325
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

3003
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

1411
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

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

@ -0,0 +1,4 @@
import { Text } from "../single/text";
export declare class A extends Text {
static xtype: string;
}

16
dist/lib/base/combination/loader.d.ts vendored

@ -0,0 +1,16 @@
import { Widget } from "../../core/widget";
export declare class Loader extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
populate<T>(items: T[]): void;
setNotSelectedValue(...args: any[]): void;
getNotSelectedValue<T>(): T;
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[];
}

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

@ -0,0 +1,24 @@
import { Widget } from "../../core/widget";
export declare class Switcher extends Widget {
static xtype: string;
static EVENT_EXPAND: string;
static EVENT_COLLAPSE: string;
static EVENT_TRIGGER_CHANGE: string;
static EVENT_CHANGE: string;
static EVENT_AFTER_INIT: string;
static EVENT_BEFORE_POPUPVIEW: string;
static EVENT_AFTER_POPUPVIEW: string;
static EVENT_BEFORE_HIDEVIEW: string;
static EVENT_AFTER_HIDEVIEW: string;
populate(...args: any[]): void;
setAdapter(adapter: any): void;
isViewVisible(): boolean;
isExpanded(): boolean;
showView(): void;
hideView(): void;
getView<T>(): T;
adjustView(): void;
getAllLeaves<T>(): T[];
getNodeById<T>(id: string): T | undefined;
getNodeByValue<T>(value: any): T | undefined;
}

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

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

11
dist/lib/base/single/html/html.d.ts vendored

@ -0,0 +1,11 @@
import { Single } from "../single";
export declare class Html extends Single {
static xtype: string;
doHighLight(): void;
unHighLight(): void;
setValue(v: string): void;
setStyle(css: {
[key: string]: string | number;
}): void;
setText(v: string): void;
}

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

@ -1,4 +1,4 @@
import { _Widget } from "../../../core/widget";
import { Widget, _Widget } from "../../../core/widget";
export interface _BubbleCombo extends _Widget {
hideView(): void;
showView(): void;
@ -15,3 +15,18 @@ export interface _BubbleComboStatic {
EVENT_BEFORE_HIDEVIEW: string;
EVENT_AFTER_HIDEVIEW: string;
}
export declare class BubbleCombo extends Widget {
static xtype: string;
static EVENT_TRIGGER_CHANGE: string;
static EVENT_CHANGE: string;
static EVENT_EXPAND: string;
static EVENT_COLLAPSE: string;
static EVENT_AFTER_INIT: string;
static EVENT_BEFORE_POPUPVIEW: string;
static EVENT_AFTER_POPUPVIEW: string;
static EVENT_BEFORE_HIDEVIEW: string;
static EVENT_AFTER_HIDEVIEW: string;
hideView(): void;
showView(): void;
isViewVisible(): boolean;
}

21
dist/lib/case/layer/pane.list.d.ts vendored

@ -0,0 +1,21 @@
import { Pane } from "../../base/pane";
export declare class ListPane extends Pane {
static xtype: string;
static EVENT_CHANGE: string;
hasPrev(): boolean;
hasNext(): boolean;
prependItems<T>(items: T[]): void;
addItems<T>(items: T[]): void;
removeItemAt(indexes: number): void;
populate<T>(items?: T[]): 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<T>(id: any): T;
getNodeByValue<T>(value: any): T;
}

24
dist/lib/case/list/list.select.d.ts vendored

@ -0,0 +1,24 @@
import { Widget } from "../../core/widget";
export declare class SelectList extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
setAllSelected(v: boolean): void;
setToolBarVisible(v: boolean): void;
isAllSelected(): boolean;
hasPrev(): boolean;
hasNext(): boolean;
prependItems<T>(items: T[]): void;
addItems<T>(items: T[]): void;
populate<T>(items: T[]): void;
resetHeight(h: number): 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<T>(id: any): T;
getNodeByValue<T>(value: any): T;
}

8
dist/lib/case/toolbar/toolbar.multiselect.d.ts vendored

@ -0,0 +1,8 @@
import { BasicButton } from "../../base/single/button/button.basic";
export declare class MultiSelectBar extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
setHalfSelected(v: boolean): void;
isHalfSelected(): boolean;
setValue<T>(selectedValues: T[]): void;
}

18
dist/lib/index.d.ts vendored

@ -18,7 +18,7 @@ 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";
import { _BubbleCombo, _BubbleComboStatic } from "./case/combo/bubblecombo/combo.bubble";
import { BubbleCombo, _BubbleCombo, _BubbleComboStatic } from "./case/combo/bubblecombo/combo.bubble";
import { _TextValueCombo, _TextValueComboStatic, TextValueCombo } from "./case/combo/combo.textvalue";
import { _SearchTextValueCombo, _SearchTextValueComboStatic } from "./case/combo/searchtextvaluecombo/combo.searchtextvalue";
import { _SignEditor, _SignEditorStatic, SignEditor } from "./case/editor/editor.sign";
@ -76,6 +76,13 @@ 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 { A } from "./base/a/a";
import { Html } from "./base/single/html/html";
import { Switcher } from "./base/combination/switcher";
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";
@ -153,6 +160,13 @@ export interface BI extends _func, _i18n, _base, _inject {
VerticalAdaptLayout: typeof VerticalAdaptLayout;
IconButton: typeof IconButton;
TextEditor: typeof TextEditor;
A: typeof A;
Html: typeof Html;
Switcher: typeof Switcher;
Loader: typeof Loader;
ListPane: typeof ListPane;
MultiSelectBar: typeof MultiSelectBar;
SelectList: typeof SelectList;
IconLabel: typeof IconLabel;
Popover: typeof Popover;
BarPopover: typeof BarPopover;
@ -185,4 +199,4 @@ 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, AbstractAllValueChooser, AllValueChooserCombo, TextAreaEditor, SingleSelectItem, DynamicDateTimeCombo, MultiTreeCombo, CenterLayout, VirtualGroup, GridLayout, };
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, A, Html, Switcher, BubbleCombo, Loader, ListPane, MultiSelectBar, SelectList, 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, };

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

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

1
src/widget/multiselect/multiselect.combo.js

@ -171,6 +171,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.MultiSelectPopupView.EVENT_CLICK_CLEAR,
action: function () {
self._dataChange = true;
self.setValue();
self._defaultState();
}

1
src/widget/multiselect/multiselect.combo.nobar.js

@ -160,6 +160,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.MultiSelectPopupView.EVENT_CLICK_CLEAR,
action: function () {
self._dataChange = true;
self.setValue();
self._defaultState();
}

1
src/widget/multiselect/multiselect.insert.combo.js

@ -165,6 +165,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.MultiSelectPopupView.EVENT_CLICK_CLEAR,
action: function () {
self._dataChange = true;
self.setValue();
self._defaultState();
}

1
src/widget/multiselect/multiselect.insert.combo.nobar.js

@ -157,6 +157,7 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.MultiSelectPopupView.EVENT_CLICK_CLEAR,
action: function () {
self._dataChange = true;
self.setValue();
self._defaultState();
}

1
src/widget/searchmultitextvaluecombo/multitextvalue.combo.search.js

@ -154,6 +154,7 @@ BI.SearchMultiTextValueCombo = BI.inherit(BI.Single, {
}, {
eventName: BI.MultiSelectPopupView.EVENT_CLICK_CLEAR,
action: function () {
self._dataChange = true;
self.setValue();
self._defaultState();
}

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

@ -1,7 +1,7 @@
import { _BasicButton, BasicButton } from "./button.basic";
export interface _NodeButton extends _BasicButton {
isOpened(): void;
isOpened(): boolean;
setOpened(b: boolean): void;

Loading…
Cancel
Save