GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge branch 'release/1.7.0' · mflmn/lowcode-engine@0e90ea8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • check base branch.yml
    • cov packages.yml
    • help wanted.yml
    • insufficient information.yml
    • test modules.yml
    • test packages.yml
  • docs
    • docs
      • api
        • common.md
        • config.md
        • material.md
        • model
          • editor-view.md
          • node-children.md
          • window.md
        • setters.md
      • demoUsage/panels
        • code.md
      • guide
        • design
          • editor.md
        • expand/editor
          • graph.md
    • package.json
  • lerna.json
  • modules/code-generator
    • package.json
    • src
      • index.ts
      • parser
        • SchemaParser.ts
      • plugins
        • common
          • styleImport.ts
        • component/react
          • containerClass.ts
          • jsx.ts
      • postprocessor/prettier
        • index.ts
      • standalone.ts
      • utils
        • schema.ts
  • package.json
  • packages
    • designer
      • build.json
      • build.test.json
      • package.json
      • src
        • builtin-simulator
          • bem-tools
            • border-resizing.tsx
            • border-selecting.tsx
          • create-simulator.ts
          • host-view.tsx
          • live-editing
            • live-editing.ts
          • node-selector
            • index.tsx
        • component-actions.ts
        • component-meta.ts
        • designer
          • active-tracker.ts
        • document
          • document-model.ts
          • history.ts
          • node
            • node-children.ts
            • props
              • prop.ts
        • plugin
          • plugin-context.ts
          • plugin-manager.ts
          • plugin-types.ts
        • project
          • project.ts
      • tests
        • builtin-simulator
          • host.test.ts
        • document/node/props
          • prop.test.ts
    • editor-core
      • build.json
      • package.json
      • src
        • config.ts
        • di
          • setter.ts
    • editor-skeleton
      • build.json
      • build.test.json
      • package.json
      • src
        • components
          • popup
            • index.tsx
          • settings
            • settings-pane.tsx
            • settings-primary-pane.tsx
          • widget-views
            • index.tsx
        • skeleton.ts
        • widget
          • panel.ts
    • engine
      • README-zh_CN.md
      • README.md
      • build.json
      • build.test.json
      • package.json
      • src
        • engine-core.ts
        • modules
          • classes.ts
          • symbols.ts
    • ignitor
      • package.json
    • plugin-designer
      • build.json
      • package.json
      • src
        • index.tsx
    • plugin-outline-pane
      • build.json
      • package.json
      • src
        • controllers
          • pane-controller.ts
          • tree-master.ts
          • tree-node.ts
          • tree.ts
        • index.tsx
        • views
          • filter.tsx
          • pane.tsx
          • style.less
          • tree-branches.tsx
          • tree-node.tsx
          • tree-title.tsx
          • tree.tsx
    • rax-renderer
      • package.json
    • rax-simulator-renderer
      • build.json
      • package.json
    • react-renderer
      • build.json
      • build.test.json
      • package.json
    • react-simulator-renderer
      • build.json
      • build.test.json
      • package.json
    • renderer-core
      • build.json
      • build.test.json
      • jest.config.js
      • package.json
      • src
        • hoc
          • leaf.tsx
        • renderer
          • base.tsx
          • component.tsx
          • page.tsx
      • tests
        • hoc
          • leaf.test.tsx
        • renderer
          • base.test.tsx
          • renderer.test.tsx
        • utils
          • common.test.ts
    • shell
      • build.json
      • build.test.json
      • package.json
      • src
        • api
          • common.tsx
          • material.ts
          • plugins.ts
          • project.ts
          • setters.ts
          • skeleton.ts
          • workspace.ts
        • index.ts
        • model
          • active-tracker.ts
          • document-model.ts
          • editor-view.ts
          • index.ts
          • resource.ts
          • skeleton-item.ts
          • window.ts
        • symbols.ts
    • types
      • build.json
      • package.json
      • src/shell
        • api
          • material.ts
          • setters.ts
          • skeleton.ts
          • workspace.ts
        • enum
          • index.ts
          • plugin-register-level.ts
        • model
          • active-tracker.ts
          • dragon.ts
          • editor-view.ts
          • index.ts
          • plugin-context.ts
          • resource.ts
          • skeleton-item.ts
          • window.ts
        • type
          • engine-options.ts
          • resource-list.ts
          • widget-base-config.ts
    • utils
      • build.json
      • build.test.json
      • jest.config.js
      • package.json
      • src
        • cursor.css
        • cursor.less
        • cursor.ts
        • is-react.ts
        • misc.ts
      • test/src
        • build-components
          • buildComponents.test.ts
        • is-react.test.ts
        • misc.test.ts
    • workspace
      • build.json
      • build.test.json
      • package.json
      • src
        • context
          • base-context.ts
          • view-context.ts
        • index.ts
        • layouts
          • workbench.less
          • workbench.tsx
        • resource.ts
        • window.ts
        • workspace.ts

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/check base branch.yml‎

