2024-08-23 19:17:07 +08:00
|
|
|
import { classNames } from "@ember-decorators/component";
|
2017-11-21 18:53:09 +08:00
|
|
|
import SingleSelectComponent from "select-kit/components/single-select";
|
2024-08-23 19:17:07 +08:00
|
|
|
import { pluginApiIdentifiers, selectKitOptions } from "./select-kit";
|
2017-11-21 18:53:09 +08:00
|
|
|
|
2024-08-23 19:17:07 +08:00
|
|
|
@classNames("dropdown-select-box")
|
|
|
|
@selectKitOptions({
|
|
|
|
autoFilterable: false,
|
|
|
|
filterable: false,
|
|
|
|
showFullTitle: true,
|
|
|
|
headerComponent: "dropdown-select-box/dropdown-select-box-header",
|
|
|
|
caretUpIcon: "caret-up",
|
|
|
|
caretDownIcon: "caret-down",
|
|
|
|
showCaret: false,
|
|
|
|
customStyle: null,
|
|
|
|
btnCustomClasses: null,
|
|
|
|
})
|
|
|
|
@pluginApiIdentifiers(["dropdown-select-box"])
|
|
|
|
export default class DropdownSelectBox extends SingleSelectComponent {
|
2020-02-03 21:22:14 +08:00
|
|
|
modifyComponentForRow() {
|
|
|
|
return "dropdown-select-box/dropdown-select-box-row";
|
2024-08-23 19:17:07 +08:00
|
|
|
}
|
|
|
|
}
|