|
|
@ -22,7 +22,13 @@ import { Label, Combo, TextItem } from "@/base"; |
|
|
|
import { PopupPanel } from "../layer"; |
|
|
|
import { PopupPanel } from "../layer"; |
|
|
|
import { CustomColorChooser } from "./colorchooser.custom"; |
|
|
|
import { CustomColorChooser } from "./colorchooser.custom"; |
|
|
|
import { ColorChooserPopup } from "./colorchooser.popup"; |
|
|
|
import { ColorChooserPopup } from "./colorchooser.popup"; |
|
|
|
import { ColorPickerEditor, ColorPicker, HexColorPicker } from "./colorpicker"; |
|
|
|
import { |
|
|
|
|
|
|
|
ColorPickerEditor, |
|
|
|
|
|
|
|
ColorPicker, |
|
|
|
|
|
|
|
HexColorPicker, |
|
|
|
|
|
|
|
SimpleHexColorPickerEditor, |
|
|
|
|
|
|
|
HexColorPickerEditor |
|
|
|
|
|
|
|
} from "./colorpicker"; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* @author windy |
|
|
|
* @author windy |
|
|
@ -59,8 +65,8 @@ export class HexColorChooserPopup extends Widget { |
|
|
|
extend( |
|
|
|
extend( |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: o.simple |
|
|
|
type: o.simple |
|
|
|
? "bi.simple_hex_color_picker_editor" |
|
|
|
? SimpleHexColorPickerEditor.xtype |
|
|
|
: "bi.hex_color_picker_editor", |
|
|
|
: HexColorPickerEditor.xtype, |
|
|
|
value: o.value, |
|
|
|
value: o.value, |
|
|
|
height: o.simple ? 36 : 70, |
|
|
|
height: o.simple ? 36 : 70, |
|
|
|
listeners: [ |
|
|
|
listeners: [ |
|
|
|