richie
4 years ago
26 changed files with 133 additions and 267 deletions
File diff suppressed because one or more lines are too long
@ -1,29 +1 @@ |
|||||||
module.exports = function(api) { |
module.exports = require('@fui/babel-preset-fineui').configs.base; |
||||||
api.cache(true); |
|
||||||
const presets = [ |
|
||||||
[ |
|
||||||
'@babel/preset-env', |
|
||||||
{ |
|
||||||
targets: { |
|
||||||
ie: 9, |
|
||||||
chrome: 47, |
|
||||||
}, |
|
||||||
}, |
|
||||||
], |
|
||||||
'@babel/preset-typescript', |
|
||||||
]; |
|
||||||
const plugins = [ |
|
||||||
[ |
|
||||||
'@babel/plugin-proposal-decorators', |
|
||||||
{ |
|
||||||
legacy: true, |
|
||||||
}, |
|
||||||
], |
|
||||||
'@babel/plugin-proposal-class-properties', |
|
||||||
]; |
|
||||||
|
|
||||||
return { |
|
||||||
presets, |
|
||||||
plugins, |
|
||||||
}; |
|
||||||
}; |
|
||||||
|
@ -1,6 +1,6 @@ |
|||||||
import { TableList } from './modules/table_list/table_list'; |
import { RedisEdit } from './modules/app.edit'; |
||||||
|
|
||||||
BI.createWidget({ |
BI.createWidget({ |
||||||
type: TableList.xtype, |
type: RedisEdit.xtype, |
||||||
element: '#wrapper', |
element: '#wrapper', |
||||||
}); |
}); |
||||||
|
@ -1,2 +1,2 @@ |
|||||||
@import "../../node_modules/fineui/src/less/image.less"; |
@import "../../node_modules/@fui/core/src/less/image.less"; |
||||||
@import "./lib/background.less"; |
@import "./lib/background.less"; |
||||||
|
@ -1 +1 @@ |
|||||||
@import '../../node_modules/fineui/src/less/visual.less'; |
@import '../../node_modules/@fui/core/src/less/visual.less'; |
||||||
|
@ -1,81 +0,0 @@ |
|||||||
export const IconXtype = 'bi.icon'; |
|
||||||
export const IconTextItemXtype = 'bi.icon_text_item'; |
|
||||||
export const IconTextIconItemXtype = 'bi.icon_text_icon_item'; |
|
||||||
export const IconButtonXtype = 'bi.icon_button'; |
|
||||||
export const IconChangeButtonXtype = 'bi.icon_change_button'; |
|
||||||
export const TextButtonXtype = 'bi.text_button'; |
|
||||||
export const DownListComboXtype = 'bi.down_list_combo'; |
|
||||||
export const LabelXtype = 'bi.label'; |
|
||||||
export const SmallTextEditorXtype = 'bi.small_text_editor'; |
|
||||||
export const MultiFileEditorXtype = 'bi.multifile_editor'; |
|
||||||
export const SignEditorXtype = 'bi.sign_editor'; |
|
||||||
export const ButtonXtype = 'bi.button'; |
|
||||||
export const TextEditorXtype = 'bi.text_editor'; |
|
||||||
export const MultiSelectInsertComboXtype = 'bi.multi_select_insert_combo'; |
|
||||||
export const MultiSelectComboXtype = 'bi.multi_select_combo'; |
|
||||||
export const ButtonGroupXtype = 'bi.button_group'; |
|
||||||
export const AllValueChooserComboXtype = 'bi.all_value_chooser_combo'; |
|
||||||
export const TextAreaEditorXtype = 'bi.textarea_editor'; |
|
||||||
export const MultiSelectItemXtype = 'bi.multi_select_item'; |
|
||||||
export const BarPopOverXtype = 'bi.bar_popover'; |
|
||||||
export const DynamicDateComboXtype = 'bi.dynamic_date_combo'; |
|
||||||
export const DynamicDateTimeComboXtype = 'bi.dynamic_date_time_combo'; |
|
||||||
export const MultiTreeComboXtype = 'bi.multi_tree_combo'; |
|
||||||
export const RichEditorXtype = 'bi.rich_editor'; |
|
||||||
export const NicEditorXtype = 'bi.nic_editor'; |
|
||||||
export const EditorXtype = 'bi.editor'; |
|
||||||
export const MultiTreePopupViewXtype = 'bi.multi_tree_popup_view'; |
|
||||||
export const SingleSelectRadioItemXtype = 'bi.single_select_radio_item'; |
|
||||||
export const SingleSelectInsertComboXtype = 'bi.single_select_insert_combo'; |
|
||||||
export const SingleSelectComboXtype = 'bi.single_select_combo'; |
|
||||||
export const TabXtype = 'bi.tab'; |
|
||||||
export const DynamicYearMonthComboXtype = 'bi.dynamic_year_month_combo'; |
|
||||||
export const TextXtype = 'bi.text'; |
|
||||||
export const ComboXtype = 'bi.combo'; |
|
||||||
export const TimeComboXtype = 'bi.time_combo'; |
|
||||||
export const IFrameXtype = 'bi.iframe'; |
|
||||||
export const MultiTreeInsertComboXtype = 'bi.multi_tree_insert_combo'; |
|
||||||
export const MultiTreeListComboXtype = 'bi.multi_tree_list_combo'; |
|
||||||
export const MultilayerSingleTreeComboXtype = 'bi.multilayer_single_tree_combo'; |
|
||||||
export const MultilayerSelectTreeComboXtype = 'bi.multilayer_select_tree_combo'; |
|
||||||
export const AsyncTreeXtype = 'bi.async_tree'; |
|
||||||
export const ListAsyncTreeXtype = 'bi.list_async_tree'; |
|
||||||
export const MultilayerSingleTreePopupXtype = 'bi.multilayer_single_tree_popup'; |
|
||||||
export const MultilayerSelectTreePopupXtype = 'bi.multilayer_select_tree_popup'; |
|
||||||
export const IconLabelXtype = 'bi.icon_label'; |
|
||||||
export const RadioXtype = 'bi.radio'; |
|
||||||
export const LinearSegmentXtype = 'bi.linear_segment'; |
|
||||||
export const SearchEditorXtype = 'bi.search_editor'; |
|
||||||
export const ImgXtype = 'bi.img'; |
|
||||||
export const BubbleComboXtype = 'bi.bubble_combo'; |
|
||||||
export const TextBubblePopupBarViewXtype = 'bi.text_bubble_bar_popup_view'; |
|
||||||
export const TextValueComboXtype = 'bi.text_value_combo'; |
|
||||||
export const FileXtype = 'bi.file'; |
|
||||||
export const IconComboXtype = 'bi.icon_combo'; |
|
||||||
export const NumberEditorXtype = 'bi.number_editor'; |
|
||||||
export const CodeEditorXtype = 'bi.code_editor'; |
|
||||||
export const ComponentsStyleTable = 'bi.components.style_table'; |
|
||||||
export const IconTextValue_Combo = 'bi.icon_text_value_combo'; |
|
||||||
export const BarPopoverXtype = 'bi.bar_popover'; |
|
||||||
|
|
||||||
// 布局
|
|
||||||
export const VerticalAdaptXtype = 'bi.vertical_adapt'; |
|
||||||
export const VtapeXtype = 'bi.vtape'; |
|
||||||
export const CenterAdaptXtype = 'bi.center_adapt'; |
|
||||||
export const HtapeXtype = 'bi.htape'; |
|
||||||
export const LayoutXtype = 'bi.layout'; |
|
||||||
export const AbsoluteXtype = 'bi.absolute'; |
|
||||||
export const VerticalXtype = 'bi.vertical'; |
|
||||||
export const LeftXtype = 'bi.left'; |
|
||||||
export const RightXtype = 'bi.right'; |
|
||||||
export const HorizontalAdaptXtype = 'bi.horizontal_adapt'; |
|
||||||
export const AbsoluteCenterAdaptXtype = 'bi.absolute_center_adapt'; |
|
||||||
export const TableAdaptXtype = 'bi.table_adapt'; |
|
||||||
export const RightVerticalAdaptXtype = 'bi.right_vertical_adapt'; |
|
||||||
export const LeftRightVerticalAdaptXtype = 'bi.left_right_vertical_adapt'; |
|
||||||
export const ListViewXtype = 'bi.list_view'; |
|
||||||
export const VirtualGroupXtype = 'bi.virtual_group'; |
|
||||||
export const HorizotalAutoXtype = 'bi.horizontal_auto'; |
|
||||||
export const HorizotalXtype = 'bi.horizontal'; |
|
||||||
export const FloatCenterXtype = 'bi.float_center'; |
|
||||||
export const LeftRightVerticalAdaptLayoutXtype = 'bi.left_right_vertical_adapt'; |
|
Loading…
Reference in new issue