Commit Graph

503 Commits

Author SHA1 Message Date
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
yz-yu
4ea2299400
Merge pull request #51 from webzard-io/feat/enhance-event-trait
event trait support any event name
2021-09-06 09:39:41 +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
tanbowensg
b8bb6a75d1
Merge pull request #38 from webzard-io/cep/checkbox-group
implement chakra checkbox group #5
2021-09-02 14:51:38 +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
tanbowensg
b1ca441a53
Merge pull request #49 from webzard-io/refactor/format-all-code
format all code
2021-08-31 12:04:52 +08:00
Bowen Tan
983d97715a format all code 2021-08-31 11:18:11 +08:00
yz-yu
641554026c
Merge pull request #39 from Sczlog/main
implement router v1
2021-08-30 11:05:59 +08:00
Sczlog
5eeac0bcca replace route trait by slot trait
1. replace route trait by slot trait
2. update example
2021-08-25 10:57:19 +08:00
Sczlog
6acd38906b refactor router component
1. refactor most of the component from wouter.
2. add support for route parameter
3. add support for strict and exact matching
4. modify the createRouter function of wouter to remove the top level RouterProvider
5. move matcher to route level not the top level
2021-08-24 16:34:11 +08:00
Sczlog
5bfc886b31 misc update on router
1. update example page's title
2. pass params to ImplWrapper(currently not pass it to the component, need discussion on it)
2021-08-23 15:32:09 +08:00
Sczlog
619e86e526 implement nested hash router 2021-08-23 15:32:09 +08:00
Sczlog
c993c0eb86 hash router
1. update example with hash router
(not work good with nested hash router)
2021-08-23 15:31:55 +08:00
yz-yu
16f9489e20
Merge pull request #40 from webzard-io/husky-prettier
auto prettier staged file when commit
2021-08-20 18:19:49 +08:00
Bowen Tan
889179eef4 init husky 2021-08-20 17:54:32 +08:00
Bowen Tan
5bde173d72 init prettier 2021-08-20 17:37:38 +08:00
Sczlog
575e999785 implement nested router 2021-08-12 18:44:49 +08:00
Sczlog
61b9e897c6 fix redirect and implement default
1. fix redirect
2. implement default route
2021-08-12 16:29:03 +08:00
Sczlog
197f043a52 implement router function
1. router component
2. route trait
2021-08-12 15:33:18 +08:00
yz-yu
b1f41cdaff
Merge pull request #37 from webzard-io/runtime
define UI API service, related to #9
2021-08-11 17:14:59 +08:00
Yanzhen Yu
a7a863930c define UI API service, related to #9
Implemented the API service feature on top of event emitter with
a concise protocol.
The protocol will use JSON as message format and only have one
type 'uiMethod' at this moment.
2021-08-11 17:13:58 +08:00
yz-yu
f889f902b6
Merge pull request #36 from webzard-io/runtime
fix legacy useExpression
2021-08-11 16:04:42 +08:00
Yanzhen Yu
a0f89c7f87 fix legacy useExpression 2021-08-11 16:04:04 +08:00
yz-yu
d9117b824b
Merge pull request #35 from webzard-io/runtime
experimental editor component
2021-08-11 13:34:27 +08:00
Yanzhen Yu
f8898c39ce experimental editor component 2021-08-11 13:33:20 +08:00
yz-yu
c386460c1b
Merge pull request #33 from webzard-io/runtime
impl expression evalutaion v2
2021-08-10 16:51:49 +08:00
Yanzhen Yu
d976e2d526 migrate components and traits to v2 eval 2021-08-10 15:48:12 +08:00
Yanzhen Yu
e790ab1604 impl expression evalutaion v2 #30
Use @vue/reactivity lib to implement a runtime proxy-based state
store.

With the new state store, we can get rid of the limitations React
hook. As a result, we can do the evalutaion of props in the
<ImplWrapper> component.
2021-08-10 15:42:29 +08:00
yz-yu
51d69d4c01
Merge pull request #32 from webzard-io/cep/stack
implement chakra ui stack #5
2021-08-09 18:58:56 +08:00
chenenpei
794ff2e7da implement chakra ui stack #5 2021-08-09 18:29:03 +08:00
yz-yu
bae847dcbe
Merge pull request #31 from webzard-io/cep/checkbox
implement chakra checkbox #5
2021-08-09 17:25:02 +08:00
chenenpei
0b8bdbb9aa implement chakra checkbox #5 2021-08-09 17:18:50 +08:00
yz-yu
165ef8590e
Merge pull request #29 from jessie975/ysj/input
impl number input component
2021-08-05 18:24:21 +08:00
Shengjie Yang
56763dfa7f impl number input component 2021-08-04 13:54:20 +08:00