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 IPublicTypeSkeletonConfig type · IFTrue/lowcode-engine@0eac230

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/types/src/shell/type
    • widget-base-config.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/types/src/shell/type/widget-base-config.ts‎

Copy file name to clipboardExpand all lines: packages/types/src/shell/type/widget-base-config.ts
+27-2Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { IPublicTypeWidgetConfigArea } from './';
22

33
export interface IPublicTypeWidgetBaseConfig {
4+
[extra: string]: any;
45
type: string;
56
name: string;
7+
68
/**
79
* 停靠位置:
810
* - 当 type 为 'Panel' 时自动为 'leftFloatArea';
@@ -13,6 +15,29 @@ export interface IPublicTypeWidgetBaseConfig {
1315
props?: Record<string, any>;
1416
content?: any;
1517
contentProps?: Record<string, any>;
16-
// index?: number;
17-
[extra: string]: any;
1818
}
19+
20+
export interface IPublicTypePanelDockConfig extends IPublicTypeWidgetBaseConfig {
21+
type: 'PanelDock';
22+
23+
panelProps?: IPublicTypePanelDockPanelProps;
24+
}
25+
26+
export interface IPublicTypePanelDockPanelProps {
27+
[key: string]: any;
28+
29+
/** 是否隐藏面板顶部条 */
30+
hideTitleBar?: boolean;
31+
32+
width?: number;
33+
34+
height?: number;
35+
36+
maxWidth?: number;
37+
38+
maxHeight?: number;
39+
40+
area?: IPublicTypeWidgetConfigArea;
41+
}
42+
43+
export type IPublicTypeSkeletonConfig = IPublicTypePanelDockConfig | IPublicTypeWidgetBaseConfig;

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.