|
|
@ -1,4 +1,17 @@ |
|
|
|
import { shortcut, Widget, extend, emptyFn, i18nText, createWidget, isNotNull, isEmptyArray, size, each, BlankSplitChar, Selection } from "@/core"; |
|
|
|
import { |
|
|
|
|
|
|
|
shortcut, |
|
|
|
|
|
|
|
Widget, |
|
|
|
|
|
|
|
extend, |
|
|
|
|
|
|
|
emptyFn, |
|
|
|
|
|
|
|
i18nText, |
|
|
|
|
|
|
|
createWidget, |
|
|
|
|
|
|
|
isNotNull, |
|
|
|
|
|
|
|
isEmptyArray, |
|
|
|
|
|
|
|
size, |
|
|
|
|
|
|
|
each, |
|
|
|
|
|
|
|
BlankSplitChar, |
|
|
|
|
|
|
|
Selection |
|
|
|
|
|
|
|
} from "@/core"; |
|
|
|
import { MultiSelectEditor } from "./editor.multiselect"; |
|
|
|
import { MultiSelectEditor } from "./editor.multiselect"; |
|
|
|
import { Searcher } from "@/base"; |
|
|
|
import { Searcher } from "@/base"; |
|
|
|
import { MultiSelectSearchInsertPane } from "../search/multiselect.search.insert.pane"; |
|
|
|
import { MultiSelectSearchInsertPane } from "../search/multiselect.search.insert.pane"; |
|
|
@ -80,7 +93,7 @@ export class MultiSelectInsertSearcher extends Widget { |
|
|
|
op.keywords = [keyword]; |
|
|
|
op.keywords = [keyword]; |
|
|
|
this.setKeyword(keyword); |
|
|
|
this.setKeyword(keyword); |
|
|
|
o.itemsCreator(op, function () { |
|
|
|
o.itemsCreator(op, function () { |
|
|
|
if (keyword === self.editor.getValue()) { |
|
|
|
if (keyword === self.editor.getKeyword()) { |
|
|
|
callback(...arguments); |
|
|
|
callback(...arguments); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|