Browse Source

update base-cls

es6
zsmj 2 years ago
parent
commit
63a74370a9
  1. 5
      packages/fineui/src/widget/multiselect/multiselect.loader.js
  2. 9
      packages/fineui/src/widget/multiselect/multiselect.loader.nobar.js
  3. 2
      packages/fineui/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js

5
packages/fineui/src/widget/multiselect/multiselect.loader.js

@ -124,6 +124,7 @@ export class MultiSelectLoader extends Widget {
value: this.storeValue, value: this.storeValue,
}); });
createWidget( createWidget(
extend( extend(
{ {
@ -144,10 +145,10 @@ export class MultiSelectLoader extends Widget {
) )
) )
); );
this.button_group.on(Controller.EVENT_CHANGE, function () { this.button_group.on(Controller.EVENT_CHANGE, function() {
self.fireEvent(Controller.EVENT_CHANGE, arguments); self.fireEvent(Controller.EVENT_CHANGE, arguments);
}); });
this.button_group.on(SelectList.EVENT_CHANGE, function () { this.button_group.on(SelectList.EVENT_CHANGE, function() {
self.fireEvent(MultiSelectLoader.EVENT_CHANGE, arguments); self.fireEvent(MultiSelectLoader.EVENT_CHANGE, arguments);
}); });
} }

9
packages/fineui/src/widget/multiselect/multiselect.loader.nobar.js

@ -30,7 +30,7 @@ export class MultiSelectNoBarLoader extends Widget {
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(...arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-multi-select-loader", baseCls: "bi-multi-select-loader-no-bar",
logic: { logic: {
dynamic: true, dynamic: true,
}, },
@ -144,10 +144,10 @@ export class MultiSelectNoBarLoader extends Widget {
items: LogicFactory.createLogicItemsByDirection(Direction.Top, this.button_group), items: LogicFactory.createLogicItemsByDirection(Direction.Top, this.button_group),
})))); }))));
this.button_group.on(Controller.EVENT_CHANGE, function () { this.button_group.on(Controller.EVENT_CHANGE, function() {
self.fireEvent(Controller.EVENT_CHANGE, arguments); self.fireEvent(Controller.EVENT_CHANGE, arguments);
}); });
this.button_group.on(SelectList.EVENT_CHANGE, function () { this.button_group.on(SelectList.EVENT_CHANGE, function() {
self.fireEvent(MultiSelectNoBarLoader.EVENT_CHANGE, arguments); self.fireEvent(MultiSelectNoBarLoader.EVENT_CHANGE, arguments);
}); });
} }
@ -215,5 +215,6 @@ export class MultiSelectNoBarLoader extends Widget {
this.button_group.element.css({ "max-height": toPix(h) }); this.button_group.element.css({ "max-height": toPix(h) });
} }
resetWidth() {} resetWidth() {
}
} }

2
packages/fineui/src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js

@ -28,7 +28,7 @@ export class SearchMultiSelectLoader extends Widget {
_defaultConfig() { _defaultConfig() {
return extend(super._defaultConfig(...arguments), { return extend(super._defaultConfig(...arguments), {
baseCls: "bi-multi-select-loader", baseCls: "bi-search-multi-select-loader",
logic: { logic: {
dynamic: true, dynamic: true,
}, },

Loading…
Cancel
Save