2
0
mirror of https://github.com/smartxworks/sunmao-ui.git synced 2025-04-18 22:00:22 +08:00
Commit Graph

1949 Commits

Author SHA1 Message Date
Bowen Tan
8d17a75f8b chore(*): publish
- @sunmao-ui/arco-lib@0.10.0
 - @sunmao-ui/chakra-ui-lib@0.10.0
 - @sunmao-ui/editor-sdk@0.10.0
 - @sunmao-ui/editor@0.10.0
 - @sunmao-ui/runtime@0.10.0
@sunmao-ui/arco-lib@0.10.0 @sunmao-ui/chakra-ui-lib@0.10.0 @sunmao-ui/editor-sdk@0.10.0 @sunmao-ui/editor@0.10.0 @sunmao-ui/runtime@0.10.0
2023-01-20 14:30:32 +08:00
Bowen Tan
13bb26d5cf Merge branch 'develop' into publish 2023-01-20 14:25:13 +08:00
tanbowensg
2f4205bc8d
Merge pull request from smartxworks/feat/extract-module
feat(runtime): add allComponents to ImplProps
2023-01-20 14:24:56 +08:00
Bowen Tan
2a3d2bba8a feat(runtime): add allComponents to ImplProps 2023-01-20 13:53:24 +08:00
tanbowensg
96b971a1a2
Merge pull request from smartxworks/feat/extract-module
fix module related bugs
2023-01-20 13:44:21 +08:00
Bowen Tan
bdbadbe53f chore(*): publish
- @sunmao-ui/arco-lib@0.6.0-alpha.1
 - @sunmao-ui/chakra-ui-lib@0.8.0-alpha.1
 - @sunmao-ui/editor-sdk@0.6.0-alpha.1
 - @sunmao-ui/editor@0.10.0-alpha.1
@sunmao-ui/arco-lib@0.6.0-alpha.1 @sunmao-ui/chakra-ui-lib@0.8.0-alpha.1 @sunmao-ui/editor-sdk@0.6.0-alpha.1 @sunmao-ui/editor@0.10.0-alpha.1
2023-01-20 10:52:26 +08:00
Bowen Tan
5300ab86bc Merge branch 'feat/extract-module' into publish
# Conflicts:
#	packages/editor/src/components/ExtractModuleModal/ExtractModuleEventForm.tsx
#	packages/editor/src/components/ExtractModuleModal/ExtractModulePropertyForm.tsx
#	packages/editor/src/components/ExtractModuleModal/ExtractModuleStateForm.tsx
#	packages/editor/src/components/ExtractModuleModal/ExtractModuleView.tsx
2023-01-20 10:51:54 +08:00
Bowen Tan
e6284f424f fix(editor): fail to add module id when there is \n in expression 2023-01-20 10:50:46 +08:00
Bowen Tan
4e545a0bcc feat(editor): change switch module order 2023-01-20 10:50:46 +08:00
Bowen Tan
e9091c8cc6 fix(editor): clear components and store after change module 2023-01-20 10:50:46 +08:00
tanbowensg
02fe085a5c
Merge pull request from smartxworks/fix/radio
refactor(arco/radio): the default value type for radio should be any
2023-01-19 17:43:55 +08:00
tanbowensg
0c5c8e1b91
Merge pull request from smartxworks/fix/popover-widget
fix: popover widget will not close after clickoutside
2023-01-19 17:42:59 +08:00
tanbowensg
047b8e4568
Merge pull request from smartxworks/feat/extract-module
feat(editor): add extract module feature
2023-01-19 13:57:03 +08:00
Bowen Tan
1443cf211c fix(popoverWidget): fix event.path is undefined 2023-01-19 13:55:18 +08:00
tanbowensg
e638b0de68
Merge pull request from smartxworks/fix/select
fix(arco/Select): when defaultValue is empty, it is handled as undefined
2023-01-19 10:41:43 +08:00
xzdry
ed1f4df666 fix(arco/Select): when defaultValue is empty, it is handled as undefined 2023-01-18 17:32:16 +08:00
Bowen Tan
10bc79556f feat(editor): add extract module feature 2023-01-18 16:19:51 +08:00
xzdry
d8d0fd180e refactor(arco/radio): the default value type for radio should be union 2023-01-18 16:14:44 +08:00
tanbowensg
d1292aeadc
Merge pull request from smartxworks/fix/cannot-remove-datasource-trait
fix(editor): allow user removing data source trait
2023-01-18 15:47:13 +08:00
Bowen Tan
71df7cd9c2 fix(editor): allow removing data source trait 2023-01-18 11:01:09 +08:00
tanbowensg
a09b65955c
Merge pull request from smartxworks/feat/event-widget-form
Editor support emit and listen module's event
2023-01-18 10:03:54 +08:00
Bowen Tan
096bc5d1c6 chore(*): publish
- @sunmao-ui/arco-lib@0.6.0-alpha.0
 - @sunmao-ui/chakra-ui-lib@0.8.0-alpha.0
 - @sunmao-ui/core@0.10.0-alpha.0
 - @sunmao-ui/editor-sdk@0.6.0-alpha.0
 - @sunmao-ui/editor@0.10.0-alpha.0
 - @sunmao-ui/runtime@0.10.0-alpha.0
 - @sunmao-ui/shared@0.5.0-alpha.0
