Browse Source

no message

es6
刘荣歆 7 years ago
parent
commit
8cebb4436a
  1. 3
      demo/css/main.css
  2. 84
      demo/js/config/widget.js
  3. 0
      demo/js/widget/arrangment/demo.adaptive_arrangement.js
  4. 0
      demo/js/widget/arrangment/demo.interactive_arrangement.js
  5. 2
      demo/js/widget/editor/demo.clear_editor.js
  6. 2
      demo/js/widget/editor/demo.record_editor.js
  7. 0
      demo/js/widget/multiselect/demo.multi_select_combo.js
  8. 4
      demo/less/main.less
  9. 3
      docs/demo.css
  10. 89
      docs/demo.js

3
demo/css/main.css

@ -45,3 +45,6 @@ body {
.bi-theme-dark body {
background-color: #191B2B;
}
.demo-editor {
border: 1px solid #cccccc;
}

84
demo/js/config/widget.js

@ -2,6 +2,14 @@ Demo.WIDGET_CONFIG = [{
id: 4,
text: "详细控件",
open: true
}, {
id: 400,
pId: 4,
text: "tree"
}, {
pId: 400,
text: "bi.multi_tree_combo",
value: "demo.multi_tree_combo"
}, {
id: 401,
pId: 4,
@ -18,30 +26,6 @@ Demo.WIDGET_CONFIG = [{
pId: 401,
text: "bi.excel_table",
value: "demo.excel_table"
}, {
pId: 4,
text: "bi.path_chooser",
value: "demo.path_chooser"
}, {
pId: 4,
text: "bi.relation_view",
value: "demo.relation_view"
}, {
pId: 4,
text: "bi.date",
value: "demo.date"
},{
pId: 4,
text: "bi.date_pane_widget",
value: "demo.date_pane"
}, {
pId: 4,
text: "bi.direction_path_chooser",
value: "demo.direction_path_chooser"
}, {
pId: 4,
text: "bi.adaptive_arrangement",
value: "demo.adaptive_arrangement"
}, {
pId: 4,
id: 402,
@ -189,6 +173,14 @@ Demo.WIDGET_CONFIG = [{
pId: 412,
text: "bi.date_pane_widget",
value: "demo.date_pane_widget"
}, {
pId: 412,
text: "bi.year_month_combo",
value: "demo.year_month_combo"
},{
pId: 412,
text: "bi.year_quarter_combo",
value: "demo.year_quarter_combo"
},{
pId: 4,
id: 413,
@ -213,5 +205,45 @@ Demo.WIDGET_CONFIG = [{
pId: 414,
text: "bi.multilayer_select_tree_combo",
value: "demo.multilayer_select_tree_combo"
},];
}, {
pId: 4,
id: 415,
text: "路径选择"
}, {
pId: 415,
text: "bi.path_chooser",
value: "demo.path_chooser"
}, {
pId: 415,
text: "bi.direction_path_chooser",
value: "demo.direction_path_chooser"
}, {
pId: 4,
id: 416,
text: "关联视图"
}, {
pId: 416,
text: "bi.relation_view",
value: "demo.relation_view"
}, {
pId: 4,
id: 417,
text: "布局"
}, {
pId: 417,
text: "bi.adaptive_arrangement",
value: "demo.adaptive_arrangement"
}, {
pId: 417,
text: "bi.interactive_arrangement",
value: "demo.interactive_arrangement"
}, {
pId: 4,
id: 418,
text: "提示对话框"
}, {
pId: 418,
text: "bi.dialog",
value: "demo.dialog"
},
];

0
demo/js/widget/arrangment/demo.adaptivearrangement.js → demo/js/widget/arrangment/demo.adaptive_arrangement.js

0
demo/js/widget/arrangment/demo.interactivearrangement.js → demo/js/widget/arrangment/demo.interactive_arrangement.js

2
demo/js/widget/editor/demo.clear_editor.js

@ -10,7 +10,7 @@ Demo.ClearEditor = BI.inherit(BI.Widget, {
type: "bi.horizontal_auto",
items: [{
type: "bi.clear_editor",
cls: "editor",
cls: "demo-editor",
width: 300,
watermark: "这个是带清除按钮的"
}],

2
demo/js/widget/editor/demo.record_editor.js

@ -10,7 +10,7 @@ Demo.RecordEditor = BI.inherit(BI.Widget, {
type: "bi.horizontal_auto",
items: [{
type: "bi.record_editor",
cls: "editor",
cls: "demo-editor",
width: 300,
watermark: "这个是可以记录输入的"
}],

0
demo/js/widget/multiselect/demo.multiselectcombo.js → demo/js/widget/multiselect/demo.multi_select_combo.js

4
demo/less/main.less

@ -61,3 +61,7 @@ body {
.bi-theme-dark body {
background-color: @color-bi-background-normal-theme-dark;
}
.demo-editor{
border: 1px solid rgb(204, 204, 204);
}

3
docs/demo.css

@ -48,6 +48,9 @@ body {
.bi-theme-dark body {
background-color: #191B2B;
}
.demo-editor {
border: 1px solid #cccccc;
}
.demo-north {
background-color: #3c8dbc;
}

89
docs/demo.js

@ -3341,6 +3341,14 @@ Demo.COMPONENT_CONFIG = [{
id: 4,
text: "详细控件",
open: true
}, {
id: 400,
pId: 4,
text: "tree"
}, {
pId: 400,
text: "bi.multi_tree_combo",
value: "demo.multi_tree_combo"
}, {
id: 401,
pId: 4,
@ -3357,30 +3365,6 @@ Demo.COMPONENT_CONFIG = [{
pId: 401,
text: "bi.excel_table",
value: "demo.excel_table"
}, {
pId: 4,
text: "bi.path_chooser",
value: "demo.path_chooser"
}, {
pId: 4,
text: "bi.relation_view",
value: "demo.relation_view"
}, {
pId: 4,
text: "bi.date",
value: "demo.date"
},{
pId: 4,
text: "bi.date_pane_widget",
value: "demo.date_pane"
}, {
pId: 4,
text: "bi.direction_path_chooser",
value: "demo.direction_path_chooser"
}, {
pId: 4,
text: "bi.adaptive_arrangement",
value: "demo.adaptive_arrangement"
}, {
pId: 4,
id: 402,
@ -3528,6 +3512,14 @@ Demo.COMPONENT_CONFIG = [{
pId: 412,
text: "bi.date_pane_widget",
value: "demo.date_pane_widget"
}, {
pId: 412,
text: "bi.year_month_combo",
value: "demo.year_month_combo"
},{
pId: 412,
text: "bi.year_quarter_combo",
value: "demo.year_quarter_combo"
},{
pId: 4,
id: 413,
@ -3552,9 +3544,48 @@ Demo.COMPONENT_CONFIG = [{
pId: 414,
text: "bi.multilayer_select_tree_combo",
value: "demo.multilayer_select_tree_combo"
},];
Demo.Func = BI.inherit(BI.Widget, {
}, {
pId: 4,
id: 415,
text: "路径选择"
}, {
pId: 415,
text: "bi.path_chooser",
value: "demo.path_chooser"
}, {
pId: 415,
text: "bi.direction_path_chooser",
value: "demo.direction_path_chooser"
}, {
pId: 4,
id: 416,
text: "关联视图"
}, {
pId: 416,
text: "bi.relation_view",
value: "demo.relation_view"
}, {
pId: 4,
id: 417,
text: "布局"
}, {
pId: 417,
text: "bi.adaptive_arrangement",
value: "demo.adaptive_arrangement"
}, {
pId: 417,
text: "bi.interactive_arrangement",
value: "demo.interactive_arrangement"
}, {
pId: 4,
id: 418,
text: "提示对话框"
}, {
pId: 418,
text: "bi.dialog",
value: "demo.dialog"
},
];Demo.Func = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-func"
},
@ -6792,7 +6823,7 @@ Demo.ClearEditor = BI.inherit(BI.Widget, {
type: "bi.horizontal_auto",
items: [{
type: "bi.clear_editor",
cls: "editor",
cls: "demo-editor",
width: 300,
watermark: "这个是带清除按钮的"
}],
@ -6813,7 +6844,7 @@ Demo.RecordEditor = BI.inherit(BI.Widget, {
type: "bi.horizontal_auto",
items: [{
type: "bi.record_editor",
cls: "editor",
cls: "demo-editor",
width: 300,
watermark: "这个是可以记录输入的"
}],

Loading…
Cancel
Save