Copy file name to clipboard
+33Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Check Base Branch
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
code-review:
9+
name: Check
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
# 判断用户是否有写仓库权限
14+
- name: 'Check User Permission'
15+
uses: 'lannonbr/[email protected]'
16+
with:
17+
permission: 'write'
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
21+
- name: 'Check base branch name is develop or not'
22+
if: github.event.pull_request.base.ref != 'develop' # check the target branch if it's master
23+
uses: actions-cool/issues-helper@v2
24+
with:
25+
actions: 'create-comment'
26+
token: ${{ secrets.GITHUB_TOKEN }}
27+
issue-number: ${{ github.event.pull_request.number }}
28+
body: |
29+
感谢你的 PR,根据引擎的 [研发协作流程](https://lowcode-engine.cn/site/docs/participate/flow),请将目标合入分支设置为 **develop**。
30+
31+
Thanks in advance, according to the [Contribution Guideline](https://lowcode-engine.cn/site/docs/participate/flow), please set the base branch to **develop**.
32+
33+
@${{ github.event.pull_request.user.login }}
Collapse file

‎.github/workflows/cov packages.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/cov packages.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
package-manager: yarn
7474
annotations: none
7575

76-
cov-utils:
76+
cov-utils:
7777
runs-on: ubuntu-latest
7878
# skip fork's PR, otherwise it fails while making a comment
7979
if: ${{ github.event.pull_request.head.repo.full_name == 'alibaba/lowcode-engine' }}
@@ -91,6 +91,6 @@ cov-utils:
9191
- uses: ArtiomTr/jest-coverage-report-action@v2
9292
with:
9393
working-directory: packages/utils
94-
test-script: npm test
94+
test-script: npm test -- --jest-ci --jest-json --jest-coverage --jest-testLocationInResults --jest-outputFile=report.json
9595
package-manager: yarn
9696
annotations: none
Collapse file

‎.github/workflows/help wanted.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/help wanted.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Reply
1+
name: Help Wanted
22

33
on:
44
issues:
Collapse file

‎.github/workflows/insufficient information.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/insufficient information.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Reply
1+
name: Insufficient Info
22

33
on:
44
issues:
Collapse file

‎.github/workflows/test modules.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test modules.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: lint & test
1+
name: Lint & Test (Mods)
22

33
on:
44
push:
Collapse file

‎.github/workflows/test packages.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/test packages.yml
+51-3Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: lint & test
1+
name: Lint & Test (Pkgs)
22

33
on:
44
push:
@@ -43,7 +43,7 @@ jobs:
4343
- name: test
4444
run: cd packages/designer && npm test
4545

46-
editor-skeleton:
46+
test-editor-skeleton:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: checkout
@@ -57,4 +57,52 @@ jobs:
5757
run: npm i && npm run setup:skip-build
5858

5959
- name: test
60-
run: cd packages/editor-skeleton && npm test
60+
run: cd packages/editor-skeleton && npm test
61+
62+
test-renderer-core:
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: checkout
66+
uses: actions/checkout@v2
67+
68+
- uses: actions/setup-node@v2
69+
with:
70+
node-version: '14'
71+
72+
- name: install
73+
run: npm i && npm run setup:skip-build
74+
75+
- name: test
76+
run: cd packages/renderer-core && npm test
77+
78+
test-react-simulator-renderer:
79+
runs-on: ubuntu-latest
80+
steps:
81+
- name: checkout
82+
uses: actions/checkout@v2
83+
84+
- uses: actions/setup-node@v2
85+
with:
86+
node-version: '14'
87+
88+
- name: install
89+
run: npm i && npm run setup:skip-build
90+
91+
- name: test
92+
run: cd packages/react-simulator-renderer && npm test
93+
94+
test-utils:
95+
runs-on: ubuntu-latest
96+
steps:
97+
- name: checkout
98+
uses: actions/checkout@v2
99+
100+
- uses: actions/setup-node@v2
101+
with:
102+
node-version: '14'
103+
104+
- name: install
105+
run: npm i && npm run setup:skip-build
106+
107+
- name: test
108+
run: cd packages/utils && npm test
Collapse file

‎docs/docs/api/common.md‎

Copy file name to clipboardExpand all lines: docs/docs/api/common.md
+12-1Lines changed: 12 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ common.utils.startTransaction(() => {
9595
}, IPublicEnumTransitionType.repaint);
9696
```
9797

98+
#### getConvertedExtraKey
99+
100+
props key 转化工具
101+
102+
```typescript
103+
getConvertedExtraKey(key: string): string
104+
105+
```
106+
107+
**@since v1.0.17**
108+
98109
#### createIntl
99110
i18n 相关工具
100111
```typescript
@@ -144,4 +155,4 @@ const { intl, getLocale, setLocale } = common.utils.createIntl({
144155
* get Workbench Component
145156
*/
146157
get Workbench(): Component;
147-
```
158+
```
Collapse file

‎docs/docs/api/config.md‎

Copy file name to clipboardExpand all lines: docs/docs/api/config.md
+11Lines changed: 11 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ getPreference(): IPublicModelPreference;
105105

106106
**@since v1.1.0**
107107

108+
示例
109+
110+
```javascript
111+
import { config } from '@alilc/lowcode-engine';
112+
113+
const panelName = 'outline-master-pane';
114+
115+
// 设置大纲树面板钉住,在大纲树下次重新打开时生效
116+
config.getPreference().set(`${panelName}-pinned-status-isFloat`, false, 'skeleton')
117+
```
118+
108119
## 事件
109120

110121
### onceGot
Collapse file

‎docs/docs/api/material.md‎

Copy file name to clipboardExpand all lines: docs/docs/api/material.md
+10Lines changed: 10 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ material.getComponentMeta('Input');
245245
```
246246

247247
#### getComponentMetasMap
248+
248249
获取所有已注册的物料元数据
249250

250251
```typescript
@@ -264,6 +265,15 @@ import { material } from '@alilc/lowcode-engine';
264265
material.getComponentMetasMap();
265266
```
266267

268+
#### refreshComponentMetasMap
269+
270+
刷新 componentMetasMap,可触发模拟器里的 components 重新构建
271+
272+
**@since v1.1.7**
273+
274+
```typescript
275+
refreshComponentMetasMap(): void;
276+
```
267277

268278
### 物料元数据管道函数
269279
#### registerMetadataTransducer
Collapse file

‎docs/docs/api/model/editor-view.md‎

Copy file name to clipboard
+21Lines changed: 21 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: EditorView
3+
sidebar_position: 12
4+
---
5+
6+
> **[@experimental](./#experimental)**<br/>
7+
> **@types** [IPublicModelEditorView](https://github.com/alibaba/lowcode-engine/blob/main/packages/types/src/shell/model/editor-view.ts)<br/>
8+
> **@since** v1.1.7
9+
10+
窗口编辑视图
11+
12+
## 类型定义
13+
14+
```
15+
import { IPublicModelPluginContext } from "./plugin-context";
16+
17+
export interface IPublicModelEditorView extends IPublicModelPluginContext {};
18+
19+
```
20+
21+
相关类型定义: [IPublicModelPluginContext](https://github.com/alibaba/lowcode-engine/blob/main/packages/types/src/shell/model/plugin-context.ts)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.