git 4 years ago
parent
commit
30f9418cfb
  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. 1402
      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. 1362
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 1742
      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. 1396
      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. 2
      dist/fineui.proxy.css
  26. 598
      dist/fineui.proxy.js
  27. 2
      dist/fineui.proxy.js.map
  28. 2
      dist/fineui.proxy.min.css
  29. 4
      dist/fineui.proxy.min.js
  30. 2
      dist/fineui.proxy.min.js.map
  31. 510
      dist/fineui_without_jquery_polyfill.js
  32. 2
      dist/fineui_without_jquery_polyfill.js.map
  33. 2
      dist/font.css
  34. 26
      dist/lib/base/combination/combo.d.ts
  35. 2
      dist/lib/case/layer/pane.list.d.ts
  36. 2
      dist/lib/component/treevaluechooser/combo.listtreevaluechooser.d.ts
  37. 2
      dist/lib/component/treevaluechooser/combo.treevaluechooser.d.ts
  38. 2
      dist/lib/component/treevaluechooser/combo.treevaluechooser.insert.d.ts
  39. 11
      dist/lib/component/treevaluechooser/pane.treevaluechooser.d.ts
  40. 8
      dist/lib/index.d.ts
  41. 24
      dist/lib/widget/multilayerdownlist/multilayerdownlist.combo.d.ts
  42. 14
      dist/lib/widget/multilayerdownlist/multilayerdownlist.popup.d.ts
  43. 1
      dist/lib/widget/multilayerselecttree/multilayerselecttree.combo.d.ts
  44. 1
      dist/lib/widget/multilayersingletree/multilayersingletree.combo.d.ts
  45. 2
      dist/lib/widget/multitree/multi.tree.combo.d.ts
  46. 2
      dist/lib/widget/multitree/multi.tree.insert.combo.d.ts
  47. 2
      dist/lib/widget/multitree/multi.tree.list.combo.d.ts
  48. 2
      dist/resource.css
  49. 14
      dist/utils.js
  50. 2
      dist/utils.js.map
  51. 4
      dist/utils.min.js
  52. 2
      dist/utils.min.js.map
  53. 2
      package.json
  54. 2
      src/case/layer/pane.list.js
  55. 4
      src/case/trigger/trigger.text.js
  56. 4
      src/case/trigger/trigger.text.select.js
  57. 2
      src/case/trigger/trigger.text.select.small.js
  58. 4
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  59. 4
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  60. 4
      src/component/treevaluechooser/combo.treevaluechooser.js
  61. 5
      src/widget/datetime/datetime.combo.js
  62. 51
      src/widget/dynamicdate/dynamicdate.caculate.js
  63. 49
      src/widget/dynamicdate/dynamicdate.trigger.js
  64. 9
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  65. 9
      src/widget/multilayersingletree/multilayersingletree.combo.js
  66. 2
      src/widget/multiselect/multiselect.combo.js
  67. 2
      src/widget/multiselect/multiselect.combo.nobar.js
  68. 2
      src/widget/multiselect/multiselect.insert.combo.js
  69. 2
      src/widget/multiselectlist/multiselectlist.insert.js
  70. 2
      src/widget/multiselectlist/multiselectlist.insert.nobar.js
  71. 2
      src/widget/multiselectlist/multiselectlist.js
  72. 4
      src/widget/multitree/multi.tree.combo.js
  73. 4
      src/widget/multitree/multi.tree.insert.combo.js
  74. 4
      src/widget/multitree/multi.tree.list.combo.js
  75. 2
      src/widget/singleselect/trigger/searcher.singleselect.js
  76. 4
      src/widget/singletree/singletree.trigger.js
  77. 27
      typescript/base/combination/combo.ts
  78. 2
      typescript/case/layer/pane.list.ts
  79. 4
      typescript/component/treevaluechooser/combo.listtreevaluechooser.ts
  80. 3
      typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts
  81. 3
      typescript/component/treevaluechooser/combo.treevaluechooser.ts
  82. 17
      typescript/component/treevaluechooser/pane.treevaluechooser.ts
  83. 9
      typescript/index.ts
  84. 32
      typescript/widget/multilayerdownlist/multilayerdownlist.combo.ts
  85. 20
      typescript/widget/multilayerdownlist/multilayerdownlist.popup.ts
  86. 2
      typescript/widget/multilayerselecttree/multilayerselecttree.combo.ts
  87. 4
      typescript/widget/multilayersingletree/multilayersingletree.combo.ts
  88. 3
      typescript/widget/multitree/multi.tree.combo.ts
  89. 3
      typescript/widget/multitree/multi.tree.insert.combo.ts
  90. 3
      typescript/widget/multitree/multi.tree.list.combo.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

1402
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

1362
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

1742
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

1396
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

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

598
dist/fineui.proxy.js vendored

File diff suppressed because it is too large Load Diff

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

510
dist/fineui_without_jquery_polyfill.js vendored

File diff suppressed because it is too large Load Diff

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

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