@sunmao-ui/arco-lib@0.6.0-alpha.0 @sunmao-ui/chakra-ui-lib@0.8.0-alpha.0 @sunmao-ui/core@0.10.0-alpha.0 @sunmao-ui/editor-sdk@0.6.0-alpha.0 @sunmao-ui/editor@0.10.0-alpha.0 @sunmao-ui/runtime@0.10.0-alpha.0 @sunmao-ui/shared@0.5.0-alpha.0
2023-01-17 16:43:32 +08:00
Bowen Tan
5725cb7481 Merge branch 'feat/extract-module' into publish
* feat/extract-module:
  feat(editor): add extract module feature
  feat(editor): add view state button in component action menu
  refactor(module): the type of events is rolled back to string[]
  fix(ModuleWidget): no need to check if it is an expression
  style(RecordEditor): change the background of the record wiget's key
  style(EditorMask): change the z index value of the editor mask
  feat: add the default values of properties for the core traits
  fix(module): fix type error
  refactor(ModuleWidget): spec generation inferred from example properties
  refactor(Editor): refactoring module forms
  feat: support default value for property spec
  fix(arco): fix incorrect path import
  fix(Editor): fix modal going out of the middle area
  fix(localStorage): set initial value when value is empty
  feat: display the `$slot` hint
  feat(editor): add Component Relationship View Modal

# Conflicts:
#	packages/editor/src/components/StructureTree/ComponentNode.tsx
2023-01-17 16:41:54 +08:00
Bowen Tan
19b7c03881 feat(editor): add extract module feature 2023-01-13 14:13:35 +08:00
tanbowensg
145df0da75
Merge pull request from smartxworks/feat/view-state
add view state button in component action menu
2023-01-12 18:31:53 +08:00
Bowen Tan
1ebca82cd2 feat(editor): add view state button in component action menu 2023-01-12 18:31:06 +08:00
tanbowensg
10a35f26d5
Merge pull request from smartxworks/feat/module-spec
refactoring module forms
2023-01-12 10:47:26 +08:00
xzdry
43703bb64e refactor(module): the type of events is rolled back to string[] 2023-01-12 10:26:37 +08:00
xzdry
766b9bf0a4 fix(ModuleWidget): no need to check if it is an expression 2023-01-11 14:10:45 +08:00
tanbowensg
bffb2d2a56
Merge pull request from smartxworks/feat/default-value
feat: support default value for property spec
2023-01-11 13:43:31 +08:00
tanbowensg
a6e117ed9a
Merge pull request from smartxworks/fix/dry
Update some ui styles
2023-01-11 13:35:56 +08:00
xzdry
25c542e758 style(RecordEditor): change the background of the record wiget's key 2023-01-11 11:39:17 +08:00
xzdry
90d30d79ac style(EditorMask): change the z index value of the editor mask 2023-01-11 11:23:02 +08:00
MrWindlike
f686157bb1 feat: add the default values of properties for the core traits 2023-01-11 10:25:10 +08:00
xzdry
fa0d45b315 fix(module): fix type error 2023-01-11 10:06:42 +08:00
xzdry
b0571a4df1 refactor(ModuleWidget): spec generation inferred from example properties 2023-01-11 09:56:29 +08:00
xzdry
5bef5d8a17 refactor(Editor): refactoring module forms
Deprecated: do not use spec.properties anymore, remove edit module spec button
 Instead, the spec is inferred from exampleProperties

