Browse Source

Merge branch 'es6' of ssh://code.fineres.com:7999/~treecat/fineui into es6

# Conflicts:
#	packages/fineui/typescript/core/var.ts
es6
Treecat 2 years ago
parent
commit
c1ffe3cd3e
  1. 6
      packages/demo/src/center.js
  2. 4
      packages/demo/src/demo/base/button/demo.button.js
  3. 4
      packages/demo/src/demo/base/button/demo.icon_button.js
  4. 6
      packages/demo/src/demo/base/button/demo.image_button.js
  5. 4
      packages/demo/src/demo/base/button/demo.text_button.js
  6. 4
      packages/demo/src/demo/base/demo.html.js
  7. 4
      packages/demo/src/demo/base/demo.icon_label.js
  8. 4
      packages/demo/src/demo/base/demo.label.js
  9. 4
      packages/demo/src/demo/base/demo.label.scene.js
  10. 4
      packages/demo/src/demo/base/demo.message.js
  11. 4
      packages/demo/src/demo/base/demo.pager.js
  12. 4
      packages/demo/src/demo/base/editor/demo.editor.js
  13. 4
      packages/demo/src/demo/base/editor/demo.multifile_editor.js
  14. 6
      packages/demo/src/demo/base/editor/demo.textarea_editor.js
  15. 4
      packages/demo/src/demo/base/tip/demo.bubble.js
  16. 4
      packages/demo/src/demo/base/tip/demo.title.js
  17. 4
      packages/demo/src/demo/base/tip/demo.toast.js
  18. 4
      packages/demo/src/demo/base/tree/demo.part_tree.js
  19. 4
      packages/demo/src/demo/base/tree/demo.sync_tree.js
  20. 4
      packages/demo/src/demo/base/tree/demo.tree_view.js
  21. 4
      packages/demo/src/demo/case/combo/demo.bubble_combo.js
  22. 4
      packages/demo/src/demo/case/combo/demo.editor_icon_check_combo.js
  23. 4
      packages/demo/src/demo/case/combo/demo.icon_combo.js
  24. 4
      packages/demo/src/demo/case/combo/demo.icon_text_value_combo.js
  25. 4
      packages/demo/src/demo/case/combo/demo.search_text_value_combo.js
  26. 4
      packages/demo/src/demo/case/combo/demo.text_value_combo.js
  27. 4
      packages/demo/src/demo/case/combo/demo.text_value_down_list_combo.js
  28. 6
      packages/demo/src/demo/case/combo/demo.text_vlaue_check_combo.js
  29. 4
      packages/demo/src/demo/case/demo.calendar.js
  30. 4
      packages/demo/src/demo/case/demo.click.effect.js
  31. 4
      packages/demo/src/demo/case/demo.color_chooser.js
  32. 4
      packages/demo/src/demo/case/demo.color_chooser_popup.js
  33. 4
      packages/demo/src/demo/case/demo.segment.js
  34. 4
      packages/demo/src/demo/case/editor/demo.clear_editor.js
  35. 4
      packages/demo/src/demo/case/editor/demo.shelter_editor.js
  36. 4
      packages/demo/src/demo/case/editor/demo.sign_editor.js
  37. 4
      packages/demo/src/demo/case/editor/demo.simple_state_editor.js
  38. 4
      packages/demo/src/demo/case/editor/demo.state_editor.js
  39. 4
      packages/demo/src/demo/case/item/demo.multi_select_item.js
  40. 4
      packages/demo/src/demo/case/item/demo.single_select_item.js
  41. 4
      packages/demo/src/demo/case/item/demo.single_select_radio_item.js
  42. 4
      packages/demo/src/demo/case/list/demo.lazy_loader.js
  43. 4
      packages/demo/src/demo/case/list/demo.select_list.js
  44. 4
      packages/demo/src/demo/case/pager/demo.all_count_pager.js
  45. 4
      packages/demo/src/demo/case/pager/demo.direction_pager.js
  46. 4
      packages/demo/src/demo/case/pane/demo.list_pane.js
  47. 4
      packages/demo/src/demo/case/pane/demo.multi_popup_view.js
  48. 4
      packages/demo/src/demo/case/pane/demo.panel.js
  49. 4
      packages/demo/src/demo/case/pane/demo.popup_panel.js
  50. 4
      packages/demo/src/demo/case/tree/demo.display_tree.js
  51. 4
      packages/demo/src/demo/case/tree/demo.level_tree.js
  52. 4
      packages/demo/src/demo/case/tree/demo.simple_tree.js
  53. 4
      packages/demo/src/demo/case/triggers/demo.editor_trigger.js
  54. 4
      packages/demo/src/demo/case/triggers/demo.icon_trigger.js
  55. 4
      packages/demo/src/demo/case/triggers/demo.select_text_trigger.js
  56. 4
      packages/demo/src/demo/case/triggers/demo.text_trigger.js
  57. 4
      packages/demo/src/demo/component/demo.form.js
  58. 4
      packages/demo/src/demo/component/demo.treevaluechoosercombo.js
  59. 4
      packages/demo/src/demo/component/demo.treevaluechooserpane.js
  60. 6
      packages/demo/src/demo/component/demo.valuechoosercombo.js
  61. 4
      packages/demo/src/demo/component/demo.valuechooserpane.js
  62. 52
      packages/demo/src/demo/core/abstract/combination/demo.combo.js
  63. 6
      packages/demo/src/demo/core/abstract/combination/demo.combo2.js
  64. 6
      packages/demo/src/demo/core/abstract/combination/demo.combo3.js
  65. 6
      packages/demo/src/demo/core/abstract/combination/demo.combo_group.js
  66. 6
      packages/demo/src/demo/core/abstract/combination/demo.expander.js
  67. 4
      packages/demo/src/demo/core/abstract/combination/demo.loader.js
  68. 6
      packages/demo/src/demo/core/abstract/combination/demo.navigation.js
  69. 6
      packages/demo/src/demo/core/abstract/combination/demo.sercher.js
  70. 6
      packages/demo/src/demo/core/abstract/combination/demo.switcher.js
  71. 6
      packages/demo/src/demo/core/abstract/combination/demo.tab.js
  72. 4
      packages/demo/src/demo/core/abstract/demo.button_group.js
  73. 4
      packages/demo/src/demo/core/abstract/demo.button_tree.js
  74. 4
      packages/demo/src/demo/core/abstract/demo.collection_view.js
  75. 4
      packages/demo/src/demo/core/abstract/demo.custom_tree.js
  76. 4
      packages/demo/src/demo/core/abstract/demo.grid_view.js
  77. 4
      packages/demo/src/demo/core/abstract/demo.list_view.js
  78. 4
      packages/demo/src/demo/core/abstract/demo.virtual_group.js
  79. 4
      packages/demo/src/demo/core/abstract/demo.virtual_group_item.js
  80. 4
      packages/demo/src/demo/core/abstract/demo.virtual_list.js
  81. 4
      packages/demo/src/demo/core/layout/demo.absolute.js
  82. 4
      packages/demo/src/demo/core/layout/demo.border.js
  83. 4
      packages/demo/src/demo/core/layout/demo.center_adapt.js
  84. 4
      packages/demo/src/demo/core/layout/demo.float_center.js
  85. 4
      packages/demo/src/demo/core/layout/demo.flow.js
  86. 4
      packages/demo/src/demo/core/layout/demo.grid.js
  87. 4
      packages/demo/src/demo/core/layout/demo.horizontal.js
  88. 4
      packages/demo/src/demo/core/layout/demo.horizontal_adapt.js
  89. 4
      packages/demo/src/demo/core/layout/demo.horizontal_auto.js
  90. 4
      packages/demo/src/demo/core/layout/demo.horizontal_float.js
  91. 4
      packages/demo/src/demo/core/layout/demo.htape.js
  92. 4
      packages/demo/src/demo/core/layout/demo.left_right_vertical_adapt.js
  93. 4
      packages/demo/src/demo/core/layout/demo.table.js
  94. 4
      packages/demo/src/demo/core/layout/demo.td.js
  95. 4
      packages/demo/src/demo/core/layout/demo.vertical.js
  96. 4
      packages/demo/src/demo/core/layout/demo.vertical_adapt.js
  97. 4
      packages/demo/src/demo/core/layout/demo.vtape.js
  98. 4
      packages/demo/src/demo/core/popup/demo.layer.js
  99. 4
      packages/demo/src/demo/core/popup/demo.popover.js
  100. 4
      packages/demo/src/demo/core/popup/demo.popup_view.js
  101. Some files were not shown because too many files have changed in this diff Show More