@ -10,6 +10,32 @@ export declare class Combo extends Widget {
static EVENT_AFTER_POPUPVIEW: string;
static EVENT_BEFORE_HIDEVIEW: string;
static EVENT_AFTER_HIDEVIEW: string;
props: {
trigger: 'click' | 'hover' | 'click-hover' | '';
toggle: boolean;
direction: 'top' | 'bottom' | 'left' | 'right' | 'top,left' | 'top,right' | 'bottom,left' | 'bottom,right' | 'right,innerRight' | 'right,innerLeft' | 'innerRight' | 'innerLeft';
logic: {
dynamic: boolean;
};
container: any;
isDefaultInit: boolean;
destroyWhenHide: boolean;
hideWhenAnotherComboOpen: boolean;
isNeedAdjustHeight: boolean;
isNeedAdjustWidth: boolean;
stopEvent: boolean;
stopPropagation: boolean;
adjustLength: number;
adjustXOffset: number;
adjustYOffset: number;
hideChecker: Function;
offsetStyle: 'left' | 'right' | 'center';
el: any;
popup: any;
comboClass: string;
hoverClass: string;
belowMouse: boolean;
};
populate(...args: any[]): void;
_setEnable(v: boolean): void;
isViewVisible(): boolean;

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

@ -6,7 +6,7 @@ export declare class ListPane extends Pane {
hasNext(): boolean;
prependItems<T>(items: T[]): void;
addItems<T>(items: T[]): void;
removeItemAt(indexes: number): void;
removeItemAt(indexes?: number | number[]): void;
populate<T>(items?: T[]): void;
setNotSelectedValue(v: any): void;
getNotSelectedValue<T>(): T[];

2
dist/lib/component/treevaluechooser/combo.listtreevaluechooser.d.ts vendored

@ -1,3 +1,4 @@
import { Widget } from "../../core/widget";
import { AbstractListTreeValueChooser } from "./abstract.treevaluechooser.list";
export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeValueChooser {
static xtype: string;
@ -13,4 +14,5 @@ export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeVal
setValue(v: any): void;
getValue<T>(): T;
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

2
dist/lib/component/treevaluechooser/combo.treevaluechooser.d.ts vendored

@ -1,3 +1,4 @@
import { Widget } from "../../core/widget";
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserCombo extends AbstractTreeValueChooser {
static xtype: string;
@ -14,4 +15,5 @@ export declare class TreeValueChooserCombo extends AbstractTreeValueChooser {
getValue<T>(): T;
getAllValue<T>(): T;
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

2
dist/lib/component/treevaluechooser/combo.treevaluechooser.insert.d.ts vendored

@ -1,3 +1,4 @@
import { Widget } from "../../core/widget";
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChooser {
static xtype: string;
@ -13,4 +14,5 @@ export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChoose
setValue(v: any): void;
getValue<T>(): T;
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

11
dist/lib/component/treevaluechooser/pane.treevaluechooser.d.ts vendored

@ -0,0 +1,11 @@
import { TreeValue } from '../../base/tree/ztree/treeview';
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserPane extends AbstractTreeValueChooser {
static xtype: string;
static EVENT_CHANGE: string;
setSelectedValue(v: TreeValue): void;
setValue(v: TreeValue): void;
getValue(): TreeValue;
getAllValue(): TreeValue;
populate<T>(items?: T[]): void;
}

8
dist/lib/index.d.ts vendored

@ -104,6 +104,7 @@ import { TreeValueChooserInsertCombo } from "./component/treevaluechooser/combo.
import { Radio } from "./base/single/input/radio/radio";
import { MultiLayerSelectTreePopup } from "./widget/multilayerselecttree/multilayerselecttree.popup";
import { MultiLayerSingleTreePopup } from "./widget/multilayersingletree/multilayersingletree.popup";
import { MultiLayerDownListPopup } from "./widget/multilayerdownlist/multilayerdownlist.popup";
import { TreeView } from "./base/tree/ztree/treeview";
import { MultiTreePopup } from "./widget/multitree/multi.tree.popup";
import { SingleSelectRadioItem } from "./case/button/item.singleselect.radio";
@ -117,6 +118,7 @@ import { ListAsyncTree } from "./base/tree/ztree/list/listasynctree";
import { AsyncTree } from "./base/tree/ztree/asynctree";
import { MultiLayerSingleTreeCombo } from "./widget/multilayersingletree/multilayersingletree.combo";
import { MultiLayerSelectTreeCombo } from "./widget/multilayerselecttree/multilayerselecttree.combo";
import { MultiLayerDownListCombo } from "./widget/multilayerdownlist/multilayerdownlist.combo";
import { MultiTreeListCombo } from "./widget/multitree/multi.tree.list.combo";
import { MultiTreeInsertCombo } from "./widget/multitree/multi.tree.insert.combo";
import { TextValueDownListCombo } from "./widget/textvaluedownlistcombo/combo.textvaluedownlist";
@ -170,6 +172,7 @@ import { DynamicDateTimePane } from './widget/datetimepane/datetimepane';
import { SingleSelectInsertList } from './widget/singleselect/singleselectlist.insert';
import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
import { HtmlLabel } from "./base/single/label/html.label";
import { TreeValueChooserPane } from './component/treevaluechooser/pane.treevaluechooser';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
OB: typeof OB;
Plugin: _Plugin;
@ -221,12 +224,14 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
TreeValueChooserInsertCombo: typeof TreeValueChooserInsertCombo;
MultiLayerSelectTreePopup: typeof MultiLayerSelectTreePopup;
MultiLayerSingleTreePopup: typeof MultiLayerSingleTreePopup;
MultiLayerDownListPopup: typeof MultiLayerDownListPopup;
TreeView: typeof TreeView;
ListTreeView: typeof ListTreeView;
ListAsyncTree: typeof ListAsyncTree;
AsyncTree: typeof AsyncTree;
MultiLayerSingleTreeCombo: typeof MultiLayerSingleTreeCombo;
MultiLayerSelectTreeCombo: typeof MultiLayerSelectTreeCombo;
MultiLayerDownListCombo: typeof MultiLayerDownListCombo;
MultiTreeListCombo: typeof MultiTreeListCombo;
MultiTreeInsertCombo: typeof MultiTreeInsertCombo;
Decorators: typeof decorator;
@ -345,9 +350,10 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
SingleSelectInsertList: typeof SingleSelectInsertList;
MultiSelectTree: typeof MultiSelectTree;
HtmlLabel: typeof HtmlLabel;
TreeValueChooserPane: typeof TreeValueChooserPane;
}
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, Controller, LayerController, BroadcastController, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, BubbleCombo, Loader, ListPane, MultiPopupView, MultiSelectBar, SelectList, TextValueCombo, SmallTextValueCombo, 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, StateEditor, 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, TextTrigger, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, Pager, PopupView, BubblePopupView, BubblePopupBarView, TextBubblePopupBarView, ArrowTreeGroupNodeCheckbox, NumberInterval, DynamicYearQuarterCombo, DynamicYearCombo, IntervalSlider, MultiSelectInsertList, YearMonthInterval, TextValueCheckCombo, NumberEditor, LinearSegment, Img, EditorIconCheckCombo, IconTextValueCombo, ListView, FloatCenterLayout, DynamicYearMonthPopup, DateCalendarPopup, Tree, Node, TextNode, TextValueCheckComboPopup, ImageButton, Router, History, DateTimeCombo, FloatHorizontalLayout, AdaptiveLayout, HexColorChooserPopup, BlankIconTextItem, TimeInterval, DynamicDateTimePane, SingleSelectInsertList, MultiSelectTree, HtmlLabel, };
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, Controller, LayerController, BroadcastController, Behavior, BehaviorFactory, RedMarkBehavior, HighlightBehavior, LoadingPane, Searcher, AbstractLabel, Label, TextButton, DownListCombo, IconChangeButton, Button, TextEditor, A, Html, Switcher, BubbleCombo, Loader, ListPane, MultiPopupView, MultiSelectBar, SelectList, TextValueCombo, SmallTextValueCombo, Editor, IconLabel, Popover, BarPopover, Tab, AbstractTreeValueChooser, AbstractListTreeValueChooser, ListTreeValueChooserInsertCombo, TreeValueChooserCombo, TreeValueChooserInsertCombo, MultiLayerSelectTreePopup, MultiLayerSingleTreePopup, MultiLayerDownListPopup, TreeView, ListTreeView, ListAsyncTree, AsyncTree, MultiLayerSingleTreeCombo, MultiLayerSelectTreeCombo, MultiLayerDownListCombo, MultiTreeListCombo, MultiTreeInsertCombo, Combo, IconCombo, DynamicDateCombo, Radio, MultiSelectItem, CustomTree, ButtonGroup, ButtonTree, NodeButton, IconArrowNode, MidTreeLeafItem, FirstTreeLeafItem, LastTreeLeafItem, SmallTextEditor, MultifileEditor, SignEditor, StateEditor, 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, TextTrigger, SelectTextTrigger, DateInterval, DynamicDatePane, AllCountPager, Pager, PopupView, BubblePopupView, BubblePopupBarView, TextBubblePopupBarView, ArrowTreeGroupNodeCheckbox, NumberInterval, DynamicYearQuarterCombo, DynamicYearCombo, IntervalSlider, MultiSelectInsertList, YearMonthInterval, TextValueCheckCombo, NumberEditor, LinearSegment, Img, EditorIconCheckCombo, IconTextValueCombo, ListView, FloatCenterLayout, DynamicYearMonthPopup, DateCalendarPopup, Tree, Node, TextNode, TextValueCheckComboPopup, ImageButton, Router, History, DateTimeCombo, FloatHorizontalLayout, AdaptiveLayout, HexColorChooserPopup, BlankIconTextItem, TimeInterval, DynamicDateTimePane, SingleSelectInsertList, MultiSelectTree, HtmlLabel, TreeValueChooserPane, };

24
dist/lib/widget/multilayerdownlist/multilayerdownlist.combo.d.ts vendored

@ -0,0 +1,24 @@
import { Widget } from "../../core/widget";
import { Combo } from "../../base/combination/combo";
export declare class MultiLayerDownListCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_SON_VALUE_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
adjustLength: Combo['props']['adjustLength'];
direction: Combo['props']['direction'];
trigger: Combo['props']['trigger'];
container: Combo['props']['container'];
stopPropagation: Combo['props']['stopPropagation'];
el: Combo['props']['el'];
chooseType: number;
value: any;
iconCls: string;
};
hideView(): void;
showView(e?: Event): void;
setValue(v: any): void;
getValue<T>(): T;
populate<T>(items: T[]): void;
}

14
dist/lib/widget/multilayerdownlist/multilayerdownlist.popup.d.ts vendored

@ -0,0 +1,14 @@
import { Widget } from "../../core/widget";
export declare class MultiLayerDownListPopup extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_SON_VALUE_CHANGE: string;
props: {
items: any[];
chooseType: number;
value: any;
};
getValue<T>(): T;
setValue(v: any): void;
populate<T>(items: T[]): void;
}

