Bowen Tan
|
d885b3672d
|
improve module demo
|
2021-11-02 11:40:18 +08:00 |
|
Bowen Tan
|
4949903976
|
implement module event
|
2021-11-02 11:40:18 +08:00 |
|
Bowen Tan
|
a0a75aca02
|
module can expose state
|
2021-11-02 11:40:18 +08:00 |
|
Bowen Tan
|
aee0af21db
|
add module renderer
|
2021-11-02 11:40:18 +08:00 |
|
Bowen Tan
|
c682e3b360
|
add basic module
|
2021-11-02 11:40:18 +08:00 |
|
Bowen Tan
|
c9efa513e6
|
update vite version
|
2021-11-01 17:16:18 +08:00 |
|
Bowen Tan
|
309b689cc9
|
add link component
|
2021-11-01 15:50:53 +08:00 |
|
Bowen Tan
|
46b0483a0b
|
change tabs to static slot name
|
2021-11-01 15:50:53 +08:00 |
|
Bowen Tan
|
ae90ca1675
|
add dayjs
|
2021-11-01 15:50:51 +08:00 |
|
Bowen Tan
|
21ef34082b
|
use string to set style trait
|
2021-11-01 15:50:22 +08:00 |
|
Bowen Tan
|
8fe946fcf0
|
hide stack border
|
2021-11-01 15:50:22 +08:00 |
|
Bowen Tan
|
52ccb12c93
|
add divider
|
2021-11-01 15:50:22 +08:00 |
|
Bowen Tan
|
b24b46f251
|
add link td type
|
2021-11-01 15:50:22 +08:00 |
|
Bowen Tan
|
1d4b05942d
|
fix table crash bug
|
2021-11-01 15:50:20 +08:00 |
|
Yanzhen Yu
|
16db03786d
|
update dependencies
1. update react-markdown to fix https://github.com/vitejs/vite/issues/3592
2. use lodash-es to replace lodash
|
2021-10-31 16:33:56 +08:00 |
|
Yanzhen Yu
|
6b35a56110
|
fix typings config and runtime error
|
2021-10-31 12:11:01 +08:00 |
|
Yanzhen Yu
|
ccaac9b9ae
|
Publish
- @meta-ui/editor@0.2.4
- @meta-ui/runtime@0.2.4
|
2021-10-27 14:15:18 +08:00 |
|
Yanzhen Yu
|
fd86d9cc0e
|
fork @vue-reactivity/watch to fix bundler issue
@vue-reactivity/watch use tsup as its bundler, which create .mjs
file as the ES module output.
But webpack4 do not like .mjs extension which cause tools like
create-react-app failed when using meta-ui. Even users can add some
trick to let webpack4 bundle .mjs file, the watch function still
not working.
Refs:
1. https://github.com/facebook/create-react-app/issues/10356
2. https://github.com/formatjs/formatjs/issues/1395#issuecomment-518823361
|
2021-10-27 14:11:02 +08:00 |
|
Yanzhen Yu
|
aa6a643bf3
|
Publish
- @meta-ui/editor@0.2.3
- @meta-ui/runtime@0.2.3
|
2021-10-27 11:52:03 +08:00 |
|
Yanzhen Yu
|
fc7c46d7a5
|
inject react jsx runtime
|
2021-10-27 11:51:46 +08:00 |
|
Yanzhen Yu
|
ba6cdf7cda
|
Publish
- @meta-ui/core@0.2.1
- @meta-ui/editor@0.2.2
- @meta-ui/runtime@0.2.2
|
2021-10-27 11:45:51 +08:00 |
|
Yanzhen Yu
|
53c71b05b0
|
use tsup to bundle core and runtime packages
|
2021-10-27 11:45:19 +08:00 |
|
Yanzhen Yu
|
883a8983eb
|
Publish
- @meta-ui/editor@0.2.1
- @meta-ui/runtime@0.2.1
|
2021-10-27 00:39:46 +08:00 |
|
Yanzhen Yu
|
ac1cb05c8b
|
target ES6 for better compatibility
|
2021-10-27 00:39:28 +08:00 |
|
Yanzhen Yu
|
d68f2e3cf9
|
Publish
- @meta-ui/core@0.2.0
- @meta-ui/editor@0.2.0
- @meta-ui/runtime@0.2.0
|
2021-10-27 00:27:49 +08:00 |
|
Yanzhen Yu
|
eef445a320
|
test release canary version
|
2021-10-27 00:20:51 +08:00 |
|
Yanzhen Yu
|
87b0552ff3
|
add release dev version script
|
2021-10-27 00:12:19 +08:00 |
|
Bowen Tan
|
4ea4b9f8dc
|
add fetch trait form
|
2021-10-25 18:04:29 +08:00 |
|
Bowen Tan
|
2c7efc149c
|
add keyValue editor
|
2021-10-25 14:04:30 +08:00 |
|
Bowen Tan
|
9f40f29cf6
|
fix: cannot focus input when dialog open
|
2021-10-22 13:33:50 +08:00 |
|
Bowen Tan
|
5d9963a963
|
can add trait
|
2021-10-22 13:33:50 +08:00 |
|
Bowen Tan
|
abb0a9d175
|
can add event trait
|
2021-10-20 10:28:48 +08:00 |
|
Chu Bin
|
a99262d1ea
|
fix: replace initProps to render field
|
2021-10-19 18:33:40 +08:00 |
|
Bowen Tan
|
454e8b8c43
|
add placeholder when drag component to grid
|
2021-10-19 10:15:24 +08:00 |
|
Bowen Tan
|
81f2239076
|
render modal in custom container in editor
|
2021-10-18 18:06:41 +08:00 |
|
Bowen Tan
|
e7e479f32d
|
change default slot name to 'content'
|
2021-10-18 13:58:40 +08:00 |
|
Bowen Tan
|
45753ee0af
|
refactor structureTree
|
2021-10-18 11:22:13 +08:00 |
|
Bowen Tan
|
ef869d5ad6
|
Merge branch 'main' into feat/style
# Conflicts:
# packages/editor/src/components/ComponentForm/ComponentForm.tsx
# packages/editor/src/components/Editor.tsx
# packages/editor/src/operations/AppModelManager.ts
|
2021-10-18 11:06:09 +08:00 |
|
Yanzhen Yu
|
d210160c21
|
improve component list UI
|
2021-10-17 16:04:38 +08:00 |
|
Yanzhen Yu
|
9f6724ff91
|
fix property generation and improve default id format
|
2021-10-16 20:45:24 +08:00 |
|
Bowen Tan
|
8244bb122f
|
fix form checkboxGroup and radioGroup bug
|
2021-10-15 18:00:43 +08:00 |
|
Bowen Tan
|
7489707c08
|
improve form style
|
2021-10-15 18:00:43 +08:00 |
|
Bowen Tan
|
3d15554f74
|
improve table style
|
2021-10-15 18:00:43 +08:00 |
|
Bowen Tan
|
09129a2ab0
|
add datasource and support edit trait properties
|
2021-10-15 18:00:42 +08:00 |
|
Bowen Tan
|
040b778229
|
fix some components style
|
2021-10-15 18:00:42 +08:00 |
|
Bowen Tan
|
d73f46269f
|
fix text bug
|
2021-10-15 18:00:42 +08:00 |
|
Bowen Tan
|
90d52adb71
|
fix image size bug
|
2021-10-15 18:00:42 +08:00 |
|
Bowen Tan
|
eceec4b4c6
|
add grid bg and use react-resize-detector
|
2021-10-15 18:00:42 +08:00 |
|
Bowen Tan
|
6e394ad3c1
|
change event trait property
|
2021-10-15 14:13:38 +08:00 |
|
Bowen Tan
|
f3d6d9b76e
|
add exampleSize metadata
|
2021-10-15 10:17:57 +08:00 |
|
Bowen Tan
|
09cf22f5c4
|
change button event 'click' to 'onClick'
|
2021-10-15 10:17:57 +08:00 |
|
Bowen Tan
|
111ebf79de
|
update spec
|
2021-10-15 10:17:57 +08:00 |
|
Bowen Tan
|
6da304e286
|
decouple use appModel
|
2021-10-12 10:57:26 +08:00 |
|
Bowen Tan
|
f131a5e3b7
|
defaultProperties -> exampleProperties
|
2021-10-11 17:37:14 +08:00 |
|
Bowen Tan
|
141af3ffd6
|
add defaultProperties for components
|
2021-10-11 17:07:26 +08:00 |
|
Bowen Tan
|
90f6fc6c2d
|
add metadata
|
2021-10-11 17:07:26 +08:00 |
|
Bowen Tan
|
634e1f063a
|
support choose component in view
|
2021-10-11 15:49:38 +08:00 |
|
Bowen Tan
|
cb713bd477
|
rename mModules to services
|
2021-09-30 15:59:33 +08:00 |
|
Bowen Tan
|
42449ef130
|
button support grid
|
2021-09-30 14:45:42 +08:00 |
|
Bowen Tan
|
2d237e5da7
|
implement create component by drag into grid
|
2021-09-30 13:42:56 +08:00 |
|
Bowen Tan
|
8f649099d9
|
add gridCallbacks
|
2021-09-30 13:42:56 +08:00 |
|
Bowen Tan
|
038ad783af
|
refactor runtime props type
|
2021-09-30 13:42:56 +08:00 |
|
Bowen Tan
|
c1b1c65029
|
wip init grid onLayoutChange
|
2021-09-30 13:42:56 +08:00 |
|
Bowen Tan
|
1bcf089af3
|
fix test ci
|
2021-09-28 15:37:49 +08:00 |
|
Bowen Tan
|
f0052aab11
|
impletement create and undo
|
2021-09-27 18:00:34 +08:00 |
|
Bowen Tan
|
584d7b1798
|
split App.tsx & combine ImplWrapper props
|
2021-09-27 15:03:53 +08:00 |
|
Bowen Tan
|
6d1712de67
|
add selected component wrapper
|
2021-09-27 13:43:55 +08:00 |
|
Bowen Tan
|
6c7ad81e03
|
decouple apiService
|
2021-09-27 10:14:28 +08:00 |
|
Bowen Tan
|
1cbc257e75
|
decouple globalHandlerMap
|
2021-09-26 15:25:13 +08:00 |
|
Bowen Tan
|
85134a4c73
|
decouple stateStore
|
2021-09-26 15:17:16 +08:00 |
|
Bowen Tan
|
0c8c97ef91
|
decouple registry
|
2021-09-26 12:02:22 +08:00 |
|
Bowen Tan
|
41ec9c1910
|
add componentList & structureTree
|
2021-09-26 10:45:58 +08:00 |
|
Bowen Tan
|
21471d0abf
|
use jsxImportSource in tsconfig
|
2021-09-24 10:11:11 +08:00 |
|
Bowen Tan
|
92a11a1458
|
support cross package import @mata-io/runtime
|
2021-09-24 10:06:09 +08:00 |
|
Bowen Tan
|
0546d60a2f
|
init editor project
|
2021-09-24 10:06:07 +08:00 |
|
Bowen Tan
|
35f33e0073
|
cancel trait side effect
|
2021-09-24 10:04:43 +08:00 |
|
ShenWen Yin
|
06d8f66f7e
|
update ci test configuration
|
2021-09-23 09:38:28 +08:00 |
|
Yanzhen Yu
|
102853a777
|
hotfix: revert the change to value initialization
|
2021-09-20 17:09:13 +08:00 |
|
Yanzhen Yu
|
6d8f7d5fc1
|
migrate all the code to new props type
related to #54
|
2021-09-20 17:00:54 +08:00 |
|
Yanzhen Yu
|
084eb33a76
|
fix component props eval: deep eval only once
|
2021-09-20 15:55:58 +08:00 |
|
Bowen Tan
|
ae981541bd
|
change form control to horizontal
|
2021-09-18 18:06:31 +08:00 |
|
Bowen Tan
|
8eaec48b97
|
add dialog form
|
2021-09-18 14:38:04 +08:00 |
|
Bowen Tan
|
288a432923
|
integrate form, table and api
|
2021-09-18 10:32:53 +08:00 |
|
Bowen Tan
|
a3bcb4efc3
|
add Volume Form
|
2021-09-17 15:40:07 +08:00 |
|
Bowen Tan
|
e5f2f1b8d3
|
fix form validation
|
2021-09-17 10:45:44 +08:00 |
|
Bowen Tan
|
b677bf1ecc
|
add resetForm method
|
2021-09-17 10:45:44 +08:00 |
|
Bowen Tan
|
8ec7837d3d
|
reuse CallMethodSchema
|
2021-09-17 10:45:44 +08:00 |
|
Bowen Tan
|
aa00c670d6
|
complete form component
|
2021-09-17 10:45:44 +08:00 |
|
Bowen Tan
|
b44ae7685f
|
add formControl
|
2021-09-17 10:45:44 +08:00 |
|
Bowen Tan
|
9521219d55
|
remove validation trait return props
|
2021-09-17 10:45:44 +08:00 |
|
Bowen Tan
|
06a3586221
|
fix validation text does not show in the first render bug
|
2021-09-17 10:45:44 +08:00 |
|
tanbowensg
|
985f8035b7
|
Merge pull request #69 from Sczlog/main
add chakra-ui toast.
|
2021-09-17 10:30:34 +08:00 |
|
tanbowensg
|
7894db3215
|
Merge pull request #67 from webzard-io/cep/radio
feat: impl radio and radioGroup
|
2021-09-17 10:11:49 +08:00 |
|
Bowen Tan
|
36cbe2ae25
|
add eslint
|
2021-09-17 09:48:40 +08:00 |
|
Bowen Tan
|
01318d0c2a
|
add test for parseTypeBox
|
2021-09-17 09:41:12 +08:00 |
|
Bowen Tan
|
8ff0c996d4
|
add checkbox for table
|
2021-09-17 09:41:12 +08:00 |
|
Bowen Tan
|
6f10569d92
|
add dialog in table
|
2021-09-17 09:41:09 +08:00 |
|
Bowen Tan
|
4a8ae01ab5
|
table multi select
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
d72d4c57fa
|
add displayValue for table
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
07b68d8372
|
split table file
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
319a7beec6
|
add dummy query
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
65c4c44816
|
delete row
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
2f56b4b5b1
|
add column sort
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
a9d03a0cc6
|
define table column and add pagination
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
9595eb17db
|
init component state from spec
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
a5b22a8ac1
|
integrate todolist with api
|
2021-09-17 09:38:27 +08:00 |
|
Bowen Tan
|
7b6555dc59
|
refactor: fix trait and component eval order
|
2021-09-17 09:38:27 +08:00 |
|
Sczlog
|
a5fafc4798
|
add chakra-ui toast.
|
2021-09-16 18:51:25 +08:00 |
|
chenenpei
|
56ecfba185
|
feat: impl radio and radioGroup
|
2021-09-16 17:06:01 +08:00 |
|
chenenpei
|
3ae95c42a0
|
modify props of checkbox and checkboxGroup
|
2021-09-16 17:06:01 +08:00 |
|
chenenpei
|
f23865c6e7
|
declare state schema for checkbox, checkboxGroup, and select
|
2021-09-16 17:06:01 +08:00 |
|
chenenpei
|
7d59bdeb0a
|
feat: add more props for checkbox
|
2021-09-15 14:22:38 +08:00 |
|
chenenpei
|
0157206207
|
feat: impl select component
|
2021-09-15 14:22:37 +08:00 |
|
Bowen Tan
|
cad28f5af5
|
fix dialog import ColorSchemePropertySchema bug
|
2021-09-13 17:10:14 +08:00 |
|
Shengjie Yang
|
034073d770
|
fix: use initialValue to replace async setValue
|
2021-09-13 10:25:44 +08:00 |
|
Shengjie Yang
|
50b07210ed
|
feat: impl dialog component
|
2021-09-13 10:25:43 +08:00 |
|
Bowen Tan
|
f7da7a15b0
|
add style trait
|
2021-09-13 10:09:17 +08:00 |
|
yz-yu
|
646fdf2c89
|
Merge pull request #53 from webzard-io/feat/list
implement List component
|
2021-09-12 18:15:15 +08:00 |
|
Bowen Tan
|
25525f9951
|
implement tooltip component
|
2021-09-10 17:15:39 +08:00 |
|
Bowen Tan
|
6bba9eb620
|
fix jest test
|
2021-09-07 17:27:01 +08:00 |
|
Bowen Tan
|
6566734282
|
fix parseExpression bug
|
2021-09-07 17:09:27 +08:00 |
|
Bowen Tan
|
ae564e926b
|
add parseExpression unit test
|
2021-09-07 13:47:32 +08:00 |
|
Bowen Tan
|
84748086e6
|
add parseType util file
|
2021-09-07 11:15:57 +08:00 |
|
Chu Bin
|
e3b38a79e5
|
feat: chakra image component
|
2021-09-06 17:57:39 +08:00 |
|
Bowen Tan
|
4fc48f6570
|
chore: fix code style
|
2021-09-06 16:16:09 +08:00 |
|
Bowen Tan
|
b799120fd3
|
remove methods when component destory
|
2021-09-06 16:13:13 +08:00 |
|
Bowen Tan
|
d05f736a9e
|
complete simple todo list
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
16f07c20f9
|
add arrayState Trait
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
a2860b1ea9
|
fix "Cannot update a component while rendering a different component" warning
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
d878fbc5f2
|
add listItem memo
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
9cec11d180
|
add create and delete button
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
237446e1b3
|
uncouple List with createApplication
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
45e5c48f89
|
support using $listItem in {{}} expression
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
bb0b463ef3
|
support multiple {{}} in expression
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
1c9e1c9a99
|
implement list custom template
|
2021-09-06 14:05:00 +08:00 |
|
Bowen Tan
|
b9de19bd56
|
init list
|
2021-09-06 14:04:59 +08:00 |
|
Bowen Tan
|
500b8fcb54
|
support any event name
|
2021-09-03 10:21:29 +08:00 |
|
yz-yu
|
c2670c9a50
|
Merge pull request #47 from webzard-io/refactor/trait
Refactor trait new implementation
|
2021-09-02 22:02:12 +08:00 |
|
chenenpei
|
84e5250c8c
|
implement chakra checkbox group #5
|
2021-09-02 10:08:39 +08:00 |
|
Bowen Tan
|
3563b0af25
|
add noUnusedLocals to tsconfig
|
2021-09-01 10:58:09 +08:00 |
|
Bowen Tan
|
fd3f27a9e9
|
restore setValue and support 2 parameters
|
2021-08-31 14:50:32 +08:00 |
|
Bowen Tan
|
878eb6b318
|
fix merge code bug
|
2021-08-31 14:17:11 +08:00 |
|
Bowen Tan
|
7361aa38a2
|
refactor fetch trait
|
2021-08-31 14:05:18 +08:00 |
|
Bowen Tan
|
25d780747e
|
eval trait properties and run trait at the same time
|
2021-08-31 14:05:06 +08:00 |
|
Bowen Tan
|
50c07a19e6
|
refactor state trait
|
2021-08-31 14:05:04 +08:00 |
|
Bowen Tan
|
bdfe076e65
|
refactor event trait
|
2021-08-31 14:03:58 +08:00 |
|
Bowen Tan
|
88b1aad48e
|
complete validation trait with new trait
|
2021-08-31 14:01:32 +08:00 |
|
Bowen Tan
|
f50d201b0d
|
refactor hidden
|
2021-08-31 14:01:32 +08:00 |
|
Bowen Tan
|
ba37d56b45
|
input support style property
|
2021-08-31 14:01:28 +08:00 |
|
Bowen Tan
|
e9ba677dc4
|
refactor trait implementation
|
2021-08-31 14:01:04 +08:00 |
|