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 — feat: add componentMeta getter for setingPropEntry · ikvm/lowcode-engine@2f8b954

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/shell/src
    • setting-prop-entry.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/shell/src/setting-prop-entry.ts‎

Copy file name to clipboardExpand all lines: packages/shell/src/setting-prop-entry.ts
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { CompositeValue, FieldConfig } from '@alilc/lowcode-types';
33
import { settingPropEntrySymbol } from './symbols';
44
import Node from './node';
55
import SettingTopEntry from './setting-top-entry';
6+
import ComponentMeta from './component-meta';
67

78
export default class SettingPropEntry {
89
private readonly [settingPropEntrySymbol]: SettingField;
@@ -89,6 +90,13 @@ export default class SettingPropEntry {
8990
return this[settingPropEntrySymbol].isSettingField;
9091
}
9192

93+
/**
94+
* componentMeta
95+
*/
96+
get componentMeta(): ComponentMeta | null {
97+
return ComponentMeta.create(this[settingPropEntrySymbol].componentMeta);
98+
}
99+
92100
/**
93101
* 设置 key 值
94102
* @param key

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.