1
dist/lib/widget/multilayerselecttree/multilayerselecttree.combo.d.ts vendored

@ -9,4 +9,5 @@ export declare class MultiLayerSelectTreeCombo extends Widget {
setValue(v: string[] | string): void;
getValue(): string[];
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

1
dist/lib/widget/multilayersingletree/multilayersingletree.combo.d.ts vendored

@ -9,4 +9,5 @@ export declare class MultiLayerSingleTreeCombo extends Widget {
setValue(v: string[] | string): void;
getValue(): string[];
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

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

@ -1,4 +1,5 @@
import { Single } from "../../base/single/single";
import { Widget } from "../../core/widget";
export declare class MultiTreeCombo extends Single {
static xtype: string;
static EVENT_FOCUS: string;
@ -10,4 +11,5 @@ export declare class MultiTreeCombo extends Single {
static EVENT_BEFORE_POPUPVIEW: string;
showView(): void;
hideView(): void;
getSearcher(): Widget;
}

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

@ -1,5 +1,6 @@
import { Single } from "../../base/single/single";
import { TreeValue } from "../../base/tree/ztree/treeview";
import { Widget } from "../../core/widget";
export declare class MultiTreeInsertCombo extends Single {
static xtype: string;
static EVENT_FOCUS: string;
@ -14,4 +15,5 @@ export declare class MultiTreeInsertCombo extends Single {
setValue(v: TreeValue): void;
getValue(): TreeValue;
populate(): void;
getSearcher(): Widget;
}

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

@ -1,4 +1,5 @@
import { Single } from "../../base/single/single";
import { Widget } from "../../core/widget";
export declare class MultiTreeListCombo extends Single {
static xtype: string;
static EVENT_FOCUS: string;
@ -13,4 +14,5 @@ export declare class MultiTreeListCombo extends Single {
setValue(v: string[]): void;
getValue(): string[];
populate(): void;
getSearcher(): Widget;
}

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: 2021-6-20 9:00:18 */
/*! time: 2021-6-22 14:00:17 */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -82,7 +82,7 @@
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1263);
/******/ return __webpack_require__(__webpack_require__.s = 1266);
/******/ })
/************************************************************************/
/******/ ({
@ -2927,7 +2927,7 @@ BI.Req = {
/***/ }),
/***/ 1121:
/***/ 1124:
/***/ (function(module, exports) {
BI.i18n = {
@ -3132,7 +3132,7 @@ BI.i18n = {
/***/ }),
/***/ 1263:
/***/ 1266:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(91);
@ -3151,8 +3151,8 @@ __webpack_require__(97);
__webpack_require__(98);
__webpack_require__(108);
__webpack_require__(109);
__webpack_require__(1121);
__webpack_require__(1264);
__webpack_require__(1124);
__webpack_require__(1267);
__webpack_require__(110);
__webpack_require__(111);
module.exports = __webpack_require__(112);
@ -3160,7 +3160,7 @@ module.exports = __webpack_require__(112);
/***/ }),
/***/ 1264:
/***/ 1267:
/***/ (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.20210620090120",
"version": "2.0.20210622140206",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

2
src/case/layer/pane.list.js

@ -104,7 +104,7 @@ BI.ListPane = BI.inherit(BI.Pane, {
},
removeItemAt: function (indexes) {
indexes = indexes || [];
indexes = BI.isNull(indexes) ? [] : indexes;
BI.removeAt(this.options.items, indexes);
this.button_group.removeItemAt.apply(this.button_group, arguments);
this.check();

4
src/case/trigger/trigger.text.js

@ -55,6 +55,10 @@ BI.TextTrigger = BI.inherit(BI.Trigger, {
});
},
getTextor: function() {
return this.text;
},
setTextCls: function(cls) {
var o = this.options;
var oldCls = o.textCls;

4
src/case/trigger/trigger.text.select.js

@ -64,6 +64,10 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, {
this.trigger.setTipType(v);
},
getTextor: function() {
return this.trigger.getTextor();
},
populate: function (items) {
this.options.items = items;
}

2
src/case/trigger/trigger.text.select.small.js

@ -21,7 +21,7 @@ BI.SmallSelectTextTrigger = BI.inherit(BI.Trigger, {
this.trigger = BI.createWidget({
type: "bi.small_text_trigger",
element: this,
height: o.height - 2,
height: o.height,
text: obj.text,
cls: obj.cls
});

4
src/component/treevaluechooser/combo.listtreevaluechooser.js

@ -84,6 +84,10 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
this.combo.hideView();
},
getSearcher: function () {
return this.combo.getSearcher();
},
setValue: function (v) {
this.combo.setValue(v);
},

4
src/component/treevaluechooser/combo.treevaluechooser.insert.js

@ -83,6 +83,10 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo.hideView();
},
getSearcher: function () {
return this.combo.getSearcher();
},
setValue: function (v) {
this.combo.setValue(v);
},

4
src/component/treevaluechooser/combo.treevaluechooser.js

@ -83,6 +83,10 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
this.combo.hideView();
},
getSearcher: function () {
return this.combo.getSearcher();
},
setValue: function (v) {
this.combo.setValue(v);
},

5
src/widget/datetime/datetime.combo.js

@ -31,6 +31,7 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
};
this.trigger = BI.createWidget({
type: "bi.date_time_trigger",
height: opts.height,
min: opts.minDate,
max: opts.maxDate,
value: opts.value
@ -82,8 +83,8 @@ BI.DateTimeCombo = BI.inherit(BI.Single, {
var triggerBtn = BI.createWidget({
type: "bi.icon_button",
cls: "bi-trigger-icon-button date-font",
width: 24,
height: 24
width: opts.height,
height: opts.height,
});
triggerBtn.on(BI.IconButton.EVENT_CHANGE, function () {
if (self.combo.isViewVisible()) {

51
src/widget/dynamicdate/dynamicdate.caculate.js

@ -7,6 +7,57 @@
return this.getCalculationByDate(date, obj);
},
getDescription: function (obj) {
var value = "";
var endText = "";
if(BI.isNotNull(obj.year)) {
if(BI.parseInt(obj.year) !== 0) {
value += Math.abs(obj.year) + BI.i18nText("BI-Basic_Year") + (obj.year < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Year"), obj.position);
}
if(BI.isNotNull(obj.quarter)) {
if(BI.parseInt(obj.quarter) !== 0) {
value += Math.abs(obj.quarter) + BI.i18nText("BI-Basic_Single_Quarter") + (obj.quarter < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Single_Quarter"), obj.position);
}
if(BI.isNotNull(obj.month)) {
if(BI.parseInt(obj.month) !== 0) {
value += Math.abs(obj.month) + BI.i18nText("BI-Basic_Month") + (obj.month < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Month"), obj.position);
}
if(BI.isNotNull(obj.week)) {
if(BI.parseInt(obj.week) !== 0) {
value += Math.abs(obj.week) + BI.i18nText("BI-Basic_Week") + (obj.week < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Week"), obj.position);
}
if(BI.isNotNull(obj.day)) {
if(BI.parseInt(obj.day) !== 0) {
value += Math.abs(obj.day) + BI.i18nText("BI-Basic_Day") + (obj.day < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = BI.size(obj) === 1 ? getPositionText(BI.i18nText("BI-Basic_Month"), obj.position) : "";
}
if(BI.isNotNull(obj.workDay) && BI.parseInt(obj.workDay) !== 0) {
value += Math.abs(obj.workDay) + BI.i18nText("BI-Basic_Work_Day") + (obj.workDay < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
return value + endText;
function getPositionText (baseText, position) {
switch (position) {
case BI.DynamicDateCard.OFFSET.BEGIN:
return baseText + BI.i18nText("BI-Basic_Begin_Start");
case BI.DynamicDateCard.OFFSET.END:
return baseText + BI.i18nText("BI-Basic_End_Stop");
case BI.DynamicDateCard.OFFSET.CURRENT:
default:
return BI.i18nText("BI-Basic_Current_Day");
}
}
},
getCalculationByDate: function (date, obj) {
if (BI.isNotNull(obj.year)) {
date = BI.getDate((date.getFullYear() + BI.parseInt(obj.year)), date.getMonth(), date.getDate());

49
src/widget/dynamicdate/dynamicdate.trigger.js

@ -240,54 +240,7 @@ BI.DynamicDateTrigger = BI.inherit(BI.Trigger, {
},
_getText: function (obj) {
var value = "";
var endText = "";
if(BI.isNotNull(obj.year)) {
if(BI.parseInt(obj.year) !== 0) {
value += Math.abs(obj.year) + BI.i18nText("BI-Basic_Year") + (obj.year < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Year"), obj.position);
}
if(BI.isNotNull(obj.quarter)) {
if(BI.parseInt(obj.quarter) !== 0) {
value += Math.abs(obj.quarter) + BI.i18nText("BI-Basic_Single_Quarter") + (obj.quarter < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Single_Quarter"), obj.position);
}
if(BI.isNotNull(obj.month)) {
if(BI.parseInt(obj.month) !== 0) {
value += Math.abs(obj.month) + BI.i18nText("BI-Basic_Month") + (obj.month < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Month"), obj.position);
}
if(BI.isNotNull(obj.week)) {
if(BI.parseInt(obj.week) !== 0) {
value += Math.abs(obj.week) + BI.i18nText("BI-Basic_Week") + (obj.week < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = getPositionText(BI.i18nText("BI-Basic_Week"), obj.position);
}
if(BI.isNotNull(obj.day)) {
if(BI.parseInt(obj.day) !== 0) {
value += Math.abs(obj.day) + BI.i18nText("BI-Basic_Day") + (obj.day < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
endText = BI.size(obj) === 1 ? getPositionText(BI.i18nText("BI-Basic_Month"), obj.position) : "";
}
if(BI.isNotNull(obj.workDay) && BI.parseInt(obj.workDay) !== 0) {
value += Math.abs(obj.workDay) + BI.i18nText("BI-Basic_Work_Day") + (obj.workDay < 0 ? BI.i18nText("BI-Basic_Front") : BI.i18nText("BI-Basic_Behind"));
}
return value + endText;
function getPositionText (baseText, position) {
switch (position) {
case BI.DynamicDateCard.OFFSET.BEGIN:
return baseText + BI.i18nText("BI-Basic_Begin_Start");
case BI.DynamicDateCard.OFFSET.END:
return baseText + BI.i18nText("BI-Basic_End_Stop");
case BI.DynamicDateCard.OFFSET.CURRENT:
default:
return BI.i18nText("BI-Basic_Current_Day");
}
}
return BI.DynamicDateHelper.getDescription(obj);
},
setValue: function (v) {

9
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -199,11 +199,14 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
},
_getSyncConfig: function () {
var o = this.options;
var o = this.options, self = this;
var baseConfig = this._getBaseConfig();
return BI.extend(baseConfig, o.allowEdit ? this._getSearchConfig() : {
el: {
type: "bi.single_tree_trigger",
ref: function(_ref) {
self.textTrigger = _ref;
},
text: o.text,
height: o.height,
items: o.items,
@ -226,6 +229,10 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
return this.combo.getValue();
},
getSearcher: function () {
return this.trigger ? this.trigger.getSearcher() : this.textTrigger.getTextor();
},
populate: function (items) {
this.combo.populate(items);
}

9
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -202,11 +202,14 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
},
_getSyncConfig: function () {
var o = this.options;
var o = this.options, self = this;
var baseConfig = this._getBaseConfig();
return BI.extend(baseConfig, o.allowEdit ? this._getSearchConfig() : {
el: {
type: "bi.single_tree_trigger",
ref: function(_ref) {
self.textTrigger = _ref;
},
text: o.text,
height: o.height,
items: o.items,
@ -220,6 +223,10 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
return BI.extend(config, this._getSearchConfig());
},
getSearcher: function () {
return this.trigger ? this.trigger.getSearcher() : this.textTrigger.getTextor();
},
setValue: function (v) {
v = BI.isArray(v) ? v : [v];
this.combo.setValue(v);

2
src/widget/multiselect/multiselect.combo.js

@ -395,7 +395,7 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
var map = this._makeMap(this.storeValue.value);
BI.each(res.value, function (i, v) {
if (!map[v]) {
self.storeValue.value.push(v);
BI.pushDistinct(self.storeValue.value, v);
BI.remove(self.storeValue.assist, v);
map[v] = v;
}

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

@ -422,7 +422,7 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
var map = this._makeMap(this.storeValue.value);
BI.each(res.value, function (i, v) {
if (!map[v]) {
self.storeValue.value.push(v);
BI.pushDistinct(self.storeValue.value, v);
BI.remove(self.storeValue.assist, v);
map[v] = v;
}

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

@ -407,7 +407,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
var map = this._makeMap(this.storeValue.value);
BI.each(res.value, function (i, v) {
if (!map[v]) {
self.storeValue.value.push(v);
BI.pushDistinct(self.storeValue.value, v);
// value更新的时候assist也需要更新
BI.remove(self.storeValue.assist, v);
map[v] = v;

2
src/widget/multiselectlist/multiselectlist.insert.js

@ -281,7 +281,7 @@ BI.MultiSelectInsertList = BI.inherit(BI.Single, {
var map = this._makeMap(this.storeValue.value);
BI.each(res.value, function (i, v) {
if (!map[v]) {
self.storeValue.value.push(v);
BI.pushDistinct(self.storeValue.value, v);
map[v] = v;
}
});

2
src/widget/multiselectlist/multiselectlist.insert.nobar.js

@ -285,7 +285,7 @@ BI.MultiSelectInsertNoBarList = BI.inherit(BI.Single, {
var map = this._makeMap(this.storeValue.value);
BI.each(res.value, function (i, v) {
if (!map[v]) {
self.storeValue.value.push(v);
BI.pushDistinct(self.storeValue.value, v);
map[v] = v;
}
});

2
src/widget/multiselectlist/multiselectlist.js

@ -301,7 +301,7 @@ BI.MultiSelectList = BI.inherit(BI.Widget, {
var map = this._makeMap(this.storeValue.value);
BI.each(res.value, function (i, v) {
if (!map[v]) {
self.storeValue.value.push(v);
BI.pushDistinct(self.storeValue.value, v);
map[v] = v;
}
});

4
src/widget/multitree/multi.tree.combo.js

@ -334,6 +334,10 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
});
},
getSearcher: function () {
return this.trigger.getSearcher();
},
getValue: function () {
return BI.deepClone(this.storeValue.value);
},

4
src/widget/multitree/multi.tree.insert.combo.js

@ -331,6 +331,10 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
getSearcher: function () {
return this.trigger.getSearcher();
},
showView: function () {
this.combo.showView();
},

4
src/widget/multitree/multi.tree.list.combo.js

@ -363,6 +363,10 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
this.combo.hideView();
},
getSearcher: function () {
return this.trigger.getSearcher();
},
setValue: function (v) {
this.storeValue.value = v || [];
this.combo.setValue({

2
src/widget/singleselect/trigger/searcher.singleselect.js

@ -108,7 +108,7 @@ BI.SingleSelectSearcher = BI.inherit(BI.Widget, {
},
getKeyword: function () {
return this.editor.getValue();
return this.editor.getKeyword();
},
hasMatched: function () {

4
src/widget/singletree/singletree.trigger.js

@ -51,6 +51,10 @@ BI.SingleTreeTrigger = BI.inherit(BI.Trigger, {
return this.options.value || [];
},
getTextor: function() {
return this.trigger.getTextor();
},
populate: function (items) {
this.trigger.populate(items);
}

27
typescript/base/combination/combo.ts

@ -12,6 +12,33 @@ export declare class Combo extends Widget {
static EVENT_BEFORE_HIDEVIEW: string;
static EVENT_AFTER_HIDEVIEW: string;
props: {
trigger: 'click' | 'hover' | 'click-hover' | '';
toggle: boolean;
direction: 'top' | 'bottom' | 'left' | 'right' | 'top,left' | 'top,right' | 'bottom,left' | 'bottom,right' | 'right,innerRight' | 'right,innerLeft' | 'innerRight' | 'innerLeft';
logic: {
dynamic: boolean;
},
container: any; // popupview放置的容器,默认为this.element
isDefaultInit: boolean;
destroyWhenHide: boolean;
hideWhenAnotherComboOpen: boolean;
isNeedAdjustHeight: boolean; // 是否需要高度调整
isNeedAdjustWidth: boolean;
stopEvent: boolean;
stopPropagation: boolean;
adjustLength: number; // 调整的距离
adjustXOffset: number;
adjustYOffset: number;
hideChecker: Function;
offsetStyle: 'left' | 'right' | 'center';
el: any;
popup: any;
comboClass: string;
hoverClass: string;
belowMouse: boolean;
}
populate(...args: any[]): void;
_setEnable(v: boolean): void;

2
typescript/case/layer/pane.list.ts

@ -13,7 +13,7 @@ export declare class ListPane extends Pane {
addItems<T>(items: T[]): void;
removeItemAt(indexes: number): void;
removeItemAt(indexes?: number | number[]): void;
populate<T>(items?: T[]): void;

4
typescript/component/treevaluechooser/combo.listtreevaluechooser.ts

@ -1,3 +1,5 @@
import { Widget } from "../../core/widget";
import { AbstractListTreeValueChooser } from "./abstract.treevaluechooser.list";
export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeValueChooser {
@ -19,4 +21,6 @@ export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeVal
getValue<T>(): T;
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

3
typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts

@ -1,3 +1,4 @@
import { Widget } from "../../core/widget";
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChooser {
@ -19,4 +20,6 @@ export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChoose
getValue<T>(): T;
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

3
typescript/component/treevaluechooser/combo.treevaluechooser.ts

@ -1,3 +1,4 @@
import { Widget } from "../../core/widget";
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserCombo extends AbstractTreeValueChooser {
@ -21,4 +22,6 @@ export declare class TreeValueChooserCombo extends AbstractTreeValueChooser {
getAllValue<T>(): T;
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

17
typescript/component/treevaluechooser/pane.treevaluechooser.ts

@ -0,0 +1,17 @@
import { TreeValue } from '../../base/tree/ztree/treeview';
import { AbstractTreeValueChooser } from "./abstract.treevaluechooser";
export declare class TreeValueChooserPane extends AbstractTreeValueChooser {
static xtype: string;
static EVENT_CHANGE: string;
setSelectedValue(v: TreeValue): void;
setValue(v: TreeValue): void;
getValue(): TreeValue;
getAllValue(): TreeValue;
populate<T>(items?: T[]): void;
}

9
typescript/index.ts

@ -104,6 +104,7 @@ import { TreeValueChooserInsertCombo } from "./component/treevaluechooser/combo.
import { Radio } from "./base/single/input/radio/radio";
import { MultiLayerSelectTreePopup } from "./widget/multilayerselecttree/multilayerselecttree.popup";
import { MultiLayerSingleTreePopup } from "./widget/multilayersingletree/multilayersingletree.popup";
import { MultiLayerDownListPopup } from "./widget/multilayerdownlist/multilayerdownlist.popup";
import { TreeView } from "./base/tree/ztree/treeview";
import { MultiTreePopup } from "./widget/multitree/multi.tree.popup";
import { SingleSelectRadioItem } from "./case/button/item.singleselect.radio";
@ -117,6 +118,7 @@ import { ListAsyncTree } from "./base/tree/ztree/list/listasynctree";
import { AsyncTree } from "./base/tree/ztree/asynctree";
import { MultiLayerSingleTreeCombo } from "./widget/multilayersingletree/multilayersingletree.combo";
import { MultiLayerSelectTreeCombo } from "./widget/multilayerselecttree/multilayerselecttree.combo";
import { MultiLayerDownListCombo } from "./widget/multilayerdownlist/multilayerdownlist.combo";
import { MultiTreeListCombo } from "./widget/multitree/multi.tree.list.combo";
import { MultiTreeInsertCombo } from "./widget/multitree/multi.tree.insert.combo";
import { TextValueDownListCombo } from "./widget/textvaluedownlistcombo/combo.textvaluedownlist";
@ -170,6 +172,7 @@ import { DynamicDateTimePane } from './widget/datetimepane/datetimepane';
import { SingleSelectInsertList } from './widget/singleselect/singleselectlist.insert';
import { MultiSelectTree } from './widget/multiselecttree/multiselecttree';
import { HtmlLabel } from "./base/single/label/html.label";
import { TreeValueChooserPane } from './component/treevaluechooser/pane.treevaluechooser';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -223,12 +226,14 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
TreeValueChooserInsertCombo: typeof TreeValueChooserInsertCombo;
MultiLayerSelectTreePopup: typeof MultiLayerSelectTreePopup;
MultiLayerSingleTreePopup: typeof MultiLayerSingleTreePopup;
MultiLayerDownListPopup: typeof MultiLayerDownListPopup;
TreeView: typeof TreeView;
ListTreeView: typeof ListTreeView;
ListAsyncTree: typeof ListAsyncTree;
AsyncTree: typeof AsyncTree;
MultiLayerSingleTreeCombo: typeof MultiLayerSingleTreeCombo;
MultiLayerSelectTreeCombo: typeof MultiLayerSelectTreeCombo;
MultiLayerDownListCombo: typeof MultiLayerDownListCombo;
MultiTreeListCombo: typeof MultiTreeListCombo;
MultiTreeInsertCombo: typeof MultiTreeInsertCombo;
Decorators: typeof decorator;
@ -347,6 +352,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
SingleSelectInsertList: typeof SingleSelectInsertList;
MultiSelectTree: typeof MultiSelectTree;
HtmlLabel: typeof HtmlLabel;
TreeValueChooserPane: typeof TreeValueChooserPane;
}
export default {
@ -427,12 +433,14 @@ export {
TreeValueChooserInsertCombo,
MultiLayerSelectTreePopup,
MultiLayerSingleTreePopup,
MultiLayerDownListPopup,
TreeView,
ListTreeView,
ListAsyncTree,
AsyncTree,
MultiLayerSingleTreeCombo,
MultiLayerSelectTreeCombo,
MultiLayerDownListCombo,
MultiTreeListCombo,
MultiTreeInsertCombo,
Combo,
@ -524,4 +532,5 @@ export {
SingleSelectInsertList,
MultiSelectTree,
HtmlLabel,
TreeValueChooserPane,
};

32
typescript/widget/multilayerdownlist/multilayerdownlist.combo.ts

@ -0,0 +1,32 @@
import { Widget } from "../../core/widget";
import { Combo } from "../../base/combination/combo";
export declare class MultiLayerDownListCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_SON_VALUE_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
props: {
adjustLength: Combo['props']['adjustLength'];
direction: Combo['props']['direction'];
trigger: Combo['props']['trigger'];
container: Combo['props']['container'];
stopPropagation: Combo['props']['stopPropagation'];
el: Combo['props']['el'];
chooseType: number;
value: any;
iconCls: string;
}
hideView(): void;
showView(e?: Event): void;
setValue(v: any): void;
getValue<T>(): T;
populate<T>(items: T[]): void;
}

20
typescript/widget/multilayerdownlist/multilayerdownlist.popup.ts

@ -0,0 +1,20 @@
import { Widget } from "../../core/widget";
export declare class MultiLayerDownListPopup extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_SON_VALUE_CHANGE: string;
props: {
items: any[];
chooseType: number;
value: any;
}
getValue<T>(): T;
setValue(v: any): void;
populate<T>(items: T[]): void;
}

2
typescript/widget/multilayerselecttree/multilayerselecttree.combo.ts

@ -13,4 +13,6 @@ export declare class MultiLayerSelectTreeCombo extends Widget {
getValue(): string[];
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

4
typescript/widget/multilayersingletree/multilayersingletree.combo.ts

@ -12,5 +12,7 @@ export declare class MultiLayerSingleTreeCombo extends Widget {
getValue(): string[];
populate<T>(items: T[]): void
populate<T>(items: T[]): void;
getSearcher(): Widget;
}

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

@ -1,4 +1,5 @@
import { Single } from "../../base/single/single";
import { Widget } from "../../core/widget";
export declare class MultiTreeCombo extends Single {
static xtype: string;
@ -12,4 +13,6 @@ export declare class MultiTreeCombo extends Single {
showView(): void;
hideView(): void;
getSearcher(): Widget;
}

3
typescript/widget/multitree/multi.tree.insert.combo.ts

@ -1,5 +1,6 @@
import { Single } from "../../base/single/single";
import { TreeValue } from "../../base/tree/ztree/treeview";
import { Widget } from "../../core/widget";
export declare class MultiTreeInsertCombo extends Single {
static xtype: string;
@ -20,4 +21,6 @@ export declare class MultiTreeInsertCombo extends Single {
getValue(): TreeValue;
populate(): void;
getSearcher(): Widget;
}

3
typescript/widget/multitree/multi.tree.list.combo.ts

@ -1,4 +1,5 @@
import { Single } from "../../base/single/single";
import { Widget } from "../../core/widget";
export declare class MultiTreeListCombo extends Single {
static xtype: string;
@ -19,4 +20,6 @@ export declare class MultiTreeListCombo extends Single {
getValue(): string[];
populate(): void;
getSearcher(): Widget;
}

Loading…
Cancel
Save