Compare commits

...

5 Commits

Author SHA1 Message Date
wwsun a27c241d9c chore(release): publish
- @music163/tango-context@1.0.0-alpha.4
 - @music163/tango-core@1.0.0-alpha.4
 - @music163/tango-designer@1.0.0-alpha.5
 - @music163/tango-sandbox@1.0.0-alpha.4
 - @music163/tango-setting-form@1.0.0-alpha.4
2023-12-26 14:38:54 +08:00
wwsun 4d6b67eecd fix: list overflow in expSetter 2023-12-26 14:36:13 +08:00
wwsun 6fc889a161 chore(release): publish
- @music163/tango-context@1.0.0-alpha.3
 - @music163/tango-core@1.0.0-alpha.3
 - @music163/tango-designer@1.0.0-alpha.4
 - @music163/tango-sandbox@1.0.0-alpha.3
 - @music163/tango-setting-form@1.0.0-alpha.3
2023-12-25 11:08:29 +08:00
wwsun c07b554360 chore: up 2023-12-25 11:06:30 +08:00
wwsun 149002dddd fix: export componentEntry module 2023-12-25 11:00:04 +08:00
16 changed files with 104 additions and 24 deletions
+29
View File
@@ -229,6 +229,35 @@ export default defineStore({
title: 'Page Title',
array: [1, 2, 3],
test: function() {
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
console.log('test');
}
}, 'app');
`;
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.4](https://github.com/netease/tango/compare/@music163/tango-context@1.0.0-alpha.3...@music163/tango-context@1.0.0-alpha.4) (2023-12-26)
**Note:** Version bump only for package @music163/tango-context
# [1.0.0-alpha.3](https://github.com/netease/tango/compare/@music163/tango-context@1.0.0-alpha.2...@music163/tango-context@1.0.0-alpha.3) (2023-12-25)
**Note:** Version bump only for package @music163/tango-context
# [1.0.0-alpha.1](https://github.com/netease/tango/compare/@music163/tango-context@0.2.12...@music163/tango-context@1.0.0-alpha.1) (2023-12-12)
**Note:** Version bump only for package @music163/tango-context
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@music163/tango-context",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.4",
"description": "react context for tango-apps",
"keywords": [
"react",
@@ -31,7 +31,7 @@
"react": ">= 16.8"
},
"dependencies": {
"@music163/tango-core": "^1.0.0-alpha.2",
"@music163/tango-core": "^1.0.0-alpha.4",
"@music163/tango-helpers": "^1.0.0-alpha.0",
"mobx-react-lite": "4.0.5"
},
+12
View File
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.4](https://github.com/netease/tango/compare/@music163/tango-core@1.0.0-alpha.3...@music163/tango-core@1.0.0-alpha.4) (2023-12-26)
### Bug Fixes
- list overflow in expSetter ([4d6b67e](https://github.com/netease/tango/commit/4d6b67eecd02b31f01d1bc896c6eeb83f6b34b35))
# [1.0.0-alpha.3](https://github.com/netease/tango/compare/@music163/tango-core@1.0.0-alpha.2...@music163/tango-core@1.0.0-alpha.3) (2023-12-25)
### Bug Fixes
- export componentEntry module ([149002d](https://github.com/netease/tango/commit/149002ddddaee859333469f65c054d811bde2f7f))
# [1.0.0-alpha.1](https://github.com/netease/tango/compare/@music163/tango-core@0.2.11...@music163/tango-core@1.0.0-alpha.1) (2023-12-12)
**Note:** Version bump only for package @music163/tango-core
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@music163/tango-core",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.4",
"description": "tango core",
"author": "wwsun <ww.sun@outlook.com>",
"homepage": "",
+1
View File
@@ -11,5 +11,6 @@ export * from './route-module';
export * from './service-module';
export * from './store-module';
export * from './view-module';
export * from './component-module';
export * from './node';
export * from './interfaces';
+1 -1
View File
@@ -200,7 +200,7 @@ export class Workspace extends EventTarget implements IWorkspace {
}
get localComps(): string[] {
return Object.keys(this.componentsEntryModule.exportList);
return Object.keys(this.componentsEntryModule?.exportList || {});
}
constructor(options?: IWorkspaceOptions) {
+10
View File
@@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.5](https://github.com/netease/tango/compare/@music163/tango-designer@1.0.0-alpha.4...@music163/tango-designer@1.0.0-alpha.5) (2023-12-26)
### Bug Fixes
- list overflow in expSetter ([4d6b67e](https://github.com/netease/tango/commit/4d6b67eecd02b31f01d1bc896c6eeb83f6b34b35))
# [1.0.0-alpha.4](https://github.com/netease/tango/compare/@music163/tango-designer@1.0.0-alpha.3...@music163/tango-designer@1.0.0-alpha.4) (2023-12-25)
**Note:** Version bump only for package @music163/tango-designer
# [1.0.0-alpha.2](https://github.com/netease/tango/compare/@music163/tango-designer@1.0.0-alpha.1...@music163/tango-designer@1.0.0-alpha.2) (2023-12-13)
### Bug Fixes
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@music163/tango-designer",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.5",
"description": "lowcode designer",
"keywords": [
"react"
@@ -33,11 +33,11 @@
"dependencies": {
"@ant-design/icons": "^4.8.0",
"@music163/request": "^0.1.2",
"@music163/tango-context": "^1.0.0-alpha.2",
"@music163/tango-core": "^1.0.0-alpha.2",
"@music163/tango-context": "^1.0.0-alpha.4",
"@music163/tango-core": "^1.0.0-alpha.4",
"@music163/tango-helpers": "^1.0.0-alpha.0",
"@music163/tango-sandbox": "^1.0.0-alpha.2",
"@music163/tango-setting-form": "^1.0.0-alpha.2",
"@music163/tango-sandbox": "^1.0.0-alpha.4",
"@music163/tango-setting-form": "^1.0.0-alpha.4",
"@music163/tango-ui": "^1.0.0-alpha.2",
"antd": "^4.24.2",
"cash-dom": "^8.1.2",
@@ -160,14 +160,8 @@ export function EditableVariableTree({
}, [keyword, dataSource]);
return (
<Box
className="EditableVariableTree"
display="flex"
overflow="auto"
height={height}
position="relative"
>
<Box p="l" width="40%">
<Box className="EditableVariableTree" display="flex" height={height} position="relative">
<Box p="l" width="40%" height="100%" overflow="auto">
<Box mb="m" position="sticky" top="0" bg="white" zIndex={2}>
<Input.Group compact>
<Search
@@ -202,7 +196,7 @@ export function EditableVariableTree({
/>
</Box>
{node ? (
<Box width="60%" position="sticky" top="0">
<Box width="60%" height="100%" position="sticky" top="0">
{node.help && (
<Alert
type="info"
@@ -232,6 +226,7 @@ export function EditableVariableTree({
/>
) : null
}
height="100%"
bodyProps={{ px: 'm' }}
>
{mode === 'preview' && (
@@ -231,7 +231,7 @@ export function ExpressionModal({
/>
{error ? <Text color="red"></Text> : null}
</Panel>
<Panel title="从变量列表中选中" shape="solid" borderTop="0">
<Panel title="从变量列表中选中" shape="solid" borderTop="0" overflow="hidden">
<EditableVariableTree
height={380}
dataSource={dataSource || expressionVariables}
@@ -268,7 +268,7 @@ export function ExpressionModal({
}
if (node.type === 'function') {
return node.raw;
return;
}
return getValue(evaluateContext['tango'], node.key);
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.4](https://github.com/netease/tango/compare/@music163/tango-sandbox@1.0.0-alpha.3...@music163/tango-sandbox@1.0.0-alpha.4) (2023-12-26)
**Note:** Version bump only for package @music163/tango-sandbox
# [1.0.0-alpha.3](https://github.com/netease/tango/compare/@music163/tango-sandbox@1.0.0-alpha.2...@music163/tango-sandbox@1.0.0-alpha.3) (2023-12-25)
**Note:** Version bump only for package @music163/tango-sandbox
# [1.0.0-alpha.1](https://github.com/netease/tango/compare/@music163/tango-sandbox@0.1.16...@music163/tango-sandbox@1.0.0-alpha.1) (2023-12-12)
**Note:** Version bump only for package @music163/tango-sandbox
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@music163/tango-sandbox",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.4",
"description": "sandbox of tango apps",
"author": "wwsun <ww.sun@outlook.com>",
"homepage": "",
@@ -29,7 +29,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.8.0",
"@music163/tango-core": "^1.0.0-alpha.2",
"@music163/tango-core": "^1.0.0-alpha.4",
"@music163/tango-helpers": "^1.0.0-alpha.0",
"crypto-js": "^4.1.1",
"lodash.isequal": "4.5.0",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-alpha.4](https://github.com/netease/tango/compare/@music163/tango-setting-form@1.0.0-alpha.3...@music163/tango-setting-form@1.0.0-alpha.4) (2023-12-26)
**Note:** Version bump only for package @music163/tango-setting-form
# [1.0.0-alpha.3](https://github.com/netease/tango/compare/@music163/tango-setting-form@1.0.0-alpha.2...@music163/tango-setting-form@1.0.0-alpha.3) (2023-12-25)
**Note:** Version bump only for package @music163/tango-setting-form
# [1.0.0-alpha.1](https://github.com/netease/tango/compare/@music163/tango-setting-form@0.2.16...@music163/tango-setting-form@1.0.0-alpha.1) (2023-12-12)
### Bug Fixes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@music163/tango-setting-form",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.4",
"description": "setting form of tango-apps",
"author": "wwsun <ww.sun@outlook.com>",
"homepage": "",
@@ -28,7 +28,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.8.0",
"@music163/tango-core": "^1.0.0-alpha.2",
"@music163/tango-core": "^1.0.0-alpha.4",
"@music163/tango-helpers": "^1.0.0-alpha.0",
"@music163/tango-ui": "^1.0.0-alpha.2",
"antd": "^4.24.2",
+9
View File
@@ -3142,6 +3142,15 @@
mobx "6.9.0"
path-browserify "^1.0.1"
"@music163/tango-helpers@^0.1.8":
version "0.1.8"
resolved "https://registry.npmjs.org/@music163/tango-helpers/-/tango-helpers-0.1.8.tgz#158171fa2255814cacb8d91aea48e119915a8421"
integrity sha512-fxL7lcrg46trH6HwCg6UyAR2JnCHbmnqsrYr4yZ7duk5O6muPKsw1FXJ32LdlMg1nIYQ9TkkKRO9f78ggRPhBA==
dependencies:
hoist-non-react-statics "^3.3.2"
lodash.get "^4.4.2"
lodash.set "^4.3.2"
"@music163/tango-setting-form@*":
version "0.2.16"
resolved "https://registry.npmjs.org/@music163/tango-setting-form/-/tango-setting-form-0.2.16.tgz#71176e0e667a8beb17d53ce334ea6661799ddb76"