Compare commits

...

2 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
14 changed files with 72 additions and 24 deletions

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');
`;

View File

@@ -3,6 +3,10 @@
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

View File

@@ -1,6 +1,6 @@
{
"name": "@music163/tango-context",
"version": "1.0.0-alpha.3",
"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.3",
"@music163/tango-core": "^1.0.0-alpha.4",
"@music163/tango-helpers": "^1.0.0-alpha.0",
"mobx-react-lite": "4.0.5"
},

View File

@@ -3,6 +3,12 @@
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

View File

@@ -1,6 +1,6 @@
{
"name": "@music163/tango-core",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "tango core",
"author": "wwsun <ww.sun@outlook.com>",
"homepage": "",

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) {

View File

@@ -3,6 +3,12 @@
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

View File

@@ -1,6 +1,6 @@
{
"name": "@music163/tango-designer",
"version": "1.0.0-alpha.4",
"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.3",
"@music163/tango-core": "^1.0.0-alpha.3",
"@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.3",
"@music163/tango-setting-form": "^1.0.0-alpha.3",
"@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",

View File

@@ -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' && (

View File

@@ -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);

View File

@@ -3,6 +3,10 @@
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

View File

@@ -1,6 +1,6 @@
{
"name": "@music163/tango-sandbox",
"version": "1.0.0-alpha.3",
"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.3",
"@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",

View File

@@ -3,6 +3,10 @@
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

View File

@@ -1,6 +1,6 @@
{
"name": "@music163/tango-setting-form",
"version": "1.0.0-alpha.3",
"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.3",
"@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",