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

1676 Commits

Author SHA1 Message Date
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
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
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
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
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
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
xzdry
92baea02b1 refactor: resolve conflict 2022-12-26 17:05:28 +08:00
tanbowensg
b2f822203d
Merge pull request from smartxworks/feat/localStorageTrait
add versions to localStorage trait
2022-12-26 17:01:28 +08:00
tanbowensg
8603be4fef
Merge pull request from smartxworks/iconWidget
feat(arco/iconWidget): add icon widget to display icons
2022-12-26 16:59:18 +08:00
xzdry
ff9320e32e fix(PopoverWidget): fix the bug that container is empty() 2022-12-26 16:50:00 +08:00
xzdry
260b3cc187 test(LocalStorage): update test cases 2022-12-26 15:15:10 +08:00
xzdry
9a7bf69155 feat: default mount to ComponentForm and add appendToBody support 2022-12-26 14:19:12 +08:00
xzdry
d89def83c8 feat(LocalStorage): add versions to global state 2022-12-26 09:48:28 +08:00
Bowen Tan
55fecfa99a test(runtime): add slot trait test 2022-12-23 18:10:44 +08:00
Bowen Tan
bac129037b feat(runtime): support Component DataSource 2022-12-23 18:10:42 +08:00
xzdry
74989b0c6c fix: fix a bug that the expression editor closing abnormally 2022-12-23 15:49:41 +08:00
xzdry
ea58612b8a feat: add the ability to hide the sidebar & remove zoom function 2022-12-23 15:33:45 +08:00
xzdry
985f46706b feat(localStorageTrait): add versions to localstorage trait 2022-12-21 15:47:36 +08:00
xzdry
d0c5dcabd6 feat(arco/iconWidget): add icon widget to display icons 2022-12-20 18:26:04 +08:00
Bowen Tan
ace4cb1da1 chore(*): publish
- @sunmao-ui/arco-lib@0.5.0-alpha.3
 - @sunmao-ui/chakra-ui-lib@0.7.0-alpha.3
 - @sunmao-ui/core@0.9.0-alpha.1
 - @sunmao-ui/editor-sdk@0.5.0-alpha.3
 - @sunmao-ui/editor@0.9.0-alpha.4
 - @sunmao-ui/runtime@0.9.0-alpha.2
 - @sunmao-ui/shared@0.3.2-alpha.0
2022-12-14 14:05:47 +08:00
Bowen Tan
112d7014ae Merge branch 'feat/relationship' into publish
* feat/relationship:
  feat(editor): add Component Relationship View Modal
  test(runtime): add slot trait test
  feat(runtime): support Component DataSource
  fix(editor): hide deprecated component is component list
  feat(core): add deprecated metadata field
  style: change the style of the expression hint
  feat(EventForm): show event name of event handler
  feat(ExpressionEditor): allow pressing tab to switch field input
  feat(Descriptions): add title, label, value slots
  feat(PopoverWidget): add appendToParent option
  fix(PopoverWidget): add padding to popover bottom
  feat(PopoverWidget): add appentToBody option

# Conflicts:
#	packages/core/src/metadata.ts
#	packages/editor/src/components/ComponentsList/ComponentList.tsx
#	packages/runtime/src/index.ts
2022-12-14 14:01:21 +08:00
Bowen Tan
0cbab74ad4 feat(editor): add Component Relationship View Modal 2022-12-14 14:00:11 +08:00
Bowen Tan
0fbbc1ebfb test(runtime): add slot trait test 2022-12-14 13:47:48 +08:00