Browse Source

Pull request #2547: REPORT-60473 补上下拉树setWaterMark

Merge in VISUAL/fineui from ~FREDDY/fineui:master to master

* commit '6e2e112dd0e55ae510503a6578cd47c02feb3918':
  REPORT-60473 fix:实现一下setWaterMark
  REPORT-60473 fix:实现下setWaterMark
es6
Freddy 3 years ago
parent
commit
75df04f2d6
  1. 4
      src/base/combination/searcher.js
  2. 4
      src/component/treevaluechooser/combo.listtreevaluechooser.js
  3. 4
      src/component/treevaluechooser/combo.treevaluechooser.insert.js
  4. 4
      src/component/treevaluechooser/combo.treevaluechooser.js
  5. 4
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  6. 4
      src/widget/multilayerselecttree/multilayerselecttree.trigger.js
  7. 4
      src/widget/multilayersingletree/multilayersingletree.combo.js
  8. 4
      src/widget/multilayersingletree/multilayersingletree.trigger.js
  9. 4
      src/widget/multiselect/multiselect.trigger.js
  10. 4
      src/widget/multiselect/trigger/editor.multiselect.js
  11. 4
      src/widget/multitree/multi.tree.combo.js
  12. 4
      src/widget/multitree/multi.tree.insert.combo.js
  13. 4
      src/widget/multitree/multi.tree.list.combo.js
  14. 4
      src/widget/multitree/trigger/searcher.list.multi.tree.js
  15. 4
      src/widget/multitree/trigger/searcher.multi.tree.js
  16. 2
      typescript/component/treevaluechooser/combo.listtreevaluechooser.ts
  17. 2
      typescript/component/treevaluechooser/combo.treevaluechooser.insert.ts
  18. 2
      typescript/component/treevaluechooser/combo.treevaluechooser.ts
  19. 2
      typescript/widget/multitree/multi.tree.combo.ts
  20. 2
      typescript/widget/multitree/multi.tree.insert.combo.ts
  21. 2
      typescript/widget/multitree/multi.tree.list.combo.ts

4
src/base/combination/searcher.js

@ -315,6 +315,10 @@ BI.Searcher = BI.inherit(BI.Widget, {
blur: function () {
this.editor.blur();
},
setWaterMark: function (v) {
this.editor.setWaterMark(v);
}
});
BI.Searcher.EVENT_CHANGE = "EVENT_CHANGE";

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

@ -110,6 +110,10 @@ BI.ListTreeValueChooserInsertCombo = BI.inherit(BI.AbstractListTreeValueChooser,
blur: function () {
this.combo.blur();
},
setWaterMark: function (v) {
this.combo.setWaterMark(v);
}
});

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

@ -109,6 +109,10 @@ BI.TreeValueChooserInsertCombo = BI.inherit(BI.AbstractTreeValueChooser, {
blur: function () {
this.combo.blur();
},
setWaterMark: function (v) {
this.combo.setWaterMark(v);
}
});

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

@ -113,6 +113,10 @@ BI.TreeValueChooserCombo = BI.inherit(BI.AbstractTreeValueChooser, {
blur: function () {
this.combo.blur();
},
setWaterMark: function (v) {
this.combo.setWaterMark(v);
}
});

4
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -250,6 +250,10 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
showView: function () {
this.combo.showView();
},
setWaterMark: function (v) {
this.trigger.setWaterMark(v);
}
});

4
src/widget/multilayerselecttree/multilayerselecttree.trigger.js

@ -245,6 +245,10 @@ BI.MultiLayerSelectTreeTrigger = BI.inherit(BI.Trigger, {
blur: function () {
this.searcher.blur();
},
setWaterMark: function (v) {
this.searcher.setWaterMark(v);
}
});

4
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -251,6 +251,10 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
showView: function () {
this.combo.showView();
},
setWaterMark: function (v) {
this.trigger.setWaterMark(v);
}
});

4
src/widget/multilayersingletree/multilayersingletree.trigger.js

@ -247,6 +247,10 @@ BI.MultiLayerSingleTreeTrigger = BI.inherit(BI.Trigger, {
blur: function () {
this.searcher.blur();
},
setWaterMark: function (v) {
this.searcher.setWaterMark(v);
}
});
BI.MultiLayerSingleTreeTrigger.EVENT_FOCUS = "EVENT_FOCUS";

4
src/widget/multiselect/multiselect.trigger.js

@ -144,6 +144,10 @@ BI.MultiSelectTrigger = BI.inherit(BI.Trigger, {
blur: function () {
this.searcher.blur();
},
setWaterMark: function (v) {
this.searcher.setWaterMark(v);
}
});

4
src/widget/multiselect/trigger/editor.multiselect.js

@ -93,6 +93,10 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, {
populate: function (items) {
},
setWaterMark: function (v) {
this.editor.setWaterMark(v);
}
});

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

@ -352,6 +352,10 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
blur: function () {
this.trigger.blur();
},
setWaterMark: function (v) {
this.trigger.setWaterMark(v);
}
});

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

@ -368,6 +368,10 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
blur: function () {
this.trigger.blur();
},
setWaterMark: function (v) {
this.trigger.setWaterMark(v);
}
});

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

@ -386,6 +386,10 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
blur: function () {
this.trigger.blur();
},
setWaterMark: function (v) {
this.trigger.setWaterMark(v);
}
});

4
src/widget/multitree/trigger/searcher.list.multi.tree.js

@ -172,6 +172,10 @@ BI.MultiListTreeSearcher = BI.inherit(BI.Widget, {
blur: function () {
this.editor.blur();
},
setWaterMark: function (v) {
this.editor.setWaterMark(v);
}
});

4
src/widget/multitree/trigger/searcher.multi.tree.js

@ -192,6 +192,10 @@ BI.MultiTreeSearcher = BI.inherit(BI.Widget, {
blur: function () {
this.editor.blur();
},
setWaterMark: function (v) {
this.editor.setWaterMark(v);
}
});

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

@ -27,4 +27,6 @@ export declare class ListTreeValueChooserInsertCombo extends AbstractListTreeVal
focus(): void;
blur(): void;
setWaterMark(v: string): void;
}

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

@ -26,4 +26,6 @@ export declare class TreeValueChooserInsertCombo extends AbstractTreeValueChoose
focus(): void;
blur(): void;
setWaterMark(v: string): void;
}

2
typescript/component/treevaluechooser/combo.treevaluechooser.ts

@ -28,4 +28,6 @@ export declare class TreeValueChooserCombo extends AbstractTreeValueChooser {
focus(): void;
blur(): void;
setWaterMark(v: string): void;
}

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

@ -19,4 +19,6 @@ export declare class MultiTreeCombo extends Single {
focus(): void;
blur(): void;
setWaterMark(v: string): void;
}

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

@ -27,4 +27,6 @@ export declare class MultiTreeInsertCombo extends Single {
focus(): void;
blur(): void;
setWaterMark(v: string): void;
}

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

@ -26,4 +26,6 @@ export declare class MultiTreeListCombo extends Single {
focus(): void;
blur(): void;
setWaterMark(v: string): void;
}

Loading…
Cancel
Save