exampleProperties is now displayed in recordWidget

Module and app forms changed to modal form

Added editing of event name
2023-01-10 18:33:32 +08:00
Bowen Tan
0c6dfdd06b feat(editor): event widget support choose $module as target 2023-01-10 14:02:22 +08:00
MrWindlike
0fc2b176b1 feat: support default value for property spec 2023-01-10 11:35:25 +08:00
tanbowensg
851481f13b
Merge pull request from smartxworks/fix/dry
Fix/dry
2023-01-06 10:12:52 +08:00
xzdry
128961e452 fix(arco): fix incorrect path import 2023-01-05 16:51:52 +08:00
xzdry
b8bf395b42 fix(Editor): fix modal going out of the middle area 2023-01-05 16:50:49 +08:00
tanbowensg
5731db0562
Merge pull request from smartxworks/feat/dependency-graph
feat(editor): add Component Relationship View Modal
2023-01-04 09:57:55 +08:00
tanbowensg
b369b3b02d
Merge pull request from smartxworks/bugfix
fix(localStorage): set initial value when value is empty
2023-01-03 13:49:24 +08:00
tanbowensg
20101bb72b
Merge pull request from smartxworks/feat/slot-props-hint
feat: display the `$slot` hint
2023-01-03 13:46:09 +08:00
xzdry
bc04fe1ff9 fix(localStorage): set initial value when value is empty 2023-01-03 13:39:51 +08:00
MrWindlike
2b4e71a037 feat: display the $slot hint 2022-12-29 09:05:28 +08:00
Bowen Tan
9727b144bd feat(editor): add Component Relationship View Modal 2022-12-27 18:19:45 +08:00
Bowen Tan
270feb6eca chore(*): publish
- @sunmao-ui/arco-lib@0.5.0
 - @sunmao-ui/chakra-ui-lib@0.7.0
 - @sunmao-ui/core@0.9.0
 - @sunmao-ui/editor-sdk@0.5.0
 - @sunmao-ui/editor@0.9.0
 - @sunmao-ui/runtime@0.9.0
 - @sunmao-ui/shared@0.4.0
@sunmao-ui/arco-lib@0.5.0 @sunmao-ui/chakra-ui-lib@0.7.0 @sunmao-ui/core@0.9.0 @sunmao-ui/editor-sdk@0.5.0 @sunmao-ui/editor@0.9.0 @sunmao-ui/runtime@0.9.0 @sunmao-ui/shared@0.4.0
2022-12-27 10:27:37 +08:00
Bowen Tan
8d1bcd1a4c Merge branch 'develop' into publish
* develop:
  fix(PopoverWidget): fix the bug that container is empty()
  test(LocalStorage): update test cases
  feat: default mount to ComponentForm and add appendToBody  support
  feat(LocalStorage): add versions to global state
  test(runtime): add slot trait test
  feat(runtime): support Component DataSource
  fix: fix a bug that the expression editor closing abnormally
  feat: add the ability to hide the sidebar & remove zoom function
  feat(localStorageTrait): add versions to localstorage trait
  feat(arco/iconWidget): add icon widget to display icons

# Conflicts:
#	packages/editor/src/components/Editor.tsx
2022-12-27 10:20:26 +08:00