6
packages/demo/src/center.js

@ -1,6 +1,6 @@
import { shortcut, Widget, RouterView, Router } from '@fui/core'; import { Decorators , Widget, RouterView, Router } from '@fui/core';
@shortcut() @Decorators.shortcut()
export class Center extends Widget { export class Center extends Widget {
static xtype = 'demo.center'; static xtype = 'demo.center';
@ -15,7 +15,7 @@ export class Center extends Widget {
} }
} }
@shortcut() @Decorators.shortcut()
export class RouterDemo extends Widget { export class RouterDemo extends Widget {
static xtype = 'demo.router'; static xtype = 'demo.router';

4
packages/demo/src/demo/base/button/demo.button.js

@ -1,8 +1,8 @@
import { Button, TextButton, FloatLeftLayout, shortcut, Widget, parseInt, Msg, map } from "@fui/core" import { Button, TextButton, FloatLeftLayout, Decorators, Widget, parseInt, Msg, map } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ButtonDemo extends Widget { export class ButtonDemo extends Widget {
static xtype = "demo.button"; static xtype = "demo.button";

4
packages/demo/src/demo/base/button/demo.icon_button.js

@ -1,8 +1,8 @@
import { IconButton, FloatLeftLayout, shortcut, Widget } from "@fui/core" import { IconButton, FloatLeftLayout, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class IconButtonDemo extends Widget { export class IconButtonDemo extends Widget {
static xtype = "demo.icon_button"; static xtype = "demo.icon_button";

6
packages/demo/src/demo/base/button/demo.image_button.js

@ -1,8 +1,8 @@
import { ImageButton, FloatLeftLayout, shortcut, Widget } from "@fui/core" import { ImageButton, FloatLeftLayout, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ImageButtonDemo extends Widget { export class ImageButtonDemo extends Widget {
static xtype = "demo.image_button"; static xtype = "demo.image_button";
@ -19,7 +19,7 @@ export class ImageButtonDemo extends Widget {
}, },
} }
]; ];
return { return {
type: FloatLeftLayout.xtype, type: FloatLeftLayout.xtype,
vgap: 200, vgap: 200,

4
packages/demo/src/demo/base/button/demo.text_button.js

@ -1,8 +1,8 @@
import { TextButton, FloatLeftLayout, shortcut, Widget } from "@fui/core" import { TextButton, FloatLeftLayout, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TextButtonDemo extends Widget { export class TextButtonDemo extends Widget {
static xtype = "demo.text_button"; static xtype = "demo.text_button";

4
packages/demo/src/demo/base/demo.html.js

@ -1,6 +1,6 @@
import { shortcut, Widget, VerticalLayout, Html } from "@fui/core"; import { Decorators, Widget, VerticalLayout, Html } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class HtmlDemo extends Widget { export class HtmlDemo extends Widget {
static xtype = "demo.html"; static xtype = "demo.html";

4
packages/demo/src/demo/base/demo.icon_label.js

@ -1,6 +1,6 @@
import { DefaultLayout, Label, IconLabel, shortcut, Widget } from "@fui/core"; import { DefaultLayout, Label, IconLabel, Decorators, Widget } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class IconLabelDemo extends Widget { export class IconLabelDemo extends Widget {
static xtype = "demo.icon_label"; static xtype = "demo.icon_label";

4
packages/demo/src/demo/base/demo.label.js

@ -1,12 +1,12 @@
import { import {
VerticalLayout, VerticalLayout,
FloatLeftLayout, FloatLeftLayout,
shortcut, Decorators,
Widget, Widget,
Label Label
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class LabelDemo extends Widget { export class LabelDemo extends Widget {
static xtype = "demo.label"; static xtype = "demo.label";

4
packages/demo/src/demo/base/demo.label.scene.js

@ -1,12 +1,12 @@
import { import {
Label, Label,
AbsoluteLayout, AbsoluteLayout,
shortcut, Decorators,
Widget, Widget,
VerticalLayout VerticalLayout
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class LabelSceneDemo extends Widget { export class LabelSceneDemo extends Widget {
static xtype = "demo.label_scene"; static xtype = "demo.label_scene";

4
packages/demo/src/demo/base/demo.message.js

@ -1,6 +1,6 @@
import { shortcut, Widget, Msg, CenterAdaptLayout, Button } from "@fui/core"; import { Decorators, Widget, Msg, CenterAdaptLayout, Button } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class MessageDemo extends Widget { export class MessageDemo extends Widget {
static xtype = "demo.message"; static xtype = "demo.message";

4
packages/demo/src/demo/base/demo.pager.js

@ -1,6 +1,6 @@
import { VerticalLayout, Label, shortcut, Widget, Pager } from "@fui/core"; import { VerticalLayout, Label, Decorators, Widget, Pager } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class FuncDemo extends Widget { export class FuncDemo extends Widget {
static xtype = "demo.pager"; static xtype = "demo.pager";

4
packages/demo/src/demo/base/editor/demo.editor.js

@ -1,9 +1,9 @@
import { Editor, AbsoluteLayout, Button, shortcut, Widget, createWidget, Editor as BIEditor } from "@fui/core" import { Editor, AbsoluteLayout, Button, Decorators, Widget, createWidget, Editor as BIEditor } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class EditorDemo extends Widget { export class EditorDemo extends Widget {
static xtype = "demo.editor"; static xtype = "demo.editor";

4
packages/demo/src/demo/base/editor/demo.multifile_editor.js

@ -1,8 +1,8 @@
import { AbsoluteLayout, AdaptiveLayout, MultifileEditor, shortcut, Widget } from "@fui/core" import { AbsoluteLayout, AdaptiveLayout, MultifileEditor, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class CodeEditorDemo extends Widget { export class CodeEditorDemo extends Widget {
static xtype = "demo.multifile_editor"; static xtype = "demo.multifile_editor";

6
packages/demo/src/demo/base/editor/demo.textarea_editor.js

@ -1,9 +1,9 @@
import { TextAreaEditor, VerticalLayout, Button, shortcut, Widget, createWidget, isNotEmptyString, Msg } from "@fui/core" import { TextAreaEditor, VerticalLayout, Button, Decorators, Widget, createWidget, isNotEmptyString, Msg } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TextareaEditorDemo extends Widget { export class TextareaEditorDemo extends Widget {
static xtype = "demo.textarea_editor"; static xtype = "demo.textarea_editor";

4
packages/demo/src/demo/base/tip/demo.bubble.js

@ -1,8 +1,8 @@
import { Button, FloatLeftLayout, shortcut, Widget, Bubbles } from "@fui/core" import { Button, FloatLeftLayout, Decorators, Widget, Bubbles } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class BubbleDemo extends Widget { export class BubbleDemo extends Widget {
static xtype = "demo.bubble"; static xtype = "demo.bubble";

4
packages/demo/src/demo/base/tip/demo.title.js

@ -1,8 +1,8 @@
import { VerticalLayout, Label, shortcut, Widget } from "@fui/core" import { VerticalLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TitleDemo extends Widget { export class TitleDemo extends Widget {
static xtype = "demo.title"; static xtype = "demo.title";

4
packages/demo/src/demo/base/tip/demo.toast.js

@ -1,9 +1,9 @@
import { Button, FloatLeftLayout, shortcut, Widget, createWidget, Msg } from "@fui/core" import { Button, FloatLeftLayout, Decorators, Widget, createWidget, Msg } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ToastDemo extends Widget { export class ToastDemo extends Widget {
static xtype = "demo.toast"; static xtype = "demo.toast";

4
packages/demo/src/demo/base/tree/demo.part_tree.js

@ -1,9 +1,9 @@
import { VTapeLayout, Label, PartTree, shortcut, Widget, isNull, TreeView } from "@fui/core" import { VTapeLayout, Label, PartTree, Decorators, Widget, isNull, TreeView } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class PartTreeDemo extends Widget { export class PartTreeDemo extends Widget {
static xtype = "demo.part_tree"; static xtype = "demo.part_tree";

4
packages/demo/src/demo/base/tree/demo.sync_tree.js

@ -1,8 +1,8 @@
import { VTapeLayout, Label, AsyncTree, shortcut, Widget, isNull } from "@fui/core" import { VTapeLayout, Label, AsyncTree, Decorators, Widget, isNull } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class SyncTreeDemo extends Widget { export class SyncTreeDemo extends Widget {
static xtype = "demo.sync_tree"; static xtype = "demo.sync_tree";

4
packages/demo/src/demo/base/tree/demo.tree_view.js

@ -1,8 +1,8 @@
import { TreeView, GridLayout, VTapeLayout, Label, shortcut, Widget, createWidget } from "@fui/core" import { TreeView, GridLayout, VTapeLayout, Label, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class FuncDemo extends Widget { export class FuncDemo extends Widget {
static xtype = "demo.tree_view"; static xtype = "demo.tree_view";

4
packages/demo/src/demo/case/combo/demo.bubble_combo.js

@ -6,13 +6,13 @@ import {
VerticalLayout, VerticalLayout,
TextBubblePopupBarView, TextBubblePopupBarView,
AbsoluteLayout, AbsoluteLayout,
shortcut, Decorators,
Widget, Widget,
createWidget, createWidget,
makeArray makeArray
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class BubbleComboDemo extends Widget { export class BubbleComboDemo extends Widget {
static xtype = "demo.bubble_combo"; static xtype = "demo.bubble_combo";

4
packages/demo/src/demo/case/combo/demo.editor_icon_check_combo.js

@ -1,8 +1,8 @@
import { HorizontalAutoLayout, EditorIconCheckCombo, Button, shortcut, Widget } from "@fui/core" import { HorizontalAutoLayout, EditorIconCheckCombo, Button, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class EditorIconCheckComboDemo extends Widget { export class EditorIconCheckComboDemo extends Widget {
static xtype = "demo.editor_icon_check_combo"; static xtype = "demo.editor_icon_check_combo";

4
packages/demo/src/demo/case/combo/demo.icon_combo.js

@ -1,8 +1,8 @@
import { HorizontalAutoLayout, IconCombo, shortcut, Widget } from "@fui/core" import { HorizontalAutoLayout, IconCombo, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class IconComboDemo extends Widget { export class IconComboDemo extends Widget {
static xtype = "demo.icon_combo"; static xtype = "demo.icon_combo";

4
packages/demo/src/demo/case/combo/demo.icon_text_value_combo.js

@ -1,8 +1,8 @@
import { HorizontalAutoLayout, IconTextValueCombo, shortcut, Widget } from "@fui/core" import { HorizontalAutoLayout, IconTextValueCombo, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class IconTextValueComboDemo extends Widget { export class IconTextValueComboDemo extends Widget {
static xtype = "demo.icon_text_value_combo"; static xtype = "demo.icon_text_value_combo";

4
packages/demo/src/demo/case/combo/demo.search_text_value_combo.js

@ -4,12 +4,12 @@ import {
SearchTextValueCombo, SearchTextValueCombo,
AllValueMultiTextValueCombo, AllValueMultiTextValueCombo,
Button, Button,
shortcut, Decorators,
Widget, Widget,
Msg Msg
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class SearchTextValueComboDemo extends Widget { export class SearchTextValueComboDemo extends Widget {
static xtype = "demo.search_text_value_combo"; static xtype = "demo.search_text_value_combo";

4
packages/demo/src/demo/case/combo/demo.text_value_combo.js

@ -3,14 +3,14 @@ import {
TextValueCombo, TextValueCombo,
Button, Button,
Label, Label,
shortcut, Decorators,
Selection, Selection,
Widget Widget
} from "@fui/core"; } from "@fui/core";
/** /**
* Created by Dailer on 2017/7/11. * Created by Dailer on 2017/7/11.
*/ */
@shortcut() @Decorators.shortcut()
export class TextValueComboDemo extends Widget { export class TextValueComboDemo extends Widget {
static xtype = "demo.text_value_combo"; static xtype = "demo.text_value_combo";

4
packages/demo/src/demo/case/combo/demo.text_value_down_list_combo.js

@ -1,9 +1,9 @@
import { HorizontalAutoLayout, TextValueDownListCombo, Button, shortcut, Widget, Msg } from "@fui/core" import { HorizontalAutoLayout, TextValueDownListCombo, Button, Decorators, Widget, Msg } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TextValueDownListComboDemo extends Widget { export class TextValueDownListComboDemo extends Widget {
static xtype = "demo.text_value_down_list_combo"; static xtype = "demo.text_value_down_list_combo";

6
packages/demo/src/demo/case/combo/demo.text_vlaue_check_combo.js

@ -1,9 +1,9 @@
import { Msg, HorizontalAutoLayout, TextValueCheckCombo, Button, shortcut, Widget } from "@fui/core" import { Msg, HorizontalAutoLayout, TextValueCheckCombo, Button, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TextValueCheckComboDemo extends Widget { export class TextValueCheckComboDemo extends Widget {
static xtype = "demo.text_value_check_combo"; static xtype = "demo.text_value_check_combo";
@ -11,7 +11,7 @@ export class TextValueCheckComboDemo extends Widget {
render() { render() {
const self = this; const self = this;
return { return {
type: HorizontalAutoLayout.xtype, type: HorizontalAutoLayout.xtype,
items: [ items: [

4
packages/demo/src/demo/case/demo.calendar.js

@ -1,8 +1,8 @@
import { Calendar, shortcut, Widget } from "@fui/core" import { Calendar, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class CalendarDemo extends Widget { export class CalendarDemo extends Widget {
static xtype = "demo.calendar"; static xtype = "demo.calendar";

4
packages/demo/src/demo/case/demo.click.effect.js

@ -1,8 +1,8 @@
import { VerticalLayout, IconTextItem, shortcut, Widget, createItems } from "@fui/core" import { VerticalLayout, IconTextItem, Decorators, Widget, createItems } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ClickItemEffectDemo extends Widget { export class ClickItemEffectDemo extends Widget {
static xtype = "demo.click_item_effect"; static xtype = "demo.click_item_effect";

4
packages/demo/src/demo/case/demo.color_chooser.js

@ -1,8 +1,8 @@
import { AbsoluteLayout, ColorChooser, SimpleColorChooser, shortcut, Widget } from "@fui/core" import { AbsoluteLayout, ColorChooser, SimpleColorChooser, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ColorChooserDemo extends Widget { export class ColorChooserDemo extends Widget {
static xtype = "demo.color_chooser"; static xtype = "demo.color_chooser";

4
packages/demo/src/demo/case/demo.color_chooser_popup.js

@ -1,8 +1,8 @@
import { AbsoluteLayout, ColorChooserPopup, SimpleColorChooserPopup, shortcut, Widget } from "@fui/core" import { AbsoluteLayout, ColorChooserPopup, SimpleColorChooserPopup, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ColorChooserPopupDemo extends Widget { export class ColorChooserPopupDemo extends Widget {
static xtype = "demo.color_chooser_popup"; static xtype = "demo.color_chooser_popup";

4
packages/demo/src/demo/case/demo.segment.js

@ -1,8 +1,8 @@
import { HorizontalLayout, Segment, shortcut, Widget, createWidget } from "@fui/core" import { HorizontalLayout, Segment, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class SegmentDemo extends Widget { export class SegmentDemo extends Widget {
static xtype = "demo.segment"; static xtype = "demo.segment";

4
packages/demo/src/demo/case/editor/demo.clear_editor.js

@ -1,8 +1,8 @@
import { HorizontalAutoLayout, ClearEditor, shortcut, Widget } from "@fui/core" import { HorizontalAutoLayout, ClearEditor, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ClearEditorDemo extends Widget { export class ClearEditorDemo extends Widget {
static xtype = "demo.clear_editor"; static xtype = "demo.clear_editor";

4
packages/demo/src/demo/case/editor/demo.shelter_editor.js

@ -1,8 +1,8 @@
import { ShelterEditor, VerticalLayout, AbsoluteLayout, Button, shortcut, Widget, createWidget } from "@fui/core" import { ShelterEditor, VerticalLayout, AbsoluteLayout, Button, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ShelterEditorDemo extends Widget { export class ShelterEditorDemo extends Widget {
static xtype = "demo.shelter_editor"; static xtype = "demo.shelter_editor";

4
packages/demo/src/demo/case/editor/demo.sign_editor.js

@ -1,8 +1,8 @@
import { SignEditor, VerticalLayout, shortcut, Widget, createWidget } from "@fui/core" import { SignEditor, VerticalLayout, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class SignEditorDemo extends Widget { export class SignEditorDemo extends Widget {
static xtype = "demo.sign_editor"; static xtype = "demo.sign_editor";

4
packages/demo/src/demo/case/editor/demo.simple_state_editor.js

@ -1,8 +1,8 @@
import { HorizontalAdaptLayout, SimpleStateEditor, shortcut, Widget } from "@fui/core" import { HorizontalAdaptLayout, SimpleStateEditor, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class SimpleStateEditorDemo extends Widget { export class SimpleStateEditorDemo extends Widget {
static xtype = "demo.simple_state_editor"; static xtype = "demo.simple_state_editor";

4
packages/demo/src/demo/case/editor/demo.state_editor.js

@ -1,8 +1,8 @@
import { HorizontalAdaptLayout, StateEditor, shortcut, Widget } from "@fui/core" import { HorizontalAdaptLayout, StateEditor, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class StateEditorDemo extends Widget { export class StateEditorDemo extends Widget {
static xtype = "demo.state_editor"; static xtype = "demo.state_editor";

4
packages/demo/src/demo/case/item/demo.multi_select_item.js

@ -1,8 +1,8 @@
import { VerticalLayout, Label, MultiSelectItem, shortcut, Widget } from "@fui/core" import { VerticalLayout, Label, MultiSelectItem, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class MultiSelectItemDemo extends Widget { export class MultiSelectItemDemo extends Widget {
static xtype = "demo.multi_select_item"; static xtype = "demo.multi_select_item";

4
packages/demo/src/demo/case/item/demo.single_select_item.js

@ -1,8 +1,8 @@
import { VerticalLayout, Label, SingleSelectItem, shortcut, Widget } from "@fui/core" import { VerticalLayout, Label, SingleSelectItem, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class SingleSelectItemDemo extends Widget { export class SingleSelectItemDemo extends Widget {
static xtype = "demo.single_select_item"; static xtype = "demo.single_select_item";

4
packages/demo/src/demo/case/item/demo.single_select_radio_item.js

@ -2,11 +2,11 @@ import {
VerticalLayout, VerticalLayout,
Label, Label,
SingleSelectRadioItem, SingleSelectRadioItem,
shortcut, Decorators,
Widget Widget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class SingleSelectRadioItemDemo extends Widget { export class SingleSelectRadioItemDemo extends Widget {
static xtype = "demo.single_select_radio_item"; static xtype = "demo.single_select_radio_item";

4
packages/demo/src/demo/case/list/demo.lazy_loader.js

@ -3,14 +3,14 @@ import {
LazyLoader, LazyLoader,
FloatLeftLayout, FloatLeftLayout,
Button, Button,
shortcut, Decorators,
Widget, Widget,
createWidget, createWidget,
createItems, createItems,
deepClone deepClone
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class LazyLoaderDemo extends Widget { export class LazyLoaderDemo extends Widget {
static xtype = "demo.lazy_loader"; static xtype = "demo.lazy_loader";

4
packages/demo/src/demo/case/list/demo.select_list.js

@ -3,7 +3,7 @@ import {
SelectList, SelectList,
MultiSelectBar, MultiSelectBar,
MultiSelectItem, MultiSelectItem,
shortcut, Decorators,
Widget, Widget,
createWidget, createWidget,
createItems, createItems,
@ -11,7 +11,7 @@ import {
Selection Selection
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class SelectListDemo extends Widget { export class SelectListDemo extends Widget {
static xtype = "demo.select_list"; static xtype = "demo.select_list";

4
packages/demo/src/demo/case/pager/demo.all_count_pager.js

@ -2,12 +2,12 @@ import {
VerticalLayout, VerticalLayout,
Label, Label,
AllCountPager, AllCountPager,
shortcut, Decorators,
Widget, Widget,
createWidget createWidget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class AllCountPagerDemo extends Widget { export class AllCountPagerDemo extends Widget {
static xtype = "demo.all_count_pager"; static xtype = "demo.all_count_pager";

4
packages/demo/src/demo/case/pager/demo.direction_pager.js

@ -1,8 +1,8 @@
import { VerticalLayout, DirectionPager, shortcut, Widget, createWidget } from "@fui/core" import { VerticalLayout, DirectionPager, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class DirectionPagerDemo extends Widget { export class DirectionPagerDemo extends Widget {
static xtype = "demo.direction_pager"; static xtype = "demo.direction_pager";

4
packages/demo/src/demo/case/pane/demo.list_pane.js

@ -4,13 +4,13 @@ import {
MultiSelectItem, MultiSelectItem,
ButtonGroup, ButtonGroup,
VerticalLayout, VerticalLayout,
shortcut, Decorators,
Widget, Widget,
createItems, createItems,
deepClone deepClone
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class ListPaneDemo extends Widget { export class ListPaneDemo extends Widget {
static xtype = "demo.list_pane"; static xtype = "demo.list_pane";

4
packages/demo/src/demo/case/pane/demo.multi_popup_view.js

@ -7,13 +7,13 @@ import {
ButtonGroup, ButtonGroup,
VerticalLayout, VerticalLayout,
MultiSelectItem, MultiSelectItem,
shortcut, Decorators,
Widget, Widget,
createItems, createItems,
deepClone deepClone
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class MultiPopupViewDemo extends Widget { export class MultiPopupViewDemo extends Widget {
static xtype = "demo.multi_popup_view"; static xtype = "demo.multi_popup_view";

4
packages/demo/src/demo/case/pane/demo.panel.js

@ -5,13 +5,13 @@ import {
ButtonGroup, ButtonGroup,
VerticalLayout, VerticalLayout,
MultiSelectItem, MultiSelectItem,
shortcut, Decorators,
Widget, Widget,
createItems, createItems,
deepClone deepClone
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class PanelDemo extends Widget { export class PanelDemo extends Widget {
static xtype = "demo.panel"; static xtype = "demo.panel";

4
packages/demo/src/demo/case/pane/demo.popup_panel.js

@ -7,13 +7,13 @@ import {
ButtonGroup, ButtonGroup,
VerticalLayout, VerticalLayout,
MultiSelectItem, MultiSelectItem,
shortcut, Decorators,
Widget, Widget,
createItems, createItems,
deepClone deepClone
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class PopupPanelDemo extends Widget { export class PopupPanelDemo extends Widget {
static xtype = "demo.popup_panel"; static xtype = "demo.popup_panel";

4
packages/demo/src/demo/case/tree/demo.display_tree.js

@ -1,8 +1,8 @@
import { DisplayTree, shortcut, Widget, createWidget } from "@fui/core" import { DisplayTree, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class DisplayTreeDemo extends Widget { export class DisplayTreeDemo extends Widget {
static xtype = "demo.display_tree"; static xtype = "demo.display_tree";

4
packages/demo/src/demo/case/tree/demo.level_tree.js

@ -1,9 +1,9 @@
import { createWidget, Msg, LevelTree, VTapeLayout, Button, shortcut, Widget } from "@fui/core" import { createWidget, Msg, LevelTree, VTapeLayout, Button, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class LevelTreeDemo extends Widget { export class LevelTreeDemo extends Widget {
static xtype = "demo.level_tree"; static xtype = "demo.level_tree";

4
packages/demo/src/demo/case/tree/demo.simple_tree.js

@ -2,13 +2,13 @@ import {
SimpleTreeView, SimpleTreeView,
VTapeLayout, VTapeLayout,
Button, Button,
shortcut, Decorators,
Widget, Widget,
createWidget, createWidget,
Msg Msg
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class SimpleTreeDemo extends Widget { export class SimpleTreeDemo extends Widget {
static xtype = "demo.simple_tree"; static xtype = "demo.simple_tree";

4
packages/demo/src/demo/case/triggers/demo.editor_trigger.js

@ -2,12 +2,12 @@ import {
VerticalLayout, VerticalLayout,
Label, Label,
EditorTrigger, EditorTrigger,
shortcut, Decorators,
Widget, Widget,
createWidget createWidget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class EditorTriggerDemo extends Widget { export class EditorTriggerDemo extends Widget {
static xtype = "demo.editor_trigger"; static xtype = "demo.editor_trigger";

4
packages/demo/src/demo/case/triggers/demo.icon_trigger.js

@ -2,12 +2,12 @@ import {
VerticalLayout, VerticalLayout,
Label, Label,
IconTrigger, IconTrigger,
shortcut, Decorators,
Widget, Widget,
createWidget createWidget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class IconTriggerDemo extends Widget { export class IconTriggerDemo extends Widget {
static xtype = "demo.icon_trigger"; static xtype = "demo.icon_trigger";

4
packages/demo/src/demo/case/triggers/demo.select_text_trigger.js

@ -2,12 +2,12 @@ import {
VerticalLayout, VerticalLayout,
Label, Label,
SelectTextTrigger, SelectTextTrigger,
shortcut, Decorators,
Widget, Widget,
createWidget createWidget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class SelectTextTriggerDemo extends Widget { export class SelectTextTriggerDemo extends Widget {
static xtype = "demo.select_text_trigger"; static xtype = "demo.select_text_trigger";

4
packages/demo/src/demo/case/triggers/demo.text_trigger.js

@ -2,12 +2,12 @@ import {
VerticalLayout, VerticalLayout,
Label, Label,
TextTrigger, TextTrigger,
shortcut, Decorators,
Widget, Widget,
createWidget createWidget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class TextTriggerDemo extends Widget { export class TextTriggerDemo extends Widget {
static xtype = "demo.text_trigger"; static xtype = "demo.text_trigger";

4
packages/demo/src/demo/component/demo.form.js

@ -1,8 +1,8 @@
import { createWidget, isEmpty, isNotEmptyArray, Form, TextEditor, TextValueCombo, TextAreaEditor, VerticalLayout, Button, shortcut, Widget } from "@fui/core" import { createWidget, isEmpty, isNotEmptyArray, Form, TextEditor, TextValueCombo, TextAreaEditor, VerticalLayout, Button, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class FormDemo extends Widget { export class FormDemo extends Widget {
static xtype = "demo.form"; static xtype = "demo.form";

4
packages/demo/src/demo/component/demo.treevaluechoosercombo.js

@ -1,9 +1,9 @@
import { CONSTANTS } from "@/config/constant"; import { CONSTANTS } from "@/config/constant";
import { TreeValueChooserCombo, VerticalLayout, shortcut, Widget, createWidget, deepClone } from "@fui/core" import { TreeValueChooserCombo, VerticalLayout, Decorators, Widget, createWidget, deepClone } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TreeValueChooserDemo extends Widget { export class TreeValueChooserDemo extends Widget {
static xtype = "demo.tree_value_chooser_combo"; static xtype = "demo.tree_value_chooser_combo";

4
packages/demo/src/demo/component/demo.treevaluechooserpane.js

@ -1,7 +1,7 @@
import { CONSTANTS } from "@/config/constant"; import { CONSTANTS } from "@/config/constant";
import { TreeValueChooserPane, shortcut, Widget, deepClone } from "@fui/core"; import { TreeValueChooserPane, Decorators, Widget, deepClone } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class TreeValueChooserPaneDemo extends Widget { export class TreeValueChooserPaneDemo extends Widget {
static xtype = "demo.tree_value_chooser_pane"; static xtype = "demo.tree_value_chooser_pane";

6
packages/demo/src/demo/component/demo.valuechoosercombo.js

@ -1,9 +1,9 @@
import { CONSTANTS } from "@/config/constant"; import { CONSTANTS } from "@/config/constant";
import { ValueChooserCombo, VerticalLayout, shortcut, Widget, createWidget, deepClone } from "@fui/core" import { ValueChooserCombo, VerticalLayout, Decorators, Widget, createWidget, deepClone } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class ValueChooserComboDemo extends Widget { export class ValueChooserComboDemo extends Widget {
static xtype = "demo.value_chooser_combo"; static xtype = "demo.value_chooser_combo";
@ -16,7 +16,7 @@ export class ValueChooserComboDemo extends Widget {
callback(deepClone(CONSTANTS.ITEMS)); callback(deepClone(CONSTANTS.ITEMS));
}, },
}); });
return { return {
type: VerticalLayout.xtype, type: VerticalLayout.xtype,
hgap: 200, hgap: 200,

4
packages/demo/src/demo/component/demo.valuechooserpane.js

@ -1,7 +1,7 @@
import { CONSTANTS } from "@/config/constant"; import { CONSTANTS } from "@/config/constant";
import { ValueChooserPane, shortcut, Widget, deepClone } from "@fui/core"; import { ValueChooserPane, Decorators, Widget, deepClone } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class ValueChooserPaneDemo extends Widget { export class ValueChooserPaneDemo extends Widget {
static xtype = "demo.value_chooser_pane"; static xtype = "demo.value_chooser_pane";

52
packages/demo/src/demo/core/abstract/combination/demo.combo.js

@ -1,9 +1,38 @@
import {
ComboGroup,
IconTextIconItem,
SingleSelectItem,
Combo,
Button,
ButtonGroup,
Decorators,
SingleSelectRadioItem,
VerticalLayout,
MultiSelectItem,
Label,
MultiSelectBar,
TextButton,
Loader,
FloatLeftLayout,
ButtonTree,
AdaptiveLayout,
TableLayout,
AbsoluteLayout,
Navigation,
GridLayout,
Widget,
createWidget,
createItems,
deepClone,
map,
delay,
random,
makeArray,
Msg
} from "@fui/core";
import { ComboGroup, IconTextIconItem, SingleSelectItem, Combo, Button, ButtonGroup, SingleSelectRadioItem, VerticalLayout, MultiSelectItem, Label, MultiSelectBar, TextButton, Loader, FloatLeftLayout, ButtonTree, AdaptiveLayout, TableLayout, AbsoluteLayout, Navigation, GridLayout, shortcut, Widget, createWidget, createItems, deepClone, map, delay, random, makeArray, Msg } from "@fui/core"
@Decorators.shortcut()
@shortcut()
export class ComboDemo extends Widget { export class ComboDemo extends Widget {
static xtype = "demo.combo"; static xtype = "demo.combo";
@ -92,7 +121,8 @@ export class ComboDemo extends Widget {
items: createItems(deepClone(this.years), { items: createItems(deepClone(this.years), {
type: SingleSelectRadioItem.xtype, type: SingleSelectRadioItem.xtype,
height: 25, height: 25,
handler(v) {}, handler(v) {
},
}), }),
layouts: [ layouts: [
{ {
@ -116,7 +146,8 @@ export class ComboDemo extends Widget {
items: createItems(deepClone(this.years), { items: createItems(deepClone(this.years), {
type: MultiSelectItem.xtype, type: MultiSelectItem.xtype,
height: 25, height: 25,
handler(v) {}, handler(v) {
},
}), }),
chooseType: 1, chooseType: 1,
layouts: [ layouts: [
@ -296,7 +327,8 @@ export class ComboDemo extends Widget {
type: SingleSelectItem.xtype, type: SingleSelectItem.xtype,
iconWidth: 25, iconWidth: 25,
height: 25, height: 25,
handler(v) {}, handler(v) {
},
}), }),
chooseType: 1, chooseType: 1,
layouts: [ layouts: [
@ -323,7 +355,8 @@ export class ComboDemo extends Widget {
items: createItems(deepClone(this.child), { items: createItems(deepClone(this.child), {
type: SingleSelectItem.xtype, type: SingleSelectItem.xtype,
height: 25, height: 25,
handler(v) {}, handler(v) {
},
}), }),
layouts: [ layouts: [
{ {
@ -348,7 +381,8 @@ export class ComboDemo extends Widget {
items: createItems(deepClone(this.months), { items: createItems(deepClone(this.months), {
type: SingleSelectItem.xtype, type: SingleSelectItem.xtype,
cls: "button-combo", cls: "button-combo",
handler(v) {}, handler(v) {
},
}), }),
layouts: [ layouts: [
{ {

6
packages/demo/src/demo/core/abstract/combination/demo.combo2.js

@ -3,12 +3,12 @@ import {
Combo, Combo,
Layout, Layout,
GridLayout, GridLayout,
shortcut,
Widget, Widget,
createWidget createWidget,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class Combo2Demo extends Widget { export class Combo2Demo extends Widget {
static xtype = "demo.combo2"; static xtype = "demo.combo2";

6
packages/demo/src/demo/core/abstract/combination/demo.combo3.js

@ -3,12 +3,12 @@ import {
Combo, Combo,
Layout, Layout,
GridLayout, GridLayout,
shortcut,
Widget, Widget,
createWidget createWidget,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class Combo3Demo extends Widget { export class Combo3Demo extends Widget {
static xtype = "demo.combo3"; static xtype = "demo.combo3";

6
packages/demo/src/demo/core/abstract/combination/demo.combo_group.js

@ -8,14 +8,14 @@ import {
VerticalLayout, VerticalLayout,
FloatLeftLayout, FloatLeftLayout,
GridLayout, GridLayout,
shortcut,
Widget, Widget,
createWidget, createWidget,
createItems, createItems,
deepClone deepClone,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class ComboGroupDemo extends Widget { export class ComboGroupDemo extends Widget {
static xtype = "demo.combo.group"; static xtype = "demo.combo.group";

6
packages/demo/src/demo/core/abstract/combination/demo.expander.js

@ -3,12 +3,12 @@ import {
Expander, Expander,
IconTextNode, IconTextNode,
SingleSelectItem, SingleSelectItem,
shortcut,
Widget, Widget,
createItems createItems,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class ExpanderDemo extends Widget { export class ExpanderDemo extends Widget {
static xtype = "demo.expander"; static xtype = "demo.expander";

4
packages/demo/src/demo/core/abstract/combination/demo.loader.js

@ -1,7 +1,7 @@
import { Loader, SingleSelectItem, shortcut, Widget, deepClone, map, extend } from '@fui/core'; import { Loader,Decorators, SingleSelectItem, Widget, deepClone, map, extend } from '@fui/core';
import { CONSTANTS } from '@/config/constant'; import { CONSTANTS } from '@/config/constant';
@shortcut() @Decorators.shortcut()
export class LoaderDemo extends Widget { export class LoaderDemo extends Widget {
static xtype = 'demo.loader'; static xtype = 'demo.loader';

6
packages/demo/src/demo/core/abstract/combination/demo.navigation.js

@ -1,14 +1,14 @@
import { import {
Label, Label,
Navigation, Navigation,
shortcut,
Widget, Widget,
createWidget, createWidget,
random, random,
bind bind,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class NagvigationDemo extends Widget { export class NagvigationDemo extends Widget {
static xtype = "demo.navigation"; static xtype = "demo.navigation";

6
packages/demo/src/demo/core/abstract/combination/demo.sercher.js

@ -4,13 +4,13 @@ import {
VerticalLayout, VerticalLayout,
AbsoluteLayout, AbsoluteLayout,
Searcher, Searcher,
shortcut,
Widget, Widget,
createItems, createItems,
createWidget createWidget,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class SearcherDemo extends Widget { export class SearcherDemo extends Widget {
static xtype = "demo.searcher"; static xtype = "demo.searcher";

6
packages/demo/src/demo/core/abstract/combination/demo.switcher.js

@ -5,13 +5,13 @@ import {
Switcher, Switcher,
Button, Button,
SingleSelectItem, SingleSelectItem,
shortcut,
Widget, Widget,
createWidget, createWidget,
createItems createItems,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class SwitcherDemo extends Widget { export class SwitcherDemo extends Widget {
static xtype = "demo.switcher"; static xtype = "demo.switcher";

6
packages/demo/src/demo/core/abstract/combination/demo.tab.js

@ -5,13 +5,13 @@ import {
HorizontalLayout, HorizontalLayout,
Tab, Tab,
AbsoluteLayout, AbsoluteLayout,
shortcut,
Widget, Widget,
createWidget, createWidget,
bind bind,
Decorators
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class TabDemo extends Widget { export class TabDemo extends Widget {
static xtype = "demo.tab"; static xtype = "demo.tab";

4
packages/demo/src/demo/core/abstract/demo.button_group.js

@ -4,11 +4,11 @@ import {
VTapeLayout, VTapeLayout,
Label, Label,
Button, Button,
shortcut, Decorators,
Widget Widget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class ButtonGroupDemo extends Widget { export class ButtonGroupDemo extends Widget {
static xtype = "demo.button_group"; static xtype = "demo.button_group";

4
packages/demo/src/demo/core/abstract/demo.button_tree.js

@ -4,12 +4,12 @@ import {
CenterAdaptLayout, CenterAdaptLayout,
Label, Label,
Button, Button,
shortcut, Decorators,
Widget, Widget,
ButtonGroup ButtonGroup
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class ButtonTreeDemo extends Widget { export class ButtonTreeDemo extends Widget {
static xtype = "demo.button_tree"; static xtype = "demo.button_tree";

4
packages/demo/src/demo/core/abstract/demo.collection_view.js

@ -2,12 +2,12 @@ import {
Label, Label,
CollectionView, CollectionView,
AbsoluteLayout, AbsoluteLayout,
shortcut, Decorators,
Widget, Widget,
createWidget createWidget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class CollectionViewDemo extends Widget { export class CollectionViewDemo extends Widget {
static xtype = "demo.collection_view"; static xtype = "demo.collection_view";

4
packages/demo/src/demo/core/abstract/demo.custom_tree.js

@ -10,14 +10,14 @@ import {
CenterLayout, CenterLayout,
TextButton, TextButton,
Label, Label,
shortcut, Decorators,
Widget, Widget,
createWidget, createWidget,
deepClone, deepClone,
Msg Msg
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class CustomTreeDemo extends Widget { export class CustomTreeDemo extends Widget {
static xtype = "demo.custom_tree"; static xtype = "demo.custom_tree";

4
packages/demo/src/demo/core/abstract/demo.grid_view.js

@ -3,12 +3,12 @@ import {
GridView, GridView,
AbsoluteLayout, AbsoluteLayout,
GridLayout, GridLayout,
shortcut, Decorators,
Widget, Widget,
createWidget createWidget
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class GridViewDemo extends Widget { export class GridViewDemo extends Widget {
static xtype = "demo.grid_view"; static xtype = "demo.grid_view";

4
packages/demo/src/demo/core/abstract/demo.list_view.js

@ -1,7 +1,7 @@
import { ListView, FloatLeftLayout, Label, shortcut, Widget, map, extend } from '@fui/core'; import { ListView, FloatLeftLayout, Label, Decorators, Widget, map, extend } from '@fui/core';
import { CONSTANTS } from '@/config/constant'; import { CONSTANTS } from '@/config/constant';
@shortcut() @Decorators.shortcut()
export class ListViewDemo extends Widget { export class ListViewDemo extends Widget {
static xtype = 'demo.list_view'; static xtype = 'demo.list_view';

4
packages/demo/src/demo/core/abstract/demo.virtual_group.js

@ -4,14 +4,14 @@ import {
ButtonGroup, ButtonGroup,
Button, Button,
VirtualGroup, VirtualGroup,
shortcut, Decorators,
Widget, Widget,
map, map,
range, range,
deepClone deepClone
} from "@fui/core"; } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class VirtualGroupDemo extends Widget { export class VirtualGroupDemo extends Widget {
static xtype = "demo.virtual_group"; static xtype = "demo.virtual_group";

4
packages/demo/src/demo/core/abstract/demo.virtual_group_item.js

@ -1,6 +1,6 @@
import { Label, shortcut, Widget, UUID } from "@fui/core"; import { Label, Decorators, Widget, UUID } from "@fui/core";
@shortcut() @Decorators.shortcut()
export class VirtualGroupItemDemo extends Widget { export class VirtualGroupItemDemo extends Widget {
static xtype = "demo.virtual_group_item"; static xtype = "demo.virtual_group_item";

4
packages/demo/src/demo/core/abstract/demo.virtual_list.js

@ -1,7 +1,7 @@
import { VirtualList, Label, shortcut, Widget, map, extend } from '@fui/core'; import { VirtualList, Label, Decorators, Widget, map, extend } from '@fui/core';
import { CONSTANTS } from '@/config/constant'; import { CONSTANTS } from '@/config/constant';
@shortcut() @Decorators.shortcut()
export class VirtualListDemo extends Widget { export class VirtualListDemo extends Widget {
static xtype = 'demo.virtual_list'; static xtype = 'demo.virtual_list';

4
packages/demo/src/demo/core/layout/demo.absolute.js

@ -1,8 +1,8 @@
import { AbsoluteLayout, Label, shortcut, Widget } from "@fui/core" import { AbsoluteLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class AbsoluteLayoutDemo extends Widget { export class AbsoluteLayoutDemo extends Widget {
static xtype = "demo.absolute"; static xtype = "demo.absolute";

4
packages/demo/src/demo/core/layout/demo.border.js

@ -1,8 +1,8 @@
import { Label, CenterLayout, BorderLayout, shortcut, Widget, createWidget } from "@fui/core" import { Label, CenterLayout, BorderLayout, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class BorderLayoutDemo extends Widget { export class BorderLayoutDemo extends Widget {
static xtype = "demo.border"; static xtype = "demo.border";

4
packages/demo/src/demo/core/layout/demo.center_adapt.js

@ -1,8 +1,8 @@
import { CenterAdaptLayout, Label, shortcut, Widget } from "@fui/core" import { CenterAdaptLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class CenterAdaptDemo extends Widget { export class CenterAdaptDemo extends Widget {
static xtype = "demo.center_adapt"; static xtype = "demo.center_adapt";

4
packages/demo/src/demo/core/layout/demo.float_center.js

@ -1,8 +1,8 @@
import { FloatCenterLayout, Label, shortcut, Widget } from "@fui/core" import { FloatCenterLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class FloatCenterLayoutDemo extends Widget { export class FloatCenterLayoutDemo extends Widget {
static xtype = "demo.float_center"; static xtype = "demo.float_center";

4
packages/demo/src/demo/core/layout/demo.flow.js

@ -1,8 +1,8 @@
import { CenterAdaptLayout, FloatLeftLayout, Label, FloatRightLayout, shortcut, Widget } from "@fui/core" import { CenterAdaptLayout, FloatLeftLayout, Label, FloatRightLayout, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class FlowLayoutDemo extends Widget { export class FlowLayoutDemo extends Widget {
static xtype = "demo.flow"; static xtype = "demo.flow";

4
packages/demo/src/demo/core/layout/demo.grid.js

@ -1,8 +1,8 @@
import { GridLayout, Label, shortcut, Widget } from "@fui/core" import { GridLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class GridLayoutDemo extends Widget { export class GridLayoutDemo extends Widget {
static xtype = "demo.grid"; static xtype = "demo.grid";

4
packages/demo/src/demo/core/layout/demo.horizontal.js

@ -1,9 +1,9 @@
import { VerticalLayout, HorizontalLayout, Label, Layout, CenterAdaptLayout, shortcut, Widget, VerticalAlign, HorizontalAlign } from "@fui/core" import { VerticalLayout, HorizontalLayout, Label, Layout, CenterAdaptLayout, Decorators, Widget, VerticalAlign, HorizontalAlign } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class HorizontalDemo extends Widget { export class HorizontalDemo extends Widget {
static xtype = "demo.horizontal"; static xtype = "demo.horizontal";

4
packages/demo/src/demo/core/layout/demo.horizontal_adapt.js

@ -1,8 +1,8 @@
import { HorizontalAdaptLayout, Label, GridLayout, shortcut, Widget, createWidget } from "@fui/core" import { HorizontalAdaptLayout, Label, GridLayout, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class HorizontalAdaptDemo extends Widget { export class HorizontalAdaptDemo extends Widget {
static xtype = "demo.horizontal_adapt"; static xtype = "demo.horizontal_adapt";

4
packages/demo/src/demo/core/layout/demo.horizontal_auto.js

@ -1,8 +1,8 @@
import { HorizontalAutoLayout, Label, GridLayout, shortcut, Widget, createWidget } from "@fui/core" import { HorizontalAutoLayout, Label, GridLayout, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class HorizontalAutoDemo extends Widget { export class HorizontalAutoDemo extends Widget {
static xtype = "demo.horizontal_auto"; static xtype = "demo.horizontal_auto";

4
packages/demo/src/demo/core/layout/demo.horizontal_float.js

@ -1,8 +1,8 @@
import { FloatHorizontalLayout, Label, shortcut, Widget } from "@fui/core" import { FloatHorizontalLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class HorizontalFloatDemo extends Widget { export class HorizontalFloatDemo extends Widget {
static xtype = "demo.horizontal_float"; static xtype = "demo.horizontal_float";

4
packages/demo/src/demo/core/layout/demo.htape.js

@ -1,8 +1,8 @@
import { HTapeLayout, Label, shortcut, Widget } from "@fui/core" import { HTapeLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class HtapeLayoutDemo extends Widget { export class HtapeLayoutDemo extends Widget {
static xtype = "demo.htape"; static xtype = "demo.htape";

4
packages/demo/src/demo/core/layout/demo.left_right_vertical_adapt.js

@ -1,8 +1,8 @@
import { LeftRightVerticalAdaptLayout, Label, shortcut, Widget } from "@fui/core" import { LeftRightVerticalAdaptLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class LeftRightVerticalAdaptLayoutDemo extends Widget { export class LeftRightVerticalAdaptLayoutDemo extends Widget {
static xtype = "demo.left_right_vertical_adapt"; static xtype = "demo.left_right_vertical_adapt";

4
packages/demo/src/demo/core/layout/demo.table.js

@ -1,8 +1,8 @@
import { TableLayout, Layout, GridLayout, shortcut, Widget, createItems } from "@fui/core" import { TableLayout, Layout, GridLayout, Decorators, Widget, createItems } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TableLayoutDemo extends Widget { export class TableLayoutDemo extends Widget {
static xtype = "demo.table_layout"; static xtype = "demo.table_layout";

4
packages/demo/src/demo/core/layout/demo.td.js

@ -1,8 +1,8 @@
import { VerticalLayout, TdLayout, Label, shortcut, Widget, createItems } from "@fui/core" import { VerticalLayout, TdLayout, Label, Decorators, Widget, createItems } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class TdLayoutDemo extends Widget { export class TdLayoutDemo extends Widget {
static xtype = "demo.td"; static xtype = "demo.td";

4
packages/demo/src/demo/core/layout/demo.vertical.js

@ -1,8 +1,8 @@
import { VerticalLayout, Label, shortcut, Widget } from "@fui/core" import { VerticalLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class VerticalLayoutDemo extends Widget { export class VerticalLayoutDemo extends Widget {
static xtype = "demo.vertical"; static xtype = "demo.vertical";

4
packages/demo/src/demo/core/layout/demo.vertical_adapt.js

@ -1,8 +1,8 @@
import { VerticalAdaptLayout, Label, GridLayout, shortcut, Widget, createWidget } from "@fui/core" import { VerticalAdaptLayout, Label, GridLayout, Decorators, Widget, createWidget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class VerticalAdaptLayoutDemo extends Widget { export class VerticalAdaptLayoutDemo extends Widget {
static xtype = "demo.vertical_adapt"; static xtype = "demo.vertical_adapt";

4
packages/demo/src/demo/core/layout/demo.vtape.js

@ -1,8 +1,8 @@
import { VTapeLayout, Label, shortcut, Widget } from "@fui/core" import { VTapeLayout, Label, Decorators, Widget } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class VtapeLayoutDemo extends Widget { export class VtapeLayoutDemo extends Widget {
static xtype = "demo.vtape"; static xtype = "demo.vtape";

4
packages/demo/src/demo/core/popup/demo.layer.js

@ -1,9 +1,9 @@
import { VerticalLayout, Button, CenterAdaptLayout, shortcut, Widget, UUID, Layers } from "@fui/core" import { VerticalLayout, Button, CenterAdaptLayout, Decorators, Widget, UUID, Layers } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class LayerDemo extends Widget { export class LayerDemo extends Widget {
static xtype = "demo.layer"; static xtype = "demo.layer";

4
packages/demo/src/demo/core/popup/demo.popover.js

@ -1,9 +1,9 @@
import { VerticalLayout, TextButton, BarPopover, Label, ButtonGroup, shortcut, Widget, UUID, map, range, Popovers } from "@fui/core" import { VerticalLayout, TextButton, BarPopover, Label, ButtonGroup, Decorators, Widget, UUID, map, range, Popovers } from "@fui/core"
@shortcut() @Decorators.shortcut()
export class PopoverDemo extends Widget { export class PopoverDemo extends Widget {
static xtype = "demo.popover"; static xtype = "demo.popover";

4
packages/demo/src/demo/core/popup/demo.popup_view.js

@ -1,9 +1,9 @@
import { AbsoluteLayout, Combo, TextButton, PopupView, ButtonGroup, VerticalLayout, MultiSelectItem, shortcut, Widget, createItems, deepClone } from "@fui/core" import { AbsoluteLayout, Combo, TextButton, PopupView, ButtonGroup, VerticalLayout, MultiSelectItem, Decorators, Widget, createItems, deepClone } from "@fui/core"
import { CONSTANTS } from "@/config/constant"; import { CONSTANTS } from "@/config/constant";
@shortcut() @Decorators.shortcut()
export class PopupViewDemo extends Widget { export class PopupViewDemo extends Widget {
static xtype = "demo.popup_view"; static xtype = "demo.popup_view";

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save